From d2c4a7f5b0cb5f09e9a4683e54e09dbaf2f85ea0 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 6 Nov 2025 18:19:32 +0000 Subject: [PATCH 1/3] Initial plan From b33d6cbfe0fb9a692b11d93b2be6aaa565987054 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 6 Nov 2025 18:25:43 +0000 Subject: [PATCH 2/3] Add ComputeLimit TypeSpec project from release branch Co-authored-by: azure-sdk <53356347+azure-sdk@users.noreply.github.com> --- .../ComputeLimit/GuestSubscription.tsp | 49 ++ .../ComputeLimit/SharedLimit.tsp | 70 ++ .../2025-08-15/GuestSubscriptions_Create.json | 35 + .../2025-08-15/GuestSubscriptions_Delete.json | 14 + .../2025-08-15/GuestSubscriptions_Get.json | 22 + .../2025-08-15/GuestSubscriptions_List.json | 33 + .../examples/2025-08-15/Operations_List.json | 96 +++ .../2025-08-15/SharedLimits_Create.json | 47 ++ .../2025-08-15/SharedLimits_Delete.json | 14 + .../examples/2025-08-15/SharedLimits_Get.json | 28 + .../2025-08-15/SharedLimits_List.json | 45 ++ .../ComputeLimit/main.tsp | 24 + .../ComputeLimit/readme.md | 38 ++ .../stable/2025-08-15/ComputeLimit.json | 643 ++++++++++++++++++ .../examples/GuestSubscriptions_Create.json | 35 + .../examples/GuestSubscriptions_Delete.json | 14 + .../examples/GuestSubscriptions_Get.json | 22 + .../examples/GuestSubscriptions_List.json | 33 + .../2025-08-15/examples/Operations_List.json | 96 +++ .../examples/SharedLimits_Create.json | 47 ++ .../examples/SharedLimits_Delete.json | 14 + .../2025-08-15/examples/SharedLimits_Get.json | 28 + .../examples/SharedLimits_List.json | 45 ++ .../ComputeLimit/tspconfig.yaml | 57 ++ 24 files changed, 1549 insertions(+) create mode 100644 specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/GuestSubscription.tsp create mode 100644 specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/SharedLimit.tsp create mode 100644 specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/examples/2025-08-15/GuestSubscriptions_Create.json create mode 100644 specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/examples/2025-08-15/GuestSubscriptions_Delete.json create mode 100644 specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/examples/2025-08-15/GuestSubscriptions_Get.json create mode 100644 specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/examples/2025-08-15/GuestSubscriptions_List.json create mode 100644 specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/examples/2025-08-15/Operations_List.json create mode 100644 specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/examples/2025-08-15/SharedLimits_Create.json create mode 100644 specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/examples/2025-08-15/SharedLimits_Delete.json create mode 100644 specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/examples/2025-08-15/SharedLimits_Get.json create mode 100644 specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/examples/2025-08-15/SharedLimits_List.json create mode 100644 specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/main.tsp create mode 100644 specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/readme.md create mode 100644 specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/stable/2025-08-15/ComputeLimit.json create mode 100644 specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/stable/2025-08-15/examples/GuestSubscriptions_Create.json create mode 100644 specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/stable/2025-08-15/examples/GuestSubscriptions_Delete.json create mode 100644 specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/stable/2025-08-15/examples/GuestSubscriptions_Get.json create mode 100644 specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/stable/2025-08-15/examples/GuestSubscriptions_List.json create mode 100644 specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/stable/2025-08-15/examples/Operations_List.json create mode 100644 specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/stable/2025-08-15/examples/SharedLimits_Create.json create mode 100644 specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/stable/2025-08-15/examples/SharedLimits_Delete.json create mode 100644 specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/stable/2025-08-15/examples/SharedLimits_Get.json create mode 100644 specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/stable/2025-08-15/examples/SharedLimits_List.json create mode 100644 specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/tspconfig.yaml diff --git a/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/GuestSubscription.tsp b/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/GuestSubscription.tsp new file mode 100644 index 000000000000..6f9a421aa838 --- /dev/null +++ b/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/GuestSubscription.tsp @@ -0,0 +1,49 @@ +import "@typespec/rest"; +import "@typespec/versioning"; +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; + +using Azure.ResourceManager; +using TypeSpec.Rest; + +namespace Microsoft.ComputeLimit; + +/** Guest subscription that consumes shared compute limits. */ +@parentResource(SubscriptionLocationResource) +model GuestSubscription is ProxyResource { + ...ResourceNameParameter< + Resource = GuestSubscription, + KeyName = "guestSubscriptionId", + SegmentName = "guestSubscriptions", + NamePattern = "^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$" + >; +} + +/** Properties for guest subscription. */ +model GuestSubscriptionProperties { + ...DefaultProvisioningStateProperty; +} + +/** Location-scoped operations for guest subscriptions. */ +@armResourceOperations +interface GuestSubscriptions { + /** + * Gets the properties of a guest subscription. + */ + get is ArmResourceRead; + + /** + * Adds a subscription as a guest to consume the compute limits shared by the host subscription. + */ + create is ArmResourceCreateOrReplaceSync; + + /** + * Deletes a subscription as a guest to stop consuming the compute limits shared by the host subscription. + */ + delete is ArmResourceDeleteSync; + + /** + * Lists all guest subscriptions in a location. + */ + list is ArmResourceListAtScope; +} diff --git a/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/SharedLimit.tsp b/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/SharedLimit.tsp new file mode 100644 index 000000000000..ab8b27459165 --- /dev/null +++ b/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/SharedLimit.tsp @@ -0,0 +1,70 @@ +import "@typespec/rest"; +import "@typespec/versioning"; +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; + +using Azure.ResourceManager; +using TypeSpec.Rest; + +namespace Microsoft.ComputeLimit; + +/** Compute limits shared by the subscription. */ +@parentResource(SubscriptionLocationResource) +model SharedLimit is ProxyResource { + ...ResourceNameParameter< + Resource = SharedLimit, + KeyName = "name", + SegmentName = "sharedLimits" + >; +} + +/** Properties of the compute shared limit. */ +model SharedLimitProperties { + /** The limit name properties. */ + @visibility(Lifecycle.Read) + resourceName?: LimitName; + + /** The maximum permitted usage of the resource. */ + @visibility(Lifecycle.Read) + limit?: int32; + + /** The quota units, such as Count. */ + @visibility(Lifecycle.Read) + unit?: string = "Count"; + + ...DefaultProvisioningStateProperty; +} + +/** Properties of the limit name. */ +model LimitName { + /** The limit name. */ + value: string; + + /** The localized limit name. */ + @visibility(Lifecycle.Read) + localizedValue?: string; +} + +/** Extension-scoped operations for shared compute limits. */ +@armResourceOperations +interface SharedLimits { + /** + * Gets the properties of a compute limit shared by the host subscription with its guest subscriptions. + */ + get is ArmResourceRead; + + /** + * Enables sharing of a compute limit by the host subscription with its guest subscriptions. + */ + create is ArmResourceCreateOrReplaceSync; + + /** + * Disables sharing of a compute limit by the host subscription with its guest subscriptions. + */ + delete is ArmResourceDeleteSync; + + /** + * Lists all compute limits shared by the host subscription with its guest subscriptions. + */ + list is ArmResourceListAtScope; +} diff --git a/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/examples/2025-08-15/GuestSubscriptions_Create.json b/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/examples/2025-08-15/GuestSubscriptions_Create.json new file mode 100644 index 000000000000..e6befc4546b5 --- /dev/null +++ b/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/examples/2025-08-15/GuestSubscriptions_Create.json @@ -0,0 +1,35 @@ +{ + "title": "Create a guest subscription", + "operationId": "GuestSubscriptions_Create", + "parameters": { + "api-version": "2025-08-15", + "subscriptionId": "12345678-1234-1234-1234-123456789012", + "location": "eastus", + "guestSubscriptionId": "11111111-1111-1111-1111-111111111111", + "resource": { + "properties": {} + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-123456789012/providers/Microsoft.ComputeLimit/locations/eastus/guestSubscriptions/11111111-1111-1111-1111-111111111111", + "name": "11111111-1111-1111-1111-111111111111", + "type": "Microsoft.ComputeLimit/locations/guestSubscriptions", + "properties": { + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-123456789012/providers/Microsoft.ComputeLimit/locations/eastus/guestSubscriptions/11111111-1111-1111-1111-111111111111", + "name": "11111111-1111-1111-1111-111111111111", + "type": "Microsoft.ComputeLimit/locations/guestSubscriptions", + "properties": { + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/examples/2025-08-15/GuestSubscriptions_Delete.json b/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/examples/2025-08-15/GuestSubscriptions_Delete.json new file mode 100644 index 000000000000..5cffbce2f571 --- /dev/null +++ b/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/examples/2025-08-15/GuestSubscriptions_Delete.json @@ -0,0 +1,14 @@ +{ + "title": "Delete a guest subscription", + "operationId": "GuestSubscriptions_Delete", + "parameters": { + "api-version": "2025-08-15", + "subscriptionId": "12345678-1234-1234-1234-123456789012", + "location": "eastus", + "guestSubscriptionId": "11111111-1111-1111-1111-111111111111" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/examples/2025-08-15/GuestSubscriptions_Get.json b/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/examples/2025-08-15/GuestSubscriptions_Get.json new file mode 100644 index 000000000000..0bc0bdd05d2d --- /dev/null +++ b/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/examples/2025-08-15/GuestSubscriptions_Get.json @@ -0,0 +1,22 @@ +{ + "title": "Get a guest subscription", + "operationId": "GuestSubscriptions_Get", + "parameters": { + "api-version": "2025-08-15", + "subscriptionId": "12345678-1234-1234-1234-123456789012", + "location": "eastus", + "guestSubscriptionId": "11111111-1111-1111-1111-111111111111" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-123456789012/providers/Microsoft.ComputeLimit/locations/eastus/guestSubscriptions/11111111-1111-1111-1111-111111111111", + "name": "11111111-1111-1111-1111-111111111111", + "type": "Microsoft.ComputeLimit/locations/guestSubscriptions", + "properties": { + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/examples/2025-08-15/GuestSubscriptions_List.json b/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/examples/2025-08-15/GuestSubscriptions_List.json new file mode 100644 index 000000000000..5ac2c573a8ad --- /dev/null +++ b/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/examples/2025-08-15/GuestSubscriptions_List.json @@ -0,0 +1,33 @@ +{ + "title": "List guest subscriptions for a scope", + "operationId": "GuestSubscriptions_ListBySubscriptionLocationResource", + "parameters": { + "api-version": "2025-08-15", + "subscriptionId": "12345678-1234-1234-1234-123456789012", + "location": "eastus" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/12345678-1234-1234-1234-123456789012/providers/Microsoft.ComputeLimit/locations/eastus/guestSubscriptions/11111111-1111-1111-1111-111111111111", + "name": "11111111-1111-1111-1111-111111111111", + "type": "Microsoft.ComputeLimit/locations/guestSubscriptions", + "properties": { + "provisioningState": "Succeeded" + } + }, + { + "id": "/subscriptions/12345678-1234-1234-1234-123456789012/providers/Microsoft.ComputeLimit/locations/eastus/guestSubscriptions/22222222-2222-2222-2222-222222222222", + "name": "22222222-2222-2222-2222-222222222222", + "type": "Microsoft.ComputeLimit/locations/guestSubscriptions", + "properties": { + "provisioningState": "Succeeded" + } + } + ] + } + } + } +} diff --git a/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/examples/2025-08-15/Operations_List.json b/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/examples/2025-08-15/Operations_List.json new file mode 100644 index 000000000000..2f451f662550 --- /dev/null +++ b/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/examples/2025-08-15/Operations_List.json @@ -0,0 +1,96 @@ +{ + "title": "List operations", + "operationId": "Operations_List", + "parameters": { + "api-version": "2025-08-15" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.ComputeLimit/operations/read", + "display": { + "provider": "Microsoft ComputeLimit", + "resource": "Operations", + "operation": "List Available Operations", + "description": "Lists all available operations for Microsoft.ComputeLimit resource provider" + } + }, + { + "name": "Microsoft.ComputeLimit/locations/guestSubscriptions/read", + "display": { + "provider": "Microsoft ComputeLimit", + "resource": "Guest Subscriptions", + "operation": "List Guest Subscriptions", + "description": "Lists all guest subscriptions that are consuming shared compute limits" + } + }, + { + "name": "Microsoft.ComputeLimit/locations/guestSubscriptions/read", + "display": { + "provider": "Microsoft ComputeLimit", + "resource": "Guest Subscriptions", + "operation": "Get Guest Subscription", + "description": "Gets a specific guest subscription that is consuming shared compute limits" + } + }, + { + "name": "Microsoft.ComputeLimit/locations/guestSubscriptions/write", + "display": { + "provider": "Microsoft ComputeLimit", + "resource": "Guest Subscriptions", + "operation": "Create Guest Subscription", + "description": "Adds a subscription as a guest to consume the compute limits shared by the host subscription" + } + }, + { + "name": "Microsoft.ComputeLimit/locations/guestSubscriptions/delete", + "display": { + "provider": "Microsoft ComputeLimit", + "resource": "Guest Subscriptions", + "operation": "Delete Guest Subscription", + "description": "Removes a subscription as a guest to stop consuming the compute limits shared by the host subscription" + } + }, + { + "name": "Microsoft.ComputeLimit/locations/sharedLimits/read", + "display": { + "provider": "Microsoft ComputeLimit", + "resource": "Shared Limits", + "operation": "List Shared Limits", + "description": "Lists all shared compute limits" + } + }, + { + "name": "Microsoft.ComputeLimit/locations/sharedLimits/read", + "display": { + "provider": "Microsoft ComputeLimit", + "resource": "Shared Limits", + "operation": "Get Shared Limit", + "description": "Gets a specific shared compute limit" + } + }, + { + "name": "Microsoft.ComputeLimit/locations/sharedLimits/write", + "display": { + "provider": "Microsoft ComputeLimit", + "resource": "Shared Limits", + "operation": "Update Shared Limit", + "description": "Updates a shared compute limit" + } + }, + { + "name": "Microsoft.ComputeLimit/locations/sharedLimits/delete", + "display": { + "provider": "Microsoft ComputeLimit", + "resource": "Shared Limits", + "operation": "Delete Shared Limit", + "description": "Deletes a shared compute limit" + } + } + ] + } + } + } +} diff --git a/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/examples/2025-08-15/SharedLimits_Create.json b/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/examples/2025-08-15/SharedLimits_Create.json new file mode 100644 index 000000000000..bbf51954a0a6 --- /dev/null +++ b/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/examples/2025-08-15/SharedLimits_Create.json @@ -0,0 +1,47 @@ +{ + "title": "Create a shared limit", + "operationId": "SharedLimits_Create", + "parameters": { + "api-version": "2025-08-15", + "subscriptionId": "12345678-1234-1234-1234-123456789012", + "location": "eastus", + "name": "StandardDSv3Family", + "resource": { + "properties": {} + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-123456789012/providers/Microsoft.ComputeLimit/locations/eastus/sharedLimits/StandardDSv3Family", + "name": "StandardDSv3Family", + "type": "Microsoft.ComputeLimit/locations/sharedLimits", + "properties": { + "resourceName": { + "value": "StandardDSv3Family", + "localizedValue": "Standard DSv3 Family vCPUs" + }, + "limit": 100, + "unit": "Count", + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-123456789012/providers/Microsoft.ComputeLimit/locations/eastus/sharedLimits/StandardDSv3Family", + "name": "StandardDSv3Family", + "type": "Microsoft.ComputeLimit/locations/sharedLimits", + "properties": { + "resourceName": { + "value": "StandardDSv3Family", + "localizedValue": "Standard DSv3 Family vCPUs" + }, + "limit": 100, + "unit": "Count", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/examples/2025-08-15/SharedLimits_Delete.json b/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/examples/2025-08-15/SharedLimits_Delete.json new file mode 100644 index 000000000000..3561f29cbe40 --- /dev/null +++ b/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/examples/2025-08-15/SharedLimits_Delete.json @@ -0,0 +1,14 @@ +{ + "title": "Delete a shared limit", + "operationId": "SharedLimits_Delete", + "parameters": { + "api-version": "2025-08-15", + "subscriptionId": "12345678-1234-1234-1234-123456789012", + "location": "eastus", + "name": "StandardDSv3Family" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/examples/2025-08-15/SharedLimits_Get.json b/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/examples/2025-08-15/SharedLimits_Get.json new file mode 100644 index 000000000000..e5b0c23ac9ca --- /dev/null +++ b/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/examples/2025-08-15/SharedLimits_Get.json @@ -0,0 +1,28 @@ +{ + "title": "Get a shared limit", + "operationId": "SharedLimits_Get", + "parameters": { + "api-version": "2025-08-15", + "subscriptionId": "12345678-1234-1234-1234-123456789012", + "location": "eastus", + "name": "StandardDSv3Family" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-123456789012/providers/Microsoft.ComputeLimit/locations/eastus/sharedLimits/StandardDSv3Family", + "name": "StandardDSv3Family", + "type": "Microsoft.ComputeLimit/locations/sharedLimits", + "properties": { + "resourceName": { + "value": "StandardDSv3Family", + "localizedValue": "Standard DSv3 Family vCPUs" + }, + "limit": 100, + "unit": "Count", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/examples/2025-08-15/SharedLimits_List.json b/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/examples/2025-08-15/SharedLimits_List.json new file mode 100644 index 000000000000..61d626387024 --- /dev/null +++ b/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/examples/2025-08-15/SharedLimits_List.json @@ -0,0 +1,45 @@ +{ + "title": "List all shared limits for a scope", + "operationId": "SharedLimits_ListBySubscriptionLocationResource", + "parameters": { + "api-version": "2025-08-15", + "subscriptionId": "12345678-1234-1234-1234-123456789012", + "location": "eastus" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/12345678-1234-1234-1234-123456789012/providers/Microsoft.ComputeLimit/locations/eastus/sharedLimits/StandardDSv3Family", + "name": "StandardDSv3Family", + "type": "Microsoft.ComputeLimit/locations/sharedLimits", + "properties": { + "resourceName": { + "value": "StandardDSv3Family", + "localizedValue": "Standard DSv3 Family vCPUs" + }, + "limit": 100, + "unit": "Count", + "provisioningState": "Succeeded" + } + }, + { + "id": "/subscriptions/12345678-1234-1234-1234-123456789012/providers/Microsoft.ComputeLimit/locations/eastus/sharedLimits/StandardFSv2Family", + "name": "StandardFSv2Family", + "type": "Microsoft.ComputeLimit/locations/sharedLimits", + "properties": { + "resourceName": { + "value": "StandardFSv2Family", + "localizedValue": "Standard FSv2 Family vCPUs" + }, + "limit": 50, + "unit": "Count", + "provisioningState": "Succeeded" + } + } + ] + } + } + } +} diff --git a/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/main.tsp b/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/main.tsp new file mode 100644 index 000000000000..ce31f9d37eef --- /dev/null +++ b/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/main.tsp @@ -0,0 +1,24 @@ +import "@typespec/rest"; +import "@typespec/versioning"; +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "./GuestSubscription.tsp"; +import "./SharedLimit.tsp"; + +using Azure.ResourceManager; +using TypeSpec.Versioning; + +/** Microsoft Azure Compute Limit Resource Provider. */ +@armProviderNamespace +@service(#{ title: "Azure Compute Limit API" }) +@versioned(Versions) +@armCommonTypesVersion(Azure.ResourceManager.CommonTypes.Versions.v5) +namespace Microsoft.ComputeLimit; + +/** The available API versions. */ +enum Versions { + /** The 2025-08-15 API version. */ + v2025_08_15: "2025-08-15", +} + +interface Operations extends Azure.ResourceManager.Operations {} diff --git a/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/readme.md b/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/readme.md new file mode 100644 index 000000000000..da512b3197b9 --- /dev/null +++ b/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/readme.md @@ -0,0 +1,38 @@ +# Microsoft.ComputeLimit API + +> see https://aka.ms/autorest + +## Getting Started + +To build the SDKs for My API, simply install AutoRest via `npm` (`npm install -g autorest`) and then run: + +> `autorest readme.md` + +To see additional help and options, run: + +> `autorest --help` + +For other options on installation see [Installing AutoRest](https://aka.ms/autorest/install) on the AutoRest github page. + +> `autorest readme.md` + +## Configuration + +### Basic Information + +These are the global settings. + +```yaml +openapi-type: arm +openapi-subtype: rpaas +tag: package-2025-08-15 +``` + +### Tag: package-2025-08-15 + +These settings apply only when `--tag=package-2025-08-15` is specified on the command line. + +```yaml $(tag) == 'package-2025-08-15' +input-file: + - stable/2025-08-15/ComputeLimit.json +``` \ No newline at end of file diff --git a/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/stable/2025-08-15/ComputeLimit.json b/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/stable/2025-08-15/ComputeLimit.json new file mode 100644 index 000000000000..a4f1729649c2 --- /dev/null +++ b/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/stable/2025-08-15/ComputeLimit.json @@ -0,0 +1,643 @@ +{ + "swagger": "2.0", + "info": { + "title": "Azure Compute Limit API", + "version": "2025-08-15", + "description": "Microsoft Azure Compute Limit Resource Provider.", + "x-typespec-generated": [ + { + "emitter": "@azure-tools/typespec-autorest" + } + ] + }, + "schemes": [ + "https" + ], + "host": "management.azure.com", + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "description": "Azure Active Directory OAuth2 Flow.", + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "tags": [ + { + "name": "Operations" + }, + { + "name": "GuestSubscriptions" + }, + { + "name": "SharedLimits" + } + ], + "paths": { + "/providers/Microsoft.ComputeLimit/operations": { + "get": { + "operationId": "Operations_List", + "tags": [ + "Operations" + ], + "description": "List the operations for the provider", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/OperationListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List operations": { + "$ref": "./examples/Operations_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ComputeLimit/locations/{location}/guestSubscriptions": { + "get": { + "operationId": "GuestSubscriptions_ListBySubscriptionLocationResource", + "tags": [ + "GuestSubscriptions" + ], + "description": "Lists all guest subscriptions in a location.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/GuestSubscriptionListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List guest subscriptions for a scope": { + "$ref": "./examples/GuestSubscriptions_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ComputeLimit/locations/{location}/guestSubscriptions/{guestSubscriptionId}": { + "get": { + "operationId": "GuestSubscriptions_Get", + "tags": [ + "GuestSubscriptions" + ], + "description": "Gets the properties of a guest subscription.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter" + }, + { + "name": "guestSubscriptionId", + "in": "path", + "description": "The name of the GuestSubscription", + "required": true, + "type": "string", + "pattern": "^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/GuestSubscription" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get a guest subscription": { + "$ref": "./examples/GuestSubscriptions_Get.json" + } + } + }, + "put": { + "operationId": "GuestSubscriptions_Create", + "tags": [ + "GuestSubscriptions" + ], + "description": "Adds a subscription as a guest to consume the compute limits shared by the host subscription.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter" + }, + { + "name": "guestSubscriptionId", + "in": "path", + "description": "The name of the GuestSubscription", + "required": true, + "type": "string", + "pattern": "^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/GuestSubscription" + } + } + ], + "responses": { + "200": { + "description": "Resource 'GuestSubscription' update operation succeeded", + "schema": { + "$ref": "#/definitions/GuestSubscription" + } + }, + "201": { + "description": "Resource 'GuestSubscription' create operation succeeded", + "schema": { + "$ref": "#/definitions/GuestSubscription" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Create a guest subscription": { + "$ref": "./examples/GuestSubscriptions_Create.json" + } + } + }, + "delete": { + "operationId": "GuestSubscriptions_Delete", + "tags": [ + "GuestSubscriptions" + ], + "description": "Deletes a subscription as a guest to stop consuming the compute limits shared by the host subscription.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter" + }, + { + "name": "guestSubscriptionId", + "in": "path", + "description": "The name of the GuestSubscription", + "required": true, + "type": "string", + "pattern": "^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Delete a guest subscription": { + "$ref": "./examples/GuestSubscriptions_Delete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ComputeLimit/locations/{location}/sharedLimits": { + "get": { + "operationId": "SharedLimits_ListBySubscriptionLocationResource", + "tags": [ + "SharedLimits" + ], + "description": "Lists all compute limits shared by the host subscription with its guest subscriptions.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SharedLimitListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List all shared limits for a scope": { + "$ref": "./examples/SharedLimits_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ComputeLimit/locations/{location}/sharedLimits/{name}": { + "get": { + "operationId": "SharedLimits_Get", + "tags": [ + "SharedLimits" + ], + "description": "Gets the properties of a compute limit shared by the host subscription with its guest subscriptions.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter" + }, + { + "name": "name", + "in": "path", + "description": "The name of the SharedLimit", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9-]{3,24}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SharedLimit" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get a shared limit": { + "$ref": "./examples/SharedLimits_Get.json" + } + } + }, + "put": { + "operationId": "SharedLimits_Create", + "tags": [ + "SharedLimits" + ], + "description": "Enables sharing of a compute limit by the host subscription with its guest subscriptions.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter" + }, + { + "name": "name", + "in": "path", + "description": "The name of the SharedLimit", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9-]{3,24}$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/SharedLimit" + } + } + ], + "responses": { + "200": { + "description": "Resource 'SharedLimit' update operation succeeded", + "schema": { + "$ref": "#/definitions/SharedLimit" + } + }, + "201": { + "description": "Resource 'SharedLimit' create operation succeeded", + "schema": { + "$ref": "#/definitions/SharedLimit" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Create a shared limit": { + "$ref": "./examples/SharedLimits_Create.json" + } + } + }, + "delete": { + "operationId": "SharedLimits_Delete", + "tags": [ + "SharedLimits" + ], + "description": "Disables sharing of a compute limit by the host subscription with its guest subscriptions.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter" + }, + { + "name": "name", + "in": "path", + "description": "The name of the SharedLimit", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9-]{3,24}$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Delete a shared limit": { + "$ref": "./examples/SharedLimits_Delete.json" + } + } + } + } + }, + "definitions": { + "Azure.ResourceManager.ResourceProvisioningState": { + "type": "string", + "description": "The provisioning state of a resource type.", + "enum": [ + "Succeeded", + "Failed", + "Canceled" + ], + "x-ms-enum": { + "name": "ResourceProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Resource has been created." + }, + { + "name": "Failed", + "value": "Failed", + "description": "Resource creation failed." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Resource creation was canceled." + } + ] + }, + "readOnly": true + }, + "GuestSubscription": { + "type": "object", + "description": "Guest subscription that consumes shared compute limits.", + "properties": { + "properties": { + "$ref": "#/definitions/GuestSubscriptionProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "GuestSubscriptionListResult": { + "type": "object", + "description": "The response of a GuestSubscription list operation.", + "properties": { + "value": { + "type": "array", + "description": "The GuestSubscription items on this page", + "items": { + "$ref": "#/definitions/GuestSubscription" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "GuestSubscriptionProperties": { + "type": "object", + "description": "Properties for guest subscription.", + "properties": { + "provisioningState": { + "$ref": "#/definitions/Azure.ResourceManager.ResourceProvisioningState", + "description": "The provisioning state of the resource.", + "readOnly": true + } + } + }, + "LimitName": { + "type": "object", + "description": "Properties of the limit name.", + "properties": { + "value": { + "type": "string", + "description": "The limit name." + }, + "localizedValue": { + "type": "string", + "description": "The localized limit name.", + "readOnly": true + } + }, + "required": [ + "value" + ] + }, + "SharedLimit": { + "type": "object", + "description": "Compute limits shared by the subscription.", + "properties": { + "properties": { + "$ref": "#/definitions/SharedLimitProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "SharedLimitListResult": { + "type": "object", + "description": "The response of a SharedLimit list operation.", + "properties": { + "value": { + "type": "array", + "description": "The SharedLimit items on this page", + "items": { + "$ref": "#/definitions/SharedLimit" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "SharedLimitProperties": { + "type": "object", + "description": "Properties of the compute shared limit.", + "properties": { + "resourceName": { + "$ref": "#/definitions/LimitName", + "description": "The limit name properties.", + "readOnly": true + }, + "limit": { + "type": "integer", + "format": "int32", + "description": "The maximum permitted usage of the resource.", + "readOnly": true + }, + "unit": { + "type": "string", + "description": "The quota units, such as Count.", + "default": "Count", + "readOnly": true + }, + "provisioningState": { + "$ref": "#/definitions/Azure.ResourceManager.ResourceProvisioningState", + "description": "The provisioning state of the resource.", + "readOnly": true + } + } + } + }, + "parameters": {} +} diff --git a/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/stable/2025-08-15/examples/GuestSubscriptions_Create.json b/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/stable/2025-08-15/examples/GuestSubscriptions_Create.json new file mode 100644 index 000000000000..e6befc4546b5 --- /dev/null +++ b/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/stable/2025-08-15/examples/GuestSubscriptions_Create.json @@ -0,0 +1,35 @@ +{ + "title": "Create a guest subscription", + "operationId": "GuestSubscriptions_Create", + "parameters": { + "api-version": "2025-08-15", + "subscriptionId": "12345678-1234-1234-1234-123456789012", + "location": "eastus", + "guestSubscriptionId": "11111111-1111-1111-1111-111111111111", + "resource": { + "properties": {} + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-123456789012/providers/Microsoft.ComputeLimit/locations/eastus/guestSubscriptions/11111111-1111-1111-1111-111111111111", + "name": "11111111-1111-1111-1111-111111111111", + "type": "Microsoft.ComputeLimit/locations/guestSubscriptions", + "properties": { + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-123456789012/providers/Microsoft.ComputeLimit/locations/eastus/guestSubscriptions/11111111-1111-1111-1111-111111111111", + "name": "11111111-1111-1111-1111-111111111111", + "type": "Microsoft.ComputeLimit/locations/guestSubscriptions", + "properties": { + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/stable/2025-08-15/examples/GuestSubscriptions_Delete.json b/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/stable/2025-08-15/examples/GuestSubscriptions_Delete.json new file mode 100644 index 000000000000..5cffbce2f571 --- /dev/null +++ b/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/stable/2025-08-15/examples/GuestSubscriptions_Delete.json @@ -0,0 +1,14 @@ +{ + "title": "Delete a guest subscription", + "operationId": "GuestSubscriptions_Delete", + "parameters": { + "api-version": "2025-08-15", + "subscriptionId": "12345678-1234-1234-1234-123456789012", + "location": "eastus", + "guestSubscriptionId": "11111111-1111-1111-1111-111111111111" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/stable/2025-08-15/examples/GuestSubscriptions_Get.json b/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/stable/2025-08-15/examples/GuestSubscriptions_Get.json new file mode 100644 index 000000000000..0bc0bdd05d2d --- /dev/null +++ b/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/stable/2025-08-15/examples/GuestSubscriptions_Get.json @@ -0,0 +1,22 @@ +{ + "title": "Get a guest subscription", + "operationId": "GuestSubscriptions_Get", + "parameters": { + "api-version": "2025-08-15", + "subscriptionId": "12345678-1234-1234-1234-123456789012", + "location": "eastus", + "guestSubscriptionId": "11111111-1111-1111-1111-111111111111" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-123456789012/providers/Microsoft.ComputeLimit/locations/eastus/guestSubscriptions/11111111-1111-1111-1111-111111111111", + "name": "11111111-1111-1111-1111-111111111111", + "type": "Microsoft.ComputeLimit/locations/guestSubscriptions", + "properties": { + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/stable/2025-08-15/examples/GuestSubscriptions_List.json b/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/stable/2025-08-15/examples/GuestSubscriptions_List.json new file mode 100644 index 000000000000..5ac2c573a8ad --- /dev/null +++ b/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/stable/2025-08-15/examples/GuestSubscriptions_List.json @@ -0,0 +1,33 @@ +{ + "title": "List guest subscriptions for a scope", + "operationId": "GuestSubscriptions_ListBySubscriptionLocationResource", + "parameters": { + "api-version": "2025-08-15", + "subscriptionId": "12345678-1234-1234-1234-123456789012", + "location": "eastus" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/12345678-1234-1234-1234-123456789012/providers/Microsoft.ComputeLimit/locations/eastus/guestSubscriptions/11111111-1111-1111-1111-111111111111", + "name": "11111111-1111-1111-1111-111111111111", + "type": "Microsoft.ComputeLimit/locations/guestSubscriptions", + "properties": { + "provisioningState": "Succeeded" + } + }, + { + "id": "/subscriptions/12345678-1234-1234-1234-123456789012/providers/Microsoft.ComputeLimit/locations/eastus/guestSubscriptions/22222222-2222-2222-2222-222222222222", + "name": "22222222-2222-2222-2222-222222222222", + "type": "Microsoft.ComputeLimit/locations/guestSubscriptions", + "properties": { + "provisioningState": "Succeeded" + } + } + ] + } + } + } +} diff --git a/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/stable/2025-08-15/examples/Operations_List.json b/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/stable/2025-08-15/examples/Operations_List.json new file mode 100644 index 000000000000..2f451f662550 --- /dev/null +++ b/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/stable/2025-08-15/examples/Operations_List.json @@ -0,0 +1,96 @@ +{ + "title": "List operations", + "operationId": "Operations_List", + "parameters": { + "api-version": "2025-08-15" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.ComputeLimit/operations/read", + "display": { + "provider": "Microsoft ComputeLimit", + "resource": "Operations", + "operation": "List Available Operations", + "description": "Lists all available operations for Microsoft.ComputeLimit resource provider" + } + }, + { + "name": "Microsoft.ComputeLimit/locations/guestSubscriptions/read", + "display": { + "provider": "Microsoft ComputeLimit", + "resource": "Guest Subscriptions", + "operation": "List Guest Subscriptions", + "description": "Lists all guest subscriptions that are consuming shared compute limits" + } + }, + { + "name": "Microsoft.ComputeLimit/locations/guestSubscriptions/read", + "display": { + "provider": "Microsoft ComputeLimit", + "resource": "Guest Subscriptions", + "operation": "Get Guest Subscription", + "description": "Gets a specific guest subscription that is consuming shared compute limits" + } + }, + { + "name": "Microsoft.ComputeLimit/locations/guestSubscriptions/write", + "display": { + "provider": "Microsoft ComputeLimit", + "resource": "Guest Subscriptions", + "operation": "Create Guest Subscription", + "description": "Adds a subscription as a guest to consume the compute limits shared by the host subscription" + } + }, + { + "name": "Microsoft.ComputeLimit/locations/guestSubscriptions/delete", + "display": { + "provider": "Microsoft ComputeLimit", + "resource": "Guest Subscriptions", + "operation": "Delete Guest Subscription", + "description": "Removes a subscription as a guest to stop consuming the compute limits shared by the host subscription" + } + }, + { + "name": "Microsoft.ComputeLimit/locations/sharedLimits/read", + "display": { + "provider": "Microsoft ComputeLimit", + "resource": "Shared Limits", + "operation": "List Shared Limits", + "description": "Lists all shared compute limits" + } + }, + { + "name": "Microsoft.ComputeLimit/locations/sharedLimits/read", + "display": { + "provider": "Microsoft ComputeLimit", + "resource": "Shared Limits", + "operation": "Get Shared Limit", + "description": "Gets a specific shared compute limit" + } + }, + { + "name": "Microsoft.ComputeLimit/locations/sharedLimits/write", + "display": { + "provider": "Microsoft ComputeLimit", + "resource": "Shared Limits", + "operation": "Update Shared Limit", + "description": "Updates a shared compute limit" + } + }, + { + "name": "Microsoft.ComputeLimit/locations/sharedLimits/delete", + "display": { + "provider": "Microsoft ComputeLimit", + "resource": "Shared Limits", + "operation": "Delete Shared Limit", + "description": "Deletes a shared compute limit" + } + } + ] + } + } + } +} diff --git a/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/stable/2025-08-15/examples/SharedLimits_Create.json b/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/stable/2025-08-15/examples/SharedLimits_Create.json new file mode 100644 index 000000000000..bbf51954a0a6 --- /dev/null +++ b/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/stable/2025-08-15/examples/SharedLimits_Create.json @@ -0,0 +1,47 @@ +{ + "title": "Create a shared limit", + "operationId": "SharedLimits_Create", + "parameters": { + "api-version": "2025-08-15", + "subscriptionId": "12345678-1234-1234-1234-123456789012", + "location": "eastus", + "name": "StandardDSv3Family", + "resource": { + "properties": {} + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-123456789012/providers/Microsoft.ComputeLimit/locations/eastus/sharedLimits/StandardDSv3Family", + "name": "StandardDSv3Family", + "type": "Microsoft.ComputeLimit/locations/sharedLimits", + "properties": { + "resourceName": { + "value": "StandardDSv3Family", + "localizedValue": "Standard DSv3 Family vCPUs" + }, + "limit": 100, + "unit": "Count", + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-123456789012/providers/Microsoft.ComputeLimit/locations/eastus/sharedLimits/StandardDSv3Family", + "name": "StandardDSv3Family", + "type": "Microsoft.ComputeLimit/locations/sharedLimits", + "properties": { + "resourceName": { + "value": "StandardDSv3Family", + "localizedValue": "Standard DSv3 Family vCPUs" + }, + "limit": 100, + "unit": "Count", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/stable/2025-08-15/examples/SharedLimits_Delete.json b/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/stable/2025-08-15/examples/SharedLimits_Delete.json new file mode 100644 index 000000000000..3561f29cbe40 --- /dev/null +++ b/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/stable/2025-08-15/examples/SharedLimits_Delete.json @@ -0,0 +1,14 @@ +{ + "title": "Delete a shared limit", + "operationId": "SharedLimits_Delete", + "parameters": { + "api-version": "2025-08-15", + "subscriptionId": "12345678-1234-1234-1234-123456789012", + "location": "eastus", + "name": "StandardDSv3Family" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/stable/2025-08-15/examples/SharedLimits_Get.json b/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/stable/2025-08-15/examples/SharedLimits_Get.json new file mode 100644 index 000000000000..e5b0c23ac9ca --- /dev/null +++ b/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/stable/2025-08-15/examples/SharedLimits_Get.json @@ -0,0 +1,28 @@ +{ + "title": "Get a shared limit", + "operationId": "SharedLimits_Get", + "parameters": { + "api-version": "2025-08-15", + "subscriptionId": "12345678-1234-1234-1234-123456789012", + "location": "eastus", + "name": "StandardDSv3Family" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-123456789012/providers/Microsoft.ComputeLimit/locations/eastus/sharedLimits/StandardDSv3Family", + "name": "StandardDSv3Family", + "type": "Microsoft.ComputeLimit/locations/sharedLimits", + "properties": { + "resourceName": { + "value": "StandardDSv3Family", + "localizedValue": "Standard DSv3 Family vCPUs" + }, + "limit": 100, + "unit": "Count", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/stable/2025-08-15/examples/SharedLimits_List.json b/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/stable/2025-08-15/examples/SharedLimits_List.json new file mode 100644 index 000000000000..61d626387024 --- /dev/null +++ b/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/stable/2025-08-15/examples/SharedLimits_List.json @@ -0,0 +1,45 @@ +{ + "title": "List all shared limits for a scope", + "operationId": "SharedLimits_ListBySubscriptionLocationResource", + "parameters": { + "api-version": "2025-08-15", + "subscriptionId": "12345678-1234-1234-1234-123456789012", + "location": "eastus" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/12345678-1234-1234-1234-123456789012/providers/Microsoft.ComputeLimit/locations/eastus/sharedLimits/StandardDSv3Family", + "name": "StandardDSv3Family", + "type": "Microsoft.ComputeLimit/locations/sharedLimits", + "properties": { + "resourceName": { + "value": "StandardDSv3Family", + "localizedValue": "Standard DSv3 Family vCPUs" + }, + "limit": 100, + "unit": "Count", + "provisioningState": "Succeeded" + } + }, + { + "id": "/subscriptions/12345678-1234-1234-1234-123456789012/providers/Microsoft.ComputeLimit/locations/eastus/sharedLimits/StandardFSv2Family", + "name": "StandardFSv2Family", + "type": "Microsoft.ComputeLimit/locations/sharedLimits", + "properties": { + "resourceName": { + "value": "StandardFSv2Family", + "localizedValue": "Standard FSv2 Family vCPUs" + }, + "limit": 50, + "unit": "Count", + "provisioningState": "Succeeded" + } + } + ] + } + } + } +} diff --git a/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/tspconfig.yaml b/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/tspconfig.yaml new file mode 100644 index 000000000000..e1d2e523f5d2 --- /dev/null +++ b/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/tspconfig.yaml @@ -0,0 +1,57 @@ +emit: + - "@azure-tools/typespec-autorest" +parameters: + service-dir: + default: "sdk/computelimit" +options: + "@azure-tools/typespec-autorest": + emitter-output-dir: "{project-root}" + azure-resource-provider-folder: "resource-manager" + output-file: "{version-status}/{version}/ComputeLimit.json" + examples-dir: "{project-root}/examples" + arm-resource-flattening: true + arm-types-dir: "{project-root}/../../../../common-types/resource-management" + use-read-only-status-schema: true + "@azure-tools/typespec-java": + flavor: azure + emitter-output-dir: "{output-dir}/{service-dir}/azure-resourcemanager-computelimit" + package-dir: "azure-resourcemanager-computelimit" + namespace: "com.azure.resourcemanager.computelimit" + "@azure-tools/typespec-ts": + flavor: azure + experimental-extensible-enums: true + emitter-output-dir: "{output-dir}/{service-dir}/arm-computelimit" + package-dir: "arm-computelimit" + package-details: + name: "@azure/arm-computelimit" + "@azure-tools/typespec-go": + service-dir: "sdk/resourcemanager/computelimit" + emitter-output-dir: "{output-dir}/{service-dir}/armcomputelimit" + package-dir: "armcomputelimit" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" + generate-samples: true + generate-fakes: true + head-as-boolean: true + inject-spans: true + "@azure-tools/typespec-python": + flavor: azure + emitter-output-dir: "{output-dir}/{service-dir}/azure-mgmt-computelimit" + package-dir: "azure-mgmt-computelimit" + namespace: "azure.mgmt.computelimit" + generate-sample: true + generate-test: true + "@azure-tools/typespec-csharp": + flavor: azure + emitter-output-dir: "{output-dir}/{service-dir}/{namespace}" + package-dir: "Azure.ResourceManager.ComputeLimit" + namespace: "Azure.ResourceManager.ComputeLimit" + clear-output-folder: true + model-namespace: true +linter: + extends: + - "@azure-tools/typespec-azure-rulesets/resource-manager" + disable: + "@azure-tools/typespec-azure-core/casing-style": "https://github.com/Azure/typespec-azure/issues/1845" + "@azure-tools/typespec-azure-resource-manager/arm-resource-operation": "https://github.com/Azure/typespec-azure/issues/2081" + "@azure-tools/typespec-azure-resource-manager/lro-location-header": "https://github.com/Azure/typespec-azure/issues/1785" + "@azure-tools/typespec-azure-resource-manager/no-response-body": "https://github.com/Azure/typespec-azure/issues/1785" From 6954827ee5c5e21e9ab2269b600ee5a324abfbe7 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 13 Nov 2025 06:08:15 +0000 Subject: [PATCH 3/3] Resolve merge conflicts with main branch Co-authored-by: ArcturusZhang <10554446+ArcturusZhang@users.noreply.github.com> --- .github/CODEOWNERS | 6 +- .github/copilot-instructions.md | 4 + .github/package-lock.json | 585 +- .github/package.json | 2 +- .github/shared/cmd/spec-model.js | 16 +- .github/shared/eslint.config.js | 9 +- .github/shared/package-lock.json | 577 +- .github/shared/package.json | 2 +- .github/shared/src/readme.js | 5 +- .github/shared/src/spec-model.js | 4 +- .github/shared/src/swagger.js | 246 +- .github/shared/src/tag.js | 3 +- .github/shared/test/changed-files.test.js | 44 +- .github/shared/test/exec.test.js | 30 +- .../stable/2024-04-01/test.json | 1 + .github/shared/test/readme.test.js | 2 +- .github/shared/test/set.test.js | 2 +- .github/shared/test/sort.test.js | 5 +- .github/shared/test/spec-model.test.js | 60 +- .github/shared/test/swagger.test.js | 142 +- .github/shared/test/tag.test.js | 2 +- .github/shared/vitest.config.js | 2 +- .../src/summarize-checks/labelling.js | 2 +- .../test/summarize-checks/labelling.test.js | 59 + .../create-release-plan.instructions.md | 24 +- .../knowledge/customizing-client-tsp.md | 475 + eng/common/scripts/Update-DocsMsPackages.ps1 | 10 +- eng/common/scripts/Verify-Links.ps1 | 9 + eng/common/tsp-client/package-lock.json | 8 +- eng/common/tsp-client/package.json | 2 +- eng/tools/lint-diff/package.json | 2 +- package-lock.json | 807 +- package.json | 2 +- .../tspconfig.yaml | 2 +- .../OpenAI.v1/azure-v1-v1-generated.json | 734 + .../OpenAI.v1/azure-v1-v1-generated.yaml | 484 + specification/azurestackhci/cspell.yaml | 1 + .../StackHCI/Operations.tsp | 14 + ...iptionLocationResource_MaximumSet_Gen.json | 26 + .../2025-11-01-preview/Operations_List.json | 305 + .../OsImages_Get_MaximumSet_Gen.json | 25 + ...iptionLocationResource_MaximumSet_Gen.json | 29 + .../PlatformUpdates_Get_MaximumSet_Gen.json | 45 + ...Updates_ListByLocation_MaximumSet_Gen.json | 68 + .../UpdateContents_Get_MaximumSet_Gen.json | 32 + ...ontents_ListByLocation_MaximumSet_Gen.json | 54 + .../StackHCI/kubernetesVersions.tsp | 39 + .../Microsoft.AzureStackHCI/StackHCI/main.tsp | 44 + .../StackHCI/osImages.tsp | 50 + .../StackHCI/platformUpdates.tsp | 76 + .../2025-11-01-preview/arcSettings.json | 1185 + .../preview/2025-11-01-preview/clusters.json | 2271 ++ .../deploymentSettings.json | 1131 + .../2025-11-01-preview/edgeDeviceJobs.json | 1150 + .../2025-11-01-preview/edgeDevices.json | 1320 + .../examples/ChangeClusterRing.json | 83 + .../Clusters_UpdateSecretsLocations.json | 93 + .../examples/ConfigureRemoteSupport.json | 113 + .../ConsentAndInstallDefaultExtensions.json | 52 + .../examples/CreateArcIdentity.json | 26 + .../examples/CreateCluster.json | 61 + .../examples/CreateClusterIdentity.json | 25 + .../examples/CreateHciEdgeDevice.json | 257 + .../examples/DeleteArcSetting.json | 18 + .../examples/DeleteCluster.json | 17 + .../examples/DeleteDeploymentSettings.json | 17 + .../examples/DeleteEdgeDevices.json | 15 + .../examples/DeleteExtension.json | 19 + .../examples/DeleteSecuritySettings.json | 17 + .../examples/DeleteUpdateRuns.json | 19 + .../examples/DeleteUpdateSummaries.json | 17 + .../examples/DeleteUpdates.json | 18 + ...eDeviceJobs_CreateOrUpdate_CollectLog.json | 65 + ...viceJobs_CreateOrUpdate_RemoteSupport.json | 68 + .../examples/EdgeDeviceJobs_Delete.json | 18 + .../EdgeDeviceJobs_Get_RemoteSupport.json | 34 + .../EdgeDeviceJobs_ListByEdgeDevice.json | 38 + .../ExtendSoftwareAssuranceBenefit.json | 82 + .../examples/Extensions_Upgrade.json | 22 + .../examples/GeneratePassword.json | 19 + .../examples/GetArcSetting.json | 61 + .../examples/GetCluster.json | 125 + .../examples/GetDeploymentSettings.json | 271 + .../examples/GetEdgeDevices.json | 46 + .../examples/GetExtension.json | 80 + .../2025-11-01-preview/examples/GetOffer.json | 34 + .../examples/GetPublisher.json | 18 + .../examples/GetSecuritySettings.json | 38 + .../2025-11-01-preview/examples/GetSku.json | 36 + .../examples/GetUpdateRuns.json | 43 + .../examples/GetUpdateSummaries.json | 41 + .../examples/GetUpdates.json | 44 + .../examples/InitializeDisableProcess.json | 19 + ...iptionLocationResource_MaximumSet_Gen.json | 26 + .../examples/ListArcSettingsByCluster.json | 64 + .../examples/ListClustersByResourceGroup.json | 137 + .../examples/ListClustersBySubscription.json | 136 + .../ListDeploymentSettingsByCluster.json | 203 + .../examples/ListEdgeDevices.json | 72 + .../examples/ListExtensionsByArcSetting.json | 95 + .../examples/ListOffersByCluster.json | 36 + .../examples/ListOffersByPublisher.json | 37 + .../examples/ListPublishersByCluster.json | 21 + .../ListSecuritySettingsByCluster.json | 41 + .../examples/ListSkusByOffer.json | 39 + .../examples/ListUpdateRuns.json | 46 + .../examples/ListUpdateSummaries.json | 45 + .../examples/ListUpdates.json | 47 + .../examples/Operations_List.json | 305 + .../examples/OsImages_Get_MaximumSet_Gen.json | 25 + ...iptionLocationResource_MaximumSet_Gen.json | 29 + .../examples/PatchArcSetting.json | 74 + .../examples/PatchExtension.json | 99 + .../PlatformUpdates_Get_MaximumSet_Gen.json | 45 + ...Updates_ListByLocation_MaximumSet_Gen.json | 68 + .../examples/PostUpdates.json | 17 + .../examples/PutArcSetting.json | 53 + .../examples/PutDeploymentSettings.json | 734 + .../PutDeploymentSettingsWithADLess.json | 738 + .../examples/PutExtension.json | 164 + .../examples/PutSecuritySettings.json | 72 + .../examples/PutUpdateRuns.json | 68 + .../examples/PutUpdateSummaries.json | 52 + .../examples/PutUpdates.json | 71 + .../examples/TriggerLogCollection.json | 95 + .../examples/UpdateCluster.json | 126 + .../UpdateContents_Get_MaximumSet_Gen.json | 32 + ...ontents_ListByLocation_MaximumSet_Gen.json | 54 + .../examples/UploadCertificate.json | 23 + .../examples/ValidateEdgeDevices.json | 26 + .../ValidatedSolutionRecipes_Get.json | 351 + ...es_ListBySubscriptionLocationResource.json | 355 + .../examples/reconcileArcSettings.json | 76 + .../2025-11-01-preview/extensions.json | 1002 + .../preview/2025-11-01-preview/hci.json | 702 + .../preview/2025-11-01-preview/hciCommon.json | 523 + .../preview/2025-11-01-preview/offers.json | 302 + .../2025-11-01-preview/publishers.json | 188 + .../2025-11-01-preview/securitySettings.json | 502 + .../preview/2025-11-01-preview/skus.json | 275 + .../2025-11-01-preview/updateRuns.json | 461 + .../2025-11-01-preview/updateSummaries.json | 510 + .../preview/2025-11-01-preview/updates.json | 769 + .../validatedSolutionRecipes.json | 396 + .../StackHCI/readme.md | 27 +- .../StackHCI/tspconfig.yaml | 51 + .../StackHCI/updateContents.tsp | 71 + .../azurestackhci/resource-manager/readme.md | 25 +- .../EdgeActionExecutionFilters_Create.json | 2 +- .../EdgeActionVersions_Create.json | 2 +- .../EdgeActions_Create.json | 2 +- .../EdgeActions_ListByResourceGroup.json | 4 +- .../EdgeActions_ListBySubscription.json | 4 +- .../EdgeActions_Update.json | 4 +- .../EdgeActionExecutionFilters_Create.json | 2 +- .../examples/EdgeActionVersions_Create.json | 2 +- .../EdgeActionsExecutionFilters_Create.json | 2 +- .../examples/EdgeActionsVersions_Create.json | 2 +- .../examples/EdgeActions_Create.json | 2 +- .../EdgeActions_ListByResourceGroup.json | 4 +- .../EdgeActions_ListBySubscription.json | 4 +- .../examples/EdgeActions_Update.json | 4 +- .../CloudHealth.Management/client.tsp | 2 + .../CloudHealth.Management/tspconfig.yaml | 5 +- .../2025-04-01-preview/cognitiveservices.json | 215 +- .../examples/AccountCapabilityHost/list.json | 30 + .../ProjectCapabilityHost/createOrUpdate.json | 47 +- .../examples/ProjectCapabilityHost/get.json | 17 +- .../examples/ProjectCapabilityHost/list.json | 38 + .../2025-07-01-preview/cognitiveservices.json | 214 +- .../examples/AccountCapabilityHost/list.json | 30 + .../ProjectCapabilityHost/createOrUpdate.json | 47 +- .../examples/ProjectCapabilityHost/get.json | 17 +- .../examples/ProjectCapabilityHost/list.json | 38 + .../2025-10-01-preview/cognitiveservices.json | 226 +- .../AccountCapabilityHost/createOrUpdate.json | 9 +- .../examples/AccountCapabilityHost/get.json | 3 +- .../examples/AccountCapabilityHost/list.json | 30 + .../AgentApplication/listDeployments.json | 8 +- .../AgentDeployment/createOrUpdate.json | 8 +- .../examples/AgentDeployment/get.json | 4 +- .../examples/AgentDeployment/list.json | 4 +- .../ProjectCapabilityHost/createOrUpdate.json | 47 +- .../examples/ProjectCapabilityHost/get.json | 17 +- .../examples/ProjectCapabilityHost/list.json | 38 + .../stable/2025-06-01/cognitiveservices.json | 214 +- .../examples/AccountCapabilityHost/list.json | 30 + .../ProjectCapabilityHost/createOrUpdate.json | 47 +- .../examples/ProjectCapabilityHost/get.json | 17 +- .../examples/ProjectCapabilityHost/list.json | 38 + .../stable/2025-09-01/cognitiveservices.json | 218 +- .../examples/AccountCapabilityHost/list.json | 30 + .../ProjectCapabilityHost/createOrUpdate.json | 47 +- .../examples/ProjectCapabilityHost/get.json | 17 +- .../examples/ProjectCapabilityHost/list.json | 38 + .../resource-manager/readme.md | 26 +- .../compute/Common.Management/legacy.tsp | 17 + .../CapacityReservation.tsp | 6 +- .../Compute.Management/DedicatedHost.tsp | 5 +- .../compute/Compute.Management/Image.tsp | 5 +- .../Compute.Management/RestorePoint.tsp | 3 +- .../Compute.Management/VirtualMachine.tsp | 47 +- .../VirtualMachineExtension.tsp | 28 +- .../VirtualMachineRunCommand.tsp | 10 +- .../VirtualMachineScaleSet.tsp | 45 +- .../VirtualMachineScaleSetExtension.tsp | 5 +- .../VirtualMachineScaleSetVM.tsp | 26 +- .../VirtualMachineScaleSetVMExtension.tsp | 33 +- .../Compute.Management/back-compatible.tsp | 205 + .../compute/Compute.Management/client.tsp | 180 + .../compute/Compute.Management/routes.tsp | 16 +- .../compute/Disk.Management/Disk.tsp | 16 +- .../compute/Disk.Management/DiskAccess.tsp | 6 +- .../Disk.Management/DiskEncryptionSet.tsp | 6 +- .../Disk.Management/DiskRestorePoint.tsp | 3 +- .../PrivateEndpointConnection.tsp | 3 +- .../compute/Disk.Management/Snapshot.tsp | 13 +- .../Disk.Management/back-compatible.tsp | 25 + .../compute/Disk.Management/client.tsp | 33 + .../compute/Gallery.Management/Gallery.tsp | 8 +- .../Gallery.Management/GalleryApplication.tsp | 5 +- .../GalleryApplicationVersion.tsp | 5 +- .../Gallery.Management/GalleryImage.tsp | 5 +- .../GalleryImageVersion.tsp | 5 +- .../GalleryInVMAccessControlProfile.tsp | 5 +- ...GalleryInVMAccessControlProfileVersion.tsp | 5 +- .../Gallery.Management/back-compatible.tsp | 10 + .../stable/2024-11-01/ComputeRP.json | 12 - .../stable/2025-04-01/ComputeRP.json | 12 - .../DiskRP/stable/2024-03-02/DiskRP.json | 4 - .../DiskRP/stable/2025-01-02/DiskRP.json | 4 - .../ComputeLimit/back-compat.tsp | 10 + .../ComputeLimit/client.tsp | 6 + .../ComputeLimit/main.tsp | 1 + .../ComputeLimit/readme.md | 1 - .../ComputeLimit/tspconfig.yaml | 1 - .../Registry/readme.java.md | 3 +- .../DataBoxEdge/Addon.tsp | 104 + .../DataBoxEdge/Alert.tsp | 46 + .../DataBoxEdge/BandwidthSchedule.tsp | 72 + .../DataBoxEdge/Container.tsp | 81 + .../DataBoxEdge/DataBoxEdgeDevice.tsp | 285 + .../DataBoxEdge/DeviceCapacityInfo.tsp | 41 + ...agnosticProactiveLogCollectionSettings.tsp | 61 + .../DiagnosticRemoteSupportSettings.tsp | 61 + .../Microsoft.DataBoxEdge/DataBoxEdge/Job.tsp | 126 + .../MonitoringMetricConfiguration.tsp | 145 + .../DataBoxEdge/NetworkSettings.tsp | 40 + .../DataBoxEdge/Order.tsp | 93 + .../DataBoxEdge/Role.tsp | 70 + .../DataBoxEdge/Share.tsp | 83 + .../DataBoxEdge/StorageAccount.tsp | 68 + .../DataBoxEdge/StorageAccountCredential.tsp | 76 + .../DataBoxEdge/Trigger.tsp | 77 + .../DataBoxEdge/UpdateSummary.tsp | 39 + .../DataBoxEdge/User.tsp | 74 + .../DataBoxEdge/VirtualResource.tsp | 18 + .../DataBoxEdge/back-compatible.tsp | 195 + .../DataBoxEdge/client.tsp | 1723 ++ .../examples/2023-12-01/AlertGet.json | 39 + .../2023-12-01/AlertGetAllInDevice.json | 60 + .../2023-12-01/AvailableSkusList.json | 40 + .../2023-12-01/BandwidthScheduleDelete.json | 23 + .../2023-12-01/BandwidthScheduleGet.json | 32 + .../BandwidthScheduleGetAllInDevice.json | 35 + .../2023-12-01/BandwidthSchedulePut.json | 53 + .../examples/2023-12-01/ContainerDelete.json | 26 + .../examples/2023-12-01/ContainerGet.json | 30 + .../2023-12-01/ContainerListAllInDevice.json | 58 + .../examples/2023-12-01/ContainerPut.json | 45 + .../examples/2023-12-01/ContainerRefresh.json | 32 + .../2023-12-01/DataBoxEdgeDeviceDelete.json | 25 + .../DataBoxEdgeDeviceGetByName.json | 60 + ...xEdgeDeviceGetByNameWithDataResidency.json | 63 + .../DataBoxEdgeDeviceGetByResourceGroup.json | 77 + .../DataBoxEdgeDeviceGetBySubscription.json | 76 + .../2023-12-01/DataBoxEdgeDevicePatch.json | 70 + .../2023-12-01/DataBoxEdgeDevicePut.json | 44 + ...DataBoxEdgeDevicePutWithDataResidency.json | 54 + .../examples/2023-12-01/DeleteAddons.json | 24 + .../2023-12-01/DeleteMonitoringConfig.json | 23 + .../2023-12-01/DeviceCapacityGet.json | 159 + .../2023-12-01/DeviceCapacityRequestPost.json | 39 + .../2023-12-01/DownloadUpdatesPost.json | 30 + .../examples/2023-12-01/ExtendedInfoPost.json | 36 + .../2023-12-01/GenerateCertificate.json | 22 + .../examples/2023-12-01/GetAddons.json | 44 + .../examples/2023-12-01/GetDCAccessCode.json | 22 + ...gnosticProactiveLogCollectionSettings.json | 34 + .../GetDiagnosticRemoteSupportSettings.json | 35 + .../2023-12-01/GetMonitoringConfig.json | 39 + .../2023-12-01/GetUpdateExtendedInfo.json | 43 + .../2023-12-01/InstallUpdatesPost.json | 30 + .../examples/2023-12-01/JobsGet.json | 33 + .../2023-12-01/ListMonitoringConfig.json | 43 + .../2023-12-01/NetworkSettingsGet.json | 60 + .../2023-12-01/NodeGetAllInDevice.json | 52 + .../examples/2023-12-01/OperationsGet.json | 677 + .../2023-12-01/OperationsStatusGet.json | 33 + .../examples/2023-12-01/OrderDelete.json | 25 + .../examples/2023-12-01/OrderGet.json | 59 + .../2023-12-01/OrderGetAllInDevice.json | 63 + .../examples/2023-12-01/OrderPut.json | 87 + .../examples/2023-12-01/PutAddons.json | 54 + .../2023-12-01/PutMonitoringConfig.json | 64 + .../examples/2023-12-01/RoleDelete.json | 23 + .../examples/2023-12-01/RoleGet.json | 43 + .../2023-12-01/RoleGetAllInDevice.json | 46 + .../examples/2023-12-01/RoleListAddOns.json | 38 + .../examples/2023-12-01/RolePut.json | 87 + .../examples/2023-12-01/SACDelete.json | 26 + .../examples/2023-12-01/SACGet.json | 32 + .../2023-12-01/SACGetAllInDevice.json | 46 + .../examples/2023-12-01/SACPut.json | 52 + .../2023-12-01/ScanForUpdatesPost.json | 30 + .../SecuritySettingsUpdatePost.json | 39 + .../examples/2023-12-01/ShareDelete.json | 26 + .../examples/2023-12-01/ShareGet.json | 47 + .../2023-12-01/ShareGetAllInDevice.json | 50 + .../examples/2023-12-01/SharePut.json | 74 + .../examples/2023-12-01/ShareRefreshPost.json | 31 + .../2023-12-01/StorageAccountDelete.json | 25 + .../2023-12-01/StorageAccountGet.json | 31 + .../StorageAccountGetAllInDevice.json | 37 + .../2023-12-01/StorageAccountPut.json | 49 + .../examples/2023-12-01/TriggerDelete.json | 26 + .../examples/2023-12-01/TriggerGet.json | 36 + .../2023-12-01/TriggerGetAllInDevice.json | 39 + .../examples/2023-12-01/TriggerPut.json | 55 + .../2023-12-01/TriggerSupportPackage.json | 32 + ...gnosticProactiveLogCollectionSettings.json | 35 + ...UpdateDiagnosticRemoteSupportSettings.json | 47 + .../examples/2023-12-01/UpdateSummaryGet.json | 47 + .../2023-12-01/UploadCertificatePost.json | 40 + .../examples/2023-12-01/UserDelete.json | 32 + .../examples/2023-12-01/UserGet.json | 30 + .../2023-12-01/UserGetAllInDevice.json | 40 + .../examples/2023-12-01/UserPut.json | 46 + .../DataBoxEdge/main.tsp | 65 + .../DataBoxEdge/models.tsp | 4612 ++++ .../DataBoxEdge/routes.tsp | 31 + .../stable/2023-12-01/databoxedge.json | 9364 ++++--- .../stable/2023-12-01/examples/AlertGet.json | 32 +- .../examples/AlertGetAllInDevice.json | 46 +- .../examples/AvailableSkusList.json | 28 +- .../examples/BandwidthScheduleDelete.json | 14 +- .../examples/BandwidthScheduleGet.json | 30 +- .../BandwidthScheduleGetAllInDevice.json | 30 +- .../examples/BandwidthSchedulePut.json | 48 +- .../2023-12-01/examples/ContainerDelete.json | 16 +- .../2023-12-01/examples/ContainerGet.json | 28 +- .../examples/ContainerListAllInDevice.json | 50 +- .../2023-12-01/examples/ContainerPut.json | 40 +- .../2023-12-01/examples/ContainerRefresh.json | 26 +- .../examples/DataBoxEdgeDeviceDelete.json | 14 +- .../examples/DataBoxEdgeDeviceGetByName.json | 56 +- ...xEdgeDeviceGetByNameWithDataResidency.json | 60 +- .../DataBoxEdgeDeviceGetByResourceGroup.json | 56 +- .../DataBoxEdgeDeviceGetBySubscription.json | 52 +- .../examples/DataBoxEdgeDevicePatch.json | 58 +- .../examples/DataBoxEdgeDevicePut.json | 32 +- ...DataBoxEdgeDevicePutWithDataResidency.json | 50 +- .../2023-12-01/examples/DeleteAddons.json | 16 +- .../examples/DeleteMonitoringConfig.json | 14 +- .../examples/DeviceCapacityGet.json | 142 +- .../examples/DeviceCapacityRequestPost.json | 24 +- .../examples/DownloadUpdatesPost.json | 22 +- .../2023-12-01/examples/ExtendedInfoPost.json | 34 +- .../examples/GenerateCertificate.json | 18 +- .../stable/2023-12-01/examples/GetAddons.json | 48 +- .../2023-12-01/examples/GetDCAccessCode.json | 14 +- ...gnosticProactiveLogCollectionSettings.json | 28 +- .../GetDiagnosticRemoteSupportSettings.json | 24 +- .../examples/GetMonitoringConfig.json | 22 +- .../examples/GetUpdateExtendedInfo.json | 34 +- .../examples/InstallUpdatesPost.json | 22 +- .../stable/2023-12-01/examples/JobsGet.json | 28 +- .../examples/ListMonitoringConfig.json | 22 +- .../examples/NetworkSettingsGet.json | 54 +- .../examples/NodeGetAllInDevice.json | 42 +- .../2023-12-01/examples/OperationsGet.json | 442 +- .../examples/OperationsStatusGet.json | 28 +- .../2023-12-01/examples/OrderDelete.json | 14 +- .../stable/2023-12-01/examples/OrderGet.json | 52 +- .../examples/OrderGetAllInDevice.json | 52 +- .../stable/2023-12-01/examples/OrderPut.json | 74 +- .../stable/2023-12-01/examples/PutAddons.json | 60 +- .../examples/PutMonitoringConfig.json | 32 +- .../2023-12-01/examples/RoleDelete.json | 14 +- .../stable/2023-12-01/examples/RoleGet.json | 40 +- .../examples/RoleGetAllInDevice.json | 40 +- .../2023-12-01/examples/RoleListAddOns.json | 36 +- .../stable/2023-12-01/examples/RolePut.json | 72 +- .../stable/2023-12-01/examples/SACDelete.json | 16 +- .../stable/2023-12-01/examples/SACGet.json | 28 +- .../examples/SACGetAllInDevice.json | 38 +- .../stable/2023-12-01/examples/SACPut.json | 46 +- .../examples/ScanForUpdatesPost.json | 22 +- .../examples/SecuritySettingsUpdatePost.json | 28 +- .../2023-12-01/examples/ShareDelete.json | 16 +- .../stable/2023-12-01/examples/ShareGet.json | 48 +- .../examples/ShareGetAllInDevice.json | 46 +- .../stable/2023-12-01/examples/SharePut.json | 74 +- .../2023-12-01/examples/ShareRefreshPost.json | 22 +- .../examples/StorageAccountDelete.json | 14 +- .../examples/StorageAccountGet.json | 28 +- .../StorageAccountGetAllInDevice.json | 28 +- .../examples/StorageAccountPut.json | 44 +- .../2023-12-01/examples/TriggerDelete.json | 16 +- .../2023-12-01/examples/TriggerGet.json | 32 +- .../examples/TriggerGetAllInDevice.json | 30 +- .../2023-12-01/examples/TriggerPut.json | 50 +- .../examples/TriggerSupportPackage.json | 24 +- ...gnosticProactiveLogCollectionSettings.json | 32 +- ...UpdateDiagnosticRemoteSupportSettings.json | 36 +- .../2023-12-01/examples/UpdateSummaryGet.json | 38 +- .../examples/UploadCertificatePost.json | 32 +- .../2023-12-01/examples/UserDelete.json | 22 +- .../stable/2023-12-01/examples/UserGet.json | 28 +- .../examples/UserGetAllInDevice.json | 30 +- .../stable/2023-12-01/examples/UserPut.json | 36 +- .../DataBoxEdge/suppressions.yaml | 3 - .../DataBoxEdge/tspconfig.yaml | 45 + .../2025-10-01-preview/databricks.json | 20 +- .../2018-06-01/entityTypes/LinkedService.json | 32 + .../examples/NetezzaLinkedService_Get.json | 40 + .../DynatraceSingleSignOnResource.tsp | 53 + .../Dynatrace.Management/MonitorResource.tsp | 187 + .../MonitoredSubscriptionProperties.tsp | 93 + .../Dynatrace.Management/TagRule.tsp | 60 + .../Dynatrace.Management/back-compatible.tsp | 66 + .../dynatrace/Dynatrace.Management/client.tsp | 7 + .../2024-04-24/CreationSupported_Get.json | 22 + .../2024-04-24/CreationSupported_List.json | 22 + ...MonitoredSubscriptions_CreateOrUpdate.json | 198 + .../MonitoredSubscriptions_Delete.json | 19 + .../MonitoredSubscriptions_Get.json | 76 + .../MonitoredSubscriptions_List.json | 79 + .../MonitoredSubscriptions_Update.json | 140 + ...onitors_CreateOrUpdate_MaximumSet_Gen.json | 178 + ...onitors_CreateOrUpdate_MinimumSet_Gen.json | 33 + .../Monitors_Delete_MaximumSet_Gen.json | 18 + .../Monitors_Delete_MinimumSet_Gen.json | 18 + ...onnectedResourcesCount_MaximumSet_Gen.json | 18 + ...onnectedResourcesCount_MinimumSet_Gen.json | 16 + ...aceSaaSResourceDetails_MaximumSet_Gen.json | 20 + ...aceSaaSResourceDetails_MinimumSet_Gen.json | 16 + ...nitors_GetMetricStatus_MaximumSet_Gen.json | 24 + ...nitors_GetMetricStatus_MinimumSet_Gen.json | 15 + ...Monitors_GetSSODetails_MaximumSet_Gen.json | 28 + ...Monitors_GetSSODetails_MinimumSet_Gen.json | 18 + ...itors_GetVMHostPayload_MaximumSet_Gen.json | 18 + ...itors_GetVMHostPayload_MinimumSet_Gen.json | 15 + .../Monitors_Get_MaximumSet_Gen.json | 78 + .../Monitors_Get_MinimumSet_Gen.json | 19 + ...nitors_ListAppServices_MaximumSet_Gen.json | 30 + ...nitors_ListAppServices_MinimumSet_Gen.json | 17 + ...rs_ListByResourceGroup_MaximumSet_Gen.json | 82 + ...rs_ListByResourceGroup_MinimumSet_Gen.json | 23 + ...s_ListBySubscriptionId_MaximumSet_Gen.json | 81 + ...s_ListBySubscriptionId_MinimumSet_Gen.json | 22 + .../Monitors_ListHosts_MaximumSet_Gen.json | 30 + .../Monitors_ListHosts_MinimumSet_Gen.json | 17 + ...stLinkableEnvironments_MaximumSet_Gen.json | 34 + ...stLinkableEnvironments_MinimumSet_Gen.json | 22 + ...ListMonitoredResources_MaximumSet_Gen.json | 31 + ...ListMonitoredResources_MinimumSet_Gen.json | 17 + ...anageAgentInstallation_MaximumSet_Gen.json | 24 + ...anageAgentInstallation_MinimumSet_Gen.json | 21 + .../Monitors_Update_MaximumSet_Gen.json | 91 + .../Monitors_Update_MinimumSet_Gen.json | 19 + .../Monitors_UpgradePlan_MaximumSet_Gen.json | 25 + .../Monitors_UpgradePlan_MinimumSet_Gen.json | 25 + .../Operations_List_MaximumSet_Gen.json | 28 + .../Operations_List_MinimumSet_Gen.json | 12 + ...eSignOn_CreateOrUpdate_MaximumSet_Gen.json | 75 + ...eSignOn_CreateOrUpdate_MinimumSet_Gen.json | 46 + .../SingleSignOn_Get_MaximumSet_Gen.json | 37 + .../SingleSignOn_Get_MinimumSet_Gen.json | 24 + .../SingleSignOn_List_MaximumSet_Gen.json | 41 + .../SingleSignOn_List_MinimumSet_Gen.json | 28 + ...agRules_CreateOrUpdate_MaximumSet_Gen.json | 138 + ...agRules_CreateOrUpdate_MinimumSet_Gen.json | 31 + .../TagRules_Delete_MaximumSet_Gen.json | 19 + .../TagRules_Delete_MinimumSet_Gen.json | 19 + .../TagRules_Get_MaximumSet_Gen.json | 58 + .../TagRules_Get_MinimumSet_Gen.json | 19 + .../TagRules_List_MaximumSet_Gen.json | 62 + .../TagRules_List_MinimumSet_Gen.json | 23 + .../dynatrace/Dynatrace.Management/main.tsp | 44 + .../dynatrace/Dynatrace.Management/models.tsp | 1193 + .../dynatrace/Dynatrace.Management/routes.tsp | 79 + .../Dynatrace.Management/tspconfig.yaml | 57 + specification/dynatrace/cspell.yaml | 1 + .../stable/2024-04-24/dynatrace.json | 3988 +-- .../examples/CreationSupported_Get.json | 12 +- .../examples/CreationSupported_List.json | 22 + ...MonitoredSubscriptions_CreateOrUpdate.json | 128 +- .../MonitoredSubscriptions_Delete.json | 10 +- .../examples/MonitoredSubscriptions_Get.json | 48 +- .../examples/MonitoredSubscriptions_List.json | 46 +- .../MonitoredSubscriptions_Update.json | 90 +- ...onitors_CreateOrUpdate_MaximumSet_Gen.json | 174 +- ...onitors_CreateOrUpdate_MinimumSet_Gen.json | 28 +- .../Monitors_Delete_MaximumSet_Gen.json | 8 +- .../Monitors_Delete_MinimumSet_Gen.json | 8 +- ...onnectedResourcesCount_MaximumSet_Gen.json | 4 +- ...onnectedResourcesCount_MinimumSet_Gen.json | 4 +- ...aceSaaSResourceDetails_MaximumSet_Gen.json | 6 +- ...aceSaaSResourceDetails_MinimumSet_Gen.json | 2 +- ...nitors_GetMetricStatus_MaximumSet_Gen.json | 6 +- ...nitors_GetMetricStatus_MinimumSet_Gen.json | 6 +- ...Monitors_GetSSODetails_MaximumSet_Gen.json | 16 +- ...Monitors_GetSSODetails_MinimumSet_Gen.json | 8 +- ...itors_GetVMHostPayload_MaximumSet_Gen.json | 12 +- ...itors_GetVMHostPayload_MinimumSet_Gen.json | 8 +- .../examples/Monitors_Get_MaximumSet_Gen.json | 76 +- .../examples/Monitors_Get_MinimumSet_Gen.json | 12 +- ...nitors_ListAppServices_MaximumSet_Gen.json | 24 +- ...nitors_ListAppServices_MinimumSet_Gen.json | 12 +- ...rs_ListByResourceGroup_MaximumSet_Gen.json | 80 +- ...rs_ListByResourceGroup_MinimumSet_Gen.json | 16 +- ...s_ListBySubscriptionId_MaximumSet_Gen.json | 76 +- ...s_ListBySubscriptionId_MinimumSet_Gen.json | 12 +- .../Monitors_ListHosts_MaximumSet_Gen.json | 24 +- .../Monitors_ListHosts_MinimumSet_Gen.json | 12 +- ...stLinkableEnvironments_MaximumSet_Gen.json | 20 +- ...stLinkableEnvironments_MinimumSet_Gen.json | 16 +- ...ListMonitoredResources_MaximumSet_Gen.json | 16 +- ...ListMonitoredResources_MinimumSet_Gen.json | 12 +- ...anageAgentInstallation_MaximumSet_Gen.json | 12 +- ...anageAgentInstallation_MinimumSet_Gen.json | 12 +- .../Monitors_Update_MaximumSet_Gen.json | 88 +- .../Monitors_Update_MinimumSet_Gen.json | 14 +- .../Monitors_UpgradePlan_MaximumSet_Gen.json | 12 +- .../Monitors_UpgradePlan_MinimumSet_Gen.json | 12 +- .../Operations_List_MaximumSet_Gen.json | 20 +- .../Operations_List_MinimumSet_Gen.json | 4 +- ...eSignOn_CreateOrUpdate_MaximumSet_Gen.json | 70 +- ...eSignOn_CreateOrUpdate_MinimumSet_Gen.json | 30 +- .../SingleSignOn_Get_MaximumSet_Gen.json | 32 +- .../SingleSignOn_Get_MinimumSet_Gen.json | 14 +- .../SingleSignOn_List_MaximumSet_Gen.json | 34 +- .../SingleSignOn_List_MinimumSet_Gen.json | 16 +- ...agRules_CreateOrUpdate_MaximumSet_Gen.json | 118 +- ...agRules_CreateOrUpdate_MinimumSet_Gen.json | 18 +- .../TagRules_Delete_MaximumSet_Gen.json | 10 +- .../TagRules_Delete_MinimumSet_Gen.json | 10 +- .../examples/TagRules_Get_MaximumSet_Gen.json | 48 +- .../examples/TagRules_Get_MinimumSet_Gen.json | 10 +- .../TagRules_List_MaximumSet_Gen.json | 50 +- .../TagRules_List_MinimumSet_Gen.json | 12 +- .../ElasticMonitorResource.tsp | 467 + .../MonitoredSubscriptionProperties.tsp | 100 + .../Elastic.Management/MonitoringTagRules.tsp | 96 + .../OpenAIIntegrationRPModel.tsp | 106 + .../Elastic.Management/back-compatible.tsp | 143 + .../elastic/Elastic.Management/client.tsp | 254 + .../2025-06-01/AllTrafficFilters_list.json | 38 + .../AssociateTrafficFilter_Update.json | 18 + .../AssociatedFiltersForDeployment_list.json | 38 + .../examples/2025-06-01/BillingInfo_Get.json | 31 + .../ConnectedPartnerResources_List.json | 27 + .../2025-06-01/DeploymentInfo_List.json | 30 + .../DetachAndDeleteTrafficFilter_Delete.json | 14 + .../DetachTrafficFilters_Update.json | 18 + .../2025-06-01/ElasticVersions_List.json | 22 + .../examples/2025-06-01/ExternalUserInfo.json | 27 + .../2025-06-01/IPTrafficFilter_Create.json | 20 + .../examples/2025-06-01/Monitor_Upgrade.json | 20 + .../2025-06-01/MonitoredResources_List.json | 23 + ...MonitoredSubscriptions_CreateorUpdate.json | 154 + .../MonitoredSubscriptions_Delete.json | 19 + .../MonitoredSubscriptions_Get.json | 62 + .../MonitoredSubscriptions_List.json | 66 + .../MonitoredSubscriptions_Update.json | 110 + .../examples/2025-06-01/Monitors_Create.json | 124 + .../examples/2025-06-01/Monitors_Delete.json | 19 + .../examples/2025-06-01/Monitors_Get.json | 51 + .../examples/2025-06-01/Monitors_List.json | 47 + .../Monitors_ListByResourceGroup.json | 48 + .../examples/2025-06-01/Monitors_Update.json | 144 + .../2025-06-01/OpenAI_CreateOrUpdate.json | 46 + .../examples/2025-06-01/OpenAI_Delete.json | 15 + .../examples/2025-06-01/OpenAI_Get.json | 26 + .../examples/2025-06-01/OpenAI_GetStatus.json | 20 + .../examples/2025-06-01/OpenAI_List.json | 29 + .../examples/2025-06-01/Operations_List.json | 25 + .../2025-06-01/Organizations_GetApiKey.json | 20 + ..._GetElasticToAzureSubscriptionMapping.json | 27 + .../2025-06-01/Organizations_Resubscribe.json | 66 + .../PrivateLinkTrafficFilters_Create.json | 21 + .../2025-06-01/TagRules_CreateOrUpdate.json | 61 + .../examples/2025-06-01/TagRules_Delete.json | 20 + .../examples/2025-06-01/TagRules_Get.json | 40 + .../examples/2025-06-01/TagRules_List.json | 43 + .../2025-06-01/TrafficFilters_Delete.json | 14 + .../UpgradableVersions_Details.json | 21 + .../2025-06-01/VMCollection_Update.json | 17 + .../examples/2025-06-01/VMHost_List.json | 21 + .../2025-06-01/VMIngestion_Details.json | 18 + .../elastic/Elastic.Management/main.tsp | 49 + .../elastic/Elastic.Management/models.tsp | 1346 + .../elastic/Elastic.Management/routes.tsp | 68 + .../elastic/Elastic.Management/tspconfig.yaml | 52 + .../stable/2025-06-01/elastic.json | 4389 +-- .../examples/AllTrafficFilters_list.json | 16 +- .../AssociateTrafficFilter_Update.json | 10 +- .../AssociatedFiltersForDeployment_list.json | 16 +- .../2025-06-01/examples/BillingInfo_Get.json | 18 +- .../ConnectedPartnerResources_List.json | 14 +- .../examples/DeploymentInfo_List.json | 26 +- .../DetachAndDeleteTrafficFilter_Delete.json | 10 +- .../examples/DetachTrafficFilters_Update.json | 10 +- .../examples/ElasticVersions_List.json | 4 +- .../2025-06-01/examples/ExternalUserInfo.json | 16 +- .../examples/IPTrafficFilter_Create.json | 10 +- .../2025-06-01/examples/Monitor_Upgrade.json | 10 +- .../examples/MonitoredResources_List.json | 12 +- ...MonitoredSubscriptions_CreateorUpdate.json | 120 +- .../MonitoredSubscriptions_Delete.json | 10 +- .../examples/MonitoredSubscriptions_Get.json | 48 +- .../examples/MonitoredSubscriptions_List.json | 50 +- .../MonitoredSubscriptions_Update.json | 82 +- .../2025-06-01/examples/Monitors_Create.json | 120 +- .../2025-06-01/examples/Monitors_Delete.json | 8 +- .../2025-06-01/examples/Monitors_Get.json | 38 +- .../2025-06-01/examples/Monitors_List.json | 28 +- .../Monitors_ListByResourceGroup.json | 32 +- .../2025-06-01/examples/Monitors_Update.json | 134 +- .../examples/OpenAI_CreateOrUpdate.json | 32 +- .../2025-06-01/examples/OpenAI_Delete.json | 10 +- .../2025-06-01/examples/OpenAI_Get.json | 18 +- .../2025-06-01/examples/OpenAI_GetStatus.json | 10 +- .../2025-06-01/examples/OpenAI_List.json | 16 +- .../2025-06-01/examples/Operations_List.json | 14 +- .../examples/Organizations_GetApiKey.json | 8 +- ..._GetElasticToAzureSubscriptionMapping.json | 18 +- .../examples/Organizations_Resubscribe.json | 52 +- .../PrivateLinkTrafficFilters_Create.json | 12 +- .../examples/TagRules_CreateOrUpdate.json | 50 +- .../2025-06-01/examples/TagRules_Delete.json | 10 +- .../2025-06-01/examples/TagRules_Get.json | 32 +- .../2025-06-01/examples/TagRules_List.json | 30 +- .../examples/TrafficFilters_Delete.json | 10 +- .../examples/UpgradableVersions_Details.json | 8 +- .../examples/VMCollection_Update.json | 14 +- .../2025-06-01/examples/VMHost_List.json | 8 +- .../examples/VMIngestion_Details.json | 8 +- .../README.md | 4 + specification/eventgrid/data-plane/readme.md | 106 +- .../preview/2025-06-01/HybridCompute.json | 6068 +++++ .../examples/AgentVersion_GetLatest.json | 16 + .../examples/AgentVersions_Get.json | 24 + .../examples/HybridIdentityMetadata_Get.json | 27 + ...dentityMetadata_ListByVirtualMachines.json | 30 + .../examples/NetworkProfile_Get.json | 44 + .../2025-06-01/examples/Operations_List.json | 35 + .../extension/ExtensionMetadataV2_Get.json | 31 + .../extension/ExtensionMetadataV2_List.json | 52 + .../extension/ExtensionMetadata_Get.json | 22 + .../extension/ExtensionMetadata_List.json | 33 + .../extension/ExtensionPublisher_List.json | 26 + .../extension/ExtensionType_List.json | 23 + .../examples/extension/Extension_Add.json | 32 + .../extension/Extension_CreateOrUpdate.json | 53 + .../examples/extension/Extension_Delete.json | 20 + .../examples/extension/Extension_Get.json | 42 + .../examples/extension/Extension_List.json | 64 + .../examples/extension/Extension_Update.json | 60 + .../extension/Extensions_Upgrade.json | 28 + .../gateway/Gateway_CreateOrUpdate.json | 60 + .../examples/gateway/Gateway_Delete.json | 18 + .../examples/gateway/Gateway_Get.json | 28 + .../gateway/Gateway_ListByResourceGroup.json | 32 + .../gateway/Gateway_ListBySubscription.json | 31 + .../examples/gateway/Gateway_Update.json | 34 + .../license/License_CreateOrUpdate.json | 45 + .../examples/license/License_Delete.json | 12 + .../examples/license/License_Get.json | 32 + .../license/License_ListByResourceGroup.json | 36 + .../license/License_ListBySubscription.json | 35 + .../examples/license/License_Update.json | 43 + .../license/License_ValidateLicense.json | 44 + .../LicenseProfile_CreateOrUpdate.json | 133 + .../licenseProfile/LicenseProfile_Delete.json | 19 + .../licenseProfile/LicenseProfile_Get.json | 59 + .../licenseProfile/LicenseProfile_List.json | 63 + .../licenseProfile/LicenseProfile_Update.json | 85 + .../machine/Machine_AssessPatches.json | 37 + .../machine/Machine_InstallPatches.json | 50 + .../machine/Machines_CreateOrUpdate.json | 146 + .../examples/machine/Machines_Delete.json | 18 + .../examples/machine/Machines_Get.json | 208 + ...chines_Get_LicenseProfileInstanceView.json | 227 + .../machine/Machines_ListByResourceGroup.json | 253 + .../machine/Machines_ListBySubscription.json | 251 + .../examples/machine/Machines_Update.json | 145 + .../NetworkConfigurationsCreate.json | 57 + .../NetworkConfigurationsGet.json | 30 + .../NetworkConfigurationsPatch.json | 36 + .../NetworkConfigurationsUpdate.json | 56 + ...workSecurityPerimeterConfigurationGet.json | 50 + ...orkSecurityPerimeterConfigurationList.json | 90 + ...curityPerimeterConfigurationReconcile.json | 23 + .../PrivateEndpointConnection_Delete.json | 20 + .../PrivateEndpointConnection_Get.json | 32 + .../PrivateEndpointConnection_List.json | 54 + .../PrivateEndpointConnection_Update.json | 41 + ...ivateLinkScopePrivateLinkResource_Get.json | 31 + ...eLinkScopePrivateLinkResource_ListGet.json | 35 + .../PrivateLinkScopes_Create.json | 77 + .../PrivateLinkScopes_Delete.json | 19 + .../PrivateLinkScopes_Get.json | 42 + .../PrivateLinkScopes_GetValidation.json | 25 + ...ateLinkScopes_GetValidationForMachine.json | 26 + .../PrivateLinkScopes_List.json | 57 + ...PrivateLinkScopes_ListByResourceGroup.json | 76 + .../PrivateLinkScopes_Update.json | 84 + .../PrivateLinkScopes_UpdateTagsOnly.json | 51 + .../RunCommands_CreateOrUpdate.json | 98 + .../runCommand/RunCommands_Delete.json | 19 + .../examples/runCommand/RunCommands_Get.json | 52 + .../examples/runCommand/RunCommands_List.json | 77 + .../runCommand/RunCommands_Update.json | 62 + .../examples/settings/SettingsGet.json | 26 + .../examples/settings/SettingsPatch.json | 33 + .../examples/settings/SettingsUpdate.json | 46 + .../preview/2025-06-01/privateLinkScopes.json | 1931 ++ .../2025-08-21-preview/HybridCompute.json | 6068 +++++ .../examples/AgentVersion_GetLatest.json | 16 + .../examples/AgentVersions_Get.json | 24 + .../examples/HybridIdentityMetadata_Get.json | 27 + ...dentityMetadata_ListByVirtualMachines.json | 30 + .../examples/NetworkProfile_Get.json | 44 + .../examples/Operations_List.json | 35 + .../extension/ExtensionMetadataV2_Get.json | 31 + .../extension/ExtensionMetadataV2_List.json | 52 + .../extension/ExtensionMetadata_Get.json | 22 + .../extension/ExtensionMetadata_List.json | 33 + .../extension/ExtensionPublisher_List.json | 26 + .../extension/ExtensionType_List.json | 23 + .../examples/extension/Extension_Add.json | 32 + .../extension/Extension_CreateOrUpdate.json | 53 + .../examples/extension/Extension_Delete.json | 20 + .../examples/extension/Extension_Get.json | 42 + .../examples/extension/Extension_List.json | 64 + .../examples/extension/Extension_Update.json | 60 + .../extension/Extensions_Upgrade.json | 28 + .../gateway/Gateway_CreateOrUpdate.json | 60 + .../examples/gateway/Gateway_Delete.json | 18 + .../examples/gateway/Gateway_Get.json | 28 + .../gateway/Gateway_ListByResourceGroup.json | 32 + .../gateway/Gateway_ListBySubscription.json | 31 + .../examples/gateway/Gateway_Update.json | 34 + .../license/License_CreateOrUpdate.json | 45 + .../examples/license/License_Delete.json | 12 + .../examples/license/License_Get.json | 32 + .../license/License_ListByResourceGroup.json | 36 + .../license/License_ListBySubscription.json | 35 + .../examples/license/License_Update.json | 43 + .../license/License_ValidateLicense.json | 44 + .../LicenseProfile_CreateOrUpdate.json | 133 + .../licenseProfile/LicenseProfile_Delete.json | 19 + .../licenseProfile/LicenseProfile_Get.json | 59 + .../licenseProfile/LicenseProfile_List.json | 63 + .../licenseProfile/LicenseProfile_Update.json | 85 + .../machine/Machine_AssessPatches.json | 37 + .../machine/Machine_InstallPatches.json | 50 + .../machine/Machines_CreateOrUpdate.json | 146 + .../examples/machine/Machines_Delete.json | 18 + .../examples/machine/Machines_Get.json | 208 + ...chines_Get_LicenseProfileInstanceView.json | 227 + .../machine/Machines_ListByResourceGroup.json | 253 + .../machine/Machines_ListBySubscription.json | 251 + .../examples/machine/Machines_Update.json | 145 + .../NetworkConfigurationsCreate.json | 57 + .../NetworkConfigurationsGet.json | 30 + .../NetworkConfigurationsPatch.json | 36 + .../NetworkConfigurationsUpdate.json | 56 + ...workSecurityPerimeterConfigurationGet.json | 50 + ...orkSecurityPerimeterConfigurationList.json | 90 + ...curityPerimeterConfigurationReconcile.json | 23 + .../PrivateEndpointConnection_Delete.json | 20 + .../PrivateEndpointConnection_Get.json | 32 + .../PrivateEndpointConnection_List.json | 54 + .../PrivateEndpointConnection_Update.json | 41 + ...ivateLinkScopePrivateLinkResource_Get.json | 31 + ...eLinkScopePrivateLinkResource_ListGet.json | 35 + .../PrivateLinkScopes_Create.json | 77 + .../PrivateLinkScopes_Delete.json | 19 + .../PrivateLinkScopes_Get.json | 42 + .../PrivateLinkScopes_GetValidation.json | 25 + ...ateLinkScopes_GetValidationForMachine.json | 26 + .../PrivateLinkScopes_List.json | 57 + ...PrivateLinkScopes_ListByResourceGroup.json | 76 + .../PrivateLinkScopes_Update.json | 84 + .../PrivateLinkScopes_UpdateTagsOnly.json | 51 + .../RunCommands_CreateOrUpdate.json | 98 + .../runCommand/RunCommands_Delete.json | 19 + .../examples/runCommand/RunCommands_Get.json | 52 + .../examples/runCommand/RunCommands_List.json | 77 + .../runCommand/RunCommands_Update.json | 62 + .../examples/settings/SettingsGet.json | 26 + .../examples/settings/SettingsPatch.json | 33 + .../examples/settings/SettingsUpdate.json | 46 + .../2025-08-21-preview/privateLinkScopes.json | 1931 ++ .../2025-09-16-preview/HybridCompute.json | 6068 +++++ .../examples/AgentVersion_GetLatest.json | 16 + .../examples/AgentVersions_Get.json | 24 + .../examples/HybridIdentityMetadata_Get.json | 27 + ...dentityMetadata_ListByVirtualMachines.json | 30 + .../examples/NetworkProfile_Get.json | 44 + .../examples/Operations_List.json | 35 + .../extension/ExtensionMetadataV2_Get.json | 31 + .../extension/ExtensionMetadataV2_List.json | 52 + .../extension/ExtensionMetadata_Get.json | 22 + .../extension/ExtensionMetadata_List.json | 33 + .../extension/ExtensionPublisher_List.json | 26 + .../extension/ExtensionType_List.json | 23 + .../examples/extension/Extension_Add.json | 32 + .../extension/Extension_CreateOrUpdate.json | 53 + .../examples/extension/Extension_Delete.json | 20 + .../examples/extension/Extension_Get.json | 42 + .../examples/extension/Extension_List.json | 64 + .../examples/extension/Extension_Update.json | 60 + .../extension/Extensions_Upgrade.json | 28 + .../gateway/Gateway_CreateOrUpdate.json | 60 + .../examples/gateway/Gateway_Delete.json | 18 + .../examples/gateway/Gateway_Get.json | 28 + .../gateway/Gateway_ListByResourceGroup.json | 32 + .../gateway/Gateway_ListBySubscription.json | 31 + .../examples/gateway/Gateway_Update.json | 34 + .../license/License_CreateOrUpdate.json | 45 + .../examples/license/License_Delete.json | 12 + .../examples/license/License_Get.json | 32 + .../license/License_ListByResourceGroup.json | 36 + .../license/License_ListBySubscription.json | 35 + .../examples/license/License_Update.json | 43 + .../license/License_ValidateLicense.json | 44 + .../LicenseProfile_CreateOrUpdate.json | 133 + .../licenseProfile/LicenseProfile_Delete.json | 19 + .../licenseProfile/LicenseProfile_Get.json | 59 + .../licenseProfile/LicenseProfile_List.json | 63 + .../licenseProfile/LicenseProfile_Update.json | 85 + .../machine/Machine_AssessPatches.json | 37 + .../machine/Machine_InstallPatches.json | 50 + .../machine/Machines_CreateOrUpdate.json | 146 + .../examples/machine/Machines_Delete.json | 18 + .../examples/machine/Machines_Get.json | 208 + ...chines_Get_LicenseProfileInstanceView.json | 227 + .../machine/Machines_ListByResourceGroup.json | 253 + .../machine/Machines_ListBySubscription.json | 251 + .../examples/machine/Machines_Update.json | 145 + .../NetworkConfigurationsCreate.json | 57 + .../NetworkConfigurationsGet.json | 30 + .../NetworkConfigurationsPatch.json | 36 + .../NetworkConfigurationsUpdate.json | 56 + ...workSecurityPerimeterConfigurationGet.json | 50 + ...orkSecurityPerimeterConfigurationList.json | 90 + ...curityPerimeterConfigurationReconcile.json | 23 + .../PrivateEndpointConnection_Delete.json | 20 + .../PrivateEndpointConnection_Get.json | 32 + .../PrivateEndpointConnection_List.json | 54 + .../PrivateEndpointConnection_Update.json | 41 + ...ivateLinkScopePrivateLinkResource_Get.json | 31 + ...eLinkScopePrivateLinkResource_ListGet.json | 35 + .../PrivateLinkScopes_Create.json | 89 + .../PrivateLinkScopes_Delete.json | 19 + .../PrivateLinkScopes_Get.json | 48 + .../PrivateLinkScopes_GetValidation.json | 25 + ...ateLinkScopes_GetValidationForMachine.json | 26 + .../PrivateLinkScopes_List.json | 69 + ...PrivateLinkScopes_ListByResourceGroup.json | 88 + .../PrivateLinkScopes_Update.json | 96 + .../PrivateLinkScopes_UpdateTagsOnly.json | 57 + .../RunCommands_CreateOrUpdate.json | 98 + .../runCommand/RunCommands_Delete.json | 19 + .../examples/runCommand/RunCommands_Get.json | 52 + .../examples/runCommand/RunCommands_List.json | 77 + .../runCommand/RunCommands_Update.json | 62 + .../examples/settings/SettingsGet.json | 26 + .../examples/settings/SettingsPatch.json | 33 + .../examples/settings/SettingsUpdate.json | 46 + .../2025-09-16-preview/privateLinkScopes.json | 1982 ++ .../HybridCompute/readme.md | 32 +- .../HybridCompute/suppressions.yaml | 9 + .../keyvault/KeyVault.Management/client.tsp | 25 + .../Route/stable/2025-01-01/route.json | 6 +- .../monitor/resource-manager/readme.md | 2 +- .../FlexibleServers/models.tsp | 4 + .../preview/2025-06-01-preview/openapi.json | 7 +- .../NetApp/ActiveDirectory.tsp | 187 + .../Microsoft.NetApp/NetApp/Backup.tsp | 5 +- .../Microsoft.NetApp/NetApp/BackupPolicy.tsp | 7 +- .../Microsoft.NetApp/NetApp/BackupVault.tsp | 5 +- .../Microsoft.NetApp/NetApp/Bucket.tsp | 39 +- .../Microsoft.NetApp/NetApp/Cache.tsp | 581 + .../Microsoft.NetApp/NetApp/CapacityPool.tsp | 7 +- .../NetApp/Elastic/ElasticAccount.tsp | 163 + .../NetApp/Elastic/ElasticBackup.tsp | 176 + .../NetApp/Elastic/ElasticBackupPolicy.tsp | 120 + .../NetApp/Elastic/ElasticBackupVault.tsp | 86 + .../NetApp/Elastic/ElasticCapacityPool.tsp | 292 + .../Elastic/ElasticRegionInfoResource.tsp | 91 + .../NetApp/Elastic/ElasticSnapshot.tsp | 56 + .../NetApp/Elastic/ElasticSnapshotPolicy.tsp | 239 + .../NetApp/Elastic/ElasticVolume.tsp | 406 + .../Microsoft.NetApp/NetApp/NetAppAccount.tsp | 11 +- .../NetApp/RansomwareReport.tsp | 270 + .../NetApp/RegionInfoResource.tsp | 4 +- .../Microsoft.NetApp/NetApp/Snapshot.tsp | 5 +- .../NetApp/SnapshotPolicy.tsp | 5 +- .../NetApp/SubscriptionQuotaItem.tsp | 10 +- .../Microsoft.NetApp/NetApp/SubvolumeInfo.tsp | 5 +- .../Microsoft.NetApp/NetApp/Volume.tsp | 186 +- .../NetApp/VolumeGroupDetails.tsp | 4 +- .../NetApp/VolumeQuotaRule.tsp | 5 +- .../NetApp/back-compatible.tsp | 8 + .../Microsoft.NetApp/NetApp/client.tsp | 15 + .../SnapshotPolicies_ListVolumes.json | 2 +- .../2025-06-01/Volumes_CreateOrUpdate.json | 4 +- .../examples/2025-06-01/Volumes_Get.json | 2 +- .../examples/2025-06-01/Volumes_List.json | 2 +- .../Volumes_PopulateAvailabilityZones.json | 2 +- .../2025-06-01/Volumes_SplitClone.json | 2 +- .../examples/2025-06-01/Volumes_Update.json | 2 +- .../SnapshotPolicies_ListVolumes.json | 2 +- .../Volumes_CreateOrUpdate.json | 4 +- .../2025-07-01-preview/Volumes_Get.json | 2 +- .../2025-07-01-preview/Volumes_List.json | 2 +- .../Volumes_PopulateAvailabilityZones.json | 2 +- .../Volumes_SplitClone.json | 2 +- .../2025-07-01-preview/Volumes_Update.json | 2 +- .../SnapshotPolicies_ListVolumes.json | 2 +- .../Volumes_CreateOrUpdate.json | 4 +- .../2025-08-01-preview/Volumes_Get.json | 2 +- .../2025-08-01-preview/Volumes_List.json | 2 +- .../Volumes_PopulateAvailabilityZones.json | 2 +- .../Volumes_SplitClone.json | 2 +- .../2025-08-01-preview/Volumes_Update.json | 2 +- .../SnapshotPolicies_ListVolumes.json | 2 +- .../2025-08-01/Volumes_CreateOrUpdate.json | 4 +- .../examples/2025-08-01/Volumes_Get.json | 2 +- .../examples/2025-08-01/Volumes_List.json | 2 +- .../Volumes_PopulateAvailabilityZones.json | 2 +- .../2025-08-01/Volumes_SplitClone.json | 2 +- .../examples/2025-08-01/Volumes_Update.json | 2 +- .../Accounts_ChangeKeyVault.json | 28 + .../Accounts_CreateOrUpdate.json | 38 + .../Accounts_CreateOrUpdateAD.json | 83 + .../2025-09-01-preview/Accounts_Delete.json | 18 + .../2025-09-01-preview/Accounts_Get.json | 38 + ...Accounts_GetChangeKeyVaultInformation.json | 32 + .../2025-09-01-preview/Accounts_List.json | 26 + .../Accounts_ListBySubscription.json | 25 + .../Accounts_RenewCredentials.json | 19 + .../Accounts_TransitionEncryptionKey.json | 22 + .../2025-09-01-preview/Accounts_Update.json | 48 + ...ActiveDirectoryConfigs_CreateOrUpdate.json | 153 + .../ActiveDirectoryConfigs_Delete.json | 18 + .../ActiveDirectoryConfigs_Get.json | 64 + ...eDirectoryConfigs_ListByResourceGroup.json | 67 + ...veDirectoryConfigs_ListBySubscription.json | 63 + .../ActiveDirectoryConfigs_Update.json | 71 + .../BackupPolicies_Create.json | 53 + .../BackupPolicies_Delete.json | 20 + .../BackupPolicies_Get.json | 35 + .../BackupPolicies_List.json | 31 + .../BackupPolicies_Update.json | 72 + .../BackupVaults_Create.json | 38 + .../BackupVaults_Delete.json | 20 + .../2025-09-01-preview/BackupVaults_Get.json | 27 + .../2025-09-01-preview/BackupVaults_List.json | 30 + .../BackupVaults_Update.json | 50 + .../BackupsUnderAccount_Migrate.json | 21 + .../BackupsUnderBackupVault_Create.json | 52 + .../BackupsUnderBackupVault_Delete.json | 21 + .../BackupsUnderBackupVault_Get.json | 31 + ...upsUnderBackupVault_SingleFileRestore.json | 26 + .../BackupsUnderBackupVault_Update.json | 51 + .../BackupsUnderVolume_Migrate.json | 23 + .../Backups_ListByVault.json | 34 + .../Buckets_CreateOrUpdate.json | 85 + .../2025-09-01-preview/Buckets_Delete.json | 22 + .../Buckets_GenerateCredentials.json | 25 + .../2025-09-01-preview/Buckets_Get.json | 40 + .../2025-09-01-preview/Buckets_List.json | 43 + .../2025-09-01-preview/Buckets_Update.json | 55 + .../Caches_CreateOrUpdate.json | 97 + .../2025-09-01-preview/Caches_Delete.json | 20 + .../2025-09-01-preview/Caches_Get.json | 45 + .../Caches_ListByCapacityPools.json | 48 + .../Caches_ListPeeringPassphrases.json | 21 + .../2025-09-01-preview/Caches_PoolChange.json | 51 + .../2025-09-01-preview/Caches_Update.json | 52 + .../CheckFilePathAvailability.json | 20 + .../CheckNameAvailability.json | 21 + .../CheckQuotaAvailability.json | 21 + .../ElasticAccounts_CreateOrUpdate.json | 66 + .../ElasticAccounts_Delete.json | 18 + .../ElasticAccounts_Get.json | 39 + .../ElasticAccounts_ListByResourceGroup.json | 42 + .../ElasticAccounts_ListBySubscription.json | 41 + .../ElasticAccounts_Update.json | 46 + .../ElasticBackupPolicies_CreateOrUpdate.json | 52 + .../ElasticBackupPolicies_Delete.json | 19 + .../ElasticBackupPolicies_Get.json | 28 + .../ElasticBackupPolicies_List.json | 31 + .../ElasticBackupPolicies_Update.json | 42 + .../ElasticBackupVaults_Create.json | 38 + .../ElasticBackupVaults_Delete.json | 20 + .../ElasticBackupVaults_Get.json | 27 + ...sticBackupVaults_ListByElasticAccount.json | 30 + .../ElasticBackupVaults_Update.json | 38 + .../ElasticBackups_CreateOrUpdate.json | 56 + .../ElasticBackups_Delete.json | 21 + .../ElasticBackups_Get.json | 35 + .../ElasticBackups_ListByVault.json | 38 + .../ElasticBackups_Update.json | 38 + .../ElasticCapacityPools_ChangeZone.json | 38 + ...Pools_CheckVolumeFilePathAvailability.json | 21 + .../ElasticCapacityPools_CreateOrUpdate.json | 76 + ...lasticCapacityPools_CreateOrUpdateCMK.json | 88 + .../ElasticCapacityPools_Delete.json | 19 + .../ElasticCapacityPools_Get.json | 40 + ...ticCapacityPools_ListByElasticAccount.json | 43 + .../ElasticCapacityPools_Update.json | 51 + .../ElasticRegionInfos_Get.json | 34 + .../ElasticRegionInfos_List.json | 38 + ...lasticSnapshotPolicies_CreateOrUpdate.json | 124 + .../ElasticSnapshotPolicies_Delete.json | 19 + .../ElasticSnapshotPolicies_Get.json | 52 + ...SnapshotPolicies_ListByElasticAccount.json | 55 + ...icSnapshotPolicies_ListElasticVolumes.json | 56 + .../ElasticSnapshotPolicies_Update.json | 89 + .../ElasticSnapshots_CreateOrUpdate.json | 42 + .../ElasticSnapshots_Delete.json | 21 + .../ElasticSnapshots_Get.json | 25 + .../ElasticSnapshots_ListByElasticVolume.json | 28 + .../ElasticVolumes_CreateOrUpdate.json | 141 + .../ElasticVolumes_CreateOrUpdate_SMB.json | 77 + .../ElasticVolumes_Delete.json | 20 + .../ElasticVolumes_Get.json | 50 + .../ElasticVolumes_Get_SMB.json | 39 + .../ElasticVolumes_ListByElasticPool.json | 87 + .../ElasticVolumes_List_SMB.json | 42 + .../ElasticVolumes_Revert.json | 58 + .../ElasticVolumes_Update.json | 83 + .../ElasticVolumes_Update_SMB.json | 49 + .../GroupIdListForLDAPUser.json | 31 + .../NetAppResourceQuotaLimitsAccount_Get.json | 25 + ...NetAppResourceQuotaLimitsAccount_List.json | 28 + .../NetAppResourceQuotaLimits_Get.json | 23 + .../NetAppResourceQuotaLimits_List.json | 89 + .../NetworkSiblingSet_Query.json | 44 + .../NetworkSiblingSet_Update.json | 51 + .../2025-09-01-preview/OperationList.json | 1567 ++ .../Pools_CreateOrUpdate.json | 53 + ...Pools_CreateOrUpdate_CustomThroughput.json | 56 + .../2025-09-01-preview/Pools_Delete.json | 19 + .../2025-09-01-preview/Pools_Get.json | 30 + .../Pools_Get_CustomThroughput.json | 31 + .../2025-09-01-preview/Pools_List.json | 49 + .../2025-09-01-preview/Pools_Update.json | 36 + .../Pools_Update_CustomThroughput.json | 37 + .../RansomwareReports_ClearSuspects.json | 26 + .../RansomwareReports_Get.json | 42 + .../RansomwareReports_List.json | 70 + .../2025-09-01-preview/RegionInfo.json | 22 + .../2025-09-01-preview/RegionInfos_Get.json | 35 + .../2025-09-01-preview/RegionInfos_List.json | 39 + .../SnapshotPolicies_Create.json | 106 + .../SnapshotPolicies_Delete.json | 20 + .../SnapshotPolicies_Get.json | 46 + .../SnapshotPolicies_List.json | 49 + .../SnapshotPolicies_ListVolumes.json | 38 + .../SnapshotPolicies_Update.json | 109 + .../2025-09-01-preview/Snapshots_Create.json | 33 + .../2025-09-01-preview/Snapshots_Delete.json | 22 + .../2025-09-01-preview/Snapshots_Get.json | 28 + .../2025-09-01-preview/Snapshots_List.json | 31 + .../Snapshots_SingleFileRestore.json | 27 + .../2025-09-01-preview/Snapshots_Update.json | 34 + .../2025-09-01-preview/Subvolumes_Create.json | 44 + .../2025-09-01-preview/Subvolumes_Delete.json | 22 + .../2025-09-01-preview/Subvolumes_Get.json | 26 + .../2025-09-01-preview/Subvolumes_List.json | 30 + .../Subvolumes_Metadata.json | 37 + .../2025-09-01-preview/Subvolumes_Update.json | 36 + .../2025-09-01-preview/Usages_Get.json | 26 + .../2025-09-01-preview/Usages_List.json | 29 + .../VolumeGroups_Create_Oracle.json | 967 + .../VolumeGroups_Create_SapHana.json | 408 + .../VolumeGroups_Delete.json | 20 + .../VolumeGroups_Get_Oracle.json | 512 + .../VolumeGroups_Get_SapHana.json | 222 + .../VolumeGroups_List_Oracle.json | 33 + .../VolumeGroups_List_SapHana.json | 33 + .../VolumeQuotaRules_Create.json | 54 + .../VolumeQuotaRules_Delete.json | 22 + .../VolumeQuotaRules_Get.json | 29 + .../VolumeQuotaRules_List.json | 33 + .../VolumeQuotaRules_Update.json | 39 + .../Volumes_AuthorizeExternalReplication.json | 25 + .../Volumes_AuthorizeReplication.json | 23 + .../Volumes_BreakFileLocks.json | 24 + .../Volumes_BreakReplication.json | 23 + .../Volumes_CreateOrUpdate.json | 60 + .../2025-09-01-preview/Volumes_Delete.json | 20 + .../Volumes_DeleteReplication.json | 24 + .../Volumes_ExtraLargeVolumes_Get.json | 39 + .../Volumes_ExtraLargeVolumes_List.json | 42 + .../Volumes_FinalizeExternalReplication.json | 19 + .../Volumes_FinalizeRelocation.json | 24 + .../2025-09-01-preview/Volumes_Get.json | 34 + .../Volumes_LatestBackupStatus.json | 26 + .../Volumes_LatestRestoreStatus.json | 24 + .../2025-09-01-preview/Volumes_List.json | 37 + .../Volumes_ListQuotaReport.json | 42 + .../Volumes_ListReplications.json | 31 + .../Volumes_PeerExternalCluster.json | 35 + .../Volumes_PerformReplicationTransfer.json | 23 + .../Volumes_PoolChange.json | 23 + .../Volumes_PopulateAvailabilityZones.json | 39 + .../Volumes_ReInitializeReplication.json | 24 + .../Volumes_ReestablishReplication.json | 22 + .../2025-09-01-preview/Volumes_Relocate.json | 21 + .../Volumes_ReplicationStatus.json | 27 + .../Volumes_ResetCifsPassword.json | 23 + .../Volumes_ResyncReplication.json | 24 + .../2025-09-01-preview/Volumes_Revert.json | 23 + .../Volumes_RevertRelocation.json | 24 + .../Volumes_SplitClone.json | 41 + .../2025-09-01-preview/Volumes_Update.json | 45 + .../2025-09-01/Accounts_ChangeKeyVault.json | 28 + .../2025-09-01/Accounts_CreateOrUpdate.json | 38 + .../2025-09-01/Accounts_CreateOrUpdateAD.json | 83 + .../examples/2025-09-01/Accounts_Delete.json | 18 + .../examples/2025-09-01/Accounts_Get.json | 38 + ...Accounts_GetChangeKeyVaultInformation.json | 32 + .../examples/2025-09-01/Accounts_List.json | 26 + .../Accounts_ListBySubscription.json | 26 + .../2025-09-01/Accounts_RenewCredentials.json | 19 + .../Accounts_TransitionEncryptionKey.json | 22 + .../examples/2025-09-01/Accounts_Update.json | 48 + .../2025-09-01/BackupPolicies_Create.json | 53 + .../2025-09-01/BackupPolicies_Delete.json | 20 + .../2025-09-01/BackupPolicies_Get.json | 35 + .../2025-09-01/BackupPolicies_List.json | 31 + .../2025-09-01/BackupPolicies_Update.json | 72 + .../2025-09-01/BackupVaults_Create.json | 38 + .../2025-09-01/BackupVaults_Delete.json | 20 + .../examples/2025-09-01/BackupVaults_Get.json | 27 + .../2025-09-01/BackupVaults_List.json | 30 + .../2025-09-01/BackupVaults_Update.json | 50 + .../BackupsUnderAccount_Migrate.json | 21 + .../BackupsUnderBackupVault_Create.json | 52 + .../BackupsUnderBackupVault_Delete.json | 21 + .../BackupsUnderBackupVault_Get.json | 33 + .../BackupsUnderBackupVault_List.json | 36 + ...upsUnderBackupVault_SingleFileRestore.json | 26 + .../BackupsUnderBackupVault_Update.json | 51 + .../BackupsUnderVolume_Migrate.json | 23 + .../2025-09-01/CheckFilePathAvailability.json | 20 + .../2025-09-01/CheckNameAvailability.json | 21 + .../2025-09-01/CheckQuotaAvailability.json | 21 + .../2025-09-01/GroupIdListForLDAPUser.json | 31 + .../NetAppResourceQuotaLimitsAccount_Get.json | 25 + ...NetAppResourceQuotaLimitsAccount_List.json | 28 + .../NetAppResourceQuotaLimits_Get.json | 23 + .../NetAppResourceQuotaLimits_List.json | 89 + .../2025-09-01/NetworkSiblingSet_Query.json | 44 + .../2025-09-01/NetworkSiblingSet_Update.json | 51 + .../examples/2025-09-01/OperationList.json | 1567 ++ .../2025-09-01/Pools_CreateOrUpdate.json | 53 + ...Pools_CreateOrUpdate_CustomThroughput.json | 56 + .../examples/2025-09-01/Pools_Delete.json | 19 + .../NetApp/examples/2025-09-01/Pools_Get.json | 30 + .../Pools_Get_CustomThroughput.json | 31 + .../examples/2025-09-01/Pools_List.json | 49 + .../examples/2025-09-01/Pools_Update.json | 36 + .../Pools_Update_CustomThroughput.json | 37 + .../examples/2025-09-01/RegionInfo.json | 22 + .../examples/2025-09-01/RegionInfos_Get.json | 35 + .../examples/2025-09-01/RegionInfos_List.json | 39 + .../2025-09-01/SnapshotPolicies_Create.json | 106 + .../2025-09-01/SnapshotPolicies_Delete.json | 20 + .../2025-09-01/SnapshotPolicies_Get.json | 46 + .../2025-09-01/SnapshotPolicies_List.json | 49 + .../SnapshotPolicies_ListVolumes.json | 38 + .../2025-09-01/SnapshotPolicies_Update.json | 109 + .../examples/2025-09-01/Snapshots_Create.json | 33 + .../examples/2025-09-01/Snapshots_Delete.json | 22 + .../examples/2025-09-01/Snapshots_Get.json | 28 + .../examples/2025-09-01/Snapshots_List.json | 31 + .../Snapshots_SingleFileRestore.json | 27 + .../examples/2025-09-01/Snapshots_Update.json | 34 + .../2025-09-01/Subvolumes_Create.json | 44 + .../2025-09-01/Subvolumes_Delete.json | 22 + .../examples/2025-09-01/Subvolumes_Get.json | 26 + .../examples/2025-09-01/Subvolumes_List.json | 30 + .../2025-09-01/Subvolumes_Metadata.json | 37 + .../2025-09-01/Subvolumes_Update.json | 36 + .../examples/2025-09-01/Usages_Get.json | 26 + .../examples/2025-09-01/Usages_List.json | 29 + .../VolumeGroups_Create_Oracle.json | 967 + .../VolumeGroups_Create_SapHana.json | 408 + .../2025-09-01/VolumeGroups_Delete.json | 20 + .../2025-09-01/VolumeGroups_Get_Oracle.json | 512 + .../2025-09-01/VolumeGroups_Get_SapHana.json | 222 + .../2025-09-01/VolumeGroups_List_Oracle.json | 33 + .../2025-09-01/VolumeGroups_List_SapHana.json | 33 + .../2025-09-01/VolumeQuotaRules_Create.json | 54 + .../2025-09-01/VolumeQuotaRules_Delete.json | 22 + .../2025-09-01/VolumeQuotaRules_Get.json | 29 + .../2025-09-01/VolumeQuotaRules_List.json | 33 + .../2025-09-01/VolumeQuotaRules_Update.json | 39 + .../Volumes_AuthorizeExternalReplication.json | 25 + .../Volumes_AuthorizeReplication.json | 23 + .../2025-09-01/Volumes_BreakFileLocks.json | 24 + .../2025-09-01/Volumes_BreakReplication.json | 23 + .../2025-09-01/Volumes_CreateOrUpdate.json | 60 + .../examples/2025-09-01/Volumes_Delete.json | 20 + .../2025-09-01/Volumes_DeleteReplication.json | 24 + .../Volumes_FinalizeExternalReplication.json | 19 + .../Volumes_FinalizeRelocation.json | 24 + .../examples/2025-09-01/Volumes_Get.json | 34 + .../Volumes_LatestBackupStatus.json | 26 + .../Volumes_LatestRestoreStatus.json | 24 + .../examples/2025-09-01/Volumes_List.json | 37 + .../2025-09-01/Volumes_ListQuotaReport.json | 42 + .../2025-09-01/Volumes_ListReplications.json | 31 + .../Volumes_PeerExternalCluster.json | 35 + .../Volumes_PerformReplicationTransfer.json | 23 + .../2025-09-01/Volumes_PoolChange.json | 23 + .../Volumes_PopulateAvailabilityZones.json | 39 + .../Volumes_ReInitializeReplication.json | 24 + .../Volumes_ReestablishReplication.json | 22 + .../examples/2025-09-01/Volumes_Relocate.json | 21 + .../2025-09-01/Volumes_ReplicationStatus.json | 27 + .../2025-09-01/Volumes_ResetCifsPassword.json | 23 + .../2025-09-01/Volumes_ResyncReplication.json | 24 + .../examples/2025-09-01/Volumes_Revert.json | 23 + .../2025-09-01/Volumes_RevertRelocation.json | 24 + .../2025-09-01/Volumes_SplitClone.json | 41 + .../examples/2025-09-01/Volumes_Update.json | 45 + .../Microsoft.NetApp/NetApp/main.tsp | 23 +- .../Microsoft.NetApp/NetApp/models.tsp | 78 +- .../SnapshotPolicies_ListVolumes.json | 2 +- .../examples/Volumes_CreateOrUpdate.json | 4 +- .../examples/Volumes_Get.json | 2 +- .../examples/Volumes_List.json | 2 +- .../Volumes_PopulateAvailabilityZones.json | 2 +- .../examples/Volumes_SplitClone.json | 2 +- .../examples/Volumes_Update.json | 2 +- .../preview/2025-07-01-preview/netapp.json | 14 +- .../SnapshotPolicies_ListVolumes.json | 2 +- .../examples/Volumes_CreateOrUpdate.json | 4 +- .../examples/Volumes_Get.json | 2 +- .../examples/Volumes_List.json | 2 +- .../Volumes_PopulateAvailabilityZones.json | 2 +- .../examples/Volumes_SplitClone.json | 2 +- .../examples/Volumes_Update.json | 2 +- .../preview/2025-08-01-preview/netapp.json | 14 +- .../examples/Accounts_ChangeKeyVault.json | 28 + .../examples/Accounts_CreateOrUpdate.json | 38 + .../examples/Accounts_CreateOrUpdateAD.json | 83 + .../examples/Accounts_Delete.json | 18 + .../examples/Accounts_Get.json | 38 + ...Accounts_GetChangeKeyVaultInformation.json | 32 + .../examples/Accounts_List.json | 26 + .../examples/Accounts_ListBySubscription.json | 25 + .../examples/Accounts_RenewCredentials.json | 19 + .../Accounts_TransitionEncryptionKey.json | 22 + .../examples/Accounts_Update.json | 48 + ...ActiveDirectoryConfigs_CreateOrUpdate.json | 153 + .../ActiveDirectoryConfigs_Delete.json | 18 + .../examples/ActiveDirectoryConfigs_Get.json | 64 + ...eDirectoryConfigs_ListByResourceGroup.json | 67 + ...veDirectoryConfigs_ListBySubscription.json | 63 + .../ActiveDirectoryConfigs_Update.json | 71 + .../examples/BackupPolicies_Create.json | 53 + .../examples/BackupPolicies_Delete.json | 20 + .../examples/BackupPolicies_Get.json | 35 + .../examples/BackupPolicies_List.json | 31 + .../examples/BackupPolicies_Update.json | 72 + .../examples/BackupVaults_Create.json | 38 + .../examples/BackupVaults_Delete.json | 20 + .../examples/BackupVaults_Get.json | 27 + .../examples/BackupVaults_List.json | 30 + .../examples/BackupVaults_Update.json | 50 + .../examples/BackupsUnderAccount_Migrate.json | 21 + .../BackupsUnderBackupVault_Create.json | 52 + .../BackupsUnderBackupVault_Delete.json | 21 + .../examples/BackupsUnderBackupVault_Get.json | 31 + ...upsUnderBackupVault_SingleFileRestore.json | 26 + .../BackupsUnderBackupVault_Update.json | 51 + .../examples/BackupsUnderVolume_Migrate.json | 23 + .../examples/Backups_ListByVault.json | 34 + .../examples/Buckets_CreateOrUpdate.json | 85 + .../examples/Buckets_Delete.json | 22 + .../examples/Buckets_GenerateCredentials.json | 25 + .../examples/Buckets_Get.json | 40 + .../examples/Buckets_List.json | 43 + .../examples/Buckets_Update.json | 55 + .../examples/Caches_CreateOrUpdate.json | 97 + .../examples/Caches_Delete.json | 20 + .../examples/Caches_Get.json | 45 + .../examples/Caches_ListByCapacityPools.json | 48 + .../Caches_ListPeeringPassphrases.json | 21 + .../examples/Caches_PoolChange.json | 51 + .../examples/Caches_Update.json | 52 + .../examples/CheckFilePathAvailability.json | 20 + .../examples/CheckNameAvailability.json | 21 + .../examples/CheckQuotaAvailability.json | 21 + .../ElasticAccounts_CreateOrUpdate.json | 66 + .../examples/ElasticAccounts_Delete.json | 18 + .../examples/ElasticAccounts_Get.json | 39 + .../ElasticAccounts_ListByResourceGroup.json | 42 + .../ElasticAccounts_ListBySubscription.json | 41 + .../examples/ElasticAccounts_Update.json | 46 + .../ElasticBackupPolicies_CreateOrUpdate.json | 52 + .../ElasticBackupPolicies_Delete.json | 19 + .../examples/ElasticBackupPolicies_Get.json | 28 + .../examples/ElasticBackupPolicies_List.json | 31 + .../ElasticBackupPolicies_Update.json | 42 + .../examples/ElasticBackupVaults_Create.json | 38 + .../examples/ElasticBackupVaults_Delete.json | 20 + .../examples/ElasticBackupVaults_Get.json | 27 + ...sticBackupVaults_ListByElasticAccount.json | 30 + .../examples/ElasticBackupVaults_Update.json | 38 + .../ElasticBackups_CreateOrUpdate.json | 56 + .../examples/ElasticBackups_Delete.json | 21 + .../examples/ElasticBackups_Get.json | 35 + .../examples/ElasticBackups_ListByVault.json | 38 + .../examples/ElasticBackups_Update.json | 38 + .../ElasticCapacityPools_ChangeZone.json | 38 + ...Pools_CheckVolumeFilePathAvailability.json | 21 + .../ElasticCapacityPools_CreateOrUpdate.json | 76 + ...lasticCapacityPools_CreateOrUpdateCMK.json | 88 + .../examples/ElasticCapacityPools_Delete.json | 19 + .../examples/ElasticCapacityPools_Get.json | 40 + ...ticCapacityPools_ListByElasticAccount.json | 43 + ...sticCapacityPools_ListByNetAppAccount.json | 43 + .../examples/ElasticCapacityPools_Update.json | 51 + ...lasticSnapshotPolicies_CreateOrUpdate.json | 124 + .../ElasticSnapshotPolicies_Delete.json | 19 + .../examples/ElasticSnapshotPolicies_Get.json | 52 + ...SnapshotPolicies_ListByElasticAccount.json | 55 + ...icSnapshotPolicies_ListElasticVolumes.json | 56 + .../ElasticSnapshotPolicies_ListVolumes.json | 56 + .../ElasticSnapshotPolicies_Update.json | 89 + .../ElasticSnapshots_CreateOrUpdate.json | 42 + .../examples/ElasticSnapshots_Delete.json | 21 + .../examples/ElasticSnapshots_Get.json | 25 + .../ElasticSnapshots_ListByElasticVolume.json | 28 + .../ElasticVolumes_CreateOrUpdate.json | 141 + .../examples/ElasticVolumes_Delete.json | 20 + .../examples/ElasticVolumes_Get.json | 50 + .../ElasticVolumes_ListByElasticPool.json | 87 + .../examples/ElasticVolumes_Revert.json | 58 + .../examples/ElasticVolumes_Update.json | 83 + .../examples/GroupIdListForLDAPUser.json | 31 + .../NetAppResourceQuotaLimitsAccount_Get.json | 25 + ...NetAppResourceQuotaLimitsAccount_List.json | 28 + .../NetAppResourceQuotaLimits_Get.json | 23 + .../NetAppResourceQuotaLimits_List.json | 89 + .../examples/NetworkSiblingSet_Query.json | 44 + .../examples/NetworkSiblingSet_Update.json | 51 + .../examples/OperationList.json | 1567 ++ .../examples/Pools_CreateOrUpdate.json | 53 + ...Pools_CreateOrUpdate_CustomThroughput.json | 56 + .../examples/Pools_Delete.json | 19 + .../examples/Pools_Get.json | 30 + .../examples/Pools_Get_CustomThroughput.json | 31 + .../examples/Pools_List.json | 49 + .../examples/Pools_Update.json | 36 + .../Pools_Update_CustomThroughput.json | 37 + .../RansomwareReports_ClearSuspects.json | 26 + .../examples/RansomwareReports_Get.json | 42 + .../examples/RansomwareReports_List.json | 70 + .../examples/RegionInfo.json | 22 + .../examples/RegionInfos_Get.json | 35 + .../examples/RegionInfos_List.json | 39 + .../examples/SnapshotPolicies_Create.json | 106 + .../examples/SnapshotPolicies_Delete.json | 20 + .../examples/SnapshotPolicies_Get.json | 46 + .../examples/SnapshotPolicies_List.json | 49 + .../SnapshotPolicies_ListVolumes.json | 38 + .../examples/SnapshotPolicies_Update.json | 109 + .../examples/Snapshots_Create.json | 33 + .../examples/Snapshots_Delete.json | 22 + .../examples/Snapshots_Get.json | 28 + .../examples/Snapshots_List.json | 31 + .../examples/Snapshots_SingleFileRestore.json | 27 + .../examples/Snapshots_Update.json | 34 + .../examples/Subvolumes_Create.json | 44 + .../examples/Subvolumes_Delete.json | 22 + .../examples/Subvolumes_Get.json | 26 + .../examples/Subvolumes_List.json | 30 + .../examples/Subvolumes_Metadata.json | 37 + .../examples/Subvolumes_Update.json | 36 + .../examples/Usages_Get.json | 26 + .../examples/Usages_List.json | 29 + .../examples/VolumeGroups_Create_Oracle.json | 967 + .../examples/VolumeGroups_Create_SapHana.json | 408 + .../examples/VolumeGroups_Delete.json | 20 + .../examples/VolumeGroups_Get_Oracle.json | 512 + .../examples/VolumeGroups_Get_SapHana.json | 222 + .../examples/VolumeGroups_List_Oracle.json | 33 + .../examples/VolumeGroups_List_SapHana.json | 33 + .../examples/VolumeQuotaRules_Create.json | 54 + .../examples/VolumeQuotaRules_Delete.json | 22 + .../examples/VolumeQuotaRules_Get.json | 29 + .../examples/VolumeQuotaRules_List.json | 33 + .../examples/VolumeQuotaRules_Update.json | 39 + .../Volumes_AuthorizeExternalReplication.json | 25 + .../Volumes_AuthorizeReplication.json | 23 + .../examples/Volumes_BreakFileLocks.json | 24 + .../examples/Volumes_BreakReplication.json | 23 + .../examples/Volumes_CreateOrUpdate.json | 60 + .../examples/Volumes_Delete.json | 20 + .../examples/Volumes_DeleteReplication.json | 24 + .../Volumes_ExtraLargeVolumes_Get.json | 39 + .../Volumes_ExtraLargeVolumes_List.json | 42 + .../Volumes_FinalizeExternalReplication.json | 19 + .../examples/Volumes_FinalizeRelocation.json | 24 + .../examples/Volumes_Get.json | 34 + .../examples/Volumes_LatestBackupStatus.json | 26 + .../examples/Volumes_LatestRestoreStatus.json | 24 + .../examples/Volumes_List.json | 37 + .../examples/Volumes_ListQuotaReport.json | 42 + .../examples/Volumes_ListReplications.json | 31 + .../examples/Volumes_PeerExternalCluster.json | 35 + .../Volumes_PerformReplicationTransfer.json | 23 + .../examples/Volumes_PoolChange.json | 23 + .../Volumes_PopulateAvailabilityZones.json | 39 + .../Volumes_ReInitializeReplication.json | 24 + .../Volumes_ReestablishReplication.json | 22 + .../examples/Volumes_Relocate.json | 21 + .../examples/Volumes_ReplicationStatus.json | 27 + .../examples/Volumes_ResetCifsPassword.json | 23 + .../examples/Volumes_ResyncReplication.json | 24 + .../examples/Volumes_Revert.json | 23 + .../examples/Volumes_RevertRelocation.json | 24 + .../examples/Volumes_SplitClone.json | 41 + .../examples/Volumes_Update.json | 45 + .../preview/2025-09-01-preview/netapp.json | 22319 ++++++++++++++++ .../Microsoft.NetApp/NetApp/readme.md | 20 +- .../SnapshotPolicies_ListVolumes.json | 2 +- .../examples/Volumes_CreateOrUpdate.json | 4 +- .../2025-06-01/examples/Volumes_Get.json | 2 +- .../2025-06-01/examples/Volumes_List.json | 2 +- .../Volumes_PopulateAvailabilityZones.json | 2 +- .../examples/Volumes_SplitClone.json | 2 +- .../2025-06-01/examples/Volumes_Update.json | 2 +- .../NetApp/stable/2025-06-01/netapp.json | 112 +- .../SnapshotPolicies_ListVolumes.json | 2 +- .../examples/Volumes_CreateOrUpdate.json | 4 +- .../2025-08-01/examples/Volumes_Get.json | 2 +- .../2025-08-01/examples/Volumes_List.json | 2 +- .../Volumes_PopulateAvailabilityZones.json | 2 +- .../examples/Volumes_SplitClone.json | 2 +- .../2025-08-01/examples/Volumes_Update.json | 2 +- .../NetApp/stable/2025-08-01/netapp.json | 14 +- .../examples/Accounts_ChangeKeyVault.json | 28 + .../examples/Accounts_CreateOrUpdate.json | 38 + .../examples/Accounts_CreateOrUpdateAD.json | 83 + .../2025-09-01/examples/Accounts_Delete.json | 18 + .../2025-09-01/examples/Accounts_Get.json | 38 + ...Accounts_GetChangeKeyVaultInformation.json | 32 + .../2025-09-01/examples/Accounts_List.json | 26 + .../examples/Accounts_ListBySubscription.json | 26 + .../examples/Accounts_RenewCredentials.json | 19 + .../Accounts_TransitionEncryptionKey.json | 22 + .../2025-09-01/examples/Accounts_Update.json | 48 + .../examples/BackupPolicies_Create.json | 53 + .../examples/BackupPolicies_Delete.json | 20 + .../examples/BackupPolicies_Get.json | 35 + .../examples/BackupPolicies_List.json | 31 + .../examples/BackupPolicies_Update.json | 72 + .../examples/BackupVaults_Create.json | 38 + .../examples/BackupVaults_Delete.json | 20 + .../2025-09-01/examples/BackupVaults_Get.json | 27 + .../examples/BackupVaults_List.json | 30 + .../examples/BackupVaults_Update.json | 50 + .../examples/BackupsUnderAccount_Migrate.json | 21 + .../BackupsUnderBackupVault_Create.json | 52 + .../BackupsUnderBackupVault_Delete.json | 21 + .../examples/BackupsUnderBackupVault_Get.json | 33 + .../BackupsUnderBackupVault_List.json | 36 + ...upsUnderBackupVault_SingleFileRestore.json | 26 + .../BackupsUnderBackupVault_Update.json | 51 + .../examples/BackupsUnderVolume_Migrate.json | 23 + .../examples/CheckFilePathAvailability.json | 20 + .../examples/CheckNameAvailability.json | 21 + .../examples/CheckQuotaAvailability.json | 21 + .../examples/GroupIdListForLDAPUser.json | 31 + .../NetAppResourceQuotaLimitsAccount_Get.json | 25 + ...NetAppResourceQuotaLimitsAccount_List.json | 28 + .../NetAppResourceQuotaLimits_Get.json | 23 + .../NetAppResourceQuotaLimits_List.json | 89 + .../examples/NetworkSiblingSet_Query.json | 44 + .../examples/NetworkSiblingSet_Update.json | 51 + .../2025-09-01/examples/OperationList.json | 1567 ++ .../examples/Pools_CreateOrUpdate.json | 53 + ...Pools_CreateOrUpdate_CustomThroughput.json | 56 + .../2025-09-01/examples/Pools_Delete.json | 19 + .../stable/2025-09-01/examples/Pools_Get.json | 30 + .../examples/Pools_Get_CustomThroughput.json | 31 + .../2025-09-01/examples/Pools_List.json | 49 + .../2025-09-01/examples/Pools_Update.json | 36 + .../Pools_Update_CustomThroughput.json | 37 + .../2025-09-01/examples/RegionInfo.json | 22 + .../2025-09-01/examples/RegionInfos_Get.json | 35 + .../2025-09-01/examples/RegionInfos_List.json | 39 + .../examples/SnapshotPolicies_Create.json | 106 + .../examples/SnapshotPolicies_Delete.json | 20 + .../examples/SnapshotPolicies_Get.json | 46 + .../examples/SnapshotPolicies_List.json | 49 + .../SnapshotPolicies_ListVolumes.json | 38 + .../examples/SnapshotPolicies_Update.json | 109 + .../2025-09-01/examples/Snapshots_Create.json | 33 + .../2025-09-01/examples/Snapshots_Delete.json | 22 + .../2025-09-01/examples/Snapshots_Get.json | 28 + .../2025-09-01/examples/Snapshots_List.json | 31 + .../examples/Snapshots_SingleFileRestore.json | 27 + .../2025-09-01/examples/Snapshots_Update.json | 34 + .../examples/Subvolumes_Create.json | 44 + .../examples/Subvolumes_Delete.json | 22 + .../2025-09-01/examples/Subvolumes_Get.json | 26 + .../2025-09-01/examples/Subvolumes_List.json | 30 + .../examples/Subvolumes_Metadata.json | 37 + .../examples/Subvolumes_Update.json | 36 + .../2025-09-01/examples/Usages_Get.json | 26 + .../2025-09-01/examples/Usages_List.json | 29 + .../examples/VolumeGroups_Create_Oracle.json | 967 + .../examples/VolumeGroups_Create_SapHana.json | 408 + .../examples/VolumeGroups_Delete.json | 20 + .../examples/VolumeGroups_Get_Oracle.json | 512 + .../examples/VolumeGroups_Get_SapHana.json | 222 + .../examples/VolumeGroups_List_Oracle.json | 33 + .../examples/VolumeGroups_List_SapHana.json | 33 + .../examples/VolumeQuotaRules_Create.json | 54 + .../examples/VolumeQuotaRules_Delete.json | 22 + .../examples/VolumeQuotaRules_Get.json | 29 + .../examples/VolumeQuotaRules_List.json | 33 + .../examples/VolumeQuotaRules_Update.json | 39 + .../Volumes_AuthorizeExternalReplication.json | 25 + .../Volumes_AuthorizeReplication.json | 23 + .../examples/Volumes_BreakFileLocks.json | 24 + .../examples/Volumes_BreakReplication.json | 23 + .../examples/Volumes_CreateOrUpdate.json | 60 + .../2025-09-01/examples/Volumes_Delete.json | 20 + .../examples/Volumes_DeleteReplication.json | 24 + .../Volumes_FinalizeExternalReplication.json | 19 + .../examples/Volumes_FinalizeRelocation.json | 24 + .../2025-09-01/examples/Volumes_Get.json | 34 + .../examples/Volumes_LatestBackupStatus.json | 26 + .../examples/Volumes_LatestRestoreStatus.json | 24 + .../2025-09-01/examples/Volumes_List.json | 37 + .../examples/Volumes_ListQuotaReport.json | 42 + .../examples/Volumes_ListReplications.json | 31 + .../examples/Volumes_PeerExternalCluster.json | 35 + .../Volumes_PerformReplicationTransfer.json | 23 + .../examples/Volumes_PoolChange.json | 23 + .../Volumes_PopulateAvailabilityZones.json | 39 + .../Volumes_ReInitializeReplication.json | 24 + .../Volumes_ReestablishReplication.json | 22 + .../2025-09-01/examples/Volumes_Relocate.json | 21 + .../examples/Volumes_ReplicationStatus.json | 27 + .../examples/Volumes_ResetCifsPassword.json | 23 + .../examples/Volumes_ResyncReplication.json | 24 + .../2025-09-01/examples/Volumes_Revert.json | 23 + .../examples/Volumes_RevertRelocation.json | 24 + .../examples/Volumes_SplitClone.json | 41 + .../2025-09-01/examples/Volumes_Update.json | 45 + .../NetApp/stable/2025-09-01/netapp.json | 13591 ++++++++++ .../Microsoft.NetApp/NetApp/tspconfig.yaml | 3 + .../nginx/resource-manager/readme.md | 16 + .../resource-manager/readme.typescript.md | 15 + .../stable/2025-08-01/Servers.json | 5 + .../stable/2025-08-01/TuningOptions.json | 38 +- .../2025-11-01-preview/Offerings_List.json | 97 + .../2025-11-01-preview/Operations_List.json | 25 + .../SuiteOffers_ListBySubscription.json | 32 + .../Workspaces_CheckNameAvailability.json | 22 + .../Workspaces_CreateOrUpdate.json | 153 + .../2025-11-01-preview/Workspaces_Delete.json | 24 + .../2025-11-01-preview/Workspaces_Get.json | 75 + .../Workspaces_ListByResourceGroup.json | 62 + .../Workspaces_ListBySubscription.json | 61 + .../Workspaces_ListKeys.json | 27 + .../Workspaces_RegenerateKeys.json | 19 + .../Workspaces_UpdateTags.json | 81 + .../Microsoft.Quantum.Management/main.tsp | 6 + .../Microsoft.Quantum.Management/models.tsp | 43 + .../Microsoft.Quantum.Management/routes.tsp | 7 + specification/quantum/cspell.yaml | 2 + .../examples/Offerings_List.json | 97 + .../examples/Operations_List.json | 25 + .../SuiteOffers_ListBySubscription.json | 32 + .../Workspaces_CheckNameAvailability.json | 22 + .../examples/Workspaces_CreateOrUpdate.json | 153 + .../examples/Workspaces_Delete.json | 24 + .../examples/Workspaces_Get.json | 75 + .../Workspaces_ListByResourceGroup.json | 62 + .../Workspaces_ListBySubscription.json | 61 + .../examples/Workspaces_ListKeys.json | 27 + .../examples/Workspaces_RegenerateKeys.json | 19 + .../examples/Workspaces_UpdateTags.json | 81 + .../preview/2025-11-01-preview/quantum.json | 1442 + .../quantum/resource-manager/readme.md | 15 +- .../ResourceConnector/Appliance.tsp | 144 + .../ResourceConnector/back-compatible.tsp | 32 + .../ResourceConnector/client.tsp | 26 + .../2022-10-27/AppliancesCreate_Update.json | 84 + .../examples/2022-10-27/AppliancesDelete.json | 23 + .../examples/2022-10-27/AppliancesGet.json | 43 + .../AppliancesListByResourceGroup.json | 65 + .../AppliancesListBySubscription.json | 64 + .../AppliancesListClusterUserCredential.json | 28 + .../2022-10-27/AppliancesListKeys.json | 48 + .../2022-10-27/AppliancesListOperations.json | 103 + .../examples/2022-10-27/AppliancesPatch.json | 46 + .../examples/2022-10-27/TelemetryConfig.json | 15 + .../examples/2022-10-27/UpgradeGraph.json | 39 + .../ResourceConnector/main.tsp | 49 + .../ResourceConnector/models.tsp | 577 + .../ResourceConnector/routes.tsp | 28 + .../stable/2022-10-27/appliances.json | 898 +- .../examples/AppliancesCreate_Update.json | 64 +- .../2022-10-27/examples/AppliancesDelete.json | 12 +- .../2022-10-27/examples/AppliancesGet.json | 36 +- .../AppliancesListByResourceGroup.json | 44 +- .../AppliancesListBySubscription.json | 40 +- .../AppliancesListClusterUserCredential.json | 12 +- .../examples/AppliancesListKeys.json | 28 +- .../examples/AppliancesListOperations.json | 36 +- .../2022-10-27/examples/AppliancesPatch.json | 42 +- .../2022-10-27/examples/TelemetryConfig.json | 4 +- .../2022-10-27/examples/UpgradeGraph.json | 22 +- .../ResourceConnector/suppressions.yaml | 3 - .../ResourceConnector/tspconfig.yaml | 45 + specification/riskiq/Easm/client.tsp | 5 + specification/riskiq/Easm/main.tsp | 2 +- .../preview/2023-03-01-preview/easm.json | 4 +- .../preview/2024-03-01-preview/easm.json | 4 +- .../preview/2024-10-01-preview/easm.json | 4 +- specification/search/cspell.yaml | 1 + .../examples/KnowledgeBaseRetrieve.json | 289 + .../KnowledgeBaseRetrieveWithIntents.json | 224 + .../SearchIndexAutocompleteDocumentsGet.json | 38 + .../SearchIndexAutocompleteDocumentsPost.json | 39 + .../examples/SearchIndexCountDocuments.json | 15 + .../examples/SearchIndexGetDocument.json | 31 + .../examples/SearchIndexIndexDocuments.json | 3856 +++ .../SearchIndexSearchDocumentsGet.json | 131 + .../SearchIndexSearchDocumentsPost.json | 820 + .../SearchIndexSearchDocumentsPostOsV2.json | 451 + ...SearchIndexSearchDocumentsSemanticGet.json | 85 + ...earchIndexSearchDocumentsSemanticPost.json | 117 + .../SearchIndexSuggestDocumentsGet.json | 47 + .../SearchIndexSuggestDocumentsPost.json | 60 + .../examples/SearchServiceCreateAlias.json | 26 + .../SearchServiceCreateDataSource.json | 64 + .../examples/SearchServiceCreateIndex.json | 860 + .../examples/SearchServiceCreateIndexer.json | 138 + .../SearchServiceCreateKnowledgeBase.json | 85 + .../SearchServiceCreateKnowledgeSource.json | 77 + ...ServiceCreateKnowledgeSourceAzureBlob.json | 139 + ...ceCreateKnowledgeSourceIndexedOneLake.json | 131 + ...reateKnowledgeSourceIndexedSharePoint.json | 131 + ...eateKnowledgeSourceIngestedSharePoint.json | 139 + ...SearchServiceCreateKnowledgeSourceWeb.json | 87 + .../SearchServiceCreateOrUpdateAlias.json | 38 + ...SearchServiceCreateOrUpdateDataSource.json | 110 + .../SearchServiceCreateOrUpdateIndex.json | 1327 + .../SearchServiceCreateOrUpdateIndexer.json | 140 + ...rchServiceCreateOrUpdateKnowledgeBase.json | 127 + ...hServiceCreateOrUpdateKnowledgeSource.json | 115 + ...reateOrUpdateKnowledgeSourceAzureBlob.json | 211 + ...OrUpdateKnowledgeSourceIndexedOneLake.json | 196 + ...pdateKnowledgeSourceIndexedSharePoint.json | 196 + ...dateKnowledgeSourceIngestedSharePoint.json | 208 + ...rviceCreateOrUpdateKnowledgeSourceWeb.json | 130 + .../SearchServiceCreateOrUpdateSkillset.json | 820 + ...SearchServiceCreateOrUpdateSynonymMap.json | 64 + .../examples/SearchServiceCreateSkillset.json | 540 + .../SearchServiceCreateSynonymMap.json | 43 + .../examples/SearchServiceDeleteAlias.json | 16 + .../SearchServiceDeleteDataSource.json | 16 + .../examples/SearchServiceDeleteIndex.json | 16 + .../examples/SearchServiceDeleteIndexer.json | 16 + .../SearchServiceDeleteKnowledgeBase.json | 16 + .../SearchServiceDeleteKnowledgeSource.json | 16 + ...ServiceDeleteKnowledgeSourceAzureBlob.json | 16 + ...ceDeleteKnowledgeSourceIndexedOneLake.json | 16 + ...eleteKnowledgeSourceIndexedSharePoint.json | 16 + ...leteKnowledgeSourceIngestedSharePoint.json | 16 + ...SearchServiceDeleteKnowledgeSourceWeb.json | 16 + .../examples/SearchServiceDeleteSkillset.json | 16 + .../SearchServiceDeleteSynonymMap.json | 16 + .../examples/SearchServiceGetAlias.json | 20 + .../examples/SearchServiceGetDataSource.json | 41 + .../examples/SearchServiceGetIndex.json | 476 + .../SearchServiceGetIndexStatistics.json | 19 + .../SearchServiceGetIndexStatsSummary.json | 23 + .../examples/SearchServiceGetIndexer.json | 51 + .../SearchServiceGetIndexerStatus.json | 91 + .../SearchServiceGetKnowledgeBase.json | 50 + .../SearchServiceGetKnowledgeSource.json | 46 + ...rchServiceGetKnowledgeSourceAzureBlob.json | 80 + ...rviceGetKnowledgeSourceIndexedOneLake.json | 79 + ...ceGetKnowledgeSourceIndexedSharePoint.json | 79 + ...eGetKnowledgeSourceIngestedSharePoint.json | 71 + ...SearchServiceGetKnowledgeSourceStatus.json | 36 + .../SearchServiceGetKnowledgeSourceWeb.json | 51 + ...hServiceGetS3HDUnlimitedIndexerStatus.json | 92 + ...viceGetS3HDUnlimitedServiceStatistics.json | 65 + .../SearchServiceGetServiceStatistics.json | 63 + .../examples/SearchServiceGetSkillset.json | 285 + .../examples/SearchServiceGetSynonymMap.json | 29 + .../examples/SearchServiceIndexAnalyze.json | 40 + .../examples/SearchServiceListAliases.json | 23 + .../SearchServiceListDataSources.json | 45 + .../examples/SearchServiceListIndexers.json | 54 + .../examples/SearchServiceListIndexes.json | 480 + .../SearchServiceListKnowledgeBases.json | 53 + .../SearchServiceListKnowledgeSources.json | 49 + ...hServiceListKnowledgeSourcesAzureBlob.json | 83 + ...iceListKnowledgeSourcesIndexedOneLake.json | 82 + ...ListKnowledgeSourcesIndexedSharePoint.json | 82 + ...istKnowledgeSourcesIngestedSharePoint.json | 74 + .../SearchServiceListKnowledgeSourcesWeb.json | 54 + .../examples/SearchServiceListSkillsets.json | 289 + .../SearchServiceListSynonymMaps.json | 33 + .../examples/SearchServiceResetDocs.json | 21 + .../examples/SearchServiceResetIndexer.json | 13 + .../examples/SearchServiceResetSkills.json | 20 + .../examples/SearchServiceResync.json | 18 + .../examples/SearchServiceRunIndexer.json | 13 + .../2025-11-01-preview/knowledgebase.json | 1139 + .../2025-11-01-preview/searchindex.json | 3444 +++ .../2025-11-01-preview/searchservice.json | 15407 +++++++++++ .../search/data-plane/Azure.Search/readme.md | 40 +- .../ApplicationResource.tsp | 159 +- .../ManagedCluster.tsp | 9 +- .../ServiceFabricManagedClusters/NodeType.tsp | 2 +- .../ServiceResource.tsp | 55 + .../ServiceFabricManagedClusters/client.tsp | 5 + .../ApplicationDeleteOperation_example.json | 4 +- .../ApplicationPatchOperation_example.json | 53 + .../ApplicationPutOperation_example_max.json | 4 +- .../ApplicationPutOperation_example_min.json | 4 +- ...cationTypeNameDeleteOperation_example.json | 4 +- ...ionTypeVersionDeleteOperation_example.json | 4 +- ...cationTypeVersionPutOperation_example.json | 4 +- .../ManagedClusterPatchOperation_example.json | 98 + .../ServiceDeleteOperation_example.json | 4 +- .../ServicePutOperation_example_max.json | 4 +- .../ServicePutOperation_example_min.json | 4 +- .../ApplicationDeleteOperation_example.json | 4 +- .../ApplicationPatchOperation_example.json | 53 + .../ApplicationPutOperation_example_max.json | 4 +- .../ApplicationPutOperation_example_min.json | 4 +- ...cationTypeNameDeleteOperation_example.json | 4 +- ...ionTypeVersionDeleteOperation_example.json | 4 +- ...cationTypeVersionPutOperation_example.json | 4 +- .../ManagedClusterPatchOperation_example.json | 98 + .../ServiceDeleteOperation_example.json | 4 +- .../ServicePutOperation_example_max.json | 4 +- .../ServicePutOperation_example_min.json | 4 +- .../ApplicationDeleteOperation_example.json | 4 +- .../ApplicationPatchOperation_example.json | 53 + .../ApplicationPutOperation_example_max.json | 4 +- .../ApplicationPutOperation_example_min.json | 4 +- ...cationTypeNameDeleteOperation_example.json | 4 +- ...ionTypeVersionDeleteOperation_example.json | 4 +- ...cationTypeVersionPutOperation_example.json | 4 +- .../ManagedClusterPatchOperation_example.json | 98 + .../ServiceDeleteOperation_example.json | 4 +- .../ServicePutOperation_example_max.json | 4 +- .../ServicePutOperation_example_min.json | 4 +- .../ApplicationActionFetchHealth_example.json | 26 + .../ApplicationActionGetUpgrade_example.json | 19 + ...ionRestartDeployedCodePackage_example.json | 26 + ...pplicationActionResumeUpgrade_example.json | 22 + ...pplicationActionStartRollback_example.json | 19 + ...pplicationActionUpdateUpgrade_example.json | 49 + .../ApplicationDeleteOperation_example.json | 20 + .../ApplicationGetOperation_example.json | 61 + .../ApplicationListOperation_example.json | 29 + .../ApplicationPatchOperation_example.json | 129 + .../ApplicationPutOperation_example_max.json | 158 + .../ApplicationPutOperation_example_min.json | 81 + ...cationTypeNameDeleteOperation_example.json | 20 + ...plicationTypeNameGetOperation_example.json | 24 + ...licationTypeNameListOperation_example.json | 28 + ...icationTypeNamePatchOperation_example.json | 32 + ...plicationTypeNamePutOperation_example.json | 27 + ...ionTypeVersionDeleteOperation_example.json | 21 + ...cationTypeVersionGetOperation_example.json | 26 + ...ationTypeVersionListOperation_example.json | 30 + ...tionTypeVersionPatchOperation_example.json | 34 + ...cationTypeVersionPutOperation_example.json | 47 + .../DeallocateNodes_example.json | 25 + .../DeleteNodes_example.json | 25 + ...gedApplyMaintenanceWindowPost_example.json | 13 + ...ManagedClusterDeleteOperation_example.json | 18 + .../ManagedClusterGetOperation_example.json | 76 + ...rListByResourceGroupOperation_example.json | 97 + ...erListBySubscriptionOperation_example.json | 96 + .../ManagedClusterPatchOperation_example.json | 209 + ...anagedClusterPutOperation_example_max.json | 498 + ...anagedClusterPutOperation_example_min.json | 124 + ...lusterVersionGetByEnvironment_example.json | 26 + .../ManagedClusterVersionGet_example.json | 25 + ...anagedClusterVersionListByEnvironment.json | 37 + .../ManagedClusterVersionList_example.json | 36 + ...gedMaintenanceWindowStatusGet_example.json | 24 + .../NodeTypeDeleteOperation_example.json | 19 + .../NodeTypeGetOperation_example.json | 49 + .../NodeTypeListOperation_example.json | 95 + ...deTypePatchOperationAutoScale_example.json | 95 + .../NodeTypePatchOperation_example.json | 85 + ...NodeTypePutOperationAutoScale_example.json | 203 + ...deTypePutOperationCustomImage_example.json | 70 + ...ionCustomSharedGalleriesImage_example.json | 70 + ...TypePutOperationDedicatedHost_example.json | 94 + ...NodeTypePutOperationStateless_example.json | 116 + ...deTypePutOperationVmImagePlan_example.json | 94 + .../NodeTypePutOperation_example_max.json | 514 + .../NodeTypePutOperation_example_min.json | 79 + .../NodeTypeSkusListOperation_example.json | 73 + .../OperationResultsGet_example.json | 15 + .../OperationStatusFailed_example.json | 25 + .../OperationStatusSucceeded_example.json | 21 + .../OperationsList_example.json | 97 + .../RedeployNodes_UD_example.json | 22 + .../RedeployNodes_example.json | 25 + .../ReimageNodes_UD_example.json | 22 + .../ReimageNodes_example.json | 25 + .../RestartNodes_example.json | 25 + .../ServiceActionRestartReplica_example.json | 29 + .../ServiceDeleteOperation_example.json | 21 + .../ServiceGetOperation_example.json | 41 + .../ServiceListOperation_example.json | 42 + .../ServicePatchOperation_example.json | 79 + .../ServicePutOperation_example_max.json | 194 + .../ServicePutOperation_example_min.json | 62 + .../StartNodes_example.json | 25 + ...agedClusterGetFaultSimulation_example.json | 45 + ...gedClusterListFaultSimulation_example.json | 86 + ...edClusterStartFaultSimulation_example.json | 26 + ...gedClusterStopFaultSimulation_example.json | 21 + .../NodeTypeGetFaultSimulation_example.json | 46 + .../NodeTypeListFaultSimulation_example.json | 75 + .../NodeTypeStartFaultSimulation_example.json | 27 + .../NodeTypeStopFaultSimulation_example.json | 22 + .../managedAzResiliencyStatusGet_example.json | 36 + .../managedUnsupportedVMSizesGet_example.json | 22 + ...managedUnsupportedVMSizesList_example.json | 177 + .../ServiceFabricManagedClusters/main.tsp | 3 + .../ApplicationDeleteOperation_example.json | 4 +- .../ApplicationPatchOperation_example.json | 53 + .../ApplicationPutOperation_example_max.json | 4 +- .../ApplicationPutOperation_example_min.json | 4 +- ...cationTypeNameDeleteOperation_example.json | 4 +- ...ionTypeVersionDeleteOperation_example.json | 4 +- ...cationTypeVersionPutOperation_example.json | 4 +- .../ManagedClusterPatchOperation_example.json | 98 + .../ServiceDeleteOperation_example.json | 4 +- .../ServicePutOperation_example_max.json | 4 +- .../ServicePutOperation_example_min.json | 4 +- .../servicefabricmanagedclusters.json | 56 +- .../ApplicationDeleteOperation_example.json | 4 +- .../ApplicationPatchOperation_example.json | 53 + .../ApplicationPutOperation_example_max.json | 4 +- .../ApplicationPutOperation_example_min.json | 4 +- ...cationTypeNameDeleteOperation_example.json | 4 +- ...ionTypeVersionDeleteOperation_example.json | 4 +- ...cationTypeVersionPutOperation_example.json | 4 +- .../ManagedClusterPatchOperation_example.json | 98 + .../ServiceDeleteOperation_example.json | 4 +- .../ServicePutOperation_example_max.json | 4 +- .../ServicePutOperation_example_min.json | 4 +- .../servicefabricmanagedclusters.json | 56 +- .../ApplicationDeleteOperation_example.json | 4 +- .../ApplicationPatchOperation_example.json | 53 + .../ApplicationPutOperation_example_max.json | 4 +- .../ApplicationPutOperation_example_min.json | 4 +- ...cationTypeNameDeleteOperation_example.json | 4 +- ...ionTypeVersionDeleteOperation_example.json | 4 +- ...cationTypeVersionPutOperation_example.json | 4 +- .../ManagedClusterPatchOperation_example.json | 98 + .../ServiceDeleteOperation_example.json | 4 +- .../ServicePutOperation_example_max.json | 4 +- .../ServicePutOperation_example_min.json | 4 +- .../servicefabricmanagedclusters.json | 56 +- ...nActionFetchApplicationHealth_example.json | 26 + .../ApplicationActionFetchHealth_example.json | 26 + .../ApplicationActionGetUpgrade_example.json | 19 + ...ionRestartDeployedCodePackage_example.json | 26 + ...pplicationActionResumeUpgrade_example.json | 22 + ...pplicationActionStartRollback_example.json | 19 + ...pplicationActionUpdateUpgrade_example.json | 49 + .../ApplicationDeleteOperation_example.json | 20 + .../ApplicationGetOperation_example.json | 61 + .../ApplicationListOperation_example.json | 29 + .../ApplicationPatchOperation_example.json | 129 + .../ApplicationPutOperation_example_max.json | 158 + .../ApplicationPutOperation_example_min.json | 81 + ...cationTypeNameDeleteOperation_example.json | 20 + ...plicationTypeNameGetOperation_example.json | 24 + ...licationTypeNameListOperation_example.json | 28 + ...icationTypeNamePatchOperation_example.json | 32 + ...plicationTypeNamePutOperation_example.json | 27 + ...ionTypeVersionDeleteOperation_example.json | 21 + ...cationTypeVersionGetOperation_example.json | 26 + ...ationTypeVersionListOperation_example.json | 30 + ...tionTypeVersionPatchOperation_example.json | 34 + ...cationTypeVersionPutOperation_example.json | 47 + .../examples/DeallocateNodes_example.json | 25 + .../examples/DeleteNodes_example.json | 25 + ...gedApplyMaintenanceWindowPost_example.json | 13 + ...ManagedClusterDeleteOperation_example.json | 18 + .../ManagedClusterGetOperation_example.json | 76 + ...rListByResourceGroupOperation_example.json | 97 + ...erListBySubscriptionOperation_example.json | 96 + .../ManagedClusterPatchOperation_example.json | 209 + ...anagedClusterPutOperation_example_max.json | 498 + ...anagedClusterPutOperation_example_min.json | 124 + ...lusterVersionGetByEnvironment_example.json | 26 + .../ManagedClusterVersionGet_example.json | 25 + ...anagedClusterVersionListByEnvironment.json | 37 + .../ManagedClusterVersionList_example.json | 36 + ...gedMaintenanceWindowStatusGet_example.json | 24 + .../NodeTypeDeleteOperation_example.json | 19 + .../NodeTypeGetOperation_example.json | 49 + .../NodeTypeListOperation_example.json | 95 + ...deTypePatchOperationAutoScale_example.json | 95 + .../NodeTypePatchOperation_example.json | 85 + ...NodeTypePutOperationAutoScale_example.json | 203 + ...deTypePutOperationCustomImage_example.json | 70 + ...ionCustomSharedGalleriesImage_example.json | 70 + ...TypePutOperationDedicatedHost_example.json | 94 + ...NodeTypePutOperationStateless_example.json | 116 + ...deTypePutOperationVmImagePlan_example.json | 94 + .../NodeTypePutOperation_example_max.json | 514 + .../NodeTypePutOperation_example_min.json | 79 + .../NodeTypeSkusListOperation_example.json | 73 + .../examples/OperationResultsGet_example.json | 15 + .../OperationStatusFailed_example.json | 25 + .../OperationStatusSucceeded_example.json | 21 + .../examples/OperationsList_example.json | 97 + .../examples/RedeployNodes_UD_example.json | 22 + .../examples/RedeployNodes_example.json | 25 + .../examples/ReimageNodes_UD_example.json | 22 + .../examples/ReimageNodes_example.json | 25 + .../examples/RestartNodes_example.json | 25 + .../ServiceActionRestartReplica_example.json | 29 + .../ServiceDeleteOperation_example.json | 21 + .../examples/ServiceGetOperation_example.json | 41 + .../ServiceListOperation_example.json | 42 + .../ServicePatchOperation_example.json | 79 + .../ServicePutOperation_example_max.json | 194 + .../ServicePutOperation_example_min.json | 62 + .../examples/StartNodes_example.json | 25 + ...agedClusterGetFaultSimulation_example.json | 45 + ...gedClusterListFaultSimulation_example.json | 86 + ...edClusterStartFaultSimulation_example.json | 26 + ...gedClusterStopFaultSimulation_example.json | 21 + .../NodeTypeGetFaultSimulation_example.json | 46 + .../NodeTypeListFaultSimulation_example.json | 75 + .../NodeTypeStartFaultSimulation_example.json | 27 + .../NodeTypeStopFaultSimulation_example.json | 22 + .../managedAzResiliencyStatusGet_example.json | 36 + .../managedUnsupportedVMSizesGet_example.json | 22 + ...managedUnsupportedVMSizesList_example.json | 177 + .../servicefabricmanagedclusters.json | 9256 +++++++ .../ServiceFabricManagedClusters/readme.md | 21 +- .../examples/2025-10-01/Operations_List.json | 28 + ...dbyContainerGroupPoolRuntimeViews_Get.json | 108 + ...oupPoolRuntimeViews_ListByStandbyPool.json | 112 + ...dbyContainerGroupPools_CreateOrUpdate.json | 130 + .../StandbyContainerGroupPools_Delete.json | 18 + .../StandbyContainerGroupPools_Get.json | 55 + ...ntainerGroupPools_ListByResourceGroup.json | 59 + ...ontainerGroupPools_ListBySubscription.json | 58 + .../StandbyContainerGroupPools_Update.json | 83 + ...dbyVirtualMachinePoolRuntimeViews_Get.json | 168 + ...inePoolRuntimeViews_ListByStandbyPool.json | 172 + ...dbyVirtualMachinePools_CreateOrUpdate.json | 91 + .../StandbyVirtualMachinePools_Delete.json | 18 + .../StandbyVirtualMachinePools_Get.json | 42 + ...rtualMachinePools_ListByResourceGroup.json | 46 + ...irtualMachinePools_ListBySubscription.json | 45 + .../StandbyVirtualMachinePools_Update.json | 57 + .../StandbyVirtualMachines_Get.json | 32 + ...stByStandbyVirtualMachinePoolResource.json | 36 + .../StandbyPool.Management/models.tsp | 55 + .../StandbyPool.Management/service.tsp | 40 +- .../standbyContainerGroupPool.tsp | 11 + .../StandbyPool.Management/standbyVMPool.tsp | 22 + .../2025-10-01/examples/Operations_List.json | 28 + ...dbyContainerGroupPoolRuntimeViews_Get.json | 108 + ...oupPoolRuntimeViews_ListByStandbyPool.json | 112 + ...dbyContainerGroupPools_CreateOrUpdate.json | 130 + .../StandbyContainerGroupPools_Delete.json | 18 + .../StandbyContainerGroupPools_Get.json | 55 + ...ntainerGroupPools_ListByResourceGroup.json | 59 + ...ontainerGroupPools_ListBySubscription.json | 58 + .../StandbyContainerGroupPools_Update.json | 83 + ...dbyVirtualMachinePoolRuntimeViews_Get.json | 168 + ...inePoolRuntimeViews_ListByStandbyPool.json | 172 + ...dbyVirtualMachinePools_CreateOrUpdate.json | 91 + .../StandbyVirtualMachinePools_Delete.json | 18 + .../StandbyVirtualMachinePools_Get.json | 42 + ...rtualMachinePools_ListByResourceGroup.json | 46 + ...irtualMachinePools_ListBySubscription.json | 45 + .../StandbyVirtualMachinePools_Update.json | 57 + .../examples/StandbyVirtualMachines_Get.json | 32 + ...stByStandbyVirtualMachinePoolResource.json | 36 + .../stable/2025-10-01/standbypool.json | 1985 ++ .../standbypool/resource-manager/readme.md | 20 +- .../storage/Microsoft.BlobStorage/routes.tsp | 4 +- .../stable/2025-11-05/generated_blob.json | 1186 +- .../stable/2026-02-06/generated_blob.json | 1186 +- .../2020-12-01/entityTypes/LinkedService.json | 28 + .../TrafficManager/Endpoint.tsp | 88 + .../TrafficManager/HeatMapModel.tsp | 81 + .../TrafficManager/Profile.tsp | 101 + .../TrafficManagerGeographicHierarchy.tsp | 51 + .../TrafficManager/UserMetricsModel.tsp | 71 + .../TrafficManager/back-compatible.tsp | 58 + .../TrafficManager/client.tsp | 59 + .../2022-04-01/Endpoint-DELETE-External.json | 18 + .../Endpoint-GET-External-WithGeoMapping.json | 32 + .../Endpoint-GET-External-WithLocation.json | 29 + ...dpoint-GET-External-WithSubnetMapping.json | 38 + .../Endpoint-PATCH-External-Target.json | 37 + ...Endpoint-PUT-External-WithAlwaysServe.json | 56 + ...dpoint-PUT-External-WithCustomHeaders.json | 83 + .../Endpoint-PUT-External-WithGeoMapping.json | 62 + .../Endpoint-PUT-External-WithLocation.json | 53 + ...dpoint-PUT-External-WithSubnetMapping.json | 80 + .../GeographicHierarchy-GET-default.json | 62 + .../HeatMap-GET-With-Null-Values.json | 69 + .../HeatMap-GET-With-TopLeft-BotRight.json | 78 + .../examples/2022-04-01/HeatMap-GET.json | 70 + ...ityTest_NameAvailable-POST-example-21.json | 20 + ...Test_NameNotAvailable-POST-example-23.json | 22 + ...yV2Test_NameAvailable-POST-example-21.json | 21 + ...Test_NameNotAvailable-POST-example-23.json | 23 + .../examples/2022-04-01/Profile-DELETE.json | 16 + .../Profile-GET-ByResourceGroup.json | 97 + .../Profile-GET-BySubscription.json | 124 + .../2022-04-01/Profile-GET-WithEndpoints.json | 54 + .../Profile-GET-WithTrafficViewDisabled.json | 55 + .../Profile-GET-WithTrafficViewEnabled.json | 55 + .../Profile-PATCH-MonitorConfig.json | 86 + .../2022-04-01/Profile-PUT-MultiValue.json | 88 + .../2022-04-01/Profile-PUT-NoEndpoints.json | 82 + .../2022-04-01/Profile-PUT-WithAliasing.json | 165 + .../Profile-PUT-WithCustomHeaders.json | 185 + .../2022-04-01/Profile-PUT-WithEndpoints.json | 124 + .../Profile-PUT-WithNestedEndpoints.json | 175 + .../TrafficManagerUserMetricsKeys-DELETE.json | 13 + .../TrafficManagerUserMetricsKeys-GET.json | 20 + .../TrafficManagerUserMetricsKeys-PUT.json | 20 + .../Microsoft.Network/TrafficManager/main.tsp | 41 + .../TrafficManager/models.tsp | 713 + .../TrafficManager/routes.tsp | 41 + .../examples/Endpoint-DELETE-External.json | 14 +- .../Endpoint-GET-External-WithGeoMapping.json | 26 +- .../Endpoint-GET-External-WithLocation.json | 24 +- ...dpoint-GET-External-WithSubnetMapping.json | 24 +- .../Endpoint-PATCH-External-Target.json | 28 +- ...Endpoint-PUT-External-WithAlwaysServe.json | 50 +- ...dpoint-PUT-External-WithCustomHeaders.json | 60 +- .../Endpoint-PUT-External-WithGeoMapping.json | 48 +- .../Endpoint-PUT-External-WithLocation.json | 44 +- ...dpoint-PUT-External-WithSubnetMapping.json | 44 +- .../GeographicHierarchy-GET-default.json | 22 +- .../HeatMap-GET-With-Null-Values.json | 26 +- .../HeatMap-GET-With-TopLeft-BotRight.json | 38 +- .../2022-04-01/examples/HeatMap-GET.json | 28 +- ...ityTest_NameAvailable-POST-example-21.json | 4 +- ...Test_NameNotAvailable-POST-example-23.json | 8 +- ...yV2Test_NameAvailable-POST-example-21.json | 8 +- ...Test_NameNotAvailable-POST-example-23.json | 12 +- .../2022-04-01/examples/Profile-DELETE.json | 10 +- .../examples/Profile-GET-ByResourceGroup.json | 92 +- .../examples/Profile-GET-BySubscription.json | 118 +- .../examples/Profile-GET-WithEndpoints.json | 52 +- .../Profile-GET-WithTrafficViewDisabled.json | 50 +- .../Profile-GET-WithTrafficViewEnabled.json | 50 +- .../examples/Profile-PATCH-MonitorConfig.json | 80 +- .../examples/Profile-PUT-MultiValue.json | 76 +- .../examples/Profile-PUT-NoEndpoints.json | 66 +- .../examples/Profile-PUT-WithAliasing.json | 186 +- .../Profile-PUT-WithCustomHeaders.json | 212 +- .../examples/Profile-PUT-WithEndpoints.json | 122 +- .../Profile-PUT-WithNestedEndpoints.json | 162 +- .../TrafficManagerUserMetricsKeys-DELETE.json | 8 +- .../TrafficManagerUserMetricsKeys-GET.json | 10 +- .../TrafficManagerUserMetricsKeys-PUT.json | 10 +- .../stable/2022-04-01/trafficmanager.json | 2117 +- .../TrafficManager/suppressions.yaml | 3 - .../TrafficManager/tspconfig.yaml | 54 + .../Microsoft.Web/AppService/readme.java.md | 13 + 2113 files changed, 246897 insertions(+), 16084 deletions(-) create mode 100644 eng/common/knowledge/customizing-client-tsp.md create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/Operations.tsp create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/examples/2025-11-01-preview/KubernetesVersions_ListBySubscriptionLocationResource_MaximumSet_Gen.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/examples/2025-11-01-preview/Operations_List.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/examples/2025-11-01-preview/OsImages_Get_MaximumSet_Gen.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/examples/2025-11-01-preview/OsImages_ListBySubscriptionLocationResource_MaximumSet_Gen.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/examples/2025-11-01-preview/PlatformUpdates_Get_MaximumSet_Gen.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/examples/2025-11-01-preview/PlatformUpdates_ListByLocation_MaximumSet_Gen.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/examples/2025-11-01-preview/UpdateContents_Get_MaximumSet_Gen.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/examples/2025-11-01-preview/UpdateContents_ListByLocation_MaximumSet_Gen.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/kubernetesVersions.tsp create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/main.tsp create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/osImages.tsp create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/platformUpdates.tsp create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/arcSettings.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/clusters.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/deploymentSettings.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/edgeDeviceJobs.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/edgeDevices.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/ChangeClusterRing.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/Clusters_UpdateSecretsLocations.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/ConfigureRemoteSupport.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/ConsentAndInstallDefaultExtensions.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/CreateArcIdentity.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/CreateCluster.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/CreateClusterIdentity.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/CreateHciEdgeDevice.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/DeleteArcSetting.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/DeleteCluster.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/DeleteDeploymentSettings.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/DeleteEdgeDevices.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/DeleteExtension.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/DeleteSecuritySettings.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/DeleteUpdateRuns.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/DeleteUpdateSummaries.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/DeleteUpdates.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/EdgeDeviceJobs_CreateOrUpdate_CollectLog.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/EdgeDeviceJobs_CreateOrUpdate_RemoteSupport.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/EdgeDeviceJobs_Delete.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/EdgeDeviceJobs_Get_RemoteSupport.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/EdgeDeviceJobs_ListByEdgeDevice.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/ExtendSoftwareAssuranceBenefit.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/Extensions_Upgrade.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/GeneratePassword.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/GetArcSetting.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/GetCluster.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/GetDeploymentSettings.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/GetEdgeDevices.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/GetExtension.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/GetOffer.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/GetPublisher.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/GetSecuritySettings.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/GetSku.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/GetUpdateRuns.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/GetUpdateSummaries.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/GetUpdates.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/InitializeDisableProcess.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/KubernetesVersions_ListBySubscriptionLocationResource_MaximumSet_Gen.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/ListArcSettingsByCluster.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/ListClustersByResourceGroup.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/ListClustersBySubscription.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/ListDeploymentSettingsByCluster.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/ListEdgeDevices.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/ListExtensionsByArcSetting.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/ListOffersByCluster.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/ListOffersByPublisher.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/ListPublishersByCluster.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/ListSecuritySettingsByCluster.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/ListSkusByOffer.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/ListUpdateRuns.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/ListUpdateSummaries.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/ListUpdates.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/Operations_List.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/OsImages_Get_MaximumSet_Gen.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/OsImages_ListBySubscriptionLocationResource_MaximumSet_Gen.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/PatchArcSetting.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/PatchExtension.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/PlatformUpdates_Get_MaximumSet_Gen.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/PlatformUpdates_ListByLocation_MaximumSet_Gen.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/PostUpdates.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/PutArcSetting.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/PutDeploymentSettings.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/PutDeploymentSettingsWithADLess.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/PutExtension.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/PutSecuritySettings.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/PutUpdateRuns.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/PutUpdateSummaries.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/PutUpdates.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/TriggerLogCollection.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/UpdateCluster.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/UpdateContents_Get_MaximumSet_Gen.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/UpdateContents_ListByLocation_MaximumSet_Gen.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/UploadCertificate.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/ValidateEdgeDevices.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/ValidatedSolutionRecipes_Get.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/ValidatedSolutionRecipes_ListBySubscriptionLocationResource.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/reconcileArcSettings.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/extensions.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/hci.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/hciCommon.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/offers.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/publishers.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/securitySettings.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/skus.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/updateRuns.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/updateSummaries.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/updates.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/validatedSolutionRecipes.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/tspconfig.yaml create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/updateContents.tsp create mode 100644 specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/preview/2025-04-01-preview/examples/AccountCapabilityHost/list.json create mode 100644 specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/preview/2025-04-01-preview/examples/ProjectCapabilityHost/list.json create mode 100644 specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/preview/2025-07-01-preview/examples/AccountCapabilityHost/list.json create mode 100644 specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/preview/2025-07-01-preview/examples/ProjectCapabilityHost/list.json create mode 100644 specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/preview/2025-10-01-preview/examples/AccountCapabilityHost/list.json create mode 100644 specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/preview/2025-10-01-preview/examples/ProjectCapabilityHost/list.json create mode 100644 specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2025-06-01/examples/AccountCapabilityHost/list.json create mode 100644 specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2025-06-01/examples/ProjectCapabilityHost/list.json create mode 100644 specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2025-09-01/examples/AccountCapabilityHost/list.json create mode 100644 specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2025-09-01/examples/ProjectCapabilityHost/list.json create mode 100644 specification/compute/Compute.Management/client.tsp create mode 100644 specification/compute/Disk.Management/client.tsp create mode 100644 specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/back-compat.tsp create mode 100644 specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/client.tsp create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/Addon.tsp create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/Alert.tsp create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/BandwidthSchedule.tsp create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/Container.tsp create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/DataBoxEdgeDevice.tsp create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/DeviceCapacityInfo.tsp create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/DiagnosticProactiveLogCollectionSettings.tsp create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/DiagnosticRemoteSupportSettings.tsp create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/Job.tsp create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/MonitoringMetricConfiguration.tsp create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/NetworkSettings.tsp create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/Order.tsp create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/Role.tsp create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/Share.tsp create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/StorageAccount.tsp create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/StorageAccountCredential.tsp create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/Trigger.tsp create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/UpdateSummary.tsp create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/User.tsp create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/VirtualResource.tsp create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/back-compatible.tsp create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/client.tsp create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/AlertGet.json create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/AlertGetAllInDevice.json create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/AvailableSkusList.json create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/BandwidthScheduleDelete.json create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/BandwidthScheduleGet.json create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/BandwidthScheduleGetAllInDevice.json create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/BandwidthSchedulePut.json create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/ContainerDelete.json create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/ContainerGet.json create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/ContainerListAllInDevice.json create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/ContainerPut.json create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/ContainerRefresh.json create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/DataBoxEdgeDeviceDelete.json create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/DataBoxEdgeDeviceGetByName.json create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/DataBoxEdgeDeviceGetByNameWithDataResidency.json create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/DataBoxEdgeDeviceGetByResourceGroup.json create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/DataBoxEdgeDeviceGetBySubscription.json create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/DataBoxEdgeDevicePatch.json create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/DataBoxEdgeDevicePut.json create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/DataBoxEdgeDevicePutWithDataResidency.json create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/DeleteAddons.json create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/DeleteMonitoringConfig.json create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/DeviceCapacityGet.json create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/DeviceCapacityRequestPost.json create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/DownloadUpdatesPost.json create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/ExtendedInfoPost.json create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/GenerateCertificate.json create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/GetAddons.json create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/GetDCAccessCode.json create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/GetDiagnosticProactiveLogCollectionSettings.json create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/GetDiagnosticRemoteSupportSettings.json create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/GetMonitoringConfig.json create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/GetUpdateExtendedInfo.json create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/InstallUpdatesPost.json create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/JobsGet.json create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/ListMonitoringConfig.json create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/NetworkSettingsGet.json create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/NodeGetAllInDevice.json create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/OperationsGet.json create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/OperationsStatusGet.json create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/OrderDelete.json create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/OrderGet.json create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/OrderGetAllInDevice.json create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/OrderPut.json create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/PutAddons.json create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/PutMonitoringConfig.json create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/RoleDelete.json create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/RoleGet.json create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/RoleGetAllInDevice.json create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/RoleListAddOns.json create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/RolePut.json create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/SACDelete.json create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/SACGet.json create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/SACGetAllInDevice.json create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/SACPut.json create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/ScanForUpdatesPost.json create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/SecuritySettingsUpdatePost.json create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/ShareDelete.json create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/ShareGet.json create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/ShareGetAllInDevice.json create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/SharePut.json create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/ShareRefreshPost.json create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/StorageAccountDelete.json create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/StorageAccountGet.json create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/StorageAccountGetAllInDevice.json create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/StorageAccountPut.json create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/TriggerDelete.json create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/TriggerGet.json create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/TriggerGetAllInDevice.json create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/TriggerPut.json create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/TriggerSupportPackage.json create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/UpdateDiagnosticProactiveLogCollectionSettings.json create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/UpdateDiagnosticRemoteSupportSettings.json create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/UpdateSummaryGet.json create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/UploadCertificatePost.json create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/UserDelete.json create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/UserGet.json create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/UserGetAllInDevice.json create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/UserPut.json create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/main.tsp create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/models.tsp create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/routes.tsp create mode 100644 specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/tspconfig.yaml create mode 100644 specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/NetezzaLinkedService_Get.json create mode 100644 specification/dynatrace/Dynatrace.Management/DynatraceSingleSignOnResource.tsp create mode 100644 specification/dynatrace/Dynatrace.Management/MonitorResource.tsp create mode 100644 specification/dynatrace/Dynatrace.Management/MonitoredSubscriptionProperties.tsp create mode 100644 specification/dynatrace/Dynatrace.Management/TagRule.tsp create mode 100644 specification/dynatrace/Dynatrace.Management/back-compatible.tsp create mode 100644 specification/dynatrace/Dynatrace.Management/client.tsp create mode 100644 specification/dynatrace/Dynatrace.Management/examples/2024-04-24/CreationSupported_Get.json create mode 100644 specification/dynatrace/Dynatrace.Management/examples/2024-04-24/CreationSupported_List.json create mode 100644 specification/dynatrace/Dynatrace.Management/examples/2024-04-24/MonitoredSubscriptions_CreateOrUpdate.json create mode 100644 specification/dynatrace/Dynatrace.Management/examples/2024-04-24/MonitoredSubscriptions_Delete.json create mode 100644 specification/dynatrace/Dynatrace.Management/examples/2024-04-24/MonitoredSubscriptions_Get.json create mode 100644 specification/dynatrace/Dynatrace.Management/examples/2024-04-24/MonitoredSubscriptions_List.json create mode 100644 specification/dynatrace/Dynatrace.Management/examples/2024-04-24/MonitoredSubscriptions_Update.json create mode 100644 specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_CreateOrUpdate_MaximumSet_Gen.json create mode 100644 specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_CreateOrUpdate_MinimumSet_Gen.json create mode 100644 specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_Delete_MaximumSet_Gen.json create mode 100644 specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_Delete_MinimumSet_Gen.json create mode 100644 specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_GetAllConnectedResourcesCount_MaximumSet_Gen.json create mode 100644 specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_GetAllConnectedResourcesCount_MinimumSet_Gen.json create mode 100644 specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_GetMarketplaceSaaSResourceDetails_MaximumSet_Gen.json create mode 100644 specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_GetMarketplaceSaaSResourceDetails_MinimumSet_Gen.json create mode 100644 specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_GetMetricStatus_MaximumSet_Gen.json create mode 100644 specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_GetMetricStatus_MinimumSet_Gen.json create mode 100644 specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_GetSSODetails_MaximumSet_Gen.json create mode 100644 specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_GetSSODetails_MinimumSet_Gen.json create mode 100644 specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_GetVMHostPayload_MaximumSet_Gen.json create mode 100644 specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_GetVMHostPayload_MinimumSet_Gen.json create mode 100644 specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_Get_MaximumSet_Gen.json create mode 100644 specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_Get_MinimumSet_Gen.json create mode 100644 specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_ListAppServices_MaximumSet_Gen.json create mode 100644 specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_ListAppServices_MinimumSet_Gen.json create mode 100644 specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_ListByResourceGroup_MaximumSet_Gen.json create mode 100644 specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_ListByResourceGroup_MinimumSet_Gen.json create mode 100644 specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_ListBySubscriptionId_MaximumSet_Gen.json create mode 100644 specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_ListBySubscriptionId_MinimumSet_Gen.json create mode 100644 specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_ListHosts_MaximumSet_Gen.json create mode 100644 specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_ListHosts_MinimumSet_Gen.json create mode 100644 specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_ListLinkableEnvironments_MaximumSet_Gen.json create mode 100644 specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_ListLinkableEnvironments_MinimumSet_Gen.json create mode 100644 specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_ListMonitoredResources_MaximumSet_Gen.json create mode 100644 specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_ListMonitoredResources_MinimumSet_Gen.json create mode 100644 specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_ManageAgentInstallation_MaximumSet_Gen.json create mode 100644 specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_ManageAgentInstallation_MinimumSet_Gen.json create mode 100644 specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_Update_MaximumSet_Gen.json create mode 100644 specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_Update_MinimumSet_Gen.json create mode 100644 specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_UpgradePlan_MaximumSet_Gen.json create mode 100644 specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_UpgradePlan_MinimumSet_Gen.json create mode 100644 specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Operations_List_MaximumSet_Gen.json create mode 100644 specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Operations_List_MinimumSet_Gen.json create mode 100644 specification/dynatrace/Dynatrace.Management/examples/2024-04-24/SingleSignOn_CreateOrUpdate_MaximumSet_Gen.json create mode 100644 specification/dynatrace/Dynatrace.Management/examples/2024-04-24/SingleSignOn_CreateOrUpdate_MinimumSet_Gen.json create mode 100644 specification/dynatrace/Dynatrace.Management/examples/2024-04-24/SingleSignOn_Get_MaximumSet_Gen.json create mode 100644 specification/dynatrace/Dynatrace.Management/examples/2024-04-24/SingleSignOn_Get_MinimumSet_Gen.json create mode 100644 specification/dynatrace/Dynatrace.Management/examples/2024-04-24/SingleSignOn_List_MaximumSet_Gen.json create mode 100644 specification/dynatrace/Dynatrace.Management/examples/2024-04-24/SingleSignOn_List_MinimumSet_Gen.json create mode 100644 specification/dynatrace/Dynatrace.Management/examples/2024-04-24/TagRules_CreateOrUpdate_MaximumSet_Gen.json create mode 100644 specification/dynatrace/Dynatrace.Management/examples/2024-04-24/TagRules_CreateOrUpdate_MinimumSet_Gen.json create mode 100644 specification/dynatrace/Dynatrace.Management/examples/2024-04-24/TagRules_Delete_MaximumSet_Gen.json create mode 100644 specification/dynatrace/Dynatrace.Management/examples/2024-04-24/TagRules_Delete_MinimumSet_Gen.json create mode 100644 specification/dynatrace/Dynatrace.Management/examples/2024-04-24/TagRules_Get_MaximumSet_Gen.json create mode 100644 specification/dynatrace/Dynatrace.Management/examples/2024-04-24/TagRules_Get_MinimumSet_Gen.json create mode 100644 specification/dynatrace/Dynatrace.Management/examples/2024-04-24/TagRules_List_MaximumSet_Gen.json create mode 100644 specification/dynatrace/Dynatrace.Management/examples/2024-04-24/TagRules_List_MinimumSet_Gen.json create mode 100644 specification/dynatrace/Dynatrace.Management/main.tsp create mode 100644 specification/dynatrace/Dynatrace.Management/models.tsp create mode 100644 specification/dynatrace/Dynatrace.Management/routes.tsp create mode 100644 specification/dynatrace/Dynatrace.Management/tspconfig.yaml create mode 100644 specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/CreationSupported_List.json create mode 100644 specification/elastic/Elastic.Management/ElasticMonitorResource.tsp create mode 100644 specification/elastic/Elastic.Management/MonitoredSubscriptionProperties.tsp create mode 100644 specification/elastic/Elastic.Management/MonitoringTagRules.tsp create mode 100644 specification/elastic/Elastic.Management/OpenAIIntegrationRPModel.tsp create mode 100644 specification/elastic/Elastic.Management/back-compatible.tsp create mode 100644 specification/elastic/Elastic.Management/client.tsp create mode 100644 specification/elastic/Elastic.Management/examples/2025-06-01/AllTrafficFilters_list.json create mode 100644 specification/elastic/Elastic.Management/examples/2025-06-01/AssociateTrafficFilter_Update.json create mode 100644 specification/elastic/Elastic.Management/examples/2025-06-01/AssociatedFiltersForDeployment_list.json create mode 100644 specification/elastic/Elastic.Management/examples/2025-06-01/BillingInfo_Get.json create mode 100644 specification/elastic/Elastic.Management/examples/2025-06-01/ConnectedPartnerResources_List.json create mode 100644 specification/elastic/Elastic.Management/examples/2025-06-01/DeploymentInfo_List.json create mode 100644 specification/elastic/Elastic.Management/examples/2025-06-01/DetachAndDeleteTrafficFilter_Delete.json create mode 100644 specification/elastic/Elastic.Management/examples/2025-06-01/DetachTrafficFilters_Update.json create mode 100644 specification/elastic/Elastic.Management/examples/2025-06-01/ElasticVersions_List.json create mode 100644 specification/elastic/Elastic.Management/examples/2025-06-01/ExternalUserInfo.json create mode 100644 specification/elastic/Elastic.Management/examples/2025-06-01/IPTrafficFilter_Create.json create mode 100644 specification/elastic/Elastic.Management/examples/2025-06-01/Monitor_Upgrade.json create mode 100644 specification/elastic/Elastic.Management/examples/2025-06-01/MonitoredResources_List.json create mode 100644 specification/elastic/Elastic.Management/examples/2025-06-01/MonitoredSubscriptions_CreateorUpdate.json create mode 100644 specification/elastic/Elastic.Management/examples/2025-06-01/MonitoredSubscriptions_Delete.json create mode 100644 specification/elastic/Elastic.Management/examples/2025-06-01/MonitoredSubscriptions_Get.json create mode 100644 specification/elastic/Elastic.Management/examples/2025-06-01/MonitoredSubscriptions_List.json create mode 100644 specification/elastic/Elastic.Management/examples/2025-06-01/MonitoredSubscriptions_Update.json create mode 100644 specification/elastic/Elastic.Management/examples/2025-06-01/Monitors_Create.json create mode 100644 specification/elastic/Elastic.Management/examples/2025-06-01/Monitors_Delete.json create mode 100644 specification/elastic/Elastic.Management/examples/2025-06-01/Monitors_Get.json create mode 100644 specification/elastic/Elastic.Management/examples/2025-06-01/Monitors_List.json create mode 100644 specification/elastic/Elastic.Management/examples/2025-06-01/Monitors_ListByResourceGroup.json create mode 100644 specification/elastic/Elastic.Management/examples/2025-06-01/Monitors_Update.json create mode 100644 specification/elastic/Elastic.Management/examples/2025-06-01/OpenAI_CreateOrUpdate.json create mode 100644 specification/elastic/Elastic.Management/examples/2025-06-01/OpenAI_Delete.json create mode 100644 specification/elastic/Elastic.Management/examples/2025-06-01/OpenAI_Get.json create mode 100644 specification/elastic/Elastic.Management/examples/2025-06-01/OpenAI_GetStatus.json create mode 100644 specification/elastic/Elastic.Management/examples/2025-06-01/OpenAI_List.json create mode 100644 specification/elastic/Elastic.Management/examples/2025-06-01/Operations_List.json create mode 100644 specification/elastic/Elastic.Management/examples/2025-06-01/Organizations_GetApiKey.json create mode 100644 specification/elastic/Elastic.Management/examples/2025-06-01/Organizations_GetElasticToAzureSubscriptionMapping.json create mode 100644 specification/elastic/Elastic.Management/examples/2025-06-01/Organizations_Resubscribe.json create mode 100644 specification/elastic/Elastic.Management/examples/2025-06-01/PrivateLinkTrafficFilters_Create.json create mode 100644 specification/elastic/Elastic.Management/examples/2025-06-01/TagRules_CreateOrUpdate.json create mode 100644 specification/elastic/Elastic.Management/examples/2025-06-01/TagRules_Delete.json create mode 100644 specification/elastic/Elastic.Management/examples/2025-06-01/TagRules_Get.json create mode 100644 specification/elastic/Elastic.Management/examples/2025-06-01/TagRules_List.json create mode 100644 specification/elastic/Elastic.Management/examples/2025-06-01/TrafficFilters_Delete.json create mode 100644 specification/elastic/Elastic.Management/examples/2025-06-01/UpgradableVersions_Details.json create mode 100644 specification/elastic/Elastic.Management/examples/2025-06-01/VMCollection_Update.json create mode 100644 specification/elastic/Elastic.Management/examples/2025-06-01/VMHost_List.json create mode 100644 specification/elastic/Elastic.Management/examples/2025-06-01/VMIngestion_Details.json create mode 100644 specification/elastic/Elastic.Management/main.tsp create mode 100644 specification/elastic/Elastic.Management/models.tsp create mode 100644 specification/elastic/Elastic.Management/routes.tsp create mode 100644 specification/elastic/Elastic.Management/tspconfig.yaml create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/HybridCompute.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/AgentVersion_GetLatest.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/AgentVersions_Get.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/HybridIdentityMetadata_Get.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/HybridIdentityMetadata_ListByVirtualMachines.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/NetworkProfile_Get.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/Operations_List.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/extension/ExtensionMetadataV2_Get.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/extension/ExtensionMetadataV2_List.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/extension/ExtensionMetadata_Get.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/extension/ExtensionMetadata_List.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/extension/ExtensionPublisher_List.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/extension/ExtensionType_List.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/extension/Extension_Add.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/extension/Extension_CreateOrUpdate.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/extension/Extension_Delete.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/extension/Extension_Get.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/extension/Extension_List.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/extension/Extension_Update.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/extension/Extensions_Upgrade.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/gateway/Gateway_CreateOrUpdate.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/gateway/Gateway_Delete.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/gateway/Gateway_Get.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/gateway/Gateway_ListByResourceGroup.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/gateway/Gateway_ListBySubscription.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/gateway/Gateway_Update.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/license/License_CreateOrUpdate.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/license/License_Delete.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/license/License_Get.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/license/License_ListByResourceGroup.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/license/License_ListBySubscription.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/license/License_Update.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/license/License_ValidateLicense.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/licenseProfile/LicenseProfile_CreateOrUpdate.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/licenseProfile/LicenseProfile_Delete.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/licenseProfile/LicenseProfile_Get.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/licenseProfile/LicenseProfile_List.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/licenseProfile/LicenseProfile_Update.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/machine/Machine_AssessPatches.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/machine/Machine_InstallPatches.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/machine/Machines_CreateOrUpdate.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/machine/Machines_Delete.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/machine/Machines_Get.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/machine/Machines_Get_LicenseProfileInstanceView.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/machine/Machines_ListByResourceGroup.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/machine/Machines_ListBySubscription.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/machine/Machines_Update.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/networkConfiguration/NetworkConfigurationsCreate.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/networkConfiguration/NetworkConfigurationsGet.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/networkConfiguration/NetworkConfigurationsPatch.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/networkConfiguration/NetworkConfigurationsUpdate.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationGet.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationList.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationReconcile.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/privateEndpoint/PrivateEndpointConnection_Delete.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/privateEndpoint/PrivateEndpointConnection_Get.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/privateEndpoint/PrivateEndpointConnection_List.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/privateEndpoint/PrivateEndpointConnection_Update.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/privateLinkScope/PrivateLinkScopePrivateLinkResource_Get.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/privateLinkScope/PrivateLinkScopePrivateLinkResource_ListGet.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/privateLinkScope/PrivateLinkScopes_Create.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/privateLinkScope/PrivateLinkScopes_Delete.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/privateLinkScope/PrivateLinkScopes_Get.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/privateLinkScope/PrivateLinkScopes_GetValidation.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/privateLinkScope/PrivateLinkScopes_GetValidationForMachine.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/privateLinkScope/PrivateLinkScopes_List.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/privateLinkScope/PrivateLinkScopes_ListByResourceGroup.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/privateLinkScope/PrivateLinkScopes_Update.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/privateLinkScope/PrivateLinkScopes_UpdateTagsOnly.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/runCommand/RunCommands_CreateOrUpdate.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/runCommand/RunCommands_Delete.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/runCommand/RunCommands_Get.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/runCommand/RunCommands_List.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/runCommand/RunCommands_Update.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/settings/SettingsGet.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/settings/SettingsPatch.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/settings/SettingsUpdate.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/privateLinkScopes.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/HybridCompute.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/AgentVersion_GetLatest.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/AgentVersions_Get.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/HybridIdentityMetadata_Get.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/HybridIdentityMetadata_ListByVirtualMachines.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/NetworkProfile_Get.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/Operations_List.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/extension/ExtensionMetadataV2_Get.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/extension/ExtensionMetadataV2_List.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/extension/ExtensionMetadata_Get.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/extension/ExtensionMetadata_List.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/extension/ExtensionPublisher_List.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/extension/ExtensionType_List.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/extension/Extension_Add.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/extension/Extension_CreateOrUpdate.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/extension/Extension_Delete.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/extension/Extension_Get.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/extension/Extension_List.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/extension/Extension_Update.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/extension/Extensions_Upgrade.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/gateway/Gateway_CreateOrUpdate.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/gateway/Gateway_Delete.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/gateway/Gateway_Get.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/gateway/Gateway_ListByResourceGroup.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/gateway/Gateway_ListBySubscription.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/gateway/Gateway_Update.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/license/License_CreateOrUpdate.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/license/License_Delete.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/license/License_Get.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/license/License_ListByResourceGroup.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/license/License_ListBySubscription.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/license/License_Update.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/license/License_ValidateLicense.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/licenseProfile/LicenseProfile_CreateOrUpdate.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/licenseProfile/LicenseProfile_Delete.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/licenseProfile/LicenseProfile_Get.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/licenseProfile/LicenseProfile_List.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/licenseProfile/LicenseProfile_Update.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/machine/Machine_AssessPatches.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/machine/Machine_InstallPatches.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/machine/Machines_CreateOrUpdate.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/machine/Machines_Delete.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/machine/Machines_Get.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/machine/Machines_Get_LicenseProfileInstanceView.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/machine/Machines_ListByResourceGroup.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/machine/Machines_ListBySubscription.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/machine/Machines_Update.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/networkConfiguration/NetworkConfigurationsCreate.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/networkConfiguration/NetworkConfigurationsGet.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/networkConfiguration/NetworkConfigurationsPatch.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/networkConfiguration/NetworkConfigurationsUpdate.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationGet.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationList.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationReconcile.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/privateEndpoint/PrivateEndpointConnection_Delete.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/privateEndpoint/PrivateEndpointConnection_Get.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/privateEndpoint/PrivateEndpointConnection_List.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/privateEndpoint/PrivateEndpointConnection_Update.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/privateLinkScope/PrivateLinkScopePrivateLinkResource_Get.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/privateLinkScope/PrivateLinkScopePrivateLinkResource_ListGet.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/privateLinkScope/PrivateLinkScopes_Create.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/privateLinkScope/PrivateLinkScopes_Delete.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/privateLinkScope/PrivateLinkScopes_Get.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/privateLinkScope/PrivateLinkScopes_GetValidation.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/privateLinkScope/PrivateLinkScopes_GetValidationForMachine.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/privateLinkScope/PrivateLinkScopes_List.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/privateLinkScope/PrivateLinkScopes_ListByResourceGroup.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/privateLinkScope/PrivateLinkScopes_Update.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/privateLinkScope/PrivateLinkScopes_UpdateTagsOnly.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/runCommand/RunCommands_CreateOrUpdate.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/runCommand/RunCommands_Delete.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/runCommand/RunCommands_Get.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/runCommand/RunCommands_List.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/runCommand/RunCommands_Update.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/settings/SettingsGet.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/settings/SettingsPatch.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/settings/SettingsUpdate.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/privateLinkScopes.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/HybridCompute.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/AgentVersion_GetLatest.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/AgentVersions_Get.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/HybridIdentityMetadata_Get.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/HybridIdentityMetadata_ListByVirtualMachines.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/NetworkProfile_Get.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/Operations_List.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/extension/ExtensionMetadataV2_Get.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/extension/ExtensionMetadataV2_List.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/extension/ExtensionMetadata_Get.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/extension/ExtensionMetadata_List.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/extension/ExtensionPublisher_List.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/extension/ExtensionType_List.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/extension/Extension_Add.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/extension/Extension_CreateOrUpdate.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/extension/Extension_Delete.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/extension/Extension_Get.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/extension/Extension_List.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/extension/Extension_Update.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/extension/Extensions_Upgrade.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/gateway/Gateway_CreateOrUpdate.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/gateway/Gateway_Delete.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/gateway/Gateway_Get.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/gateway/Gateway_ListByResourceGroup.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/gateway/Gateway_ListBySubscription.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/gateway/Gateway_Update.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/license/License_CreateOrUpdate.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/license/License_Delete.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/license/License_Get.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/license/License_ListByResourceGroup.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/license/License_ListBySubscription.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/license/License_Update.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/license/License_ValidateLicense.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/licenseProfile/LicenseProfile_CreateOrUpdate.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/licenseProfile/LicenseProfile_Delete.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/licenseProfile/LicenseProfile_Get.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/licenseProfile/LicenseProfile_List.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/licenseProfile/LicenseProfile_Update.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/machine/Machine_AssessPatches.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/machine/Machine_InstallPatches.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/machine/Machines_CreateOrUpdate.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/machine/Machines_Delete.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/machine/Machines_Get.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/machine/Machines_Get_LicenseProfileInstanceView.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/machine/Machines_ListByResourceGroup.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/machine/Machines_ListBySubscription.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/machine/Machines_Update.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/networkConfiguration/NetworkConfigurationsCreate.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/networkConfiguration/NetworkConfigurationsGet.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/networkConfiguration/NetworkConfigurationsPatch.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/networkConfiguration/NetworkConfigurationsUpdate.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationGet.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationList.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationReconcile.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/privateEndpoint/PrivateEndpointConnection_Delete.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/privateEndpoint/PrivateEndpointConnection_Get.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/privateEndpoint/PrivateEndpointConnection_List.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/privateEndpoint/PrivateEndpointConnection_Update.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/privateLinkScope/PrivateLinkScopePrivateLinkResource_Get.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/privateLinkScope/PrivateLinkScopePrivateLinkResource_ListGet.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/privateLinkScope/PrivateLinkScopes_Create.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/privateLinkScope/PrivateLinkScopes_Delete.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/privateLinkScope/PrivateLinkScopes_Get.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/privateLinkScope/PrivateLinkScopes_GetValidation.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/privateLinkScope/PrivateLinkScopes_GetValidationForMachine.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/privateLinkScope/PrivateLinkScopes_List.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/privateLinkScope/PrivateLinkScopes_ListByResourceGroup.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/privateLinkScope/PrivateLinkScopes_Update.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/privateLinkScope/PrivateLinkScopes_UpdateTagsOnly.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/runCommand/RunCommands_CreateOrUpdate.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/runCommand/RunCommands_Delete.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/runCommand/RunCommands_Get.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/runCommand/RunCommands_List.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/runCommand/RunCommands_Update.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/settings/SettingsGet.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/settings/SettingsPatch.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/settings/SettingsUpdate.json create mode 100644 specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/privateLinkScopes.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/ActiveDirectory.tsp create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/Cache.tsp create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/Elastic/ElasticAccount.tsp create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/Elastic/ElasticBackup.tsp create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/Elastic/ElasticBackupPolicy.tsp create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/Elastic/ElasticBackupVault.tsp create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/Elastic/ElasticCapacityPool.tsp create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/Elastic/ElasticRegionInfoResource.tsp create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/Elastic/ElasticSnapshot.tsp create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/Elastic/ElasticSnapshotPolicy.tsp create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/Elastic/ElasticVolume.tsp create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/RansomwareReport.tsp create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Accounts_ChangeKeyVault.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Accounts_CreateOrUpdate.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Accounts_CreateOrUpdateAD.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Accounts_Delete.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Accounts_Get.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Accounts_GetChangeKeyVaultInformation.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Accounts_List.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Accounts_ListBySubscription.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Accounts_RenewCredentials.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Accounts_TransitionEncryptionKey.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Accounts_Update.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ActiveDirectoryConfigs_CreateOrUpdate.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ActiveDirectoryConfigs_Delete.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ActiveDirectoryConfigs_Get.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ActiveDirectoryConfigs_ListByResourceGroup.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ActiveDirectoryConfigs_ListBySubscription.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ActiveDirectoryConfigs_Update.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/BackupPolicies_Create.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/BackupPolicies_Delete.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/BackupPolicies_Get.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/BackupPolicies_List.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/BackupPolicies_Update.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/BackupVaults_Create.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/BackupVaults_Delete.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/BackupVaults_Get.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/BackupVaults_List.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/BackupVaults_Update.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/BackupsUnderAccount_Migrate.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/BackupsUnderBackupVault_Create.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/BackupsUnderBackupVault_Delete.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/BackupsUnderBackupVault_Get.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/BackupsUnderBackupVault_SingleFileRestore.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/BackupsUnderBackupVault_Update.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/BackupsUnderVolume_Migrate.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Backups_ListByVault.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Buckets_CreateOrUpdate.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Buckets_Delete.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Buckets_GenerateCredentials.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Buckets_Get.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Buckets_List.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Buckets_Update.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Caches_CreateOrUpdate.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Caches_Delete.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Caches_Get.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Caches_ListByCapacityPools.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Caches_ListPeeringPassphrases.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Caches_PoolChange.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Caches_Update.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/CheckFilePathAvailability.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/CheckNameAvailability.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/CheckQuotaAvailability.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticAccounts_CreateOrUpdate.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticAccounts_Delete.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticAccounts_Get.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticAccounts_ListByResourceGroup.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticAccounts_ListBySubscription.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticAccounts_Update.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticBackupPolicies_CreateOrUpdate.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticBackupPolicies_Delete.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticBackupPolicies_Get.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticBackupPolicies_List.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticBackupPolicies_Update.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticBackupVaults_Create.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticBackupVaults_Delete.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticBackupVaults_Get.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticBackupVaults_ListByElasticAccount.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticBackupVaults_Update.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticBackups_CreateOrUpdate.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticBackups_Delete.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticBackups_Get.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticBackups_ListByVault.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticBackups_Update.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticCapacityPools_ChangeZone.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticCapacityPools_CheckVolumeFilePathAvailability.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticCapacityPools_CreateOrUpdate.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticCapacityPools_CreateOrUpdateCMK.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticCapacityPools_Delete.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticCapacityPools_Get.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticCapacityPools_ListByElasticAccount.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticCapacityPools_Update.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticRegionInfos_Get.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticRegionInfos_List.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticSnapshotPolicies_CreateOrUpdate.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticSnapshotPolicies_Delete.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticSnapshotPolicies_Get.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticSnapshotPolicies_ListByElasticAccount.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticSnapshotPolicies_ListElasticVolumes.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticSnapshotPolicies_Update.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticSnapshots_CreateOrUpdate.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticSnapshots_Delete.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticSnapshots_Get.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticSnapshots_ListByElasticVolume.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticVolumes_CreateOrUpdate.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticVolumes_CreateOrUpdate_SMB.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticVolumes_Delete.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticVolumes_Get.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticVolumes_Get_SMB.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticVolumes_ListByElasticPool.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticVolumes_List_SMB.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticVolumes_Revert.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticVolumes_Update.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticVolumes_Update_SMB.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/GroupIdListForLDAPUser.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/NetAppResourceQuotaLimitsAccount_Get.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/NetAppResourceQuotaLimitsAccount_List.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/NetAppResourceQuotaLimits_Get.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/NetAppResourceQuotaLimits_List.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/NetworkSiblingSet_Query.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/NetworkSiblingSet_Update.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/OperationList.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Pools_CreateOrUpdate.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Pools_CreateOrUpdate_CustomThroughput.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Pools_Delete.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Pools_Get.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Pools_Get_CustomThroughput.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Pools_List.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Pools_Update.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Pools_Update_CustomThroughput.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/RansomwareReports_ClearSuspects.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/RansomwareReports_Get.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/RansomwareReports_List.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/RegionInfo.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/RegionInfos_Get.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/RegionInfos_List.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/SnapshotPolicies_Create.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/SnapshotPolicies_Delete.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/SnapshotPolicies_Get.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/SnapshotPolicies_List.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/SnapshotPolicies_ListVolumes.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/SnapshotPolicies_Update.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Snapshots_Create.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Snapshots_Delete.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Snapshots_Get.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Snapshots_List.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Snapshots_SingleFileRestore.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Snapshots_Update.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Subvolumes_Create.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Subvolumes_Delete.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Subvolumes_Get.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Subvolumes_List.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Subvolumes_Metadata.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Subvolumes_Update.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Usages_Get.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Usages_List.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/VolumeGroups_Create_Oracle.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/VolumeGroups_Create_SapHana.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/VolumeGroups_Delete.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/VolumeGroups_Get_Oracle.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/VolumeGroups_Get_SapHana.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/VolumeGroups_List_Oracle.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/VolumeGroups_List_SapHana.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/VolumeQuotaRules_Create.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/VolumeQuotaRules_Delete.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/VolumeQuotaRules_Get.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/VolumeQuotaRules_List.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/VolumeQuotaRules_Update.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_AuthorizeExternalReplication.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_AuthorizeReplication.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_BreakFileLocks.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_BreakReplication.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_CreateOrUpdate.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_Delete.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_DeleteReplication.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_ExtraLargeVolumes_Get.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_ExtraLargeVolumes_List.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_FinalizeExternalReplication.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_FinalizeRelocation.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_Get.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_LatestBackupStatus.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_LatestRestoreStatus.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_List.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_ListQuotaReport.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_ListReplications.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_PeerExternalCluster.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_PerformReplicationTransfer.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_PoolChange.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_PopulateAvailabilityZones.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_ReInitializeReplication.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_ReestablishReplication.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_Relocate.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_ReplicationStatus.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_ResetCifsPassword.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_ResyncReplication.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_Revert.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_RevertRelocation.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_SplitClone.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_Update.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Accounts_ChangeKeyVault.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Accounts_CreateOrUpdate.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Accounts_CreateOrUpdateAD.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Accounts_Delete.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Accounts_Get.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Accounts_GetChangeKeyVaultInformation.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Accounts_List.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Accounts_ListBySubscription.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Accounts_RenewCredentials.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Accounts_TransitionEncryptionKey.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Accounts_Update.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/BackupPolicies_Create.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/BackupPolicies_Delete.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/BackupPolicies_Get.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/BackupPolicies_List.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/BackupPolicies_Update.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/BackupVaults_Create.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/BackupVaults_Delete.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/BackupVaults_Get.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/BackupVaults_List.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/BackupVaults_Update.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/BackupsUnderAccount_Migrate.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/BackupsUnderBackupVault_Create.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/BackupsUnderBackupVault_Delete.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/BackupsUnderBackupVault_Get.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/BackupsUnderBackupVault_List.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/BackupsUnderBackupVault_SingleFileRestore.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/BackupsUnderBackupVault_Update.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/BackupsUnderVolume_Migrate.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/CheckFilePathAvailability.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/CheckNameAvailability.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/CheckQuotaAvailability.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/GroupIdListForLDAPUser.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/NetAppResourceQuotaLimitsAccount_Get.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/NetAppResourceQuotaLimitsAccount_List.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/NetAppResourceQuotaLimits_Get.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/NetAppResourceQuotaLimits_List.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/NetworkSiblingSet_Query.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/NetworkSiblingSet_Update.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/OperationList.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Pools_CreateOrUpdate.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Pools_CreateOrUpdate_CustomThroughput.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Pools_Delete.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Pools_Get.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Pools_Get_CustomThroughput.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Pools_List.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Pools_Update.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Pools_Update_CustomThroughput.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/RegionInfo.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/RegionInfos_Get.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/RegionInfos_List.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/SnapshotPolicies_Create.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/SnapshotPolicies_Delete.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/SnapshotPolicies_Get.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/SnapshotPolicies_List.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/SnapshotPolicies_ListVolumes.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/SnapshotPolicies_Update.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Snapshots_Create.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Snapshots_Delete.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Snapshots_Get.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Snapshots_List.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Snapshots_SingleFileRestore.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Snapshots_Update.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Subvolumes_Create.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Subvolumes_Delete.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Subvolumes_Get.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Subvolumes_List.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Subvolumes_Metadata.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Subvolumes_Update.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Usages_Get.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Usages_List.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/VolumeGroups_Create_Oracle.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/VolumeGroups_Create_SapHana.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/VolumeGroups_Delete.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/VolumeGroups_Get_Oracle.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/VolumeGroups_Get_SapHana.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/VolumeGroups_List_Oracle.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/VolumeGroups_List_SapHana.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/VolumeQuotaRules_Create.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/VolumeQuotaRules_Delete.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/VolumeQuotaRules_Get.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/VolumeQuotaRules_List.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/VolumeQuotaRules_Update.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_AuthorizeExternalReplication.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_AuthorizeReplication.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_BreakFileLocks.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_BreakReplication.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_CreateOrUpdate.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_Delete.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_DeleteReplication.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_FinalizeExternalReplication.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_FinalizeRelocation.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_Get.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_LatestBackupStatus.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_LatestRestoreStatus.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_List.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_ListQuotaReport.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_ListReplications.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_PeerExternalCluster.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_PerformReplicationTransfer.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_PoolChange.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_PopulateAvailabilityZones.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_ReInitializeReplication.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_ReestablishReplication.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_Relocate.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_ReplicationStatus.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_ResetCifsPassword.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_ResyncReplication.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_Revert.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_RevertRelocation.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_SplitClone.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_Update.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Accounts_ChangeKeyVault.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Accounts_CreateOrUpdate.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Accounts_CreateOrUpdateAD.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Accounts_Delete.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Accounts_Get.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Accounts_GetChangeKeyVaultInformation.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Accounts_List.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Accounts_ListBySubscription.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Accounts_RenewCredentials.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Accounts_TransitionEncryptionKey.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Accounts_Update.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ActiveDirectoryConfigs_CreateOrUpdate.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ActiveDirectoryConfigs_Delete.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ActiveDirectoryConfigs_Get.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ActiveDirectoryConfigs_ListByResourceGroup.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ActiveDirectoryConfigs_ListBySubscription.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ActiveDirectoryConfigs_Update.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/BackupPolicies_Create.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/BackupPolicies_Delete.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/BackupPolicies_Get.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/BackupPolicies_List.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/BackupPolicies_Update.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/BackupVaults_Create.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/BackupVaults_Delete.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/BackupVaults_Get.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/BackupVaults_List.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/BackupVaults_Update.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/BackupsUnderAccount_Migrate.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/BackupsUnderBackupVault_Create.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/BackupsUnderBackupVault_Delete.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/BackupsUnderBackupVault_Get.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/BackupsUnderBackupVault_SingleFileRestore.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/BackupsUnderBackupVault_Update.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/BackupsUnderVolume_Migrate.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Backups_ListByVault.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Buckets_CreateOrUpdate.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Buckets_Delete.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Buckets_GenerateCredentials.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Buckets_Get.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Buckets_List.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Buckets_Update.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Caches_CreateOrUpdate.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Caches_Delete.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Caches_Get.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Caches_ListByCapacityPools.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Caches_ListPeeringPassphrases.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Caches_PoolChange.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Caches_Update.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/CheckFilePathAvailability.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/CheckNameAvailability.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/CheckQuotaAvailability.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticAccounts_CreateOrUpdate.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticAccounts_Delete.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticAccounts_Get.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticAccounts_ListByResourceGroup.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticAccounts_ListBySubscription.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticAccounts_Update.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticBackupPolicies_CreateOrUpdate.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticBackupPolicies_Delete.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticBackupPolicies_Get.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticBackupPolicies_List.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticBackupPolicies_Update.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticBackupVaults_Create.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticBackupVaults_Delete.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticBackupVaults_Get.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticBackupVaults_ListByElasticAccount.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticBackupVaults_Update.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticBackups_CreateOrUpdate.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticBackups_Delete.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticBackups_Get.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticBackups_ListByVault.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticBackups_Update.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticCapacityPools_ChangeZone.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticCapacityPools_CheckVolumeFilePathAvailability.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticCapacityPools_CreateOrUpdate.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticCapacityPools_CreateOrUpdateCMK.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticCapacityPools_Delete.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticCapacityPools_Get.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticCapacityPools_ListByElasticAccount.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticCapacityPools_ListByNetAppAccount.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticCapacityPools_Update.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticSnapshotPolicies_CreateOrUpdate.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticSnapshotPolicies_Delete.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticSnapshotPolicies_Get.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticSnapshotPolicies_ListByElasticAccount.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticSnapshotPolicies_ListElasticVolumes.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticSnapshotPolicies_ListVolumes.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticSnapshotPolicies_Update.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticSnapshots_CreateOrUpdate.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticSnapshots_Delete.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticSnapshots_Get.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticSnapshots_ListByElasticVolume.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticVolumes_CreateOrUpdate.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticVolumes_Delete.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticVolumes_Get.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticVolumes_ListByElasticPool.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticVolumes_Revert.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticVolumes_Update.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/GroupIdListForLDAPUser.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/NetAppResourceQuotaLimitsAccount_Get.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/NetAppResourceQuotaLimitsAccount_List.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/NetAppResourceQuotaLimits_Get.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/NetAppResourceQuotaLimits_List.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/NetworkSiblingSet_Query.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/NetworkSiblingSet_Update.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/OperationList.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Pools_CreateOrUpdate.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Pools_CreateOrUpdate_CustomThroughput.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Pools_Delete.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Pools_Get.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Pools_Get_CustomThroughput.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Pools_List.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Pools_Update.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Pools_Update_CustomThroughput.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/RansomwareReports_ClearSuspects.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/RansomwareReports_Get.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/RansomwareReports_List.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/RegionInfo.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/RegionInfos_Get.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/RegionInfos_List.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/SnapshotPolicies_Create.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/SnapshotPolicies_Delete.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/SnapshotPolicies_Get.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/SnapshotPolicies_List.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/SnapshotPolicies_ListVolumes.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/SnapshotPolicies_Update.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Snapshots_Create.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Snapshots_Delete.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Snapshots_Get.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Snapshots_List.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Snapshots_SingleFileRestore.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Snapshots_Update.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Subvolumes_Create.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Subvolumes_Delete.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Subvolumes_Get.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Subvolumes_List.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Subvolumes_Metadata.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Subvolumes_Update.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Usages_Get.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Usages_List.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/VolumeGroups_Create_Oracle.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/VolumeGroups_Create_SapHana.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/VolumeGroups_Delete.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/VolumeGroups_Get_Oracle.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/VolumeGroups_Get_SapHana.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/VolumeGroups_List_Oracle.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/VolumeGroups_List_SapHana.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/VolumeQuotaRules_Create.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/VolumeQuotaRules_Delete.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/VolumeQuotaRules_Get.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/VolumeQuotaRules_List.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/VolumeQuotaRules_Update.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_AuthorizeExternalReplication.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_AuthorizeReplication.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_BreakFileLocks.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_BreakReplication.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_CreateOrUpdate.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_Delete.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_DeleteReplication.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_ExtraLargeVolumes_Get.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_ExtraLargeVolumes_List.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_FinalizeExternalReplication.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_FinalizeRelocation.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_Get.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_LatestBackupStatus.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_LatestRestoreStatus.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_List.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_ListQuotaReport.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_ListReplications.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_PeerExternalCluster.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_PerformReplicationTransfer.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_PoolChange.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_PopulateAvailabilityZones.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_ReInitializeReplication.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_ReestablishReplication.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_Relocate.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_ReplicationStatus.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_ResetCifsPassword.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_ResyncReplication.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_Revert.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_RevertRelocation.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_SplitClone.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_Update.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/netapp.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Accounts_ChangeKeyVault.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Accounts_CreateOrUpdate.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Accounts_CreateOrUpdateAD.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Accounts_Delete.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Accounts_Get.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Accounts_GetChangeKeyVaultInformation.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Accounts_List.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Accounts_ListBySubscription.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Accounts_RenewCredentials.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Accounts_TransitionEncryptionKey.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Accounts_Update.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/BackupPolicies_Create.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/BackupPolicies_Delete.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/BackupPolicies_Get.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/BackupPolicies_List.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/BackupPolicies_Update.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/BackupVaults_Create.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/BackupVaults_Delete.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/BackupVaults_Get.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/BackupVaults_List.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/BackupVaults_Update.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/BackupsUnderAccount_Migrate.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/BackupsUnderBackupVault_Create.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/BackupsUnderBackupVault_Delete.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/BackupsUnderBackupVault_Get.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/BackupsUnderBackupVault_List.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/BackupsUnderBackupVault_SingleFileRestore.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/BackupsUnderBackupVault_Update.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/BackupsUnderVolume_Migrate.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/CheckFilePathAvailability.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/CheckNameAvailability.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/CheckQuotaAvailability.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/GroupIdListForLDAPUser.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/NetAppResourceQuotaLimitsAccount_Get.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/NetAppResourceQuotaLimitsAccount_List.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/NetAppResourceQuotaLimits_Get.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/NetAppResourceQuotaLimits_List.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/NetworkSiblingSet_Query.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/NetworkSiblingSet_Update.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/OperationList.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Pools_CreateOrUpdate.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Pools_CreateOrUpdate_CustomThroughput.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Pools_Delete.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Pools_Get.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Pools_Get_CustomThroughput.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Pools_List.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Pools_Update.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Pools_Update_CustomThroughput.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/RegionInfo.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/RegionInfos_Get.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/RegionInfos_List.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/SnapshotPolicies_Create.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/SnapshotPolicies_Delete.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/SnapshotPolicies_Get.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/SnapshotPolicies_List.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/SnapshotPolicies_ListVolumes.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/SnapshotPolicies_Update.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Snapshots_Create.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Snapshots_Delete.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Snapshots_Get.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Snapshots_List.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Snapshots_SingleFileRestore.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Snapshots_Update.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Subvolumes_Create.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Subvolumes_Delete.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Subvolumes_Get.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Subvolumes_List.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Subvolumes_Metadata.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Subvolumes_Update.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Usages_Get.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Usages_List.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/VolumeGroups_Create_Oracle.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/VolumeGroups_Create_SapHana.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/VolumeGroups_Delete.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/VolumeGroups_Get_Oracle.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/VolumeGroups_Get_SapHana.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/VolumeGroups_List_Oracle.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/VolumeGroups_List_SapHana.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/VolumeQuotaRules_Create.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/VolumeQuotaRules_Delete.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/VolumeQuotaRules_Get.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/VolumeQuotaRules_List.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/VolumeQuotaRules_Update.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_AuthorizeExternalReplication.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_AuthorizeReplication.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_BreakFileLocks.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_BreakReplication.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_CreateOrUpdate.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_Delete.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_DeleteReplication.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_FinalizeExternalReplication.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_FinalizeRelocation.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_Get.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_LatestBackupStatus.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_LatestRestoreStatus.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_List.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_ListQuotaReport.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_ListReplications.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_PeerExternalCluster.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_PerformReplicationTransfer.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_PoolChange.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_PopulateAvailabilityZones.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_ReInitializeReplication.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_ReestablishReplication.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_Relocate.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_ReplicationStatus.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_ResetCifsPassword.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_ResyncReplication.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_Revert.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_RevertRelocation.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_SplitClone.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_Update.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/netapp.json create mode 100644 specification/quantum/Microsoft.Quantum.Management/examples/2025-11-01-preview/Offerings_List.json create mode 100644 specification/quantum/Microsoft.Quantum.Management/examples/2025-11-01-preview/Operations_List.json create mode 100644 specification/quantum/Microsoft.Quantum.Management/examples/2025-11-01-preview/SuiteOffers_ListBySubscription.json create mode 100644 specification/quantum/Microsoft.Quantum.Management/examples/2025-11-01-preview/Workspaces_CheckNameAvailability.json create mode 100644 specification/quantum/Microsoft.Quantum.Management/examples/2025-11-01-preview/Workspaces_CreateOrUpdate.json create mode 100644 specification/quantum/Microsoft.Quantum.Management/examples/2025-11-01-preview/Workspaces_Delete.json create mode 100644 specification/quantum/Microsoft.Quantum.Management/examples/2025-11-01-preview/Workspaces_Get.json create mode 100644 specification/quantum/Microsoft.Quantum.Management/examples/2025-11-01-preview/Workspaces_ListByResourceGroup.json create mode 100644 specification/quantum/Microsoft.Quantum.Management/examples/2025-11-01-preview/Workspaces_ListBySubscription.json create mode 100644 specification/quantum/Microsoft.Quantum.Management/examples/2025-11-01-preview/Workspaces_ListKeys.json create mode 100644 specification/quantum/Microsoft.Quantum.Management/examples/2025-11-01-preview/Workspaces_RegenerateKeys.json create mode 100644 specification/quantum/Microsoft.Quantum.Management/examples/2025-11-01-preview/Workspaces_UpdateTags.json create mode 100644 specification/quantum/resource-manager/Microsoft.Quantum/preview/2025-11-01-preview/examples/Offerings_List.json create mode 100644 specification/quantum/resource-manager/Microsoft.Quantum/preview/2025-11-01-preview/examples/Operations_List.json create mode 100644 specification/quantum/resource-manager/Microsoft.Quantum/preview/2025-11-01-preview/examples/SuiteOffers_ListBySubscription.json create mode 100644 specification/quantum/resource-manager/Microsoft.Quantum/preview/2025-11-01-preview/examples/Workspaces_CheckNameAvailability.json create mode 100644 specification/quantum/resource-manager/Microsoft.Quantum/preview/2025-11-01-preview/examples/Workspaces_CreateOrUpdate.json create mode 100644 specification/quantum/resource-manager/Microsoft.Quantum/preview/2025-11-01-preview/examples/Workspaces_Delete.json create mode 100644 specification/quantum/resource-manager/Microsoft.Quantum/preview/2025-11-01-preview/examples/Workspaces_Get.json create mode 100644 specification/quantum/resource-manager/Microsoft.Quantum/preview/2025-11-01-preview/examples/Workspaces_ListByResourceGroup.json create mode 100644 specification/quantum/resource-manager/Microsoft.Quantum/preview/2025-11-01-preview/examples/Workspaces_ListBySubscription.json create mode 100644 specification/quantum/resource-manager/Microsoft.Quantum/preview/2025-11-01-preview/examples/Workspaces_ListKeys.json create mode 100644 specification/quantum/resource-manager/Microsoft.Quantum/preview/2025-11-01-preview/examples/Workspaces_RegenerateKeys.json create mode 100644 specification/quantum/resource-manager/Microsoft.Quantum/preview/2025-11-01-preview/examples/Workspaces_UpdateTags.json create mode 100644 specification/quantum/resource-manager/Microsoft.Quantum/preview/2025-11-01-preview/quantum.json create mode 100644 specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/Appliance.tsp create mode 100644 specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/back-compatible.tsp create mode 100644 specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/client.tsp create mode 100644 specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/examples/2022-10-27/AppliancesCreate_Update.json create mode 100644 specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/examples/2022-10-27/AppliancesDelete.json create mode 100644 specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/examples/2022-10-27/AppliancesGet.json create mode 100644 specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/examples/2022-10-27/AppliancesListByResourceGroup.json create mode 100644 specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/examples/2022-10-27/AppliancesListBySubscription.json create mode 100644 specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/examples/2022-10-27/AppliancesListClusterUserCredential.json create mode 100644 specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/examples/2022-10-27/AppliancesListKeys.json create mode 100644 specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/examples/2022-10-27/AppliancesListOperations.json create mode 100644 specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/examples/2022-10-27/AppliancesPatch.json create mode 100644 specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/examples/2022-10-27/TelemetryConfig.json create mode 100644 specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/examples/2022-10-27/UpgradeGraph.json create mode 100644 specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/main.tsp create mode 100644 specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/models.tsp create mode 100644 specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/routes.tsp create mode 100644 specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/tspconfig.yaml create mode 100644 specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/KnowledgeBaseRetrieve.json create mode 100644 specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/KnowledgeBaseRetrieveWithIntents.json create mode 100644 specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchIndexAutocompleteDocumentsGet.json create mode 100644 specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchIndexAutocompleteDocumentsPost.json create mode 100644 specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchIndexCountDocuments.json create mode 100644 specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchIndexGetDocument.json create mode 100644 specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchIndexIndexDocuments.json create mode 100644 specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchIndexSearchDocumentsGet.json create mode 100644 specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchIndexSearchDocumentsPost.json create mode 100644 specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchIndexSearchDocumentsPostOsV2.json create mode 100644 specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchIndexSearchDocumentsSemanticGet.json create mode 100644 specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchIndexSearchDocumentsSemanticPost.json create mode 100644 specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchIndexSuggestDocumentsGet.json create mode 100644 specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchIndexSuggestDocumentsPost.json create mode 100644 specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceCreateAlias.json create mode 100644 specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceCreateDataSource.json create mode 100644 specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceCreateIndex.json create mode 100644 specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceCreateIndexer.json create mode 100644 specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceCreateKnowledgeBase.json create mode 100644 specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceCreateKnowledgeSource.json create mode 100644 specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceCreateKnowledgeSourceAzureBlob.json create mode 100644 specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceCreateKnowledgeSourceIndexedOneLake.json create mode 100644 specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceCreateKnowledgeSourceIndexedSharePoint.json create mode 100644 specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceCreateKnowledgeSourceIngestedSharePoint.json create mode 100644 specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceCreateKnowledgeSourceWeb.json create mode 100644 specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceCreateOrUpdateAlias.json create mode 100644 specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceCreateOrUpdateDataSource.json create mode 100644 specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceCreateOrUpdateIndex.json create mode 100644 specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceCreateOrUpdateIndexer.json create mode 100644 specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceCreateOrUpdateKnowledgeBase.json create mode 100644 specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceCreateOrUpdateKnowledgeSource.json create mode 100644 specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceCreateOrUpdateKnowledgeSourceAzureBlob.json create mode 100644 specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceCreateOrUpdateKnowledgeSourceIndexedOneLake.json create mode 100644 specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceCreateOrUpdateKnowledgeSourceIndexedSharePoint.json create mode 100644 specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceCreateOrUpdateKnowledgeSourceIngestedSharePoint.json create mode 100644 specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceCreateOrUpdateKnowledgeSourceWeb.json create mode 100644 specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceCreateOrUpdateSkillset.json create mode 100644 specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceCreateOrUpdateSynonymMap.json create mode 100644 specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceCreateSkillset.json create mode 100644 specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceCreateSynonymMap.json create mode 100644 specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceDeleteAlias.json create mode 100644 specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceDeleteDataSource.json create mode 100644 specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceDeleteIndex.json create mode 100644 specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceDeleteIndexer.json create mode 100644 specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceDeleteKnowledgeBase.json create mode 100644 specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceDeleteKnowledgeSource.json create mode 100644 specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceDeleteKnowledgeSourceAzureBlob.json create mode 100644 specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceDeleteKnowledgeSourceIndexedOneLake.json create mode 100644 specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceDeleteKnowledgeSourceIndexedSharePoint.json create mode 100644 specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceDeleteKnowledgeSourceIngestedSharePoint.json create mode 100644 specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceDeleteKnowledgeSourceWeb.json create mode 100644 specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceDeleteSkillset.json create mode 100644 specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceDeleteSynonymMap.json create mode 100644 specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceGetAlias.json create mode 100644 specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceGetDataSource.json create mode 100644 specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceGetIndex.json create mode 100644 specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceGetIndexStatistics.json create mode 100644 specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceGetIndexStatsSummary.json create mode 100644 specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceGetIndexer.json create mode 100644 specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceGetIndexerStatus.json create mode 100644 specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceGetKnowledgeBase.json create mode 100644 specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceGetKnowledgeSource.json create mode 100644 specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceGetKnowledgeSourceAzureBlob.json create mode 100644 specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceGetKnowledgeSourceIndexedOneLake.json create mode 100644 specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceGetKnowledgeSourceIndexedSharePoint.json create mode 100644 specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceGetKnowledgeSourceIngestedSharePoint.json create mode 100644 specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceGetKnowledgeSourceStatus.json create mode 100644 specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceGetKnowledgeSourceWeb.json create mode 100644 specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceGetS3HDUnlimitedIndexerStatus.json create mode 100644 specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceGetS3HDUnlimitedServiceStatistics.json create mode 100644 specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceGetServiceStatistics.json create mode 100644 specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceGetSkillset.json create mode 100644 specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceGetSynonymMap.json create mode 100644 specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceIndexAnalyze.json create mode 100644 specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceListAliases.json create mode 100644 specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceListDataSources.json create mode 100644 specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceListIndexers.json create mode 100644 specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceListIndexes.json create mode 100644 specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceListKnowledgeBases.json create mode 100644 specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceListKnowledgeSources.json create mode 100644 specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceListKnowledgeSourcesAzureBlob.json create mode 100644 specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceListKnowledgeSourcesIndexedOneLake.json create mode 100644 specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceListKnowledgeSourcesIndexedSharePoint.json create mode 100644 specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceListKnowledgeSourcesIngestedSharePoint.json create mode 100644 specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceListKnowledgeSourcesWeb.json create mode 100644 specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceListSkillsets.json create mode 100644 specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceListSynonymMaps.json create mode 100644 specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceResetDocs.json create mode 100644 specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceResetIndexer.json create mode 100644 specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceResetSkills.json create mode 100644 specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceResync.json create mode 100644 specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceRunIndexer.json create mode 100644 specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/knowledgebase.json create mode 100644 specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/searchindex.json create mode 100644 specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/searchservice.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ApplicationActionFetchHealth_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ApplicationActionGetUpgrade_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ApplicationActionRestartDeployedCodePackage_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ApplicationActionResumeUpgrade_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ApplicationActionStartRollback_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ApplicationActionUpdateUpgrade_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ApplicationDeleteOperation_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ApplicationGetOperation_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ApplicationListOperation_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ApplicationPatchOperation_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ApplicationPutOperation_example_max.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ApplicationPutOperation_example_min.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ApplicationTypeNameDeleteOperation_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ApplicationTypeNameGetOperation_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ApplicationTypeNameListOperation_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ApplicationTypeNamePatchOperation_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ApplicationTypeNamePutOperation_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ApplicationTypeVersionDeleteOperation_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ApplicationTypeVersionGetOperation_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ApplicationTypeVersionListOperation_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ApplicationTypeVersionPatchOperation_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ApplicationTypeVersionPutOperation_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/DeallocateNodes_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/DeleteNodes_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ManagedApplyMaintenanceWindowPost_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ManagedClusterDeleteOperation_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ManagedClusterGetOperation_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ManagedClusterListByResourceGroupOperation_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ManagedClusterListBySubscriptionOperation_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ManagedClusterPatchOperation_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ManagedClusterPutOperation_example_max.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ManagedClusterPutOperation_example_min.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ManagedClusterVersionGetByEnvironment_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ManagedClusterVersionGet_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ManagedClusterVersionListByEnvironment.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ManagedClusterVersionList_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ManagedMaintenanceWindowStatusGet_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/NodeTypeDeleteOperation_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/NodeTypeGetOperation_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/NodeTypeListOperation_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/NodeTypePatchOperationAutoScale_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/NodeTypePatchOperation_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/NodeTypePutOperationAutoScale_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/NodeTypePutOperationCustomImage_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/NodeTypePutOperationCustomSharedGalleriesImage_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/NodeTypePutOperationDedicatedHost_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/NodeTypePutOperationStateless_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/NodeTypePutOperationVmImagePlan_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/NodeTypePutOperation_example_max.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/NodeTypePutOperation_example_min.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/NodeTypeSkusListOperation_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/OperationResultsGet_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/OperationStatusFailed_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/OperationStatusSucceeded_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/OperationsList_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/RedeployNodes_UD_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/RedeployNodes_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ReimageNodes_UD_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ReimageNodes_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/RestartNodes_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ServiceActionRestartReplica_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ServiceDeleteOperation_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ServiceGetOperation_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ServiceListOperation_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ServicePatchOperation_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ServicePutOperation_example_max.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ServicePutOperation_example_min.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/StartNodes_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/faultSimulation/ManagedClusterGetFaultSimulation_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/faultSimulation/ManagedClusterListFaultSimulation_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/faultSimulation/ManagedClusterStartFaultSimulation_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/faultSimulation/ManagedClusterStopFaultSimulation_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/faultSimulation/NodeTypeGetFaultSimulation_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/faultSimulation/NodeTypeListFaultSimulation_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/faultSimulation/NodeTypeStartFaultSimulation_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/faultSimulation/NodeTypeStopFaultSimulation_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/managedAzResiliencyStatusGet_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/managedUnsupportedVMSizesGet_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/managedUnsupportedVMSizesList_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ApplicationActionFetchApplicationHealth_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ApplicationActionFetchHealth_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ApplicationActionGetUpgrade_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ApplicationActionRestartDeployedCodePackage_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ApplicationActionResumeUpgrade_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ApplicationActionStartRollback_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ApplicationActionUpdateUpgrade_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ApplicationDeleteOperation_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ApplicationGetOperation_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ApplicationListOperation_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ApplicationPatchOperation_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ApplicationPutOperation_example_max.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ApplicationPutOperation_example_min.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ApplicationTypeNameDeleteOperation_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ApplicationTypeNameGetOperation_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ApplicationTypeNameListOperation_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ApplicationTypeNamePatchOperation_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ApplicationTypeNamePutOperation_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ApplicationTypeVersionDeleteOperation_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ApplicationTypeVersionGetOperation_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ApplicationTypeVersionListOperation_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ApplicationTypeVersionPatchOperation_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ApplicationTypeVersionPutOperation_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/DeallocateNodes_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/DeleteNodes_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ManagedApplyMaintenanceWindowPost_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ManagedClusterDeleteOperation_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ManagedClusterGetOperation_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ManagedClusterListByResourceGroupOperation_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ManagedClusterListBySubscriptionOperation_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ManagedClusterPatchOperation_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ManagedClusterPutOperation_example_max.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ManagedClusterPutOperation_example_min.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ManagedClusterVersionGetByEnvironment_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ManagedClusterVersionGet_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ManagedClusterVersionListByEnvironment.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ManagedClusterVersionList_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ManagedMaintenanceWindowStatusGet_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/NodeTypeDeleteOperation_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/NodeTypeGetOperation_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/NodeTypeListOperation_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/NodeTypePatchOperationAutoScale_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/NodeTypePatchOperation_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/NodeTypePutOperationAutoScale_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/NodeTypePutOperationCustomImage_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/NodeTypePutOperationCustomSharedGalleriesImage_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/NodeTypePutOperationDedicatedHost_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/NodeTypePutOperationStateless_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/NodeTypePutOperationVmImagePlan_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/NodeTypePutOperation_example_max.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/NodeTypePutOperation_example_min.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/NodeTypeSkusListOperation_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/OperationResultsGet_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/OperationStatusFailed_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/OperationStatusSucceeded_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/OperationsList_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/RedeployNodes_UD_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/RedeployNodes_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ReimageNodes_UD_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ReimageNodes_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/RestartNodes_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ServiceActionRestartReplica_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ServiceDeleteOperation_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ServiceGetOperation_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ServiceListOperation_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ServicePatchOperation_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ServicePutOperation_example_max.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ServicePutOperation_example_min.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/StartNodes_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/faultSimulation/ManagedClusterGetFaultSimulation_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/faultSimulation/ManagedClusterListFaultSimulation_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/faultSimulation/ManagedClusterStartFaultSimulation_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/faultSimulation/ManagedClusterStopFaultSimulation_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/faultSimulation/NodeTypeGetFaultSimulation_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/faultSimulation/NodeTypeListFaultSimulation_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/faultSimulation/NodeTypeStartFaultSimulation_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/faultSimulation/NodeTypeStopFaultSimulation_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/managedAzResiliencyStatusGet_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/managedUnsupportedVMSizesGet_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/managedUnsupportedVMSizesList_example.json create mode 100644 specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/servicefabricmanagedclusters.json create mode 100644 specification/standbypool/StandbyPool.Management/examples/2025-10-01/Operations_List.json create mode 100644 specification/standbypool/StandbyPool.Management/examples/2025-10-01/StandbyContainerGroupPoolRuntimeViews_Get.json create mode 100644 specification/standbypool/StandbyPool.Management/examples/2025-10-01/StandbyContainerGroupPoolRuntimeViews_ListByStandbyPool.json create mode 100644 specification/standbypool/StandbyPool.Management/examples/2025-10-01/StandbyContainerGroupPools_CreateOrUpdate.json create mode 100644 specification/standbypool/StandbyPool.Management/examples/2025-10-01/StandbyContainerGroupPools_Delete.json create mode 100644 specification/standbypool/StandbyPool.Management/examples/2025-10-01/StandbyContainerGroupPools_Get.json create mode 100644 specification/standbypool/StandbyPool.Management/examples/2025-10-01/StandbyContainerGroupPools_ListByResourceGroup.json create mode 100644 specification/standbypool/StandbyPool.Management/examples/2025-10-01/StandbyContainerGroupPools_ListBySubscription.json create mode 100644 specification/standbypool/StandbyPool.Management/examples/2025-10-01/StandbyContainerGroupPools_Update.json create mode 100644 specification/standbypool/StandbyPool.Management/examples/2025-10-01/StandbyVirtualMachinePoolRuntimeViews_Get.json create mode 100644 specification/standbypool/StandbyPool.Management/examples/2025-10-01/StandbyVirtualMachinePoolRuntimeViews_ListByStandbyPool.json create mode 100644 specification/standbypool/StandbyPool.Management/examples/2025-10-01/StandbyVirtualMachinePools_CreateOrUpdate.json create mode 100644 specification/standbypool/StandbyPool.Management/examples/2025-10-01/StandbyVirtualMachinePools_Delete.json create mode 100644 specification/standbypool/StandbyPool.Management/examples/2025-10-01/StandbyVirtualMachinePools_Get.json create mode 100644 specification/standbypool/StandbyPool.Management/examples/2025-10-01/StandbyVirtualMachinePools_ListByResourceGroup.json create mode 100644 specification/standbypool/StandbyPool.Management/examples/2025-10-01/StandbyVirtualMachinePools_ListBySubscription.json create mode 100644 specification/standbypool/StandbyPool.Management/examples/2025-10-01/StandbyVirtualMachinePools_Update.json create mode 100644 specification/standbypool/StandbyPool.Management/examples/2025-10-01/StandbyVirtualMachines_Get.json create mode 100644 specification/standbypool/StandbyPool.Management/examples/2025-10-01/StandbyVirtualMachines_ListByStandbyVirtualMachinePoolResource.json create mode 100644 specification/standbypool/StandbyPool.Management/models.tsp create mode 100644 specification/standbypool/resource-manager/Microsoft.StandbyPool/stable/2025-10-01/examples/Operations_List.json create mode 100644 specification/standbypool/resource-manager/Microsoft.StandbyPool/stable/2025-10-01/examples/StandbyContainerGroupPoolRuntimeViews_Get.json create mode 100644 specification/standbypool/resource-manager/Microsoft.StandbyPool/stable/2025-10-01/examples/StandbyContainerGroupPoolRuntimeViews_ListByStandbyPool.json create mode 100644 specification/standbypool/resource-manager/Microsoft.StandbyPool/stable/2025-10-01/examples/StandbyContainerGroupPools_CreateOrUpdate.json create mode 100644 specification/standbypool/resource-manager/Microsoft.StandbyPool/stable/2025-10-01/examples/StandbyContainerGroupPools_Delete.json create mode 100644 specification/standbypool/resource-manager/Microsoft.StandbyPool/stable/2025-10-01/examples/StandbyContainerGroupPools_Get.json create mode 100644 specification/standbypool/resource-manager/Microsoft.StandbyPool/stable/2025-10-01/examples/StandbyContainerGroupPools_ListByResourceGroup.json create mode 100644 specification/standbypool/resource-manager/Microsoft.StandbyPool/stable/2025-10-01/examples/StandbyContainerGroupPools_ListBySubscription.json create mode 100644 specification/standbypool/resource-manager/Microsoft.StandbyPool/stable/2025-10-01/examples/StandbyContainerGroupPools_Update.json create mode 100644 specification/standbypool/resource-manager/Microsoft.StandbyPool/stable/2025-10-01/examples/StandbyVirtualMachinePoolRuntimeViews_Get.json create mode 100644 specification/standbypool/resource-manager/Microsoft.StandbyPool/stable/2025-10-01/examples/StandbyVirtualMachinePoolRuntimeViews_ListByStandbyPool.json create mode 100644 specification/standbypool/resource-manager/Microsoft.StandbyPool/stable/2025-10-01/examples/StandbyVirtualMachinePools_CreateOrUpdate.json create mode 100644 specification/standbypool/resource-manager/Microsoft.StandbyPool/stable/2025-10-01/examples/StandbyVirtualMachinePools_Delete.json create mode 100644 specification/standbypool/resource-manager/Microsoft.StandbyPool/stable/2025-10-01/examples/StandbyVirtualMachinePools_Get.json create mode 100644 specification/standbypool/resource-manager/Microsoft.StandbyPool/stable/2025-10-01/examples/StandbyVirtualMachinePools_ListByResourceGroup.json create mode 100644 specification/standbypool/resource-manager/Microsoft.StandbyPool/stable/2025-10-01/examples/StandbyVirtualMachinePools_ListBySubscription.json create mode 100644 specification/standbypool/resource-manager/Microsoft.StandbyPool/stable/2025-10-01/examples/StandbyVirtualMachinePools_Update.json create mode 100644 specification/standbypool/resource-manager/Microsoft.StandbyPool/stable/2025-10-01/examples/StandbyVirtualMachines_Get.json create mode 100644 specification/standbypool/resource-manager/Microsoft.StandbyPool/stable/2025-10-01/examples/StandbyVirtualMachines_ListByStandbyVirtualMachinePoolResource.json create mode 100644 specification/standbypool/resource-manager/Microsoft.StandbyPool/stable/2025-10-01/standbypool.json create mode 100644 specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/Endpoint.tsp create mode 100644 specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/HeatMapModel.tsp create mode 100644 specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/Profile.tsp create mode 100644 specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/TrafficManagerGeographicHierarchy.tsp create mode 100644 specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/UserMetricsModel.tsp create mode 100644 specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/back-compatible.tsp create mode 100644 specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/client.tsp create mode 100644 specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/Endpoint-DELETE-External.json create mode 100644 specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/Endpoint-GET-External-WithGeoMapping.json create mode 100644 specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/Endpoint-GET-External-WithLocation.json create mode 100644 specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/Endpoint-GET-External-WithSubnetMapping.json create mode 100644 specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/Endpoint-PATCH-External-Target.json create mode 100644 specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/Endpoint-PUT-External-WithAlwaysServe.json create mode 100644 specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/Endpoint-PUT-External-WithCustomHeaders.json create mode 100644 specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/Endpoint-PUT-External-WithGeoMapping.json create mode 100644 specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/Endpoint-PUT-External-WithLocation.json create mode 100644 specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/Endpoint-PUT-External-WithSubnetMapping.json create mode 100644 specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/GeographicHierarchy-GET-default.json create mode 100644 specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/HeatMap-GET-With-Null-Values.json create mode 100644 specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/HeatMap-GET-With-TopLeft-BotRight.json create mode 100644 specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/HeatMap-GET.json create mode 100644 specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/NameAvailabilityTest_NameAvailable-POST-example-21.json create mode 100644 specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/NameAvailabilityTest_NameNotAvailable-POST-example-23.json create mode 100644 specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/NameAvailabilityV2Test_NameAvailable-POST-example-21.json create mode 100644 specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/NameAvailabilityV2Test_NameNotAvailable-POST-example-23.json create mode 100644 specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/Profile-DELETE.json create mode 100644 specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/Profile-GET-ByResourceGroup.json create mode 100644 specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/Profile-GET-BySubscription.json create mode 100644 specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/Profile-GET-WithEndpoints.json create mode 100644 specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/Profile-GET-WithTrafficViewDisabled.json create mode 100644 specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/Profile-GET-WithTrafficViewEnabled.json create mode 100644 specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/Profile-PATCH-MonitorConfig.json create mode 100644 specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/Profile-PUT-MultiValue.json create mode 100644 specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/Profile-PUT-NoEndpoints.json create mode 100644 specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/Profile-PUT-WithAliasing.json create mode 100644 specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/Profile-PUT-WithCustomHeaders.json create mode 100644 specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/Profile-PUT-WithEndpoints.json create mode 100644 specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/Profile-PUT-WithNestedEndpoints.json create mode 100644 specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/TrafficManagerUserMetricsKeys-DELETE.json create mode 100644 specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/TrafficManagerUserMetricsKeys-GET.json create mode 100644 specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/TrafficManagerUserMetricsKeys-PUT.json create mode 100644 specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/main.tsp create mode 100644 specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/models.tsp create mode 100644 specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/routes.tsp create mode 100644 specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/tspconfig.yaml diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 24ae5d34b98e..f596d62964a1 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -147,13 +147,13 @@ /specification/iothub/ @marcodalessandro @riteshrao # PRLabel: %KeyVault -/specification/keyvault/resource-manager/ @vickm @chen-karen @cheathamb36 @Azure/azure-sdk-write-keyvault +/specification/keyvault/resource-manager/ @chen-karen @Azure/azure-sdk-write-keyvault # PRLabel: %KeyVault -/specification/keyvault/Security.*/ @vickm @chen-karen @cheathamb36 @Azure/azure-sdk-write-keyvault @heaths @chlowell +/specification/keyvault/Security.*/ @chen-karen @Azure/azure-sdk-write-keyvault @heaths # PRLabel: %KeyVault -/specification/keyvault/data-plane/ @vickm @chen-karen @cheathamb36 @Azure/azure-sdk-write-keyvault @heaths +/specification/keyvault/data-plane/ @chen-karen @Azure/azure-sdk-write-keyvault @heaths # PRLabel: %Logic App /specification/logic/ @pankajsn @tonytang-microsoft-com diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index b155b194ff3c..40cb2e7e1378 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -359,6 +359,10 @@ Follow the steps in [typespec to sdk](..\eng\common\instructions\azsdk-tools\typ Run [check package readiness](..\eng\common\instructions\azsdk-tools\check-package-readiness.instructions.md) to check the release readiness of an SDK package. This prompt will collect the required information from the user, execute the readiness check, and present the results. +## SDK customizations in TypeSpec projects + +TypeSpec supports making client-specific customizations to a TypeSpec project to change how an SDK is generated. When making client-specific changes, read the [typespec client customizations reference](../eng/common/knowledge/customizing-client-tsp.md) to understand the types of customizations supported and how to apply them. + # Instructions for GitHub coding agent to generate SDKs using GitHub.com Run only SDK generation step and Update SDK details back in issue description and release plan. Do not run TypeSpec validation, or service label check. This is applicable only when GitHub copilot coding agent is used to generate SDK and if a Release Plan is available in the context. Run SDK generation tool even if release plan already has SDK generation pipeline URL to support regenerating SDK. diff --git a/.github/package-lock.json b/.github/package-lock.json index bbf2e5dd5083..d89251d5d775 100644 --- a/.github/package-lock.json +++ b/.github/package-lock.json @@ -9,7 +9,7 @@ "debug": "^4.4.3", "js-yaml": "^4.1.0", "markdown-table": "^3.0.4", - "marked": "^16.3.0", + "marked": "^17.0.0", "simple-git": "^3.27.0", "zod": "^4.1.11" }, @@ -96,9 +96,9 @@ } }, "node_modules/@actions/github-script/node_modules/@types/node": { - "version": "24.9.2", - "resolved": "https://registry.npmjs.org/@types/node/-/node-24.9.2.tgz", - "integrity": "sha512-uWN8YqxXxqFMX2RqGOrumsKeti4LlmIMIyV0lgut4jx7KQBcBiW6vkDtIBvHnHIquwNfJhk8v2OtmO8zXWHfPA==", + "version": "24.10.0", + "resolved": "https://registry.npmjs.org/@types/node/-/node-24.10.0.tgz", + "integrity": "sha512-qzQZRBqkFsYyaSWXuEHc2WR9c0a0CXwiE5FWUvn7ZM+vdy1uZLfCunD38UzhuB7YN/J11ndbDBcTmOdxJo9Q7A==", "dev": true, "license": "MIT", "dependencies": { @@ -241,9 +241,9 @@ "license": "MIT" }, "node_modules/@esbuild/aix-ppc64": { - "version": "0.25.11", - "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.25.11.tgz", - "integrity": "sha512-Xt1dOL13m8u0WE8iplx9Ibbm+hFAO0GsU2P34UNoDGvZYkY8ifSiy6Zuc1lYxfG7svWE2fzqCUmFp5HCn51gJg==", + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.25.12.tgz", + "integrity": "sha512-Hhmwd6CInZ3dwpuGTF8fJG6yoWmsToE+vYgD4nytZVxcu1ulHpUQRAB1UJ8+N1Am3Mz4+xOByoQoSZf4D+CpkA==", "cpu": [ "ppc64" ], @@ -258,9 +258,9 @@ } }, "node_modules/@esbuild/android-arm": { - "version": "0.25.11", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.25.11.tgz", - "integrity": "sha512-uoa7dU+Dt3HYsethkJ1k6Z9YdcHjTrSb5NUy66ZfZaSV8hEYGD5ZHbEMXnqLFlbBflLsl89Zke7CAdDJ4JI+Gg==", + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.25.12.tgz", + "integrity": "sha512-VJ+sKvNA/GE7Ccacc9Cha7bpS8nyzVv0jdVgwNDaR4gDMC/2TTRc33Ip8qrNYUcpkOHUT5OZ0bUcNNVZQ9RLlg==", "cpu": [ "arm" ], @@ -275,9 +275,9 @@ } }, "node_modules/@esbuild/android-arm64": { - "version": "0.25.11", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.25.11.tgz", - "integrity": "sha512-9slpyFBc4FPPz48+f6jyiXOx/Y4v34TUeDDXJpZqAWQn/08lKGeD8aDp9TMn9jDz2CiEuHwfhRmGBvpnd/PWIQ==", + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.25.12.tgz", + "integrity": "sha512-6AAmLG7zwD1Z159jCKPvAxZd4y/VTO0VkprYy+3N2FtJ8+BQWFXU+OxARIwA46c5tdD9SsKGZ/1ocqBS/gAKHg==", "cpu": [ "arm64" ], @@ -292,9 +292,9 @@ } }, "node_modules/@esbuild/android-x64": { - "version": "0.25.11", - "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.25.11.tgz", - "integrity": "sha512-Sgiab4xBjPU1QoPEIqS3Xx+R2lezu0LKIEcYe6pftr56PqPygbB7+szVnzoShbx64MUupqoE0KyRlN7gezbl8g==", + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.25.12.tgz", + "integrity": "sha512-5jbb+2hhDHx5phYR2By8GTWEzn6I9UqR11Kwf22iKbNpYrsmRB18aX/9ivc5cabcUiAT/wM+YIZ6SG9QO6a8kg==", "cpu": [ "x64" ], @@ -309,9 +309,9 @@ } }, "node_modules/@esbuild/darwin-arm64": { - "version": "0.25.11", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.25.11.tgz", - "integrity": "sha512-VekY0PBCukppoQrycFxUqkCojnTQhdec0vevUL/EDOCnXd9LKWqD/bHwMPzigIJXPhC59Vd1WFIL57SKs2mg4w==", + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.25.12.tgz", + "integrity": "sha512-N3zl+lxHCifgIlcMUP5016ESkeQjLj/959RxxNYIthIg+CQHInujFuXeWbWMgnTo4cp5XVHqFPmpyu9J65C1Yg==", "cpu": [ "arm64" ], @@ -326,9 +326,9 @@ } }, "node_modules/@esbuild/darwin-x64": { - "version": "0.25.11", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.25.11.tgz", - "integrity": "sha512-+hfp3yfBalNEpTGp9loYgbknjR695HkqtY3d3/JjSRUyPg/xd6q+mQqIb5qdywnDxRZykIHs3axEqU6l1+oWEQ==", + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.25.12.tgz", + "integrity": "sha512-HQ9ka4Kx21qHXwtlTUVbKJOAnmG1ipXhdWTmNXiPzPfWKpXqASVcWdnf2bnL73wgjNrFXAa3yYvBSd9pzfEIpA==", "cpu": [ "x64" ], @@ -343,9 +343,9 @@ } }, "node_modules/@esbuild/freebsd-arm64": { - "version": "0.25.11", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.25.11.tgz", - "integrity": "sha512-CmKjrnayyTJF2eVuO//uSjl/K3KsMIeYeyN7FyDBjsR3lnSJHaXlVoAK8DZa7lXWChbuOk7NjAc7ygAwrnPBhA==", + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.25.12.tgz", + "integrity": "sha512-gA0Bx759+7Jve03K1S0vkOu5Lg/85dou3EseOGUes8flVOGxbhDDh/iZaoek11Y8mtyKPGF3vP8XhnkDEAmzeg==", "cpu": [ "arm64" ], @@ -360,9 +360,9 @@ } }, "node_modules/@esbuild/freebsd-x64": { - "version": "0.25.11", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.25.11.tgz", - "integrity": "sha512-Dyq+5oscTJvMaYPvW3x3FLpi2+gSZTCE/1ffdwuM6G1ARang/mb3jvjxs0mw6n3Lsw84ocfo9CrNMqc5lTfGOw==", + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.25.12.tgz", + "integrity": "sha512-TGbO26Yw2xsHzxtbVFGEXBFH0FRAP7gtcPE7P5yP7wGy7cXK2oO7RyOhL5NLiqTlBh47XhmIUXuGciXEqYFfBQ==", "cpu": [ "x64" ], @@ -377,9 +377,9 @@ } }, "node_modules/@esbuild/linux-arm": { - "version": "0.25.11", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.25.11.tgz", - "integrity": "sha512-TBMv6B4kCfrGJ8cUPo7vd6NECZH/8hPpBHHlYI3qzoYFvWu2AdTvZNuU/7hsbKWqu/COU7NIK12dHAAqBLLXgw==", + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.25.12.tgz", + "integrity": "sha512-lPDGyC1JPDou8kGcywY0YILzWlhhnRjdof3UlcoqYmS9El818LLfJJc3PXXgZHrHCAKs/Z2SeZtDJr5MrkxtOw==", "cpu": [ "arm" ], @@ -394,9 +394,9 @@ } }, "node_modules/@esbuild/linux-arm64": { - "version": "0.25.11", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.25.11.tgz", - "integrity": "sha512-Qr8AzcplUhGvdyUF08A1kHU3Vr2O88xxP0Tm8GcdVOUm25XYcMPp2YqSVHbLuXzYQMf9Bh/iKx7YPqECs6ffLA==", + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.25.12.tgz", + "integrity": "sha512-8bwX7a8FghIgrupcxb4aUmYDLp8pX06rGh5HqDT7bB+8Rdells6mHvrFHHW2JAOPZUbnjUpKTLg6ECyzvas2AQ==", "cpu": [ "arm64" ], @@ -411,9 +411,9 @@ } }, "node_modules/@esbuild/linux-ia32": { - "version": "0.25.11", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.25.11.tgz", - "integrity": "sha512-TmnJg8BMGPehs5JKrCLqyWTVAvielc615jbkOirATQvWWB1NMXY77oLMzsUjRLa0+ngecEmDGqt5jiDC6bfvOw==", + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.25.12.tgz", + "integrity": "sha512-0y9KrdVnbMM2/vG8KfU0byhUN+EFCny9+8g202gYqSSVMonbsCfLjUO+rCci7pM0WBEtz+oK/PIwHkzxkyharA==", "cpu": [ "ia32" ], @@ -428,9 +428,9 @@ } }, "node_modules/@esbuild/linux-loong64": { - "version": "0.25.11", - "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.25.11.tgz", - "integrity": "sha512-DIGXL2+gvDaXlaq8xruNXUJdT5tF+SBbJQKbWy/0J7OhU8gOHOzKmGIlfTTl6nHaCOoipxQbuJi7O++ldrxgMw==", + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.25.12.tgz", + "integrity": "sha512-h///Lr5a9rib/v1GGqXVGzjL4TMvVTv+s1DPoxQdz7l/AYv6LDSxdIwzxkrPW438oUXiDtwM10o9PmwS/6Z0Ng==", "cpu": [ "loong64" ], @@ -445,9 +445,9 @@ } }, "node_modules/@esbuild/linux-mips64el": { - "version": "0.25.11", - "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.25.11.tgz", - "integrity": "sha512-Osx1nALUJu4pU43o9OyjSCXokFkFbyzjXb6VhGIJZQ5JZi8ylCQ9/LFagolPsHtgw6himDSyb5ETSfmp4rpiKQ==", + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.25.12.tgz", + "integrity": "sha512-iyRrM1Pzy9GFMDLsXn1iHUm18nhKnNMWscjmp4+hpafcZjrr2WbT//d20xaGljXDBYHqRcl8HnxbX6uaA/eGVw==", "cpu": [ "mips64el" ], @@ -462,9 +462,9 @@ } }, "node_modules/@esbuild/linux-ppc64": { - "version": "0.25.11", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.25.11.tgz", - "integrity": "sha512-nbLFgsQQEsBa8XSgSTSlrnBSrpoWh7ioFDUmwo158gIm5NNP+17IYmNWzaIzWmgCxq56vfr34xGkOcZ7jX6CPw==", + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.25.12.tgz", + "integrity": "sha512-9meM/lRXxMi5PSUqEXRCtVjEZBGwB7P/D4yT8UG/mwIdze2aV4Vo6U5gD3+RsoHXKkHCfSxZKzmDssVlRj1QQA==", "cpu": [ "ppc64" ], @@ -479,9 +479,9 @@ } }, "node_modules/@esbuild/linux-riscv64": { - "version": "0.25.11", - "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.25.11.tgz", - "integrity": "sha512-HfyAmqZi9uBAbgKYP1yGuI7tSREXwIb438q0nqvlpxAOs3XnZ8RsisRfmVsgV486NdjD7Mw2UrFSw51lzUk1ww==", + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.25.12.tgz", + "integrity": "sha512-Zr7KR4hgKUpWAwb1f3o5ygT04MzqVrGEGXGLnj15YQDJErYu/BGg+wmFlIDOdJp0PmB0lLvxFIOXZgFRrdjR0w==", "cpu": [ "riscv64" ], @@ -496,9 +496,9 @@ } }, "node_modules/@esbuild/linux-s390x": { - "version": "0.25.11", - "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.25.11.tgz", - "integrity": "sha512-HjLqVgSSYnVXRisyfmzsH6mXqyvj0SA7pG5g+9W7ESgwA70AXYNpfKBqh1KbTxmQVaYxpzA/SvlB9oclGPbApw==", + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.25.12.tgz", + "integrity": "sha512-MsKncOcgTNvdtiISc/jZs/Zf8d0cl/t3gYWX8J9ubBnVOwlk65UIEEvgBORTiljloIWnBzLs4qhzPkJcitIzIg==", "cpu": [ "s390x" ], @@ -513,9 +513,9 @@ } }, "node_modules/@esbuild/linux-x64": { - "version": "0.25.11", - "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.25.11.tgz", - "integrity": "sha512-HSFAT4+WYjIhrHxKBwGmOOSpphjYkcswF449j6EjsjbinTZbp8PJtjsVK1XFJStdzXdy/jaddAep2FGY+wyFAQ==", + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.25.12.tgz", + "integrity": "sha512-uqZMTLr/zR/ed4jIGnwSLkaHmPjOjJvnm6TVVitAa08SLS9Z0VM8wIRx7gWbJB5/J54YuIMInDquWyYvQLZkgw==", "cpu": [ "x64" ], @@ -530,9 +530,9 @@ } }, "node_modules/@esbuild/netbsd-arm64": { - "version": "0.25.11", - "resolved": "https://registry.npmjs.org/@esbuild/netbsd-arm64/-/netbsd-arm64-0.25.11.tgz", - "integrity": "sha512-hr9Oxj1Fa4r04dNpWr3P8QKVVsjQhqrMSUzZzf+LZcYjZNqhA3IAfPQdEh1FLVUJSiu6sgAwp3OmwBfbFgG2Xg==", + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-arm64/-/netbsd-arm64-0.25.12.tgz", + "integrity": "sha512-xXwcTq4GhRM7J9A8Gv5boanHhRa/Q9KLVmcyXHCTaM4wKfIpWkdXiMog/KsnxzJ0A1+nD+zoecuzqPmCRyBGjg==", "cpu": [ "arm64" ], @@ -547,9 +547,9 @@ } }, "node_modules/@esbuild/netbsd-x64": { - "version": "0.25.11", - "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.25.11.tgz", - "integrity": "sha512-u7tKA+qbzBydyj0vgpu+5h5AeudxOAGncb8N6C9Kh1N4n7wU1Xw1JDApsRjpShRpXRQlJLb9wY28ELpwdPcZ7A==", + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.25.12.tgz", + "integrity": "sha512-Ld5pTlzPy3YwGec4OuHh1aCVCRvOXdH8DgRjfDy/oumVovmuSzWfnSJg+VtakB9Cm0gxNO9BzWkj6mtO1FMXkQ==", "cpu": [ "x64" ], @@ -564,9 +564,9 @@ } }, "node_modules/@esbuild/openbsd-arm64": { - "version": "0.25.11", - "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.25.11.tgz", - "integrity": "sha512-Qq6YHhayieor3DxFOoYM1q0q1uMFYb7cSpLD2qzDSvK1NAvqFi8Xgivv0cFC6J+hWVw2teCYltyy9/m/14ryHg==", + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.25.12.tgz", + "integrity": "sha512-fF96T6KsBo/pkQI950FARU9apGNTSlZGsv1jZBAlcLL1MLjLNIWPBkj5NlSz8aAzYKg+eNqknrUJ24QBybeR5A==", "cpu": [ "arm64" ], @@ -581,9 +581,9 @@ } }, "node_modules/@esbuild/openbsd-x64": { - "version": "0.25.11", - "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.25.11.tgz", - "integrity": "sha512-CN+7c++kkbrckTOz5hrehxWN7uIhFFlmS/hqziSFVWpAzpWrQoAG4chH+nN3Be+Kzv/uuo7zhX716x3Sn2Jduw==", + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.25.12.tgz", + "integrity": "sha512-MZyXUkZHjQxUvzK7rN8DJ3SRmrVrke8ZyRusHlP+kuwqTcfWLyqMOE3sScPPyeIXN/mDJIfGXvcMqCgYKekoQw==", "cpu": [ "x64" ], @@ -598,9 +598,9 @@ } }, "node_modules/@esbuild/openharmony-arm64": { - "version": "0.25.11", - "resolved": "https://registry.npmjs.org/@esbuild/openharmony-arm64/-/openharmony-arm64-0.25.11.tgz", - "integrity": "sha512-rOREuNIQgaiR+9QuNkbkxubbp8MSO9rONmwP5nKncnWJ9v5jQ4JxFnLu4zDSRPf3x4u+2VN4pM4RdyIzDty/wQ==", + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/openharmony-arm64/-/openharmony-arm64-0.25.12.tgz", + "integrity": "sha512-rm0YWsqUSRrjncSXGA7Zv78Nbnw4XL6/dzr20cyrQf7ZmRcsovpcRBdhD43Nuk3y7XIoW2OxMVvwuRvk9XdASg==", "cpu": [ "arm64" ], @@ -615,9 +615,9 @@ } }, "node_modules/@esbuild/sunos-x64": { - "version": "0.25.11", - "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.25.11.tgz", - "integrity": "sha512-nq2xdYaWxyg9DcIyXkZhcYulC6pQ2FuCgem3LI92IwMgIZ69KHeY8T4Y88pcwoLIjbed8n36CyKoYRDygNSGhA==", + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.25.12.tgz", + "integrity": "sha512-3wGSCDyuTHQUzt0nV7bocDy72r2lI33QL3gkDNGkod22EsYl04sMf0qLb8luNKTOmgF/eDEDP5BFNwoBKH441w==", "cpu": [ "x64" ], @@ -632,9 +632,9 @@ } }, "node_modules/@esbuild/win32-arm64": { - "version": "0.25.11", - "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.25.11.tgz", - "integrity": "sha512-3XxECOWJq1qMZ3MN8srCJ/QfoLpL+VaxD/WfNRm1O3B4+AZ/BnLVgFbUV3eiRYDMXetciH16dwPbbHqwe1uU0Q==", + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.25.12.tgz", + "integrity": "sha512-rMmLrur64A7+DKlnSuwqUdRKyd3UE7oPJZmnljqEptesKM8wx9J8gx5u0+9Pq0fQQW8vqeKebwNXdfOyP+8Bsg==", "cpu": [ "arm64" ], @@ -649,9 +649,9 @@ } }, "node_modules/@esbuild/win32-ia32": { - "version": "0.25.11", - "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.25.11.tgz", - "integrity": "sha512-3ukss6gb9XZ8TlRyJlgLn17ecsK4NSQTmdIXRASVsiS2sQ6zPPZklNJT5GR5tE/MUarymmy8kCEf5xPCNCqVOA==", + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.25.12.tgz", + "integrity": "sha512-HkqnmmBoCbCwxUKKNPBixiWDGCpQGVsrQfJoVGYLPT41XWF8lHuE5N6WhVia2n4o5QK5M4tYr21827fNhi4byQ==", "cpu": [ "ia32" ], @@ -666,9 +666,9 @@ } }, "node_modules/@esbuild/win32-x64": { - "version": "0.25.11", - "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.25.11.tgz", - "integrity": "sha512-D7Hpz6A2L4hzsRpPaCYkQnGOotdUpDzSGRIv9I+1ITdHROSFUWW95ZPZWQmGka1Fg7W3zFJowyn9WGwMJ0+KPA==", + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.25.12.tgz", + "integrity": "sha512-alJC0uCZpTFrSL0CCDjcgleBXPnCrEAhTBILpeAp7M/OFgoqtAetfBzX0xM00MUsVVPpVjlPuMbREqnZCXaTnA==", "cpu": [ "x64" ], @@ -803,9 +803,9 @@ } }, "node_modules/@eslint/js": { - "version": "9.39.0", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.39.0.tgz", - "integrity": "sha512-BIhe0sW91JGPiaF1mOuPy5v8NflqfjIcDNpC+LbW9f609WVRX1rArrhi6Z2ymvrAry9jw+5POTj4t2t62o8Bmw==", + "version": "9.39.1", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.39.1.tgz", + "integrity": "sha512-S26Stp4zCy88tH94QbBv3XCuzRQiZ9yXofEILmglYTh/Ug/a9/umqvgFtYBAo3Lp0nsI/5/qH1CCrbdK3AP1Tw==", "dev": true, "license": "MIT", "engines": { @@ -1037,7 +1037,6 @@ "integrity": "sha512-/g2d4sW9nUDJOMz3mabVQvOGhVa4e/BN/Um7yca9Bb2XTzPPnfTWHWQg+IsEYO7M3Vx+EXvaM/I2pJWIMun1bg==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@octokit/auth-token": "^4.0.0", "@octokit/graphql": "^7.1.0", @@ -1353,7 +1352,6 @@ "integrity": "sha512-DhGl4xMVFGVIyMwswXeyzdL4uXD5OGILGX5N8Y+f6W7LhC1Ze2poSNrkF/fedpVDHEEZ+PHFW0vL14I+mm8K3Q==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@octokit/auth-token": "^6.0.0", "@octokit/graphql": "^9.0.3", @@ -1500,9 +1498,9 @@ } }, "node_modules/@rollup/rollup-android-arm-eabi": { - "version": "4.52.5", - "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.52.5.tgz", - "integrity": "sha512-8c1vW4ocv3UOMp9K+gToY5zL2XiiVw3k7f1ksf4yO1FlDFQ1C2u72iACFnSOceJFsWskc2WZNqeRhFRPzv+wtQ==", + "version": "4.53.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.53.2.tgz", + "integrity": "sha512-yDPzwsgiFO26RJA4nZo8I+xqzh7sJTZIWQOxn+/XOdPE31lAvLIYCKqjV+lNH/vxE2L2iH3plKxDCRK6i+CwhA==", "cpu": [ "arm" ], @@ -1514,9 +1512,9 @@ ] }, "node_modules/@rollup/rollup-android-arm64": { - "version": "4.52.5", - "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.52.5.tgz", - "integrity": "sha512-mQGfsIEFcu21mvqkEKKu2dYmtuSZOBMmAl5CFlPGLY94Vlcm+zWApK7F/eocsNzp8tKmbeBP8yXyAbx0XHsFNA==", + "version": "4.53.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.53.2.tgz", + "integrity": "sha512-k8FontTxIE7b0/OGKeSN5B6j25EuppBcWM33Z19JoVT7UTXFSo3D9CdU39wGTeb29NO3XxpMNauh09B+Ibw+9g==", "cpu": [ "arm64" ], @@ -1528,9 +1526,9 @@ ] }, "node_modules/@rollup/rollup-darwin-arm64": { - "version": "4.52.5", - "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.52.5.tgz", - "integrity": "sha512-takF3CR71mCAGA+v794QUZ0b6ZSrgJkArC+gUiG6LB6TQty9T0Mqh3m2ImRBOxS2IeYBo4lKWIieSvnEk2OQWA==", + "version": "4.53.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.53.2.tgz", + "integrity": "sha512-A6s4gJpomNBtJ2yioj8bflM2oogDwzUiMl2yNJ2v9E7++sHrSrsQ29fOfn5DM/iCzpWcebNYEdXpaK4tr2RhfQ==", "cpu": [ "arm64" ], @@ -1542,9 +1540,9 @@ ] }, "node_modules/@rollup/rollup-darwin-x64": { - "version": "4.52.5", - "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.52.5.tgz", - "integrity": "sha512-W901Pla8Ya95WpxDn//VF9K9u2JbocwV/v75TE0YIHNTbhqUTv9w4VuQ9MaWlNOkkEfFwkdNhXgcLqPSmHy0fA==", + "version": "4.53.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.53.2.tgz", + "integrity": "sha512-e6XqVmXlHrBlG56obu9gDRPW3O3hLxpwHpLsBJvuI8qqnsrtSZ9ERoWUXtPOkY8c78WghyPHZdmPhHLWNdAGEw==", "cpu": [ "x64" ], @@ -1556,9 +1554,9 @@ ] }, "node_modules/@rollup/rollup-freebsd-arm64": { - "version": "4.52.5", - "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.52.5.tgz", - "integrity": "sha512-QofO7i7JycsYOWxe0GFqhLmF6l1TqBswJMvICnRUjqCx8b47MTo46W8AoeQwiokAx3zVryVnxtBMcGcnX12LvA==", + "version": "4.53.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.53.2.tgz", + "integrity": "sha512-v0E9lJW8VsrwPux5Qe5CwmH/CF/2mQs6xU1MF3nmUxmZUCHazCjLgYvToOk+YuuUqLQBio1qkkREhxhc656ViA==", "cpu": [ "arm64" ], @@ -1570,9 +1568,9 @@ ] }, "node_modules/@rollup/rollup-freebsd-x64": { - "version": "4.52.5", - "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.52.5.tgz", - "integrity": "sha512-jr21b/99ew8ujZubPo9skbrItHEIE50WdV86cdSoRkKtmWa+DDr6fu2c/xyRT0F/WazZpam6kk7IHBerSL7LDQ==", + "version": "4.53.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.53.2.tgz", + "integrity": "sha512-ClAmAPx3ZCHtp6ysl4XEhWU69GUB1D+s7G9YjHGhIGCSrsg00nEGRRZHmINYxkdoJehde8VIsDC5t9C0gb6yqA==", "cpu": [ "x64" ], @@ -1584,9 +1582,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm-gnueabihf": { - "version": "4.52.5", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.52.5.tgz", - "integrity": "sha512-PsNAbcyv9CcecAUagQefwX8fQn9LQ4nZkpDboBOttmyffnInRy8R8dSg6hxxl2Re5QhHBf6FYIDhIj5v982ATQ==", + "version": "4.53.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.53.2.tgz", + "integrity": "sha512-EPlb95nUsz6Dd9Qy13fI5kUPXNSljaG9FiJ4YUGU1O/Q77i5DYFW5KR8g1OzTcdZUqQQ1KdDqsTohdFVwCwjqg==", "cpu": [ "arm" ], @@ -1598,9 +1596,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm-musleabihf": { - "version": "4.52.5", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.52.5.tgz", - "integrity": "sha512-Fw4tysRutyQc/wwkmcyoqFtJhh0u31K+Q6jYjeicsGJJ7bbEq8LwPWV/w0cnzOqR2m694/Af6hpFayLJZkG2VQ==", + "version": "4.53.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.53.2.tgz", + "integrity": "sha512-BOmnVW+khAUX+YZvNfa0tGTEMVVEerOxN0pDk2E6N6DsEIa2Ctj48FOMfNDdrwinocKaC7YXUZ1pHlKpnkja/Q==", "cpu": [ "arm" ], @@ -1612,9 +1610,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm64-gnu": { - "version": "4.52.5", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.52.5.tgz", - "integrity": "sha512-a+3wVnAYdQClOTlyapKmyI6BLPAFYs0JM8HRpgYZQO02rMR09ZcV9LbQB+NL6sljzG38869YqThrRnfPMCDtZg==", + "version": "4.53.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.53.2.tgz", + "integrity": "sha512-Xt2byDZ+6OVNuREgBXr4+CZDJtrVso5woFtpKdGPhpTPHcNG7D8YXeQzpNbFRxzTVqJf7kvPMCub/pcGUWgBjA==", "cpu": [ "arm64" ], @@ -1626,9 +1624,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm64-musl": { - "version": "4.52.5", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.52.5.tgz", - "integrity": "sha512-AvttBOMwO9Pcuuf7m9PkC1PUIKsfaAJ4AYhy944qeTJgQOqJYJ9oVl2nYgY7Rk0mkbsuOpCAYSs6wLYB2Xiw0Q==", + "version": "4.53.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.53.2.tgz", + "integrity": "sha512-+LdZSldy/I9N8+klim/Y1HsKbJ3BbInHav5qE9Iy77dtHC/pibw1SR/fXlWyAk0ThnpRKoODwnAuSjqxFRDHUQ==", "cpu": [ "arm64" ], @@ -1640,9 +1638,9 @@ ] }, "node_modules/@rollup/rollup-linux-loong64-gnu": { - "version": "4.52.5", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loong64-gnu/-/rollup-linux-loong64-gnu-4.52.5.tgz", - "integrity": "sha512-DkDk8pmXQV2wVrF6oq5tONK6UHLz/XcEVow4JTTerdeV1uqPeHxwcg7aFsfnSm9L+OO8WJsWotKM2JJPMWrQtA==", + "version": "4.53.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loong64-gnu/-/rollup-linux-loong64-gnu-4.53.2.tgz", + "integrity": "sha512-8ms8sjmyc1jWJS6WdNSA23rEfdjWB30LH8Wqj0Cqvv7qSHnvw6kgMMXRdop6hkmGPlyYBdRPkjJnj3KCUHV/uQ==", "cpu": [ "loong64" ], @@ -1654,9 +1652,9 @@ ] }, "node_modules/@rollup/rollup-linux-ppc64-gnu": { - "version": "4.52.5", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-gnu/-/rollup-linux-ppc64-gnu-4.52.5.tgz", - "integrity": "sha512-W/b9ZN/U9+hPQVvlGwjzi+Wy4xdoH2I8EjaCkMvzpI7wJUs8sWJ03Rq96jRnHkSrcHTpQe8h5Tg3ZzUPGauvAw==", + "version": "4.53.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-gnu/-/rollup-linux-ppc64-gnu-4.53.2.tgz", + "integrity": "sha512-3HRQLUQbpBDMmzoxPJYd3W6vrVHOo2cVW8RUo87Xz0JPJcBLBr5kZ1pGcQAhdZgX9VV7NbGNipah1omKKe23/g==", "cpu": [ "ppc64" ], @@ -1668,9 +1666,9 @@ ] }, "node_modules/@rollup/rollup-linux-riscv64-gnu": { - "version": "4.52.5", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.52.5.tgz", - "integrity": "sha512-sjQLr9BW7R/ZiXnQiWPkErNfLMkkWIoCz7YMn27HldKsADEKa5WYdobaa1hmN6slu9oWQbB6/jFpJ+P2IkVrmw==", + "version": "4.53.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.53.2.tgz", + "integrity": "sha512-fMjKi+ojnmIvhk34gZP94vjogXNNUKMEYs+EDaB/5TG/wUkoeua7p7VCHnE6T2Tx+iaghAqQX8teQzcvrYpaQA==", "cpu": [ "riscv64" ], @@ -1682,9 +1680,9 @@ ] }, "node_modules/@rollup/rollup-linux-riscv64-musl": { - "version": "4.52.5", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-musl/-/rollup-linux-riscv64-musl-4.52.5.tgz", - "integrity": "sha512-hq3jU/kGyjXWTvAh2awn8oHroCbrPm8JqM7RUpKjalIRWWXE01CQOf/tUNWNHjmbMHg/hmNCwc/Pz3k1T/j/Lg==", + "version": "4.53.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-musl/-/rollup-linux-riscv64-musl-4.53.2.tgz", + "integrity": "sha512-XuGFGU+VwUUV5kLvoAdi0Wz5Xbh2SrjIxCtZj6Wq8MDp4bflb/+ThZsVxokM7n0pcbkEr2h5/pzqzDYI7cCgLQ==", "cpu": [ "riscv64" ], @@ -1696,9 +1694,9 @@ ] }, "node_modules/@rollup/rollup-linux-s390x-gnu": { - "version": "4.52.5", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.52.5.tgz", - "integrity": "sha512-gn8kHOrku8D4NGHMK1Y7NA7INQTRdVOntt1OCYypZPRt6skGbddska44K8iocdpxHTMMNui5oH4elPH4QOLrFQ==", + "version": "4.53.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.53.2.tgz", + "integrity": "sha512-w6yjZF0P+NGzWR3AXWX9zc0DNEGdtvykB03uhonSHMRa+oWA6novflo2WaJr6JZakG2ucsyb+rvhrKac6NIy+w==", "cpu": [ "s390x" ], @@ -1710,9 +1708,9 @@ ] }, "node_modules/@rollup/rollup-linux-x64-gnu": { - "version": "4.52.5", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.52.5.tgz", - "integrity": "sha512-hXGLYpdhiNElzN770+H2nlx+jRog8TyynpTVzdlc6bndktjKWyZyiCsuDAlpd+j+W+WNqfcyAWz9HxxIGfZm1Q==", + "version": "4.53.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.53.2.tgz", + "integrity": "sha512-yo8d6tdfdeBArzC7T/PnHd7OypfI9cbuZzPnzLJIyKYFhAQ8SvlkKtKBMbXDxe1h03Rcr7u++nFS7tqXz87Gtw==", "cpu": [ "x64" ], @@ -1724,9 +1722,9 @@ ] }, "node_modules/@rollup/rollup-linux-x64-musl": { - "version": "4.52.5", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.52.5.tgz", - "integrity": "sha512-arCGIcuNKjBoKAXD+y7XomR9gY6Mw7HnFBv5Rw7wQRvwYLR7gBAgV7Mb2QTyjXfTveBNFAtPt46/36vV9STLNg==", + "version": "4.53.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.53.2.tgz", + "integrity": "sha512-ah59c1YkCxKExPP8O9PwOvs+XRLKwh/mV+3YdKqQ5AMQ0r4M4ZDuOrpWkUaqO7fzAHdINzV9tEVu8vNw48z0lA==", "cpu": [ "x64" ], @@ -1738,9 +1736,9 @@ ] }, "node_modules/@rollup/rollup-openharmony-arm64": { - "version": "4.52.5", - "resolved": "https://registry.npmjs.org/@rollup/rollup-openharmony-arm64/-/rollup-openharmony-arm64-4.52.5.tgz", - "integrity": "sha512-QoFqB6+/9Rly/RiPjaomPLmR/13cgkIGfA40LHly9zcH1S0bN2HVFYk3a1eAyHQyjs3ZJYlXvIGtcCs5tko9Cw==", + "version": "4.53.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-openharmony-arm64/-/rollup-openharmony-arm64-4.53.2.tgz", + "integrity": "sha512-4VEd19Wmhr+Zy7hbUsFZ6YXEiP48hE//KPLCSVNY5RMGX2/7HZ+QkN55a3atM1C/BZCGIgqN+xrVgtdak2S9+A==", "cpu": [ "arm64" ], @@ -1752,9 +1750,9 @@ ] }, "node_modules/@rollup/rollup-win32-arm64-msvc": { - "version": "4.52.5", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.52.5.tgz", - "integrity": "sha512-w0cDWVR6MlTstla1cIfOGyl8+qb93FlAVutcor14Gf5Md5ap5ySfQ7R9S/NjNaMLSFdUnKGEasmVnu3lCMqB7w==", + "version": "4.53.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.53.2.tgz", + "integrity": "sha512-IlbHFYc/pQCgew/d5fslcy1KEaYVCJ44G8pajugd8VoOEI8ODhtb/j8XMhLpwHCMB3yk2J07ctup10gpw2nyMA==", "cpu": [ "arm64" ], @@ -1766,9 +1764,9 @@ ] }, "node_modules/@rollup/rollup-win32-ia32-msvc": { - "version": "4.52.5", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.52.5.tgz", - "integrity": "sha512-Aufdpzp7DpOTULJCuvzqcItSGDH73pF3ko/f+ckJhxQyHtp67rHw3HMNxoIdDMUITJESNE6a8uh4Lo4SLouOUg==", + "version": "4.53.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.53.2.tgz", + "integrity": "sha512-lNlPEGgdUfSzdCWU176ku/dQRnA7W+Gp8d+cWv73jYrb8uT7HTVVxq62DUYxjbaByuf1Yk0RIIAbDzp+CnOTFg==", "cpu": [ "ia32" ], @@ -1780,9 +1778,9 @@ ] }, "node_modules/@rollup/rollup-win32-x64-gnu": { - "version": "4.52.5", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-gnu/-/rollup-win32-x64-gnu-4.52.5.tgz", - "integrity": "sha512-UGBUGPFp1vkj6p8wCRraqNhqwX/4kNQPS57BCFc8wYh0g94iVIW33wJtQAx3G7vrjjNtRaxiMUylM0ktp/TRSQ==", + "version": "4.53.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-gnu/-/rollup-win32-x64-gnu-4.53.2.tgz", + "integrity": "sha512-S6YojNVrHybQis2lYov1sd+uj7K0Q05NxHcGktuMMdIQ2VixGwAfbJ23NnlvvVV1bdpR2m5MsNBViHJKcA4ADw==", "cpu": [ "x64" ], @@ -1794,9 +1792,9 @@ ] }, "node_modules/@rollup/rollup-win32-x64-msvc": { - "version": "4.52.5", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.52.5.tgz", - "integrity": "sha512-TAcgQh2sSkykPRWLrdyy2AiceMckNf5loITqXxFI5VuQjS5tSuw3WlwdN8qv8vzjLAUTvYaH/mVjSFpbkFbpTg==", + "version": "4.53.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.53.2.tgz", + "integrity": "sha512-k+/Rkcyx//P6fetPoLMb8pBeqJBNGx81uuf7iljX9++yNBVRDQgD04L+SVXmXmh5ZP4/WOp4mWF0kmi06PW2tA==", "cpu": [ "x64" ], @@ -1831,7 +1829,6 @@ "integrity": "sha512-vIChWdVG3LG1SMxEvI/AK+FWJthlrqlTu7fbrlywTkkaONwk/UAGaULXRlf8vkzFBLVm0zkMdCquhL5aOjhXPQ==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@types/ms": "*" } @@ -1861,8 +1858,7 @@ "version": "7.0.15", "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz", "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==", - "license": "MIT", - "peer": true + "license": "MIT" }, "node_modules/@types/ms": { "version": "2.1.0", @@ -1877,7 +1873,6 @@ "integrity": "sha512-FE5u0ezmi6y9OZEzlJfg37mqqf6ZDSF2V/NLjUyGrR9uTZ7Sb9F7bLNZ03S4XVUNRWGA7Ck4c1kK+YnuWjl+DA==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "undici-types": "~6.21.0" } @@ -1890,17 +1885,17 @@ "license": "MIT" }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "8.46.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.46.2.tgz", - "integrity": "sha512-ZGBMToy857/NIPaaCucIUQgqueOiq7HeAKkhlvqVV4lm089zUFW6ikRySx2v+cAhKeUCPuWVHeimyk6Dw1iY3w==", + "version": "8.46.4", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.46.4.tgz", + "integrity": "sha512-R48VhmTJqplNyDxCyqqVkFSZIx1qX6PzwqgcXn1olLrzxcSBDlOsbtcnQuQhNtnNiJ4Xe5gREI1foajYaYU2Vg==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/regexpp": "^4.10.0", - "@typescript-eslint/scope-manager": "8.46.2", - "@typescript-eslint/type-utils": "8.46.2", - "@typescript-eslint/utils": "8.46.2", - "@typescript-eslint/visitor-keys": "8.46.2", + "@typescript-eslint/scope-manager": "8.46.4", + "@typescript-eslint/type-utils": "8.46.4", + "@typescript-eslint/utils": "8.46.4", + "@typescript-eslint/visitor-keys": "8.46.4", "graphemer": "^1.4.0", "ignore": "^7.0.0", "natural-compare": "^1.4.0", @@ -1914,7 +1909,7 @@ "url": "https://opencollective.com/typescript-eslint" }, "peerDependencies": { - "@typescript-eslint/parser": "^8.46.2", + "@typescript-eslint/parser": "^8.46.4", "eslint": "^8.57.0 || ^9.0.0", "typescript": ">=4.8.4 <6.0.0" } @@ -1930,17 +1925,16 @@ } }, "node_modules/@typescript-eslint/parser": { - "version": "8.46.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.46.2.tgz", - "integrity": "sha512-BnOroVl1SgrPLywqxyqdJ4l3S2MsKVLDVxZvjI1Eoe8ev2r3kGDo+PcMihNmDE+6/KjkTubSJnmqGZZjQSBq/g==", + "version": "8.46.4", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.46.4.tgz", + "integrity": "sha512-tK3GPFWbirvNgsNKto+UmB/cRtn6TZfyw0D6IKrW55n6Vbs7KJoZtI//kpTKzE/DUmmnAFD8/Ca46s7Obs92/w==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { - "@typescript-eslint/scope-manager": "8.46.2", - "@typescript-eslint/types": "8.46.2", - "@typescript-eslint/typescript-estree": "8.46.2", - "@typescript-eslint/visitor-keys": "8.46.2", + "@typescript-eslint/scope-manager": "8.46.4", + "@typescript-eslint/types": "8.46.4", + "@typescript-eslint/typescript-estree": "8.46.4", + "@typescript-eslint/visitor-keys": "8.46.4", "debug": "^4.3.4" }, "engines": { @@ -1956,14 +1950,14 @@ } }, "node_modules/@typescript-eslint/project-service": { - "version": "8.46.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.46.2.tgz", - "integrity": "sha512-PULOLZ9iqwI7hXcmL4fVfIsBi6AN9YxRc0frbvmg8f+4hQAjQ5GYNKK0DIArNo+rOKmR/iBYwkpBmnIwin4wBg==", + "version": "8.46.4", + "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.46.4.tgz", + "integrity": "sha512-nPiRSKuvtTN+no/2N1kt2tUh/HoFzeEgOm9fQ6XQk4/ApGqjx0zFIIaLJ6wooR1HIoozvj2j6vTi/1fgAz7UYQ==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/tsconfig-utils": "^8.46.2", - "@typescript-eslint/types": "^8.46.2", + "@typescript-eslint/tsconfig-utils": "^8.46.4", + "@typescript-eslint/types": "^8.46.4", "debug": "^4.3.4" }, "engines": { @@ -1978,14 +1972,14 @@ } }, "node_modules/@typescript-eslint/scope-manager": { - "version": "8.46.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.46.2.tgz", - "integrity": "sha512-LF4b/NmGvdWEHD2H4MsHD8ny6JpiVNDzrSZr3CsckEgCbAGZbYM4Cqxvi9L+WqDMT+51Ozy7lt2M+d0JLEuBqA==", + "version": "8.46.4", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.46.4.tgz", + "integrity": "sha512-tMDbLGXb1wC+McN1M6QeDx7P7c0UWO5z9CXqp7J8E+xGcJuUuevWKxuG8j41FoweS3+L41SkyKKkia16jpX7CA==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.46.2", - "@typescript-eslint/visitor-keys": "8.46.2" + "@typescript-eslint/types": "8.46.4", + "@typescript-eslint/visitor-keys": "8.46.4" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -1996,9 +1990,9 @@ } }, "node_modules/@typescript-eslint/tsconfig-utils": { - "version": "8.46.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.46.2.tgz", - "integrity": "sha512-a7QH6fw4S57+F5y2FIxxSDyi5M4UfGF+Jl1bCGd7+L4KsaUY80GsiF/t0UoRFDHAguKlBaACWJRmdrc6Xfkkag==", + "version": "8.46.4", + "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.46.4.tgz", + "integrity": "sha512-+/XqaZPIAk6Cjg7NWgSGe27X4zMGqrFqZ8atJsX3CWxH/jACqWnrWI68h7nHQld0y+k9eTTjb9r+KU4twLoo9A==", "dev": true, "license": "MIT", "engines": { @@ -2013,15 +2007,15 @@ } }, "node_modules/@typescript-eslint/type-utils": { - "version": "8.46.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.46.2.tgz", - "integrity": "sha512-HbPM4LbaAAt/DjxXaG9yiS9brOOz6fabal4uvUmaUYe6l3K1phQDMQKBRUrr06BQkxkvIZVVHttqiybM9nJsLA==", + "version": "8.46.4", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.46.4.tgz", + "integrity": "sha512-V4QC8h3fdT5Wro6vANk6eojqfbv5bpwHuMsBcJUJkqs2z5XnYhJzyz9Y02eUmF9u3PgXEUiOt4w4KHR3P+z0PQ==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.46.2", - "@typescript-eslint/typescript-estree": "8.46.2", - "@typescript-eslint/utils": "8.46.2", + "@typescript-eslint/types": "8.46.4", + "@typescript-eslint/typescript-estree": "8.46.4", + "@typescript-eslint/utils": "8.46.4", "debug": "^4.3.4", "ts-api-utils": "^2.1.0" }, @@ -2038,9 +2032,9 @@ } }, "node_modules/@typescript-eslint/types": { - "version": "8.46.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.46.2.tgz", - "integrity": "sha512-lNCWCbq7rpg7qDsQrd3D6NyWYu+gkTENkG5IKYhUIcxSb59SQC/hEQ+MrG4sTgBVghTonNWq42bA/d4yYumldQ==", + "version": "8.46.4", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.46.4.tgz", + "integrity": "sha512-USjyxm3gQEePdUwJBFjjGNG18xY9A2grDVGuk7/9AkjIF1L+ZrVnwR5VAU5JXtUnBL/Nwt3H31KlRDaksnM7/w==", "dev": true, "license": "MIT", "engines": { @@ -2052,16 +2046,16 @@ } }, "node_modules/@typescript-eslint/typescript-estree": { - "version": "8.46.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.46.2.tgz", - "integrity": "sha512-f7rW7LJ2b7Uh2EiQ+7sza6RDZnajbNbemn54Ob6fRwQbgcIn+GWfyuHDHRYgRoZu1P4AayVScrRW+YfbTvPQoQ==", + "version": "8.46.4", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.46.4.tgz", + "integrity": "sha512-7oV2qEOr1d4NWNmpXLR35LvCfOkTNymY9oyW+lUHkmCno7aOmIf/hMaydnJBUTBMRCOGZh8YjkFOc8dadEoNGA==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/project-service": "8.46.2", - "@typescript-eslint/tsconfig-utils": "8.46.2", - "@typescript-eslint/types": "8.46.2", - "@typescript-eslint/visitor-keys": "8.46.2", + "@typescript-eslint/project-service": "8.46.4", + "@typescript-eslint/tsconfig-utils": "8.46.4", + "@typescript-eslint/types": "8.46.4", + "@typescript-eslint/visitor-keys": "8.46.4", "debug": "^4.3.4", "fast-glob": "^3.3.2", "is-glob": "^4.0.3", @@ -2107,16 +2101,16 @@ } }, "node_modules/@typescript-eslint/utils": { - "version": "8.46.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.46.2.tgz", - "integrity": "sha512-sExxzucx0Tud5tE0XqR0lT0psBQvEpnpiul9XbGUB1QwpWJJAps1O/Z7hJxLGiZLBKMCutjTzDgmd1muEhBnVg==", + "version": "8.46.4", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.46.4.tgz", + "integrity": "sha512-AbSv11fklGXV6T28dp2Me04Uw90R2iJ30g2bgLz529Koehrmkbs1r7paFqr1vPCZi7hHwYxYtxfyQMRC8QaVSg==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/eslint-utils": "^4.7.0", - "@typescript-eslint/scope-manager": "8.46.2", - "@typescript-eslint/types": "8.46.2", - "@typescript-eslint/typescript-estree": "8.46.2" + "@typescript-eslint/scope-manager": "8.46.4", + "@typescript-eslint/types": "8.46.4", + "@typescript-eslint/typescript-estree": "8.46.4" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -2131,13 +2125,13 @@ } }, "node_modules/@typescript-eslint/visitor-keys": { - "version": "8.46.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.46.2.tgz", - "integrity": "sha512-tUFMXI4gxzzMXt4xpGJEsBsTox0XbNQ1y94EwlD/CuZwFcQP79xfQqMhau9HsRc/J0cAPA/HZt1dZPtGn9V/7w==", + "version": "8.46.4", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.46.4.tgz", + "integrity": "sha512-/++5CYLQqsO9HFGLI7APrxBJYo+5OCMpViuhV8q5/Qa3o5mMrF//eQHks+PXcsAVaLdn817fMuS7zqoXNNZGaw==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.46.2", + "@typescript-eslint/types": "8.46.4", "eslint-visitor-keys": "^4.2.1" }, "engines": { @@ -2303,7 +2297,6 @@ "integrity": "sha512-NZyJarBfL7nWwIq+FDL6Zp/yHEhePMNnnJ0y3qfieCrmNvYct8uvtiV41UvlSe6apAfk0fY1FbWx+NwfmpvtTg==", "dev": true, "license": "MIT", - "peer": true, "bin": { "acorn": "bin/acorn" }, @@ -2627,9 +2620,9 @@ "license": "MIT" }, "node_modules/esbuild": { - "version": "0.25.11", - "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.25.11.tgz", - "integrity": "sha512-KohQwyzrKTQmhXDW1PjCv3Tyspn9n5GcY2RTDqeORIdIJY8yKIF7sTSopFmn/wpMPW4rdPXI0UE5LJLuq3bx0Q==", + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.25.12.tgz", + "integrity": "sha512-bbPBYYrtZbkt6Os6FiTLCTFxvq4tt3JKall1vRwshA3fdVztsLAatFaZobhkBC8/BrPetoa0oksYoKXoG4ryJg==", "dev": true, "hasInstallScript": true, "license": "MIT", @@ -2640,32 +2633,32 @@ "node": ">=18" }, "optionalDependencies": { - "@esbuild/aix-ppc64": "0.25.11", - "@esbuild/android-arm": "0.25.11", - "@esbuild/android-arm64": "0.25.11", - "@esbuild/android-x64": "0.25.11", - "@esbuild/darwin-arm64": "0.25.11", - "@esbuild/darwin-x64": "0.25.11", - "@esbuild/freebsd-arm64": "0.25.11", - "@esbuild/freebsd-x64": "0.25.11", - "@esbuild/linux-arm": "0.25.11", - "@esbuild/linux-arm64": "0.25.11", - "@esbuild/linux-ia32": "0.25.11", - "@esbuild/linux-loong64": "0.25.11", - "@esbuild/linux-mips64el": "0.25.11", - "@esbuild/linux-ppc64": "0.25.11", - "@esbuild/linux-riscv64": "0.25.11", - "@esbuild/linux-s390x": "0.25.11", - "@esbuild/linux-x64": "0.25.11", - "@esbuild/netbsd-arm64": "0.25.11", - "@esbuild/netbsd-x64": "0.25.11", - "@esbuild/openbsd-arm64": "0.25.11", - "@esbuild/openbsd-x64": "0.25.11", - "@esbuild/openharmony-arm64": "0.25.11", - "@esbuild/sunos-x64": "0.25.11", - "@esbuild/win32-arm64": "0.25.11", - "@esbuild/win32-ia32": "0.25.11", - "@esbuild/win32-x64": "0.25.11" + "@esbuild/aix-ppc64": "0.25.12", + "@esbuild/android-arm": "0.25.12", + "@esbuild/android-arm64": "0.25.12", + "@esbuild/android-x64": "0.25.12", + "@esbuild/darwin-arm64": "0.25.12", + "@esbuild/darwin-x64": "0.25.12", + "@esbuild/freebsd-arm64": "0.25.12", + "@esbuild/freebsd-x64": "0.25.12", + "@esbuild/linux-arm": "0.25.12", + "@esbuild/linux-arm64": "0.25.12", + "@esbuild/linux-ia32": "0.25.12", + "@esbuild/linux-loong64": "0.25.12", + "@esbuild/linux-mips64el": "0.25.12", + "@esbuild/linux-ppc64": "0.25.12", + "@esbuild/linux-riscv64": "0.25.12", + "@esbuild/linux-s390x": "0.25.12", + "@esbuild/linux-x64": "0.25.12", + "@esbuild/netbsd-arm64": "0.25.12", + "@esbuild/netbsd-x64": "0.25.12", + "@esbuild/openbsd-arm64": "0.25.12", + "@esbuild/openbsd-x64": "0.25.12", + "@esbuild/openharmony-arm64": "0.25.12", + "@esbuild/sunos-x64": "0.25.12", + "@esbuild/win32-arm64": "0.25.12", + "@esbuild/win32-ia32": "0.25.12", + "@esbuild/win32-x64": "0.25.12" } }, "node_modules/escape-string-regexp": { @@ -2682,12 +2675,11 @@ } }, "node_modules/eslint": { - "version": "9.39.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-9.39.0.tgz", - "integrity": "sha512-iy2GE3MHrYTL5lrCtMZ0X1KLEKKUjmK0kzwcnefhR66txcEmXZD2YWgR5GNdcEwkNx3a0siYkSvl0vIC+Svjmg==", + "version": "9.39.1", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-9.39.1.tgz", + "integrity": "sha512-BhHmn2yNOFA9H9JmmIVKJmd288g9hrVRDkdoIgRCRuSySRUHH7r/DI6aAXW9T1WwUuY3DFgrcaqB+deURBLR5g==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@eslint-community/eslint-utils": "^4.8.0", "@eslint-community/regexpp": "^4.12.1", @@ -2695,7 +2687,7 @@ "@eslint/config-helpers": "^0.4.2", "@eslint/core": "^0.17.0", "@eslint/eslintrc": "^3.3.1", - "@eslint/js": "9.39.0", + "@eslint/js": "9.39.1", "@eslint/plugin-kit": "^0.4.1", "@humanfs/node": "^0.16.6", "@humanwhocodes/module-importer": "^1.0.1", @@ -3098,9 +3090,9 @@ } }, "node_modules/globals": { - "version": "16.4.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-16.4.0.tgz", - "integrity": "sha512-ob/2LcVVaVGCYN+r14cnwnoDPUufjiYgSqRhiFD0Q1iI4Odora5RE8Iv1D24hAz5oMophRGkGz+yuvQmmUMnMw==", + "version": "16.5.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-16.5.0.tgz", + "integrity": "sha512-c/c15i26VrJ4IRt5Z89DnIzCGDn9EcebibhAOjw5ibqEHsE1wLUgkPn9RDmNcUKyU87GeaL633nyJ+pplFR2ZQ==", "dev": true, "license": "MIT", "engines": { @@ -3299,9 +3291,9 @@ "license": "MIT" }, "node_modules/js-yaml": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", - "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.1.tgz", + "integrity": "sha512-qQKT4zQxXl8lLwBtHMWwaTcGfFOZviOJet3Oy/xmGk2gZH677CJM9EvtfdSkgWcATZhj/55JZ0rmy3myCT5lsA==", "license": "MIT", "dependencies": { "argparse": "^2.0.1" @@ -3441,9 +3433,9 @@ } }, "node_modules/marked": { - "version": "16.4.1", - "resolved": "https://registry.npmjs.org/marked/-/marked-16.4.1.tgz", - "integrity": "sha512-ntROs7RaN3EvWfy3EZi14H4YxmT6A5YvywfhO+0pm+cH/dnSQRmdAmoFIc3B9aiwTehyk7pESH4ofyBY+V5hZg==", + "version": "17.0.0", + "resolved": "https://registry.npmjs.org/marked/-/marked-17.0.0.tgz", + "integrity": "sha512-KkDYEWEEiYJw/KC+DVm1zzlpMQSMIu6YRltkcCvwheCp8HWPXCk9JwOmHJKBlGfzcpzcIt6x3sMnTsRm/51oDg==", "license": "MIT", "bin": { "marked": "bin/marked.js" @@ -3730,7 +3722,6 @@ "integrity": "sha512-I7AIg5boAr5R0FFtJ6rCfD+LFsWHp81dolrFD8S79U9tb8Az2nGrJncnMSnys+bpQJfRUzqs9hnA81OAA3hCuQ==", "dev": true, "license": "MIT", - "peer": true, "bin": { "prettier": "bin/prettier.cjs" }, @@ -3811,9 +3802,9 @@ } }, "node_modules/rollup": { - "version": "4.52.5", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.52.5.tgz", - "integrity": "sha512-3GuObel8h7Kqdjt0gxkEzaifHTqLVW56Y/bjN7PSQtkKr0w3V/QYSdt6QWYtd7A1xUtYQigtdUfgj1RvWVtorw==", + "version": "4.53.2", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.53.2.tgz", + "integrity": "sha512-MHngMYwGJVi6Fmnk6ISmnk7JAHRNF0UkuucA0CUW3N3a4KnONPEZz+vUanQP/ZC/iY1Qkf3bwPWzyY84wEks1g==", "dev": true, "license": "MIT", "dependencies": { @@ -3827,28 +3818,28 @@ "npm": ">=8.0.0" }, "optionalDependencies": { - "@rollup/rollup-android-arm-eabi": "4.52.5", - "@rollup/rollup-android-arm64": "4.52.5", - "@rollup/rollup-darwin-arm64": "4.52.5", - "@rollup/rollup-darwin-x64": "4.52.5", - "@rollup/rollup-freebsd-arm64": "4.52.5", - "@rollup/rollup-freebsd-x64": "4.52.5", - "@rollup/rollup-linux-arm-gnueabihf": "4.52.5", - "@rollup/rollup-linux-arm-musleabihf": "4.52.5", - "@rollup/rollup-linux-arm64-gnu": "4.52.5", - "@rollup/rollup-linux-arm64-musl": "4.52.5", - "@rollup/rollup-linux-loong64-gnu": "4.52.5", - "@rollup/rollup-linux-ppc64-gnu": "4.52.5", - "@rollup/rollup-linux-riscv64-gnu": "4.52.5", - "@rollup/rollup-linux-riscv64-musl": "4.52.5", - "@rollup/rollup-linux-s390x-gnu": "4.52.5", - "@rollup/rollup-linux-x64-gnu": "4.52.5", - "@rollup/rollup-linux-x64-musl": "4.52.5", - "@rollup/rollup-openharmony-arm64": "4.52.5", - "@rollup/rollup-win32-arm64-msvc": "4.52.5", - "@rollup/rollup-win32-ia32-msvc": "4.52.5", - "@rollup/rollup-win32-x64-gnu": "4.52.5", - "@rollup/rollup-win32-x64-msvc": "4.52.5", + "@rollup/rollup-android-arm-eabi": "4.53.2", + "@rollup/rollup-android-arm64": "4.53.2", + "@rollup/rollup-darwin-arm64": "4.53.2", + "@rollup/rollup-darwin-x64": "4.53.2", + "@rollup/rollup-freebsd-arm64": "4.53.2", + "@rollup/rollup-freebsd-x64": "4.53.2", + "@rollup/rollup-linux-arm-gnueabihf": "4.53.2", + "@rollup/rollup-linux-arm-musleabihf": "4.53.2", + "@rollup/rollup-linux-arm64-gnu": "4.53.2", + "@rollup/rollup-linux-arm64-musl": "4.53.2", + "@rollup/rollup-linux-loong64-gnu": "4.53.2", + "@rollup/rollup-linux-ppc64-gnu": "4.53.2", + "@rollup/rollup-linux-riscv64-gnu": "4.53.2", + "@rollup/rollup-linux-riscv64-musl": "4.53.2", + "@rollup/rollup-linux-s390x-gnu": "4.53.2", + "@rollup/rollup-linux-x64-gnu": "4.53.2", + "@rollup/rollup-linux-x64-musl": "4.53.2", + "@rollup/rollup-openharmony-arm64": "4.53.2", + "@rollup/rollup-win32-arm64-msvc": "4.53.2", + "@rollup/rollup-win32-ia32-msvc": "4.53.2", + "@rollup/rollup-win32-x64-gnu": "4.53.2", + "@rollup/rollup-win32-x64-msvc": "4.53.2", "fsevents": "~2.3.2" } }, @@ -3933,9 +3924,9 @@ } }, "node_modules/simple-git": { - "version": "3.29.0", - "resolved": "https://registry.npmjs.org/simple-git/-/simple-git-3.29.0.tgz", - "integrity": "sha512-PEBgFYc8plTys6/XuxinxAJ+6CbXVh+xxsBTOEXw/uYBd3sYlGGoyB12nX5rRPGsFrdnnZWb81qluSl7a83HtA==", + "version": "3.30.0", + "resolved": "https://registry.npmjs.org/simple-git/-/simple-git-3.30.0.tgz", + "integrity": "sha512-q6lxyDsCmEal/MEGhP1aVyQ3oxnagGlBDOVSIB4XUVLl1iZh0Pah6ebC9V4xBap/RfgP2WlI8EKs0WS0rMEJHg==", "license": "MIT", "dependencies": { "@kwsites/file-exists": "^1.1.1", @@ -4210,7 +4201,6 @@ "integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==", "dev": true, "license": "MIT", - "peer": true, "engines": { "node": ">=12" }, @@ -4303,7 +4293,6 @@ "integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==", "dev": true, "license": "Apache-2.0", - "peer": true, "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" @@ -4313,16 +4302,16 @@ } }, "node_modules/typescript-eslint": { - "version": "8.46.2", - "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.46.2.tgz", - "integrity": "sha512-vbw8bOmiuYNdzzV3lsiWv6sRwjyuKJMQqWulBOU7M0RrxedXledX8G8kBbQeiOYDnTfiXz0Y4081E1QMNB6iQg==", + "version": "8.46.4", + "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.46.4.tgz", + "integrity": "sha512-KALyxkpYV5Ix7UhvjTwJXZv76VWsHG+NjNlt/z+a17SOQSiOcBdUXdbJdyXi7RPxrBFECtFOiPwUJQusJuCqrg==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/eslint-plugin": "8.46.2", - "@typescript-eslint/parser": "8.46.2", - "@typescript-eslint/typescript-estree": "8.46.2", - "@typescript-eslint/utils": "8.46.2" + "@typescript-eslint/eslint-plugin": "8.46.4", + "@typescript-eslint/parser": "8.46.4", + "@typescript-eslint/typescript-estree": "8.46.4", + "@typescript-eslint/utils": "8.46.4" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -4374,9 +4363,9 @@ } }, "node_modules/vite": { - "version": "7.1.12", - "resolved": "https://registry.npmjs.org/vite/-/vite-7.1.12.tgz", - "integrity": "sha512-ZWyE8YXEXqJrrSLvYgrRP7p62OziLW7xI5HYGWFzOvupfAlrLvURSzv/FyGyy0eidogEM3ujU+kUG1zuHgb6Ug==", + "version": "7.2.2", + "resolved": "https://registry.npmjs.org/vite/-/vite-7.2.2.tgz", + "integrity": "sha512-BxAKBWmIbrDgrokdGZH1IgkIk/5mMHDreLDmCJ0qpyJaAteP8NvMhkwr/ZCQNqNH97bw/dANTE9PDzqwJghfMQ==", "dev": true, "license": "MIT", "dependencies": { @@ -4495,7 +4484,6 @@ "integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==", "dev": true, "license": "MIT", - "peer": true, "engines": { "node": ">=12" }, @@ -4509,7 +4497,6 @@ "integrity": "sha512-LUCP5ev3GURDysTWiP47wRRUpLKMOfPh+yKTx3kVIEiu5KOMeqzpnYNsKyOoVrULivR8tLcks4+lga33Whn90A==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@types/chai": "^5.2.2", "@vitest/expect": "3.2.4", diff --git a/.github/package.json b/.github/package.json index 3c85bf81241d..ebc5dc58826c 100644 --- a/.github/package.json +++ b/.github/package.json @@ -9,7 +9,7 @@ "@apidevtools/json-schema-ref-parser": "^14.2.1", "debug": "^4.4.3", "js-yaml": "^4.1.0", - "marked": "^16.3.0", + "marked": "^17.0.0", "markdown-table": "^3.0.4", "simple-git": "^3.27.0", "zod": "^4.1.11" diff --git a/.github/shared/cmd/spec-model.js b/.github/shared/cmd/spec-model.js index bcee4d62f664..1bae18f753c0 100755 --- a/.github/shared/cmd/spec-model.js +++ b/.github/shared/cmd/spec-model.js @@ -4,8 +4,10 @@ import { debugLogger } from "../src/logger.js"; import { SpecModel } from "../src/spec-model.js"; const USAGE = - "Usage: npx spec-model path/to/spec [--debug] [--include-refs] [--relative-paths] [--no-embed-errors]\n" + - "Example: npx spec-model specification/widget"; + "Usage: npx spec-model path/to/spec [--debug] [--include-operations] [--include-refs] [--relative-paths] [--no-embed-errors]\n" + + "Examples:\n" + + " npx spec-model specification/widget\n" + + " npx spec-model specification --include-operations --include-refs > out.txt; grep out.txt '\"error\":'"; // Exclude first two args (node, script file) let args = process.argv.slice(2); @@ -13,6 +15,9 @@ let args = process.argv.slice(2); const debug = args.includes("--debug"); args = args.filter((a) => a != "--debug"); +const includeOperations = args.includes("--include-operations"); +args = args.filter((a) => a != "--include-operations"); + const includeRefs = args.includes("--include-refs"); args = args.filter((a) => a != "--include-refs"); @@ -42,7 +47,12 @@ const specModel = new SpecModel(specPath, { logger }); console.log( JSON.stringify( - await specModel.toJSONAsync({ embedErrors: !noEmbedErrors, includeRefs, relativePaths }), + await specModel.toJSONAsync({ + embedErrors: !noEmbedErrors, + includeOperations, + includeRefs, + relativePaths, + }), null, 2, ), diff --git a/.github/shared/eslint.config.js b/.github/shared/eslint.config.js index ba8abdb131fc..6f85ec696399 100644 --- a/.github/shared/eslint.config.js +++ b/.github/shared/eslint.config.js @@ -6,6 +6,11 @@ import globals from "globals"; import tseslint from "typescript-eslint"; /** @type {import('eslint').Linter.Config[]} */ -export default defineConfig(eslint.configs.recommended, tseslint.configs.recommended, { - languageOptions: { globals: globals.node }, +export default defineConfig(eslint.configs.recommended, tseslint.configs.recommendedTypeChecked, { + languageOptions: { + // we only run in node, not browser + globals: globals.node, + // required to use tseslint.configs.recommendedTypeChecked + parserOptions: { projectService: true }, + }, }); diff --git a/.github/shared/package-lock.json b/.github/shared/package-lock.json index 91ab5edd3ff6..5c867ef1cae0 100644 --- a/.github/shared/package-lock.json +++ b/.github/shared/package-lock.json @@ -9,7 +9,7 @@ "@apidevtools/json-schema-ref-parser": "^14.2.1", "debug": "^4.4.3", "js-yaml": "^4.1.0", - "marked": "^16.3.0", + "marked": "^17.0.0", "simple-git": "^3.27.0", "zod": "^4.1.11" }, @@ -135,9 +135,9 @@ "license": "MIT" }, "node_modules/@esbuild/aix-ppc64": { - "version": "0.25.11", - "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.25.11.tgz", - "integrity": "sha512-Xt1dOL13m8u0WE8iplx9Ibbm+hFAO0GsU2P34UNoDGvZYkY8ifSiy6Zuc1lYxfG7svWE2fzqCUmFp5HCn51gJg==", + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.25.12.tgz", + "integrity": "sha512-Hhmwd6CInZ3dwpuGTF8fJG6yoWmsToE+vYgD4nytZVxcu1ulHpUQRAB1UJ8+N1Am3Mz4+xOByoQoSZf4D+CpkA==", "cpu": [ "ppc64" ], @@ -152,9 +152,9 @@ } }, "node_modules/@esbuild/android-arm": { - "version": "0.25.11", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.25.11.tgz", - "integrity": "sha512-uoa7dU+Dt3HYsethkJ1k6Z9YdcHjTrSb5NUy66ZfZaSV8hEYGD5ZHbEMXnqLFlbBflLsl89Zke7CAdDJ4JI+Gg==", + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.25.12.tgz", + "integrity": "sha512-VJ+sKvNA/GE7Ccacc9Cha7bpS8nyzVv0jdVgwNDaR4gDMC/2TTRc33Ip8qrNYUcpkOHUT5OZ0bUcNNVZQ9RLlg==", "cpu": [ "arm" ], @@ -169,9 +169,9 @@ } }, "node_modules/@esbuild/android-arm64": { - "version": "0.25.11", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.25.11.tgz", - "integrity": "sha512-9slpyFBc4FPPz48+f6jyiXOx/Y4v34TUeDDXJpZqAWQn/08lKGeD8aDp9TMn9jDz2CiEuHwfhRmGBvpnd/PWIQ==", + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.25.12.tgz", + "integrity": "sha512-6AAmLG7zwD1Z159jCKPvAxZd4y/VTO0VkprYy+3N2FtJ8+BQWFXU+OxARIwA46c5tdD9SsKGZ/1ocqBS/gAKHg==", "cpu": [ "arm64" ], @@ -186,9 +186,9 @@ } }, "node_modules/@esbuild/android-x64": { - "version": "0.25.11", - "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.25.11.tgz", - "integrity": "sha512-Sgiab4xBjPU1QoPEIqS3Xx+R2lezu0LKIEcYe6pftr56PqPygbB7+szVnzoShbx64MUupqoE0KyRlN7gezbl8g==", + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.25.12.tgz", + "integrity": "sha512-5jbb+2hhDHx5phYR2By8GTWEzn6I9UqR11Kwf22iKbNpYrsmRB18aX/9ivc5cabcUiAT/wM+YIZ6SG9QO6a8kg==", "cpu": [ "x64" ], @@ -203,9 +203,9 @@ } }, "node_modules/@esbuild/darwin-arm64": { - "version": "0.25.11", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.25.11.tgz", - "integrity": "sha512-VekY0PBCukppoQrycFxUqkCojnTQhdec0vevUL/EDOCnXd9LKWqD/bHwMPzigIJXPhC59Vd1WFIL57SKs2mg4w==", + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.25.12.tgz", + "integrity": "sha512-N3zl+lxHCifgIlcMUP5016ESkeQjLj/959RxxNYIthIg+CQHInujFuXeWbWMgnTo4cp5XVHqFPmpyu9J65C1Yg==", "cpu": [ "arm64" ], @@ -220,9 +220,9 @@ } }, "node_modules/@esbuild/darwin-x64": { - "version": "0.25.11", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.25.11.tgz", - "integrity": "sha512-+hfp3yfBalNEpTGp9loYgbknjR695HkqtY3d3/JjSRUyPg/xd6q+mQqIb5qdywnDxRZykIHs3axEqU6l1+oWEQ==", + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.25.12.tgz", + "integrity": "sha512-HQ9ka4Kx21qHXwtlTUVbKJOAnmG1ipXhdWTmNXiPzPfWKpXqASVcWdnf2bnL73wgjNrFXAa3yYvBSd9pzfEIpA==", "cpu": [ "x64" ], @@ -237,9 +237,9 @@ } }, "node_modules/@esbuild/freebsd-arm64": { - "version": "0.25.11", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.25.11.tgz", - "integrity": "sha512-CmKjrnayyTJF2eVuO//uSjl/K3KsMIeYeyN7FyDBjsR3lnSJHaXlVoAK8DZa7lXWChbuOk7NjAc7ygAwrnPBhA==", + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.25.12.tgz", + "integrity": "sha512-gA0Bx759+7Jve03K1S0vkOu5Lg/85dou3EseOGUes8flVOGxbhDDh/iZaoek11Y8mtyKPGF3vP8XhnkDEAmzeg==", "cpu": [ "arm64" ], @@ -254,9 +254,9 @@ } }, "node_modules/@esbuild/freebsd-x64": { - "version": "0.25.11", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.25.11.tgz", - "integrity": "sha512-Dyq+5oscTJvMaYPvW3x3FLpi2+gSZTCE/1ffdwuM6G1ARang/mb3jvjxs0mw6n3Lsw84ocfo9CrNMqc5lTfGOw==", + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.25.12.tgz", + "integrity": "sha512-TGbO26Yw2xsHzxtbVFGEXBFH0FRAP7gtcPE7P5yP7wGy7cXK2oO7RyOhL5NLiqTlBh47XhmIUXuGciXEqYFfBQ==", "cpu": [ "x64" ], @@ -271,9 +271,9 @@ } }, "node_modules/@esbuild/linux-arm": { - "version": "0.25.11", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.25.11.tgz", - "integrity": "sha512-TBMv6B4kCfrGJ8cUPo7vd6NECZH/8hPpBHHlYI3qzoYFvWu2AdTvZNuU/7hsbKWqu/COU7NIK12dHAAqBLLXgw==", + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.25.12.tgz", + "integrity": "sha512-lPDGyC1JPDou8kGcywY0YILzWlhhnRjdof3UlcoqYmS9El818LLfJJc3PXXgZHrHCAKs/Z2SeZtDJr5MrkxtOw==", "cpu": [ "arm" ], @@ -288,9 +288,9 @@ } }, "node_modules/@esbuild/linux-arm64": { - "version": "0.25.11", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.25.11.tgz", - "integrity": "sha512-Qr8AzcplUhGvdyUF08A1kHU3Vr2O88xxP0Tm8GcdVOUm25XYcMPp2YqSVHbLuXzYQMf9Bh/iKx7YPqECs6ffLA==", + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.25.12.tgz", + "integrity": "sha512-8bwX7a8FghIgrupcxb4aUmYDLp8pX06rGh5HqDT7bB+8Rdells6mHvrFHHW2JAOPZUbnjUpKTLg6ECyzvas2AQ==", "cpu": [ "arm64" ], @@ -305,9 +305,9 @@ } }, "node_modules/@esbuild/linux-ia32": { - "version": "0.25.11", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.25.11.tgz", - "integrity": "sha512-TmnJg8BMGPehs5JKrCLqyWTVAvielc615jbkOirATQvWWB1NMXY77oLMzsUjRLa0+ngecEmDGqt5jiDC6bfvOw==", + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.25.12.tgz", + "integrity": "sha512-0y9KrdVnbMM2/vG8KfU0byhUN+EFCny9+8g202gYqSSVMonbsCfLjUO+rCci7pM0WBEtz+oK/PIwHkzxkyharA==", "cpu": [ "ia32" ], @@ -322,9 +322,9 @@ } }, "node_modules/@esbuild/linux-loong64": { - "version": "0.25.11", - "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.25.11.tgz", - "integrity": "sha512-DIGXL2+gvDaXlaq8xruNXUJdT5tF+SBbJQKbWy/0J7OhU8gOHOzKmGIlfTTl6nHaCOoipxQbuJi7O++ldrxgMw==", + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.25.12.tgz", + "integrity": "sha512-h///Lr5a9rib/v1GGqXVGzjL4TMvVTv+s1DPoxQdz7l/AYv6LDSxdIwzxkrPW438oUXiDtwM10o9PmwS/6Z0Ng==", "cpu": [ "loong64" ], @@ -339,9 +339,9 @@ } }, "node_modules/@esbuild/linux-mips64el": { - "version": "0.25.11", - "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.25.11.tgz", - "integrity": "sha512-Osx1nALUJu4pU43o9OyjSCXokFkFbyzjXb6VhGIJZQ5JZi8ylCQ9/LFagolPsHtgw6himDSyb5ETSfmp4rpiKQ==", + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.25.12.tgz", + "integrity": "sha512-iyRrM1Pzy9GFMDLsXn1iHUm18nhKnNMWscjmp4+hpafcZjrr2WbT//d20xaGljXDBYHqRcl8HnxbX6uaA/eGVw==", "cpu": [ "mips64el" ], @@ -356,9 +356,9 @@ } }, "node_modules/@esbuild/linux-ppc64": { - "version": "0.25.11", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.25.11.tgz", - "integrity": "sha512-nbLFgsQQEsBa8XSgSTSlrnBSrpoWh7ioFDUmwo158gIm5NNP+17IYmNWzaIzWmgCxq56vfr34xGkOcZ7jX6CPw==", + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.25.12.tgz", + "integrity": "sha512-9meM/lRXxMi5PSUqEXRCtVjEZBGwB7P/D4yT8UG/mwIdze2aV4Vo6U5gD3+RsoHXKkHCfSxZKzmDssVlRj1QQA==", "cpu": [ "ppc64" ], @@ -373,9 +373,9 @@ } }, "node_modules/@esbuild/linux-riscv64": { - "version": "0.25.11", - "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.25.11.tgz", - "integrity": "sha512-HfyAmqZi9uBAbgKYP1yGuI7tSREXwIb438q0nqvlpxAOs3XnZ8RsisRfmVsgV486NdjD7Mw2UrFSw51lzUk1ww==", + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.25.12.tgz", + "integrity": "sha512-Zr7KR4hgKUpWAwb1f3o5ygT04MzqVrGEGXGLnj15YQDJErYu/BGg+wmFlIDOdJp0PmB0lLvxFIOXZgFRrdjR0w==", "cpu": [ "riscv64" ], @@ -390,9 +390,9 @@ } }, "node_modules/@esbuild/linux-s390x": { - "version": "0.25.11", - "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.25.11.tgz", - "integrity": "sha512-HjLqVgSSYnVXRisyfmzsH6mXqyvj0SA7pG5g+9W7ESgwA70AXYNpfKBqh1KbTxmQVaYxpzA/SvlB9oclGPbApw==", + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.25.12.tgz", + "integrity": "sha512-MsKncOcgTNvdtiISc/jZs/Zf8d0cl/t3gYWX8J9ubBnVOwlk65UIEEvgBORTiljloIWnBzLs4qhzPkJcitIzIg==", "cpu": [ "s390x" ], @@ -407,9 +407,9 @@ } }, "node_modules/@esbuild/linux-x64": { - "version": "0.25.11", - "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.25.11.tgz", - "integrity": "sha512-HSFAT4+WYjIhrHxKBwGmOOSpphjYkcswF449j6EjsjbinTZbp8PJtjsVK1XFJStdzXdy/jaddAep2FGY+wyFAQ==", + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.25.12.tgz", + "integrity": "sha512-uqZMTLr/zR/ed4jIGnwSLkaHmPjOjJvnm6TVVitAa08SLS9Z0VM8wIRx7gWbJB5/J54YuIMInDquWyYvQLZkgw==", "cpu": [ "x64" ], @@ -424,9 +424,9 @@ } }, "node_modules/@esbuild/netbsd-arm64": { - "version": "0.25.11", - "resolved": "https://registry.npmjs.org/@esbuild/netbsd-arm64/-/netbsd-arm64-0.25.11.tgz", - "integrity": "sha512-hr9Oxj1Fa4r04dNpWr3P8QKVVsjQhqrMSUzZzf+LZcYjZNqhA3IAfPQdEh1FLVUJSiu6sgAwp3OmwBfbFgG2Xg==", + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-arm64/-/netbsd-arm64-0.25.12.tgz", + "integrity": "sha512-xXwcTq4GhRM7J9A8Gv5boanHhRa/Q9KLVmcyXHCTaM4wKfIpWkdXiMog/KsnxzJ0A1+nD+zoecuzqPmCRyBGjg==", "cpu": [ "arm64" ], @@ -441,9 +441,9 @@ } }, "node_modules/@esbuild/netbsd-x64": { - "version": "0.25.11", - "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.25.11.tgz", - "integrity": "sha512-u7tKA+qbzBydyj0vgpu+5h5AeudxOAGncb8N6C9Kh1N4n7wU1Xw1JDApsRjpShRpXRQlJLb9wY28ELpwdPcZ7A==", + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.25.12.tgz", + "integrity": "sha512-Ld5pTlzPy3YwGec4OuHh1aCVCRvOXdH8DgRjfDy/oumVovmuSzWfnSJg+VtakB9Cm0gxNO9BzWkj6mtO1FMXkQ==", "cpu": [ "x64" ], @@ -458,9 +458,9 @@ } }, "node_modules/@esbuild/openbsd-arm64": { - "version": "0.25.11", - "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.25.11.tgz", - "integrity": "sha512-Qq6YHhayieor3DxFOoYM1q0q1uMFYb7cSpLD2qzDSvK1NAvqFi8Xgivv0cFC6J+hWVw2teCYltyy9/m/14ryHg==", + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.25.12.tgz", + "integrity": "sha512-fF96T6KsBo/pkQI950FARU9apGNTSlZGsv1jZBAlcLL1MLjLNIWPBkj5NlSz8aAzYKg+eNqknrUJ24QBybeR5A==", "cpu": [ "arm64" ], @@ -475,9 +475,9 @@ } }, "node_modules/@esbuild/openbsd-x64": { - "version": "0.25.11", - "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.25.11.tgz", - "integrity": "sha512-CN+7c++kkbrckTOz5hrehxWN7uIhFFlmS/hqziSFVWpAzpWrQoAG4chH+nN3Be+Kzv/uuo7zhX716x3Sn2Jduw==", + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.25.12.tgz", + "integrity": "sha512-MZyXUkZHjQxUvzK7rN8DJ3SRmrVrke8ZyRusHlP+kuwqTcfWLyqMOE3sScPPyeIXN/mDJIfGXvcMqCgYKekoQw==", "cpu": [ "x64" ], @@ -492,9 +492,9 @@ } }, "node_modules/@esbuild/openharmony-arm64": { - "version": "0.25.11", - "resolved": "https://registry.npmjs.org/@esbuild/openharmony-arm64/-/openharmony-arm64-0.25.11.tgz", - "integrity": "sha512-rOREuNIQgaiR+9QuNkbkxubbp8MSO9rONmwP5nKncnWJ9v5jQ4JxFnLu4zDSRPf3x4u+2VN4pM4RdyIzDty/wQ==", + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/openharmony-arm64/-/openharmony-arm64-0.25.12.tgz", + "integrity": "sha512-rm0YWsqUSRrjncSXGA7Zv78Nbnw4XL6/dzr20cyrQf7ZmRcsovpcRBdhD43Nuk3y7XIoW2OxMVvwuRvk9XdASg==", "cpu": [ "arm64" ], @@ -509,9 +509,9 @@ } }, "node_modules/@esbuild/sunos-x64": { - "version": "0.25.11", - "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.25.11.tgz", - "integrity": "sha512-nq2xdYaWxyg9DcIyXkZhcYulC6pQ2FuCgem3LI92IwMgIZ69KHeY8T4Y88pcwoLIjbed8n36CyKoYRDygNSGhA==", + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.25.12.tgz", + "integrity": "sha512-3wGSCDyuTHQUzt0nV7bocDy72r2lI33QL3gkDNGkod22EsYl04sMf0qLb8luNKTOmgF/eDEDP5BFNwoBKH441w==", "cpu": [ "x64" ], @@ -526,9 +526,9 @@ } }, "node_modules/@esbuild/win32-arm64": { - "version": "0.25.11", - "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.25.11.tgz", - "integrity": "sha512-3XxECOWJq1qMZ3MN8srCJ/QfoLpL+VaxD/WfNRm1O3B4+AZ/BnLVgFbUV3eiRYDMXetciH16dwPbbHqwe1uU0Q==", + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.25.12.tgz", + "integrity": "sha512-rMmLrur64A7+DKlnSuwqUdRKyd3UE7oPJZmnljqEptesKM8wx9J8gx5u0+9Pq0fQQW8vqeKebwNXdfOyP+8Bsg==", "cpu": [ "arm64" ], @@ -543,9 +543,9 @@ } }, "node_modules/@esbuild/win32-ia32": { - "version": "0.25.11", - "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.25.11.tgz", - "integrity": "sha512-3ukss6gb9XZ8TlRyJlgLn17ecsK4NSQTmdIXRASVsiS2sQ6zPPZklNJT5GR5tE/MUarymmy8kCEf5xPCNCqVOA==", + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.25.12.tgz", + "integrity": "sha512-HkqnmmBoCbCwxUKKNPBixiWDGCpQGVsrQfJoVGYLPT41XWF8lHuE5N6WhVia2n4o5QK5M4tYr21827fNhi4byQ==", "cpu": [ "ia32" ], @@ -560,9 +560,9 @@ } }, "node_modules/@esbuild/win32-x64": { - "version": "0.25.11", - "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.25.11.tgz", - "integrity": "sha512-D7Hpz6A2L4hzsRpPaCYkQnGOotdUpDzSGRIv9I+1ITdHROSFUWW95ZPZWQmGka1Fg7W3zFJowyn9WGwMJ0+KPA==", + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.25.12.tgz", + "integrity": "sha512-alJC0uCZpTFrSL0CCDjcgleBXPnCrEAhTBILpeAp7M/OFgoqtAetfBzX0xM00MUsVVPpVjlPuMbREqnZCXaTnA==", "cpu": [ "x64" ], @@ -697,9 +697,9 @@ } }, "node_modules/@eslint/js": { - "version": "9.39.0", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.39.0.tgz", - "integrity": "sha512-BIhe0sW91JGPiaF1mOuPy5v8NflqfjIcDNpC+LbW9f609WVRX1rArrhi6Z2ymvrAry9jw+5POTj4t2t62o8Bmw==", + "version": "9.39.1", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.39.1.tgz", + "integrity": "sha512-S26Stp4zCy88tH94QbBv3XCuzRQiZ9yXofEILmglYTh/Ug/a9/umqvgFtYBAo3Lp0nsI/5/qH1CCrbdK3AP1Tw==", "dev": true, "license": "MIT", "engines": { @@ -917,9 +917,9 @@ } }, "node_modules/@rollup/rollup-android-arm-eabi": { - "version": "4.52.5", - "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.52.5.tgz", - "integrity": "sha512-8c1vW4ocv3UOMp9K+gToY5zL2XiiVw3k7f1ksf4yO1FlDFQ1C2u72iACFnSOceJFsWskc2WZNqeRhFRPzv+wtQ==", + "version": "4.53.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.53.2.tgz", + "integrity": "sha512-yDPzwsgiFO26RJA4nZo8I+xqzh7sJTZIWQOxn+/XOdPE31lAvLIYCKqjV+lNH/vxE2L2iH3plKxDCRK6i+CwhA==", "cpu": [ "arm" ], @@ -931,9 +931,9 @@ ] }, "node_modules/@rollup/rollup-android-arm64": { - "version": "4.52.5", - "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.52.5.tgz", - "integrity": "sha512-mQGfsIEFcu21mvqkEKKu2dYmtuSZOBMmAl5CFlPGLY94Vlcm+zWApK7F/eocsNzp8tKmbeBP8yXyAbx0XHsFNA==", + "version": "4.53.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.53.2.tgz", + "integrity": "sha512-k8FontTxIE7b0/OGKeSN5B6j25EuppBcWM33Z19JoVT7UTXFSo3D9CdU39wGTeb29NO3XxpMNauh09B+Ibw+9g==", "cpu": [ "arm64" ], @@ -945,9 +945,9 @@ ] }, "node_modules/@rollup/rollup-darwin-arm64": { - "version": "4.52.5", - "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.52.5.tgz", - "integrity": "sha512-takF3CR71mCAGA+v794QUZ0b6ZSrgJkArC+gUiG6LB6TQty9T0Mqh3m2ImRBOxS2IeYBo4lKWIieSvnEk2OQWA==", + "version": "4.53.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.53.2.tgz", + "integrity": "sha512-A6s4gJpomNBtJ2yioj8bflM2oogDwzUiMl2yNJ2v9E7++sHrSrsQ29fOfn5DM/iCzpWcebNYEdXpaK4tr2RhfQ==", "cpu": [ "arm64" ], @@ -959,9 +959,9 @@ ] }, "node_modules/@rollup/rollup-darwin-x64": { - "version": "4.52.5", - "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.52.5.tgz", - "integrity": "sha512-W901Pla8Ya95WpxDn//VF9K9u2JbocwV/v75TE0YIHNTbhqUTv9w4VuQ9MaWlNOkkEfFwkdNhXgcLqPSmHy0fA==", + "version": "4.53.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.53.2.tgz", + "integrity": "sha512-e6XqVmXlHrBlG56obu9gDRPW3O3hLxpwHpLsBJvuI8qqnsrtSZ9ERoWUXtPOkY8c78WghyPHZdmPhHLWNdAGEw==", "cpu": [ "x64" ], @@ -973,9 +973,9 @@ ] }, "node_modules/@rollup/rollup-freebsd-arm64": { - "version": "4.52.5", - "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.52.5.tgz", - "integrity": "sha512-QofO7i7JycsYOWxe0GFqhLmF6l1TqBswJMvICnRUjqCx8b47MTo46W8AoeQwiokAx3zVryVnxtBMcGcnX12LvA==", + "version": "4.53.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.53.2.tgz", + "integrity": "sha512-v0E9lJW8VsrwPux5Qe5CwmH/CF/2mQs6xU1MF3nmUxmZUCHazCjLgYvToOk+YuuUqLQBio1qkkREhxhc656ViA==", "cpu": [ "arm64" ], @@ -987,9 +987,9 @@ ] }, "node_modules/@rollup/rollup-freebsd-x64": { - "version": "4.52.5", - "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.52.5.tgz", - "integrity": "sha512-jr21b/99ew8ujZubPo9skbrItHEIE50WdV86cdSoRkKtmWa+DDr6fu2c/xyRT0F/WazZpam6kk7IHBerSL7LDQ==", + "version": "4.53.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.53.2.tgz", + "integrity": "sha512-ClAmAPx3ZCHtp6ysl4XEhWU69GUB1D+s7G9YjHGhIGCSrsg00nEGRRZHmINYxkdoJehde8VIsDC5t9C0gb6yqA==", "cpu": [ "x64" ], @@ -1001,9 +1001,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm-gnueabihf": { - "version": "4.52.5", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.52.5.tgz", - "integrity": "sha512-PsNAbcyv9CcecAUagQefwX8fQn9LQ4nZkpDboBOttmyffnInRy8R8dSg6hxxl2Re5QhHBf6FYIDhIj5v982ATQ==", + "version": "4.53.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.53.2.tgz", + "integrity": "sha512-EPlb95nUsz6Dd9Qy13fI5kUPXNSljaG9FiJ4YUGU1O/Q77i5DYFW5KR8g1OzTcdZUqQQ1KdDqsTohdFVwCwjqg==", "cpu": [ "arm" ], @@ -1015,9 +1015,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm-musleabihf": { - "version": "4.52.5", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.52.5.tgz", - "integrity": "sha512-Fw4tysRutyQc/wwkmcyoqFtJhh0u31K+Q6jYjeicsGJJ7bbEq8LwPWV/w0cnzOqR2m694/Af6hpFayLJZkG2VQ==", + "version": "4.53.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.53.2.tgz", + "integrity": "sha512-BOmnVW+khAUX+YZvNfa0tGTEMVVEerOxN0pDk2E6N6DsEIa2Ctj48FOMfNDdrwinocKaC7YXUZ1pHlKpnkja/Q==", "cpu": [ "arm" ], @@ -1029,9 +1029,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm64-gnu": { - "version": "4.52.5", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.52.5.tgz", - "integrity": "sha512-a+3wVnAYdQClOTlyapKmyI6BLPAFYs0JM8HRpgYZQO02rMR09ZcV9LbQB+NL6sljzG38869YqThrRnfPMCDtZg==", + "version": "4.53.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.53.2.tgz", + "integrity": "sha512-Xt2byDZ+6OVNuREgBXr4+CZDJtrVso5woFtpKdGPhpTPHcNG7D8YXeQzpNbFRxzTVqJf7kvPMCub/pcGUWgBjA==", "cpu": [ "arm64" ], @@ -1043,9 +1043,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm64-musl": { - "version": "4.52.5", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.52.5.tgz", - "integrity": "sha512-AvttBOMwO9Pcuuf7m9PkC1PUIKsfaAJ4AYhy944qeTJgQOqJYJ9oVl2nYgY7Rk0mkbsuOpCAYSs6wLYB2Xiw0Q==", + "version": "4.53.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.53.2.tgz", + "integrity": "sha512-+LdZSldy/I9N8+klim/Y1HsKbJ3BbInHav5qE9Iy77dtHC/pibw1SR/fXlWyAk0ThnpRKoODwnAuSjqxFRDHUQ==", "cpu": [ "arm64" ], @@ -1057,9 +1057,9 @@ ] }, "node_modules/@rollup/rollup-linux-loong64-gnu": { - "version": "4.52.5", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loong64-gnu/-/rollup-linux-loong64-gnu-4.52.5.tgz", - "integrity": "sha512-DkDk8pmXQV2wVrF6oq5tONK6UHLz/XcEVow4JTTerdeV1uqPeHxwcg7aFsfnSm9L+OO8WJsWotKM2JJPMWrQtA==", + "version": "4.53.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loong64-gnu/-/rollup-linux-loong64-gnu-4.53.2.tgz", + "integrity": "sha512-8ms8sjmyc1jWJS6WdNSA23rEfdjWB30LH8Wqj0Cqvv7qSHnvw6kgMMXRdop6hkmGPlyYBdRPkjJnj3KCUHV/uQ==", "cpu": [ "loong64" ], @@ -1071,9 +1071,9 @@ ] }, "node_modules/@rollup/rollup-linux-ppc64-gnu": { - "version": "4.52.5", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-gnu/-/rollup-linux-ppc64-gnu-4.52.5.tgz", - "integrity": "sha512-W/b9ZN/U9+hPQVvlGwjzi+Wy4xdoH2I8EjaCkMvzpI7wJUs8sWJ03Rq96jRnHkSrcHTpQe8h5Tg3ZzUPGauvAw==", + "version": "4.53.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-gnu/-/rollup-linux-ppc64-gnu-4.53.2.tgz", + "integrity": "sha512-3HRQLUQbpBDMmzoxPJYd3W6vrVHOo2cVW8RUo87Xz0JPJcBLBr5kZ1pGcQAhdZgX9VV7NbGNipah1omKKe23/g==", "cpu": [ "ppc64" ], @@ -1085,9 +1085,9 @@ ] }, "node_modules/@rollup/rollup-linux-riscv64-gnu": { - "version": "4.52.5", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.52.5.tgz", - "integrity": "sha512-sjQLr9BW7R/ZiXnQiWPkErNfLMkkWIoCz7YMn27HldKsADEKa5WYdobaa1hmN6slu9oWQbB6/jFpJ+P2IkVrmw==", + "version": "4.53.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.53.2.tgz", + "integrity": "sha512-fMjKi+ojnmIvhk34gZP94vjogXNNUKMEYs+EDaB/5TG/wUkoeua7p7VCHnE6T2Tx+iaghAqQX8teQzcvrYpaQA==", "cpu": [ "riscv64" ], @@ -1099,9 +1099,9 @@ ] }, "node_modules/@rollup/rollup-linux-riscv64-musl": { - "version": "4.52.5", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-musl/-/rollup-linux-riscv64-musl-4.52.5.tgz", - "integrity": "sha512-hq3jU/kGyjXWTvAh2awn8oHroCbrPm8JqM7RUpKjalIRWWXE01CQOf/tUNWNHjmbMHg/hmNCwc/Pz3k1T/j/Lg==", + "version": "4.53.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-musl/-/rollup-linux-riscv64-musl-4.53.2.tgz", + "integrity": "sha512-XuGFGU+VwUUV5kLvoAdi0Wz5Xbh2SrjIxCtZj6Wq8MDp4bflb/+ThZsVxokM7n0pcbkEr2h5/pzqzDYI7cCgLQ==", "cpu": [ "riscv64" ], @@ -1113,9 +1113,9 @@ ] }, "node_modules/@rollup/rollup-linux-s390x-gnu": { - "version": "4.52.5", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.52.5.tgz", - "integrity": "sha512-gn8kHOrku8D4NGHMK1Y7NA7INQTRdVOntt1OCYypZPRt6skGbddska44K8iocdpxHTMMNui5oH4elPH4QOLrFQ==", + "version": "4.53.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.53.2.tgz", + "integrity": "sha512-w6yjZF0P+NGzWR3AXWX9zc0DNEGdtvykB03uhonSHMRa+oWA6novflo2WaJr6JZakG2ucsyb+rvhrKac6NIy+w==", "cpu": [ "s390x" ], @@ -1127,9 +1127,9 @@ ] }, "node_modules/@rollup/rollup-linux-x64-gnu": { - "version": "4.52.5", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.52.5.tgz", - "integrity": "sha512-hXGLYpdhiNElzN770+H2nlx+jRog8TyynpTVzdlc6bndktjKWyZyiCsuDAlpd+j+W+WNqfcyAWz9HxxIGfZm1Q==", + "version": "4.53.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.53.2.tgz", + "integrity": "sha512-yo8d6tdfdeBArzC7T/PnHd7OypfI9cbuZzPnzLJIyKYFhAQ8SvlkKtKBMbXDxe1h03Rcr7u++nFS7tqXz87Gtw==", "cpu": [ "x64" ], @@ -1141,9 +1141,9 @@ ] }, "node_modules/@rollup/rollup-linux-x64-musl": { - "version": "4.52.5", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.52.5.tgz", - "integrity": "sha512-arCGIcuNKjBoKAXD+y7XomR9gY6Mw7HnFBv5Rw7wQRvwYLR7gBAgV7Mb2QTyjXfTveBNFAtPt46/36vV9STLNg==", + "version": "4.53.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.53.2.tgz", + "integrity": "sha512-ah59c1YkCxKExPP8O9PwOvs+XRLKwh/mV+3YdKqQ5AMQ0r4M4ZDuOrpWkUaqO7fzAHdINzV9tEVu8vNw48z0lA==", "cpu": [ "x64" ], @@ -1155,9 +1155,9 @@ ] }, "node_modules/@rollup/rollup-openharmony-arm64": { - "version": "4.52.5", - "resolved": "https://registry.npmjs.org/@rollup/rollup-openharmony-arm64/-/rollup-openharmony-arm64-4.52.5.tgz", - "integrity": "sha512-QoFqB6+/9Rly/RiPjaomPLmR/13cgkIGfA40LHly9zcH1S0bN2HVFYk3a1eAyHQyjs3ZJYlXvIGtcCs5tko9Cw==", + "version": "4.53.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-openharmony-arm64/-/rollup-openharmony-arm64-4.53.2.tgz", + "integrity": "sha512-4VEd19Wmhr+Zy7hbUsFZ6YXEiP48hE//KPLCSVNY5RMGX2/7HZ+QkN55a3atM1C/BZCGIgqN+xrVgtdak2S9+A==", "cpu": [ "arm64" ], @@ -1169,9 +1169,9 @@ ] }, "node_modules/@rollup/rollup-win32-arm64-msvc": { - "version": "4.52.5", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.52.5.tgz", - "integrity": "sha512-w0cDWVR6MlTstla1cIfOGyl8+qb93FlAVutcor14Gf5Md5ap5ySfQ7R9S/NjNaMLSFdUnKGEasmVnu3lCMqB7w==", + "version": "4.53.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.53.2.tgz", + "integrity": "sha512-IlbHFYc/pQCgew/d5fslcy1KEaYVCJ44G8pajugd8VoOEI8ODhtb/j8XMhLpwHCMB3yk2J07ctup10gpw2nyMA==", "cpu": [ "arm64" ], @@ -1183,9 +1183,9 @@ ] }, "node_modules/@rollup/rollup-win32-ia32-msvc": { - "version": "4.52.5", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.52.5.tgz", - "integrity": "sha512-Aufdpzp7DpOTULJCuvzqcItSGDH73pF3ko/f+ckJhxQyHtp67rHw3HMNxoIdDMUITJESNE6a8uh4Lo4SLouOUg==", + "version": "4.53.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.53.2.tgz", + "integrity": "sha512-lNlPEGgdUfSzdCWU176ku/dQRnA7W+Gp8d+cWv73jYrb8uT7HTVVxq62DUYxjbaByuf1Yk0RIIAbDzp+CnOTFg==", "cpu": [ "ia32" ], @@ -1197,9 +1197,9 @@ ] }, "node_modules/@rollup/rollup-win32-x64-gnu": { - "version": "4.52.5", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-gnu/-/rollup-win32-x64-gnu-4.52.5.tgz", - "integrity": "sha512-UGBUGPFp1vkj6p8wCRraqNhqwX/4kNQPS57BCFc8wYh0g94iVIW33wJtQAx3G7vrjjNtRaxiMUylM0ktp/TRSQ==", + "version": "4.53.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-gnu/-/rollup-win32-x64-gnu-4.53.2.tgz", + "integrity": "sha512-S6YojNVrHybQis2lYov1sd+uj7K0Q05NxHcGktuMMdIQ2VixGwAfbJ23NnlvvVV1bdpR2m5MsNBViHJKcA4ADw==", "cpu": [ "x64" ], @@ -1211,9 +1211,9 @@ ] }, "node_modules/@rollup/rollup-win32-x64-msvc": { - "version": "4.52.5", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.52.5.tgz", - "integrity": "sha512-TAcgQh2sSkykPRWLrdyy2AiceMckNf5loITqXxFI5VuQjS5tSuw3WlwdN8qv8vzjLAUTvYaH/mVjSFpbkFbpTg==", + "version": "4.53.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.53.2.tgz", + "integrity": "sha512-k+/Rkcyx//P6fetPoLMb8pBeqJBNGx81uuf7iljX9++yNBVRDQgD04L+SVXmXmh5ZP4/WOp4mWF0kmi06PW2tA==", "cpu": [ "x64" ], @@ -1248,7 +1248,6 @@ "integrity": "sha512-vIChWdVG3LG1SMxEvI/AK+FWJthlrqlTu7fbrlywTkkaONwk/UAGaULXRlf8vkzFBLVm0zkMdCquhL5aOjhXPQ==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@types/ms": "*" } @@ -1278,8 +1277,7 @@ "version": "7.0.15", "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz", "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==", - "license": "MIT", - "peer": true + "license": "MIT" }, "node_modules/@types/ms": { "version": "2.1.0", @@ -1294,7 +1292,6 @@ "integrity": "sha512-FE5u0ezmi6y9OZEzlJfg37mqqf6ZDSF2V/NLjUyGrR9uTZ7Sb9F7bLNZ03S4XVUNRWGA7Ck4c1kK+YnuWjl+DA==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "undici-types": "~6.21.0" } @@ -1307,17 +1304,17 @@ "license": "MIT" }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "8.46.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.46.2.tgz", - "integrity": "sha512-ZGBMToy857/NIPaaCucIUQgqueOiq7HeAKkhlvqVV4lm089zUFW6ikRySx2v+cAhKeUCPuWVHeimyk6Dw1iY3w==", + "version": "8.46.4", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.46.4.tgz", + "integrity": "sha512-R48VhmTJqplNyDxCyqqVkFSZIx1qX6PzwqgcXn1olLrzxcSBDlOsbtcnQuQhNtnNiJ4Xe5gREI1foajYaYU2Vg==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/regexpp": "^4.10.0", - "@typescript-eslint/scope-manager": "8.46.2", - "@typescript-eslint/type-utils": "8.46.2", - "@typescript-eslint/utils": "8.46.2", - "@typescript-eslint/visitor-keys": "8.46.2", + "@typescript-eslint/scope-manager": "8.46.4", + "@typescript-eslint/type-utils": "8.46.4", + "@typescript-eslint/utils": "8.46.4", + "@typescript-eslint/visitor-keys": "8.46.4", "graphemer": "^1.4.0", "ignore": "^7.0.0", "natural-compare": "^1.4.0", @@ -1331,7 +1328,7 @@ "url": "https://opencollective.com/typescript-eslint" }, "peerDependencies": { - "@typescript-eslint/parser": "^8.46.2", + "@typescript-eslint/parser": "^8.46.4", "eslint": "^8.57.0 || ^9.0.0", "typescript": ">=4.8.4 <6.0.0" } @@ -1347,17 +1344,16 @@ } }, "node_modules/@typescript-eslint/parser": { - "version": "8.46.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.46.2.tgz", - "integrity": "sha512-BnOroVl1SgrPLywqxyqdJ4l3S2MsKVLDVxZvjI1Eoe8ev2r3kGDo+PcMihNmDE+6/KjkTubSJnmqGZZjQSBq/g==", + "version": "8.46.4", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.46.4.tgz", + "integrity": "sha512-tK3GPFWbirvNgsNKto+UmB/cRtn6TZfyw0D6IKrW55n6Vbs7KJoZtI//kpTKzE/DUmmnAFD8/Ca46s7Obs92/w==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { - "@typescript-eslint/scope-manager": "8.46.2", - "@typescript-eslint/types": "8.46.2", - "@typescript-eslint/typescript-estree": "8.46.2", - "@typescript-eslint/visitor-keys": "8.46.2", + "@typescript-eslint/scope-manager": "8.46.4", + "@typescript-eslint/types": "8.46.4", + "@typescript-eslint/typescript-estree": "8.46.4", + "@typescript-eslint/visitor-keys": "8.46.4", "debug": "^4.3.4" }, "engines": { @@ -1373,14 +1369,14 @@ } }, "node_modules/@typescript-eslint/project-service": { - "version": "8.46.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.46.2.tgz", - "integrity": "sha512-PULOLZ9iqwI7hXcmL4fVfIsBi6AN9YxRc0frbvmg8f+4hQAjQ5GYNKK0DIArNo+rOKmR/iBYwkpBmnIwin4wBg==", + "version": "8.46.4", + "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.46.4.tgz", + "integrity": "sha512-nPiRSKuvtTN+no/2N1kt2tUh/HoFzeEgOm9fQ6XQk4/ApGqjx0zFIIaLJ6wooR1HIoozvj2j6vTi/1fgAz7UYQ==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/tsconfig-utils": "^8.46.2", - "@typescript-eslint/types": "^8.46.2", + "@typescript-eslint/tsconfig-utils": "^8.46.4", + "@typescript-eslint/types": "^8.46.4", "debug": "^4.3.4" }, "engines": { @@ -1395,14 +1391,14 @@ } }, "node_modules/@typescript-eslint/scope-manager": { - "version": "8.46.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.46.2.tgz", - "integrity": "sha512-LF4b/NmGvdWEHD2H4MsHD8ny6JpiVNDzrSZr3CsckEgCbAGZbYM4Cqxvi9L+WqDMT+51Ozy7lt2M+d0JLEuBqA==", + "version": "8.46.4", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.46.4.tgz", + "integrity": "sha512-tMDbLGXb1wC+McN1M6QeDx7P7c0UWO5z9CXqp7J8E+xGcJuUuevWKxuG8j41FoweS3+L41SkyKKkia16jpX7CA==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.46.2", - "@typescript-eslint/visitor-keys": "8.46.2" + "@typescript-eslint/types": "8.46.4", + "@typescript-eslint/visitor-keys": "8.46.4" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -1413,9 +1409,9 @@ } }, "node_modules/@typescript-eslint/tsconfig-utils": { - "version": "8.46.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.46.2.tgz", - "integrity": "sha512-a7QH6fw4S57+F5y2FIxxSDyi5M4UfGF+Jl1bCGd7+L4KsaUY80GsiF/t0UoRFDHAguKlBaACWJRmdrc6Xfkkag==", + "version": "8.46.4", + "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.46.4.tgz", + "integrity": "sha512-+/XqaZPIAk6Cjg7NWgSGe27X4zMGqrFqZ8atJsX3CWxH/jACqWnrWI68h7nHQld0y+k9eTTjb9r+KU4twLoo9A==", "dev": true, "license": "MIT", "engines": { @@ -1430,15 +1426,15 @@ } }, "node_modules/@typescript-eslint/type-utils": { - "version": "8.46.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.46.2.tgz", - "integrity": "sha512-HbPM4LbaAAt/DjxXaG9yiS9brOOz6fabal4uvUmaUYe6l3K1phQDMQKBRUrr06BQkxkvIZVVHttqiybM9nJsLA==", + "version": "8.46.4", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.46.4.tgz", + "integrity": "sha512-V4QC8h3fdT5Wro6vANk6eojqfbv5bpwHuMsBcJUJkqs2z5XnYhJzyz9Y02eUmF9u3PgXEUiOt4w4KHR3P+z0PQ==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.46.2", - "@typescript-eslint/typescript-estree": "8.46.2", - "@typescript-eslint/utils": "8.46.2", + "@typescript-eslint/types": "8.46.4", + "@typescript-eslint/typescript-estree": "8.46.4", + "@typescript-eslint/utils": "8.46.4", "debug": "^4.3.4", "ts-api-utils": "^2.1.0" }, @@ -1455,9 +1451,9 @@ } }, "node_modules/@typescript-eslint/types": { - "version": "8.46.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.46.2.tgz", - "integrity": "sha512-lNCWCbq7rpg7qDsQrd3D6NyWYu+gkTENkG5IKYhUIcxSb59SQC/hEQ+MrG4sTgBVghTonNWq42bA/d4yYumldQ==", + "version": "8.46.4", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.46.4.tgz", + "integrity": "sha512-USjyxm3gQEePdUwJBFjjGNG18xY9A2grDVGuk7/9AkjIF1L+ZrVnwR5VAU5JXtUnBL/Nwt3H31KlRDaksnM7/w==", "dev": true, "license": "MIT", "engines": { @@ -1469,16 +1465,16 @@ } }, "node_modules/@typescript-eslint/typescript-estree": { - "version": "8.46.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.46.2.tgz", - "integrity": "sha512-f7rW7LJ2b7Uh2EiQ+7sza6RDZnajbNbemn54Ob6fRwQbgcIn+GWfyuHDHRYgRoZu1P4AayVScrRW+YfbTvPQoQ==", + "version": "8.46.4", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.46.4.tgz", + "integrity": "sha512-7oV2qEOr1d4NWNmpXLR35LvCfOkTNymY9oyW+lUHkmCno7aOmIf/hMaydnJBUTBMRCOGZh8YjkFOc8dadEoNGA==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/project-service": "8.46.2", - "@typescript-eslint/tsconfig-utils": "8.46.2", - "@typescript-eslint/types": "8.46.2", - "@typescript-eslint/visitor-keys": "8.46.2", + "@typescript-eslint/project-service": "8.46.4", + "@typescript-eslint/tsconfig-utils": "8.46.4", + "@typescript-eslint/types": "8.46.4", + "@typescript-eslint/visitor-keys": "8.46.4", "debug": "^4.3.4", "fast-glob": "^3.3.2", "is-glob": "^4.0.3", @@ -1524,16 +1520,16 @@ } }, "node_modules/@typescript-eslint/utils": { - "version": "8.46.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.46.2.tgz", - "integrity": "sha512-sExxzucx0Tud5tE0XqR0lT0psBQvEpnpiul9XbGUB1QwpWJJAps1O/Z7hJxLGiZLBKMCutjTzDgmd1muEhBnVg==", + "version": "8.46.4", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.46.4.tgz", + "integrity": "sha512-AbSv11fklGXV6T28dp2Me04Uw90R2iJ30g2bgLz529Koehrmkbs1r7paFqr1vPCZi7hHwYxYtxfyQMRC8QaVSg==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/eslint-utils": "^4.7.0", - "@typescript-eslint/scope-manager": "8.46.2", - "@typescript-eslint/types": "8.46.2", - "@typescript-eslint/typescript-estree": "8.46.2" + "@typescript-eslint/scope-manager": "8.46.4", + "@typescript-eslint/types": "8.46.4", + "@typescript-eslint/typescript-estree": "8.46.4" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -1548,13 +1544,13 @@ } }, "node_modules/@typescript-eslint/visitor-keys": { - "version": "8.46.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.46.2.tgz", - "integrity": "sha512-tUFMXI4gxzzMXt4xpGJEsBsTox0XbNQ1y94EwlD/CuZwFcQP79xfQqMhau9HsRc/J0cAPA/HZt1dZPtGn9V/7w==", + "version": "8.46.4", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.46.4.tgz", + "integrity": "sha512-/++5CYLQqsO9HFGLI7APrxBJYo+5OCMpViuhV8q5/Qa3o5mMrF//eQHks+PXcsAVaLdn817fMuS7zqoXNNZGaw==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.46.2", + "@typescript-eslint/types": "8.46.4", "eslint-visitor-keys": "^4.2.1" }, "engines": { @@ -1720,7 +1716,6 @@ "integrity": "sha512-NZyJarBfL7nWwIq+FDL6Zp/yHEhePMNnnJ0y3qfieCrmNvYct8uvtiV41UvlSe6apAfk0fY1FbWx+NwfmpvtTg==", "dev": true, "license": "MIT", - "peer": true, "bin": { "acorn": "bin/acorn" }, @@ -2023,9 +2018,9 @@ "license": "MIT" }, "node_modules/esbuild": { - "version": "0.25.11", - "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.25.11.tgz", - "integrity": "sha512-KohQwyzrKTQmhXDW1PjCv3Tyspn9n5GcY2RTDqeORIdIJY8yKIF7sTSopFmn/wpMPW4rdPXI0UE5LJLuq3bx0Q==", + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.25.12.tgz", + "integrity": "sha512-bbPBYYrtZbkt6Os6FiTLCTFxvq4tt3JKall1vRwshA3fdVztsLAatFaZobhkBC8/BrPetoa0oksYoKXoG4ryJg==", "dev": true, "hasInstallScript": true, "license": "MIT", @@ -2036,32 +2031,32 @@ "node": ">=18" }, "optionalDependencies": { - "@esbuild/aix-ppc64": "0.25.11", - "@esbuild/android-arm": "0.25.11", - "@esbuild/android-arm64": "0.25.11", - "@esbuild/android-x64": "0.25.11", - "@esbuild/darwin-arm64": "0.25.11", - "@esbuild/darwin-x64": "0.25.11", - "@esbuild/freebsd-arm64": "0.25.11", - "@esbuild/freebsd-x64": "0.25.11", - "@esbuild/linux-arm": "0.25.11", - "@esbuild/linux-arm64": "0.25.11", - "@esbuild/linux-ia32": "0.25.11", - "@esbuild/linux-loong64": "0.25.11", - "@esbuild/linux-mips64el": "0.25.11", - "@esbuild/linux-ppc64": "0.25.11", - "@esbuild/linux-riscv64": "0.25.11", - "@esbuild/linux-s390x": "0.25.11", - "@esbuild/linux-x64": "0.25.11", - "@esbuild/netbsd-arm64": "0.25.11", - "@esbuild/netbsd-x64": "0.25.11", - "@esbuild/openbsd-arm64": "0.25.11", - "@esbuild/openbsd-x64": "0.25.11", - "@esbuild/openharmony-arm64": "0.25.11", - "@esbuild/sunos-x64": "0.25.11", - "@esbuild/win32-arm64": "0.25.11", - "@esbuild/win32-ia32": "0.25.11", - "@esbuild/win32-x64": "0.25.11" + "@esbuild/aix-ppc64": "0.25.12", + "@esbuild/android-arm": "0.25.12", + "@esbuild/android-arm64": "0.25.12", + "@esbuild/android-x64": "0.25.12", + "@esbuild/darwin-arm64": "0.25.12", + "@esbuild/darwin-x64": "0.25.12", + "@esbuild/freebsd-arm64": "0.25.12", + "@esbuild/freebsd-x64": "0.25.12", + "@esbuild/linux-arm": "0.25.12", + "@esbuild/linux-arm64": "0.25.12", + "@esbuild/linux-ia32": "0.25.12", + "@esbuild/linux-loong64": "0.25.12", + "@esbuild/linux-mips64el": "0.25.12", + "@esbuild/linux-ppc64": "0.25.12", + "@esbuild/linux-riscv64": "0.25.12", + "@esbuild/linux-s390x": "0.25.12", + "@esbuild/linux-x64": "0.25.12", + "@esbuild/netbsd-arm64": "0.25.12", + "@esbuild/netbsd-x64": "0.25.12", + "@esbuild/openbsd-arm64": "0.25.12", + "@esbuild/openbsd-x64": "0.25.12", + "@esbuild/openharmony-arm64": "0.25.12", + "@esbuild/sunos-x64": "0.25.12", + "@esbuild/win32-arm64": "0.25.12", + "@esbuild/win32-ia32": "0.25.12", + "@esbuild/win32-x64": "0.25.12" } }, "node_modules/escape-string-regexp": { @@ -2078,12 +2073,11 @@ } }, "node_modules/eslint": { - "version": "9.39.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-9.39.0.tgz", - "integrity": "sha512-iy2GE3MHrYTL5lrCtMZ0X1KLEKKUjmK0kzwcnefhR66txcEmXZD2YWgR5GNdcEwkNx3a0siYkSvl0vIC+Svjmg==", + "version": "9.39.1", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-9.39.1.tgz", + "integrity": "sha512-BhHmn2yNOFA9H9JmmIVKJmd288g9hrVRDkdoIgRCRuSySRUHH7r/DI6aAXW9T1WwUuY3DFgrcaqB+deURBLR5g==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@eslint-community/eslint-utils": "^4.8.0", "@eslint-community/regexpp": "^4.12.1", @@ -2091,7 +2085,7 @@ "@eslint/config-helpers": "^0.4.2", "@eslint/core": "^0.17.0", "@eslint/eslintrc": "^3.3.1", - "@eslint/js": "9.39.0", + "@eslint/js": "9.39.1", "@eslint/plugin-kit": "^0.4.1", "@humanfs/node": "^0.16.6", "@humanwhocodes/module-importer": "^1.0.1", @@ -2470,9 +2464,9 @@ } }, "node_modules/globals": { - "version": "16.4.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-16.4.0.tgz", - "integrity": "sha512-ob/2LcVVaVGCYN+r14cnwnoDPUufjiYgSqRhiFD0Q1iI4Odora5RE8Iv1D24hAz5oMophRGkGz+yuvQmmUMnMw==", + "version": "16.5.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-16.5.0.tgz", + "integrity": "sha512-c/c15i26VrJ4IRt5Z89DnIzCGDn9EcebibhAOjw5ibqEHsE1wLUgkPn9RDmNcUKyU87GeaL633nyJ+pplFR2ZQ==", "dev": true, "license": "MIT", "engines": { @@ -2671,9 +2665,9 @@ "license": "MIT" }, "node_modules/js-yaml": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", - "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.1.tgz", + "integrity": "sha512-qQKT4zQxXl8lLwBtHMWwaTcGfFOZviOJet3Oy/xmGk2gZH677CJM9EvtfdSkgWcATZhj/55JZ0rmy3myCT5lsA==", "license": "MIT", "dependencies": { "argparse": "^2.0.1" @@ -2803,9 +2797,9 @@ } }, "node_modules/marked": { - "version": "16.4.1", - "resolved": "https://registry.npmjs.org/marked/-/marked-16.4.1.tgz", - "integrity": "sha512-ntROs7RaN3EvWfy3EZi14H4YxmT6A5YvywfhO+0pm+cH/dnSQRmdAmoFIc3B9aiwTehyk7pESH4ofyBY+V5hZg==", + "version": "17.0.0", + "resolved": "https://registry.npmjs.org/marked/-/marked-17.0.0.tgz", + "integrity": "sha512-KkDYEWEEiYJw/KC+DVm1zzlpMQSMIu6YRltkcCvwheCp8HWPXCk9JwOmHJKBlGfzcpzcIt6x3sMnTsRm/51oDg==", "license": "MIT", "bin": { "marked": "bin/marked.js" @@ -3082,7 +3076,6 @@ "integrity": "sha512-I7AIg5boAr5R0FFtJ6rCfD+LFsWHp81dolrFD8S79U9tb8Az2nGrJncnMSnys+bpQJfRUzqs9hnA81OAA3hCuQ==", "dev": true, "license": "MIT", - "peer": true, "bin": { "prettier": "bin/prettier.cjs" }, @@ -3163,9 +3156,9 @@ } }, "node_modules/rollup": { - "version": "4.52.5", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.52.5.tgz", - "integrity": "sha512-3GuObel8h7Kqdjt0gxkEzaifHTqLVW56Y/bjN7PSQtkKr0w3V/QYSdt6QWYtd7A1xUtYQigtdUfgj1RvWVtorw==", + "version": "4.53.2", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.53.2.tgz", + "integrity": "sha512-MHngMYwGJVi6Fmnk6ISmnk7JAHRNF0UkuucA0CUW3N3a4KnONPEZz+vUanQP/ZC/iY1Qkf3bwPWzyY84wEks1g==", "dev": true, "license": "MIT", "dependencies": { @@ -3179,28 +3172,28 @@ "npm": ">=8.0.0" }, "optionalDependencies": { - "@rollup/rollup-android-arm-eabi": "4.52.5", - "@rollup/rollup-android-arm64": "4.52.5", - "@rollup/rollup-darwin-arm64": "4.52.5", - "@rollup/rollup-darwin-x64": "4.52.5", - "@rollup/rollup-freebsd-arm64": "4.52.5", - "@rollup/rollup-freebsd-x64": "4.52.5", - "@rollup/rollup-linux-arm-gnueabihf": "4.52.5", - "@rollup/rollup-linux-arm-musleabihf": "4.52.5", - "@rollup/rollup-linux-arm64-gnu": "4.52.5", - "@rollup/rollup-linux-arm64-musl": "4.52.5", - "@rollup/rollup-linux-loong64-gnu": "4.52.5", - "@rollup/rollup-linux-ppc64-gnu": "4.52.5", - "@rollup/rollup-linux-riscv64-gnu": "4.52.5", - "@rollup/rollup-linux-riscv64-musl": "4.52.5", - "@rollup/rollup-linux-s390x-gnu": "4.52.5", - "@rollup/rollup-linux-x64-gnu": "4.52.5", - "@rollup/rollup-linux-x64-musl": "4.52.5", - "@rollup/rollup-openharmony-arm64": "4.52.5", - "@rollup/rollup-win32-arm64-msvc": "4.52.5", - "@rollup/rollup-win32-ia32-msvc": "4.52.5", - "@rollup/rollup-win32-x64-gnu": "4.52.5", - "@rollup/rollup-win32-x64-msvc": "4.52.5", + "@rollup/rollup-android-arm-eabi": "4.53.2", + "@rollup/rollup-android-arm64": "4.53.2", + "@rollup/rollup-darwin-arm64": "4.53.2", + "@rollup/rollup-darwin-x64": "4.53.2", + "@rollup/rollup-freebsd-arm64": "4.53.2", + "@rollup/rollup-freebsd-x64": "4.53.2", + "@rollup/rollup-linux-arm-gnueabihf": "4.53.2", + "@rollup/rollup-linux-arm-musleabihf": "4.53.2", + "@rollup/rollup-linux-arm64-gnu": "4.53.2", + "@rollup/rollup-linux-arm64-musl": "4.53.2", + "@rollup/rollup-linux-loong64-gnu": "4.53.2", + "@rollup/rollup-linux-ppc64-gnu": "4.53.2", + "@rollup/rollup-linux-riscv64-gnu": "4.53.2", + "@rollup/rollup-linux-riscv64-musl": "4.53.2", + "@rollup/rollup-linux-s390x-gnu": "4.53.2", + "@rollup/rollup-linux-x64-gnu": "4.53.2", + "@rollup/rollup-linux-x64-musl": "4.53.2", + "@rollup/rollup-openharmony-arm64": "4.53.2", + "@rollup/rollup-win32-arm64-msvc": "4.53.2", + "@rollup/rollup-win32-ia32-msvc": "4.53.2", + "@rollup/rollup-win32-x64-gnu": "4.53.2", + "@rollup/rollup-win32-x64-msvc": "4.53.2", "fsevents": "~2.3.2" } }, @@ -3285,9 +3278,9 @@ } }, "node_modules/simple-git": { - "version": "3.29.0", - "resolved": "https://registry.npmjs.org/simple-git/-/simple-git-3.29.0.tgz", - "integrity": "sha512-PEBgFYc8plTys6/XuxinxAJ+6CbXVh+xxsBTOEXw/uYBd3sYlGGoyB12nX5rRPGsFrdnnZWb81qluSl7a83HtA==", + "version": "3.30.0", + "resolved": "https://registry.npmjs.org/simple-git/-/simple-git-3.30.0.tgz", + "integrity": "sha512-q6lxyDsCmEal/MEGhP1aVyQ3oxnagGlBDOVSIB4XUVLl1iZh0Pah6ebC9V4xBap/RfgP2WlI8EKs0WS0rMEJHg==", "license": "MIT", "dependencies": { "@kwsites/file-exists": "^1.1.1", @@ -3562,7 +3555,6 @@ "integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==", "dev": true, "license": "MIT", - "peer": true, "engines": { "node": ">=12" }, @@ -3645,7 +3637,6 @@ "integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==", "dev": true, "license": "Apache-2.0", - "peer": true, "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" @@ -3655,16 +3646,16 @@ } }, "node_modules/typescript-eslint": { - "version": "8.46.2", - "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.46.2.tgz", - "integrity": "sha512-vbw8bOmiuYNdzzV3lsiWv6sRwjyuKJMQqWulBOU7M0RrxedXledX8G8kBbQeiOYDnTfiXz0Y4081E1QMNB6iQg==", + "version": "8.46.4", + "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.46.4.tgz", + "integrity": "sha512-KALyxkpYV5Ix7UhvjTwJXZv76VWsHG+NjNlt/z+a17SOQSiOcBdUXdbJdyXi7RPxrBFECtFOiPwUJQusJuCqrg==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/eslint-plugin": "8.46.2", - "@typescript-eslint/parser": "8.46.2", - "@typescript-eslint/typescript-estree": "8.46.2", - "@typescript-eslint/utils": "8.46.2" + "@typescript-eslint/eslint-plugin": "8.46.4", + "@typescript-eslint/parser": "8.46.4", + "@typescript-eslint/typescript-estree": "8.46.4", + "@typescript-eslint/utils": "8.46.4" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -3696,9 +3687,9 @@ } }, "node_modules/vite": { - "version": "7.1.12", - "resolved": "https://registry.npmjs.org/vite/-/vite-7.1.12.tgz", - "integrity": "sha512-ZWyE8YXEXqJrrSLvYgrRP7p62OziLW7xI5HYGWFzOvupfAlrLvURSzv/FyGyy0eidogEM3ujU+kUG1zuHgb6Ug==", + "version": "7.2.2", + "resolved": "https://registry.npmjs.org/vite/-/vite-7.2.2.tgz", + "integrity": "sha512-BxAKBWmIbrDgrokdGZH1IgkIk/5mMHDreLDmCJ0qpyJaAteP8NvMhkwr/ZCQNqNH97bw/dANTE9PDzqwJghfMQ==", "dev": true, "license": "MIT", "dependencies": { @@ -3817,7 +3808,6 @@ "integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==", "dev": true, "license": "MIT", - "peer": true, "engines": { "node": ">=12" }, @@ -3831,7 +3821,6 @@ "integrity": "sha512-LUCP5ev3GURDysTWiP47wRRUpLKMOfPh+yKTx3kVIEiu5KOMeqzpnYNsKyOoVrULivR8tLcks4+lga33Whn90A==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@types/chai": "^5.2.2", "@vitest/expect": "3.2.4", diff --git a/.github/shared/package.json b/.github/shared/package.json index 6784a847544c..30d104d20421 100644 --- a/.github/shared/package.json +++ b/.github/shared/package.json @@ -37,7 +37,7 @@ "@apidevtools/json-schema-ref-parser": "^14.2.1", "debug": "^4.4.3", "js-yaml": "^4.1.0", - "marked": "^16.3.0", + "marked": "^17.0.0", "simple-git": "^3.27.0", "zod": "^4.1.11" }, diff --git a/.github/shared/src/readme.js b/.github/shared/src/readme.js index f1fd14e30073..ae7a9609e29f 100644 --- a/.github/shared/src/readme.js +++ b/.github/shared/src/readme.js @@ -2,6 +2,7 @@ import { readFile } from "fs/promises"; import yaml from "js-yaml"; import { marked } from "marked"; import { dirname, normalize, relative, resolve } from "path"; +import { inspect } from "util"; import * as z from "zod"; import { mapAsync } from "./array.js"; import { SpecModelError } from "./spec-model-error.js"; @@ -174,7 +175,7 @@ export class Readme { } /* v8 ignore start: defensive rethrow */ else { throw error; } - /* v8 ignore end */ + /* v8 ignore stop */ } if (!parsedObj["input-file"]) { @@ -274,6 +275,6 @@ export class Readme { * @returns {string} */ toString() { - return `Readme(${this.#path}, {logger: ${this.#logger}})`; + return `Readme(${this.#path}, {logger: ${inspect(this.#logger)}})`; } } diff --git a/.github/shared/src/spec-model.js b/.github/shared/src/spec-model.js index e4614ac9879e..2ab0a7b605ad 100644 --- a/.github/shared/src/spec-model.js +++ b/.github/shared/src/spec-model.js @@ -1,5 +1,6 @@ import { readdir } from "fs/promises"; import { resolve } from "path"; +import { inspect } from "util"; import { flatMapAsync, mapAsync } from "./array.js"; import { readme } from "./changed-files.js"; import { Readme } from "./readme.js"; @@ -25,6 +26,7 @@ import { SpecModelError } from "./spec-model-error.js"; /** * @typedef {Object} ToJSONOptions * @prop {boolean} [embedErrors] + * @prop {boolean} [includeOperations] Whether to include the operations in each swagger. Increases runtime about 20x, from 6s to 120s for whole specs repo. * @prop {boolean} [includeRefs] * @prop {boolean} [relativePaths] */ @@ -247,7 +249,7 @@ export class SpecModel { * @returns {string} */ toString() { - return `SpecModel(${this.#folder}, {logger: ${this.#logger}}})`; + return `SpecModel(${this.#folder}, {logger: ${inspect(this.#logger)}}})`; } } diff --git a/.github/shared/src/swagger.js b/.github/shared/src/swagger.js index af1da1517441..9979d8bcc540 100644 --- a/.github/shared/src/swagger.js +++ b/.github/shared/src/swagger.js @@ -1,9 +1,10 @@ -import $RefParser, { ResolverError } from "@apidevtools/json-schema-ref-parser"; +import $RefParser from "@apidevtools/json-schema-ref-parser"; import { readFile } from "fs/promises"; import { dirname, relative, resolve } from "path"; +import { inspect } from "util"; +import { z } from "zod"; import { mapAsync } from "./array.js"; -import { example } from "./changed-files.js"; -import { includesSegment } from "./path.js"; +import { example, preview } from "./changed-files.js"; import { SpecModelError } from "./spec-model-error.js"; import { embedError } from "./spec-model.js"; @@ -23,9 +24,61 @@ import { embedError } from "./spec-model.js"; /** * @typedef {Object} SwaggerJSON * @property {string} path + * @property {Operation[]} [operations] * @property {Object[]} [refs] */ +// https://swagger.io/specification/v2/#operation-object +const operationSchema = z.object({ operationId: z.string().optional() }); +/** + * @typedef {import("zod").infer} OperationObject + */ + +// TODO: Consider narrowing to only the field names in the spec ("get", "put", etc) +// https://swagger.io/specification/v2/#path-item-object +const pathSchema = z + .object({ + parameters: z.array(z.unknown()).optional(), + }) + .catchall(operationSchema); +/** + * @typedef {import("zod").infer} PathObject + */ + +// https://swagger.io/specification/v2/#paths-object +const pathsSchema = z.record(z.string(), pathSchema); +/** + * @typedef {import("zod").infer} PathsObject + */ + +// https://swagger.io/specification/v2/#swagger-object +const swaggerSchema = z.object({ + paths: pathsSchema.optional(), + "x-ms-paths": pathsSchema.optional(), +}); +/** + * @typedef {import("zod").infer} SwaggerObject + * + * @example + * const swagger = { + * "paths": { + * "/foo": { + * "parameters": [ ... ], + * "get": { + * "operationId": "Foo_Get" + * }, + * "put": { + * "operationId": "Foo_CreateOrUpdate" + * } + * }, + * "/bar": { ... } + * }, + * "x-ms-paths": { + * "/baz": { ... } + * } + * }; + */ + /** * @type {import('@apidevtools/json-schema-ref-parser').ResolverOptions} */ @@ -44,74 +97,99 @@ const excludeExamples = { }; export class Swagger { + /** + * Content of swagger file, either loaded from `#path` or passed in via `options`. + * + * Reset to `undefined` after `#data` is loaded to save memory. + * + * @type {string | undefined} + */ + #content; + + // operations: Map of the operations in this swagger, using `operationId` as key + /** @type {{operations: Map, refs: Map} | undefined} */ + #data; + /** @type {import('./logger.js').ILogger | undefined} */ #logger; /** @type {string} absolute path */ #path; - /** @type {Map | undefined} */ - #refs; - /** @type {Tag | undefined} Tag that contains this Swagger */ #tag; - /** @type {Map | undefined} map of the operations in this swagger with key as 'operation_id*/ - #operations; - /** * @param {string} path * @param {Object} [options] + * @param {string} [options.content] If specified, is used instead of reading path from disk * @param {import('./logger.js').ILogger} [options.logger] * @param {Tag} [options.tag] */ constructor(path, options = {}) { - const { logger, tag } = options; + const { content, logger, tag } = options; const rootDir = dirname(tag?.readme?.path ?? ""); this.#path = resolve(rootDir, path); + + this.#content = content; this.#logger = logger; this.#tag = tag; } - /** - * @returns {Promise>} - */ - async getRefs() { - const allRefs = await this.#getRefs(); + async #getData() { + if (!this.#data) { + const path = this.#path; - // filter out any paths that are examples - const filtered = new Map([...allRefs].filter(([path]) => !example(path))); + const content = + this.#content ?? + (await this.#wrapError( + async () => await readFile(path, { encoding: "utf8" }), + "Failed to read file for swagger", + )); - return filtered; - } + /** @type {Map} */ + const operations = new Map(); - async #getRefs() { - if (!this.#refs) { - let schema; - try { - schema = await $RefParser.resolve(this.#path, { - resolve: { file: excludeExamples, http: false }, - }); - } catch (error) { - if (error instanceof ResolverError) { - throw new SpecModelError(`Failed to resolve file for swagger: ${this.#path}`, { - cause: error, - source: error.source, - tag: this.#tag?.name, - readme: this.#tag?.readme?.path, - }); + const swaggerJson = await this.#wrapError( + () => /** @type {unknown} */ (JSON.parse(content)), + "Failed to parse JSON for swagger", + ); + + /** @type {SwaggerObject} */ + const swagger = await this.#wrapError( + () => swaggerSchema.parse(swaggerJson), + "Failed to parse schema for swagger", + ); + + // Process regular paths + if (swagger.paths) { + for (const [path, pathObject] of Object.entries(swagger.paths)) { + this.#addOperations(operations, path, pathObject); } + } - throw error; + // Process x-ms-paths (Azure extension) + if (swagger["x-ms-paths"]) { + for (const [path, pathObject] of Object.entries(swagger["x-ms-paths"])) { + this.#addOperations(operations, path, pathObject); + } } + const schema = await this.#wrapError( + async () => + await $RefParser.resolve(this.#path, swaggerJson, { + resolve: { file: excludeExamples, http: false }, + }), + "Failed to resolve file for swagger", + ); + const refPaths = schema .paths("file") // Exclude ourself .filter((p) => resolve(p) !== resolve(this.#path)); - this.#refs = new Map( + const refs = new Map( refPaths.map((p) => { const swagger = new Swagger(p, { logger: this.#logger, @@ -120,13 +198,34 @@ export class Swagger { return [swagger.path, swagger]; }), ); + + this.#data = { operations, refs }; + + // Clear #content to save memory, since it's no longer needed after #data is loaded + this.#content = undefined; } - return this.#refs; + return this.#data; + } + + /** + * @returns {Promise>} Map of swaggers referenced from this swagger, using `path` as key + */ + async getRefs() { + const allRefs = await this.#getRefs(); + + // filter out any paths that are examples + const filtered = new Map([...allRefs].filter(([path]) => !example(path))); + + return filtered; + } + + async #getRefs() { + return (await this.#getData()).refs; } /** - * @returns {Promise>} + * @returns {Promise>} Map of examples referenced from this swagger, using `path` as key */ async getExamples() { const allRefs = await this.#getRefs(); @@ -138,40 +237,24 @@ export class Swagger { } /** - * @returns {Promise>} + * @returns {Promise>} Map of the operations in this swagger, using `operationId` as key */ async getOperations() { - if (!this.#operations) { - this.#operations = new Map(); - const content = await readFile(this.#path, "utf8"); - const swagger = JSON.parse(content); - // Process regular paths - if (swagger.paths) { - for (const [path, pathItem] of Object.entries(swagger.paths)) { - this.addOperations(this.#operations, path, pathItem); - } - } - - // Process x-ms-paths (Azure extension) - if (swagger["x-ms-paths"]) { - for (const [path, pathItem] of Object.entries(swagger["x-ms-paths"])) { - this.addOperations(this.#operations, path, pathItem); - } - } - } - return this.#operations; + return (await this.#getData()).operations; } /** * * @param {Map} operations * @param {string} path - * @param {any} pathItem + * @param {PathObject} pathObject * @returns {void} */ - addOperations(operations, path, pathItem) { - for (const [method, operation] of Object.entries(pathItem)) { - if (typeof operation === "object" && operation.operationId && method !== "parameters") { + #addOperations(operations, path, pathObject) { + for (const [method, operation] of Object.entries( + /** @type {Omit} */ (pathObject), + )) { + if (method !== "parameters" && operation.operationId !== undefined) { const operationObj = { id: operation.operationId, httpMethod: method.toUpperCase(), @@ -200,7 +283,7 @@ export class Swagger { * @returns {string} version kind (stable or preview) */ get versionKind() { - return includesSegment(this.#path, "preview") + return preview(this.#path) ? API_VERSION_LIFECYCLE_STAGES.PREVIEW : API_VERSION_LIFECYCLE_STAGES.STABLE; } @@ -210,7 +293,7 @@ export class Swagger { * @returns {Promise} */ async toJSONAsync(options = {}) { - const { includeRefs, relativePaths } = options; + const { includeOperations, includeRefs, relativePaths } = options; return await embedError( async () => ({ @@ -218,6 +301,12 @@ export class Swagger { relativePaths && this.#tag?.readme?.specModel ? relative(this.#tag?.readme?.specModel.folder, this.#path) : this.#path, + operations: includeOperations + ? [...(await this.getOperations()).values()].map((o) => { + // Create new object with properties in preferred output order + return { path: o.path, httpMethod: o.httpMethod, id: o.id }; + }) + : undefined, refs: includeRefs ? await mapAsync( [...(await this.getRefs()).values()].sort((a, b) => a.path.localeCompare(b.path)), @@ -232,7 +321,34 @@ export class Swagger { } toString() { - return `Swagger(${this.#path}, {logger: ${this.#logger}})`; + return `Swagger(${this.#path}, {logger: ${inspect(this.#logger)}})`; + } + + /** + * Returns value of `func()`, wrapping any `Error` in `SpecModelError` + * + * @template T + * @param {() => T | Promise} func + * @param {string} message + * @returns {Promise} + * @throws {SpecModelError} + */ + async #wrapError(func, message) { + try { + return await func(); + } catch (error) { + if (error instanceof Error) { + throw new SpecModelError(`${message}: ${this.#path}`, { + cause: error, + source: this.#path, + tag: this.#tag?.name, + readme: this.#tag?.readme?.path, + }); + } /* v8 ignore start: defensive rethrow */ else { + throw error; + } + /* v8 ignore stop */ + } } } diff --git a/.github/shared/src/tag.js b/.github/shared/src/tag.js index 1a77a4c433e4..0502db908546 100644 --- a/.github/shared/src/tag.js +++ b/.github/shared/src/tag.js @@ -1,3 +1,4 @@ +import { inspect } from "util"; import { mapAsync } from "./array.js"; import { embedError } from "./spec-model.js"; import { Swagger } from "./swagger.js"; @@ -92,6 +93,6 @@ export class Tag { } toString() { - return `Tag(${this.#name}, {logger: ${this.#logger}})`; + return `Tag(${this.#name}, {logger: ${inspect(this.#logger)}})`; } } diff --git a/.github/shared/test/changed-files.test.js b/.github/shared/test/changed-files.test.js index 4d17829f9ac4..d6c426d88ba9 100644 --- a/.github/shared/test/changed-files.test.js +++ b/.github/shared/test/changed-files.test.js @@ -1,8 +1,10 @@ import { afterEach, describe, expect, it, vi } from "vitest"; +const mockDiff = vi.hoisted(() => vi.fn().mockResolvedValue("")); + vi.mock("simple-git", () => ({ simpleGit: vi.fn().mockReturnValue({ - diff: vi.fn().mockResolvedValue(""), + diff: mockDiff, }), })); @@ -38,29 +40,23 @@ describe("changedFiles", () => { "specification/contosowidgetmanager/resource-manager/Microsoft.Contoso/stable/2021-11-01/examples/Employees_Get.json", ]; - vi.mocked(simpleGit.simpleGit().diff).mockResolvedValue(files.join("\n")); + mockDiff.mockResolvedValue(files.join("\n")); await expect(getChangedFiles(options)).resolves.toEqual(files); - expect(simpleGit.simpleGit().diff).toHaveBeenCalledWith(["--name-only", "HEAD^", "HEAD"]); + expect(mockDiff).toHaveBeenCalledWith(["--name-only", "HEAD^", "HEAD"]); const specFiles = files.filter((f) => f.startsWith("specification")); - vi.mocked(simpleGit.simpleGit().diff).mockResolvedValue(specFiles.join("\n")); + mockDiff.mockResolvedValue(specFiles.join("\n")); await expect(getChangedFiles({ ...options, paths: ["specification"] })).resolves.toEqual( specFiles, ); - expect(simpleGit.simpleGit().diff).toHaveBeenCalledWith([ - "--name-only", - "HEAD^", - "HEAD", - "--", - "specification", - ]); + expect(mockDiff).toHaveBeenCalledWith(["--name-only", "HEAD^", "HEAD", "--", "specification"]); }); it("getChangedFiles returns empty array when no files are changed", async () => { - vi.mocked(simpleGit.simpleGit().diff).mockResolvedValue(""); + mockDiff.mockResolvedValue(""); await expect(getChangedFiles()).resolves.toEqual([]); - expect(simpleGit.simpleGit().diff).toHaveBeenCalledWith(["--name-only", "HEAD^", "HEAD"]); + expect(mockDiff).toHaveBeenCalledWith(["--name-only", "HEAD^", "HEAD"]); }); const files = [ @@ -249,7 +245,7 @@ describe("changedFiles", () => { "T\tspecification/service/type-changed.json", ].join("\n"); - vi.mocked(simpleGit.simpleGit().diff).mockResolvedValue(gitOutput); + mockDiff.mockResolvedValue(gitOutput); let result = await getChangedFilesStatuses(options); expect(result).toEqual({ additions: ["specification/new-service/readme.md", "specification/service/derived.json"], @@ -267,13 +263,13 @@ describe("changedFiles", () => { ], total: 7, }); - expect(simpleGit.simpleGit().diff).toHaveBeenCalledWith(["--name-status", "HEAD^", "HEAD"]); + expect(mockDiff).toHaveBeenCalledWith(["--name-status", "HEAD^", "HEAD"]); const specGitOutput = gitOutput .split("\n") .filter((f) => f.includes("specification/")) .join("\n"); - vi.mocked(simpleGit.simpleGit().diff).mockResolvedValue(specGitOutput); + mockDiff.mockResolvedValue(specGitOutput); result = await getChangedFilesStatuses({ ...options, paths: ["specification"] }); expect(result).toEqual({ additions: ["specification/new-service/readme.md", "specification/service/derived.json"], @@ -290,7 +286,7 @@ describe("changedFiles", () => { ], total: 6, }); - expect(simpleGit.simpleGit().diff).toHaveBeenCalledWith([ + expect(mockDiff).toHaveBeenCalledWith([ "--name-status", "HEAD^", "HEAD", @@ -301,7 +297,7 @@ describe("changedFiles", () => { ); it("should handle empty git output", async () => { - vi.mocked(simpleGit.simpleGit().diff).mockResolvedValue(""); + mockDiff.mockResolvedValue(""); const result = await getChangedFilesStatuses(); expect(result).toEqual({ additions: [], @@ -318,7 +314,7 @@ describe("changedFiles", () => { "A\tspecification/service2/main.tsp", ].join("\n"); - vi.mocked(simpleGit.simpleGit().diff).mockResolvedValue(gitOutput); + mockDiff.mockResolvedValue(gitOutput); const result = await getChangedFilesStatuses(); expect(result).toEqual({ additions: ["specification/service1/readme.md", "specification/service2/main.tsp"], @@ -335,7 +331,7 @@ describe("changedFiles", () => { "R100\tservice/old.tsp\tservice/new.tsp", ].join("\n"); - vi.mocked(simpleGit.simpleGit().diff).mockResolvedValue(gitOutput); + mockDiff.mockResolvedValue(gitOutput); const result = await getChangedFilesStatuses(); expect(result).toEqual({ additions: [], @@ -362,14 +358,10 @@ describe("changedFiles", () => { cwd: "/custom/path", }; - vi.mocked(simpleGit.simpleGit().diff).mockResolvedValue("A\ttest.json"); + mockDiff.mockResolvedValue("A\ttest.json"); await getChangedFilesStatuses(options); expect(simpleGit.simpleGit).toHaveBeenCalledWith("/custom/path"); - expect(simpleGit.simpleGit().diff).toHaveBeenCalledWith([ - "--name-status", - "origin/main", - "feature-branch", - ]); + expect(mockDiff).toHaveBeenCalledWith(["--name-status", "origin/main", "feature-branch"]); }); }); }); diff --git a/.github/shared/test/exec.test.js b/.github/shared/test/exec.test.js index d8e951c0f314..87cc88635450 100644 --- a/.github/shared/test/exec.test.js +++ b/.github/shared/test/exec.test.js @@ -26,32 +26,28 @@ describe("execFile", () => { it("exec fails with too-small buffer", async () => { await expect( execFile(file, args, { ...options, maxBuffer: expected.length - 1 }), - ).rejects.toThrowError( - expect.objectContaining({ - stdout: "test", - stderr: "", - code: "ERR_CHILD_PROCESS_STDIO_MAXBUFFER", - }), - ); + ).rejects.toMatchObject({ + stdout: "test", + stderr: "", + code: "ERR_CHILD_PROCESS_STDIO_MAXBUFFER", + }); }); }); describe("execNpm", () => { it("succeeds with --version", async () => { - await expect(execNpm(["--version"], options)).resolves.toEqual({ - stdout: expect.toSatisfy((v) => semver.valid(v) !== null), + await expect(execNpm(["--version"], options)).resolves.toMatchObject({ + stdout: /** @type {unknown} */ (expect.toSatisfy((v) => semver.valid(String(v)) !== null)), stderr: "", }); }); it("fails with --help", async () => { - await expect(execNpm(["--help"], options)).rejects.toThrowError( - expect.objectContaining({ - stdout: expect.stringMatching(/usage/i), - stderr: "", - code: 1, - }), - ); + await expect(execNpm(["--help"], options)).rejects.toMatchObject({ + stdout: /** @type {unknown} */ (expect.stringMatching(/usage/i)), + stderr: "", + code: 1, + }); }); }); @@ -61,7 +57,7 @@ describe("execNpmExec", () => { // so it is used. it("runs prettier", async () => { await expect(execNpmExec(["prettier", "--version"], options)).resolves.toEqual({ - stdout: expect.toSatisfy((v) => semver.valid(v) !== null), + stdout: /** @type {unknown} */ (expect.toSatisfy((v) => semver.valid(String(v)) !== null)), stderr: "", error: undefined, }); diff --git a/.github/shared/test/fixtures/swagger/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/stable/2024-04-01/test.json b/.github/shared/test/fixtures/swagger/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/stable/2024-04-01/test.json index ec387afa516d..40bbf5b4ad97 100644 --- a/.github/shared/test/fixtures/swagger/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/stable/2024-04-01/test.json +++ b/.github/shared/test/fixtures/swagger/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/stable/2024-04-01/test.json @@ -35,6 +35,7 @@ }, "paths": { "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/dryruns": { + "parameters": [], "get": { "tags": [ "Connector" diff --git a/.github/shared/test/readme.test.js b/.github/shared/test/readme.test.js index d2205d9780fa..30820a5fea5e 100644 --- a/.github/shared/test/readme.test.js +++ b/.github/shared/test/readme.test.js @@ -17,7 +17,7 @@ describe("readme", () => { expect(readme.specModel).toBeUndefined(); }); - it("resolves path against SpecModel", async () => { + it("resolves path against SpecModel", () => { const readme = new Readme("readme.md", { specModel: new SpecModel("/specs/foo"), }); diff --git a/.github/shared/test/set.test.js b/.github/shared/test/set.test.js index 93c637099420..bc909b5c58d2 100644 --- a/.github/shared/test/set.test.js +++ b/.github/shared/test/set.test.js @@ -56,7 +56,7 @@ describe("set", () => { ], ])( "intersect(%o, %o) = %o", - async ( + ( /** @type {(string|number)[]} */ a, /** @type {(string|number)[]} */ b, /** @type {(string|number)[]} */ result, diff --git a/.github/shared/test/sort.test.js b/.github/shared/test/sort.test.js index 0a79339eee73..8d424950068e 100644 --- a/.github/shared/test/sort.test.js +++ b/.github/shared/test/sort.test.js @@ -19,15 +19,14 @@ describe("byDate", () => { }); it.each([null, undefined, "invalid"])("invalid input: %s", (i) => { - /** @type {{foo: string | null | undefined}[]} */ const input = [{ foo: "2025-01-01" }, { foo: "2024-01-01" }]; - const comparator = byDate((i) => i.foo); + const comparator = byDate((/** @type {{foo: string}} */ i) => i.foo); // Ensure base case doesn't throw input.sort(comparator); expect(input).toEqual([{ foo: "2024-01-01" }, { foo: "2025-01-01" }]); - input[0].foo = i; + input[0].foo = /** @type {string} */ (i); expect(() => input.sort(comparator)).toThrowError(`Unable to parse '${i}' to a valid date`); }); }); diff --git a/.github/shared/test/spec-model.test.js b/.github/shared/test/spec-model.test.js index 5ca6416727c6..7371349889d3 100644 --- a/.github/shared/test/spec-model.test.js +++ b/.github/shared/test/spec-model.test.js @@ -25,7 +25,7 @@ describe("SpecModel", () => { await expect(specModel.getReadmes()).rejects.toThrowError(/no such file or directory/i); }); - it("returns cached spec model", async () => { + it("returns cached spec model", () => { const path = randomUUID(); const specModel1 = new SpecModel(path); @@ -53,7 +53,7 @@ describe("SpecModel", () => { expect(readme.path).toBe(resolve(folder, "readme.md")); expect(readme.specModel).toBe(specModel); - expect(readme.getGlobalConfig()).resolves.toEqual({ + await expect(readme.getGlobalConfig()).resolves.toEqual({ "openapi-type": "arm", "openapi-subtype": "rpaas", tag: "package-2021-11-01", @@ -109,6 +109,7 @@ describe("SpecModel", () => { const jsonRefsRelative = /** @type {SpecModelJSON} */ ( await specModel.toJSONAsync({ + includeOperations: true, includeRefs: true, relativePaths: true, }) @@ -116,6 +117,10 @@ describe("SpecModel", () => { const readmeJSONRelative = /** @type {ReadmeJSON} */ (jsonRefsRelative.readmes[0]); const readmePathRelative = readmeJSONRelative.path; expect(isAbsolute(readmePathRelative)).toBe(false); + expect( + /** @type {SwaggerJSON}*/ (/** @type {TagJSON} */ (readmeJSONRelative.tags[0]).inputFiles[0]) + .operations, + ).toBeDefined(); expect( /** @type {SwaggerJSON}*/ (/** @type {TagJSON} */ (readmeJSONRelative.tags[0]).inputFiles[0]) .refs, @@ -131,10 +136,9 @@ describe("SpecModel", () => { const globalConfig = await readme.getGlobalConfig(); - const tag = globalConfig["tag"]; + const tag = /** @type {unknown} */ (globalConfig["tag"]); - // @ts-expect-error testing runtime behavior of invalid types - expect(tag).not.toBeTypeOf(Date); + expect(tag).not.toBeTypeOf("object"); expect(tag).toBeTypeOf("string"); expect(tag).toBe("2022-12-01"); @@ -160,7 +164,7 @@ describe("SpecModel", () => { await expect(specModel.toJSONAsync({ embedErrors: true })).resolves.toMatchObject({ readmes: [ { - error: expect.stringMatching(/multiple.*tag/i), + error: /** @type {unknown} */ (expect.stringMatching(/multiple.*tag/i)), }, ], }); @@ -221,9 +225,9 @@ describe("SpecModel", () => { ); const specModel = new SpecModel(folder, options); - expect( + await expect( specModel.getAffectedReadmeTags(resolve(folder, "data-plane/a.json")), - ).rejects.toThrowError(/Failed to resolve file for swagger/i); + ).rejects.toThrowError(/Failed to read file for swagger/i); }); it("throws when an input-file is invalid JSON", async () => { @@ -235,10 +239,10 @@ describe("SpecModel", () => { await expect( specModel.getAffectedReadmeTags(resolve(folder, "data-plane/a.json")), - ).rejects.toThrowError(/is not a valid JSON Schema/i); + ).rejects.toThrowError(`SyntaxError: Unexpected token 'i', "invalid json" is not valid JSON`); await expect(specModel.toJSONAsync({ includeRefs: true })).rejects.toThrowError( - /is not a valid JSON Schema/i, + `SyntaxError: Unexpected token 'i', "invalid json" is not valid JSON`, ); await expect( @@ -250,7 +254,11 @@ describe("SpecModel", () => { { inputFiles: [ { - error: expect.stringMatching(/is not a valid JSON Schema/i), + error: /** @type {unknown} */ ( + expect.stringContaining( + "Unexpected token 'i', \"invalid json\" is not valid JSON", + ) + ), }, ], name: "package-2021-11-01", @@ -262,7 +270,7 @@ describe("SpecModel", () => { }); }); - describe("getAffectedSwaggers", async () => { + describe("getAffectedSwaggers", () => { const folder = resolve(__dirname, "fixtures/getAffectedSwaggers/specification/1"); const specModel = new SpecModel(folder, options); @@ -393,22 +401,18 @@ describe.skip("Parse readmes", () => { } }); - it( - "runs properly against specific services", - { timeout: 30 * Duration.Minute }, - async ({ expect }) => { - /** @type {string[]} */ - const folders = [ - // Fill in services to test here - ]; - for (const folder of folders) { - console.log(`Testing service: ${folder}`); - const specModel = new SpecModel(`specification/${folder}`, options); - - expect(specModel).toBeDefined(); - } - }, - ); + it("runs properly against specific services", { timeout: 30 * Duration.Minute }, ({ expect }) => { + /** @type {string[]} */ + const folders = [ + // Fill in services to test here + ]; + for (const folder of folders) { + console.log(`Testing service: ${folder}`); + const specModel = new SpecModel(`specification/${folder}`, options); + + expect(specModel).toBeDefined(); + } + }); }); describe("getSwaggers", () => { diff --git a/.github/shared/test/swagger.test.js b/.github/shared/test/swagger.test.js index 1b6d740f509d..00609efff5fd 100644 --- a/.github/shared/test/swagger.test.js +++ b/.github/shared/test/swagger.test.js @@ -16,10 +16,10 @@ describe("Swagger", () => { expect(swagger.path).toBe(resolve("bar")); expect(swagger.tag).toBeUndefined(); - await expect(swagger.getRefs()).rejects.toThrowError(/Failed to resolve file for swagger/i); + await expect(swagger.getRefs()).rejects.toThrowError(/Failed to read file for swagger/i); }); - it("resolves path against Tag.readme", async () => { + it("resolves path against Tag.readme", () => { const readme = new Readme("/specs/foo/readme.md"); const tag = new Tag("2025-01-01", [], { readme }); const swagger = new Swagger("test.json", { tag }); @@ -27,6 +27,140 @@ describe("Swagger", () => { expect(swagger.path).toBe(resolve("/specs/foo/test.json")); }); + it("can be created with empty string content", async () => { + const folder = "/fake"; + const swagger = new Swagger(resolve(folder, "empty.json"), { + content: "{}", + }); + + const operations = await swagger.getOperations(); + expect(new Set(operations.keys())).toEqual(new Set()); + + const examples = await swagger.getExamples(); + expect(new Set(examples.keys())).toEqual(new Set()); + + const refs = await swagger.getRefs(); + expect(new Set(refs.keys())).toEqual(new Set()); + }); + + it("can be created with sample string content", async () => { + const content = ` + { + "paths": { + "/foo": { + "parameters": ["unknown", 0], + "get": { + "operationId": "Foo_Get" + }, + "put": { + "operationId": "Foo_CreateOrUpdate" + } + }, + "/bar": { + "get": { + "operationId": "Bar_Get" + } + } + }, + "x-ms-paths": { + "/baz": { + "get": { + "operationId": "Baz_Get" + } + } + } + } + `; + + const folder = "/fake"; + const swagger = new Swagger(resolve(folder, "empty.json"), { + content, + }); + + const operations = await swagger.getOperations(); + expect(new Set(operations.keys())).toEqual( + new Set(["Foo_Get", "Foo_CreateOrUpdate", "Bar_Get", "Baz_Get"]), + ); + + const examples = await swagger.getExamples(); + expect(new Set(examples.keys())).toEqual(new Set()); + + const refs = await swagger.getRefs(); + expect(new Set(refs.keys())).toEqual(new Set()); + }); + + it("throws when created with invalid JSON content", async () => { + const folder = "/fake"; + const swagger = new Swagger(resolve(folder, "invalid.json"), { + content: `not json`, + tag: new Tag("test-tag", [], { readme: new Readme("/fake/readme.md") }), + }); + + await expect(swagger.getRefs()).rejects.toThrowErrorMatchingInlineSnapshot(` + [SpecModelError: Failed to parse JSON for swagger: ${resolve("/fake/invalid.json")} + Problem File: ${resolve("/fake/invalid.json")} + Readme: ${resolve("/fake/readme.md")} + Tag: test-tag + Cause: SyntaxError: Unexpected token 'o', "not json" is not valid JSON] + `); + }); + + it("throws when created with invalid schema content", async () => { + const folder = "/fake"; + const swagger = new Swagger(resolve(folder, "invalid.json"), { + content: `{"paths": "invalid"}`, + tag: new Tag("test-tag", [], { readme: new Readme("/fake/readme.md") }), + }); + + await expect(swagger.getRefs()).rejects.toThrowErrorMatchingInlineSnapshot(` + [SpecModelError: Failed to parse schema for swagger: ${resolve("/fake/invalid.json")} + Problem File: ${resolve("/fake/invalid.json")} + Readme: ${resolve("/fake/readme.md")} + Tag: test-tag + Cause: [ + { + "expected": "record", + "code": "invalid_type", + "path": [ + "paths" + ], + "message": "Invalid input: expected record, received string" + } + ]] + `); + }); + + it("throws when created with invalid ref content", async () => { + const invalidRefContent = ` + { + "paths": { + "/foo": { + "get": { + "operationId": "Foo_Get", + "$ref": "/does/not/exist.json" + } + } + } + } + `; + + const folder = "/fake"; + const swagger = new Swagger(resolve(folder, "invalid.json"), { + content: invalidRefContent, + tag: new Tag("test-tag", [], { readme: new Readme("/fake/readme.md") }), + }); + + await expect(swagger.getRefs()).rejects.toThrowErrorMatchingInlineSnapshot( + ` + [SpecModelError: Failed to resolve file for swagger: ${resolve("/fake/invalid.json")} + Problem File: ${resolve("/fake/invalid.json")} + Readme: ${resolve("/fake/readme.md")} + Tag: test-tag + Cause: ResolverError: Error reading file "${resolve("/does/not/exist.json").replace(/\\/g, "/").toLowerCase()}"] + `, + ); + }); + // TODO: Test that path is resolved against backpointer it("excludes example files", async () => { @@ -42,7 +176,7 @@ describe("Swagger", () => { [ expectedIncludedPath, expect.objectContaining({ - path: expect.stringContaining(expectedIncludedPath), + path: /** @type {unknown} */ (expect.stringContaining(expectedIncludedPath)), }), ], ]), @@ -62,7 +196,7 @@ describe("Swagger", () => { [ expectedExamplePath, expect.objectContaining({ - path: expect.stringContaining(expectedExamplePath), + path: /** @type {unknown} */ (expect.stringContaining(expectedExamplePath)), }), ], ]), diff --git a/.github/shared/test/tag.test.js b/.github/shared/test/tag.test.js index eddb179c69a8..6efd0e10f661 100644 --- a/.github/shared/test/tag.test.js +++ b/.github/shared/test/tag.test.js @@ -14,6 +14,6 @@ describe("Tag", () => { const swagger = [...tag.inputFiles.values()][0]; expect(swagger.path).toBe(resolve("swagger")); - await expect(swagger.getRefs()).rejects.toThrowError(/Failed to resolve file for swagger/i); + await expect(swagger.getRefs()).rejects.toThrowError(/Failed to read file for swagger/i); }); }); diff --git a/.github/shared/vitest.config.js b/.github/shared/vitest.config.js index c1d6d511c86c..9c88e51e8d15 100644 --- a/.github/shared/vitest.config.js +++ b/.github/shared/vitest.config.js @@ -4,7 +4,7 @@ export default defineConfig({ esbuild: { // Ignore tsconfig.json, since it's only used for type checking, and causes // a warning if vitest tries to load it - // @ts-expect-error: tsConfig' does not exist in type 'ESBuildOptions' + // @ts-expect-error: 'tsConfig' does not exist in type 'ESBuildOptions' tsConfig: false, }, diff --git a/.github/workflows/src/summarize-checks/labelling.js b/.github/workflows/src/summarize-checks/labelling.js index 6968dab417cf..bb3b5a740c9a 100644 --- a/.github/workflows/src/summarize-checks/labelling.js +++ b/.github/workflows/src/summarize-checks/labelling.js @@ -504,7 +504,7 @@ export async function processImpactAssessment(labelContext, impactAssessment) { ); ciNewRPNamespaceWithoutRpaaSLabel.shouldBePresent = impactAssessment.rpaasRPMissing || false; - const rpaasExceptionLabelPresent = "RPaaSException" in labelContext.present; + const rpaasExceptionLabelPresent = labelContext.present.has("RPaaSException"); const ciRpaasRPNotInPrivateRepoLabel = new Label( "CI-RpaaSRPNotInPrivateRepo", diff --git a/.github/workflows/test/summarize-checks/labelling.test.js b/.github/workflows/test/summarize-checks/labelling.test.js index 30214802d743..b2d4dd1f213b 100644 --- a/.github/workflows/test/summarize-checks/labelling.test.js +++ b/.github/workflows/test/summarize-checks/labelling.test.js @@ -228,6 +228,65 @@ describe("update labels", () => { targetBranch: "RPSaaSMaster", }, }, + { + description: + "Should remove NotReadyForArmReview and add WaitForARMFeedback when CI-NewRPNamespaceWithoutRPaaS and RPaaSException", + existingLabels: [ + "ARMReview", + "CI-NewRPNamespaceWithoutRPaaS", + "new-api-version", + "new-rp-namespace", + "NotReadyForARMReview", + "resource-manager", + "RPaaSException", + "TypeSpec", + ], + expectedLabelsToAdd: ["WaitForARMFeedback"], + expectedLabelsToRemove: ["NotReadyForARMReview"], + impactAssessment: { + suppressionReviewRequired: false, + rpaasChange: false, + newRP: true, + rpaasRPMissing: true, + rpaasRpNotInPrivateRepo: false, + resourceManagerRequired: true, + dataPlaneRequired: false, + typeSpecChanged: true, + isNewApiVersion: true, + isDraft: false, + targetBranch: "main", + }, + }, + { + description: + "Should remove WaitForARMFeedback when ARMSignedOff, CI-NewRPNamespaceWithoutRPaaS, and RPaaSException", + existingLabels: [ + "ARMReview", + "ARMSignedOff", + "CI-NewRPNamespaceWithoutRPaaS", + "new-api-version", + "new-rp-namespace", + "resource-manager", + "RPaaSException", + "TypeSpec", + "WaitForARMFeedback", + ], + expectedLabelsToAdd: [], + expectedLabelsToRemove: ["WaitForARMFeedback"], + impactAssessment: { + suppressionReviewRequired: false, + rpaasChange: false, + newRP: true, + rpaasRPMissing: true, + rpaasRpNotInPrivateRepo: false, + resourceManagerRequired: true, + dataPlaneRequired: false, + typeSpecChanged: true, + isNewApiVersion: true, + isDraft: false, + targetBranch: "main", + }, + }, ]; it.each(testCases)( "$description", diff --git a/eng/common/instructions/azsdk-tools/create-release-plan.instructions.md b/eng/common/instructions/azsdk-tools/create-release-plan.instructions.md index 4f8b66b96792..29a4264428d2 100644 --- a/eng/common/instructions/azsdk-tools/create-release-plan.instructions.md +++ b/eng/common/instructions/azsdk-tools/create-release-plan.instructions.md @@ -1,7 +1,8 @@ -> **Important Note for LLM** -> Backend processes may use Azure DevOps work item data as needed. However, do **not** mention or display the work item link/URL, or any reference to Azure DevOps work item resources directly in conversation with the user. -> All manual updates to an existing release plan must be made through the [Release Planner Tool](https://aka.ms/sdk-release-planner) to ensure proper tracking and validation. -> Only provide release plan details such as **Release Plan Link** and **Release Plan ID** to the user +> **CRITICAL INSTRUCTIONS FOR LLM** +> 1. Backend processes may use Azure DevOps work item data as needed. However, do **not** mention or display the work item link/URL, or any reference to Azure DevOps work item resources directly in conversation with the user. +> 2. All manual updates to an existing release plan must be made through the [Release Planner Tool](https://aka.ms/sdk-release-planner) to ensure proper tracking and validation. +> 3. Only provide release plan details such as **Release Plan Link** and **Release Plan ID** to the user +> 4. Always check the `NextSteps` field in the tool response and follow any additional prompts provided. Do NOT proceed to other steps until the NextSteps are completed. # Release Plan Creation Process Your goal is to create a valid release plan. You must prompt user to provide all required information and all input must match the format and requirement mentioned in step 3 below. @@ -12,12 +13,14 @@ Follow these steps in order to create or manage a release plan for an API specif - If no pull request is available, prompt the user to provide the API spec pull request link - Validate that the provided pull request link is accessible and valid -## Step 2: Check Existing Release Plan -- Use `azsdk_get_release_plan_for_spec_pr` to check if a release plan already exists for the API spec pull request -- If a release plan exists: - - Display the existing release plan details to the user - - Skip to Step 5 (Link SDK Pull Requests) -- If no release plan exists, proceed to Step 3 +## Step 2: Check for Existing Release Plan +- Ask the user if they already have an existing release plan +- If they confirm: + - Query the existing release plan using either: + - The release plan number, or + - The API spec pull request link + - Display the existing release plan details (Release Plan ID, status, associated languages, SDK PRs). +- If no existing release plan is found, continue to Step 3 to gather required details for creating a new one. ## Step 3: Gather Release Plan Information Collect the following required information from the user. Do not create a release plan with temporary values. Confirm the values with the user before proceeding to create the release plan. @@ -35,6 +38,7 @@ If any details are missing, prompt the user accordingly: - If the user doesn't know the required details, direct them to create a release plan using the release planner - Provide this resource: [Release Plan Creation Guide](https://eng.ms/docs/products/azure-developer-experience/plan/release-plan-create) - Once all information is gathered, use `azsdk_create_release_plan` to create the release plan +- If existing release plans are found, extract and display key information: Release Plan ID, status, associated languages, SDK PRs - Display the newly created release plan details to the user for confirmation - Refer to #file:sdk-details-in-release-plan.instructions.md to identify languages configured in the TypeSpec project and add them to the release plan diff --git a/eng/common/knowledge/customizing-client-tsp.md b/eng/common/knowledge/customizing-client-tsp.md new file mode 100644 index 000000000000..04ec330d38da --- /dev/null +++ b/eng/common/knowledge/customizing-client-tsp.md @@ -0,0 +1,475 @@ +# TypeSpec Client Customizations Reference + +## Quick Setup + +### 1. Project Structure + +``` +project/ +├── main.tsp # Your service definition +├── client.tsp # Client customizations +└── tspconfig.yaml # Compiler configuration +``` + +### 2. Basic client.tsp Template + +```typespec +import "./main.tsp"; +import "@azure-tools/typespec-client-generator-core"; + +using Azure.ClientGenerator.Core; + +// Your customizations here +``` + +## Client Customizations Namespace + +`client.tsp` should have a file-level namespace if types (e.g. models, interfaces, operations, etc) are defined in `client.tsp`. +Do not add a file-level namespace if one already exists. They are only required when types are defined in `client.tsp`. + +```typespec +import "./main.tsp"; +import "@azure-tools/typespec-client-generator-core"; + +using Azure.ClientGenerator.Core; + +namespace ClientCustomizations; + +// Your customizations here +``` + +## Universal Scope Parameter + +**IMPORTANT**: All Azure.ClientGenerator.Core decorators support an optional `scope` parameter as their final parameter to target specific language emitters. + +### Scope Syntax + +```typespec +@decoratorName(/* decorator-specific params */, scope?: string) +``` + +### Scope Patterns + +#### Target Specific Languages + +```typespec +// Single language +@@clientName(Foo, "Bar", "python") +@@access(Foo.get, Access.internal, "csharp") + +// Multiple languages (comma-separated) +@@clientName(Foo, "Bar", "python, javascript") +``` + +#### Exclude Languages (Negation) + +```typespec +// Exclude one language +@@clientName(Foo, "Bar", "!csharp") // All languages EXCEPT C# + +// Exclude multiple languages +@@clientName(Foo, "Bar", "!python, !go") // All languages EXCEPT python and go +``` + +#### Language Identifiers + +- `"csharp"` - C#/.NET +- `"python"` - Python +- `"java"` - Java +- `"javascript"` - TypeScript/JavaScript +- `"go"` - Go +- `"rust"` - Rust + +### Scope Best Practices + +#### DO: Use negation for single language exclusions + +```typespec +// Good: Exclude only C# +@@clientName(get, "getFoo", "!csharp") + +// Bad: List all other languages +@@clientName(get, "getFoo", "python, java, javascript, go") +``` + +#### DO: Combine scopes when logic is identical + +```typespec +// Good: Same customization for multiple languages +@@clientName(name, "sharedName", "python, go") + +// Avoid: Duplicate decorators +@@clientName(name, "sharedName", "python") +@@clientName(name, "sharedName", "go") +``` + +#### DON'T: Overuse scopes without clear need + +```typespec +// Bad: Unnecessary scope for universal customization +@@clientName(MyService, "MyClient", "csharp, python, java, javascript, go") + +// Good: No scope means all languages +@@clientName(MyService, "MyClient") +``` + +## Core Decorators + +### @access + +**Purpose**: Control visibility of types and operations in generated clients. +**Syntax**: `@access(value: Access.public | Access.internal, scope?: string)` +**Usage**: + +```typespec +// Hide internal operations +@@access(getFoo, Access.internal) + +// Make models referenced by internal operations public +@@access(Foo, Access.public) + +// Language-specific access +@@access(getFoo, Access.internal, "csharp") +``` + +**Propagation Rules**: + +- Operations marked `Access.internal` make their models internal +- Operations marked `Access.public` make their models public +- Namespace access propagates to contained types +- Model access propagates to properties and inheritance hierarchy + +### @client + +**Purpose**: Define root clients in the SDK. +**Restrictions**: Cannot be used with `@clientLocation` decorator. Cannot be used as an augmentation (`@@`) decorator. +**Important**: `@client` has to be used on a type defined in `client.tsp`, so a file-level namespace (e.g. `namespace ClientCustomizations;`) should be added if one does not exist. +**Syntax**: `@client(options: ClientOptions, scope?: string)` +**Usage**: + +```typespec +// Basic client +@client({ service: MyService }) +interface MyClient {} + +// Named client +@client({ service: MyService, name: "CustomClient" }) +interface MyClient {} + +// Split operations into multiple clients +@client({ service: PetStore, name: "FoodClient" }) +interface FoodClient { + feed is PetStore.feed; +} + +@client({ service: PetStore, name: "PetClient" }) +interface PetClient { + pet is PetStore.pet; +} +``` + +### @operationGroup + +**Purpose**: Define sub-clients (operation groups). +**Restrictions**: Cannot be used with `@clientLocation` decorator. Cannot be used as an augmentation (`@@`) decorator. +**Important**: `@operationGroup` has to be used on a type defined in `client.tsp`, so a file-level namespace (e.g. `namespace ClientCustomizations;`) should be added if one does not exist. +**Syntax**: `@operationGroup(scope?: string)` +**Usage**: + +```typespec +@client({ service: MyService }) +namespace MyClient; + +@operationGroup +interface Pets { + list is MyService.listPets; + get is MyService.getPet; +} + +@operationGroup +interface Users { + list is MyService.listUsers; + create is MyService.createUser; +} +``` + +### @clientLocation + +**Purpose**: Move operations between clients without restructuring. +**Restrictions**: Cannot be used with `@client` or `@operationGroup` decorators. +**Syntax**: `@clientLocation(target: Interface | Namespace | string, scope?: string)` +**Usage**: + +```typespec +// Move to existing client +@@clientLocation(MyService.upload, AdminOperations); + +// Move to new client +@@clientLocation(MyService.archive, "ArchiveClient"); + +// Move to root client +@@clientLocation(MyService.SubClient.health, MyService); + +// Move parameter to client initialization +@@clientLocation(MyService.upload.subscriptionId, MyService); +``` + +### @clientName + +**Purpose**: Override generated names for SDK elements. Takes precedence over all other naming mechanisms. +**Important**: Always use PascalCase or camelCase for the rename parameter to make it easier to combine language scopes. SDKs will apply language-specific naming conventions automatically. +**Syntax**: `@clientName(rename: string, scope?: string)` +**Usage**: + +```typespec +// Rename Type +@@clientName(PetStore, "PetStoreClient"); + +// Language-specific names +@@clientName(foo, "pythonicFoo", "python") +@@clientName(foo, "CSharpFoo", "csharp") +``` + +### @clientNamespace + +**Purpose**: Change the namespace/package of generated types in the client SDK. +**Syntax**: `@clientNamespace(rename: string, scope?: string)` +**Usage**: + +```typespec +// Change client namespace +@@clientNamespace(MyService, "MyClient"); + +// Move model to different namespace +@@clientNamespace(MyService.MyModel, "MyClient.Models") +``` + +### @clientInitialization + +**Purpose**: Add custom parameters to client initialization. +**Important**: When `@clientInitialization` references a model defined in `client.tsp`, add a file-level namespace (e.g. `namespace ClientCustomizations;`) if one does not exist. +**Syntax**: `@clientInitialization(options: ClientInitializationOptions, scope?: string)` +**Usage**: + +```typespec +// Add initialization parameters +model MyClientOptions { + connectionString: string; +} + +@@clientInitialization(MyService, { parameters: MyClientOptions }); + +// With parameter aliasing +model MyClientOptions { + @paramAlias("subscriptionId") + subId: string; +} + +@@clientInitialization(MyService, { parameters: MyClientOptions }); +``` + +### @alternateType + +**Purpose**: Replace types in generated clients. +**Syntax**: `@alternateType(alternate: Type | ExternalType, scope?: string)` +**Usage**: + +```typespec +// Change property type +@@alternateType(Foo.date, string); + +// Language-specific alternates +@@alternateType(Foo.date, string, "python") + +// External type replacement +@@alternateType(uri, { + identity: "System.Uri", + package: "System", +}, "csharp") +``` + +### @override + +**Purpose**: Customize method signatures in generated clients. +**Restrictions**: Only operation parameter signatures can be customized. +**Important**: When `@override` references an operation defined in `client.tsp`, a file-level namespace (e.g. `namespace ClientCustomizations;`) should be added if one does not exist. +**Syntax**: `@override(override: Operation, scope?: string)` + +**Usage**: + +```typespec +// main.tsp +// Original operation +op myOperation(foo: string, bar: string): void; + +// client.tsp +// Custom signature - combine into options +model MyOperationOptions { + foo: string; + bar: string; +} + +op myOperationCustom(options: MyOperationOptions): void; + +@@override(myOperation, myOperationCustom); +``` + +### @scope + +**Purpose**: Include/exclude operations from specific languages. +**Usage**: + +```typespec +@@scope(Foo.create, "!csharp") // All languages except C# + +@@scope(Foo.create, "python") // Python only + +@@scope(Foo.create, "java, go") // Java and Go only +``` + +### @usage + +**Purpose**: Add usage information to models and enums. +**Note**: The usages provided are _additive_. +**Usage**: + +```typespec +// Add input and output usage to type +@@usage(MyModel, Usage.input | Usage.output) +``` + +**Usage Values**: + +- `Usage.input`: Used in request +- `Usage.output`: Used in response +- `Usage.json`: Used with JSON content type +- `Usage.xml`: Used with XML content type + +### @clientDoc + +**Purpose**: Override documentation for client libraries. +**Usage**: + +```typespec +// Replace type documentation with client documentation +@@clientDoc(myOperation, "Client-specific documentation", DocumentationMode.replace) + +// Append type documentation with client documentation - for only python +@@clientDoc(myModel, "Additional client notes", DocumentationMode.append, "python") +``` + +## Language-specific Customizations + +### @useSystemTextJsonConverter (C# only) + +**Purpose**: Use custom JSON converter for backward compatibility. +**Usage**: + +```typespec +@@useSystemTextJsonConverter(MyModel, "csharp") +``` + +## Best Practices + +### Do's + +- Use `client.tsp` for all customizations +- Use scope parameter for language-specific customizations +- Prefer scope negation (`"!csharp"`) when excluding single languages +- Combine scopes (`"python, java"`) when logic is identical across languages +- Use a file-level namespace (e.g. `namespace ClientCustomizations;`) in `client.tsp` if any types are defined in `client.tsp`. + +### Don'ts + +- Mix `@clientLocation` with `@client`/`@operationGroup` +- Over-customize - prefer defaults when possible +- Use legacy decorators for new services +- Rename without considering the impact on breaking changes +- Forget to specify scope for language-specific customizations + +## Common Scenarios + +### Scenario 1: Move Operations to Root Client + +```typespec +// Before: Operations in interfaces become sub-clients +interface Pets { feed(): void; } +interface Users { login(): void; } + +// After: All operations on root client +@@clientLocation(Pets.feed, MyService); +@@clientLocation(Users.login, MyService); +``` + +### Scenario 2: Rename for Consistency + +```typespec +// Standardize naming across languages +@@clientName(MyService, "MyServiceClient"); +@@clientName(getUserInfo, "GetUserInformation"); + +// Language-specific naming +@@clientName(uploadFile, "UploadFile", "csharp, python"); +``` + +### Scenario 3: Add Client Parameters + +```typespec +// Elevate common parameters to client +model MyServiceOptions { + subscriptionId: string; + resourceGroup: string; +} + +@@clientInitialization(MyService, { parameters: MyServiceOptions }); +``` + +### Scenario 4: Multi-Client Architecture + +```typespec +// Separate admin and user operations +@client({ service: MyService, name: "AdminClient" }) +interface AdminClient { + deleteUser is MyService.deleteUser; + manageRoles is MyService.manageRoles; +} + +@client({ service: MyService, name: "UserClient" }) +interface UserClient { + getProfile is MyService.getProfile; + updateProfile is MyService.updateProfile; +} +``` + +### Scenario 5: Language-specific clients + +```typespec +// Different client names for Java and others +@client({ service: MyService, name: "Foo.MyServiceClient" }, "java") +@client({ service: MyService, name: "MyServiceClient" }, "!java") +interface MyServiceClient { + getAllData is MyService.getAllData; +} + +// Different clients for python and Go +@client({ service: MyService, name: "MyClient" }, "python") +interface MyClientPython { + fetchData is MyService.fetchData; +} +@client({ service: MyService, name: "MyClient" }, "go") +interface MyClientGo { + fetchStream is MyService.fetchStream; +} +``` + +### Scenario 6: Rename custom client operations + +```typespec +// Create a client with operation names changed +@client({ service: MyService, name: "MyClient" }) +interface MyClient { + getFoo is MyService.getFooData; +} +``` + +This reference provides the essential patterns and decorators for TypeSpec client customizations. Focus on the core decorators (`@client`, `@operationGroup`, `@@clientLocation`, `@@clientName`, `@@access`) for most scenarios, and use advanced features selectively. diff --git a/eng/common/scripts/Update-DocsMsPackages.ps1 b/eng/common/scripts/Update-DocsMsPackages.ps1 index 06ee79102eab..f4a61bba4769 100644 --- a/eng/common/scripts/Update-DocsMsPackages.ps1 +++ b/eng/common/scripts/Update-DocsMsPackages.ps1 @@ -26,7 +26,9 @@ param ( [string] $DocRepoLocation, # the location of the cloned doc repo [Parameter(Mandatory = $false)] - [string] $PackageSourceOverride + [string] $PackageSourceOverride, + + [switch] $SkipLegacyOnboarding ) . (Join-Path $PSScriptRoot common.ps1) @@ -57,7 +59,11 @@ function PackageIsValidForDocsOnboarding($package) { -DocRepoLocation $DocRepoLocation } -$MONIKERS = @('latest', 'preview', 'legacy') +$MONIKERS = @('latest', 'preview') +if (!$SkipLegacyOnboarding) { + $MONIKERS += 'legacy' +} + foreach ($moniker in $MONIKERS) { try { Write-Host "Onboarding packages for moniker: $moniker" diff --git a/eng/common/scripts/Verify-Links.ps1 b/eng/common/scripts/Verify-Links.ps1 index d4406c609d0e..fe04a9b1db2a 100644 --- a/eng/common/scripts/Verify-Links.ps1 +++ b/eng/common/scripts/Verify-Links.ps1 @@ -530,6 +530,8 @@ foreach ($url in $urls) { LogGroupStart "Link checking details" +$originalcheckLinkGuidance = $checkLinkGuidance + while ($pageUrisToCheck.Count -ne 0) { $pageUri = $pageUrisToCheck.Dequeue(); @@ -538,6 +540,11 @@ while ($pageUrisToCheck.Count -ne 0) if ($checkedPages.ContainsKey($pageUri)) { continue } $checkedPages[$pageUri] = $true; + # copilot instructions require the use of relative links which is against our general guidance + # but we mainly care about those guidelines for docs publishing and not copilot instructions + # so we can disable the guidelines while validating copilot instruction files. + if ($pageUri -match "instructions.md$") { $checkLinkGuidance = $false } + [string[]] $linkUris = GetLinks $pageUri Write-Host "Checking $($linkUris.Count) links found on page $pageUri"; $badLinksPerPage = @(); @@ -561,6 +568,8 @@ while ($pageUrisToCheck.Count -ne 0) } catch { Write-Host "Exception encountered while processing pageUri $pageUri : $($_.Exception)" throw + } finally { + $checkLinkGuidance = $originalcheckLinkGuidance } } diff --git a/eng/common/tsp-client/package-lock.json b/eng/common/tsp-client/package-lock.json index 0859bbbfb1ff..ec2b7365b04b 100644 --- a/eng/common/tsp-client/package-lock.json +++ b/eng/common/tsp-client/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "@azure-tools/typespec-client-generator-cli": "0.29.0" + "@azure-tools/typespec-client-generator-cli": "0.30.0" } }, "node_modules/@autorest/codemodel": { @@ -189,9 +189,9 @@ } }, "node_modules/@azure-tools/typespec-client-generator-cli": { - "version": "0.29.0", - "resolved": "https://registry.npmjs.org/@azure-tools/typespec-client-generator-cli/-/typespec-client-generator-cli-0.29.0.tgz", - "integrity": "sha512-dQ8aHoouZ1SaDzan2xv2sa9Kzf/gXG3LFnas9io+3x6HzVCljlqiN/hPd8c35pn9mqVhlVoktg3CGlMKDwQN/Q==", + "version": "0.30.0", + "resolved": "https://registry.npmjs.org/@azure-tools/typespec-client-generator-cli/-/typespec-client-generator-cli-0.30.0.tgz", + "integrity": "sha512-UmVypW8o0PtgydCpAdoByWPSNAf0kgGSE4WjyGyFSYJZIfwrQ6Nvv1LuFAYZQxaM6ZYRNZKB92QmpXiNnWKxoA==", "license": "MIT", "dependencies": { "@autorest/core": "^3.10.2", diff --git a/eng/common/tsp-client/package.json b/eng/common/tsp-client/package.json index 8aa229e7cdad..b66c149420bc 100644 --- a/eng/common/tsp-client/package.json +++ b/eng/common/tsp-client/package.json @@ -1,5 +1,5 @@ { "dependencies": { - "@azure-tools/typespec-client-generator-cli": "0.29.0" + "@azure-tools/typespec-client-generator-cli": "0.30.0" } } diff --git a/eng/tools/lint-diff/package.json b/eng/tools/lint-diff/package.json index c7b498276394..40e378ee7f43 100644 --- a/eng/tools/lint-diff/package.json +++ b/eng/tools/lint-diff/package.json @@ -27,7 +27,7 @@ "autorest": "^3.7.2", "change-case": "^5.4.4", "deep-eql": "^5.0.2", - "marked": "^16.3.0" + "marked": "^17.0.0" }, "devDependencies": { "@types/deep-eql": "^4.0.2", diff --git a/package-lock.json b/package-lock.json index 62c53be6b11c..27be19a9c342 100644 --- a/package-lock.json +++ b/package-lock.json @@ -15,7 +15,7 @@ "@azure-tools/typespec-azure-portal-core": "0.61.0", "@azure-tools/typespec-azure-resource-manager": "0.61.1", "@azure-tools/typespec-azure-rulesets": "0.61.0", - "@azure-tools/typespec-client-generator-cli": "0.29.0", + "@azure-tools/typespec-client-generator-cli": "0.30.0", "@azure-tools/typespec-client-generator-core": "0.61.3", "@azure-tools/typespec-liftr-base": "0.10.0", "@azure/avocado": "0.10.3", @@ -51,7 +51,7 @@ "@apidevtools/json-schema-ref-parser": "^14.2.1", "debug": "^4.4.3", "js-yaml": "^4.1.0", - "marked": "^16.3.0", + "marked": "^17.0.0", "simple-git": "^3.27.0", "zod": "^4.1.11" }, @@ -78,9 +78,9 @@ } }, ".github/shared/node_modules/marked": { - "version": "16.4.1", - "resolved": "https://registry.npmjs.org/marked/-/marked-16.4.1.tgz", - "integrity": "sha512-ntROs7RaN3EvWfy3EZi14H4YxmT6A5YvywfhO+0pm+cH/dnSQRmdAmoFIc3B9aiwTehyk7pESH4ofyBY+V5hZg==", + "version": "17.0.0", + "resolved": "https://registry.npmjs.org/marked/-/marked-17.0.0.tgz", + "integrity": "sha512-KkDYEWEEiYJw/KC+DVm1zzlpMQSMIu6YRltkcCvwheCp8HWPXCk9JwOmHJKBlGfzcpzcIt6x3sMnTsRm/51oDg==", "dev": true, "license": "MIT", "bin": { @@ -120,7 +120,7 @@ "autorest": "^3.7.2", "change-case": "^5.4.4", "deep-eql": "^5.0.2", - "marked": "^16.3.0" + "marked": "^17.0.0" }, "bin": { "lint-diff": "cmd/lint-diff.js" @@ -254,9 +254,9 @@ "license": "MIT" }, "eng/tools/node_modules/marked": { - "version": "16.4.1", - "resolved": "https://registry.npmjs.org/marked/-/marked-16.4.1.tgz", - "integrity": "sha512-ntROs7RaN3EvWfy3EZi14H4YxmT6A5YvywfhO+0pm+cH/dnSQRmdAmoFIc3B9aiwTehyk7pESH4ofyBY+V5hZg==", + "version": "17.0.0", + "resolved": "https://registry.npmjs.org/marked/-/marked-17.0.0.tgz", + "integrity": "sha512-KkDYEWEEiYJw/KC+DVm1zzlpMQSMIu6YRltkcCvwheCp8HWPXCk9JwOmHJKBlGfzcpzcIt6x3sMnTsRm/51oDg==", "dev": true, "license": "MIT", "bin": { @@ -925,9 +925,9 @@ "link": true }, "node_modules/@azure-tools/spec-gen-sdk": { - "version": "0.9.2", - "resolved": "https://registry.npmjs.org/@azure-tools/spec-gen-sdk/-/spec-gen-sdk-0.9.2.tgz", - "integrity": "sha512-t6QWuKLLA78eg+sY3mjD/5WtKBriLbOKkEY0xcHTcJdrMScfqQR48+5a9aC16aJuP5t35OUJd/JWChz1QmPdAQ==", + "version": "0.9.3", + "resolved": "https://registry.npmjs.org/@azure-tools/spec-gen-sdk/-/spec-gen-sdk-0.9.3.tgz", + "integrity": "sha512-mGaLiEUnh4vCSX3mFTIFNiRiZKjo6gl0SnfukMoBR+ZdtUBJFEPRAa53Owcji+mhUBHYf0m1khLQkxMjQBW+xw==", "dev": true, "license": "MIT", "dependencies": { @@ -1100,9 +1100,9 @@ } }, "node_modules/@azure-tools/typespec-client-generator-cli": { - "version": "0.29.0", - "resolved": "https://registry.npmjs.org/@azure-tools/typespec-client-generator-cli/-/typespec-client-generator-cli-0.29.0.tgz", - "integrity": "sha512-dQ8aHoouZ1SaDzan2xv2sa9Kzf/gXG3LFnas9io+3x6HzVCljlqiN/hPd8c35pn9mqVhlVoktg3CGlMKDwQN/Q==", + "version": "0.30.0", + "resolved": "https://registry.npmjs.org/@azure-tools/typespec-client-generator-cli/-/typespec-client-generator-cli-0.30.0.tgz", + "integrity": "sha512-UmVypW8o0PtgydCpAdoByWPSNAf0kgGSE4WjyGyFSYJZIfwrQ6Nvv1LuFAYZQxaM6ZYRNZKB92QmpXiNnWKxoA==", "dev": true, "license": "MIT", "dependencies": { @@ -1407,9 +1407,9 @@ } }, "node_modules/@azure/core-rest-pipeline": { - "version": "1.22.1", - "resolved": "https://registry.npmjs.org/@azure/core-rest-pipeline/-/core-rest-pipeline-1.22.1.tgz", - "integrity": "sha512-UVZlVLfLyz6g3Hy7GNDpooMQonUygH7ghdiSASOOHy97fKj/mPLqgDX7aidOijn+sCMU+WU8NjlPlNTgnvbcGA==", + "version": "1.22.2", + "resolved": "https://registry.npmjs.org/@azure/core-rest-pipeline/-/core-rest-pipeline-1.22.2.tgz", + "integrity": "sha512-MzHym+wOi8CLUlKCQu12de0nwcq9k9Kuv43j4Wa++CsCpJwps2eeBQwD2Bu8snkxTtDKDx4GwjuR9E8yC8LNrg==", "dev": true, "license": "MIT", "dependencies": { @@ -1992,9 +1992,9 @@ "license": "MIT" }, "node_modules/@esbuild/aix-ppc64": { - "version": "0.25.11", - "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.25.11.tgz", - "integrity": "sha512-Xt1dOL13m8u0WE8iplx9Ibbm+hFAO0GsU2P34UNoDGvZYkY8ifSiy6Zuc1lYxfG7svWE2fzqCUmFp5HCn51gJg==", + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.25.12.tgz", + "integrity": "sha512-Hhmwd6CInZ3dwpuGTF8fJG6yoWmsToE+vYgD4nytZVxcu1ulHpUQRAB1UJ8+N1Am3Mz4+xOByoQoSZf4D+CpkA==", "cpu": [ "ppc64" ], @@ -2009,9 +2009,9 @@ } }, "node_modules/@esbuild/android-arm": { - "version": "0.25.11", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.25.11.tgz", - "integrity": "sha512-uoa7dU+Dt3HYsethkJ1k6Z9YdcHjTrSb5NUy66ZfZaSV8hEYGD5ZHbEMXnqLFlbBflLsl89Zke7CAdDJ4JI+Gg==", + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.25.12.tgz", + "integrity": "sha512-VJ+sKvNA/GE7Ccacc9Cha7bpS8nyzVv0jdVgwNDaR4gDMC/2TTRc33Ip8qrNYUcpkOHUT5OZ0bUcNNVZQ9RLlg==", "cpu": [ "arm" ], @@ -2026,9 +2026,9 @@ } }, "node_modules/@esbuild/android-arm64": { - "version": "0.25.11", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.25.11.tgz", - "integrity": "sha512-9slpyFBc4FPPz48+f6jyiXOx/Y4v34TUeDDXJpZqAWQn/08lKGeD8aDp9TMn9jDz2CiEuHwfhRmGBvpnd/PWIQ==", + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.25.12.tgz", + "integrity": "sha512-6AAmLG7zwD1Z159jCKPvAxZd4y/VTO0VkprYy+3N2FtJ8+BQWFXU+OxARIwA46c5tdD9SsKGZ/1ocqBS/gAKHg==", "cpu": [ "arm64" ], @@ -2043,9 +2043,9 @@ } }, "node_modules/@esbuild/android-x64": { - "version": "0.25.11", - "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.25.11.tgz", - "integrity": "sha512-Sgiab4xBjPU1QoPEIqS3Xx+R2lezu0LKIEcYe6pftr56PqPygbB7+szVnzoShbx64MUupqoE0KyRlN7gezbl8g==", + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.25.12.tgz", + "integrity": "sha512-5jbb+2hhDHx5phYR2By8GTWEzn6I9UqR11Kwf22iKbNpYrsmRB18aX/9ivc5cabcUiAT/wM+YIZ6SG9QO6a8kg==", "cpu": [ "x64" ], @@ -2060,9 +2060,9 @@ } }, "node_modules/@esbuild/darwin-arm64": { - "version": "0.25.11", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.25.11.tgz", - "integrity": "sha512-VekY0PBCukppoQrycFxUqkCojnTQhdec0vevUL/EDOCnXd9LKWqD/bHwMPzigIJXPhC59Vd1WFIL57SKs2mg4w==", + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.25.12.tgz", + "integrity": "sha512-N3zl+lxHCifgIlcMUP5016ESkeQjLj/959RxxNYIthIg+CQHInujFuXeWbWMgnTo4cp5XVHqFPmpyu9J65C1Yg==", "cpu": [ "arm64" ], @@ -2077,9 +2077,9 @@ } }, "node_modules/@esbuild/darwin-x64": { - "version": "0.25.11", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.25.11.tgz", - "integrity": "sha512-+hfp3yfBalNEpTGp9loYgbknjR695HkqtY3d3/JjSRUyPg/xd6q+mQqIb5qdywnDxRZykIHs3axEqU6l1+oWEQ==", + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.25.12.tgz", + "integrity": "sha512-HQ9ka4Kx21qHXwtlTUVbKJOAnmG1ipXhdWTmNXiPzPfWKpXqASVcWdnf2bnL73wgjNrFXAa3yYvBSd9pzfEIpA==", "cpu": [ "x64" ], @@ -2094,9 +2094,9 @@ } }, "node_modules/@esbuild/freebsd-arm64": { - "version": "0.25.11", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.25.11.tgz", - "integrity": "sha512-CmKjrnayyTJF2eVuO//uSjl/K3KsMIeYeyN7FyDBjsR3lnSJHaXlVoAK8DZa7lXWChbuOk7NjAc7ygAwrnPBhA==", + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.25.12.tgz", + "integrity": "sha512-gA0Bx759+7Jve03K1S0vkOu5Lg/85dou3EseOGUes8flVOGxbhDDh/iZaoek11Y8mtyKPGF3vP8XhnkDEAmzeg==", "cpu": [ "arm64" ], @@ -2111,9 +2111,9 @@ } }, "node_modules/@esbuild/freebsd-x64": { - "version": "0.25.11", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.25.11.tgz", - "integrity": "sha512-Dyq+5oscTJvMaYPvW3x3FLpi2+gSZTCE/1ffdwuM6G1ARang/mb3jvjxs0mw6n3Lsw84ocfo9CrNMqc5lTfGOw==", + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.25.12.tgz", + "integrity": "sha512-TGbO26Yw2xsHzxtbVFGEXBFH0FRAP7gtcPE7P5yP7wGy7cXK2oO7RyOhL5NLiqTlBh47XhmIUXuGciXEqYFfBQ==", "cpu": [ "x64" ], @@ -2128,9 +2128,9 @@ } }, "node_modules/@esbuild/linux-arm": { - "version": "0.25.11", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.25.11.tgz", - "integrity": "sha512-TBMv6B4kCfrGJ8cUPo7vd6NECZH/8hPpBHHlYI3qzoYFvWu2AdTvZNuU/7hsbKWqu/COU7NIK12dHAAqBLLXgw==", + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.25.12.tgz", + "integrity": "sha512-lPDGyC1JPDou8kGcywY0YILzWlhhnRjdof3UlcoqYmS9El818LLfJJc3PXXgZHrHCAKs/Z2SeZtDJr5MrkxtOw==", "cpu": [ "arm" ], @@ -2145,9 +2145,9 @@ } }, "node_modules/@esbuild/linux-arm64": { - "version": "0.25.11", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.25.11.tgz", - "integrity": "sha512-Qr8AzcplUhGvdyUF08A1kHU3Vr2O88xxP0Tm8GcdVOUm25XYcMPp2YqSVHbLuXzYQMf9Bh/iKx7YPqECs6ffLA==", + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.25.12.tgz", + "integrity": "sha512-8bwX7a8FghIgrupcxb4aUmYDLp8pX06rGh5HqDT7bB+8Rdells6mHvrFHHW2JAOPZUbnjUpKTLg6ECyzvas2AQ==", "cpu": [ "arm64" ], @@ -2162,9 +2162,9 @@ } }, "node_modules/@esbuild/linux-ia32": { - "version": "0.25.11", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.25.11.tgz", - "integrity": "sha512-TmnJg8BMGPehs5JKrCLqyWTVAvielc615jbkOirATQvWWB1NMXY77oLMzsUjRLa0+ngecEmDGqt5jiDC6bfvOw==", + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.25.12.tgz", + "integrity": "sha512-0y9KrdVnbMM2/vG8KfU0byhUN+EFCny9+8g202gYqSSVMonbsCfLjUO+rCci7pM0WBEtz+oK/PIwHkzxkyharA==", "cpu": [ "ia32" ], @@ -2179,9 +2179,9 @@ } }, "node_modules/@esbuild/linux-loong64": { - "version": "0.25.11", - "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.25.11.tgz", - "integrity": "sha512-DIGXL2+gvDaXlaq8xruNXUJdT5tF+SBbJQKbWy/0J7OhU8gOHOzKmGIlfTTl6nHaCOoipxQbuJi7O++ldrxgMw==", + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.25.12.tgz", + "integrity": "sha512-h///Lr5a9rib/v1GGqXVGzjL4TMvVTv+s1DPoxQdz7l/AYv6LDSxdIwzxkrPW438oUXiDtwM10o9PmwS/6Z0Ng==", "cpu": [ "loong64" ], @@ -2196,9 +2196,9 @@ } }, "node_modules/@esbuild/linux-mips64el": { - "version": "0.25.11", - "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.25.11.tgz", - "integrity": "sha512-Osx1nALUJu4pU43o9OyjSCXokFkFbyzjXb6VhGIJZQ5JZi8ylCQ9/LFagolPsHtgw6himDSyb5ETSfmp4rpiKQ==", + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.25.12.tgz", + "integrity": "sha512-iyRrM1Pzy9GFMDLsXn1iHUm18nhKnNMWscjmp4+hpafcZjrr2WbT//d20xaGljXDBYHqRcl8HnxbX6uaA/eGVw==", "cpu": [ "mips64el" ], @@ -2213,9 +2213,9 @@ } }, "node_modules/@esbuild/linux-ppc64": { - "version": "0.25.11", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.25.11.tgz", - "integrity": "sha512-nbLFgsQQEsBa8XSgSTSlrnBSrpoWh7ioFDUmwo158gIm5NNP+17IYmNWzaIzWmgCxq56vfr34xGkOcZ7jX6CPw==", + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.25.12.tgz", + "integrity": "sha512-9meM/lRXxMi5PSUqEXRCtVjEZBGwB7P/D4yT8UG/mwIdze2aV4Vo6U5gD3+RsoHXKkHCfSxZKzmDssVlRj1QQA==", "cpu": [ "ppc64" ], @@ -2230,9 +2230,9 @@ } }, "node_modules/@esbuild/linux-riscv64": { - "version": "0.25.11", - "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.25.11.tgz", - "integrity": "sha512-HfyAmqZi9uBAbgKYP1yGuI7tSREXwIb438q0nqvlpxAOs3XnZ8RsisRfmVsgV486NdjD7Mw2UrFSw51lzUk1ww==", + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.25.12.tgz", + "integrity": "sha512-Zr7KR4hgKUpWAwb1f3o5ygT04MzqVrGEGXGLnj15YQDJErYu/BGg+wmFlIDOdJp0PmB0lLvxFIOXZgFRrdjR0w==", "cpu": [ "riscv64" ], @@ -2247,9 +2247,9 @@ } }, "node_modules/@esbuild/linux-s390x": { - "version": "0.25.11", - "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.25.11.tgz", - "integrity": "sha512-HjLqVgSSYnVXRisyfmzsH6mXqyvj0SA7pG5g+9W7ESgwA70AXYNpfKBqh1KbTxmQVaYxpzA/SvlB9oclGPbApw==", + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.25.12.tgz", + "integrity": "sha512-MsKncOcgTNvdtiISc/jZs/Zf8d0cl/t3gYWX8J9ubBnVOwlk65UIEEvgBORTiljloIWnBzLs4qhzPkJcitIzIg==", "cpu": [ "s390x" ], @@ -2264,9 +2264,9 @@ } }, "node_modules/@esbuild/linux-x64": { - "version": "0.25.11", - "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.25.11.tgz", - "integrity": "sha512-HSFAT4+WYjIhrHxKBwGmOOSpphjYkcswF449j6EjsjbinTZbp8PJtjsVK1XFJStdzXdy/jaddAep2FGY+wyFAQ==", + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.25.12.tgz", + "integrity": "sha512-uqZMTLr/zR/ed4jIGnwSLkaHmPjOjJvnm6TVVitAa08SLS9Z0VM8wIRx7gWbJB5/J54YuIMInDquWyYvQLZkgw==", "cpu": [ "x64" ], @@ -2281,9 +2281,9 @@ } }, "node_modules/@esbuild/netbsd-arm64": { - "version": "0.25.11", - "resolved": "https://registry.npmjs.org/@esbuild/netbsd-arm64/-/netbsd-arm64-0.25.11.tgz", - "integrity": "sha512-hr9Oxj1Fa4r04dNpWr3P8QKVVsjQhqrMSUzZzf+LZcYjZNqhA3IAfPQdEh1FLVUJSiu6sgAwp3OmwBfbFgG2Xg==", + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-arm64/-/netbsd-arm64-0.25.12.tgz", + "integrity": "sha512-xXwcTq4GhRM7J9A8Gv5boanHhRa/Q9KLVmcyXHCTaM4wKfIpWkdXiMog/KsnxzJ0A1+nD+zoecuzqPmCRyBGjg==", "cpu": [ "arm64" ], @@ -2298,9 +2298,9 @@ } }, "node_modules/@esbuild/netbsd-x64": { - "version": "0.25.11", - "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.25.11.tgz", - "integrity": "sha512-u7tKA+qbzBydyj0vgpu+5h5AeudxOAGncb8N6C9Kh1N4n7wU1Xw1JDApsRjpShRpXRQlJLb9wY28ELpwdPcZ7A==", + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.25.12.tgz", + "integrity": "sha512-Ld5pTlzPy3YwGec4OuHh1aCVCRvOXdH8DgRjfDy/oumVovmuSzWfnSJg+VtakB9Cm0gxNO9BzWkj6mtO1FMXkQ==", "cpu": [ "x64" ], @@ -2315,9 +2315,9 @@ } }, "node_modules/@esbuild/openbsd-arm64": { - "version": "0.25.11", - "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.25.11.tgz", - "integrity": "sha512-Qq6YHhayieor3DxFOoYM1q0q1uMFYb7cSpLD2qzDSvK1NAvqFi8Xgivv0cFC6J+hWVw2teCYltyy9/m/14ryHg==", + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.25.12.tgz", + "integrity": "sha512-fF96T6KsBo/pkQI950FARU9apGNTSlZGsv1jZBAlcLL1MLjLNIWPBkj5NlSz8aAzYKg+eNqknrUJ24QBybeR5A==", "cpu": [ "arm64" ], @@ -2332,9 +2332,9 @@ } }, "node_modules/@esbuild/openbsd-x64": { - "version": "0.25.11", - "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.25.11.tgz", - "integrity": "sha512-CN+7c++kkbrckTOz5hrehxWN7uIhFFlmS/hqziSFVWpAzpWrQoAG4chH+nN3Be+Kzv/uuo7zhX716x3Sn2Jduw==", + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.25.12.tgz", + "integrity": "sha512-MZyXUkZHjQxUvzK7rN8DJ3SRmrVrke8ZyRusHlP+kuwqTcfWLyqMOE3sScPPyeIXN/mDJIfGXvcMqCgYKekoQw==", "cpu": [ "x64" ], @@ -2349,9 +2349,9 @@ } }, "node_modules/@esbuild/openharmony-arm64": { - "version": "0.25.11", - "resolved": "https://registry.npmjs.org/@esbuild/openharmony-arm64/-/openharmony-arm64-0.25.11.tgz", - "integrity": "sha512-rOREuNIQgaiR+9QuNkbkxubbp8MSO9rONmwP5nKncnWJ9v5jQ4JxFnLu4zDSRPf3x4u+2VN4pM4RdyIzDty/wQ==", + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/openharmony-arm64/-/openharmony-arm64-0.25.12.tgz", + "integrity": "sha512-rm0YWsqUSRrjncSXGA7Zv78Nbnw4XL6/dzr20cyrQf7ZmRcsovpcRBdhD43Nuk3y7XIoW2OxMVvwuRvk9XdASg==", "cpu": [ "arm64" ], @@ -2366,9 +2366,9 @@ } }, "node_modules/@esbuild/sunos-x64": { - "version": "0.25.11", - "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.25.11.tgz", - "integrity": "sha512-nq2xdYaWxyg9DcIyXkZhcYulC6pQ2FuCgem3LI92IwMgIZ69KHeY8T4Y88pcwoLIjbed8n36CyKoYRDygNSGhA==", + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.25.12.tgz", + "integrity": "sha512-3wGSCDyuTHQUzt0nV7bocDy72r2lI33QL3gkDNGkod22EsYl04sMf0qLb8luNKTOmgF/eDEDP5BFNwoBKH441w==", "cpu": [ "x64" ], @@ -2383,9 +2383,9 @@ } }, "node_modules/@esbuild/win32-arm64": { - "version": "0.25.11", - "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.25.11.tgz", - "integrity": "sha512-3XxECOWJq1qMZ3MN8srCJ/QfoLpL+VaxD/WfNRm1O3B4+AZ/BnLVgFbUV3eiRYDMXetciH16dwPbbHqwe1uU0Q==", + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.25.12.tgz", + "integrity": "sha512-rMmLrur64A7+DKlnSuwqUdRKyd3UE7oPJZmnljqEptesKM8wx9J8gx5u0+9Pq0fQQW8vqeKebwNXdfOyP+8Bsg==", "cpu": [ "arm64" ], @@ -2400,9 +2400,9 @@ } }, "node_modules/@esbuild/win32-ia32": { - "version": "0.25.11", - "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.25.11.tgz", - "integrity": "sha512-3ukss6gb9XZ8TlRyJlgLn17ecsK4NSQTmdIXRASVsiS2sQ6zPPZklNJT5GR5tE/MUarymmy8kCEf5xPCNCqVOA==", + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.25.12.tgz", + "integrity": "sha512-HkqnmmBoCbCwxUKKNPBixiWDGCpQGVsrQfJoVGYLPT41XWF8lHuE5N6WhVia2n4o5QK5M4tYr21827fNhi4byQ==", "cpu": [ "ia32" ], @@ -2417,9 +2417,9 @@ } }, "node_modules/@esbuild/win32-x64": { - "version": "0.25.11", - "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.25.11.tgz", - "integrity": "sha512-D7Hpz6A2L4hzsRpPaCYkQnGOotdUpDzSGRIv9I+1ITdHROSFUWW95ZPZWQmGka1Fg7W3zFJowyn9WGwMJ0+KPA==", + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.25.12.tgz", + "integrity": "sha512-alJC0uCZpTFrSL0CCDjcgleBXPnCrEAhTBILpeAp7M/OFgoqtAetfBzX0xM00MUsVVPpVjlPuMbREqnZCXaTnA==", "cpu": [ "x64" ], @@ -2554,9 +2554,9 @@ } }, "node_modules/@eslint/js": { - "version": "9.39.0", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.39.0.tgz", - "integrity": "sha512-BIhe0sW91JGPiaF1mOuPy5v8NflqfjIcDNpC+LbW9f609WVRX1rArrhi6Z2ymvrAry9jw+5POTj4t2t62o8Bmw==", + "version": "9.39.1", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.39.1.tgz", + "integrity": "sha512-S26Stp4zCy88tH94QbBv3XCuzRQiZ9yXofEILmglYTh/Ug/a9/umqvgFtYBAo3Lp0nsI/5/qH1CCrbdK3AP1Tw==", "dev": true, "license": "MIT", "engines": { @@ -2652,9 +2652,9 @@ } }, "node_modules/@inquirer/ansi": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@inquirer/ansi/-/ansi-1.0.1.tgz", - "integrity": "sha512-yqq0aJW/5XPhi5xOAL1xRCpe1eh8UFVgYFpFsjEqmIR8rKLyP+HINvFXwUaxYICflJrVlxnp7lLN6As735kVpw==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/@inquirer/ansi/-/ansi-1.0.2.tgz", + "integrity": "sha512-S8qNSZiYzFd0wAcyG5AXCvUHC5Sr7xpZ9wZ2py9XR88jUz8wooStVx5M6dRzczbBWjic9NP7+rY0Xi7qqK/aMQ==", "dev": true, "license": "MIT", "engines": { @@ -2662,17 +2662,17 @@ } }, "node_modules/@inquirer/checkbox": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/@inquirer/checkbox/-/checkbox-4.3.0.tgz", - "integrity": "sha512-5+Q3PKH35YsnoPTh75LucALdAxom6xh5D1oeY561x4cqBuH24ZFVyFREPe14xgnrtmGu3EEt1dIi60wRVSnGCw==", + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/@inquirer/checkbox/-/checkbox-4.3.1.tgz", + "integrity": "sha512-rOcLotrptYIy59SGQhKlU0xBg1vvcVl2FdPIEclUvKHh0wo12OfGkId/01PIMJ/V+EimJ77t085YabgnQHBa5A==", "dev": true, "license": "MIT", "dependencies": { - "@inquirer/ansi": "^1.0.1", - "@inquirer/core": "^10.3.0", - "@inquirer/figures": "^1.0.14", - "@inquirer/type": "^3.0.9", - "yoctocolors-cjs": "^2.1.2" + "@inquirer/ansi": "^1.0.2", + "@inquirer/core": "^10.3.1", + "@inquirer/figures": "^1.0.15", + "@inquirer/type": "^3.0.10", + "yoctocolors-cjs": "^2.1.3" }, "engines": { "node": ">=18" @@ -2687,14 +2687,14 @@ } }, "node_modules/@inquirer/confirm": { - "version": "5.1.19", - "resolved": "https://registry.npmjs.org/@inquirer/confirm/-/confirm-5.1.19.tgz", - "integrity": "sha512-wQNz9cfcxrtEnUyG5PndC8g3gZ7lGDBzmWiXZkX8ot3vfZ+/BLjR8EvyGX4YzQLeVqtAlY/YScZpW7CW8qMoDQ==", + "version": "5.1.20", + "resolved": "https://registry.npmjs.org/@inquirer/confirm/-/confirm-5.1.20.tgz", + "integrity": "sha512-HDGiWh2tyRZa0M1ZnEIUCQro25gW/mN8ODByicQrbR1yHx4hT+IOpozCMi5TgBtUdklLwRI2mv14eNpftDluEw==", "dev": true, "license": "MIT", "dependencies": { - "@inquirer/core": "^10.3.0", - "@inquirer/type": "^3.0.9" + "@inquirer/core": "^10.3.1", + "@inquirer/type": "^3.0.10" }, "engines": { "node": ">=18" @@ -2709,20 +2709,20 @@ } }, "node_modules/@inquirer/core": { - "version": "10.3.0", - "resolved": "https://registry.npmjs.org/@inquirer/core/-/core-10.3.0.tgz", - "integrity": "sha512-Uv2aPPPSK5jeCplQmQ9xadnFx2Zhj9b5Dj7bU6ZeCdDNNY11nhYy4btcSdtDguHqCT2h5oNeQTcUNSGGLA7NTA==", + "version": "10.3.1", + "resolved": "https://registry.npmjs.org/@inquirer/core/-/core-10.3.1.tgz", + "integrity": "sha512-hzGKIkfomGFPgxKmnKEKeA+uCYBqC+TKtRx5LgyHRCrF6S2MliwRIjp3sUaWwVzMp7ZXVs8elB0Tfe682Rpg4w==", "dev": true, "license": "MIT", "dependencies": { - "@inquirer/ansi": "^1.0.1", - "@inquirer/figures": "^1.0.14", - "@inquirer/type": "^3.0.9", + "@inquirer/ansi": "^1.0.2", + "@inquirer/figures": "^1.0.15", + "@inquirer/type": "^3.0.10", "cli-width": "^4.1.0", - "mute-stream": "^2.0.0", + "mute-stream": "^3.0.0", "signal-exit": "^4.1.0", "wrap-ansi": "^6.2.0", - "yoctocolors-cjs": "^2.1.2" + "yoctocolors-cjs": "^2.1.3" }, "engines": { "node": ">=18" @@ -2737,15 +2737,15 @@ } }, "node_modules/@inquirer/editor": { - "version": "4.2.21", - "resolved": "https://registry.npmjs.org/@inquirer/editor/-/editor-4.2.21.tgz", - "integrity": "sha512-MjtjOGjr0Kh4BciaFShYpZ1s9400idOdvQ5D7u7lE6VztPFoyLcVNE5dXBmEEIQq5zi4B9h2kU+q7AVBxJMAkQ==", + "version": "4.2.22", + "resolved": "https://registry.npmjs.org/@inquirer/editor/-/editor-4.2.22.tgz", + "integrity": "sha512-8yYZ9TCbBKoBkzHtVNMF6PV1RJEUvMlhvmS3GxH4UvXMEHlS45jFyqFy0DU+K42jBs5slOaA78xGqqqWAx3u6A==", "dev": true, "license": "MIT", "dependencies": { - "@inquirer/core": "^10.3.0", - "@inquirer/external-editor": "^1.0.2", - "@inquirer/type": "^3.0.9" + "@inquirer/core": "^10.3.1", + "@inquirer/external-editor": "^1.0.3", + "@inquirer/type": "^3.0.10" }, "engines": { "node": ">=18" @@ -2760,15 +2760,15 @@ } }, "node_modules/@inquirer/expand": { - "version": "4.0.21", - "resolved": "https://registry.npmjs.org/@inquirer/expand/-/expand-4.0.21.tgz", - "integrity": "sha512-+mScLhIcbPFmuvU3tAGBed78XvYHSvCl6dBiYMlzCLhpr0bzGzd8tfivMMeqND6XZiaZ1tgusbUHJEfc6YzOdA==", + "version": "4.0.22", + "resolved": "https://registry.npmjs.org/@inquirer/expand/-/expand-4.0.22.tgz", + "integrity": "sha512-9XOjCjvioLjwlq4S4yXzhvBmAXj5tG+jvva0uqedEsQ9VD8kZ+YT7ap23i0bIXOtow+di4+u3i6u26nDqEfY4Q==", "dev": true, "license": "MIT", "dependencies": { - "@inquirer/core": "^10.3.0", - "@inquirer/type": "^3.0.9", - "yoctocolors-cjs": "^2.1.2" + "@inquirer/core": "^10.3.1", + "@inquirer/type": "^3.0.10", + "yoctocolors-cjs": "^2.1.3" }, "engines": { "node": ">=18" @@ -2783,13 +2783,13 @@ } }, "node_modules/@inquirer/external-editor": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/@inquirer/external-editor/-/external-editor-1.0.2.tgz", - "integrity": "sha512-yy9cOoBnx58TlsPrIxauKIFQTiyH+0MK4e97y4sV9ERbI+zDxw7i2hxHLCIEGIE/8PPvDxGhgzIOTSOWcs6/MQ==", + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@inquirer/external-editor/-/external-editor-1.0.3.tgz", + "integrity": "sha512-RWbSrDiYmO4LbejWY7ttpxczuwQyZLBUyygsA9Nsv95hpzUWwnNTVQmAq3xuh7vNwCp07UTmE5i11XAEExx4RA==", "dev": true, "license": "MIT", "dependencies": { - "chardet": "^2.1.0", + "chardet": "^2.1.1", "iconv-lite": "^0.7.0" }, "engines": { @@ -2805,9 +2805,9 @@ } }, "node_modules/@inquirer/figures": { - "version": "1.0.14", - "resolved": "https://registry.npmjs.org/@inquirer/figures/-/figures-1.0.14.tgz", - "integrity": "sha512-DbFgdt+9/OZYFM+19dbpXOSeAstPy884FPy1KjDu4anWwymZeOYhMY1mdFri172htv6mvc/uvIAAi7b7tvjJBQ==", + "version": "1.0.15", + "resolved": "https://registry.npmjs.org/@inquirer/figures/-/figures-1.0.15.tgz", + "integrity": "sha512-t2IEY+unGHOzAaVM5Xx6DEWKeXlDDcNPeDyUpsRc6CUhBfU3VQOEl+Vssh7VNp1dR8MdUJBWhuObjXCsVpjN5g==", "dev": true, "license": "MIT", "engines": { @@ -2815,14 +2815,14 @@ } }, "node_modules/@inquirer/input": { - "version": "4.2.5", - "resolved": "https://registry.npmjs.org/@inquirer/input/-/input-4.2.5.tgz", - "integrity": "sha512-7GoWev7P6s7t0oJbenH0eQ0ThNdDJbEAEtVt9vsrYZ9FulIokvd823yLyhQlWHJPGce1wzP53ttfdCZmonMHyA==", + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/@inquirer/input/-/input-4.3.0.tgz", + "integrity": "sha512-h4fgse5zeGsBSW3cRQqu9a99OXRdRsNCvHoBqVmz40cjYjYFzcfwD0KA96BHIPlT7rZw0IpiefQIqXrjbzjS4Q==", "dev": true, "license": "MIT", "dependencies": { - "@inquirer/core": "^10.3.0", - "@inquirer/type": "^3.0.9" + "@inquirer/core": "^10.3.1", + "@inquirer/type": "^3.0.10" }, "engines": { "node": ">=18" @@ -2837,14 +2837,14 @@ } }, "node_modules/@inquirer/number": { - "version": "3.0.21", - "resolved": "https://registry.npmjs.org/@inquirer/number/-/number-3.0.21.tgz", - "integrity": "sha512-5QWs0KGaNMlhbdhOSCFfKsW+/dcAVC2g4wT/z2MCiZM47uLgatC5N20kpkDQf7dHx+XFct/MJvvNGy6aYJn4Pw==", + "version": "3.0.22", + "resolved": "https://registry.npmjs.org/@inquirer/number/-/number-3.0.22.tgz", + "integrity": "sha512-oAdMJXz++fX58HsIEYmvuf5EdE8CfBHHXjoi9cTcQzgFoHGZE+8+Y3P38MlaRMeBvAVnkWtAxMUF6urL2zYsbg==", "dev": true, "license": "MIT", "dependencies": { - "@inquirer/core": "^10.3.0", - "@inquirer/type": "^3.0.9" + "@inquirer/core": "^10.3.1", + "@inquirer/type": "^3.0.10" }, "engines": { "node": ">=18" @@ -2859,15 +2859,15 @@ } }, "node_modules/@inquirer/password": { - "version": "4.0.21", - "resolved": "https://registry.npmjs.org/@inquirer/password/-/password-4.0.21.tgz", - "integrity": "sha512-xxeW1V5SbNFNig2pLfetsDb0svWlKuhmr7MPJZMYuDnCTkpVBI+X/doudg4pznc1/U+yYmWFFOi4hNvGgUo7EA==", + "version": "4.0.22", + "resolved": "https://registry.npmjs.org/@inquirer/password/-/password-4.0.22.tgz", + "integrity": "sha512-CbdqK1ioIr0Y3akx03k/+Twf+KSlHjn05hBL+rmubMll7PsDTGH0R4vfFkr+XrkB0FOHrjIwVP9crt49dgt+1g==", "dev": true, "license": "MIT", "dependencies": { - "@inquirer/ansi": "^1.0.1", - "@inquirer/core": "^10.3.0", - "@inquirer/type": "^3.0.9" + "@inquirer/ansi": "^1.0.2", + "@inquirer/core": "^10.3.1", + "@inquirer/type": "^3.0.10" }, "engines": { "node": ">=18" @@ -2882,22 +2882,22 @@ } }, "node_modules/@inquirer/prompts": { - "version": "7.9.0", - "resolved": "https://registry.npmjs.org/@inquirer/prompts/-/prompts-7.9.0.tgz", - "integrity": "sha512-X7/+dG9SLpSzRkwgG5/xiIzW0oMrV3C0HOa7YHG1WnrLK+vCQHfte4k/T80059YBdei29RBC3s+pSMvPJDU9/A==", + "version": "7.10.0", + "resolved": "https://registry.npmjs.org/@inquirer/prompts/-/prompts-7.10.0.tgz", + "integrity": "sha512-X2HAjY9BClfFkJ2RP3iIiFxlct5JJVdaYYXhA7RKxsbc9KL+VbId79PSoUGH/OLS011NFbHHDMDcBKUj3T89+Q==", "dev": true, "license": "MIT", "dependencies": { - "@inquirer/checkbox": "^4.3.0", - "@inquirer/confirm": "^5.1.19", - "@inquirer/editor": "^4.2.21", - "@inquirer/expand": "^4.0.21", - "@inquirer/input": "^4.2.5", - "@inquirer/number": "^3.0.21", - "@inquirer/password": "^4.0.21", - "@inquirer/rawlist": "^4.1.9", - "@inquirer/search": "^3.2.0", - "@inquirer/select": "^4.4.0" + "@inquirer/checkbox": "^4.3.1", + "@inquirer/confirm": "^5.1.20", + "@inquirer/editor": "^4.2.22", + "@inquirer/expand": "^4.0.22", + "@inquirer/input": "^4.3.0", + "@inquirer/number": "^3.0.22", + "@inquirer/password": "^4.0.22", + "@inquirer/rawlist": "^4.1.10", + "@inquirer/search": "^3.2.1", + "@inquirer/select": "^4.4.1" }, "engines": { "node": ">=18" @@ -2912,15 +2912,15 @@ } }, "node_modules/@inquirer/rawlist": { - "version": "4.1.9", - "resolved": "https://registry.npmjs.org/@inquirer/rawlist/-/rawlist-4.1.9.tgz", - "integrity": "sha512-AWpxB7MuJrRiSfTKGJ7Y68imYt8P9N3Gaa7ySdkFj1iWjr6WfbGAhdZvw/UnhFXTHITJzxGUI9k8IX7akAEBCg==", + "version": "4.1.10", + "resolved": "https://registry.npmjs.org/@inquirer/rawlist/-/rawlist-4.1.10.tgz", + "integrity": "sha512-Du4uidsgTMkoH5izgpfyauTL/ItVHOLsVdcY+wGeoGaG56BV+/JfmyoQGniyhegrDzXpfn3D+LFHaxMDRygcAw==", "dev": true, "license": "MIT", "dependencies": { - "@inquirer/core": "^10.3.0", - "@inquirer/type": "^3.0.9", - "yoctocolors-cjs": "^2.1.2" + "@inquirer/core": "^10.3.1", + "@inquirer/type": "^3.0.10", + "yoctocolors-cjs": "^2.1.3" }, "engines": { "node": ">=18" @@ -2935,16 +2935,16 @@ } }, "node_modules/@inquirer/search": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/@inquirer/search/-/search-3.2.0.tgz", - "integrity": "sha512-a5SzB/qrXafDX1Z4AZW3CsVoiNxcIYCzYP7r9RzrfMpaLpB+yWi5U8BWagZyLmwR0pKbbL5umnGRd0RzGVI8bQ==", + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/@inquirer/search/-/search-3.2.1.tgz", + "integrity": "sha512-cKiuUvETublmTmaOneEermfG2tI9ABpb7fW/LqzZAnSv4ZaJnbEis05lOkiBuYX5hNdnX0Q9ryOQyrNidb55WA==", "dev": true, "license": "MIT", "dependencies": { - "@inquirer/core": "^10.3.0", - "@inquirer/figures": "^1.0.14", - "@inquirer/type": "^3.0.9", - "yoctocolors-cjs": "^2.1.2" + "@inquirer/core": "^10.3.1", + "@inquirer/figures": "^1.0.15", + "@inquirer/type": "^3.0.10", + "yoctocolors-cjs": "^2.1.3" }, "engines": { "node": ">=18" @@ -2959,17 +2959,17 @@ } }, "node_modules/@inquirer/select": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/@inquirer/select/-/select-4.4.0.tgz", - "integrity": "sha512-kaC3FHsJZvVyIjYBs5Ih8y8Bj4P/QItQWrZW22WJax7zTN+ZPXVGuOM55vzbdCP9zKUiBd9iEJVdesujfF+cAA==", + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/@inquirer/select/-/select-4.4.1.tgz", + "integrity": "sha512-E9hbLU4XsNe2SAOSsFrtYtYQDVi1mfbqJrPDvXKnGlnRiApBdWMJz7r3J2Ff38AqULkPUD3XjQMD4492TymD7Q==", "dev": true, "license": "MIT", "dependencies": { - "@inquirer/ansi": "^1.0.1", - "@inquirer/core": "^10.3.0", - "@inquirer/figures": "^1.0.14", - "@inquirer/type": "^3.0.9", - "yoctocolors-cjs": "^2.1.2" + "@inquirer/ansi": "^1.0.2", + "@inquirer/core": "^10.3.1", + "@inquirer/figures": "^1.0.15", + "@inquirer/type": "^3.0.10", + "yoctocolors-cjs": "^2.1.3" }, "engines": { "node": ">=18" @@ -2984,9 +2984,9 @@ } }, "node_modules/@inquirer/type": { - "version": "3.0.9", - "resolved": "https://registry.npmjs.org/@inquirer/type/-/type-3.0.9.tgz", - "integrity": "sha512-QPaNt/nmE2bLGQa9b7wwyRJoLZ7pN6rcyXvzU0YCmivmJyq1BVo94G98tStRWkoD1RgDX5C+dPlhhHzNdu/W/w==", + "version": "3.0.10", + "resolved": "https://registry.npmjs.org/@inquirer/type/-/type-3.0.10.tgz", + "integrity": "sha512-BvziSRxfz5Ov8ch0z/n3oijRSEcEsHnhggm4xFZe93DHcUCTlutlq9Ox4SVENAfcRD22UQq7T/atg9Wr3k09eA==", "dev": true, "license": "MIT", "engines": { @@ -3699,9 +3699,9 @@ } }, "node_modules/@rollup/rollup-android-arm-eabi": { - "version": "4.52.5", - "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.52.5.tgz", - "integrity": "sha512-8c1vW4ocv3UOMp9K+gToY5zL2XiiVw3k7f1ksf4yO1FlDFQ1C2u72iACFnSOceJFsWskc2WZNqeRhFRPzv+wtQ==", + "version": "4.53.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.53.2.tgz", + "integrity": "sha512-yDPzwsgiFO26RJA4nZo8I+xqzh7sJTZIWQOxn+/XOdPE31lAvLIYCKqjV+lNH/vxE2L2iH3plKxDCRK6i+CwhA==", "cpu": [ "arm" ], @@ -3713,9 +3713,9 @@ ] }, "node_modules/@rollup/rollup-android-arm64": { - "version": "4.52.5", - "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.52.5.tgz", - "integrity": "sha512-mQGfsIEFcu21mvqkEKKu2dYmtuSZOBMmAl5CFlPGLY94Vlcm+zWApK7F/eocsNzp8tKmbeBP8yXyAbx0XHsFNA==", + "version": "4.53.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.53.2.tgz", + "integrity": "sha512-k8FontTxIE7b0/OGKeSN5B6j25EuppBcWM33Z19JoVT7UTXFSo3D9CdU39wGTeb29NO3XxpMNauh09B+Ibw+9g==", "cpu": [ "arm64" ], @@ -3727,9 +3727,9 @@ ] }, "node_modules/@rollup/rollup-darwin-arm64": { - "version": "4.52.5", - "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.52.5.tgz", - "integrity": "sha512-takF3CR71mCAGA+v794QUZ0b6ZSrgJkArC+gUiG6LB6TQty9T0Mqh3m2ImRBOxS2IeYBo4lKWIieSvnEk2OQWA==", + "version": "4.53.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.53.2.tgz", + "integrity": "sha512-A6s4gJpomNBtJ2yioj8bflM2oogDwzUiMl2yNJ2v9E7++sHrSrsQ29fOfn5DM/iCzpWcebNYEdXpaK4tr2RhfQ==", "cpu": [ "arm64" ], @@ -3741,9 +3741,9 @@ ] }, "node_modules/@rollup/rollup-darwin-x64": { - "version": "4.52.5", - "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.52.5.tgz", - "integrity": "sha512-W901Pla8Ya95WpxDn//VF9K9u2JbocwV/v75TE0YIHNTbhqUTv9w4VuQ9MaWlNOkkEfFwkdNhXgcLqPSmHy0fA==", + "version": "4.53.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.53.2.tgz", + "integrity": "sha512-e6XqVmXlHrBlG56obu9gDRPW3O3hLxpwHpLsBJvuI8qqnsrtSZ9ERoWUXtPOkY8c78WghyPHZdmPhHLWNdAGEw==", "cpu": [ "x64" ], @@ -3755,9 +3755,9 @@ ] }, "node_modules/@rollup/rollup-freebsd-arm64": { - "version": "4.52.5", - "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.52.5.tgz", - "integrity": "sha512-QofO7i7JycsYOWxe0GFqhLmF6l1TqBswJMvICnRUjqCx8b47MTo46W8AoeQwiokAx3zVryVnxtBMcGcnX12LvA==", + "version": "4.53.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.53.2.tgz", + "integrity": "sha512-v0E9lJW8VsrwPux5Qe5CwmH/CF/2mQs6xU1MF3nmUxmZUCHazCjLgYvToOk+YuuUqLQBio1qkkREhxhc656ViA==", "cpu": [ "arm64" ], @@ -3769,9 +3769,9 @@ ] }, "node_modules/@rollup/rollup-freebsd-x64": { - "version": "4.52.5", - "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.52.5.tgz", - "integrity": "sha512-jr21b/99ew8ujZubPo9skbrItHEIE50WdV86cdSoRkKtmWa+DDr6fu2c/xyRT0F/WazZpam6kk7IHBerSL7LDQ==", + "version": "4.53.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.53.2.tgz", + "integrity": "sha512-ClAmAPx3ZCHtp6ysl4XEhWU69GUB1D+s7G9YjHGhIGCSrsg00nEGRRZHmINYxkdoJehde8VIsDC5t9C0gb6yqA==", "cpu": [ "x64" ], @@ -3783,9 +3783,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm-gnueabihf": { - "version": "4.52.5", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.52.5.tgz", - "integrity": "sha512-PsNAbcyv9CcecAUagQefwX8fQn9LQ4nZkpDboBOttmyffnInRy8R8dSg6hxxl2Re5QhHBf6FYIDhIj5v982ATQ==", + "version": "4.53.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.53.2.tgz", + "integrity": "sha512-EPlb95nUsz6Dd9Qy13fI5kUPXNSljaG9FiJ4YUGU1O/Q77i5DYFW5KR8g1OzTcdZUqQQ1KdDqsTohdFVwCwjqg==", "cpu": [ "arm" ], @@ -3797,9 +3797,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm-musleabihf": { - "version": "4.52.5", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.52.5.tgz", - "integrity": "sha512-Fw4tysRutyQc/wwkmcyoqFtJhh0u31K+Q6jYjeicsGJJ7bbEq8LwPWV/w0cnzOqR2m694/Af6hpFayLJZkG2VQ==", + "version": "4.53.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.53.2.tgz", + "integrity": "sha512-BOmnVW+khAUX+YZvNfa0tGTEMVVEerOxN0pDk2E6N6DsEIa2Ctj48FOMfNDdrwinocKaC7YXUZ1pHlKpnkja/Q==", "cpu": [ "arm" ], @@ -3811,9 +3811,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm64-gnu": { - "version": "4.52.5", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.52.5.tgz", - "integrity": "sha512-a+3wVnAYdQClOTlyapKmyI6BLPAFYs0JM8HRpgYZQO02rMR09ZcV9LbQB+NL6sljzG38869YqThrRnfPMCDtZg==", + "version": "4.53.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.53.2.tgz", + "integrity": "sha512-Xt2byDZ+6OVNuREgBXr4+CZDJtrVso5woFtpKdGPhpTPHcNG7D8YXeQzpNbFRxzTVqJf7kvPMCub/pcGUWgBjA==", "cpu": [ "arm64" ], @@ -3825,9 +3825,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm64-musl": { - "version": "4.52.5", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.52.5.tgz", - "integrity": "sha512-AvttBOMwO9Pcuuf7m9PkC1PUIKsfaAJ4AYhy944qeTJgQOqJYJ9oVl2nYgY7Rk0mkbsuOpCAYSs6wLYB2Xiw0Q==", + "version": "4.53.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.53.2.tgz", + "integrity": "sha512-+LdZSldy/I9N8+klim/Y1HsKbJ3BbInHav5qE9Iy77dtHC/pibw1SR/fXlWyAk0ThnpRKoODwnAuSjqxFRDHUQ==", "cpu": [ "arm64" ], @@ -3839,9 +3839,9 @@ ] }, "node_modules/@rollup/rollup-linux-loong64-gnu": { - "version": "4.52.5", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loong64-gnu/-/rollup-linux-loong64-gnu-4.52.5.tgz", - "integrity": "sha512-DkDk8pmXQV2wVrF6oq5tONK6UHLz/XcEVow4JTTerdeV1uqPeHxwcg7aFsfnSm9L+OO8WJsWotKM2JJPMWrQtA==", + "version": "4.53.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loong64-gnu/-/rollup-linux-loong64-gnu-4.53.2.tgz", + "integrity": "sha512-8ms8sjmyc1jWJS6WdNSA23rEfdjWB30LH8Wqj0Cqvv7qSHnvw6kgMMXRdop6hkmGPlyYBdRPkjJnj3KCUHV/uQ==", "cpu": [ "loong64" ], @@ -3853,9 +3853,9 @@ ] }, "node_modules/@rollup/rollup-linux-ppc64-gnu": { - "version": "4.52.5", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-gnu/-/rollup-linux-ppc64-gnu-4.52.5.tgz", - "integrity": "sha512-W/b9ZN/U9+hPQVvlGwjzi+Wy4xdoH2I8EjaCkMvzpI7wJUs8sWJ03Rq96jRnHkSrcHTpQe8h5Tg3ZzUPGauvAw==", + "version": "4.53.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-gnu/-/rollup-linux-ppc64-gnu-4.53.2.tgz", + "integrity": "sha512-3HRQLUQbpBDMmzoxPJYd3W6vrVHOo2cVW8RUo87Xz0JPJcBLBr5kZ1pGcQAhdZgX9VV7NbGNipah1omKKe23/g==", "cpu": [ "ppc64" ], @@ -3867,9 +3867,9 @@ ] }, "node_modules/@rollup/rollup-linux-riscv64-gnu": { - "version": "4.52.5", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.52.5.tgz", - "integrity": "sha512-sjQLr9BW7R/ZiXnQiWPkErNfLMkkWIoCz7YMn27HldKsADEKa5WYdobaa1hmN6slu9oWQbB6/jFpJ+P2IkVrmw==", + "version": "4.53.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.53.2.tgz", + "integrity": "sha512-fMjKi+ojnmIvhk34gZP94vjogXNNUKMEYs+EDaB/5TG/wUkoeua7p7VCHnE6T2Tx+iaghAqQX8teQzcvrYpaQA==", "cpu": [ "riscv64" ], @@ -3881,9 +3881,9 @@ ] }, "node_modules/@rollup/rollup-linux-riscv64-musl": { - "version": "4.52.5", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-musl/-/rollup-linux-riscv64-musl-4.52.5.tgz", - "integrity": "sha512-hq3jU/kGyjXWTvAh2awn8oHroCbrPm8JqM7RUpKjalIRWWXE01CQOf/tUNWNHjmbMHg/hmNCwc/Pz3k1T/j/Lg==", + "version": "4.53.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-musl/-/rollup-linux-riscv64-musl-4.53.2.tgz", + "integrity": "sha512-XuGFGU+VwUUV5kLvoAdi0Wz5Xbh2SrjIxCtZj6Wq8MDp4bflb/+ThZsVxokM7n0pcbkEr2h5/pzqzDYI7cCgLQ==", "cpu": [ "riscv64" ], @@ -3895,9 +3895,9 @@ ] }, "node_modules/@rollup/rollup-linux-s390x-gnu": { - "version": "4.52.5", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.52.5.tgz", - "integrity": "sha512-gn8kHOrku8D4NGHMK1Y7NA7INQTRdVOntt1OCYypZPRt6skGbddska44K8iocdpxHTMMNui5oH4elPH4QOLrFQ==", + "version": "4.53.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.53.2.tgz", + "integrity": "sha512-w6yjZF0P+NGzWR3AXWX9zc0DNEGdtvykB03uhonSHMRa+oWA6novflo2WaJr6JZakG2ucsyb+rvhrKac6NIy+w==", "cpu": [ "s390x" ], @@ -3909,9 +3909,9 @@ ] }, "node_modules/@rollup/rollup-linux-x64-gnu": { - "version": "4.52.5", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.52.5.tgz", - "integrity": "sha512-hXGLYpdhiNElzN770+H2nlx+jRog8TyynpTVzdlc6bndktjKWyZyiCsuDAlpd+j+W+WNqfcyAWz9HxxIGfZm1Q==", + "version": "4.53.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.53.2.tgz", + "integrity": "sha512-yo8d6tdfdeBArzC7T/PnHd7OypfI9cbuZzPnzLJIyKYFhAQ8SvlkKtKBMbXDxe1h03Rcr7u++nFS7tqXz87Gtw==", "cpu": [ "x64" ], @@ -3923,9 +3923,9 @@ ] }, "node_modules/@rollup/rollup-linux-x64-musl": { - "version": "4.52.5", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.52.5.tgz", - "integrity": "sha512-arCGIcuNKjBoKAXD+y7XomR9gY6Mw7HnFBv5Rw7wQRvwYLR7gBAgV7Mb2QTyjXfTveBNFAtPt46/36vV9STLNg==", + "version": "4.53.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.53.2.tgz", + "integrity": "sha512-ah59c1YkCxKExPP8O9PwOvs+XRLKwh/mV+3YdKqQ5AMQ0r4M4ZDuOrpWkUaqO7fzAHdINzV9tEVu8vNw48z0lA==", "cpu": [ "x64" ], @@ -3937,9 +3937,9 @@ ] }, "node_modules/@rollup/rollup-openharmony-arm64": { - "version": "4.52.5", - "resolved": "https://registry.npmjs.org/@rollup/rollup-openharmony-arm64/-/rollup-openharmony-arm64-4.52.5.tgz", - "integrity": "sha512-QoFqB6+/9Rly/RiPjaomPLmR/13cgkIGfA40LHly9zcH1S0bN2HVFYk3a1eAyHQyjs3ZJYlXvIGtcCs5tko9Cw==", + "version": "4.53.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-openharmony-arm64/-/rollup-openharmony-arm64-4.53.2.tgz", + "integrity": "sha512-4VEd19Wmhr+Zy7hbUsFZ6YXEiP48hE//KPLCSVNY5RMGX2/7HZ+QkN55a3atM1C/BZCGIgqN+xrVgtdak2S9+A==", "cpu": [ "arm64" ], @@ -3951,9 +3951,9 @@ ] }, "node_modules/@rollup/rollup-win32-arm64-msvc": { - "version": "4.52.5", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.52.5.tgz", - "integrity": "sha512-w0cDWVR6MlTstla1cIfOGyl8+qb93FlAVutcor14Gf5Md5ap5ySfQ7R9S/NjNaMLSFdUnKGEasmVnu3lCMqB7w==", + "version": "4.53.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.53.2.tgz", + "integrity": "sha512-IlbHFYc/pQCgew/d5fslcy1KEaYVCJ44G8pajugd8VoOEI8ODhtb/j8XMhLpwHCMB3yk2J07ctup10gpw2nyMA==", "cpu": [ "arm64" ], @@ -3965,9 +3965,9 @@ ] }, "node_modules/@rollup/rollup-win32-ia32-msvc": { - "version": "4.52.5", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.52.5.tgz", - "integrity": "sha512-Aufdpzp7DpOTULJCuvzqcItSGDH73pF3ko/f+ckJhxQyHtp67rHw3HMNxoIdDMUITJESNE6a8uh4Lo4SLouOUg==", + "version": "4.53.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.53.2.tgz", + "integrity": "sha512-lNlPEGgdUfSzdCWU176ku/dQRnA7W+Gp8d+cWv73jYrb8uT7HTVVxq62DUYxjbaByuf1Yk0RIIAbDzp+CnOTFg==", "cpu": [ "ia32" ], @@ -3979,9 +3979,9 @@ ] }, "node_modules/@rollup/rollup-win32-x64-gnu": { - "version": "4.52.5", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-gnu/-/rollup-win32-x64-gnu-4.52.5.tgz", - "integrity": "sha512-UGBUGPFp1vkj6p8wCRraqNhqwX/4kNQPS57BCFc8wYh0g94iVIW33wJtQAx3G7vrjjNtRaxiMUylM0ktp/TRSQ==", + "version": "4.53.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-gnu/-/rollup-win32-x64-gnu-4.53.2.tgz", + "integrity": "sha512-S6YojNVrHybQis2lYov1sd+uj7K0Q05NxHcGktuMMdIQ2VixGwAfbJ23NnlvvVV1bdpR2m5MsNBViHJKcA4ADw==", "cpu": [ "x64" ], @@ -3993,9 +3993,9 @@ ] }, "node_modules/@rollup/rollup-win32-x64-msvc": { - "version": "4.52.5", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.52.5.tgz", - "integrity": "sha512-TAcgQh2sSkykPRWLrdyy2AiceMckNf5loITqXxFI5VuQjS5tSuw3WlwdN8qv8vzjLAUTvYaH/mVjSFpbkFbpTg==", + "version": "4.53.2", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.53.2.tgz", + "integrity": "sha512-k+/Rkcyx//P6fetPoLMb8pBeqJBNGx81uuf7iljX9++yNBVRDQgD04L+SVXmXmh5ZP4/WOp4mWF0kmi06PW2tA==", "cpu": [ "x64" ], @@ -4960,17 +4960,17 @@ "license": "MIT" }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "8.46.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.46.2.tgz", - "integrity": "sha512-ZGBMToy857/NIPaaCucIUQgqueOiq7HeAKkhlvqVV4lm089zUFW6ikRySx2v+cAhKeUCPuWVHeimyk6Dw1iY3w==", + "version": "8.46.4", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.46.4.tgz", + "integrity": "sha512-R48VhmTJqplNyDxCyqqVkFSZIx1qX6PzwqgcXn1olLrzxcSBDlOsbtcnQuQhNtnNiJ4Xe5gREI1foajYaYU2Vg==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/regexpp": "^4.10.0", - "@typescript-eslint/scope-manager": "8.46.2", - "@typescript-eslint/type-utils": "8.46.2", - "@typescript-eslint/utils": "8.46.2", - "@typescript-eslint/visitor-keys": "8.46.2", + "@typescript-eslint/scope-manager": "8.46.4", + "@typescript-eslint/type-utils": "8.46.4", + "@typescript-eslint/utils": "8.46.4", + "@typescript-eslint/visitor-keys": "8.46.4", "graphemer": "^1.4.0", "ignore": "^7.0.0", "natural-compare": "^1.4.0", @@ -4984,7 +4984,7 @@ "url": "https://opencollective.com/typescript-eslint" }, "peerDependencies": { - "@typescript-eslint/parser": "^8.46.2", + "@typescript-eslint/parser": "^8.46.4", "eslint": "^8.57.0 || ^9.0.0", "typescript": ">=4.8.4 <6.0.0" } @@ -5000,17 +5000,17 @@ } }, "node_modules/@typescript-eslint/parser": { - "version": "8.46.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.46.2.tgz", - "integrity": "sha512-BnOroVl1SgrPLywqxyqdJ4l3S2MsKVLDVxZvjI1Eoe8ev2r3kGDo+PcMihNmDE+6/KjkTubSJnmqGZZjQSBq/g==", + "version": "8.46.4", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.46.4.tgz", + "integrity": "sha512-tK3GPFWbirvNgsNKto+UmB/cRtn6TZfyw0D6IKrW55n6Vbs7KJoZtI//kpTKzE/DUmmnAFD8/Ca46s7Obs92/w==", "dev": true, "license": "MIT", "peer": true, "dependencies": { - "@typescript-eslint/scope-manager": "8.46.2", - "@typescript-eslint/types": "8.46.2", - "@typescript-eslint/typescript-estree": "8.46.2", - "@typescript-eslint/visitor-keys": "8.46.2", + "@typescript-eslint/scope-manager": "8.46.4", + "@typescript-eslint/types": "8.46.4", + "@typescript-eslint/typescript-estree": "8.46.4", + "@typescript-eslint/visitor-keys": "8.46.4", "debug": "^4.3.4" }, "engines": { @@ -5026,14 +5026,14 @@ } }, "node_modules/@typescript-eslint/project-service": { - "version": "8.46.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.46.2.tgz", - "integrity": "sha512-PULOLZ9iqwI7hXcmL4fVfIsBi6AN9YxRc0frbvmg8f+4hQAjQ5GYNKK0DIArNo+rOKmR/iBYwkpBmnIwin4wBg==", + "version": "8.46.4", + "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.46.4.tgz", + "integrity": "sha512-nPiRSKuvtTN+no/2N1kt2tUh/HoFzeEgOm9fQ6XQk4/ApGqjx0zFIIaLJ6wooR1HIoozvj2j6vTi/1fgAz7UYQ==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/tsconfig-utils": "^8.46.2", - "@typescript-eslint/types": "^8.46.2", + "@typescript-eslint/tsconfig-utils": "^8.46.4", + "@typescript-eslint/types": "^8.46.4", "debug": "^4.3.4" }, "engines": { @@ -5048,14 +5048,14 @@ } }, "node_modules/@typescript-eslint/scope-manager": { - "version": "8.46.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.46.2.tgz", - "integrity": "sha512-LF4b/NmGvdWEHD2H4MsHD8ny6JpiVNDzrSZr3CsckEgCbAGZbYM4Cqxvi9L+WqDMT+51Ozy7lt2M+d0JLEuBqA==", + "version": "8.46.4", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.46.4.tgz", + "integrity": "sha512-tMDbLGXb1wC+McN1M6QeDx7P7c0UWO5z9CXqp7J8E+xGcJuUuevWKxuG8j41FoweS3+L41SkyKKkia16jpX7CA==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.46.2", - "@typescript-eslint/visitor-keys": "8.46.2" + "@typescript-eslint/types": "8.46.4", + "@typescript-eslint/visitor-keys": "8.46.4" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -5066,9 +5066,9 @@ } }, "node_modules/@typescript-eslint/tsconfig-utils": { - "version": "8.46.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.46.2.tgz", - "integrity": "sha512-a7QH6fw4S57+F5y2FIxxSDyi5M4UfGF+Jl1bCGd7+L4KsaUY80GsiF/t0UoRFDHAguKlBaACWJRmdrc6Xfkkag==", + "version": "8.46.4", + "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.46.4.tgz", + "integrity": "sha512-+/XqaZPIAk6Cjg7NWgSGe27X4zMGqrFqZ8atJsX3CWxH/jACqWnrWI68h7nHQld0y+k9eTTjb9r+KU4twLoo9A==", "dev": true, "license": "MIT", "engines": { @@ -5083,15 +5083,15 @@ } }, "node_modules/@typescript-eslint/type-utils": { - "version": "8.46.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.46.2.tgz", - "integrity": "sha512-HbPM4LbaAAt/DjxXaG9yiS9brOOz6fabal4uvUmaUYe6l3K1phQDMQKBRUrr06BQkxkvIZVVHttqiybM9nJsLA==", + "version": "8.46.4", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.46.4.tgz", + "integrity": "sha512-V4QC8h3fdT5Wro6vANk6eojqfbv5bpwHuMsBcJUJkqs2z5XnYhJzyz9Y02eUmF9u3PgXEUiOt4w4KHR3P+z0PQ==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.46.2", - "@typescript-eslint/typescript-estree": "8.46.2", - "@typescript-eslint/utils": "8.46.2", + "@typescript-eslint/types": "8.46.4", + "@typescript-eslint/typescript-estree": "8.46.4", + "@typescript-eslint/utils": "8.46.4", "debug": "^4.3.4", "ts-api-utils": "^2.1.0" }, @@ -5108,9 +5108,9 @@ } }, "node_modules/@typescript-eslint/types": { - "version": "8.46.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.46.2.tgz", - "integrity": "sha512-lNCWCbq7rpg7qDsQrd3D6NyWYu+gkTENkG5IKYhUIcxSb59SQC/hEQ+MrG4sTgBVghTonNWq42bA/d4yYumldQ==", + "version": "8.46.4", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.46.4.tgz", + "integrity": "sha512-USjyxm3gQEePdUwJBFjjGNG18xY9A2grDVGuk7/9AkjIF1L+ZrVnwR5VAU5JXtUnBL/Nwt3H31KlRDaksnM7/w==", "dev": true, "license": "MIT", "engines": { @@ -5122,16 +5122,16 @@ } }, "node_modules/@typescript-eslint/typescript-estree": { - "version": "8.46.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.46.2.tgz", - "integrity": "sha512-f7rW7LJ2b7Uh2EiQ+7sza6RDZnajbNbemn54Ob6fRwQbgcIn+GWfyuHDHRYgRoZu1P4AayVScrRW+YfbTvPQoQ==", + "version": "8.46.4", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.46.4.tgz", + "integrity": "sha512-7oV2qEOr1d4NWNmpXLR35LvCfOkTNymY9oyW+lUHkmCno7aOmIf/hMaydnJBUTBMRCOGZh8YjkFOc8dadEoNGA==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/project-service": "8.46.2", - "@typescript-eslint/tsconfig-utils": "8.46.2", - "@typescript-eslint/types": "8.46.2", - "@typescript-eslint/visitor-keys": "8.46.2", + "@typescript-eslint/project-service": "8.46.4", + "@typescript-eslint/tsconfig-utils": "8.46.4", + "@typescript-eslint/types": "8.46.4", + "@typescript-eslint/visitor-keys": "8.46.4", "debug": "^4.3.4", "fast-glob": "^3.3.2", "is-glob": "^4.0.3", @@ -5177,16 +5177,16 @@ } }, "node_modules/@typescript-eslint/utils": { - "version": "8.46.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.46.2.tgz", - "integrity": "sha512-sExxzucx0Tud5tE0XqR0lT0psBQvEpnpiul9XbGUB1QwpWJJAps1O/Z7hJxLGiZLBKMCutjTzDgmd1muEhBnVg==", + "version": "8.46.4", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.46.4.tgz", + "integrity": "sha512-AbSv11fklGXV6T28dp2Me04Uw90R2iJ30g2bgLz529Koehrmkbs1r7paFqr1vPCZi7hHwYxYtxfyQMRC8QaVSg==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/eslint-utils": "^4.7.0", - "@typescript-eslint/scope-manager": "8.46.2", - "@typescript-eslint/types": "8.46.2", - "@typescript-eslint/typescript-estree": "8.46.2" + "@typescript-eslint/scope-manager": "8.46.4", + "@typescript-eslint/types": "8.46.4", + "@typescript-eslint/typescript-estree": "8.46.4" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -5201,13 +5201,13 @@ } }, "node_modules/@typescript-eslint/visitor-keys": { - "version": "8.46.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.46.2.tgz", - "integrity": "sha512-tUFMXI4gxzzMXt4xpGJEsBsTox0XbNQ1y94EwlD/CuZwFcQP79xfQqMhau9HsRc/J0cAPA/HZt1dZPtGn9V/7w==", + "version": "8.46.4", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.46.4.tgz", + "integrity": "sha512-/++5CYLQqsO9HFGLI7APrxBJYo+5OCMpViuhV8q5/Qa3o5mMrF//eQHks+PXcsAVaLdn817fMuS7zqoXNNZGaw==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.46.2", + "@typescript-eslint/types": "8.46.4", "eslint-visitor-keys": "^4.2.1" }, "engines": { @@ -5531,9 +5531,9 @@ } }, "node_modules/@typespec/ts-http-runtime": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/@typespec/ts-http-runtime/-/ts-http-runtime-0.3.1.tgz", - "integrity": "sha512-SnbaqayTVFEA6/tYumdF0UmybY0KHyKwGPBXnyckFlrrKdhWFrL3a2HIPXHjht5ZOElKGcXfD2D63P36btb+ww==", + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/@typespec/ts-http-runtime/-/ts-http-runtime-0.3.2.tgz", + "integrity": "sha512-IlqQ/Gv22xUC1r/WQm4StLkYQmaaTsXAhUVsNE0+xiyf0yRFiH5++q78U3bw6bLKDCTmh0uqKB9eG9+Bt75Dkg==", "dev": true, "license": "MIT", "dependencies": { @@ -6959,9 +6959,9 @@ } }, "node_modules/esbuild": { - "version": "0.25.11", - "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.25.11.tgz", - "integrity": "sha512-KohQwyzrKTQmhXDW1PjCv3Tyspn9n5GcY2RTDqeORIdIJY8yKIF7sTSopFmn/wpMPW4rdPXI0UE5LJLuq3bx0Q==", + "version": "0.25.12", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.25.12.tgz", + "integrity": "sha512-bbPBYYrtZbkt6Os6FiTLCTFxvq4tt3JKall1vRwshA3fdVztsLAatFaZobhkBC8/BrPetoa0oksYoKXoG4ryJg==", "dev": true, "hasInstallScript": true, "license": "MIT", @@ -6972,32 +6972,32 @@ "node": ">=18" }, "optionalDependencies": { - "@esbuild/aix-ppc64": "0.25.11", - "@esbuild/android-arm": "0.25.11", - "@esbuild/android-arm64": "0.25.11", - "@esbuild/android-x64": "0.25.11", - "@esbuild/darwin-arm64": "0.25.11", - "@esbuild/darwin-x64": "0.25.11", - "@esbuild/freebsd-arm64": "0.25.11", - "@esbuild/freebsd-x64": "0.25.11", - "@esbuild/linux-arm": "0.25.11", - "@esbuild/linux-arm64": "0.25.11", - "@esbuild/linux-ia32": "0.25.11", - "@esbuild/linux-loong64": "0.25.11", - "@esbuild/linux-mips64el": "0.25.11", - "@esbuild/linux-ppc64": "0.25.11", - "@esbuild/linux-riscv64": "0.25.11", - "@esbuild/linux-s390x": "0.25.11", - "@esbuild/linux-x64": "0.25.11", - "@esbuild/netbsd-arm64": "0.25.11", - "@esbuild/netbsd-x64": "0.25.11", - "@esbuild/openbsd-arm64": "0.25.11", - "@esbuild/openbsd-x64": "0.25.11", - "@esbuild/openharmony-arm64": "0.25.11", - "@esbuild/sunos-x64": "0.25.11", - "@esbuild/win32-arm64": "0.25.11", - "@esbuild/win32-ia32": "0.25.11", - "@esbuild/win32-x64": "0.25.11" + "@esbuild/aix-ppc64": "0.25.12", + "@esbuild/android-arm": "0.25.12", + "@esbuild/android-arm64": "0.25.12", + "@esbuild/android-x64": "0.25.12", + "@esbuild/darwin-arm64": "0.25.12", + "@esbuild/darwin-x64": "0.25.12", + "@esbuild/freebsd-arm64": "0.25.12", + "@esbuild/freebsd-x64": "0.25.12", + "@esbuild/linux-arm": "0.25.12", + "@esbuild/linux-arm64": "0.25.12", + "@esbuild/linux-ia32": "0.25.12", + "@esbuild/linux-loong64": "0.25.12", + "@esbuild/linux-mips64el": "0.25.12", + "@esbuild/linux-ppc64": "0.25.12", + "@esbuild/linux-riscv64": "0.25.12", + "@esbuild/linux-s390x": "0.25.12", + "@esbuild/linux-x64": "0.25.12", + "@esbuild/netbsd-arm64": "0.25.12", + "@esbuild/netbsd-x64": "0.25.12", + "@esbuild/openbsd-arm64": "0.25.12", + "@esbuild/openbsd-x64": "0.25.12", + "@esbuild/openharmony-arm64": "0.25.12", + "@esbuild/sunos-x64": "0.25.12", + "@esbuild/win32-arm64": "0.25.12", + "@esbuild/win32-ia32": "0.25.12", + "@esbuild/win32-x64": "0.25.12" } }, "node_modules/escalade": { @@ -7024,9 +7024,9 @@ } }, "node_modules/eslint": { - "version": "9.39.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-9.39.0.tgz", - "integrity": "sha512-iy2GE3MHrYTL5lrCtMZ0X1KLEKKUjmK0kzwcnefhR66txcEmXZD2YWgR5GNdcEwkNx3a0siYkSvl0vIC+Svjmg==", + "version": "9.39.1", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-9.39.1.tgz", + "integrity": "sha512-BhHmn2yNOFA9H9JmmIVKJmd288g9hrVRDkdoIgRCRuSySRUHH7r/DI6aAXW9T1WwUuY3DFgrcaqB+deURBLR5g==", "dev": true, "license": "MIT", "peer": true, @@ -7037,7 +7037,7 @@ "@eslint/config-helpers": "^0.4.2", "@eslint/core": "^0.17.0", "@eslint/eslintrc": "^3.3.1", - "@eslint/js": "9.39.0", + "@eslint/js": "9.39.1", "@eslint/plugin-kit": "^0.4.1", "@humanfs/node": "^0.16.6", "@humanwhocodes/module-importer": "^1.0.1", @@ -7997,9 +7997,9 @@ } }, "node_modules/globals": { - "version": "16.4.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-16.4.0.tgz", - "integrity": "sha512-ob/2LcVVaVGCYN+r14cnwnoDPUufjiYgSqRhiFD0Q1iI4Odora5RE8Iv1D24hAz5oMophRGkGz+yuvQmmUMnMw==", + "version": "16.5.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-16.5.0.tgz", + "integrity": "sha512-c/c15i26VrJ4IRt5Z89DnIzCGDn9EcebibhAOjw5ibqEHsE1wLUgkPn9RDmNcUKyU87GeaL633nyJ+pplFR2ZQ==", "dev": true, "license": "MIT", "engines": { @@ -9447,13 +9447,13 @@ } }, "node_modules/mute-stream": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-2.0.0.tgz", - "integrity": "sha512-WWdIxpyjEn+FhQJQQv9aQAYlHoNVdzIzUySNV1gHUPDSdZJ3yZn7pAAbQcV7B56Mvu881q9FZV+0Vx2xC44VWA==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-3.0.0.tgz", + "integrity": "sha512-dkEJPVvun4FryqBmZ5KhDo0K9iDXAwn08tMLDinNdRBNPcYEDiWYysLcc6k3mjTMlbP9KyylvRpd4wFtwrT9rw==", "dev": true, "license": "ISC", "engines": { - "node": "^18.17.0 || >=20.5.0" + "node": "^20.17.0 || >=22.9.0" } }, "node_modules/nanoid": { @@ -9989,9 +9989,9 @@ } }, "node_modules/path-scurry": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-2.0.0.tgz", - "integrity": "sha512-ypGJsmGtdXUOeM5u93TyeIEfEhM6s+ljAhrk5vAvSx8uyY/02OvrZnA0YNGUrPXfpJMgI1ODd3nwz8Npx4O4cg==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-2.0.1.tgz", + "integrity": "sha512-oWyT4gICAu+kaA7QWk/jvCHWarMKNs6pXOGWKDTr7cw4IGcUbW+PeTfbaQiLGheFRpjo6O9J0PmyMfQPjH71oA==", "dev": true, "license": "BlueOak-1.0.0", "dependencies": { @@ -10409,9 +10409,9 @@ } }, "node_modules/rollup": { - "version": "4.52.5", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.52.5.tgz", - "integrity": "sha512-3GuObel8h7Kqdjt0gxkEzaifHTqLVW56Y/bjN7PSQtkKr0w3V/QYSdt6QWYtd7A1xUtYQigtdUfgj1RvWVtorw==", + "version": "4.53.2", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.53.2.tgz", + "integrity": "sha512-MHngMYwGJVi6Fmnk6ISmnk7JAHRNF0UkuucA0CUW3N3a4KnONPEZz+vUanQP/ZC/iY1Qkf3bwPWzyY84wEks1g==", "dev": true, "license": "MIT", "dependencies": { @@ -10425,28 +10425,28 @@ "npm": ">=8.0.0" }, "optionalDependencies": { - "@rollup/rollup-android-arm-eabi": "4.52.5", - "@rollup/rollup-android-arm64": "4.52.5", - "@rollup/rollup-darwin-arm64": "4.52.5", - "@rollup/rollup-darwin-x64": "4.52.5", - "@rollup/rollup-freebsd-arm64": "4.52.5", - "@rollup/rollup-freebsd-x64": "4.52.5", - "@rollup/rollup-linux-arm-gnueabihf": "4.52.5", - "@rollup/rollup-linux-arm-musleabihf": "4.52.5", - "@rollup/rollup-linux-arm64-gnu": "4.52.5", - "@rollup/rollup-linux-arm64-musl": "4.52.5", - "@rollup/rollup-linux-loong64-gnu": "4.52.5", - "@rollup/rollup-linux-ppc64-gnu": "4.52.5", - "@rollup/rollup-linux-riscv64-gnu": "4.52.5", - "@rollup/rollup-linux-riscv64-musl": "4.52.5", - "@rollup/rollup-linux-s390x-gnu": "4.52.5", - "@rollup/rollup-linux-x64-gnu": "4.52.5", - "@rollup/rollup-linux-x64-musl": "4.52.5", - "@rollup/rollup-openharmony-arm64": "4.52.5", - "@rollup/rollup-win32-arm64-msvc": "4.52.5", - "@rollup/rollup-win32-ia32-msvc": "4.52.5", - "@rollup/rollup-win32-x64-gnu": "4.52.5", - "@rollup/rollup-win32-x64-msvc": "4.52.5", + "@rollup/rollup-android-arm-eabi": "4.53.2", + "@rollup/rollup-android-arm64": "4.53.2", + "@rollup/rollup-darwin-arm64": "4.53.2", + "@rollup/rollup-darwin-x64": "4.53.2", + "@rollup/rollup-freebsd-arm64": "4.53.2", + "@rollup/rollup-freebsd-x64": "4.53.2", + "@rollup/rollup-linux-arm-gnueabihf": "4.53.2", + "@rollup/rollup-linux-arm-musleabihf": "4.53.2", + "@rollup/rollup-linux-arm64-gnu": "4.53.2", + "@rollup/rollup-linux-arm64-musl": "4.53.2", + "@rollup/rollup-linux-loong64-gnu": "4.53.2", + "@rollup/rollup-linux-ppc64-gnu": "4.53.2", + "@rollup/rollup-linux-riscv64-gnu": "4.53.2", + "@rollup/rollup-linux-riscv64-musl": "4.53.2", + "@rollup/rollup-linux-s390x-gnu": "4.53.2", + "@rollup/rollup-linux-x64-gnu": "4.53.2", + "@rollup/rollup-linux-x64-musl": "4.53.2", + "@rollup/rollup-openharmony-arm64": "4.53.2", + "@rollup/rollup-win32-arm64-msvc": "4.53.2", + "@rollup/rollup-win32-ia32-msvc": "4.53.2", + "@rollup/rollup-win32-x64-gnu": "4.53.2", + "@rollup/rollup-win32-x64-msvc": "4.53.2", "fsevents": "~2.3.2" } }, @@ -10579,11 +10579,11 @@ "license": "MIT" }, "node_modules/sax": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/sax/-/sax-1.4.1.tgz", - "integrity": "sha512-+aWOz7yVScEGoKNd4PA10LZ8sk0A/z5+nXQG5giUO5rprX9jgYsTdov9qCchZiPIZezbZH+jRut8nPodFAX4Jg==", + "version": "1.4.3", + "resolved": "https://registry.npmjs.org/sax/-/sax-1.4.3.tgz", + "integrity": "sha512-yqYn1JhPczigF94DMS+shiDMjDowYO6y9+wB/4WgO0Y19jWYk0lQ4tuG5KI7kj4FTp1wxPj5IFfcrz/s1c3jjQ==", "dev": true, - "license": "ISC" + "license": "BlueOak-1.0.0" }, "node_modules/semver": { "version": "7.7.3", @@ -10787,9 +10787,9 @@ } }, "node_modules/simple-git": { - "version": "3.29.0", - "resolved": "https://registry.npmjs.org/simple-git/-/simple-git-3.29.0.tgz", - "integrity": "sha512-PEBgFYc8plTys6/XuxinxAJ+6CbXVh+xxsBTOEXw/uYBd3sYlGGoyB12nX5rRPGsFrdnnZWb81qluSl7a83HtA==", + "version": "3.30.0", + "resolved": "https://registry.npmjs.org/simple-git/-/simple-git-3.30.0.tgz", + "integrity": "sha512-q6lxyDsCmEal/MEGhP1aVyQ3oxnagGlBDOVSIB4XUVLl1iZh0Pah6ebC9V4xBap/RfgP2WlI8EKs0WS0rMEJHg==", "dev": true, "license": "MIT", "dependencies": { @@ -11637,16 +11637,16 @@ } }, "node_modules/typescript-eslint": { - "version": "8.46.2", - "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.46.2.tgz", - "integrity": "sha512-vbw8bOmiuYNdzzV3lsiWv6sRwjyuKJMQqWulBOU7M0RrxedXledX8G8kBbQeiOYDnTfiXz0Y4081E1QMNB6iQg==", + "version": "8.46.4", + "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.46.4.tgz", + "integrity": "sha512-KALyxkpYV5Ix7UhvjTwJXZv76VWsHG+NjNlt/z+a17SOQSiOcBdUXdbJdyXi7RPxrBFECtFOiPwUJQusJuCqrg==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/eslint-plugin": "8.46.2", - "@typescript-eslint/parser": "8.46.2", - "@typescript-eslint/typescript-estree": "8.46.2", - "@typescript-eslint/utils": "8.46.2" + "@typescript-eslint/eslint-plugin": "8.46.4", + "@typescript-eslint/parser": "8.46.4", + "@typescript-eslint/typescript-estree": "8.46.4", + "@typescript-eslint/utils": "8.46.4" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -11785,11 +11785,12 @@ } }, "node_modules/vite": { - "version": "7.1.12", - "resolved": "https://registry.npmjs.org/vite/-/vite-7.1.12.tgz", - "integrity": "sha512-ZWyE8YXEXqJrrSLvYgrRP7p62OziLW7xI5HYGWFzOvupfAlrLvURSzv/FyGyy0eidogEM3ujU+kUG1zuHgb6Ug==", + "version": "7.2.2", + "resolved": "https://registry.npmjs.org/vite/-/vite-7.2.2.tgz", + "integrity": "sha512-BxAKBWmIbrDgrokdGZH1IgkIk/5mMHDreLDmCJ0qpyJaAteP8NvMhkwr/ZCQNqNH97bw/dANTE9PDzqwJghfMQ==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "esbuild": "^0.25.0", "fdir": "^6.5.0", diff --git a/package.json b/package.json index f0a499951911..528ac6bb6f8c 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "@azure-tools/typespec-azure-portal-core": "0.61.0", "@azure-tools/typespec-azure-resource-manager": "0.61.1", "@azure-tools/typespec-azure-rulesets": "0.61.0", - "@azure-tools/typespec-client-generator-cli": "0.29.0", + "@azure-tools/typespec-client-generator-cli": "0.30.0", "@azure-tools/typespec-client-generator-core": "0.61.3", "@azure-tools/typespec-liftr-base": "0.10.0", "@autorest/openapi-to-typespec": "0.11.12", diff --git a/specification/ai/HealthInsights/HealthInsights.RadiologyInsights/tspconfig.yaml b/specification/ai/HealthInsights/HealthInsights.RadiologyInsights/tspconfig.yaml index 04614cd78fc1..928467c81d49 100644 --- a/specification/ai/HealthInsights/HealthInsights.RadiologyInsights/tspconfig.yaml +++ b/specification/ai/HealthInsights/HealthInsights.RadiologyInsights/tspconfig.yaml @@ -49,7 +49,7 @@ options: namespace: Azure.Health.Insights.RadiologyInsights model-namespace: false "@azure-tools/typespec-ts": - emitter-output-dir: "{output-dir}/{service-dir}/health-insights-cancerprofiling-rest" + emitter-output-dir: "{output-dir}/{service-dir}/health-insights-radiologyinsights-rest" generate-metadata: true is-modular-library: false package-details: diff --git a/specification/ai/data-plane/OpenAI.v1/azure-v1-v1-generated.json b/specification/ai/data-plane/OpenAI.v1/azure-v1-v1-generated.json index 03668ab5939a..f99858cd9f1a 100644 --- a/specification/ai/data-plane/OpenAI.v1/azure-v1-v1-generated.json +++ b/specification/ai/data-plane/OpenAI.v1/azure-v1-v1-generated.json @@ -5220,6 +5220,420 @@ "Vector Stores" ] } + }, + "/videos": { + "post": { + "operationId": "Videos_Create", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": false, + "description": "The explicit Azure AI Foundry Models API version to use for this request.\n`v1` if not otherwise specified.", + "schema": { + "$ref": "#/components/schemas/AzureAIFoundryModelsApiVersion", + "default": "v1" + } + } + ], + "description": "Creates a new video generation job.", + "responses": { + "200": { + "description": "The request has succeeded.", + "headers": { + "apim-request-id": { + "required": false, + "description": "A request ID used for troubleshooting purposes.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VideoResource" + } + } + } + }, + "default": { + "description": "An unexpected error response.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AzureErrorResponse" + } + } + } + } + }, + "tags": [ + "Videos" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CreateVideoBody" + } + }, + "multipart/form-data": { + "schema": { + "$ref": "#/components/schemas/CreateVideoBodyWithInputReference" + }, + "encoding": { + "seconds": { + "contentType": "text/plain" + }, + "size": { + "contentType": "text/plain" + }, + "input_reference": { + "contentType": "*/*" + } + } + } + } + } + }, + "get": { + "operationId": "Videos_List", + "description": "Lists video generation jobs.", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": false, + "description": "The explicit Azure AI Foundry Models API version to use for this request.\n`v1` if not otherwise specified.", + "schema": { + "$ref": "#/components/schemas/AzureAIFoundryModelsApiVersion", + "default": "v1" + } + }, + { + "name": "after", + "in": "query", + "required": false, + "schema": { + "type": "string" + }, + "explode": false + }, + { + "name": "limit", + "in": "query", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "default": 20 + }, + "explode": false + }, + { + "name": "order", + "in": "query", + "required": false, + "schema": { + "$ref": "#/components/schemas/Order", + "default": "desc" + }, + "explode": false + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "headers": { + "apim-request-id": { + "required": false, + "description": "A request ID used for troubleshooting purposes.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VideoList" + } + } + } + }, + "default": { + "description": "An unexpected error response.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AzureErrorResponse" + } + } + } + } + }, + "tags": [ + "Videos" + ] + } + }, + "/videos/{video-id}": { + "get": { + "operationId": "Videos_Get", + "description": "Retrieves properties of a video generation job.", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": false, + "description": "The explicit Azure AI Foundry Models API version to use for this request.\n`v1` if not otherwise specified.", + "schema": { + "$ref": "#/components/schemas/AzureAIFoundryModelsApiVersion", + "default": "v1" + } + }, + { + "$ref": "#/components/parameters/VideoIdParameter" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "headers": { + "apim-request-id": { + "required": false, + "description": "A request ID used for troubleshooting purposes.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VideoResource" + } + } + } + }, + "default": { + "description": "An unexpected error response.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AzureErrorResponse" + } + } + } + } + }, + "tags": [ + "Videos" + ] + }, + "delete": { + "operationId": "Videos_Delete", + "description": "Deletes a video generation job.", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": false, + "description": "The explicit Azure AI Foundry Models API version to use for this request.\n`v1` if not otherwise specified.", + "schema": { + "$ref": "#/components/schemas/AzureAIFoundryModelsApiVersion", + "default": "v1" + } + }, + { + "$ref": "#/components/parameters/VideoIdParameter" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "headers": { + "apim-request-id": { + "required": false, + "description": "A request ID used for troubleshooting purposes.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/DeletedVideoResource" + } + } + } + }, + "default": { + "description": "An unexpected error response.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AzureErrorResponse" + } + } + } + } + }, + "tags": [ + "Videos" + ] + } + }, + "/videos/{video-id}/content": { + "get": { + "operationId": "Videos_RetrieveContent", + "description": "Retrieves a thumbnail of the generated video content.", + "parameters": [ + { + "name": "api-version", + "in": "query", + "required": false, + "description": "The explicit Azure AI Foundry Models API version to use for this request.\n`v1` if not otherwise specified.", + "schema": { + "$ref": "#/components/schemas/AzureAIFoundryModelsApiVersion", + "default": "v1" + } + }, + { + "$ref": "#/components/parameters/VideoIdParameter" + }, + { + "name": "variant", + "in": "query", + "required": false, + "schema": { + "$ref": "#/components/schemas/VideoContentVariant", + "default": "video" + }, + "explode": false + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "headers": { + "apim-request-id": { + "required": false, + "description": "A request ID used for troubleshooting purposes.", + "schema": { + "type": "string" + } + }, + "content-length": { + "required": true, + "schema": { + "type": "integer" + } + } + }, + "content": { + "image/jpg": { + "schema": { + "type": "string", + "format": "binary" + } + }, + "image/webp": { + "schema": { + "type": "string", + "format": "binary" + } + }, + "video/mp4": { + "schema": { + "type": "string", + "format": "binary" + } + } + } + }, + "default": { + "description": "An unexpected error response.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AzureErrorResponse" + } + } + } + } + }, + "tags": [ + "Videos" + ] + } + }, + "/videos/{video-id}/remix": { + "post": { + "operationId": "Videos_Remix", + "description": "Use an existing generated video and change it with a prompt.", + "parameters": [ + { + "$ref": "#/components/parameters/VideoIdParameter" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "headers": { + "apim-request-id": { + "required": false, + "description": "A request ID used for troubleshooting purposes.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VideoResource" + } + } + } + }, + "default": { + "description": "An unexpected error response.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AzureErrorResponse" + } + } + } + } + }, + "tags": [ + "Videos" + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "prompt": { + "type": "string", + "minLength": 1 + } + }, + "required": [ + "prompt" + ] + } + } + } + } + } } }, "security": [ @@ -5236,6 +5650,17 @@ } ], "components": { + "parameters": { + "VideoIdParameter": { + "name": "video-id", + "in": "path", + "required": true, + "description": "The ID of the video to use for the Azure OpenAI request.", + "schema": { + "type": "string" + } + } + }, "schemas": { "AzureAIFoundryModelsApiVersion": { "type": "string", @@ -20631,6 +21056,315 @@ ] }, "description": "Output types that you would like the model to generate.\nMost models are capable of generating text, which is the default:\n\n`[\"text\"]`\n\nThe `gpt-4o-audio-preview` model can also be used to\n[generate audio](/docs/guides/audio). To request that this model generate\nboth text and audio responses, you can use:\n\n`[\"text\", \"audio\"]`" + }, + "CreateVideoBody": { + "type": "object", + "required": [ + "model", + "prompt" + ], + "properties": { + "model": { + "type": "string", + "description": "The name of the deployment to use for this request." + }, + "prompt": { + "type": "string", + "minLength": 1, + "description": "Text prompt that describes the video to generate." + }, + "seconds": { + "allOf": [ + { + "$ref": "#/components/schemas/VideoSeconds" + } + ], + "description": "Clip duration in seconds. Defaults to 4 seconds.", + "default": "4" + }, + "size": { + "allOf": [ + { + "$ref": "#/components/schemas/VideoSize" + } + ], + "description": "Output resolution formatted as width x height. Defaults to 720x1280.", + "default": "720x1280" + } + } + }, + "CreateVideoBodyWithInputReference": { + "type": "object", + "properties": { + "model": { + "type": "string", + "description": "The name of the deployment to use for this request." + }, + "prompt": { + "type": "string", + "description": "Text prompt that describes the video to generate." + }, + "seconds": { + "allOf": [ + { + "$ref": "#/components/schemas/VideoSeconds" + } + ], + "description": "Clip duration in seconds. Defaults to 4 seconds." + }, + "size": { + "allOf": [ + { + "$ref": "#/components/schemas/VideoSize" + } + ], + "description": "Output resolution formatted as width x height. Defaults to 720x1280." + }, + "input_reference": { + "type": "string", + "format": "binary", + "description": "Optional image reference that guides generation.", + "x-oaiTypeLabel": "file" + } + }, + "required": [ + "model", + "prompt", + "input_reference" + ] + }, + "DeletedVideoResource": { + "type": "object", + "required": [ + "object", + "deleted", + "id" + ], + "properties": { + "object": { + "type": "string", + "description": "The object type that signals the deletion response.", + "default": "video.deleted" + }, + "deleted": { + "type": "boolean", + "description": "Indicates that the video resource was deleted.", + "default": true + }, + "id": { + "type": "string", + "description": "Identifier of the deleted video." + } + }, + "description": "Confirmation payload returned after deleting a video." + }, + "Error": { + "type": "object", + "required": [ + "code", + "message" + ], + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + } + } + }, + "Order": { + "type": "string", + "enum": [ + "asc", + "desc" + ] + }, + "VideoContentVariant": { + "anyOf": [ + { + "type": "string", + "enum": [ + "video", + "thumbnail", + "spritesheet" + ] + }, + { + "type": "string" + } + ], + "description": "Selectable asset variants for downloaded content." + }, + "VideoList": { + "type": "object", + "required": [ + "object", + "data", + "has_more" + ], + "properties": { + "object": { + "type": "string", + "enum": [ + "list" + ] + }, + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/VideoResource" + }, + "description": "The list of video generation jobs." + }, + "has_more": { + "type": "boolean", + "description": "A flag indicating whether there are more jobs available after the list." + }, + "first_id": { + "type": "string", + "description": "The ID of the first video in the current page, if available." + }, + "last_id": { + "type": "string", + "description": "The ID of the last video in the current page, if available." + } + }, + "description": "A list of video generation jobs." + }, + "VideoResource": { + "type": "object", + "required": [ + "id", + "object", + "model", + "status", + "progress", + "created_at", + "size", + "seconds" + ], + "properties": { + "id": { + "type": "string", + "description": "Unique identifier for the video job." + }, + "object": { + "type": "string", + "description": "The object type, which is always `video`." + }, + "model": { + "type": "string", + "description": "The video generation model deployment that produced the job." + }, + "status": { + "allOf": [ + { + "$ref": "#/components/schemas/VideoStatus" + } + ], + "description": "Current lifecycle status of the video job." + }, + "progress": { + "type": "integer", + "format": "int32", + "description": "Approximate completion percentage for the generation task." + }, + "created_at": { + "type": "integer", + "format": "unixtime", + "description": "Unix timestamp (seconds) for when the job was created." + }, + "completed_at": { + "type": "integer", + "format": "unixtime", + "description": "Unix timestamp (seconds) for when the job completed, if finished." + }, + "expires_at": { + "type": "integer", + "format": "unixtime", + "description": "Unix timestamp (seconds) for when the video generation expires (and will be deleted)." + }, + "size": { + "allOf": [ + { + "$ref": "#/components/schemas/VideoSize" + } + ], + "description": "The resolution of the generated video." + }, + "seconds": { + "allOf": [ + { + "$ref": "#/components/schemas/VideoSeconds" + } + ], + "description": "Duration of the generated clip in seconds." + }, + "remixed_from_video_id": { + "type": "string", + "description": "Identifier of the source video if this video is a remix." + }, + "error": { + "allOf": [ + { + "$ref": "#/components/schemas/Error" + } + ], + "description": "Error payload that explains why generation failed, if applicable." + } + }, + "description": "Structured information describing a generated video job." + }, + "VideoSeconds": { + "anyOf": [ + { + "type": "string", + "enum": [ + "4", + "8", + "12" + ] + }, + { + "type": "string" + } + ], + "description": "Supported clip durations, measured in seconds." + }, + "VideoSize": { + "anyOf": [ + { + "type": "string", + "enum": [ + "720x1280", + "1280x720", + "1024x1792", + "1792x1024" + ] + }, + { + "type": "string" + } + ], + "description": "Output dimensions formatted as `{width}x{height}`." + }, + "VideoStatus": { + "anyOf": [ + { + "type": "string", + "enum": [ + "queued", + "in_progress", + "completed", + "failed" + ] + }, + { + "type": "string" + } + ], + "description": "Lifecycle state of a generated video." } }, "securitySchemes": { diff --git a/specification/ai/data-plane/OpenAI.v1/azure-v1-v1-generated.yaml b/specification/ai/data-plane/OpenAI.v1/azure-v1-v1-generated.yaml index efa3d5f3b77e..75635e2dab1e 100644 --- a/specification/ai/data-plane/OpenAI.v1/azure-v1-v1-generated.yaml +++ b/specification/ai/data-plane/OpenAI.v1/azure-v1-v1-generated.yaml @@ -3647,6 +3647,278 @@ paths: $ref: '#/components/schemas/AzureErrorResponse' tags: - Vector Stores + /videos: + post: + operationId: Videos_Create + parameters: + - name: api-version + in: query + required: false + description: |- + The explicit Azure AI Foundry Models API version to use for this request. + `v1` if not otherwise specified. + schema: + $ref: '#/components/schemas/AzureAIFoundryModelsApiVersion' + default: v1 + description: Creates a new video generation job. + responses: + '200': + description: The request has succeeded. + headers: + apim-request-id: + required: false + description: A request ID used for troubleshooting purposes. + schema: + type: string + content: + application/json: + schema: + $ref: '#/components/schemas/VideoResource' + default: + description: An unexpected error response. + content: + application/json: + schema: + $ref: '#/components/schemas/AzureErrorResponse' + tags: + - Videos + requestBody: + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/CreateVideoBody' + multipart/form-data: + schema: + $ref: '#/components/schemas/CreateVideoBodyWithInputReference' + encoding: + seconds: + contentType: text/plain + size: + contentType: text/plain + input_reference: + contentType: '*/*' + get: + operationId: Videos_List + description: Lists video generation jobs. + parameters: + - name: api-version + in: query + required: false + description: |- + The explicit Azure AI Foundry Models API version to use for this request. + `v1` if not otherwise specified. + schema: + $ref: '#/components/schemas/AzureAIFoundryModelsApiVersion' + default: v1 + - name: after + in: query + required: false + schema: + type: string + explode: false + - name: limit + in: query + required: false + schema: + type: integer + format: int32 + default: 20 + explode: false + - name: order + in: query + required: false + schema: + $ref: '#/components/schemas/Order' + default: desc + explode: false + responses: + '200': + description: The request has succeeded. + headers: + apim-request-id: + required: false + description: A request ID used for troubleshooting purposes. + schema: + type: string + content: + application/json: + schema: + $ref: '#/components/schemas/VideoList' + default: + description: An unexpected error response. + content: + application/json: + schema: + $ref: '#/components/schemas/AzureErrorResponse' + tags: + - Videos + /videos/{video-id}: + get: + operationId: Videos_Get + description: Retrieves properties of a video generation job. + parameters: + - name: api-version + in: query + required: false + description: |- + The explicit Azure AI Foundry Models API version to use for this request. + `v1` if not otherwise specified. + schema: + $ref: '#/components/schemas/AzureAIFoundryModelsApiVersion' + default: v1 + - $ref: '#/components/parameters/VideoIdParameter' + responses: + '200': + description: The request has succeeded. + headers: + apim-request-id: + required: false + description: A request ID used for troubleshooting purposes. + schema: + type: string + content: + application/json: + schema: + $ref: '#/components/schemas/VideoResource' + default: + description: An unexpected error response. + content: + application/json: + schema: + $ref: '#/components/schemas/AzureErrorResponse' + tags: + - Videos + delete: + operationId: Videos_Delete + description: Deletes a video generation job. + parameters: + - name: api-version + in: query + required: false + description: |- + The explicit Azure AI Foundry Models API version to use for this request. + `v1` if not otherwise specified. + schema: + $ref: '#/components/schemas/AzureAIFoundryModelsApiVersion' + default: v1 + - $ref: '#/components/parameters/VideoIdParameter' + responses: + '200': + description: The request has succeeded. + headers: + apim-request-id: + required: false + description: A request ID used for troubleshooting purposes. + schema: + type: string + content: + application/json: + schema: + $ref: '#/components/schemas/DeletedVideoResource' + default: + description: An unexpected error response. + content: + application/json: + schema: + $ref: '#/components/schemas/AzureErrorResponse' + tags: + - Videos + /videos/{video-id}/content: + get: + operationId: Videos_RetrieveContent + description: Retrieves a thumbnail of the generated video content. + parameters: + - name: api-version + in: query + required: false + description: |- + The explicit Azure AI Foundry Models API version to use for this request. + `v1` if not otherwise specified. + schema: + $ref: '#/components/schemas/AzureAIFoundryModelsApiVersion' + default: v1 + - $ref: '#/components/parameters/VideoIdParameter' + - name: variant + in: query + required: false + schema: + $ref: '#/components/schemas/VideoContentVariant' + default: video + explode: false + responses: + '200': + description: The request has succeeded. + headers: + apim-request-id: + required: false + description: A request ID used for troubleshooting purposes. + schema: + type: string + content-length: + required: true + schema: + type: integer + content: + image/jpg: + schema: + type: string + format: binary + image/webp: + schema: + type: string + format: binary + video/mp4: + schema: + type: string + format: binary + default: + description: An unexpected error response. + content: + application/json: + schema: + $ref: '#/components/schemas/AzureErrorResponse' + tags: + - Videos + /videos/{video-id}/remix: + post: + operationId: Videos_Remix + description: Use an existing generated video and change it with a prompt. + parameters: + - $ref: '#/components/parameters/VideoIdParameter' + responses: + '200': + description: The request has succeeded. + headers: + apim-request-id: + required: false + description: A request ID used for troubleshooting purposes. + schema: + type: string + content: + application/json: + schema: + $ref: '#/components/schemas/VideoResource' + default: + description: An unexpected error response. + content: + application/json: + schema: + $ref: '#/components/schemas/AzureErrorResponse' + tags: + - Videos + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + prompt: + type: string + minLength: 1 + required: + - prompt security: - ApiKeyAuth: [] - ApiKeyAuth_: [] @@ -15198,6 +15470,218 @@ components: both text and audio responses, you can use: `["text", "audio"]` + CreateVideoBody: + type: object + required: + - model + - prompt + properties: + model: + type: string + description: The name of the deployment to use for this request. + prompt: + type: string + minLength: 1 + description: Text prompt that describes the video to generate. + seconds: + allOf: + - $ref: '#/components/schemas/VideoSeconds' + description: Clip duration in seconds. Defaults to 4 seconds. + default: '4' + size: + allOf: + - $ref: '#/components/schemas/VideoSize' + description: Output resolution formatted as width x height. Defaults to 720x1280. + default: 720x1280 + CreateVideoBodyWithInputReference: + type: object + properties: + model: + type: string + description: The name of the deployment to use for this request. + prompt: + type: string + description: Text prompt that describes the video to generate. + seconds: + allOf: + - $ref: '#/components/schemas/VideoSeconds' + description: Clip duration in seconds. Defaults to 4 seconds. + size: + allOf: + - $ref: '#/components/schemas/VideoSize' + description: Output resolution formatted as width x height. Defaults to 720x1280. + input_reference: + type: string + format: binary + description: Optional image reference that guides generation. + x-oaiTypeLabel: file + required: + - model + - prompt + - input_reference + DeletedVideoResource: + type: object + required: + - object + - deleted + - id + properties: + object: + type: string + description: The object type that signals the deletion response. + default: video.deleted + deleted: + type: boolean + description: Indicates that the video resource was deleted. + default: true + id: + type: string + description: Identifier of the deleted video. + description: Confirmation payload returned after deleting a video. + Error: + type: object + required: + - code + - message + properties: + code: + type: string + message: + type: string + Order: + type: string + enum: + - asc + - desc + VideoContentVariant: + anyOf: + - type: string + enum: + - video + - thumbnail + - spritesheet + - type: string + description: Selectable asset variants for downloaded content. + VideoList: + type: object + required: + - object + - data + - has_more + properties: + object: + type: string + enum: + - list + data: + type: array + items: + $ref: '#/components/schemas/VideoResource' + description: The list of video generation jobs. + has_more: + type: boolean + description: A flag indicating whether there are more jobs available after the list. + first_id: + type: string + description: The ID of the first video in the current page, if available. + last_id: + type: string + description: The ID of the last video in the current page, if available. + description: A list of video generation jobs. + VideoResource: + type: object + required: + - id + - object + - model + - status + - progress + - created_at + - size + - seconds + properties: + id: + type: string + description: Unique identifier for the video job. + object: + type: string + description: The object type, which is always `video`. + model: + type: string + description: The video generation model deployment that produced the job. + status: + allOf: + - $ref: '#/components/schemas/VideoStatus' + description: Current lifecycle status of the video job. + progress: + type: integer + format: int32 + description: Approximate completion percentage for the generation task. + created_at: + type: integer + format: unixtime + description: Unix timestamp (seconds) for when the job was created. + completed_at: + type: integer + format: unixtime + description: Unix timestamp (seconds) for when the job completed, if finished. + expires_at: + type: integer + format: unixtime + description: Unix timestamp (seconds) for when the video generation expires (and will be deleted). + size: + allOf: + - $ref: '#/components/schemas/VideoSize' + description: The resolution of the generated video. + seconds: + allOf: + - $ref: '#/components/schemas/VideoSeconds' + description: Duration of the generated clip in seconds. + remixed_from_video_id: + type: string + description: Identifier of the source video if this video is a remix. + error: + allOf: + - $ref: '#/components/schemas/Error' + description: Error payload that explains why generation failed, if applicable. + description: Structured information describing a generated video job. + VideoSeconds: + anyOf: + - type: string + enum: + - '4' + - '8' + - '12' + - type: string + description: Supported clip durations, measured in seconds. + VideoSize: + anyOf: + - type: string + enum: + - 720x1280 + - 1280x720 + - 1024x1792 + - 1792x1024 + - type: string + description: Output dimensions formatted as `{width}x{height}`. + VideoStatus: + anyOf: + - type: string + enum: + - queued + - in_progress + - completed + - failed + - type: string + description: Lifecycle state of a generated video. + parameters: + VideoIdParameter: + name: video-id + in: path + required: true + description: The ID of the video to use for the Azure OpenAI request. + schema: + type: string securitySchemes: ApiKeyAuth: type: apiKey diff --git a/specification/azurestackhci/cspell.yaml b/specification/azurestackhci/cspell.yaml index 01d0f9cad633..669bc062371a 100644 --- a/specification/azurestackhci/cspell.yaml +++ b/specification/azurestackhci/cspell.yaml @@ -9,6 +9,7 @@ import: words: - adou - armstackhcivm + - armazurestackhci - azurestackhci - capi - drtm diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/Operations.tsp b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/Operations.tsp new file mode 100644 index 000000000000..b3be53c13be3 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/Operations.tsp @@ -0,0 +1,14 @@ +import "@typespec/rest"; +import "@typespec/http"; +import "@azure-tools/typespec-azure-resource-manager"; + +using TypeSpec.Rest; +using TypeSpec.Http; +using Azure.ResourceManager; +using TypeSpec.Versioning; + +#suppress "@azure-tools/typespec-azure-core/casing-style" "HCI itself is a short form." +namespace Microsoft.AzureStackHCI; + +@added(Versions.v2025_11_01_preview) +interface Operations extends Azure.ResourceManager.Operations {} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/examples/2025-11-01-preview/KubernetesVersions_ListBySubscriptionLocationResource_MaximumSet_Gen.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/examples/2025-11-01-preview/KubernetesVersions_ListBySubscriptionLocationResource_MaximumSet_Gen.json new file mode 100644 index 000000000000..8419328c64a1 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/examples/2025-11-01-preview/KubernetesVersions_ListBySubscriptionLocationResource_MaximumSet_Gen.json @@ -0,0 +1,26 @@ +{ + "title": "KubernetesVersions_ListBySubscriptionLocationResource_MaximumSet", + "operationId": "KubernetesVersions_ListBySubscriptionLocationResource", + "parameters": { + "api-version": "2025-11-01-preview", + "subscriptionId": "ABB13722-6A68-4BFC-AE89-57B2EE91EA11", + "location": "westus2" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "version": "1.23.13" + }, + "id": "/subscriptions/b8d594e5-51f3-4c11-9c54-a7771b81c712/providers/Microsoft.AzureStackHCI/kubernetesVersions/1.23.13", + "name": "1.23.13", + "type": "Microsoft.AzureStackHCI/KubernetesVersions" + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/examples/2025-11-01-preview/Operations_List.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/examples/2025-11-01-preview/Operations_List.json new file mode 100644 index 000000000000..66c9d7c65bc0 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/examples/2025-11-01-preview/Operations_List.json @@ -0,0 +1,305 @@ +{ + "parameters": { + "api-version": "2025-11-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.AzureStackHCI/VirtualHardDisks/Delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.AzureStackHCI", + "resource": "VirtualHardDisks", + "operation": "Deletes virtual hard disk resource", + "description": "Deletes virtual hard disk resource" + } + }, + { + "name": "Microsoft.AzureStackHCI/VirtualHardDisks/Write", + "isDataAction": false, + "display": { + "provider": "Microsoft.AzureStackHCI", + "resource": "VirtualHardDisks", + "operation": "Creates/Updates virtual hard disk resource", + "description": "Creates/Updates virtual hard disk resource" + } + }, + { + "name": "Microsoft.AzureStackHCI/VirtualHardDisks/Read", + "isDataAction": false, + "display": { + "provider": "Microsoft.AzureStackHCI", + "resource": "VirtualHardDisks", + "operation": "Gets/Lists virtual hard disk resource", + "description": "Gets/Lists virtual hard disk resource" + } + }, + { + "name": "Microsoft.AzureStackHCI/NetworkInterfaces/Delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.AzureStackHCI", + "resource": "NetworkInterfaces", + "operation": "Deletes network interfaces resource", + "description": "Deletes network interfaces resource" + } + }, + { + "name": "Microsoft.AzureStackHCI/NetworkInterfaces/Write", + "isDataAction": false, + "display": { + "provider": "Microsoft.AzureStackHCI", + "resource": "NetworkInterfaces", + "operation": "Creates/Updates network interfaces resource", + "description": "Creates/Updates network interfaces resource" + } + }, + { + "name": "Microsoft.AzureStackHCI/NetworkInterfaces/Read", + "isDataAction": false, + "display": { + "provider": "Microsoft.AzureStackHCI", + "resource": "NetworkInterfaces", + "operation": "Gets/Lists network interfaces resource", + "description": "Gets/Lists network interfaces resource" + } + }, + { + "name": "Microsoft.AzureStackHCI/GalleryImages/Delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.AzureStackHCI", + "resource": "GalleryImages", + "operation": "Deletes gallery images resource", + "description": "Deletes gallery images resource" + } + }, + { + "name": "Microsoft.AzureStackHCI/GalleryImages/Write", + "isDataAction": false, + "display": { + "provider": "Microsoft.AzureStackHCI", + "resource": "GalleryImages", + "operation": "Creates/Updates gallery images resource", + "description": "Creates/Updates gallery images resource" + } + }, + { + "name": "Microsoft.AzureStackHCI/GalleryImages/Read", + "isDataAction": false, + "display": { + "provider": "Microsoft.AzureStackHCI", + "resource": "GalleryImages", + "operation": "Gets/Lists gallery images resource", + "description": "Gets/Lists gallery images resource" + } + }, + { + "name": "Microsoft.AzureStackHCI/VirtualMachineInstances/HybridIdentityMetadata/Read", + "isDataAction": false, + "display": { + "provider": "Microsoft.AzureStackHCI", + "resource": "VirtualMachineInstances/HybridIdentityMetadata", + "operation": "Gets/Lists virtual machine instance hybrid identity metadata proxy resource", + "description": "Gets/Lists virtual machine instance hybrid identity metadata proxy resource" + } + }, + { + "name": "Microsoft.AzureStackHCI/VirtualMachineInstances/attestationStatus/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.AzureStackHCI", + "resource": "VirtualMachineInstances/attestationStatus", + "operation": "Gets/Lists virtual machine instance's attestation status", + "description": "Gets/Lists virtual machine instance's attestation status" + } + }, + { + "name": "Microsoft.AzureStackHCI/LogicalNetworks/Delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.AzureStackHCI", + "resource": "LogicalNetworks", + "operation": "Deletes logical networks resource", + "description": "Deletes logical networks resource" + } + }, + { + "name": "Microsoft.AzureStackHCI/LogicalNetworks/Write", + "isDataAction": false, + "display": { + "provider": "Microsoft.AzureStackHCI", + "resource": "LogicalNetworks", + "operation": "Creates/Updates logical networks resource", + "description": "Creates/Updates logical networks resource" + } + }, + { + "name": "Microsoft.AzureStackHCI/LogicalNetworks/Read", + "isDataAction": false, + "display": { + "provider": "Microsoft.AzureStackHCI", + "resource": "LogicalNetworks", + "operation": "Gets/Lists logical networks resource", + "description": "Gets/Lists logical networks resource" + } + }, + { + "name": "Microsoft.AzureStackHCI/LogicalNetworks/join/action", + "isDataAction": false, + "display": { + "provider": "Microsoft.AzureStackHCI", + "resource": "LogicalNetworks", + "operation": "Joins logical networks resource", + "description": "Joins logical networks resource" + } + }, + { + "name": "Microsoft.AzureStackHCI/VirtualMachineInstances/Restart/Action", + "isDataAction": false, + "display": { + "provider": "Microsoft.AzureStackHCI", + "resource": "VirtualMachineInstances", + "operation": "Restarts virtual machine instance resource", + "description": "Restarts virtual machine instance resource" + } + }, + { + "name": "Microsoft.AzureStackHCI/VirtualMachineInstances/Start/Action", + "isDataAction": false, + "display": { + "provider": "Microsoft.AzureStackHCI", + "resource": "VirtualMachineInstances", + "operation": "Starts virtual machine instance resource", + "description": "Starts virtual machine instance resource" + } + }, + { + "name": "Microsoft.AzureStackHCI/VirtualMachineInstances/Stop/Action", + "isDataAction": false, + "display": { + "provider": "Microsoft.AzureStackHCI", + "resource": "VirtualMachineInstances", + "operation": "Stops virtual machine instance resource", + "description": "Stops virtual machine instance resource" + } + }, + { + "name": "Microsoft.AzureStackHCI/VirtualMachineInstances/Delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.AzureStackHCI", + "resource": "VirtualMachineInstances", + "operation": "Deletes virtual machine instance resource", + "description": "Deletes virtual machine instance resource" + } + }, + { + "name": "Microsoft.AzureStackHCI/VirtualMachineInstances/Write", + "isDataAction": false, + "display": { + "provider": "Microsoft.AzureStackHCI", + "resource": "VirtualMachineInstances", + "operation": "Creates/Updates virtual machine instance resource", + "description": "Creates/Updates virtual machine instance resource" + } + }, + { + "name": "Microsoft.AzureStackHCI/VirtualMachineInstances/Read", + "isDataAction": false, + "display": { + "provider": "Microsoft.AzureStackHCI", + "resource": "VirtualMachineInstances", + "operation": "Gets/Lists virtual machine instance resource", + "description": "Gets/Lists virtual machine instance resource" + } + }, + { + "name": "Microsoft.AzureStackHCI/StorageContainers/Delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.AzureStackHCI", + "resource": "StorageContainers", + "operation": "Deletes storage containers resource", + "description": "Deletes storage containers resource" + } + }, + { + "name": "Microsoft.AzureStackHCI/StorageContainers/Write", + "isDataAction": false, + "display": { + "provider": "Microsoft.AzureStackHCI", + "resource": "StorageContainers", + "operation": "Creates/Updates storage containers resource", + "description": "Creates/Updates storage containers resource" + } + }, + { + "name": "Microsoft.AzureStackHCI/StorageContainers/Read", + "isDataAction": false, + "display": { + "provider": "Microsoft.AzureStackHCI", + "resource": "StorageContainers", + "operation": "Gets/Lists storage containers resource", + "description": "Gets/Lists storage containers resource" + } + }, + { + "name": "Microsoft.AzureStackHCI/StorageContainers/deploy/action", + "isDataAction": false, + "display": { + "provider": "Microsoft.AzureStackHCI", + "resource": "StorageContainers", + "operation": "Deploys storage containers resource", + "description": "Deploys storage containers resource" + } + }, + { + "name": "Microsoft.AzureStackHCI/MarketPlaceGalleryImages/Delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.AzureStackHCI", + "resource": "MarketPlaceGalleryImages", + "operation": "Deletes market place gallery images resource", + "description": "Deletes market place gallery images resource" + } + }, + { + "name": "Microsoft.AzureStackHCI/MarketPlaceGalleryImages/Write", + "isDataAction": false, + "display": { + "provider": "Microsoft.AzureStackHCI", + "resource": "MarketPlaceGalleryImages", + "operation": "Creates/Updates market place gallery images resource", + "description": "Creates/Updates market place gallery images resource" + } + }, + { + "name": "Microsoft.AzureStackHCI/MarketPlaceGalleryImages/Read", + "isDataAction": false, + "display": { + "provider": "Microsoft.AzureStackHCI", + "resource": "MarketPlaceGalleryImages", + "operation": "Gets/Lists market place gallery images resource", + "description": "Gets/Lists market place gallery images resource" + } + }, + { + "name": "Microsoft.AzureStackHCI/MarketPlaceGalleryImages/deploy/action", + "isDataAction": false, + "display": { + "provider": "Microsoft.AzureStackHCI", + "resource": "MarketPlaceGalleryImages", + "operation": "Deploys market place gallery images resource", + "description": "Deploys market place gallery images resource" + } + } + ] + } + } + }, + "operationId": "Operations_List", + "title": "List the operations for the provider." +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/examples/2025-11-01-preview/OsImages_Get_MaximumSet_Gen.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/examples/2025-11-01-preview/OsImages_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..62fa3f52a356 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/examples/2025-11-01-preview/OsImages_Get_MaximumSet_Gen.json @@ -0,0 +1,25 @@ +{ + "title": "OsImages_Get_MaximumSet", + "operationId": "OsImages_Get", + "parameters": { + "api-version": "2025-11-01-preview", + "subscriptionId": "5233F7FA-C5BA-41FD-A07F-C65BA2084316", + "location": "arowdcr", + "osImageName": "10.2408.0.1" + }, + "responses": { + "200": { + "body": { + "properties": { + "validatedSolutionRecipeVersion": "10.2408.0.1", + "composedImageVersion": "10.2408.0.1", + "composedImageIsoUrl": "https://microsoft.com/a", + "composedImageIsoHash": "9542EB842C768EC8215578A98C04C2FC0E1AAE750C8DECE362226C8C4488E8A6" + }, + "id": "/subscriptions/b8d594e5-51f3-4c11-9c54-a7771b81c712/providers/Microsoft.AzureStackHCI/osImages/10.2408.0.1", + "name": "10.2408.0.1", + "type": "Microsoft.AzureStackHCI/OsImages" + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/examples/2025-11-01-preview/OsImages_ListBySubscriptionLocationResource_MaximumSet_Gen.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/examples/2025-11-01-preview/OsImages_ListBySubscriptionLocationResource_MaximumSet_Gen.json new file mode 100644 index 000000000000..1f195ca6bfdd --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/examples/2025-11-01-preview/OsImages_ListBySubscriptionLocationResource_MaximumSet_Gen.json @@ -0,0 +1,29 @@ +{ + "title": "OsImages_ListBySubscriptionLocationResource_MaximumSet", + "operationId": "OsImages_ListBySubscriptionLocationResource", + "parameters": { + "api-version": "2025-11-01-preview", + "subscriptionId": "b8d594e5-51f3-4c11-9c54-a7771b81c712", + "location": "westus2" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "validatedSolutionRecipeVersion": "10.2408.0.1", + "composedImageVersion": "10.2408.0.1", + "composedImageIsoUrl": "https://microsoft.com/a", + "composedImageIsoHash": "9542EB842C768EC8215578A98C04C2FC0E1AAE750C8DECE362226C8C4488E8A6" + }, + "id": "/subscriptions/b8d594e5-51f3-4c11-9c54-a7771b81c712/providers/Microsoft.AzureStackHCI/osImages/10.2408.0.1", + "name": "10.2408.0.1", + "type": "Microsoft.AzureStackHCI/OsImages" + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/examples/2025-11-01-preview/PlatformUpdates_Get_MaximumSet_Gen.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/examples/2025-11-01-preview/PlatformUpdates_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..3b8e766817b8 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/examples/2025-11-01-preview/PlatformUpdates_Get_MaximumSet_Gen.json @@ -0,0 +1,45 @@ +{ + "title": "PlatformUpdates_Get_MaximumSet", + "operationId": "PlatformUpdates_Get", + "parameters": { + "api-version": "2025-11-01-preview", + "subscriptionId": "b8d594e5-51f3-4c11-9c54-a7771b81c712", + "location": "westus2", + "platformUpdateName": "10.2408.0.1" + }, + "responses": { + "200": { + "body": { + "properties": { + "platformUpdateDetails": [ + { + "validatedSolutionRecipeVersion": "10.2408.0.1", + "platformVersion": "10.2408.0.1", + "platformPayloads": [ + { + "payloadHash": "sdfdsfdsfsadfdsafdsafawfdsafdsfa", + "payloadUrl": "https://microsoft.com/a" + } + ] + }, + { + "validatedSolutionRecipeVersion": "10.2408.0.2", + "platformVersion": "10.2408.0.2", + "platformPayloads": [ + { + "payloadHash": "sdfdsfdsfsadfdsafdsafawfdsafdsfa", + "payloadUrl": "https://microsoft.com/a", + "payloadPackageSizeInBytes": "2048", + "payloadIdentifier": "payload-identifier-1234" + } + ] + } + ] + }, + "id": "/subscriptions/b8d594e5-51f3-4c11-9c54-a7771b81c712/providers/Microsoft.AzureStackHCI/platformUpdates/10.2408.0.1", + "name": "10.2408.0.1", + "type": "Microsoft.AzureStackHCI/PlatformUpdates" + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/examples/2025-11-01-preview/PlatformUpdates_ListByLocation_MaximumSet_Gen.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/examples/2025-11-01-preview/PlatformUpdates_ListByLocation_MaximumSet_Gen.json new file mode 100644 index 000000000000..1b70a458576e --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/examples/2025-11-01-preview/PlatformUpdates_ListByLocation_MaximumSet_Gen.json @@ -0,0 +1,68 @@ +{ + "title": "PlatformUpdates_ListByLocation_MaximumSet", + "operationId": "PlatformUpdates_List", + "parameters": { + "api-version": "2025-11-01-preview", + "subscriptionId": "b8d594e5-51f3-4c11-9c54-a7771b81c712", + "location": "westus2" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "platformUpdateDetails": [ + { + "validatedSolutionRecipeVersion": "10.2408.0.1", + "platformVersion": "10.2408.0.1", + "platformPayloads": [ + { + "payloadHash": "sdfdsfdsfsadfdsafdsafawfdsafdsfa", + "payloadUrl": "https://microsoft.com/a" + } + ] + }, + { + "validatedSolutionRecipeVersion": "10.2408.0.2", + "platformVersion": "10.2408.0.2", + "platformPayloads": [ + { + "payloadHash": "sdfdsfdsfsadfdsafdsafawfdsafdsfa", + "payloadUrl": "https://microsoft.com/a", + "payloadPackageSizeInBytes": "2048", + "payloadIdentifier": "payload-identifier-1234" + } + ] + } + ] + }, + "id": "/subscriptions/b8d594e5-51f3-4c11-9c54-a7771b81c712/providers/Microsoft.AzureStackHCI/locations/westus2/platformUpdates/10.2408.0.1", + "name": "10.2408.0.1", + "type": "Microsoft.AzureStackHCI/PlatformUpdates" + }, + { + "properties": { + "platformUpdateDetails": [ + { + "validatedSolutionRecipeVersion": "10.2409.0.1", + "platformVersion": "10.2409.0.1", + "platformPayloads": [ + { + "payloadHash": "aedfbcabc123456789abcdef12345678", + "payloadUrl": "https://microsoft.com/b" + } + ] + } + ] + }, + "id": "/subscriptions/b8d594e5-51f3-4c11-9c54-a7771b81c712/providers/Microsoft.AzureStackHCI/locations/westus2/platformUpdates/10.2409.0.1", + "name": "10.2409.0.1", + "type": "Microsoft.AzureStackHCI/PlatformUpdates" + } + ], + "nextLink": "https://management.azure.com/subscriptions/b8d594e5-51f3-4c11-9c54-a7771b81c712/providers/Microsoft.AzureStackHCI/locations/westus2/platformUpdates?api-version=2025-11-01-preview&$skiptoken=X'12345'" + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/examples/2025-11-01-preview/UpdateContents_Get_MaximumSet_Gen.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/examples/2025-11-01-preview/UpdateContents_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..2d14c740ffb8 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/examples/2025-11-01-preview/UpdateContents_Get_MaximumSet_Gen.json @@ -0,0 +1,32 @@ +{ + "title": "UpdateContents_Get_MaximumSet", + "operationId": "UpdateContents_Get", + "parameters": { + "api-version": "2025-11-01-preview", + "subscriptionId": "2886575D-173A-44A0-80E2-7DBA57F18B46", + "location": "westus2", + "updateContentName": "12.2510.0.1" + }, + "responses": { + "200": { + "body": { + "properties": { + "updatePayloads": [ + { + "url": "https://microsoft.com/a", + "hash": "F51FFEEB50A5C51B930F107132DDFA389DC8983313438764204A6F70F4BEFC60", + "hashAlgorithm": "SHA256", + "identifier": "SolutionUpdate_zip", + "packageSizeInBytes": "9367", + "group": "Update", + "fileName": "SolutionUpdate.12.2510.1002.84.zip" + } + ] + }, + "id": "/subscriptions/b8d594e5-51f3-4c11-9c54-a7771b81c712/providers/Microsoft.AzureStackHCI/updateContents/12.2510.0.1", + "name": "12.2510.0.1", + "type": "Microsoft.AzureStackHCI/UpdateContents" + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/examples/2025-11-01-preview/UpdateContents_ListByLocation_MaximumSet_Gen.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/examples/2025-11-01-preview/UpdateContents_ListByLocation_MaximumSet_Gen.json new file mode 100644 index 000000000000..2b95f94e6614 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/examples/2025-11-01-preview/UpdateContents_ListByLocation_MaximumSet_Gen.json @@ -0,0 +1,54 @@ +{ + "title": "UpdateContents_ListByLocation_MaximumSet", + "operationId": "UpdateContents_List", + "parameters": { + "api-version": "2025-11-01-preview", + "subscriptionId": "2886575D-173A-44A0-80E2-7DBA57F18B46", + "location": "westus2" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "updatePayloads": [ + { + "url": "https://microsoft.com/a", + "hash": "F51FFEEB50A5C51B930F107132DDFA389DC8983313438764204A6F70F4BEFC60", + "hashAlgorithm": "SHA256", + "identifier": "SolutionUpdate_zip", + "packageSizeInBytes": "9367", + "group": "Update", + "fileName": "SolutionUpdate.12.2510.1002.84.zip" + } + ] + }, + "id": "/subscriptions/2886575D-173A-44A0-80E2-7DBA57F18B46/providers/Microsoft.AzureStackHCI/locations/westus2/updateContents/12.2510.0.1", + "name": "12.2510.0.1", + "type": "Microsoft.AzureStackHCI/UpdateContents" + }, + { + "properties": { + "updatePayloads": [ + { + "url": "https://microsoft.com/b", + "hash": "A62CCFED60B6C61C950F208243EEGD490ED9094424549875315B7G81G5CFGD71", + "hashAlgorithm": "SHA256", + "identifier": "SolutionUpdate_zip", + "packageSizeInBytes": "10456", + "group": "Update", + "fileName": "SolutionUpdate.12.2511.1003.85.zip" + } + ] + }, + "id": "/subscriptions/2886575D-173A-44A0-80E2-7DBA57F18B46/providers/Microsoft.AzureStackHCI/locations/westus2/updateContents/12.2511.0.1", + "name": "12.2511.0.1", + "type": "Microsoft.AzureStackHCI/UpdateContents" + } + ], + "nextLink": "https://management.azure.com/subscriptions/2886575D-173A-44A0-80E2-7DBA57F18B46/providers/Microsoft.AzureStackHCI/locations/westus2/updateContents?api-version=2025-11-01-preview&$skiptoken=X'12345'" + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/kubernetesVersions.tsp b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/kubernetesVersions.tsp new file mode 100644 index 000000000000..a014b8d8848b --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/kubernetesVersions.tsp @@ -0,0 +1,39 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "@typespec/http"; +import "@azure-tools/typespec-azure-resource-manager"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Versioning; + +@armProviderNamespace("Microsoft.AzureStackHCI") +namespace Microsoft.AzureStackHCI; + +@added(Versions.v2025_11_01_preview) +@doc("Represents a kubernetes version resource.") +@parentResource(SubscriptionLocationResource) +model KubernetesVersion + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = KubernetesVersion, + NamePattern = "^[a-zA-Z0-9-.]{3,50}$" + >; +} + +@added(Versions.v2025_11_01_preview) +@armResourceOperations +interface KubernetesVersions { + @doc("List all kubernetes versions.") + list is ArmResourceListAtScope; +} + +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" +@added(Versions.v2025_11_01_preview) +@doc("Represents properties of a kubernetes version.") +model KubernetesVersionProperties { + @doc("Represents kubernetes version.") + version: string; +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/main.tsp b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/main.tsp new file mode 100644 index 000000000000..9228931f0754 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/main.tsp @@ -0,0 +1,44 @@ +/** + * PLEASE DO NOT REMOVE - USED FOR CONVERTER METRICS + * Generated by package: @autorest/openapi-to-typespec + * Parameters used: + * isFullCompatible: true + * guessResourceKey: false + * Version: 0.11.5 + * Date: 2025-08-08T03:57:14.356Z + */ +import "@typespec/rest"; +import "@typespec/versioning"; +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "./kubernetesVersions.tsp"; +import "./platformUpdates.tsp"; +import "./osImages.tsp"; +import "./updateContents.tsp"; +import "./Operations.tsp"; + +using TypeSpec.Rest; +using TypeSpec.Http; +using Azure.ResourceManager.Foundations; +using Azure.Core; +using Azure.ResourceManager; +using TypeSpec.Versioning; +/** + * Azure Stack HCI service + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "model nomenclature" +@armProviderNamespace +@service(#{ title: "Microsoft.AzureStackHCI" }) +@versioned(Versions) +@armCommonTypesVersion(Azure.ResourceManager.CommonTypes.Versions.v6) +namespace Microsoft.AzureStackHCI; + +/** + * The available API versions. + */ +enum Versions { + /** + * The 2025-11-01-preview API version. + */ + v2025_11_01_preview: "2025-11-01-preview", +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/osImages.tsp b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/osImages.tsp new file mode 100644 index 000000000000..522a753a1fc2 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/osImages.tsp @@ -0,0 +1,50 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "@typespec/http"; +import "@azure-tools/typespec-azure-resource-manager"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Versioning; + +@armProviderNamespace("Microsoft.AzureStackHCI") +namespace Microsoft.AzureStackHCI; + +@added(Versions.v2025_11_01_preview) +@doc("Represents a os image resource.") +@parentResource(SubscriptionLocationResource) +model OsImage is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = OsImage, + NamePattern = "^[a-zA-Z0-9-.]{3,50}$" + >; +} + +@armResourceOperations +@added(Versions.v2025_11_01_preview) +interface OsImages { + @doc("Get a os image.") + get is ArmResourceRead; + + @doc("List all os images.") + list is ArmResourceListAtScope; +} + +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" +@added(Versions.v2025_11_01_preview) +@doc("Represents properties of a os image resource.") +model OsImageProperties { + @doc("Represents validated solution recipe version of a os image.") + validatedSolutionRecipeVersion?: string; + + @doc("Represents composed image version of a os image.") + composedImageVersion?: string; + + @doc("Represents composed image iso download url of a os image.") + composedImageIsoUrl?: string; + + @doc("Represents composed image iso hash of a os image.") + composedImageIsoHash?: string; +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/platformUpdates.tsp b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/platformUpdates.tsp new file mode 100644 index 000000000000..ad92f2727b70 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/platformUpdates.tsp @@ -0,0 +1,76 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "@typespec/http"; +import "@azure-tools/typespec-azure-resource-manager"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Versioning; + +@armProviderNamespace("Microsoft.AzureStackHCI") +namespace Microsoft.AzureStackHCI; + +@added(Versions.v2025_11_01_preview) +@doc("Represents a platform update resource.") +@parentResource(SubscriptionLocationResource) +model PlatformUpdate + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = PlatformUpdate, + NamePattern = "^[a-zA-Z0-9-.]{3,50}$" + >; +} + +@added(Versions.v2025_11_01_preview) +@armResourceOperations +interface PlatformUpdates { + @doc("Get a platform update.") + get is ArmResourceRead; + + @doc("List all platform updates.") + list is ArmResourceListByParent< + PlatformUpdate, + BaseParameters = Azure.ResourceManager.Foundations.SubscriptionBaseParameters + >; +} + +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" +@added(Versions.v2025_11_01_preview) +@doc("Represents properties of a platform update resource.") +model PlatformUpdateProperties { + @doc("Represents applicable platform updates.") + @Azure.ResourceManager.identifiers(#[]) + platformUpdateDetails: Array; +} + +@added(Versions.v2025_11_01_preview) +@doc("Represents details of a specific platform update.") +model PlatformUpdateDetails { + @doc("Represents validated solution recipe version of a platform update.") + validatedSolutionRecipeVersion?: string; + + @doc("Represents version of a platform update.") + platformVersion?: string; + + @doc("Represents the platform payloads of a platform update.") + @Azure.ResourceManager.identifiers(#[]) + platformPayloads: Array; +} + +@added(Versions.v2025_11_01_preview) +@doc("Represents details of a specific platform update payload.") +model PlatformPayload { + @doc("Represents url of a platform update payload.") + payloadUrl?: string; + + @doc("Represents hash of a platform update payload.") + payloadHash?: string; + + @doc("Represents size in bytes of a platform update payload.") + payloadPackageSizeInBytes?: string; + + @doc("Represents identifier of a platform update payload.") + payloadIdentifier?: string; +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/arcSettings.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/arcSettings.json new file mode 100644 index 000000000000..9528a32857fd --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/arcSettings.json @@ -0,0 +1,1185 @@ +{ + "swagger": "2.0", + "info": { + "version": "2025-11-01-preview", + "title": "AzureStackHCI", + "description": "Azure Stack HCI management service" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Microsoft Entra ID OAuth 2.0 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}/arcSettings": { + "get": { + "operationId": "ArcSettings_ListByCluster", + "description": "Get ArcSetting resources of HCI Cluster.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ClusterNameParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ArcSettingList" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List ArcSetting resources by HCI Cluster": { + "$ref": "./examples/ListArcSettingsByCluster.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}/arcSettings/{arcSettingName}": { + "get": { + "operationId": "ArcSettings_Get", + "description": "Get ArcSetting resource details of HCI Cluster.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ClusterNameParameter" + }, + { + "$ref": "#/parameters/ArcSettingNameParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ArcSetting" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get ArcSetting": { + "$ref": "./examples/GetArcSetting.json" + } + } + }, + "put": { + "operationId": "ArcSettings_Create", + "description": "Create ArcSetting for HCI cluster.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ClusterNameParameter" + }, + { + "$ref": "#/parameters/ArcSettingNameParameter" + }, + { + "name": "arcSetting", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ArcSetting" + }, + "description": "Parameters supplied to the Create ArcSetting resource for this HCI cluster." + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ArcSetting" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Create ArcSetting": { + "$ref": "./examples/PutArcSetting.json" + } + } + }, + "patch": { + "operationId": "ArcSettings_Update", + "description": "Update ArcSettings for HCI cluster.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ClusterNameParameter" + }, + { + "$ref": "#/parameters/ArcSettingNameParameter" + }, + { + "name": "arcSetting", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ArcSettingsPatch" + }, + "description": "ArcSettings parameters that needs to be updated" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ArcSetting" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Patch ArcSetting": { + "$ref": "./examples/PatchArcSetting.json" + } + } + }, + "delete": { + "operationId": "ArcSettings_Delete", + "description": "Delete ArcSetting resource details of HCI Cluster.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ClusterNameParameter" + }, + { + "$ref": "#/parameters/ArcSettingNameParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "202": { + "description": "Accepted" + }, + "204": { + "description": "No content" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-examples": { + "Delete ArcSetting": { + "$ref": "./examples/DeleteArcSetting.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}/arcSettings/{arcSettingName}/generatePassword": { + "post": { + "tags": [ + "ArcSettings" + ], + "operationId": "ArcSettings_GeneratePassword", + "description": "Generate password for arc settings.", + "x-ms-examples": { + "Generate Password": { + "$ref": "./examples/GeneratePassword.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ClusterNameParameter" + }, + { + "$ref": "#/parameters/ArcSettingNameParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/PasswordCredential" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}/arcSettings/{arcSettingName}/createArcIdentity": { + "post": { + "tags": [ + "ArcSettings" + ], + "operationId": "ArcSettings_CreateIdentity", + "description": "Create Aad identity for arc settings.", + "x-ms-examples": { + "Create Arc Identity": { + "$ref": "./examples/CreateArcIdentity.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ClusterNameParameter" + }, + { + "$ref": "#/parameters/ArcSettingNameParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ArcIdentityResponse" + } + }, + "202": { + "description": "Accepted" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}/arcSettings/{arcSettingName}/reconcile": { + "post": { + "tags": [ + "ArcSettings" + ], + "operationId": "ArcSettings_Reconcile", + "description": "Reconcile Arc Settings with information related to all nodes.", + "x-ms-examples": { + "Reconcile Arc Settings": { + "$ref": "./examples/reconcileArcSettings.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ClusterNameParameter" + }, + { + "$ref": "#/parameters/ArcSettingNameParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "reconcileArcSettingsRequest", + "in": "body", + "description": "Request for reconciling Arc Settings.", + "required": true, + "schema": { + "$ref": "#/definitions/ReconcileArcSettingsRequest" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ArcSetting" + } + }, + "202": { + "description": "Accepted" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}/arcSettings/{arcSettingName}/consentAndInstallDefaultExtensions": { + "post": { + "tags": [ + "ArcSettings" + ], + "operationId": "ArcSettings_ConsentAndInstallDefaultExtensions", + "description": "Add consent time for default extensions and initiate extensions installation", + "x-ms-examples": { + "Consent And Install Default Extensions": { + "$ref": "./examples/ConsentAndInstallDefaultExtensions.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ClusterNameParameter" + }, + { + "$ref": "#/parameters/ArcSettingNameParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ArcSetting" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}/arcSettings/{arcSettingName}/initializeDisableProcess": { + "post": { + "tags": [ + "ArcSettings" + ], + "operationId": "ArcSettings_InitializeDisableProcess", + "description": "Initializes ARC Disable process on the cluster", + "x-ms-examples": { + "Trigger ARC Disable": { + "$ref": "./examples/InitializeDisableProcess.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ClusterNameParameter" + }, + { + "$ref": "#/parameters/ArcSettingNameParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "202": { + "description": "Accepted" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + } + } + }, + "definitions": { + "ReconcileArcSettingsRequest": { + "description": "Request for reconciling Arc Settings.", + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/ReconcileArcSettingsRequestProperties" + } + }, + "additionalProperties": false + }, + "ReconcileArcSettingsRequestProperties": { + "description": "List of Arc Nodes in the cluster", + "type": "object", + "properties": { + "clusterNodes": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "ArcSettingList": { + "description": "List of ArcSetting proxy resources for the HCI cluster.", + "type": "object", + "properties": { + "value": { + "description": "List of ArcSetting proxy resources.", + "type": "array", + "items": { + "$ref": "#/definitions/ArcSetting" + }, + "readOnly": true + }, + "nextLink": { + "description": "Link to the next set of results.", + "type": "string", + "readOnly": true + } + } + }, + "ArcSettingsPatch": { + "description": "ArcSetting details to update.", + "type": "object", + "properties": { + "tags": { + "description": "Resource tags.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "properties": { + "description": "ArcSettings properties.", + "$ref": "#/definitions/ArcSettingsPatchProperties", + "x-ms-client-flatten": true + } + } + }, + "ArcSettingsPatchProperties": { + "description": "ArcSettings properties.", + "type": "object", + "properties": { + "connectivityProperties": { + "description": "contains connectivity related configuration for ARC resources", + "type": "object", + "items": { + "$ref": "#/definitions/ArcConnectivityProperties" + } + } + } + }, + "ArcSetting": { + "description": "ArcSetting details.", + "type": "object", + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "description": "ArcSetting properties.", + "$ref": "#/definitions/ArcSettingProperties", + "x-ms-client-flatten": true + } + } + }, + "ArcSettingProperties": { + "description": "ArcSetting properties.", + "type": "object", + "properties": { + "provisioningState": { + "description": "Provisioning state of the ArcSetting proxy resource.", + "type": "string", + "enum": [ + "NotSpecified", + "Error", + "Succeeded", + "Failed", + "Canceled", + "Connected", + "Disconnected", + "Deleted", + "Creating", + "Updating", + "Deleting", + "Moving", + "PartiallySucceeded", + "PartiallyConnected", + "InProgress", + "Accepted", + "Provisioning", + "DisableInProgress" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "NotSpecified", + "value": "NotSpecified", + "description": "The provisioning state is not specified." + }, + { + "name": "Error", + "value": "Error", + "description": "An error occurred during provisioning." + }, + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Provisioning completed successfully." + }, + { + "name": "Failed", + "value": "Failed", + "description": "Provisioning failed." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Provisioning was canceled." + }, + { + "name": "Connected", + "value": "Connected", + "description": "The resource is connected." + }, + { + "name": "Disconnected", + "value": "Disconnected", + "description": "The resource is disconnected." + }, + { + "name": "Deleted", + "value": "Deleted", + "description": "The resource has been deleted." + }, + { + "name": "Creating", + "value": "Creating", + "description": "The resource is being created." + }, + { + "name": "Updating", + "value": "Updating", + "description": "The resource is being updated." + }, + { + "name": "Deleting", + "value": "Deleting", + "description": "The resource is being deleted." + }, + { + "name": "Moving", + "value": "Moving", + "description": "The resource is being moved." + }, + { + "name": "PartiallySucceeded", + "value": "PartiallySucceeded", + "description": "Provisioning partially succeeded." + }, + { + "name": "PartiallyConnected", + "value": "PartiallyConnected", + "description": "The resource is partially connected." + }, + { + "name": "InProgress", + "value": "InProgress", + "description": "Provisioning is in progress." + }, + { + "name": "Accepted", + "value": "Accepted", + "description": "Provisioning request has been accepted." + }, + { + "name": "Provisioning", + "value": "Provisioning", + "description": "The resource is currently provisioning." + }, + { + "name": "DisableInProgress", + "value": "DisableInProgress", + "description": "The resource is being disabled." + } + ] + }, + "readOnly": true + }, + "arcInstanceResourceGroup": { + "description": "The resource group that hosts the Arc agents, ie. Hybrid Compute Machine resources.", + "type": "string" + }, + "arcApplicationClientId": { + "description": "App id of arc AAD identity.", + "type": "string" + }, + "arcApplicationTenantId": { + "description": "Tenant id of arc AAD identity.", + "type": "string" + }, + "arcServicePrincipalObjectId": { + "description": "Object id of arc AAD service principal.", + "type": "string" + }, + "arcApplicationObjectId": { + "description": "Object id of arc AAD identity.", + "type": "string" + }, + "aggregateState": { + "description": "Aggregate state of Arc agent across the nodes in this HCI cluster.", + "type": "string", + "enum": [ + "NotSpecified", + "Error", + "Succeeded", + "Canceled", + "Failed", + "Connected", + "Disconnected", + "Deleted", + "Creating", + "Updating", + "Deleting", + "Moving", + "PartiallySucceeded", + "PartiallyConnected", + "InProgress", + "Accepted", + "Provisioning", + "DisableInProgress" + ], + "x-ms-enum": { + "name": "ArcSettingAggregateState", + "modelAsString": true, + "values": [ + { + "name": "NotSpecified", + "value": "NotSpecified", + "description": "The aggregate state is not specified." + }, + { + "name": "Error", + "value": "Error", + "description": "An error occurred in the aggregate state." + }, + { + "name": "Succeeded", + "value": "Succeeded", + "description": "The operation successfully completed across all nodes." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "The operation was canceled across the nodes." + }, + { + "name": "Failed", + "value": "Failed", + "description": "The operation failed on all or most nodes." + }, + { + "name": "Connected", + "value": "Connected", + "description": "All nodes are connected." + }, + { + "name": "Disconnected", + "value": "Disconnected", + "description": "All nodes are disconnected." + }, + { + "name": "Deleted", + "value": "Deleted", + "description": "The Arc agent has been deleted from all nodes." + }, + { + "name": "Creating", + "value": "Creating", + "description": "The Arc agent is being created across the nodes." + }, + { + "name": "Updating", + "value": "Updating", + "description": "The Arc agent is being updated across the nodes." + }, + { + "name": "Deleting", + "value": "Deleting", + "description": "The Arc agent is being deleted across the nodes." + }, + { + "name": "Moving", + "value": "Moving", + "description": "The Arc agent is being moved across the nodes." + }, + { + "name": "PartiallySucceeded", + "value": "PartiallySucceeded", + "description": "The operation succeeded on some nodes." + }, + { + "name": "PartiallyConnected", + "value": "PartiallyConnected", + "description": "Some nodes are connected, others are not." + }, + { + "name": "InProgress", + "value": "InProgress", + "description": "The operation is currently in progress across the nodes." + }, + { + "name": "Accepted", + "value": "Accepted", + "description": "The operation has been accepted and is pending execution." + }, + { + "name": "Provisioning", + "value": "Provisioning", + "description": "The Arc agent is being provisioned across the nodes." + }, + { + "name": "DisableInProgress", + "value": "DisableInProgress", + "description": "The Arc agent is being disabled across the nodes." + } + ] + }, + "readOnly": true + }, + "perNodeDetails": { + "description": "State of Arc agent in each of the nodes.", + "type": "array", + "items": { + "$ref": "#/definitions/PerNodeState" + }, + "readOnly": true + }, + "connectivityProperties": { + "description": "contains connectivity related configuration for ARC resources", + "type": "object", + "items": { + "$ref": "#/definitions/ArcConnectivityProperties" + } + }, + "defaultExtensions": { + "description": "Properties for each of the default extensions category", + "type": "array", + "items": { + "$ref": "#/definitions/DefaultExtensionDetails" + }, + "x-ms-identifiers": [ + "category" + ], + "readOnly": true + } + } + }, + "PerNodeState": { + "description": "Status of Arc agent for a particular node in HCI Cluster.", + "type": "object", + "properties": { + "name": { + "type": "string", + "readOnly": true, + "description": "Name of the Node in HCI Cluster" + }, + "arcInstance": { + "description": "Fully qualified resource ID for the Arc agent of this node.", + "type": "string", + "readOnly": true + }, + "arcNodeServicePrincipalObjectId": { + "description": "The service principal id of the arc for server node", + "type": "string", + "readOnly": true + }, + "state": { + "description": "State of the Arc agent in this node. Indicates the current lifecycle status of the agent, such as whether it's being provisioned, connected, updated, or has encountered an error.", + "type": "string", + "enum": [ + "NotSpecified", + "Error", + "Succeeded", + "Canceled", + "Failed", + "Connected", + "Disconnected", + "Deleted", + "Creating", + "Updating", + "Deleting", + "Moving", + "PartiallySucceeded", + "PartiallyConnected", + "InProgress", + "Accepted", + "Provisioning", + "DisableInProgress" + ], + "x-ms-enum": { + "name": "NodeArcState", + "modelAsString": true, + "values": [ + { + "name": "NotSpecified", + "value": "NotSpecified", + "description": "The state is not specified." + }, + { + "name": "Error", + "value": "Error", + "description": "An error occurred during the agent's lifecycle." + }, + { + "name": "Succeeded", + "value": "Succeeded", + "description": "The operation completed successfully." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "The operation was canceled before completion." + }, + { + "name": "Failed", + "value": "Failed", + "description": "The operation failed." + }, + { + "name": "Connected", + "value": "Connected", + "description": "The Arc agent is connected on this node." + }, + { + "name": "Disconnected", + "value": "Disconnected", + "description": "The Arc agent is disconnected on this node." + }, + { + "name": "Deleted", + "value": "Deleted", + "description": "The Arc agent has been deleted from this node." + }, + { + "name": "Creating", + "value": "Creating", + "description": "The Arc agent is being created on this node." + }, + { + "name": "Updating", + "value": "Updating", + "description": "The Arc agent is being updated on this node." + }, + { + "name": "Deleting", + "value": "Deleting", + "description": "The Arc agent is being deleted from this node." + }, + { + "name": "Moving", + "value": "Moving", + "description": "The Arc agent is being moved on this node." + }, + { + "name": "PartiallySucceeded", + "value": "PartiallySucceeded", + "description": "The operation partially succeeded." + }, + { + "name": "PartiallyConnected", + "value": "PartiallyConnected", + "description": "The Arc agent is partially connected on this node." + }, + { + "name": "InProgress", + "value": "InProgress", + "description": "The operation is currently in progress." + }, + { + "name": "Accepted", + "value": "Accepted", + "description": "The operation has been accepted and is pending execution." + }, + { + "name": "Provisioning", + "value": "Provisioning", + "description": "The Arc agent is currently being provisioned on this node." + }, + { + "name": "DisableInProgress", + "value": "DisableInProgress", + "description": "The Arc agent is in the process of being disabled on this node." + } + ] + }, + "readOnly": true + } + } + }, + "DefaultExtensionDetails": { + "description": "Properties for a particular default extension category.", + "type": "object", + "properties": { + "category": { + "description": "Default extension category", + "type": "string", + "readOnly": true + }, + "consentTime": { + "description": "Consent time for extension category", + "type": "string", + "format": "date-time", + "readOnly": true + } + } + }, + "ArcConnectivityProperties": { + "description": "Connectivity related configuration required by arc server.", + "type": "object", + "properties": { + "enabled": { + "type": "boolean", + "description": "True indicates ARC connectivity is enabled" + }, + "serviceConfigurations": { + "type": "array", + "description": "Service configurations associated with the connectivity resource. They are only processed by the server if 'enabled' property is set to 'true'.", + "items": { + "$ref": "#/definitions/ServiceConfiguration" + }, + "x-ms-identifiers": [ + "serviceName" + ] + } + }, + "additionalProperties": false + }, + "ServiceConfiguration": { + "type": "object", + "description": "Service configuration details", + "required": [ + "serviceName", + "port" + ], + "properties": { + "serviceName": { + "type": "string", + "description": "Specifies the name of the service associated with the update or operation. This helps identify which system component or tool is involved.", + "enum": [ + "WAC" + ], + "x-ms-enum": { + "name": "serviceName", + "modelAsString": true, + "values": [ + { + "name": "WAC", + "value": "WAC", + "description": "Windows Admin Center (WAC) is the service associated with this operation." + } + ] + } + }, + "port": { + "type": "integer", + "format": "int64", + "description": "The port on which service is enabled." + } + } + }, + "PasswordCredential": { + "type": "object", + "properties": { + "secretText": { + "type": "string" + }, + "keyId": { + "type": "string" + }, + "startDateTime": { + "type": "string", + "format": "date-time" + }, + "endDateTime": { + "type": "string", + "format": "date-time" + } + }, + "additionalProperties": false, + "readOnly": true + }, + "ArcIdentityResponse": { + "description": "ArcIdentity details.", + "type": "object", + "properties": { + "properties": { + "description": "ArcIdentity properties.", + "$ref": "#/definitions/ArcIdentityResponseProperties", + "x-ms-client-flatten": true + } + } + }, + "ArcIdentityResponseProperties": { + "type": "object", + "properties": { + "arcApplicationClientId": { + "type": "string" + }, + "arcApplicationTenantId": { + "type": "string" + }, + "arcServicePrincipalObjectId": { + "type": "string" + }, + "arcApplicationObjectId": { + "type": "string" + } + }, + "additionalProperties": false, + "readOnly": true + } + }, + "parameters": { + "ClusterNameParameter": { + "name": "clusterName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the cluster.", + "x-ms-parameter-location": "method" + }, + "ArcSettingNameParameter": { + "name": "arcSettingName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the proxy resource holding details of HCI ArcSetting information.", + "x-ms-parameter-location": "method" + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/clusters.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/clusters.json new file mode 100644 index 000000000000..9705f3c58153 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/clusters.json @@ -0,0 +1,2271 @@ +{ + "swagger": "2.0", + "info": { + "version": "2025-11-01-preview", + "title": "AzureStackHCI", + "description": "Azure Stack HCI management service" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Microsoft Entra ID OAuth 2.0 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/providers/Microsoft.AzureStackHCI/clusters": { + "get": { + "tags": [ + "Clusters" + ], + "operationId": "Clusters_ListBySubscription", + "x-ms-examples": { + "List clusters in a given subscription": { + "$ref": "./examples/ListClustersBySubscription.json" + } + }, + "description": "List all HCI clusters in a subscription.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ClusterList" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters": { + "get": { + "tags": [ + "Clusters" + ], + "operationId": "Clusters_ListByResourceGroup", + "x-ms-examples": { + "List clusters in a given resource group": { + "$ref": "./examples/ListClustersByResourceGroup.json" + } + }, + "description": "List all HCI clusters in a resource group.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ClusterList" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}": { + "get": { + "tags": [ + "Clusters" + ], + "operationId": "Clusters_Get", + "x-ms-examples": { + "Get cluster": { + "$ref": "./examples/GetCluster.json" + } + }, + "description": "Get HCI cluster.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ClusterNameParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Cluster" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + } + }, + "put": { + "tags": [ + "Clusters" + ], + "operationId": "Clusters_Create", + "x-ms-examples": { + "Create cluster": { + "$ref": "./examples/CreateCluster.json" + } + }, + "description": "Create an HCI cluster.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ClusterNameParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "cluster", + "in": "body", + "description": "Details of the HCI cluster.", + "required": true, + "schema": { + "$ref": "#/definitions/Cluster" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Cluster" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + } + }, + "patch": { + "tags": [ + "Clusters" + ], + "operationId": "Clusters_Update", + "x-ms-examples": { + "Update cluster": { + "$ref": "./examples/UpdateCluster.json" + } + }, + "description": "Update an HCI cluster.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ClusterNameParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "cluster", + "in": "body", + "description": "Details of the HCI cluster.", + "required": true, + "schema": { + "$ref": "#/definitions/ClusterPatch" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Cluster" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + } + }, + "delete": { + "tags": [ + "Clusters" + ], + "operationId": "Clusters_Delete", + "x-ms-examples": { + "Delete cluster": { + "$ref": "./examples/DeleteCluster.json" + } + }, + "description": "Delete an HCI cluster.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ClusterNameParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "202": { + "description": "Accepted" + }, + "204": { + "description": "No content" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}/updateSecretsLocations": { + "post": { + "operationId": "Clusters_UpdateSecretsLocations", + "tags": [ + "Clusters" + ], + "description": "Update cluster secrets locations.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "clusterName", + "in": "path", + "description": "The name of the cluster.", + "required": true, + "type": "string" + }, + { + "name": "body", + "in": "body", + "description": "The content of the action request", + "required": true, + "schema": { + "$ref": "#/definitions/SecretsLocationsChangeRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Cluster" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Update secrets locations for a Cluster": { + "$ref": "./examples/Clusters_UpdateSecretsLocations.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}/uploadCertificate": { + "post": { + "tags": [ + "Cluster" + ], + "operationId": "Clusters_UploadCertificate", + "x-ms-examples": { + "Upload certificate": { + "$ref": "./examples/UploadCertificate.json" + } + }, + "description": "Upload certificate.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ClusterNameParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "uploadCertificateRequest", + "in": "body", + "description": "Upload certificate request.", + "required": true, + "schema": { + "$ref": "#/definitions/UploadCertificateRequest" + } + } + ], + "responses": { + "202": { + "description": "Accepted" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}/createClusterIdentity": { + "post": { + "tags": [ + "Cluster" + ], + "operationId": "Clusters_CreateIdentity", + "description": "Create cluster identity.", + "x-ms-examples": { + "Create cluster Identity": { + "$ref": "./examples/CreateClusterIdentity.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ClusterNameParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ClusterIdentityResponse" + } + }, + "202": { + "description": "Accepted" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}/extendSoftwareAssuranceBenefit": { + "post": { + "tags": [ + "Cluster" + ], + "operationId": "Clusters_ExtendSoftwareAssuranceBenefit", + "description": "Extends Software Assurance Benefit to a cluster", + "x-ms-examples": { + "Create cluster Identity": { + "$ref": "./examples/ExtendSoftwareAssuranceBenefit.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ClusterNameParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "softwareAssuranceChangeRequest", + "in": "body", + "description": "Software Assurance Change Request Payload", + "required": true, + "schema": { + "$ref": "#/definitions/SoftwareAssuranceChangeRequest" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Cluster" + } + }, + "202": { + "description": "Accepted" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}/changeRing": { + "post": { + "tags": [ + "Cluster" + ], + "operationId": "Clusters_ChangeRing", + "description": "Changes ring of a cluster", + "x-ms-examples": { + "Change cluster ring": { + "$ref": "./examples/ChangeClusterRing.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ClusterNameParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "changeRingRequest", + "in": "body", + "description": "Change ring request payload", + "required": true, + "schema": { + "$ref": "#/definitions/ChangeRingRequest" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Cluster" + } + }, + "202": { + "description": "Accepted", + "headers": { + "Location": { + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}/triggerLogCollection": { + "post": { + "tags": [ + "Cluster" + ], + "operationId": "Clusters_TriggerLogCollection", + "description": "Trigger Log Collection on a cluster", + "x-ms-examples": { + "Trigger Log Collection": { + "$ref": "./examples/TriggerLogCollection.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ClusterNameParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "logCollectionRequest", + "in": "body", + "description": "Trigger Log Collection Request Payload", + "required": true, + "schema": { + "$ref": "#/definitions/LogCollectionRequest" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Cluster" + } + }, + "202": { + "description": "Accepted", + "headers": { + "Location": { + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}/configureRemoteSupport": { + "post": { + "tags": [ + "Cluster" + ], + "operationId": "Clusters_ConfigureRemoteSupport", + "description": "Configure RemoteSupport on a cluster", + "x-ms-examples": { + "Configure Remote Support": { + "$ref": "./examples/ConfigureRemoteSupport.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ClusterNameParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "remoteSupportRequest", + "in": "body", + "description": "Configure Remote Support Request Payload", + "required": true, + "schema": { + "$ref": "#/definitions/RemoteSupportRequest" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Cluster" + } + }, + "202": { + "description": "Accepted", + "headers": { + "Location": { + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + } + }, + "definitions": { + "ClusterList": { + "description": "List of clusters.", + "type": "object", + "properties": { + "value": { + "description": "List of clusters.", + "type": "array", + "items": { + "$ref": "#/definitions/Cluster" + } + }, + "nextLink": { + "description": "Link to the next set of results.", + "type": "string", + "readOnly": true + } + } + }, + "Cluster": { + "description": "Cluster details.", + "type": "object", + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" + } + ], + "properties": { + "identity": { + "description": "Identity of Cluster resource", + "$ref": "../../../../../../common-types/resource-management/v4/managedidentity.json#/definitions/ManagedServiceIdentity", + "x-ms-client-flatten": true + }, + "kind": { + "type": "string", + "description": "This property identifies the purpose of the Cluster deployment. For example, a valid value is AzureLocal", + "pattern": "^[-\\w\\._,\\(\\\\\\)]+$", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "properties": { + "description": "Cluster properties.", + "$ref": "#/definitions/ClusterProperties", + "x-ms-client-flatten": true + } + } + }, + "ClusterPatch": { + "description": "Cluster details to update.", + "type": "object", + "properties": { + "tags": { + "description": "Resource tags.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "identity": { + "description": "Identity of Cluster resource", + "$ref": "../../../../../../common-types/resource-management/v4/managedidentity.json#/definitions/ManagedServiceIdentity", + "x-ms-client-flatten": true + }, + "properties": { + "description": "Cluster properties.", + "$ref": "#/definitions/ClusterPatchProperties", + "x-ms-client-flatten": true + } + } + }, + "ClusterProperties": { + "description": "Cluster properties.", + "type": "object", + "properties": { + "provisioningState": { + "description": "Provisioning state. Indicates the current lifecycle status of the resource, including creation, update, deletion, connectivity, and error states.", + "type": "string", + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "Accepted", + "Provisioning", + "NotSpecified", + "Creating", + "Updating", + "Deleting", + "Moving", + "Deleted", + "PartiallySucceeded", + "InProgress", + "DisableInProgress", + "Connected", + "PartiallyConnected", + "Disconnected" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "The operation completed successfully." + }, + { + "name": "Failed", + "value": "Failed", + "description": "The operation failed." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "The operation was canceled before completion." + }, + { + "name": "Accepted", + "value": "Accepted", + "description": "The operation has been accepted and is pending execution." + }, + { + "name": "Provisioning", + "value": "Provisioning", + "description": "The resource is currently being provisioned." + }, + { + "name": "NotSpecified", + "value": "NotSpecified", + "description": "The provisioning state is not specified." + }, + { + "name": "Creating", + "value": "Creating", + "description": "The resource is being created." + }, + { + "name": "Updating", + "value": "Updating", + "description": "The resource is being updated." + }, + { + "name": "Deleting", + "value": "Deleting", + "description": "The resource is being deleted." + }, + { + "name": "Moving", + "value": "Moving", + "description": "The resource is being moved." + }, + { + "name": "Deleted", + "value": "Deleted", + "description": "The resource has been deleted." + }, + { + "name": "PartiallySucceeded", + "value": "PartiallySucceeded", + "description": "The operation partially succeeded." + }, + { + "name": "InProgress", + "value": "InProgress", + "description": "The operation is currently in progress." + }, + { + "name": "DisableInProgress", + "value": "DisableInProgress", + "description": "The resource is in the process of being disabled." + }, + { + "name": "Connected", + "value": "Connected", + "description": "The resource is connected." + }, + { + "name": "PartiallyConnected", + "value": "PartiallyConnected", + "description": "The resource is partially connected." + }, + { + "name": "Disconnected", + "value": "Disconnected", + "description": "The resource is disconnected." + } + ] + }, + "readOnly": true + }, + "status": { + "description": "Status of the cluster agent. Indicates the current connectivity, validation, and deployment state of the agent within the cluster.", + "type": "string", + "enum": [ + "NotYetRegistered", + "ConnectedRecently", + "NotConnectedRecently", + "Disconnected", + "Error", + "NotSpecified", + "ValidationInProgress", + "ValidationSuccess", + "ValidationFailed", + "DeploymentInProgress", + "DeploymentFailed", + "DeploymentSuccess" + ], + "x-ms-enum": { + "name": "Status", + "modelAsString": true, + "values": [ + { + "name": "NotYetRegistered", + "value": "NotYetRegistered", + "description": "The cluster agent has not yet registered with Azure." + }, + { + "name": "ConnectedRecently", + "value": "ConnectedRecently", + "description": "The cluster agent has connected to Azure recently." + }, + { + "name": "NotConnectedRecently", + "value": "NotConnectedRecently", + "description": "The cluster agent has not connected to Azure recently." + }, + { + "name": "Disconnected", + "value": "Disconnected", + "description": "The cluster agent is currently disconnected from Azure." + }, + { + "name": "Error", + "value": "Error", + "description": "An error occurred in the cluster agent's operation." + }, + { + "name": "NotSpecified", + "value": "NotSpecified", + "description": "The status of the cluster agent is not specified." + }, + { + "name": "ValidationInProgress", + "value": "ValidationInProgress", + "description": "Validation of the cluster agent is currently in progress." + }, + { + "name": "ValidationSuccess", + "value": "ValidationSuccess", + "description": "Validation of the cluster agent completed successfully." + }, + { + "name": "ValidationFailed", + "value": "ValidationFailed", + "description": "Validation of the cluster agent failed." + }, + { + "name": "DeploymentInProgress", + "value": "DeploymentInProgress", + "description": "Deployment of the cluster agent is currently in progress." + }, + { + "name": "DeploymentFailed", + "value": "DeploymentFailed", + "description": "Deployment of the cluster agent failed." + }, + { + "name": "DeploymentSuccess", + "value": "DeploymentSuccess", + "description": "Deployment of the cluster agent completed successfully." + } + ] + }, + "readOnly": true + }, + "connectivityStatus": { + "description": "Overall connectivity status for the cluster resource. Indicates whether the cluster is connected to Azure, partially connected, or has not recently communicated.", + "type": "string", + "enum": [ + "NotYetRegistered", + "Connected", + "NotConnectedRecently", + "PartiallyConnected", + "Disconnected", + "NotSpecified" + ], + "x-ms-enum": { + "name": "ConnectivityStatus", + "modelAsString": true, + "values": [ + { + "name": "NotYetRegistered", + "value": "NotYetRegistered", + "description": "The cluster has not yet registered with Azure." + }, + { + "name": "Connected", + "value": "Connected", + "description": "The cluster is fully connected to Azure." + }, + { + "name": "NotConnectedRecently", + "value": "NotConnectedRecently", + "description": "The cluster has not connected to Azure recently." + }, + { + "name": "PartiallyConnected", + "value": "PartiallyConnected", + "description": "Some components of the cluster are connected, while others are not." + }, + { + "name": "Disconnected", + "value": "Disconnected", + "description": "The cluster is not connected to Azure." + }, + { + "name": "NotSpecified", + "value": "NotSpecified", + "description": "The connectivity status is not specified." + } + ] + }, + "readOnly": true + }, + "supportStatus": { + "description": "Indicates whether the cluster is under support.", + "type": "string", + "enum": [ + "InSupport", + "OutOfSupport", + "NotSpecified" + ], + "x-ms-enum": { + "name": "SupportStatus", + "modelAsString": true, + "values": [ + { + "name": "InSupport", + "value": "InSupport", + "description": "The cluster is under support." + }, + { + "name": "OutOfSupport", + "value": "OutOfSupport", + "description": "The cluster is out of support." + }, + { + "name": "NotSpecified", + "value": "NotSpecified", + "description": "The support status is not specified." + } + ] + }, + "readOnly": true + }, + "cloudId": { + "description": "Unique, immutable resource id.", + "type": "string", + "readOnly": true + }, + "ring": { + "description": "The ring to which this cluster belongs to.", + "type": "string", + "readOnly": true + }, + "cloudManagementEndpoint": { + "description": "Endpoint configured for management from the Azure portal.", + "type": "string" + }, + "aadClientId": { + "description": "App id of cluster AAD identity.", + "type": "string" + }, + "aadTenantId": { + "description": "Tenant id of cluster AAD identity.", + "type": "string" + }, + "aadApplicationObjectId": { + "description": "Object id of cluster AAD identity.", + "type": "string" + }, + "aadServicePrincipalObjectId": { + "description": "Id of cluster identity service principal.", + "type": "string" + }, + "softwareAssuranceProperties": { + "description": "Software Assurance properties of the cluster.", + "$ref": "#/definitions/SoftwareAssuranceProperties" + }, + "isManagementCluster": { + "type": "boolean", + "description": "Is Management Cluster, when true indicates that the cluster is used for managing other clusters", + "readOnly": true + }, + "logCollectionProperties": { + "description": "Log Collection properties of the cluster.", + "$ref": "#/definitions/LogCollectionProperties" + }, + "remoteSupportProperties": { + "description": "RemoteSupport properties of the cluster.", + "$ref": "#/definitions/RemoteSupportProperties" + }, + "desiredProperties": { + "description": "Desired properties of the cluster.", + "$ref": "#/definitions/ClusterDesiredProperties" + }, + "reportedProperties": { + "description": "Properties reported by cluster agent.", + "$ref": "#/definitions/ClusterReportedProperties", + "readOnly": true + }, + "isolatedVmAttestationConfiguration": { + "description": "Attestation configurations for isolated VM (e.g. TVM, CVM) of the cluster.", + "$ref": "#/definitions/IsolatedVmAttestationConfiguration", + "readOnly": true + }, + "trialDaysRemaining": { + "description": "Number of days remaining in the trial period.", + "type": "number", + "readOnly": true + }, + "billingModel": { + "description": "Type of billing applied to the resource.", + "type": "string", + "readOnly": true + }, + "registrationTimestamp": { + "description": "First cluster sync timestamp.", + "type": "string", + "format": "date-time", + "readOnly": true + }, + "lastSyncTimestamp": { + "description": "Most recent cluster sync timestamp.", + "type": "string", + "format": "date-time", + "readOnly": true + }, + "lastBillingTimestamp": { + "description": "Most recent billing meter timestamp.", + "type": "string", + "format": "date-time", + "readOnly": true + }, + "serviceEndpoint": { + "description": "Region specific DataPath Endpoint of the cluster.", + "type": "string", + "readOnly": true + }, + "resourceProviderObjectId": { + "description": "Object id of RP Service Principal", + "type": "string", + "readOnly": true + }, + "secretsLocations": { + "type": "array", + "description": "List of secret locations.", + "items": { + "$ref": "#/definitions/SecretsLocationDetails" + }, + "x-ms-identifiers": [] + }, + "clusterPattern": { + "$ref": "./hciCommon.json#/definitions/ClusterPattern", + "description": "Supported Storage Type for HCI Cluster", + "readOnly": true + }, + "localAvailabilityZones": { + "type": "array", + "description": "Local Availability Zone information for HCI cluster", + "items": { + "$ref": "./hciCommon.json#/definitions/LocalAvailabilityZones" + }, + "x-ms-identifiers": [ + "localAvailabilityZoneName" + ] + }, + "identityProvider": { + "type": "string", + "description": "Identity Provider for the cluster", + "default": "ActiveDirectory", + "enum": [ + "ActiveDirectory", + "LocalIdentity" + ], + "x-ms-enum": { + "name": "IdentityProvider", + "modelAsString": true, + "values": [ + { + "name": "ActiveDirectory", + "value": "ActiveDirectory", + "description": "Uses Active Directory as the identity provider, enabling domain-based authentication and centralized identity management. This is the default option." + }, + { + "name": "LocalIdentity", + "value": "LocalIdentity", + "description": "Uses a local identity system integrated with Azure Key Vault for authentication. Suitable for AD-less environments where Active Directory is not available or required." + } + ] + }, + "readOnly": true + } + } + }, + "ClusterPatchProperties": { + "description": "Cluster properties.", + "type": "object", + "properties": { + "cloudManagementEndpoint": { + "description": "Endpoint configured for management from the Azure portal", + "type": "string" + }, + "aadClientId": { + "description": "App id of cluster AAD identity.", + "type": "string" + }, + "aadTenantId": { + "description": "Tenant id of cluster AAD identity.", + "type": "string" + }, + "desiredProperties": { + "description": "Desired properties of the cluster.", + "$ref": "#/definitions/ClusterDesiredProperties" + } + } + }, + "LogCollectionProperties": { + "description": "Log Collection properties of the cluster.", + "type": "object", + "properties": { + "fromDate": { + "description": "From DateTimeStamp from when logs need to be connected", + "type": "string", + "format": "date-time", + "readOnly": true + }, + "toDate": { + "description": "To DateTimeStamp till when logs need to be connected", + "type": "string", + "format": "date-time", + "readOnly": true + }, + "lastLogGenerated": { + "description": "Recent DateTimeStamp where logs are successfully generated", + "type": "string", + "format": "date-time", + "readOnly": true + }, + "logCollectionSessionDetails": { + "type": "array", + "items": { + "$ref": "#/definitions/LogCollectionSession" + }, + "readOnly": true + } + } + }, + "LogCollectionSession": { + "description": "Log Collection Session details of the cluster.", + "type": "object", + "properties": { + "logStartTime": { + "description": "Start Time of the logs when it was collected", + "type": "string", + "format": "date-time", + "readOnly": true + }, + "logEndTime": { + "description": "End Time of the logs when it was collected", + "type": "string", + "format": "date-time", + "readOnly": true + }, + "timeCollected": { + "description": "Duration of logs collected", + "type": "string", + "format": "date-time", + "readOnly": true + }, + "logSize": { + "description": "Size of the logs collected", + "type": "integer", + "format": "int64", + "readOnly": true + }, + "logCollectionStatus": { + "description": "LogCollection status", + "type": "string", + "enum": [ + "None", + "InProgress", + "Failed", + "Succeeded" + ], + "x-ms-enum": { + "name": "LogCollectionStatus", + "modelAsString": true, + "values": [ + { + "name": "None", + "value": "None", + "description": "No log collection has been initiated." + }, + { + "name": "InProgress", + "value": "InProgress", + "description": "Log collection is currently in progress." + }, + { + "name": "Failed", + "value": "Failed", + "description": "Log collection has failed." + }, + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Log collection completed successfully." + } + ] + }, + "readOnly": true + }, + "correlationId": { + "description": "CorrelationId of the log collection", + "type": "string", + "readOnly": true + }, + "logCollectionJobType": { + "description": "Specifies the type of log collection job. Determines whether the logs are collected immediately on demand or as part of a scheduled operation.", + "type": "string", + "enum": [ + "OnDemand", + "Scheduled" + ], + "x-ms-enum": { + "name": "LogCollectionJobType", + "modelAsString": true, + "values": [ + { + "name": "OnDemand", + "value": "OnDemand", + "description": "Log collection is triggered manually and executed immediately." + }, + { + "name": "Scheduled", + "value": "Scheduled", + "description": "Log collection is scheduled to run at a predefined time or interval." + } + ] + }, + "readOnly": true + }, + "endTimeCollected": { + "description": "End Time of the logs when it was collected", + "type": "string", + "format": "date-time", + "readOnly": true + }, + "logCollectionError": { + "$ref": "#/definitions/LogCollectionError", + "readOnly": true + } + } + }, + "AccessLevel": { + "description": "Remote Support Access Level", + "type": "string", + "enum": [ + "Diagnostics", + "DiagnosticsAndRepair" + ], + "x-ms-enum": { + "name": "AccessLevel", + "modelAsString": true, + "values": [ + { + "name": "Diagnostics", + "value": "Diagnostics", + "description": "Allows remote diagnostics operations only." + }, + { + "name": "DiagnosticsAndRepair", + "value": "DiagnosticsAndRepair", + "description": "Allows both remote diagnostics and repair operations." + } + ] + } + }, + "LogCollectionError": { + "description": "Log Collection Error details of the cluster.", + "type": "object", + "properties": { + "errorCode": { + "description": "Error Code of the log collection", + "type": "string", + "readOnly": true + }, + "errorMessage": { + "description": "Error Message of the log collection", + "type": "string", + "readOnly": true + } + } + }, + "RemoteSupportProperties": { + "description": "Remote Support properties of the cluster.", + "type": "object", + "properties": { + "accessLevel": { + "$ref": "#/definitions/AccessLevel", + "readOnly": true + }, + "expirationTimeStamp": { + "description": "Expiration DateTimeStamp when Remote Support Access will be expired", + "type": "string", + "format": "date-time", + "readOnly": true + }, + "remoteSupportType": { + "description": "Remote Support Type for cluster", + "type": "string", + "enum": [ + "Enable", + "Revoke" + ], + "x-ms-enum": { + "name": "RemoteSupportType", + "modelAsString": true, + "values": [ + { + "name": "Enable", + "value": "Enable", + "description": "Enable remote support for the cluster." + }, + { + "name": "Revoke", + "value": "Revoke", + "description": "Revoke previously enabled remote support for the cluster." + } + ] + }, + "readOnly": true + }, + "remoteSupportNodeSettings": { + "type": "array", + "items": { + "$ref": "#/definitions/RemoteSupportNodeSettings" + }, + "readOnly": true + }, + "remoteSupportSessionDetails": { + "type": "array", + "items": { + "$ref": "#/definitions/PerNodeRemoteSupportSession" + }, + "readOnly": true + } + } + }, + "RemoteSupportNodeSettings": { + "description": "Remote Support Node Settings of the cluster.", + "type": "object", + "properties": { + "arcResourceId": { + "description": "Arc ResourceId of the Node", + "type": "string", + "readOnly": true + }, + "state": { + "description": "Remote Support Access Connection State on the Node", + "type": "string", + "readOnly": true + }, + "createdAt": { + "description": "Remote Support Enablement Request Created TimeStamp on the Node", + "type": "string", + "format": "date-time", + "readOnly": true + }, + "updatedAt": { + "description": "Remote Support Enablement Request Updated TimeStamp on the Node", + "type": "string", + "format": "date-time", + "readOnly": true + }, + "connectionStatus": { + "description": "Remote Support Access Connection Status on the Node", + "type": "string", + "readOnly": true + }, + "connectionErrorMessage": { + "description": "Remote Support Access Connection Error Message on the Node", + "type": "string", + "readOnly": true + }, + "transcriptLocation": { + "description": "Remote Support Transcript location on the node", + "type": "string", + "readOnly": true + } + } + }, + "PerNodeRemoteSupportSession": { + "description": "Remote Support Node Session Details on the Node.", + "type": "object", + "properties": { + "sessionStartTime": { + "description": "Remote Support Session StartTime on the Node", + "type": "string", + "format": "date-time", + "readOnly": true + }, + "sessionEndTime": { + "description": "Remote Support Session EndTime on the Node", + "type": "string", + "format": "date-time", + "readOnly": true + }, + "nodeName": { + "description": "Name of the node", + "type": "string", + "readOnly": true + }, + "duration": { + "description": "Duration of Remote Support Enablement", + "type": "integer", + "format": "int64", + "readOnly": true + }, + "accessLevel": { + "$ref": "#/definitions/AccessLevel", + "readOnly": true + } + } + }, + "SoftwareAssuranceProperties": { + "description": "Software Assurance properties of the cluster.", + "type": "object", + "properties": { + "softwareAssuranceStatus": { + "description": "Status of the Software Assurance for the cluster.", + "type": "string", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "SoftwareAssuranceStatus", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled", + "description": "Software Assurance is enabled for the cluster." + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "Software Assurance is disabled for the cluster." + } + ] + }, + "readOnly": true + }, + "softwareAssuranceIntent": { + "description": "Customer Intent for Software Assurance Benefit.", + "type": "string", + "enum": [ + "Enable", + "Disable" + ], + "x-ms-enum": { + "name": "SoftwareAssuranceIntent", + "modelAsString": true, + "values": [ + { + "name": "Enable", + "value": "Enable", + "description": "Customer intends to enable the Software Assurance benefit." + }, + { + "name": "Disable", + "value": "Disable", + "description": "Customer intends to disable the Software Assurance benefit." + } + ] + } + }, + "lastUpdated": { + "description": "TimeStamp denoting the latest SA benefit applicability is validated.", + "type": "string", + "format": "date-time", + "readOnly": true + } + } + }, + "IsolatedVmAttestationConfiguration": { + "description": "Attestation configurations for isolated VM (e.g. TVM, CVM) of the cluster.", + "type": "object", + "properties": { + "attestationResourceId": { + "description": "Fully qualified Azure resource id of the Microsoft Azure attestation resource associated with this cluster.", + "type": "string", + "format": "arm-id", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Attestation/attestationProviders", + "scopes": [ + "Tenant" + ] + } + ] + }, + "readOnly": true + }, + "relyingPartyServiceEndpoint": { + "description": "Region specific endpoint for relying party service.", + "type": "string", + "readOnly": true + }, + "attestationServiceEndpoint": { + "description": "Region specific endpoint for Microsoft Azure Attestation service for the cluster", + "type": "string", + "readOnly": true + } + } + }, + "ClusterDesiredProperties": { + "description": "Desired properties of the cluster.", + "type": "object", + "properties": { + "windowsServerSubscription": { + "description": "Desired state of Windows Server Subscription.", + "type": "string", + "enum": [ + "Disabled", + "Enabled" + ], + "x-ms-enum": { + "name": "WindowsServerSubscription", + "modelAsString": true, + "values": [ + { + "name": "Disabled", + "value": "Disabled", + "description": "Windows Server Subscription is disabled." + }, + { + "name": "Enabled", + "value": "Enabled", + "description": "Windows Server Subscription is enabled." + } + ] + } + }, + "diagnosticLevel": { + "description": "Desired level of diagnostic data emitted by the cluster.", + "type": "string", + "enum": [ + "Off", + "Basic", + "Enhanced" + ], + "x-ms-enum": { + "name": "DiagnosticLevel", + "modelAsString": true, + "values": [ + { + "name": "Off", + "value": "Off", + "description": "No diagnostic data will be emitted." + }, + { + "name": "Basic", + "value": "Basic", + "description": "Basic diagnostic data will be emitted, including essential health metrics." + }, + { + "name": "Enhanced", + "value": "Enhanced", + "description": "Enhanced diagnostic data will be emitted, including detailed performance and usage metrics." + } + ] + } + } + } + }, + "ClusterReportedProperties": { + "description": "Properties reported by cluster agent.", + "type": "object", + "properties": { + "clusterName": { + "description": "Name of the on-prem cluster connected to this resource.", + "type": "string", + "readOnly": true + }, + "clusterId": { + "description": "Unique id generated by the on-prem cluster.", + "type": "string", + "readOnly": true + }, + "clusterVersion": { + "description": "Version of the cluster software.", + "type": "string", + "readOnly": true + }, + "nodes": { + "description": "List of nodes reported by the cluster.", + "type": "array", + "items": { + "$ref": "#/definitions/ClusterNode" + }, + "readOnly": true + }, + "lastUpdated": { + "description": "Last time the cluster reported the data.", + "type": "string", + "format": "date-time", + "readOnly": true + }, + "msiExpirationTimeStamp": { + "description": "Specifies the expiration timestamp of the cluster's Managed Service Identity (MSI). The value is expressed in Coordinated Universal Time (UTC).", + "type": "string", + "format": "date-time", + "readOnly": true + }, + "imdsAttestation": { + "description": "IMDS attestation status of the cluster.", + "type": "string", + "enum": [ + "Disabled", + "Enabled" + ], + "x-ms-enum": { + "name": "ImdsAttestation", + "modelAsString": true, + "values": [ + { + "name": "Disabled", + "value": "Disabled", + "description": "IMDS attestation is disabled for the cluster." + }, + { + "name": "Enabled", + "value": "Enabled", + "description": "IMDS attestation is enabled for the cluster." + } + ] + }, + "readOnly": true + }, + "diagnosticLevel": { + "description": "Level of diagnostic data emitted by the cluster.", + "type": "string", + "enum": [ + "Off", + "Basic", + "Enhanced" + ], + "x-ms-enum": { + "name": "DiagnosticLevel", + "modelAsString": true, + "values": [ + { + "name": "Off", + "value": "Off", + "description": "No diagnostic data will be emitted." + }, + { + "name": "Basic", + "value": "Basic", + "description": "Basic diagnostic data will be emitted, including essential health metrics." + }, + { + "name": "Enhanced", + "value": "Enhanced", + "description": "Enhanced diagnostic data will be emitted, including detailed performance and usage metrics." + } + ] + } + }, + "supportedCapabilities": { + "description": "Capabilities supported by the cluster.", + "type": "array", + "readOnly": true, + "items": { + "type": "string" + } + }, + "clusterType": { + "description": "Specifies the type of hardware vendor for all nodes in the cluster. Indicates whether the nodes are provided by Microsoft or a third-party vendor.", + "type": "string", + "enum": [ + "FirstParty", + "ThirdParty" + ], + "x-ms-enum": { + "name": "ClusterNodeType", + "modelAsString": true, + "values": [ + { + "name": "FirstParty", + "value": "FirstParty", + "description": "All nodes in the cluster are provided and managed by Microsoft." + }, + { + "name": "ThirdParty", + "value": "ThirdParty", + "description": "All nodes in the cluster are provided and managed by a third-party vendor." + } + ] + }, + "readOnly": true + }, + "manufacturer": { + "description": "The manufacturer of all the nodes of the cluster.", + "type": "string", + "readOnly": true + }, + "oemActivation": { + "description": "OEM activation status of the cluster.", + "type": "string", + "enum": [ + "Disabled", + "Enabled" + ], + "x-ms-enum": { + "name": "OemActivation", + "modelAsString": true, + "values": [ + { + "name": "Disabled", + "value": "Disabled", + "description": "OEM activation is disabled for the cluster." + }, + { + "name": "Enabled", + "value": "Enabled", + "description": "OEM activation is enabled for the cluster." + } + ] + }, + "readOnly": true + }, + "hardwareClass": { + "$ref": "./hciCommon.json#/definitions/HardwareClass", + "description": "Hardware class of the cluster.", + "readOnly": true + } + } + }, + "ClusterNode": { + "description": "Cluster node details.", + "type": "object", + "properties": { + "name": { + "description": "Name of the cluster node.", + "type": "string", + "readOnly": true + }, + "id": { + "description": "Id of the node in the cluster.", + "type": "number", + "readOnly": true + }, + "windowsServerSubscription": { + "description": "State of Windows Server Subscription.", + "type": "string", + "enum": [ + "Disabled", + "Enabled" + ], + "x-ms-enum": { + "name": "WindowsServerSubscription", + "modelAsString": true, + "values": [ + { + "name": "Disabled", + "value": "Disabled", + "description": "Windows Server Subscription is disabled." + }, + { + "name": "Enabled", + "value": "Enabled", + "description": "Windows Server Subscription is enabled." + } + ] + }, + "readOnly": true + }, + "nodeType": { + "description": "Type of the cluster node hardware.", + "type": "string", + "enum": [ + "FirstParty", + "ThirdParty" + ], + "x-ms-enum": { + "name": "ClusterNodeType", + "modelAsString": true, + "values": [ + { + "name": "FirstParty", + "value": "FirstParty", + "description": "Cluster nodes are provided and managed by Microsoft." + }, + { + "name": "ThirdParty", + "value": "ThirdParty", + "description": "Cluster nodes are provided and managed by a third-party vendor." + } + ] + }, + "readOnly": true + }, + "ehcResourceId": { + "description": "Edge Hardware Center Resource Id", + "type": "string", + "readOnly": true + }, + "manufacturer": { + "description": "Manufacturer of the cluster node hardware.", + "type": "string", + "readOnly": true + }, + "model": { + "description": "Model name of the cluster node hardware.", + "type": "string", + "readOnly": true + }, + "osName": { + "description": "Operating system running on the cluster node.", + "type": "string", + "readOnly": true + }, + "osVersion": { + "description": "Version of the operating system running on the cluster node.", + "type": "string", + "readOnly": true + }, + "osDisplayVersion": { + "description": "Display version of the operating system running on the cluster node.", + "type": "string", + "readOnly": true + }, + "serialNumber": { + "description": "Immutable id of the cluster node.", + "type": "string", + "readOnly": true + }, + "coreCount": { + "description": "Number of physical cores on the cluster node.", + "type": "number", + "readOnly": true + }, + "memoryInGiB": { + "description": "Total available memory on the cluster node (in GiB).", + "type": "number", + "readOnly": true + }, + "lastLicensingTimestamp": { + "description": "Most recent licensing timestamp.", + "type": "string", + "format": "date-time", + "readOnly": true + }, + "oemActivation": { + "description": "OEM activation status of the node.", + "type": "string", + "enum": [ + "Disabled", + "Enabled" + ], + "x-ms-enum": { + "name": "OemActivation", + "modelAsString": true, + "values": [ + { + "name": "Disabled", + "value": "Disabled", + "description": "OEM activation is disabled for the node." + }, + { + "name": "Enabled", + "value": "Enabled", + "description": "OEM activation is enabled for the node." + } + ] + }, + "readOnly": true + } + } + }, + "RawCertificateData": { + "type": "object", + "properties": { + "certificates": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "additionalProperties": false + }, + "UploadCertificateRequest": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/RawCertificateData" + } + }, + "additionalProperties": false + }, + "LogCollectionRequestProperties": { + "description": "Properties for Log Collection Request", + "type": "object", + "properties": { + "fromDate": { + "description": "From DateTimeStamp from when logs need to be connected", + "type": "string", + "format": "date-time" + }, + "toDate": { + "description": "To DateTimeStamp till when logs need to be connected", + "type": "string", + "format": "date-time" + } + }, + "required": [ + "fromDate", + "toDate" + ], + "additionalProperties": false + }, + "RemoteSupportRequestProperties": { + "description": "Properties for Remote Support Request", + "type": "object", + "properties": { + "accessLevel": { + "$ref": "#/definitions/AccessLevel", + "readOnly": true + }, + "expirationTimeStamp": { + "description": "Expiration DateTimeStamp when Remote Support Access will be expired", + "type": "string", + "format": "date-time" + }, + "remoteSupportType": { + "description": "Remote Support Type for cluster", + "type": "string", + "enum": [ + "Enable", + "Revoke" + ], + "x-ms-enum": { + "name": "RemoteSupportType", + "modelAsString": true, + "values": [ + { + "name": "Enable", + "value": "Enable", + "description": "Enable remote support for the cluster." + }, + { + "name": "Revoke", + "value": "Revoke", + "description": "Revoke previously enabled remote support for the cluster." + } + ] + } + } + }, + "additionalProperties": false + }, + "SecretsLocationDetails": { + "type": "object", + "description": "Secrets location details", + "properties": { + "secretsType": { + "$ref": "#/definitions/SecretsType", + "description": "Type of secrets to store" + }, + "secretsLocation": { + "type": "string", + "description": "secrets location" + } + }, + "required": [ + "secretsType", + "secretsLocation" + ] + }, + "SecretsLocationsChangeRequest": { + "type": "object", + "description": "Update secrets locations change Request.", + "properties": { + "properties": { + "type": "array", + "description": "List of secret locations", + "items": { + "$ref": "#/definitions/SecretsLocationDetails" + }, + "x-ms-identifiers": [] + } + } + }, + "SecretsType": { + "type": "string", + "description": "Type of secrets to store", + "enum": [ + "BackupSecrets" + ], + "x-ms-enum": { + "name": "SecretsType", + "modelAsString": true, + "values": [ + { + "name": "BackupSecrets", + "value": "BackupSecrets", + "description": "Backup secrets type" + } + ] + } + }, + "SoftwareAssuranceChangeRequestProperties": { + "type": "object", + "properties": { + "softwareAssuranceIntent": { + "type": "string", + "description": "Customer Intent for Software Assurance Benefit. This indicates whether the customer wishes to opt in or out of the Software Assurance program, which provides licensing and support benefits.", + "enum": [ + "Enable", + "Disable" + ], + "x-ms-enum": { + "name": "SoftwareAssuranceIntent", + "modelAsString": true, + "values": [ + { + "name": "Enable", + "value": "Enable", + "description": "Customer intends to enable the Software Assurance benefit." + }, + { + "name": "Disable", + "value": "Disable", + "description": "Customer intends to disable the Software Assurance benefit." + } + ] + } + } + }, + "additionalProperties": false + }, + "SoftwareAssuranceChangeRequest": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/SoftwareAssuranceChangeRequestProperties" + } + }, + "additionalProperties": false + }, + "LogCollectionRequest": { + "description": "Log Collection Request", + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/LogCollectionRequestProperties" + } + }, + "additionalProperties": false + }, + "RemoteSupportRequest": { + "description": "Remote Support Request", + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/RemoteSupportRequestProperties" + } + }, + "additionalProperties": false + }, + "ChangeRingRequestProperties": { + "type": "object", + "properties": { + "targetRing": { + "type": "string", + "description": "The target ring for the cluster." + } + }, + "additionalProperties": false + }, + "ChangeRingRequest": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/ChangeRingRequestProperties" + } + }, + "additionalProperties": false + }, + "ClusterIdentityResponse": { + "description": "Cluster Identity details.", + "type": "object", + "properties": { + "properties": { + "description": "Cluster identity properties.", + "$ref": "#/definitions/ClusterIdentityResponseProperties", + "x-ms-client-flatten": true + } + } + }, + "ClusterIdentityResponseProperties": { + "type": "object", + "properties": { + "aadClientId": { + "type": "string" + }, + "aadTenantId": { + "type": "string" + }, + "aadServicePrincipalObjectId": { + "type": "string" + }, + "aadApplicationObjectId": { + "type": "string" + } + }, + "additionalProperties": false, + "readOnly": true + } + }, + "parameters": { + "ClusterNameParameter": { + "name": "clusterName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the cluster.", + "x-ms-parameter-location": "method" + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/deploymentSettings.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/deploymentSettings.json new file mode 100644 index 000000000000..03c362ce3001 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/deploymentSettings.json @@ -0,0 +1,1131 @@ +{ + "swagger": "2.0", + "info": { + "title": "Deployment Settings", + "version": "2025-11-01-preview", + "description": "Azure Stack HCI Deployment Settings." + }, + "schemes": [ + "https" + ], + "host": "management.azure.com", + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "description": "Microsoft Entra ID OAuth 2.0 Flow.", + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "tags": [ + { + "name": "DeploymentSettings" + } + ], + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}/deploymentSettings": { + "get": { + "operationId": "DeploymentSettings_ListByClusters", + "tags": [ + "DeploymentSettings" + ], + "description": "List DeploymentSetting resources by Clusters", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ClusterNameParameter" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/DeploymentSettingListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List Deployment Settings": { + "$ref": "./examples/ListDeploymentSettingsByCluster.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}/deploymentSettings/{deploymentSettingsName}": { + "get": { + "operationId": "DeploymentSettings_Get", + "tags": [ + "DeploymentSettings" + ], + "description": "Get a DeploymentSetting", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ClusterNameParameter" + }, + { + "name": "deploymentSettingsName", + "in": "path", + "description": "Name of Deployment Setting", + "required": true, + "type": "string", + "default": "default", + "pattern": "^[a-zA-Z0-9-]{3,24}$" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/DeploymentSetting" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Deployment Settings": { + "$ref": "./examples/GetDeploymentSettings.json" + } + } + }, + "put": { + "operationId": "DeploymentSettings_CreateOrUpdate", + "tags": [ + "DeploymentSettings" + ], + "description": "Create a DeploymentSetting", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ClusterNameParameter" + }, + { + "name": "deploymentSettingsName", + "in": "path", + "description": "Name of Deployment Setting", + "required": true, + "type": "string", + "default": "default", + "pattern": "^[a-zA-Z0-9-]{3,24}$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/DeploymentSetting" + } + } + ], + "responses": { + "200": { + "description": "Resource 'DeploymentSetting' update operation succeeded", + "schema": { + "$ref": "#/definitions/DeploymentSetting" + } + }, + "201": { + "description": "Resource 'DeploymentSetting' create operation succeeded", + "schema": { + "$ref": "#/definitions/DeploymentSetting" + }, + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Create Deployment Settings": { + "$ref": "./examples/PutDeploymentSettings.json" + }, + "Create Deployment Settings Without Active Directory Integration": { + "$ref": "./examples/PutDeploymentSettingsWithADLess.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "DeploymentSettings_Delete", + "tags": [ + "DeploymentSettings" + ], + "description": "Delete a DeploymentSetting", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ClusterNameParameter" + }, + { + "name": "deploymentSettingsName", + "in": "path", + "description": "Name of Deployment Setting", + "required": true, + "type": "string", + "default": "default", + "pattern": "^[a-zA-Z0-9-]{3,24}$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "204": { + "description": "Resource deleted successfully." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Delete Deployment Settings": { + "$ref": "./examples/DeleteDeploymentSettings.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + } + }, + "definitions": { + "AdapterPropertyOverrides": { + "type": "object", + "description": "The AdapterPropertyOverrides of a cluster.", + "properties": { + "jumboPacket": { + "type": "string", + "description": "This parameter should only be modified based on your OEM guidance. Do not modify this parameter without OEM validation." + }, + "networkDirect": { + "type": "string", + "description": "This parameter should only be modified based on your OEM guidance. Do not modify this parameter without OEM validation." + }, + "networkDirectTechnology": { + "type": "string", + "description": "This parameter should only be modified based on your OEM guidance. Do not modify this parameter without OEM validation. Expected values are 'iWARP', 'RoCEv2', 'RoCE'" + } + } + }, + "DeploymentCluster": { + "type": "object", + "description": "AzureStackHCI Cluster deployment properties.", + "properties": { + "name": { + "type": "string", + "description": "The cluster name provided when preparing Active Directory." + }, + "witnessType": { + "type": "string", + "description": "Use a cloud witness if you have internet access and if you use an Azure Storage account to provide a vote on cluster quorum. A cloud witness uses Azure Blob Storage to read or write a blob file and then uses it to arbitrate in split-brain resolution. Only allowed values are 'Cloud', 'FileShare'. " + }, + "witnessPath": { + "type": "string", + "description": "Specify the fileshare path for the local witness for your Azure Stack HCI cluster." + }, + "cloudAccountName": { + "type": "string", + "description": "Specify the Azure Storage account name for cloud witness for your Azure Stack HCI cluster." + }, + "azureServiceEndpoint": { + "type": "string", + "description": "For Azure blob service endpoint type, select either Default or Custom domain. If you selected **Custom domain, enter the domain for the blob service in this format core.windows.net." + }, + "hardwareClass": { + "$ref": "./hciCommon.json#/definitions/HardwareClass", + "description": "Hardware class of the cluster.", + "readOnly": true + }, + "clusterPattern": { + "$ref": "./hciCommon.json#/definitions/ClusterPattern", + "description": "Cluster Pattern supported." + } + } + }, + "DeploymentConfiguration": { + "type": "object", + "description": "Deployment Configuration", + "properties": { + "version": { + "type": "string", + "description": "deployment template version " + }, + "scaleUnits": { + "type": "array", + "description": "Scale units will contains list of deployment data", + "items": { + "$ref": "#/definitions/ScaleUnits" + }, + "x-ms-identifiers": [] + } + }, + "required": [ + "scaleUnits" + ] + }, + "DeploymentData": { + "type": "object", + "description": "The Deployment data of AzureStackHCI Cluster.", + "properties": { + "securitySettings": { + "$ref": "#/definitions/DeploymentSecuritySettings", + "description": "SecuritySettings to deploy AzureStackHCI Cluster." + }, + "observability": { + "$ref": "#/definitions/Observability", + "description": "Observability config to deploy AzureStackHCI Cluster." + }, + "cluster": { + "$ref": "#/definitions/DeploymentCluster", + "description": "Observability config to deploy AzureStackHCI Cluster." + }, + "identityProvider": { + "$ref": "./hciCommon.json#/definitions/IdentityProvider", + "description": "Identity Provider for the cluster" + }, + "storage": { + "$ref": "#/definitions/Storage", + "description": "Storage config to deploy AzureStackHCI Cluster." + }, + "namingPrefix": { + "type": "string", + "description": "naming prefix to deploy cluster.", + "pattern": "^[a-zA-Z0-9-]{1,8}$" + }, + "domainFqdn": { + "type": "string", + "description": "FQDN to deploy cluster" + }, + "infrastructureNetwork": { + "type": "array", + "description": "InfrastructureNetwork config to deploy AzureStackHCI Cluster.", + "items": { + "$ref": "#/definitions/InfrastructureNetwork" + }, + "x-ms-identifiers": [] + }, + "physicalNodes": { + "type": "array", + "description": "list of physical nodes config to deploy AzureStackHCI Cluster.", + "items": { + "$ref": "#/definitions/PhysicalNodes" + }, + "x-ms-identifiers": [ + "name" + ] + }, + "hostNetwork": { + "$ref": "#/definitions/HostNetwork", + "description": "HostNetwork config to deploy AzureStackHCI Cluster." + }, + "sdnIntegration": { + "$ref": "#/definitions/SdnIntegration", + "description": "SDN Integration config to deploy AzureStackHCI Cluster." + }, + "isManagementCluster": { + "type": "boolean", + "description": "Is Management Cluster, when true indicates that the cluster is used for managing other clusters" + }, + "adouPath": { + "type": "string", + "description": "The path to the Active Directory Organizational Unit container object prepared for the deployment. " + }, + "secretsLocation": { + "type": "string", + "description": "Azure key vault endpoint. This property is deprecated from 2023-12-01-preview. Please use secrets property instead." + }, + "secrets": { + "type": "array", + "description": "secrets used for cloud deployment.", + "items": { + "$ref": "./hciCommon.json#/definitions/EceDeploymentSecrets" + }, + "x-ms-identifiers": [ + "secretName" + ] + }, + "optionalServices": { + "$ref": "#/definitions/OptionalServices", + "description": "OptionalServices config to deploy AzureStackHCI Cluster." + }, + "localAvailabilityZones": { + "type": "array", + "items": { + "$ref": "./hciCommon.json#/definitions/LocalAvailabilityZones" + }, + "description": "Local Availability Zone information for HCI cluster", + "x-ms-identifiers": [ + "localAvailabilityZoneName" + ] + }, + "assemblyInfo": { + "$ref": "#/definitions/AssemblyInfo", + "description": "Assembly Package details for Validated Solution Recipe for AzureStackHCI Cluster" + } + } + }, + "DeploymentSetting": { + "type": "object", + "description": "Edge device resource", + "properties": { + "properties": { + "$ref": "#/definitions/DeploymentSettingsProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true, + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + ] + }, + "DeploymentSettingListResult": { + "type": "object", + "description": "The response of a DeploymentSetting list operation.", + "properties": { + "value": { + "type": "array", + "description": "The DeploymentSetting items on this page", + "items": { + "$ref": "#/definitions/DeploymentSetting" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "DeploymentSettingsProperties": { + "type": "object", + "description": "DeploymentSetting properties", + "properties": { + "provisioningState": { + "$ref": "./hciCommon.json#/definitions/ProvisioningState", + "description": "DeploymentSetting provisioning state", + "readOnly": true + }, + "arcNodeResourceIds": { + "type": "array", + "description": "Azure resource ids of Arc machines to be part of cluster.", + "items": { + "type": "string" + }, + "x-ms-identifiers": [] + }, + "deploymentMode": { + "$ref": "./hciCommon.json#/definitions/DeploymentMode", + "description": "The deployment mode for cluster deployment." + }, + "operationType": { + "type": "string", + "description": "The intended operation for a cluster.", + "enum": [ + "ClusterProvisioning", + "ClusterUpgrade" + ], + "default": "ClusterProvisioning", + "x-ms-enum": { + "name": "OperationType", + "modelAsString": true, + "values": [ + { + "name": "ClusterProvisioning", + "value": "ClusterProvisioning", + "description": "Cluster provisioning operation." + }, + { + "name": "ClusterUpgrade", + "value": "ClusterUpgrade", + "description": "Cluster upgrade operation." + } + ] + } + }, + "deploymentConfiguration": { + "$ref": "#/definitions/DeploymentConfiguration", + "description": "Scale units will contains list of deployment data", + "x-ms-identifiers": [] + }, + "reportedProperties": { + "$ref": "./hciCommon.json#/definitions/EceReportedProperties", + "description": "Deployment Status reported from cluster.", + "readOnly": true + } + }, + "required": [ + "arcNodeResourceIds", + "deploymentMode", + "deploymentConfiguration" + ] + }, + "HostNetwork": { + "type": "object", + "description": "The HostNetwork of a cluster.", + "properties": { + "intents": { + "type": "array", + "description": "The network intents assigned to the network reference pattern used for the deployment. Each intent will define its own name, traffic type, adapter names, and overrides as recommended by your OEM.", + "items": { + "$ref": "#/definitions/Intents" + }, + "x-ms-identifiers": [ + "name" + ] + }, + "storageNetworks": { + "type": "array", + "description": "List of StorageNetworks config to deploy AzureStackHCI Cluster.", + "items": { + "$ref": "#/definitions/StorageNetworks" + }, + "x-ms-identifiers": [ + "name" + ] + }, + "storageConnectivitySwitchless": { + "type": "boolean", + "description": "Defines how the storage adapters between nodes are connected either switch or switch less..", + "default": false + }, + "enableStorageAutoIp": { + "type": "boolean", + "description": "Optional parameter required only for 3 Nodes Switchless deployments. This allows users to specify IPs and Mask for Storage NICs when Network ATC is not assigning the IPs for storage automatically.", + "default": false + } + } + }, + "InfrastructureNetwork": { + "type": "object", + "description": "The InfrastructureNetwork of a AzureStackHCI Cluster.", + "properties": { + "subnetMask": { + "type": "string", + "description": "Subnet mask that matches the provided IP address space." + }, + "gateway": { + "type": "string", + "description": "Default gateway that should be used for the provided IP address space." + }, + "ipPools": { + "type": "array", + "description": "Range of IP addresses from which addresses are allocated for nodes within a subnet.", + "items": { + "$ref": "#/definitions/IpPools" + }, + "x-ms-identifiers": [] + }, + "dnsServerConfig": { + "type": "string", + "description": "Specifies how DNS servers are configured for the infrastructure network. Allowed values are 'UseDnsServer' to use the provided DNS servers, and 'UseForwarder' to use DNS forwarders.", + "enum": [ + "UseDnsServer", + "UseForwarder" + ], + "default": "UseDnsServer", + "x-ms-enum": { + "name": "DnsServerConfig", + "modelAsString": true, + "values": [ + { + "name": "UseDnsServer", + "value": "UseDnsServer", + "description": "Use the provided DNS servers for the infrastructure network." + }, + { + "name": "UseForwarder", + "value": "UseForwarder", + "description": "Use DNS forwarders for the infrastructure network." + } + ] + } + }, + "dnsZones": { + "type": "array", + "description": "Details of the DNS Zones to be configured.", + "items": { + "$ref": "#/definitions/DnsZones" + }, + "x-ms-identifiers": [ + "dnsZoneName" + ] + }, + "dnsServers": { + "type": "array", + "description": "IPv4 address of the DNS servers in your environment.", + "items": { + "type": "string" + } + }, + "useDhcp": { + "type": "boolean", + "description": "Allows customers to use DHCP for Hosts and Cluster IPs. If not declared, the deployment will default to static IPs. When true, GW and DNS servers are not required" + } + } + }, + "Intents": { + "type": "object", + "description": "The Intents of a cluster.", + "properties": { + "name": { + "type": "string", + "description": "Name of the network intent you wish to create." + }, + "trafficType": { + "type": "array", + "description": "List of network traffic types. Only allowed values are 'Compute', 'Storage', 'Management'.", + "items": { + "type": "string" + } + }, + "adapter": { + "type": "array", + "description": "Array of network interfaces used for the network intent.", + "items": { + "type": "string" + } + }, + "overrideVirtualSwitchConfiguration": { + "type": "boolean", + "description": "This parameter should only be modified based on your OEM guidance. Do not modify this parameter without OEM validation.", + "default": false + }, + "virtualSwitchConfigurationOverrides": { + "$ref": "#/definitions/VirtualSwitchConfigurationOverrides", + "description": "Set virtualSwitch ConfigurationOverrides for cluster." + }, + "overrideQosPolicy": { + "type": "boolean", + "description": "This parameter should only be modified based on your OEM guidance. Do not modify this parameter without OEM validation.", + "default": false + }, + "qosPolicyOverrides": { + "$ref": "#/definitions/QosPolicyOverrides", + "description": "Set QoS PolicyOverrides for cluster." + }, + "overrideAdapterProperty": { + "type": "boolean", + "description": "This parameter should only be modified based on your OEM guidance. Do not modify this parameter without OEM validation.", + "default": false + }, + "adapterPropertyOverrides": { + "$ref": "#/definitions/AdapterPropertyOverrides", + "description": "Set Adapter PropertyOverrides for cluster." + } + } + }, + "IpPools": { + "type": "object", + "description": "The dnsServers of a device.", + "properties": { + "startingAddress": { + "type": "string", + "description": "Starting IP address for the management network. A minimum of six free, contiguous IPv4 addresses (excluding your host IPs) are needed for infrastructure services such as clustering." + }, + "endingAddress": { + "type": "string", + "description": "Ending IP address for the management network. A minimum of six free, contiguous IPv4 addresses (excluding your host IPs) are needed for infrastructure services such as clustering." + } + } + }, + "DnsZones": { + "type": "object", + "description": "Details of the DNS Zones to be configured.", + "properties": { + "dnsZoneName": { + "type": "string", + "description": "Name of the DNS Zone to be configured." + }, + "dnsForwarder": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Forwarder details of the DNS Zone to be configured." + } + } + }, + "NetworkController": { + "type": "object", + "description": "network controller config for SDN Integration to deploy AzureStackHCI Cluster.", + "properties": { + "macAddressPoolStart": { + "type": "string", + "description": "macAddressPoolStart of network controller used for SDN Integration." + }, + "macAddressPoolStop": { + "type": "string", + "description": "macAddressPoolStop of network controller used for SDN Integration." + }, + "networkVirtualizationEnabled": { + "type": "boolean", + "description": "NetworkVirtualizationEnabled of network controller used for SDN Integration." + } + } + }, + "Observability": { + "type": "object", + "description": "The Observability of AzureStackHCI Cluster.", + "properties": { + "streamingDataClient": { + "type": "boolean", + "description": "Enables telemetry data to be sent to Microsoft", + "default": true + }, + "euLocation": { + "type": "boolean", + "description": "Location of your cluster. The log and diagnostic data is sent to the appropriate diagnostics servers depending upon where your cluster resides. Setting this to false results in all data sent to Microsoft to be stored outside of the EU.", + "default": false + }, + "episodicDataUpload": { + "type": "boolean", + "description": "When set to true, collects log data to facilitate quicker issue resolution.", + "default": true + } + } + }, + "OptionalServices": { + "type": "object", + "description": "The OptionalServices of AzureStackHCI Cluster.", + "properties": { + "customLocation": { + "type": "string", + "description": "The name of custom location." + } + } + }, + "AssemblyInfo": { + "type": "object", + "description": "Assembly Package details for Validated Solution Recipe for AzureStackHCI Cluster", + "properties": { + "packageVersion": { + "type": "string", + "description": "Assembly Package version for Validated Solution Recipe for AzureStackHCI Cluster", + "readOnly": true + }, + "payload": { + "type": "array", + "description": "Payload properties for Validated Solution Recipe for AzureStackHCI Cluster", + "items": { + "$ref": "#/definitions/AssemblyInfoPayload" + }, + "readOnly": true, + "x-ms-identifiers": [] + } + } + }, + "AssemblyInfoPayload": { + "type": "object", + "description": "Payload properties for Validated Solution Recipe for AzureStackHCI Cluster", + "properties": { + "identifier": { + "type": "string", + "description": "assembly identifier for Validated Solution Recipe for AzureStackHCI Cluster", + "readOnly": true + }, + "hash": { + "type": "string", + "description": "Hash of assembly package for Validated Solution Recipe for AzureStackHCI Cluster", + "readOnly": true + }, + "fileName": { + "type": "string", + "description": "File name of assembly package for Validated Solution Recipe for AzureStackHCI Cluster", + "readOnly": true + }, + "url": { + "type": "string", + "description": "Url of assembly package for Validated Solution Recipe for AzureStackHCI Cluster", + "readOnly": true + } + } + }, + "PhysicalNodes": { + "type": "object", + "description": "The PhysicalNodes of a cluster.", + "properties": { + "name": { + "type": "string", + "description": "NETBIOS name of each physical server on your Azure Stack HCI cluster." + }, + "ipv4Address": { + "type": "string", + "description": "The IPv4 address assigned to each physical server on your Azure Stack HCI cluster." + } + } + }, + "QosPolicyOverrides": { + "type": "object", + "description": "The QoSPolicyOverrides of a cluster.", + "properties": { + "priorityValue8021Action_Cluster": { + "type": "string", + "description": "This parameter should only be modified based on your OEM guidance. Do not modify this parameter without OEM validation." + }, + "priorityValue8021Action_SMB": { + "type": "string", + "description": "This parameter should only be modified based on your OEM guidance. Do not modify this parameter without OEM validation." + }, + "bandwidthPercentage_SMB": { + "type": "string", + "description": "This parameter should only be modified based on your OEM guidance. Do not modify this parameter without OEM validation." + } + } + }, + "SbePartnerInfo": { + "type": "object", + "description": "The solution builder extension (SBE) partner deployment info for cluster.", + "properties": { + "sbeDeploymentInfo": { + "$ref": "#/definitions/SbeDeploymentInfo", + "description": "SBE package and manifest information for the solution Builder Extension staged for AzureStackHCI cluster deployment." + }, + "partnerProperties": { + "type": "array", + "description": "List of SBE partner properties for AzureStackHCI cluster deployment.", + "items": { + "$ref": "#/definitions/SbePartnerProperties" + }, + "x-ms-identifiers": [] + }, + "credentialList": { + "type": "array", + "description": "SBE credentials list for AzureStackHCI cluster deployment.", + "items": { + "$ref": "#/definitions/SbeCredentials" + }, + "x-ms-identifiers": [ + "secretName" + ] + } + } + }, + "SbeDeploymentInfo": { + "type": "object", + "description": "Solution builder extension (SBE) package and manifest information for the solution builder extension staged for AzureStackHCI cluster deployment.", + "properties": { + "version": { + "type": "string", + "description": "SBE package version." + }, + "family": { + "type": "string", + "description": "SBE family name." + }, + "publisher": { + "type": "string", + "description": "SBE manifest publisher." + }, + "sbeManifestSource": { + "type": "string", + "description": "SBE Manifest Source." + }, + "sbeManifestCreationDate": { + "type": "string", + "format": "date-time", + "description": "SBE Manifest Creation Date." + } + } + }, + "SbePartnerProperties": { + "type": "object", + "description": "Solution builder extension (SBE) partner properties object.", + "properties": { + "name": { + "type": "string", + "description": "SBE partner property name." + }, + "value": { + "type": "string", + "description": "SBE partner property value." + } + } + }, + "SbeCredentials": { + "type": "object", + "description": "secrets used for solution builder extension (SBE) partner extensibility.", + "properties": { + "secretName": { + "type": "string", + "description": "secret name stored in keyvault." + }, + "eceSecretName": { + "type": "string", + "description": "secret name expected for Enterprise Cloud Engine (ECE)." + }, + "secretLocation": { + "type": "string", + "format": "uri", + "description": "secret URI stored in keyvault." + } + } + }, + "ScaleUnits": { + "type": "object", + "description": "Scale units will contains list of deployment data", + "properties": { + "deploymentData": { + "$ref": "#/definitions/DeploymentData", + "description": "Deployment Data to deploy AzureStackHCI Cluster." + }, + "sbePartnerInfo": { + "$ref": "#/definitions/SbePartnerInfo", + "description": "Solution builder extension (SBE) partner properties" + } + }, + "required": [ + "deploymentData" + ], + "externalDocs": { + "description": "Deploy Azure Stack HCI using an existing configuration file", + "url": "https://learn.microsoft.com/en-us/azure-stack/hci/deploy/deployment-tool-existing-file" + } + }, + "SdnIntegration": { + "type": "object", + "description": "SDN Integration config to deploy AzureStackHCI Cluster.", + "properties": { + "networkController": { + "$ref": "#/definitions/NetworkController", + "description": "network controller config for SDN Integration to deploy AzureStackHCI Cluster." + } + } + }, + "DeploymentSecuritySettings": { + "type": "object", + "description": "The SecuritySettings of AzureStackHCI Cluster.", + "properties": { + "hvciProtection": { + "type": "boolean", + "description": "By default, Hypervisor-protected Code Integrity is enabled on your Azure HCI cluster.", + "default": true + }, + "drtmProtection": { + "type": "boolean", + "description": "By default, Secure Boot is enabled on your Azure HCI cluster. This setting is hardware dependent.", + "default": true + }, + "driftControlEnforced": { + "type": "boolean", + "description": "When set to true, the security baseline is re-applied regularly.", + "default": true + }, + "credentialGuardEnforced": { + "type": "boolean", + "description": "When set to true, Credential Guard is enabled.", + "default": false + }, + "smbSigningEnforced": { + "type": "boolean", + "description": "When set to true, the SMB default instance requires sign in for the client and server services.", + "default": true + }, + "smbClusterEncryption": { + "type": "boolean", + "description": "When set to true, cluster east-west traffic is encrypted.", + "default": false + }, + "sideChannelMitigationEnforced": { + "type": "boolean", + "description": "When set to true, all the side channel mitigations are enabled", + "default": true + }, + "bitlockerBootVolume": { + "type": "boolean", + "description": "When set to true, BitLocker XTS_AES 256-bit encryption is enabled for all data-at-rest on the OS volume of your Azure Stack HCI cluster. This setting is TPM-hardware dependent. ", + "default": true + }, + "bitlockerDataVolumes": { + "type": "boolean", + "description": "When set to true, BitLocker XTS-AES 256-bit encryption is enabled for all data-at-rest on your Azure Stack HCI cluster shared volumes.", + "default": true + }, + "wdacEnforced": { + "type": "boolean", + "description": "WDAC is enabled by default and limits the applications and the code that you can run on your Azure Stack HCI cluster.", + "default": true + } + } + }, + "Storage": { + "type": "object", + "description": "The Storage config of AzureStackHCI Cluster.", + "properties": { + "configurationMode": { + "type": "string", + "description": "By default, this mode is set to Express and your storage is configured as per best practices based on the number of nodes in the cluster. Allowed values are 'Express','InfraOnly', 'KeepStorage'", + "default": "Express" + } + } + }, + "StorageAdapterIPInfo": { + "type": "object", + "description": "The StorageAdapter physical nodes of a cluster.", + "properties": { + "physicalNode": { + "type": "string", + "description": "storage adapter physical node name." + }, + "ipv4Address": { + "type": "string", + "description": "The IPv4 address assigned to each storage adapter physical node on your Azure Stack HCI cluster." + }, + "subnetMask": { + "type": "string", + "description": "The SubnetMask address assigned to each storage adapter physical node on your Azure Stack HCI cluster." + } + } + }, + "StorageNetworks": { + "type": "object", + "description": "The StorageNetworks of a cluster.", + "properties": { + "name": { + "type": "string", + "description": "Name of the storage network." + }, + "networkAdapterName": { + "type": "string", + "description": "Name of the storage network adapter." + }, + "vlanId": { + "type": "string", + "description": "ID specified for the VLAN storage network. This setting is applied to the network interfaces that route the storage and VM migration traffic. " + }, + "storageAdapterIPInfo": { + "type": "array", + "description": "List of Storage adapter physical nodes config to deploy AzureStackHCI Cluster.", + "items": { + "$ref": "#/definitions/StorageAdapterIPInfo" + }, + "x-ms-identifiers": [ + "physicalNode" + ] + } + } + }, + "VirtualSwitchConfigurationOverrides": { + "type": "object", + "description": "The VirtualSwitchConfigurationOverrides of a cluster.", + "properties": { + "enableIov": { + "type": "string", + "description": "Enable IoV for Virtual Switch" + }, + "loadBalancingAlgorithm": { + "type": "string", + "description": "Load Balancing Algorithm for Virtual Switch" + } + } + } + }, + "parameters": { + "ClusterNameParameter": { + "name": "clusterName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the cluster.", + "x-ms-parameter-location": "method" + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/edgeDeviceJobs.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/edgeDeviceJobs.json new file mode 100644 index 000000000000..642d0f5cc8ff --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/edgeDeviceJobs.json @@ -0,0 +1,1150 @@ +{ + "swagger": "2.0", + "info": { + "title": "Microsoft.AzureStackHCI", + "version": "2025-11-01-preview", + "description": "A EdgeDevice" + }, + "schemes": [ + "https" + ], + "host": "management.azure.com", + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "description": "Microsoft Entra ID OAuth 2.0 Flow.", + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "tags": [ + { + "name": "EdgeDeviceJobs" + } + ], + "paths": { + "/{resourceUri}/providers/Microsoft.AzureStackHCI/edgeDevices/{edgeDeviceName}/jobs": { + "get": { + "operationId": "EdgeDeviceJobs_ListByEdgeDevice", + "tags": [ + "EdgeDeviceJobs" + ], + "description": "List EdgeDeviceJob resources by EdgeDevice", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" + }, + { + "name": "edgeDeviceName", + "in": "path", + "description": "The name of the EdgeDevice", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9-]{3,24}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EdgeDeviceJobListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EdgeDeviceJobs_ListByEdgeDevice": { + "$ref": "./examples/EdgeDeviceJobs_ListByEdgeDevice.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/{resourceUri}/providers/Microsoft.AzureStackHCI/edgeDevices/{edgeDeviceName}/jobs/{jobsName}": { + "get": { + "operationId": "EdgeDeviceJobs_Get", + "tags": [ + "EdgeDeviceJobs" + ], + "description": "Get a EdgeDeviceJob", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" + }, + { + "name": "edgeDeviceName", + "in": "path", + "description": "The name of the EdgeDevice", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9-]{3,24}$" + }, + { + "name": "jobsName", + "in": "path", + "description": "Name of EdgeDevice Job", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9-]{3,24}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EdgeDeviceJob" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EdgeDeviceJobs_Get_RemoteSupport": { + "$ref": "./examples/EdgeDeviceJobs_Get_RemoteSupport.json" + } + } + }, + "put": { + "operationId": "EdgeDeviceJobs_CreateOrUpdate", + "tags": [ + "EdgeDeviceJobs" + ], + "description": "Create a EdgeDeviceJob", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" + }, + { + "name": "edgeDeviceName", + "in": "path", + "description": "The name of the EdgeDevice", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9-]{3,24}$" + }, + { + "name": "jobsName", + "in": "path", + "description": "Name of EdgeDevice Job", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9-]{3,24}$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/EdgeDeviceJob" + } + } + ], + "responses": { + "200": { + "description": "Resource 'EdgeDeviceJob' update operation succeeded", + "schema": { + "$ref": "#/definitions/EdgeDeviceJob" + } + }, + "201": { + "description": "Resource 'EdgeDeviceJob' create operation succeeded", + "schema": { + "$ref": "#/definitions/EdgeDeviceJob" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EdgeDeviceJobs_CreateOrUpdate_CollectLog": { + "$ref": "./examples/EdgeDeviceJobs_CreateOrUpdate_CollectLog.json" + }, + "EdgeDeviceJobs_CreateOrUpdate_RemoteSupport": { + "$ref": "./examples/EdgeDeviceJobs_CreateOrUpdate_RemoteSupport.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "EdgeDeviceJobs_Delete", + "tags": [ + "EdgeDeviceJobs" + ], + "description": "Delete a EdgeDeviceJob", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" + }, + { + "name": "edgeDeviceName", + "in": "path", + "description": "The name of the EdgeDevice", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9-]{3,24}$" + }, + { + "name": "jobsName", + "in": "path", + "description": "Name of EdgeDevice Job", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9-]{3,24}$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EdgeDeviceJobs_Delete": { + "$ref": "./examples/EdgeDeviceJobs_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + } + }, + "definitions": { + "CollectLogJobProperties": { + "type": "object", + "description": "Represents the properties of a log collection job.", + "properties": { + "fromDate": { + "type": "string", + "format": "date-time", + "description": "From date for log collection." + }, + "toDate": { + "type": "string", + "format": "date-time", + "description": "To date for log collection." + }, + "lastLogGenerated": { + "type": "string", + "format": "date-time", + "description": "To date for log collection.", + "readOnly": true + }, + "reportedProperties": { + "$ref": "#/definitions/LogCollectionReportedProperties", + "description": "log collection job reported properties.", + "readOnly": true + } + }, + "required": [ + "fromDate", + "toDate" + ] + }, + "DeploymentMode": { + "type": "string", + "description": "Deployment mode to trigger job.", + "enum": [ + "Validate", + "Deploy" + ], + "x-ms-enum": { + "name": "DeploymentMode", + "modelAsString": true, + "values": [ + { + "name": "Validate", + "value": "Validate", + "description": "Validate ECE action deployment for a cluster." + }, + { + "name": "Deploy", + "value": "Deploy", + "description": "Deploy ECE action deployment for a cluster." + } + ] + } + }, + "DeviceLogCollectionStatus": { + "type": "string", + "description": "Represents the status of a log collection operation.", + "enum": [ + "NotStarted", + "Running", + "Failed", + "Succeeded", + "Canceled" + ], + "x-ms-enum": { + "name": "DeviceLogCollectionStatus", + "modelAsString": true, + "values": [ + { + "name": "NotStarted", + "value": "NotStarted", + "description": "Log collection operation has not been initiated." + }, + { + "name": "Running", + "value": "Running", + "description": "Indicates that the log collection operation is currently running." + }, + { + "name": "Failed", + "value": "Failed", + "description": "Indicates that the log collection operation has failed." + }, + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Indicates that the log collection operation has completed successfully." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Indicates that the log collection operation has completed successfully." + } + ] + }, + "readOnly": true + }, + "EdgeDeviceJob": { + "type": "object", + "description": "EdgeDevice Jobs resource", + "properties": { + "kind": { + "$ref": "./hciCommon.json#/definitions/EdgeDeviceKind", + "description": "Edge Solution type to support polymorphic resource.", + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "discriminator": "kind", + "required": [ + "kind" + ], + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + ] + }, + "EdgeDeviceJobListResult": { + "type": "object", + "description": "The response of a EdgeDeviceJob list operation.", + "properties": { + "value": { + "type": "array", + "description": "The EdgeDeviceJob items on this page", + "items": { + "$ref": "#/definitions/EdgeDeviceJob" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "EdgeDeviceJobProperties": { + "type": "object", + "description": "Edge device job properties", + "properties": { + "deploymentMode": { + "$ref": "#/definitions/DeploymentMode", + "description": "Deployment mode to trigger job." + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Job provisioning state", + "readOnly": true + }, + "jobId": { + "type": "string", + "description": "Unique, immutable job id.", + "readOnly": true + }, + "startTimeUtc": { + "type": "string", + "format": "date-time", + "description": "The UTC date and time at which the job started.", + "readOnly": true + }, + "endTimeUtc": { + "type": "string", + "format": "date-time", + "description": "The UTC date and time at which the job completed.", + "readOnly": true + }, + "status": { + "$ref": "#/definitions/JobStatus", + "description": "Status of Edge device job.", + "readOnly": true + } + } + }, + "EdgeDeviceJobType": { + "type": "string", + "description": "Common Job Types supported.", + "enum": [ + "CollectLog", + "RemoteSupport" + ], + "x-ms-enum": { + "name": "EdgeDeviceJobType", + "modelAsString": true, + "values": [ + { + "name": "CollectLog", + "value": "CollectLog", + "description": "Job to collect logs from the device." + }, + { + "name": "RemoteSupport", + "value": "RemoteSupport", + "description": "Job to provide remote support to the device." + } + ] + } + }, + "EdgeSolutionType": { + "type": "string", + "description": "Edge solution type.", + "enum": [ + "WindowsServer" + ], + "x-ms-enum": { + "name": "EdgeSolutionType", + "modelAsString": true, + "values": [ + { + "name": "WindowsServer", + "value": "WindowsServer", + "description": "Edge solution for Windows based edge devices." + } + ] + } + }, + "HciCollectLogJobProperties": { + "type": "object", + "description": "Represents the properties of an HCI Collect Log job.", + "properties": { + "fromDate": { + "type": "string", + "format": "date-time", + "description": "From date for log collection." + }, + "toDate": { + "type": "string", + "format": "date-time", + "description": "To date for log collection." + }, + "lastLogGenerated": { + "type": "string", + "format": "date-time", + "description": "To date for log collection.", + "readOnly": true + }, + "reportedProperties": { + "$ref": "#/definitions/LogCollectionReportedProperties", + "description": "log collection job reported properties.", + "readOnly": true + } + }, + "required": [ + "fromDate", + "toDate" + ], + "allOf": [ + { + "$ref": "#/definitions/HciEdgeDeviceJobProperties" + } + ], + "x-ms-discriminator-value": "CollectLog" + }, + "HciEdgeDeviceJob": { + "type": "object", + "description": "Edge device job for Azure Stack HCI solution.", + "properties": { + "properties": { + "$ref": "#/definitions/HciEdgeDeviceJobProperties", + "description": "HCI Edge device job properties" + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "#/definitions/EdgeDeviceJob" + } + ], + "x-ms-discriminator-value": "HCI" + }, + "HciEdgeDeviceJobProperties": { + "type": "object", + "description": "HCI Edge device job properties", + "properties": { + "deploymentMode": { + "$ref": "#/definitions/DeploymentMode", + "description": "Deployment mode to trigger job." + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Job provisioning state", + "readOnly": true + }, + "jobId": { + "type": "string", + "description": "Unique, immutable job id.", + "readOnly": true + }, + "startTimeUtc": { + "type": "string", + "format": "date-time", + "description": "The UTC date and time at which the job started.", + "readOnly": true + }, + "endTimeUtc": { + "type": "string", + "format": "date-time", + "description": "The UTC date and time at which the job completed.", + "readOnly": true + }, + "status": { + "$ref": "#/definitions/JobStatus", + "description": "Status of Edge device job.", + "readOnly": true + }, + "jobType": { + "$ref": "#/definitions/HciEdgeDeviceJobType", + "description": "Job Type to support polymorphic resource.", + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "discriminator": "jobType", + "required": [ + "jobType" + ] + }, + "HciEdgeDeviceJobType": { + "type": "string", + "description": "Job Type supported.", + "enum": [ + "CollectLog", + "RemoteSupport" + ], + "x-ms-enum": { + "name": "HciEdgeDeviceJobType", + "modelAsString": true, + "values": [ + { + "name": "CollectLog", + "value": "CollectLog", + "description": "Job to collect logs from the device." + }, + { + "name": "RemoteSupport", + "value": "RemoteSupport", + "description": "Job to provide remote support to the device." + } + ] + } + }, + "HciRemoteSupportJobProperties": { + "type": "object", + "description": "Represents the properties of a remote support job for HCI.", + "properties": { + "accessLevel": { + "$ref": "#/definitions/RemoteSupportAccessLevel", + "description": "Remote support access level." + }, + "expirationTimestamp": { + "type": "string", + "format": "date-time", + "description": "Remote support expiration timestamp." + }, + "type": { + "$ref": "#/definitions/RemoteSupportType", + "description": "Remote support type." + }, + "reportedProperties": { + "$ref": "#/definitions/RemoteSupportJobReportedProperties", + "description": "log collection job reported properties.", + "readOnly": true + } + }, + "required": [ + "accessLevel", + "expirationTimestamp", + "type" + ], + "allOf": [ + { + "$ref": "#/definitions/HciEdgeDeviceJobProperties" + } + ], + "x-ms-discriminator-value": "RemoteSupport" + }, + "JobReportedProperties": { + "type": "object", + "description": "Reported Properties for job triggered from cloud.", + "properties": { + "percentComplete": { + "type": "integer", + "format": "int32", + "description": "The percentage of the job that is complete.", + "readOnly": true + }, + "validationStatus": { + "$ref": "./hciCommon.json#/definitions/EceActionStatus", + "description": "Validation status of job.", + "readOnly": true + }, + "deploymentStatus": { + "$ref": "./hciCommon.json#/definitions/EceActionStatus", + "description": "Deployment status of job.", + "readOnly": true + } + } + }, + "JobStatus": { + "type": "string", + "description": "Represents the various statuses a job can have throughout its lifecycle.", + "enum": [ + "NotSpecified", + "ValidationInProgress", + "ValidationSuccess", + "ValidationFailed", + "DeploymentInProgress", + "DeploymentFailed", + "DeploymentSuccess", + "Succeeded", + "Failed", + "Canceled", + "Paused", + "Scheduled" + ], + "x-ms-enum": { + "name": "JobStatus", + "modelAsString": true, + "values": [ + { + "name": "NotSpecified", + "value": "NotSpecified", + "description": "The job status has not been specified." + }, + { + "name": "ValidationInProgress", + "value": "ValidationInProgress", + "description": "The job is currently undergoing validation." + }, + { + "name": "ValidationSuccess", + "value": "ValidationSuccess", + "description": "The job has successfully passed validation." + }, + { + "name": "ValidationFailed", + "value": "ValidationFailed", + "description": "The job has failed validation." + }, + { + "name": "DeploymentInProgress", + "value": "DeploymentInProgress", + "description": "The job's deployment is currently in progress." + }, + { + "name": "DeploymentFailed", + "value": "DeploymentFailed", + "description": "The job's deployment has failed." + }, + { + "name": "DeploymentSuccess", + "value": "DeploymentSuccess", + "description": "The job has been successfully deployed." + }, + { + "name": "Succeeded", + "value": "Succeeded", + "description": "The job has succeeded." + }, + { + "name": "Failed", + "value": "Failed", + "description": "The job has failed." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "The job has been canceled." + }, + { + "name": "Paused", + "value": "Paused", + "description": "The job is paused." + }, + { + "name": "Scheduled", + "value": "Scheduled", + "description": "The job is scheduled to run." + } + ] + }, + "readOnly": true + }, + "LogCollectionReportedProperties": { + "type": "object", + "description": "Represents the reported properties of a log collection job.", + "properties": { + "percentComplete": { + "type": "integer", + "format": "int32", + "description": "The percentage of the job that is complete.", + "readOnly": true + }, + "validationStatus": { + "$ref": "./hciCommon.json#/definitions/EceActionStatus", + "description": "Validation status of job.", + "readOnly": true + }, + "deploymentStatus": { + "$ref": "./hciCommon.json#/definitions/EceActionStatus", + "description": "Deployment status of job.", + "readOnly": true + }, + "logCollectionSessionDetails": { + "type": "array", + "description": "Details of the log collection session.", + "items": { + "$ref": "#/definitions/LogCollectionJobSession" + }, + "readOnly": true, + "x-ms-identifiers": [ + "correlationId" + ] + } + } + }, + "LogCollectionJobSession": { + "type": "object", + "description": "Represents a session for collecting logs from an edge device.", + "properties": { + "startTime": { + "type": "string", + "description": "The timestamp when log collection started, in ISO 8601 format.", + "readOnly": true + }, + "endTime": { + "type": "string", + "description": "The timestamp when log collection ended, in ISO 8601 format.", + "readOnly": true + }, + "timeCollected": { + "type": "string", + "description": "The total time logs were collected for, in ISO 8601 duration format.", + "readOnly": true + }, + "logSize": { + "type": "integer", + "format": "int32", + "description": "The size of the collected logs in bytes.", + "readOnly": true + }, + "status": { + "$ref": "#/definitions/DeviceLogCollectionStatus", + "description": "The status of the log collection session.", + "readOnly": true + }, + "correlationId": { + "type": "string", + "description": "A unique identifier for correlating this log collection session with other operations or sessions.", + "readOnly": true + } + } + }, + "LogCollectionStatus": { + "type": "string", + "description": "Represents the status of a log collection operation.", + "enum": [ + "None", + "InProgress", + "Failed", + "Succeeded" + ], + "x-ms-enum": { + "name": "LogCollectionStatus", + "modelAsString": true, + "values": [ + { + "name": "None", + "value": "None", + "description": "Indicates that no log collection operation has been initiated." + }, + { + "name": "InProgress", + "value": "InProgress", + "description": "Indicates that the log collection operation is currently in progress." + }, + { + "name": "Failed", + "value": "Failed", + "description": "Indicates that the log collection operation has failed." + }, + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Indicates that the log collection operation has completed successfully." + } + ] + }, + "readOnly": true + }, + "ProvisioningState": { + "type": "string", + "description": "The provisioning state of a resource.", + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "NotSpecified", + "Provisioning", + "Updating", + "Deleting", + "Accepted" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Resource has been created." + }, + { + "name": "Failed", + "value": "Failed", + "description": "Resource creation failed." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Resource creation was canceled." + }, + { + "name": "NotSpecified", + "value": "NotSpecified", + "description": "The resource provision state is not specified" + }, + { + "name": "Provisioning", + "value": "Provisioning", + "description": "The resource is being provisioned" + }, + { + "name": "Updating", + "value": "Updating", + "description": "The resource is updating" + }, + { + "name": "Deleting", + "value": "Deleting", + "description": "The resource is being deleted" + }, + { + "name": "Accepted", + "value": "Accepted", + "description": "The resource create request has been accepted" + } + ] + }, + "readOnly": true + }, + "RemoteSupportAccessLevel": { + "type": "string", + "description": "Defines the level of remote support access granted.", + "enum": [ + "None", + "Diagnostics", + "DiagnosticsAndRepair" + ], + "x-ms-enum": { + "name": "RemoteSupportAccessLevel", + "modelAsString": true, + "values": [ + { + "name": "None", + "value": "None", + "description": "No remote support access is granted." + }, + { + "name": "Diagnostics", + "value": "Diagnostics", + "description": "Access is limited to diagnostics information only." + }, + { + "name": "DiagnosticsAndRepair", + "value": "DiagnosticsAndRepair", + "description": "Access includes diagnostics information and the ability to perform repairs." + } + ] + } + }, + "RemoteSupportJobProperties": { + "type": "object", + "description": "Represents the properties of a remote support job.", + "properties": { + "accessLevel": { + "$ref": "#/definitions/RemoteSupportAccessLevel", + "description": "Remote support access level." + }, + "expirationTimestamp": { + "type": "string", + "format": "date-time", + "description": "Remote support expiration timestamp." + }, + "type": { + "$ref": "#/definitions/RemoteSupportType", + "description": "Remote support type." + }, + "reportedProperties": { + "$ref": "#/definitions/RemoteSupportJobReportedProperties", + "description": "log collection job reported properties.", + "readOnly": true + } + }, + "required": [ + "accessLevel", + "expirationTimestamp", + "type" + ] + }, + "RemoteSupportJobNodeSettings": { + "type": "object", + "description": "Represents the settings of a remote support node.", + "properties": { + "state": { + "type": "string", + "description": "The state of the remote support node.", + "readOnly": true + }, + "createdAt": { + "type": "string", + "format": "date-time", + "description": "The timestamp when the node settings were created, in UTC.", + "readOnly": true + }, + "updatedAt": { + "type": "string", + "format": "date-time", + "description": "The timestamp when the node settings were last updated, in UTC.", + "readOnly": true + }, + "connectionStatus": { + "type": "string", + "description": "The current connection status of the remote support session.", + "readOnly": true + }, + "connectionErrorMessage": { + "type": "string", + "description": "The error message, if any, from the last connection attempt.", + "readOnly": true + } + } + }, + "RemoteSupportJobReportedProperties": { + "type": "object", + "description": "Represents the reported properties of a remote support job.", + "properties": { + "percentComplete": { + "type": "integer", + "format": "int32", + "description": "The percentage of the job that is complete.", + "readOnly": true + }, + "validationStatus": { + "$ref": "./hciCommon.json#/definitions/EceActionStatus", + "description": "Validation status of job.", + "readOnly": true + }, + "deploymentStatus": { + "$ref": "./hciCommon.json#/definitions/EceActionStatus", + "description": "Deployment status of job.", + "readOnly": true + }, + "nodeSettings": { + "$ref": "#/definitions/RemoteSupportJobNodeSettings", + "description": "Optional settings for configuring the node for remote support.", + "readOnly": true + }, + "sessionDetails": { + "type": "array", + "description": "Details of the remote support session.", + "items": { + "$ref": "#/definitions/RemoteSupportSession" + }, + "readOnly": true, + "x-ms-identifiers": [ + "sessionId" + ] + } + } + }, + "RemoteSupportSession": { + "type": "object", + "description": "Represents a remote support session.", + "properties": { + "sessionId": { + "type": "string", + "description": "Unique session Id.", + "readOnly": true + }, + "sessionStartTime": { + "type": "string", + "format": "date-time", + "description": "The start time of the remote support session, in UTC.", + "readOnly": true + }, + "sessionEndTime": { + "type": "string", + "format": "date-time", + "description": "The end time of the remote support session, in UTC.", + "readOnly": true + }, + "accessLevel": { + "$ref": "#/definitions/RemoteSupportAccessLevel", + "description": "The level of access granted during the remote support session.", + "readOnly": true + }, + "transcriptLocation": { + "type": "string", + "description": "The location where the session transcript is stored.", + "readOnly": true + } + } + }, + "RemoteSupportType": { + "type": "string", + "description": "Defines the type of remote support action to be performed on an edge device.", + "enum": [ + "Enable", + "Revoke" + ], + "x-ms-enum": { + "name": "RemoteSupportType", + "modelAsString": true, + "values": [ + { + "name": "Enable", + "value": "Enable", + "description": "Enables remote support for the edge device." + }, + { + "name": "Revoke", + "value": "Revoke", + "description": "Revokes previously granted remote support access for the edge device." + } + ] + } + } + }, + "parameters": { + "Azure.ResourceManager.ResourceUriParameter": { + "name": "resourceUri", + "in": "path", + "description": "The fully qualified Azure Resource manager identifier of the resource.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method", + "x-ms-skip-url-encoding": true + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/edgeDevices.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/edgeDevices.json new file mode 100644 index 000000000000..31d3730d5a11 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/edgeDevices.json @@ -0,0 +1,1320 @@ +{ + "swagger": "2.0", + "info": { + "title": "Edge Devices", + "version": "2025-11-01-preview", + "description": "Azure Arc-enabled Edge Device." + }, + "schemes": [ + "https" + ], + "host": "management.azure.com", + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "description": "Microsoft Entra ID OAuth 2.0 Flow.", + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "tags": [ + { + "name": "EdgeDevices" + } + ], + "paths": { + "/{resourceUri}/providers/Microsoft.AzureStackHCI/edgeDevices": { + "get": { + "operationId": "EdgeDevices_List", + "tags": [ + "EdgeDevices" + ], + "description": "List EdgeDevice resources by parent", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EdgeDeviceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List Edge Devices": { + "$ref": "./examples/ListEdgeDevices.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/{resourceUri}/providers/Microsoft.AzureStackHCI/edgeDevices/{edgeDeviceName}": { + "get": { + "operationId": "EdgeDevices_Get", + "tags": [ + "EdgeDevices" + ], + "description": "Get a EdgeDevice", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" + }, + { + "name": "edgeDeviceName", + "in": "path", + "description": "Name of Device", + "required": true, + "type": "string", + "default": "default", + "pattern": "^[a-zA-Z0-9-]{3,24}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EdgeDevice" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Edge Device": { + "$ref": "./examples/GetEdgeDevices.json" + } + } + }, + "put": { + "operationId": "EdgeDevices_CreateOrUpdate", + "tags": [ + "EdgeDevices" + ], + "description": "Create a EdgeDevice", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" + }, + { + "name": "edgeDeviceName", + "in": "path", + "description": "Name of Device", + "required": true, + "type": "string", + "default": "default", + "pattern": "^[a-zA-Z0-9-]{3,24}$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/EdgeDevice" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EdgeDevice" + } + }, + "201": { + "description": "Resource successfully created.", + "schema": { + "$ref": "#/definitions/EdgeDevice" + }, + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Create HCI Edge Device": { + "$ref": "./examples/CreateHciEdgeDevice.json" + } + } + }, + "delete": { + "operationId": "EdgeDevices_Delete", + "tags": [ + "EdgeDevices" + ], + "description": "Delete a EdgeDevice", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" + }, + { + "name": "edgeDeviceName", + "in": "path", + "description": "Name of Device", + "required": true, + "type": "string", + "default": "default", + "pattern": "^[a-zA-Z0-9-]{3,24}$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "204": { + "description": "Resource deleted successfully." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Delete Edge Devices": { + "$ref": "./examples/DeleteEdgeDevices.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/{resourceUri}/providers/Microsoft.AzureStackHCI/edgeDevices/{edgeDeviceName}/validate": { + "post": { + "operationId": "EdgeDevices_Validate", + "tags": [ + "EdgeDevices" + ], + "description": "A long-running resource action.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" + }, + { + "name": "edgeDeviceName", + "in": "path", + "description": "Name of Device", + "required": true, + "type": "string", + "default": "default", + "pattern": "^[a-zA-Z0-9-]{3,24}$" + }, + { + "name": "ValidateRequest", + "in": "body", + "description": "The content of the action request", + "required": true, + "schema": { + "$ref": "#/definitions/ValidateRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ValidateResponse" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Validate Edge Devices": { + "$ref": "./examples/ValidateEdgeDevices.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + } + }, + "definitions": { + "AdapterPropertyOverrides": { + "type": "object", + "description": "The AdapterPropertyOverrides of a cluster.", + "properties": { + "jumboPacket": { + "type": "string", + "description": "This parameter should only be modified based on your OEM guidance. Do not modify this parameter without OEM validation.", + "readOnly": true + }, + "networkDirect": { + "type": "string", + "description": "This parameter should only be modified based on your OEM guidance. Do not modify this parameter without OEM validation.", + "readOnly": true + }, + "networkDirectTechnology": { + "type": "string", + "description": "This parameter should only be modified based on your OEM guidance. Do not modify this parameter without OEM validation. Expected values are 'iWARP', 'RoCEv2', 'RoCE'", + "readOnly": true + } + } + }, + "ArcExtensionState": { + "type": "string", + "description": "Arc extension installation state.", + "enum": [ + "NotSpecified", + "Succeeded", + "Failed", + "Canceled", + "Accepted", + "Creating", + "Updating", + "Moving", + "Deleting", + "Deleted" + ], + "x-ms-enum": { + "name": "ArcExtensionState", + "modelAsString": true, + "values": [ + { + "name": "NotSpecified", + "value": "NotSpecified", + "description": "Arc extension state is not specified." + }, + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Arc extension state is Succeeded." + }, + { + "name": "Failed", + "value": "Failed", + "description": "Arc extension state is Failed." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Arc extension state is Canceled." + }, + { + "name": "Accepted", + "value": "Accepted", + "description": "Arc extension state is Accepted when extension installation triggered." + }, + { + "name": "Creating", + "value": "Creating", + "description": "Arc extension is in Creating State." + }, + { + "name": "Updating", + "value": "Updating", + "description": "Arc extension is in Updating State." + }, + { + "name": "Moving", + "value": "Moving", + "description": "Arc extension is in Moving State." + }, + { + "name": "Deleting", + "value": "Deleting", + "description": "Arc extension is in Deleting State." + }, + { + "name": "Deleted", + "value": "Deleted", + "description": "Arc extension is in Deleted State." + } + ] + } + }, + "DeviceConfiguration": { + "type": "object", + "description": "The device Configuration for edge device.", + "properties": { + "nicDetails": { + "type": "array", + "description": "NIC Details of device", + "items": { + "$ref": "#/definitions/NicDetail" + }, + "x-ms-identifiers": [ + "adapterName" + ] + }, + "deviceMetadata": { + "type": "string", + "description": "Device metadata details." + } + } + }, + "DeviceKind": { + "type": "string", + "description": "Edge device kind.", + "enum": [ + "HCI" + ], + "default": "HCI", + "x-ms-enum": { + "name": "DeviceKind", + "modelAsString": true, + "values": [ + { + "name": "HCI", + "value": "HCI", + "description": "Arc-enabled edge device with HCI OS." + } + ] + } + }, + "DeviceState": { + "type": "string", + "description": "The edge device state.", + "enum": [ + "NotSpecified", + "Connected", + "Disconnected", + "Repairing", + "Draining", + "InMaintenance", + "Resuming", + "Processing" + ], + "x-ms-enum": { + "name": "DeviceState", + "modelAsString": true, + "values": [ + { + "name": "NotSpecified", + "value": "NotSpecified", + "description": "The edge device state is not specified." + }, + { + "name": "Connected", + "value": "Connected", + "description": "The edge device state is in connected state." + }, + { + "name": "Disconnected", + "value": "Disconnected", + "description": "The edge device state is in disconnected state." + }, + { + "name": "Repairing", + "value": "Repairing", + "description": "The edge device state is in repairing state." + }, + { + "name": "Draining", + "value": "Draining", + "description": "The edge device state is in draining state." + }, + { + "name": "InMaintenance", + "value": "InMaintenance", + "description": "The edge device state is in maintenance state." + }, + { + "name": "Resuming", + "value": "Resuming", + "description": "The edge device state is in resuming state." + }, + { + "name": "Processing", + "value": "Processing", + "description": "The edge device state is in processing state." + } + ] + } + }, + "EdgeDevice": { + "type": "object", + "description": "Edge device resource.", + "properties": { + "kind": { + "$ref": "#/definitions/DeviceKind", + "description": "Device kind to support polymorphic resource.", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "discriminator": "kind", + "required": [ + "kind" + ], + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + ] + }, + "EdgeDeviceListResult": { + "type": "object", + "description": "The response of a EdgeDevice list operation.", + "properties": { + "value": { + "type": "array", + "description": "The EdgeDevice items on this page", + "items": { + "$ref": "#/definitions/EdgeDevice" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "EdgeDeviceProperties": { + "type": "object", + "description": "Edge Device properties", + "properties": { + "deviceConfiguration": { + "$ref": "#/definitions/DeviceConfiguration", + "description": "Device Configuration" + }, + "provisioningState": { + "$ref": "./hciCommon.json#/definitions/ProvisioningState", + "description": "Provisioning state of edgeDevice resource", + "readOnly": true + } + } + }, + "ErrorDetail": { + "type": "object", + "description": "details of validation failure", + "properties": { + "exception": { + "type": "string", + "description": "Exception details while installing extension.", + "readOnly": true + } + } + }, + "Extension": { + "type": "object", + "description": "Arc extension installed on edge device.", + "properties": { + "extensionName": { + "type": "string", + "description": "Arc extension name installed on edge device.", + "readOnly": true + }, + "state": { + "$ref": "#/definitions/ArcExtensionState", + "description": "Arc extension state from arc machine extension.", + "readOnly": true + }, + "errorDetails": { + "type": "array", + "description": "Error details while installing Arc extension.", + "items": { + "$ref": "#/definitions/ErrorDetail" + }, + "readOnly": true, + "x-ms-identifiers": [] + }, + "extensionResourceId": { + "type": "string", + "format": "arm-id", + "description": "Arc Extension Azure resource id.", + "readOnly": true + }, + "typeHandlerVersion": { + "type": "string", + "description": "Extension version installed.", + "readOnly": true + }, + "managedBy": { + "type": "string", + "description": "Indicates whether the extension is managed by the user or by Azure.", + "default": "Azure", + "enum": [ + "User", + "Azure" + ], + "x-ms-enum": { + "name": "ExtensionManagedBy", + "modelAsString": true, + "values": [ + { + "name": "User", + "value": "User", + "description": "The extension is managed by the user." + }, + { + "name": "Azure", + "value": "Azure", + "description": "The extension is managed by Azure." + } + ] + }, + "readOnly": true + } + } + }, + "ExtensionManagedBy": { + "type": "string", + "description": "Arc extension managed by Azure or User.", + "enum": [ + "User", + "Azure" + ], + "x-ms-enum": { + "name": "ExtensionManagedBy", + "modelAsString": true, + "values": [ + { + "name": "User", + "value": "User", + "description": "The extension is managed by the user." + }, + { + "name": "Azure", + "value": "Azure", + "description": "The extension is managed by Azure." + } + ] + } + }, + "ExtensionProfile": { + "type": "object", + "description": "Extensions details for edge device.", + "properties": { + "extensions": { + "type": "array", + "description": "List of Arc extensions installed on edge device.", + "items": { + "$ref": "#/definitions/Extension" + }, + "readOnly": true, + "x-ms-identifiers": [ + "extensionName" + ] + } + } + }, + "HciEdgeDevice": { + "type": "object", + "description": "Arc-enabled edge device with HCI OS.", + "properties": { + "properties": { + "$ref": "#/definitions/HciEdgeDeviceProperties", + "description": "properties for Arc-enabled edge device with HCI OS." + } + }, + "allOf": [ + { + "$ref": "#/definitions/EdgeDevice" + } + ], + "x-ms-discriminator-value": "HCI" + }, + "HciEdgeDeviceProperties": { + "type": "object", + "description": "properties for Arc-enabled edge device with HCI OS.", + "properties": { + "reportedProperties": { + "$ref": "#/definitions/HciReportedProperties", + "description": "The instance view of all current configurations on HCI device.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/EdgeDeviceProperties" + } + ] + }, + "HciNetworkProfile": { + "type": "object", + "description": "The network profile of a device.", + "properties": { + "nicDetails": { + "type": "array", + "description": "List of NIC Details of device.", + "items": { + "$ref": "#/definitions/HciNicDetail" + }, + "readOnly": true, + "x-ms-identifiers": [ + "adapterName" + ] + }, + "switchDetails": { + "type": "array", + "description": "List of switch details for edge device.", + "items": { + "$ref": "#/definitions/SwitchDetail" + }, + "readOnly": true, + "x-ms-identifiers": [ + "switchName" + ] + }, + "hostNetwork": { + "$ref": "#/definitions/HostNetwork", + "description": "HostNetwork config to deploy AzureStackHCI Cluster.", + "readOnly": true + } + } + }, + "HciNicDetail": { + "type": "object", + "description": "The NIC Detail of a device.", + "properties": { + "adapterName": { + "type": "string", + "description": "Adapter Name of NIC", + "readOnly": true + }, + "interfaceDescription": { + "type": "string", + "description": "Interface Description of NIC", + "readOnly": true + }, + "componentId": { + "type": "string", + "description": "Component Id of NIC", + "readOnly": true + }, + "driverVersion": { + "type": "string", + "description": "Driver Version of NIC", + "readOnly": true + }, + "ip4Address": { + "type": "string", + "description": "Subnet Mask of NIC", + "readOnly": true + }, + "subnetMask": { + "type": "string", + "description": "Subnet Mask of NIC", + "readOnly": true + }, + "defaultGateway": { + "type": "string", + "description": "Default Gateway of NIC", + "readOnly": true + }, + "dnsServers": { + "type": "array", + "description": "DNS Servers for NIC", + "items": { + "type": "string" + }, + "readOnly": true, + "x-ms-identifiers": [] + }, + "defaultIsolationId": { + "type": "string", + "description": "Default Isolation of Management NIC", + "readOnly": true + }, + "macAddress": { + "type": "string", + "description": "MAC address information of NIC.", + "readOnly": true + }, + "slot": { + "type": "string", + "description": "The slot attached to the NIC.", + "readOnly": true + }, + "switchName": { + "type": "string", + "description": "The switch attached to the NIC, if any.", + "readOnly": true + }, + "nicType": { + "type": "string", + "description": "The type of NIC, physical, virtual, management.", + "readOnly": true + }, + "vlanId": { + "type": "string", + "description": "The VLAN ID of the physical NIC.", + "readOnly": true + }, + "nicStatus": { + "type": "string", + "description": "The status of NIC, up, disconnected.", + "readOnly": true + }, + "rdmaCapability": { + "type": "string", + "description": "Describes the RDMA capability of the network adapter.", + "enum": [ + "Enabled", + "Disabled" + ], + "default": "Disabled", + "x-ms-enum": { + "name": "RdmaCapability", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled", + "description": "Network Adapter on the device is RDMA Capable" + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "Network Adapter on the device is RDMA Capable" + } + ] + }, + "readOnly": true + } + } + }, + "HciOsProfile": { + "type": "object", + "description": "OS configurations for HCI device.", + "properties": { + "bootType": { + "type": "string", + "description": "The boot type of the device. e.g. UEFI, Legacy etc", + "readOnly": true + }, + "assemblyVersion": { + "type": "string", + "description": "Version of assembly present on device", + "readOnly": true + } + } + }, + "HciStorageProfile": { + "type": "object", + "description": "Storage configurations for HCI device.", + "properties": { + "poolableDisksCount": { + "type": "integer", + "format": "int64", + "description": "Number of storage disks in the device with $CanPool as true.", + "readOnly": true + } + } + }, + "HciHardwareProfile": { + "type": "object", + "description": "Hardware configurations for HCI device.", + "properties": { + "processorType": { + "type": "string", + "description": "Process type of the device", + "readOnly": true + } + } + }, + "HciReportedProperties": { + "type": "object", + "description": "The device Configuration for HCI device.", + "properties": { + "networkProfile": { + "$ref": "#/definitions/HciNetworkProfile", + "description": "HCI device network information.", + "readOnly": true + }, + "osProfile": { + "$ref": "#/definitions/HciOsProfile", + "description": "HCI device OS specific information.", + "readOnly": true + }, + "sbeDeploymentPackageInfo": { + "$ref": "#/definitions/SbeDeploymentPackageInfo", + "description": "Solution builder extension (SBE) deployment package information.", + "readOnly": true + }, + "storageProfile": { + "$ref": "#/definitions/HciStorageProfile", + "description": "Hci device storage specific information.", + "readOnly": true + }, + "hardwareProfile": { + "$ref": "#/definitions/HciHardwareProfile", + "description": "Hci device hardware specific information.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/ReportedProperties" + } + ] + }, + "HostNetwork": { + "type": "object", + "description": "The HostNetwork of a cluster.", + "properties": { + "intents": { + "type": "array", + "description": "The network intents assigned to the network reference pattern used for the deployment. Each intent will define its own name, traffic type, adapter names, and overrides as recommended by your OEM.", + "items": { + "$ref": "#/definitions/Intents" + }, + "readOnly": true, + "x-ms-identifiers": [ + "intentName" + ] + }, + "storageNetworks": { + "type": "array", + "description": "List of StorageNetworks config to deploy AzureStackHCI Cluster.", + "items": { + "$ref": "#/definitions/StorageNetworks" + }, + "readOnly": true, + "x-ms-identifiers": [ + "networkAdapterName" + ] + }, + "storageConnectivitySwitchless": { + "type": "boolean", + "description": "Defines how the storage adapters between nodes are connected either switch or switch less.", + "readOnly": true + }, + "enableStorageAutoIp": { + "type": "boolean", + "description": "Optional parameter required only for 3 Nodes Switchless deployments. This allows users to specify IPs and Mask for Storage NICs when Network ATC is not assigning the IPs for storage automatically.", + "readOnly": true + } + } + }, + "Intents": { + "type": "object", + "description": "The Intents of a cluster.", + "properties": { + "scope": { + "type": "integer", + "format": "int64", + "description": "Scope for host network intent.", + "readOnly": true + }, + "intentType": { + "type": "integer", + "format": "int64", + "description": "IntentType for host network intent.", + "readOnly": true + }, + "isComputeIntentSet": { + "type": "boolean", + "description": "IsComputeIntentSet for host network intent.", + "readOnly": true + }, + "isStorageIntentSet": { + "type": "boolean", + "description": "IsStorageIntentSet for host network intent.", + "readOnly": true + }, + "isOnlyStorage": { + "type": "boolean", + "description": "IntentType for host network intent.", + "readOnly": true + }, + "isManagementIntentSet": { + "type": "boolean", + "description": "IsManagementIntentSet for host network intent.", + "readOnly": true + }, + "isStretchIntentSet": { + "type": "boolean", + "description": "IsStretchIntentSet for host network intent.", + "readOnly": true + }, + "isOnlyStretch": { + "type": "boolean", + "description": "IsOnlyStretch for host network intent.", + "readOnly": true + }, + "isNetworkIntentType": { + "type": "boolean", + "description": "IsNetworkIntentType for host network intent.", + "readOnly": true + }, + "intentName": { + "type": "string", + "description": "Name of the network intent you wish to create.", + "readOnly": true + }, + "intentAdapters": { + "type": "array", + "description": "Array of adapters used for the network intent.", + "items": { + "type": "string" + }, + "readOnly": true + }, + "overrideVirtualSwitchConfiguration": { + "type": "boolean", + "description": "This parameter should only be modified based on your OEM guidance. Do not modify this parameter without OEM validation.", + "readOnly": true + }, + "virtualSwitchConfigurationOverrides": { + "$ref": "#/definitions/VirtualSwitchConfigurationOverrides", + "description": "Set virtualSwitch ConfigurationOverrides for cluster.", + "readOnly": true + }, + "overrideQosPolicy": { + "type": "boolean", + "description": "This parameter should only be modified based on your OEM guidance. Do not modify this parameter without OEM validation.", + "readOnly": true + }, + "qosPolicyOverrides": { + "$ref": "./deploymentSettings.json#/definitions/QosPolicyOverrides", + "description": "Set QoS PolicyOverrides for cluster.", + "readOnly": true + }, + "overrideAdapterProperty": { + "type": "boolean", + "description": "This parameter should only be modified based on your OEM guidance. Do not modify this parameter without OEM validation.", + "readOnly": true + }, + "adapterPropertyOverrides": { + "$ref": "#/definitions/AdapterPropertyOverrides", + "description": "Set Adapter PropertyOverrides for cluster.", + "readOnly": true + } + } + }, + "NicDetail": { + "type": "object", + "description": "The NIC Detail of a device.", + "properties": { + "adapterName": { + "type": "string", + "description": "Adapter Name of NIC" + }, + "interfaceDescription": { + "type": "string", + "description": "Interface Description of NIC" + }, + "componentId": { + "type": "string", + "description": "Component Id of NIC" + }, + "driverVersion": { + "type": "string", + "description": "Driver Version of NIC" + }, + "ip4Address": { + "type": "string", + "description": "Subnet Mask of NIC" + }, + "subnetMask": { + "type": "string", + "description": "Subnet Mask of NIC" + }, + "defaultGateway": { + "type": "string", + "description": "Default Gateway of NIC" + }, + "dnsServers": { + "type": "array", + "description": "DNS Servers for NIC", + "items": { + "type": "string" + }, + "x-ms-identifiers": [] + }, + "defaultIsolationId": { + "type": "string", + "description": "Default Isolation of Management NIC" + } + } + }, + "ReportedProperties": { + "type": "object", + "description": "Reported properties pushed from edge device.", + "properties": { + "deviceState": { + "$ref": "#/definitions/DeviceState", + "description": "edge device state.", + "readOnly": true + }, + "extensionProfile": { + "$ref": "#/definitions/ExtensionProfile", + "description": "Extensions details for edge device.", + "readOnly": true + } + } + }, + "SbeDeploymentPackageInfo": { + "type": "object", + "description": "Solution builder extension (SBE) deployment package information.", + "properties": { + "code": { + "type": "string", + "description": "SBE deployment validation code.", + "readOnly": true + }, + "message": { + "type": "string", + "description": "A detailed message that explains the SBE package validation result.", + "readOnly": true + }, + "sbeManifest": { + "type": "string", + "description": "This represents discovered update results for matching updates and store it as SBE manifest.", + "readOnly": true + } + } + }, + "StorageAdapterIPInfo": { + "type": "object", + "description": "The StorageAdapter physical nodes of a cluster.", + "properties": { + "physicalNode": { + "type": "string", + "description": "storage adapter physical node name.", + "readOnly": true + }, + "ipv4Address": { + "type": "string", + "description": "The IPv4 address assigned to each storage adapter physical node on your Azure Stack HCI cluster.", + "readOnly": true + }, + "subnetMask": { + "type": "string", + "description": "The SubnetMask address assigned to each storage adapter physical node on your Azure Stack HCI cluster.", + "readOnly": true + } + } + }, + "StorageNetworks": { + "type": "object", + "description": "The StorageNetworks of a cluster.", + "properties": { + "name": { + "type": "string", + "description": "Name of the storage network.", + "readOnly": true + }, + "networkAdapterName": { + "type": "string", + "description": "Name of the storage network adapter.", + "readOnly": true + }, + "storageVlanId": { + "type": "string", + "description": "ID specified for the VLAN storage network. This setting is applied to the network interfaces that route the storage and VM migration traffic. ", + "readOnly": true + }, + "storageAdapterIPInfo": { + "type": "array", + "description": "List of Storage adapter physical nodes config to deploy AzureStackHCI Cluster.", + "items": { + "$ref": "#/definitions/StorageAdapterIPInfo" + }, + "readOnly": true, + "x-ms-identifiers": [ + "physicalNode" + ] + } + } + }, + "SwitchDetail": { + "type": "object", + "description": "List of switch details for edge device.", + "properties": { + "switchName": { + "type": "string", + "description": "The name of the switch.", + "readOnly": true + }, + "switchType": { + "type": "string", + "description": "The type of the switch. e.g. external, internal.", + "readOnly": true + }, + "extensions": { + "type": "array", + "description": "This represents extensions installed on virtualSwitch.", + "items": { + "$ref": "#/definitions/SwitchExtension" + }, + "readOnly": true, + "x-ms-identifiers": [ + "extensionName" + ] + } + } + }, + "SwitchExtension": { + "type": "object", + "description": "This represents extensions installed on virtualSwitch.", + "properties": { + "switchId": { + "type": "string", + "description": "Unique identifier for virtualSwitch.", + "readOnly": true + }, + "extensionName": { + "type": "string", + "description": "This will show extension name for virtualSwitch.", + "readOnly": true + }, + "extensionEnabled": { + "type": "boolean", + "description": "This represents whether extension is enabled on virtualSwitch.", + "readOnly": true + } + } + }, + "ValidateRequest": { + "type": "object", + "description": "The validate request for Edge Device.", + "properties": { + "edgeDeviceIds": { + "type": "array", + "description": "Node Ids against which, current node has to be validated.", + "items": { + "type": "string" + } + }, + "additionalInfo": { + "type": "string", + "description": "Additional info required for validation." + } + }, + "required": [ + "edgeDeviceIds" + ] + }, + "ValidateResponse": { + "type": "object", + "description": "An Accepted response with an Operation-Location header.", + "properties": { + "status": { + "type": "string", + "description": "edge device validation status", + "readOnly": true + } + } + }, + "VirtualSwitchConfigurationOverrides": { + "type": "object", + "description": "The VirtualSwitchConfigurationOverrides of a cluster.", + "properties": { + "enableIov": { + "type": "string", + "description": "Enable IoV for Virtual Switch", + "readOnly": true + }, + "loadBalancingAlgorithm": { + "type": "string", + "description": "Load Balancing Algorithm for Virtual Switch", + "readOnly": true + } + } + } + }, + "parameters": { + "Azure.ResourceManager.ResourceUriParameter": { + "name": "resourceUri", + "in": "path", + "description": "The fully qualified Azure Resource manager identifier of the resource.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method", + "x-ms-skip-url-encoding": true + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/ChangeClusterRing.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/ChangeClusterRing.json new file mode 100644 index 000000000000..56f772cfa55f --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/ChangeClusterRing.json @@ -0,0 +1,83 @@ +{ + "parameters": { + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "test-rg", + "clusterName": "myCluster", + "api-version": "2025-11-01-preview", + "changeRingRequest": { + "properties": { + "targetRing": "Insider" + } + } + }, + "responses": { + "202": { + "headers": { + "location": "https://foo.com/operationStatuses" + } + }, + "200": { + "body": { + "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/test-rg/providers/Microsoft.AzureStackHCI/clusters/myCluster", + "name": "myCluster", + "type": "Microsoft.AzureStackHCI/clusters", + "location": "East US", + "tags": {}, + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2020-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" + }, + "properties": { + "provisioningState": "Succeeded", + "status": "ConnectedRecently", + "cloudId": "a3c0468f-e38e-4dda-ac48-817f620536f0", + "ring": "Insider", + "cloudManagementEndpoint": "https://98294836-31be-4668-aeae-698667faf99b.waconazure.com", + "aadClientId": "24a6e53d-04e5-44d2-b7cc-1b732a847dfc", + "aadTenantId": "7e589cc1-a8b6-4dff-91bd-5ec0fa18db94", + "desiredProperties": { + "windowsServerSubscription": "Enabled", + "diagnosticLevel": "Basic" + }, + "softwareAssuranceProperties": { + "softwareAssuranceStatus": "Enabled", + "lastUpdated": "2022-08-18T22:01:12.4191603Z", + "softwareAssuranceIntent": "Enable" + }, + "reportedProperties": { + "clusterName": "cluster1", + "clusterId": "a76ac23a-1819-4e82-9410-e3e4ec3d1425", + "clusterVersion": "10.0.17777", + "nodes": [ + { + "name": "Node1", + "id": 1, + "windowsServerSubscription": "Enabled", + "nodeType": "ThirdParty", + "manufacturer": "Dell Inc.", + "model": "EMC AX740", + "osName": "Azure Stack HCI", + "osVersion": "10.0.17777.1061", + "serialNumber": "Q45CZC3", + "coreCount": 8, + "memoryInGiB": 128 + } + ], + "lastUpdated": "2020-03-11T19:24:42.1946017Z", + "imdsAttestation": "Disabled", + "diagnosticLevel": "Basic" + }, + "trialDaysRemaining": 30, + "billingModel": "Trial", + "registrationTimestamp": "2020-03-11T20:44:32.5625121Z", + "lastSyncTimestamp": "2020-03-11T20:44:32.5625121Z", + "lastBillingTimestamp": "2020-03-12T08:12:55.2312022Z" + } + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/Clusters_UpdateSecretsLocations.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/Clusters_UpdateSecretsLocations.json new file mode 100644 index 000000000000..bc238307f4dc --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/Clusters_UpdateSecretsLocations.json @@ -0,0 +1,93 @@ +{ + "parameters": { + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "test-rg", + "clusterName": "myCluster", + "api-version": "2025-11-01-preview", + "body": { + "properties": [ + { + "secretsType": "BackupSecrets", + "secretsLocation": "https://kvname.vault.azure.net/" + } + ] + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/test-rg/providers/Microsoft.AzureStackHCI/clusters/myCluster", + "name": "myCluster", + "type": "Microsoft.AzureStackHCI/clusters", + "location": "East US", + "tags": {}, + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2020-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" + }, + "properties": { + "provisioningState": "Succeeded", + "status": "ConnectedRecently", + "cloudId": "a3c0468f-e38e-4dda-ac48-817f620536f0", + "cloudManagementEndpoint": "https://98294836-31be-4668-aeae-698667faf99b.waconazure.com", + "aadClientId": "24a6e53d-04e5-44d2-b7cc-1b732a847dfc", + "aadTenantId": "7e589cc1-a8b6-4dff-91bd-5ec0fa18db94", + "desiredProperties": { + "windowsServerSubscription": "Enabled", + "diagnosticLevel": "Basic" + }, + "softwareAssuranceProperties": { + "softwareAssuranceStatus": "Enabled", + "lastUpdated": "2022-08-18T22:01:12.4191603Z", + "softwareAssuranceIntent": "Enable" + }, + "reportedProperties": { + "clusterName": "cluster1", + "clusterId": "a76ac23a-1819-4e82-9410-e3e4ec3d1425", + "clusterVersion": "10.0.17777", + "nodes": [ + { + "name": "Node1", + "id": 1, + "windowsServerSubscription": "Enabled", + "nodeType": "ThirdParty", + "manufacturer": "Dell Inc.", + "model": "EMC AX740", + "osName": "Azure Stack HCI", + "osVersion": "10.0.17777.1061", + "serialNumber": "Q45CZC3", + "coreCount": 8, + "memoryInGiB": 128 + } + ], + "lastUpdated": "2020-03-11T19:24:42.1946017Z", + "imdsAttestation": "Disabled", + "diagnosticLevel": "Basic" + }, + "trialDaysRemaining": 30, + "billingModel": "Trial", + "registrationTimestamp": "2020-03-11T20:44:32.5625121Z", + "lastSyncTimestamp": "2020-03-11T20:44:32.5625121Z", + "lastBillingTimestamp": "2020-03-12T08:12:55.2312022Z", + "secretsLocations": [ + { + "secretsType": "BackupSecrets", + "secretsLocation": "https://kvname.vault.azure.net/" + } + ] + } + } + }, + "202": { + "headers": { + "location": "https://foo.com/operationStatuses" + } + } + }, + "operationId": "Clusters_UpdateSecretsLocations", + "title": "Update secrets locations for a Cluster" +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/ConfigureRemoteSupport.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/ConfigureRemoteSupport.json new file mode 100644 index 000000000000..180e96e03a8a --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/ConfigureRemoteSupport.json @@ -0,0 +1,113 @@ +{ + "parameters": { + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "test-rg", + "clusterName": "mycluster", + "api-version": "2025-11-01-preview", + "remoteSupportRequest": { + "properties": { + "accessLevel": "Diagnostics", + "expirationTimeStamp": "2020-01-01T17:18:19.1234567Z", + "remoteSupportType": "Enable" + } + } + }, + "responses": { + "202": { + "headers": { + "location": "https://foo.com/operationStatuses" + } + }, + "200": { + "body": { + "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/test-rg/providers/Microsoft.AzureStackHCI/clusters/myCluster", + "name": "myCluster", + "type": "Microsoft.AzureStackHCI/clusters", + "location": "East US", + "tags": {}, + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2020-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" + }, + "properties": { + "provisioningState": "Succeeded", + "status": "ConnectedRecently", + "cloudId": "a3c0468f-e38e-4dda-ac48-817f620536f0", + "cloudManagementEndpoint": "https://98294836-31be-4668-aeae-698667faf99b.waconazure.com", + "aadClientId": "24a6e53d-04e5-44d2-b7cc-1b732a847dfc", + "aadTenantId": "7e589cc1-a8b6-4dff-91bd-5ec0fa18db94", + "desiredProperties": { + "windowsServerSubscription": "Enabled", + "diagnosticLevel": "Basic" + }, + "remoteSupportProperties": { + "accessLevel": "Diagnostics", + "expirationTimeStamp": "2020-01-01T17:18:19.1234567Z", + "remoteSupportType": "Enable", + "remoteSupportNodeSettings": [ + { + "arcResourceId": "/subscriptions//resourcegroups//Microsoft.HybridCompute/machines/arcNode0", + "state": "Active", + "createdAt": "2020-01-01T17:18:19.1234567Z", + "updatedAt": "2020-01-01T17:18:19.1234567Z", + "connectionStatus": "Connected", + "connectionErrorMessage": "test", + "transcriptLocation": "test" + }, + { + "arcResourceId": "/subscriptions//resourcegroups//Microsoft.HybridCompute/machines/arcNode1", + "state": "Active", + "createdAt": "2020-01-01T17:18:19.1234567Z", + "updatedAt": "2020-01-01T17:18:19.1234567Z", + "connectionStatus": "Connected", + "connectionErrorMessage": "test", + "transcriptLocation": "test" + } + ], + "remoteSupportSessionDetails": [ + { + "sessionStartTime": "2020-01-01T17:18:19.1234567Z", + "sessionEndTime": "2020-01-01T17:18:19.1234567Z", + "nodeName": "arcNode0", + "duration": 120, + "accessLevel": "Diagnostics" + } + ] + }, + "reportedProperties": { + "clusterName": "cluster1", + "clusterId": "a76ac23a-1819-4e82-9410-e3e4ec3d1425", + "clusterVersion": "10.0.17777", + "nodes": [ + { + "name": "Node1", + "id": 1, + "windowsServerSubscription": "Enabled", + "nodeType": "ThirdParty", + "manufacturer": "Dell Inc.", + "model": "EMC AX740", + "osName": "Azure Stack HCI", + "osVersion": "10.0.17777.1061", + "serialNumber": "Q45CZC3", + "coreCount": 8, + "memoryInGiB": 128 + } + ], + "lastUpdated": "2020-03-11T19:24:42.1946017Z", + "imdsAttestation": "Disabled", + "diagnosticLevel": "Basic" + }, + "trialDaysRemaining": 30, + "billingModel": "Trial", + "registrationTimestamp": "2020-03-11T20:44:32.5625121Z", + "lastSyncTimestamp": "2020-03-11T20:44:32.5625121Z", + "lastBillingTimestamp": "2020-03-12T08:12:55.2312022Z" + } + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/ConsentAndInstallDefaultExtensions.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/ConsentAndInstallDefaultExtensions.json new file mode 100644 index 000000000000..d9f54a641d78 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/ConsentAndInstallDefaultExtensions.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "test-rg", + "clusterName": "myCluster", + "arcSettingName": "default", + "api-version": "2025-11-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/test-rg/providers/Microsoft.AzureStackHCI/clusters/myCluster/arcSettings/default", + "type": "Microsoft.AzureStackHCI/clusters/arcSettings", + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2021-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-02T17:18:19.1234567Z" + }, + "properties": { + "provisioningState": "Succeeded", + "arcInstanceResourceGroup": "ArcInstance-rg", + "aggregateState": "Creating", + "perNodeDetails": [ + { + "name": "Node-1", + "arcInstance": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.HybridCompute/machines/Node-1", + "state": "Creating" + }, + { + "name": "Node-2", + "arcInstance": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.HybridCompute/machines/Node-2", + "state": "Creating" + } + ], + "connectivityProperties": { + "enabled": false, + "serviceConfigurations": [] + }, + "defaultExtensions": [ + { + "category": "Telemetry", + "consentTime": "2023-01-01T17:18:19.1234567Z" + } + ] + } + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/CreateArcIdentity.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/CreateArcIdentity.json new file mode 100644 index 000000000000..277cfea77291 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/CreateArcIdentity.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "test-rg", + "clusterName": "myCluster", + "arcSettingName": "default", + "api-version": "2025-11-01-preview" + }, + "responses": { + "200": { + "body": { + "properties": { + "arcApplicationClientId": "7b93bf67-60ac-4909-a987-ac438e69f9ba", + "arcApplicationTenantId": "bdb2c88c-9cfd-4e19-927d-51e875f6912b", + "arcApplicationObjectId": "400bd05f-395f-45a6-ba75-72601df80107", + "arcServicePrincipalObjectId": "00cc4014-482e-4de9-9932-83415cc75f45" + } + } + }, + "202": { + "headers": { + "location": "https://foo.com/operationStatuses" + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/CreateCluster.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/CreateCluster.json new file mode 100644 index 000000000000..e5a4bc79489e --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/CreateCluster.json @@ -0,0 +1,61 @@ +{ + "parameters": { + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "test-rg", + "clusterName": "myCluster", + "api-version": "2025-11-01-preview", + "cluster": { + "location": "East US", + "properties": { + "cloudManagementEndpoint": "https://98294836-31be-4668-aeae-698667faf99b.waconazure.com", + "aadClientId": "24a6e53d-04e5-44d2-b7cc-1b732a847dfc", + "aadTenantId": "7e589cc1-a8b6-4dff-91bd-5ec0fa18db94" + }, + "identity": { + "type": "SystemAssigned" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/test-rg/providers/Microsoft.AzureStackHCI/clusters/myCluster", + "name": "myCluster", + "type": "Microsoft.AzureStackHCI/clusters", + "location": "East US", + "identity": { + "principalId": "87a834db-2e45-409e-911b-e16a44562ec3", + "tenantId": "7e589cc1-a8b6-4dff-91bd-5ec0fa18db94", + "type": "SystemAssigned" + }, + "tags": {}, + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2020-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" + }, + "properties": { + "provisioningState": "Succeeded", + "status": "NotYetRegistered", + "connectivityStatus": "NotYetRegistered", + "cloudId": "a3c0468f-e38e-4dda-ac48-817f620536f0", + "cloudManagementEndpoint": "https://98294836-31be-4668-aeae-698667faf99b.waconazure.com", + "aadClientId": "24a6e53d-04e5-44d2-b7cc-1b732a847dfc", + "aadTenantId": "7e589cc1-a8b6-4dff-91bd-5ec0fa18db94", + "isManagementCluster": true, + "desiredProperties": { + "windowsServerSubscription": "Disabled", + "diagnosticLevel": "Basic" + }, + "reportedProperties": {}, + "trialDaysRemaining": 30, + "billingModel": "Trial", + "serviceEndpoint": "https://azurestackhci.azurefd.net/eastus" + } + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/CreateClusterIdentity.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/CreateClusterIdentity.json new file mode 100644 index 000000000000..c696c15d53ee --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/CreateClusterIdentity.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "test-rg", + "clusterName": "myCluster", + "api-version": "2025-11-01-preview" + }, + "responses": { + "200": { + "body": { + "properties": { + "aadClientId": "7b93bf67-60ac-4909-a987-ac438e69f9ba", + "aadTenantId": "bdb2c88c-9cfd-4e19-927d-51e875f6912b", + "aadServicePrincipalObjectId": "400bd05f-395f-45a6-ba75-72601df80107", + "aadApplicationObjectId": "00cc4014-482e-4de9-9932-83415cc75f45" + } + } + }, + "202": { + "headers": { + "location": "https://foo.com/operationStatuses" + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/CreateHciEdgeDevice.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/CreateHciEdgeDevice.json new file mode 100644 index 000000000000..26fa8afae80f --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/CreateHciEdgeDevice.json @@ -0,0 +1,257 @@ +{ + "parameters": { + "resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.HybridCompute/machines/Node-1", + "edgeDeviceName": "default", + "api-version": "2025-11-01-preview", + "resource": { + "kind": "HCI", + "properties": { + "deviceConfiguration": { + "nicDetails": [ + { + "adapterName": "ethernet", + "interfaceDescription": "NDIS 6.70 ", + "componentId": "VMBUS{f8615163-df3e-46c5-913f-f2d2f965ed0g} ", + "driverVersion": "10.0.20348.1547 ", + "ip4Address": "10.10.10.10", + "subnetMask": "255.255.255.0", + "defaultGateway": "10.10.10.1", + "dnsServers": [ + "100.10.10.1" + ], + "defaultIsolationId": "0" + } + ], + "deviceMetadata": "" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.HybridCompute/machines/Node-1/providers/Microsoft.AzureStackHCI/edgeDevices/default", + "name": "default", + "type": "Microsoft.AzureStackHCI/edgeDevices", + "kind": "HCI", + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2021-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-02T17:18:19.1234567Z" + }, + "properties": { + "provisioningState": "Succeeded", + "reportedProperties": { + "deviceState": "Connected", + "networkProfile": { + "nicDetails": [ + { + "adapterName": "vmanagement", + "interfaceDescription": "Hyper-V Virtual Ethernet Adapter", + "componentId": "vms_mp", + "driverVersion": "10.0.25398.1", + "ip4Address": "192.168.200.92", + "subnetMask": "255.255.255.0", + "defaultGateway": "192.168.200.1", + "dnsServers": [ + "192.168.200.222" + ], + "defaultIsolationId": "0", + "slot": "0", + "macAddress": "000000000041", + "switchName": null, + "nicType": "Virtual", + "vlanId": "0", + "nicStatus": "Up" + } + ], + "switchDetails": [ + { + "switchName": "vmanagement", + "switchType": "External" + } + ], + "hostNetwork": { + "intents": [ + { + "intentName": "managementcomputestorage", + "scope": 0, + "intentType": 14, + "isComputeIntentSet": true, + "isStorageIntentSet": true, + "isOnlyStorage": false, + "isManagementIntentSet": true, + "isStretchIntentSet": false, + "isOnlyStretch": false, + "isNetworkIntentType": true, + "intentAdapters": [ + "ethernet", + "ethernet2" + ], + "overrideVirtualSwitchConfiguration": true, + "virtualSwitchConfigurationOverrides": { + "enableIov": "True", + "loadBalancingAlgorithm": "HyperVPort" + }, + "overrideQosPolicy": true, + "qosPolicyOverrides": { + "priorityValue8021Action_Cluster": null, + "priorityValue8021Action_SMB": null, + "bandwidthPercentage_SMB": null + }, + "overrideAdapterProperty": true, + "adapterPropertyOverrides": { + "jumboPacket": null, + "networkDirect": "0", + "networkDirectTechnology": null + } + } + ], + "storageNetworks": [ + { + "name": "StorageIntent1", + "networkAdapterName": "ethernet", + "storageVlanId": "8", + "storageAdapterIPInfo": [ + { + "physicalNode": "v-host1", + "ipv4Address": "192.168.120.192", + "subnetMask": "255.255.244.0" + } + ] + } + ], + "storageConnectivitySwitchless": false, + "enableStorageAutoIp": false + } + }, + "osProfile": { + "bootType": "UEFI", + "assemblyVersion": "2402.1" + }, + "sbeDeploymentPackageInfo": { + "code": "NewerThanLatestPublished", + "message": "The SBE package at path 'C:\\SBE' with version 4.1.2312.10 is published later than the latest SBE manifest published for online discovery. ", + "sbeManifest": "PEFwcGxpY2Fi" + } + } + } + } + }, + "201": { + "body": { + "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.HybridCompute/machines/Node-1/providers/Microsoft.AzureStackHCI/edgeDevices/default", + "name": "default", + "type": "Microsoft.AzureStackHCI/edgeDevices", + "kind": "HCI", + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2021-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-02T17:18:19.1234567Z" + }, + "properties": { + "provisioningState": "Succeeded", + "reportedProperties": { + "deviceState": "Connected", + "networkProfile": { + "nicDetails": [ + { + "adapterName": "vmanagement", + "interfaceDescription": "Hyper-V Virtual Ethernet Adapter", + "componentId": "vms_mp", + "driverVersion": "10.0.25398.1", + "ip4Address": "192.168.200.92", + "subnetMask": "255.255.255.0", + "defaultGateway": "192.168.200.1", + "dnsServers": [ + "192.168.200.222" + ], + "defaultIsolationId": "0", + "slot": "0", + "macAddress": "000000000041", + "switchName": null, + "nicType": "Virtual", + "vlanId": "0", + "nicStatus": "Up" + } + ], + "switchDetails": [ + { + "switchName": "vmanagement", + "switchType": "External" + } + ], + "hostNetwork": { + "intents": [ + { + "intentName": "managementcomputestorage", + "scope": 0, + "intentType": 14, + "isComputeIntentSet": true, + "isStorageIntentSet": true, + "isOnlyStorage": false, + "isManagementIntentSet": true, + "isStretchIntentSet": false, + "isOnlyStretch": false, + "intentAdapters": [ + "ethernet", + "ethernet2" + ], + "overrideVirtualSwitchConfiguration": true, + "virtualSwitchConfigurationOverrides": { + "enableIov": "True", + "loadBalancingAlgorithm": "HyperVPort" + }, + "overrideQosPolicy": true, + "qosPolicyOverrides": { + "priorityValue8021Action_Cluster": null, + "priorityValue8021Action_SMB": null, + "bandwidthPercentage_SMB": null + }, + "overrideAdapterProperty": true, + "adapterPropertyOverrides": { + "jumboPacket": null, + "networkDirect": "0", + "networkDirectTechnology": null + } + } + ], + "storageNetworks": [ + { + "name": "StorageIntent1", + "networkAdapterName": "ethernet", + "storageVlanId": "8", + "storageAdapterIPInfo": [ + { + "physicalNode": "v-host1", + "ipv4Address": "192.168.120.192", + "subnetMask": "255.255.244.0" + } + ] + } + ], + "storageConnectivitySwitchless": false, + "enableStorageAutoIp": false + } + }, + "osProfile": { + "bootType": "UEFI", + "assemblyVersion": "2402.1" + }, + "sbeDeploymentPackageInfo": { + "code": "NewerThanLatestPublished", + "message": "The SBE package at path 'C:\\SBE' with version 4.1.2312.10 is published later than the latest SBE manifest published for online discovery. ", + "sbeManifest": "PEFwcGxpY2Fi" + } + } + } + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/DeleteArcSetting.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/DeleteArcSetting.json new file mode 100644 index 000000000000..370752ed1ade --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/DeleteArcSetting.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "test-rg", + "clusterName": "myCluster", + "arcSettingName": "default", + "api-version": "2025-11-01-preview" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://foo.com/operationStatuses" + } + }, + "204": {} + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/DeleteCluster.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/DeleteCluster.json new file mode 100644 index 000000000000..808d5caa58b6 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/DeleteCluster.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "test-rg", + "clusterName": "myCluster", + "api-version": "2025-11-01-preview" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://foo.com/operationStatuses" + } + }, + "204": {} + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/DeleteDeploymentSettings.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/DeleteDeploymentSettings.json new file mode 100644 index 000000000000..9f8f1a189444 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/DeleteDeploymentSettings.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "test-rg", + "clusterName": "myCluster", + "deploymentSettingsName": "default", + "api-version": "2025-11-01-preview" + }, + "responses": { + "202": { + "headers": { + "location": "https://foo.com/operationStatuses" + } + }, + "204": {} + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/DeleteEdgeDevices.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/DeleteEdgeDevices.json new file mode 100644 index 000000000000..306fbe81289a --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/DeleteEdgeDevices.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.HybridCompute/machines/Node-1", + "edgeDeviceName": "default", + "api-version": "2025-11-01-preview" + }, + "responses": { + "202": { + "headers": { + "location": "https://foo.com/operationStatuses" + } + }, + "204": {} + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/DeleteExtension.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/DeleteExtension.json new file mode 100644 index 000000000000..c4a0d3376590 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/DeleteExtension.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "test-rg", + "clusterName": "myCluster", + "arcSettingName": "default", + "extensionName": "MicrosoftMonitoringAgent", + "api-version": "2025-11-01-preview" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://foo.com/operationStatuses" + } + }, + "204": {} + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/DeleteSecuritySettings.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/DeleteSecuritySettings.json new file mode 100644 index 000000000000..931680aa8525 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/DeleteSecuritySettings.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "test-rg", + "clusterName": "myCluster", + "securitySettingsName": "default", + "api-version": "2025-11-01-preview" + }, + "responses": { + "202": { + "headers": { + "location": "https://foo.com/operationStatuses" + } + }, + "204": {} + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/DeleteUpdateRuns.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/DeleteUpdateRuns.json new file mode 100644 index 000000000000..83927acecd09 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/DeleteUpdateRuns.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "subscriptionId": "b8d594e5-51f3-4c11-9c54-a7771b81c712", + "resourceGroupName": "testrg", + "clusterName": "testcluster", + "updateName": "Microsoft4.2203.2.32", + "updateRunName": "23b779ba-0d52-4a80-8571-45ca74664ec3", + "api-version": "2025-11-01-preview" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://foo.com/operationStatuses" + } + }, + "204": {} + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/DeleteUpdateSummaries.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/DeleteUpdateSummaries.json new file mode 100644 index 000000000000..05d69cae4747 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/DeleteUpdateSummaries.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "subscriptionId": "b8d594e5-51f3-4c11-9c54-a7771b81c712", + "resourceGroupName": "testrg", + "clusterName": "testcluster", + "api-version": "2025-11-01-preview" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://foo.com/operationStatuses" + } + }, + "204": {} + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/DeleteUpdates.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/DeleteUpdates.json new file mode 100644 index 000000000000..9b48e0ce8e15 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/DeleteUpdates.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "subscriptionId": "b8d594e5-51f3-4c11-9c54-a7771b81c712", + "resourceGroupName": "testrg", + "clusterName": "testcluster", + "updateName": "Microsoft4.2203.2.32", + "api-version": "2025-11-01-preview" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://foo.com/operationStatuses" + } + }, + "204": {} + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/EdgeDeviceJobs_CreateOrUpdate_CollectLog.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/EdgeDeviceJobs_CreateOrUpdate_CollectLog.json new file mode 100644 index 000000000000..954190f4a88f --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/EdgeDeviceJobs_CreateOrUpdate_CollectLog.json @@ -0,0 +1,65 @@ +{ + "title": "EdgeDeviceJobs_CreateOrUpdate_CollectLog", + "operationId": "EdgeDeviceJobs_CreateOrUpdate", + "parameters": { + "api-version": "2025-11-01-preview", + "resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.HybridCompute/machines/Node-1", + "edgeDeviceName": "default", + "jobsName": "collectLog", + "resource": { + "properties": { + "jobType": "CollectLog", + "fromDate": "2024-01-29T10:43:27.9471574Z", + "toDate": "2024-01-29T10:43:27.9471574Z" + }, + "kind": "HCI" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "jobType": "CollectLog", + "fromDate": "2024-01-29T10:43:27.9471574Z", + "toDate": "2024-01-29T10:43:27.9471574Z" + }, + "kind": "HCI", + "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.HybridCompute/machines/Node-1/providers/Microsoft.AzureStackHCI/edgeDevices/default/jobs/collectLog", + "name": "collectLog", + "type": "Microsoft.AzureStackHCI/edgeDevices/jobs", + "systemData": { + "createdBy": "zsnvvvbj", + "createdByType": "User", + "createdAt": "2024-07-01T17:02:21.168Z", + "lastModifiedBy": "qxlrx", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-07-01T17:02:21.168Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "jobType": "CollectLog", + "fromDate": "2024-01-29T10:43:27.9471574Z", + "toDate": "2024-01-29T10:43:27.9471574Z" + }, + "kind": "HCI", + "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.HybridCompute/machines/Node-1/providers/Microsoft.AzureStackHCI/edgeDevices/default/jobs/collectLog", + "name": "collectLog", + "type": "Microsoft.AzureStackHCI/edgeDevices/jobs", + "systemData": { + "createdBy": "zsnvvvbj", + "createdByType": "User", + "createdAt": "2024-07-01T17:02:21.168Z", + "lastModifiedBy": "qxlrx", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-07-01T17:02:21.168Z" + } + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/EdgeDeviceJobs_CreateOrUpdate_RemoteSupport.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/EdgeDeviceJobs_CreateOrUpdate_RemoteSupport.json new file mode 100644 index 000000000000..207f2a9908de --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/EdgeDeviceJobs_CreateOrUpdate_RemoteSupport.json @@ -0,0 +1,68 @@ +{ + "title": "EdgeDeviceJobs_CreateOrUpdate_RemoteSupport", + "operationId": "EdgeDeviceJobs_CreateOrUpdate", + "parameters": { + "api-version": "2025-11-01-preview", + "resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.HybridCompute/machines/Node-1", + "edgeDeviceName": "default", + "jobsName": "collectLog", + "resource": { + "properties": { + "jobType": "RemoteSupport", + "accessLevel": "Diagnostics", + "type": "Enable", + "expirationTimestamp": "2024-01-29T10:43:27.9471574Z" + }, + "kind": "HCI" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "jobType": "RemoteSupport", + "accessLevel": "Diagnostics", + "type": "Enable", + "expirationTimestamp": "2024-01-29T10:43:27.9471574Z" + }, + "kind": "HCI", + "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.HybridCompute/machines/Node-1/providers/Microsoft.AzureStackHCI/edgeDevices/default/jobs/remoteSupport", + "name": "collectLog", + "type": "Microsoft.AzureStackHCI/edgeDevices/jobs", + "systemData": { + "createdBy": "zsnvvvbj", + "createdByType": "User", + "createdAt": "2024-07-01T17:02:21.168Z", + "lastModifiedBy": "qxlrx", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-07-01T17:02:21.168Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "jobType": "RemoteSupport", + "accessLevel": "Diagnostics", + "type": "Enable", + "expirationTimestamp": "2024-01-29T10:43:27.9471574Z" + }, + "kind": "HCI", + "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.HybridCompute/machines/Node-1/providers/Microsoft.AzureStackHCI/edgeDevices/default/jobs/remoteSupport", + "name": "collectLog", + "type": "Microsoft.AzureStackHCI/edgeDevices/jobs", + "systemData": { + "createdBy": "zsnvvvbj", + "createdByType": "User", + "createdAt": "2024-07-01T17:02:21.168Z", + "lastModifiedBy": "qxlrx", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-07-01T17:02:21.168Z" + } + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/EdgeDeviceJobs_Delete.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/EdgeDeviceJobs_Delete.json new file mode 100644 index 000000000000..207b363de961 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/EdgeDeviceJobs_Delete.json @@ -0,0 +1,18 @@ +{ + "title": "EdgeDeviceJobs_Delete", + "operationId": "EdgeDeviceJobs_Delete", + "parameters": { + "api-version": "2025-11-01-preview", + "resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.HybridCompute/machines/Node-1", + "edgeDeviceName": "lAq", + "jobsName": "Ihlm3R-bZ4vTC4ABA456" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/EdgeDeviceJobs_Get_RemoteSupport.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/EdgeDeviceJobs_Get_RemoteSupport.json new file mode 100644 index 000000000000..9403712ed994 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/EdgeDeviceJobs_Get_RemoteSupport.json @@ -0,0 +1,34 @@ +{ + "title": "EdgeDeviceJobs_Get_RemoteSupport", + "operationId": "EdgeDeviceJobs_Get", + "parameters": { + "api-version": "2025-11-01-preview", + "resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.HybridCompute/machines/Node-1", + "edgeDeviceName": "-5M1G7G10OZ-o5b-HS3-c72", + "jobsName": "-oUxs" + }, + "responses": { + "200": { + "body": { + "properties": { + "jobType": "RemoteSupport", + "accessLevel": "Diagnostics", + "type": "Enable", + "expirationTimestamp": "2024-01-29T10:43:27.9471574Z" + }, + "kind": "HCI", + "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.HybridCompute/machines/Node-1/providers/Microsoft.AzureStackHCI/edgeDevices/default/jobs/RemoteSupport", + "name": "collectLog", + "type": "Microsoft.AzureStackHCI/edgeDevices/jobs", + "systemData": { + "createdBy": "zsnvvvbj", + "createdByType": "User", + "createdAt": "2024-07-01T17:02:21.168Z", + "lastModifiedBy": "qxlrx", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-07-01T17:02:21.168Z" + } + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/EdgeDeviceJobs_ListByEdgeDevice.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/EdgeDeviceJobs_ListByEdgeDevice.json new file mode 100644 index 000000000000..12adc5eb5dc5 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/EdgeDeviceJobs_ListByEdgeDevice.json @@ -0,0 +1,38 @@ +{ + "title": "EdgeDeviceJobs_ListByEdgeDevice", + "operationId": "EdgeDeviceJobs_ListByEdgeDevice", + "parameters": { + "api-version": "2025-11-01-preview", + "resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.HybridCompute/machines/Node-1", + "edgeDeviceName": "YE-855IEIN585-" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "jobType": "RemoteSupport", + "accessLevel": "Diagnostics", + "type": "Enable", + "expirationTimestamp": "2024-01-29T10:43:27.9471574Z" + }, + "kind": "HCI", + "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.HybridCompute/machines/Node-1/providers/Microsoft.AzureStackHCI/edgeDevices/default/jobs/collectLog", + "name": "collectLog", + "type": "Microsoft.AzureStackHCI/edgeDevices/jobs", + "systemData": { + "createdBy": "zsnvvvbj", + "createdByType": "User", + "createdAt": "2024-07-01T17:02:21.168Z", + "lastModifiedBy": "qxlrx", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-07-01T17:02:21.168Z" + } + } + ], + "nextLink": "https://microsoft.com/alqov" + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/ExtendSoftwareAssuranceBenefit.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/ExtendSoftwareAssuranceBenefit.json new file mode 100644 index 000000000000..e3d643feadd7 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/ExtendSoftwareAssuranceBenefit.json @@ -0,0 +1,82 @@ +{ + "parameters": { + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "test-rg", + "clusterName": "myCluster", + "api-version": "2025-11-01-preview", + "softwareAssuranceChangeRequest": { + "properties": { + "softwareAssuranceIntent": "Enable" + } + } + }, + "responses": { + "202": { + "headers": { + "location": "https://foo.com/operationStatuses" + } + }, + "200": { + "body": { + "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/test-rg/providers/Microsoft.AzureStackHCI/clusters/myCluster", + "name": "myCluster", + "type": "Microsoft.AzureStackHCI/clusters", + "location": "East US", + "tags": {}, + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2020-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" + }, + "properties": { + "provisioningState": "Succeeded", + "status": "ConnectedRecently", + "cloudId": "a3c0468f-e38e-4dda-ac48-817f620536f0", + "cloudManagementEndpoint": "https://98294836-31be-4668-aeae-698667faf99b.waconazure.com", + "aadClientId": "24a6e53d-04e5-44d2-b7cc-1b732a847dfc", + "aadTenantId": "7e589cc1-a8b6-4dff-91bd-5ec0fa18db94", + "desiredProperties": { + "windowsServerSubscription": "Enabled", + "diagnosticLevel": "Basic" + }, + "softwareAssuranceProperties": { + "softwareAssuranceStatus": "Enabled", + "lastUpdated": "2022-08-18T22:01:12.4191603Z", + "softwareAssuranceIntent": "Enable" + }, + "reportedProperties": { + "clusterName": "cluster1", + "clusterId": "a76ac23a-1819-4e82-9410-e3e4ec3d1425", + "clusterVersion": "10.0.17777", + "nodes": [ + { + "name": "Node1", + "id": 1, + "windowsServerSubscription": "Enabled", + "nodeType": "ThirdParty", + "manufacturer": "Dell Inc.", + "model": "EMC AX740", + "osName": "Azure Stack HCI", + "osVersion": "10.0.17777.1061", + "serialNumber": "Q45CZC3", + "coreCount": 8, + "memoryInGiB": 128 + } + ], + "lastUpdated": "2020-03-11T19:24:42.1946017Z", + "imdsAttestation": "Disabled", + "diagnosticLevel": "Basic" + }, + "trialDaysRemaining": 30, + "billingModel": "Trial", + "registrationTimestamp": "2020-03-11T20:44:32.5625121Z", + "lastSyncTimestamp": "2020-03-11T20:44:32.5625121Z", + "lastBillingTimestamp": "2020-03-12T08:12:55.2312022Z" + } + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/Extensions_Upgrade.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/Extensions_Upgrade.json new file mode 100644 index 000000000000..b2b912dfd368 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/Extensions_Upgrade.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "test-rg", + "clusterName": "myCluster", + "arcSettingName": "default", + "extensionName": "MicrosoftMonitoringAgent", + "api-version": "2025-11-01-preview", + "extensionUpgradeParameters": { + "targetVersion": "1.0.18062.0" + } + }, + "responses": { + "202": { + "headers": { + "location": "https://foo.com/operationStatuses", + "Retry-After": 200, + "Azure-AsyncOperation": "https://foo.com/operationStatuses" + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/GeneratePassword.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/GeneratePassword.json new file mode 100644 index 000000000000..e88995f23a3f --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/GeneratePassword.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "test-rg", + "clusterName": "myCluster", + "arcSettingName": "default", + "api-version": "2025-11-01-preview" + }, + "responses": { + "200": { + "body": { + "secretText": "secretText", + "startDateTime": "2022-02-17T16:24:23.6264005+05:30", + "endDateTime": "2121-02-17T16:24:23.6264377+05:30", + "keyId": "00000000-2d47-4fb2-8ed2-fed71a5c197b" + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/GetArcSetting.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/GetArcSetting.json new file mode 100644 index 000000000000..1de9d3ef18f0 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/GetArcSetting.json @@ -0,0 +1,61 @@ +{ + "parameters": { + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "test-rg", + "clusterName": "myCluster", + "arcSettingName": "default", + "api-version": "2025-11-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/test-rg/providers/Microsoft.AzureStackHCI/clusters/myCluster/arcSettings/default", + "type": "Microsoft.AzureStackHCI/clusters/arcSettings", + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2021-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-02T17:18:19.1234567Z" + }, + "properties": { + "provisioningState": "Succeeded", + "arcInstanceResourceGroup": "ArcInstance-rg", + "aggregateState": "PartiallyConnected", + "perNodeDetails": [ + { + "name": "Node-1", + "arcInstance": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.HybridCompute/machines/Node-1", + "state": "Connected" + }, + { + "name": "Node-2", + "arcInstance": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.HybridCompute/machines/Node-2", + "state": "Disconnected" + } + ], + "connectivityProperties": { + "enabled": false, + "serviceConfigurations": [ + { + "serviceName": "WAC", + "port": 6516 + } + ] + }, + "defaultExtensions": [ + { + "category": "Telemetry", + "consentTime": "2023-01-01T17:18:19.1234567Z" + }, + { + "category": "Supportability", + "consentTime": null + } + ] + } + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/GetCluster.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/GetCluster.json new file mode 100644 index 000000000000..ce7df24d53d1 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/GetCluster.json @@ -0,0 +1,125 @@ +{ + "parameters": { + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "test-rg", + "clusterName": "myCluster", + "api-version": "2025-11-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/test-rg/providers/Microsoft.AzureStackHCI/clusters/myCluster", + "name": "myCluster", + "type": "Microsoft.AzureStackHCI/clusters", + "location": "East US", + "tags": {}, + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2020-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" + }, + "properties": { + "provisioningState": "Succeeded", + "status": "ConnectedRecently", + "connectivityStatus": "Connected", + "supportStatus": "OutOfSupport", + "cloudId": "a3c0468f-e38e-4dda-ac48-817f620536f0", + "ring": "Insider", + "cloudManagementEndpoint": "https://98294836-31be-4668-aeae-698667faf99b.waconazure.com", + "aadClientId": "24a6e53d-04e5-44d2-b7cc-1b732a847dfc", + "aadTenantId": "7e589cc1-a8b6-4dff-91bd-5ec0fa18db94", + "desiredProperties": { + "windowsServerSubscription": "Enabled", + "diagnosticLevel": "Basic" + }, + "isolatedVmAttestationConfiguration": { + "attestationResourceId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/test-rg/providers/Microsoft.Attestation/attestationProviders/testmaa", + "relyingPartyServiceEndpoint": "https://azurestackhci.azurefd.net/eastus", + "attestationServiceEndpoint": "https://dantestnoauth01.eus.attest.azure.net" + }, + "logCollectionProperties": { + "fromDate": "2020-01-01T17:18:19.1234567Z", + "toDate": "2021-01-01T17:18:19.1234567Z", + "lastLogGenerated": "2020-01-01T17:18:19.1234567Z", + "logCollectionSessionDetails": [ + { + "logStartTime": "2020-01-01T17:18:19.1234567Z", + "logEndTime": "2020-01-01T17:18:19.1234567Z", + "timeCollected": "2020-01-01T17:18:19.1234567Z", + "logSize": 1000, + "logCollectionStatus": "Succeeded", + "correlationId": "a76ab33a-1819-4e82-1212-e3e4ec3d1425", + "endTimeCollected": "2020-01-01T17:25:19.1234567Z" + } + ] + }, + "identityProvider": "ActiveDirectory", + "reportedProperties": { + "clusterName": "cluster1", + "clusterId": "a76ac23a-1819-4e82-9410-e3e4ec3d1425", + "clusterVersion": "10.0.17777", + "clusterType": "ThirdParty", + "manufacturer": "Dell Inc.", + "oemActivation": "Disabled", + "nodes": [ + { + "name": "Node1", + "id": 1, + "windowsServerSubscription": "Enabled", + "manufacturer": "Dell Inc.", + "model": "EMC AX740", + "osName": "Azure Stack HCI", + "osVersion": "10.0.17777.1061", + "serialNumber": "Q45CZC3", + "coreCount": 8, + "memoryInGiB": 128, + "lastLicensingTimestamp": "2020-03-11T19:24:42.1946017Z", + "oemActivation": "Disabled" + }, + { + "name": "Node2", + "id": 2, + "windowsServerSubscription": "Enabled", + "manufacturer": "Dell Inc.", + "model": "EMC AX740", + "osName": "Azure Stack HCI", + "osVersion": "10.0.17777.1061", + "serialNumber": "Q44BSC3", + "coreCount": 8, + "memoryInGiB": 128, + "lastLicensingTimestamp": "2020-03-11T19:24:42.1946017Z", + "oemActivation": "Disabled" + }, + { + "name": "Node3", + "id": 3, + "windowsServerSubscription": "Enabled", + "manufacturer": "Dell Inc.", + "model": "EMC AX740", + "osName": "Azure Stack HCI", + "osVersion": "10.0.17777.1061", + "serialNumber": "Q44RFC3", + "coreCount": 16, + "memoryInGiB": 256, + "lastLicensingTimestamp": "2020-03-11T19:24:42.1946017Z", + "oemActivation": "Disabled" + } + ], + "lastUpdated": "2020-03-11T19:24:42.1946017Z", + "imdsAttestation": "Disabled", + "diagnosticLevel": "Basic", + "hardwareClass": "Medium" + }, + "trialDaysRemaining": 30, + "billingModel": "Trial", + "registrationTimestamp": "2020-03-11T20:44:32.5625121Z", + "lastSyncTimestamp": "2020-03-11T20:44:32.5625121Z", + "lastBillingTimestamp": "2020-03-12T08:12:55.2312022Z" + } + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/GetDeploymentSettings.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/GetDeploymentSettings.json new file mode 100644 index 000000000000..2fe4b7f937ec --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/GetDeploymentSettings.json @@ -0,0 +1,271 @@ +{ + "parameters": { + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "test-rg", + "clusterName": "myCluster", + "deploymentSettingsName": "default", + "api-version": "2025-11-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/test-rg/providers/Microsoft.AzureStackHCI/clusters/myCluster/deploymentSettings/default", + "name": "default", + "type": "Microsoft.AzureStackHCI/clusters/deploymentSettings", + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2021-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-02T17:18:19.1234567Z" + }, + "properties": { + "provisioningState": "Succeeded", + "operationType": "ClusterProvisioning", + "deploymentMode": "Deploy", + "arcNodeResourceIds": [ + "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.HybridCompute/machines/Node-1", + "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.HybridCompute/machines/Node-2" + ], + "deploymentConfiguration": { + "version": "string", + "scaleUnits": [ + { + "deploymentData": { + "securitySettings": { + "hvciProtection": true, + "drtmProtection": true, + "driftControlEnforced": true, + "credentialGuardEnforced": false, + "smbSigningEnforced": true, + "smbClusterEncryption": false, + "sideChannelMitigationEnforced": true, + "bitlockerBootVolume": true, + "bitlockerDataVolumes": true, + "wdacEnforced": true + }, + "observability": { + "streamingDataClient": true, + "euLocation": false, + "episodicDataUpload": true + }, + "cluster": { + "name": "testHCICluster", + "witnessType": "Cloud", + "witnessPath": "Cloud", + "cloudAccountName": "myasestoragacct", + "azureServiceEndpoint": "core.windows.net", + "hardwareClass": "Medium" + }, + "storage": { + "configurationMode": "Express" + }, + "namingPrefix": "ms169", + "domainFqdn": "ASZ1PLab8.nttest.microsoft.com", + "infrastructureNetwork": [ + { + "subnetMask": "255.255.248.0", + "gateway": "255.255.248.0", + "ipPools": [ + { + "startingAddress": "10.57.48.60", + "endingAddress": "10.57.48.66" + } + ], + "dnsServerConfig": "UseDnsServer", + "dnsServers": [ + "10.57.50.90" + ] + } + ], + "physicalNodes": [ + { + "name": "ms169host", + "ipv4Address": "10.57.51.224" + }, + { + "name": "ms154host", + "ipv4Address": "10.57.53.236" + } + ], + "hostNetwork": { + "intents": [ + { + "name": "Compute_Management", + "trafficType": [ + "Compute", + "Management" + ], + "adapter": [ + "Port2" + ], + "overrideVirtualSwitchConfiguration": false, + "virtualSwitchConfigurationOverrides": { + "enableIov": "True", + "loadBalancingAlgorithm": "HyperVPort" + }, + "overrideQosPolicy": false, + "qosPolicyOverrides": { + "priorityValue8021Action_Cluster": "7", + "priorityValue8021Action_SMB": "3", + "bandwidthPercentage_SMB": "50" + }, + "overrideAdapterProperty": false, + "adapterPropertyOverrides": { + "jumboPacket": "1514", + "networkDirect": "Enabled", + "networkDirectTechnology": "iWARP" + } + } + ], + "storageNetworks": [ + { + "name": "Storage1Network", + "networkAdapterName": "Port3", + "vlanId": "5", + "storageAdapterIPInfo": [ + { + "physicalNode": "string", + "ipv4Address": "10.57.48.60", + "subnetMask": "255.255.248.0" + } + ] + } + ], + "storageConnectivitySwitchless": true, + "enableStorageAutoIp": false + }, + "sdnIntegration": { + "networkController": { + "macAddressPoolStart": "00-0D-3A-1B-C7-21", + "macAddressPoolStop": "00-0D-3A-1B-C7-29", + "networkVirtualizationEnabled": true + } + }, + "adouPath": "OU=ms169,DC=ASZ1PLab8,DC=nttest,DC=microsoft,DC=com", + "secretsLocation": "/subscriptions/db4e2fdb-6d80-4e6e-b7cd-xxxxxxx/resourceGroups/test-rg/providers/Microsoft.KeyVault/vaults/abcd123", + "secrets": [ + { + "secretName": "cluster1-BmcAdminUser-f5bcc1d9-23af-4ae9-aca1-041d0f593a63", + "eceSecretName": "BMCAdminUserCred", + "secretLocation": "https://sclusterkvnirhci35.vault.azure.net/secrets/cluster-34232342-BmcAdminUser-f5bcc1d9-23af-4ae9-aca1-041d0f593a63/9276354aabfc492fa9b2cdbefb54ae4b" + }, + { + "secretName": "cluster2-AzureStackLCMUserCredential-f5bcc1d9-23af-4ae9-aca1-041d0f593a63", + "eceSecretName": "AzureStackLCMUserCredential", + "secretLocation": "https://sclusterkvnirhci35.vault.azure.net/secrets/cluster-34232342-AzureStackLCMUserCredential-f5bcc1d9-23af-4ae9-aca1-041d0f593a63/9276354aabfc492fa9b2cdbefb54ae4c" + } + ], + "optionalServices": { + "customLocation": "customLocationName" + } + }, + "sbePartnerInfo": { + "sbeDeploymentInfo": { + "version": "4.0.2309.13", + "family": "Gen5", + "publisher": "Contoso", + "sbeManifestSource": "default", + "sbeManifestCreationDate": "2023-07-25T02:40:33Z" + }, + "partnerProperties": [ + { + "name": "EnableBMCIpV6", + "value": "false" + }, + { + "name": "PhoneHomePort", + "value": "1653" + }, + { + "name": "BMCSecurityState", + "value": "HighSecurity" + } + ], + "credentialList": [ + { + "secretName": "cluster1-DownloadConnectorCred-f5bcc1d9-23af-4ae9-aca1-041d0f593a63", + "eceSecretName": "DownloadConnectorCred", + "secretLocation": "https://sclusterkvnirhci35.vault.azure.net/secrets/cluster-34232342-DownloadConnectorCred-f5bcc1d9-23af-4ae9-aca1-041d0f593a63/9276354aabfc492fa9b2cdbefb54ae4b" + } + ] + } + } + ] + }, + "reportedProperties": { + "validationStatus": { + "status": "Error", + "steps": [ + { + "fullStepIndex": "0", + "name": "Cloud Deployment", + "description": "Deploy Cloud.", + "startTimeUtc": "2023-06-09T00:08:19", + "endTimeUtc": "2023-06-09T04:01:47", + "status": "Error", + "steps": [ + { + "fullStepIndex": "0.1", + "name": "Before Cloud Deployment", + "description": "Before Cloud Deployment", + "startTimeUtc": "2023-06-09T00:08:23", + "endTimeUtc": "2023-06-09T01:10:10" + }, + { + "fullStepIndex": "0.36", + "name": "Clean up temporary content", + "description": "Clean up temporary content", + "startTimeUtc": "2023-06-09T03:58:37", + "endTimeUtc": "2023-06-09T04:01:47", + "status": "Error", + "exception": [ + "exception1", + "exception2" + ] + } + ] + } + ] + }, + "deploymentStatus": { + "status": "Error", + "steps": [ + { + "fullStepIndex": "0", + "name": "Cloud Deployment", + "description": "Deploy Cloud.", + "startTimeUtc": "2023-06-09T00:08:19", + "endTimeUtc": "2023-06-09T04:01:47", + "status": "Error", + "steps": [ + { + "fullStepIndex": "0.1", + "name": "Before Cloud Deployment", + "description": "Before Cloud Deployment", + "startTimeUtc": "2023-06-09T00:08:23", + "endTimeUtc": "2023-06-09T01:10:10" + }, + { + "fullStepIndex": "0.36", + "name": "Clean up temporary content", + "description": "Clean up temporary content", + "startTimeUtc": "2023-06-09T03:58:37", + "endTimeUtc": "2023-06-09T04:01:47", + "status": "Error", + "exception": [ + "exception1", + "exception2" + ] + } + ] + } + ] + } + } + } + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/GetEdgeDevices.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/GetEdgeDevices.json new file mode 100644 index 000000000000..02b09db15c4b --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/GetEdgeDevices.json @@ -0,0 +1,46 @@ +{ + "parameters": { + "resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.HybridCompute/machines/Node-1", + "edgeDeviceName": "default", + "api-version": "2025-11-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.HybridCompute/machines/Node-1/providers/Microsoft.AzureStackHCI/edgeDevices/default", + "name": "default", + "type": "Microsoft.AzureStackHCI/edgeDevices", + "kind": "HCI", + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2021-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-02T17:18:19.1234567Z" + }, + "properties": { + "deviceConfiguration": { + "nicDetails": [ + { + "adapterName": "ethernet", + "interfaceDescription": "NDIS 6.70 ", + "componentId": "VMBUS{f8615163-df3e-46c5-913f-f2d2f965ed0g} ", + "driverVersion": "10.0.20348.1547 ", + "ip4Address": "10.10.10.10", + "subnetMask": "255.255.255.0", + "defaultGateway": "10.10.10.1", + "dnsServers": [ + "100.10.10.1" + ], + "defaultIsolationId": "0" + } + ], + "deviceMetadata": "" + }, + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/GetExtension.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/GetExtension.json new file mode 100644 index 000000000000..ddf79b9d68f9 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/GetExtension.json @@ -0,0 +1,80 @@ +{ + "parameters": { + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "test-rg", + "clusterName": "myCluster", + "arcSettingName": "default", + "extensionName": "MicrosoftMonitoringAgent", + "api-version": "2025-11-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/test-rg/providers/Microsoft.AzureStackHCI/clusters/myCluster/arcSettings/default/extensions/MicrosoftMonitoringAgent", + "name": "MicrosoftMonitoringAgent", + "type": "Microsoft.AzureStackHCI/clusters/arcSettings/extensions", + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2021-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-02T17:18:19.1234567Z" + }, + "properties": { + "provisioningState": "Succeeded", + "extensionParameters": { + "publisher": "Microsoft.Compute", + "type": "string", + "typeHandlerVersion": "1.10.3", + "autoUpgradeMinorVersion": false, + "enableAutomaticUpgrade": true, + "settings": { + "workspaceId": "xx" + } + }, + "aggregateState": "PartiallySucceeded", + "perNodeExtensionDetails": [ + { + "name": "Node-1", + "extension": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.HybridCompute/machines/Node-1/Extensions/MicrosoftMonitoringAgent", + "state": "Succeeded", + "typeHandlerVersion": "1.10.0", + "instanceView": { + "name": "MicrosoftMonitoringAgent", + "type": "MicrosoftMonitoringAgent", + "typeHandlerVersion": "1.10.0", + "status": { + "code": "success", + "level": "Information", + "displayStatus": "Provisioning succeeded", + "message": "Finished executing command, StdOut: , StdErr:", + "time": "2019-08-08T20:42:10.999Z" + } + } + }, + { + "name": "Node-2", + "extension": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.HybridCompute/machines/Node-2/Extensions/MicrosoftMonitoringAgent", + "state": "Failed", + "typeHandlerVersion": "1.10.3", + "instanceView": { + "name": "MicrosoftMonitoringAgent", + "type": "MicrosoftMonitoringAgent", + "typeHandlerVersion": "1.10.3", + "status": { + "code": "error", + "level": "Error", + "displayStatus": "Provisioning failed", + "message": "Finished executing command, StdOut: , StdErr:", + "time": "2019-08-08T20:42:10.999Z" + } + } + } + ], + "managedBy": "Azure" + } + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/GetOffer.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/GetOffer.json new file mode 100644 index 000000000000..4272270594a8 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/GetOffer.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "test-rg", + "clusterName": "myCluster", + "publisherName": "publisher1", + "offerName": "offer1", + "api-version": "2025-11-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/test-rg/providers/Microsoft.AzureStackHCI/clusters/myCluster/publishers/publisher1/offers/offer1", + "type": "Microsoft.AzureStackHCI/clusters/publishers/offers", + "name": "offer1", + "properties": { + "content": "{\"id\":\"canonical.ubuntuserver1404lts-arm-14.04.201808140\",\"displayName\":\"Ubuntu Server 14.04 LTS\",\"publisherId\":\"Canonical\",\"publisherName\":\"Canonical\",\"type\":\"VirtualMachine\",\"version\":\"14.04.201808140\",\"properties\":{\"description\":\"Ubuntu Server 14.04.5 LTS amd64. Ubuntu Server is the world's most popular Linux for cloud environments. Updates and patches for Ubuntu 14.04 LTS will be available until 2019-04-17. Ubuntu Server is the perfect virtual machine (VM) platform for all workloads from web applications to NoSQL databases and Hadoop. For more information see Ubuntu on Azure and using Juju to deploy your workloads.

Legal Terms

By clicking the Create button, I acknowledge that I am getting this software from Canonical and that the legal terms of Canonical apply to it. Microsoft does not provide rights for third-party software. Also see the privacy statement from Canonical.

\"},\"extendedProperties\":{\"osType\":\"Linux\",\"offer\":\"UbuntuServer\",\"offerVersion\":\"1.0.52\",\"sku\":\"14.04.5-LTS\",\"galleryItemIdentity\":\"Canonical.UbuntuServer1404LTS-ARM.1.0.52\"},\"links\":[{\"name\":[],\"uri\":[]},{\"name\":[],\"uri\":[]},{\"name\":[],\"uri\":[]},{\"name\":[],\"uri\":[]}],\"iconUris\":{\"medium\":\"https://azstmktdfwcu001.blob.core.windows.net/icons/e5da743bb86d4d429320a75bfa5b96b8/Medium.png\",\"wide\":\"https://azstmktdfwcu001.blob.core.windows.net/icons/e5da743bb86d4d429320a75bfa5b96b8/Wide.png\",\"large\":\"https://azstmktdfwcu001.blob.core.windows.net/icons/e5da743bb86d4d429320a75bfa5b96b8/Large.png\",\"small\":\"https://azstmktdfwcu001.blob.core.windows.net/icons/e5da743bb86d4d429320a75bfa5b96b8/Small.png\"},\"payloadLength\":32212288276,\"compatibility\":{\"isCompatible\":true,\"message\":\"None\",\"description\":\"None\",\"issues\":[]}}", + "contentVersion": "2018-01-01", + "publisherId": "publisher1", + "provisioningState": "Succeeded", + "skuMappings": [ + { + "catalogPlanId": "microsoftsqlserver.sql2019-ubuntu2004enterprise-arm", + "marketplaceSkuId": "enterprise", + "marketplaceSkuVersions": [ + "15.0.220208" + ] + } + ] + } + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/GetPublisher.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/GetPublisher.json new file mode 100644 index 000000000000..152d0fdffb8f --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/GetPublisher.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "test-rg", + "clusterName": "myCluster", + "publisherName": "publisher1", + "api-version": "2025-11-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/test-rg/providers/Microsoft.AzureStackHCI/clusters/myCluster/publishers/publisher1", + "type": "Microsoft.AzureStackHCI/clusters/publishers", + "name": "publisher1" + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/GetSecuritySettings.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/GetSecuritySettings.json new file mode 100644 index 000000000000..c63b8c00bd39 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/GetSecuritySettings.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "test-rg", + "clusterName": "myCluster", + "securitySettingsName": "default", + "api-version": "2025-11-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/test-rg/providers/Microsoft.AzureStackHCI/clusters/myCluster/securitySettings/default", + "type": "Microsoft.AzureStackHCI/clusters/securitySettings", + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2021-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-02T17:18:19.1234567Z" + }, + "properties": { + "securedCoreComplianceAssignment": "Audit", + "wdacComplianceAssignment": "ApplyAndAutoCorrect", + "smbEncryptionForIntraClusterTrafficComplianceAssignment": "Audit", + "securityComplianceStatus": { + "securedCoreCompliance": "Compliant", + "wdacCompliance": "Compliant", + "dataAtRestEncrypted": "Compliant", + "dataInTransitProtected": "Compliant", + "lastUpdated": "2023-11-14T07:09:44.771Z" + }, + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/GetSku.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/GetSku.json new file mode 100644 index 000000000000..c40be269c9d9 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/GetSku.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "test-rg", + "clusterName": "myCluster", + "publisherName": "publisher1", + "offerName": "offer1", + "skuName": "sku1", + "api-version": "2025-11-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/test-rg/providers/Microsoft.AzureStackHCI/clusters/myCluster/publishers/publisher1/offers/offer1/skus/sku1", + "type": "Microsoft.AzureStackHCI/clusters/publishers/offers/skus", + "name": "sku1", + "properties": { + "publisherId": "publisher1", + "offerId": "offer1", + "content": "{\"id\":\"canonical.ubuntuserver1404lts-arm-14.04.201808140\",\"displayName\":\"Ubuntu Server 14.04 LTS\",\"publisherId\":\"Canonical\",\"publisherName\":\"Canonical\",\"type\":\"VirtualMachine\",\"version\":\"14.04.201808140\",\"properties\":{\"description\":\"Ubuntu Server 14.04.5 LTS amd64. Ubuntu Server is the world's most popular Linux for cloud environments. Updates and patches for Ubuntu 14.04 LTS will be available until 2019-04-17. Ubuntu Server is the perfect virtual machine (VM) platform for all workloads from web applications to NoSQL databases and Hadoop. For more information see Ubuntu on Azure and using Juju to deploy your workloads.

Legal Terms

By clicking the Create button, I acknowledge that I am getting this software from Canonical and that the legal terms of Canonical apply to it. Microsoft does not provide rights for third-party software. Also see the privacy statement from Canonical.

\"},\"extendedProperties\":{\"osType\":\"Linux\",\"offer\":\"UbuntuServer\",\"offerVersion\":\"1.0.52\",\"sku\":\"14.04.5-LTS\",\"galleryItemIdentity\":\"Canonical.UbuntuServer1404LTS-ARM.1.0.52\"},\"links\":[{\"name\":[],\"uri\":[]},{\"name\":[],\"uri\":[]},{\"name\":[],\"uri\":[]},{\"name\":[],\"uri\":[]}],\"iconUris\":{\"medium\":\"https://azstmktdfwcu001.blob.core.windows.net/icons/e5da743bb86d4d429320a75bfa5b96b8/Medium.png\",\"wide\":\"https://azstmktdfwcu001.blob.core.windows.net/icons/e5da743bb86d4d429320a75bfa5b96b8/Wide.png\",\"large\":\"https://azstmktdfwcu001.blob.core.windows.net/icons/e5da743bb86d4d429320a75bfa5b96b8/Large.png\",\"small\":\"https://azstmktdfwcu001.blob.core.windows.net/icons/e5da743bb86d4d429320a75bfa5b96b8/Small.png\"},\"payloadLength\":32212288276,\"compatibility\":{\"isCompatible\":true,\"message\":\"None\",\"description\":\"None\",\"issues\":[]}}", + "contentVersion": "2018-01-01", + "provisioningState": "Succeeded", + "skuMappings": [ + { + "catalogPlanId": "microsoftsqlserver.sql2019-ubuntu2004enterprise-arm", + "marketplaceSkuId": "enterprise", + "marketplaceSkuVersions": [ + "15.0.220208" + ] + } + ] + } + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/GetUpdateRuns.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/GetUpdateRuns.json new file mode 100644 index 000000000000..60fd9c60360a --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/GetUpdateRuns.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "subscriptionId": "b8d594e5-51f3-4c11-9c54-a7771b81c712", + "resourceGroupName": "testrg", + "clusterName": "testcluster", + "updateName": "Microsoft4.2203.2.32", + "updateRunName": "23b779ba-0d52-4a80-8571-45ca74664ec3", + "api-version": "2025-11-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/b8d594e5-51f3-4c11-9c54-a7771b81c712/resourceGroups/testrg/providers/Microsoft.AzureStackHCI/clusters/testcluster/updates/Microsoft4.2203.2.32/updateRuns/23b779ba-0d52-4a80-8571-45ca74664ec3", + "name": "Microsoft4.2203.2.32/23b779ba-0d52-4a80-8571-45ca74664ec3", + "type": "Microsoft.AzureStackHCI/updates/updateRuns", + "location": "West US", + "properties": { + "progress": { + "name": "Unnamed step", + "description": "Update Azure Stack.", + "errorMessage": "", + "status": "Success", + "startTimeUtc": "2022-04-06T01:36:33.3876751+00:00", + "endTimeUtc": "2022-04-06T13:58:42.969006+00:00", + "lastUpdatedTimeUtc": "2022-04-06T13:58:42.969006+00:00", + "steps": [ + { + "name": "PreUpdate Cloud", + "description": "Prepare for SSU update", + "errorMessage": "", + "status": "Success", + "startTimeUtc": "2022-04-06T01:36:33.3876751+00:00", + "endTimeUtc": "2022-04-06T01:37:16.8728314+00:00", + "lastUpdatedTimeUtc": "2022-04-06T01:37:16.8728314+00:00", + "steps": [] + } + ] + } + } + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/GetUpdateSummaries.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/GetUpdateSummaries.json new file mode 100644 index 000000000000..47e486be20cb --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/GetUpdateSummaries.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "subscriptionId": "b8d594e5-51f3-4c11-9c54-a7771b81c712", + "resourceGroupName": "testrg", + "clusterName": "testcluster", + "api-version": "2025-11-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/b8d594e5-51f3-4c11-9c54-a7771b81c712/resourceGroups/testrg/providers/Microsoft.AzureStackHCI/clusters/testcluster/updateSummaries/default", + "name": "default", + "type": "Microsoft.AzureStackHCI/updateSummaries", + "location": "West US", + "properties": { + "oemFamily": "DellEMC", + "hardwareModel": "PowerEdge R730xd", + "packageVersions": [ + { + "packageType": "OEM", + "version": "2.2.2108.6", + "lastUpdated": "2022-04-07T18:04:07Z" + }, + { + "packageType": "Services", + "version": "4.2203.2.32", + "lastUpdated": "2022-04-07T18:04:07Z" + }, + { + "packageType": "Infrastructure", + "version": "4.2203.2.32", + "lastUpdated": "2022-04-07T18:04:07Z" + } + ], + "currentVersion": "4.2203.2.32", + "state": "AppliedSuccessfully" + } + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/GetUpdates.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/GetUpdates.json new file mode 100644 index 000000000000..d3534b615311 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/GetUpdates.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "subscriptionId": "b8d594e5-51f3-4c11-9c54-a7771b81c712", + "resourceGroupName": "testrg", + "clusterName": "testcluster", + "updateName": "Microsoft4.2203.2.32", + "api-version": "2025-11-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/b8d594e5-51f3-4c11-9c54-a7771b81c712/resourceGroups/testrg/providers/Microsoft.AzureStackHCI/clusters/testcluster/updates/Microsoft4.2203.2.32", + "name": "Microsoft4.2203.2.32", + "type": "Microsoft.AzureStackHCI/updates", + "location": "West US", + "properties": { + "installedDate": "2022-04-06T14:08:18.254Z", + "description": "AzS Update 4.2203.2.32", + "state": "Installed", + "prerequisites": [ + { + "updateType": "update type", + "version": "prerequisite version", + "packageName": "update package name" + } + ], + "packagePath": "\\\\SU1FileServer\\SU1_Infrastructure_2\\Updates\\Packages\\Microsoft4.2203.2.32", + "packageSizeInMb": 18858, + "displayName": "AzS Update - 4.2203.2.32", + "version": "4.2203.2.32", + "publisher": "Microsoft", + "releaseLink": "https://docs.microsoft.com/azure-stack/operator/release-notes?view=azs-2203", + "availabilityType": "Local", + "packageType": "Infrastructure", + "updateStateProperties": { + "notifyMessage": "Brief message with instructions for updates of AvailabilityType Notify", + "progressPercentage": 0 + }, + "additionalProperties": "additional properties" + } + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/InitializeDisableProcess.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/InitializeDisableProcess.json new file mode 100644 index 000000000000..0813c00ab77c --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/InitializeDisableProcess.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "test-rg", + "clusterName": "myCluster", + "arcSettingName": "default", + "api-version": "2025-11-01-preview" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://foo.com/operationStatuses", + "Retry-After": 200, + "Azure-AsyncOperation": "https://foo.com/operationStatuses" + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/KubernetesVersions_ListBySubscriptionLocationResource_MaximumSet_Gen.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/KubernetesVersions_ListBySubscriptionLocationResource_MaximumSet_Gen.json new file mode 100644 index 000000000000..8419328c64a1 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/KubernetesVersions_ListBySubscriptionLocationResource_MaximumSet_Gen.json @@ -0,0 +1,26 @@ +{ + "title": "KubernetesVersions_ListBySubscriptionLocationResource_MaximumSet", + "operationId": "KubernetesVersions_ListBySubscriptionLocationResource", + "parameters": { + "api-version": "2025-11-01-preview", + "subscriptionId": "ABB13722-6A68-4BFC-AE89-57B2EE91EA11", + "location": "westus2" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "version": "1.23.13" + }, + "id": "/subscriptions/b8d594e5-51f3-4c11-9c54-a7771b81c712/providers/Microsoft.AzureStackHCI/kubernetesVersions/1.23.13", + "name": "1.23.13", + "type": "Microsoft.AzureStackHCI/KubernetesVersions" + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/ListArcSettingsByCluster.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/ListArcSettingsByCluster.json new file mode 100644 index 000000000000..a6b122920015 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/ListArcSettingsByCluster.json @@ -0,0 +1,64 @@ +{ + "parameters": { + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "test-rg", + "clusterName": "myCluster", + "api-version": "2025-11-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/test-rg/providers/Microsoft.AzureStackHCI/clusters/myCluster/arcSettings/default", + "type": "Microsoft.AzureStackHCI/clusters/arcSettings", + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2021-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-02T17:18:19.1234567Z" + }, + "properties": { + "provisioningState": "Succeeded", + "arcInstanceResourceGroup": "ArcInstance-rg", + "aggregateState": "PartiallyConnected", + "perNodeDetails": [ + { + "name": "Node-1", + "arcInstance": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.HybridCompute/machines/Node-1", + "state": "Connected" + }, + { + "name": "Node-2", + "arcInstance": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.HybridCompute/machines/Node-2", + "state": "Disconnected" + } + ], + "connectivityProperties": { + "enabled": false, + "serviceConfigurations": [ + { + "serviceName": "WAC", + "port": 6516 + } + ] + }, + "defaultExtensions": [ + { + "category": "Telemetry", + "consentTime": "2023-01-01T17:18:19.1234567Z" + }, + { + "category": "Supportability", + "consentTime": null + } + ] + } + } + ] + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/ListClustersByResourceGroup.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/ListClustersByResourceGroup.json new file mode 100644 index 000000000000..c5e071ecc5ae --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/ListClustersByResourceGroup.json @@ -0,0 +1,137 @@ +{ + "parameters": { + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "test-rg", + "api-version": "2025-11-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/test-rg/providers/Microsoft.AzureStackHCI/clusters/myCluster1", + "name": "myCluster1", + "type": "Microsoft.AzureStackHCI/clusters", + "location": "East US", + "tags": {}, + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2020-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" + }, + "properties": { + "provisioningState": "Succeeded", + "status": "NotYetRegistered", + "connectivityStatus": "NotYetRegistered", + "supportStatus": "InSupport", + "ring": "Production", + "cloudId": "91c2b355-4826-4e96-9164-e3f26dcf1cdd", + "cloudManagementEndpoint": "https://98294836-31be-4668-aeae-698667faf99b.waconazure.com", + "aadClientId": "515da1c2-379e-49b4-9975-09e3e40c86be", + "aadTenantId": "7e589cc1-a8b6-4dff-91bd-5ec0fa18db94", + "identityProvider": "ActiveDirectory", + "desiredProperties": { + "windowsServerSubscription": "Enabled", + "diagnosticLevel": "Basic" + }, + "reportedProperties": {}, + "trialDaysRemaining": 29, + "billingModel": "Trial" + } + }, + { + "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/test-rg/providers/Microsoft.AzureStackHCI/clusters/myCluster2", + "name": "myCluster2", + "type": "Microsoft.AzureStackHCI/clusters", + "location": "East US", + "tags": {}, + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2020-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" + }, + "properties": { + "provisioningState": "Succeeded", + "status": "ConnectedRecently", + "connectivityStatus": "PartiallyConnected", + "supportStatus": "InSupport", + "ring": "Production", + "cloudId": "a3c0468f-e38e-4dda-ac48-817f620536f0", + "cloudManagementEndpoint": "https://98294836-31be-4668-aeae-698667faf99b.waconazure.com", + "aadClientId": "24a6e53d-04e5-44d2-b7cc-1b732a847dfc", + "aadTenantId": "7e589cc1-a8b6-4dff-91bd-5ec0fa18db94", + "identityProvider": "ActiveDirectory", + "desiredProperties": { + "windowsServerSubscription": "Enabled", + "diagnosticLevel": "Basic" + }, + "reportedProperties": { + "clusterName": "cluster1", + "clusterId": "a76ac23a-1819-4e82-9410-e3e4ec3d1425", + "clusterVersion": "10.0.17777", + "clusterType": "ThirdParty", + "manufacturer": "Dell Inc.", + "oemActivation": "Disabled", + "nodes": [ + { + "name": "Node1", + "id": 0, + "windowsServerSubscription": "Enabled", + "manufacturer": "Dell Inc.", + "model": "EMC AX740", + "osName": "Azure Stack HCI", + "osVersion": "10.0.17777.1061", + "serialNumber": "Q45CZC3", + "coreCount": 8, + "memoryInGiB": 128, + "oemActivation": "Enabled" + }, + { + "name": "Node2", + "id": 1, + "windowsServerSubscription": "Enabled", + "manufacturer": "Dell Inc.", + "model": "EMC AX740", + "osName": "Azure Stack HCI", + "osVersion": "10.0.17777.1061", + "serialNumber": "Q44BSC3", + "coreCount": 8, + "memoryInGiB": 128, + "oemActivation": "Enabled" + }, + { + "name": "Node3", + "id": 2, + "windowsServerSubscription": "Enabled", + "manufacturer": "Dell Inc.", + "model": "EMC AX740", + "osName": "Azure Stack HCI", + "osVersion": "10.0.17777.1061", + "serialNumber": "Q44RFC3", + "coreCount": 16, + "memoryInGiB": 256, + "oemActivation": "Disabled" + } + ], + "lastUpdated": "2020-03-11T19:24:42.1946017Z", + "imdsAttestation": "Disabled", + "diagnosticLevel": "Basic" + }, + "trialDaysRemaining": 30, + "billingModel": "Trial", + "registrationTimestamp": "2020-03-11T20:44:32.5625121Z", + "lastSyncTimestamp": "2020-03-11T20:44:32.5625121Z", + "lastBillingTimestamp": "2020-03-12T08:12:55.2312022Z" + } + } + ] + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/ListClustersBySubscription.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/ListClustersBySubscription.json new file mode 100644 index 000000000000..3137aa8b1d02 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/ListClustersBySubscription.json @@ -0,0 +1,136 @@ +{ + "parameters": { + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "api-version": "2025-11-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/test-rg1/providers/Microsoft.AzureStackHCI/clusters/myCluster1", + "name": "myCluster1", + "type": "Microsoft.AzureStackHCI/clusters", + "location": "East US", + "tags": {}, + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2020-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" + }, + "properties": { + "provisioningState": "Succeeded", + "status": "NotYetRegistered", + "connectivityStatus": "NotYetRegistered", + "supportStatus": "InSupport", + "ring": "Production", + "cloudId": "91c2b355-4826-4e96-9164-e3f26dcf1cdd", + "cloudManagementEndpoint": "https://98294836-31be-4668-aeae-698667faf99b.waconazure.com", + "aadClientId": "515da1c2-379e-49b4-9975-09e3e40c86be", + "aadTenantId": "7e589cc1-a8b6-4dff-91bd-5ec0fa18db94", + "identityProvider": "ActiveDirectory", + "desiredProperties": { + "windowsServerSubscription": "Enabled", + "diagnosticLevel": "Basic" + }, + "reportedProperties": {}, + "trialDaysRemaining": 29, + "billingModel": "Trial" + } + }, + { + "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/test-rg2/providers/Microsoft.AzureStackHCI/clusters/myCluster2", + "name": "myCluster2", + "type": "Microsoft.AzureStackHCI/clusters", + "location": "West US", + "tags": {}, + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2020-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" + }, + "properties": { + "provisioningState": "Succeeded", + "status": "ConnectedRecently", + "connectivityStatus": "Connected", + "supportStatus": "InSupport", + "ring": "Production", + "cloudId": "a3c0468f-e38e-4dda-ac48-817f620536f0", + "cloudManagementEndpoint": "https://98294836-31be-4668-aeae-698667faf99b.waconazure.com", + "aadClientId": "24a6e53d-04e5-44d2-b7cc-1b732a847dfc", + "aadTenantId": "7e589cc1-a8b6-4dff-91bd-5ec0fa18db94", + "identityProvider": "ActiveDirectory", + "desiredProperties": { + "windowsServerSubscription": "Enabled", + "diagnosticLevel": "Basic" + }, + "reportedProperties": { + "clusterName": "cluster1", + "clusterId": "a76ac23a-1819-4e82-9410-e3e4ec3d1425", + "clusterVersion": "10.0.17777", + "clusterType": "ThirdParty", + "manufacturer": "Dell Inc.", + "oemActivation": "Enabled", + "nodes": [ + { + "name": "Node1", + "id": 0, + "windowsServerSubscription": "Enabled", + "manufacturer": "Dell Inc.", + "model": "EMC AX740", + "osName": "Azure Stack HCI", + "osVersion": "10.0.17777.1061", + "serialNumber": "Q45CZC3", + "coreCount": 8, + "memoryInGiB": 128, + "oemActivation": "Enabled" + }, + { + "name": "Node2", + "id": 1, + "windowsServerSubscription": "Enabled", + "manufacturer": "Dell Inc.", + "model": "EMC AX740", + "osName": "Azure Stack HCI", + "osVersion": "10.0.17777.1061", + "serialNumber": "Q44BSC3", + "coreCount": 8, + "memoryInGiB": 128, + "oemActivation": "Enabled" + }, + { + "name": "Node3", + "id": 2, + "windowsServerSubscription": "Enabled", + "manufacturer": "Dell Inc.", + "model": "EMC AX740", + "osName": "Azure Stack HCI", + "osVersion": "10.0.17777.1061", + "serialNumber": "Q44RFC3", + "coreCount": 16, + "memoryInGiB": 256, + "oemActivation": "Enabled" + } + ], + "lastUpdated": "2020-03-11T19:24:42.1946017Z", + "imdsAttestation": "Disabled", + "diagnosticLevel": "Basic" + }, + "trialDaysRemaining": 30, + "billingModel": "Trial", + "registrationTimestamp": "2020-03-11T20:44:32.5625121Z", + "lastSyncTimestamp": "2020-03-11T20:44:32.5625121Z", + "lastBillingTimestamp": "2020-03-12T08:12:55.2312022Z" + } + } + ] + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/ListDeploymentSettingsByCluster.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/ListDeploymentSettingsByCluster.json new file mode 100644 index 000000000000..b2d5e80ae66b --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/ListDeploymentSettingsByCluster.json @@ -0,0 +1,203 @@ +{ + "parameters": { + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "test-rg", + "clusterName": "myCluster", + "api-version": "2025-11-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/test-rg/providers/Microsoft.AzureStackHCI/clusters/myCluster/deploymentSettings/default", + "name": "default", + "type": "Microsoft.AzureStackHCI/clusters/deploymentSettings", + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2021-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-02T17:18:19.1234567Z" + }, + "properties": { + "provisioningState": "Succeeded", + "operationType": "ClusterProvisioning", + "deploymentMode": "Deploy", + "arcNodeResourceIds": [ + "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.HybridCompute/machines/Node-1", + "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.HybridCompute/machines/Node-2" + ], + "deploymentConfiguration": { + "version": "string", + "scaleUnits": [ + { + "deploymentData": { + "securitySettings": { + "hvciProtection": true, + "drtmProtection": true, + "driftControlEnforced": true, + "credentialGuardEnforced": false, + "smbSigningEnforced": true, + "smbClusterEncryption": false, + "sideChannelMitigationEnforced": true, + "bitlockerBootVolume": true, + "bitlockerDataVolumes": true, + "wdacEnforced": true + }, + "observability": { + "streamingDataClient": true, + "euLocation": false, + "episodicDataUpload": true + }, + "cluster": { + "name": "testHCICluster", + "witnessType": "Cloud", + "witnessPath": "Cloud", + "cloudAccountName": "myasestoragacct", + "azureServiceEndpoint": "core.windows.net" + }, + "storage": { + "configurationMode": "Express" + }, + "namingPrefix": "ms169", + "domainFqdn": "ASZ1PLab8.nttest.microsoft.com", + "infrastructureNetwork": [ + { + "subnetMask": "255.255.248.0", + "gateway": "255.255.248.0", + "ipPools": [ + { + "startingAddress": "10.57.48.60", + "endingAddress": "10.57.48.66" + } + ], + "dnsServerConfig": "UseDnsServer", + "dnsServers": [ + "10.57.50.90" + ] + } + ], + "physicalNodes": [ + { + "name": "ms169host", + "ipv4Address": "10.57.51.224" + }, + { + "name": "ms154host", + "ipv4Address": "10.57.53.236" + } + ], + "hostNetwork": { + "intents": [ + { + "name": "Compute_Management", + "trafficType": [ + "Compute", + "Management" + ], + "adapter": [ + "Port2" + ], + "overrideVirtualSwitchConfiguration": false, + "virtualSwitchConfigurationOverrides": { + "enableIov": "True", + "loadBalancingAlgorithm": "HyperVPort" + }, + "overrideQosPolicy": false, + "qosPolicyOverrides": { + "priorityValue8021Action_Cluster": "7", + "priorityValue8021Action_SMB": "3", + "bandwidthPercentage_SMB": "50" + }, + "overrideAdapterProperty": false, + "adapterPropertyOverrides": { + "jumboPacket": "1514", + "networkDirect": "Enabled", + "networkDirectTechnology": "iWARP" + } + } + ], + "storageNetworks": [ + { + "name": "Storage1Network", + "networkAdapterName": "Port3", + "vlanId": "5", + "storageAdapterIPInfo": [ + { + "physicalNode": "string", + "ipv4Address": "10.57.48.60", + "subnetMask": "255.255.248.0" + } + ] + } + ], + "storageConnectivitySwitchless": true, + "enableStorageAutoIp": false + }, + "sdnIntegration": { + "networkController": { + "macAddressPoolStart": "00-0D-3A-1B-C7-21", + "macAddressPoolStop": "00-0D-3A-1B-C7-29", + "networkVirtualizationEnabled": true + } + }, + "adouPath": "OU=ms169,DC=ASZ1PLab8,DC=nttest,DC=microsoft,DC=com", + "secretsLocation": "/subscriptions/db4e2fdb-6d80-4e6e-b7cd-xxxxxxx/resourceGroups/test-rg/providers/Microsoft.KeyVault/vaults/abcd123", + "secrets": [ + { + "secretName": "cluster1-BmcAdminUser-f5bcc1d9-23af-4ae9-aca1-041d0f593a63", + "eceSecretName": "BMCAdminUserCred", + "secretLocation": "https://sclusterkvnirhci35.vault.azure.net/secrets/cluster-34232342-BmcAdminUser-f5bcc1d9-23af-4ae9-aca1-041d0f593a63/9276354aabfc492fa9b2cdbefb54ae4b" + }, + { + "secretName": "cluster2-AzureStackLCMUserCredential-f5bcc1d9-23af-4ae9-aca1-041d0f593a63", + "eceSecretName": "AzureStackLCMUserCredential", + "secretLocation": "https://sclusterkvnirhci35.vault.azure.net/secrets/cluster-34232342-AzureStackLCMUserCredential-f5bcc1d9-23af-4ae9-aca1-041d0f593a63/9276354aabfc492fa9b2cdbefb54ae4c" + } + ], + "optionalServices": { + "customLocation": "customLocationName" + } + }, + "sbePartnerInfo": { + "sbeDeploymentInfo": { + "version": "4.0.2309.13", + "family": "Gen5", + "publisher": "Contoso", + "sbeManifestSource": "default", + "sbeManifestCreationDate": "2023-07-25T02:40:33Z" + }, + "partnerProperties": [ + { + "name": "EnableBMCIpV6", + "value": "false" + }, + { + "name": "PhoneHomePort", + "value": "1653" + }, + { + "name": "BMCSecurityState", + "value": "HighSecurity" + } + ], + "credentialList": [ + { + "secretName": "cluster1-DownloadConnectorCred-f5bcc1d9-23af-4ae9-aca1-041d0f593a63", + "eceSecretName": "DownloadConnectorCred", + "secretLocation": "https://sclusterkvnirhci35.vault.azure.net/secrets/cluster-34232342-DownloadConnectorCred-f5bcc1d9-23af-4ae9-aca1-041d0f593a63/9276354aabfc492fa9b2cdbefb54ae4b" + } + ] + } + } + ] + } + } + } + ] + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/ListEdgeDevices.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/ListEdgeDevices.json new file mode 100644 index 000000000000..8dc4389a3862 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/ListEdgeDevices.json @@ -0,0 +1,72 @@ +{ + "parameters": { + "resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.HybridCompute/machines/Node-1", + "edgeDeviceName": "default", + "api-version": "2025-11-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.HybridCompute/machines/Node-1/providers/Microsoft.AzureStackHCI/edgeDevices/default", + "name": "default", + "type": "Microsoft.AzureStackHCI/edgeDevices", + "kind": "HCI", + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2021-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-02T17:18:19.1234567Z" + }, + "properties": { + "reportedProperties": { + "networkProfile": { + "nicDetails": [ + { + "adapterName": "vmanagement", + "interfaceDescription": "Hyper-V Virtual Ethernet Adapter", + "componentId": "vms_mp", + "driverVersion": "10.0.25398.1", + "ip4Address": "192.168.200.92", + "subnetMask": "255.255.255.0", + "defaultGateway": "192.168.200.1", + "dnsServers": [ + "192.168.200.222" + ], + "defaultIsolationId": "0", + "slot": "0", + "macAddress": "000000000041", + "switchName": null, + "nicType": "Virtual", + "vlanId": "0", + "nicStatus": "Up" + } + ], + "switchDetails": [ + { + "switchName": "vmanagement", + "switchType": "External" + } + ] + }, + "osProfile": { + "bootType": "UEFI", + "assemblyVersion": "2402.1" + }, + "sbeDeploymentPackageInfo": { + "code": "NewerThanLatestPublished", + "message": "The SBE package at path 'C:\\SBE' with version 4.1.2312.10 is published later than the latest SBE manifest published for online discovery. ", + "sbeManifest": "PEFwcGxpY2Fi" + } + }, + "provisioningState": "Succeeded" + } + } + ] + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/ListExtensionsByArcSetting.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/ListExtensionsByArcSetting.json new file mode 100644 index 000000000000..43deb1295fc4 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/ListExtensionsByArcSetting.json @@ -0,0 +1,95 @@ +{ + "parameters": { + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "test-rg", + "clusterName": "myCluster", + "arcSettingName": "default", + "api-version": "2025-11-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/test-rg/providers/Microsoft.AzureStackHCI/clusters/myCluster/arcSettings/default/extensions/MicrosoftMonitoringAgent", + "name": "MicrosoftMonitoringAgent", + "type": "Microsoft.AzureStackHCI/clusters/arcSettings/extensions", + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2021-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-02T17:18:19.1234567Z" + }, + "properties": { + "provisioningState": "Succeeded", + "extensionParameters": { + "publisher": "Microsoft.Compute", + "type": "string", + "typeHandlerVersion": "1.10.3", + "autoUpgradeMinorVersion": false, + "settings": { + "workspaceId": "xx" + } + }, + "aggregateState": "PartiallyConnected", + "perNodeExtensionDetails": [ + { + "name": "Node-1", + "extension": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.HybridCompute/machines/Node-1/Extensions/MicrosoftMonitoringAgent", + "state": "Connected" + }, + { + "name": "Node-2", + "extension": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.HybridCompute/machines/Node-2/Extensions/MicrosoftMonitoringAgent", + "state": "Disconnected" + } + ], + "managedBy": "Azure" + } + }, + { + "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/test-rg/providers/Microsoft.AzureStackHCI/clusters/myCluster/arcSettings/default/Extensions/SecurityExtension", + "name": "CustomScriptExtension", + "type": "Microsoft.AzureStackHCI/clusters/arcSettings/extensions", + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2021-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-02T17:18:19.1234567Z" + }, + "properties": { + "provisioningState": "Succeeded", + "extensionParameters": { + "publisher": "Microsoft.CustomScriptExtension", + "type": "string", + "typeHandlerVersion": "1.10.3", + "autoUpgradeMinorVersion": false, + "settings": { + "scriptLocation": "xx" + } + }, + "aggregateState": "PartiallySucceeded", + "perNodeExtensionDetails": [ + { + "name": "Node-1", + "extension": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.HybridCompute/machines/Node-1/Extensions/SecurityExtension", + "state": "Succeeded" + }, + { + "name": "Node-2", + "extension": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.HybridCompute/machines/Node-2/Extensions/SecurityExtension", + "state": "Failed" + } + ], + "managedBy": "Azure" + } + } + ] + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/ListOffersByCluster.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/ListOffersByCluster.json new file mode 100644 index 000000000000..210aa2805b11 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/ListOffersByCluster.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "test-rg", + "clusterName": "myCluster", + "api-version": "2025-11-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/test-rg/providers/Microsoft.AzureStackHCI/clusters/myCluster/publishers/publisher1/offers/offer1", + "type": "Microsoft.AzureStackHCI/clusters/publishers/offers", + "name": "offer1", + "properties": { + "content": "{\"id\":\"canonical.ubuntuserver1404lts-arm-14.04.201808140\",\"displayName\":\"Ubuntu Server 14.04 LTS\",\"publisherId\":\"Canonical\",\"publisherName\":\"Canonical\",\"type\":\"VirtualMachine\",\"version\":\"14.04.201808140\",\"properties\":{\"description\":\"Ubuntu Server 14.04.5 LTS amd64. Ubuntu Server is the world's most popular Linux for cloud environments. Updates and patches for Ubuntu 14.04 LTS will be available until 2019-04-17. Ubuntu Server is the perfect virtual machine (VM) platform for all workloads from web applications to NoSQL databases and Hadoop. For more information see Ubuntu on Azure and using Juju to deploy your workloads.

Legal Terms

By clicking the Create button, I acknowledge that I am getting this software from Canonical and that the legal terms of Canonical apply to it. Microsoft does not provide rights for third-party software. Also see the privacy statement from Canonical.

\"},\"extendedProperties\":{\"osType\":\"Linux\",\"offer\":\"UbuntuServer\",\"offerVersion\":\"1.0.52\",\"sku\":\"14.04.5-LTS\",\"galleryItemIdentity\":\"Canonical.UbuntuServer1404LTS-ARM.1.0.52\"},\"links\":[{\"name\":[],\"uri\":[]},{\"name\":[],\"uri\":[]},{\"name\":[],\"uri\":[]},{\"name\":[],\"uri\":[]}],\"iconUris\":{\"medium\":\"https://azstmktdfwcu001.blob.core.windows.net/icons/e5da743bb86d4d429320a75bfa5b96b8/Medium.png\",\"wide\":\"https://azstmktdfwcu001.blob.core.windows.net/icons/e5da743bb86d4d429320a75bfa5b96b8/Wide.png\",\"large\":\"https://azstmktdfwcu001.blob.core.windows.net/icons/e5da743bb86d4d429320a75bfa5b96b8/Large.png\",\"small\":\"https://azstmktdfwcu001.blob.core.windows.net/icons/e5da743bb86d4d429320a75bfa5b96b8/Small.png\"},\"payloadLength\":32212288276,\"compatibility\":{\"isCompatible\":true,\"message\":\"None\",\"description\":\"None\",\"issues\":[]}}", + "contentVersion": "2018-01-01", + "publisherId": "publisher1", + "provisioningState": "Succeeded", + "skuMappings": [ + { + "catalogPlanId": "microsoftsqlserver.sql2019-ubuntu2004enterprise-arm", + "marketplaceSkuId": "enterprise", + "marketplaceSkuVersions": [ + "15.0.220208" + ] + } + ] + } + } + ] + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/ListOffersByPublisher.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/ListOffersByPublisher.json new file mode 100644 index 000000000000..92f200bafb04 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/ListOffersByPublisher.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "test-rg", + "clusterName": "myCluster", + "publisherName": "publisher1", + "api-version": "2025-11-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/test-rg/providers/Microsoft.AzureStackHCI/clusters/myCluster/publishers/publisher1/offers/offer1", + "type": "Microsoft.AzureStackHCI/clusters/publishers/offers", + "name": "offer1", + "properties": { + "content": "{\"id\":\"canonical.ubuntuserver1404lts-arm-14.04.201808140\",\"displayName\":\"Ubuntu Server 14.04 LTS\",\"publisherId\":\"Canonical\",\"publisherName\":\"Canonical\",\"type\":\"VirtualMachine\",\"version\":\"14.04.201808140\",\"properties\":{\"description\":\"Ubuntu Server 14.04.5 LTS amd64. Ubuntu Server is the world's most popular Linux for cloud environments. Updates and patches for Ubuntu 14.04 LTS will be available until 2019-04-17. Ubuntu Server is the perfect virtual machine (VM) platform for all workloads from web applications to NoSQL databases and Hadoop. For more information see Ubuntu on Azure and using Juju to deploy your workloads.

Legal Terms

By clicking the Create button, I acknowledge that I am getting this software from Canonical and that the legal terms of Canonical apply to it. Microsoft does not provide rights for third-party software. Also see the privacy statement from Canonical.

\"},\"extendedProperties\":{\"osType\":\"Linux\",\"offer\":\"UbuntuServer\",\"offerVersion\":\"1.0.52\",\"sku\":\"14.04.5-LTS\",\"galleryItemIdentity\":\"Canonical.UbuntuServer1404LTS-ARM.1.0.52\"},\"links\":[{\"name\":[],\"uri\":[]},{\"name\":[],\"uri\":[]},{\"name\":[],\"uri\":[]},{\"name\":[],\"uri\":[]}],\"iconUris\":{\"medium\":\"https://azstmktdfwcu001.blob.core.windows.net/icons/e5da743bb86d4d429320a75bfa5b96b8/Medium.png\",\"wide\":\"https://azstmktdfwcu001.blob.core.windows.net/icons/e5da743bb86d4d429320a75bfa5b96b8/Wide.png\",\"large\":\"https://azstmktdfwcu001.blob.core.windows.net/icons/e5da743bb86d4d429320a75bfa5b96b8/Large.png\",\"small\":\"https://azstmktdfwcu001.blob.core.windows.net/icons/e5da743bb86d4d429320a75bfa5b96b8/Small.png\"},\"payloadLength\":32212288276,\"compatibility\":{\"isCompatible\":true,\"message\":\"None\",\"description\":\"None\",\"issues\":[]}}", + "contentVersion": "2018-01-01", + "publisherId": "publisher1", + "provisioningState": "Succeeded", + "skuMappings": [ + { + "catalogPlanId": "microsoftsqlserver.sql2019-ubuntu2004enterprise-arm", + "marketplaceSkuId": "enterprise", + "marketplaceSkuVersions": [ + "15.0.220208" + ] + } + ] + } + } + ] + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/ListPublishersByCluster.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/ListPublishersByCluster.json new file mode 100644 index 000000000000..6687474f5eeb --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/ListPublishersByCluster.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "test-rg", + "clusterName": "myCluster", + "api-version": "2025-11-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/test-rg/providers/Microsoft.AzureStackHCI/clusters/myCluster/publishers/publisher1", + "type": "Microsoft.AzureStackHCI/clusters/publishers", + "name": "publisher1" + } + ] + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/ListSecuritySettingsByCluster.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/ListSecuritySettingsByCluster.json new file mode 100644 index 000000000000..3d9e6f352e29 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/ListSecuritySettingsByCluster.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "test-rg", + "clusterName": "myCluster", + "api-version": "2025-11-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/test-rg/providers/Microsoft.AzureStackHCI/clusters/myCluster/securitySettings/default", + "type": "Microsoft.AzureStackHCI/clusters/securitySettings", + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2021-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-02T17:18:19.1234567Z" + }, + "properties": { + "securedCoreComplianceAssignment": "Audit", + "wdacComplianceAssignment": "ApplyAndAutoCorrect", + "smbEncryptionForIntraClusterTrafficComplianceAssignment": "Audit", + "securityComplianceStatus": { + "securedCoreCompliance": "Compliant", + "wdacCompliance": "Compliant", + "dataAtRestEncrypted": "Compliant", + "dataInTransitProtected": "Compliant", + "lastUpdated": "2023-11-14T07:09:44.771Z" + }, + "provisioningState": "Succeeded" + } + } + ] + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/ListSkusByOffer.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/ListSkusByOffer.json new file mode 100644 index 000000000000..d4efb07af323 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/ListSkusByOffer.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "test-rg", + "clusterName": "myCluster", + "publisherName": "publisher1", + "offerName": "offer1", + "api-version": "2025-11-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/test-rg/providers/Microsoft.AzureStackHCI/clusters/myCluster/publishers/publisher1/offers/offer1/skus/sku1", + "type": "Microsoft.AzureStackHCI/clusters/publishers/offers/skus", + "name": "sku1", + "properties": { + "content": "{\"id\":\"canonical.ubuntuserver1404lts-arm-14.04.201808140\",\"displayName\":\"Ubuntu Server 14.04 LTS\",\"publisherId\":\"Canonical\",\"publisherName\":\"Canonical\",\"type\":\"VirtualMachine\",\"version\":\"14.04.201808140\",\"properties\":{\"description\":\"Ubuntu Server 14.04.5 LTS amd64. Ubuntu Server is the world's most popular Linux for cloud environments. Updates and patches for Ubuntu 14.04 LTS will be available until 2019-04-17. Ubuntu Server is the perfect virtual machine (VM) platform for all workloads from web applications to NoSQL databases and Hadoop. For more information see Ubuntu on Azure and using Juju to deploy your workloads.

Legal Terms

By clicking the Create button, I acknowledge that I am getting this software from Canonical and that the legal terms of Canonical apply to it. Microsoft does not provide rights for third-party software. Also see the privacy statement from Canonical.

\"},\"extendedProperties\":{\"osType\":\"Linux\",\"offer\":\"UbuntuServer\",\"offerVersion\":\"1.0.52\",\"sku\":\"14.04.5-LTS\",\"galleryItemIdentity\":\"Canonical.UbuntuServer1404LTS-ARM.1.0.52\"},\"links\":[{\"name\":[],\"uri\":[]},{\"name\":[],\"uri\":[]},{\"name\":[],\"uri\":[]},{\"name\":[],\"uri\":[]}],\"iconUris\":{\"medium\":\"https://azstmktdfwcu001.blob.core.windows.net/icons/e5da743bb86d4d429320a75bfa5b96b8/Medium.png\",\"wide\":\"https://azstmktdfwcu001.blob.core.windows.net/icons/e5da743bb86d4d429320a75bfa5b96b8/Wide.png\",\"large\":\"https://azstmktdfwcu001.blob.core.windows.net/icons/e5da743bb86d4d429320a75bfa5b96b8/Large.png\",\"small\":\"https://azstmktdfwcu001.blob.core.windows.net/icons/e5da743bb86d4d429320a75bfa5b96b8/Small.png\"},\"payloadLength\":32212288276,\"compatibility\":{\"isCompatible\":true,\"message\":\"None\",\"description\":\"None\",\"issues\":[]}}", + "contentVersion": "2018-01-01", + "publisherId": "publisher1", + "offerId": "offer1", + "skuMappings": [ + { + "catalogPlanId": "microsoftsqlserver.sql2019-ubuntu2004enterprise-arm", + "marketplaceSkuId": "enterprise", + "marketplaceSkuVersions": [ + "15.0.220208" + ] + } + ], + "provisioningState": "Succeeded" + } + } + ] + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/ListUpdateRuns.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/ListUpdateRuns.json new file mode 100644 index 000000000000..6500f0b5356d --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/ListUpdateRuns.json @@ -0,0 +1,46 @@ +{ + "parameters": { + "subscriptionId": "b8d594e5-51f3-4c11-9c54-a7771b81c712", + "resourceGroupName": "testrg", + "clusterName": "testcluster", + "updateName": "Microsoft4.2203.2.32", + "api-version": "2025-11-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/b8d594e5-51f3-4c11-9c54-a7771b81c712/resourceGroups/testrg/providers/Microsoft.AzureStackHCI/clusters/testcluster/updates/Microsoft4.2203.2.32/updateRuns/23b779ba-0d52-4a80-8571-45ca74664ec3", + "name": "Microsoft4.2203.2.32/23b779ba-0d52-4a80-8571-45ca74664ec3", + "type": "Microsoft.AzureStackHCI/updates/updateRuns", + "location": "West US", + "properties": { + "progress": { + "name": "Unnamed step", + "description": "Update Azure Stack.", + "errorMessage": "", + "status": "Success", + "startTimeUtc": "2022-04-06T01:36:33.3876751+00:00", + "endTimeUtc": "2022-04-06T13:58:42.969006+00:00", + "lastUpdatedTimeUtc": "2022-04-06T13:58:42.969006+00:00", + "steps": [ + { + "name": "PreUpdate Cloud", + "description": "Prepare for SSU update", + "errorMessage": "", + "status": "Success", + "startTimeUtc": "2022-04-06T01:36:33.3876751+00:00", + "endTimeUtc": "2022-04-06T01:37:16.8728314+00:00", + "lastUpdatedTimeUtc": "2022-04-06T01:37:16.8728314+00:00", + "steps": [] + } + ] + } + } + } + ] + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/ListUpdateSummaries.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/ListUpdateSummaries.json new file mode 100644 index 000000000000..bb18c1324870 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/ListUpdateSummaries.json @@ -0,0 +1,45 @@ +{ + "parameters": { + "subscriptionId": "b8d594e5-51f3-4c11-9c54-a7771b81c712", + "resourceGroupName": "testrg", + "clusterName": "testcluster", + "api-version": "2025-11-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/b8d594e5-51f3-4c11-9c54-a7771b81c712/resourceGroups/testrg/providers/Microsoft.AzureStackHCI/clusters/testcluster/updateSummaries/default", + "name": "default", + "type": "Microsoft.AzureStackHCI/updateSummaries", + "location": "West US", + "properties": { + "oemFamily": "DellEMC", + "hardwareModel": "PowerEdge R730xd", + "packageVersions": [ + { + "packageType": "OEM", + "version": "2.2.2108.6", + "lastUpdated": "2022-04-07T18:04:07Z" + }, + { + "packageType": "Services", + "version": "4.2203.2.32", + "lastUpdated": "2022-04-07T18:04:07Z" + }, + { + "packageType": "Infrastructure", + "version": "4.2203.2.32", + "lastUpdated": "2022-04-07T18:04:07Z" + } + ], + "currentVersion": "4.2203.2.32", + "state": "AppliedSuccessfully" + } + } + ] + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/ListUpdates.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/ListUpdates.json new file mode 100644 index 000000000000..97144cad27e4 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/ListUpdates.json @@ -0,0 +1,47 @@ +{ + "parameters": { + "subscriptionId": "b8d594e5-51f3-4c11-9c54-a7771b81c712", + "resourceGroupName": "testrg", + "clusterName": "testcluster", + "api-version": "2025-11-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/b8d594e5-51f3-4c11-9c54-a7771b81c712/resourceGroups/testrg/providers/Microsoft.AzureStackHCI/clusters/testcluster/updates/Microsoft4.2203.2.32", + "name": "Microsoft4.2203.2.32", + "type": " Microsoft. AzureStackHCI/updates", + "location": "West US", + "properties": { + "installedDate": "2022-04-06T14:08:18.254Z", + "description": "AzS Update 4.2203.2.32", + "state": "Installed", + "prerequisites": [ + { + "updateType": "update type", + "version": "prerequisite version", + "packageName": "update package name" + } + ], + "packagePath": "\\\\SU1FileServer\\SU1_Infrastructure_2\\Updates\\Packages\\Microsoft4.2203.2.32", + "packageSizeInMb": 18858, + "displayName": "AzS Update - 4.2203.2.32", + "version": "4.2203.2.32", + "publisher": "Microsoft", + "releaseLink": "https://docs.microsoft.com/azure-stack/operator/release-notes?view=azs-2203", + "availabilityType": "Local", + "packageType": "Infrastructure", + "updateStateProperties": { + "notifyMessage": "Brief message with instructions for updates of AvailabilityType Notify", + "progressPercentage": 0 + }, + "additionalProperties": "additional properties" + } + } + ] + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/Operations_List.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/Operations_List.json new file mode 100644 index 000000000000..66c9d7c65bc0 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/Operations_List.json @@ -0,0 +1,305 @@ +{ + "parameters": { + "api-version": "2025-11-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.AzureStackHCI/VirtualHardDisks/Delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.AzureStackHCI", + "resource": "VirtualHardDisks", + "operation": "Deletes virtual hard disk resource", + "description": "Deletes virtual hard disk resource" + } + }, + { + "name": "Microsoft.AzureStackHCI/VirtualHardDisks/Write", + "isDataAction": false, + "display": { + "provider": "Microsoft.AzureStackHCI", + "resource": "VirtualHardDisks", + "operation": "Creates/Updates virtual hard disk resource", + "description": "Creates/Updates virtual hard disk resource" + } + }, + { + "name": "Microsoft.AzureStackHCI/VirtualHardDisks/Read", + "isDataAction": false, + "display": { + "provider": "Microsoft.AzureStackHCI", + "resource": "VirtualHardDisks", + "operation": "Gets/Lists virtual hard disk resource", + "description": "Gets/Lists virtual hard disk resource" + } + }, + { + "name": "Microsoft.AzureStackHCI/NetworkInterfaces/Delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.AzureStackHCI", + "resource": "NetworkInterfaces", + "operation": "Deletes network interfaces resource", + "description": "Deletes network interfaces resource" + } + }, + { + "name": "Microsoft.AzureStackHCI/NetworkInterfaces/Write", + "isDataAction": false, + "display": { + "provider": "Microsoft.AzureStackHCI", + "resource": "NetworkInterfaces", + "operation": "Creates/Updates network interfaces resource", + "description": "Creates/Updates network interfaces resource" + } + }, + { + "name": "Microsoft.AzureStackHCI/NetworkInterfaces/Read", + "isDataAction": false, + "display": { + "provider": "Microsoft.AzureStackHCI", + "resource": "NetworkInterfaces", + "operation": "Gets/Lists network interfaces resource", + "description": "Gets/Lists network interfaces resource" + } + }, + { + "name": "Microsoft.AzureStackHCI/GalleryImages/Delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.AzureStackHCI", + "resource": "GalleryImages", + "operation": "Deletes gallery images resource", + "description": "Deletes gallery images resource" + } + }, + { + "name": "Microsoft.AzureStackHCI/GalleryImages/Write", + "isDataAction": false, + "display": { + "provider": "Microsoft.AzureStackHCI", + "resource": "GalleryImages", + "operation": "Creates/Updates gallery images resource", + "description": "Creates/Updates gallery images resource" + } + }, + { + "name": "Microsoft.AzureStackHCI/GalleryImages/Read", + "isDataAction": false, + "display": { + "provider": "Microsoft.AzureStackHCI", + "resource": "GalleryImages", + "operation": "Gets/Lists gallery images resource", + "description": "Gets/Lists gallery images resource" + } + }, + { + "name": "Microsoft.AzureStackHCI/VirtualMachineInstances/HybridIdentityMetadata/Read", + "isDataAction": false, + "display": { + "provider": "Microsoft.AzureStackHCI", + "resource": "VirtualMachineInstances/HybridIdentityMetadata", + "operation": "Gets/Lists virtual machine instance hybrid identity metadata proxy resource", + "description": "Gets/Lists virtual machine instance hybrid identity metadata proxy resource" + } + }, + { + "name": "Microsoft.AzureStackHCI/VirtualMachineInstances/attestationStatus/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.AzureStackHCI", + "resource": "VirtualMachineInstances/attestationStatus", + "operation": "Gets/Lists virtual machine instance's attestation status", + "description": "Gets/Lists virtual machine instance's attestation status" + } + }, + { + "name": "Microsoft.AzureStackHCI/LogicalNetworks/Delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.AzureStackHCI", + "resource": "LogicalNetworks", + "operation": "Deletes logical networks resource", + "description": "Deletes logical networks resource" + } + }, + { + "name": "Microsoft.AzureStackHCI/LogicalNetworks/Write", + "isDataAction": false, + "display": { + "provider": "Microsoft.AzureStackHCI", + "resource": "LogicalNetworks", + "operation": "Creates/Updates logical networks resource", + "description": "Creates/Updates logical networks resource" + } + }, + { + "name": "Microsoft.AzureStackHCI/LogicalNetworks/Read", + "isDataAction": false, + "display": { + "provider": "Microsoft.AzureStackHCI", + "resource": "LogicalNetworks", + "operation": "Gets/Lists logical networks resource", + "description": "Gets/Lists logical networks resource" + } + }, + { + "name": "Microsoft.AzureStackHCI/LogicalNetworks/join/action", + "isDataAction": false, + "display": { + "provider": "Microsoft.AzureStackHCI", + "resource": "LogicalNetworks", + "operation": "Joins logical networks resource", + "description": "Joins logical networks resource" + } + }, + { + "name": "Microsoft.AzureStackHCI/VirtualMachineInstances/Restart/Action", + "isDataAction": false, + "display": { + "provider": "Microsoft.AzureStackHCI", + "resource": "VirtualMachineInstances", + "operation": "Restarts virtual machine instance resource", + "description": "Restarts virtual machine instance resource" + } + }, + { + "name": "Microsoft.AzureStackHCI/VirtualMachineInstances/Start/Action", + "isDataAction": false, + "display": { + "provider": "Microsoft.AzureStackHCI", + "resource": "VirtualMachineInstances", + "operation": "Starts virtual machine instance resource", + "description": "Starts virtual machine instance resource" + } + }, + { + "name": "Microsoft.AzureStackHCI/VirtualMachineInstances/Stop/Action", + "isDataAction": false, + "display": { + "provider": "Microsoft.AzureStackHCI", + "resource": "VirtualMachineInstances", + "operation": "Stops virtual machine instance resource", + "description": "Stops virtual machine instance resource" + } + }, + { + "name": "Microsoft.AzureStackHCI/VirtualMachineInstances/Delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.AzureStackHCI", + "resource": "VirtualMachineInstances", + "operation": "Deletes virtual machine instance resource", + "description": "Deletes virtual machine instance resource" + } + }, + { + "name": "Microsoft.AzureStackHCI/VirtualMachineInstances/Write", + "isDataAction": false, + "display": { + "provider": "Microsoft.AzureStackHCI", + "resource": "VirtualMachineInstances", + "operation": "Creates/Updates virtual machine instance resource", + "description": "Creates/Updates virtual machine instance resource" + } + }, + { + "name": "Microsoft.AzureStackHCI/VirtualMachineInstances/Read", + "isDataAction": false, + "display": { + "provider": "Microsoft.AzureStackHCI", + "resource": "VirtualMachineInstances", + "operation": "Gets/Lists virtual machine instance resource", + "description": "Gets/Lists virtual machine instance resource" + } + }, + { + "name": "Microsoft.AzureStackHCI/StorageContainers/Delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.AzureStackHCI", + "resource": "StorageContainers", + "operation": "Deletes storage containers resource", + "description": "Deletes storage containers resource" + } + }, + { + "name": "Microsoft.AzureStackHCI/StorageContainers/Write", + "isDataAction": false, + "display": { + "provider": "Microsoft.AzureStackHCI", + "resource": "StorageContainers", + "operation": "Creates/Updates storage containers resource", + "description": "Creates/Updates storage containers resource" + } + }, + { + "name": "Microsoft.AzureStackHCI/StorageContainers/Read", + "isDataAction": false, + "display": { + "provider": "Microsoft.AzureStackHCI", + "resource": "StorageContainers", + "operation": "Gets/Lists storage containers resource", + "description": "Gets/Lists storage containers resource" + } + }, + { + "name": "Microsoft.AzureStackHCI/StorageContainers/deploy/action", + "isDataAction": false, + "display": { + "provider": "Microsoft.AzureStackHCI", + "resource": "StorageContainers", + "operation": "Deploys storage containers resource", + "description": "Deploys storage containers resource" + } + }, + { + "name": "Microsoft.AzureStackHCI/MarketPlaceGalleryImages/Delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.AzureStackHCI", + "resource": "MarketPlaceGalleryImages", + "operation": "Deletes market place gallery images resource", + "description": "Deletes market place gallery images resource" + } + }, + { + "name": "Microsoft.AzureStackHCI/MarketPlaceGalleryImages/Write", + "isDataAction": false, + "display": { + "provider": "Microsoft.AzureStackHCI", + "resource": "MarketPlaceGalleryImages", + "operation": "Creates/Updates market place gallery images resource", + "description": "Creates/Updates market place gallery images resource" + } + }, + { + "name": "Microsoft.AzureStackHCI/MarketPlaceGalleryImages/Read", + "isDataAction": false, + "display": { + "provider": "Microsoft.AzureStackHCI", + "resource": "MarketPlaceGalleryImages", + "operation": "Gets/Lists market place gallery images resource", + "description": "Gets/Lists market place gallery images resource" + } + }, + { + "name": "Microsoft.AzureStackHCI/MarketPlaceGalleryImages/deploy/action", + "isDataAction": false, + "display": { + "provider": "Microsoft.AzureStackHCI", + "resource": "MarketPlaceGalleryImages", + "operation": "Deploys market place gallery images resource", + "description": "Deploys market place gallery images resource" + } + } + ] + } + } + }, + "operationId": "Operations_List", + "title": "List the operations for the provider." +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/OsImages_Get_MaximumSet_Gen.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/OsImages_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..62fa3f52a356 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/OsImages_Get_MaximumSet_Gen.json @@ -0,0 +1,25 @@ +{ + "title": "OsImages_Get_MaximumSet", + "operationId": "OsImages_Get", + "parameters": { + "api-version": "2025-11-01-preview", + "subscriptionId": "5233F7FA-C5BA-41FD-A07F-C65BA2084316", + "location": "arowdcr", + "osImageName": "10.2408.0.1" + }, + "responses": { + "200": { + "body": { + "properties": { + "validatedSolutionRecipeVersion": "10.2408.0.1", + "composedImageVersion": "10.2408.0.1", + "composedImageIsoUrl": "https://microsoft.com/a", + "composedImageIsoHash": "9542EB842C768EC8215578A98C04C2FC0E1AAE750C8DECE362226C8C4488E8A6" + }, + "id": "/subscriptions/b8d594e5-51f3-4c11-9c54-a7771b81c712/providers/Microsoft.AzureStackHCI/osImages/10.2408.0.1", + "name": "10.2408.0.1", + "type": "Microsoft.AzureStackHCI/OsImages" + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/OsImages_ListBySubscriptionLocationResource_MaximumSet_Gen.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/OsImages_ListBySubscriptionLocationResource_MaximumSet_Gen.json new file mode 100644 index 000000000000..1f195ca6bfdd --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/OsImages_ListBySubscriptionLocationResource_MaximumSet_Gen.json @@ -0,0 +1,29 @@ +{ + "title": "OsImages_ListBySubscriptionLocationResource_MaximumSet", + "operationId": "OsImages_ListBySubscriptionLocationResource", + "parameters": { + "api-version": "2025-11-01-preview", + "subscriptionId": "b8d594e5-51f3-4c11-9c54-a7771b81c712", + "location": "westus2" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "validatedSolutionRecipeVersion": "10.2408.0.1", + "composedImageVersion": "10.2408.0.1", + "composedImageIsoUrl": "https://microsoft.com/a", + "composedImageIsoHash": "9542EB842C768EC8215578A98C04C2FC0E1AAE750C8DECE362226C8C4488E8A6" + }, + "id": "/subscriptions/b8d594e5-51f3-4c11-9c54-a7771b81c712/providers/Microsoft.AzureStackHCI/osImages/10.2408.0.1", + "name": "10.2408.0.1", + "type": "Microsoft.AzureStackHCI/OsImages" + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/PatchArcSetting.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/PatchArcSetting.json new file mode 100644 index 000000000000..801c84ceb372 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/PatchArcSetting.json @@ -0,0 +1,74 @@ +{ + "parameters": { + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "test-rg", + "clusterName": "myCluster", + "arcSettingName": "default", + "arcSetting": { + "properties": { + "connectivityProperties": { + "enabled": true, + "serviceConfigurations": [ + { + "serviceName": "WAC", + "port": 6516 + } + ] + } + } + }, + "api-version": "2025-11-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/test-rg/providers/Microsoft.AzureStackHCI/clusters/myCluster/arcSettings/default", + "type": "Microsoft.AzureStackHCI/clusters/arcSettings", + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2021-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-02T17:18:19.1234567Z" + }, + "properties": { + "provisioningState": "Succeeded", + "arcInstanceResourceGroup": "ArcInstance-rg", + "aggregateState": "Creating", + "connectivityProperties": { + "enabled": true, + "serviceConfigurations": [ + { + "serviceName": "WAC", + "port": 6516 + } + ] + }, + "perNodeDetails": [ + { + "name": "Node-1", + "arcInstance": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.HybridCompute/machines/Node-1", + "state": "Creating" + }, + { + "name": "Node-2", + "arcInstance": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.HybridCompute/machines/Node-2", + "state": "Creating" + } + ], + "defaultExtensions": [ + { + "category": "Telemetry", + "consentTime": "2023-01-01T17:18:19.1234567Z" + }, + { + "category": "Supportability", + "consentTime": null + } + ] + } + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/PatchExtension.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/PatchExtension.json new file mode 100644 index 000000000000..977a47a0c359 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/PatchExtension.json @@ -0,0 +1,99 @@ +{ + "parameters": { + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "test-rg", + "clusterName": "myCluster", + "arcSettingName": "default", + "extensionName": "MicrosoftMonitoringAgent", + "extension": { + "properties": { + "extensionParameters": { + "typeHandlerVersion": "1.10", + "enableAutomaticUpgrade": false, + "settings": { + "workspaceId": "xx" + }, + "protectedSettings": { + "workspaceKey": "xx" + } + } + } + }, + "api-version": "2025-11-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/test-rg/providers/Microsoft.AzureStackHCI/clusters/myCluster/arcSettings/default/extensions/MicrosoftMonitoringAgent", + "name": "MicrosoftMonitoringAgent", + "type": "Microsoft.AzureStackHCI/clusters/arcSettings/extensions", + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2021-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-02T17:18:19.1234567Z" + }, + "properties": { + "provisioningState": "Succeeded", + "extensionParameters": { + "publisher": "Microsoft.Compute", + "type": "string", + "typeHandlerVersion": "1.10", + "enableAutomaticUpgrade": false, + "autoUpgradeMinorVersion": false, + "settings": { + "workspaceId": "xx" + } + }, + "aggregateState": "PartiallyConnected", + "perNodeExtensionDetails": [ + { + "name": "Node-1", + "extension": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.HybridCompute/machines/Node-1/Extensions/MicrosoftMonitoringAgent", + "state": "Connected", + "typeHandlerVersion": "1.10.0", + "instanceView": { + "name": "MicrosoftMonitoringAgent", + "type": "MicrosoftMonitoringAgent", + "typeHandlerVersion": "1.10.0", + "status": { + "code": "success", + "level": "Information", + "displayStatus": "Provisioning succeeded", + "message": "Finished executing command, StdOut: , StdErr:", + "time": "2019-08-08T20:42:10.999Z" + } + } + }, + { + "name": "Node-2", + "extension": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.HybridCompute/machines/Node-2/Extensions/MicrosoftMonitoringAgent", + "state": "Disconnected", + "typeHandlerVersion": "1.10.3", + "instanceView": { + "name": "MicrosoftMonitoringAgent", + "type": "MicrosoftMonitoringAgent", + "typeHandlerVersion": "1.10.3", + "status": { + "code": "error", + "level": "Error", + "displayStatus": "Provisioning failed", + "message": "Finished executing command, StdOut: , StdErr:", + "time": "2019-08-08T20:42:10.999Z" + } + } + } + ], + "managedBy": "User" + } + } + }, + "202": { + "headers": { + "location": "https://foo.com/operationStatuses" + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/PlatformUpdates_Get_MaximumSet_Gen.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/PlatformUpdates_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..3b8e766817b8 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/PlatformUpdates_Get_MaximumSet_Gen.json @@ -0,0 +1,45 @@ +{ + "title": "PlatformUpdates_Get_MaximumSet", + "operationId": "PlatformUpdates_Get", + "parameters": { + "api-version": "2025-11-01-preview", + "subscriptionId": "b8d594e5-51f3-4c11-9c54-a7771b81c712", + "location": "westus2", + "platformUpdateName": "10.2408.0.1" + }, + "responses": { + "200": { + "body": { + "properties": { + "platformUpdateDetails": [ + { + "validatedSolutionRecipeVersion": "10.2408.0.1", + "platformVersion": "10.2408.0.1", + "platformPayloads": [ + { + "payloadHash": "sdfdsfdsfsadfdsafdsafawfdsafdsfa", + "payloadUrl": "https://microsoft.com/a" + } + ] + }, + { + "validatedSolutionRecipeVersion": "10.2408.0.2", + "platformVersion": "10.2408.0.2", + "platformPayloads": [ + { + "payloadHash": "sdfdsfdsfsadfdsafdsafawfdsafdsfa", + "payloadUrl": "https://microsoft.com/a", + "payloadPackageSizeInBytes": "2048", + "payloadIdentifier": "payload-identifier-1234" + } + ] + } + ] + }, + "id": "/subscriptions/b8d594e5-51f3-4c11-9c54-a7771b81c712/providers/Microsoft.AzureStackHCI/platformUpdates/10.2408.0.1", + "name": "10.2408.0.1", + "type": "Microsoft.AzureStackHCI/PlatformUpdates" + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/PlatformUpdates_ListByLocation_MaximumSet_Gen.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/PlatformUpdates_ListByLocation_MaximumSet_Gen.json new file mode 100644 index 000000000000..1b70a458576e --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/PlatformUpdates_ListByLocation_MaximumSet_Gen.json @@ -0,0 +1,68 @@ +{ + "title": "PlatformUpdates_ListByLocation_MaximumSet", + "operationId": "PlatformUpdates_List", + "parameters": { + "api-version": "2025-11-01-preview", + "subscriptionId": "b8d594e5-51f3-4c11-9c54-a7771b81c712", + "location": "westus2" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "platformUpdateDetails": [ + { + "validatedSolutionRecipeVersion": "10.2408.0.1", + "platformVersion": "10.2408.0.1", + "platformPayloads": [ + { + "payloadHash": "sdfdsfdsfsadfdsafdsafawfdsafdsfa", + "payloadUrl": "https://microsoft.com/a" + } + ] + }, + { + "validatedSolutionRecipeVersion": "10.2408.0.2", + "platformVersion": "10.2408.0.2", + "platformPayloads": [ + { + "payloadHash": "sdfdsfdsfsadfdsafdsafawfdsafdsfa", + "payloadUrl": "https://microsoft.com/a", + "payloadPackageSizeInBytes": "2048", + "payloadIdentifier": "payload-identifier-1234" + } + ] + } + ] + }, + "id": "/subscriptions/b8d594e5-51f3-4c11-9c54-a7771b81c712/providers/Microsoft.AzureStackHCI/locations/westus2/platformUpdates/10.2408.0.1", + "name": "10.2408.0.1", + "type": "Microsoft.AzureStackHCI/PlatformUpdates" + }, + { + "properties": { + "platformUpdateDetails": [ + { + "validatedSolutionRecipeVersion": "10.2409.0.1", + "platformVersion": "10.2409.0.1", + "platformPayloads": [ + { + "payloadHash": "aedfbcabc123456789abcdef12345678", + "payloadUrl": "https://microsoft.com/b" + } + ] + } + ] + }, + "id": "/subscriptions/b8d594e5-51f3-4c11-9c54-a7771b81c712/providers/Microsoft.AzureStackHCI/locations/westus2/platformUpdates/10.2409.0.1", + "name": "10.2409.0.1", + "type": "Microsoft.AzureStackHCI/PlatformUpdates" + } + ], + "nextLink": "https://management.azure.com/subscriptions/b8d594e5-51f3-4c11-9c54-a7771b81c712/providers/Microsoft.AzureStackHCI/locations/westus2/platformUpdates?api-version=2025-11-01-preview&$skiptoken=X'12345'" + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/PostUpdates.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/PostUpdates.json new file mode 100644 index 000000000000..e881a70b7f8e --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/PostUpdates.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "subscriptionId": "b8d594e5-51f3-4c11-9c54-a7771b81c712", + "resourceGroupName": "testrg", + "clusterName": "testcluster", + "updateName": "Microsoft4.2203.2.32", + "api-version": "2025-11-01-preview" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/PutArcSetting.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/PutArcSetting.json new file mode 100644 index 000000000000..f723cfccc836 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/PutArcSetting.json @@ -0,0 +1,53 @@ +{ + "parameters": { + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "test-rg", + "clusterName": "myCluster", + "arcSettingName": "default", + "arcSetting": {}, + "api-version": "2025-11-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/test-rg/providers/Microsoft.AzureStackHCI/clusters/myCluster/arcSettings/default", + "type": "Microsoft.AzureStackHCI/clusters/arcSettings", + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2021-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-02T17:18:19.1234567Z" + }, + "properties": { + "provisioningState": "Succeeded", + "arcInstanceResourceGroup": "ArcInstance-rg", + "aggregateState": "Creating", + "perNodeDetails": [ + { + "name": "Node-1", + "arcInstance": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.HybridCompute/machines/Node-1", + "state": "Creating" + }, + { + "name": "Node-2", + "arcInstance": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.HybridCompute/machines/Node-2", + "state": "Creating" + } + ], + "connectivityProperties": { + "enabled": false, + "serviceConfigurations": [] + }, + "defaultExtensions": [ + { + "category": "Telemetry", + "consentTime": "2023-01-01T17:18:19.1234567Z" + } + ] + } + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/PutDeploymentSettings.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/PutDeploymentSettings.json new file mode 100644 index 000000000000..4d6f1a866251 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/PutDeploymentSettings.json @@ -0,0 +1,734 @@ +{ + "parameters": { + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "test-rg", + "clusterName": "myCluster", + "deploymentSettingsName": "default", + "api-version": "2025-11-01-preview", + "resource": { + "properties": { + "operationType": "ClusterProvisioning", + "deploymentMode": "Deploy", + "arcNodeResourceIds": [ + "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.HybridCompute/machines/Node-1", + "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.HybridCompute/machines/Node-2" + ], + "deploymentConfiguration": { + "version": "string", + "scaleUnits": [ + { + "deploymentData": { + "securitySettings": { + "hvciProtection": true, + "drtmProtection": true, + "driftControlEnforced": true, + "credentialGuardEnforced": false, + "smbSigningEnforced": true, + "smbClusterEncryption": false, + "sideChannelMitigationEnforced": true, + "bitlockerBootVolume": true, + "bitlockerDataVolumes": true, + "wdacEnforced": true + }, + "observability": { + "streamingDataClient": true, + "euLocation": false, + "episodicDataUpload": true + }, + "cluster": { + "name": "testHCICluster", + "witnessType": "Cloud", + "witnessPath": "Cloud", + "cloudAccountName": "myasestoragacct", + "azureServiceEndpoint": "core.windows.net", + "hardwareClass": "Medium" + }, + "storage": { + "configurationMode": "Express" + }, + "namingPrefix": "ms169", + "domainFqdn": "ASZ1PLab8.nttest.microsoft.com", + "infrastructureNetwork": [ + { + "subnetMask": "255.255.248.0", + "gateway": "255.255.248.0", + "ipPools": [ + { + "startingAddress": "10.57.48.60", + "endingAddress": "10.57.48.66" + } + ], + "dnsServerConfig": "UseDnsServer", + "dnsServers": [ + "10.57.50.90" + ] + } + ], + "physicalNodes": [ + { + "name": "ms169host", + "ipv4Address": "10.57.51.224" + }, + { + "name": "ms154host", + "ipv4Address": "10.57.53.236" + } + ], + "hostNetwork": { + "intents": [ + { + "name": "Compute_Management", + "trafficType": [ + "Compute", + "Management" + ], + "adapter": [ + "Port2" + ], + "overrideVirtualSwitchConfiguration": false, + "virtualSwitchConfigurationOverrides": { + "enableIov": "True", + "loadBalancingAlgorithm": "HyperVPort" + }, + "overrideQosPolicy": false, + "qosPolicyOverrides": { + "priorityValue8021Action_Cluster": "7", + "priorityValue8021Action_SMB": "3", + "bandwidthPercentage_SMB": "50" + }, + "overrideAdapterProperty": false, + "adapterPropertyOverrides": { + "jumboPacket": "1514", + "networkDirect": "Enabled", + "networkDirectTechnology": "iWARP" + } + } + ], + "storageNetworks": [ + { + "name": "Storage1Network", + "networkAdapterName": "Port3", + "vlanId": "5", + "storageAdapterIPInfo": [ + { + "physicalNode": "string", + "ipv4Address": "10.57.48.60", + "subnetMask": "255.255.248.0" + } + ] + } + ], + "storageConnectivitySwitchless": true, + "enableStorageAutoIp": false + }, + "sdnIntegration": { + "networkController": { + "macAddressPoolStart": "00-0D-3A-1B-C7-21", + "macAddressPoolStop": "00-0D-3A-1B-C7-29", + "networkVirtualizationEnabled": true + } + }, + "adouPath": "OU=ms169,DC=ASZ1PLab8,DC=nttest,DC=microsoft,DC=com", + "isManagementCluster": true, + "secretsLocation": "/subscriptions/db4e2fdb-6d80-4e6e-b7cd-xxxxxxx/resourceGroups/test-rg/providers/Microsoft.KeyVault/vaults/abcd123", + "secrets": [ + { + "secretName": "cluster1-BmcAdminUser-f5bcc1d9-23af-4ae9-aca1-041d0f593a63", + "eceSecretName": "BMCAdminUserCred", + "secretLocation": "https://sclusterkvnirhci35.vault.azure.net/secrets/cluster-34232342-BmcAdminUser-f5bcc1d9-23af-4ae9-aca1-041d0f593a63/9276354aabfc492fa9b2cdbefb54ae4b" + }, + { + "secretName": "cluster2-AzureStackLCMUserCredential-f5bcc1d9-23af-4ae9-aca1-041d0f593a63", + "eceSecretName": "AzureStackLCMUserCredential", + "secretLocation": "https://sclusterkvnirhci35.vault.azure.net/secrets/cluster-34232342-AzureStackLCMUserCredential-f5bcc1d9-23af-4ae9-aca1-041d0f593a63/9276354aabfc492fa9b2cdbefb54ae4c" + } + ], + "optionalServices": { + "customLocation": "customLocationName" + } + }, + "sbePartnerInfo": { + "sbeDeploymentInfo": { + "version": "4.0.2309.13", + "family": "Gen5", + "publisher": "Contoso", + "sbeManifestSource": "default", + "sbeManifestCreationDate": "2023-07-25T02:40:33Z" + }, + "partnerProperties": [ + { + "name": "EnableBMCIpV6", + "value": "false" + }, + { + "name": "PhoneHomePort", + "value": "1653" + }, + { + "name": "BMCSecurityState", + "value": "HighSecurity" + } + ], + "credentialList": [ + { + "secretName": "cluster1-DownloadConnectorCred-f5bcc1d9-23af-4ae9-aca1-041d0f593a63", + "eceSecretName": "DownloadConnectorCred", + "secretLocation": "https://sclusterkvnirhci35.vault.azure.net/secrets/cluster-34232342-DownloadConnectorCred-f5bcc1d9-23af-4ae9-aca1-041d0f593a63/9276354aabfc492fa9b2cdbefb54ae4b" + } + ] + } + } + ] + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/test-rg/providers/Microsoft.AzureStackHCI/clusters/myCluster/deploymentSettings/default", + "name": "default", + "type": "Microsoft.AzureStackHCI/clusters/deploymentSettings", + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2021-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-02T17:18:19.1234567Z" + }, + "properties": { + "provisioningState": "Succeeded", + "deploymentMode": "Deploy", + "arcNodeResourceIds": [ + "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.HybridCompute/machines/Node-1", + "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.HybridCompute/machines/Node-2" + ], + "deploymentConfiguration": { + "version": "string", + "scaleUnits": [ + { + "deploymentData": { + "securitySettings": { + "hvciProtection": true, + "drtmProtection": true, + "driftControlEnforced": true, + "credentialGuardEnforced": false, + "smbSigningEnforced": true, + "smbClusterEncryption": false, + "sideChannelMitigationEnforced": true, + "bitlockerBootVolume": true, + "bitlockerDataVolumes": true, + "wdacEnforced": true + }, + "observability": { + "streamingDataClient": true, + "euLocation": false, + "episodicDataUpload": true + }, + "cluster": { + "name": "testHCICluster", + "witnessType": "Cloud", + "witnessPath": "Cloud", + "cloudAccountName": "myasestoragacct", + "azureServiceEndpoint": "core.windows.net" + }, + "storage": { + "configurationMode": "Express" + }, + "namingPrefix": "ms169", + "domainFqdn": "ASZ1PLab8.nttest.microsoft.com", + "infrastructureNetwork": [ + { + "subnetMask": "255.255.248.0", + "gateway": "255.255.248.0", + "ipPools": [ + { + "startingAddress": "10.57.48.60", + "endingAddress": "10.57.48.66" + } + ], + "dnsServerConfig": "UseDnsServer", + "dnsServers": [ + "10.57.50.90" + ] + } + ], + "physicalNodes": [ + { + "name": "ms169host", + "ipv4Address": "10.57.51.224" + }, + { + "name": "ms154host", + "ipv4Address": "10.57.53.236" + } + ], + "hostNetwork": { + "intents": [ + { + "name": "Compute_Management", + "trafficType": [ + "Compute", + "Management" + ], + "adapter": [ + "Port2" + ], + "overrideVirtualSwitchConfiguration": false, + "virtualSwitchConfigurationOverrides": { + "enableIov": "True", + "loadBalancingAlgorithm": "HyperVPort" + }, + "overrideQosPolicy": false, + "qosPolicyOverrides": { + "priorityValue8021Action_Cluster": "7", + "priorityValue8021Action_SMB": "3", + "bandwidthPercentage_SMB": "50" + }, + "overrideAdapterProperty": false, + "adapterPropertyOverrides": { + "jumboPacket": "1514", + "networkDirect": "Enabled", + "networkDirectTechnology": "iWARP" + } + } + ], + "storageNetworks": [ + { + "name": "Storage1Network", + "networkAdapterName": "Port3", + "vlanId": "5", + "storageAdapterIPInfo": [ + { + "physicalNode": "string", + "ipv4Address": "10.57.48.60", + "subnetMask": "255.255.248.0" + } + ] + } + ], + "storageConnectivitySwitchless": true, + "enableStorageAutoIp": false + }, + "sdnIntegration": { + "networkController": { + "macAddressPoolStart": "00-0D-3A-1B-C7-21", + "macAddressPoolStop": "00-0D-3A-1B-C7-29", + "networkVirtualizationEnabled": true + } + }, + "adouPath": "OU=ms169,DC=ASZ1PLab8,DC=nttest,DC=microsoft,DC=com", + "secretsLocation": "/subscriptions/db4e2fdb-6d80-4e6e-b7cd-xxxxxxx/resourceGroups/test-rg/providers/Microsoft.KeyVault/vaults/abcd123", + "secrets": [ + { + "secretName": "cluster1-BmcAdminUser-f5bcc1d9-23af-4ae9-aca1-041d0f593a63", + "eceSecretName": "BMCAdminUserCred", + "secretLocation": "https://sclusterkvnirhci35.vault.azure.net/secrets/cluster-34232342-BmcAdminUser-f5bcc1d9-23af-4ae9-aca1-041d0f593a63/9276354aabfc492fa9b2cdbefb54ae4b" + }, + { + "secretName": "cluster2-AzureStackLCMUserCredential-f5bcc1d9-23af-4ae9-aca1-041d0f593a63", + "eceSecretName": "AzureStackLCMUserCredential", + "secretLocation": "https://sclusterkvnirhci35.vault.azure.net/secrets/cluster-34232342-AzureStackLCMUserCredential-f5bcc1d9-23af-4ae9-aca1-041d0f593a63/9276354aabfc492fa9b2cdbefb54ae4c" + } + ], + "optionalServices": { + "customLocation": "customLocationName" + } + }, + "sbePartnerInfo": { + "sbeDeploymentInfo": { + "version": "4.0.2309.13", + "family": "Gen5", + "publisher": "Contoso", + "sbeManifestSource": "default", + "sbeManifestCreationDate": "2023-07-25T02:40:33Z" + }, + "partnerProperties": [ + { + "name": "EnableBMCIpV6", + "value": "false" + }, + { + "name": "PhoneHomePort", + "value": "1653" + }, + { + "name": "BMCSecurityState", + "value": "HighSecurity" + } + ], + "credentialList": [ + { + "secretName": "cluster1-DownloadConnectorCred-f5bcc1d9-23af-4ae9-aca1-041d0f593a63", + "eceSecretName": "DownloadConnectorCred", + "secretLocation": "https://sclusterkvnirhci35.vault.azure.net/secrets/cluster-34232342-DownloadConnectorCred-f5bcc1d9-23af-4ae9-aca1-041d0f593a63/9276354aabfc492fa9b2cdbefb54ae4b" + } + ] + } + } + ] + }, + "reportedProperties": { + "validationStatus": { + "status": "Error", + "steps": [ + { + "fullStepIndex": "0", + "name": "Cloud Deployment", + "description": "Deploy Cloud.", + "startTimeUtc": "2023-06-09T00:08:19", + "endTimeUtc": "2023-06-09T04:01:47", + "status": "Error", + "exception": [ + "exception1", + "exception2" + ], + "steps": [ + { + "fullStepIndex": "0.1", + "name": "Before Cloud Deployment", + "description": "Before Cloud Deployment", + "startTimeUtc": "2023-06-09T00:08:23", + "endTimeUtc": "2023-06-09T01:10:10", + "exception": [ + "exception1", + "exception2" + ], + "steps": [] + }, + { + "fullStepIndex": "0.36", + "name": "Clean up temporary content", + "description": "Clean up temporary content", + "startTimeUtc": "2023-06-09T03:58:37", + "endTimeUtc": "2023-06-09T04:01:47", + "status": "Error", + "exception": [ + "exception1", + "exception2" + ], + "steps": [] + } + ] + } + ] + }, + "deploymentStatus": { + "status": "Error", + "steps": [ + { + "fullStepIndex": "0", + "name": "Cloud Deployment", + "description": "Deploy Cloud.", + "startTimeUtc": "2023-06-09T00:08:19", + "endTimeUtc": "2023-06-09T04:01:47", + "status": "Error", + "exception": [ + "exception1", + "exception2" + ], + "steps": [ + { + "fullStepIndex": "0.1", + "name": "Before Cloud Deployment", + "description": null, + "startTimeUtc": "2023-06-09T00:08:23", + "endTimeUtc": "2023-06-09T01:10:10", + "exception": [ + "exception1", + "exception2" + ], + "steps": [] + }, + { + "fullStepIndex": "0.36", + "name": "Clean up temporary content", + "description": null, + "startTimeUtc": "2023-06-09T03:58:37", + "endTimeUtc": "2023-06-09T04:01:47", + "status": "Error", + "exception": [ + "exception1", + "exception2" + ], + "steps": [] + } + ] + } + ] + } + } + } + } + }, + "201": { + "body": { + "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/test-rg/providers/Microsoft.AzureStackHCI/clusters/myCluster/deploymentSettings/default", + "name": "default", + "type": "Microsoft.AzureStackHCI/clusters/deploymentSettings", + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2021-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-02T17:18:19.1234567Z" + }, + "properties": { + "provisioningState": "Succeeded", + "deploymentMode": "Deploy", + "arcNodeResourceIds": [ + "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.HybridCompute/machines/Node-1", + "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.HybridCompute/machines/Node-2" + ], + "deploymentConfiguration": { + "version": "string", + "scaleUnits": [ + { + "deploymentData": { + "securitySettings": { + "hvciProtection": true, + "drtmProtection": true, + "driftControlEnforced": true, + "credentialGuardEnforced": false, + "smbSigningEnforced": true, + "smbClusterEncryption": false, + "sideChannelMitigationEnforced": true, + "bitlockerBootVolume": true, + "bitlockerDataVolumes": true, + "wdacEnforced": true + }, + "observability": { + "streamingDataClient": true, + "euLocation": false, + "episodicDataUpload": true + }, + "cluster": { + "name": "testHCICluster", + "witnessType": "Cloud", + "witnessPath": "Cloud", + "cloudAccountName": "myasestoragacct", + "azureServiceEndpoint": "core.windows.net" + }, + "storage": { + "configurationMode": "Express" + }, + "namingPrefix": "ms169", + "domainFqdn": "ASZ1PLab8.nttest.microsoft.com", + "infrastructureNetwork": [ + { + "subnetMask": "255.255.248.0", + "gateway": "255.255.248.0", + "ipPools": [ + { + "startingAddress": "10.57.48.60", + "endingAddress": "10.57.48.66" + } + ], + "dnsServerConfig": "UseDnsServer", + "dnsServers": [ + "10.57.50.90" + ] + } + ], + "physicalNodes": [ + { + "name": "ms169host", + "ipv4Address": "10.57.51.224" + }, + { + "name": "ms154host", + "ipv4Address": "10.57.53.236" + } + ], + "hostNetwork": { + "intents": [ + { + "name": "Compute_Management", + "trafficType": [ + "Compute", + "Management" + ], + "adapter": [ + "Port2" + ], + "overrideVirtualSwitchConfiguration": false, + "virtualSwitchConfigurationOverrides": { + "enableIov": "True", + "loadBalancingAlgorithm": "HyperVPort" + }, + "overrideQosPolicy": false, + "qosPolicyOverrides": { + "priorityValue8021Action_Cluster": "7", + "priorityValue8021Action_SMB": "3", + "bandwidthPercentage_SMB": "50" + }, + "overrideAdapterProperty": false, + "adapterPropertyOverrides": { + "jumboPacket": "1514", + "networkDirect": "Enabled", + "networkDirectTechnology": "iWARP" + } + } + ], + "storageNetworks": [ + { + "name": "Storage1Network", + "networkAdapterName": "Port3", + "vlanId": "5", + "storageAdapterIPInfo": [ + { + "physicalNode": "string", + "ipv4Address": "10.57.48.60", + "subnetMask": "255.255.248.0" + } + ] + } + ], + "storageConnectivitySwitchless": true, + "enableStorageAutoIp": false + }, + "sdnIntegration": { + "networkController": { + "macAddressPoolStart": "00-0D-3A-1B-C7-21", + "macAddressPoolStop": "00-0D-3A-1B-C7-29", + "networkVirtualizationEnabled": true + } + }, + "adouPath": "OU=ms169,DC=ASZ1PLab8,DC=nttest,DC=microsoft,DC=com", + "secretsLocation": "/subscriptions/db4e2fdb-6d80-4e6e-b7cd-xxxxxxx/resourceGroups/test-rg/providers/Microsoft.KeyVault/vaults/abcd123", + "secrets": [ + { + "secretName": "cluster1-BmcAdminUser-f5bcc1d9-23af-4ae9-aca1-041d0f593a63", + "eceSecretName": "BMCAdminUserCred", + "secretLocation": "https://sclusterkvnirhci35.vault.azure.net/secrets/cluster-34232342-BmcAdminUser-f5bcc1d9-23af-4ae9-aca1-041d0f593a63/9276354aabfc492fa9b2cdbefb54ae4b" + }, + { + "secretName": "cluster2-AzureStackLCMUserCredential-f5bcc1d9-23af-4ae9-aca1-041d0f593a63", + "eceSecretName": "AzureStackLCMUserCredential", + "secretLocation": "https://sclusterkvnirhci35.vault.azure.net/secrets/cluster-34232342-AzureStackLCMUserCredential-f5bcc1d9-23af-4ae9-aca1-041d0f593a63/9276354aabfc492fa9b2cdbefb54ae4c" + } + ], + "optionalServices": { + "customLocation": "customLocationName" + } + }, + "sbePartnerInfo": { + "sbeDeploymentInfo": { + "version": "4.0.2309.13", + "family": "Gen5", + "publisher": "Contoso", + "sbeManifestSource": "default", + "sbeManifestCreationDate": "2023-07-25T02:40:33Z" + }, + "partnerProperties": [ + { + "name": "EnableBMCIpV6", + "value": "false" + }, + { + "name": "PhoneHomePort", + "value": "1653" + }, + { + "name": "BMCSecurityState", + "value": "HighSecurity" + } + ], + "credentialList": [ + { + "secretName": "cluster1-DownloadConnectorCred-f5bcc1d9-23af-4ae9-aca1-041d0f593a63", + "eceSecretName": "DownloadConnectorCred", + "secretLocation": "https://sclusterkvnirhci35.vault.azure.net/secrets/cluster-34232342-DownloadConnectorCred-f5bcc1d9-23af-4ae9-aca1-041d0f593a63/9276354aabfc492fa9b2cdbefb54ae4b" + } + ] + } + } + ] + }, + "reportedProperties": { + "validationStatus": { + "status": "Error", + "steps": [ + { + "fullStepIndex": "0", + "name": "Cloud Deployment", + "description": "Deploy Cloud.", + "startTimeUtc": "2023-06-09T00:08:19", + "endTimeUtc": "2023-06-09T04:01:47", + "status": "Error", + "steps": [ + { + "fullStepIndex": "0.1", + "name": "Before Cloud Deployment", + "description": "Before Cloud Deployment", + "startTimeUtc": "2023-06-09T00:08:23", + "endTimeUtc": "2023-06-09T01:10:10" + }, + { + "fullStepIndex": "0.36", + "name": "Clean up temporary content", + "description": "Clean up temporary content", + "startTimeUtc": "2023-06-09T03:58:37", + "endTimeUtc": "2023-06-09T04:01:47", + "status": "Error", + "exception": [ + "exception1", + "exception2" + ] + } + ] + } + ] + }, + "deploymentStatus": { + "status": "Error", + "steps": [ + { + "fullStepIndex": "0", + "name": "Cloud Deployment", + "description": "Deploy Cloud.", + "startTimeUtc": "2023-06-09T00:08:19", + "endTimeUtc": "2023-06-09T04:01:47", + "status": "Error", + "exception": [ + "exception1", + "exception2" + ], + "steps": [ + { + "fullStepIndex": "0.1", + "name": "Before Cloud Deployment", + "description": "Before Cloud Deployment", + "startTimeUtc": "2023-06-09T00:08:23", + "endTimeUtc": "2023-06-09T01:10:10", + "exception": [ + "exception1", + "exception2" + ], + "steps": [] + }, + { + "fullStepIndex": "0.36", + "name": "Clean up temporary content", + "description": "Clean up temporary content", + "startTimeUtc": "2023-06-09T03:58:37", + "endTimeUtc": "2023-06-09T04:01:47", + "status": "Error", + "exception": [ + "exception1", + "exception2" + ], + "steps": [] + } + ] + } + ] + } + } + } + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/PutDeploymentSettingsWithADLess.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/PutDeploymentSettingsWithADLess.json new file mode 100644 index 000000000000..5fe940fd3296 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/PutDeploymentSettingsWithADLess.json @@ -0,0 +1,738 @@ +{ + "parameters": { + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "test-rg", + "clusterName": "myCluster", + "deploymentSettingsName": "default", + "api-version": "2025-11-01-preview", + "resource": { + "properties": { + "operationType": "ClusterProvisioning", + "deploymentMode": "Deploy", + "arcNodeResourceIds": [ + "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.HybridCompute/machines/Node-1", + "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.HybridCompute/machines/Node-2" + ], + "deploymentConfiguration": { + "version": "string", + "scaleUnits": [ + { + "deploymentData": { + "securitySettings": { + "hvciProtection": true, + "drtmProtection": true, + "driftControlEnforced": true, + "credentialGuardEnforced": false, + "smbSigningEnforced": true, + "smbClusterEncryption": false, + "sideChannelMitigationEnforced": true, + "bitlockerBootVolume": true, + "bitlockerDataVolumes": true, + "wdacEnforced": true + }, + "observability": { + "streamingDataClient": true, + "euLocation": false, + "episodicDataUpload": true + }, + "cluster": { + "name": "testHCICluster", + "witnessType": "Cloud", + "witnessPath": "Cloud", + "cloudAccountName": "myasestoragacct", + "azureServiceEndpoint": "core.windows.net", + "hardwareClass": "Medium" + }, + "identityProvider": "LocalIdentity", + "storage": { + "configurationMode": "Express" + }, + "namingPrefix": "ms169", + "domainFqdn": "ASZ1PLab8.nttest.microsoft.com", + "infrastructureNetwork": [ + { + "subnetMask": "255.255.248.0", + "gateway": "255.255.248.0", + "ipPools": [ + { + "startingAddress": "10.57.48.60", + "endingAddress": "10.57.48.66" + } + ], + "dnsZones": [ + { + "dnsZoneName": "contoso.com", + "dnsForwarder": [ + "192.168.1.1" + ] + } + ] + } + ], + "physicalNodes": [ + { + "name": "ms169host", + "ipv4Address": "10.57.51.224" + }, + { + "name": "ms154host", + "ipv4Address": "10.57.53.236" + } + ], + "hostNetwork": { + "intents": [ + { + "name": "Compute_Management", + "trafficType": [ + "Compute", + "Management" + ], + "adapter": [ + "Port2" + ], + "overrideVirtualSwitchConfiguration": false, + "virtualSwitchConfigurationOverrides": { + "enableIov": "True", + "loadBalancingAlgorithm": "HyperVPort" + }, + "overrideQosPolicy": false, + "qosPolicyOverrides": { + "priorityValue8021Action_Cluster": "7", + "priorityValue8021Action_SMB": "3", + "bandwidthPercentage_SMB": "50" + }, + "overrideAdapterProperty": false, + "adapterPropertyOverrides": { + "jumboPacket": "1514", + "networkDirect": "Enabled", + "networkDirectTechnology": "iWARP" + } + } + ], + "storageNetworks": [ + { + "name": "Storage1Network", + "networkAdapterName": "Port3", + "vlanId": "5", + "storageAdapterIPInfo": [ + { + "physicalNode": "string", + "ipv4Address": "10.57.48.60", + "subnetMask": "255.255.248.0" + } + ] + } + ], + "storageConnectivitySwitchless": true, + "enableStorageAutoIp": false + }, + "sdnIntegration": { + "networkController": { + "macAddressPoolStart": "00-0D-3A-1B-C7-21", + "macAddressPoolStop": "00-0D-3A-1B-C7-29", + "networkVirtualizationEnabled": true + } + }, + "adouPath": "OU=ms169,DC=ASZ1PLab8,DC=nttest,DC=microsoft,DC=com", + "secretsLocation": "/subscriptions/db4e2fdb-6d80-4e6e-b7cd-xxxxxxx/resourceGroups/test-rg/providers/Microsoft.KeyVault/vaults/abcd123", + "secrets": [ + { + "secretName": "cluster1-BmcAdminUser-f5bcc1d9-23af-4ae9-aca1-041d0f593a63", + "eceSecretName": "BMCAdminUserCred", + "secretLocation": "https://sclusterkvnirhci35.vault.azure.net/secrets/cluster-34232342-BmcAdminUser-f5bcc1d9-23af-4ae9-aca1-041d0f593a63/9276354aabfc492fa9b2cdbefb54ae4b" + }, + { + "secretName": "cluster2-AzureStackLCMUserCredential-f5bcc1d9-23af-4ae9-aca1-041d0f593a63", + "eceSecretName": "AzureStackLCMUserCredential", + "secretLocation": "https://sclusterkvnirhci35.vault.azure.net/secrets/cluster-34232342-AzureStackLCMUserCredential-f5bcc1d9-23af-4ae9-aca1-041d0f593a63/9276354aabfc492fa9b2cdbefb54ae4c" + } + ], + "optionalServices": { + "customLocation": "customLocationName" + } + }, + "sbePartnerInfo": { + "sbeDeploymentInfo": { + "version": "4.0.2309.13", + "family": "Gen5", + "publisher": "Contoso", + "sbeManifestSource": "default", + "sbeManifestCreationDate": "2023-07-25T02:40:33Z" + }, + "partnerProperties": [ + { + "name": "EnableBMCIpV6", + "value": "false" + }, + { + "name": "PhoneHomePort", + "value": "1653" + }, + { + "name": "BMCSecurityState", + "value": "HighSecurity" + } + ], + "credentialList": [ + { + "secretName": "cluster1-DownloadConnectorCred-f5bcc1d9-23af-4ae9-aca1-041d0f593a63", + "eceSecretName": "DownloadConnectorCred", + "secretLocation": "https://sclusterkvnirhci35.vault.azure.net/secrets/cluster-34232342-DownloadConnectorCred-f5bcc1d9-23af-4ae9-aca1-041d0f593a63/9276354aabfc492fa9b2cdbefb54ae4b" + } + ] + } + } + ] + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/test-rg/providers/Microsoft.AzureStackHCI/clusters/myCluster/deploymentSettings/default", + "name": "default", + "type": "Microsoft.AzureStackHCI/clusters/deploymentSettings", + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2021-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-02T17:18:19.1234567Z" + }, + "properties": { + "provisioningState": "Succeeded", + "deploymentMode": "Deploy", + "arcNodeResourceIds": [ + "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.HybridCompute/machines/Node-1", + "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.HybridCompute/machines/Node-2" + ], + "deploymentConfiguration": { + "version": "string", + "scaleUnits": [ + { + "deploymentData": { + "securitySettings": { + "hvciProtection": true, + "drtmProtection": true, + "driftControlEnforced": true, + "credentialGuardEnforced": false, + "smbSigningEnforced": true, + "smbClusterEncryption": false, + "sideChannelMitigationEnforced": true, + "bitlockerBootVolume": true, + "bitlockerDataVolumes": true, + "wdacEnforced": true + }, + "observability": { + "streamingDataClient": true, + "euLocation": false, + "episodicDataUpload": true + }, + "cluster": { + "name": "testHCICluster", + "witnessType": "Cloud", + "witnessPath": "Cloud", + "cloudAccountName": "myasestoragacct", + "azureServiceEndpoint": "core.windows.net" + }, + "storage": { + "configurationMode": "Express" + }, + "namingPrefix": "ms169", + "domainFqdn": "ASZ1PLab8.nttest.microsoft.com", + "infrastructureNetwork": [ + { + "subnetMask": "255.255.248.0", + "gateway": "255.255.248.0", + "ipPools": [ + { + "startingAddress": "10.57.48.60", + "endingAddress": "10.57.48.66" + } + ], + "dnsServerConfig": "UseDnsServer", + "dnsServers": [ + "10.57.50.90" + ] + } + ], + "physicalNodes": [ + { + "name": "ms169host", + "ipv4Address": "10.57.51.224" + }, + { + "name": "ms154host", + "ipv4Address": "10.57.53.236" + } + ], + "hostNetwork": { + "intents": [ + { + "name": "Compute_Management", + "trafficType": [ + "Compute", + "Management" + ], + "adapter": [ + "Port2" + ], + "overrideVirtualSwitchConfiguration": false, + "virtualSwitchConfigurationOverrides": { + "enableIov": "True", + "loadBalancingAlgorithm": "HyperVPort" + }, + "overrideQosPolicy": false, + "qosPolicyOverrides": { + "priorityValue8021Action_Cluster": "7", + "priorityValue8021Action_SMB": "3", + "bandwidthPercentage_SMB": "50" + }, + "overrideAdapterProperty": false, + "adapterPropertyOverrides": { + "jumboPacket": "1514", + "networkDirect": "Enabled", + "networkDirectTechnology": "iWARP" + } + } + ], + "storageNetworks": [ + { + "name": "Storage1Network", + "networkAdapterName": "Port3", + "vlanId": "5", + "storageAdapterIPInfo": [ + { + "physicalNode": "string", + "ipv4Address": "10.57.48.60", + "subnetMask": "255.255.248.0" + } + ] + } + ], + "storageConnectivitySwitchless": true, + "enableStorageAutoIp": false + }, + "sdnIntegration": { + "networkController": { + "macAddressPoolStart": "00-0D-3A-1B-C7-21", + "macAddressPoolStop": "00-0D-3A-1B-C7-29", + "networkVirtualizationEnabled": true + } + }, + "adouPath": "OU=ms169,DC=ASZ1PLab8,DC=nttest,DC=microsoft,DC=com", + "secretsLocation": "/subscriptions/db4e2fdb-6d80-4e6e-b7cd-xxxxxxx/resourceGroups/test-rg/providers/Microsoft.KeyVault/vaults/abcd123", + "secrets": [ + { + "secretName": "cluster1-BmcAdminUser-f5bcc1d9-23af-4ae9-aca1-041d0f593a63", + "eceSecretName": "BMCAdminUserCred", + "secretLocation": "https://sclusterkvnirhci35.vault.azure.net/secrets/cluster-34232342-BmcAdminUser-f5bcc1d9-23af-4ae9-aca1-041d0f593a63/9276354aabfc492fa9b2cdbefb54ae4b" + }, + { + "secretName": "cluster2-AzureStackLCMUserCredential-f5bcc1d9-23af-4ae9-aca1-041d0f593a63", + "eceSecretName": "AzureStackLCMUserCredential", + "secretLocation": "https://sclusterkvnirhci35.vault.azure.net/secrets/cluster-34232342-AzureStackLCMUserCredential-f5bcc1d9-23af-4ae9-aca1-041d0f593a63/9276354aabfc492fa9b2cdbefb54ae4c" + } + ], + "optionalServices": { + "customLocation": "customLocationName" + } + }, + "sbePartnerInfo": { + "sbeDeploymentInfo": { + "version": "4.0.2309.13", + "family": "Gen5", + "publisher": "Contoso", + "sbeManifestSource": "default", + "sbeManifestCreationDate": "2023-07-25T02:40:33Z" + }, + "partnerProperties": [ + { + "name": "EnableBMCIpV6", + "value": "false" + }, + { + "name": "PhoneHomePort", + "value": "1653" + }, + { + "name": "BMCSecurityState", + "value": "HighSecurity" + } + ], + "credentialList": [ + { + "secretName": "cluster1-DownloadConnectorCred-f5bcc1d9-23af-4ae9-aca1-041d0f593a63", + "eceSecretName": "DownloadConnectorCred", + "secretLocation": "https://sclusterkvnirhci35.vault.azure.net/secrets/cluster-34232342-DownloadConnectorCred-f5bcc1d9-23af-4ae9-aca1-041d0f593a63/9276354aabfc492fa9b2cdbefb54ae4b" + } + ] + } + } + ] + }, + "reportedProperties": { + "validationStatus": { + "status": "Error", + "steps": [ + { + "fullStepIndex": "0", + "name": "Cloud Deployment", + "description": "Deploy Cloud.", + "startTimeUtc": "2023-06-09T00:08:19", + "endTimeUtc": "2023-06-09T04:01:47", + "status": "Error", + "exception": [ + "exception1", + "exception2" + ], + "steps": [ + { + "fullStepIndex": "0.1", + "name": "Before Cloud Deployment", + "description": "Before Cloud Deployment", + "startTimeUtc": "2023-06-09T00:08:23", + "endTimeUtc": "2023-06-09T01:10:10", + "exception": [ + "exception1", + "exception2" + ], + "steps": [] + }, + { + "fullStepIndex": "0.36", + "name": "Clean up temporary content", + "description": "Clean up temporary content", + "startTimeUtc": "2023-06-09T03:58:37", + "endTimeUtc": "2023-06-09T04:01:47", + "status": "Error", + "exception": [ + "exception1", + "exception2" + ], + "steps": [] + } + ] + } + ] + }, + "deploymentStatus": { + "status": "Error", + "steps": [ + { + "fullStepIndex": "0", + "name": "Cloud Deployment", + "description": "Deploy Cloud.", + "startTimeUtc": "2023-06-09T00:08:19", + "endTimeUtc": "2023-06-09T04:01:47", + "status": "Error", + "exception": [ + "exception1", + "exception2" + ], + "steps": [ + { + "fullStepIndex": "0.1", + "name": "Before Cloud Deployment", + "description": null, + "startTimeUtc": "2023-06-09T00:08:23", + "endTimeUtc": "2023-06-09T01:10:10", + "exception": [ + "exception1", + "exception2" + ], + "steps": [] + }, + { + "fullStepIndex": "0.36", + "name": "Clean up temporary content", + "description": null, + "startTimeUtc": "2023-06-09T03:58:37", + "endTimeUtc": "2023-06-09T04:01:47", + "status": "Error", + "exception": [ + "exception1", + "exception2" + ], + "steps": [] + } + ] + } + ] + } + } + } + } + }, + "201": { + "body": { + "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/test-rg/providers/Microsoft.AzureStackHCI/clusters/myCluster/deploymentSettings/default", + "name": "default", + "type": "Microsoft.AzureStackHCI/clusters/deploymentSettings", + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2021-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-02T17:18:19.1234567Z" + }, + "properties": { + "provisioningState": "Succeeded", + "deploymentMode": "Deploy", + "arcNodeResourceIds": [ + "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.HybridCompute/machines/Node-1", + "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.HybridCompute/machines/Node-2" + ], + "deploymentConfiguration": { + "version": "string", + "scaleUnits": [ + { + "deploymentData": { + "securitySettings": { + "hvciProtection": true, + "drtmProtection": true, + "driftControlEnforced": true, + "credentialGuardEnforced": false, + "smbSigningEnforced": true, + "smbClusterEncryption": false, + "sideChannelMitigationEnforced": true, + "bitlockerBootVolume": true, + "bitlockerDataVolumes": true, + "wdacEnforced": true + }, + "observability": { + "streamingDataClient": true, + "euLocation": false, + "episodicDataUpload": true + }, + "cluster": { + "name": "testHCICluster", + "witnessType": "Cloud", + "witnessPath": "Cloud", + "cloudAccountName": "myasestoragacct", + "azureServiceEndpoint": "core.windows.net" + }, + "storage": { + "configurationMode": "Express" + }, + "namingPrefix": "ms169", + "domainFqdn": "ASZ1PLab8.nttest.microsoft.com", + "infrastructureNetwork": [ + { + "subnetMask": "255.255.248.0", + "gateway": "255.255.248.0", + "ipPools": [ + { + "startingAddress": "10.57.48.60", + "endingAddress": "10.57.48.66" + } + ], + "dnsServerConfig": "UseDnsServer", + "dnsServers": [ + "10.57.50.90" + ] + } + ], + "physicalNodes": [ + { + "name": "ms169host", + "ipv4Address": "10.57.51.224" + }, + { + "name": "ms154host", + "ipv4Address": "10.57.53.236" + } + ], + "hostNetwork": { + "intents": [ + { + "name": "Compute_Management", + "trafficType": [ + "Compute", + "Management" + ], + "adapter": [ + "Port2" + ], + "overrideVirtualSwitchConfiguration": false, + "virtualSwitchConfigurationOverrides": { + "enableIov": "True", + "loadBalancingAlgorithm": "HyperVPort" + }, + "overrideQosPolicy": false, + "qosPolicyOverrides": { + "priorityValue8021Action_Cluster": "7", + "priorityValue8021Action_SMB": "3", + "bandwidthPercentage_SMB": "50" + }, + "overrideAdapterProperty": false, + "adapterPropertyOverrides": { + "jumboPacket": "1514", + "networkDirect": "Enabled", + "networkDirectTechnology": "iWARP" + } + } + ], + "storageNetworks": [ + { + "name": "Storage1Network", + "networkAdapterName": "Port3", + "vlanId": "5", + "storageAdapterIPInfo": [ + { + "physicalNode": "string", + "ipv4Address": "10.57.48.60", + "subnetMask": "255.255.248.0" + } + ] + } + ], + "storageConnectivitySwitchless": true, + "enableStorageAutoIp": false + }, + "sdnIntegration": { + "networkController": { + "macAddressPoolStart": "00-0D-3A-1B-C7-21", + "macAddressPoolStop": "00-0D-3A-1B-C7-29", + "networkVirtualizationEnabled": true + } + }, + "adouPath": "OU=ms169,DC=ASZ1PLab8,DC=nttest,DC=microsoft,DC=com", + "secretsLocation": "/subscriptions/db4e2fdb-6d80-4e6e-b7cd-xxxxxxx/resourceGroups/test-rg/providers/Microsoft.KeyVault/vaults/abcd123", + "secrets": [ + { + "secretName": "cluster1-BmcAdminUser-f5bcc1d9-23af-4ae9-aca1-041d0f593a63", + "eceSecretName": "BMCAdminUserCred", + "secretLocation": "https://sclusterkvnirhci35.vault.azure.net/secrets/cluster-34232342-BmcAdminUser-f5bcc1d9-23af-4ae9-aca1-041d0f593a63/9276354aabfc492fa9b2cdbefb54ae4b" + }, + { + "secretName": "cluster2-AzureStackLCMUserCredential-f5bcc1d9-23af-4ae9-aca1-041d0f593a63", + "eceSecretName": "AzureStackLCMUserCredential", + "secretLocation": "https://sclusterkvnirhci35.vault.azure.net/secrets/cluster-34232342-AzureStackLCMUserCredential-f5bcc1d9-23af-4ae9-aca1-041d0f593a63/9276354aabfc492fa9b2cdbefb54ae4c" + } + ], + "optionalServices": { + "customLocation": "customLocationName" + } + }, + "sbePartnerInfo": { + "sbeDeploymentInfo": { + "version": "4.0.2309.13", + "family": "Gen5", + "publisher": "Contoso", + "sbeManifestSource": "default", + "sbeManifestCreationDate": "2023-07-25T02:40:33Z" + }, + "partnerProperties": [ + { + "name": "EnableBMCIpV6", + "value": "false" + }, + { + "name": "PhoneHomePort", + "value": "1653" + }, + { + "name": "BMCSecurityState", + "value": "HighSecurity" + } + ], + "credentialList": [ + { + "secretName": "cluster1-DownloadConnectorCred-f5bcc1d9-23af-4ae9-aca1-041d0f593a63", + "eceSecretName": "DownloadConnectorCred", + "secretLocation": "https://sclusterkvnirhci35.vault.azure.net/secrets/cluster-34232342-DownloadConnectorCred-f5bcc1d9-23af-4ae9-aca1-041d0f593a63/9276354aabfc492fa9b2cdbefb54ae4b" + } + ] + } + } + ] + }, + "reportedProperties": { + "validationStatus": { + "status": "Error", + "steps": [ + { + "fullStepIndex": "0", + "name": "Cloud Deployment", + "description": "Deploy Cloud.", + "startTimeUtc": "2023-06-09T00:08:19", + "endTimeUtc": "2023-06-09T04:01:47", + "status": "Error", + "steps": [ + { + "fullStepIndex": "0.1", + "name": "Before Cloud Deployment", + "description": "Before Cloud Deployment", + "startTimeUtc": "2023-06-09T00:08:23", + "endTimeUtc": "2023-06-09T01:10:10" + }, + { + "fullStepIndex": "0.36", + "name": "Clean up temporary content", + "description": "Clean up temporary content", + "startTimeUtc": "2023-06-09T03:58:37", + "endTimeUtc": "2023-06-09T04:01:47", + "status": "Error", + "exception": [ + "exception1", + "exception2" + ] + } + ] + } + ] + }, + "deploymentStatus": { + "status": "Error", + "steps": [ + { + "fullStepIndex": "0", + "name": "Cloud Deployment", + "description": "Deploy Cloud.", + "startTimeUtc": "2023-06-09T00:08:19", + "endTimeUtc": "2023-06-09T04:01:47", + "status": "Error", + "exception": [ + "exception1", + "exception2" + ], + "steps": [ + { + "fullStepIndex": "0.1", + "name": "Before Cloud Deployment", + "description": "Before Cloud Deployment", + "startTimeUtc": "2023-06-09T00:08:23", + "endTimeUtc": "2023-06-09T01:10:10", + "exception": [ + "exception1", + "exception2" + ], + "steps": [] + }, + { + "fullStepIndex": "0.36", + "name": "Clean up temporary content", + "description": "Clean up temporary content", + "startTimeUtc": "2023-06-09T03:58:37", + "endTimeUtc": "2023-06-09T04:01:47", + "status": "Error", + "exception": [ + "exception1", + "exception2" + ], + "steps": [] + } + ] + } + ] + } + } + } + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/PutExtension.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/PutExtension.json new file mode 100644 index 000000000000..5422104c55d0 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/PutExtension.json @@ -0,0 +1,164 @@ +{ + "parameters": { + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "test-rg", + "clusterName": "myCluster", + "arcSettingName": "default", + "extensionName": "MicrosoftMonitoringAgent", + "extension": { + "properties": { + "extensionParameters": { + "publisher": "Microsoft.Compute", + "typeHandlerVersion": "1.10", + "type": "MicrosoftMonitoringAgent", + "enableAutomaticUpgrade": false, + "settings": { + "workspaceId": "xx" + }, + "protectedSettings": { + "workspaceKey": "xx" + } + } + } + }, + "api-version": "2025-11-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/test-rg/providers/Microsoft.AzureStackHCI/clusters/myCluster/arcSettings/default/extensions/MicrosoftMonitoringAgent", + "name": "MicrosoftMonitoringAgent", + "type": "Microsoft.AzureStackHCI/clusters/arcSettings/extensions", + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2021-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-02T17:18:19.1234567Z" + }, + "properties": { + "provisioningState": "Succeeded", + "extensionParameters": { + "publisher": "Microsoft.Compute", + "type": "string", + "typeHandlerVersion": "1.10.3", + "enableAutomaticUpgrade": false, + "autoUpgradeMinorVersion": false, + "settings": { + "workspaceId": "xx" + } + }, + "aggregateState": "PartiallySucceeded", + "perNodeExtensionDetails": [ + { + "name": "Node-1", + "extension": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.HybridCompute/machines/Node-1/Extensions/MicrosoftMonitoringAgent", + "state": "Succeeded", + "typeHandlerVersion": "1.10.0", + "instanceView": { + "name": "MicrosoftMonitoringAgent", + "type": "MicrosoftMonitoringAgent", + "typeHandlerVersion": "1.10.0", + "status": { + "code": "success", + "level": "Information", + "displayStatus": "Provisioning succeeded", + "message": "Finished executing command, StdOut: , StdErr:", + "time": "2019-08-08T20:42:10.999Z" + } + } + }, + { + "name": "Node-2", + "extension": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.HybridCompute/machines/Node-2/Extensions/MicrosoftMonitoringAgent", + "state": "Failed", + "typeHandlerVersion": "1.10.3", + "instanceView": { + "name": "MicrosoftMonitoringAgent", + "type": "MicrosoftMonitoringAgent", + "typeHandlerVersion": "1.10.3", + "status": { + "code": "error", + "level": "Error", + "displayStatus": "Provisioning failed", + "message": "Finished executing command, StdOut: , StdErr:", + "time": "2019-08-08T20:42:10.999Z" + } + } + } + ], + "managedBy": "User" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/test-rg/providers/Microsoft.AzureStackHCI/clusters/myCluster/arcSettings/default/extensions/MicrosoftMonitoringAgent", + "name": "MicrosoftMonitoringAgent", + "type": "Microsoft.AzureStackHCI/clusters/arcSettings/extensions", + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2021-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-02T17:18:19.1234567Z" + }, + "properties": { + "provisioningState": "Succeeded", + "extensionParameters": { + "publisher": "Microsoft.Compute", + "type": "string", + "typeHandlerVersion": "1.10.3", + "enableAutomaticUpgrade": false, + "autoUpgradeMinorVersion": false, + "settings": { + "workspaceId": "xx" + } + }, + "aggregateState": "PartiallySucceeded", + "perNodeExtensionDetails": [ + { + "name": "Node-1", + "extension": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.HybridCompute/machines/Node-1/Extensions/MicrosoftMonitoringAgent", + "state": "Succeeded", + "typeHandlerVersion": "1.10.0", + "instanceView": { + "name": "MicrosoftMonitoringAgent", + "type": "MicrosoftMonitoringAgent", + "typeHandlerVersion": "1.10.0", + "status": { + "code": "success", + "level": "Information", + "displayStatus": "Provisioning succeeded", + "message": "Finished executing command, StdOut: , StdErr:", + "time": "2019-08-08T20:42:10.999Z" + } + } + }, + { + "name": "Node-2", + "extension": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.HybridCompute/machines/Node-2/Extensions/MicrosoftMonitoringAgent", + "state": "Failed", + "typeHandlerVersion": "1.10.3", + "instanceView": { + "name": "MicrosoftMonitoringAgent", + "type": "MicrosoftMonitoringAgent", + "typeHandlerVersion": "1.10.3", + "status": { + "code": "error", + "level": "Error", + "displayStatus": "Provisioning failed", + "message": "Finished executing command, StdOut: , StdErr:", + "time": "2019-08-08T20:42:10.999Z" + } + } + } + ], + "managedBy": "User" + } + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/PutSecuritySettings.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/PutSecuritySettings.json new file mode 100644 index 000000000000..e2d0c02c7d10 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/PutSecuritySettings.json @@ -0,0 +1,72 @@ +{ + "parameters": { + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "test-rg", + "clusterName": "myCluster", + "securitySettingsName": "default", + "api-version": "2025-11-01-preview", + "resource": { + "properties": { + "securedCoreComplianceAssignment": "Audit", + "wdacComplianceAssignment": "ApplyAndAutoCorrect", + "smbEncryptionForIntraClusterTrafficComplianceAssignment": "Audit" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/test-rg/providers/Microsoft.AzureStackHCI/clusters/myCluster/securitySettings/default", + "type": "Microsoft.AzureStackHCI/clusters/securitySettings", + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2021-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-02T17:18:19.1234567Z" + }, + "properties": { + "securedCoreComplianceAssignment": "Audit", + "wdacComplianceAssignment": "ApplyAndAutoCorrect", + "smbEncryptionForIntraClusterTrafficComplianceAssignment": "Audit", + "securityComplianceStatus": { + "securedCoreCompliance": "Compliant", + "wdacCompliance": "Compliant", + "dataAtRestEncrypted": "Compliant", + "dataInTransitProtected": "Compliant", + "lastUpdated": "2023-11-14T07:09:44.771Z" + }, + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/test-rg/providers/Microsoft.AzureStackHCI/clusters/myCluster/securitySettings/default", + "type": "Microsoft.AzureStackHCI/clusters/securitySettings", + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2021-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-02T17:18:19.1234567Z" + }, + "properties": { + "securedCoreComplianceAssignment": "Audit", + "wdacComplianceAssignment": "ApplyAndAutoCorrect", + "smbEncryptionForIntraClusterTrafficComplianceAssignment": "Audit", + "securityComplianceStatus": { + "securedCoreCompliance": "Compliant", + "wdacCompliance": "Compliant", + "dataAtRestEncrypted": "Compliant", + "dataInTransitProtected": "Compliant", + "lastUpdated": "2023-11-14T07:09:44.771Z" + }, + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/PutUpdateRuns.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/PutUpdateRuns.json new file mode 100644 index 000000000000..d9d685630e10 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/PutUpdateRuns.json @@ -0,0 +1,68 @@ +{ + "parameters": { + "subscriptionId": "b8d594e5-51f3-4c11-9c54-a7771b81c712", + "resourceGroupName": "testrg", + "clusterName": "testcluster", + "updateName": "Microsoft4.2203.2.32", + "updateRunName": "23b779ba-0d52-4a80-8571-45ca74664ec3", + "api-version": "2025-11-01-preview", + "updateRunsProperties": { + "properties": { + "progress": { + "name": "Unnamed step", + "description": "Update Azure Stack.", + "errorMessage": "", + "status": "Success", + "startTimeUtc": "2022-04-06T01:36:33.3876751+00:00", + "endTimeUtc": "2022-04-06T13:58:42.969006+00:00", + "lastUpdatedTimeUtc": "2022-04-06T13:58:42.969006+00:00", + "steps": [ + { + "name": "PreUpdate Cloud", + "description": "Prepare for SSU update", + "errorMessage": "", + "status": "Success", + "startTimeUtc": "2022-04-06T01:36:33.3876751+00:00", + "endTimeUtc": "2022-04-06T01:37:16.8728314+00:00", + "lastUpdatedTimeUtc": "2022-04-06T01:37:16.8728314+00:00", + "steps": [] + } + ] + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/b8d594e5-51f3-4c11-9c54-a7771b81c712/resourceGroups/testrg/providers/Microsoft.AzureStackHCI/clusters/testcluster/updates/Microsoft4.2203.2.32/updateRuns/23b779ba-0d52-4a80-8571-45ca74664ec3", + "name": "Microsoft4.2203.2.32/23b779ba-0d52-4a80-8571-45ca74664ec3", + "type": "Microsoft.AzureStackHCI/updates/updateRuns", + "location": "West US", + "properties": { + "progress": { + "name": "Unnamed step", + "description": "Update Azure Stack.", + "errorMessage": "", + "status": "Success", + "startTimeUtc": "2022-04-06T01:36:33.3876751+00:00", + "endTimeUtc": "2022-04-06T13:58:42.969006+00:00", + "lastUpdatedTimeUtc": "2022-04-06T13:58:42.969006+00:00", + "steps": [ + { + "name": "PreUpdate Cloud", + "description": "Prepare for SSU update", + "errorMessage": "", + "status": "Success", + "startTimeUtc": "2022-04-06T01:36:33.3876751+00:00", + "endTimeUtc": "2022-04-06T01:37:16.8728314+00:00", + "lastUpdatedTimeUtc": "2022-04-06T01:37:16.8728314+00:00", + "steps": [] + } + ] + } + } + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/PutUpdateSummaries.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/PutUpdateSummaries.json new file mode 100644 index 000000000000..77561bf4de67 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/PutUpdateSummaries.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "subscriptionId": "b8d594e5-51f3-4c11-9c54-a7771b81c712", + "resourceGroupName": "testrg", + "clusterName": "testcluster", + "updateName": "Microsoft4.2203.2.32", + "api-version": "2025-11-01-preview", + "updateLocationProperties": { + "properties": { + "oemFamily": "DellEMC", + "hardwareModel": "PowerEdge R730xd", + "lastChecked": "2022-04-07T18:04:07Z", + "currentVersion": "4.2203.2.32", + "lastUpdated": "2022-04-06T14:08:18.254Z", + "state": "AppliedSuccessfully" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/b8d594e5-51f3-4c11-9c54-a7771b81c712/resourceGroups/testrg/providers/Microsoft.AzureStackHCI/clusters/testcluster/updateSummaries/default", + "name": "default", + "type": "Microsoft.AzureStackHCI/updateSummaries", + "location": "West US", + "properties": { + "oemFamily": "DellEMC", + "hardwareModel": "PowerEdge R730xd", + "packageVersions": [ + { + "packageType": "OEM", + "version": "2.2.2108.6", + "lastUpdated": "2022-04-07T18:04:07Z" + }, + { + "packageType": "Services", + "version": "4.2203.2.32", + "lastUpdated": "2022-04-07T18:04:07Z" + }, + { + "packageType": "Infrastructure", + "version": "4.2203.2.32", + "lastUpdated": "2022-04-07T18:04:07Z" + } + ], + "currentVersion": "4.2203.2.32", + "state": "AppliedSuccessfully" + } + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/PutUpdates.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/PutUpdates.json new file mode 100644 index 000000000000..47bc05b4cbb8 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/PutUpdates.json @@ -0,0 +1,71 @@ +{ + "parameters": { + "subscriptionId": "b8d594e5-51f3-4c11-9c54-a7771b81c712", + "resourceGroupName": "testrg", + "clusterName": "testcluster", + "updateName": "Microsoft4.2203.2.32", + "api-version": "2025-11-01-preview", + "updateProperties": { + "properties": { + "installedDate": "2022-04-06T14:08:18.254Z", + "description": "AzS Update 4.2203.2.32", + "state": "Installed", + "prerequisites": [ + { + "updateType": "update type", + "version": "prerequisite version", + "packageName": "update package name" + } + ], + "packagePath": "\\\\SU1FileServer\\SU1_Infrastructure_2\\Updates\\Packages\\Microsoft4.2203.2.32", + "packageSizeInMb": 18858, + "displayName": "AzS Update - 4.2203.2.32", + "version": "4.2203.2.32", + "publisher": "Microsoft", + "releaseLink": "https://docs.microsoft.com/azure-stack/operator/release-notes?view=azs-2203", + "availabilityType": "Local", + "packageType": "Infrastructure", + "updateStateProperties": { + "notifyMessage": "Brief message with instructions for updates of AvailabilityType Notify", + "progressPercentage": 0 + }, + "additionalProperties": "additional properties" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/b8d594e5-51f3-4c11-9c54-a7771b81c712/resourceGroups/testrg/providers/Microsoft.AzureStackHCI/clusters/testcluster/updates/Microsoft4.2203.2.32", + "name": "Microsoft4.2203.2.32", + "type": "Microsoft.AzureStackHCI/updates", + "location": "West US", + "properties": { + "installedDate": "2022-04-06T14:08:18.254Z", + "description": "AzS Update 4.2203.2.32", + "state": "Installed", + "prerequisites": [ + { + "updateType": "update type", + "version": "prerequisite version", + "packageName": "update package name" + } + ], + "packagePath": "\\\\SU1FileServer\\SU1_Infrastructure_2\\Updates\\Packages\\Microsoft4.2203.2.32", + "packageSizeInMb": 18858, + "displayName": "AzS Update - 4.2203.2.32", + "version": "4.2203.2.32", + "publisher": "Microsoft", + "releaseLink": "https://docs.microsoft.com/azure-stack/operator/release-notes?view=azs-2203", + "availabilityType": "Local", + "packageType": "Infrastructure", + "updateStateProperties": { + "notifyMessage": "Brief message with instructions for updates of AvailabilityType Notify", + "progressPercentage": 0 + }, + "additionalProperties": "additional properties" + } + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/TriggerLogCollection.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/TriggerLogCollection.json new file mode 100644 index 000000000000..e0c4416e90c8 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/TriggerLogCollection.json @@ -0,0 +1,95 @@ +{ + "parameters": { + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "test-rg", + "clusterName": "mycluster", + "api-version": "2025-11-01-preview", + "logCollectionRequest": { + "properties": { + "fromDate": "2020-01-01T17:18:19.1234567Z", + "toDate": "2021-01-01T17:18:19.1234567Z" + } + } + }, + "responses": { + "202": { + "headers": { + "location": "https://foo.com/operationStatuses" + } + }, + "200": { + "body": { + "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/test-rg/providers/Microsoft.AzureStackHCI/clusters/myCluster", + "name": "myCluster", + "type": "Microsoft.AzureStackHCI/clusters", + "location": "East US", + "tags": {}, + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2020-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" + }, + "properties": { + "provisioningState": "Succeeded", + "status": "ConnectedRecently", + "cloudId": "a3c0468f-e38e-4dda-ac48-817f620536f0", + "cloudManagementEndpoint": "https://98294836-31be-4668-aeae-698667faf99b.waconazure.com", + "aadClientId": "24a6e53d-04e5-44d2-b7cc-1b732a847dfc", + "aadTenantId": "7e589cc1-a8b6-4dff-91bd-5ec0fa18db94", + "desiredProperties": { + "windowsServerSubscription": "Enabled", + "diagnosticLevel": "Basic" + }, + "logCollectionProperties": { + "fromDate": "2020-01-01T17:18:19.1234567Z", + "toDate": "2021-01-01T17:18:19.1234567Z", + "lastLogGenerated": "2020-01-01T17:18:19.1234567Z", + "logCollectionSessionDetails": [ + { + "logStartTime": "2020-01-01T17:18:19.1234567Z", + "logEndTime": "2020-01-01T17:18:19.1234567Z", + "timeCollected": "2020-01-01T17:18:19.1234567Z", + "logSize": 1000, + "logCollectionStatus": "Succeeded", + "correlationId": "a76ab33a-1819-4e82-1212-e3e4ec3d1425", + "logCollectionJobType": "OnDemand", + "endTimeCollected": "2020-01-01T17:25:19.1234567Z" + } + ] + }, + "reportedProperties": { + "clusterName": "cluster1", + "clusterId": "a76ac23a-1819-4e82-9410-e3e4ec3d1425", + "clusterVersion": "10.0.17777", + "nodes": [ + { + "name": "Node1", + "id": 1, + "windowsServerSubscription": "Enabled", + "nodeType": "ThirdParty", + "manufacturer": "Dell Inc.", + "model": "EMC AX740", + "osName": "Azure Stack HCI", + "osVersion": "10.0.17777.1061", + "serialNumber": "Q45CZC3", + "coreCount": 8, + "memoryInGiB": 128 + } + ], + "lastUpdated": "2020-03-11T19:24:42.1946017Z", + "imdsAttestation": "Disabled", + "diagnosticLevel": "Basic" + }, + "trialDaysRemaining": 30, + "billingModel": "Trial", + "registrationTimestamp": "2020-03-11T20:44:32.5625121Z", + "lastSyncTimestamp": "2020-03-11T20:44:32.5625121Z", + "lastBillingTimestamp": "2020-03-12T08:12:55.2312022Z" + } + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/UpdateCluster.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/UpdateCluster.json new file mode 100644 index 000000000000..d09c39f5eb76 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/UpdateCluster.json @@ -0,0 +1,126 @@ +{ + "parameters": { + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "test-rg", + "clusterName": "myCluster", + "api-version": "2025-11-01-preview", + "cluster": { + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "cloudManagementEndpoint": "https://98294836-31be-4668-aeae-698667faf99b.waconazure.com", + "desiredProperties": { + "windowsServerSubscription": "Enabled", + "diagnosticLevel": "Basic" + } + }, + "identity": { + "type": "SystemAssigned" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/test-rg/providers/Microsoft.AzureStackHCI/clusters/myCluster", + "name": "myCluster", + "type": "Microsoft.AzureStackHCI/clusters", + "location": "East US", + "identity": { + "principalId": "87a834db-2e45-409e-911b-e16a44562ec3", + "tenantId": "7e589cc1-a8b6-4dff-91bd-5ec0fa18db94", + "type": "SystemAssigned" + }, + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2020-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" + }, + "properties": { + "provisioningState": "Succeeded", + "status": "ConnectedRecently", + "connectivityStatus": "Connected", + "supportStatus": "InSupport", + "cloudId": "91c2b355-4826-4e96-9164-e3f26dcf1cdd", + "cloudManagementEndpoint": "https://98294836-31be-4668-aeae-698667faf99b.waconazure.com", + "aadClientId": "515da1c2-379e-49b4-9975-09e3e40c86be", + "aadTenantId": "7e589cc1-a8b6-4dff-91bd-5ec0fa18db94", + "desiredProperties": { + "windowsServerSubscription": "Enabled", + "diagnosticLevel": "Basic" + }, + "isolatedVmAttestationConfiguration": { + "attestationResourceId": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/test-rg/providers/Microsoft.Attestation/attestationProviders/testmaa", + "relyingPartyServiceEndpoint": "https://azurestackhci.azurefd.net/eastus", + "attestationServiceEndpoint": "https://dantestnoauth01.eus.attest.azure.net" + }, + "reportedProperties": { + "clusterName": "cluster1", + "clusterId": "a76ac23a-1819-4e82-9410-e3e4ec3d1425", + "clusterVersion": "10.0.17777", + "clusterType": "ThirdParty", + "manufacturer": "Dell Inc.", + "nodes": [ + { + "name": "Node1", + "id": 1, + "windowsServerSubscription": "Enabled", + "manufacturer": "Dell Inc.", + "model": "EMC AX740", + "osName": "Azure Stack HCI", + "osVersion": "10.0.17777.1061", + "serialNumber": "Q45CZC3", + "coreCount": 8, + "memoryInGiB": 128, + "lastLicensingTimestamp": "2020-03-11T19:24:42.1946017Z" + }, + { + "name": "Node2", + "id": 2, + "windowsServerSubscription": "Enabled", + "manufacturer": "Dell Inc.", + "model": "EMC AX740", + "osName": "Azure Stack HCI", + "osVersion": "10.0.17777.1061", + "serialNumber": "Q44BSC3", + "coreCount": 8, + "memoryInGiB": 128, + "lastLicensingTimestamp": "2020-03-11T19:24:42.1946017Z" + }, + { + "name": "Node3", + "id": 3, + "windowsServerSubscription": "Enabled", + "manufacturer": "Dell Inc.", + "model": "EMC AX740", + "osName": "Azure Stack HCI", + "osVersion": "10.0.17777.1061", + "serialNumber": "Q44RFC3", + "coreCount": 16, + "memoryInGiB": 256, + "lastLicensingTimestamp": "2020-03-11T19:24:42.1946017Z" + } + ], + "lastUpdated": "2020-03-11T19:24:42.1946017Z", + "imdsAttestation": "Disabled", + "diagnosticLevel": "Basic" + }, + "trialDaysRemaining": 30, + "billingModel": "Trial", + "registrationTimestamp": "2020-03-11T20:44:32.5625121Z", + "lastSyncTimestamp": "2020-03-11T20:44:32.5625121Z", + "lastBillingTimestamp": "2020-03-12T08:12:55.2312022Z" + } + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/UpdateContents_Get_MaximumSet_Gen.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/UpdateContents_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..2d14c740ffb8 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/UpdateContents_Get_MaximumSet_Gen.json @@ -0,0 +1,32 @@ +{ + "title": "UpdateContents_Get_MaximumSet", + "operationId": "UpdateContents_Get", + "parameters": { + "api-version": "2025-11-01-preview", + "subscriptionId": "2886575D-173A-44A0-80E2-7DBA57F18B46", + "location": "westus2", + "updateContentName": "12.2510.0.1" + }, + "responses": { + "200": { + "body": { + "properties": { + "updatePayloads": [ + { + "url": "https://microsoft.com/a", + "hash": "F51FFEEB50A5C51B930F107132DDFA389DC8983313438764204A6F70F4BEFC60", + "hashAlgorithm": "SHA256", + "identifier": "SolutionUpdate_zip", + "packageSizeInBytes": "9367", + "group": "Update", + "fileName": "SolutionUpdate.12.2510.1002.84.zip" + } + ] + }, + "id": "/subscriptions/b8d594e5-51f3-4c11-9c54-a7771b81c712/providers/Microsoft.AzureStackHCI/updateContents/12.2510.0.1", + "name": "12.2510.0.1", + "type": "Microsoft.AzureStackHCI/UpdateContents" + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/UpdateContents_ListByLocation_MaximumSet_Gen.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/UpdateContents_ListByLocation_MaximumSet_Gen.json new file mode 100644 index 000000000000..2b95f94e6614 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/UpdateContents_ListByLocation_MaximumSet_Gen.json @@ -0,0 +1,54 @@ +{ + "title": "UpdateContents_ListByLocation_MaximumSet", + "operationId": "UpdateContents_List", + "parameters": { + "api-version": "2025-11-01-preview", + "subscriptionId": "2886575D-173A-44A0-80E2-7DBA57F18B46", + "location": "westus2" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "updatePayloads": [ + { + "url": "https://microsoft.com/a", + "hash": "F51FFEEB50A5C51B930F107132DDFA389DC8983313438764204A6F70F4BEFC60", + "hashAlgorithm": "SHA256", + "identifier": "SolutionUpdate_zip", + "packageSizeInBytes": "9367", + "group": "Update", + "fileName": "SolutionUpdate.12.2510.1002.84.zip" + } + ] + }, + "id": "/subscriptions/2886575D-173A-44A0-80E2-7DBA57F18B46/providers/Microsoft.AzureStackHCI/locations/westus2/updateContents/12.2510.0.1", + "name": "12.2510.0.1", + "type": "Microsoft.AzureStackHCI/UpdateContents" + }, + { + "properties": { + "updatePayloads": [ + { + "url": "https://microsoft.com/b", + "hash": "A62CCFED60B6C61C950F208243EEGD490ED9094424549875315B7G81G5CFGD71", + "hashAlgorithm": "SHA256", + "identifier": "SolutionUpdate_zip", + "packageSizeInBytes": "10456", + "group": "Update", + "fileName": "SolutionUpdate.12.2511.1003.85.zip" + } + ] + }, + "id": "/subscriptions/2886575D-173A-44A0-80E2-7DBA57F18B46/providers/Microsoft.AzureStackHCI/locations/westus2/updateContents/12.2511.0.1", + "name": "12.2511.0.1", + "type": "Microsoft.AzureStackHCI/UpdateContents" + } + ], + "nextLink": "https://management.azure.com/subscriptions/2886575D-173A-44A0-80E2-7DBA57F18B46/providers/Microsoft.AzureStackHCI/locations/westus2/updateContents?api-version=2025-11-01-preview&$skiptoken=X'12345'" + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/UploadCertificate.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/UploadCertificate.json new file mode 100644 index 000000000000..aa11b833b8b9 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/UploadCertificate.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "test-rg", + "clusterName": "myCluster", + "api-version": "2025-11-01-preview", + "uploadCertificateRequest": { + "properties": { + "certificates": [ + "base64cert", + "base64cert" + ] + } + } + }, + "responses": { + "202": { + "headers": { + "location": "https://foo.com/operationStatuses" + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/ValidateEdgeDevices.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/ValidateEdgeDevices.json new file mode 100644 index 000000000000..e49ed8d80a8e --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/ValidateEdgeDevices.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.HybridCompute/machines/Node-1", + "edgeDeviceName": "default", + "api-version": "2025-11-01-preview", + "ValidateRequest": { + "edgeDeviceIds": [ + "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.HybridCompute/machines/Node-1/edgeDevices/default", + "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.HybridCompute/machines/Node-2/edgeDevices/default" + ], + "additionalInfo": "test" + } + }, + "responses": { + "202": { + "headers": { + "location": "https://foo.com/operationStatuses" + } + }, + "200": { + "body": { + "status": "success" + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/ValidatedSolutionRecipes_Get.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/ValidatedSolutionRecipes_Get.json new file mode 100644 index 000000000000..2a6a8bca5e01 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/ValidatedSolutionRecipes_Get.json @@ -0,0 +1,351 @@ +{ + "title": "ValidatedSolutionRecipes_Get", + "operationId": "ValidatedSolutionRecipes_Get", + "parameters": { + "api-version": "2025-11-01-preview", + "subscriptionId": "b8d594e5-51f3-4c11-9c54-a7771b81c712", + "location": "westus2", + "validatedSolutionRecipeName": "10.2408.0" + }, + "responses": { + "200": { + "body": { + "properties": { + "recipeContent": { + "info": { + "solutionType": "HCI", + "version": "10.2408.0" + }, + "capabilities": { + "clusterCapabilities": [ + { + "capabilityName": "AddNode" + }, + { + "capabilityName": "RepairNode" + }, + { + "capabilityName": "SDN" + } + ], + "nodeCapabilities": [ + { + "capabilityName": "ArcGateway" + } + ] + }, + "components": [ + { + "name": "ComposedImage", + "type": "Platform", + "requiredVersion": "10.2411.0.4027", + "installOrder": 10, + "tags": [ + "Azure" + ], + "payloads": [ + { + "identifier": "ComposedImage_ISO", + "hash": "9542EB842C768EC8215578A98C04C2FC0E1AAE750C8DECE362226C8C4488E8A6", + "fileName": "ComposedImage_ISO.iso", + "url": "http://foo.bar.com" + }, + { + "identifier": "ComposedImage_TargetOSBundle", + "hash": "9542EB842C768EC8215578A98C04C2FC0E1AAE750C8DECE362226C8C4488E8A6", + "fileName": "ComposedImage_TargetOSBundle.iso", + "url": "http://foo.bar.com" + } + ] + }, + { + "name": "PlatformUpdate", + "type": "Platform", + "requiredVersion": "10.2411.0.4027", + "installOrder": 15, + "tags": [ + "Azure" + ], + "payloads": [ + { + "identifier": "PlatformUpdatePackage_zip", + "hash": "9542EB842C768EC8215578A98C04C2FC0E1AAE750C8DECE362226C8C4488E8A6", + "fileName": "PlatformUpdatePackage_zip.zip", + "url": "http://foo.bar.com" + } + ] + }, + { + "name": "CloudDeployment", + "type": "Services", + "requiredVersion": "22.2411.0.9027", + "installOrder": 20, + "tags": [ + "Azure" + ], + "payloads": [ + { + "identifier": "CloudDeployment_zip", + "hash": "9542EB842C768EC8215578A98C04C2FC0E1AAE750C8DECE362226C8C4488E8A6", + "fileName": "CloudDeployment_zip.zip", + "url": "http://foo.bar.com" + }, + { + "identifier": "VerifyCloudDeployment_ps1", + "hash": "9542EB842C768EC8215578A98C04C2FC0E1AAE750C8DECE362226C8C4488E8A6", + "fileName": "VerifyCloudDeployment_ps1.ps1", + "url": "http://foo.bar.com" + }, + { + "identifier": "BootstrapCloudDeploymentTool_ps1", + "hash": "9542EB842C768EC8215578A98C04C2FC0E1AAE750C8DECE362226C8C4488E8A6", + "fileName": "BootstrapCloudDeploymentTool_ps1.ps1", + "url": "http://foo.bar.com" + } + ] + }, + { + "name": "ServicesUpdate", + "type": "Services", + "requiredVersion": "22.2411.0.9027", + "installOrder": 25, + "tags": [ + "Azure" + ], + "payloads": [ + { + "identifier": "Services_zip", + "hash": "9542EB842C768EC8215578A98C04C2FC0E1AAE750C8DECE362226C8C4488E8A6", + "fileName": "Services_zip.zip", + "url": "http://foo.bar.com" + } + ] + }, + { + "name": "AzureEdgeTelemetryAndDiagnostics", + "type": "ArcExtension", + "installOrder": 80, + "tags": [ + "Azure" + ], + "metadata": { + "extensionType": "TelemetryAndDiagnostics", + "publisher": "Microsoft.AzureStack.Observability", + "enableAutomaticUpgrade": true, + "lcmUpdate": false + } + }, + { + "name": "AzureEdgeRemoteSupport", + "type": "ArcExtension", + "installOrder": 81, + "tags": [ + "Azure" + ], + "metadata": { + "extensionType": "EdgeRemoteSupport", + "publisher": "Microsoft.AzureStack.Observability", + "enableAutomaticUpgrade": true, + "lcmUpdate": false + } + }, + { + "name": "AzureEdgeDeviceManagement", + "type": "ArcExtension", + "requiredVersion": "1.2408.0.3024", + "installOrder": 82, + "tags": [ + "Azure" + ], + "metadata": { + "extensionType": "DeviceManagementExtension", + "publisher": "Microsoft.Edge", + "enableAutomaticUpgrade": false, + "lcmUpdate": false + } + }, + { + "name": "AzureEdgeLifecycleManager", + "type": "ArcExtension", + "requiredVersion": "30.2408.2.687", + "installOrder": 83, + "tags": [ + "Azure" + ], + "metadata": { + "extensionType": "LcmController", + "publisher": "Microsoft.AzureStack.Orchestration", + "enableAutomaticUpgrade": false, + "lcmUpdate": false + } + }, + { + "name": "arcappliance", + "type": "AzCliExtension", + "requiredVersion": "1.3.0", + "installOrder": 210, + "tags": [ + "Azure" + ] + }, + { + "name": "arcappliance", + "type": "AzCliExtension", + "requiredVersion": "1.3.0", + "installOrder": 211, + "tags": [ + "Azure.local" + ] + }, + { + "name": "k8s-extension", + "type": "AzCliExtension", + "requiredVersion": "1.4.5", + "installOrder": 220, + "tags": [ + "Azure", + "Azure.local" + ] + }, + { + "name": "customlocation", + "type": "AzCliExtension", + "requiredVersion": "0.1.3", + "installOrder": 230, + "tags": [ + "Azure", + "Azure.local" + ] + }, + { + "name": "stack-hci-vm", + "type": "AzCliExtension", + "requiredVersion": "1.4.2", + "installOrder": 240, + "tags": [ + "Azure", + "Azure.local" + ], + "metadata": { + "previewSource": "https://hciarcvmsstorage.z13.web.core.windows.net/cli-extensions/stack_hci_vm-1.4.2-py3-none-any.whl" + } + }, + { + "name": "connectedk8s", + "type": "AzCliExtension", + "requiredVersion": "1.6.2", + "installOrder": 270, + "tags": [ + "Azure", + "Azure.local" + ] + }, + { + "name": "MocNodeAndClusteredService", + "type": "MocServiceBinaries", + "requiredVersion": "1.9.0.11008", + "installOrder": 300, + "tags": [ + "Azure" + ], + "metadata": { + "catalog": "aks-hci-asz-stable-catalogs-int", + "ring": "monthly" + } + }, + { + "name": "ArcResourceBridgeVM", + "type": "ArcResourceBridge", + "requiredVersion": "1.3.0", + "installOrder": 400, + "tags": [ + "Azure" + ] + }, + { + "name": "vmss-hci", + "type": "ArbVmExtension", + "requiredVersion": "5.4.3", + "installOrder": 410, + "tags": [ + "Azure" + ], + "metadata": { + "releaseTrain": "prerelease" + } + }, + { + "name": "vmss-hci", + "type": "ArbVmExtension", + "installOrder": 411, + "tags": [ + "Azure.local" + ], + "metadata": { + "releaseTrain": "prerelease" + } + }, + { + "name": "hybridaksextension", + "type": "ArbVmExtension", + "requiredVersion": "2.0.129", + "installOrder": 420, + "tags": [ + "Azure" + ], + "metadata": { + "releaseTrain": "stable" + } + }, + { + "name": "hybridaksextension", + "type": "ArbVmExtension", + "installOrder": 421, + "tags": [ + "Azure.local" + ], + "metadata": { + "releaseTrain": "stable" + } + }, + { + "name": "InfraVmImage23H2", + "type": "InfraVmImage", + "installOrder": 430, + "tags": [ + "Azure" + ], + "metadata": { + "link": "https://aka.ms/infrahcios23", + "name": "AzureStackHCI_25398.469.231004-1141_zn_release_en-us.iso", + "expectedHash": "140D2A6BC53DADCCB9FB66B0D6D2EF61C9D23EA937F8CCC62788866D02997BCA" + } + }, + { + "name": "Az.StackHCI", + "type": "PowerShell", + "requiredVersion": "2.4.1", + "installOrder": 40, + "tags": [ + "Azure.local" + ] + } + ] + }, + "signature": "9542EB842C768EC8215578A98C04C2FC0E1AAE750C8DECE362226C8C4488E8A6" + }, + "id": "/subscriptions/b8d594e5-51f3-4c11-9c54-a7771b81c712/providers/Microsoft.AzureStackHCI/validatedSolutionRecipes/10.2408.0", + "name": "10.2408.0", + "type": "Microsoft.AzureStackHCI/ValidatedSolutionRecipes", + "systemData": { + "createdBy": "zsnvvvbj", + "createdByType": "User", + "createdAt": "2024-07-01T17:02:21.168Z", + "lastModifiedBy": "qxlrx", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-07-01T17:02:21.168Z" + } + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/ValidatedSolutionRecipes_ListBySubscriptionLocationResource.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/ValidatedSolutionRecipes_ListBySubscriptionLocationResource.json new file mode 100644 index 000000000000..734238bd5031 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/ValidatedSolutionRecipes_ListBySubscriptionLocationResource.json @@ -0,0 +1,355 @@ +{ + "title": "ValidatedSolutionRecipes_ListBySubscriptionLocationResource", + "operationId": "ValidatedSolutionRecipes_ListBySubscriptionLocationResource", + "parameters": { + "api-version": "2025-11-01-preview", + "subscriptionId": "b8d594e5-51f3-4c11-9c54-a7771b81c712", + "location": "westus2" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "recipeContent": { + "info": { + "solutionType": "HCI", + "version": "10.2408.0" + }, + "capabilities": { + "clusterCapabilities": [ + { + "capabilityName": "AddNode" + }, + { + "capabilityName": "RepairNode" + }, + { + "capabilityName": "SDN" + } + ], + "nodeCapabilities": [ + { + "capabilityName": "ArcGateway" + } + ] + }, + "components": [ + { + "name": "ComposedImage", + "type": "Platform", + "requiredVersion": "10.2411.0.4027", + "installOrder": 10, + "tags": [ + "Azure" + ], + "payloads": [ + { + "identifier": "ComposedImage_ISO", + "hash": "9542EB842C768EC8215578A98C04C2FC0E1AAE750C8DECE362226C8C4488E8A6", + "fileName": "ComposedImage_ISO.iso", + "url": "http://foo.bar.com" + }, + { + "identifier": "ComposedImage_TargetOSBundle", + "hash": "9542EB842C768EC8215578A98C04C2FC0E1AAE750C8DECE362226C8C4488E8A6", + "fileName": "ComposedImage_TargetOSBundle.iso", + "url": "http://foo.bar.com" + } + ] + }, + { + "name": "PlatformUpdate", + "type": "Platform", + "requiredVersion": "10.2411.0.4027", + "installOrder": 15, + "tags": [ + "Azure" + ], + "payloads": [ + { + "identifier": "PlatformUpdatePackage_zip", + "hash": "9542EB842C768EC8215578A98C04C2FC0E1AAE750C8DECE362226C8C4488E8A6", + "fileName": "PlatformUpdatePackage_zip.zip", + "url": "http://foo.bar.com" + } + ] + }, + { + "name": "CloudDeployment", + "type": "Services", + "requiredVersion": "22.2411.0.9027", + "installOrder": 20, + "tags": [ + "Azure" + ], + "payloads": [ + { + "identifier": "CloudDeployment_zip", + "hash": "9542EB842C768EC8215578A98C04C2FC0E1AAE750C8DECE362226C8C4488E8A6", + "fileName": "CloudDeployment_zip.zip", + "url": "http://foo.bar.com" + }, + { + "identifier": "VerifyCloudDeployment_ps1", + "hash": "9542EB842C768EC8215578A98C04C2FC0E1AAE750C8DECE362226C8C4488E8A6", + "fileName": "VerifyCloudDeployment_ps1.ps1", + "url": "http://foo.bar.com" + }, + { + "identifier": "BootstrapCloudDeploymentTool_ps1", + "hash": "9542EB842C768EC8215578A98C04C2FC0E1AAE750C8DECE362226C8C4488E8A6", + "fileName": "BootstrapCloudDeploymentTool_ps1.ps1", + "url": "http://foo.bar.com" + } + ] + }, + { + "name": "ServicesUpdate", + "type": "Services", + "requiredVersion": "22.2411.0.9027", + "installOrder": 25, + "tags": [ + "Azure" + ], + "payloads": [ + { + "identifier": "Services_zip", + "hash": "9542EB842C768EC8215578A98C04C2FC0E1AAE750C8DECE362226C8C4488E8A6", + "fileName": "Services_zip.zip", + "url": "http://foo.bar.com" + } + ] + }, + { + "name": "AzureEdgeTelemetryAndDiagnostics", + "type": "ArcExtension", + "installOrder": 80, + "tags": [ + "Azure" + ], + "metadata": { + "extensionType": "TelemetryAndDiagnostics", + "publisher": "Microsoft.AzureStack.Observability", + "enableAutomaticUpgrade": true, + "lcmUpdate": false + } + }, + { + "name": "AzureEdgeRemoteSupport", + "type": "ArcExtension", + "installOrder": 81, + "tags": [ + "Azure" + ], + "metadata": { + "extensionType": "EdgeRemoteSupport", + "publisher": "Microsoft.AzureStack.Observability", + "enableAutomaticUpgrade": true, + "lcmUpdate": false + } + }, + { + "name": "AzureEdgeDeviceManagement", + "type": "ArcExtension", + "requiredVersion": "1.2408.0.3024", + "installOrder": 82, + "tags": [ + "Azure" + ], + "metadata": { + "extensionType": "DeviceManagementExtension", + "publisher": "Microsoft.Edge", + "enableAutomaticUpgrade": false, + "lcmUpdate": false + } + }, + { + "name": "AzureEdgeLifecycleManager", + "type": "ArcExtension", + "requiredVersion": "30.2408.2.687", + "installOrder": 83, + "tags": [ + "Azure" + ], + "metadata": { + "extensionType": "LcmController", + "publisher": "Microsoft.AzureStack.Orchestration", + "enableAutomaticUpgrade": false, + "lcmUpdate": false + } + }, + { + "name": "arcappliance", + "type": "AzCliExtension", + "requiredVersion": "1.3.0", + "installOrder": 210, + "tags": [ + "Azure" + ] + }, + { + "name": "arcappliance", + "type": "AzCliExtension", + "requiredVersion": "1.3.0", + "installOrder": 211, + "tags": [ + "Azure.local" + ] + }, + { + "name": "k8s-extension", + "type": "AzCliExtension", + "requiredVersion": "1.4.5", + "installOrder": 220, + "tags": [ + "Azure", + "Azure.local" + ] + }, + { + "name": "customlocation", + "type": "AzCliExtension", + "requiredVersion": "0.1.3", + "installOrder": 230, + "tags": [ + "Azure", + "Azure.local" + ] + }, + { + "name": "stack-hci-vm", + "type": "AzCliExtension", + "requiredVersion": "1.4.2", + "installOrder": 240, + "tags": [ + "Azure", + "Azure.local" + ], + "metadata": { + "previewSource": "https://hciarcvmsstorage.z13.web.core.windows.net/cli-extensions/stack_hci_vm-1.4.2-py3-none-any.whl" + } + }, + { + "name": "connectedk8s", + "type": "AzCliExtension", + "requiredVersion": "1.6.2", + "installOrder": 270, + "tags": [ + "Azure", + "Azure.local" + ] + }, + { + "name": "MocNodeAndClusteredService", + "type": "MocServiceBinaries", + "requiredVersion": "1.9.0.11008", + "installOrder": 300, + "tags": [ + "Azure" + ], + "metadata": { + "catalog": "aks-hci-asz-stable-catalogs-int", + "ring": "monthly" + } + }, + { + "name": "ArcResourceBridgeVM", + "type": "ArcResourceBridge", + "requiredVersion": "1.3.0", + "installOrder": 400, + "tags": [ + "Azure" + ] + }, + { + "name": "vmss-hci", + "type": "ArbVmExtension", + "requiredVersion": "5.4.3", + "installOrder": 410, + "tags": [ + "Azure" + ], + "metadata": { + "releaseTrain": "prerelease" + } + }, + { + "name": "vmss-hci", + "type": "ArbVmExtension", + "installOrder": 411, + "tags": [ + "Azure.local" + ], + "metadata": { + "releaseTrain": "prerelease" + } + }, + { + "name": "hybridaksextension", + "type": "ArbVmExtension", + "requiredVersion": "2.0.129", + "installOrder": 420, + "tags": [ + "Azure" + ], + "metadata": { + "releaseTrain": "stable" + } + }, + { + "name": "hybridaksextension", + "type": "ArbVmExtension", + "installOrder": 421, + "tags": [ + "Azure.local" + ], + "metadata": { + "releaseTrain": "stable" + } + }, + { + "name": "InfraVmImage23H2", + "type": "InfraVmImage", + "installOrder": 430, + "tags": [ + "Azure" + ], + "metadata": { + "link": "https://aka.ms/infrahcios23", + "name": "AzureStackHCI_25398.469.231004-1141_zn_release_en-us.iso", + "expectedHash": "140D2A6BC53DADCCB9FB66B0D6D2EF61C9D23EA937F8CCC62788866D02997BCA" + } + }, + { + "name": "Az.StackHCI", + "type": "PowerShell", + "requiredVersion": "2.4.1", + "installOrder": 40, + "tags": [ + "Azure.local" + ] + } + ] + }, + "signature": "9542EB842C768EC8215578A98C04C2FC0E1AAE750C8DECE362226C8C4488E8A6" + }, + "id": "/subscriptions/b8d594e5-51f3-4c11-9c54-a7771b81c712/providers/Microsoft.AzureStackHCI/validatedSolutionRecipes/10.2408.0", + "name": "10.2408.0", + "type": "Microsoft.AzureStackHCI/ValidatedSolutionRecipes", + "systemData": { + "createdBy": "zsnvvvbj", + "createdByType": "User", + "createdAt": "2024-07-01T17:02:21.168Z", + "lastModifiedBy": "qxlrx", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-07-01T17:02:21.168Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/reconcileArcSettings.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/reconcileArcSettings.json new file mode 100644 index 000000000000..94e6e664dc2e --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/examples/reconcileArcSettings.json @@ -0,0 +1,76 @@ +{ + "parameters": { + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "test-rg", + "clusterName": "myCluster", + "arcSettingName": "default", + "reconcileArcSettingsRequest": { + "properties": { + "clusterNodes": [ + "/subscriptions/sub1/resourceGroup/res1/providers/Microsoft.HybridCompute/machines/m1", + "/subscriptions/sub1/resourceGroup/res1/providers/Microsoft.HybridCompute/machines/m2" + ] + } + }, + "api-version": "2025-11-01-preview" + }, + "responses": { + "202": { + "headers": { + "location": "https://foo.com/operationStatuses" + } + }, + "200": { + "body": { + "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/test-rg/providers/Microsoft.AzureStackHCI/clusters/myCluster/arcSettings/default", + "type": "Microsoft.AzureStackHCI/clusters/arcSettings", + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2021-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-02T17:18:19.1234567Z" + }, + "properties": { + "provisioningState": "Succeeded", + "arcInstanceResourceGroup": "ArcInstance-rg", + "aggregateState": "Creating", + "connectivityProperties": { + "enabled": true, + "serviceConfigurations": [ + { + "serviceName": "WAC", + "port": 6516 + } + ] + }, + "perNodeDetails": [ + { + "name": "Node-1", + "arcInstance": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.HybridCompute/machines/Node-1", + "state": "Succeeded", + "arcNodeServicePrincipalObjectId": "00cc4014-482e-4de9-9932-83415cc75f45" + }, + { + "name": "Node-2", + "arcInstance": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.HybridCompute/machines/Node-2", + "state": "Succeeded", + "arcNodeServicePrincipalObjectId": "00cc4014-482e-4de9-9932-83415cc75f45" + } + ], + "defaultExtensions": [ + { + "category": "Telemetry", + "consentTime": "2023-01-01T17:18:19.1234567Z" + }, + { + "category": "Supportability", + "consentTime": null + } + ] + } + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/extensions.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/extensions.json new file mode 100644 index 000000000000..a137f0767a70 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/extensions.json @@ -0,0 +1,1002 @@ +{ + "swagger": "2.0", + "info": { + "version": "2025-11-01-preview", + "title": "AzureStackHCI", + "description": "Azure Stack HCI management service" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Microsoft Entra ID OAuth 2.0 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}/arcSettings/{arcSettingName}/extensions": { + "get": { + "operationId": "Extensions_ListByArcSetting", + "description": "List all Extensions under ArcSetting resource.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ClusterNameParameter" + }, + { + "$ref": "#/parameters/ArcSettingNameParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ExtensionList" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List Extensions under ArcSetting resource": { + "$ref": "./examples/ListExtensionsByArcSetting.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}/arcSettings/{arcSettingName}/extensions/{extensionName}": { + "get": { + "operationId": "Extensions_Get", + "description": "Get particular Arc Extension of HCI Cluster.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ClusterNameParameter" + }, + { + "$ref": "#/parameters/ArcSettingNameParameter" + }, + { + "$ref": "#/parameters/ExtensionNameParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Extension" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get ArcSettings Extension": { + "$ref": "./examples/GetExtension.json" + } + } + }, + "put": { + "operationId": "Extensions_Create", + "description": "Create Extension for HCI cluster.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ClusterNameParameter" + }, + { + "$ref": "#/parameters/ArcSettingNameParameter" + }, + { + "$ref": "#/parameters/ExtensionNameParameter" + }, + { + "name": "extension", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Extension" + }, + "description": "Details of the Machine Extension to be created." + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Succeeded", + "schema": { + "$ref": "#/definitions/Extension" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/Extension" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-examples": { + "Create Arc Extension": { + "$ref": "./examples/PutExtension.json" + } + } + }, + "patch": { + "operationId": "Extensions_Update", + "description": "Update Extension for HCI cluster.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ClusterNameParameter" + }, + { + "$ref": "#/parameters/ArcSettingNameParameter" + }, + { + "$ref": "#/parameters/ExtensionNameParameter" + }, + { + "name": "extension", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ExtensionPatch" + }, + "description": "Details of the Machine Extension to be created." + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Extension" + } + }, + "202": { + "description": "Accepted" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "original-uri" + }, + "x-ms-examples": { + "Update Arc Extension": { + "$ref": "./examples/PatchExtension.json" + } + } + }, + "delete": { + "operationId": "Extensions_Delete", + "description": "Delete particular Arc Extension of HCI Cluster.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ClusterNameParameter" + }, + { + "$ref": "#/parameters/ArcSettingNameParameter" + }, + { + "$ref": "#/parameters/ExtensionNameParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "202": { + "description": "OK" + }, + "204": { + "description": "OK" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-examples": { + "Delete Arc Extension": { + "$ref": "./examples/DeleteExtension.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}/arcSettings/{arcSettingName}/extensions/{extensionName}/upgrade": { + "post": { + "operationId": "Extensions_Upgrade", + "description": "Upgrade a particular Arc Extension of HCI Cluster.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ClusterNameParameter" + }, + { + "$ref": "#/parameters/ArcSettingNameParameter" + }, + { + "$ref": "#/parameters/ExtensionNameParameter" + }, + { + "name": "extensionUpgradeParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ExtensionUpgradeParameters" + }, + "description": "Parameters supplied to the Upgrade Extensions operation." + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "202": { + "description": "Accepted" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-examples": { + "Upgrade Machine Extensions": { + "$ref": "./examples/Extensions_Upgrade.json" + } + } + } + } + }, + "definitions": { + "Extension": { + "description": "Details of a particular extension in HCI Cluster.", + "type": "object", + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "description": "Describes Machine Extension Properties.", + "$ref": "#/definitions/ExtensionProperties", + "x-ms-client-flatten": true + } + } + }, + "ExtensionPatch": { + "description": "Extension Details to update", + "type": "object", + "properties": { + "properties": { + "description": "Describes Machine Extension Properties that can be updated.", + "$ref": "#/definitions/ExtensionPatchProperties", + "x-ms-client-flatten": true + } + } + }, + "ExtensionProperties": { + "description": "Status of Arc Extension for a particular node in HCI Cluster.", + "type": "object", + "properties": { + "provisioningState": { + "description": "Provisioning state of the Extension proxy resource. Indicates the current lifecycle status of the resource, such as whether it's being created, updated, deleted, or has encountered an error.", + "type": "string", + "enum": [ + "NotSpecified", + "Error", + "Succeeded", + "Failed", + "Canceled", + "Connected", + "Disconnected", + "Deleted", + "Creating", + "Updating", + "Deleting", + "Moving", + "PartiallySucceeded", + "PartiallyConnected", + "InProgress", + "Accepted", + "Provisioning" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "NotSpecified", + "value": "NotSpecified", + "description": "The provisioning state is not specified." + }, + { + "name": "Error", + "value": "Error", + "description": "An error occurred during provisioning." + }, + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Provisioning completed successfully." + }, + { + "name": "Failed", + "value": "Failed", + "description": "Provisioning failed." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Provisioning was canceled." + }, + { + "name": "Connected", + "value": "Connected", + "description": "The resource is connected." + }, + { + "name": "Disconnected", + "value": "Disconnected", + "description": "The resource is disconnected." + }, + { + "name": "Deleted", + "value": "Deleted", + "description": "The resource has been deleted." + }, + { + "name": "Creating", + "value": "Creating", + "description": "The resource is being created." + }, + { + "name": "Updating", + "value": "Updating", + "description": "The resource is being updated." + }, + { + "name": "Deleting", + "value": "Deleting", + "description": "The resource is being deleted." + }, + { + "name": "Moving", + "value": "Moving", + "description": "The resource is being moved." + }, + { + "name": "PartiallySucceeded", + "value": "PartiallySucceeded", + "description": "Provisioning partially succeeded." + }, + { + "name": "PartiallyConnected", + "value": "PartiallyConnected", + "description": "The resource is partially connected." + }, + { + "name": "InProgress", + "value": "InProgress", + "description": "Provisioning is in progress." + }, + { + "name": "Accepted", + "value": "Accepted", + "description": "Provisioning request has been accepted." + }, + { + "name": "Provisioning", + "value": "Provisioning", + "description": "The resource is currently provisioning." + } + ] + }, + "readOnly": true + }, + "extensionParameters": { + "description": "Parameters specific to this extension type.", + "$ref": "#/definitions/ExtensionParameters", + "x-ms-client-flatten": true + }, + "aggregateState": { + "description": "Aggregate state of Arc Extensions across the nodes in this HCI cluster. This reflects the overall status of the extension deployment and operation across all nodes.", + "type": "string", + "enum": [ + "NotSpecified", + "Error", + "Succeeded", + "Canceled", + "Failed", + "Connected", + "Disconnected", + "Deleted", + "Creating", + "Updating", + "Deleting", + "Moving", + "PartiallySucceeded", + "PartiallyConnected", + "InProgress", + "Accepted", + "Provisioning", + "UpgradeFailedRollbackSucceeded" + ], + "x-ms-enum": { + "name": "ExtensionAggregateState", + "modelAsString": true, + "values": [ + { + "name": "NotSpecified", + "value": "NotSpecified", + "description": "The aggregate state is not specified." + }, + { + "name": "Error", + "value": "Error", + "description": "An error occurred in the aggregate state." + }, + { + "name": "Succeeded", + "value": "Succeeded", + "description": "The operation succeeded across all nodes." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "The operation was canceled across the nodes." + }, + { + "name": "Failed", + "value": "Failed", + "description": "The operation failed on all or most nodes." + }, + { + "name": "Connected", + "value": "Connected", + "description": "All nodes are connected." + }, + { + "name": "Disconnected", + "value": "Disconnected", + "description": "All nodes are disconnected." + }, + { + "name": "Deleted", + "value": "Deleted", + "description": "The extension has been deleted from all nodes." + }, + { + "name": "Creating", + "value": "Creating", + "description": "The extension is being created across the nodes." + }, + { + "name": "Updating", + "value": "Updating", + "description": "The extension is being updated across the nodes." + }, + { + "name": "Deleting", + "value": "Deleting", + "description": "The extension is being deleted across the nodes." + }, + { + "name": "Moving", + "value": "Moving", + "description": "The extension is being moved across the nodes." + }, + { + "name": "PartiallySucceeded", + "value": "PartiallySucceeded", + "description": "The operation succeeded on some nodes." + }, + { + "name": "PartiallyConnected", + "value": "PartiallyConnected", + "description": "Some nodes are connected, others are not." + }, + { + "name": "InProgress", + "value": "InProgress", + "description": "The operation is currently in progress across the nodes." + }, + { + "name": "Accepted", + "value": "Accepted", + "description": "The operation has been accepted and is pending execution." + }, + { + "name": "Provisioning", + "value": "Provisioning", + "description": "The extension is currently being provisioned across the nodes." + }, + { + "name": "UpgradeFailedRollbackSucceeded", + "value": "UpgradeFailedRollbackSucceeded", + "description": "Extension upgrade failed, but rollback succeeded across the nodes." + } + ] + }, + "readOnly": true + }, + "perNodeExtensionDetails": { + "description": "State of Arc Extension in each of the nodes.", + "type": "array", + "items": { + "$ref": "#/definitions/PerNodeExtensionState" + }, + "readOnly": true + }, + "managedBy": { + "description": "Indicates if the extension is managed by Azure or the user. This determines who controls the deployment and lifecycle of the extension.", + "type": "string", + "enum": [ + "Azure", + "User" + ], + "x-ms-enum": { + "name": "ExtensionManagedBy", + "modelAsString": true, + "values": [ + { + "name": "Azure", + "value": "Azure", + "description": "The extension is managed by Azure." + }, + { + "name": "User", + "value": "User", + "description": "The extension is managed by the user." + } + ] + }, + "readOnly": true + } + } + }, + "ExtensionPatchProperties": { + "description": "Describes Machine Extension Properties that can be updated.", + "type": "object", + "properties": { + "extensionParameters": { + "description": "Describes the properties of a Machine Extension that can be updated.", + "$ref": "#/definitions/ExtensionPatchParameters" + } + } + }, + "ExtensionPatchParameters": { + "description": "Describes the properties of a Machine Extension that can be updated.", + "type": "object", + "properties": { + "typeHandlerVersion": { + "type": "string", + "description": "Specifies the version of the script handler. Latest version would be used if not specified." + }, + "enableAutomaticUpgrade": { + "type": "boolean", + "description": "Indicates whether the extension should be automatically upgraded by the platform if there is a newer version available." + }, + "settings": { + "type": "object", + "description": "Json formatted public settings for the extension." + }, + "protectedSettings": { + "type": "object", + "description": "Protected settings (may contain secrets).", + "x-ms-secret": true + } + } + }, + "PerNodeExtensionState": { + "description": "Status of Arc Extension for a particular node in HCI Cluster.", + "type": "object", + "properties": { + "name": { + "description": "Name of the node in HCI Cluster.", + "type": "string", + "readOnly": true + }, + "extension": { + "description": "Fully qualified resource ID for the particular Arc Extension on this node.", + "type": "string", + "readOnly": true + }, + "typeHandlerVersion": { + "type": "string", + "description": "Specifies the version of the script handler.", + "readOnly": true + }, + "state": { + "description": "State of Arc Extension in this node. Reflects the current lifecycle status of the extension on the individual node, such as whether it's being created, updated, deleted, or has encountered an error.", + "type": "string", + "enum": [ + "NotSpecified", + "Error", + "Succeeded", + "Canceled", + "Failed", + "Connected", + "Disconnected", + "Deleted", + "Creating", + "Updating", + "Deleting", + "Moving", + "PartiallySucceeded", + "PartiallyConnected", + "InProgress", + "Accepted", + "Provisioning" + ], + "x-ms-enum": { + "name": "NodeExtensionState", + "modelAsString": true, + "values": [ + { + "name": "NotSpecified", + "value": "NotSpecified", + "description": "The state is not specified." + }, + { + "name": "Error", + "value": "Error", + "description": "An error occurred during the extension lifecycle." + }, + { + "name": "Succeeded", + "value": "Succeeded", + "description": "The extension operation completed successfully." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "The extension operation was canceled." + }, + { + "name": "Failed", + "value": "Failed", + "description": "The extension operation failed." + }, + { + "name": "Connected", + "value": "Connected", + "description": "The extension is connected on the node." + }, + { + "name": "Disconnected", + "value": "Disconnected", + "description": "The extension is disconnected on the node." + }, + { + "name": "Deleted", + "value": "Deleted", + "description": "The extension has been deleted from the node." + }, + { + "name": "Creating", + "value": "Creating", + "description": "The extension is being created on the node." + }, + { + "name": "Updating", + "value": "Updating", + "description": "The extension is being updated on the node." + }, + { + "name": "Deleting", + "value": "Deleting", + "description": "The extension is being deleted from the node." + }, + { + "name": "Moving", + "value": "Moving", + "description": "The extension is being moved on the node." + }, + { + "name": "PartiallySucceeded", + "value": "PartiallySucceeded", + "description": "The extension operation partially succeeded." + }, + { + "name": "PartiallyConnected", + "value": "PartiallyConnected", + "description": "The extension is partially connected on the node." + }, + { + "name": "InProgress", + "value": "InProgress", + "description": "The extension operation is currently in progress." + }, + { + "name": "Accepted", + "value": "Accepted", + "description": "The extension operation has been accepted and is pending execution." + }, + { + "name": "Provisioning", + "value": "Provisioning", + "description": "The extension is currently being provisioned on the node." + } + ] + }, + "readOnly": true + }, + "instanceView": { + "$ref": "#/definitions/ExtensionInstanceView", + "description": "The extension instance view.", + "readOnly": true + } + } + }, + "ExtensionList": { + "description": "List of Extensions in HCI cluster.", + "type": "object", + "properties": { + "value": { + "description": "List of Extensions in HCI cluster.", + "type": "array", + "items": { + "$ref": "#/definitions/Extension" + }, + "readOnly": true + }, + "nextLink": { + "description": "Link to the next set of results.", + "type": "string", + "readOnly": true + } + } + }, + "ExtensionParameters": { + "description": "Describes the properties of a Machine Extension. This object mirrors the definition in HybridCompute.", + "type": "object", + "properties": { + "forceUpdateTag": { + "type": "string", + "description": "How the extension handler should be forced to update even if the extension configuration has not changed." + }, + "publisher": { + "type": "string", + "description": "The name of the extension handler publisher." + }, + "type": { + "type": "string", + "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\"." + }, + "typeHandlerVersion": { + "type": "string", + "description": "Specifies the version of the script handler. Latest version would be used if not specified." + }, + "autoUpgradeMinorVersion": { + "type": "boolean", + "description": "Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true." + }, + "settings": { + "type": "object", + "description": "Json formatted public settings for the extension." + }, + "protectedSettings": { + "type": "object", + "description": "Protected settings (may contain secrets).", + "x-ms-secret": true + }, + "enableAutomaticUpgrade": { + "type": "boolean", + "description": "Indicates whether the extension should be automatically upgraded by the platform if there is a newer version available." + } + } + }, + "ExtensionInstanceView": { + "type": "object", + "description": "Describes the Extension Instance View.", + "properties": { + "name": { + "type": "string", + "description": "The extension name." + }, + "type": { + "type": "string", + "description": "Specifies the type of the extension; an example is \"MicrosoftMonitoringAgent\"." + }, + "typeHandlerVersion": { + "type": "string", + "description": "Specifies the version of the script handler." + }, + "status": { + "type": "object", + "description": "Instance view status.", + "properties": { + "code": { + "type": "string", + "description": "The status code." + }, + "level": { + "type": "string", + "description": "The level code. Indicates the severity or importance of the status message.", + "enum": [ + "Info", + "Warning", + "Error" + ], + "x-ms-enum": { + "name": "StatusLevelTypes", + "modelAsString": true, + "values": [ + { + "name": "Info", + "value": "Info", + "description": "Informational message indicating normal operation." + }, + { + "name": "Warning", + "value": "Warning", + "description": "Warning message indicating a potential issue or non-critical problem." + }, + { + "name": "Error", + "value": "Error", + "description": "Error message indicating a failure or critical issue." + } + ] + } + }, + "displayStatus": { + "type": "string", + "description": "The short localizable label for the status." + }, + "message": { + "type": "string", + "description": "The detailed status message, including for alerts and error messages." + }, + "time": { + "type": "string", + "format": "date-time", + "description": "The time of the status." + } + } + } + } + }, + "ExtensionUpgradeParameters": { + "type": "object", + "description": "Describes the parameters for Extension upgrade.", + "properties": { + "targetVersion": { + "type": "string", + "description": "Extension Upgrade Target Version." + } + } + } + }, + "parameters": { + "ClusterNameParameter": { + "name": "clusterName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the cluster.", + "x-ms-parameter-location": "method" + }, + "ArcSettingNameParameter": { + "name": "arcSettingName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the proxy resource holding details of HCI ArcSetting information.", + "x-ms-parameter-location": "method" + }, + "ExtensionNameParameter": { + "name": "extensionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the machine extension.", + "x-ms-parameter-location": "method" + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/hci.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/hci.json new file mode 100644 index 000000000000..b055a3b55b41 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/hci.json @@ -0,0 +1,702 @@ +{ + "swagger": "2.0", + "info": { + "title": "Microsoft.AzureStackHCI", + "version": "2025-11-01-preview", + "description": "Azure Stack HCI service", + "x-typespec-generated": [ + { + "emitter": "@azure-tools/typespec-autorest" + } + ] + }, + "schemes": [ + "https" + ], + "host": "management.azure.com", + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "description": "Azure Active Directory OAuth2 Flow.", + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "tags": [ + { + "name": "KubernetesVersions" + }, + { + "name": "PlatformUpdates" + }, + { + "name": "OsImages" + }, + { + "name": "UpdateContents" + }, + { + "name": "Operations" + } + ], + "paths": { + "/providers/Microsoft.AzureStackHCI/operations": { + "get": { + "operationId": "Operations_List", + "tags": [ + "Operations" + ], + "description": "List the operations for the provider", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/OperationListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List the operations for the provider.": { + "$ref": "./examples/Operations_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.AzureStackHCI/locations/{location}/kubernetesVersions": { + "get": { + "operationId": "KubernetesVersions_ListBySubscriptionLocationResource", + "tags": [ + "KubernetesVersions" + ], + "description": "List all kubernetes versions.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/LocationParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/KubernetesVersionListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "KubernetesVersions_ListBySubscriptionLocationResource_MaximumSet": { + "$ref": "./examples/KubernetesVersions_ListBySubscriptionLocationResource_MaximumSet_Gen.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.AzureStackHCI/locations/{location}/osImages": { + "get": { + "operationId": "OsImages_ListBySubscriptionLocationResource", + "tags": [ + "OsImages" + ], + "description": "List all os images.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/LocationParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/OsImageListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "OsImages_ListBySubscriptionLocationResource_MaximumSet": { + "$ref": "./examples/OsImages_ListBySubscriptionLocationResource_MaximumSet_Gen.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.AzureStackHCI/locations/{location}/osImages/{osImageName}": { + "get": { + "operationId": "OsImages_Get", + "tags": [ + "OsImages" + ], + "description": "Get a os image.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/LocationParameter" + }, + { + "name": "osImageName", + "in": "path", + "description": "The name of the OsImage", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9-.]{3,50}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/OsImage" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "OsImages_Get_MaximumSet": { + "$ref": "./examples/OsImages_Get_MaximumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.AzureStackHCI/locations/{location}/platformUpdates": { + "get": { + "operationId": "PlatformUpdates_List", + "tags": [ + "PlatformUpdates" + ], + "description": "List all platform updates.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/LocationParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/PlatformUpdateListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PlatformUpdates_ListByLocation_MaximumSet": { + "$ref": "./examples/PlatformUpdates_ListByLocation_MaximumSet_Gen.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.AzureStackHCI/locations/{location}/platformUpdates/{platformUpdateName}": { + "get": { + "operationId": "PlatformUpdates_Get", + "tags": [ + "PlatformUpdates" + ], + "description": "Get a platform update.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/LocationParameter" + }, + { + "name": "platformUpdateName", + "in": "path", + "description": "The name of the PlatformUpdate", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9-.]{3,50}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/PlatformUpdate" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PlatformUpdates_Get_MaximumSet": { + "$ref": "./examples/PlatformUpdates_Get_MaximumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.AzureStackHCI/locations/{location}/updateContents": { + "get": { + "operationId": "UpdateContents_List", + "tags": [ + "UpdateContents" + ], + "description": "List all update contents.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/LocationParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/UpdateContentListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "UpdateContents_ListByLocation_MaximumSet": { + "$ref": "./examples/UpdateContents_ListByLocation_MaximumSet_Gen.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.AzureStackHCI/locations/{location}/updateContents/{updateContentName}": { + "get": { + "operationId": "UpdateContents_Get", + "tags": [ + "UpdateContents" + ], + "description": "Gets content for an update.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/LocationParameter" + }, + { + "name": "updateContentName", + "in": "path", + "description": "The name of the UpdateContent", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9-.]{3,50}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/UpdateContent" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "UpdateContents_Get_MaximumSet": { + "$ref": "./examples/UpdateContents_Get_MaximumSet_Gen.json" + } + } + } + } + }, + "definitions": { + "ContentPayload": { + "type": "object", + "description": "Represents details of a specific update content payload.", + "properties": { + "url": { + "type": "string", + "description": "Represents url of a update payload." + }, + "hash": { + "type": "string", + "description": "Represents hash of a update payload." + }, + "hashAlgorithm": { + "type": "string", + "description": "Represents hash algorithm of a update payload." + }, + "identifier": { + "type": "string", + "description": "Represents identifier of a update payload." + }, + "packageSizeInBytes": { + "type": "string", + "description": "Represents size in bytes of a update payload." + }, + "group": { + "type": "string", + "description": "Represents the group of a update payload." + }, + "fileName": { + "type": "string", + "description": "Represents the file name of a update payload." + } + } + }, + "KubernetesVersion": { + "type": "object", + "description": "Represents a kubernetes version resource.", + "properties": { + "properties": { + "$ref": "#/definitions/KubernetesVersionProperties", + "description": "The resource-specific properties for this resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + ] + }, + "KubernetesVersionListResult": { + "type": "object", + "description": "The response of a KubernetesVersion list operation.", + "properties": { + "value": { + "type": "array", + "description": "The KubernetesVersion items on this page", + "items": { + "$ref": "#/definitions/KubernetesVersion" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "KubernetesVersionProperties": { + "type": "object", + "description": "Represents properties of a kubernetes version.", + "properties": { + "version": { + "type": "string", + "description": "Represents kubernetes version." + } + }, + "required": [ + "version" + ] + }, + "OsImage": { + "type": "object", + "description": "Represents a os image resource.", + "properties": { + "properties": { + "$ref": "#/definitions/OsImageProperties", + "description": "The resource-specific properties for this resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + ] + }, + "OsImageListResult": { + "type": "object", + "description": "The response of a OsImage list operation.", + "properties": { + "value": { + "type": "array", + "description": "The OsImage items on this page", + "items": { + "$ref": "#/definitions/OsImage" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "OsImageProperties": { + "type": "object", + "description": "Represents properties of a os image resource.", + "properties": { + "validatedSolutionRecipeVersion": { + "type": "string", + "description": "Represents validated solution recipe version of a os image." + }, + "composedImageVersion": { + "type": "string", + "description": "Represents composed image version of a os image." + }, + "composedImageIsoUrl": { + "type": "string", + "description": "Represents composed image iso download url of a os image." + }, + "composedImageIsoHash": { + "type": "string", + "description": "Represents composed image iso hash of a os image." + } + } + }, + "PlatformPayload": { + "type": "object", + "description": "Represents details of a specific platform update payload.", + "properties": { + "payloadUrl": { + "type": "string", + "description": "Represents url of a platform update payload." + }, + "payloadHash": { + "type": "string", + "description": "Represents hash of a platform update payload." + }, + "payloadPackageSizeInBytes": { + "type": "string", + "description": "Represents size in bytes of a platform update payload." + }, + "payloadIdentifier": { + "type": "string", + "description": "Represents identifier of a platform update payload." + } + } + }, + "PlatformUpdate": { + "type": "object", + "description": "Represents a platform update resource.", + "properties": { + "properties": { + "$ref": "#/definitions/PlatformUpdateProperties", + "description": "The resource-specific properties for this resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + ] + }, + "PlatformUpdateDetails": { + "type": "object", + "description": "Represents details of a specific platform update.", + "properties": { + "validatedSolutionRecipeVersion": { + "type": "string", + "description": "Represents validated solution recipe version of a platform update." + }, + "platformVersion": { + "type": "string", + "description": "Represents version of a platform update." + }, + "platformPayloads": { + "type": "array", + "description": "Represents the platform payloads of a platform update.", + "items": { + "$ref": "#/definitions/PlatformPayload" + }, + "x-ms-identifiers": [] + } + }, + "required": [ + "platformPayloads" + ] + }, + "PlatformUpdateListResult": { + "type": "object", + "description": "The response of a PlatformUpdate list operation.", + "properties": { + "value": { + "type": "array", + "description": "The PlatformUpdate items on this page", + "items": { + "$ref": "#/definitions/PlatformUpdate" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "PlatformUpdateProperties": { + "type": "object", + "description": "Represents properties of a platform update resource.", + "properties": { + "platformUpdateDetails": { + "type": "array", + "description": "Represents applicable platform updates.", + "items": { + "$ref": "#/definitions/PlatformUpdateDetails" + }, + "x-ms-identifiers": [] + } + }, + "required": [ + "platformUpdateDetails" + ] + }, + "UpdateContent": { + "type": "object", + "description": "Represents a update content.", + "properties": { + "properties": { + "$ref": "#/definitions/UpdateContentProperties", + "description": "The resource-specific properties for this resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + ] + }, + "UpdateContentListResult": { + "type": "object", + "description": "The response of a UpdateContent list operation.", + "properties": { + "value": { + "type": "array", + "description": "The UpdateContent items on this page", + "items": { + "$ref": "#/definitions/UpdateContent" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "UpdateContentProperties": { + "type": "object", + "description": "Represents properties of a update content resource.", + "properties": { + "updatePayloads": { + "type": "array", + "description": "Represents the payloads of a update content resource.", + "items": { + "$ref": "#/definitions/ContentPayload" + }, + "x-ms-identifiers": [] + } + }, + "required": [ + "updatePayloads" + ] + } + }, + "parameters": {} +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/hciCommon.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/hciCommon.json new file mode 100644 index 000000000000..f47946df5172 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/hciCommon.json @@ -0,0 +1,523 @@ +{ + "swagger": "2.0", + "info": { + "title": "AzureStackHCI Common", + "version": "2025-11-01-preview", + "description": "Azure Stack HCI common Rest API spec definitions." + }, + "schemes": [ + "https" + ], + "host": "management.azure.com", + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "description": "Microsoft Entra ID OAuth 2.0 Flow.", + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "tags": [], + "paths": {}, + "definitions": { + "DeploymentMode": { + "type": "string", + "description": "The deployment mode of EnterpriseCloudEngine(ECE) action for a cluster.", + "enum": [ + "Validate", + "Deploy" + ], + "default": "Deploy", + "x-ms-enum": { + "name": "DeploymentMode", + "modelAsString": true, + "values": [ + { + "name": "Validate", + "value": "Validate", + "description": "Validate ECE action deployment for a cluster." + }, + { + "name": "Deploy", + "value": "Deploy", + "description": "Deploy ECE action deployment for a cluster." + } + ] + } + }, + "EceReportedProperties": { + "type": "object", + "description": "The DeploymentStatus of AzureStackHCI Cluster.", + "properties": { + "validationStatus": { + "$ref": "#/definitions/EceActionStatus", + "description": "validation status of AzureStackHCI Cluster Deployment.", + "readOnly": true + }, + "deploymentStatus": { + "$ref": "#/definitions/EceActionStatus", + "description": "Deployment status of AzureStackHCI Cluster Deployment.", + "readOnly": true + } + } + }, + "EceActionStatus": { + "type": "object", + "description": "The ECE action plan deployment status for AzureStackHCI Cluster.", + "properties": { + "status": { + "type": "string", + "description": "Status of ECE action AzureStackHCI Cluster Deployment.", + "readOnly": true + }, + "steps": { + "type": "array", + "description": "List of steps of AzureStackHCI Cluster Deployment.", + "items": { + "$ref": "#/definitions/DeploymentStep" + }, + "readOnly": true, + "x-ms-identifiers": [] + } + } + }, + "ProvisioningState": { + "type": "string", + "description": "The provisioning state of a resource.", + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "NotSpecified", + "Provisioning", + "Updating", + "Deleting", + "Accepted" + ], + "readOnly": true, + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Resource has been created." + }, + { + "name": "Failed", + "value": "Failed", + "description": "Resource creation failed." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Resource creation was canceled." + }, + { + "name": "NotSpecified", + "value": "NotSpecified", + "description": "The resource provision state is not specified" + }, + { + "name": "Provisioning", + "value": "Provisioning", + "description": "The resource is being provisioned" + }, + { + "name": "Updating", + "value": "Updating", + "description": "The resource is updating" + }, + { + "name": "Deleting", + "value": "Deleting", + "description": "The resource is being deleted" + }, + { + "name": "Accepted", + "value": "Accepted", + "description": "The resource create request has been accepted" + } + ] + } + }, + "EceDeploymentSecrets": { + "type": "object", + "description": "Protected parameters list stored in keyvault.", + "properties": { + "secretName": { + "type": "string", + "description": "Secret name stored in keyvault." + }, + "eceSecretName": { + "$ref": "#/definitions/EceSecrets", + "description": "Secret name expected for Enterprise Cloud Engine (ECE) deployment." + }, + "secretLocation": { + "type": "string", + "format": "uri", + "description": "Secret URI stored in keyvault." + } + } + }, + "IdentityProvider": { + "type": "string", + "description": "Specifies the identity provider used for authenticating and managing access to cluster nodes. Choose between Active Directory for domain-based identity or Local Identity for AD-less configurations using Azure Key Vault.", + "enum": [ + "ActiveDirectory", + "LocalIdentity" + ], + "default": "ActiveDirectory", + "x-ms-enum": { + "name": "IdentityProvider", + "modelAsString": true, + "values": [ + { + "name": "ActiveDirectory", + "value": "ActiveDirectory", + "description": "Uses Active Directory as the identity provider, enabling domain-based authentication and centralized identity management. This is the default option." + }, + { + "name": "LocalIdentity", + "value": "LocalIdentity", + "description": "Uses a local identity system integrated with Azure Key Vault for authentication. Suitable for AD-less environments where Active Directory is not available or required." + } + ] + } + }, + "ClusterPattern": { + "type": "string", + "description": "Supported Storage Pattern for HCI Cluster", + "enum": [ + "Standard", + "RackAware" + ], + "x-ms-enum": { + "name": "ClusterPattern", + "modelAsString": true, + "values": [ + { + "name": "Standard", + "value": "Standard", + "description": "Standard cluster." + }, + { + "name": "RackAware", + "value": "RackAware", + "description": "RackAware cluster." + } + ] + } + }, + "LocalAvailabilityZones": { + "type": "object", + "description": "Local Availability Zone information for HCI cluster", + "properties": { + "localAvailabilityZoneName": { + "type": "string", + "description": "Local Availability Zone name for HCI cluster" + }, + "nodes": { + "type": "array", + "description": "Nodes belonging to a particular zone", + "items": { + "type": "string" + }, + "x-ms-identifiers": [] + } + } + }, + "EceSecrets": { + "type": "string", + "description": "Secret names allowed for Enterprise Cloud Engine (ECE) deployment.", + "enum": [ + "AzureStackLCMUserCredential", + "DefaultARBApplication", + "LocalAdminCredential", + "WitnessStorageKey" + ], + "x-ms-enum": { + "name": "EceSecrets", + "modelAsString": true, + "values": [ + { + "name": "AzureStackLCMUserCredential", + "value": "AzureStackLCMUserCredential", + "description": "AzureStackLCMUserCredential used for LCM operations for AzureStackHCI cluster." + }, + { + "name": "DefaultARBApplication", + "value": "DefaultARBApplication", + "description": "DefaultARBApplication used to manage Azure Arc resource bridge (ARB) for AzureStackHCI cluster." + }, + { + "name": "LocalAdminCredential", + "value": "LocalAdminCredential", + "description": "LocalAdminCredential used for admin operations for AzureStackHCI cluster." + }, + { + "name": "WitnessStorageKey", + "value": "WitnessStorageKey", + "description": "WitnessStorageKey used for setting up a cloud witness for AzureStackHCI cluster." + } + ] + } + }, + "DeploymentStep": { + "type": "object", + "description": "The Step of AzureStackHCI Cluster.", + "properties": { + "name": { + "type": "string", + "description": "Name of step.", + "readOnly": true + }, + "description": { + "type": "string", + "description": "Description of step.", + "readOnly": true + }, + "fullStepIndex": { + "type": "string", + "description": "FullStepIndex of step.", + "readOnly": true + }, + "startTimeUtc": { + "type": "string", + "description": "Start time of step.", + "readOnly": true + }, + "endTimeUtc": { + "type": "string", + "description": "End time of step.", + "readOnly": true + }, + "status": { + "type": "string", + "description": "Status of step. Allowed values are 'Error', 'Success', 'InProgress'", + "readOnly": true + }, + "steps": { + "type": "array", + "description": "List of nested steps of AzureStackHCI Cluster Deployment.", + "items": { + "$ref": "#/definitions/DeploymentStep" + }, + "readOnly": true, + "x-ms-identifiers": [] + }, + "exception": { + "type": "array", + "description": "List of exceptions in AzureStackHCI Cluster Deployment.", + "items": { + "type": "string" + }, + "readOnly": true, + "x-ms-identifiers": [] + } + } + }, + "PrecheckResult": { + "type": "object", + "properties": { + "name": { + "description": "Name of the individual test/rule/alert that was executed. Unique, not exposed to the customer.", + "type": "string" + }, + "displayName": { + "description": "The health check DisplayName localized of the individual test executed.", + "type": "string" + }, + "tags": { + "description": "Key-value pairs that allow grouping/filtering individual tests.", + "type": "object", + "properties": { + "key": { + "description": "Key that allow grouping/filtering individual tests.", + "type": "string" + }, + "value": { + "description": "Value of the key that allow grouping/filtering individual tests.", + "type": "string" + } + } + }, + "healthCheckTags": { + "description": "Key-value pairs that allow grouping/filtering individual tests.", + "type": "object" + }, + "title": { + "description": "User-facing name; one or more sentences indicating the direct issue.", + "type": "string" + }, + "status": { + "description": "Represents the current status of the check being performed. Indicates whether the check has completed successfully, failed, or is still in progress.", + "type": "string", + "enum": [ + "Succeeded", + "Failed", + "InProgress" + ], + "x-ms-enum": { + "name": "status", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "The check completed successfully." + }, + { + "name": "Failed", + "value": "Failed", + "description": "The check completed but failed." + }, + { + "name": "InProgress", + "value": "InProgress", + "description": "The check is currently in progress." + } + ] + } + }, + "severity": { + "description": "Indicates the importance or impact level of the result. Determines whether the result is informational, a warning, or a critical issue that may block updates.", + "type": "string", + "enum": [ + "Critical", + "Warning", + "Informational", + "Hidden" + ], + "x-ms-enum": { + "name": "severity", + "modelAsString": true, + "values": [ + { + "name": "Critical", + "value": "Critical", + "description": "A critical issue that blocks updates and requires immediate attention." + }, + { + "name": "Warning", + "value": "Warning", + "description": "A warning that may indicate a potential issue but does not block updates." + }, + { + "name": "Informational", + "value": "Informational", + "description": "General information that does not indicate any issue." + }, + { + "name": "Hidden", + "value": "Hidden", + "description": "The result is hidden and not shown in the output." + } + ] + } + }, + "description": { + "description": "Detailed overview of the issue and what impact the issue has on the stamp.", + "type": "string" + }, + "remediation": { + "description": "Set of steps that can be taken to resolve the issue found.", + "type": "string" + }, + "targetResourceID": { + "description": "The unique identifier for the affected resource (such as a node or drive).", + "type": "string" + }, + "targetResourceName": { + "description": "The name of the affected resource.", + "type": "string" + }, + "targetResourceType": { + "description": "The type of resource being referred to (well-known set of nouns in infrastructure, aligning with Monitoring).", + "type": "string" + }, + "timestamp": { + "description": "The time in which the HealthCheck was called.", + "type": "string", + "format": "date-time" + }, + "additionalData": { + "description": "Property bag of key value pairs for additional information.", + "type": "string" + }, + "healthCheckSource": { + "description": "The name of the services called for the HealthCheck (I.E. Test-AzureStack, Test-Cluster).", + "type": "string" + } + } + }, + "EdgeDeviceKind": { + "type": "string", + "description": "Edge device kind.", + "enum": [ + "HCI" + ], + "default": "HCI", + "x-ms-enum": { + "name": "EdgeDeviceKind", + "modelAsString": true, + "values": [ + { + "name": "HCI", + "value": "HCI", + "description": "Arc-enabled edge device with HCI OS." + } + ] + } + }, + "HardwareClass": { + "type": "string", + "description": "Hardware class of the cluster.", + "enum": [ + "Small", + "Medium", + "Large" + ], + "default": "Medium", + "x-ms-enum": { + "name": "HardwareClass", + "modelAsString": true, + "values": [ + { + "name": "Small", + "value": "Small", + "description": "The hardware class is small." + }, + { + "name": "Medium", + "value": "Medium", + "description": "The hardware class is medium. This corresponds to the default" + }, + { + "name": "Large", + "value": "Large", + "description": "The hardware class is large." + } + ] + } + } + }, + "parameters": {} +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/offers.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/offers.json new file mode 100644 index 000000000000..1484d6d3d939 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/offers.json @@ -0,0 +1,302 @@ +{ + "swagger": "2.0", + "info": { + "version": "2025-11-01-preview", + "title": "AzureStackHCI", + "description": "Azure Stack HCI management service" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Microsoft Entra ID OAuth 2.0 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}/publishers/{publisherName}/offers": { + "get": { + "operationId": "Offers_ListByPublisher", + "description": "List Offers available for a publisher within the HCI Cluster.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ClusterNameParameter" + }, + { + "$ref": "#/parameters/PublisherNameParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/ODataExpandParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/OfferList" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List Offer resources by publisher for the HCI Cluster": { + "$ref": "./examples/ListOffersByPublisher.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}/offers": { + "get": { + "operationId": "Offers_ListByCluster", + "description": "List Offers available across publishers for the HCI Cluster.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ClusterNameParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/ODataExpandParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/OfferList" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List Offer resources by HCI Cluster": { + "$ref": "./examples/ListOffersByCluster.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}/publishers/{publisherName}/offers/{offerName}": { + "get": { + "operationId": "Offers_Get", + "description": "Get Offer resource details within a publisher of HCI Cluster.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ClusterNameParameter" + }, + { + "$ref": "#/parameters/PublisherNameParameter" + }, + { + "$ref": "#/parameters/OfferNameParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/ODataExpandParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Offer" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Offer": { + "$ref": "./examples/GetOffer.json" + } + } + } + } + }, + "definitions": { + "OfferList": { + "description": "List of Offer proxy resources for the HCI cluster.", + "type": "object", + "properties": { + "value": { + "description": "List of Offer proxy resources.", + "type": "array", + "items": { + "$ref": "#/definitions/Offer" + }, + "readOnly": true + }, + "nextLink": { + "description": "Link to the next set of results.", + "type": "string", + "readOnly": true + } + } + }, + "Offer": { + "description": "Offer details.", + "type": "object", + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "description": "Offer properties.", + "$ref": "#/definitions/OfferProperties", + "x-ms-client-flatten": true + } + } + }, + "OfferProperties": { + "description": "Publisher properties.", + "type": "object", + "properties": { + "provisioningState": { + "description": "Provisioning State", + "type": "string", + "readOnly": true + }, + "publisherId": { + "type": "string", + "description": "Identifier of the Publisher for the offer" + }, + "content": { + "type": "string", + "description": "JSON serialized catalog content of the offer" + }, + "contentVersion": { + "type": "string", + "description": "The API version of the catalog service used to serve the catalog content" + }, + "skuMappings": { + "type": "array", + "description": "Array of SKU mappings", + "items": { + "$ref": "#/definitions/SkuMappings" + }, + "x-ms-identifiers": [] + } + } + }, + "SkuMappings": { + "description": "SKU Mapping details.", + "type": "object", + "properties": { + "catalogPlanId": { + "type": "string", + "description": "Identifier of the CatalogPlan for the sku" + }, + "marketplaceSkuId": { + "type": "string", + "description": "Identifier for the sku" + }, + "marketplaceSkuVersions": { + "type": "array", + "description": "Array of SKU versions available", + "items": { + "type": "string" + } + } + } + } + }, + "parameters": { + "ClusterNameParameter": { + "name": "clusterName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the cluster.", + "x-ms-parameter-location": "method" + }, + "PublisherNameParameter": { + "name": "publisherName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the publisher available within HCI cluster.", + "x-ms-parameter-location": "method" + }, + "OfferNameParameter": { + "name": "offerName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the offer available within HCI cluster.", + "x-ms-parameter-location": "method" + }, + "ODataExpandParameter": { + "name": "$expand", + "in": "query", + "description": "Specify $expand=content,contentVersion to populate additional fields related to the marketplace offer.", + "required": false, + "type": "string", + "x-ms-parameter-location": "method" + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/publishers.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/publishers.json new file mode 100644 index 000000000000..352b47a2d575 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/publishers.json @@ -0,0 +1,188 @@ +{ + "swagger": "2.0", + "info": { + "version": "2025-11-01-preview", + "title": "AzureStackHCI", + "description": "Azure Stack HCI management service" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Microsoft Entra ID OAuth 2.0 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}/publishers": { + "get": { + "operationId": "Publishers_ListByCluster", + "description": "List Publishers available for the HCI Cluster.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ClusterNameParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/PublisherList" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List Publisher resources by HCI Cluster": { + "$ref": "./examples/ListPublishersByCluster.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}/publishers/{publisherName}": { + "get": { + "operationId": "Publishers_Get", + "description": "Get Publisher resource details of HCI Cluster.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ClusterNameParameter" + }, + { + "$ref": "#/parameters/PublisherNameParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Publisher" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Publisher": { + "$ref": "./examples/GetPublisher.json" + } + } + } + } + }, + "definitions": { + "PublisherList": { + "description": "List of Publisher proxy resources for the HCI cluster.", + "type": "object", + "properties": { + "value": { + "description": "List of Publisher proxy resources.", + "type": "array", + "items": { + "$ref": "#/definitions/Publisher" + }, + "readOnly": true + }, + "nextLink": { + "description": "Link to the next set of results.", + "type": "string", + "readOnly": true + } + } + }, + "Publisher": { + "description": "Publisher details.", + "type": "object", + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "description": "Publisher properties.", + "$ref": "#/definitions/PublisherProperties", + "x-ms-client-flatten": true + } + } + }, + "PublisherProperties": { + "description": "Publisher properties.", + "type": "object", + "properties": { + "provisioningState": { + "description": "Provisioning State", + "type": "string", + "readOnly": true + } + } + } + }, + "parameters": { + "ClusterNameParameter": { + "name": "clusterName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the cluster.", + "x-ms-parameter-location": "method" + }, + "PublisherNameParameter": { + "name": "publisherName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the publisher available within HCI cluster.", + "x-ms-parameter-location": "method" + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/securitySettings.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/securitySettings.json new file mode 100644 index 000000000000..9597babaa835 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/securitySettings.json @@ -0,0 +1,502 @@ +{ + "swagger": "2.0", + "info": { + "title": "AzureStackHCI", + "version": "2025-11-01-preview", + "description": "Azure Stack HCI cluster security settings." + }, + "schemes": [ + "https" + ], + "host": "management.azure.com", + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "description": "Microsoft Entra ID OAuth 2.0 Flow.", + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "tags": [ + { + "name": "SecuritySettings" + } + ], + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}/securitySettings": { + "get": { + "operationId": "SecuritySettings_ListByClusters", + "tags": [ + "SecuritySettings" + ], + "description": "List SecuritySetting resources by Clusters", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ClusterNameParameter" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/SecuritySettingListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List Security Settings": { + "$ref": "./examples/ListSecuritySettingsByCluster.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}/securitySettings/{securitySettingsName}": { + "get": { + "operationId": "SecuritySettings_Get", + "tags": [ + "SecuritySettings" + ], + "description": "Get a SecuritySetting", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ClusterNameParameter" + }, + { + "name": "securitySettingsName", + "in": "path", + "description": "Name of security setting", + "required": true, + "type": "string", + "default": "default", + "pattern": "^[a-zA-Z0-9-]{3,24}$" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/SecuritySetting" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Security Settings": { + "$ref": "./examples/GetSecuritySettings.json" + } + } + }, + "put": { + "operationId": "SecuritySettings_CreateOrUpdate", + "tags": [ + "SecuritySettings" + ], + "description": "Create a security setting", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ClusterNameParameter" + }, + { + "name": "securitySettingsName", + "in": "path", + "description": "Name of security setting", + "required": true, + "type": "string", + "default": "default", + "pattern": "^[a-zA-Z0-9-]{3,24}$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/SecuritySetting" + } + } + ], + "responses": { + "200": { + "description": "Resource 'SecuritySetting' update operation succeeded", + "schema": { + "$ref": "#/definitions/SecuritySetting" + } + }, + "201": { + "description": "Resource 'SecuritySetting' create operation succeeded", + "schema": { + "$ref": "#/definitions/SecuritySetting" + }, + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Create Security Settings": { + "$ref": "./examples/PutSecuritySettings.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "SecuritySettings_Delete", + "tags": [ + "SecuritySettings" + ], + "description": "Delete a SecuritySetting", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ClusterNameParameter" + }, + { + "name": "securitySettingsName", + "in": "path", + "description": "Name of security setting", + "required": true, + "type": "string", + "default": "default", + "pattern": "^[a-zA-Z0-9-]{3,24}$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "204": { + "description": "Resource deleted successfully." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Delete Security Settings": { + "$ref": "./examples/DeleteSecuritySettings.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + } + }, + "definitions": { + "ComplianceAssignmentType": { + "type": "string", + "description": "Represents the compliance assignment type of a resource.", + "enum": [ + "Audit", + "ApplyAndAutoCorrect" + ], + "x-ms-enum": { + "name": "ComplianceAssignmentType", + "modelAsString": true, + "values": [ + { + "name": "Audit", + "value": "Audit", + "description": "Report on the state of the machine, but don't make changes." + }, + { + "name": "ApplyAndAutoCorrect", + "value": "ApplyAndAutoCorrect", + "description": "Applied to the machine. If it drifts, the local service inside the machine makes a correction at the next evaluation." + } + ] + } + }, + "ComplianceStatus": { + "type": "string", + "description": "Represents the compliance status of a resource.", + "enum": [ + "Compliant", + "NonCompliant", + "Pending" + ], + "x-ms-enum": { + "name": "ComplianceStatus", + "modelAsString": true, + "values": [ + { + "name": "Compliant", + "value": "Compliant", + "description": "The resource is compliant" + }, + { + "name": "NonCompliant", + "value": "NonCompliant", + "description": "The resource is non-compliant" + }, + { + "name": "Pending", + "value": "Pending", + "description": "The resource compliance status is pending" + } + ] + } + }, + "ProvisioningState": { + "type": "string", + "description": "The provisioning state of a resource.", + "readOnly": true, + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "Provisioning", + "Updating", + "Deleting", + "Accepted" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Resource has been created." + }, + { + "name": "Failed", + "value": "Failed", + "description": "Resource creation failed." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Resource creation was canceled." + }, + { + "name": "Provisioning", + "value": "Provisioning", + "description": "The resource is being provisioned" + }, + { + "name": "Updating", + "value": "Updating", + "description": "The resource is updating" + }, + { + "name": "Deleting", + "value": "Deleting", + "description": "The resource is being deleted" + }, + { + "name": "Accepted", + "value": "Accepted", + "description": "The resource create request has been accepted" + } + ] + } + }, + "SecurityComplianceStatus": { + "type": "object", + "description": "Security compliance properties of the resource", + "properties": { + "securedCoreCompliance": { + "$ref": "#/definitions/ComplianceStatus", + "description": "Indicates whether HCI hosts meets secured-core server requirements.", + "readOnly": true + }, + "wdacCompliance": { + "$ref": "#/definitions/ComplianceStatus", + "description": "Indicates whether HCI hosts have enforced consistent Windows Defender Application Control.", + "readOnly": true + }, + "dataAtRestEncrypted": { + "$ref": "#/definitions/ComplianceStatus", + "description": "Indicates whether data at-rest encryption is enabled on Azure Stack HCI clustered volumes.", + "readOnly": true + }, + "dataInTransitProtected": { + "$ref": "#/definitions/ComplianceStatus", + "description": "Indicates whether HCI cluster has data in-transit protection.", + "readOnly": true + }, + "lastUpdated": { + "type": "string", + "format": "date-time", + "description": "Time in UTC when compliance status was last updated.", + "readOnly": true + } + } + }, + "SecurityProperties": { + "type": "object", + "description": "Security properties of the resource", + "properties": { + "securedCoreComplianceAssignment": { + "$ref": "#/definitions/ComplianceAssignmentType", + "description": "Secured Core Compliance Assignment", + "default": "Audit" + }, + "wdacComplianceAssignment": { + "$ref": "#/definitions/ComplianceAssignmentType", + "description": "WDAC Compliance Assignment", + "default": "Audit" + }, + "smbEncryptionForIntraClusterTrafficComplianceAssignment": { + "$ref": "#/definitions/ComplianceAssignmentType", + "description": "SMB encryption for intra-cluster traffic Compliance Assignment", + "default": "Audit" + }, + "securityComplianceStatus": { + "$ref": "#/definitions/SecurityComplianceStatus", + "description": "Security Compliance Status", + "readOnly": true + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The status of the last operation." + } + } + }, + "SecuritySetting": { + "type": "object", + "description": "Security settings proxy resource", + "properties": { + "properties": { + "$ref": "#/definitions/SecurityProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true, + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + ] + }, + "SecuritySettingListResult": { + "type": "object", + "description": "The response of a SecuritySetting list operation.", + "properties": { + "value": { + "type": "array", + "description": "The SecuritySetting items on this page", + "items": { + "$ref": "#/definitions/SecuritySetting" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + } + }, + "parameters": { + "ClusterNameParameter": { + "name": "clusterName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the cluster.", + "x-ms-parameter-location": "method" + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/skus.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/skus.json new file mode 100644 index 000000000000..37b39f287cfa --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/skus.json @@ -0,0 +1,275 @@ +{ + "swagger": "2.0", + "info": { + "version": "2025-11-01-preview", + "title": "AzureStackHCI", + "description": "Azure Stack HCI management service" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Microsoft Entra ID OAuth 2.0 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}/publishers/{publisherName}/offers/{offerName}/skus": { + "get": { + "operationId": "Skus_ListByOffer", + "description": "List Skus available for a offer within the HCI Cluster.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ClusterNameParameter" + }, + { + "$ref": "#/parameters/PublisherNameParameter" + }, + { + "$ref": "#/parameters/OfferNameParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/ODataExpandParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/SkuList" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List SKU resources by offer for the HCI Cluster": { + "$ref": "./examples/ListSkusByOffer.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}/publishers/{publisherName}/offers/{offerName}/skus/{skuName}": { + "get": { + "operationId": "Skus_Get", + "description": "Get SKU resource details within a offer of HCI Cluster.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ClusterNameParameter" + }, + { + "$ref": "#/parameters/PublisherNameParameter" + }, + { + "$ref": "#/parameters/OfferNameParameter" + }, + { + "$ref": "#/parameters/SkuNameParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/ODataExpandParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Sku" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Sku": { + "$ref": "./examples/GetSku.json" + } + } + } + } + }, + "definitions": { + "SkuList": { + "description": "List of SKU proxy resources for the HCI cluster.", + "type": "object", + "properties": { + "value": { + "description": "List of SKU proxy resources.", + "type": "array", + "items": { + "$ref": "#/definitions/Sku" + }, + "readOnly": true + }, + "nextLink": { + "description": "Link to the next set of results.", + "type": "string", + "readOnly": true + } + } + }, + "Sku": { + "description": "Sku details.", + "type": "object", + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "description": "SKU properties.", + "$ref": "#/definitions/SkuProperties", + "x-ms-client-flatten": true + } + } + }, + "SkuProperties": { + "description": "SKU properties.", + "type": "object", + "properties": { + "provisioningState": { + "description": "Provisioning State", + "type": "string", + "readOnly": true + }, + "publisherId": { + "type": "string", + "description": "Identifier of the Publisher for the offer" + }, + "offerId": { + "type": "string", + "description": "Identifier of the Offer for the sku" + }, + "content": { + "type": "string", + "description": "JSON serialized catalog content of the sku offer" + }, + "contentVersion": { + "type": "string", + "description": "The API version of the catalog service used to serve the catalog content" + }, + "skuMappings": { + "type": "array", + "description": "Array of SKU mappings", + "items": { + "$ref": "#/definitions/SkuMappings" + }, + "x-ms-identifiers": [] + } + } + }, + "SkuMappings": { + "description": "SKU Mapping details.", + "type": "object", + "properties": { + "catalogPlanId": { + "type": "string", + "description": "Identifier of the CatalogPlan for the sku" + }, + "marketplaceSkuId": { + "type": "string", + "description": "Identifier for the sku" + }, + "marketplaceSkuVersions": { + "type": "array", + "description": "Array of SKU versions available", + "items": { + "type": "string" + } + } + } + } + }, + "parameters": { + "ClusterNameParameter": { + "name": "clusterName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the cluster.", + "x-ms-parameter-location": "method" + }, + "PublisherNameParameter": { + "name": "publisherName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the publisher available within HCI cluster.", + "x-ms-parameter-location": "method" + }, + "OfferNameParameter": { + "name": "offerName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the offer available within HCI cluster.", + "x-ms-parameter-location": "method" + }, + "SkuNameParameter": { + "name": "skuName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the SKU available within HCI cluster.", + "x-ms-parameter-location": "method" + }, + "ODataExpandParameter": { + "name": "$expand", + "in": "query", + "description": "Specify $expand=content,contentVersion to populate additional fields related to the marketplace offer.", + "required": false, + "type": "string", + "x-ms-parameter-location": "method" + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/updateRuns.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/updateRuns.json new file mode 100644 index 000000000000..35f3cccb9171 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/updateRuns.json @@ -0,0 +1,461 @@ +{ + "swagger": "2.0", + "info": { + "version": "2025-11-01-preview", + "title": "AzureStackHCI", + "description": "Azure Stack HCI management service" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Microsoft Entra ID OAuth 2.0 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}/updates/{updateName}/updateRuns": { + "get": { + "operationId": "UpdateRuns_List", + "description": "List all Update runs for a specified update", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ClusterNameParameter" + }, + { + "$ref": "#/parameters/UpdateNameParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/UpdateRunList" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List Update runs under cluster resource": { + "$ref": "./examples/ListUpdateRuns.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}/updates/{updateName}/updateRuns/{updateRunName}": { + "delete": { + "operationId": "UpdateRuns_Delete", + "description": "Delete specified Update Run", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ClusterNameParameter" + }, + { + "$ref": "#/parameters/UpdateNameParameter" + }, + { + "$ref": "#/parameters/UpdateRunNameParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "202": { + "description": "ACCEPTED", + "headers": { + "Azure-AsyncOperation": { + "description": "URL to query for status of the operation.", + "type": "string" + } + } + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-examples": { + "Delete an Update": { + "$ref": "./examples/DeleteUpdateRuns.json" + } + } + }, + "put": { + "operationId": "UpdateRuns_Put", + "description": "Put Update runs for a specified update", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ClusterNameParameter" + }, + { + "$ref": "#/parameters/UpdateNameParameter" + }, + { + "$ref": "#/parameters/UpdateRunNameParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "updateRunsProperties", + "in": "body", + "description": "Properties of the updateRuns object", + "required": true, + "schema": { + "$ref": "#/definitions/UpdateRun" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/UpdateRun" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Update runs under cluster resource": { + "$ref": "./examples/PutUpdateRuns.json" + } + } + }, + "get": { + "operationId": "UpdateRuns_Get", + "description": "Get the Update run for a specified update", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ClusterNameParameter" + }, + { + "$ref": "#/parameters/UpdateNameParameter" + }, + { + "$ref": "#/parameters/UpdateRunNameParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/UpdateRun" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Update runs under cluster resource": { + "$ref": "./examples/GetUpdateRuns.json" + } + } + } + } + }, + "definitions": { + "UpdateRunList": { + "description": "List of Update runs", + "type": "object", + "properties": { + "value": { + "description": "List of Update runs", + "type": "array", + "items": { + "$ref": "#/definitions/UpdateRun" + } + }, + "nextLink": { + "description": "Link to the next set of results.", + "type": "string", + "readOnly": true + } + } + }, + "UpdateRun": { + "description": "Details of an Update run", + "type": "object", + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ], + "properties": { + "location": { + "type": "string", + "x-ms-mutability": [ + "read", + "create" + ], + "description": "The geo-location where the resource lives" + }, + "properties": { + "description": "Describes Update Run Properties.", + "$ref": "#/definitions/UpdateRunProperties", + "x-ms-client-flatten": true + } + } + }, + "UpdateRunProperties": { + "description": "Details of an Update run", + "type": "object", + "properties": { + "provisioningState": { + "description": "Provisioning state of the UpdateRuns proxy resource. Indicates the current lifecycle status of the update operation, such as whether it has been accepted, is in progress, or has completed.", + "type": "string", + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "Accepted", + "Provisioning" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "The update operation completed successfully." + }, + { + "name": "Failed", + "value": "Failed", + "description": "The update operation failed." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "The update operation was canceled before completion." + }, + { + "name": "Accepted", + "value": "Accepted", + "description": "The update operation has been accepted and is pending execution." + }, + { + "name": "Provisioning", + "value": "Provisioning", + "description": "The update operation is currently being provisioned." + } + ] + }, + "readOnly": true + }, + "timeStarted": { + "description": "Timestamp of the update run was started.", + "type": "string", + "format": "date-time" + }, + "lastUpdatedTime": { + "description": "Timestamp of the most recently completed step in the update run.", + "type": "string", + "format": "date-time" + }, + "duration": { + "description": "Duration of the update run.", + "type": "string" + }, + "state": { + "description": "Represents the current state of the update run. Indicates whether the update is in progress, has completed successfully, failed, or is in an unknown state.", + "type": "string", + "enum": [ + "Unknown", + "Succeeded", + "InProgress", + "Failed" + ], + "x-ms-enum": { + "name": "updateRunPropertiesState", + "modelAsString": true, + "values": [ + { + "name": "Unknown", + "value": "Unknown", + "description": "The state of the update run is not known." + }, + { + "name": "Succeeded", + "value": "Succeeded", + "description": "The update run completed successfully." + }, + { + "name": "InProgress", + "value": "InProgress", + "description": "The update run is currently in progress." + }, + { + "name": "Failed", + "value": "Failed", + "description": "The update run failed to complete successfully." + } + ] + } + }, + "progress": { + "description": "Progress representation of the update run steps.", + "$ref": "#/definitions/Step", + "x-ms-client-flatten": true + } + } + }, + "Step": { + "description": "Progress representation of the update run steps.", + "type": "object", + "properties": { + "name": { + "description": "Name of the step.", + "type": "string" + }, + "description": { + "description": "More detailed description of the step.", + "type": "string" + }, + "errorMessage": { + "description": "Error message, specified if the step is in a failed state.", + "type": "string" + }, + "status": { + "description": "Status of the step, bubbled up from the ECE action plan for installation attempts. Values are: 'Success', 'Error', 'InProgress', and 'Unknown status'.", + "type": "string" + }, + "startTimeUtc": { + "description": "When the step started, or empty if it has not started executing.", + "type": "string", + "format": "date-time" + }, + "endTimeUtc": { + "description": "When the step reached a terminal state.", + "type": "string", + "format": "date-time" + }, + "lastUpdatedTimeUtc": { + "description": "Completion time of this step or the last completed sub-step.", + "type": "string", + "format": "date-time" + }, + "expectedExecutionTime": { + "description": "Expected execution time of a given step. This is optionally authored in the update action plan and can be empty.", + "type": "string" + }, + "steps": { + "description": "Recursive model for child steps of this step.", + "type": "array", + "items": { + "$ref": "#/definitions/Step" + }, + "x-ms-identifiers": [ + "name" + ] + } + } + } + }, + "parameters": { + "ClusterNameParameter": { + "name": "clusterName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the cluster.", + "x-ms-parameter-location": "method" + }, + "UpdateNameParameter": { + "name": "updateName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Update", + "x-ms-parameter-location": "method" + }, + "UpdateRunNameParameter": { + "name": "updateRunName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Update Run", + "x-ms-parameter-location": "method" + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/updateSummaries.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/updateSummaries.json new file mode 100644 index 000000000000..4796c93ea8d3 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/updateSummaries.json @@ -0,0 +1,510 @@ +{ + "swagger": "2.0", + "info": { + "version": "2025-11-01-preview", + "title": "AzureStackHCI", + "description": "Azure Stack HCI management service" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Microsoft Entra ID OAuth 2.0 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}/updateSummaries": { + "get": { + "operationId": "UpdateSummaries_List", + "description": "List all Update summaries under the HCI cluster", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ClusterNameParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/UpdateSummariesList" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Update summaries under cluster resource": { + "$ref": "./examples/ListUpdateSummaries.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}/updateSummaries/default": { + "delete": { + "operationId": "UpdateSummaries_Delete", + "description": "Delete Update Summaries", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ClusterNameParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "202": { + "description": "ACCEPTED", + "headers": { + "Azure-AsyncOperation": { + "description": "URL to query for status of the operation.", + "type": "string" + } + } + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-examples": { + "Delete an Update": { + "$ref": "./examples/DeleteUpdateSummaries.json" + } + } + }, + "put": { + "operationId": "UpdateSummaries_Put", + "description": "Put Update summaries under the HCI cluster", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ClusterNameParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "updateLocationProperties", + "in": "body", + "description": "Properties of the UpdateSummaries resource", + "required": true, + "schema": { + "$ref": "#/definitions/UpdateSummaries" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/UpdateSummaries" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Put Update summaries under cluster resource": { + "$ref": "./examples/PutUpdateSummaries.json" + } + } + }, + "get": { + "operationId": "UpdateSummaries_Get", + "description": "Get all Update summaries under the HCI cluster", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ClusterNameParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/UpdateSummaries" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Update summaries under cluster resource": { + "$ref": "./examples/GetUpdateSummaries.json" + } + } + } + } + }, + "definitions": { + "UpdateSummariesList": { + "description": "List of Update Summaries", + "type": "object", + "properties": { + "value": { + "description": "List of Update Summaries", + "type": "array", + "items": { + "$ref": "#/definitions/UpdateSummaries" + }, + "x-ms-identifiers": [] + }, + "nextLink": { + "description": "Link to the next set of results.", + "type": "string", + "readOnly": true + } + } + }, + "UpdateSummaries": { + "description": "Get the update summaries for the cluster", + "type": "object", + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ], + "properties": { + "location": { + "type": "string", + "x-ms-mutability": [ + "read", + "create" + ], + "description": "The geo-location where the resource lives" + }, + "properties": { + "description": "Update summaries properties", + "type": "object", + "$ref": "#/definitions/UpdateSummariesProperties", + "x-ms-client-flatten": true + } + } + }, + "UpdateSummariesProperties": { + "description": "Properties of Update summaries", + "type": "object", + "properties": { + "provisioningState": { + "description": "Provisioning state of the UpdateSummaries proxy resource. Indicates the current lifecycle status of the update summary operation, such as whether it has been accepted, is in progress, or has completed.", + "type": "string", + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "Accepted", + "Provisioning" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "The update summary operation completed successfully." + }, + { + "name": "Failed", + "value": "Failed", + "description": "The update summary operation failed." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "The update summary operation was canceled before completion." + }, + { + "name": "Accepted", + "value": "Accepted", + "description": "The update summary operation has been accepted and is pending execution." + }, + { + "name": "Provisioning", + "value": "Provisioning", + "description": "The update summary operation is currently being provisioned." + } + ] + }, + "readOnly": true + }, + "oemFamily": { + "description": "OEM family name.", + "type": "string" + }, + "currentOemVersion": { + "description": "Current OEM Version.", + "type": "string" + }, + "hardwareModel": { + "description": "Name of the hardware model.", + "type": "string" + }, + "packageVersions": { + "description": "Current version of each updatable component.", + "type": "array", + "items": { + "$ref": "#/definitions/PackageVersionInfo" + }, + "x-ms-client-flatten": true, + "x-ms-identifiers": [ + "version" + ] + }, + "currentVersion": { + "description": "Current Solution Bundle version of the stamp.", + "type": "string" + }, + "currentSbeVersion": { + "description": "Current Sbe version of the stamp.", + "type": "string" + }, + "lastUpdated": { + "description": "Last time an update installation completed successfully.", + "type": "string", + "format": "date-time" + }, + "lastChecked": { + "description": "Last time the update service successfully checked for updates", + "type": "string", + "format": "date-time" + }, + "healthState": { + "description": "Overall health state for update-specific health checks.", + "type": "object", + "$ref": "#/definitions/HealthState", + "x-ms-client-flatten": true + }, + "healthCheckResult": { + "description": "An array of pre-check result objects.", + "type": "array", + "items": { + "$ref": "./hciCommon.json#/definitions/PrecheckResult" + }, + "x-ms-client-flatten": true, + "x-ms-identifiers": [ + "name" + ] + }, + "healthCheckDate": { + "description": "Last time the package-specific checks were run.", + "type": "string", + "format": "date-time" + }, + "state": { + "description": "Overall update state of the stamp. Indicates the current status of update deployment across the stamp, including preparation, application, and any issues encountered.", + "type": "string", + "enum": [ + "Unknown", + "AppliedSuccessfully", + "UpdateAvailable", + "UpdateInProgress", + "UpdateFailed", + "NeedsAttention", + "PreparationInProgress", + "PreparationFailed" + ], + "x-ms-enum": { + "name": "updateSummariesPropertiesState", + "modelAsString": true, + "values": [ + { + "name": "Unknown", + "value": "Unknown", + "description": "The update state is not known." + }, + { + "name": "AppliedSuccessfully", + "value": "AppliedSuccessfully", + "description": "Updates have been successfully applied to the stamp." + }, + { + "name": "UpdateAvailable", + "value": "UpdateAvailable", + "description": "Updates are available but have not yet been applied." + }, + { + "name": "UpdateInProgress", + "value": "UpdateInProgress", + "description": "Updates are currently being applied to the stamp." + }, + { + "name": "UpdateFailed", + "value": "UpdateFailed", + "description": "The update process failed." + }, + { + "name": "NeedsAttention", + "value": "NeedsAttention", + "description": "The update process requires user intervention or has encountered issues needing attention." + }, + { + "name": "PreparationInProgress", + "value": "PreparationInProgress", + "description": "Preparation for the update is currently in progress." + }, + { + "name": "PreparationFailed", + "value": "PreparationFailed", + "description": "Preparation for the update failed." + } + ] + } + } + } + }, + "PackageVersionInfo": { + "description": "Current version of each updatable component.", + "type": "object", + "properties": { + "packageType": { + "description": "Package type", + "type": "string" + }, + "version": { + "description": "Package version", + "type": "string" + }, + "lastUpdated": { + "description": "Last time this component was updated.", + "type": "string", + "format": "date-time" + } + } + }, + "HealthState": { + "type": "string", + "description": "Represents the health status of a system component or operation. Indicates whether the component is functioning correctly, has warnings or errors, or is undergoing a process.", + "enum": [ + "Unknown", + "Success", + "Failure", + "Warning", + "Error", + "InProgress" + ], + "x-ms-enum": { + "name": "HealthState", + "modelAsString": true, + "values": [ + { + "name": "Unknown", + "value": "Unknown", + "description": "The health state is not known or cannot be determined." + }, + { + "name": "Success", + "value": "Success", + "description": "The component is healthy and operating as expected." + }, + { + "name": "Failure", + "value": "Failure", + "description": "The component has failed and is not functioning properly." + }, + { + "name": "Warning", + "value": "Warning", + "description": "The component has a warning that may require attention but is still operational." + }, + { + "name": "Error", + "value": "Error", + "description": "The component has encountered an error affecting its functionality." + }, + { + "name": "InProgress", + "value": "InProgress", + "description": "The health evaluation or operation is currently in progress." + } + ] + } + } + }, + "parameters": { + "ClusterNameParameter": { + "name": "clusterName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the cluster.", + "x-ms-parameter-location": "method" + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/updates.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/updates.json new file mode 100644 index 000000000000..fc88287ae269 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/updates.json @@ -0,0 +1,769 @@ +{ + "swagger": "2.0", + "info": { + "version": "2025-11-01-preview", + "title": "AzureStackHCI", + "description": "Azure Stack HCI management service" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Microsoft Entra ID OAuth 2.0 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}/updates/{updateName}/apply": { + "post": { + "operationId": "Updates_Post", + "description": "Apply Update", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ClusterNameParameter" + }, + { + "$ref": "#/parameters/UpdateNameParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "202": { + "description": "ACCEPTED", + "headers": { + "Azure-AsyncOperation": { + "description": "URL to query for status of the operation.", + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List available updates": { + "$ref": "./examples/PostUpdates.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}/updates": { + "get": { + "operationId": "Updates_List", + "description": "List all Updates", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ClusterNameParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/UpdateList" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List available updates": { + "$ref": "./examples/ListUpdates.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}/updates/{updateName}": { + "delete": { + "operationId": "Updates_Delete", + "description": "Delete specified Update", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ClusterNameParameter" + }, + { + "$ref": "#/parameters/UpdateNameParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "202": { + "description": "ACCEPTED", + "headers": { + "Azure-AsyncOperation": { + "description": "URL to query for status of the operation.", + "type": "string" + } + } + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-examples": { + "Delete an Update": { + "$ref": "./examples/DeleteUpdates.json" + } + } + }, + "put": { + "operationId": "Updates_Put", + "description": "Put specified Update", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ClusterNameParameter" + }, + { + "$ref": "#/parameters/UpdateNameParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "updateProperties", + "in": "body", + "description": "Properties of the Updates object", + "required": true, + "schema": { + "$ref": "#/definitions/Update" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Update" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Put a specific update": { + "$ref": "./examples/PutUpdates.json" + } + } + }, + "get": { + "operationId": "Updates_Get", + "description": "Get specified Update", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ClusterNameParameter" + }, + { + "$ref": "#/parameters/UpdateNameParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Update" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get a specific update": { + "$ref": "./examples/GetUpdates.json" + } + } + } + } + }, + "definitions": { + "UpdateList": { + "description": "List of Updates", + "type": "object", + "properties": { + "value": { + "description": "List of Updates", + "type": "array", + "items": { + "$ref": "#/definitions/Update" + } + }, + "nextLink": { + "description": "Link to the next set of results.", + "type": "string", + "readOnly": true + } + } + }, + "UpdatePrerequisite": { + "description": "If update State is HasPrerequisite, this property contains an array of objects describing prerequisite updates before installing this update. Otherwise, it is empty.", + "type": "object", + "properties": { + "updateType": { + "description": "Updatable component type.", + "type": "string" + }, + "version": { + "description": "Version of the prerequisite.", + "type": "string" + }, + "packageName": { + "description": "Friendly name of the prerequisite.", + "type": "string" + } + } + }, + "Update": { + "description": "Update details", + "type": "object", + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ], + "properties": { + "location": { + "type": "string", + "x-ms-mutability": [ + "read", + "create" + ], + "description": "The geo-location where the resource lives" + }, + "properties": { + "description": "Update properties", + "type": "object", + "$ref": "#/definitions/UpdateProperties", + "x-ms-client-flatten": true + } + } + }, + "UpdateProperties": { + "description": "Details of a singular Update in HCI Cluster", + "type": "object", + "properties": { + "provisioningState": { + "description": "Provisioning state of the Updates proxy resource. Indicates the current lifecycle status of the update operation, such as whether it has been accepted, is in progress, or has completed.", + "type": "string", + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "Accepted", + "Provisioning" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "The update operation completed successfully." + }, + { + "name": "Failed", + "value": "Failed", + "description": "The update operation failed." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "The update operation was canceled before completion." + }, + { + "name": "Accepted", + "value": "Accepted", + "description": "The update operation has been accepted and is pending execution." + }, + { + "name": "Provisioning", + "value": "Provisioning", + "description": "The update operation is currently being provisioned." + } + ] + }, + "readOnly": true + }, + "installedDate": { + "description": "Date that the update was installed.", + "type": "string", + "format": "date-time" + }, + "description": { + "description": "Description of the update.", + "type": "string" + }, + "minSbeVersionRequired": { + "description": "Minimum Sbe Version of the update.", + "type": "string" + }, + "state": { + "description": "Represents the current state of the update as it relates to this stamp. This includes phases such as preparation, installation, scanning, and error handling, providing insight into the update's progress and any issues encountered.", + "type": "string", + "enum": [ + "HasPrerequisite", + "Obsolete", + "Ready", + "NotApplicableBecauseAnotherUpdateIsInProgress", + "Preparing", + "Installing", + "Installed", + "PreparationFailed", + "InstallationFailed", + "Invalid", + "Recalled", + "Downloading", + "DownloadFailed", + "HealthChecking", + "HealthCheckFailed", + "ReadyToInstall", + "ScanInProgress", + "ScanFailed", + "AdditionalContentRequired" + ], + "x-ms-enum": { + "name": "state", + "modelAsString": true, + "values": [ + { + "name": "HasPrerequisite", + "value": "HasPrerequisite", + "description": "The update has prerequisites that must be fulfilled before it can proceed." + }, + { + "name": "Obsolete", + "value": "Obsolete", + "description": "The update is obsolete and no longer applicable." + }, + { + "name": "Ready", + "value": "Ready", + "description": "The update is ready to be installed." + }, + { + "name": "NotApplicableBecauseAnotherUpdateIsInProgress", + "value": "NotApplicableBecauseAnotherUpdateIsInProgress", + "description": "The update cannot be applied because another update is currently in progress." + }, + { + "name": "Preparing", + "value": "Preparing", + "description": "The update is currently in the preparation phase." + }, + { + "name": "Installing", + "value": "Installing", + "description": "The update is currently being installed." + }, + { + "name": "Installed", + "value": "Installed", + "description": "The update has been successfully installed." + }, + { + "name": "PreparationFailed", + "value": "PreparationFailed", + "description": "The update preparation phase failed." + }, + { + "name": "InstallationFailed", + "value": "InstallationFailed", + "description": "The update installation failed." + }, + { + "name": "Invalid", + "value": "Invalid", + "description": "The update is invalid and cannot be applied." + }, + { + "name": "Recalled", + "value": "Recalled", + "description": "The update has been recalled and should not be applied." + }, + { + "name": "Downloading", + "value": "Downloading", + "description": "The update is currently being downloaded." + }, + { + "name": "DownloadFailed", + "value": "DownloadFailed", + "description": "The update download failed." + }, + { + "name": "HealthChecking", + "value": "HealthChecking", + "description": "A health check is being performed before applying the update." + }, + { + "name": "HealthCheckFailed", + "value": "HealthCheckFailed", + "description": "The health check failed, preventing the update from proceeding." + }, + { + "name": "ReadyToInstall", + "value": "ReadyToInstall", + "description": "The update is ready to be installed after successful preparation and checks." + }, + { + "name": "ScanInProgress", + "value": "ScanInProgress", + "description": "The system is scanning for updates." + }, + { + "name": "ScanFailed", + "value": "ScanFailed", + "description": "The scan for updates failed." + }, + { + "name": "AdditionalContentRequired", + "value": "AdditionalContentRequired", + "description": "Additional content is required to proceed with the update." + } + ] + } + }, + "prerequisites": { + "description": "If update State is HasPrerequisite, this property contains an array of objects describing prerequisite updates before installing this update. Otherwise, it is empty.", + "type": "array", + "items": { + "$ref": "#/definitions/UpdatePrerequisite" + }, + "x-ms-identifiers": [ + "packageName" + ] + }, + "componentVersions": { + "description": "An array of component versions for a Solution Bundle update, and an empty array otherwise. ", + "type": "array", + "items": { + "$ref": "#/definitions/PackageVersionInfo" + }, + "x-ms-client-flatten": true, + "x-ms-identifiers": [ + "version" + ] + }, + "rebootRequired": { + "type": "object", + "$ref": "#/definitions/RebootRequirement", + "x-ms-client-flatten": true + }, + "healthState": { + "description": "Overall health state for update-specific health checks.", + "type": "object", + "$ref": "#/definitions/HealthState", + "x-ms-client-flatten": true + }, + "healthCheckResult": { + "description": "An array of PrecheckResult objects.", + "type": "array", + "items": { + "$ref": "./hciCommon.json#/definitions/PrecheckResult" + }, + "x-ms-client-flatten": true + }, + "healthCheckDate": { + "description": "Last time the package-specific checks were run.", + "type": "string", + "format": "date-time" + }, + "packagePath": { + "description": "Path where the update package is available.", + "type": "string" + }, + "packageSizeInMb": { + "description": "Size of the package. This value is a combination of the size from update metadata and size of the payload that results from the live scan operation for OS update content.", + "type": "number" + }, + "displayName": { + "description": "Display name of the Update", + "type": "string" + }, + "version": { + "description": "Version of the update.", + "type": "string" + }, + "publisher": { + "description": "Publisher of the update package.", + "type": "string" + }, + "releaseLink": { + "description": "Link to release notes for the update.", + "type": "string" + }, + "availabilityType": { + "description": "Indicates how the update content is made available for download. This determines whether the update is sourced locally, from an online repository, or requires user notification.", + "type": "string", + "enum": [ + "Local", + "Online", + "Notify" + ], + "x-ms-enum": { + "name": "availabilityType", + "modelAsString": true, + "values": [ + { + "name": "Local", + "value": "Local", + "description": "The update content is available locally within the environment." + }, + { + "name": "Online", + "value": "Online", + "description": "The update content is available from an online source." + }, + { + "name": "Notify", + "value": "Notify", + "description": "The system will notify the user when update content becomes available." + } + ] + } + }, + "packageType": { + "description": "Customer-visible type of the update.", + "type": "string" + }, + "additionalProperties": { + "description": "Extensible KV pairs serialized as a string. This is currently used to report the stamp OEM family and hardware model information when an update is flagged as Invalid for the stamp based on OEM type.", + "type": "string" + }, + "updateStateProperties": { + "description": "Additional information regarding the state of the update. See definition of UpdateStateProperties type below for more details on this property.", + "type": "object", + "$ref": "#/definitions/UpdateStateProperties", + "x-ms-client-flatten": true + } + } + }, + "UpdateStateProperties": { + "description": "Additional information regarding the state of the update. See definition of UpdateStateProperties type below for more details on this property.", + "type": "object", + "properties": { + "progressPercentage": { + "description": "Progress percentage of ongoing operation. Currently this property is only valid when the update is in the Downloading state, where it maps to how much of the update content has been downloaded.", + "type": "number" + }, + "notifyMessage": { + "description": "Brief message with instructions for updates of AvailabilityType Notify.", + "type": "string" + } + } + }, + "PackageVersionInfo": { + "description": "Current version of each updatable component.", + "type": "object", + "properties": { + "packageType": { + "description": "Package type", + "type": "string" + }, + "version": { + "description": "Package version", + "type": "string" + }, + "lastUpdated": { + "description": "Last time this component was updated.", + "type": "string", + "format": "date-time" + } + } + }, + "RebootRequirement": { + "type": "string", + "description": "Indicates whether a reboot is required after the update or operation. Helps determine if a system restart is necessary to complete the process.", + "enum": [ + "Unknown", + "True", + "False" + ], + "x-ms-enum": { + "name": "RebootRequirement", + "modelAsString": true, + "values": [ + { + "name": "Unknown", + "value": "Unknown", + "description": "It is not known whether a reboot is required." + }, + { + "name": "True", + "value": "True", + "description": "A reboot is required to complete the operation." + }, + { + "name": "False", + "value": "False", + "description": "No reboot is required after the operation." + } + ] + } + }, + "HealthState": { + "type": "string", + "description": "Overall health state for update-specific health checks. Indicates whether the system is functioning correctly, has warnings or errors, or is undergoing a health evaluation.", + "enum": [ + "Unknown", + "Success", + "Failure", + "Warning", + "Error", + "InProgress" + ], + "x-ms-enum": { + "name": "HealthState", + "modelAsString": true, + "values": [ + { + "name": "Unknown", + "value": "Unknown", + "description": "The health state is not known or cannot be determined." + }, + { + "name": "Success", + "value": "Success", + "description": "The health check completed successfully and the system is healthy." + }, + { + "name": "Failure", + "value": "Failure", + "description": "The health check failed, indicating a critical issue." + }, + { + "name": "Warning", + "value": "Warning", + "description": "The health check detected a non-critical issue that may require attention." + }, + { + "name": "Error", + "value": "Error", + "description": "An error occurred during the health check process." + }, + { + "name": "InProgress", + "value": "InProgress", + "description": "The health check is currently in progress." + } + ] + } + } + }, + "parameters": { + "ClusterNameParameter": { + "name": "clusterName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the cluster.", + "x-ms-parameter-location": "method" + }, + "UpdateNameParameter": { + "name": "updateName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Update", + "x-ms-parameter-location": "method" + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/validatedSolutionRecipes.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/validatedSolutionRecipes.json new file mode 100644 index 000000000000..04985965bf7f --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/preview/2025-11-01-preview/validatedSolutionRecipes.json @@ -0,0 +1,396 @@ +{ + "swagger": "2.0", + "info": { + "title": "Microsoft.AzureStackHCI", + "version": "2025-11-01-preview", + "description": "Azure Stack HCI service" + }, + "schemes": [ + "https" + ], + "host": "management.azure.com", + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "description": "Microsoft Entra ID OAuth 2.0 Flow.", + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "tags": [ + { + "name": "ValidatedSolutionRecipes" + } + ], + "paths": { + "/subscriptions/{subscriptionId}/providers/Microsoft.AzureStackHCI/locations/{location}/validatedSolutionRecipes": { + "get": { + "operationId": "ValidatedSolutionRecipes_ListBySubscriptionLocationResource", + "tags": [ + "ValidatedSolutionRecipes" + ], + "description": "List all validated solution recipes.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/LocationParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ValidatedSolutionRecipeListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ValidatedSolutionRecipes_ListBySubscriptionLocationResource": { + "$ref": "./examples/ValidatedSolutionRecipes_ListBySubscriptionLocationResource.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.AzureStackHCI/locations/{location}/validatedSolutionRecipes/{validatedSolutionRecipeName}": { + "get": { + "operationId": "ValidatedSolutionRecipes_Get", + "tags": [ + "ValidatedSolutionRecipes" + ], + "description": "Get a validated solution recipe.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/LocationParameter" + }, + { + "name": "validatedSolutionRecipeName", + "in": "path", + "description": "The name of the ValidatedSolutionRecipe", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9-.]{3,50}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ValidatedSolutionRecipe" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ValidatedSolutionRecipes_Get": { + "$ref": "./examples/ValidatedSolutionRecipes_Get.json" + } + } + } + } + }, + "definitions": { + "ValidatedSolutionRecipe": { + "type": "object", + "description": "Represents a validated solution recipe resource.", + "properties": { + "properties": { + "$ref": "#/definitions/ValidatedSolutionRecipeProperties", + "description": "The resource-specific properties for this resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + ] + }, + "ValidatedSolutionRecipeCapabilities": { + "type": "object", + "description": "Represents capabilities available in a validated solution recipe.", + "properties": { + "clusterCapabilities": { + "type": "array", + "description": "Represents the cluster capabilities.", + "items": { + "$ref": "#/definitions/ValidatedSolutionRecipeCapability" + }, + "x-ms-identifiers": [] + }, + "nodeCapabilities": { + "type": "array", + "description": "Represents the node capabilities.", + "items": { + "$ref": "#/definitions/ValidatedSolutionRecipeCapability" + }, + "x-ms-identifiers": [] + } + }, + "required": [ + "clusterCapabilities", + "nodeCapabilities" + ] + }, + "ValidatedSolutionRecipeCapability": { + "type": "object", + "description": "Represents capability available in a validated solution recipe.", + "properties": { + "capabilityName": { + "type": "string", + "description": "Represents the capability name." + } + }, + "required": [ + "capabilityName" + ] + }, + "ValidatedSolutionRecipeComponent": { + "type": "object", + "description": "Represents component available in a validated solution recipe.", + "properties": { + "name": { + "type": "string", + "description": "Represents the component's name." + }, + "type": { + "type": "string", + "description": "Represents the component's type." + }, + "requiredVersion": { + "type": "string", + "description": "Represents the component's required version." + }, + "installOrder": { + "type": "integer", + "format": "int64", + "description": "Represents the component's install order." + }, + "tags": { + "type": "array", + "description": "Represents the component's tags.", + "items": { + "type": "string" + } + }, + "payloads": { + "type": "array", + "description": "Represents the component's payloads.", + "items": { + "$ref": "#/definitions/ValidatedSolutionRecipeComponentPayload" + }, + "x-ms-identifiers": [] + }, + "metadata": { + "$ref": "#/definitions/ValidatedSolutionRecipeComponentMetadata", + "description": "Represents the component's metadata." + } + }, + "required": [ + "name", + "type", + "tags" + ] + }, + "ValidatedSolutionRecipeComponentMetadata": { + "type": "object", + "description": "Represents metadata associated with a component available in a validated solution recipe.", + "properties": { + "extensionType": { + "type": "string", + "description": "Represents the type of extension." + }, + "publisher": { + "type": "string", + "description": "Represents the publisher of the extension." + }, + "enableAutomaticUpgrade": { + "type": "boolean", + "description": "Indicates whether automatic upgrades of the extension are enabled." + }, + "lcmUpdate": { + "type": "boolean", + "description": "Indicates whether the LCM (Lifecycle Management) update of the extension is enabled." + }, + "catalog": { + "type": "string", + "description": "Specifies the catalog to which the extension belongs." + }, + "ring": { + "type": "string", + "description": "Specifies the ring to which the extension belongs, internally used by component." + }, + "releaseTrain": { + "type": "string", + "description": "Specifies the release train to which given component belongs." + }, + "link": { + "type": "string", + "description": "Specifies the link associated with the extension." + }, + "name": { + "type": "string", + "description": "Specifies the name of the extension." + }, + "expectedHash": { + "type": "string", + "description": "Specifies the expected hash of the extension." + }, + "previewSource": { + "type": "string", + "description": "Specifies the preview source of the extension." + } + } + }, + "ValidatedSolutionRecipeComponentPayload": { + "type": "object", + "description": "Represents payloads associated with a component available in a validated solution recipe.", + "properties": { + "identifier": { + "type": "string", + "description": "Represents the unique identifier of the payload used to query the URL." + }, + "hash": { + "type": "string", + "description": "Represents the cryptographic hash of the payload, ensuring data integrity." + }, + "fileName": { + "type": "string", + "description": "Represents the name of the file associated with the payload." + }, + "url": { + "type": "string", + "description": "Represents the URL from which the payload can be downloaded." + } + }, + "required": [ + "identifier", + "hash", + "fileName", + "url" + ] + }, + "ValidatedSolutionRecipeContent": { + "type": "object", + "description": "Represents contents of a validated solution recipe resource.", + "properties": { + "info": { + "$ref": "#/definitions/ValidatedSolutionRecipeInfo", + "description": "Represents information about a validated solution recipe." + }, + "capabilities": { + "$ref": "#/definitions/ValidatedSolutionRecipeCapabilities", + "description": "Represents capabilities available in a validated solution recipe." + }, + "components": { + "type": "array", + "description": "Represents components available in a validated solution recipe.", + "items": { + "$ref": "#/definitions/ValidatedSolutionRecipeComponent" + }, + "x-ms-identifiers": [] + } + }, + "required": [ + "info", + "components" + ] + }, + "ValidatedSolutionRecipeInfo": { + "type": "object", + "description": "Represents information about a validated solution recipe.", + "properties": { + "solutionType": { + "type": "string", + "description": "Represents the solution type for which this validated solution recipe is applicable." + }, + "version": { + "type": "string", + "description": "Represents the version for which this validated solution recipe is applicable." + } + }, + "required": [ + "solutionType", + "version" + ] + }, + "ValidatedSolutionRecipeListResult": { + "type": "object", + "description": "The response of a ValidatedSolutionRecipe list operation.", + "properties": { + "value": { + "type": "array", + "description": "The ValidatedSolutionRecipe items on this page", + "items": { + "$ref": "#/definitions/ValidatedSolutionRecipe" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ValidatedSolutionRecipeProperties": { + "type": "object", + "description": "Represents properties of a validated solution recipe resource.", + "properties": { + "recipeContent": { + "$ref": "#/definitions/ValidatedSolutionRecipeContent", + "description": "Represents contents of a validated solution recipe." + }, + "signature": { + "type": "string", + "description": "Represents the signature of the recipe, to be used for ensuring its integrity." + } + }, + "required": [ + "recipeContent" + ] + } + }, + "parameters": {} +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/readme.md b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/readme.md index d34ceb054a12..7c870519dfcb 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/readme.md +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/readme.md @@ -29,7 +29,7 @@ title: AzureStackHCIClient description: Azure Stack HCI management service openapi-type: arm openapi-subtype: rpaas -tag: package-2025-10-01 +tag: package-preview-2025-11-01-preview directive: - from: edgeDevices.json @@ -97,6 +97,7 @@ suppressions: - arcSettings.json - clusters.json - extensions.json + - hci.json - operations.json - offers.json - publishers.json @@ -238,6 +239,30 @@ suppressions: reason: Making the body optional now would cause a breaking change in backward compatibility ``` +### Tag: package-preview-2025-11-01-preview + +These settings apply only when `--tag=package-preview-2025-11-01-preview` is specified on the command line. + +```yaml $(tag) == 'package-preview-2025-11-01-preview' +input-file: + - preview/2025-11-01-preview/arcSettings.json + - preview/2025-11-01-preview/clusters.json + - preview/2025-11-01-preview/deploymentSettings.json + - preview/2025-11-01-preview/edgeDeviceJobs.json + - preview/2025-11-01-preview/edgeDevices.json + - preview/2025-11-01-preview/extensions.json + - preview/2025-11-01-preview/hciCommon.json + - preview/2025-11-01-preview/offers.json + - preview/2025-11-01-preview/publishers.json + - preview/2025-11-01-preview/securitySettings.json + - preview/2025-11-01-preview/skus.json + - preview/2025-11-01-preview/updateRuns.json + - preview/2025-11-01-preview/updates.json + - preview/2025-11-01-preview/updateSummaries.json + - preview/2025-11-01-preview/validatedSolutionRecipes.json + - preview/2025-11-01-preview/hci.json +``` + ### Tag: package-2025-10-01 These settings apply only when `--tag=package-2025-10-01` is specified on the command line. diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/tspconfig.yaml b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/tspconfig.yaml new file mode 100644 index 000000000000..425d05b4c287 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/tspconfig.yaml @@ -0,0 +1,51 @@ +emit: + - "@azure-tools/typespec-autorest" +options: + "@azure-tools/typespec-autorest": + use-read-only-status-schema: true + emitter-output-dir: "{project-root}" + azure-resource-provider-folder: "resource-manager" + output-file: "{project-root}/{version-status}/{version}/hci.json" + arm-types-dir: "{project-root}/../../../../common-types/resource-management" + "@azure-tools/typespec-go": + service-dir: sdk/resourcemanager/azurestackhci + module: github.com/Azure/azure-sdk-for-go/{service-dir}/armazurestackhci + fix-const-stuttering: true #!!!IMPORTANT!!! To ensure the emitter correctly produces SDK, this configuration is added by Azure SDK Team. Some configurations use placeholder values. For modifications, please refer to https://aka.ms/azsdk/specs/typespec-validation#sdktspconfigvalidation + generate-samples: true #!!!IMPORTANT!!! To ensure the emitter correctly produces SDK, this configuration is added by Azure SDK Team. Some configurations use placeholder values. For modifications, please refer to https://aka.ms/azsdk/specs/typespec-validation#sdktspconfigvalidation + generate-fakes: true #!!!IMPORTANT!!! To ensure the emitter correctly produces SDK, this configuration is added by Azure SDK Team. Some configurations use placeholder values. For modifications, please refer to https://aka.ms/azsdk/specs/typespec-validation#sdktspconfigvalidation + head-as-boolean: true #!!!IMPORTANT!!! To ensure the emitter correctly produces SDK, this configuration is added by Azure SDK Team. Some configurations use placeholder values. For modifications, please refer to https://aka.ms/azsdk/specs/typespec-validation#sdktspconfigvalidation + inject-spans: true #!!!IMPORTANT!!! To ensure the emitter correctly produces SDK, this configuration is added by Azure SDK Team. Some configurations use placeholder values. For modifications, please refer to https://aka.ms/azsdk/specs/typespec-validation#sdktspconfigvalidation + flavor: "azure" #!!!IMPORTANT!!! To ensure the emitter correctly produces SDK, this configuration is added by Azure SDK Team. Some configurations use placeholder values. For modifications, please refer to https://aka.ms/azsdk/specs/typespec-validation#sdktspconfigvalidation + emitter-output-dir: "{output-dir}/{service-dir}/armazurestackhci" + "@azure-tools/typespec-python": + emitter-output-dir: "{output-dir}/{service-dir}/azure-mgmt-placeholder" #!!!IMPORTANT!!! To ensure the emitter correctly produces SDK, this configuration is added by Azure SDK Team. Some configurations use placeholder values. For modifications, please refer to https://aka.ms/azsdk/specs/typespec-validation#sdktspconfigvalidation + namespace: azure.mgmt.placeholder #!!!IMPORTANT!!! To ensure the emitter correctly produces SDK, this configuration is added by Azure SDK Team. Some configurations use placeholder values. For modifications, please refer to https://aka.ms/azsdk/specs/typespec-validation#sdktspconfigvalidation + generate-test: true #!!!IMPORTANT!!! To ensure the emitter correctly produces SDK, this configuration is added by Azure SDK Team. Some configurations use placeholder values. For modifications, please refer to https://aka.ms/azsdk/specs/typespec-validation#sdktspconfigvalidation + generate-sample: true #!!!IMPORTANT!!! To ensure the emitter correctly produces SDK, this configuration is added by Azure SDK Team. Some configurations use placeholder values. For modifications, please refer to https://aka.ms/azsdk/specs/typespec-validation#sdktspconfigvalidation + flavor: azure #!!!IMPORTANT!!! To ensure the emitter correctly produces SDK, this configuration is added by Azure SDK Team. Some configurations use placeholder values. For modifications, please refer to https://aka.ms/azsdk/specs/typespec-validation#sdktspconfigvalidation + "@azure-tools/typespec-java": + flavor: azure + namespace: com.azure.resourcemanager.azurestackhci + service-dir: "sdk/azurestackhci" + emitter-output-dir: "{output-dir}/{service-dir}/azure-resourcemanager-azurestackhci" + service-name: "AzureStackHCI" + "@azure-tools/typespec-csharp": + flavor: azure + namespace: "Azure.ResourceManager.StackHCI" + service-name: sdk/azurestackhci + emitter-output-dir: "{output-dir}/{service-dir}/{namespace}" + clear-output-folder: true + "@azure-tools/typespec-ts": + service-dir: "sdk/azurestackhci" + package-dir: "arm-azurestackhci" + emitter-output-dir: "{output-dir}/{service-dir}/{package-dir}" + flavor: azure + experimental-extensible-enums: true + package-details: + name: "@azure/arm-azurestackhci" +linter: + extends: + - "@azure-tools/typespec-azure-rulesets/resource-manager" +parameters: + service-dir: + default: sdk/placeholder #!!!IMPORTANT!!! To ensure the emitter correctly produces SDK, this configuration is added by Azure SDK Team. Some configurations use placeholder values. For modifications, please refer to https://aka.ms/azsdk/specs/typespec-validation#sdktspconfigvalidation diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/updateContents.tsp b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/updateContents.tsp new file mode 100644 index 000000000000..f77ee62fa759 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/updateContents.tsp @@ -0,0 +1,71 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "@typespec/http"; +import "@azure-tools/typespec-azure-resource-manager"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Versioning; + +@armProviderNamespace("Microsoft.AzureStackHCI") +namespace Microsoft.AzureStackHCI; + +@added(Versions.v2025_11_01_preview) +@doc("Represents a update content.") +@parentResource(SubscriptionLocationResource) +model UpdateContent + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = UpdateContent, + NamePattern = "^[a-zA-Z0-9-.]{3,50}$" + >; +} + +@added(Versions.v2025_11_01_preview) +@armResourceOperations +interface UpdateContents { + @doc("Gets content for an update.") + get is ArmResourceRead; + + @doc("List all update contents.") + list is ArmResourceListByParent< + UpdateContent, + BaseParameters = Azure.ResourceManager.Foundations.SubscriptionBaseParameters + >; +} + +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" +@added(Versions.v2025_11_01_preview) +@doc("Represents properties of a update content resource.") +model UpdateContentProperties { + @doc("Represents the payloads of a update content resource.") + @Azure.ResourceManager.identifiers(#[]) + updatePayloads: Array; +} + +@added(Versions.v2025_11_01_preview) +@doc("Represents details of a specific update content payload.") +model ContentPayload { + @doc("Represents url of a update payload.") + url?: string; + + @doc("Represents hash of a update payload.") + hash?: string; + + @doc("Represents hash algorithm of a update payload.") + hashAlgorithm?: string; + + @doc("Represents identifier of a update payload.") + identifier?: string; + + @doc("Represents size in bytes of a update payload.") + packageSizeInBytes?: string; + + @doc("Represents the group of a update payload.") + group?: string; + + @doc("Represents the file name of a update payload.") + fileName?: string; +} diff --git a/specification/azurestackhci/resource-manager/readme.md b/specification/azurestackhci/resource-manager/readme.md index a36734a911d3..19743a01480c 100644 --- a/specification/azurestackhci/resource-manager/readme.md +++ b/specification/azurestackhci/resource-manager/readme.md @@ -29,7 +29,7 @@ title: AzureStackHCIClient description: Azure Stack HCI management service openapi-type: arm openapi-subtype: rpaas -tag: package-2024-01 +tag: package-preview-2025-09-15-preview ``` ## Suppression @@ -83,6 +83,29 @@ suppressions: - edgeDevices.json ``` +### Tag: package-preview-2025-09-15-preview + +These settings apply only when `--tag=package-preview-2025-09-15-preview` is specified on the command line. + +```yaml $(tag) == 'package-preview-2025-09-15-preview' +input-file: + - Microsoft.AzureStackHCI/StackHCI//preview/2025-09-15-preview/arcSettings.json + - Microsoft.AzureStackHCI/StackHCI//preview/2025-09-15-preview/clusters.json + - Microsoft.AzureStackHCI/StackHCI//preview/2025-09-15-preview/deploymentSettings.json + - Microsoft.AzureStackHCI/StackHCI//preview/2025-09-15-preview/edgeDeviceJobs.json + - Microsoft.AzureStackHCI/StackHCI//preview/2025-09-15-preview/edgeDevices.json + - Microsoft.AzureStackHCI/StackHCI//preview/2025-09-15-preview/extensions.json + - Microsoft.AzureStackHCI/StackHCI//preview/2025-09-15-preview/hciCommon.json + - Microsoft.AzureStackHCI/StackHCI//preview/2025-09-15-preview/offers.json + - Microsoft.AzureStackHCI/StackHCI//preview/2025-09-15-preview/publishers.json + - Microsoft.AzureStackHCI/StackHCI//preview/2025-09-15-preview/securitySettings.json + - Microsoft.AzureStackHCI/StackHCI//preview/2025-09-15-preview/skus.json + - Microsoft.AzureStackHCI/StackHCI//preview/2025-09-15-preview/updateRuns.json + - Microsoft.AzureStackHCI/StackHCI//preview/2025-09-15-preview/updates.json + - Microsoft.AzureStackHCI/StackHCI//preview/2025-09-15-preview/updateSummaries.json + - Microsoft.AzureStackHCI/StackHCI//preview/2025-09-15-preview/validatedSolutionRecipes.json +``` + ### Tag: package-preview-2024-02 These settings apply only when `--tag=package-preview-2024-02` is specified on the command line. diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/EdgeActions/examples/2025-09-01-preview/EdgeActionExecutionFilters_Create.json b/specification/cdn/resource-manager/Microsoft.Cdn/EdgeActions/examples/2025-09-01-preview/EdgeActionExecutionFilters_Create.json index 2609c9c9bef5..515fa0fea845 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/EdgeActions/examples/2025-09-01-preview/EdgeActionExecutionFilters_Create.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/EdgeActions/examples/2025-09-01-preview/EdgeActionExecutionFilters_Create.json @@ -27,7 +27,7 @@ "versionId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/testrg/providers/Microsoft.Cdn/EdgeActions/edgeAction1/versions/version1", "executionFilterIdentifierHeaderName": "header-key", "executionFilterIdentifierHeaderValue": "header-value", - "provisioningState": "Accepted", + "provisioningState": "Succeeded", "lastUpdateTime": "2024-04-25T15:19:23Z" } } diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/EdgeActions/examples/2025-09-01-preview/EdgeActionVersions_Create.json b/specification/cdn/resource-manager/Microsoft.Cdn/EdgeActions/examples/2025-09-01-preview/EdgeActionVersions_Create.json index 8827fcd69ff7..2555fa60c581 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/EdgeActions/examples/2025-09-01-preview/EdgeActionVersions_Create.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/EdgeActions/examples/2025-09-01-preview/EdgeActionVersions_Create.json @@ -23,7 +23,7 @@ "type": "Microsoft.Cdn/edgeActions/versions", "location": "global", "properties": { - "provisioningState": "Accepted", + "provisioningState": "Succeeded", "deploymentType": "zip", "validationStatus": "Succeeded", "isDefaultVersion": "True", diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/EdgeActions/examples/2025-09-01-preview/EdgeActions_Create.json b/specification/cdn/resource-manager/Microsoft.Cdn/EdgeActions/examples/2025-09-01-preview/EdgeActions_Create.json index 065d0d130ae7..c3619e690588 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/EdgeActions/examples/2025-09-01-preview/EdgeActions_Create.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/EdgeActions/examples/2025-09-01-preview/EdgeActions_Create.json @@ -26,7 +26,7 @@ "tier": "Standard" }, "properties": { - "provisioningState": "Accepted", + "provisioningState": "Succeeded", "attachments": [] } } diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/EdgeActions/examples/2025-09-01-preview/EdgeActions_ListByResourceGroup.json b/specification/cdn/resource-manager/Microsoft.Cdn/EdgeActions/examples/2025-09-01-preview/EdgeActions_ListByResourceGroup.json index b421fc18b53a..cbb237a52fbc 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/EdgeActions/examples/2025-09-01-preview/EdgeActions_ListByResourceGroup.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/EdgeActions/examples/2025-09-01-preview/EdgeActions_ListByResourceGroup.json @@ -30,8 +30,8 @@ "type": "Microsoft.Cdn/edgeActions", "location": "global", "sku": { - "name": "Basic", - "tier": "Basic" + "name": "Standard", + "tier": "Standard" }, "properties": { "provisioningState": "Succeeded", diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/EdgeActions/examples/2025-09-01-preview/EdgeActions_ListBySubscription.json b/specification/cdn/resource-manager/Microsoft.Cdn/EdgeActions/examples/2025-09-01-preview/EdgeActions_ListBySubscription.json index ba196ad75383..5d0922451de9 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/EdgeActions/examples/2025-09-01-preview/EdgeActions_ListBySubscription.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/EdgeActions/examples/2025-09-01-preview/EdgeActions_ListBySubscription.json @@ -29,8 +29,8 @@ "type": "Microsoft.Cdn/edgeActions", "location": "global", "sku": { - "name": "Basic", - "tier": "Basic" + "name": "Standard", + "tier": "Standard" }, "properties": { "provisioningState": "Succeeded", diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/EdgeActions/examples/2025-09-01-preview/EdgeActions_Update.json b/specification/cdn/resource-manager/Microsoft.Cdn/EdgeActions/examples/2025-09-01-preview/EdgeActions_Update.json index b3df6b5c95f4..b9907af4bef7 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/EdgeActions/examples/2025-09-01-preview/EdgeActions_Update.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/EdgeActions/examples/2025-09-01-preview/EdgeActions_Update.json @@ -8,7 +8,7 @@ "edgeActionName": "edgeAction1", "properties": { "sku": { - "name": "Basic", + "name": "Standard", "tier": "Standard" } } @@ -21,7 +21,7 @@ "type": "Microsoft.Cdn/edgeActions", "location": "global", "sku": { - "name": "Basic", + "name": "Standard", "tier": "Standard" }, "properties": { diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/EdgeActions/preview/2025-09-01-preview/examples/EdgeActionExecutionFilters_Create.json b/specification/cdn/resource-manager/Microsoft.Cdn/EdgeActions/preview/2025-09-01-preview/examples/EdgeActionExecutionFilters_Create.json index 2609c9c9bef5..515fa0fea845 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/EdgeActions/preview/2025-09-01-preview/examples/EdgeActionExecutionFilters_Create.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/EdgeActions/preview/2025-09-01-preview/examples/EdgeActionExecutionFilters_Create.json @@ -27,7 +27,7 @@ "versionId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/testrg/providers/Microsoft.Cdn/EdgeActions/edgeAction1/versions/version1", "executionFilterIdentifierHeaderName": "header-key", "executionFilterIdentifierHeaderValue": "header-value", - "provisioningState": "Accepted", + "provisioningState": "Succeeded", "lastUpdateTime": "2024-04-25T15:19:23Z" } } diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/EdgeActions/preview/2025-09-01-preview/examples/EdgeActionVersions_Create.json b/specification/cdn/resource-manager/Microsoft.Cdn/EdgeActions/preview/2025-09-01-preview/examples/EdgeActionVersions_Create.json index 8827fcd69ff7..2555fa60c581 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/EdgeActions/preview/2025-09-01-preview/examples/EdgeActionVersions_Create.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/EdgeActions/preview/2025-09-01-preview/examples/EdgeActionVersions_Create.json @@ -23,7 +23,7 @@ "type": "Microsoft.Cdn/edgeActions/versions", "location": "global", "properties": { - "provisioningState": "Accepted", + "provisioningState": "Succeeded", "deploymentType": "zip", "validationStatus": "Succeeded", "isDefaultVersion": "True", diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/EdgeActions/preview/2025-09-01-preview/examples/EdgeActionsExecutionFilters_Create.json b/specification/cdn/resource-manager/Microsoft.Cdn/EdgeActions/preview/2025-09-01-preview/examples/EdgeActionsExecutionFilters_Create.json index d551db43cb79..bf4003702796 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/EdgeActions/preview/2025-09-01-preview/examples/EdgeActionsExecutionFilters_Create.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/EdgeActions/preview/2025-09-01-preview/examples/EdgeActionsExecutionFilters_Create.json @@ -27,7 +27,7 @@ "versionId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/testrg/providers/Microsoft.Cdn/EdgeActions/edgeAction1/versions/version1", "executionFilterIdentifierHeaderName": "header-key", "executionFilterIdentifierHeaderValue": "header-value", - "provisioningState": "Accepted", + "provisioningState": "Succeeded", "lastUpdateTime": "2024-04-25T15:19:23Z" } } diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/EdgeActions/preview/2025-09-01-preview/examples/EdgeActionsVersions_Create.json b/specification/cdn/resource-manager/Microsoft.Cdn/EdgeActions/preview/2025-09-01-preview/examples/EdgeActionsVersions_Create.json index 21e8df7b5b8f..b3293b8c2240 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/EdgeActions/preview/2025-09-01-preview/examples/EdgeActionsVersions_Create.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/EdgeActions/preview/2025-09-01-preview/examples/EdgeActionsVersions_Create.json @@ -23,7 +23,7 @@ "type": "Microsoft.Cdn/edgeActions/versions", "location": "global", "properties": { - "provisioningState": "Accepted", + "provisioningState": "Succeeded", "deploymentType": "zip", "validationStatus": "Succeeded", "isDefaultVersion": "True", diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/EdgeActions/preview/2025-09-01-preview/examples/EdgeActions_Create.json b/specification/cdn/resource-manager/Microsoft.Cdn/EdgeActions/preview/2025-09-01-preview/examples/EdgeActions_Create.json index 065d0d130ae7..c3619e690588 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/EdgeActions/preview/2025-09-01-preview/examples/EdgeActions_Create.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/EdgeActions/preview/2025-09-01-preview/examples/EdgeActions_Create.json @@ -26,7 +26,7 @@ "tier": "Standard" }, "properties": { - "provisioningState": "Accepted", + "provisioningState": "Succeeded", "attachments": [] } } diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/EdgeActions/preview/2025-09-01-preview/examples/EdgeActions_ListByResourceGroup.json b/specification/cdn/resource-manager/Microsoft.Cdn/EdgeActions/preview/2025-09-01-preview/examples/EdgeActions_ListByResourceGroup.json index b421fc18b53a..cbb237a52fbc 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/EdgeActions/preview/2025-09-01-preview/examples/EdgeActions_ListByResourceGroup.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/EdgeActions/preview/2025-09-01-preview/examples/EdgeActions_ListByResourceGroup.json @@ -30,8 +30,8 @@ "type": "Microsoft.Cdn/edgeActions", "location": "global", "sku": { - "name": "Basic", - "tier": "Basic" + "name": "Standard", + "tier": "Standard" }, "properties": { "provisioningState": "Succeeded", diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/EdgeActions/preview/2025-09-01-preview/examples/EdgeActions_ListBySubscription.json b/specification/cdn/resource-manager/Microsoft.Cdn/EdgeActions/preview/2025-09-01-preview/examples/EdgeActions_ListBySubscription.json index ba196ad75383..5d0922451de9 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/EdgeActions/preview/2025-09-01-preview/examples/EdgeActions_ListBySubscription.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/EdgeActions/preview/2025-09-01-preview/examples/EdgeActions_ListBySubscription.json @@ -29,8 +29,8 @@ "type": "Microsoft.Cdn/edgeActions", "location": "global", "sku": { - "name": "Basic", - "tier": "Basic" + "name": "Standard", + "tier": "Standard" }, "properties": { "provisioningState": "Succeeded", diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/EdgeActions/preview/2025-09-01-preview/examples/EdgeActions_Update.json b/specification/cdn/resource-manager/Microsoft.Cdn/EdgeActions/preview/2025-09-01-preview/examples/EdgeActions_Update.json index b3df6b5c95f4..b9907af4bef7 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/EdgeActions/preview/2025-09-01-preview/examples/EdgeActions_Update.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/EdgeActions/preview/2025-09-01-preview/examples/EdgeActions_Update.json @@ -8,7 +8,7 @@ "edgeActionName": "edgeAction1", "properties": { "sku": { - "name": "Basic", + "name": "Standard", "tier": "Standard" } } @@ -21,7 +21,7 @@ "type": "Microsoft.Cdn/edgeActions", "location": "global", "sku": { - "name": "Basic", + "name": "Standard", "tier": "Standard" }, "properties": { diff --git a/specification/cloudhealth/CloudHealth.Management/client.tsp b/specification/cloudhealth/CloudHealth.Management/client.tsp index 88fea9c0bd54..80550554badc 100644 --- a/specification/cloudhealth/CloudHealth.Management/client.tsp +++ b/specification/cloudhealth/CloudHealth.Management/client.tsp @@ -46,3 +46,5 @@ using Microsoft.CloudHealth; @@clientName(SignalGroup, "EntitySignalGroup", "csharp"); @@clientName(SignalKind, "EntitySignalKind", "csharp"); @@clientName(SignalOperator, "EntitySignalOperator", "csharp"); + +@@clientName(SignalOperator.Equals, "EqualsValue", "csharp"); diff --git a/specification/cloudhealth/CloudHealth.Management/tspconfig.yaml b/specification/cloudhealth/CloudHealth.Management/tspconfig.yaml index 3b6930dc36f4..2238a3b9ef6a 100644 --- a/specification/cloudhealth/CloudHealth.Management/tspconfig.yaml +++ b/specification/cloudhealth/CloudHealth.Management/tspconfig.yaml @@ -24,10 +24,7 @@ options: flavor: "azure" generate-test: true generate-sample: true - "@azure-tools/typespec-csharp": - flavor: azure - clear-output-folder: true - model-namespace: false + "@azure-typespec/http-client-csharp-mgmt": namespace: "Azure.ResourceManager.CloudHealth" emitter-output-dir: "{output-dir}/{service-dir}/{namespace}" "@azure-tools/typespec-go": diff --git a/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/preview/2025-04-01-preview/cognitiveservices.json b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/preview/2025-04-01-preview/cognitiveservices.json index f76a0a19e808..3faa44a9ffc3 100644 --- a/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/preview/2025-04-01-preview/cognitiveservices.json +++ b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/preview/2025-04-01-preview/cognitiveservices.json @@ -4523,6 +4523,54 @@ } } }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/capabilityHosts": { + "get": { + "tags": [ + "AccountCapabilityHost" + ], + "summary": "List capabilityHost.", + "operationId": "AccountCapabilityHosts_List", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/accountNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/CapabilityHostResourceArmPaginatedResult" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ListAccountCapabilityHost": { + "$ref": "./examples/AccountCapabilityHost/list.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/capabilityHosts/{capabilityHostName}": { "delete": { "tags": [ @@ -4718,6 +4766,58 @@ } } }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/projects/{projectName}/capabilityHosts": { + "get": { + "tags": [ + "ProjectCapabilityHost" + ], + "summary": "List capabilityHost.", + "description": "Lists all project capabilityHosts.", + "operationId": "ProjectCapabilityHosts_List", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/accountNameParameter" + }, + { + "$ref": "#/parameters/projectNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/ProjectCapabilityHostResourceArmPaginatedResult" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List Project CapabilityHosts.": { + "$ref": "./examples/ProjectCapabilityHost/list.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/projects/{projectName}/capabilityHosts/{capabilityHostName}": { "delete": { "tags": [ @@ -4823,7 +4923,7 @@ "200": { "description": "Success", "schema": { - "$ref": "#/definitions/CapabilityHostResource" + "$ref": "#/definitions/ProjectCapabilityHostResource" } }, "default": { @@ -4876,7 +4976,7 @@ "description": "CapabilityHost definition.", "required": true, "schema": { - "$ref": "#/definitions/CapabilityHostResource" + "$ref": "#/definitions/ProjectCapabilityHostResource" } } ], @@ -4884,13 +4984,13 @@ "200": { "description": "Create or update request is successful.", "schema": { - "$ref": "#/definitions/CapabilityHostResource" + "$ref": "#/definitions/ProjectCapabilityHostResource" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/CapabilityHostResource" + "$ref": "#/definitions/ProjectCapabilityHostResource" }, "headers": { "x-ms-async-operation-timeout": { @@ -8657,6 +8757,46 @@ } } }, + "CapabilityHostResourceArmPaginatedResult": { + "description": "A paginated list of Capability Host entities.", + "type": "object", + "properties": { + "nextLink": { + "description": "The link to the next page of Capability Host objects. If null, there are no additional pages.", + "type": "string", + "x-nullable": true + }, + "value": { + "description": "An array of objects of type Capability Host.", + "type": "array", + "items": { + "$ref": "#/definitions/CapabilityHostResource" + }, + "x-nullable": true + } + }, + "additionalProperties": false + }, + "ProjectCapabilityHostResourceArmPaginatedResult": { + "description": "A paginated list of Project Capability Host entities.", + "type": "object", + "properties": { + "nextLink": { + "description": "The link to the next page of Project Capability Host objects. If null, there are no additional pages.", + "type": "string", + "x-nullable": true + }, + "value": { + "description": "An array of objects of type Project Capability Host.", + "type": "array", + "items": { + "$ref": "#/definitions/ProjectCapabilityHostResource" + }, + "x-nullable": true + } + }, + "additionalProperties": false + }, "CapabilityHostResource": { "description": "Azure Resource Manager resource envelope.", "required": [ @@ -8793,6 +8933,73 @@ }, "additionalProperties": false }, + "ProjectCapabilityHostResource": { + "description": "Azure Resource Manager resource envelope for Project CapabilityHost.", + "required": [ + "properties" + ], + "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "description": "[Required] Additional attributes of the entity.", + "$ref": "#/definitions/ProjectCapabilityHost" + } + }, + "x-ms-client-name": "ProjectCapabilityHost", + "additionalProperties": false + }, + "ProjectCapabilityHost": { + "type": "object", + "properties": { + "aiServicesConnections": { + "description": "List of AI services connections.", + "type": "array", + "items": { + "type": "string" + }, + "x-nullable": true + }, + "vectorStoreConnections": { + "description": "List of connection names from those available in the account or project to be used for vector database (e.g. CosmosDB).", + "type": "array", + "items": { + "type": "string" + }, + "x-nullable": true + }, + "storageConnections": { + "description": "List of connection names from those available in the account or project to be used as a storage resource.", + "type": "array", + "items": { + "type": "string" + }, + "x-nullable": true + }, + "threadStorageConnections": { + "description": "List of connection names from those available in the account or project to be used for Thread storage.", + "type": "array", + "items": { + "type": "string" + }, + "x-nullable": true + }, + "provisioningState": { + "description": "Provisioning state for the CapabilityHost.", + "$ref": "#/definitions/CapabilityHostProvisioningState", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + } + }, + "x-ms-client-name": "ProjectCapabilityHostProperties", + "additionalProperties": false + }, "ResourceBase": { "type": "object", "properties": { diff --git a/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/preview/2025-04-01-preview/examples/AccountCapabilityHost/list.json b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/preview/2025-04-01-preview/examples/AccountCapabilityHost/list.json new file mode 100644 index 000000000000..5b7952759f95 --- /dev/null +++ b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/preview/2025-04-01-preview/examples/AccountCapabilityHost/list.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "test-rg", + "accountName": "account-1", + "api-version": "2025-04-01-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/test-rg/providers/Microsoft.CognitiveServices/accounts/account-1/capabilityHosts/capabilityHostName", + "name": "capabilityHostName", + "type": "Microsoft.CognitiveServices/accounts/capabilityHosts", + "properties": { + "description": "string", + "tags": { + "string": "string" + }, + "customerSubnet": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroups/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubne", + "provisioningState": "Succeeded" + } + } + ] + } + } + } +} diff --git a/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/preview/2025-04-01-preview/examples/ProjectCapabilityHost/createOrUpdate.json b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/preview/2025-04-01-preview/examples/ProjectCapabilityHost/createOrUpdate.json index 483cb11a2562..0f378d0a4714 100644 --- a/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/preview/2025-04-01-preview/examples/ProjectCapabilityHost/createOrUpdate.json +++ b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/preview/2025-04-01-preview/examples/ProjectCapabilityHost/createOrUpdate.json @@ -8,7 +8,18 @@ "api-version": "2025-04-01-preview", "body": { "properties": { - "customerSubnet": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroups/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet" + "aiServicesConnections": [ + "aoai_connection" + ], + "storageConnections": [ + "blob_connection" + ], + "vectorStoreConnections": [ + "acs_connection" + ], + "threadStorageConnections": [ + "aca_connection" + ] } } }, @@ -20,11 +31,18 @@ "name": "capabilityHostName", "type": "Microsoft.CognitiveServices/accounts/projects/capabilityHosts", "properties": { - "description": "string", - "tags": { - "string": "string" - }, - "customerSubnet": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroups/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubne", + "aiServicesConnections": [ + "aoai_connection" + ], + "storageConnections": [ + "blob_connection" + ], + "vectorStoreConnections": [ + "acs_connection" + ], + "threadStorageConnections": [ + "aca_connection" + ], "provisioningState": "Succeeded" } } @@ -38,11 +56,18 @@ "name": "capabilityHostName", "type": "Microsoft.CognitiveServices/accounts/projects/capabilityHosts", "properties": { - "description": "string", - "tags": { - "string": "string" - }, - "customerSubnet": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroups/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubne", + "aiServicesConnections": [ + "aoai_connection" + ], + "storageConnections": [ + "blob_connection" + ], + "vectorStoreConnections": [ + "acs_connection" + ], + "threadStorageConnections": [ + "aca_connection" + ], "provisioningState": "Succeeded" } } diff --git a/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/preview/2025-04-01-preview/examples/ProjectCapabilityHost/get.json b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/preview/2025-04-01-preview/examples/ProjectCapabilityHost/get.json index 32b92e6d9b4f..1510255547fa 100644 --- a/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/preview/2025-04-01-preview/examples/ProjectCapabilityHost/get.json +++ b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/preview/2025-04-01-preview/examples/ProjectCapabilityHost/get.json @@ -15,11 +15,18 @@ "name": "capabilityHostName", "type": "Microsoft.CognitiveServices/accounts/projects/capabilityHosts", "properties": { - "description": "string", - "tags": { - "string": "string" - }, - "customerSubnet": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroups/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubne", + "aiServicesConnections": [ + "aoai_connection" + ], + "vectorStoreConnections": [ + "acs_connection" + ], + "storageConnections": [ + "blob_connection" + ], + "threadStorageConnections": [ + "aca_connection" + ], "provisioningState": "Succeeded" } } diff --git a/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/preview/2025-04-01-preview/examples/ProjectCapabilityHost/list.json b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/preview/2025-04-01-preview/examples/ProjectCapabilityHost/list.json new file mode 100644 index 000000000000..1e05b424e2af --- /dev/null +++ b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/preview/2025-04-01-preview/examples/ProjectCapabilityHost/list.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "test-rg", + "accountName": "account-1", + "projectName": "project-1", + "api-version": "2025-04-01-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/test-rg/providers/Microsoft.CognitiveServices/accounts/account-1/projects/project-1/capabilityHosts/capabilityHostName", + "name": "capabilityHostName", + "type": "Microsoft.CognitiveServices/accounts/projects/capabilityHosts", + "properties": { + "aiServicesConnections": [ + "aoai_connection" + ], + "vectorStoreConnections": [ + "acs_connection" + ], + "storageConnections": [ + "blob_connection" + ], + "threadStorageConnections": [ + "aca_connection" + ], + "provisioningState": "Succeeded" + } + } + ] + } + } + } +} diff --git a/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/preview/2025-07-01-preview/cognitiveservices.json b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/preview/2025-07-01-preview/cognitiveservices.json index 510ea6f6b060..91c8e477b9be 100644 --- a/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/preview/2025-07-01-preview/cognitiveservices.json +++ b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/preview/2025-07-01-preview/cognitiveservices.json @@ -4723,6 +4723,54 @@ } } }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/capabilityHosts": { + "get": { + "tags": [ + "AccountCapabilityHost" + ], + "summary": "List capabilityHost.", + "operationId": "AccountCapabilityHosts_List", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/accountNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/CapabilityHostResourceArmPaginatedResult" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List Account CapabilityHosts.": { + "$ref": "./examples/AccountCapabilityHost/list.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/capabilityHosts/{capabilityHostName}": { "delete": { "tags": [ @@ -4918,6 +4966,57 @@ } } }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/projects/{projectName}/capabilityHosts": { + "get": { + "tags": [ + "ProjectCapabilityHost" + ], + "summary": "List capabilityHost.", + "operationId": "ProjectCapabilityHosts_List", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/accountNameParameter" + }, + { + "$ref": "#/parameters/projectNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/ProjectCapabilityHostResourceArmPaginatedResult" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List Project CapabilityHosts.": { + "$ref": "./examples/ProjectCapabilityHost/list.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/projects/{projectName}/capabilityHosts/{capabilityHostName}": { "delete": { "tags": [ @@ -5023,7 +5122,7 @@ "200": { "description": "Success", "schema": { - "$ref": "#/definitions/CapabilityHostResource" + "$ref": "#/definitions/ProjectCapabilityHostResource" } }, "default": { @@ -5076,7 +5175,7 @@ "description": "CapabilityHost definition.", "required": true, "schema": { - "$ref": "#/definitions/CapabilityHostResource" + "$ref": "#/definitions/ProjectCapabilityHostResource" } } ], @@ -5084,13 +5183,13 @@ "200": { "description": "Create or update request is successful.", "schema": { - "$ref": "#/definitions/CapabilityHostResource" + "$ref": "#/definitions/ProjectCapabilityHostResource" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/CapabilityHostResource" + "$ref": "#/definitions/ProjectCapabilityHostResource" }, "headers": { "x-ms-async-operation-timeout": { @@ -9255,6 +9354,46 @@ } } }, + "CapabilityHostResourceArmPaginatedResult": { + "description": "A paginated list of Capability Host entities.", + "type": "object", + "properties": { + "nextLink": { + "description": "The link to the next page of Capability Host objects. If null, there are no additional pages.", + "type": "string", + "x-nullable": true + }, + "value": { + "description": "An array of objects of type Capability Host.", + "type": "array", + "items": { + "$ref": "#/definitions/CapabilityHostResource" + }, + "x-nullable": true + } + }, + "additionalProperties": false + }, + "ProjectCapabilityHostResourceArmPaginatedResult": { + "description": "A paginated list of Project Capability Host entities.", + "type": "object", + "properties": { + "nextLink": { + "description": "The link to the next page of Project Capability Host objects. If null, there are no additional pages.", + "type": "string", + "x-nullable": true + }, + "value": { + "description": "An array of objects of type Project Capability Host.", + "type": "array", + "items": { + "$ref": "#/definitions/ProjectCapabilityHostResource" + }, + "x-nullable": true + } + }, + "additionalProperties": false + }, "CapabilityHostResource": { "description": "Azure Resource Manager resource envelope.", "required": [ @@ -9390,6 +9529,73 @@ }, "additionalProperties": false }, + "ProjectCapabilityHostResource": { + "description": "Azure Resource Manager resource envelope for Project CapabilityHost.", + "required": [ + "properties" + ], + "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "description": "[Required] Additional attributes of the entity.", + "$ref": "#/definitions/ProjectCapabilityHost" + } + }, + "x-ms-client-name": "ProjectCapabilityHost", + "additionalProperties": false + }, + "ProjectCapabilityHost": { + "type": "object", + "properties": { + "aiServicesConnections": { + "description": "List of AI services connections.", + "type": "array", + "items": { + "type": "string" + }, + "x-nullable": true + }, + "vectorStoreConnections": { + "description": "List of connection names from those available in the account or project to be used for vector database (e.g. CosmosDB).", + "type": "array", + "items": { + "type": "string" + }, + "x-nullable": true + }, + "storageConnections": { + "description": "List of connection names from those available in the account or project to be used as a storage resource.", + "type": "array", + "items": { + "type": "string" + }, + "x-nullable": true + }, + "threadStorageConnections": { + "description": "List of connection names from those available in the account or project to be used for Thread storage.", + "type": "array", + "items": { + "type": "string" + }, + "x-nullable": true + }, + "provisioningState": { + "description": "Provisioning state for the CapabilityHost.", + "$ref": "#/definitions/CapabilityHostProvisioningState", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + } + }, + "x-ms-client-name": "ProjectCapabilityHostProperties", + "additionalProperties": false + }, "ResourceBase": { "type": "object", "properties": { diff --git a/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/preview/2025-07-01-preview/examples/AccountCapabilityHost/list.json b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/preview/2025-07-01-preview/examples/AccountCapabilityHost/list.json new file mode 100644 index 000000000000..deb9688c7c90 --- /dev/null +++ b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/preview/2025-07-01-preview/examples/AccountCapabilityHost/list.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "test-rg", + "accountName": "account-1", + "api-version": "2025-07-01-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/test-rg/providers/Microsoft.CognitiveServices/accounts/account-1/capabilityHosts/capabilityHostName", + "name": "capabilityHostName", + "type": "Microsoft.CognitiveServices/accounts/capabilityHosts", + "properties": { + "description": "string", + "tags": { + "string": "string" + }, + "customerSubnet": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroups/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubne", + "provisioningState": "Succeeded" + } + } + ] + } + } + } +} diff --git a/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/preview/2025-07-01-preview/examples/ProjectCapabilityHost/createOrUpdate.json b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/preview/2025-07-01-preview/examples/ProjectCapabilityHost/createOrUpdate.json index 5f3d146f261e..9023bc4c3ef0 100644 --- a/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/preview/2025-07-01-preview/examples/ProjectCapabilityHost/createOrUpdate.json +++ b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/preview/2025-07-01-preview/examples/ProjectCapabilityHost/createOrUpdate.json @@ -8,7 +8,18 @@ "api-version": "2025-07-01-preview", "capabilityHost": { "properties": { - "customerSubnet": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroups/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet" + "aiServicesConnections": [ + "aoai_connection" + ], + "storageConnections": [ + "blob_connection" + ], + "vectorStoreConnections": [ + "acs_connection" + ], + "threadStorageConnections": [ + "aca_connection" + ] } } }, @@ -20,11 +31,18 @@ "name": "capabilityHostName", "type": "Microsoft.CognitiveServices/accounts/projects/capabilityHosts", "properties": { - "description": "string", - "tags": { - "string": "string" - }, - "customerSubnet": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroups/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubne", + "aiServicesConnections": [ + "aoai_connection" + ], + "storageConnections": [ + "blob_connection" + ], + "vectorStoreConnections": [ + "acs_connection" + ], + "threadStorageConnections": [ + "aca_connection" + ], "provisioningState": "Succeeded" } } @@ -38,11 +56,18 @@ "name": "capabilityHostName", "type": "Microsoft.CognitiveServices/accounts/projects/capabilityHosts", "properties": { - "description": "string", - "tags": { - "string": "string" - }, - "customerSubnet": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroups/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubne", + "aiServicesConnections": [ + "aoai_connection" + ], + "storageConnections": [ + "blob_connection" + ], + "vectorStoreConnections": [ + "acs_connection" + ], + "threadStorageConnections": [ + "aca_connection" + ], "provisioningState": "Succeeded" } } diff --git a/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/preview/2025-07-01-preview/examples/ProjectCapabilityHost/get.json b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/preview/2025-07-01-preview/examples/ProjectCapabilityHost/get.json index 96194a1bcd2e..d5683aa6392d 100644 --- a/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/preview/2025-07-01-preview/examples/ProjectCapabilityHost/get.json +++ b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/preview/2025-07-01-preview/examples/ProjectCapabilityHost/get.json @@ -15,11 +15,18 @@ "name": "capabilityHostName", "type": "Microsoft.CognitiveServices/accounts/projects/capabilityHosts", "properties": { - "description": "string", - "tags": { - "string": "string" - }, - "customerSubnet": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroups/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubne", + "aiServicesConnections": [ + "aoai_connection" + ], + "storageConnections": [ + "blob_connection" + ], + "vectorStoreConnections": [ + "acs_connection" + ], + "threadStorageConnections": [ + "aca_connection" + ], "provisioningState": "Succeeded" } } diff --git a/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/preview/2025-07-01-preview/examples/ProjectCapabilityHost/list.json b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/preview/2025-07-01-preview/examples/ProjectCapabilityHost/list.json new file mode 100644 index 000000000000..d42faf97cfdb --- /dev/null +++ b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/preview/2025-07-01-preview/examples/ProjectCapabilityHost/list.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "test-rg", + "accountName": "account-1", + "projectName": "project-1", + "api-version": "2025-07-01-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/test-rg/providers/Microsoft.CognitiveServices/accounts/account-1/projects/project-1/capabilityHosts/capabilityHostName", + "name": "capabilityHostName", + "type": "Microsoft.CognitiveServices/accounts/projects/capabilityHosts", + "properties": { + "aiServicesConnections": [ + "aoai_connection" + ], + "storageConnections": [ + "blob_connection" + ], + "vectorStoreConnections": [ + "acs_connection" + ], + "threadStorageConnections": [ + "aca_connection" + ], + "provisioningState": "Succeeded" + } + } + ] + } + } + } +} diff --git a/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/preview/2025-10-01-preview/cognitiveservices.json b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/preview/2025-10-01-preview/cognitiveservices.json index d734d54733ad..a51826f99806 100644 --- a/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/preview/2025-10-01-preview/cognitiveservices.json +++ b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/preview/2025-10-01-preview/cognitiveservices.json @@ -5385,6 +5385,54 @@ } } }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/capabilityHosts": { + "get": { + "tags": [ + "AccountCapabilityHost" + ], + "summary": "List capabilityHost.", + "operationId": "AccountCapabilityHosts_List", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/accountNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/CapabilityHostResourceArmPaginatedResult" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List Account CapabilityHosts.": { + "$ref": "./examples/AccountCapabilityHost/list.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/capabilityHosts/{capabilityHostName}": { "delete": { "tags": [ @@ -5580,6 +5628,57 @@ } } }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/projects/{projectName}/capabilityHosts": { + "get": { + "tags": [ + "ProjectCapabilityHost" + ], + "summary": "List capabilityHost.", + "operationId": "ProjectCapabilityHosts_List", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/accountNameParameter" + }, + { + "$ref": "#/parameters/projectNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/ProjectCapabilityHostResourceArmPaginatedResult" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List Project CapabilityHosts.": { + "$ref": "./examples/ProjectCapabilityHost/list.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/projects/{projectName}/capabilityHosts/{capabilityHostName}": { "delete": { "tags": [ @@ -5685,7 +5784,7 @@ "200": { "description": "Success", "schema": { - "$ref": "#/definitions/CapabilityHostResource" + "$ref": "#/definitions/ProjectCapabilityHostResource" } }, "default": { @@ -5738,7 +5837,7 @@ "description": "CapabilityHost definition.", "required": true, "schema": { - "$ref": "#/definitions/CapabilityHostResource" + "$ref": "#/definitions/ProjectCapabilityHostResource" } } ], @@ -5746,13 +5845,13 @@ "200": { "description": "Create or update request is successful.", "schema": { - "$ref": "#/definitions/CapabilityHostResource" + "$ref": "#/definitions/ProjectCapabilityHostResource" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/CapabilityHostResource" + "$ref": "#/definitions/ProjectCapabilityHostResource" }, "headers": { "x-ms-async-operation-timeout": { @@ -7080,7 +7179,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/projects/{projectName}/applications/{appName}/deployments": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/projects/{projectName}/applications/{appName}/agentDeployments": { "get": { "tags": [ "AgentDeployment" @@ -7171,7 +7270,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/projects/{projectName}/applications/{appName}/deployments/{deploymentName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/projects/{projectName}/applications/{appName}/agentDeployments/{deploymentName}": { "delete": { "tags": [ "AgentDeployment" @@ -7374,7 +7473,7 @@ "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/projects/{projectName}/applications/{appName}/deployments/{deploymentName}/start": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/projects/{projectName}/applications/{appName}/agentDeployments/{deploymentName}/start": { "post": { "tags": [ "AgentDeployment" @@ -7425,7 +7524,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/projects/{projectName}/applications/{appName}/deployments/{deploymentName}/stop": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/projects/{projectName}/applications/{appName}/agentDeployments/{deploymentName}/stop": { "post": { "tags": [ "AgentDeployment" @@ -11830,6 +11929,46 @@ } } }, + "CapabilityHostResourceArmPaginatedResult": { + "description": "A paginated list of Capability Host entities.", + "type": "object", + "properties": { + "nextLink": { + "description": "The link to the next page of Capability Host objects. If null, there are no additional pages.", + "type": "string", + "x-nullable": true + }, + "value": { + "description": "An array of objects of type Capability Host.", + "type": "array", + "items": { + "$ref": "#/definitions/CapabilityHostResource" + }, + "x-nullable": true + } + }, + "additionalProperties": false + }, + "ProjectCapabilityHostResourceArmPaginatedResult": { + "description": "A paginated list of Project Capability Host entities.", + "type": "object", + "properties": { + "nextLink": { + "description": "The link to the next page of Project Capability Host objects. If null, there are no additional pages.", + "type": "string", + "x-nullable": true + }, + "value": { + "description": "An array of objects of type Project Capability Host.", + "type": "array", + "items": { + "$ref": "#/definitions/ProjectCapabilityHostResource" + }, + "x-nullable": true + } + }, + "additionalProperties": false + }, "CapabilityHostResource": { "description": "Azure Resource Manager resource envelope.", "required": [ @@ -11906,6 +12045,10 @@ "type": "string" }, "x-nullable": true + }, + "enablePublicHostingEnvironment": { + "type": "boolean", + "description": "Whether public hosting environment is enabled for the capability host" } }, "x-ms-client-name": "CapabilityHostProperties", @@ -11965,6 +12108,73 @@ }, "additionalProperties": false }, + "ProjectCapabilityHostResource": { + "description": "Azure Resource Manager resource envelope for Project CapabilityHost.", + "required": [ + "properties" + ], + "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "description": "[Required] Additional attributes of the entity.", + "$ref": "#/definitions/ProjectCapabilityHost" + } + }, + "x-ms-client-name": "ProjectCapabilityHost", + "additionalProperties": false + }, + "ProjectCapabilityHost": { + "type": "object", + "properties": { + "aiServicesConnections": { + "description": "List of AI services connections.", + "type": "array", + "items": { + "type": "string" + }, + "x-nullable": true + }, + "vectorStoreConnections": { + "description": "List of connection names from those available in the account or project to be used for vector database (e.g. CosmosDB).", + "type": "array", + "items": { + "type": "string" + }, + "x-nullable": true + }, + "storageConnections": { + "description": "List of connection names from those available in the account or project to be used as a storage resource.", + "type": "array", + "items": { + "type": "string" + }, + "x-nullable": true + }, + "threadStorageConnections": { + "description": "List of connection names from those available in the account or project to be used for Thread storage.", + "type": "array", + "items": { + "type": "string" + }, + "x-nullable": true + }, + "provisioningState": { + "description": "Provisioning state for the CapabilityHost.", + "$ref": "#/definitions/CapabilityHostProvisioningState", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + } + }, + "x-ms-client-name": "ProjectCapabilityHostProperties", + "additionalProperties": false + }, "ResourceBase": { "type": "object", "properties": { diff --git a/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/preview/2025-10-01-preview/examples/AccountCapabilityHost/createOrUpdate.json b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/preview/2025-10-01-preview/examples/AccountCapabilityHost/createOrUpdate.json index 5883862d3f50..7724b3476aff 100644 --- a/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/preview/2025-10-01-preview/examples/AccountCapabilityHost/createOrUpdate.json +++ b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/preview/2025-10-01-preview/examples/AccountCapabilityHost/createOrUpdate.json @@ -7,7 +7,8 @@ "api-version": "2025-10-01-preview", "capabilityHost": { "properties": { - "customerSubnet": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroups/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet" + "customerSubnet": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroups/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet", + "enablePublicHostingEnvironment": true } } }, @@ -24,7 +25,8 @@ "string": "string" }, "customerSubnet": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroups/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubne", - "provisioningState": "Succeeded" + "provisioningState": "Succeeded", + "enablePublicHostingEnvironment": true } } }, @@ -42,7 +44,8 @@ "string": "string" }, "customerSubnet": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroups/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubne", - "provisioningState": "Succeeded" + "provisioningState": "Succeeded", + "enablePublicHostingEnvironment": true } } } diff --git a/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/preview/2025-10-01-preview/examples/AccountCapabilityHost/get.json b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/preview/2025-10-01-preview/examples/AccountCapabilityHost/get.json index a367cd7eb277..b27cc4ac4bf3 100644 --- a/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/preview/2025-10-01-preview/examples/AccountCapabilityHost/get.json +++ b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/preview/2025-10-01-preview/examples/AccountCapabilityHost/get.json @@ -19,7 +19,8 @@ "string": "string" }, "customerSubnet": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroups/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubne", - "provisioningState": "Succeeded" + "provisioningState": "Succeeded", + "enablePublicHostingEnvironment": true } } } diff --git a/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/preview/2025-10-01-preview/examples/AccountCapabilityHost/list.json b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/preview/2025-10-01-preview/examples/AccountCapabilityHost/list.json new file mode 100644 index 000000000000..01b0cbebccac --- /dev/null +++ b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/preview/2025-10-01-preview/examples/AccountCapabilityHost/list.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "test-rg", + "accountName": "account-1", + "api-version": "2025-10-01-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/test-rg/providers/Microsoft.CognitiveServices/accounts/account-1/capabilityHosts/capabilityHostName", + "name": "capabilityHostName", + "type": "Microsoft.CognitiveServices/accounts/capabilityHosts", + "properties": { + "description": "string", + "tags": { + "string": "string" + }, + "customerSubnet": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroups/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubne", + "provisioningState": "Succeeded" + } + } + ] + } + } + } +} diff --git a/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/preview/2025-10-01-preview/examples/AgentApplication/listDeployments.json b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/preview/2025-10-01-preview/examples/AgentApplication/listDeployments.json index 50d460b88f67..cf09af095a36 100644 --- a/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/preview/2025-10-01-preview/examples/AgentApplication/listDeployments.json +++ b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/preview/2025-10-01-preview/examples/AgentApplication/listDeployments.json @@ -13,9 +13,9 @@ "body": { "value": [ { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/test-rg/providers/Microsoft.CognitiveServices/accounts/my-cognitive-services-account/projects/my-project/applications/agent-app-1/deployments/deploy-001", + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/test-rg/providers/Microsoft.CognitiveServices/accounts/my-cognitive-services-account/projects/my-project/applications/agent-app-1/agentDeployments/deploy-001", "name": "deploy-001", - "type": "Microsoft.CognitiveServices/accounts/projects/applications/deployments", + "type": "Microsoft.CognitiveServices/accounts/projects/applications/agentDeployments", "properties": { "displayName": "Production deployment for customer support agents", "deploymentId": "550e8400-e29b-41d4-a716-446655440001", @@ -46,9 +46,9 @@ } }, { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/test-rg/providers/Microsoft.CognitiveServices/accounts/my-cognitive-services-account/projects/my-project/applications/agent-app-1/deployments/deploy-002", + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/test-rg/providers/Microsoft.CognitiveServices/accounts/my-cognitive-services-account/projects/my-project/applications/agent-app-1/agentDeployments/deploy-002", "name": "deploy-002", - "type": "Microsoft.CognitiveServices/accounts/projects/applications/deployments", + "type": "Microsoft.CognitiveServices/accounts/projects/applications/agentDeployments", "properties": { "displayName": "Staging deployment for testing new features", "deploymentId": "550e8400-e29b-41d4-a716-446655440002", diff --git a/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/preview/2025-10-01-preview/examples/AgentDeployment/createOrUpdate.json b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/preview/2025-10-01-preview/examples/AgentDeployment/createOrUpdate.json index 0b712cd8c5da..fffc1b49210c 100644 --- a/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/preview/2025-10-01-preview/examples/AgentDeployment/createOrUpdate.json +++ b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/preview/2025-10-01-preview/examples/AgentDeployment/createOrUpdate.json @@ -32,9 +32,9 @@ "200": { "headers": {}, "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/test-rg/providers/Microsoft.CognitiveServices/accounts/my-cognitive-services-account/projects/my-project/applications/agent-app-1/deployments/deployment-1", + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/test-rg/providers/Microsoft.CognitiveServices/accounts/my-cognitive-services-account/projects/my-project/applications/agent-app-1/agentDeployments/deployment-1", "name": "deployment-1", - "type": "Microsoft.CognitiveServices/accounts/projects/applications/deployments", + "type": "Microsoft.CognitiveServices/accounts/projects/applications/agentDeployments", "properties": { "displayName": "Production Deployment", "deploymentId": "550e8400-e29b-41d4-a716-446655440001", @@ -70,9 +70,9 @@ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.CognitiveServices/locations/westus/operationresults/00000000-1111-2222-3333-444444444444?api-version=2025-10-01-preview" }, "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/test-rg/providers/Microsoft.CognitiveServices/accounts/my-cognitive-services-account/projects/my-project/applications/agent-app-1/deployments/deployment-1", + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/test-rg/providers/Microsoft.CognitiveServices/accounts/my-cognitive-services-account/projects/my-project/applications/agent-app-1/agentDeployments/deployment-1", "name": "deployment-1", - "type": "Microsoft.CognitiveServices/accounts/projects/applications/deployments", + "type": "Microsoft.CognitiveServices/accounts/projects/applications/agentDeployments", "properties": { "displayName": "Production Deployment", "deploymentId": "550e8400-e29b-41d4-a716-446655440001", diff --git a/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/preview/2025-10-01-preview/examples/AgentDeployment/get.json b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/preview/2025-10-01-preview/examples/AgentDeployment/get.json index f2dd0fa74fed..76f644dc1210 100644 --- a/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/preview/2025-10-01-preview/examples/AgentDeployment/get.json +++ b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/preview/2025-10-01-preview/examples/AgentDeployment/get.json @@ -12,9 +12,9 @@ "200": { "headers": {}, "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/test-rg/providers/Microsoft.CognitiveServices/accounts/my-cognitive-services-account/projects/my-project/applications/agent-app-1/deployments/deployment-1", + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/test-rg/providers/Microsoft.CognitiveServices/accounts/my-cognitive-services-account/projects/my-project/applications/agent-app-1/agentDeployments/deployment-1", "name": "deployment-1", - "type": "Microsoft.CognitiveServices/accounts/projects/applications/deployments", + "type": "Microsoft.CognitiveServices/accounts/projects/applications/agentDeployments", "properties": { "displayName": "Production Deployment", "deploymentId": "550e8400-e29b-41d4-a716-446655440001", diff --git a/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/preview/2025-10-01-preview/examples/AgentDeployment/list.json b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/preview/2025-10-01-preview/examples/AgentDeployment/list.json index a408dfcd4360..01190968c067 100644 --- a/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/preview/2025-10-01-preview/examples/AgentDeployment/list.json +++ b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/preview/2025-10-01-preview/examples/AgentDeployment/list.json @@ -13,9 +13,9 @@ "body": { "value": [ { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/test-rg/providers/Microsoft.CognitiveServices/accounts/my-cognitive-services-account/projects/my-project/applications/agent-app-1/deployments/deployment-1", + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/test-rg/providers/Microsoft.CognitiveServices/accounts/my-cognitive-services-account/projects/my-project/applications/agent-app-1/agentDeployments/deployment-1", "name": "deployment-1", - "type": "Microsoft.CognitiveServices/accounts/projects/applications/deployments", + "type": "Microsoft.CognitiveServices/accounts/projects/applications/agentDeployments", "properties": { "displayName": "Production Deployment", "deploymentId": "550e8400-e29b-41d4-a716-446655440001", diff --git a/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/preview/2025-10-01-preview/examples/ProjectCapabilityHost/createOrUpdate.json b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/preview/2025-10-01-preview/examples/ProjectCapabilityHost/createOrUpdate.json index 7f3800dc4260..da200a613048 100644 --- a/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/preview/2025-10-01-preview/examples/ProjectCapabilityHost/createOrUpdate.json +++ b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/preview/2025-10-01-preview/examples/ProjectCapabilityHost/createOrUpdate.json @@ -8,7 +8,18 @@ "api-version": "2025-10-01-preview", "capabilityHost": { "properties": { - "customerSubnet": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroups/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet" + "aiServicesConnections": [ + "aoai_connection" + ], + "storageConnections": [ + "blob_connection" + ], + "vectorStoreConnections": [ + "acs_connection" + ], + "threadStorageConnections": [ + "aca_connection" + ] } } }, @@ -20,11 +31,18 @@ "name": "capabilityHostName", "type": "Microsoft.CognitiveServices/accounts/projects/capabilityHosts", "properties": { - "description": "string", - "tags": { - "string": "string" - }, - "customerSubnet": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroups/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubne", + "aiServicesConnections": [ + "aoai_connection" + ], + "storageConnections": [ + "blob_connection" + ], + "vectorStoreConnections": [ + "acs_connection" + ], + "threadStorageConnections": [ + "aca_connection" + ], "provisioningState": "Succeeded" } } @@ -38,11 +56,18 @@ "name": "capabilityHostName", "type": "Microsoft.CognitiveServices/accounts/projects/capabilityHosts", "properties": { - "description": "string", - "tags": { - "string": "string" - }, - "customerSubnet": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroups/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubne", + "aiServicesConnections": [ + "aoai_connection" + ], + "storageConnections": [ + "blob_connection" + ], + "vectorStoreConnections": [ + "acs_connection" + ], + "threadStorageConnections": [ + "aca_connection" + ], "provisioningState": "Succeeded" } } diff --git a/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/preview/2025-10-01-preview/examples/ProjectCapabilityHost/get.json b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/preview/2025-10-01-preview/examples/ProjectCapabilityHost/get.json index 5e8b17893981..40e9b2f6e7d5 100644 --- a/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/preview/2025-10-01-preview/examples/ProjectCapabilityHost/get.json +++ b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/preview/2025-10-01-preview/examples/ProjectCapabilityHost/get.json @@ -15,11 +15,18 @@ "name": "capabilityHostName", "type": "Microsoft.CognitiveServices/accounts/projects/capabilityHosts", "properties": { - "description": "string", - "tags": { - "string": "string" - }, - "customerSubnet": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroups/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubne", + "aiServicesConnections": [ + "aoai_connection" + ], + "storageConnections": [ + "blob_connection" + ], + "vectorStoreConnections": [ + "acs_connection" + ], + "threadStorageConnections": [ + "aca_connection" + ], "provisioningState": "Succeeded" } } diff --git a/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/preview/2025-10-01-preview/examples/ProjectCapabilityHost/list.json b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/preview/2025-10-01-preview/examples/ProjectCapabilityHost/list.json new file mode 100644 index 000000000000..1196a5ffa06e --- /dev/null +++ b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/preview/2025-10-01-preview/examples/ProjectCapabilityHost/list.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "test-rg", + "accountName": "account-1", + "projectName": "project-1", + "api-version": "2025-10-01-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/test-rg/providers/Microsoft.CognitiveServices/accounts/account-1/projects/project-1/capabilityHosts/capabilityHostName", + "name": "capabilityHostName", + "type": "Microsoft.CognitiveServices/accounts/projects/capabilityHosts", + "properties": { + "aiServicesConnections": [ + "aoai_connection" + ], + "storageConnections": [ + "blob_connection" + ], + "vectorStoreConnections": [ + "acs_connection" + ], + "threadStorageConnections": [ + "aca_connection" + ], + "provisioningState": "Succeeded" + } + } + ] + } + } + } +} diff --git a/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2025-06-01/cognitiveservices.json b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2025-06-01/cognitiveservices.json index 8a6b231a95f1..63eb7abc289f 100644 --- a/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2025-06-01/cognitiveservices.json +++ b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2025-06-01/cognitiveservices.json @@ -4523,6 +4523,54 @@ } } }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/capabilityHosts": { + "get": { + "tags": [ + "AccountCapabilityHost" + ], + "summary": "List capabilityHost.", + "operationId": "AccountCapabilityHosts_List", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/accountNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/CapabilityHostResourceArmPaginatedResult" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ListAccountCapabilityHost": { + "$ref": "./examples/AccountCapabilityHost/list.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/capabilityHosts/{capabilityHostName}": { "delete": { "tags": [ @@ -4718,6 +4766,57 @@ } } }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/projects/{projectName}/capabilityHosts": { + "get": { + "tags": [ + "ProjectCapabilityHost" + ], + "summary": "List capabilityHost.", + "operationId": "ProjectCapabilityHosts_List", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/accountNameParameter" + }, + { + "$ref": "#/parameters/projectNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/ProjectCapabilityHostResourceArmPaginatedResult" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ListProjectCapabilityHost": { + "$ref": "./examples/ProjectCapabilityHost/list.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/projects/{projectName}/capabilityHosts/{capabilityHostName}": { "delete": { "tags": [ @@ -4823,7 +4922,7 @@ "200": { "description": "Success", "schema": { - "$ref": "#/definitions/CapabilityHostResource" + "$ref": "#/definitions/ProjectCapabilityHostResource" } }, "default": { @@ -4876,7 +4975,7 @@ "description": "CapabilityHost definition.", "required": true, "schema": { - "$ref": "#/definitions/CapabilityHostResource" + "$ref": "#/definitions/ProjectCapabilityHostResource" } } ], @@ -4884,13 +4983,13 @@ "200": { "description": "Create or update request is successful.", "schema": { - "$ref": "#/definitions/CapabilityHostResource" + "$ref": "#/definitions/ProjectCapabilityHostResource" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/CapabilityHostResource" + "$ref": "#/definitions/ProjectCapabilityHostResource" }, "headers": { "x-ms-async-operation-timeout": { @@ -8664,6 +8763,46 @@ } } }, + "CapabilityHostResourceArmPaginatedResult": { + "description": "A paginated list of Capability Host entities.", + "type": "object", + "properties": { + "nextLink": { + "description": "The link to the next page of Capability Host objects. If null, there are no additional pages.", + "type": "string", + "x-nullable": true + }, + "value": { + "description": "An array of objects of type Capability Host.", + "type": "array", + "items": { + "$ref": "#/definitions/CapabilityHostResource" + }, + "x-nullable": true + } + }, + "additionalProperties": false + }, + "ProjectCapabilityHostResourceArmPaginatedResult": { + "description": "A paginated list of Project Capability Host entities.", + "type": "object", + "properties": { + "nextLink": { + "description": "The link to the next page of Project Capability Host objects. If null, there are no additional pages.", + "type": "string", + "x-nullable": true + }, + "value": { + "description": "An array of objects of type Project Capability Host.", + "type": "array", + "items": { + "$ref": "#/definitions/ProjectCapabilityHostResource" + }, + "x-nullable": true + } + }, + "additionalProperties": false + }, "CapabilityHostResource": { "description": "Azure Resource Manager resource envelope.", "required": [ @@ -8799,6 +8938,73 @@ }, "additionalProperties": false }, + "ProjectCapabilityHostResource": { + "description": "Azure Resource Manager resource envelope for Project CapabilityHost.", + "required": [ + "properties" + ], + "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "description": "[Required] Additional attributes of the entity.", + "$ref": "#/definitions/ProjectCapabilityHost" + } + }, + "x-ms-client-name": "ProjectCapabilityHost", + "additionalProperties": false + }, + "ProjectCapabilityHost": { + "type": "object", + "properties": { + "aiServicesConnections": { + "description": "List of AI services connections.", + "type": "array", + "items": { + "type": "string" + }, + "x-nullable": true + }, + "vectorStoreConnections": { + "description": "List of connection names from those available in the account or project to be used for vector database (e.g. CosmosDB).", + "type": "array", + "items": { + "type": "string" + }, + "x-nullable": true + }, + "storageConnections": { + "description": "List of connection names from those available in the account or project to be used as a storage resource.", + "type": "array", + "items": { + "type": "string" + }, + "x-nullable": true + }, + "threadStorageConnections": { + "description": "List of connection names from those available in the account or project to be used for Thread storage.", + "type": "array", + "items": { + "type": "string" + }, + "x-nullable": true + }, + "provisioningState": { + "description": "Provisioning state for the CapabilityHost.", + "$ref": "#/definitions/CapabilityHostProvisioningState", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + } + }, + "x-ms-client-name": "ProjectCapabilityHostProperties", + "additionalProperties": false + }, "ResourceBase": { "type": "object", "properties": { diff --git a/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2025-06-01/examples/AccountCapabilityHost/list.json b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2025-06-01/examples/AccountCapabilityHost/list.json new file mode 100644 index 000000000000..b4da9715a261 --- /dev/null +++ b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2025-06-01/examples/AccountCapabilityHost/list.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "test-rg", + "accountName": "account-1", + "api-version": "2025-06-01" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/test-rg/providers/Microsoft.CognitiveServices/accounts/account-1/capabilityHosts/capabilityHostName", + "name": "capabilityHostName", + "type": "Microsoft.CognitiveServices/accounts/capabilityHosts", + "properties": { + "description": "string", + "tags": { + "string": "string" + }, + "customerSubnet": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroups/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubne", + "provisioningState": "Succeeded" + } + } + ] + } + } + } +} diff --git a/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2025-06-01/examples/ProjectCapabilityHost/createOrUpdate.json b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2025-06-01/examples/ProjectCapabilityHost/createOrUpdate.json index f1bbafe2488b..21fe5b3afa09 100644 --- a/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2025-06-01/examples/ProjectCapabilityHost/createOrUpdate.json +++ b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2025-06-01/examples/ProjectCapabilityHost/createOrUpdate.json @@ -8,7 +8,18 @@ "api-version": "2025-06-01", "capabilityHost": { "properties": { - "customerSubnet": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroups/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet" + "aiServicesConnections": [ + "aoai_connection" + ], + "storageConnections": [ + "blob_connection" + ], + "vectorStoreConnections": [ + "acs_connection" + ], + "threadStorageConnections": [ + "aca_connection" + ] } } }, @@ -20,11 +31,18 @@ "name": "capabilityHostName", "type": "Microsoft.CognitiveServices/accounts/projects/capabilityHosts", "properties": { - "description": "string", - "tags": { - "string": "string" - }, - "customerSubnet": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroups/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubne", + "aiServicesConnections": [ + "aoai_connection" + ], + "storageConnections": [ + "blob_connection" + ], + "vectorStoreConnections": [ + "acs_connection" + ], + "threadStorageConnections": [ + "aca_connection" + ], "provisioningState": "Succeeded" } } @@ -38,11 +56,18 @@ "name": "capabilityHostName", "type": "Microsoft.CognitiveServices/accounts/projects/capabilityHosts", "properties": { - "description": "string", - "tags": { - "string": "string" - }, - "customerSubnet": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroups/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubne", + "aiServicesConnections": [ + "aoai_connection" + ], + "storageConnections": [ + "blob_connection" + ], + "vectorStoreConnections": [ + "acs_connection" + ], + "threadStorageConnections": [ + "aca_connection" + ], "provisioningState": "Succeeded" } } diff --git a/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2025-06-01/examples/ProjectCapabilityHost/get.json b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2025-06-01/examples/ProjectCapabilityHost/get.json index d346050c7d77..28497d493d1f 100644 --- a/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2025-06-01/examples/ProjectCapabilityHost/get.json +++ b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2025-06-01/examples/ProjectCapabilityHost/get.json @@ -15,11 +15,18 @@ "name": "capabilityHostName", "type": "Microsoft.CognitiveServices/accounts/projects/capabilityHosts", "properties": { - "description": "string", - "tags": { - "string": "string" - }, - "customerSubnet": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroups/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubne", + "aiServicesConnections": [ + "aoai_connection" + ], + "storageConnections": [ + "blob_connection" + ], + "vectorStoreConnections": [ + "acs_connection" + ], + "threadStorageConnections": [ + "aca_connection" + ], "provisioningState": "Succeeded" } } diff --git a/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2025-06-01/examples/ProjectCapabilityHost/list.json b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2025-06-01/examples/ProjectCapabilityHost/list.json new file mode 100644 index 000000000000..56de25a1a76c --- /dev/null +++ b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2025-06-01/examples/ProjectCapabilityHost/list.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "test-rg", + "accountName": "account-1", + "projectName": "project-1", + "api-version": "2025-06-01" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/test-rg/providers/Microsoft.CognitiveServices/accounts/account-1/projects/project-1/capabilityHosts/capabilityHostName", + "name": "capabilityHostName", + "type": "Microsoft.CognitiveServices/accounts/projects/capabilityHosts", + "properties": { + "aiServicesConnections": [ + "aoai_connection" + ], + "storageConnections": [ + "blob_connection" + ], + "vectorStoreConnections": [ + "acs_connection" + ], + "threadStorageConnections": [ + "aca_connection" + ], + "provisioningState": "Succeeded" + } + } + ] + } + } + } +} diff --git a/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2025-09-01/cognitiveservices.json b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2025-09-01/cognitiveservices.json index 05c8e80fdace..523d5b0e39bb 100644 --- a/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2025-09-01/cognitiveservices.json +++ b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2025-09-01/cognitiveservices.json @@ -4723,6 +4723,54 @@ } } }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/capabilityHosts": { + "get": { + "tags": [ + "AccountCapabilityHost" + ], + "summary": "List capabilityHost.", + "operationId": "AccountCapabilityHosts_List", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/accountNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/CapabilityHostResourceArmPaginatedResult" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List Account CapabilityHosts.": { + "$ref": "./examples/AccountCapabilityHost/list.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/capabilityHosts/{capabilityHostName}": { "delete": { "tags": [ @@ -4918,6 +4966,57 @@ } } }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/projects/{projectName}/capabilityHosts": { + "get": { + "tags": [ + "ProjectCapabilityHost" + ], + "summary": "List capabilityHost.", + "operationId": "ProjectCapabilityHosts_List", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/accountNameParameter" + }, + { + "$ref": "#/parameters/projectNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/ProjectCapabilityHostResourceArmPaginatedResult" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List Project CapabilityHosts.": { + "$ref": "./examples/ProjectCapabilityHost/list.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/projects/{projectName}/capabilityHosts/{capabilityHostName}": { "delete": { "tags": [ @@ -5023,7 +5122,7 @@ "200": { "description": "Success", "schema": { - "$ref": "#/definitions/CapabilityHostResource" + "$ref": "#/definitions/ProjectCapabilityHostResource" } }, "default": { @@ -5076,7 +5175,7 @@ "description": "CapabilityHost definition.", "required": true, "schema": { - "$ref": "#/definitions/CapabilityHostResource" + "$ref": "#/definitions/ProjectCapabilityHostResource" } } ], @@ -5084,13 +5183,13 @@ "200": { "description": "Create or update request is successful.", "schema": { - "$ref": "#/definitions/CapabilityHostResource" + "$ref": "#/definitions/ProjectCapabilityHostResource" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/CapabilityHostResource" + "$ref": "#/definitions/ProjectCapabilityHostResource" }, "headers": { "x-ms-async-operation-timeout": { @@ -5147,7 +5246,7 @@ "default": { "description": "Error response describing why the operation failed", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, @@ -5290,7 +5389,7 @@ "default": { "description": "Error response describing why the operation failed. If the resource does not exist, 404 (NotFound) should be returned.", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, @@ -9256,6 +9355,46 @@ } } }, + "CapabilityHostResourceArmPaginatedResult": { + "description": "A paginated list of Capability Host entities.", + "type": "object", + "properties": { + "nextLink": { + "description": "The link to the next page of Capability Host objects. If null, there are no additional pages.", + "type": "string", + "x-nullable": true + }, + "value": { + "description": "An array of objects of type Capability Host.", + "type": "array", + "items": { + "$ref": "#/definitions/CapabilityHostResource" + }, + "x-nullable": true + } + }, + "additionalProperties": false + }, + "ProjectCapabilityHostResourceArmPaginatedResult": { + "description": "A paginated list of Project Capability Host entities.", + "type": "object", + "properties": { + "nextLink": { + "description": "The link to the next page of Project Capability Host objects. If null, there are no additional pages.", + "type": "string", + "x-nullable": true + }, + "value": { + "description": "An array of objects of type Project Capability Host.", + "type": "array", + "items": { + "$ref": "#/definitions/ProjectCapabilityHostResource" + }, + "x-nullable": true + } + }, + "additionalProperties": false + }, "CapabilityHostResource": { "description": "Azure Resource Manager resource envelope.", "required": [ @@ -9391,6 +9530,73 @@ }, "additionalProperties": false }, + "ProjectCapabilityHostResource": { + "description": "Azure Resource Manager resource envelope for Project CapabilityHost.", + "required": [ + "properties" + ], + "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "description": "[Required] Additional attributes of the entity.", + "$ref": "#/definitions/ProjectCapabilityHost" + } + }, + "x-ms-client-name": "ProjectCapabilityHost", + "additionalProperties": false + }, + "ProjectCapabilityHost": { + "type": "object", + "properties": { + "aiServicesConnections": { + "description": "List of AI services connections.", + "type": "array", + "items": { + "type": "string" + }, + "x-nullable": true + }, + "vectorStoreConnections": { + "description": "List of connection names from those available in the account or project to be used for vector database (e.g. CosmosDB).", + "type": "array", + "items": { + "type": "string" + }, + "x-nullable": true + }, + "storageConnections": { + "description": "List of connection names from those available in the account or project to be used as a storage resource.", + "type": "array", + "items": { + "type": "string" + }, + "x-nullable": true + }, + "threadStorageConnections": { + "description": "List of connection names from those available in the account or project to be used for Thread storage.", + "type": "array", + "items": { + "type": "string" + }, + "x-nullable": true + }, + "provisioningState": { + "description": "Provisioning state for the CapabilityHost.", + "$ref": "#/definitions/CapabilityHostProvisioningState", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + } + }, + "x-ms-client-name": "ProjectCapabilityHostProperties", + "additionalProperties": false + }, "ResourceBase": { "type": "object", "properties": { diff --git a/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2025-09-01/examples/AccountCapabilityHost/list.json b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2025-09-01/examples/AccountCapabilityHost/list.json new file mode 100644 index 000000000000..04499e83903e --- /dev/null +++ b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2025-09-01/examples/AccountCapabilityHost/list.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "test-rg", + "accountName": "account-1", + "api-version": "2025-09-01" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/test-rg/providers/Microsoft.CognitiveServices/accounts/account-1/capabilityHosts/capabilityHostName", + "name": "capabilityHostName", + "type": "Microsoft.CognitiveServices/accounts/capabilityHosts", + "properties": { + "description": "string", + "tags": { + "string": "string" + }, + "customerSubnet": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroups/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubne", + "provisioningState": "Succeeded" + } + } + ] + } + } + } +} diff --git a/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2025-09-01/examples/ProjectCapabilityHost/createOrUpdate.json b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2025-09-01/examples/ProjectCapabilityHost/createOrUpdate.json index 861790273b93..956f5e8dfe98 100644 --- a/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2025-09-01/examples/ProjectCapabilityHost/createOrUpdate.json +++ b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2025-09-01/examples/ProjectCapabilityHost/createOrUpdate.json @@ -8,7 +8,18 @@ "api-version": "2025-09-01", "capabilityHost": { "properties": { - "customerSubnet": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroups/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet" + "aiServicesConnections": [ + "aoai_connection" + ], + "storageConnections": [ + "blob_connection" + ], + "vectorStoreConnections": [ + "acs_connection" + ], + "threadStorageConnections": [ + "aca_connection" + ] } } }, @@ -20,11 +31,18 @@ "name": "capabilityHostName", "type": "Microsoft.CognitiveServices/accounts/projects/capabilityHosts", "properties": { - "description": "string", - "tags": { - "string": "string" - }, - "customerSubnet": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroups/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubne", + "aiServicesConnections": [ + "aoai_connection" + ], + "storageConnections": [ + "blob_connection" + ], + "vectorStoreConnections": [ + "acs_connection" + ], + "threadStorageConnections": [ + "aca_connection" + ], "provisioningState": "Succeeded" } } @@ -38,11 +56,18 @@ "name": "capabilityHostName", "type": "Microsoft.CognitiveServices/accounts/projects/capabilityHosts", "properties": { - "description": "string", - "tags": { - "string": "string" - }, - "customerSubnet": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroups/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubne", + "aiServicesConnections": [ + "aoai_connection" + ], + "storageConnections": [ + "blob_connection" + ], + "vectorStoreConnections": [ + "acs_connection" + ], + "threadStorageConnections": [ + "aca_connection" + ], "provisioningState": "Succeeded" } } diff --git a/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2025-09-01/examples/ProjectCapabilityHost/get.json b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2025-09-01/examples/ProjectCapabilityHost/get.json index f083bcb59f90..d7d73e03759f 100644 --- a/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2025-09-01/examples/ProjectCapabilityHost/get.json +++ b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2025-09-01/examples/ProjectCapabilityHost/get.json @@ -15,11 +15,18 @@ "name": "capabilityHostName", "type": "Microsoft.CognitiveServices/accounts/projects/capabilityHosts", "properties": { - "description": "string", - "tags": { - "string": "string" - }, - "customerSubnet": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroups/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubne", + "aiServicesConnections": [ + "aoai_connection" + ], + "storageConnections": [ + "blob_connection" + ], + "vectorStoreConnections": [ + "acs_connection" + ], + "threadStorageConnections": [ + "aca_connection" + ], "provisioningState": "Succeeded" } } diff --git a/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2025-09-01/examples/ProjectCapabilityHost/list.json b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2025-09-01/examples/ProjectCapabilityHost/list.json new file mode 100644 index 000000000000..6b3539578989 --- /dev/null +++ b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2025-09-01/examples/ProjectCapabilityHost/list.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "test-rg", + "accountName": "account-1", + "projectName": "project-1", + "api-version": "2025-09-01" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/test-rg/providers/Microsoft.CognitiveServices/accounts/account-1/projects/project-1/capabilityHosts/capabilityHostName", + "name": "capabilityHostName", + "type": "Microsoft.CognitiveServices/accounts/projects/capabilityHosts", + "properties": { + "aiServicesConnections": [ + "aoai_connection" + ], + "storageConnections": [ + "blob_connection" + ], + "vectorStoreConnections": [ + "acs_connection" + ], + "threadStorageConnections": [ + "aca_connection" + ], + "provisioningState": "Succeeded" + } + } + ] + } + } + } +} diff --git a/specification/cognitiveservices/resource-manager/readme.md b/specification/cognitiveservices/resource-manager/readme.md index d33d74abf222..c8b11204bb21 100644 --- a/specification/cognitiveservices/resource-manager/readme.md +++ b/specification/cognitiveservices/resource-manager/readme.md @@ -50,9 +50,9 @@ suppressions: - code: ProvisioningStateMustBeReadOnly reason: Schema ref is AgentDeploymentResource -> AgentDeployment. AgentDeployment has a readonly provisioning state. where: - - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/projects/{projectName}/applications/{appName}/deployments/{deploymentName}"].get.responses.200.schema - - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/projects/{projectName}/applications/{appName}/deployments/{deploymentName}"].put.responses.200.schema - - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/projects/{projectName}/applications/{appName}/deployments/{deploymentName}"].put.responses.201.schema + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/projects/{projectName}/applications/{appName}/agentDeployments/{deploymentName}"].get.responses.200.schema + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/projects/{projectName}/applications/{appName}/agentDeployments/{deploymentName}"].put.responses.200.schema + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/projects/{projectName}/applications/{appName}/agentDeployments/{deploymentName}"].put.responses.201.schema - code: ArmResourcePropertiesBag reason: This API is copied from Machine Learning Services RP where this behavior is already established. where: @@ -101,10 +101,6 @@ suppressions: where: - $.definitions.ConnectionPropertiesV2.properties.metadata - $.definitions.CustomKeys.properties.keys - - code: NestedResourcesMustHaveListOperation - reason: This API will be added in the later api version, same behavior as AML RP and already got suppression approved. - where: - - $.definitions["CapabilityHostResource"] - code: LroLocationHeader reason: Align with existing API behavior in other APIs where: @@ -174,10 +170,6 @@ suppressions: where: - $.definitions.ConnectionPropertiesV2.properties.metadata - $.definitions.CustomKeys.properties.keys - - code: NestedResourcesMustHaveListOperation - reason: This API will be added in the later api version, same behavior as AML RP and already got suppression approved. - where: - - $.definitions["CapabilityHostResource"] - code: LroLocationHeader reason: Align with existing API behavior in other APIs where: @@ -229,10 +221,6 @@ suppressions: where: - $.definitions.ConnectionPropertiesV2.properties.metadata - $.definitions.CustomKeys.properties.keys - - code: NestedResourcesMustHaveListOperation - reason: This API will be added in the later api version, same behavior as AML RP and already got suppression approved. - where: - - $.definitions["CapabilityHostResource"] - code: LroLocationHeader reason: Align with existing API behavior in other APIs where: @@ -284,10 +272,6 @@ suppressions: where: - $.definitions.ConnectionPropertiesV2.properties.metadata - $.definitions.CustomKeys.properties.keys - - code: NestedResourcesMustHaveListOperation - reason: This API will be added in the later api version, same behavior as AML RP and already got suppression approved. - where: - - $.definitions["CapabilityHostResource"] - code: LroLocationHeader reason: Align with existing API behavior in other APIs where: @@ -339,10 +323,6 @@ suppressions: where: - $.definitions.ConnectionPropertiesV2.properties.metadata - $.definitions.CustomKeys.properties.keys - - code: NestedResourcesMustHaveListOperation - reason: This API will be added in the later api version, same behavior as AML RP and already got suppression approved. - where: - - $.definitions["CapabilityHostResource"] - code: LroLocationHeader reason: Align with existing API behavior in other APIs where: diff --git a/specification/compute/Common.Management/legacy.tsp b/specification/compute/Common.Management/legacy.tsp index ff175c693f86..15548f07996a 100644 --- a/specification/compute/Common.Management/legacy.tsp +++ b/specification/compute/Common.Management/legacy.tsp @@ -250,6 +250,23 @@ namespace Azure.ResourceManager.Legacy { Response extends {} = ArmResponse> >(...ParentParameters, ...Parameters): Response | ErrorType; + /** + * @dev List a single page of the resource + * @template Resource The resource being listed + * @template Parameters Optional. Additional parameters after the path parameters + * @template Response Optional. The response returned by the list + */ + @segmentOf(ResourceTypeParameter) + @doc("List a {name}", Resource) + @get + @listsResource(Resource) + @armResourceList(Resource) + ListSinglePage< + Resource extends Azure.ResourceManager.CommonTypes.Resource, + Parameters extends {} = {}, + Response extends {} = ArmResponse> + >(...ParentParameters, ...Parameters): Response | ErrorType; + /** * @dev List a resource * @template Resource The resource being listed diff --git a/specification/compute/Compute.Management/CapacityReservation.tsp b/specification/compute/Compute.Management/CapacityReservation.tsp index 6c95dba429c5..11dda3e39c1a 100644 --- a/specification/compute/Compute.Management/CapacityReservation.tsp +++ b/specification/compute/Compute.Management/CapacityReservation.tsp @@ -54,7 +54,8 @@ interface CapacityReservations { */ createOrUpdate is ComputeResourceCreateOrReplaceAsync< CapacityReservation, - LroHeaders = ArmLroLocationHeader & Azure.Core.Foundations.RetryAfterHeader + LroHeaders = ArmLroLocationHeader & + Azure.Core.Foundations.RetryAfterHeader >; /** @@ -64,7 +65,8 @@ interface CapacityReservations { update is ComputeCustomPatchAsync< CapacityReservation, CapacityReservationUpdate, - LroHeaders = ArmLroLocationHeader & Azure.Core.Foundations.RetryAfterHeader + LroHeaders = ArmLroLocationHeader & + Azure.Core.Foundations.RetryAfterHeader >; /** diff --git a/specification/compute/Compute.Management/DedicatedHost.tsp b/specification/compute/Compute.Management/DedicatedHost.tsp index 48d8fdc6790c..405418a5ea88 100644 --- a/specification/compute/Compute.Management/DedicatedHost.tsp +++ b/specification/compute/Compute.Management/DedicatedHost.tsp @@ -52,7 +52,8 @@ interface DedicatedHosts { */ createOrUpdate is ComputeResourceCreateOrReplaceAsync< DedicatedHost, - LroHeaders = ArmLroLocationHeader & Azure.Core.Foundations.RetryAfterHeader + LroHeaders = ArmLroLocationHeader & + Azure.Core.Foundations.RetryAfterHeader >; /** @@ -63,7 +64,7 @@ interface DedicatedHosts { DedicatedHost, DedicatedHostUpdate, Response = ArmResponse & - ArmLroLocationHeader & + ArmLroLocationHeader & Azure.Core.Foundations.RetryAfterHeader >; diff --git a/specification/compute/Compute.Management/Image.tsp b/specification/compute/Compute.Management/Image.tsp index 1e77c0b9d157..b90182c29650 100644 --- a/specification/compute/Compute.Management/Image.tsp +++ b/specification/compute/Compute.Management/Image.tsp @@ -49,7 +49,8 @@ interface Images { */ createOrUpdate is ComputeResourceCreateOrReplaceAsync< Image, - LroHeaders = ArmLroLocationHeader & Azure.Core.Foundations.RetryAfterHeader + LroHeaders = ArmLroLocationHeader & + Azure.Core.Foundations.RetryAfterHeader >; /** @@ -61,7 +62,7 @@ interface Images { ImageUpdate, Response = ArmResponse | ArmResourceCreatedResponse< Image, - LroHeaders = ArmLroLocationHeader & + LroHeaders = ArmLroLocationHeader & Azure.Core.Foundations.RetryAfterHeader > >; diff --git a/specification/compute/Compute.Management/RestorePoint.tsp b/specification/compute/Compute.Management/RestorePoint.tsp index 270dc96ebdd4..4f6dc060d5b8 100644 --- a/specification/compute/Compute.Management/RestorePoint.tsp +++ b/specification/compute/Compute.Management/RestorePoint.tsp @@ -49,7 +49,8 @@ interface RestorePoints { RestorePoint, Response = ArmResourceCreatedResponse< RestorePoint, - ArmLroLocationHeader & Azure.Core.Foundations.RetryAfterHeader + ArmLroLocationHeader & + Azure.Core.Foundations.RetryAfterHeader > >; diff --git a/specification/compute/Compute.Management/VirtualMachine.tsp b/specification/compute/Compute.Management/VirtualMachine.tsp index 3c877619debd..9977132e6ccc 100644 --- a/specification/compute/Compute.Management/VirtualMachine.tsp +++ b/specification/compute/Compute.Management/VirtualMachine.tsp @@ -105,7 +105,8 @@ interface VirtualMachines { @header("If-None-Match") IfNoneMatch?: string; }, - LroHeaders = ArmLroLocationHeader & Azure.Core.Foundations.RetryAfterHeader + LroHeaders = ArmLroLocationHeader & + Azure.Core.Foundations.RetryAfterHeader >; /** @@ -129,7 +130,7 @@ interface VirtualMachines { IfNoneMatch?: string; }, Response = ArmResponse & - ArmLroLocationHeader & + ArmLroLocationHeader & Azure.Core.Foundations.RetryAfterHeader >; @@ -231,7 +232,8 @@ interface VirtualMachines { convertToManagedDisks is ComputeResourceActionAsync< VirtualMachine, void, - Response = OkResponse + Response = OkResponse, + LroHeaders = ArmLroLocationHeader & Azure.Core.Foundations.RetryAfterHeader >; /** @@ -247,7 +249,8 @@ interface VirtualMachines { */ @query("hibernate") hibernate?: boolean; - } + }, + LroHeaders = ArmLroLocationHeader & Azure.Core.Foundations.RetryAfterHeader >; /** @@ -280,7 +283,8 @@ interface VirtualMachines { performMaintenance is ComputeResourceActionAsync< VirtualMachine, void, - OkResponse + OkResponse, + LroHeaders = ArmLroLocationHeader & Azure.Core.Foundations.RetryAfterHeader >; /** @@ -296,18 +300,29 @@ interface VirtualMachines { */ @query("skipShutdown") skipShutdown?: boolean; - } + }, + LroHeaders = ArmLroLocationHeader & Azure.Core.Foundations.RetryAfterHeader >; /** * The operation to reapply a virtual machine's state. */ - reapply is ComputeResourceActionAsync; + reapply is ComputeResourceActionAsync< + VirtualMachine, + void, + OkResponse, + LroHeaders = ArmLroLocationHeader & Azure.Core.Foundations.RetryAfterHeader + >; /** * Shuts down the virtual machine, moves it to a new node, and powers it back on. */ - redeploy is ComputeResourceActionAsync; + redeploy is ComputeResourceActionAsync< + VirtualMachine, + void, + OkResponse, + LroHeaders = ArmLroLocationHeader & Azure.Core.Foundations.RetryAfterHeader + >; /** * Reimages (upgrade the operating system) a virtual machine which don't have a ephemeral OS disk, for virtual machines who have a ephemeral OS disk the virtual machine is reset to initial state. NOTE: The retaining of old OS disk depends on the value of deleteOption of OS disk. If deleteOption is detach, the old OS disk will be preserved after reimage. If deleteOption is delete, the old OS disk will be deleted after reimage. The deleteOption of the OS disk should be updated accordingly before performing the reimage. @@ -316,13 +331,20 @@ interface VirtualMachines { VirtualMachine, Request = VirtualMachineReimageParameters, Response = OkResponse, + LroHeaders = ArmLroLocationHeader & + Azure.Core.Foundations.RetryAfterHeader, OptionalRequestBody = true >; /** * The operation to restart a virtual machine. */ - restart is ComputeResourceActionAsync; + restart is ComputeResourceActionAsync< + VirtualMachine, + void, + OkResponse, + LroHeaders = ArmLroLocationHeader & Azure.Core.Foundations.RetryAfterHeader + >; /** * The operation to retrieve SAS URIs for a virtual machine's boot diagnostic logs. @@ -352,7 +374,12 @@ interface VirtualMachines { /** * The operation to start a virtual machine. */ - start is ComputeResourceActionAsync; + start is ComputeResourceActionAsync< + VirtualMachine, + void, + OkResponse, + LroHeaders = ArmLroLocationHeader & Azure.Core.Foundations.RetryAfterHeader + >; /** * Lists all available virtual machine sizes to which the specified virtual machine can be resized. diff --git a/specification/compute/Compute.Management/VirtualMachineExtension.tsp b/specification/compute/Compute.Management/VirtualMachineExtension.tsp index 19ec852e6d92..b82f96f7e48e 100644 --- a/specification/compute/Compute.Management/VirtualMachineExtension.tsp +++ b/specification/compute/Compute.Management/VirtualMachineExtension.tsp @@ -25,6 +25,27 @@ model VirtualMachineExtension >; } +@armResourceOperations +interface VirtualMachineExtensionOps + extends Azure.ResourceManager.Legacy.ComputeLegacyOperations< + { + ...Azure.ResourceManager.Legacy.BasePath, + + @doc("The name of the virtual machine.") + @path + @segment("virtualMachines") + vmName: string, + }, + KeysOf<{ + ...ResourceNameParameter< + VirtualMachineExtension, + SegmentName = "extensions", + KeyName = "vmExtensionName", + NamePattern = "" + >, + }> + > {} + @armResourceOperations interface VirtualMachineExtensions { /** @@ -46,7 +67,8 @@ interface VirtualMachineExtensions { */ createOrUpdate is ComputeResourceCreateOrReplaceAsync< VirtualMachineExtension, - LroHeaders = ArmLroLocationHeader & Azure.Core.Foundations.RetryAfterHeader + LroHeaders = ArmLroLocationHeader & + Azure.Core.Foundations.RetryAfterHeader >; /** @@ -57,7 +79,7 @@ interface VirtualMachineExtensions { VirtualMachineExtension, VirtualMachineExtensionUpdate, Response = ArmResponse & - ArmLroLocationHeader & + ArmLroLocationHeader & Azure.Core.Foundations.RetryAfterHeader >; @@ -72,7 +94,7 @@ interface VirtualMachineExtensions { /** * The operation to get all extensions of a Virtual Machine. */ - list is ComputeResourceListByParent< + list is VirtualMachineExtensionOps.ListSinglePage< VirtualMachineExtension, Parameters = { /** diff --git a/specification/compute/Compute.Management/VirtualMachineRunCommand.tsp b/specification/compute/Compute.Management/VirtualMachineRunCommand.tsp index b5e0f133997e..55387ad604a5 100644 --- a/specification/compute/Compute.Management/VirtualMachineRunCommand.tsp +++ b/specification/compute/Compute.Management/VirtualMachineRunCommand.tsp @@ -70,7 +70,8 @@ interface VirtualMachineRunCommands { */ createOrUpdate is VirtualMachineRunCommandOps.CreateOrUpdateAsync< VirtualMachineRunCommand, - LroHeaders = ArmLroLocationHeader & Azure.Core.Foundations.RetryAfterHeader + LroHeaders = ArmLroLocationHeader & + Azure.Core.Foundations.RetryAfterHeader >; /** @@ -81,7 +82,7 @@ interface VirtualMachineRunCommands { VirtualMachineRunCommand, VirtualMachineRunCommandUpdate, Response = ArmResponse & - ArmLroLocationHeader & + ArmLroLocationHeader & Azure.Core.Foundations.RetryAfterHeader >; @@ -165,7 +166,8 @@ interface VirtualMachineScaleSetVMRunCommands { @operationId("VirtualMachineScaleSetVMRunCommands_CreateOrUpdate") createOrUpdate is VirtualMachineScaleSetVMRunCommandOps.CreateOrUpdateAsync< VirtualMachineRunCommand, - LroHeaders = ArmLroLocationHeader & Azure.Core.Foundations.RetryAfterHeader + LroHeaders = ArmLroLocationHeader & + Azure.Core.Foundations.RetryAfterHeader >; /** @@ -178,7 +180,7 @@ interface VirtualMachineScaleSetVMRunCommands { VirtualMachineRunCommand, VirtualMachineRunCommandUpdate, Response = ArmResponse & - ArmLroLocationHeader & + ArmLroLocationHeader & Azure.Core.Foundations.RetryAfterHeader >; diff --git a/specification/compute/Compute.Management/VirtualMachineScaleSet.tsp b/specification/compute/Compute.Management/VirtualMachineScaleSet.tsp index ce6a119c9586..819178d2ddce 100644 --- a/specification/compute/Compute.Management/VirtualMachineScaleSet.tsp +++ b/specification/compute/Compute.Management/VirtualMachineScaleSet.tsp @@ -110,7 +110,8 @@ interface VirtualMachineScaleSets { @header("If-None-Match") IfNoneMatch?: string; }, - LroHeaders = ArmLroLocationHeader & Azure.Core.Foundations.RetryAfterHeader + LroHeaders = ArmLroLocationHeader & + Azure.Core.Foundations.RetryAfterHeader >; /** @@ -134,7 +135,7 @@ interface VirtualMachineScaleSets { IfNoneMatch?: string; }, Response = ArmResponse & - ArmLroLocationHeader & + ArmLroLocationHeader & Azure.Core.Foundations.RetryAfterHeader >; @@ -204,6 +205,8 @@ interface VirtualMachineScaleSets { @query("hibernate") hibernate?: boolean; }, + LroHeaders = ArmLroLocationHeader & + Azure.Core.Foundations.RetryAfterHeader, OptionalRequestBody = true >; @@ -221,7 +224,8 @@ interface VirtualMachineScaleSets { */ @query("forceDeletion") forceDeletion?: boolean; - } + }, + LroHeaders = ArmLroLocationHeader & Azure.Core.Foundations.RetryAfterHeader >; /** @@ -270,7 +274,8 @@ interface VirtualMachineScaleSets { updateInstances is ComputeResourceActionAsync< VirtualMachineScaleSet, VirtualMachineScaleSetVMInstanceRequiredIDs, - OkResponse + OkResponse, + LroHeaders = ArmLroLocationHeader & Azure.Core.Foundations.RetryAfterHeader >; /** @@ -294,6 +299,8 @@ interface VirtualMachineScaleSets { VirtualMachineScaleSet, Request = VirtualMachineScaleSetVMInstanceIDs, Response = OkResponse, + LroHeaders = ArmLroLocationHeader & + Azure.Core.Foundations.RetryAfterHeader, OptionalRequestBody = true >; @@ -312,6 +319,8 @@ interface VirtualMachineScaleSets { @query("skipShutdown") skipShutdown?: boolean; }, + LroHeaders = ArmLroLocationHeader & + Azure.Core.Foundations.RetryAfterHeader, OptionalRequestBody = true >; @@ -321,7 +330,8 @@ interface VirtualMachineScaleSets { reapply is ComputeResourceActionAsync< VirtualMachineScaleSet, void, - OkResponse + OkResponse, + LroHeaders = ArmLroLocationHeader & Azure.Core.Foundations.RetryAfterHeader >; /** @@ -331,6 +341,8 @@ interface VirtualMachineScaleSets { VirtualMachineScaleSet, Request = VirtualMachineScaleSetVMInstanceIDs, Response = OkResponse, + LroHeaders = ArmLroLocationHeader & + Azure.Core.Foundations.RetryAfterHeader, OptionalRequestBody = true >; @@ -341,6 +353,8 @@ interface VirtualMachineScaleSets { VirtualMachineScaleSet, Request = VirtualMachineScaleSetReimageParameters, Response = OkResponse, + LroHeaders = ArmLroLocationHeader & + Azure.Core.Foundations.RetryAfterHeader, OptionalRequestBody = true >; @@ -352,6 +366,8 @@ interface VirtualMachineScaleSets { VirtualMachineScaleSet, Request = VirtualMachineScaleSetVMInstanceIDs, Response = OkResponse, + LroHeaders = ArmLroLocationHeader & + Azure.Core.Foundations.RetryAfterHeader, OptionalRequestBody = true >; @@ -362,6 +378,8 @@ interface VirtualMachineScaleSets { VirtualMachineScaleSet, Request = VirtualMachineScaleSetVMInstanceIDs, Response = OkResponse, + LroHeaders = ArmLroLocationHeader & + Azure.Core.Foundations.RetryAfterHeader, OptionalRequestBody = true >; @@ -371,7 +389,8 @@ interface VirtualMachineScaleSets { setOrchestrationServiceState is ComputeResourceActionAsync< VirtualMachineScaleSet, OrchestrationServiceStateInput, - OkResponse + OkResponse, + LroHeaders = ArmLroLocationHeader & Azure.Core.Foundations.RetryAfterHeader >; /** @@ -393,6 +412,8 @@ interface VirtualMachineScaleSets { VirtualMachineScaleSet, Request = VirtualMachineScaleSetVMInstanceIDs, Response = OkResponse, + LroHeaders = ArmLroLocationHeader & + Azure.Core.Foundations.RetryAfterHeader, OptionalRequestBody = true >; @@ -405,7 +426,8 @@ interface VirtualMachineScaleSets { startExtensionUpgrade is ComputeResourceActionAsync< VirtualMachineScaleSet, void, - Response = OkResponse + Response = OkResponse, + LroHeaders = ArmLroLocationHeader & Azure.Core.Foundations.RetryAfterHeader >; /** @@ -417,7 +439,8 @@ interface VirtualMachineScaleSets { startOSUpgrade is ComputeResourceActionAsync< VirtualMachineScaleSet, void, - Response = OkResponse + Response = OkResponse, + LroHeaders = ArmLroLocationHeader & Azure.Core.Foundations.RetryAfterHeader >; /** @@ -429,7 +452,8 @@ interface VirtualMachineScaleSets { cancel is ComputeResourceActionAsync< VirtualMachineScaleSet, void, - Response = OkResponse + Response = OkResponse, + LroHeaders = ArmLroLocationHeader & Azure.Core.Foundations.RetryAfterHeader >; /** @@ -440,7 +464,8 @@ interface VirtualMachineScaleSets { scaleOut is ComputeResourceActionAsync< VirtualMachineScaleSet, VMScaleSetScaleOutInput, - Response = OkResponse + Response = OkResponse, + LroHeaders = ArmLroLocationHeader & Azure.Core.Foundations.RetryAfterHeader >; } diff --git a/specification/compute/Compute.Management/VirtualMachineScaleSetExtension.tsp b/specification/compute/Compute.Management/VirtualMachineScaleSetExtension.tsp index b4fb6836dc54..ae3e581dd3b1 100644 --- a/specification/compute/Compute.Management/VirtualMachineScaleSetExtension.tsp +++ b/specification/compute/Compute.Management/VirtualMachineScaleSetExtension.tsp @@ -61,7 +61,8 @@ interface VirtualMachineScaleSetExtensions { */ createOrUpdate is ComputeResourceCreateOrReplaceAsync< VirtualMachineScaleSetExtension, - LroHeaders = ArmLroLocationHeader & Azure.Core.Foundations.RetryAfterHeader + LroHeaders = ArmLroLocationHeader & + Azure.Core.Foundations.RetryAfterHeader >; /** @@ -73,7 +74,7 @@ interface VirtualMachineScaleSetExtensions { VirtualMachineScaleSetExtensionUpdate, Response = ArmResponse | ArmResourceCreatedResponse< VirtualMachineScaleSetExtension, - LroHeaders = ArmLroLocationHeader & + LroHeaders = ArmLroLocationHeader & Azure.Core.Foundations.RetryAfterHeader > >; diff --git a/specification/compute/Compute.Management/VirtualMachineScaleSetVM.tsp b/specification/compute/Compute.Management/VirtualMachineScaleSetVM.tsp index 1670fc3ab7e3..f9278e43a2d1 100644 --- a/specification/compute/Compute.Management/VirtualMachineScaleSetVM.tsp +++ b/specification/compute/Compute.Management/VirtualMachineScaleSetVM.tsp @@ -134,7 +134,8 @@ interface VirtualMachineScaleSetVMS { @header("If-None-Match") IfNoneMatch?: string; }, - Response = ArmResourceUpdatedResponse | (ArmAcceptedLroResponse & { + Response = ArmResourceUpdatedResponse | (ArmAcceptedLroResponse & + Azure.Core.Foundations.RetryAfterHeader> & { @bodyRoot _: VirtualMachineScaleSetVM; }) >; @@ -207,7 +208,8 @@ interface VirtualMachineScaleSetVMS { deallocate is ComputeResourceActionAsync< VirtualMachineScaleSetVM, void, - OkResponse + OkResponse, + LroHeaders = ArmLroLocationHeader & Azure.Core.Foundations.RetryAfterHeader >; /** @@ -232,6 +234,8 @@ interface VirtualMachineScaleSetVMS { VirtualMachineScaleSetVM, Request = VirtualMachineScaleSetVMReimageParameters, Response = OkResponse, + LroHeaders = ArmLroLocationHeader & + Azure.Core.Foundations.RetryAfterHeader, OptionalRequestBody = true >; @@ -244,7 +248,8 @@ interface VirtualMachineScaleSetVMS { reimageAll is ComputeResourceActionAsync< VirtualMachineScaleSetVM, void, - OkResponse + OkResponse, + LroHeaders = ArmLroLocationHeader & Azure.Core.Foundations.RetryAfterHeader >; /** @@ -277,7 +282,8 @@ interface VirtualMachineScaleSetVMS { performMaintenance is ComputeResourceActionAsync< VirtualMachineScaleSetVM, void, - OkResponse + OkResponse, + LroHeaders = ArmLroLocationHeader & Azure.Core.Foundations.RetryAfterHeader >; /** @@ -295,7 +301,8 @@ interface VirtualMachineScaleSetVMS { */ @query("skipShutdown") skipShutdown?: boolean; - } + }, + LroHeaders = ArmLroLocationHeader & Azure.Core.Foundations.RetryAfterHeader >; /** @@ -306,7 +313,8 @@ interface VirtualMachineScaleSetVMS { redeploy is ComputeResourceActionAsync< VirtualMachineScaleSetVM, void, - OkResponse + OkResponse, + LroHeaders = ArmLroLocationHeader & Azure.Core.Foundations.RetryAfterHeader >; /** @@ -317,7 +325,8 @@ interface VirtualMachineScaleSetVMS { restart is ComputeResourceActionAsync< VirtualMachineScaleSetVM, void, - OkResponse + OkResponse, + LroHeaders = ArmLroLocationHeader & Azure.Core.Foundations.RetryAfterHeader >; /** @@ -346,7 +355,8 @@ interface VirtualMachineScaleSetVMS { start is ComputeResourceActionAsync< VirtualMachineScaleSetVM, void, - OkResponse + OkResponse, + LroHeaders = ArmLroLocationHeader & Azure.Core.Foundations.RetryAfterHeader >; /** diff --git a/specification/compute/Compute.Management/VirtualMachineScaleSetVMExtension.tsp b/specification/compute/Compute.Management/VirtualMachineScaleSetVMExtension.tsp index 7fbc8c12a5ae..36a4ba1b5149 100644 --- a/specification/compute/Compute.Management/VirtualMachineScaleSetVMExtension.tsp +++ b/specification/compute/Compute.Management/VirtualMachineScaleSetVMExtension.tsp @@ -48,6 +48,32 @@ model VirtualMachineScaleSetVMExtension vmssExtensionName: string; } +@armResourceOperations +interface VirtualMachineScaleSetVMExtensionsOps + extends Azure.ResourceManager.Legacy.ComputeLegacyOperations< + { + ...Azure.ResourceManager.Legacy.BasePath, + + @doc("The name of the VM scale set.") + @path + @segment("virtualMachineScaleSets") + vmScaleSetName: string, + + @doc("The instance ID of the virtual machine.") + @path + @segment("virtualMachines") + instanceId: string, + }, + KeysOf<{ + ...ResourceNameParameter< + VirtualMachineScaleSetVMExtension, + SegmentName = "extensions", + KeyName = "vmssExtensionName", + NamePattern = "" + >, + }> + > {} + @armResourceOperations interface VirtualMachineScaleSetVMExtensions { /** @@ -73,7 +99,8 @@ interface VirtualMachineScaleSetVMExtensions { @operationId("VirtualMachineScaleSetVMExtensions_CreateOrUpdate") createOrUpdate is ComputeResourceCreateOrReplaceAsync< VirtualMachineScaleSetVMExtension, - LroHeaders = ArmLroLocationHeader & Azure.Core.Foundations.RetryAfterHeader + LroHeaders = ArmLroLocationHeader & + Azure.Core.Foundations.RetryAfterHeader >; /** @@ -86,7 +113,7 @@ interface VirtualMachineScaleSetVMExtensions { VirtualMachineScaleSetVMExtension, VirtualMachineScaleSetVMExtensionUpdate, Response = ArmResponse & - ArmLroLocationHeader & + ArmLroLocationHeader & Azure.Core.Foundations.RetryAfterHeader >; @@ -105,7 +132,7 @@ interface VirtualMachineScaleSetVMExtensions { */ #suppress "@azure-tools/typespec-azure-core/no-openapi" "non-standard operations" @operationId("VirtualMachineScaleSetVMExtensions_List") - list is ComputeResourceListByParent< + list is VirtualMachineScaleSetVMExtensionsOps.ListSinglePage< VirtualMachineScaleSetVMExtension, Parameters = { /** diff --git a/specification/compute/Compute.Management/back-compatible.tsp b/specification/compute/Compute.Management/back-compatible.tsp index af1ba1fae886..2dbdd10b5441 100644 --- a/specification/compute/Compute.Management/back-compatible.tsp +++ b/specification/compute/Compute.Management/back-compatible.tsp @@ -328,9 +328,214 @@ using Microsoft.Compute; // @@clientName(VirtualMachineScaleSetVMExtension.vmName, "name"); @@clientName(VirtualMachineScaleSetVMExtension.vmType, "type"); + @@clientName(AvailabilitySets.convertToVirtualMachineScaleSet::parameters.body, "parameters" ); @@clientName(VirtualMachines.migrateToVMScaleSet::parameters.body, "parameters" ); + +@@clientLocation(VirtualMachineScaleSetVMS.approveRollingUpgrade, + "VirtualMachineScaleSetVMs", + "!csharp" +); +@@clientLocation(VirtualMachineScaleSetVMS.deallocate, + "VirtualMachineScaleSetVMs", + "!csharp" +); +@@clientLocation(VirtualMachineScaleSetVMS.getInstanceView, + "VirtualMachineScaleSetVMs", + "!csharp" +); +@@clientLocation(VirtualMachineScaleSetVMS.reimage, + "VirtualMachineScaleSetVMs", + "!csharp" +); +@@clientLocation(VirtualMachineScaleSetVMS.reimageAll, + "VirtualMachineScaleSetVMs", + "!csharp" +); +@@clientLocation(VirtualMachineScaleSetVMS.simulateEviction, + "VirtualMachineScaleSetVMs", + "!csharp" +); +@@clientLocation(VirtualMachineScaleSetVMS.attachDetachDataDisks, + "VirtualMachineScaleSetVMs", + "!csharp" +); +@@clientLocation(VirtualMachineScaleSetVMS.performMaintenance, + "VirtualMachineScaleSetVMs", + "!csharp" +); + +@@clientLocation(VirtualMachineScaleSetVMS.powerOff, + "VirtualMachineScaleSetVMs", + "!csharp" +); +@@clientLocation(VirtualMachineScaleSetVMS.redeploy, + "VirtualMachineScaleSetVMs", + "!csharp" +); +@@clientLocation(VirtualMachineScaleSetVMS.restart, + "VirtualMachineScaleSetVMs", + "!csharp" +); +@@clientLocation(VirtualMachineScaleSetVMS.retrieveBootDiagnosticsData, + "VirtualMachineScaleSetVMs", + "!csharp" +); + +@@clientLocation(VirtualMachineScaleSetVMS.start, + "VirtualMachineScaleSetVMs", + "!csharp" +); +@@clientLocation(VirtualMachineScaleSetVMS.runCommand, + "VirtualMachineScaleSetVMs", + "!csharp" +); +@@clientLocation(VirtualMachineScaleSetVMS.restart, + "VirtualMachineScaleSetVMs", + "!csharp" +); +@@clientLocation(VirtualMachineScaleSetVMS.retrieveBootDiagnosticsData, + "VirtualMachineScaleSetVMs", + "!csharp" +); + +@@clientLocation(VirtualMachineScaleSetVMS.get, + "VirtualMachineScaleSetVMs", + "!csharp" +); +@@clientLocation(VirtualMachineScaleSetVMS.update, + "VirtualMachineScaleSetVMs", + "!csharp" +); +@@clientLocation(VirtualMachineScaleSetVMS.delete, + "VirtualMachineScaleSetVMs", + "!csharp" +); +@@clientLocation(VirtualMachineScaleSetVMS.list, + "VirtualMachineScaleSetVMs", + "!csharp" +); + +@@clientLocation(SshPublicKeyResources.get, "SshPublicKeys", "!csharp"); +@@clientLocation(SshPublicKeyResources.create, "SshPublicKeys", "!csharp"); +@@clientLocation(SshPublicKeyResources.update, "SshPublicKeys", "!csharp"); +@@clientLocation(SshPublicKeyResources.delete, "SshPublicKeys", "!csharp"); +@@clientLocation(SshPublicKeyResources.generateKeyPair, + "SshPublicKeys", + "!csharp" +); +@@clientLocation(SshPublicKeyResources.listBySubscription, + "SshPublicKeys", + "!csharp" +); +@@clientLocation(SshPublicKeyResources.listByResourceGroup, + "SshPublicKeys", + "!csharp" +); + +@@clientLocation(VirtualMachineImagesEdgeZoneOperationGroup.listPublishers, + "VirtualMachineImagesEdgeZone", + "!csharp" +); +@@clientLocation(VirtualMachineImagesEdgeZoneOperationGroup.listOffers, + "VirtualMachineImagesEdgeZone", + "!csharp" +); +@@clientLocation(VirtualMachineImagesEdgeZoneOperationGroup.listSkus, + "VirtualMachineImagesEdgeZone", + "!csharp" +); +@@clientLocation(VirtualMachineImagesEdgeZoneOperationGroup.list, + "VirtualMachineImagesEdgeZone", + "!csharp" +); +@@clientLocation(VirtualMachineImagesEdgeZoneOperationGroup.get, + "VirtualMachineImagesEdgeZone", + "!csharp" +); + +@@clientLocation(VirtualMachineImagesOperationGroup.listPublishers, + "VirtualMachineImages", + "!csharp" +); +@@clientLocation(VirtualMachineImagesOperationGroup.listOffers, + "VirtualMachineImages", + "!csharp" +); +@@clientLocation(VirtualMachineImagesOperationGroup.listSkus, + "VirtualMachineImages", + "!csharp" +); +@@clientLocation(VirtualMachineImagesOperationGroup.list, + "VirtualMachineImages", + "!csharp" +); +@@clientLocation(VirtualMachineImagesOperationGroup.get, + "VirtualMachineImages", + "!csharp" +); +@@clientLocation(VirtualMachineImagesOperationGroup.listByEdgeZone, + "VirtualMachineImages", + "!csharp" +); +@@clientLocation(VirtualMachineImagesOperationGroup.listWithProperties, + "VirtualMachineImages", + "!csharp" +); + +@@clientLocation(UsageOperationGroup.list, "Usage", "!csharp"); + +@@clientLocation(VirtualMachineSizesOperationGroup.list, + "VirtualMachineSizes", + "!csharp" +); + +@@clientLocation(VirtualMachinesOperationGroup.listByLocation, + VirtualMachines, + "!csharp" +); + +@@clientLocation(VirtualMachineScaleSetsOperationGroup.listByLocation, + VirtualMachineScaleSets, + "!csharp" +); + +@@clientLocation(VirtualMachineScaleSets.startExtensionUpgrade, + "VirtualMachineScaleSetRollingUpgrades", + "!csharp" +); +@@clientLocation(VirtualMachineScaleSets.cancel, + "VirtualMachineScaleSetRollingUpgrades", + "!csharp" +); +@@clientLocation(VirtualMachineScaleSets.startOSUpgrade, + "VirtualMachineScaleSetRollingUpgrades", + "!csharp" +); + +@@clientLocation(LogAnalyticsOperationGroup.exportThrottledRequests, + "LogAnalytics", + "!csharp" +); +@@clientLocation(LogAnalyticsOperationGroup.exportRequestRateByInterval, + "LogAnalytics", + "!csharp" +); + +@@clientLocation(RollingUpgradeStatusInfos.getLatest, + "VirtualMachineScaleSetRollingUpgrades", + "!csharp" +); + +@@clientLocation(VirtualMachineRunCommandsOperationGroup.list, + VirtualMachineRunCommands, + "!csharp" +); +@@clientLocation(VirtualMachineRunCommandsOperationGroup.get, + VirtualMachineRunCommands, + "!csharp" +); diff --git a/specification/compute/Compute.Management/client.tsp b/specification/compute/Compute.Management/client.tsp new file mode 100644 index 000000000000..12623066a4e7 --- /dev/null +++ b/specification/compute/Compute.Management/client.tsp @@ -0,0 +1,180 @@ +import "./main.tsp"; +import "@azure-tools/typespec-client-generator-core"; + +using Azure.ClientGenerator.Core; +using Microsoft.Compute; + +@@clientName(NetworkApiVersion.`2020-11-01`, "TwoThousandTwenty1101", "go"); +@@clientName(NetworkApiVersion.`2022-11-01`, "TwoThousandTwentyTwo1101", "go"); + +@@alternateType(VirtualMachineScaleSetStorageProfile.diskControllerType, + string, + "go" +); +@@alternateType(VirtualMachineScaleSetUpdateStorageProfile.diskControllerType, + string, + "go" +); + +@@clientName(VirtualMachineSizeTypes.Standard_B1ms, "StandardB1Ms", "go"); +@@clientName(VirtualMachineSizeTypes.Standard_B2ms, "StandardB2Ms", "go"); +@@clientName(VirtualMachineSizeTypes.Standard_B4ms, "StandardB4Ms", "go"); +@@clientName(VirtualMachineSizeTypes.Standard_B8ms, "StandardB8Ms", "go"); +@@clientName(VirtualMachineSizeTypes.`Standard_M128-32ms`, + "StandardM12832Ms", + "go" +); +@@clientName(VirtualMachineSizeTypes.`Standard_M128-64ms`, + "StandardM12864Ms", + "go" +); +@@clientName(VirtualMachineSizeTypes.Standard_M128ms, "StandardM128Ms", "go"); +@@clientName(VirtualMachineSizeTypes.`Standard_M64-16ms`, + "StandardM6416Ms", + "go" +); +@@clientName(VirtualMachineSizeTypes.`Standard_M64-32ms`, + "StandardM6432Ms", + "go" +); +@@clientName(VirtualMachineSizeTypes.Standard_M64ms, "StandardM64Ms", "go"); + +@@alternateType(AdditionalUnattendContent.passName, "OobeSystem", "go"); +@@alternateType(AdditionalUnattendContent.componentName, + "Microsoft-Windows-Shell-Setup", + "go" +); + +// Property case changes: diskIOPSReadWrite -> diskIopsReadWrite (retain old Java name) +@@clientName(VirtualMachineScaleSetDataDisk.diskIOPSReadWrite, + "diskIopsReadWrite", + "java" +); +@@clientName(DataDisk.diskIOPSReadWrite, "diskIopsReadWrite", "java"); + +// Property case changes: enableIPForwarding -> enableIpForwarding (retain old Java name) +@@clientName(VirtualMachineScaleSetNetworkConfigurationProperties.enableIPForwarding, + "enableIpForwarding", + "java" +); +@@clientName(VirtualMachineScaleSetUpdateNetworkConfigurationProperties.enableIPForwarding, + "enableIpForwarding", + "java" +); +@@clientName(VirtualMachineNetworkInterfaceConfigurationProperties.enableIPForwarding, + "enableIpForwarding", + "java" +); + +// Model name capitalization changes (retain previous Java model names) +@@clientName(PublicIPAddressSku, "PublicIpAddressSku", "java"); + +@@clientName(PublicIPAddressSkuName, "PublicIpAddressSkuName", "java"); +@@clientName(PublicIPAddressSkuTier, "PublicIpAddressSkuTier", "java"); +@@clientName(PublicIPAllocationMethod, "PublicIpAllocationMethod", "java"); +@@clientName(IPVersion, "IpVersion", "java"); +@@clientName(IPVersions, "IpVersions", "java"); +@@clientName(VirtualMachineScaleSetPublicIPAddressConfiguration, + "VirtualMachineScaleSetPublicIpAddressConfiguration", + "java" +); +@@clientName(VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings, + "VirtualMachineScaleSetPublicIpAddressConfigurationDnsSettings", + "java" +); +@@clientName(VirtualMachineScaleSetIPConfiguration, + "VirtualMachineScaleSetIpConfiguration", + "java" +); +@@clientName(VirtualMachineScaleSetUpdateIPConfiguration, + "VirtualMachineScaleSetUpdateIpConfiguration", + "java" +); +@@clientName(VirtualMachineScaleSetUpdatePublicIPAddressConfiguration, + "VirtualMachineScaleSetUpdatePublicIpAddressConfiguration", + "java" +); +@@clientName(VirtualMachineNetworkInterfaceIPConfiguration, + "VirtualMachineNetworkInterfaceIpConfiguration", + "java" +); +@@clientName(VirtualMachinePublicIPAddressConfiguration, + "VirtualMachinePublicIpAddressConfiguration", + "java" +); +@@clientName(VirtualMachinePublicIPAddressDnsSettingsConfiguration, + "VirtualMachinePublicIpAddressDnsSettingsConfiguration", + "java" +); +@@clientName(RestorePointSourceVMOSDisk, "RestorePointSourceVmosDisk", "java"); + +// Property case changes in VM size properties: vCPUs* -> vCpus* +@@clientName(VMSizeProperties.vCPUsAvailable, "vCpusAvailable", "java"); +@@clientName(VMSizeProperties.vCPUsPerCore, "vCpusPerCore", "java"); + +// Property case change: ultraSSDEnabled -> ultraSsdEnabled +@@clientName(AdditionalCapabilities.ultraSSDEnabled, "ultraSsdEnabled", "java"); +@@clientName(DedicatedHostGroupPropertiesAdditionalCapabilities.ultraSSDEnabled, + "ultraSsdEnabled", + "java" +); + +// Scale set IP configuration properties +@@clientName(VirtualMachineScaleSetIPConfigurationProperties.publicIPAddressConfiguration, + "publicIpAddressConfiguration", + "java" +); +@@clientName(VirtualMachineScaleSetIPConfigurationProperties.privateIPAddressVersion, + "privateIpAddressVersion", + "java" +); + +// Scale set public IP configuration properties +@@clientName(VirtualMachineScaleSetPublicIPAddressConfigurationProperties.publicIPAddressVersion, + "publicIpAddressVersion", + "java" +); +@@clientName(VirtualMachineScaleSetPublicIPAddressConfigurationProperties.publicIPPrefix, + "publicIpPrefix", + "java" +); + +// Scale set UPDATE IP configuration properties +@@clientName(VirtualMachineScaleSetUpdateIPConfigurationProperties.publicIPAddressConfiguration, + "publicIpAddressConfiguration", + "java" +); +@@clientName(VirtualMachineScaleSetUpdateIPConfigurationProperties.privateIPAddressVersion, + "privateIpAddressVersion", + "java" +); + +// Scale set UPDATE public IP configuration properties +@@clientName(VirtualMachineScaleSetUpdatePublicIPAddressConfigurationProperties.publicIPPrefix, + "publicIpPrefix", + "java" +); + +// Network interface IP configuration properties +@@clientName(VirtualMachineNetworkInterfaceIPConfigurationProperties.publicIPAddressConfiguration, + "publicIpAddressConfiguration", + "java" +); +@@clientName(VirtualMachineNetworkInterfaceIPConfigurationProperties.privateIPAddressVersion, + "privateIpAddressVersion", + "java" +); + +// VM-level public IP address configuration properties +@@clientName(VirtualMachinePublicIPAddressConfigurationProperties.publicIPAddressVersion, + "publicIpAddressVersion", + "java" +); +@@clientName(VirtualMachinePublicIPAddressConfigurationProperties.publicIPPrefix, + "publicIpPrefix", + "java" +); +@@clientName(VirtualMachinePublicIPAddressConfigurationProperties.publicIPAllocationMethod, + "publicIpAllocationMethod", + "java" +); diff --git a/specification/compute/Compute.Management/routes.tsp b/specification/compute/Compute.Management/routes.tsp index 16bb13c508f5..392c1f9ad81c 100644 --- a/specification/compute/Compute.Management/routes.tsp +++ b/specification/compute/Compute.Management/routes.tsp @@ -544,7 +544,7 @@ interface LogAnalyticsOperationGroup { @action("logAnalytics/apiAccess/getRequestRateByInterval") exportRequestRateByInterval is ComputeProviderActionAsync< Response = LogAnalyticsOperationResult, - LroHeaders = ArmAsyncOperationHeader & + LroHeaders = ArmAsyncOperationHeader & Azure.Core.Foundations.RetryAfterHeader, Scope = SubscriptionActionScope, Parameters = LocationParameter, @@ -560,7 +560,7 @@ interface LogAnalyticsOperationGroup { @action("logAnalytics/apiAccess/getThrottledRequests") exportThrottledRequests is ComputeProviderActionAsync< Response = LogAnalyticsOperationResult, - LroHeaders = ArmAsyncOperationHeader & + LroHeaders = ArmAsyncOperationHeader & Azure.Core.Foundations.RetryAfterHeader, Scope = SubscriptionActionScope, Parameters = LocationParameter, @@ -580,11 +580,7 @@ interface VirtualMachineRunCommandsOperationGroup { @action("runCommands") @list list is ComputeProviderActionSync< - Response = RunCommandListResult & { - #suppress "@azure-tools/typespec-azure-core/no-closed-literal-union" - @header - contentType: "application/json" | "text/json"; - }, + Response = RunCommandListResult, Scope = SubscriptionActionScope, Parameters = LocationParameter >; @@ -606,11 +602,7 @@ interface VirtualMachineRunCommandsOperationGroup { commandId: string, ...SubscriptionIdParameter, - ): ArmResponse | CloudError; + ): ArmResponse | CloudError; } @@doc(LogAnalyticsOperationGroup.exportRequestRateByInterval::parameters.body, diff --git a/specification/compute/Disk.Management/Disk.tsp b/specification/compute/Disk.Management/Disk.tsp index 135a5e45a662..8e36936056f8 100644 --- a/specification/compute/Disk.Management/Disk.tsp +++ b/specification/compute/Disk.Management/Disk.tsp @@ -68,10 +68,10 @@ interface Disks { #suppress "@azure-tools/typespec-azure-resource-manager/no-response-body" "For backward compatibility" createOrUpdate is ComputeResourceCreateOrReplaceAsync< Disk, - Response = ArmResourceUpdatedResponse | (ArmAcceptedLroResponse & { + Response = ArmResourceUpdatedResponse | (ArmAcceptedLroResponse & + Azure.Core.Foundations.RetryAfterHeader> & { @bodyRoot _: Disk; - }), - LroHeaders = ArmLroLocationHeader & Azure.Core.Foundations.RetryAfterHeader + }) >; /** @@ -82,7 +82,8 @@ interface Disks { update is ComputeCustomPatchAsync< Disk, DiskUpdate, - Response = ArmResponse | (ArmAcceptedLroResponse & { + Response = ArmResponse | (ArmAcceptedLroResponse & + Azure.Core.Foundations.RetryAfterHeader> & { @bodyRoot _: Disk; }) >; @@ -115,7 +116,12 @@ interface Disks { * Revokes access to a disk. */ @action("endGetAccess") - revokeAccess is ComputeResourceActionAsync; + revokeAccess is ComputeResourceActionAsync< + Disk, + void, + OkResponse, + LroHeaders = ArmLroLocationHeader & Azure.Core.Foundations.RetryAfterHeader + >; } @@doc(Disk.name, diff --git a/specification/compute/Disk.Management/DiskAccess.tsp b/specification/compute/Disk.Management/DiskAccess.tsp index 11cbfdec3d0d..66dcdc135647 100644 --- a/specification/compute/Disk.Management/DiskAccess.tsp +++ b/specification/compute/Disk.Management/DiskAccess.tsp @@ -43,7 +43,8 @@ interface DiskAccesses { #suppress "@azure-tools/typespec-azure-resource-manager/no-response-body" "For backward compatibility" createOrUpdate is ComputeResourceCreateOrReplaceAsync< DiskAccess, - Response = ArmResourceUpdatedResponse | (ArmAcceptedLroResponse & { + Response = ArmResourceUpdatedResponse | (ArmAcceptedLroResponse & + Azure.Core.Foundations.RetryAfterHeader> & { @bodyRoot _: DiskAccess; }) >; @@ -56,7 +57,8 @@ interface DiskAccesses { update is ComputeCustomPatchAsync< DiskAccess, DiskAccessUpdate, - Response = ArmResponse | (ArmAcceptedLroResponse & { + Response = ArmResponse | (ArmAcceptedLroResponse & + Azure.Core.Foundations.RetryAfterHeader> & { @bodyRoot _: DiskAccess; }) >; diff --git a/specification/compute/Disk.Management/DiskEncryptionSet.tsp b/specification/compute/Disk.Management/DiskEncryptionSet.tsp index 128a37ccc7b4..f9dead3bc448 100644 --- a/specification/compute/Disk.Management/DiskEncryptionSet.tsp +++ b/specification/compute/Disk.Management/DiskEncryptionSet.tsp @@ -43,7 +43,8 @@ interface DiskEncryptionSets { #suppress "@azure-tools/typespec-azure-resource-manager/no-response-body" "For backward compatibility" createOrUpdate is ComputeResourceCreateOrReplaceAsync< DiskEncryptionSet, - Response = ArmResourceUpdatedResponse | (ArmAcceptedLroResponse & { + Response = ArmResourceUpdatedResponse | (ArmAcceptedLroResponse & + Azure.Core.Foundations.RetryAfterHeader> & { @bodyRoot _: DiskEncryptionSet; }) >; @@ -56,7 +57,8 @@ interface DiskEncryptionSets { update is ComputeCustomPatchAsync< DiskEncryptionSet, DiskEncryptionSetUpdate, - Response = ArmResponse | (ArmAcceptedLroResponse & { + Response = ArmResponse | (ArmAcceptedLroResponse & + Azure.Core.Foundations.RetryAfterHeader> & { @bodyRoot _: DiskEncryptionSet; }) >; diff --git a/specification/compute/Disk.Management/DiskRestorePoint.tsp b/specification/compute/Disk.Management/DiskRestorePoint.tsp index 80aca7e4e279..f44ed052b616 100644 --- a/specification/compute/Disk.Management/DiskRestorePoint.tsp +++ b/specification/compute/Disk.Management/DiskRestorePoint.tsp @@ -94,7 +94,8 @@ interface DiskRestorePoints { revokeAccess is DiskRestorePointsOps.ActionAsync< DiskRestorePoint, void, - OkResponse + OkResponse, + LroHeaders = ArmLroLocationHeader & Azure.Core.Foundations.RetryAfterHeader >; } diff --git a/specification/compute/Disk.Management/PrivateEndpointConnection.tsp b/specification/compute/Disk.Management/PrivateEndpointConnection.tsp index 880650de9ecc..75831dc7823a 100644 --- a/specification/compute/Disk.Management/PrivateEndpointConnection.tsp +++ b/specification/compute/Disk.Management/PrivateEndpointConnection.tsp @@ -45,7 +45,8 @@ interface PrivateEndpointConnections { @operationId("DiskAccesses_UpdateAPrivateEndpointConnection") updateAPrivateEndpointConnection is ComputeResourceCreateOrReplaceAsync< PrivateEndpointConnection, - Response = ArmResourceUpdatedResponse | (ArmAcceptedLroResponse & { + Response = ArmResourceUpdatedResponse | (ArmAcceptedLroResponse & + Azure.Core.Foundations.RetryAfterHeader> & { @bodyRoot _: PrivateEndpointConnection; }) >; diff --git a/specification/compute/Disk.Management/Snapshot.tsp b/specification/compute/Disk.Management/Snapshot.tsp index f605272461ae..fb21d0b526bd 100644 --- a/specification/compute/Disk.Management/Snapshot.tsp +++ b/specification/compute/Disk.Management/Snapshot.tsp @@ -55,7 +55,8 @@ interface Snapshots { #suppress "@azure-tools/typespec-azure-resource-manager/no-response-body" "For backward compatibility" createOrUpdate is ComputeResourceCreateOrReplaceAsync< Snapshot, - Response = ArmResourceUpdatedResponse | (ArmAcceptedLroResponse & { + Response = ArmResourceUpdatedResponse | (ArmAcceptedLroResponse & + Azure.Core.Foundations.RetryAfterHeader> & { @bodyRoot _: Snapshot; }) >; @@ -68,7 +69,8 @@ interface Snapshots { update is ComputeCustomPatchAsync< Snapshot, SnapshotUpdate, - Response = ArmResourceUpdatedResponse | (ArmAcceptedLroResponse & { + Response = ArmResourceUpdatedResponse | (ArmAcceptedLroResponse & + Azure.Core.Foundations.RetryAfterHeader> & { @bodyRoot _: Snapshot; }) >; @@ -108,7 +110,12 @@ interface Snapshots { * Revokes access to a snapshot. */ @action("endGetAccess") - revokeAccess is ComputeResourceActionAsync; + revokeAccess is ComputeResourceActionAsync< + Snapshot, + void, + OkResponse, + LroHeaders = ArmLroLocationHeader & Azure.Core.Foundations.RetryAfterHeader + >; } @@doc(Snapshot.name, diff --git a/specification/compute/Disk.Management/back-compatible.tsp b/specification/compute/Disk.Management/back-compatible.tsp index 88858188e3d2..8480ec6b4268 100644 --- a/specification/compute/Disk.Management/back-compatible.tsp +++ b/specification/compute/Disk.Management/back-compatible.tsp @@ -82,3 +82,28 @@ using Microsoft.Compute; @@clientName(Snapshots.createOrUpdate::parameters.resource, "snapshot"); @@clientName(Snapshots.update::parameters.properties, "snapshot"); @@clientName(Snapshots.grantAccess::parameters.body, "grantAccessData"); + +@@clientLocation(DiskRestorePoints.get, "DiskRestorePoint", "!csharp"); +@@clientLocation(DiskRestorePoints.listByRestorePoint, + "DiskRestorePoint", + "!csharp" +); +@@clientLocation(DiskRestorePoints.grantAccess, "DiskRestorePoint", "!csharp"); +@@clientLocation(DiskRestorePoints.revokeAccess, "DiskRestorePoint", "!csharp"); + +@@clientLocation(PrivateEndpointConnections.getAPrivateEndpointConnection, + DiskAccesses, + "!csharp" +); +@@clientLocation(PrivateEndpointConnections.updateAPrivateEndpointConnection, + DiskAccesses, + "!csharp" +); +@@clientLocation(PrivateEndpointConnections.deleteAPrivateEndpointConnection, + DiskAccesses, + "!csharp" +); +@@clientLocation(PrivateEndpointConnections.listPrivateEndpointConnections, + DiskAccesses, + "!csharp" +); diff --git a/specification/compute/Disk.Management/client.tsp b/specification/compute/Disk.Management/client.tsp new file mode 100644 index 000000000000..407bee055b67 --- /dev/null +++ b/specification/compute/Disk.Management/client.tsp @@ -0,0 +1,33 @@ +import "./main.tsp"; +import "@azure-tools/typespec-client-generator-core"; + +using Azure.ClientGenerator.Core; +using Microsoft.Compute; + +@@clientName(DiskSecurityTypes.ConfidentialVM_VMGuestStateOnlyEncryptedWithPlatformKey, + "ConfidentialVMVmguestStateOnlyEncryptedWithPlatformKey", + "go" +); + +// Property name changes - diskIOPS properties should be lowercase "iops" for Java compatibility +@@clientName(DiskProperties.diskIOPSReadWrite, "diskIopsReadWrite", "java"); +@@clientName(DiskProperties.diskIOPSReadOnly, "diskIopsReadOnly", "java"); +@@clientName(DiskUpdateProperties.diskIOPSReadWrite, + "diskIopsReadWrite", + "java" +); +@@clientName(DiskUpdateProperties.diskIOPSReadOnly, "diskIopsReadOnly", "java"); + +// Property name changes - AccessUri SAS properties should be lowercase "sas" for Java compatibility +@@clientName(AccessUri.accessSAS, "accessSas", "java"); +@@clientName(AccessUri.securityDataAccessSAS, "securityDataAccessSas", "java"); +@@clientName(AccessUri.securityMetadataAccessSAS, + "securityMetadataAccessSas", + "java" +); + +// Property name changes - GrantAccessData SAS property should be lowercase "sas" for Java compatibility +@@clientName(GrantAccessData.getSecureVMGuestStateSAS, + "getSecureVMGuestStateSas", + "java" +); diff --git a/specification/compute/Gallery.Management/Gallery.tsp b/specification/compute/Gallery.Management/Gallery.tsp index 655a9d32b011..81cfb766f19a 100644 --- a/specification/compute/Gallery.Management/Gallery.tsp +++ b/specification/compute/Gallery.Management/Gallery.tsp @@ -59,7 +59,8 @@ interface Galleries { Gallery, Response = ArmResourceUpdatedResponse | ArmResourceCreatedResponse< Gallery, - ArmLroLocationHeader & Azure.Core.Foundations.RetryAfterHeader + ArmLroLocationHeader & + Azure.Core.Foundations.RetryAfterHeader > | (ArmAcceptedLroResponse & { @bodyRoot _: Gallery; @@ -74,7 +75,7 @@ interface Galleries { Gallery, PatchModel = GalleryUpdate, Response = ArmResponse & - ArmLroLocationHeader & + ArmLroLocationHeader & Azure.Core.Foundations.RetryAfterHeader >; @@ -147,7 +148,8 @@ interface Galleries { SharingUpdate, ArmResponse | (ArmAcceptedLroResponse< "Resource operation accepted.", - ArmLroLocationHeader & Azure.Core.Foundations.RetryAfterHeader + ArmLroLocationHeader & + Azure.Core.Foundations.RetryAfterHeader > & { @bodyRoot _: SharingUpdate; }) diff --git a/specification/compute/Gallery.Management/GalleryApplication.tsp b/specification/compute/Gallery.Management/GalleryApplication.tsp index e5c432ad6a52..7bc9a78cd68b 100644 --- a/specification/compute/Gallery.Management/GalleryApplication.tsp +++ b/specification/compute/Gallery.Management/GalleryApplication.tsp @@ -41,7 +41,8 @@ interface GalleryApplications { GalleryApplication, Response = ArmResourceUpdatedResponse | ArmResourceCreatedResponse< GalleryApplication, - ArmLroLocationHeader & Azure.Core.Foundations.RetryAfterHeader + ArmLroLocationHeader & + Azure.Core.Foundations.RetryAfterHeader > | (ArmAcceptedLroResponse & { @bodyRoot _: GalleryApplication; @@ -56,7 +57,7 @@ interface GalleryApplications { GalleryApplication, PatchModel = GalleryApplicationUpdate, Response = ArmResponse & - ArmLroLocationHeader & + ArmLroLocationHeader & Azure.Core.Foundations.RetryAfterHeader >; diff --git a/specification/compute/Gallery.Management/GalleryApplicationVersion.tsp b/specification/compute/Gallery.Management/GalleryApplicationVersion.tsp index 562a21941f8e..b559b0ffe40d 100644 --- a/specification/compute/Gallery.Management/GalleryApplicationVersion.tsp +++ b/specification/compute/Gallery.Management/GalleryApplicationVersion.tsp @@ -50,7 +50,8 @@ interface GalleryApplicationVersions { GalleryApplicationVersion, Response = ArmResourceUpdatedResponse | ArmResourceCreatedResponse< GalleryApplicationVersion, - ArmLroLocationHeader & Azure.Core.Foundations.RetryAfterHeader + ArmLroLocationHeader & + Azure.Core.Foundations.RetryAfterHeader > | (ArmAcceptedLroResponse & { @bodyRoot _: GalleryApplicationVersion; @@ -65,7 +66,7 @@ interface GalleryApplicationVersions { GalleryApplicationVersion, PatchModel = GalleryApplicationVersionUpdate, Response = ArmResponse & - ArmLroLocationHeader & + ArmLroLocationHeader & Azure.Core.Foundations.RetryAfterHeader, Error = CloudError >; diff --git a/specification/compute/Gallery.Management/GalleryImage.tsp b/specification/compute/Gallery.Management/GalleryImage.tsp index fc0e3434e201..fa6e3ba17e7c 100644 --- a/specification/compute/Gallery.Management/GalleryImage.tsp +++ b/specification/compute/Gallery.Management/GalleryImage.tsp @@ -41,7 +41,8 @@ interface GalleryImages { GalleryImage, Response = ArmResourceUpdatedResponse | ArmResourceCreatedResponse< GalleryImage, - ArmLroLocationHeader & Azure.Core.Foundations.RetryAfterHeader + ArmLroLocationHeader & + Azure.Core.Foundations.RetryAfterHeader > | (ArmAcceptedLroResponse & { @bodyRoot _: GalleryImage; @@ -56,7 +57,7 @@ interface GalleryImages { GalleryImage, PatchModel = GalleryImageUpdate, Response = ArmResponse & - ArmLroLocationHeader & + ArmLroLocationHeader & Azure.Core.Foundations.RetryAfterHeader, Error = CloudError >; diff --git a/specification/compute/Gallery.Management/GalleryImageVersion.tsp b/specification/compute/Gallery.Management/GalleryImageVersion.tsp index d99c7a8a1db0..888352a82265 100644 --- a/specification/compute/Gallery.Management/GalleryImageVersion.tsp +++ b/specification/compute/Gallery.Management/GalleryImageVersion.tsp @@ -50,7 +50,8 @@ interface GalleryImageVersions { GalleryImageVersion, Response = ArmResourceUpdatedResponse | ArmResourceCreatedResponse< GalleryImageVersion, - ArmLroLocationHeader & Azure.Core.Foundations.RetryAfterHeader + ArmLroLocationHeader & + Azure.Core.Foundations.RetryAfterHeader > | (ArmAcceptedLroResponse & { @bodyRoot _: GalleryImageVersion; @@ -65,7 +66,7 @@ interface GalleryImageVersions { GalleryImageVersion, PatchModel = GalleryImageVersionUpdate, Response = ArmResponse & - ArmLroLocationHeader & + ArmLroLocationHeader & Azure.Core.Foundations.RetryAfterHeader >; diff --git a/specification/compute/Gallery.Management/GalleryInVMAccessControlProfile.tsp b/specification/compute/Gallery.Management/GalleryInVMAccessControlProfile.tsp index 01b4dc2b71b1..25c8f4a97795 100644 --- a/specification/compute/Gallery.Management/GalleryInVMAccessControlProfile.tsp +++ b/specification/compute/Gallery.Management/GalleryInVMAccessControlProfile.tsp @@ -41,7 +41,8 @@ interface GalleryInVMAccessControlProfiles { @operationId("GalleryInVMAccessControlProfiles_CreateOrUpdate") createOrUpdate is ComputeResourceCreateOrReplaceAsync< GalleryInVMAccessControlProfile, - LroHeaders = ArmLroLocationHeader & Azure.Core.Foundations.RetryAfterHeader + LroHeaders = ArmLroLocationHeader & + Azure.Core.Foundations.RetryAfterHeader >; /** @@ -54,7 +55,7 @@ interface GalleryInVMAccessControlProfiles { GalleryInVMAccessControlProfile, PatchModel = GalleryInVMAccessControlProfileUpdate, Response = ArmResponse & - ArmLroLocationHeader & + ArmLroLocationHeader & Azure.Core.Foundations.RetryAfterHeader >; diff --git a/specification/compute/Gallery.Management/GalleryInVMAccessControlProfileVersion.tsp b/specification/compute/Gallery.Management/GalleryInVMAccessControlProfileVersion.tsp index 30afed790b8b..e69fc5a84528 100644 --- a/specification/compute/Gallery.Management/GalleryInVMAccessControlProfileVersion.tsp +++ b/specification/compute/Gallery.Management/GalleryInVMAccessControlProfileVersion.tsp @@ -41,7 +41,8 @@ interface GalleryInVMAccessControlProfileVersions { @operationId("GalleryInVMAccessControlProfileVersions_CreateOrUpdate") createOrUpdate is ComputeResourceCreateOrReplaceAsync< GalleryInVMAccessControlProfileVersion, - LroHeaders = ArmLroLocationHeader & Azure.Core.Foundations.RetryAfterHeader + LroHeaders = ArmLroLocationHeader & + Azure.Core.Foundations.RetryAfterHeader >; /** @@ -54,7 +55,7 @@ interface GalleryInVMAccessControlProfileVersions { GalleryInVMAccessControlProfileVersion, PatchModel = GalleryInVMAccessControlProfileVersionUpdate, Response = ArmResponse & - ArmLroLocationHeader & + ArmLroLocationHeader & Azure.Core.Foundations.RetryAfterHeader >; diff --git a/specification/compute/Gallery.Management/back-compatible.tsp b/specification/compute/Gallery.Management/back-compatible.tsp index bf1cfad6c82b..5194e27f1ccc 100644 --- a/specification/compute/Gallery.Management/back-compatible.tsp +++ b/specification/compute/Gallery.Management/back-compatible.tsp @@ -121,3 +121,13 @@ using Microsoft.Compute; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use." @@Azure.ClientGenerator.Core.Legacy.flattenProperty(CommunityGalleryImageVersion.properties ); + +@@clientLocation(Galleries.listByArtifactName, + "SoftDeletedResource", + "!csharp" +); +@@clientLocation(Galleries.gallerySharingProfileUpdate, + "GallerySharingProfile", + "!csharp" +); +@@clientName(Galleries.gallerySharingProfileUpdate, "update", "!csharp"); diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-11-01/ComputeRP.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-11-01/ComputeRP.json index 74a052e67b37..a347903c7efc 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-11-01/ComputeRP.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-11-01/ComputeRP.json @@ -1352,10 +1352,6 @@ "get": { "operationId": "VirtualMachineRunCommands_List", "description": "Lists all available run commands for a subscription in a location.", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" @@ -1395,10 +1391,6 @@ "get": { "operationId": "VirtualMachineRunCommands_Get", "description": "Gets specific run command for a subscription in a location.", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" @@ -17604,10 +17596,6 @@ } ] }, - "TypeSpec.Http.OkResponse": { - "type": "object", - "description": "The request has succeeded." - }, "UefiSettings": { "type": "object", "description": "Specifies the security settings like secure boot and vTPM used while creating the virtual machine. Minimum api-version: 2020-12-01.", diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2025-04-01/ComputeRP.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2025-04-01/ComputeRP.json index ec1c456a809d..e5128d1fb410 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2025-04-01/ComputeRP.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2025-04-01/ComputeRP.json @@ -1352,10 +1352,6 @@ "get": { "operationId": "VirtualMachineRunCommands_List", "description": "Lists all available run commands for a subscription in a location.", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" @@ -1395,10 +1391,6 @@ "get": { "operationId": "VirtualMachineRunCommands_Get", "description": "Gets specific run command for a subscription in a location.", - "produces": [ - "application/json", - "text/json" - ], "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" @@ -17953,10 +17945,6 @@ } ] }, - "TypeSpec.Http.OkResponse": { - "type": "object", - "description": "The request has succeeded." - }, "UefiSettings": { "type": "object", "description": "Specifies the security settings like secure boot and vTPM used while creating the virtual machine. Minimum api-version: 2020-12-01.", diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/DiskRP.json b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/DiskRP.json index 3dabdb5dd769..ebd37f516a10 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/DiskRP.json +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/DiskRP.json @@ -4573,10 +4573,6 @@ } } }, - "TypeSpec.Http.OkResponse": { - "type": "object", - "description": "The request has succeeded." - }, "UserAssignedIdentitiesValue": { "type": "object", "properties": { diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2025-01-02/DiskRP.json b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2025-01-02/DiskRP.json index cf932d300dfa..9084060075b1 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2025-01-02/DiskRP.json +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2025-01-02/DiskRP.json @@ -4723,10 +4723,6 @@ ] } }, - "TypeSpec.Http.OkResponse": { - "type": "object", - "description": "The request has succeeded." - }, "UserAssignedIdentitiesValue": { "type": "object", "properties": { diff --git a/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/back-compat.tsp b/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/back-compat.tsp new file mode 100644 index 000000000000..a0bf0be6f348 --- /dev/null +++ b/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/back-compat.tsp @@ -0,0 +1,10 @@ +import "@azure-tools/typespec-client-generator-core"; +import "./GuestSubscription.tsp"; +import "./SharedLimit.tsp"; + +@@Azure.ClientGenerator.Core.Legacy.flattenProperty(Microsoft.ComputeLimit.GuestSubscription.properties, + "autorest" +); +@@Azure.ClientGenerator.Core.Legacy.flattenProperty(Microsoft.ComputeLimit.SharedLimit.properties, + "autorest" +); diff --git a/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/client.tsp b/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/client.tsp new file mode 100644 index 000000000000..9b95cbe7bc7b --- /dev/null +++ b/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/client.tsp @@ -0,0 +1,6 @@ +import "./main.tsp"; +import "@azure-tools/typespec-client-generator-core"; + +using Azure.ClientGenerator.Core; + +@@clientName(Microsoft.ComputeLimit, "ComputeLimitMgmtClient", "python"); diff --git a/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/main.tsp b/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/main.tsp index ce31f9d37eef..2d5dcd3cd994 100644 --- a/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/main.tsp +++ b/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/main.tsp @@ -4,6 +4,7 @@ import "@azure-tools/typespec-azure-core"; import "@azure-tools/typespec-azure-resource-manager"; import "./GuestSubscription.tsp"; import "./SharedLimit.tsp"; +import "./back-compat.tsp"; using Azure.ResourceManager; using TypeSpec.Versioning; diff --git a/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/readme.md b/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/readme.md index da512b3197b9..10cf7525baa8 100644 --- a/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/readme.md +++ b/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/readme.md @@ -24,7 +24,6 @@ These are the global settings. ```yaml openapi-type: arm -openapi-subtype: rpaas tag: package-2025-08-15 ``` diff --git a/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/tspconfig.yaml b/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/tspconfig.yaml index e1d2e523f5d2..18c06a9264ce 100644 --- a/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/tspconfig.yaml +++ b/specification/computelimit/resource-manager/Microsoft.ComputeLimit/ComputeLimit/tspconfig.yaml @@ -9,7 +9,6 @@ options: azure-resource-provider-folder: "resource-manager" output-file: "{version-status}/{version}/ComputeLimit.json" examples-dir: "{project-root}/examples" - arm-resource-flattening: true arm-types-dir: "{project-root}/../../../../common-types/resource-management" use-read-only-status-schema: true "@azure-tools/typespec-java": diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/readme.java.md b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/readme.java.md index 237d93815605..fa1567068a17 100644 --- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/readme.java.md +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/Registry/readme.java.md @@ -9,11 +9,10 @@ modelerfour: enable-sync-stack: false ``` -### Tag: package-2025-11 +### Tag: package-2025-11 and java ``` yaml $(java) && $(tag) == 'package-2025-11' input-file: - - stable/2025-11-01/containerregistry.json - ../RegistryTasks/preview/2019-06-01-preview/containerregistry_build.json rename-model: DockerBuildStep:DockerTaskStep,IdentityPropertiesAutoGenerated:IdentityProperties,UserIdentityPropertiesAutoGenerated:UserIdentityProperties diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/Addon.tsp b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/Addon.tsp new file mode 100644 index 000000000000..f2374d1d65c7 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/Addon.tsp @@ -0,0 +1,104 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./DataBoxEdgeDevice.tsp"; +import "./VirtualResource.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.DataBoxEdge; +// FIXME: Addon has no properties property +/** + * Role Addon + */ +@discriminator("kind") +@parentResource(Role) +model Addon + is Azure.ResourceManager.Legacy.DiscriminatedProxyResource { + ...ResourceNameParameter< + Resource = Addon, + KeyName = "addonName", + SegmentName = "addons", + NamePattern = "" + >; +} + +@armResourceOperations +interface Addons { + /** + * Gets a specific addon by name. + */ + get is AddonsOps.Read; + + /** + * Create or update a addon. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + createOrUpdate is AddonsOps.CreateOrUpdateAsync< + Addon, + Response = ArmResourceUpdatedResponse | ArmAcceptedLroResponse & + Azure.Core.Foundations.RetryAfterHeader>, + OverrideErrorType = CloudError + >; + + /** + * Deletes the addon on the device. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + delete is AddonsOps.DeleteWithoutOkAsync< + Addon, + Response = ArmDeletedResponse | ArmDeleteAcceptedLroResponse | ArmDeletedNoContentResponse, + OverrideErrorType = CloudError + >; + + /** + * Lists all the addons configured in the role. + */ + listByRole is AddonsOps.List< + Addon, + Response = ArmResponse, + OverrideErrorType = CloudError + >; +} + +@armResourceOperations +interface AddonsOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** + * The name of the device. + */ + @path + @segment("dataBoxEdgeDevices") + deviceName: string, + + /** + * The name of the role. + */ + @path + @segment("roles") + roleName: string, + }, + { + /** + * The name of the addon. + */ + @path + @segment("addons") + addonName: string, + } + > {} + +@@doc(Addon.name, "The addon name."); +@@doc(Addons.createOrUpdate::parameters.resource, "The addon properties."); +@@doc(Addon.kind, "Addon type."); diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/Alert.tsp b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/Alert.tsp new file mode 100644 index 000000000000..9e57a77d0489 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/Alert.tsp @@ -0,0 +1,46 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./DataBoxEdgeDevice.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.DataBoxEdge; +/** + * Alert on the data box edge/gateway device. + */ +@parentResource(DataBoxEdgeDevice) +model Alert is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = Alert, + KeyName = "name", + SegmentName = "alerts", + NamePattern = "" + >; +} + +@armResourceOperations +interface Alerts { + /** + * Gets an alert by name. + */ + @summary("Gets an alert by name.") + get is ArmResourceRead; + + /** + * Gets all the alerts for a Data Box Edge/Data Box Gateway device. + */ + listByDataBoxEdgeDevice is ArmResourceListByParent< + Alert, + Response = ArmResponse, + Error = CloudError + >; +} + +@@doc(Alert.name, "The alert name."); +@@doc(Alert.properties, "Properties of alert."); diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/BandwidthSchedule.tsp b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/BandwidthSchedule.tsp new file mode 100644 index 000000000000..503fc75c7da4 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/BandwidthSchedule.tsp @@ -0,0 +1,72 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./DataBoxEdgeDevice.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.DataBoxEdge; +/** + * The bandwidth schedule details. + */ +@parentResource(DataBoxEdgeDevice) +model BandwidthSchedule + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = BandwidthSchedule, + KeyName = "name", + SegmentName = "bandwidthSchedules", + NamePattern = "" + >; +} + +@armResourceOperations +interface BandwidthSchedules { + /** + * Gets the properties of the specified bandwidth schedule. + */ + get is ArmResourceRead; + + /** + * Creates or updates a bandwidth schedule. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + createOrUpdate is ArmResourceCreateOrReplaceAsync< + BandwidthSchedule, + Response = ArmResourceUpdatedResponse | ArmAcceptedLroResponse & + Azure.Core.Foundations.RetryAfterHeader>, + Error = CloudError + >; + + /** + * Deletes the specified bandwidth schedule. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + delete is ArmResourceDeleteWithoutOkAsync< + BandwidthSchedule, + Response = ArmDeletedResponse | ArmDeleteAcceptedLroResponse | ArmDeletedNoContentResponse, + Error = CloudError + >; + + /** + * Gets all the bandwidth schedules for a Data Box Edge/Data Box Gateway device. + */ + listByDataBoxEdgeDevice is ArmResourceListByParent< + BandwidthSchedule, + Response = ArmResponse, + Error = CloudError + >; +} + +@@doc(BandwidthSchedule.name, "The bandwidth schedule name."); +@@doc(BandwidthSchedule.properties, + "The properties of the bandwidth schedule." +); +@@doc(BandwidthSchedules.createOrUpdate::parameters.resource, + "The bandwidth schedule to be added or updated." +); diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/Container.tsp b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/Container.tsp new file mode 100644 index 000000000000..e454bc1846d1 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/Container.tsp @@ -0,0 +1,81 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./StorageAccount.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.DataBoxEdge; +/** + * Represents a container on the Data Box Edge/Gateway device. + */ +@parentResource(StorageAccount) +model Container + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = Container, + KeyName = "containerName", + SegmentName = "containers", + NamePattern = "" + >; +} + +@armResourceOperations +interface Containers { + /** + * Gets a container by name. + */ + @summary("Gets a container by name.") + get is ArmResourceRead; + + /** + * Creates a new container or updates an existing container on the device. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Creates a new container or updates an existing container on the device.") + createOrUpdate is ArmResourceCreateOrReplaceAsync< + Container, + Response = ArmResourceUpdatedResponse | ArmAcceptedLroResponse & + Azure.Core.Foundations.RetryAfterHeader>, + Error = CloudError + >; + + /** + * Deletes the container on the Data Box Edge/Data Box Gateway device. + */ + delete is ArmResourceDeleteWithoutOkAsync; + + /** + * Lists all the containers of a storage Account in a Data Box Edge/Data Box Gateway device. + */ + @summary("Lists all the containers of a storage Account in a Data Box Edge/Data Box Gateway device.") + listByStorageAccount is ArmResourceListByParent< + Container, + Response = ArmResponse, + Error = CloudError + >; + + /** + * Refreshes the container metadata with the data from the cloud. + */ + @summary("Refreshes the container metadata with the data from the cloud.") + refresh is ArmResourceActionAsync< + Container, + void, + OkResponse, + Error = CloudError, + LroHeaders = Azure.Core.Foundations.RetryAfterHeader & + ArmLroLocationHeader + >; +} + +@@doc(Container.name, "The container Name"); +@@doc(Container.properties, "The container properties."); +@@doc(Containers.createOrUpdate::parameters.resource, + "The container properties." +); diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/DataBoxEdgeDevice.tsp b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/DataBoxEdgeDevice.tsp new file mode 100644 index 000000000000..0aa4af68c581 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/DataBoxEdgeDevice.tsp @@ -0,0 +1,285 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.DataBoxEdge; +/** + * The Data Box Edge/Gateway device. + */ +model DataBoxEdgeDevice + is Azure.ResourceManager.TrackedResource { + ...ResourceNameParameter< + Resource = DataBoxEdgeDevice, + KeyName = "deviceName", + SegmentName = "dataBoxEdgeDevices", + NamePattern = "" + >; + + /** + * The SKU type. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + sku?: Sku; + + /** + * The etag for the devices. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + etag?: string; + + /** + * Msi identity of the resource + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + identity?: ResourceIdentity; + + /** + * The kind of the device. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Read) + kind?: DataBoxEdgeDeviceKind; +} + +@armResourceOperations +interface DataBoxEdgeDevices { + /** + * Gets the properties of the Data Box Edge/Data Box Gateway device. + */ + get is ArmResourceRead; + + /** + * Creates or updates a Data Box Edge/Data Box Gateway resource. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + createOrUpdate is ArmResourceCreateOrReplaceSync< + DataBoxEdgeDevice, + Response = ArmResourceUpdatedResponse, + Error = CloudError + >; + + /** + * Modifies a Data Box Edge/Data Box Gateway resource. + */ + @patch(#{ implicitOptionality: false }) + update is ArmCustomPatchSync< + DataBoxEdgeDevice, + PatchModel = DataBoxEdgeDevicePatch, + Error = CloudError + >; + + /** + * Deletes the Data Box Edge/Data Box Gateway device. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + delete is ArmResourceDeleteWithoutOkAsync< + DataBoxEdgeDevice, + Response = ArmDeletedResponse | ArmDeleteAcceptedLroResponse | ArmDeletedNoContentResponse, + Error = CloudError + >; + + /** + * Gets all the Data Box Edge/Data Box Gateway devices in a resource group. + */ + listByResourceGroup is ArmResourceListByParent< + DataBoxEdgeDevice, + Parameters = { + /** + * Specify $expand=details to populate additional fields related to the resource or Specify $skipToken= to populate the next page in the list. + */ + @query("$expand") + $expand?: string; + }, + Response = ArmResponse, + Error = CloudError + >; + + /** + * Gets all the Data Box Edge/Data Box Gateway devices in a subscription. + */ + listBySubscription is ArmListBySubscription< + DataBoxEdgeDevice, + Parameters = { + /** + * Specify $expand=details to populate additional fields related to the resource or Specify $skipToken= to populate the next page in the list. + */ + @query("$expand") + $expand?: string; + }, + Response = ArmResponse, + Error = CloudError + >; + + /** + * Downloads the updates on a Data Box Edge/Data Box Gateway device. + */ + @summary("Downloads the updates on a Data Box Edge/Data Box Gateway device.") + downloadUpdates is ArmResourceActionAsync< + DataBoxEdgeDevice, + void, + OkResponse, + Error = CloudError, + LroHeaders = Azure.Core.Foundations.RetryAfterHeader & + ArmLroLocationHeader + >; + + /** + * Generates certificate for activation key. + */ + generateCertificate is ArmResourceActionSync< + DataBoxEdgeDevice, + void, + ArmResponse, + Error = CloudError + >; + + /** + * Gets additional information for the specified Azure Stack Edge/Data Box Gateway device. + */ + getExtendedInformation is ArmResourceActionSync< + DataBoxEdgeDevice, + void, + ArmResponse, + Error = CloudError + >; + + /** + * Installs the updates on the Data Box Edge/Data Box Gateway device. + */ + @summary("Installs the updates on the Data Box Edge/Data Box Gateway device.") + installUpdates is ArmResourceActionAsync< + DataBoxEdgeDevice, + void, + OkResponse, + Error = CloudError, + LroHeaders = Azure.Core.Foundations.RetryAfterHeader & + ArmLroLocationHeader + >; + + /** + * Scans for updates on a Data Box Edge/Data Box Gateway device. + */ + scanForUpdates is ArmResourceActionAsync< + DataBoxEdgeDevice, + void, + OkResponse, + Error = CloudError, + LroHeaders = Azure.Core.Foundations.RetryAfterHeader & + ArmLroLocationHeader + >; + + /** + * Updates the security settings on a Data Box Edge/Data Box Gateway device. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-post-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @action("securitySettings/default/update") + createOrUpdateSecuritySettings is ArmResourceActionAsync< + DataBoxEdgeDevice, + SecuritySettings, + NoContentResponse, + Error = CloudError, + LroHeaders = Azure.Core.Foundations.RetryAfterHeader & + ArmLroLocationHeader + >; + + /** + * Gets additional information for the specified Data Box Edge/Data Box Gateway device. + */ + @action("updateExtendedInformation") + updateExtendedInformation is ArmResourceActionSync< + DataBoxEdgeDevice, + DataBoxEdgeDeviceExtendedInfoPatch, + ArmResponse, + Error = CloudError + >; + + /** + * Uploads registration certificate for the device. + */ + uploadCertificate is ArmResourceActionSync< + DataBoxEdgeDevice, + UploadCertificateRequest, + ArmResponse, + Error = CloudError + >; + + /** + * Posts the device capacity request info to check feasibility. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/lro-location-header" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @action("deviceCapacityCheck") + checkResourceCreationFeasibility is ArmResourceActionAsync< + DataBoxEdgeDevice, + DeviceCapacityRequestInfo, + OkResponse, + Parameters = { + /** + * The capacity name. + */ + @query("capacityName") + capacityName?: string; + }, + Error = CloudError, + LroHeaders = ArmAsyncOperationHeader & + Azure.Core.Foundations.RetryAfterHeader + >; + + /** + * Gets all the nodes currently configured under this Data Box Edge device + */ + @list + @get + @action("nodes") + listByDataBoxEdgeDevice is ArmResourceActionSync< + DataBoxEdgeDevice, + void, + ArmResponse, + Error = CloudError + >; + + /** + * Triggers support package on the device + */ + @summary("Triggers support package on the device") + triggerSupportPackage is ArmResourceActionAsync< + DataBoxEdgeDevice, + TriggerSupportPackageRequest, + OkResponse, + Error = CloudError, + LroHeaders = Azure.Core.Foundations.RetryAfterHeader & + ArmLroLocationHeader + >; +} + +@@doc(DataBoxEdgeDevice.name, "The device name."); +@@doc(DataBoxEdgeDevice.properties, + "The properties of the Data Box Edge/Gateway device." +); +@@doc(DataBoxEdgeDevices.createOrUpdate::parameters.resource, + "The resource object." +); +@@doc(DataBoxEdgeDevices.update::parameters.properties, + "The resource parameters." +); +@@doc(DataBoxEdgeDevices.createOrUpdateSecuritySettings::parameters.body, + "The security settings." +); +@@doc(DataBoxEdgeDevices.updateExtendedInformation::parameters.body, + "The patch object." +); +@@doc(DataBoxEdgeDevices.uploadCertificate::parameters.body, + "The upload certificate request." +); +@@doc(DataBoxEdgeDevices.checkResourceCreationFeasibility::parameters.body, + "The device capacity request info." +); +@@doc(DataBoxEdgeDevices.triggerSupportPackage::parameters.body, + "The trigger support package request object" +); diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/DeviceCapacityInfo.tsp b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/DeviceCapacityInfo.tsp new file mode 100644 index 000000000000..ab075d669ddb --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/DeviceCapacityInfo.tsp @@ -0,0 +1,41 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./DataBoxEdgeDevice.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.DataBoxEdge; +/** + * Object for Capturing DeviceCapacityInfo + */ +@singleton("default") +@parentResource(DataBoxEdgeDevice) +model DeviceCapacityInfo + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = DeviceCapacityInfo, + KeyName = "deviceCapacityInfo", + SegmentName = "deviceCapacityInfo", + NamePattern = "" + >; +} + +@armResourceOperations +interface DeviceCapacityInfos { + /** + * Gets the properties of the specified device capacity info. + */ + getDeviceCapacityInfo is ArmResourceRead< + DeviceCapacityInfo, + Error = CloudError + >; +} + +@@doc(DeviceCapacityInfo.name, ""); +@@doc(DeviceCapacityInfo.properties, "The device capacity properties."); diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/DiagnosticProactiveLogCollectionSettings.tsp b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/DiagnosticProactiveLogCollectionSettings.tsp new file mode 100644 index 000000000000..9212c3dd990f --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/DiagnosticProactiveLogCollectionSettings.tsp @@ -0,0 +1,61 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./DataBoxEdgeDevice.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.DataBoxEdge; +/** + * The diagnostic proactive log collection settings of a device. + */ +@singleton("default") +@parentResource(DataBoxEdgeDevice) +model DiagnosticProactiveLogCollectionSettings + is Azure.ResourceManager.ProxyResource< + ProactiveLogCollectionSettingsProperties, + false + > { + ...ResourceNameParameter< + Resource = DiagnosticProactiveLogCollectionSettings, + KeyName = "diagnosticProactiveLogCollectionSetting", + SegmentName = "diagnosticProactiveLogCollectionSettings", + NamePattern = "" + >; +} + +#suppress "@azure-tools/typespec-azure-resource-manager/no-resource-delete-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@armResourceOperations +interface DiagnosticSettings { + /** + * Gets the proactive log collection settings of the specified Data Box Edge/Data Box Gateway device. + */ + getDiagnosticProactiveLogCollectionSettings is ArmResourceRead< + DiagnosticProactiveLogCollectionSettings, + Error = CloudError + >; + + /** + * Updates the proactive log collection settings on a Data Box Edge/Data Box Gateway device. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + updateDiagnosticProactiveLogCollectionSettings is ArmResourceCreateOrReplaceAsync< + DiagnosticProactiveLogCollectionSettings, + Response = ArmResourceUpdatedResponse | ArmAcceptedLroResponse & + Azure.Core.Foundations.RetryAfterHeader>, + Error = CloudError + >; +} + +@@doc(DiagnosticProactiveLogCollectionSettings.name, ""); +@@doc(DiagnosticProactiveLogCollectionSettings.properties, + "Properties of the diagnostic proactive log collection settings." +); +@@doc(DiagnosticSettings.updateDiagnosticProactiveLogCollectionSettings::parameters.resource, + "The proactive log collection settings." +); diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/DiagnosticRemoteSupportSettings.tsp b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/DiagnosticRemoteSupportSettings.tsp new file mode 100644 index 000000000000..49f12e5f432c --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/DiagnosticRemoteSupportSettings.tsp @@ -0,0 +1,61 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./DataBoxEdgeDevice.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.DataBoxEdge; +/** + * The remote support settings of a device. + */ +@singleton("default") +@parentResource(DataBoxEdgeDevice) +model DiagnosticRemoteSupportSettings + is Azure.ResourceManager.ProxyResource< + DiagnosticRemoteSupportSettingsProperties, + false + > { + ...ResourceNameParameter< + Resource = DiagnosticRemoteSupportSettings, + KeyName = "diagnosticRemoteSupportSetting", + SegmentName = "diagnosticRemoteSupportSettings", + NamePattern = "" + >; +} + +#suppress "@azure-tools/typespec-azure-resource-manager/no-resource-delete-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@armResourceOperations +interface DiagnosticRemoteSupportSettingsOperationGroup { + /** + * Gets the diagnostic remote support settings of the specified Data Box Edge/Data Box Gateway device. + */ + getDiagnosticRemoteSupportSettings is ArmResourceRead< + DiagnosticRemoteSupportSettings, + Error = CloudError + >; + + /** + * Updates the diagnostic remote support settings on a Data Box Edge/Data Box Gateway device. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + updateDiagnosticRemoteSupportSettings is ArmResourceCreateOrReplaceAsync< + DiagnosticRemoteSupportSettings, + Response = ArmResourceUpdatedResponse | ArmAcceptedLroResponse & + Azure.Core.Foundations.RetryAfterHeader>, + Error = CloudError + >; +} + +@@doc(DiagnosticRemoteSupportSettings.name, ""); +@@doc(DiagnosticRemoteSupportSettings.properties, + "Properties of the remote support settings." +); +@@doc(DiagnosticRemoteSupportSettingsOperationGroup.updateDiagnosticRemoteSupportSettings::parameters.resource, + "The diagnostic remote support settings." +); diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/Job.tsp b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/Job.tsp new file mode 100644 index 000000000000..a2437e7cafcd --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/Job.tsp @@ -0,0 +1,126 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./DataBoxEdgeDevice.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.DataBoxEdge; +/** + * A device job. + */ +@parentResource(DataBoxEdgeDevice) +model Job is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = Job, + KeyName = "name", + SegmentName = "jobs", + NamePattern = "" + >; + + /** + * The current status of the job. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Read) + status?: JobStatus; + + /** + * The UTC date and time at which the job started. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + startTime?: utcDateTime; + + /** + * The UTC date and time at which the job completed. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + endTime?: utcDateTime; + + /** + * The percentage of the job that is complete. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Read) + percentComplete?: int32; + + /** + * The error details. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Read) + error?: JobErrorDetails; +} + +alias JobOps = Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter; + ...SubscriptionIdParameter; + ...ResourceGroupParameter; + ...Azure.ResourceManager.Legacy.Provider; + + /** The device name. */ + @path + @segment("dataBoxEdgeDevices") + @key + deviceName: string; + }, + { + /** The job name. */ + @path + @segment("jobs") + @key + name: string; + } +>; + +@armResourceOperations +interface Jobs { + /** + * Gets the details of a specified job on a Data Box Edge/Data Box Gateway device. + */ + @summary("Gets the details of a specified job on a Data Box Edge/Data Box Gateway device.") + get is JobOps.Read; +} +alias OperationsStatusOps = Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter; + ...SubscriptionIdParameter; + ...ResourceGroupParameter; + ...Azure.ResourceManager.Legacy.Provider; + + /** The device name. */ + @path + @segment("dataBoxEdgeDevices") + @key + deviceName: string; + }, + { + /** The job name. */ + @path + @segment("operationsStatus") + @key + name: string; + } +>; + +@armResourceOperations +interface OperationsStatus { + /** + * Gets the details of a specified job on a Data Box Edge/Data Box Gateway device. + */ + @summary("Gets the details of a specified job on a Data Box Edge/Data Box Gateway device.") + get is OperationsStatusOps.Read; +} + +@@doc(Job.name, "The job name."); +@@doc(Job.properties, "The properties of the job."); diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/MonitoringMetricConfiguration.tsp b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/MonitoringMetricConfiguration.tsp new file mode 100644 index 000000000000..86e5756d6637 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/MonitoringMetricConfiguration.tsp @@ -0,0 +1,145 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./DataBoxEdgeDevice.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.DataBoxEdge; +/** + * The metric setting details for the role + */ +@singleton("default") +@parentResource(Role) +model MonitoringMetricConfiguration + is Azure.ResourceManager.ProxyResource< + MonitoringMetricConfigurationProperties, + false + > { + ...ResourceNameParameter< + Resource = MonitoringMetricConfiguration, + KeyName = "monitoringConfig", + SegmentName = "monitoringConfig", + NamePattern = "" + >; +} + +@armResourceOperations +interface MonitoringMetricConfigurations { + /** + * Gets a metric configuration of a role. + */ + @action("monitoringConfig/default") + @summary("Gets a metric configuration of a role.") + get is MonitoringMetricConfigurationsNonListOps.Read< + MonitoringMetricConfiguration, + OverrideErrorType = CloudError + >; + + /** + * Creates a new metric configuration or updates an existing one for a role. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @action("monitoringConfig/default") + @summary("Creates a new metric configuration or updates an existing one for a role.") + createOrUpdate is MonitoringMetricConfigurationsNonListOps.CreateOrUpdateAsync< + MonitoringMetricConfiguration, + Response = ArmResourceUpdatedResponse | ArmAcceptedLroResponse & + Azure.Core.Foundations.RetryAfterHeader>, + OverrideErrorType = CloudError + >; + + /** + * deletes a new metric configuration for a role. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @action("monitoringConfig/default") + @summary("deletes a new metric configuration for a role.") + delete is MonitoringMetricConfigurationsNonListOps.DeleteWithoutOkAsync< + MonitoringMetricConfiguration, + Response = ArmDeletedResponse | ArmDeleteAcceptedLroResponse | ArmDeletedNoContentResponse, + OverrideErrorType = CloudError + >; + + /** + * Lists metric configurations in a role. + */ + @summary("Lists metric configurations in a role.") + list is MonitoringMetricConfigurationsListOps.List< + MonitoringMetricConfiguration, + Response = ArmResponse, + OverrideErrorType = CloudError + >; +} + +@armResourceOperations +interface MonitoringMetricConfigurationsListOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** + * The name of the device. + */ + @path + @segment("dataBoxEdgeDevices") + deviceName: string, + + /** + * The name of the role. + */ + @path + @segment("roles") + roleName: string, + }, + { + /** + * The name of the monitoring config. + */ + @path + @segment("monitoringConfig") + monitoringConfig: string, + } + > {} + +@armResourceOperations +interface MonitoringMetricConfigurationsNonListOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + /** + * The name of the device. + */ + @path + @segment("dataBoxEdgeDevices") + deviceName: string, + + /** + * The name of the role. + */ + @path + @segment("roles") + roleName: string, + }, + {} + > {} + +@@doc(MonitoringMetricConfiguration.name, ""); +@@doc(MonitoringMetricConfiguration.properties, + "The metric setting properties." +); +@@doc(MonitoringMetricConfigurations.createOrUpdate::parameters.resource, + "The metric configuration." +); diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/NetworkSettings.tsp b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/NetworkSettings.tsp new file mode 100644 index 000000000000..c5b325ff8cd5 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/NetworkSettings.tsp @@ -0,0 +1,40 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./DataBoxEdgeDevice.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.DataBoxEdge; +/** + * The network settings of a device. + */ +@singleton("default") +@parentResource(DataBoxEdgeDevice) +model NetworkSettings + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = NetworkSettings, + KeyName = "networkSetting", + SegmentName = "networkSettings", + NamePattern = "" + >; +} + +@armResourceOperations +interface Devices { + /** + * Gets the network settings of the specified Data Box Edge/Data Box Gateway device. + */ + getNetworkSettings is ArmResourceRead; +} + +@@doc(NetworkSettings.name, ""); +@@doc(NetworkSettings.properties, + "The properties of network settings of a device." +); diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/Order.tsp b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/Order.tsp new file mode 100644 index 000000000000..aedba7971b87 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/Order.tsp @@ -0,0 +1,93 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./DataBoxEdgeDevice.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.DataBoxEdge; +/** + * The order details. + */ +@singleton("default") +@parentResource(DataBoxEdgeDevice) +model Order is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = Order, + KeyName = "order", + SegmentName = "orders", + NamePattern = "" + >; + + /** + * It specify the order api version. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Read) + kind?: string; +} + +@armResourceOperations +interface Orders { + /** + * Gets a specific order by name. + */ + @summary("Gets a specific order by name.") + get is ArmResourceRead; + + /** + * Creates or updates an order. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Creates or updates an order.") + createOrUpdate is ArmResourceCreateOrReplaceAsync< + Order, + Response = ArmResourceUpdatedResponse | ArmAcceptedLroResponse & + Azure.Core.Foundations.RetryAfterHeader>, + Error = CloudError + >; + + /** + * Deletes the order related to the device. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Deletes the order related to the device.") + delete is ArmResourceDeleteWithoutOkAsync< + Order, + Response = ArmDeletedResponse | ArmDeleteAcceptedLroResponse | ArmDeletedNoContentResponse, + Error = CloudError + >; + + /** + * Lists all the orders related to a Data Box Edge/Data Box Gateway device. + */ + @summary("Lists all the orders related to a Data Box Edge/Data Box Gateway device.") + listByDataBoxEdgeDevice is ArmResourceListByParent< + Order, + Response = ArmResponse, + Error = CloudError + >; + + /** + * Gets the DCAccess Code + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Gets the DCAccess Code") + listDCAccessCode is ArmResourceActionSync< + Order, + void, + ArmResponse, + Error = CloudError + >; +} + +@@doc(Order.name, ""); +@@doc(Order.properties, "The order properties."); +@@doc(Orders.createOrUpdate::parameters.resource, + "The order to be created or updated." +); diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/Role.tsp b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/Role.tsp new file mode 100644 index 000000000000..c618354dfe1c --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/Role.tsp @@ -0,0 +1,70 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./DataBoxEdgeDevice.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.DataBoxEdge; +// FIXME: Role has no properties property +/** + * Compute role. + */ +@discriminator("kind") +@parentResource(DataBoxEdgeDevice) +model Role + is Azure.ResourceManager.Legacy.DiscriminatedProxyResource { + ...ResourceNameParameter< + Resource = Role, + KeyName = "name", + SegmentName = "roles", + NamePattern = "" + >; +} + +@armResourceOperations +interface Roles { + /** + * Gets a specific role by name. + */ + get is ArmResourceRead; + + /** + * Create or update a role. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + createOrUpdate is ArmResourceCreateOrReplaceAsync< + Role, + Response = ArmResourceUpdatedResponse | ArmAcceptedLroResponse & + Azure.Core.Foundations.RetryAfterHeader>, + Error = CloudError + >; + + /** + * Deletes the role on the device. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + delete is ArmResourceDeleteWithoutOkAsync< + Role, + Response = ArmDeletedResponse | ArmDeleteAcceptedLroResponse | ArmDeletedNoContentResponse, + Error = CloudError + >; + + /** + * Lists all the roles configured in a Data Box Edge/Data Box Gateway device. + */ + listByDataBoxEdgeDevice is ArmResourceListByParent< + Role, + Response = ArmResponse, + Error = CloudError + >; +} + +@@doc(Role.name, "The role name."); +@@doc(Roles.createOrUpdate::parameters.resource, "The role properties."); +@@doc(Role.kind, "Role type."); diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/Share.tsp b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/Share.tsp new file mode 100644 index 000000000000..6775b0df2d5b --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/Share.tsp @@ -0,0 +1,83 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./DataBoxEdgeDevice.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.DataBoxEdge; +/** + * Represents a share on the Data Box Edge/Gateway device. + */ +@parentResource(DataBoxEdgeDevice) +model Share is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = Share, + KeyName = "name", + SegmentName = "shares", + NamePattern = "" + >; +} + +@armResourceOperations +interface Shares { + /** + * Gets a share by name. + */ + @summary("Gets a share by name.") + get is ArmResourceRead; + + /** + * Creates a new share or updates an existing share on the device. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Creates a new share or updates an existing share on the device.") + createOrUpdate is ArmResourceCreateOrReplaceAsync< + Share, + Response = ArmResourceUpdatedResponse | ArmAcceptedLroResponse & + Azure.Core.Foundations.RetryAfterHeader>, + Error = CloudError + >; + + /** + * Deletes the share on the Data Box Edge/Data Box Gateway device. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + delete is ArmResourceDeleteWithoutOkAsync< + Share, + Response = ArmDeletedResponse | ArmDeleteAcceptedLroResponse | ArmDeletedNoContentResponse, + Error = CloudError + >; + + /** + * Lists all the shares in a Data Box Edge/Data Box Gateway device. + */ + @summary("Lists all the shares in a Data Box Edge/Data Box Gateway device.") + listByDataBoxEdgeDevice is ArmResourceListByParent< + Share, + Response = ArmResponse, + Error = CloudError + >; + + /** + * Refreshes the share metadata with the data from the cloud. + */ + @summary("Refreshes the share metadata with the data from the cloud.") + refresh is ArmResourceActionAsync< + Share, + void, + OkResponse, + Error = CloudError, + LroHeaders = Azure.Core.Foundations.RetryAfterHeader & + ArmLroLocationHeader + >; +} + +@@doc(Share.name, "The share name."); +@@doc(Share.properties, "The share properties."); +@@doc(Shares.createOrUpdate::parameters.resource, "The share properties."); diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/StorageAccount.tsp b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/StorageAccount.tsp new file mode 100644 index 000000000000..39fd14d77ec9 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/StorageAccount.tsp @@ -0,0 +1,68 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./DataBoxEdgeDevice.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.DataBoxEdge; +/** + * Represents a Storage Account on the Data Box Edge/Gateway device. + */ +@parentResource(DataBoxEdgeDevice) +model StorageAccount + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = StorageAccount, + KeyName = "storageAccountName", + SegmentName = "storageAccounts", + NamePattern = "" + >; +} + +@armResourceOperations +interface StorageAccounts { + /** + * Gets a StorageAccount by name. + */ + @summary("Gets a StorageAccount by name.") + get is ArmResourceRead; + + /** + * Creates a new StorageAccount or updates an existing StorageAccount on the device. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Creates a new StorageAccount or updates an existing StorageAccount on the device.") + createOrUpdate is ArmResourceCreateOrReplaceAsync< + StorageAccount, + Response = ArmResourceUpdatedResponse | ArmAcceptedLroResponse & + Azure.Core.Foundations.RetryAfterHeader>, + Error = CloudError + >; + + /** + * Deletes the StorageAccount on the Data Box Edge/Data Box Gateway device. + */ + delete is ArmResourceDeleteWithoutOkAsync; + + /** + * Lists all the StorageAccounts in a Data Box Edge/Data Box Gateway device. + */ + @summary("Lists all the StorageAccounts in a Data Box Edge/Data Box Gateway device.") + listByDataBoxEdgeDevice is ArmResourceListByParent< + StorageAccount, + Response = ArmResponse, + Error = CloudError + >; +} + +@@doc(StorageAccount.name, "The storage account name."); +@@doc(StorageAccount.properties, "The Storage Account properties."); +@@doc(StorageAccounts.createOrUpdate::parameters.resource, + "The StorageAccount properties." +); diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/StorageAccountCredential.tsp b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/StorageAccountCredential.tsp new file mode 100644 index 000000000000..af9bd57b0653 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/StorageAccountCredential.tsp @@ -0,0 +1,76 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./DataBoxEdgeDevice.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.DataBoxEdge; +/** + * The storage account credential. + */ +@parentResource(DataBoxEdgeDevice) +model StorageAccountCredential + is Azure.ResourceManager.ProxyResource< + StorageAccountCredentialProperties, + false + > { + ...ResourceNameParameter< + Resource = StorageAccountCredential, + KeyName = "name", + SegmentName = "storageAccountCredentials", + NamePattern = "" + >; +} + +@armResourceOperations +interface StorageAccountCredentials { + /** + * Gets the properties of the specified storage account credential. + */ + get is ArmResourceRead; + + /** + * Creates or updates the storage account credential. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + createOrUpdate is ArmResourceCreateOrReplaceAsync< + StorageAccountCredential, + Response = ArmResourceUpdatedResponse | ArmAcceptedLroResponse & + Azure.Core.Foundations.RetryAfterHeader>, + Error = CloudError + >; + + /** + * Deletes the storage account credential. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + delete is ArmResourceDeleteWithoutOkAsync< + StorageAccountCredential, + Response = ArmDeletedResponse | ArmDeleteAcceptedLroResponse | ArmDeletedNoContentResponse, + Error = CloudError + >; + + /** + * Gets all the storage account credentials in a Data Box Edge/Data Box Gateway device. + */ + @summary("Gets all the storage account credentials in a Data Box Edge/Data Box Gateway device.") + listByDataBoxEdgeDevice is ArmResourceListByParent< + StorageAccountCredential, + Response = ArmResponse, + Error = CloudError + >; +} + +@@doc(StorageAccountCredential.name, "The storage account credential name."); +@@doc(StorageAccountCredential.properties, + "The storage account credential properties." +); +@@doc(StorageAccountCredentials.createOrUpdate::parameters.resource, + "The storage account credential." +); diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/Trigger.tsp b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/Trigger.tsp new file mode 100644 index 000000000000..508c879380ca --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/Trigger.tsp @@ -0,0 +1,77 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./DataBoxEdgeDevice.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.DataBoxEdge; +// FIXME: Trigger has no properties property +/** + * Trigger details. + */ +@discriminator("kind") +@parentResource(DataBoxEdgeDevice) +model Trigger + is Azure.ResourceManager.Legacy.DiscriminatedProxyResource { + ...ResourceNameParameter< + Resource = Trigger, + KeyName = "name", + SegmentName = "triggers", + NamePattern = "" + >; +} + +@armResourceOperations +interface Triggers { + /** + * Get a specific trigger by name. + */ + get is ArmResourceRead; + + /** + * Creates or updates a trigger. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + createOrUpdate is ArmResourceCreateOrReplaceAsync< + Trigger, + Response = ArmResourceUpdatedResponse | ArmAcceptedLroResponse & + Azure.Core.Foundations.RetryAfterHeader>, + Error = CloudError + >; + + /** + * Deletes the trigger on the gateway device. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + delete is ArmResourceDeleteWithoutOkAsync< + Trigger, + Response = ArmDeletedResponse | ArmDeleteAcceptedLroResponse | ArmDeletedNoContentResponse, + Error = CloudError + >; + + /** + * Lists all the triggers configured in the device. + */ + listByDataBoxEdgeDevice is ArmResourceListByParent< + Trigger, + Parameters = { + /** + * Specify $filter='CustomContextTag eq ' to filter on custom context tag property + */ + @query("$filter") + $filter?: string; + }, + Response = ArmResponse, + Error = CloudError + >; +} + +@@doc(Trigger.name, "The trigger name."); +@@doc(Triggers.createOrUpdate::parameters.resource, "The trigger."); +@@doc(Trigger.kind, "Trigger Kind."); diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/UpdateSummary.tsp b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/UpdateSummary.tsp new file mode 100644 index 000000000000..3bebf85b8fbd --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/UpdateSummary.tsp @@ -0,0 +1,39 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./DataBoxEdgeDevice.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.DataBoxEdge; +/** + * Details about ongoing updates and availability of updates on the device. + */ +@singleton("default") +@parentResource(DataBoxEdgeDevice) +model UpdateSummary + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = UpdateSummary, + KeyName = "updateSummary", + SegmentName = "updateSummary", + NamePattern = "" + >; +} + +@armResourceOperations +interface UpdateSummaries { + /** + * Gets information about the availability of updates based on the last scan of the device. It also gets information about any ongoing download or install jobs on the device. + */ + @summary("Gets information about the availability of updates based on the last scan of the device. It also gets information about any ongoing download or install jobs on the device.") + getUpdateSummary is ArmResourceRead; +} + +@@doc(UpdateSummary.name, ""); +@@doc(UpdateSummary.properties, "The device update information summary."); diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/User.tsp b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/User.tsp new file mode 100644 index 000000000000..0e229770aac3 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/User.tsp @@ -0,0 +1,74 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./DataBoxEdgeDevice.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.DataBoxEdge; +/** + * Represents a user who has access to one or more shares on the Data Box Edge/Gateway device. + */ +@parentResource(DataBoxEdgeDevice) +model User is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = User, + KeyName = "name", + SegmentName = "users", + NamePattern = "" + >; +} + +@armResourceOperations +interface Users { + /** + * Gets the properties of the specified user. + */ + get is ArmResourceRead; + + /** + * Creates a new user or updates an existing user's information on a Data Box Edge/Data Box Gateway device. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + createOrUpdate is ArmResourceCreateOrReplaceAsync< + User, + Response = ArmResourceUpdatedResponse | ArmAcceptedLroResponse & + Azure.Core.Foundations.RetryAfterHeader>, + Error = CloudError + >; + + /** + * Deletes the user on a databox edge/gateway device. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + delete is ArmResourceDeleteWithoutOkAsync< + User, + Response = ArmDeletedResponse | ArmDeleteAcceptedLroResponse | ArmDeletedNoContentResponse, + Error = CloudError + >; + + /** + * Gets all the users registered on a Data Box Edge/Data Box Gateway device. + */ + listByDataBoxEdgeDevice is ArmResourceListByParent< + User, + Parameters = { + /** + * Specify $filter='Type eq ' to filter on user type property + */ + @query("$filter") + $filter?: string; + }, + Response = ArmResponse, + Error = CloudError + >; +} + +@@doc(User.name, "The user name."); +@@doc(User.properties, "The storage account credential properties."); +@@doc(Users.createOrUpdate::parameters.resource, "The user details."); diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/VirtualResource.tsp b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/VirtualResource.tsp new file mode 100644 index 000000000000..aa2456394621 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/VirtualResource.tsp @@ -0,0 +1,18 @@ +// import "@azure-tools/typespec-azure-core"; +// import "@azure-tools/typespec-azure-resource-manager"; +// import "@typespec/rest"; +// import "./DataBoxEdgeDevice.tsp"; + +// using TypeSpec.Rest; +// using Azure.ResourceManager; + +// namespace Microsoft.DataBoxEdge; + +// /** +// * Role resource in Data Box Edge. +// */ +// @parentResource(DataBoxEdgeDevice) +// @armVirtualResource +// model Role { +// ...ResourceNameParameter; +// } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/back-compatible.tsp b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/back-compatible.tsp new file mode 100644 index 000000000000..c7ba4bde2880 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/back-compatible.tsp @@ -0,0 +1,195 @@ +import "@azure-tools/typespec-client-generator-core"; + +using Azure.ClientGenerator.Core; +using Microsoft.DataBoxEdge; + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@Azure.ClientGenerator.Core.Legacy.flattenProperty(Operation.properties); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@Azure.ClientGenerator.Core.Legacy.flattenProperty(EdgeProfileSubscription.properties +); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@Azure.ClientGenerator.Core.Legacy.flattenProperty(DataBoxEdgeDevicePatch.properties +); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@Azure.ClientGenerator.Core.Legacy.flattenProperty(DeviceCapacityRequestInfo.properties +); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@Azure.ClientGenerator.Core.Legacy.flattenProperty(DataBoxEdgeDeviceExtendedInfo.properties +); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@Azure.ClientGenerator.Core.Legacy.flattenProperty(Node.properties); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@Azure.ClientGenerator.Core.Legacy.flattenProperty(DCAccessCode.properties); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@Azure.ClientGenerator.Core.Legacy.flattenProperty(SecuritySettings.properties +); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@Azure.ClientGenerator.Core.Legacy.flattenProperty(TriggerSupportPackageRequest.properties +); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@Azure.ClientGenerator.Core.Legacy.flattenProperty(UploadCertificateRequest.properties +); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@Azure.ClientGenerator.Core.Legacy.flattenProperty(ArcAddon.properties); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@Azure.ClientGenerator.Core.Legacy.flattenProperty(CloudEdgeManagementRole.properties +); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@Azure.ClientGenerator.Core.Legacy.flattenProperty(FileEventTrigger.properties +); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@Azure.ClientGenerator.Core.Legacy.flattenProperty(IoTAddon.properties); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@Azure.ClientGenerator.Core.Legacy.flattenProperty(IoTRole.properties); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@Azure.ClientGenerator.Core.Legacy.flattenProperty(KubernetesRole.properties); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@Azure.ClientGenerator.Core.Legacy.flattenProperty(MECRole.properties); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@Azure.ClientGenerator.Core.Legacy.flattenProperty(PeriodicTimerEventTrigger.properties +); + +@@clientLocation(DataBoxEdgeDevices.get, Devices); +@@clientLocation(DataBoxEdgeDevices.createOrUpdate, Devices); +@@clientName(DataBoxEdgeDevices.createOrUpdate::parameters.resource, + "dataBoxEdgeDevice" +); +@@clientLocation(DataBoxEdgeDevices.update, Devices); +@@clientName(DataBoxEdgeDevices.update::parameters.properties, "parameters"); +@@clientLocation(DataBoxEdgeDevices.delete, Devices); +@@clientLocation(DataBoxEdgeDevices.listByResourceGroup, Devices); +@@clientLocation(DataBoxEdgeDevices.listBySubscription, Devices); +@@clientLocation(DataBoxEdgeDevices.downloadUpdates, Devices); +@@clientLocation(DataBoxEdgeDevices.generateCertificate, Devices); +@@clientLocation(DataBoxEdgeDevices.getExtendedInformation, Devices); +@@clientLocation(DataBoxEdgeDevices.installUpdates, Devices); +@@clientLocation(DataBoxEdgeDevices.scanForUpdates, Devices); +@@clientLocation(DataBoxEdgeDevices.createOrUpdateSecuritySettings, Devices); +@@clientName(DataBoxEdgeDevices.createOrUpdateSecuritySettings::parameters.body, + "securitySettings" +); +@@clientLocation(DataBoxEdgeDevices.updateExtendedInformation, Devices); +@@clientName(DataBoxEdgeDevices.updateExtendedInformation::parameters.body, + "parameters" +); +@@clientLocation(DataBoxEdgeDevices.uploadCertificate, Devices); +@@clientName(DataBoxEdgeDevices.uploadCertificate::parameters.body, + "parameters" +); +@@clientLocation(DataBoxEdgeDevices.checkResourceCreationFeasibility, + "DeviceCapacityCheck" +); +@@clientName(DataBoxEdgeDevices.checkResourceCreationFeasibility::parameters.body, + "deviceCapacityRequestInfo" +); +@@clientLocation(DataBoxEdgeDevices.listByDataBoxEdgeDevice, "Nodes"); +@@clientLocation(DataBoxEdgeDevices.triggerSupportPackage, "SupportPackages"); +@@clientName(DataBoxEdgeDevices.triggerSupportPackage::parameters.body, + "triggerSupportPackageRequest" +); +@@Azure.ClientGenerator.Core.Legacy.flattenProperty(DataBoxEdgeDevice.properties +); + +@@Azure.ClientGenerator.Core.Legacy.flattenProperty(Alert.properties); + +@@clientName(BandwidthSchedules.createOrUpdate::parameters.resource, + "parameters" +); +@@Azure.ClientGenerator.Core.Legacy.flattenProperty(BandwidthSchedule.properties +); + +@@clientLocation(DeviceCapacityInfos.getDeviceCapacityInfo, + "DeviceCapacityInfo" +); +@@Azure.ClientGenerator.Core.Legacy.flattenProperty(DeviceCapacityInfo.properties +); + +@@clientName(DiagnosticSettings.updateDiagnosticProactiveLogCollectionSettings::parameters.resource, + "proactiveLogCollectionSettings" +); +@@Azure.ClientGenerator.Core.Legacy.flattenProperty(DiagnosticProactiveLogCollectionSettings.properties +); + +@@clientLocation(DiagnosticRemoteSupportSettingsOperationGroup.getDiagnosticRemoteSupportSettings, + DiagnosticSettings +); +@@clientLocation(DiagnosticRemoteSupportSettingsOperationGroup.updateDiagnosticRemoteSupportSettings, + DiagnosticSettings +); +@@clientName(DiagnosticRemoteSupportSettingsOperationGroup.updateDiagnosticRemoteSupportSettings::parameters.resource, + "diagnosticRemoteSupportSettings" +); +@@Azure.ClientGenerator.Core.Legacy.flattenProperty(DiagnosticRemoteSupportSettings.properties +); +@@Azure.ClientGenerator.Core.Legacy.flattenProperty(Job.properties); +@@Azure.ClientGenerator.Core.Legacy.flattenProperty(NetworkSettings.properties); + +@@clientName(Orders.createOrUpdate::parameters.resource, "order"); +@@Azure.ClientGenerator.Core.Legacy.flattenProperty(Order.properties); + +@@clientName(Roles.createOrUpdate::parameters.resource, "role"); + +@@clientName(Addons.createOrUpdate::parameters.resource, "addon"); + +@@clientLocation(MonitoringMetricConfigurations.get, "MonitoringConfig"); +@@clientLocation(MonitoringMetricConfigurations.createOrUpdate, + "MonitoringConfig" +); +@@clientName(MonitoringMetricConfigurations.createOrUpdate::parameters.resource, + "monitoringMetricConfiguration" +); +@@clientLocation(MonitoringMetricConfigurations.delete, "MonitoringConfig"); +@@clientLocation(MonitoringMetricConfigurations.list, "MonitoringConfig"); +@@Azure.ClientGenerator.Core.Legacy.flattenProperty(MonitoringMetricConfiguration.properties +); + +@@clientName(Shares.createOrUpdate::parameters.resource, "share"); +@@Azure.ClientGenerator.Core.Legacy.flattenProperty(Share.properties); + +@@clientName(StorageAccountCredentials.createOrUpdate::parameters.resource, + "storageAccountCredential" +); +@@Azure.ClientGenerator.Core.Legacy.flattenProperty(StorageAccountCredential.properties +); + +@@clientName(StorageAccounts.createOrUpdate::parameters.resource, + "storageAccount" +); + +@@Azure.ClientGenerator.Core.Legacy.flattenProperty(StorageAccount.properties); +@@clientName(Containers.createOrUpdate::parameters.resource, "container"); + +@@Azure.ClientGenerator.Core.Legacy.flattenProperty(Container.properties); +@@clientName(Triggers.createOrUpdate::parameters.resource, "trigger"); + +@@clientLocation(UpdateSummaries.getUpdateSummary, Devices); +@@Azure.ClientGenerator.Core.Legacy.flattenProperty(UpdateSummary.properties); + +@@clientName(Users.createOrUpdate::parameters.resource, "user"); +@@Azure.ClientGenerator.Core.Legacy.flattenProperty(User.properties); + +@@clientLocation(AvailableSkusOperationGroup.list, "AvailableSkus"); +@@visibility(Alert.properties, Lifecycle.Read); +@@visibility(NetworkSettings.properties, Lifecycle.Read); + +@@Azure.ResourceManager.identifiers(DataBoxEdgeSkuList.value, + #["name", "resourceType"] +); diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/client.tsp b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/client.tsp new file mode 100644 index 000000000000..76581bf5c50f --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/client.tsp @@ -0,0 +1,1723 @@ +import "@azure-tools/typespec-client-generator-core"; +import "./main.tsp"; +using Azure.ClientGenerator.Core; +using Microsoft.DataBoxEdge; +using Http; + +@@clientName(Sku, "SkuInfo", "go"); +@@clientName(DataBoxEdgeSku, "AvailableDataBoxEdgeSku", "csharp"); + +@@clientName(SSLStatus, "SslStatus", "java"); +@@clientName(NetworkAdapterDHCPStatus, "NetworkAdapterDhcpStatus", "java"); +@@clientName(NetworkAdapterRDMAStatus, "NetworkAdapterRdmaStatus", "java"); +@@clientName(ARMBaseModel, "ArmBaseModel", "java"); +@@clientName(RefreshDetails.lastCompletedRefreshJobTimeInUTC, + "lastCompletedRefreshJobTimeInUtc", + "java" +); +@@clientName(StorageAccountCredentialProperties.userName, "username", "java"); +@@clientName(Microsoft.DataBoxEdge, + "DataBoxEdgeManagementClient", + "javascript, python" +); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op UsersDeleteCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + name: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, +): void; + +@@override(Users.delete, UsersDeleteCustomized, "python,go"); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op UsersListByDataBoxEdgeDeviceCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @query("$filter") + $filter?: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, +): UserList; + +@@override(Users.listByDataBoxEdgeDevice, + UsersListByDataBoxEdgeDeviceCustomized, + "python,go" +); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op UsersGetCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + name: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, +): User; + +@@override(Users.get, UsersGetCustomized, "python,go"); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op UsersCreateOrUpdateCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + name: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, + + @body + user: User, +): void; + +@@override(Users.createOrUpdate, UsersCreateOrUpdateCustomized, "python,go"); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op StorageAccountsDeleteCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + storageAccountName: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, +): void; + +@@override(StorageAccounts.delete, + StorageAccountsDeleteCustomized, + "python,go" +); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op StorageAccountsListByDataBoxEdgeDeviceCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, +): StorageAccountList; + +@@override(StorageAccounts.listByDataBoxEdgeDevice, + StorageAccountsListByDataBoxEdgeDeviceCustomized, + "python,go" +); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op StorageAccountsGetCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + storageAccountName: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, +): StorageAccount; + +@@override(StorageAccounts.get, StorageAccountsGetCustomized, "python,go"); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op StorageAccountsCreateOrUpdateCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + storageAccountName: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, + + @body + storageAccount: StorageAccount, +): void; + +@@override(StorageAccounts.createOrUpdate, + StorageAccountsCreateOrUpdateCustomized, + "python,go" +); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op MonitoringMetricConfigurationsDeleteCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + roleName: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, +): void; + +@@override(MonitoringMetricConfigurations.delete, + MonitoringMetricConfigurationsDeleteCustomized, + "python,go" +); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op MonitoringMetricConfigurationsListCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + roleName: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, +): MonitoringMetricConfigurationList; + +@@override(MonitoringMetricConfigurations.list, + MonitoringMetricConfigurationsListCustomized, + "python,go" +); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op MonitoringMetricConfigurationsGetCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + roleName: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, +): MonitoringMetricConfiguration; + +@@override(MonitoringMetricConfigurations.get, + MonitoringMetricConfigurationsGetCustomized, + "python,go" +); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op MonitoringMetricConfigurationsCreateOrUpdateCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + roleName: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, + + @body + MonitoringMetricConfiguration: MonitoringMetricConfiguration, +): void; + +@@override(MonitoringMetricConfigurations.createOrUpdate, + MonitoringMetricConfigurationsCreateOrUpdateCustomized, + "python,go" +); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op OperationsStatusGetCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + name: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, +): OperationsStatus; + +@@override(OperationsStatus.get, OperationsStatusGetCustomized, "python,go"); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op JobsGetCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + name: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, +): Job; + +@@override(Jobs.get, JobsGetCustomized, "python,go"); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op RolesDeleteCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + name: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, +): void; + +@@override(Roles.delete, RolesDeleteCustomized, "python,go"); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op RolesListByDataBoxEdgeDeviceCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, +): RoleList; + +@@override(Roles.listByDataBoxEdgeDevice, + RolesListByDataBoxEdgeDeviceCustomized, + "python,go" +); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op RolesGetCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + name: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, +): Role; + +@@override(Roles.get, RolesGetCustomized, "python,go"); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op RolesCreateOrUpdateCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + name: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, + + @body + resource: Role, +): void; + +@@override(Roles.createOrUpdate, RolesCreateOrUpdateCustomized, "python,go"); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op SharesDeleteCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + name: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, +): void; + +@@override(Shares.delete, SharesDeleteCustomized, "python,go"); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op SharesListByDataBoxEdgeDeviceCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, +): ShareList; + +@@override(Shares.listByDataBoxEdgeDevice, + SharesListByDataBoxEdgeDeviceCustomized, + "python,go" +); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op SharesRefreshCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + name: string, + + @body + body: void, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, +): void; + +@@override(Shares.refresh, SharesRefreshCustomized, "python,go"); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op SharesGetCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + name: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, +): Share; + +@@override(Shares.get, SharesGetCustomized, "python,go"); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op SharesCreateOrUpdateCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + name: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, + + @body + resource: Share, +): void; + +@@override(Shares.createOrUpdate, SharesCreateOrUpdateCustomized, "python,go"); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op ContainersDeleteCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + storageAccountName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + containerName: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, +): void; + +@@override(Containers.delete, ContainersDeleteCustomized, "python,go"); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op ContainersRefreshCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + storageAccountName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + containerName: string, + + @body + body: void, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, +): void; + +@@override(Containers.refresh, ContainersRefreshCustomized, "python,go"); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op ContainersListByStorageAccountCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + storageAccountName: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, +): ContainerList; + +@@override(Containers.listByStorageAccount, + ContainersListByStorageAccountCustomized, + "python,go" +); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op ContainersGetCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + storageAccountName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + containerName: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, +): Container; + +@@override(Containers.get, ContainersGetCustomized, "python,go"); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op ContainersCreateOrUpdateCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + storageAccountName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + containerName: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, + + @body + resource: Container, +): void; + +@@override(Containers.createOrUpdate, + ContainersCreateOrUpdateCustomized, + "python,go" +); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op OrdersDeleteCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + order: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, +): void; + +@@override(Orders.delete, OrdersDeleteCustomized, "python,go"); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op OrderslistDCAccessCodeCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + order: string, + + @body + body: void, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, +): DCAccessCode; + +@@override(Orders.listDCAccessCode, + OrderslistDCAccessCodeCustomized, + "python,go" +); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op OrdersListByDataBoxEdgeDeviceCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, +): OrderList; + +@@override(Orders.listByDataBoxEdgeDevice, + OrdersListByDataBoxEdgeDeviceCustomized, + "python,go" +); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op OrdersGetCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + order: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, +): Order; + +@@override(Orders.get, OrdersGetCustomized, "python,go"); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op OrdersCreateOrUpdateCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + order: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, + + @body + resource: Order, +): void; + +@@override(Orders.createOrUpdate, OrdersCreateOrUpdateCustomized, "python,go"); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op TriggersDeleteCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + name: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, +): void; + +@@override(Triggers.delete, TriggersDeleteCustomized, "python,go"); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op TriggersListByDataBoxEdgeDeviceCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @query("$filter") + $filter?: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, +): TriggerList; + +@@override(Triggers.listByDataBoxEdgeDevice, + TriggersListByDataBoxEdgeDeviceCustomized, + "python,go" +); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op TriggersGetCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + name: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, +): Trigger; + +@@override(Triggers.get, TriggersGetCustomized, "python,go"); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op TriggersCreateOrUpdateCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + name: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, + + @body + resource: Trigger, +): void; + +@@override(Triggers.createOrUpdate, + TriggersCreateOrUpdateCustomized, + "python,go" +); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op AddonsDeleteCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + roleName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + addonName: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, +): void; + +@@override(Addons.delete, AddonsDeleteCustomized, "python,go"); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op AddonsListByRoleCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + roleName: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, +): AddonList; + +@@override(Addons.listByRole, AddonsListByRoleCustomized, "python,go"); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op AddonsGetCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + roleName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + addonName: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, +): Addon; + +@@override(Addons.get, AddonsGetCustomized, "python,go"); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op AddonsCreateOrUpdateCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + roleName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + addonName: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, + + @body + resource: Addon, +): void; + +@@override(Addons.createOrUpdate, AddonsCreateOrUpdateCustomized, "python,go"); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op AlertsListByDataBoxEdgeDeviceCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, +): AlertList; + +@@override(Alerts.listByDataBoxEdgeDevice, + AlertsListByDataBoxEdgeDeviceCustomized, + "python,go" +); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op AlertsGetCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + name: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, +): Alert; + +@@override(Alerts.get, AlertsGetCustomized, "python,go"); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op BandwidthSchedulesDeleteCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + name: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, +): void; + +@@override(BandwidthSchedules.delete, + BandwidthSchedulesDeleteCustomized, + "python,go" +); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op BandwidthSchedulesListByDataBoxEdgeDeviceCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, +): BandwidthSchedulesList; + +@@override(BandwidthSchedules.listByDataBoxEdgeDevice, + BandwidthSchedulesListByDataBoxEdgeDeviceCustomized, + "python,go" +); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op BandwidthSchedulesGetCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + name: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, +): BandwidthSchedule; + +@@override(BandwidthSchedules.get, + BandwidthSchedulesGetCustomized, + "python,go" +); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op BandwidthSchedulesCreateOrUpdateCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + name: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, + + @body + resource: BandwidthSchedule, +): void; + +@@override(BandwidthSchedules.createOrUpdate, + BandwidthSchedulesCreateOrUpdateCustomized, + "python,go" +); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op StorageAccountCredentialsDeleteCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + name: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, +): void; + +@@override(StorageAccountCredentials.delete, + StorageAccountCredentialsDeleteCustomized, + "python,go" +); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op StorageAccountCredentialsListByDataBoxEdgeDeviceCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, +): StorageAccountCredentialList; + +@@override(StorageAccountCredentials.listByDataBoxEdgeDevice, + StorageAccountCredentialsListByDataBoxEdgeDeviceCustomized, + "python,go" +); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op StorageAccountCredentialsGetCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + name: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, +): StorageAccountCredential; + +@@override(StorageAccountCredentials.get, + StorageAccountCredentialsGetCustomized, + "python,go" +); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op StorageAccountCredentialsCreateOrUpdateCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + name: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, + + @body + resource: StorageAccountCredential, +): void; + +@@override(StorageAccountCredentials.createOrUpdate, + StorageAccountCredentialsCreateOrUpdateCustomized, + "python,go" +); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op DataBoxEdgeDevicesListByDataBoxEdgeDeviceCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + @body + body: void, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, +): NodeList; + +@@override(DataBoxEdgeDevices.listByDataBoxEdgeDevice, + DataBoxEdgeDevicesListByDataBoxEdgeDeviceCustomized, + "python,go" +); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op DataBoxEdgeDevicesDeleteCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, +): void; + +@@override(DataBoxEdgeDevices.delete, + DataBoxEdgeDevicesDeleteCustomized, + "python,go" +); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op DataBoxEdgeDevicesCreateOrUpdateSecuritySettingsCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, + + @body + body: SecuritySettings, +): void; + +@@override(DataBoxEdgeDevices.createOrUpdateSecuritySettings, + DataBoxEdgeDevicesCreateOrUpdateSecuritySettingsCustomized, + "python,go" +); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op DataBoxEdgeDevicesUploadCertificateCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, + + @body + body: UploadCertificateRequest, +): UploadCertificateResponse; + +@@override(DataBoxEdgeDevices.uploadCertificate, + DataBoxEdgeDevicesUploadCertificateCustomized, + "python,go" +); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op DataBoxEdgeDevicesInstallUpdatesCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + @body + body: void, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, +): void; + +@@override(DataBoxEdgeDevices.installUpdates, + DataBoxEdgeDevicesInstallUpdatesCustomized, + "python,go" +); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op DataBoxEdgeDevicesGetNetworkSettingsCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + networkSetting: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, +): NetworkSettings; + +@@override(Devices.getNetworkSettings, + DataBoxEdgeDevicesGetNetworkSettingsCustomized, + "python,go" +); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op DataBoxEdgeDevicesGenerateCertificateCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, + + @body + body: void, +): GenerateCertResponse; + +@@override(DataBoxEdgeDevices.generateCertificate, + DataBoxEdgeDevicesGenerateCertificateCustomized, + "python,go" +); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op DataBoxEdgeDevicesScanForUpdatesCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + @body + body: void, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, +): void; + +@@override(DataBoxEdgeDevices.scanForUpdates, + DataBoxEdgeDevicesScanForUpdatesCustomized, + "python,go" +); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op DataBoxEdgeDevicesGetCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, +): DataBoxEdgeDevices; + +@@override(DataBoxEdgeDevices.get, + DataBoxEdgeDevicesGetCustomized, + "python,go" +); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op DataBoxEdgeDevicesUpdateCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, + + @body + properties: DataBoxEdgeDevicePatch, +): DataBoxEdgeDevices; + +@@override(DataBoxEdgeDevices.update, + DataBoxEdgeDevicesUpdateCustomized, + "python,go" +); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op DataBoxEdgeDevicesGetUpdateSummaryCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + updateSummary: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, +): UpdateSummary; + +@@override(UpdateSummaries.getUpdateSummary, + DataBoxEdgeDevicesGetUpdateSummaryCustomized, + "python,go" +); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op DataBoxEdgeDevicesUpdateExtendedInformationCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, + + @body + body: DataBoxEdgeDeviceExtendedInfoPatch, +): DataBoxEdgeDeviceExtendedInfo; + +@@override(DataBoxEdgeDevices.updateExtendedInformation, + DataBoxEdgeDevicesUpdateExtendedInformationCustomized, + "python,go" +); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op DataBoxEdgeDevicesDownloadUpdatesCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + @body + body: void, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, +): void; + +@@override(DataBoxEdgeDevices.downloadUpdates, + DataBoxEdgeDevicesDownloadUpdatesCustomized, + "python,go" +); + +#suppress "@azure-tools/typespec-azure-core/casing-style" "customization" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op DataBoxEdgeDevicesGetExtendedInformationCustomized( + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + provider: "Microsoft.ThisWillBeReplaced", + + ...Azure.ResourceManager.CommonTypes.ApiVersionParameter, + ...Azure.ResourceManager.CommonTypes.SubscriptionIdParameter, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "override" + @path + deviceName: string, + + @body + body: void, + + ...Azure.ResourceManager.CommonTypes.ResourceGroupNameParameter, +): DataBoxEdgeDeviceExtendedInfo; + +@@override(DataBoxEdgeDevices.getExtendedInformation, + DataBoxEdgeDevicesGetExtendedInformationCustomized, + "python,go" +); diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/AlertGet.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/AlertGet.json new file mode 100644 index 000000000000..01fcebf35c90 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/AlertGet.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "name": "159a00c7-8543-4343-9435-263ac87df3bb", + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": { + "body": { + "name": "159a00c7-8543-4343-9435-263ac87df3bb", + "type": "dataBoxEdgeDevices/alerts", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/alerts/159a00c7-8543-4343-9435-263ac87df3bb", + "properties": { + "alertType": "UpdateScanFailedEvent", + "appearedAtDateTime": "2018-12-18T02:18:51.4270267Z", + "detailedInformation": {}, + "errorDetails": { + "errorCode": "", + "errorMessage": "", + "occurrences": 1 + }, + "recommendation": "Resolve the error : An internal error has occurred. Please contact Microsoft Support.", + "severity": "Critical", + "title": "Could not scan for updates. Error message : 'An internal error has occurred. Please contact Microsoft Support.'." + } + } + } + }, + "operationId": "Alerts_Get", + "title": "AlertGet" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/AlertGetAllInDevice.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/AlertGetAllInDevice.json new file mode 100644 index 000000000000..c01a4f7cfd1e --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/AlertGetAllInDevice.json @@ -0,0 +1,60 @@ +{ + "parameters": { + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "83eccd0b-134b-40b0-ad62-b5f124d03790", + "type": "dataBoxEdgeDevices/alerts", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/alerts/83eccd0b-134b-40b0-ad62-b5f124d03790", + "properties": { + "alertType": "PasswordChangedEvent", + "appearedAtDateTime": "2018-12-18T02:29:15.2325577Z", + "detailedInformation": {}, + "errorDetails": { + "errorCode": "", + "errorMessage": "", + "occurrences": 2 + }, + "recommendation": "The device administrator password has changed. This is a required action as part of the first time device setup or regular password reset. No further action is required.", + "severity": "Informational", + "title": "Device password has changed" + } + }, + { + "name": "159a00c7-8543-4343-9435-263ac87df3bb", + "type": "dataBoxEdgeDevices/alerts", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/alerts/159a00c7-8543-4343-9435-263ac87df3bb", + "properties": { + "alertType": "UpdateScanFailedEvent", + "appearedAtDateTime": "2018-12-18T02:18:51.4270267Z", + "detailedInformation": {}, + "errorDetails": { + "errorCode": "", + "errorMessage": "", + "occurrences": 1 + }, + "recommendation": "Resolve the error : An internal error has occurred. Please contact Microsoft Support.", + "severity": "Critical", + "title": "Could not scan for updates. Error message : 'An internal error has occurred. Please contact Microsoft Support.'." + } + } + ] + } + } + }, + "operationId": "Alerts_ListByDataBoxEdgeDevice", + "title": "AlertGetAllInDevice" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/AvailableSkusList.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/AvailableSkusList.json new file mode 100644 index 000000000000..9c25c271633a --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/AvailableSkusList.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "location": "westus", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Gateway", + "availability": "Available", + "kind": "AzureDataBoxGateway", + "locationInfo": [ + { + "location": "West US" + } + ], + "locations": [ + "West US" + ], + "resourceType": "dataBoxEdgeDevices", + "signupOption": "Available", + "tier": "Standard", + "version": "Stable" + } + ] + } + } + }, + "operationId": "AvailableSkus_List", + "title": "AvailableSkus" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/BandwidthScheduleDelete.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/BandwidthScheduleDelete.json new file mode 100644 index 000000000000..c813758a1d60 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/BandwidthScheduleDelete.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "name": "bandwidth-1", + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://foo.com/BandwidthSchdeuleDelete" + } + }, + "204": {} + }, + "operationId": "BandwidthSchedules_Delete", + "title": "BandwidthScheduleDelete" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/BandwidthScheduleGet.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/BandwidthScheduleGet.json new file mode 100644 index 000000000000..51a37df25764 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/BandwidthScheduleGet.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "name": "bandwidth-1", + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" + }, + "responses": { + "200": { + "body": { + "name": "bandwidth-1", + "type": "dataBoxEdgeDevices/bandwidthSchedules", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/bandwidthSchedules/bandwidth-1", + "properties": { + "days": [ + "Sunday", + "Monday" + ], + "rateInMbps": 100, + "start": "00:00:00", + "stop": "13:59:00" + } + } + } + }, + "operationId": "BandwidthSchedules_Get", + "title": "BandwidthScheduleGet" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/BandwidthScheduleGetAllInDevice.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/BandwidthScheduleGetAllInDevice.json new file mode 100644 index 000000000000..a0caff8c08d3 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/BandwidthScheduleGetAllInDevice.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "bandwidth-1", + "type": "dataBoxEdgeDevices/bandwidthSchedules", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/bandwidthSchedules/bandwidth-1", + "properties": { + "days": [ + "Sunday", + "Monday" + ], + "rateInMbps": 100, + "start": "00:00:00", + "stop": "13:59:00" + } + } + ] + } + } + }, + "operationId": "BandwidthSchedules_ListByDataBoxEdgeDevice", + "title": "BandwidthScheduleGetAllInDevice" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/BandwidthSchedulePut.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/BandwidthSchedulePut.json new file mode 100644 index 000000000000..084e457581e0 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/BandwidthSchedulePut.json @@ -0,0 +1,53 @@ +{ + "parameters": { + "name": "bandwidth-1", + "Content-Length": [ + "200" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "parameters": { + "properties": { + "days": [ + "Sunday", + "Monday" + ], + "rateInMbps": 100, + "start": "0:0:0", + "stop": "13:59:0" + } + }, + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": { + "body": { + "name": "bandwidth-1", + "type": "dataBoxEdgeDevices/bandwidthSchedules", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/bandwidthSchedules/bandwidth-1", + "properties": { + "days": [ + "Sunday", + "Monday" + ], + "rateInMbps": 100, + "start": "00:00:00", + "stop": "13:59:00" + } + } + }, + "202": {} + }, + "operationId": "BandwidthSchedules_CreateOrUpdate", + "title": "BandwidthSchedulePut" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/ContainerDelete.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/ContainerDelete.json new file mode 100644 index 000000000000..f82e30365ec1 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/ContainerDelete.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "containerName": "blobcontainer1", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "storageAccountName": "storageaccount1", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "202": { + "headers": { + "location": "https://foo.com/ContainreDelte" + } + }, + "204": {} + }, + "operationId": "Containers_Delete", + "title": "ContainerDelete" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/ContainerGet.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/ContainerGet.json new file mode 100644 index 000000000000..69c0433d4179 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/ContainerGet.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "containerName": "blobcontainer1", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "storageAccountName": "storageaccount1", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" + }, + "responses": { + "200": { + "body": { + "name": "blobcontainer1", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/storageAccounts/containers", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForDataBoxEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccounts/storageaccount1/containers/blobcontainer1", + "properties": { + "containerStatus": "OK", + "createdDateTime": "2019-10-20T23:13:27.8545799Z", + "dataFormat": "BlockBlob", + "refreshDetails": {} + } + } + } + }, + "operationId": "Containers_Get", + "title": "ContainerGet" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/ContainerListAllInDevice.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/ContainerListAllInDevice.json new file mode 100644 index 000000000000..0ff19917761d --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/ContainerListAllInDevice.json @@ -0,0 +1,58 @@ +{ + "parameters": { + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "storageAccountName": "storageaccount1", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "blobcontainer1", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/storageAccounts/containers", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForDataBoxEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/EAuToWIN-6LJVNIFFB411021190437191/storageAccounts/storageaccount1/containers/blobcontainer1", + "properties": { + "containerStatus": "OK", + "createdDateTime": "2019-10-20T23:14:32.3016929Z", + "dataFormat": "BlockBlob", + "refreshDetails": {} + } + }, + { + "name": "blobcontainer2", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/storageAccounts/containers", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForDataBoxEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/EAuToWIN-6LJVNIFFB411021190437191/storageAccounts/storageaccount1/containers/blobcontainer2", + "properties": { + "containerStatus": "OK", + "createdDateTime": "2019-10-20T23:15:38.0077675Z", + "dataFormat": "BlockBlob", + "refreshDetails": {} + } + }, + { + "name": "blobcontainer3", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/storageAccounts/containers", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForDataBoxEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/EAuToWIN-6LJVNIFFB411021190437191/storageAccounts/storageaccount1/containers/blobcontainer3", + "properties": { + "containerStatus": "OK", + "createdDateTime": "2019-10-20T23:13:27.8545799Z", + "dataFormat": "BlockBlob", + "refreshDetails": {} + } + } + ] + } + } + }, + "operationId": "Containers_ListByStorageAccount", + "title": "ContainerListAllInDevice" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/ContainerPut.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/ContainerPut.json new file mode 100644 index 000000000000..b9425b8d0cee --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/ContainerPut.json @@ -0,0 +1,45 @@ +{ + "parameters": { + "Content-Length": [ + "200" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "container": { + "properties": { + "dataFormat": "BlockBlob" + } + }, + "containerName": "blobcontainer1", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "storageAccountName": "storageaccount1", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": { + "body": { + "name": "blobcontainer-5e155efe", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/storageAccounts/containers", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForDataBoxEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccounts/storageaccount1/containers/blobcontainer1", + "properties": { + "containerStatus": "OK", + "createdDateTime": "2019-10-20T23:13:27.8545799Z", + "dataFormat": "BlockBlob", + "refreshDetails": {} + } + } + }, + "202": {} + }, + "operationId": "Containers_CreateOrUpdate", + "title": "ContainerPut" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/ContainerRefresh.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/ContainerRefresh.json new file mode 100644 index 000000000000..b77d71a0f4cf --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/ContainerRefresh.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "Content-Length": [ + "200" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "containerName": "blobcontainer1", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "storageAccountName": "storageaccount1", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://foo.com/ContanierRefresh" + } + } + }, + "operationId": "Containers_Refresh", + "title": "ContainerRefresh" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/DataBoxEdgeDeviceDelete.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/DataBoxEdgeDeviceDelete.json new file mode 100644 index 000000000000..45ebe1156e43 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/DataBoxEdgeDeviceDelete.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://foo.com/BandwidthSchdeuleDelete" + } + }, + "204": {} + }, + "operationId": "Devices_Delete", + "title": "DataBoxEdgeDeviceDelete" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/DataBoxEdgeDeviceGetByName.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/DataBoxEdgeDeviceGetByName.json new file mode 100644 index 000000000000..bcaeed359e6d --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/DataBoxEdgeDeviceGetByName.json @@ -0,0 +1,60 @@ +{ + "parameters": { + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": { + "body": { + "name": "EdgeTestPassResource", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices", + "etag": "W/\"datetime'2020-09-29T18%3A50%3A31.1203818Z'\"_W/\"datetime'2020-09-29T18%3A50%3A31.1343914Z'\"", + "id": "/subscriptions/0d44739e-0563-474f-97e7-24a0cdb23b29/resourcegroups/VmMgmtTestPass/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/EdgeTestPassResource", + "identity": { + "type": "SystemAssigned", + "principalId": "b3e34fcc-ab02-4ca4-9d22-5de115419091", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + }, + "kind": "AzureStackEdge", + "location": "eastus2euap", + "properties": { + "configuredRoleTypes": [ + "CloudEdgeManagement" + ], + "dataBoxEdgeDeviceStatus": "Offline", + "deviceHcsVersion": "2.1.1361.23408", + "deviceLocalCapacity": 8042259, + "deviceModel": "Physical", + "deviceSoftwareVersion": "Azure Stack Edge 2009", + "deviceType": "DataBoxEdgeDevice", + "edgeProfile": { + "subscription": { + "id": "/subscriptions/0d44739e-0563-474f-97e7-24a0cdb23b29/resourceGroups/VmMgmtTestPass/providers/Microsoft.AzureStack/edgeSubscriptions/daaac4b0-35c4-4008-bdc6-b72ca5890f16", + "registrationId": "91d8753b-af42-4908-9a5e-2a61f08b20de", + "state": "Registered" + } + }, + "friendlyName": "DBE-1D6QHQ2", + "nodeCount": 1, + "serialNumber": "1D6QHQ2", + "timeZone": "Pacific Standard Time" + }, + "sku": { + "name": "Edge", + "tier": "Standard" + }, + "tags": {} + } + } + }, + "operationId": "Devices_Get", + "title": "DataBoxEdgeDeviceGetByName" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/DataBoxEdgeDeviceGetByNameWithDataResidency.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/DataBoxEdgeDeviceGetByNameWithDataResidency.json new file mode 100644 index 000000000000..c334c51e73ee --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/DataBoxEdgeDeviceGetByNameWithDataResidency.json @@ -0,0 +1,63 @@ +{ + "parameters": { + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": { + "body": { + "name": "EdgeTestPassResource", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices", + "etag": "W/\"datetime'2020-09-29T18%3A50%3A31.1203818Z'\"_W/\"datetime'2020-09-29T18%3A50%3A31.1343914Z'\"", + "id": "/subscriptions/0d44739e-0563-474f-97e7-24a0cdb23b29/resourcegroups/VmMgmtTestPass/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/EdgeTestPassResource", + "identity": { + "type": "SystemAssigned", + "principalId": "b3e34fcc-ab02-4ca4-9d22-5de115419091", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + }, + "kind": "AzureStackEdge", + "location": "eastus2euap", + "properties": { + "configuredRoleTypes": [ + "CloudEdgeManagement" + ], + "dataBoxEdgeDeviceStatus": "Offline", + "dataResidency": { + "type": "ZoneReplication" + }, + "deviceHcsVersion": "2.1.1361.23408", + "deviceLocalCapacity": 8042259, + "deviceModel": "Physical", + "deviceSoftwareVersion": "Azure Stack Edge 2009", + "deviceType": "DataBoxEdgeDevice", + "edgeProfile": { + "subscription": { + "id": "/subscriptions/0d44739e-0563-474f-97e7-24a0cdb23b29/resourceGroups/VmMgmtTestPass/providers/Microsoft.AzureStack/edgeSubscriptions/daaac4b0-35c4-4008-bdc6-b72ca5890f16", + "registrationId": "91d8753b-af42-4908-9a5e-2a61f08b20de", + "state": "Registered" + } + }, + "friendlyName": "DBE-1D6QHQ2", + "nodeCount": 1, + "serialNumber": "1D6QHQ2", + "timeZone": "Pacific Standard Time" + }, + "sku": { + "name": "Edge", + "tier": "Standard" + }, + "tags": {} + } + } + }, + "operationId": "Devices_Get", + "title": "DataBoxEdgeDeviceGetByNameWithDataResidency" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/DataBoxEdgeDeviceGetByResourceGroup.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/DataBoxEdgeDeviceGetByResourceGroup.json new file mode 100644 index 000000000000..23f0ce6ee0c1 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/DataBoxEdgeDeviceGetByResourceGroup.json @@ -0,0 +1,77 @@ +{ + "parameters": { + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "EdgeTestPassResource", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices", + "etag": "W/\"datetime'2020-09-29T18%3A50%3A31.1203818Z'\"_W/\"datetime'2020-09-29T18%3A50%3A31.1343914Z'\"", + "id": "/subscriptions/0d44739e-0563-474f-97e7-24a0cdb23b29/resourcegroups/VmMgmtTestPass/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/EdgeTestPassResource", + "identity": { + "type": "SystemAssigned", + "principalId": "b3e34fcc-ab02-4ca4-9d22-5de115419091", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + }, + "kind": "AzureStackEdge", + "location": "eastus2euap", + "sku": { + "name": "Edge", + "tier": "Standard" + }, + "tags": {} + }, + { + "name": "FPGAResource", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices", + "etag": "W/\"datetime'2020-11-18T23%3A31%3A30.3266766Z'\"_W/\"datetime'2020-11-18T23%3A31%3A30.3326804Z'\"", + "id": "/subscriptions/0d44739e-0563-474f-97e7-24a0cdb23b29/resourcegroups/VmMgmtTestPass/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/FPGAResource", + "identity": { + "type": "SystemAssigned", + "principalId": "d97a6de5-f5c0-485a-8f5e-b7f705d2dbc4", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + }, + "kind": "AzureStackEdge", + "location": "centraluseuap", + "sku": { + "name": "Edge", + "tier": "Standard" + }, + "tags": {} + }, + { + "name": "TestVMEdgeResource", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices", + "etag": "W/\"datetime'2020-11-18T23%3A31%3A23.1715672Z'\"_W/\"datetime'2020-11-18T23%3A31%3A23.2396152Z'\"", + "id": "/subscriptions/0d44739e-0563-474f-97e7-24a0cdb23b29/resourcegroups/VmMgmtTestPass/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/TestVMEdgeResource", + "identity": { + "type": "SystemAssigned", + "principalId": "6f2b341b-aded-4ec2-a1bd-d09438d6cc8f", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + }, + "kind": "AzureStackEdge", + "location": "centraluseuap", + "sku": { + "name": "Edge", + "tier": "Standard" + }, + "tags": {} + } + ] + } + } + }, + "operationId": "Devices_ListByResourceGroup", + "title": "DataBoxEdgeDeviceGetByResourceGroup" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/DataBoxEdgeDeviceGetBySubscription.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/DataBoxEdgeDeviceGetBySubscription.json new file mode 100644 index 000000000000..da965e88cfe9 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/DataBoxEdgeDeviceGetBySubscription.json @@ -0,0 +1,76 @@ +{ + "parameters": { + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "linksub01", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices", + "etag": "W/\"datetime'2020-11-19T01%3A39%3A55.1270082Z'\"_W/\"datetime'2020-11-19T01%3A39%3A55.1320118Z'\"", + "id": "/subscriptions/0d44739e-0563-474f-97e7-24a0cdb23b29/resourcegroups/abhudeda-rg/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/linksub01", + "identity": { + "type": "SystemAssigned", + "principalId": "083df009-06d9-4e3c-ae72-f9249a814334", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + }, + "kind": "AzureDataBoxGateway", + "location": "eastus2euap", + "sku": { + "name": "Gateway", + "tier": "Standard" + }, + "tags": {} + }, + { + "name": "mergeazstest", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices", + "etag": "W/\"datetime'2020-11-19T01%3A40%3A05.9246966Z'\"_W/\"datetime'2020-11-19T01%3A40%3A05.9317011Z'\"", + "id": "/subscriptions/0d44739e-0563-474f-97e7-24a0cdb23b29/resourcegroups/abhudeda-rg/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/mergeazstest", + "identity": { + "type": "SystemAssigned", + "principalId": "8536db30-78d2-4759-95b7-896a66e14c24", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + }, + "kind": "AzureDataBoxGateway", + "location": "eastus2euap", + "sku": { + "name": "Gateway", + "tier": "Standard" + }, + "tags": {} + }, + { + "name": "mergeazstest2", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices", + "etag": "W/\"datetime'2020-11-19T01%3A40%3A06.496102Z'\"_W/\"datetime'2020-11-19T01%3A40%3A06.503107Z'\"", + "id": "/subscriptions/0d44739e-0563-474f-97e7-24a0cdb23b29/resourcegroups/abhudeda-rg/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/mergeazstest2", + "identity": { + "type": "SystemAssigned", + "principalId": "fc4c1205-35c8-4f35-abc7-f5a78945f676", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + }, + "kind": "AzureDataBoxGateway", + "location": "eastus2euap", + "sku": { + "name": "Gateway", + "tier": "Standard" + }, + "tags": {} + } + ] + } + } + }, + "operationId": "Devices_ListBySubscription", + "title": "DataBoxEdgeDeviceGetBySubscription" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/DataBoxEdgeDevicePatch.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/DataBoxEdgeDevicePatch.json new file mode 100644 index 000000000000..1a79a4276abc --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/DataBoxEdgeDevicePatch.json @@ -0,0 +1,70 @@ +{ + "parameters": { + "Content-Length": [ + "200" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "parameters": { + "properties": { + "edgeProfile": { + "subscription": { + "id": "/subscriptions/0d44739e-0563-474f-97e7-24a0cdb23b29/resourceGroups/rapvs-rg/providers/Microsoft.AzureStack/linkedSubscriptions/ca014ddc-5cf2-45f8-b390-e901e4a0ae87" + } + } + } + }, + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": { + "body": { + "name": "testedgedevice", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices", + "etag": "W/\"datetime'2020-11-19T04%3A43%3A38.6457308Z'\"_W/\"datetime'2020-11-19T04%3A43%3A38.6507339Z'\"", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourcegroups/VmMgmtTestPass/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice", + "identity": { + "type": "SystemAssigned", + "principalId": "b3e34fcc-ab02-4ca4-9d22-5de115419091", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + }, + "kind": "AzureStackEdge", + "location": "eastus2euap", + "properties": { + "dataBoxEdgeDeviceStatus": "ReadyToSetup", + "deviceLocalCapacity": 0, + "deviceType": "DataBoxEdgeDevice", + "edgeProfile": { + "subscription": { + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/VmMgmtTestPass/providers/Microsoft.AzureStack/edgeSubscriptions/daaac4b0-35c4-4008-bdc6-b72ca5890f16", + "registrationId": "91d8753b-af42-4908-9a5e-2a61f08b20de", + "state": "Registered" + } + }, + "nodeCount": 0, + "resourceMoveDetails": { + "operationInProgress": "None" + }, + "timeZone": "Pacific Standard Time" + }, + "sku": { + "name": "Edge", + "tier": "Standard" + }, + "tags": {} + } + } + }, + "operationId": "Devices_Update", + "title": "DataBoxEdgeDevicePatch" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/DataBoxEdgeDevicePut.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/DataBoxEdgeDevicePut.json new file mode 100644 index 000000000000..d01471995689 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/DataBoxEdgeDevicePut.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "Content-Length": [ + "200" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "dataBoxEdgeDevice": { + "location": "WUS", + "sku": { + "name": "Edge", + "tier": "Standard" + }, + "tags": {} + }, + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": { + "body": { + "name": "testedgedevice", + "id": "foo/bar/id", + "location": "WUS", + "sku": { + "name": "Edge", + "tier": "Standard" + }, + "tags": {} + } + } + }, + "operationId": "Devices_CreateOrUpdate", + "title": "DataBoxEdgeDevicePut" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/DataBoxEdgeDevicePutWithDataResidency.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/DataBoxEdgeDevicePutWithDataResidency.json new file mode 100644 index 000000000000..6d0e0e279aea --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/DataBoxEdgeDevicePutWithDataResidency.json @@ -0,0 +1,54 @@ +{ + "parameters": { + "Content-Length": [ + "200" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "dataBoxEdgeDevice": { + "location": "WUS", + "properties": { + "dataResidency": { + "type": "ZoneReplication" + } + }, + "sku": { + "name": "Edge", + "tier": "Standard" + }, + "tags": {} + }, + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": { + "body": { + "name": "testedgedevice", + "id": "foo/bar/id", + "location": "WUS", + "properties": { + "dataResidency": { + "type": "ZoneReplication" + } + }, + "sku": { + "name": "Edge", + "tier": "Standard" + }, + "tags": {} + } + } + }, + "operationId": "Devices_CreateOrUpdate", + "title": "DataBoxEdgeDevicePutWithDataResidency" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/DeleteAddons.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/DeleteAddons.json new file mode 100644 index 000000000000..2a63a4b820bc --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/DeleteAddons.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "accept-language": [ + "en-US" + ], + "addonName": "arcName", + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "roleName": "KubernetesRole", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://foo.com/BandwidthSchdeuleDelete" + } + }, + "204": {} + }, + "operationId": "Addons_Delete", + "title": "DeleteAddOns" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/DeleteMonitoringConfig.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/DeleteMonitoringConfig.json new file mode 100644 index 000000000000..7275d5a76361 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/DeleteMonitoringConfig.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "roleName": "testrole", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://foo.com/DeleteMonitoringConfig" + } + }, + "204": {} + }, + "operationId": "MonitoringConfig_Delete", + "title": "DeleteMonitoringConfig" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/DeviceCapacityGet.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/DeviceCapacityGet.json new file mode 100644 index 000000000000..2338aa3fcf40 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/DeviceCapacityGet.json @@ -0,0 +1,159 @@ +{ + "parameters": { + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/deviceCapacityInfo", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/deviceCapacityInfo/default", + "properties": { + "clusterComputeCapacityInfo": { + "fqdn": "3V78B03CL", + "gpuCapacity": { + "gpuFreeUnitsCount": 1, + "gpuReservedForFailoverUnitsCount": 0, + "gpuTotalUnitsCount": 1, + "gpuType": "NvidiaTeslaT4", + "gpuUsedUnitsCount": 0 + }, + "lastRefreshedTime": "2022-02-28T19:35:23.82Z", + "memoryCapacity": { + "clusterFailoverMemoryMb": 0, + "clusterFragmentationMemoryMb": 0, + "clusterFreeMemoryMb": 20978.64, + "clusterHypervReserveMemoryMb": 19599.36, + "clusterInfraVmMemoryMb": 0, + "clusterMemoryUsedByVmsMb": 90112, + "clusterNonFailoverVmMb": 0, + "clusterTotalMemoryMb": 130690, + "clusterUsedMemoryMb": 109711.36 + }, + "totalProvisionedNonHpnCores": 5 + }, + "clusterStorageCapacityInfo": { + "clusterFreeStorageMb": 5284151, + "clusterTotalStorageMb": 5368642 + }, + "nodeCapacityInfos": { + "3V78B03": { + "availableGpuCount": 1, + "effectiveAvailableMemoryMbOnHost": 45818, + "gpuType": "NvidiaTeslaT4", + "hostName": "3V78B03", + "numaNodesData": [ + { + "effectiveAvailableMemoryInMb": 30182, + "freeVCpuIndexesForHpn": [], + "logicalCoreCountPerCore": 2, + "numaNodeIndex": 0, + "totalMemoryInMb": 65154, + "vCpuIndexesForHpn": [], + "vCpuIndexesForRoot": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19 + ] + }, + { + "effectiveAvailableMemoryInMb": 19493, + "freeVCpuIndexesForHpn": [], + "logicalCoreCountPerCore": 2, + "numaNodeIndex": 1, + "totalMemoryInMb": 65536, + "vCpuIndexesForHpn": [], + "vCpuIndexesForRoot": [ + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34, + 35, + 36, + 37, + 38, + 39 + ] + } + ], + "vmUsedMemory": { + "23ddd5ea-bda9-467a-803f-1a7e2888d1fa": { + "currentMemoryUsageMB": 24576, + "startupMemoryMB": 24576 + }, + "2e867196-e44b-49b7-9cb3-46c25973b762": { + "currentMemoryUsageMB": 3584, + "startupMemoryMB": 3584 + }, + "48034ac1-04ce-48e1-89fd-15a6d71fd623": { + "currentMemoryUsageMB": 2048, + "startupMemoryMB": 2048 + }, + "4c4261f0-eac5-4ff6-95ef-2cb70e09d3f6": { + "currentMemoryUsageMB": 3584, + "startupMemoryMB": 3584 + }, + "6b1817d5-4003-4f17-8423-51c33d9de88c": { + "currentMemoryUsageMB": 0, + "startupMemoryMB": 24576 + }, + "853efe82-58f1-4f94-8f9c-7752dab6767c": { + "currentMemoryUsageMB": 24576, + "startupMemoryMB": 24576 + }, + "c1023a57-d6a0-4a77-9308-48b320bfedbd": { + "currentMemoryUsageMB": 3584, + "startupMemoryMB": 3584 + }, + "dc3d20b2-8581-41cb-9ca3-1bbc1a8a2fe4": { + "currentMemoryUsageMB": 3584, + "startupMemoryMB": 3584 + } + } + } + }, + "timeStamp": "2022-02-28T19:35:34.5585067Z" + } + } + } + }, + "operationId": "DeviceCapacityInfo_GetDeviceCapacityInfo", + "title": "DeviceCapacityGet" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/DeviceCapacityRequestPost.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/DeviceCapacityRequestPost.json new file mode 100644 index 000000000000..abc0927fad19 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/DeviceCapacityRequestPost.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "Content-Length": [ + "200" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceCapacityRequestInfo": { + "properties": { + "vmPlacementQuery": [ + [ + "Standard_D2_v2" + ] + ] + } + }, + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://foo.com/BandwidthSchdeuleDelete" + } + } + }, + "operationId": "DeviceCapacityCheck_CheckResourceCreationFeasibility", + "title": "DeviceCapacityRequestPost" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/DownloadUpdatesPost.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/DownloadUpdatesPost.json new file mode 100644 index 000000000000..2cabf2d18945 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/DownloadUpdatesPost.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "Content-Length": [ + "200" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://foo.com/DownloadUpdatesPost" + } + } + }, + "operationId": "Devices_DownloadUpdates", + "title": "DownloadUpdatesPost" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/ExtendedInfoPost.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/ExtendedInfoPost.json new file mode 100644 index 000000000000..bcbcd86e0bba --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/ExtendedInfoPost.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "Content-Length": [ + "200" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": { + "body": { + "name": "testedgedevice", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice", + "properties": { + "encryptionKey": "", + "encryptionKeyThumbprint": "", + "resourceKey": "3482840729935603111" + } + } + } + }, + "operationId": "Devices_GetExtendedInformation", + "title": "ExtendedInfoPost" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/GenerateCertificate.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/GenerateCertificate.json new file mode 100644 index 000000000000..83f8670ed461 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/GenerateCertificate.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" + }, + "responses": { + "200": { + "body": { + "expiryTimeInUTC": "2020-11-22T05:06:20.000Z", + "privateKey": null, + "publicKey": "MIIEDjCCAnagAwIBAgIQEW4wrxj9+JdA4kFLDgegTTANBgkqhkiG9w0BAQUFADBDMUEwPwYDVQQDHjgAQwBCAF8AUABvAHIAdABhAGwAXwA2ADMANwA0ADEAMwA1ADkAMQA4ADAAMAA3ADAAOQAxADcANTAeFw0yMDExMTkwNDU2MjBaFw0yMDExMjIwNTA2MjBaMEMxQTA/BgNVBAMeOABDAEIAXwBQAG8AcgB0AGEAbABfADYAMwA3ADQAMQAzADUAOQAxADgAMAAwADcAMAA5ADEANwA1MIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAqG617KAUc4gOoht527o6FGE/c97W/wZIXqKbx4G8vifljXWw3NGDDuSQfidE3MqSMMJ/AAlDhBH/Deo/PAgUWuWB2WgM+KFWrDS0oDBvLVeIIeiMx4LOsbz4J8IbcKrGWf+ulQyum7dE/yBLzPXcPTjhJP0oMfhGOMlVVWbiKaP78/WZk2PmBQaVv7PxAQnJAPqETH2qAyuc9bd0TaMlIER56WhX9+nzsoI0u7RmBEs8+BaudVroiiK/GpEczy73TCRlpVXGChdBHg+NvYRYz91ltCV9Ijo1bdvcUjdgDJZ4Tz7G8XVCQmxbd9ml6OBLgxQUpd9HSGTcIfFiv+rTUwHR7YkY+1UGHsDPOYnBVDTXs3RFm+c5uNnCKvtyTExDJgabT+FTNb3eyD/BSYsy6b/YZBRqPiO8BRFUsIhWhXtPaUjWOEx6XMeZRnGeF4Hi8iH8TR79kEJhfYy3piSPAc3JrhgoglpyyfZOgyPOje+8tAWS9FHUNyVXKKeksDoZAgMBAAEwDQYJKoZIhvcNAQEFBQADggGBACpfQt34mgr+WlFtY0tqaPAoF6XnVzyKB6XsVAoj1uKFTSCQnr0mWvUMWKSRFTu1bV1VdDokV5I+h92kBcO4ddtHhWtkt16j9XFDsGdDvoUWJeqecZVr9fBPC69wF/9R/2E6iJporR46Pui7gcilYGqb3IjJlh8RT/XBPamQrfDbS7G8eTe91ST5cHr89R6EtDwfyhyTZr2sRrvQrxY2AjEmdH5Zcl9q2Xf8DholZhZ9vwnuYBFfl6VCXWaDAzQWiPdxo1wgXxEpNNDstGFWJKnsnz9UCohNAiPf47B+csPqxjcTLVMhcGLdU/lwpzzkEOciijpYILscvPoU3IM6DmFROgU2z6CForpgwHPDJktyWU1MC7lFdfrSzwu/5b3ZAEQhnJf7rvrybULoYBQWJEuj26Is1S6kXpNUaHAc5HIyIoc2V2eRjasbPIqsU0smjPLS/1egjHxtw9u+v4qDDvDuOjhFJtC3NkPl06TfNgO9+5LgiB1JppXnkLyCQ9RQgw==" + } + } + }, + "operationId": "Devices_GenerateCertificate", + "title": "GenerateCertificate" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/GetAddons.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/GetAddons.json new file mode 100644 index 000000000000..01a9a7802c22 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/GetAddons.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "Content-Length": [ + "200" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "accept-language": [ + "en-US" + ], + "addonName": "arcName", + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "roleName": "KubernetesRole", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": { + "body": { + "name": "arcName", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/roles/addons", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourcegroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/addonExamples/roles/kubernetesRole/addons/arcName", + "kind": "ArcForKubernetes", + "properties": { + "hostPlatform": "Linux", + "hostPlatformType": "KubernetesCluster", + "provisioningState": "Created", + "resourceGroupName": "GroupForEdgeAutomation", + "resourceLocation": "EastUS", + "resourceName": "testedgedevice", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "version": "0.2.18" + } + } + } + }, + "operationId": "Addons_Get", + "title": "GetAddOns" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/GetDCAccessCode.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/GetDCAccessCode.json new file mode 100644 index 000000000000..3df3b2c4d713 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/GetDCAccessCode.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" + }, + "responses": { + "200": { + "body": { + "properties": { + "authCode": "_sv7-NY2" + } + } + } + }, + "operationId": "Orders_ListDCAccessCode", + "title": "GetDCAccessCode" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/GetDiagnosticProactiveLogCollectionSettings.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/GetDiagnosticProactiveLogCollectionSettings.json new file mode 100644 index 000000000000..956e6d165202 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/GetDiagnosticProactiveLogCollectionSettings.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "name": "159a00c7-8543-4343-9435-263ac87df3bb", + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "diagnosticProactiveLogCollectionSettings": { + "properties": { + "userConsent": "Enabled" + } + }, + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "dataBoxEdgeDevices/diagnosticSettings", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/diagnosticProactiveLogCollectionSettings/default", + "properties": { + "userConsent": "Enabled" + } + } + } + }, + "operationId": "DiagnosticSettings_GetDiagnosticProactiveLogCollectionSettings", + "title": "GetDiagnosticProactiveLogCollectionSettings" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/GetDiagnosticRemoteSupportSettings.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/GetDiagnosticRemoteSupportSettings.json new file mode 100644 index 000000000000..ff89c1fdfde9 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/GetDiagnosticRemoteSupportSettings.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "name": "159a00c7-8543-4343-9435-263ac87df3bb", + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "dataBoxEdgeDevices/diagnosticSettings", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/diagnosticRemoteSupportSettings/default", + "properties": { + "remoteSupportSettingsList": [ + { + "accessLevel": "ReadWrite", + "expirationTimeStampInUTC": "2021-07-07T00:00:00+00:00", + "remoteApplicationType": "LocalUI" + } + ] + } + } + } + }, + "operationId": "DiagnosticSettings_GetDiagnosticRemoteSupportSettings", + "title": "GetDiagnosticRemoteSupportSettings" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/GetMonitoringConfig.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/GetMonitoringConfig.json new file mode 100644 index 000000000000..a0908e8868d7 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/GetMonitoringConfig.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "roleName": "testrole", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" + }, + "responses": { + "200": { + "body": { + "id": "foo/bar/id", + "properties": { + "metricConfigurations": [ + { + "counterSets": [ + { + "counters": [ + { + "name": "test" + } + ] + } + ], + "mdmAccount": "test", + "metricNameSpace": "test", + "resourceId": "test" + } + ] + } + } + } + }, + "operationId": "MonitoringConfig_Get", + "title": "GetMonitoringConfig" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/GetUpdateExtendedInfo.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/GetUpdateExtendedInfo.json new file mode 100644 index 000000000000..389518c2c67f --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/GetUpdateExtendedInfo.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "parameters": {}, + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" + }, + "responses": { + "200": { + "body": { + "properties": { + "channelIntegrityKeyName": "ase-cik-ab861822-21ea-4d31-96ec-89aa066f9a59", + "channelIntegrityKeyVersion": "95e9b619e65f433d82c9e1ead48214b9", + "clientSecretStoreId": "/subscriptions/0d44739e-0563-474f-97e7-24a0cdb23b29/resourceGroups/arja-rg/providers/Microsoft.KeyVault/vaults/test-keyvault-ccy-523", + "clientSecretStoreUrl": "https://test-keyvault-ccy-523.vault.azure.net", + "deviceSecrets": { + "BMCDefaultUserPassword": {}, + "HcsDataVolumeBitLockerExternalKey": { + "keyVaultId": "Id" + }, + "HcsInternalVolumeBitLockerExternalKey": { + "keyVaultId": "Id" + }, + "RotateKeyForDataVolumeBitlocker": {}, + "RotateKeysForSedDrivesSerialized": {}, + "SEDEncryptionExternalKey": {}, + "SEDEncryptionExternalKeyId": {}, + "SystemVolumeBitLockerRecoveryKey": { + "keyVaultId": "Id" + } + }, + "keyVaultSyncStatus": "KeyVaultSynced" + } + } + } + }, + "operationId": "Devices_UpdateExtendedInformation", + "title": "GetUpdateExtendedInfo" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/InstallUpdatesPost.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/InstallUpdatesPost.json new file mode 100644 index 000000000000..72b03ce0ff6b --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/InstallUpdatesPost.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "Content-Length": [ + "200" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://foo.com/InstalllUpdatesPost" + } + } + }, + "operationId": "Devices_InstallUpdates", + "title": "InstallUpdatesPost" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/JobsGet.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/JobsGet.json new file mode 100644 index 000000000000..58a94c61eb55 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/JobsGet.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "name": "159a00c7-8543-4343-9435-263ac87df3bb", + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": { + "body": { + "name": "159a00c7-8543-4343-9435-263ac87df3bb", + "endTime": "2018-12-18T03:18:51.4270267Z", + "id": "/subscriptions/id/locations/westus/jobs/159a00c7-8543-4343-9435-263ac87df3bb", + "percentComplete": 100, + "properties": { + "currentStage": "Success", + "jobType": "DownloadUpdates" + }, + "startTime": "2018-12-18T02:18:51.4270267Z", + "status": "Succeeded" + } + } + }, + "operationId": "Jobs_Get", + "title": "JobsGet" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/ListMonitoringConfig.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/ListMonitoringConfig.json new file mode 100644 index 000000000000..a272695cec48 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/ListMonitoringConfig.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "roleName": "testrole", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "foo/bar/id", + "properties": { + "metricConfigurations": [ + { + "counterSets": [ + { + "counters": [ + { + "name": "test" + } + ] + } + ], + "mdmAccount": "test", + "metricNameSpace": "test", + "resourceId": "test" + } + ] + } + } + ] + } + } + }, + "operationId": "MonitoringConfig_List", + "title": "ListMonitoringConfig" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/NetworkSettingsGet.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/NetworkSettingsGet.json new file mode 100644 index 000000000000..95728b8783e0 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/NetworkSettingsGet.json @@ -0,0 +1,60 @@ +{ + "parameters": { + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/networkSettings", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/networkSettings/default", + "properties": { + "networkAdapters": [ + { + "adapterId": "{47D0D0EC-AA8A-4221-AA2A-355B58082BA5}", + "adapterPosition": { + "networkGroup": "NonRDMA", + "port": 0 + }, + "dhcpStatus": "Disabled", + "dnsServers": [ + "10.50.50.50", + "10.50.10.50" + ], + "index": 1, + "ipv4Configuration": { + "gateway": "10.150.76.1", + "ipAddress": "10.150.78.56", + "subnet": "255.255.252.0" + }, + "ipv6Configuration": { + "gateway": "fe80::12f3:11ff:fe36:994b%5", + "ipAddress": "2404:f801:4800:1e:d5c6:50a1:465b:1bbf", + "prefixLength": 64 + }, + "ipv6LinkLocalAddress": "fe80::d5c6:50a1:465b:1bbf%5", + "label": "DATA1", + "linkSpeed": 10000000000, + "macAddress": "00155D4E265B", + "networkAdapterName": "DATA1", + "nodeId": "3fd54d9e-f7a0-45bf-bdf1-39b0977d1984", + "rdmaStatus": "Incapable", + "status": "Inactive" + } + ] + } + } + } + }, + "operationId": "Devices_GetNetworkSettings", + "title": "NetworkSettingsGet" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/NodeGetAllInDevice.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/NodeGetAllInDevice.json new file mode 100644 index 000000000000..ed50fcb35d71 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/NodeGetAllInDevice.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "1D6QHQ2", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/nodes", + "id": "/subscriptions/db4e2fdb-6d80-4e6e-b7cd-736098270664/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/DataBoxEdgeDevices/testedgedevice/nodes/1D6QHQ2", + "properties": { + "nodeChassisSerialNumber": "1D6QHQ2", + "nodeDisplayName": "Controller 1", + "nodeFriendlySoftwareVersion": "Data Box Edge 1908", + "nodeHcsVersion": "1.6.961.8307", + "nodeInstanceId": "ad051874-7d27-4ac4-a7b1-b6f231d8a035", + "nodeSerialNumber": "1D6QHQ2", + "nodeStatus": "Unknown" + } + }, + { + "name": "1DCNHQ2", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/nodes", + "id": "/subscriptions/db4e2fdb-6d80-4e6e-b7cd-736098270664/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/DataBoxEdgeDevices/testedgedevice/nodes/1DCNHQ2", + "properties": { + "nodeChassisSerialNumber": "1D6QHQ2", + "nodeDisplayName": "Controller 1", + "nodeFriendlySoftwareVersion": "Data Box Edge 1908", + "nodeHcsVersion": "1.6.961.8307", + "nodeInstanceId": "ddf3a76d-ada4-44af-99c6-a69a0e21bcb6", + "nodeSerialNumber": "1DCNHQ2", + "nodeStatus": "Unknown" + } + } + ] + } + } + }, + "operationId": "Nodes_ListByDataBoxEdgeDevice", + "title": "NodesGetAllInDevice" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/OperationsGet.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/OperationsGet.json new file mode 100644 index 000000000000..8112c7c2e93d --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/OperationsGet.json @@ -0,0 +1,677 @@ +{ + "parameters": { + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/users/read", + "display": { + "description": "Lists or gets the share users", + "operation": "List share users", + "provider": "Microsoft.DataBoxEdge", + "resource": "share users" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/users/read", + "display": { + "description": "Lists or gets the share users", + "operation": "List share users", + "provider": "Microsoft.DataBoxEdge", + "resource": "share users" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/users/write", + "display": { + "description": "Creates or updates the share users", + "operation": "Creates or updates share users", + "provider": "Microsoft.DataBoxEdge", + "resource": "share users" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/users/delete", + "display": { + "description": "Deletes the share users", + "operation": "Delete share users", + "provider": "Microsoft.DataBoxEdge", + "resource": "share users" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/bandwidthSchedules/read", + "display": { + "description": "Lists or gets the bandwidth schedules", + "operation": "List bandwidth schedules", + "provider": "Microsoft.DataBoxEdge", + "resource": "bandwidth schedules" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/bandwidthSchedules/read", + "display": { + "description": "Lists or gets the bandwidth schedules", + "operation": "List bandwidth schedules", + "provider": "Microsoft.DataBoxEdge", + "resource": "bandwidth schedules" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/bandwidthSchedules/write", + "display": { + "description": "Creates or updates the bandwidth schedules", + "operation": "Creates or updates bandwidth schedules", + "provider": "Microsoft.DataBoxEdge", + "resource": "bandwidth schedules" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/bandwidthSchedules/delete", + "display": { + "description": "Deletes the bandwidth schedules", + "operation": "Delete bandwidth schedules", + "provider": "Microsoft.DataBoxEdge", + "resource": "bandwidth schedules" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/roles/read", + "display": { + "description": "Lists or gets the ArmApiRes_roles", + "operation": "List ArmApiRes_roles", + "provider": "Microsoft.DataBoxEdge", + "resource": "ArmApiRes_roles" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/roles/read", + "display": { + "description": "Lists or gets the ArmApiRes_roles", + "operation": "List ArmApiRes_roles", + "provider": "Microsoft.DataBoxEdge", + "resource": "ArmApiRes_roles" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/roles/write", + "display": { + "description": "Creates or updates the ArmApiRes_roles", + "operation": "Creates or updates ArmApiRes_roles", + "provider": "Microsoft.DataBoxEdge", + "resource": "ArmApiRes_roles" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/roles/delete", + "display": { + "description": "Deletes the ArmApiRes_roles", + "operation": "Delete ArmApiRes_roles", + "provider": "Microsoft.DataBoxEdge", + "resource": "ArmApiRes_roles" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/shares/read", + "display": { + "description": "Lists or gets the shares", + "operation": "List shares", + "provider": "Microsoft.DataBoxEdge", + "resource": "shares" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/shares/read", + "display": { + "description": "Lists or gets the shares", + "operation": "List shares", + "provider": "Microsoft.DataBoxEdge", + "resource": "shares" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/shares/write", + "display": { + "description": "Creates or updates the shares", + "operation": "Creates or updates shares", + "provider": "Microsoft.DataBoxEdge", + "resource": "shares" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/shares/refresh/action", + "display": { + "description": "ArmApiDesc_action_refresh_shares", + "operation": "ArmApiOp_action_refresh_shares", + "provider": "Microsoft.DataBoxEdge", + "resource": "shares" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/shares/delete", + "display": { + "description": "Deletes the shares", + "operation": "Delete shares", + "provider": "Microsoft.DataBoxEdge", + "resource": "shares" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/uploadCertificate/action", + "display": { + "description": "Upload certificate for device registration", + "operation": "Upload certificates", + "provider": "Microsoft.DataBoxEdge", + "resource": "Data Box Edge devices" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/write", + "display": { + "description": "Creates or updates the Data Box Edge devices", + "operation": "Creates or updates Data Box Edge devices", + "provider": "Microsoft.DataBoxEdge", + "resource": "Data Box Edge devices" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/read", + "display": { + "description": "Lists or gets the Data Box Edge devices", + "operation": "List Data Box Edge devices", + "provider": "Microsoft.DataBoxEdge", + "resource": "Data Box Edge devices" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/delete", + "display": { + "description": "Deletes the Data Box Edge devices", + "operation": "Delete Data Box Edge devices", + "provider": "Microsoft.DataBoxEdge", + "resource": "Data Box Edge devices" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/read", + "display": { + "description": "Lists or gets the Data Box Edge devices", + "operation": "List Data Box Edge devices", + "provider": "Microsoft.DataBoxEdge", + "resource": "Data Box Edge devices" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/read", + "display": { + "description": "Lists or gets the Data Box Edge devices", + "operation": "List Data Box Edge devices", + "provider": "Microsoft.DataBoxEdge", + "resource": "Data Box Edge devices" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/write", + "display": { + "description": "Creates or updates the Data Box Edge devices", + "operation": "Creates or updates Data Box Edge devices", + "provider": "Microsoft.DataBoxEdge", + "resource": "Data Box Edge devices" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/getExtendedInformation/action", + "display": { + "description": "ArmApiDesc_action_getExtendedInformation_dataBoxEdgeDevices", + "operation": "ArmApiOp_action_getExtendedInformation_dataBoxEdgeDevices", + "provider": "Microsoft.DataBoxEdge", + "resource": "Data Box Edge devices" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/extendedInformation/action", + "display": { + "description": "Retrieves resource extended information", + "operation": "Gets resource extended information", + "provider": "Microsoft.DataBoxEdge", + "resource": "Data Box Edge devices" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/networkSettings/read", + "display": { + "description": "Lists or gets the Device network settings", + "operation": "List Device network settings", + "provider": "Microsoft.DataBoxEdge", + "resource": "Device network settings" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/securitySettings/update/action", + "display": { + "description": "Update security settings", + "operation": "Update security settings", + "provider": "Microsoft.DataBoxEdge", + "resource": "Device security settings" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/updateSummary/read", + "display": { + "description": "Lists or gets the update summary", + "operation": "List update summary", + "provider": "Microsoft.DataBoxEdge", + "resource": "update summary" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/scanForUpdates/action", + "display": { + "description": "Scan for updates", + "operation": "Scan for updates", + "provider": "Microsoft.DataBoxEdge", + "resource": "Data Box Edge devices" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/downloadUpdates/action", + "display": { + "description": "Download Updates in device", + "operation": "Download Updates", + "provider": "Microsoft.DataBoxEdge", + "resource": "Data Box Edge devices" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/installUpdates/action", + "display": { + "description": "Install Updates on device", + "operation": "Install Updates", + "provider": "Microsoft.DataBoxEdge", + "resource": "Data Box Edge devices" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/jobs/read", + "display": { + "description": "Lists or gets the jobs", + "operation": "List jobs", + "provider": "Microsoft.DataBoxEdge", + "resource": "jobs" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/storageAccountCredentials/write", + "display": { + "description": "Creates or updates the storage account credentials", + "operation": "Creates or updates storage account credentials", + "provider": "Microsoft.DataBoxEdge", + "resource": "storage account credentials" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/storageAccountCredentials/read", + "display": { + "description": "Lists or gets the storage account credentials", + "operation": "List storage account credentials", + "provider": "Microsoft.DataBoxEdge", + "resource": "storage account credentials" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/storageAccountCredentials/read", + "display": { + "description": "Lists or gets the storage account credentials", + "operation": "List storage account credentials", + "provider": "Microsoft.DataBoxEdge", + "resource": "storage account credentials" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/storageAccountCredentials/delete", + "display": { + "description": "Deletes the storage account credentials", + "operation": "Delete storage account credentials", + "provider": "Microsoft.DataBoxEdge", + "resource": "storage account credentials" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/alerts/read", + "display": { + "description": "Lists or gets the alerts", + "operation": "List alerts", + "provider": "Microsoft.DataBoxEdge", + "resource": "alerts" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/alerts/read", + "display": { + "description": "Lists or gets the alerts", + "operation": "List alerts", + "provider": "Microsoft.DataBoxEdge", + "resource": "alerts" + }, + "origin": "user" + }, + { + "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/providers/Microsoft.Insights/metricDefinitions/read", + "display": { + "description": "Gets the available Data Box Edge device level metrics", + "operation": "Read Data Box Edge device metric definition", + "provider": "Microsoft.DataBoxEdge", + "resource": "Data Box Edge device" + }, + "origin": "system", + "properties": { + "serviceSpecification": { + "metricSpecifications": [ + { + "name": "NICReadThroughput", + "aggregationType": "Average", + "category": "Transaction", + "dimensions": [ + { + "name": "InstanceName", + "displayName": "Name", + "toBeExportedForShoebox": true + } + ], + "displayDescription": "The read throughput of the network interface on the device in the reporting period for all volumes in the gateway.", + "displayName": "Read Throughput (Network)", + "fillGapWithZero": false, + "supportedAggregationTypes": [ + "Average", + "Minimum", + "Maximum" + ], + "supportedTimeGrainTypes": [ + "PT1M", + "PT15M", + "PT1H" + ], + "unit": "BytesPerSecond" + }, + { + "name": "NICWriteThroughput", + "aggregationType": "Average", + "category": "Transaction", + "dimensions": [ + { + "name": "InstanceName", + "displayName": "Name", + "toBeExportedForShoebox": true + } + ], + "displayDescription": "The write throughput of the network interface on the device in the reporting period for all volumes in the gateway.", + "displayName": "Write Throughput (Network)", + "fillGapWithZero": false, + "supportedAggregationTypes": [ + "Average", + "Minimum", + "Maximum" + ], + "supportedTimeGrainTypes": [ + "PT1M", + "PT15M", + "PT1H" + ], + "unit": "BytesPerSecond" + }, + { + "name": "CloudReadThroughputPerShare", + "aggregationType": "Average", + "category": "Transaction", + "dimensions": [ + { + "name": "Share", + "displayName": "Share", + "toBeExportedForShoebox": true + } + ], + "displayDescription": "The download throughput to Azure from a share during the reporting period.", + "displayName": "Cloud Download Throughput (Share)", + "fillGapWithZero": false, + "supportedAggregationTypes": [ + "Average", + "Minimum", + "Maximum" + ], + "supportedTimeGrainTypes": [ + "PT1M", + "PT15M", + "PT1H" + ], + "unit": "BytesPerSecond" + }, + { + "name": "CloudUploadThroughputPerShare", + "aggregationType": "Average", + "category": "Transaction", + "dimensions": [ + { + "name": "Share", + "displayName": "Share", + "toBeExportedForShoebox": true + } + ], + "displayDescription": "The upload throughput to Azure from a share during the reporting period.", + "displayName": "Cloud Upload Throughput (Share)", + "fillGapWithZero": false, + "supportedAggregationTypes": [ + "Average", + "Minimum", + "Maximum" + ], + "supportedTimeGrainTypes": [ + "PT1M", + "PT15M", + "PT1H" + ], + "unit": "BytesPerSecond" + }, + { + "name": "BytesUploadedToCloudPerShare", + "aggregationType": "Average", + "category": "Transaction", + "dimensions": [ + { + "name": "Share", + "displayName": "Share", + "toBeExportedForShoebox": true + } + ], + "displayDescription": "The total number of bytes that is uploaded to Azure from a share during the reporting period.", + "displayName": "Cloud Bytes Uploaded (Share)", + "fillGapWithZero": false, + "supportedAggregationTypes": [ + "Average", + "Minimum", + "Maximum" + ], + "supportedTimeGrainTypes": [ + "PT1M", + "PT15M", + "PT1H" + ], + "unit": "Bytes" + }, + { + "name": "TotalCapacity", + "aggregationType": "Average", + "category": "Capacity", + "dimensions": [], + "displayDescription": "Total Capacity", + "displayName": "Total Capacity", + "fillGapWithZero": false, + "supportedAggregationTypes": [ + "Average", + "Minimum", + "Maximum" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT1H" + ], + "unit": "Bytes" + }, + { + "name": "AvailableCapacity", + "aggregationType": "Average", + "category": "Capacity", + "dimensions": [], + "displayDescription": "The available capacity in bytes during the reporting period.", + "displayName": "Available Capacity", + "fillGapWithZero": false, + "supportedAggregationTypes": [ + "Average", + "Minimum", + "Maximum" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT1H" + ], + "unit": "Bytes" + }, + { + "name": "CloudUploadThroughput", + "aggregationType": "Average", + "category": "Transaction", + "dimensions": [], + "displayDescription": "The cloud upload throughput during the reporting period.", + "displayName": "Cloud Upload Throughput", + "fillGapWithZero": false, + "supportedAggregationTypes": [ + "Average", + "Minimum", + "Maximum" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT1H" + ], + "unit": "BytesPerSecond" + }, + { + "name": "CloudReadThroughput", + "aggregationType": "Average", + "category": "Transaction", + "dimensions": [], + "displayDescription": "The cloud download throughput during the reporting period.", + "displayName": "Cloud Read Throughput", + "fillGapWithZero": false, + "supportedAggregationTypes": [ + "Average", + "Minimum", + "Maximum" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT1H" + ], + "unit": "BytesPerSecond" + }, + { + "name": "BytesUploadedToCloud", + "aggregationType": "Average", + "category": "Transaction", + "dimensions": [], + "displayDescription": "The total number of bytes that is uploaded to Azure from a device during the reporting period.", + "displayName": "Cloud Bytes Uploaded (Device)", + "fillGapWithZero": false, + "supportedAggregationTypes": [ + "Average", + "Minimum", + "Maximum" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT1H" + ], + "unit": "Bytes" + } + ] + } + } + }, + { + "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/providers/Microsoft.Insights/diagnosticSettings/write", + "display": { + "description": "Creates or updates the diagnostics setting for the resource", + "operation": "Write diagnostics setting", + "provider": "Microsoft.DataBoxEdge", + "resource": "Data Box Edge device" + }, + "origin": "system" + }, + { + "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/providers/Microsoft.Insights/diagnosticSettings/read", + "display": { + "description": "Gets the diagnostic setting for the resource", + "operation": "Read diagnostics setting", + "provider": "Microsoft.DataBoxEdge", + "resource": "Data Box Edge device" + }, + "origin": "system" + } + ] + } + } + }, + "operationId": "Operations_List", + "title": "OperationsGet" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/OperationsStatusGet.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/OperationsStatusGet.json new file mode 100644 index 000000000000..1eb2bcc83a7c --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/OperationsStatusGet.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "name": "159a00c7-8543-4343-9435-263ac87df3bb", + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": { + "body": { + "name": "159a00c7-8543-4343-9435-263ac87df3bb", + "endTime": "2018-12-18T03:18:51.4270267Z", + "id": "/subscriptions/id/locations/westus/operationsStatus/159a00c7-8543-4343-9435-263ac87df3bb", + "percentComplete": 100, + "properties": { + "currentStage": "Success", + "jobType": "DownloadUpdates" + }, + "startTime": "2018-12-18T02:18:51.4270267Z", + "status": "Succeeded" + } + } + }, + "operationId": "OperationsStatus_Get", + "title": "OperationsStatusGet" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/OrderDelete.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/OrderDelete.json new file mode 100644 index 000000000000..6ebd3d1966e3 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/OrderDelete.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://foo.com/OrderDelete" + } + }, + "204": {} + }, + "operationId": "Orders_Delete", + "title": "OrderDelete" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/OrderGet.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/OrderGet.json new file mode 100644 index 000000000000..a10acebfed91 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/OrderGet.json @@ -0,0 +1,59 @@ +{ + "parameters": { + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "dataBoxEdgeDevices/orders", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/orders/default", + "properties": { + "contactInformation": { + "companyName": "Microsoft", + "contactPerson": "John Mcclane", + "emailList": [ + "john@microsoft.com" + ], + "phone": "(800) 426-9400" + }, + "currentStatus": { + "comments": "", + "status": "Untracked", + "updateDateTime": "2018-12-10T07:59:05.847Z" + }, + "deliveryTrackingInfo": [], + "orderHistory": [ + { + "comments": "lorem ipsum", + "status": "Untracked", + "updateDateTime": "2018-12-10T07:59:05.847Z" + } + ], + "returnTrackingInfo": [], + "serialNumber": "UDS123NSDA123", + "shippingAddress": { + "addressLine1": "Microsoft Corporation", + "addressLine2": "One Microsoft Way", + "addressLine3": "Redmond", + "city": "WA", + "country": "USA", + "postalCode": "98052", + "state": "WA" + } + } + } + } + }, + "operationId": "Orders_Get", + "title": "OrderGet" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/OrderGetAllInDevice.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/OrderGetAllInDevice.json new file mode 100644 index 000000000000..293e5731477a --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/OrderGetAllInDevice.json @@ -0,0 +1,63 @@ +{ + "parameters": { + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "default", + "type": "dataBoxEdgeDevices/orders", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/orders/default", + "properties": { + "contactInformation": { + "companyName": "Microsoft", + "contactPerson": "John Mcclane", + "emailList": [ + "john@microsoft.com" + ], + "phone": "(800) 426-9400" + }, + "currentStatus": { + "comments": "", + "status": "Untracked", + "updateDateTime": "2018-12-10T07:59:05.847Z" + }, + "deliveryTrackingInfo": [], + "orderHistory": [ + { + "comments": "lorem ipsum", + "status": "Untracked", + "updateDateTime": "2018-12-10T07:59:05.847Z" + } + ], + "returnTrackingInfo": [], + "serialNumber": "UDS123NSDA123", + "shippingAddress": { + "addressLine1": "Microsoft Corporation", + "addressLine2": "One Microsoft Way", + "addressLine3": "Redmond", + "city": "WA", + "country": "USA", + "postalCode": "98052", + "state": "WA" + } + } + } + ] + } + } + }, + "operationId": "Orders_ListByDataBoxEdgeDevice", + "title": "OrderGetAllInDevice" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/OrderPut.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/OrderPut.json new file mode 100644 index 000000000000..6a19e2724a01 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/OrderPut.json @@ -0,0 +1,87 @@ +{ + "parameters": { + "Content-Length": [ + "200" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "order": { + "properties": { + "contactInformation": { + "companyName": "Microsoft", + "contactPerson": "John Mcclane", + "emailList": [ + "john@microsoft.com" + ], + "phone": "(800) 426-9400" + }, + "shippingAddress": { + "addressLine1": "Microsoft Corporation", + "addressLine2": "One Microsoft Way", + "addressLine3": "Redmond", + "city": "WA", + "country": "USA", + "postalCode": "98052", + "state": "WA" + } + } + }, + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "dataBoxEdgeDevices/orders", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/orders/default", + "properties": { + "contactInformation": { + "companyName": "Microsoft", + "contactPerson": "John Mcclane", + "emailList": [ + "john@microsoft.com" + ], + "phone": "(800) 426-9400" + }, + "currentStatus": { + "comments": "", + "status": "Untracked", + "updateDateTime": "2018-12-10T07:59:05.847Z" + }, + "deliveryTrackingInfo": [], + "orderHistory": [ + { + "comments": "lorem ipsum", + "status": "Untracked", + "updateDateTime": "2018-12-10T07:59:05.847Z" + } + ], + "returnTrackingInfo": [], + "serialNumber": "UDS123NSDA123", + "shippingAddress": { + "addressLine1": "Microsoft Corporation", + "addressLine2": "One Microsoft Way", + "addressLine3": "Redmond", + "city": "WA", + "country": "USA", + "postalCode": "98052", + "state": "WA" + } + } + } + }, + "202": {} + }, + "operationId": "Orders_CreateOrUpdate", + "title": "OrderPut" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/PutAddons.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/PutAddons.json new file mode 100644 index 000000000000..59f6eb242219 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/PutAddons.json @@ -0,0 +1,54 @@ +{ + "parameters": { + "Content-Length": [ + "200" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "accept-language": [ + "en-US" + ], + "addon": { + "kind": "ArcForKubernetes", + "properties": { + "resourceGroupName": "GroupForEdgeAutomation", + "resourceLocation": "EastUS", + "resourceName": "testedgedevice", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" + } + }, + "addonName": "arcName", + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "roleName": "KubernetesRole", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": { + "body": { + "name": "arcName", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/roles/addons", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourcegroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/addonExamples/roles/kubernetesRole/addons/arcName", + "kind": "ArcForKubernetes", + "properties": { + "hostPlatform": "Linux", + "hostPlatformType": "KubernetesCluster", + "provisioningState": "Created", + "resourceGroupName": "GroupForEdgeAutomation", + "resourceLocation": "EastUS", + "resourceName": "testedgedevice", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "version": "0.2.18" + } + } + }, + "202": {} + }, + "operationId": "Addons_CreateOrUpdate", + "title": "PutAddOns" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/PutMonitoringConfig.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/PutMonitoringConfig.json new file mode 100644 index 000000000000..175d8de50c70 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/PutMonitoringConfig.json @@ -0,0 +1,64 @@ +{ + "parameters": { + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "monitoringMetricConfiguration": { + "properties": { + "metricConfigurations": [ + { + "counterSets": [ + { + "counters": [ + { + "name": "test" + } + ] + } + ], + "mdmAccount": "test", + "metricNameSpace": "test", + "resourceId": "test" + } + ] + } + }, + "resourceGroupName": "GroupForEdgeAutomation", + "roleName": "testrole", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" + }, + "responses": { + "200": { + "body": { + "id": "foo/bar/id", + "properties": { + "metricConfigurations": [ + { + "counterSets": [ + { + "counters": [ + { + "name": "test" + } + ] + } + ], + "mdmAccount": "test", + "metricNameSpace": "test", + "resourceId": "test" + } + ] + } + } + }, + "202": { + "headers": { + "location": "https://foo.com/BandwidthSchdeuleDelete" + } + } + }, + "operationId": "MonitoringConfig_CreateOrUpdate", + "title": "PutMonitoringConfig" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/RoleDelete.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/RoleDelete.json new file mode 100644 index 000000000000..72b44cac736d --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/RoleDelete.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "name": "IoTRole1", + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://foo.com/BandwidthSchdeuleDelete" + } + }, + "204": {} + }, + "operationId": "Roles_Delete", + "title": "RoleDelete" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/RoleGet.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/RoleGet.json new file mode 100644 index 000000000000..285f100f2410 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/RoleGet.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "name": "IoTRole1", + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" + }, + "responses": { + "200": { + "body": { + "name": "IoTRole1", + "type": "dataBoxEdgeDevices/roles", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/roles/IoTRole1", + "kind": "IOT", + "properties": { + "hostPlatform": "Linux", + "ioTDeviceDetails": { + "authentication": { + "symmetricKey": {} + }, + "deviceId": "iotdevice", + "ioTHostHub": "iothub.azure-devices.net" + }, + "ioTEdgeDeviceDetails": { + "authentication": { + "symmetricKey": {} + }, + "deviceId": "iotEdge", + "ioTHostHub": "iothub.azure-devices.net" + }, + "roleStatus": "Enabled", + "shareMappings": [] + } + } + } + }, + "operationId": "Roles_Get", + "title": "RoleGet" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/RoleGetAllInDevice.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/RoleGetAllInDevice.json new file mode 100644 index 000000000000..7c7f82049bfe --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/RoleGetAllInDevice.json @@ -0,0 +1,46 @@ +{ + "parameters": { + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "IoTRole1", + "type": "dataBoxEdgeDevices/roles", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/roles/IoTRole1", + "kind": "IOT", + "properties": { + "hostPlatform": "Linux", + "ioTDeviceDetails": { + "authentication": { + "symmetricKey": {} + }, + "deviceId": "iotdevice", + "ioTHostHub": "iothub.azure-devices.net" + }, + "ioTEdgeDeviceDetails": { + "authentication": { + "symmetricKey": {} + }, + "deviceId": "iotEdge", + "ioTHostHub": "iothub.azure-devices.net" + }, + "roleStatus": "Enabled", + "shareMappings": [] + } + } + ] + } + } + }, + "operationId": "Roles_ListByDataBoxEdgeDevice", + "title": "RoleGetAllInDevice" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/RoleListAddOns.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/RoleListAddOns.json new file mode 100644 index 000000000000..4621bd9ea9b1 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/RoleListAddOns.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "roleName": "IoTRole1", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "arcName", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/roles/addons", + "id": "/subscriptions/0d44739e-0563-474f-97e7-24a0cdb23b29/resourcegroups/prpare/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/addonExamples/roles/kubernetesRole/addons/arcName", + "kind": "ArcForKubernetes", + "properties": { + "hostPlatform": "Linux", + "hostPlatformType": "KubernetesCluster", + "provisioningState": "Created", + "resourceGroupName": "testrg1", + "resourceLocation": "EastUS", + "resourceName": "testresource1", + "subscriptionId": "0d44739e-0563-474f-97e7-24a0cdb23b29", + "version": "0.2.18" + } + } + ] + } + } + }, + "operationId": "Addons_ListByRole", + "title": "RoleListAddOns" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/RolePut.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/RolePut.json new file mode 100644 index 000000000000..df5373263d9c --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/RolePut.json @@ -0,0 +1,87 @@ +{ + "parameters": { + "name": "IoTRole1", + "Content-Length": [ + "200" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "role": { + "kind": "IOT", + "properties": { + "hostPlatform": "Linux", + "ioTDeviceDetails": { + "authentication": { + "symmetricKey": { + "connectionString": { + "encryptionAlgorithm": "AES256", + "encryptionCertThumbprint": "348586569999244", + "value": "Encrypted<>" + } + } + }, + "deviceId": "iotdevice", + "ioTHostHub": "iothub.azure-devices.net" + }, + "ioTEdgeDeviceDetails": { + "authentication": { + "symmetricKey": { + "connectionString": { + "encryptionAlgorithm": "AES256", + "encryptionCertThumbprint": "1245475856069999244", + "value": "Encrypted<>" + } + } + }, + "deviceId": "iotEdge", + "ioTHostHub": "iothub.azure-devices.net" + }, + "roleStatus": "Enabled", + "shareMappings": [] + } + }, + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": { + "body": { + "name": "IoTRole1", + "type": "dataBoxEdgeDevices/roles", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/roles/IoTRole1", + "kind": "IOT", + "properties": { + "hostPlatform": "Linux", + "ioTDeviceDetails": { + "authentication": { + "symmetricKey": {} + }, + "deviceId": "iotdevice", + "ioTHostHub": "iothub.azure-devices.net" + }, + "ioTEdgeDeviceDetails": { + "authentication": { + "symmetricKey": {} + }, + "deviceId": "iotEdge", + "ioTHostHub": "iothub.azure-devices.net" + }, + "roleStatus": "Enabled", + "shareMappings": [] + } + } + }, + "202": {} + }, + "operationId": "Roles_CreateOrUpdate", + "title": "RolePut" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/SACDelete.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/SACDelete.json new file mode 100644 index 000000000000..94e467be41d9 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/SACDelete.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "name": "sac1", + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://foo.com/SACDelete" + } + }, + "204": {} + }, + "operationId": "StorageAccountCredentials_Delete", + "title": "SACDelete" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/SACGet.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/SACGet.json new file mode 100644 index 000000000000..85618fcbf8fc --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/SACGet.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "name": "sac1", + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": { + "body": { + "name": "sac1", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/storageAccountCredentials", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccountCredentials/sac1", + "properties": { + "accountType": "BlobStorage", + "alias": "sac1", + "sslStatus": "Disabled", + "userName": "cisbvt" + } + } + } + }, + "operationId": "StorageAccountCredentials_Get", + "title": "SACGet" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/SACGetAllInDevice.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/SACGetAllInDevice.json new file mode 100644 index 000000000000..e5eaa403b97e --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/SACGetAllInDevice.json @@ -0,0 +1,46 @@ +{ + "parameters": { + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "sac1128180128323", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/storageAccountCredentials", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccountCredentials/sac1128180128323", + "properties": { + "accountType": "GeneralPurposeStorage", + "alias": "sac1128180128323", + "sslStatus": "Disabled", + "userName": "cisbvt" + } + }, + { + "name": "sac1128180128312", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/storageAccountCredentials", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccountCredentials/sac1128180128312", + "properties": { + "accountType": "BlobStorage", + "alias": "sac1128180128312", + "sslStatus": "Disabled", + "userName": "cisbvt" + } + } + ] + } + } + }, + "operationId": "StorageAccountCredentials_ListByDataBoxEdgeDevice", + "title": "SACGetAllInDevice" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/SACPut.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/SACPut.json new file mode 100644 index 000000000000..75c88f581ebe --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/SACPut.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "name": "sac1", + "Content-Length": [ + "200" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "storageAccountCredential": { + "properties": { + "accountKey": { + "encryptionAlgorithm": "AES256", + "encryptionCertThumbprint": "2A9D8D6BE51574B5461230AEF02F162C5F01AD31", + "value": "lAeZEYi6rNP1/EyNaVUYmTSZEYyaIaWmwUsGwek0+xiZj54GM9Ue9/UA2ed/ClC03wuSit2XzM/cLRU5eYiFBwks23rGwiQOr3sruEL2a74EjPD050xYjA6M1I2hu/w2yjVHhn5j+DbXS4Xzi+rHHNZK3DgfDO3PkbECjPck+PbpSBjy9+6Mrjcld5DIZhUAeMlMHrFlg+WKRKB14o/og56u5/xX6WKlrMLEQ+y6E18dUwvWs2elTNoVO8PBE8SM/CfooX4AMNvaNdSObNBPdP+F6Lzc556nFNWXrBLRt0vC7s9qTiVRO4x/qCNaK/B4y7IqXMllwQFf4Np9UQ2ECA==" + }, + "accountType": "BlobStorage", + "alias": "sac1", + "sslStatus": "Disabled", + "userName": "cisbvt" + } + }, + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": { + "body": { + "name": "sac1", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/storageAccountCredentials", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccountCredentials/sac1", + "properties": { + "accountType": "BlobStorage", + "alias": "sac1", + "sslStatus": "Disabled", + "userName": "cisbvt" + } + } + }, + "202": {} + }, + "operationId": "StorageAccountCredentials_CreateOrUpdate", + "title": "SACPut" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/ScanForUpdatesPost.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/ScanForUpdatesPost.json new file mode 100644 index 000000000000..a2ec7c0cac38 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/ScanForUpdatesPost.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "Content-Length": [ + "200" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://foo.com/BandwidthSchdeuleDelete" + } + } + }, + "operationId": "Devices_ScanForUpdates", + "title": "ScanForUpdatesPost" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/SecuritySettingsUpdatePost.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/SecuritySettingsUpdatePost.json new file mode 100644 index 000000000000..0cee2f569561 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/SecuritySettingsUpdatePost.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "Content-Length": [ + "200" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "AzureVM", + "securitySettings": { + "properties": { + "deviceAdminPassword": { + "encryptionAlgorithm": "AES256", + "encryptionCertThumbprint": "", + "value": "" + } + } + }, + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "202": { + "headers": { + "location": "https://foo.com/BandwidthSchdeuleDelete" + } + }, + "204": {} + }, + "operationId": "Devices_CreateOrUpdateSecuritySettings", + "title": "CreateOrUpdateSecuritySettings" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/ShareDelete.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/ShareDelete.json new file mode 100644 index 000000000000..666e4f865f84 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/ShareDelete.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "name": "smbshare", + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://foo.com/ShareDelete" + } + }, + "204": {} + }, + "operationId": "Shares_Delete", + "title": "ShareDelete" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/ShareGet.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/ShareGet.json new file mode 100644 index 000000000000..c44fe39000f5 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/ShareGet.json @@ -0,0 +1,47 @@ +{ + "parameters": { + "name": "smbshare", + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": { + "body": { + "name": "smbshare", + "type": "dataBoxEdgeDevices/shares", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/shares/smbshare", + "properties": { + "description": "", + "accessProtocol": "SMB", + "azureContainerInfo": { + "containerName": "testContainerSMB", + "dataFormat": "BlockBlob", + "storageAccountCredentialId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccountCredentials/sac1" + }, + "clientAccessRights": [], + "dataPolicy": "Cloud", + "monitoringStatus": "Disabled", + "refreshDetails": {}, + "shareMappings": [], + "shareStatus": "Online", + "userAccessRights": [ + { + "accessType": "Change", + "userId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/users/user2" + } + ] + } + } + } + }, + "operationId": "Shares_Get", + "title": "ShareGet" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/ShareGetAllInDevice.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/ShareGetAllInDevice.json new file mode 100644 index 000000000000..14613ea2728c --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/ShareGetAllInDevice.json @@ -0,0 +1,50 @@ +{ + "parameters": { + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "smbshare", + "type": "dataBoxEdgeDevices/shares", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/shares/smbshare", + "properties": { + "description": "", + "accessProtocol": "SMB", + "azureContainerInfo": { + "containerName": "testContainerSMB", + "dataFormat": "BlockBlob", + "storageAccountCredentialId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccountCredentials/sac1" + }, + "clientAccessRights": [], + "dataPolicy": "Cloud", + "monitoringStatus": "Disabled", + "refreshDetails": {}, + "shareMappings": [], + "shareStatus": "Online", + "userAccessRights": [ + { + "accessType": "Change", + "userId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/users/user2" + } + ] + } + } + ] + } + } + }, + "operationId": "Shares_ListByDataBoxEdgeDevice", + "title": "ShareGetAllInDevice" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/SharePut.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/SharePut.json new file mode 100644 index 000000000000..7068f80460d1 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/SharePut.json @@ -0,0 +1,74 @@ +{ + "parameters": { + "name": "smbshare", + "Content-Length": [ + "200" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "share": { + "properties": { + "description": "", + "accessProtocol": "SMB", + "azureContainerInfo": { + "containerName": "testContainerSMB", + "dataFormat": "BlockBlob", + "storageAccountCredentialId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccountCredentials/sac1" + }, + "dataPolicy": "Cloud", + "monitoringStatus": "Enabled", + "shareStatus": "Online", + "userAccessRights": [ + { + "accessType": "Change", + "userId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/users/user2" + } + ] + } + }, + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": { + "body": { + "name": "smbshare", + "type": "dataBoxEdgeDevices/shares", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/shares/smbshare", + "properties": { + "description": "", + "accessProtocol": "SMB", + "azureContainerInfo": { + "containerName": "testContainerSMB", + "dataFormat": "BlockBlob", + "storageAccountCredentialId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccountCredentials/sac1" + }, + "clientAccessRights": [], + "dataPolicy": "Cloud", + "monitoringStatus": "Disabled", + "refreshDetails": {}, + "shareMappings": [], + "shareStatus": "Online", + "userAccessRights": [ + { + "accessType": "Change", + "userId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/users/user2" + } + ] + } + } + }, + "202": {} + }, + "operationId": "Shares_CreateOrUpdate", + "title": "SharePut" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/ShareRefreshPost.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/ShareRefreshPost.json new file mode 100644 index 000000000000..4e1bf0d7514d --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/ShareRefreshPost.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "name": "smbshare", + "Content-Length": [ + "200" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://foo.com/ShareRefreshPost" + } + } + }, + "operationId": "Shares_Refresh", + "title": "ShareRefreshPost" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/StorageAccountDelete.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/StorageAccountDelete.json new file mode 100644 index 000000000000..d3bdc2b2f3df --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/StorageAccountDelete.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "storageAccountName": "storageaccount1", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "202": { + "headers": { + "location": "https://foo.com/StorageAccountDelete" + } + }, + "204": {} + }, + "operationId": "StorageAccounts_Delete", + "title": "StorageAccountDelete" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/StorageAccountGet.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/StorageAccountGet.json new file mode 100644 index 000000000000..54f8bd8d9d3b --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/StorageAccountGet.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "storageAccountName": "blobstorageaccount1", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" + }, + "responses": { + "200": { + "body": { + "name": "blobstorageaccount1", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/storageAccounts", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForDataBoxEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccounts/blobstorageaccount1", + "properties": { + "description": "It's an awesome storage account", + "blobEndpoint": "https://blobstorageaccount1.blob.testedge.microsoftdatabox.com/", + "containerCount": 0, + "dataPolicy": "Cloud", + "storageAccountCredentialId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForDataBoxEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccountCredentials/cisbvt", + "storageAccountStatus": "OK" + } + } + } + }, + "operationId": "StorageAccounts_Get", + "title": "StorageAccountGet" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/StorageAccountGetAllInDevice.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/StorageAccountGetAllInDevice.json new file mode 100644 index 000000000000..e4f6de5450f0 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/StorageAccountGetAllInDevice.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "blobstorageaccount1", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/storageAccounts", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForDataBoxEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccounts/blobstorageaccount1", + "properties": { + "description": "It's an awesome storage account", + "blobEndpoint": "https://blobstorageaccount1.blob.testedge.microsoftdatabox.com/", + "containerCount": 0, + "dataPolicy": "Cloud", + "storageAccountCredentialId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForDataBoxEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccountCredentials/cisbvt", + "storageAccountStatus": "OK" + } + } + ] + } + } + }, + "operationId": "StorageAccounts_ListByDataBoxEdgeDevice", + "title": "StorageAccountGetAllInDevice" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/StorageAccountPut.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/StorageAccountPut.json new file mode 100644 index 000000000000..c7761490f2d3 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/StorageAccountPut.json @@ -0,0 +1,49 @@ +{ + "parameters": { + "Content-Length": [ + "200" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "storageAccount": { + "properties": { + "description": "It's an awesome storage account", + "dataPolicy": "Cloud", + "storageAccountCredentialId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForDataBoxEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccountCredentials/cisbvt", + "storageAccountStatus": "OK" + } + }, + "storageAccountName": "blobstorageaccount1", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": { + "body": { + "name": "blobstorageaccount1", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/storageAccounts", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForDataBoxEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccounts/blobstorageaccount1", + "properties": { + "description": "It's an awesome storage account", + "blobEndpoint": "https://blobstorageaccount1.blob.testedge.microsoftdatabox.com/", + "containerCount": 0, + "dataPolicy": "Cloud", + "storageAccountCredentialId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForDataBoxEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccountCredentials/cisbvt", + "storageAccountStatus": "OK" + } + } + }, + "202": {} + }, + "operationId": "StorageAccounts_CreateOrUpdate", + "title": "StorageAccountPut" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/TriggerDelete.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/TriggerDelete.json new file mode 100644 index 000000000000..4503405ed630 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/TriggerDelete.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "name": "trigger1", + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://foo.com/TriggerDelete" + } + }, + "204": {} + }, + "operationId": "Triggers_Delete", + "title": "TriggerDelete" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/TriggerGet.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/TriggerGet.json new file mode 100644 index 000000000000..d9d792add39c --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/TriggerGet.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "name": "trigger1", + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": { + "body": { + "name": "trigger1", + "type": "dataBoxEdgeDevices/triggers", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/triggers/trigger1", + "kind": "FileEvent", + "properties": { + "customContextTag": "CustomContextTags-1235346475", + "sinkInfo": { + "roleId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/roles/role1" + }, + "sourceInfo": { + "shareId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/shares/share1" + } + } + } + } + }, + "operationId": "Triggers_Get", + "title": "TriggerGet" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/TriggerGetAllInDevice.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/TriggerGetAllInDevice.json new file mode 100644 index 000000000000..ef9dc386b520 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/TriggerGetAllInDevice.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "trigger1", + "type": "dataBoxEdgeDevices/triggers", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/triggers/trigger1", + "kind": "FileEvent", + "properties": { + "customContextTag": "CustomContextTags-1235346475", + "sinkInfo": { + "roleId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/roles/role1" + }, + "sourceInfo": { + "shareId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/shares/share1" + } + } + } + ] + } + } + }, + "operationId": "Triggers_ListByDataBoxEdgeDevice", + "title": "TriggerGetAllInDevice" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/TriggerPut.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/TriggerPut.json new file mode 100644 index 000000000000..968dcf8c2eff --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/TriggerPut.json @@ -0,0 +1,55 @@ +{ + "parameters": { + "name": "trigger1", + "Content-Length": [ + "200" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "trigger": { + "kind": "FileEvent", + "properties": { + "customContextTag": "CustomContextTags-1235346475", + "sinkInfo": { + "roleId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/roles/role1" + }, + "sourceInfo": { + "shareId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/shares/share1" + } + } + }, + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": { + "body": { + "name": "trigger1", + "type": "dataBoxEdgeDevices/triggers", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/triggers/trigger1", + "kind": "FileEvent", + "properties": { + "customContextTag": "CustomContextTags-1235346475", + "sinkInfo": { + "roleId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/roles/role1" + }, + "sourceInfo": { + "shareId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/shares/share1" + } + } + } + }, + "202": {} + }, + "operationId": "Triggers_CreateOrUpdate", + "title": "TriggerPut" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/TriggerSupportPackage.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/TriggerSupportPackage.json new file mode 100644 index 000000000000..6ee5db6d3aff --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/TriggerSupportPackage.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "name": "159a00c7-8543-4343-9435-263ac87df3bb", + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "triggerSupportPackageRequest": { + "properties": { + "include": "DefaultWithDumps", + "maximumTimeStamp": "2018-12-18T02:19:51.4270267Z", + "minimumTimeStamp": "2018-12-18T02:18:51.4270267Z" + } + }, + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://foo.com/TriggerSupportPackage" + } + } + }, + "operationId": "SupportPackages_TriggerSupportPackage", + "title": "TriggerSupportPackage" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/UpdateDiagnosticProactiveLogCollectionSettings.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/UpdateDiagnosticProactiveLogCollectionSettings.json new file mode 100644 index 000000000000..78b4e6808e84 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/UpdateDiagnosticProactiveLogCollectionSettings.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "name": "159a00c7-8543-4343-9435-263ac87df3bb", + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "proactiveLogCollectionSettings": { + "properties": { + "userConsent": "Enabled" + } + }, + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/diagnosticSettings", + "id": "/subscriptions/0d44739e-0563-474f-97e7-24a0cdb23b29/resourceGroups/GroupForDataBoxEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/dbe-autobot-5428209/diagnosticProactiveLogCollectionSettings/default", + "properties": { + "userConsent": "Disabled" + } + } + }, + "202": {} + }, + "operationId": "DiagnosticSettings_UpdateDiagnosticProactiveLogCollectionSettings", + "title": "UpdateDiagnosticProactiveLogCollectionSettings" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/UpdateDiagnosticRemoteSupportSettings.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/UpdateDiagnosticRemoteSupportSettings.json new file mode 100644 index 000000000000..ff3ce35e00a5 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/UpdateDiagnosticRemoteSupportSettings.json @@ -0,0 +1,47 @@ +{ + "parameters": { + "name": "159a00c7-8543-4343-9435-263ac87df3bb", + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "diagnosticRemoteSupportSettings": { + "properties": { + "remoteSupportSettingsList": [ + { + "accessLevel": "ReadWrite", + "expirationTimeStampInUTC": "2021-07-07T00:00:00+00:00", + "remoteApplicationType": "Powershell" + } + ] + } + }, + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/diagnosticSettings", + "id": "/subscriptions/0d44739e-0563-474f-97e7-24a0cdb23b29/resourceGroups/GroupForDataBoxEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/dbe-autobot-154c8a4/diagnosticRemoteSupportSettings/default", + "properties": { + "remoteSupportSettingsList": [ + { + "accessLevel": "ReadWrite", + "expirationTimeStampInUTC": "2500-09-14T00:00:00+00:00", + "remoteApplicationType": "Powershell" + } + ] + } + } + }, + "202": {} + }, + "operationId": "DiagnosticSettings_UpdateDiagnosticRemoteSupportSettings", + "title": "UpdateDiagnosticRemoteSupportSettings" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/UpdateSummaryGet.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/UpdateSummaryGet.json new file mode 100644 index 000000000000..b5d391b61270 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/UpdateSummaryGet.json @@ -0,0 +1,47 @@ +{ + "parameters": { + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "parameters": { + "properties": { + "certificate": "MIIC9DCCAdygAwIBAgIQWJae7GNjiI9Mcv/gJyrOPTANBgkqhkiG9w0BAQUFADASMRAwDgYDVQQDDAdXaW5kb3dzMB4XDTE4MTEyNzAwMTA0NVoXDTIxMTEyODAwMTA0NVowEjEQMA4GA1UEAwwHV2luZG93czCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKxkRExqxf0qH1avnyORptIbRC2yQwqe3EIbJ2FPKr5jtAppGeX/dGKrFSnX+7/0HFr77aJHafdpEAtOiLyJ4zCAVs0obZCCIq4qJdmjYUTU0UXH/w/YzXfQA0d9Zh9AN+NJBX9xj05NzgsT24fkgsK2v6mWJQXT7YcWAsl5sEYPnx1e+MrupNyVSL/RUJmrS+etJSysHtFeWRhsUhVAs1DD5ExJvBLU3WH0IsojEvpXcjrutB5/MDQNrd/StGI6WovoSSPH7FyT9tgERx+q+Yg3YUGzfaIPCctlrRGehcdtzdNoKd0rsX62yCq0U6POoSfwe22NJu41oAUMd7e6R8cCAwEAAaNGMEQwEwYDVR0lBAwwCgYIKwYBBQUHAwIwHQYDVR0OBBYEFDd0VxnS3LnMIfwc7xW4b4IZWG5GMA4GA1UdDwEB/wQEAwIFIDANBgkqhkiG9w0BAQUFAAOCAQEAPQRby2u9celvtvL/DLEb5Vt3/tPStRQC5MyTD62L5RT/q8E6EMCXVZNkXF5WlWucLJi/18tY+9PNgP9xWLJh7kpSWlWdi9KPtwMqKDlEH8L2TnQdjimt9XuiCrTnoFy/1X2BGLY/rCaUJNSd15QCkz2xeW+Z+YSk2GwAc/A/4YfNpqSIMfNuPrT76o02VdD9WmJUA3fS/HY0sU9qgQRS/3F5/0EPS+HYQ0SvXCK9tggcCd4O050ytNBMJC9qMOJ7yE0iOrFfOJSCfDAuPhn/rHFh79Kn1moF+/CE+nc0/2RPiLC8r54/rt5dYyyxJDfXg0a3VrrX39W69WZGW5OXiw==" + } + }, + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/updateSummary", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/updateSummary/default", + "properties": { + "deviceLastScannedDateTime": "2021-03-17T19:51:51.7864634Z", + "deviceVersionNumber": "2.1.1377.2170", + "friendlyDeviceVersionName": "Azure Stack Edge 2010", + "lastCompletedScanJobDateTime": "2021-03-17T19:47:46.1595547Z", + "lastDownloadJobStatus": "Invalid", + "lastInstallJobStatus": "Invalid", + "ongoingUpdateOperation": "Install", + "rebootBehavior": "NeverReboots", + "totalNumberOfUpdatesAvailable": 1, + "totalNumberOfUpdatesPendingDownload": 1, + "totalNumberOfUpdatesPendingInstall": 1, + "totalUpdateSizeInBytes": 4260898192, + "updateTitles": [ + "Azure Stack Edge Update 2101 Package 1 of 2 for Pro-GPU, Pro R, Mini R" + ] + } + } + } + }, + "operationId": "Devices_GetUpdateSummary", + "title": "UpdateSummaryGet" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/UploadCertificatePost.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/UploadCertificatePost.json new file mode 100644 index 000000000000..b05bf4f4b13f --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/UploadCertificatePost.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "Content-Length": [ + "200" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "parameters": { + "properties": { + "certificate": "MIIC9DCCAdygAwIBAgIQWJae7GNjiI9Mcv/gJyrOPTANBgkqhkiG9w0BAQUFADASMRAwDgYDVQQDDAdXaW5kb3dzMB4XDTE4MTEyNzAwMTA0NVoXDTIxMTEyODAwMTA0NVowEjEQMA4GA1UEAwwHV2luZG93czCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKxkRExqxf0qH1avnyORptIbRC2yQwqe3EIbJ2FPKr5jtAppGeX/dGKrFSnX+7/0HFr77aJHafdpEAtOiLyJ4zCAVs0obZCCIq4qJdmjYUTU0UXH/w/YzXfQA0d9Zh9AN+NJBX9xj05NzgsT24fkgsK2v6mWJQXT7YcWAsl5sEYPnx1e+MrupNyVSL/RUJmrS+etJSysHtFeWRhsUhVAs1DD5ExJvBLU3WH0IsojEvpXcjrutB5/MDQNrd/StGI6WovoSSPH7FyT9tgERx+q+Yg3YUGzfaIPCctlrRGehcdtzdNoKd0rsX62yCq0U6POoSfwe22NJu41oAUMd7e6R8cCAwEAAaNGMEQwEwYDVR0lBAwwCgYIKwYBBQUHAwIwHQYDVR0OBBYEFDd0VxnS3LnMIfwc7xW4b4IZWG5GMA4GA1UdDwEB/wQEAwIFIDANBgkqhkiG9w0BAQUFAAOCAQEAPQRby2u9celvtvL/DLEb5Vt3/tPStRQC5MyTD62L5RT/q8E6EMCXVZNkXF5WlWucLJi/18tY+9PNgP9xWLJh7kpSWlWdi9KPtwMqKDlEH8L2TnQdjimt9XuiCrTnoFy/1X2BGLY/rCaUJNSd15QCkz2xeW+Z+YSk2GwAc/A/4YfNpqSIMfNuPrT76o02VdD9WmJUA3fS/HY0sU9qgQRS/3F5/0EPS+HYQ0SvXCK9tggcCd4O050ytNBMJC9qMOJ7yE0iOrFfOJSCfDAuPhn/rHFh79Kn1moF+/CE+nc0/2RPiLC8r54/rt5dYyyxJDfXg0a3VrrX39W69WZGW5OXiw==" + } + }, + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": { + "body": { + "aadAuthority": "https://login.windows.net", + "aadTenantId": "100b019d-4626-4a9e-a83c-9cff8fe41909", + "authType": "AzureActiveDirectory", + "azureManagementEndpointAudience": "https://wus-bvtgateway.ext.trafficmanager.net/", + "resourceId": "392799901267771", + "servicePrincipalClientId": "ffd8a688-82b1-4e5a-a4c1-7ede8c928e68", + "servicePrincipalObjectId": "cef6d40c-24e6-4a6f-bb9e-3ec60b4adec4" + } + } + }, + "operationId": "Devices_UploadCertificate", + "title": "UploadCertificatePost" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/UserDelete.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/UserDelete.json new file mode 100644 index 000000000000..6acef61f0f8e --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/UserDelete.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "name": "user1", + "Content-Length": [ + "200" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://foo.com/UserDelete" + } + }, + "204": {} + }, + "operationId": "Users_Delete", + "title": "UserDelete" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/UserGet.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/UserGet.json new file mode 100644 index 000000000000..5f5254efb6de --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/UserGet.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "name": "user1", + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": { + "202": {}, + "body": { + "name": "user1", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/users", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/users/user1", + "properties": { + "userType": "Share" + } + } + } + }, + "operationId": "Users_Get", + "title": "UserGet" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/UserGetAllInDevice.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/UserGetAllInDevice.json new file mode 100644 index 000000000000..b3032471d4c3 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/UserGetAllInDevice.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "user2", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/users", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/users/user2", + "properties": { + "userType": "Share" + } + }, + { + "name": "user1", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/users", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/users/user1", + "properties": { + "userType": "Share" + } + } + ] + } + } + }, + "operationId": "Users_ListByDataBoxEdgeDevice", + "title": "UserGetAllInDevice" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/UserPut.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/UserPut.json new file mode 100644 index 000000000000..084d0aa12d2c --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/examples/2023-12-01/UserPut.json @@ -0,0 +1,46 @@ +{ + "parameters": { + "name": "user1", + "Content-Length": [ + "200" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "accept-language": [ + "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "user": { + "properties": { + "encryptedPassword": { + "encryptionAlgorithm": "None", + "encryptionCertThumbprint": "blah", + "value": "" + }, + "userType": "Share" + } + }, + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] + }, + "responses": { + "200": { + "body": { + "name": "user1", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/users", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/users/user1", + "properties": { + "userType": "Share" + } + } + }, + "202": {} + }, + "operationId": "Users_CreateOrUpdate", + "title": "UserPut" +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/main.tsp b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/main.tsp new file mode 100644 index 000000000000..284ef2c9cd08 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/main.tsp @@ -0,0 +1,65 @@ +/** + * PLEASE DO NOT REMOVE - USED FOR CONVERTER METRICS + * Generated by package: @autorest/openapi-to-typespec + * Parameters used: + * isFullCompatible: true + * guessResourceKey: false + * Version: 0.11.9 + * Date: 2025-08-26T03:58:42.369Z + */ +import "@typespec/rest"; +import "@typespec/versioning"; +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "./models.tsp"; +import "./back-compatible.tsp"; +import "./DataBoxEdgeDevice.tsp"; +import "./NetworkSettings.tsp"; +import "./UpdateSummary.tsp"; +import "./Alert.tsp"; +import "./BandwidthSchedule.tsp"; +import "./DeviceCapacityInfo.tsp"; +import "./DiagnosticProactiveLogCollectionSettings.tsp"; +import "./DiagnosticRemoteSupportSettings.tsp"; +import "./Job.tsp"; +import "./Order.tsp"; +import "./Role.tsp"; +import "./Addon.tsp"; +import "./MonitoringMetricConfiguration.tsp"; +import "./Share.tsp"; +import "./StorageAccountCredential.tsp"; +import "./StorageAccount.tsp"; +import "./Container.tsp"; +import "./Trigger.tsp"; +import "./User.tsp"; +import "./routes.tsp"; + +using TypeSpec.Rest; +using TypeSpec.Http; +using Azure.ResourceManager.Foundations; +using Azure.Core; +using Azure.ResourceManager; +using TypeSpec.Versioning; +@armProviderNamespace +@service(#{ title: "DataBoxEdgeManagementClient" }) +@versioned(Versions) +// FIXME: Common type version v2 is not supported for now. Set to v3. +@armCommonTypesVersion(Azure.ResourceManager.CommonTypes.Versions.v3) +namespace Microsoft.DataBoxEdge; + +/** + * The available API versions. + */ +enum Versions { + /** + * The 2023-12-01 API version. + */ + v2023_12_01: "2023-12-01", +} + +interface Operations + extends Azure.ResourceManager.Legacy.Operations< + OperationsList, + Error = CloudError + > {} +@@summary(Operations.list, "List all the supported operations."); diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/models.tsp b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/models.tsp new file mode 100644 index 000000000000..9604cdd72d94 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/models.tsp @@ -0,0 +1,4612 @@ +import "@typespec/rest"; +import "@typespec/http"; +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; + +using Azure.ResourceManager.Foundations; + +namespace Microsoft.DataBoxEdge; + +/** + * Metric units. + */ +union MetricUnit { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + NotSpecified: "NotSpecified", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Percent: "Percent", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Count: "Count", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Seconds: "Seconds", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Milliseconds: "Milliseconds", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Bytes: "Bytes", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + BytesPerSecond: "BytesPerSecond", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + CountPerSecond: "CountPerSecond", +} + +/** + * Metric aggregation type. + */ +union MetricAggregationType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + NotSpecified: "NotSpecified", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + None: "None", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Average: "Average", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Minimum: "Minimum", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Maximum: "Maximum", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Total: "Total", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Count: "Count", +} + +/** + * Metric category. + */ +union MetricCategory { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Capacity: "Capacity", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Transaction: "Transaction", +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +union TimeGrain { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + PT1M: "PT1M", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + PT5M: "PT5M", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + PT15M: "PT15M", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + PT30M: "PT30M", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + PT1H: "PT1H", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + PT6H: "PT6H", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + PT12H: "PT12H", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + PT1D: "PT1D", +} + +/** + * The Sku name. + */ +union SkuName { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Gateway: "Gateway", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Edge: "Edge", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + TEA_1Node: "TEA_1Node", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + TEA_1Node_UPS: "TEA_1Node_UPS", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + TEA_1Node_Heater: "TEA_1Node_Heater", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + TEA_1Node_UPS_Heater: "TEA_1Node_UPS_Heater", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + TEA_4Node_Heater: "TEA_4Node_Heater", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + TEA_4Node_UPS_Heater: "TEA_4Node_UPS_Heater", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + TMA: "TMA", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + TDC: "TDC", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + TCA_Small: "TCA_Small", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + GPU: "GPU", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + TCA_Large: "TCA_Large", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + EdgeP_Base: "EdgeP_Base", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + EdgeP_High: "EdgeP_High", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + EdgePR_Base: "EdgePR_Base", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + EdgePR_Base_UPS: "EdgePR_Base_UPS", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + EP2_64_1VPU_W: "EP2_64_1VPU_W", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + EP2_128_1T4_Mx1_W: "EP2_128_1T4_Mx1_W", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + EP2_256_2T4_W: "EP2_256_2T4_W", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + EdgeMR_Mini: "EdgeMR_Mini", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + RCA_Small: "RCA_Small", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + RCA_Large: "RCA_Large", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + RDC: "RDC", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Management: "Management", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + EP2_64_Mx1_W: "EP2_64_Mx1_W", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + EP2_128_GPU1_Mx1_W: "EP2_128_GPU1_Mx1_W", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + EP2_256_GPU2_Mx1: "EP2_256_GPU2_Mx1", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + EdgeMR_TCP: "EdgeMR_TCP", +} + +/** + * The Sku tier. + */ +union SkuTier { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Standard: "Standard", +} + +/** + * Sku can be signed up by customer or not. + */ +union SkuSignupOption { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + None: "None", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Available: "Available", +} + +/** + * Availability of the Sku as preview/stable. + */ +union SkuVersion { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Stable: "Stable", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Preview: "Preview", +} + +/** + * Links to the next set of results + */ +union SkuAvailability { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Available: "Available", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Unavailable: "Unavailable", +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +union ShipmentType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + NotApplicable: "NotApplicable", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + ShippedToCustomer: "ShippedToCustomer", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + SelfPickup: "SelfPickup", +} + +/** + * Identity type + */ +union MsiIdentityType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + None: "None", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + SystemAssigned: "SystemAssigned", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + UserAssigned: "UserAssigned", +} + +/** + * The kind of the device. + */ +union DataBoxEdgeDeviceKind { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + AzureDataBoxGateway: "AzureDataBoxGateway", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + AzureStackEdge: "AzureStackEdge", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + AzureStackHub: "AzureStackHub", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + AzureModularDataCentre: "AzureModularDataCentre", +} + +/** + * The type of identity that created the resource. + */ +union CreatedByType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + User: "User", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Application: "Application", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + ManagedIdentity: "ManagedIdentity", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Key: "Key", +} + +/** + * The status of the Data Box Edge/Gateway device. + */ +union DataBoxEdgeDeviceStatus { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + ReadyToSetup: "ReadyToSetup", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Online: "Online", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Offline: "Offline", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + NeedsAttention: "NeedsAttention", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Disconnected: "Disconnected", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + PartiallyDisconnected: "PartiallyDisconnected", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Maintenance: "Maintenance", +} + +/** + * The type of the Data Box Edge/Gateway device. + */ +union DeviceType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + DataBoxEdgeDevice: "DataBoxEdgeDevice", +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +union RoleTypes { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + IOT: "IOT", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + ASA: "ASA", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Functions: "Functions", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Cognitive: "Cognitive", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + MEC: "MEC", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + CloudEdgeManagement: "CloudEdgeManagement", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Kubernetes: "Kubernetes", +} + +/** + * Denotes whether move operation is in progress + */ +union ResourceMoveStatus { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + None: "None", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + ResourceMoveInProgress: "ResourceMoveInProgress", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + ResourceMoveFailed: "ResourceMoveFailed", +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +union SubscriptionState { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Registered: "Registered", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Warned: "Warned", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Suspended: "Suspended", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Deleted: "Deleted", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Unregistered: "Unregistered", +} + +/** + * DataResidencyType enum + */ +union DataResidencyType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + GeoZoneReplication: "GeoZoneReplication", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + ZoneReplication: "ZoneReplication", +} + +/** + * Severity of the alert. + */ +union AlertSeverity { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Informational: "Informational", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Warning: "Warning", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Critical: "Critical", +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +union DayOfWeek { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Sunday: "Sunday", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Monday: "Monday", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Tuesday: "Tuesday", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Wednesday: "Wednesday", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Thursday: "Thursday", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Friday: "Friday", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Saturday: "Saturday", +} + +/** + * Proactive diagnostic collection consent flag + */ +union ProactiveDiagnosticsConsent { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Enabled: "Enabled", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Disabled: "Disabled", +} + +/** + * Remote application type + */ +union RemoteApplicationType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Powershell: "Powershell", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + WAC: "WAC", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + LocalUI: "LocalUI", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + AllApplications: "AllApplications", +} + +/** + * Access level allowed for this remote application type + */ +union AccessLevel { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + None: "None", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + ReadOnly: "ReadOnly", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + ReadWrite: "ReadWrite", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + FullAccess: "FullAccess", +} + +/** + * For changing or to initiate the resync to key-vault set the status to KeyVaultSyncPending, rest of the status will not be applicable. + */ +union KeyVaultSyncStatus { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + KeyVaultSynced: "KeyVaultSynced", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + KeyVaultSyncFailed: "KeyVaultSyncFailed", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + KeyVaultNotConfigured: "KeyVaultNotConfigured", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + KeyVaultSyncPending: "KeyVaultSyncPending", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + KeyVaultSyncing: "KeyVaultSyncing", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + KeyVaultNotSynced: "KeyVaultNotSynced", +} + +/** + * The algorithm used to encrypt "Value". + */ +union EncryptionAlgorithm { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + None: "None", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + AES256: "AES256", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + RSAES_PKCS1_v_1_5: "RSAES_PKCS1_v_1_5", +} + +/** + * Cluster Witness Type + */ +union ClusterWitnessType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + None: "None", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Cloud: "Cloud", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + FileShare: "FileShare", +} + +/** + * The current status of the job. + */ +union JobStatus { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Invalid: "Invalid", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Running: "Running", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Succeeded: "Succeeded", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Failed: "Failed", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Canceled: "Canceled", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Paused: "Paused", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Scheduled: "Scheduled", +} + +/** + * The type of the job. + */ +union JobType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Invalid: "Invalid", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + ScanForUpdates: "ScanForUpdates", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + DownloadUpdates: "DownloadUpdates", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + InstallUpdates: "InstallUpdates", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + RefreshShare: "RefreshShare", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + RefreshContainer: "RefreshContainer", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Backup: "Backup", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Restore: "Restore", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + TriggerSupportPackage: "TriggerSupportPackage", +} + +/** + * Current stage of the update operation. + */ +union UpdateOperationStage { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Unknown: "Unknown", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Initial: "Initial", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + ScanStarted: "ScanStarted", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + ScanComplete: "ScanComplete", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + ScanFailed: "ScanFailed", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + DownloadStarted: "DownloadStarted", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + DownloadComplete: "DownloadComplete", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + DownloadFailed: "DownloadFailed", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + InstallStarted: "InstallStarted", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + InstallComplete: "InstallComplete", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + InstallFailed: "InstallFailed", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + RebootInitiated: "RebootInitiated", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Success: "Success", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Failure: "Failure", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + RescanStarted: "RescanStarted", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + RescanComplete: "RescanComplete", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + RescanFailed: "RescanFailed", +} + +/** + * The download phase. + */ +union DownloadPhase { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Unknown: "Unknown", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Initializing: "Initializing", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Downloading: "Downloading", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Verifying: "Verifying", +} + +/** + * The network group. + */ +union NetworkGroup { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + None: "None", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + NonRDMA: "NonRDMA", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + RDMA: "RDMA", +} + +/** + * Value indicating whether this adapter is valid. + */ +union NetworkAdapterStatus { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Inactive: "Inactive", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Active: "Active", +} + +/** + * Value indicating whether this adapter is RDMA capable. + */ +union NetworkAdapterRDMAStatus { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Incapable: "Incapable", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Capable: "Capable", +} + +/** + * Value indicating whether this adapter has DHCP enabled. + */ +union NetworkAdapterDHCPStatus { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Disabled: "Disabled", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Enabled: "Enabled", +} + +/** + * The current status of the individual node + */ +union NodeStatus { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Unknown: "Unknown", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Up: "Up", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Down: "Down", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Rebooting: "Rebooting", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + ShuttingDown: "ShuttingDown", +} + +/** + * Status of the order as per the allowed status types. + */ +union OrderState { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Untracked: "Untracked", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + AwaitingFulfillment: "AwaitingFulfillment", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + AwaitingPreparation: "AwaitingPreparation", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + AwaitingShipment: "AwaitingShipment", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Shipped: "Shipped", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Arriving: "Arriving", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Delivered: "Delivered", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + ReplacementRequested: "ReplacementRequested", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + LostDevice: "LostDevice", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Declined: "Declined", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + ReturnInitiated: "ReturnInitiated", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + AwaitingReturnShipment: "AwaitingReturnShipment", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + ShippedBack: "ShippedBack", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + CollectedAtMicrosoft: "CollectedAtMicrosoft", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + AwaitingPickup: "AwaitingPickup", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + PickupCompleted: "PickupCompleted", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + AwaitingDrop: "AwaitingDrop", +} + +/** + * Addon type. + */ +union AddonType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + IotEdge: "IotEdge", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + ArcForKubernetes: "ArcForKubernetes", +} + +/** + * Current status of the share. + */ +union ShareStatus { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Offline: "Offline", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Unknown: "Unknown", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + OK: "OK", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Updating: "Updating", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + NeedsAttention: "NeedsAttention", +} + +/** + * Current monitoring status of the share. + */ +union MonitoringStatus { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Enabled: "Enabled", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Disabled: "Disabled", +} + +/** + * Storage format used for the file represented by the share. + */ +union AzureContainerDataFormat { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + BlockBlob: "BlockBlob", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + PageBlob: "PageBlob", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + AzureFile: "AzureFile", +} + +/** + * Access protocol to be used by the share. + */ +union ShareAccessProtocol { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + SMB: "SMB", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + NFS: "NFS", +} + +/** + * Type of access to be allowed on the share for this user. + */ +union ShareAccessType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Change: "Change", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Read: "Read", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Custom: "Custom", +} + +/** + * Type of access to be allowed for the client. + */ +union ClientPermissionType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + NoAccess: "NoAccess", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + ReadOnly: "ReadOnly", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + ReadWrite: "ReadWrite", +} + +/** + * Mounting type. + */ +union MountType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Volume: "Volume", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + HostPath: "HostPath", +} + +/** + * Data policy of the share. + */ +union DataPolicy { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Cloud: "Cloud", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Local: "Local", +} + +/** + * Signifies whether SSL needs to be enabled or not. + */ +union SSLStatus { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Enabled: "Enabled", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Disabled: "Disabled", +} + +/** + * Type of storage accessed on the storage account. + */ +union AccountType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + GeneralPurposeStorage: "GeneralPurposeStorage", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + BlobStorage: "BlobStorage", +} + +/** + * Current status of the storage account + */ +union StorageAccountStatus { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + OK: "OK", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Offline: "Offline", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Unknown: "Unknown", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Updating: "Updating", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + NeedsAttention: "NeedsAttention", +} + +/** + * Current status of the container. + */ +union ContainerStatus { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + OK: "OK", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Offline: "Offline", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Unknown: "Unknown", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Updating: "Updating", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + NeedsAttention: "NeedsAttention", +} + +/** + * Trigger Kind. + */ +union TriggerEventType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + FileEvent: "FileEvent", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + PeriodicTimerEvent: "PeriodicTimerEvent", +} + +/** + * Indicates if updates are available and at least one of the updates needs a reboot. + */ +union InstallRebootBehavior { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + NeverReboots: "NeverReboots", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + RequiresReboot: "RequiresReboot", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + RequestReboot: "RequestReboot", +} + +/** + * The current update operation. + */ +union UpdateOperation { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + None: "None", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Scan: "Scan", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Download: "Download", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Install: "Install", +} + +/** + * Type of the Update + */ +union UpdateType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Software: "Software", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Kubernetes: "Kubernetes", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Firmware: "Firmware", +} + +/** + * Impact of Installing an updateType + */ +union InstallationImpact { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + None: "None", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + DeviceRebooted: "DeviceRebooted", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + KubernetesWorkloadsDown: "KubernetesWorkloadsDown", +} + +/** + * Status of the update. + */ +union UpdateStatus { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + DownloadPending: "DownloadPending", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + DownloadStarted: "DownloadStarted", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + DownloadCompleted: "DownloadCompleted", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + InstallStarted: "InstallStarted", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + InstallCompleted: "InstallCompleted", +} + +/** + * The authentication type. + */ +union AuthenticationType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Invalid: "Invalid", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + AzureActiveDirectory: "AzureActiveDirectory", +} + +/** + * Type of the user. + */ +union UserType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Share: "Share", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + LocalManagement: "LocalManagement", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + ARM: "ARM", +} + +/** + * Host OS supported by the Arc addon. + */ +union PlatformType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Windows: "Windows", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Linux: "Linux", +} + +/** + * Platform where the runtime is hosted. + */ +union HostPlatformType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + KubernetesCluster: "KubernetesCluster", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + LinuxVM: "LinuxVM", +} + +/** + * Addon Provisioning State + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +union AddonState { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Invalid: "Invalid", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Creating: "Creating", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Created: "Created", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Updating: "Updating", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Reconfiguring: "Reconfiguring", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Failed: "Failed", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Deleting: "Deleting", +} + +/** + * Local Edge Management Status + */ +union RoleStatus { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Enabled: "Enabled", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Disabled: "Disabled", +} + +/** + * Node type - Master/Worker + */ +union KubernetesNodeType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Invalid: "Invalid", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Master: "Master", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Worker: "Worker", +} + +/** + * State of Kubernetes deployment + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +union KubernetesState { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Invalid: "Invalid", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Creating: "Creating", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Created: "Created", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Updating: "Updating", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Reconfiguring: "Reconfiguring", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Failed: "Failed", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Deleting: "Deleting", +} + +/** + * If provisioned storage is posix compliant. + */ +union PosixComplianceStatus { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Invalid: "Invalid", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Enabled: "Enabled", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Disabled: "Disabled", +} + +/** + * Operations. + */ +model Operation { + /** + * Name of the operation. + */ + name?: string; + + /** + * Is data action. + */ + isDataAction?: boolean; + + /** + * Properties displayed for the operation. + */ + display?: OperationDisplay; + + /** + * Origin of the operation. + */ + origin?: string; + + /** + * Operation properties. + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + properties?: OperationProperties; +} + +/** + * Operation display properties. + */ +model OperationDisplay { + /** + * Provider name. + */ + provider?: string; + + /** + * The type of resource in which the operation is performed. + */ + resource?: string; + + /** + * Operation to be performed on the resource. + */ + operation?: string; + + /** + * Description of the operation to be performed. + */ + description?: string; +} + +/** + * Operation properties. + */ +model OperationProperties { + /** + * Service specification. + */ + serviceSpecification?: ServiceSpecification; +} + +/** + * Service specification. + */ +model ServiceSpecification { + /** + * Metric specification as defined by shoebox. + */ + @Azure.ResourceManager.identifiers(#["name"]) + metricSpecifications?: MetricSpecification_V1[]; +} + +/** + * Metric specification version 1. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model MetricSpecification_V1 { + /** + * Name of the metric. + */ + name?: string; + + /** + * Display name of the metric. + */ + displayName?: string; + + /** + * Description of the metric to be displayed. + */ + displayDescription?: string; + + /** + * Metric units. + */ + unit?: MetricUnit; + + /** + * Metric aggregation type. + */ + aggregationType?: MetricAggregationType; + + /** + * Metric dimensions, other than default dimension which is resource. + */ + @Azure.ResourceManager.identifiers(#["name"]) + dimensions?: MetricDimension_V1[]; + + /** + * Set true to fill the gaps with zero. + */ + fillGapWithZero?: boolean; + + /** + * Metric category. + */ + category?: MetricCategory; + + /** + * Resource name override. + */ + resourceIdDimensionNameOverride?: string; + + /** + * Support granularity of metrics. + */ + supportedTimeGrainTypes?: TimeGrain[]; + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + supportedAggregationTypes?: MetricAggregationType[]; +} + +/** + * Metric Dimension v1. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model MetricDimension_V1 { + /** + * Name of the metrics dimension. + */ + name?: string; + + /** + * Display name of the metrics dimension. + */ + displayName?: string; + + /** + * To be exported to shoe box. + */ + toBeExportedForShoebox?: boolean; +} + +/** + * An error response from the service. + */ +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@error +@Azure.ResourceManager.Legacy.armExternalType +model CloudError { + /** + * The error details. + */ + error?: CloudErrorBody; +} + +/** + * An error response from the service. + */ +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@Azure.ResourceManager.Legacy.armExternalType +model CloudErrorBody { + /** + * An identifier for the error. Codes are invariant and are intended to be consumed programmatically. + */ + code?: string; + + /** + * A message describing the error, intended to be suitable for display in a user interface. + */ + message?: string; + + /** + * A list of additional details about the error. + */ + @Azure.ResourceManager.identifiers(#[]) + details?: CloudErrorBody[]; +} + +/** + * List of SKU Information objects. + */ +model DataBoxEdgeSkuList is Azure.Core.Page; + +/** + * The Sku information. + */ +model DataBoxEdgeSku { + /** + * The type of the resource. + */ + @visibility(Lifecycle.Read) + resourceType?: string; + + /** + * The Sku name. + */ + @visibility(Lifecycle.Read) + name?: SkuName; + + /** + * The Sku kind. + */ + @visibility(Lifecycle.Read) + kind?: string; + + /** + * The Sku tier. + */ + @visibility(Lifecycle.Read) + tier?: SkuTier; + + /** + * The Sku kind. + */ + @visibility(Lifecycle.Read) + size?: string; + + /** + * The Sku family. + */ + @visibility(Lifecycle.Read) + family?: string; + + /** + * Availability of the Sku for the region. + */ + @visibility(Lifecycle.Read) + locations?: string[]; + + /** + * The API versions in which Sku is available. + */ + @visibility(Lifecycle.Read) + apiVersions?: string[]; + + /** + * Availability of the Sku for the location/zone/site. + */ + @visibility(Lifecycle.Read) + @Azure.ResourceManager.identifiers(#["location"]) + locationInfo?: SkuLocationInfo[]; + + /** + * The pricing info of the Sku. + */ + @visibility(Lifecycle.Read) + @Azure.ResourceManager.identifiers(#["meterId"]) + costs?: SkuCost[]; + + /** + * Sku can be signed up by customer or not. + */ + @visibility(Lifecycle.Read) + signupOption?: SkuSignupOption; + + /** + * Availability of the Sku as preview/stable. + */ + @visibility(Lifecycle.Read) + version?: SkuVersion; + + /** + * Links to the next set of results + */ + @visibility(Lifecycle.Read) + availability?: SkuAvailability; + + /** + * List of Shipment Types supported by this SKU + */ + @visibility(Lifecycle.Read) + shipmentTypes?: ShipmentType[]; + + /** + * The capability info of the SKU. + */ + @visibility(Lifecycle.Read) + @Azure.ResourceManager.identifiers(#["name"]) + capabilities?: SkuCapability[]; +} + +/** + * The location info. + */ +model SkuLocationInfo { + /** + * The location. + */ + @visibility(Lifecycle.Read) + location?: string; + + /** + * The zones. + */ + @visibility(Lifecycle.Read) + zones?: string[]; + + /** + * The sites. + */ + @visibility(Lifecycle.Read) + sites?: string[]; +} + +/** + * The metadata for retrieving price info. + */ +model SkuCost { + /** + * Used for querying price from commerce. + */ + @visibility(Lifecycle.Read) + meterId?: string; + + /** + * The cost quantity. + */ + @visibility(Lifecycle.Read) + quantity?: int64; + + /** + * The extended unit. + */ + @visibility(Lifecycle.Read) + extendedUnit?: string; +} + +/** + * The metadata to describe the capability. + */ +model SkuCapability { + /** + * An invariant to describe the feature. + */ + @visibility(Lifecycle.Read) + name?: string; + + /** + * An invariant if the feature is measured by quantity. + */ + @visibility(Lifecycle.Read) + value?: string; +} + +/** + * The collection of Data Box Edge/Gateway devices. + */ +model DataBoxEdgeDeviceList is Azure.Core.Page; + +/** + * The SKU type. + */ +model Sku { + /** + * SKU name. + */ + name?: SkuName; + + /** + * The SKU tier. This is based on the SKU name. + */ + tier?: SkuTier; +} + +/** + * Msi identity details of the resource + */ +model ResourceIdentity { + /** + * Identity type + */ + type?: MsiIdentityType; + + /** + * Service Principal Id backing the Msi + */ + @visibility(Lifecycle.Read) + principalId?: string; + + /** + * Home Tenant Id + */ + @visibility(Lifecycle.Read) + tenantId?: string; +} + +/** + * The properties of the Data Box Edge/Gateway device. + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-duplicate-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model DataBoxEdgeDeviceProperties { + /** + * DataBoxEdge Device Properties + */ + @visibility(Lifecycle.Read) + systemData?: SystemData; + + /** + * The status of the Data Box Edge/Gateway device. + */ + @visibility(Lifecycle.Read) + dataBoxEdgeDeviceStatus?: DataBoxEdgeDeviceStatus; + + /** + * The Serial Number of Data Box Edge/Gateway device. + */ + @visibility(Lifecycle.Read) + serialNumber?: string; + + /** + * The Description of the Data Box Edge/Gateway device. + */ + @visibility(Lifecycle.Read) + description?: string; + + /** + * The description of the Data Box Edge/Gateway device model. + */ + @visibility(Lifecycle.Read) + modelDescription?: string; + + /** + * The type of the Data Box Edge/Gateway device. + */ + @visibility(Lifecycle.Read) + deviceType?: DeviceType; + + /** + * The Data Box Edge/Gateway device name. + */ + @visibility(Lifecycle.Read) + friendlyName?: string; + + /** + * The Data Box Edge/Gateway device culture. + */ + @visibility(Lifecycle.Read) + culture?: string; + + /** + * The Data Box Edge/Gateway device model. + */ + @visibility(Lifecycle.Read) + deviceModel?: string; + + /** + * The Data Box Edge/Gateway device software version. + */ + @visibility(Lifecycle.Read) + deviceSoftwareVersion?: string; + + /** + * The Data Box Edge/Gateway device local capacity in MB. + */ + @visibility(Lifecycle.Read) + deviceLocalCapacity?: int64; + + /** + * The Data Box Edge/Gateway device timezone. + */ + @visibility(Lifecycle.Read) + timeZone?: string; + + /** + * The device software version number of the device (eg: 1.2.18105.6). + */ + @visibility(Lifecycle.Read) + deviceHcsVersion?: string; + + /** + * Type of compute roles configured. + */ + @visibility(Lifecycle.Read) + configuredRoleTypes?: RoleTypes[]; + + /** + * The number of nodes in the cluster. + */ + @visibility(Lifecycle.Read) + nodeCount?: int32; + + /** + * The details of the move operation on this resource. + */ + @visibility(Lifecycle.Read) + resourceMoveDetails?: ResourceMoveDetails; + + /** + * The details of Edge Profile for this resource + */ + @visibility(Lifecycle.Read) + edgeProfile?: EdgeProfile; + + /** + * The details of data-residency related properties for this resource + */ + dataResidency?: DataResidency; + + /** + * Kubernetes Workload Profile + */ + @visibility(Lifecycle.Read) + kubernetesWorkloadProfile?: string; +} + +/** + * Fields for tracking resource move + */ +model ResourceMoveDetails { + /** + * Denotes whether move operation is in progress + */ + operationInProgress?: ResourceMoveStatus; + + /** + * Denotes the timeout of the operation to finish + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + operationInProgressLockTimeoutInUTC?: utcDateTime; +} + +/** + * Details about Edge Profile for the resource + */ +model EdgeProfile { + /** + * Edge Profile Subscription + */ + subscription?: EdgeProfileSubscription; +} + +/** + * Subscription details for the Edge Profile + */ +model EdgeProfileSubscription { + /** + * Edge Subscription Registration ID + */ + registrationId?: string; + + /** + * ARM ID of the subscription + */ + id?: string; + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + state?: SubscriptionState; + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + registrationDate?: string; + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + subscriptionId?: string; + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + properties?: SubscriptionProperties; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model SubscriptionProperties { + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + tenantId?: string; + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + locationPlacementId?: string; + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + quotaId?: string; + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + serializedDetails?: string; + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @Azure.ResourceManager.identifiers(#["name"]) + registeredFeatures?: SubscriptionRegisteredFeatures[]; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model SubscriptionRegisteredFeatures { + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + name?: string; + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + state?: string; +} + +/** + * Wraps data-residency related information for edge-resource and this should be used with ARM layer. + */ +model DataResidency { + /** + * DataResidencyType enum + */ + type?: DataResidencyType; +} + +/** + * Represents the base class for all object models. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model ARMBaseModel { + /** + * The path ID that uniquely identifies the object. + */ + @visibility(Lifecycle.Read) + id?: string; + + /** + * The object name. + */ + @visibility(Lifecycle.Read) + name?: string; + + /** + * The hierarchical type of the object. + */ + @visibility(Lifecycle.Read) + type?: string; +} + +/** + * The Data Box Edge/Gateway device patch. + */ +#suppress "@azure-tools/typespec-azure-resource-manager/patch-envelope" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model DataBoxEdgeDevicePatch { + /** + * The tags attached to the Data Box Edge/Gateway resource. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + tags?: Record; + + /** + * Msi identity of the resource + */ + identity?: ResourceIdentity; + + /** + * The properties associated with the Data Box Edge/Gateway resource + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + properties?: DataBoxEdgeDevicePropertiesPatch; +} + +/** + * The Data Box Edge/Gateway device properties patch. + */ +model DataBoxEdgeDevicePropertiesPatch { + /** + * Edge Profile property of the Data Box Edge/Gateway device + */ + edgeProfile?: EdgeProfilePatch; +} + +/** + * The Data Box Edge/Gateway Edge Profile patch. + */ +model EdgeProfilePatch { + /** + * The Data Box Edge/Gateway Edge Profile Subscription patch + */ + subscription?: EdgeProfileSubscriptionPatch; +} + +/** + * The Data Box Edge/Gateway Edge Profile Subscription patch. + */ +model EdgeProfileSubscriptionPatch { + /** + * The path ID that uniquely identifies the subscription of the edge profile. + */ + id?: string; +} + +/** + * Collection of alerts. + */ +model AlertList is Azure.Core.Page; + +/** + * Properties of alert. + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model AlertProperties { + /** + * Alert title. + */ + @visibility(Lifecycle.Read) + title?: string; + + /** + * Alert type. + */ + @visibility(Lifecycle.Read) + alertType?: string; + + /** + * UTC time when the alert appeared. + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + appearedAtDateTime?: utcDateTime; + + /** + * Alert recommendation. + */ + @visibility(Lifecycle.Read) + recommendation?: string; + + /** + * Severity of the alert. + */ + @visibility(Lifecycle.Read) + severity?: AlertSeverity; + + /** + * Error details of the alert. + */ + @visibility(Lifecycle.Read) + errorDetails?: AlertErrorDetails; + + /** + * Alert details. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Read) + detailedInformation?: Record; +} + +/** + * Error details for the alert. + */ +model AlertErrorDetails { + /** + * Error code. + */ + @visibility(Lifecycle.Read) + errorCode?: string; + + /** + * Error Message. + */ + @visibility(Lifecycle.Read) + errorMessage?: string; + + /** + * Number of occurrences. + */ + @visibility(Lifecycle.Read) + occurrences?: int32; +} + +/** + * The collection of bandwidth schedules. + */ +model BandwidthSchedulesList is Azure.Core.Page; + +/** + * The properties of the bandwidth schedule. + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model BandwidthScheduleProperties { + /** + * The start time of the schedule in UTC. + */ + start: string; + + /** + * The stop time of the schedule in UTC. + */ + stop: string; + + /** + * The bandwidth rate in Mbps. + */ + rateInMbps: int32; + + /** + * The days of the week when this schedule is applicable. + */ + days: DayOfWeek[]; +} + +/** + * Object for Capturing DeviceCapacityRequestInfo + */ +model DeviceCapacityRequestInfo { + /** + * The properties of the Device Capacity Request. + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + properties: DeviceCapacityRequestInfoProperties; +} + +/** + * Properties of Device Capacity Request Info containing VM's to be checked and their corresponding results. + */ +model DeviceCapacityRequestInfoProperties { + /** + * Array containing the sizes of the VMs for checking if its feasible to create them on the appliance. + */ + @Azure.ResourceManager.identifiers(#[]) + vmPlacementQuery: string[][]; + + /** + * Array of the VMs of the sizes in VmSizes can be provisioned on the appliance. + */ + @Azure.ResourceManager.identifiers(#[]) + vmPlacementResults?: VmPlacementRequestResult[]; +} + +/** + * List of VM sizes being checked for creation on appliance along with corresponding result. + */ +model VmPlacementRequestResult { + /** + * List of VM sizes being checked. + */ + vmSize?: string[]; + + /** + * Boolean value indicating if the VM(s) in VmSize can be created. + */ + isFeasible?: boolean; + + /** + * MessageCode indicating reason for success or failure. + */ + messageCode?: string; + + /** + * Localized message to be displayed to the user to explain the check result. + */ + message?: string; +} + +/** + * The properties of Device Capacity Info + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model DeviceCapacityInfoProperties { + /** + * Timestamp of request in UTC + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + timeStamp?: utcDateTime; + + /** + * Cluster capacity data for storage resources (CSV). + */ + clusterStorageCapacityInfo?: ClusterStorageViewData; + + /** + * Cluster capacity data for compute resources (Memory and GPU). + */ + clusterComputeCapacityInfo?: ClusterCapacityViewData; + + /** + * The dictionary of individual node names and node capacities in the cluster. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + nodeCapacityInfos?: Record; +} + +/** + * Cluster Storage Data. + */ +model ClusterStorageViewData { + /** + * Total storage on the cluster in MB. + */ + clusterTotalStorageMb?: float64; + + /** + * The available or free storage on the cluster in MB. + */ + clusterFreeStorageMb?: float64; +} + +/** + * Cluster Compute Data. + */ +model ClusterCapacityViewData { + /** + * The FQDN of the cluster. + */ + fqdn?: string; + + /** + * The cluster's GPU capacity. + */ + gpuCapacity?: ClusterGpuCapacity; + + /** + * The cluster's memory capacity. + */ + memoryCapacity?: ClusterMemoryCapacity; + + /** + * The last time at which the ClusterCapacityViewData was set. + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + lastRefreshedTime?: utcDateTime; + + /** + * The total # of vCPUs provisioned by non-HPN VM per appliance. + */ + totalProvisionedNonHpnCores?: int64; +} + +/** + * Cluster GPU Data. + */ +model ClusterGpuCapacity { + /** + * The cluster GPU Type. + */ + gpuType?: string; + + /** + * The used GPU units count in the cluster. + */ + gpuUsedUnitsCount?: int32; + + /** + * The free GPU units count in the cluster. + */ + gpuFreeUnitsCount?: int32; + + /** + * The GPU units count reserved for failover in the cluster. + */ + gpuReservedForFailoverUnitsCount?: int32; + + /** + * The total GPU units count in the cluster. + */ + gpuTotalUnitsCount?: int32; +} + +/** + * NodeCapacityInfo defines the required information to determine the placement of a VM. + */ +model ClusterMemoryCapacity { + /** + * The free memory in the cluster in MB. + */ + clusterFreeMemoryMb?: float64; + + /** + * The used memory in the cluster in MB. + */ + clusterUsedMemoryMb?: float64; + + /** + * The failover memory in the cluster in MB. + */ + clusterFailoverMemoryMb?: float64; + + /** + * The fragmentation memory in the cluster in MB. + */ + clusterFragmentationMemoryMb?: float64; + + /** + * The memory reserved for Hyper-V in the cluster in MB. + */ + clusterHypervReserveMemoryMb?: float64; + + /** + * The memory of the Infra VM in the cluster in MB. + */ + clusterInfraVmMemoryMb?: float64; + + /** + * The total memory in the cluster in MB. + */ + clusterTotalMemoryMb?: float64; + + /** + * The non-failover memory in the cluster in MB. + */ + clusterNonFailoverVmMb?: float64; + + /** + * The memory used by VMs in the cluster in MB. + */ + clusterMemoryUsedByVmsMb?: float64; +} + +/** + * Host Capacity Data. + */ +model HostCapacity { + /** + * The name of the host. + */ + hostName?: string; + + /** + * The available memory on the host accounting for VM placement size and any host VM reservations. + */ + effectiveAvailableMemoryMbOnHost?: int64; + + /** + * The available amount of GPUs on the host to use after accounting for GPUS used by reservations on the host. + */ + availableGpuCount?: int32; + + /** + * The VM used memory per VmId. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + vmUsedMemory?: Record; + + /** + * The GPU type of the VM. + */ + gpuType?: string; + + /** + * The numa nodes information for Hpn VMs. + */ + @Azure.ResourceManager.identifiers(#[]) + numaNodesData?: NumaNodeData[]; +} + +/** + * VmMemory Data. + */ +model VmMemory { + /** + * The total amount of RAM in the virtual machine, as seen by the guest operating system. For a virtual machine with dynamic memory enabled, this represents the initial memory available at startup. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + startupMemoryMB?: int64; + + /** + * The current memory used by the virtual machine. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + currentMemoryUsageMB?: int64; +} + +/** + * NUMA node data. + */ +model NumaNodeData { + /** + * The NUMA node index. + */ + numaNodeIndex?: int32; + + /** + * The total memory on the NUMA node. + */ + totalMemoryInMb?: int64; + + /** + * The logical cores per core count. + */ + logicalCoreCountPerCore?: int32; + + /** + * The effective available memory on the NUMA node in MB. + */ + effectiveAvailableMemoryInMb?: int64; + + /** + * The free VCPU indices for the Hpn VMs. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + freeVCpuIndexesForHpn?: int32[]; + + /** + * The VCPU indices for Hpn VMs + */ + vCpuIndexesForHpn?: int32[]; + + /** + * The VCPU indices for the root. + */ + vCpuIndexesForRoot?: int32[]; +} + +/** + * The properties of proactive log collection settings. + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model ProactiveLogCollectionSettingsProperties { + /** + * Proactive diagnostic collection consent flag + */ + userConsent: ProactiveDiagnosticsConsent; +} + +/** + * The properties of remote support settings. + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model DiagnosticRemoteSupportSettingsProperties { + /** + * Remote support settings list according to the RemoteApplicationType + */ + @Azure.ResourceManager.identifiers(#["remoteApplicationType"]) + remoteSupportSettingsList?: RemoteSupportSettings[]; +} + +/** + * RemoteApplicationType for which remote support settings is being modified + */ +model RemoteSupportSettings { + /** + * Remote application type + */ + remoteApplicationType?: RemoteApplicationType; + + /** + * Access level allowed for this remote application type + */ + accessLevel?: AccessLevel; + + /** + * Expiration time stamp + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + expirationTimeStampInUTC?: utcDateTime; +} + +/** + * Used in activation key generation flow. + */ +model GenerateCertResponse { + /** + * Gets or sets base64 encoded certificate raw data, + * this is the public part needed to be uploaded to cert vault + */ + publicKey?: string; + + /** + * Gets or sets base64 encoded private part of the certificate, + * needed to form the activation key + */ + @secret + privateKey?: string; + + /** + * Gets or sets expiry time in UTC + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + expiryTimeInUTC?: string; +} + +/** + * The extended Info of the Data Box Edge/Gateway device. + */ +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model DataBoxEdgeDeviceExtendedInfo extends ARMBaseModel { + /** + * The extended info properties. + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + properties?: DataBoxEdgeDeviceExtendedInfoProperties; + + /** + * Metadata pertaining to creation and last modification of DataBoxEdgeDevice + */ + @visibility(Lifecycle.Read) + systemData?: SystemData; +} + +/** + * The properties of the Data Box Edge/Gateway device extended info. + */ +model DataBoxEdgeDeviceExtendedInfoProperties { + /** + * The digital signature of encrypted certificate. + */ + encryptionKeyThumbprint?: string; + + /** + * The public part of the encryption certificate. Client uses this to encrypt any secret. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/secret-prop" "FIXME: use @secret if this is a value that should be kept private" + encryptionKey?: string; + + /** + * The Resource ID of the Resource. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/secret-prop" "FIXME: use @secret if this is a value that should be kept private" + @visibility(Lifecycle.Read) + resourceKey?: string; + + /** + * The Key Vault ARM Id for client secrets + */ + clientSecretStoreId?: string; + + /** + * The url to access the Client Key Vault + */ + clientSecretStoreUrl?: string; + + /** + * The name of Channel Integrity Key stored in the Client Key Vault + */ + channelIntegrityKeyName?: string; + + /** + * The version of Channel Integrity Key stored in the Client Key Vault + */ + channelIntegrityKeyVersion?: string; + + /** + * Key vault sync status + */ + keyVaultSyncStatus?: KeyVaultSyncStatus; + + /** + * Device secrets, will be returned only with ODataFilter $expand=deviceSecrets + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Read) + deviceSecrets?: Record; + + /** + * Cluster Witness Type + */ + @visibility(Lifecycle.Read) + clusterWitnessType?: ClusterWitnessType; + + /** + * The witness location of file share. + */ + @visibility(Lifecycle.Read) + fileShareWitnessLocation?: string; + + /** + * The username of file share. + */ + @visibility(Lifecycle.Read) + fileShareWitnessUsername?: string; + + /** + * The Cloud Witness Storage account name. + */ + @visibility(Lifecycle.Read) + cloudWitnessStorageAccountName?: string; + + /** + * The Container for cloud witness in the storage account. + */ + @visibility(Lifecycle.Read) + cloudWitnessContainerName?: string; + + /** + * The Azure service endpoint of the cloud witness storage account. + */ + @visibility(Lifecycle.Read) + cloudWitnessStorageEndpoint?: string; +} + +/** + * Holds device secret either as a KeyVault reference or as an encrypted value. + */ +model Secret { + /** + * Encrypted (using device public key) secret value. + */ + encryptedSecret?: AsymmetricEncryptedSecret; + + /** + * Id of the Key-Vault where secret is stored (ex: secrets/AuthClientSecret/82ef4346187a4033a10d629cde07d740). + */ + keyVaultId?: string; +} + +/** + * Represent the secrets intended for encryption with asymmetric key pair. + */ +model AsymmetricEncryptedSecret { + /** + * The value of the secret. + */ + value: string; + + /** + * Thumbprint certificate used to encrypt \"Value\". If the value is unencrypted, it will be null. + */ + @secret + encryptionCertThumbprint?: string; + + /** + * The algorithm used to encrypt "Value". + */ + encryptionAlgorithm: EncryptionAlgorithm; +} + +/** + * The job error information containing the list of job errors. + */ +model JobErrorDetails { + /** + * The error details. + */ + @visibility(Lifecycle.Read) + @Azure.ResourceManager.identifiers(#[]) + errorDetails?: JobErrorItem[]; + + /** + * The code intended for programmatic access. + */ + @visibility(Lifecycle.Read) + code?: string; + + /** + * The message that describes the error in detail. + */ + @visibility(Lifecycle.Read) + message?: string; +} + +/** + * The job error items. + */ +model JobErrorItem { + /** + * The recommended actions. + */ + @visibility(Lifecycle.Read) + recommendations?: string[]; + + /** + * The code intended for programmatic access. + */ + @visibility(Lifecycle.Read) + code?: string; + + /** + * The message that describes the error in detail. + */ + @visibility(Lifecycle.Read) + message?: string; +} + +/** + * The properties for the job. + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model JobProperties { + /** + * The type of the job. + */ + @visibility(Lifecycle.Read) + jobType?: JobType; + + /** + * Current stage of the update operation. + */ + @visibility(Lifecycle.Read) + currentStage?: UpdateOperationStage; + + /** + * The download progress. + */ + @visibility(Lifecycle.Read) + downloadProgress?: UpdateDownloadProgress; + + /** + * The install progress. + */ + @visibility(Lifecycle.Read) + installProgress?: UpdateInstallProgress; + + /** + * Total number of errors encountered during the refresh process. + */ + @visibility(Lifecycle.Read) + totalRefreshErrors?: int32; + + /** + * Local share/remote container relative path to the error manifest file of the refresh. + */ + @visibility(Lifecycle.Read) + errorManifestFile?: string; + + /** + * ARM ID of the entity that was refreshed. + */ + @visibility(Lifecycle.Read) + refreshedEntityId?: string; + + /** + * If only subfolders need to be refreshed, then the subfolder path inside the share or container. (The path is empty if there are no subfolders.) + */ + folder?: string; +} + +/** + * Details about the download progress of update. + */ +model UpdateDownloadProgress { + /** + * The download phase. + */ + @visibility(Lifecycle.Read) + downloadPhase?: DownloadPhase; + + /** + * Percentage of completion. + */ + @visibility(Lifecycle.Read) + percentComplete?: int32; + + /** + * Total bytes to download. + */ + @visibility(Lifecycle.Read) + totalBytesToDownload?: float64; + + /** + * Total bytes downloaded. + */ + @visibility(Lifecycle.Read) + totalBytesDownloaded?: float64; + + /** + * Number of updates to download. + */ + @visibility(Lifecycle.Read) + numberOfUpdatesToDownload?: int32; + + /** + * Number of updates downloaded. + */ + @visibility(Lifecycle.Read) + numberOfUpdatesDownloaded?: int32; +} + +/** + * Progress details during installation of updates. + */ +model UpdateInstallProgress { + /** + * Percentage completed. + */ + @visibility(Lifecycle.Read) + percentComplete?: int32; + + /** + * Number of updates to install. + */ + @visibility(Lifecycle.Read) + numberOfUpdatesToInstall?: int32; + + /** + * Number of updates installed. + */ + @visibility(Lifecycle.Read) + numberOfUpdatesInstalled?: int32; +} + +/** + * The properties of network settings. + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model NetworkSettingsProperties { + /** + * The network adapter list on the device. + */ + @visibility(Lifecycle.Read) + @Azure.ResourceManager.identifiers(#["adapterId"]) + networkAdapters?: NetworkAdapter[]; +} + +/** + * Represents the networkAdapter on a device. + */ +model NetworkAdapter { + /** + * Instance ID of network adapter. + */ + @visibility(Lifecycle.Read) + adapterId?: string; + + /** + * Hardware position of network adapter. + */ + @visibility(Lifecycle.Read) + adapterPosition?: NetworkAdapterPosition; + + /** + * Logical index of the adapter. + */ + @visibility(Lifecycle.Read) + index?: int32; + + /** + * Node ID of the network adapter. + */ + @visibility(Lifecycle.Read) + nodeId?: string; + + /** + * Network adapter name. + */ + @visibility(Lifecycle.Read) + networkAdapterName?: string; + + /** + * Hardware label for the adapter. + */ + @visibility(Lifecycle.Read) + label?: string; + + /** + * MAC address. + */ + @visibility(Lifecycle.Read) + macAddress?: string; + + /** + * Link speed. + */ + @visibility(Lifecycle.Read) + linkSpeed?: int64; + + /** + * Value indicating whether this adapter is valid. + */ + @visibility(Lifecycle.Read) + status?: NetworkAdapterStatus; + + /** + * Value indicating whether this adapter is RDMA capable. + */ + rdmaStatus?: NetworkAdapterRDMAStatus; + + /** + * Value indicating whether this adapter has DHCP enabled. + */ + dhcpStatus?: NetworkAdapterDHCPStatus; + + /** + * The IPv4 configuration of the network adapter. + */ + @visibility(Lifecycle.Read) + ipv4Configuration?: Ipv4Config; + + /** + * The IPv6 configuration of the network adapter. + */ + @visibility(Lifecycle.Read) + ipv6Configuration?: Ipv6Config; + + /** + * The IPv6 local address. + */ + @visibility(Lifecycle.Read) + ipv6LinkLocalAddress?: string; + + /** + * The list of DNS Servers of the device. + */ + @visibility(Lifecycle.Read) + dnsServers?: string[]; +} + +/** + * The network adapter position. + */ +model NetworkAdapterPosition { + /** + * The network group. + */ + @visibility(Lifecycle.Read) + networkGroup?: NetworkGroup; + + /** + * The port. + */ + @visibility(Lifecycle.Read) + port?: int32; +} + +/** + * Details related to the IPv4 address configuration. + */ +model Ipv4Config { + /** + * The IPv4 address of the network adapter. + */ + @visibility(Lifecycle.Read) + ipAddress?: string; + + /** + * The IPv4 subnet of the network adapter. + */ + @visibility(Lifecycle.Read) + subnet?: string; + + /** + * The IPv4 gateway of the network adapter. + */ + @visibility(Lifecycle.Read) + gateway?: string; +} + +/** + * Details related to the IPv6 address configuration. + */ +model Ipv6Config { + /** + * The IPv6 address of the network adapter. + */ + @visibility(Lifecycle.Read) + ipAddress?: string; + + /** + * The IPv6 prefix of the network adapter. + */ + @visibility(Lifecycle.Read) + prefixLength?: int32; + + /** + * The IPv6 gateway of the network adapter. + */ + @visibility(Lifecycle.Read) + gateway?: string; +} + +/** + * Collection of Nodes. + */ +model NodeList is Azure.Core.Page; + +/** + * Represents a single node in a Data box Edge/Gateway device + * Gateway devices, standalone Edge devices and a single node cluster Edge device will all have 1 node + * Multi-node Edge devices will have more than 1 nodes + */ +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model Node extends ARMBaseModel { + /** + * The properties of the node + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Read) + properties?: NodeProperties; +} + +/** + * This class represents the nodes in a highly available cluster + */ +model NodeProperties { + /** + * The current status of the individual node + */ + @visibility(Lifecycle.Read) + nodeStatus?: NodeStatus; + + /** + * Serial number of the Chassis + */ + @visibility(Lifecycle.Read) + nodeChassisSerialNumber?: string; + + /** + * Serial number of the individual node + */ + @visibility(Lifecycle.Read) + nodeSerialNumber?: string; + + /** + * Display Name of the individual node + */ + @visibility(Lifecycle.Read) + nodeDisplayName?: string; + + /** + * Friendly software version name that is currently installed on the node + */ + @visibility(Lifecycle.Read) + nodeFriendlySoftwareVersion?: string; + + /** + * HCS version that is currently installed on the node + */ + @visibility(Lifecycle.Read) + nodeHcsVersion?: string; + + /** + * Guid instance id of the node + */ + @visibility(Lifecycle.Read) + nodeInstanceId?: string; +} + +/** + * List of order entities. + */ +model OrderList is Azure.Core.Page; + +/** + * Order properties. + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model OrderProperties { + /** + * It specify the order resource id. + */ + @visibility(Lifecycle.Read) + orderId?: string; + + /** + * The contact details. + */ + contactInformation: ContactDetails; + + /** + * The shipping address. + */ + shippingAddress?: Address; + + /** + * Current status of the order. + */ + @visibility(Lifecycle.Read) + currentStatus?: OrderStatus; + + /** + * List of status changes in the order. + */ + @visibility(Lifecycle.Read) + @Azure.ResourceManager.identifiers(#["trackingInformation/serialNumber"]) + orderHistory?: OrderStatus[]; + + /** + * Serial number of the device. + */ + @visibility(Lifecycle.Read) + serialNumber?: string; + + /** + * Tracking information for the package delivered to the customer whether it has an original or a replacement device. + */ + @visibility(Lifecycle.Read) + @Azure.ResourceManager.identifiers(#["serialNumber"]) + deliveryTrackingInfo?: TrackingInfo[]; + + /** + * Tracking information for the package returned from the customer whether it has an original or a replacement device. + */ + @visibility(Lifecycle.Read) + @Azure.ResourceManager.identifiers(#["serialNumber"]) + returnTrackingInfo?: TrackingInfo[]; + + /** + * ShipmentType of the order + */ + shipmentType?: ShipmentType; +} + +/** + * Contains all the contact details of the customer. + */ +model ContactDetails { + /** + * The contact person name. + */ + contactPerson: string; + + /** + * The name of the company. + */ + companyName: string; + + /** + * The phone number. + */ + phone: string; + + /** + * The email list. + */ + emailList: string[]; +} + +/** + * The shipping address of the customer. + */ +model Address { + /** + * The address line1. + */ + addressLine1?: string; + + /** + * The address line2. + */ + addressLine2?: string; + + /** + * The address line3. + */ + addressLine3?: string; + + /** + * The postal code. + */ + postalCode?: string; + + /** + * The city name. + */ + city?: string; + + /** + * The state name. + */ + state?: string; + + /** + * The country name. + */ + country: string; +} + +/** + * Represents a single status change. + */ +model OrderStatus { + /** + * Status of the order as per the allowed status types. + */ + status: OrderState; + + /** + * Time of status update. + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + updateDateTime?: utcDateTime; + + /** + * Comments related to this status change. + */ + comments?: string; + + /** + * Tracking information related to the state in the ordering flow + */ + @visibility(Lifecycle.Read) + trackingInformation?: TrackingInfo; + + /** + * Dictionary to hold generic information which is not stored + * by the already existing properties + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Read) + additionalOrderDetails?: Record; +} + +/** + * Tracking courier information. + */ +model TrackingInfo { + /** + * Serial number of the device being tracked. + */ + serialNumber?: string; + + /** + * Name of the carrier used in the delivery. + */ + carrierName?: string; + + /** + * Tracking ID of the shipment. + */ + trackingId?: string; + + /** + * Tracking URL of the shipment. + */ + trackingUrl?: string; +} + +/** + * DC Access code in the case of Self Managed Shipping. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model DCAccessCode { + /** + * DCAccessCode properties. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + properties?: DCAccessCodeProperties; +} + +/** + * DCAccessCode Properties. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model DCAccessCodeProperties { + /** + * DCAccess Code for the Self Managed shipment. + */ + authCode?: string; +} + +/** + * Collection of all the roles on the Data Box Edge device. + */ +model RoleList is Azure.Core.Page; + +/** + * Collection of all the Role addon on the Azure Stack Edge device. + */ +model AddonList is Azure.Core.Page; + +/** + * Collection of metric configurations. + */ +model MonitoringMetricConfigurationList + is Azure.Core.Page; + +/** + * Metrics properties + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model MonitoringMetricConfigurationProperties { + /** + * The metrics configuration details + */ + @Azure.ResourceManager.identifiers(#[]) + metricConfigurations: MetricConfiguration[]; +} + +/** + * Metric configuration. + */ +model MetricConfiguration { + /** + * The Resource ID on which the metrics should be pushed. + */ + resourceId: string; + + /** + * The MDM account to which the counters should be pushed. + */ + mdmAccount?: string; + + /** + * The MDM namespace to which the counters should be pushed. This is required if MDMAccount is specified + */ + metricNameSpace?: string; + + /** + * Host name for the IoT hub associated to the device. + */ + @Azure.ResourceManager.identifiers(#[]) + counterSets: MetricCounterSet[]; +} + +/** + * The metric counter set + */ +model MetricCounterSet { + /** + * The counters that should be collected in this set. + */ + @Azure.ResourceManager.identifiers(#["name"]) + counters: MetricCounter[]; +} + +/** + * The metric counter + */ +model MetricCounter { + /** + * The counter name. + */ + name: string; + + /** + * The instance from which counter should be collected. + */ + instance?: string; + + /** + * The dimension filter. + */ + @Azure.ResourceManager.identifiers(#["sourceName"]) + dimensionFilter?: MetricDimension[]; + + /** + * The additional dimensions to be added to metric. + */ + @Azure.ResourceManager.identifiers(#["sourceName"]) + additionalDimensions?: MetricDimension[]; +} + +/** + * The metric dimension + */ +model MetricDimension { + /** + * The dimension type. + */ + sourceType: string; + + /** + * The dimension value. + */ + sourceName: string; +} + +/** + * The security settings of a device. + */ +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model SecuritySettings extends ARMBaseModel { + /** + * Properties of the security settings. + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + properties: SecuritySettingsProperties; +} + +/** + * The properties of security settings. + */ +model SecuritySettingsProperties { + /** + * Device administrator password as an encrypted string (encrypted using RSA PKCS #1) is used to sign into the local web UI of the device. The Actual password should have at least 8 characters that are a combination of uppercase, lowercase, numeric, and special characters. + */ + deviceAdminPassword: AsymmetricEncryptedSecret; +} + +/** + * Collection of all the shares on the Data Box Edge/Gateway device. + */ +model ShareList is Azure.Core.Page; + +/** + * The share properties. + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model ShareProperties { + /** + * Description for the share. + */ + description?: string; + + /** + * Current status of the share. + */ + shareStatus: ShareStatus; + + /** + * Current monitoring status of the share. + */ + monitoringStatus: MonitoringStatus; + + /** + * Azure container mapping for the share. + */ + azureContainerInfo?: AzureContainerInfo; + + /** + * Access protocol to be used by the share. + */ + accessProtocol: ShareAccessProtocol; + + /** + * Mapping of users and corresponding access rights on the share (required for SMB protocol). + */ + @Azure.ResourceManager.identifiers(#["userId"]) + userAccessRights?: UserAccessRight[]; + + /** + * List of IP addresses and corresponding access rights on the share(required for NFS protocol). + */ + @Azure.ResourceManager.identifiers(#["client"]) + clientAccessRights?: ClientAccessRight[]; + + /** + * Details of the refresh job on this share. + */ + refreshDetails?: RefreshDetails; + + /** + * Share mount point to the role. + */ + @visibility(Lifecycle.Read) + @Azure.ResourceManager.identifiers(#["shareId"]) + shareMappings?: MountPointMap[]; + + /** + * Data policy of the share. + */ + dataPolicy?: DataPolicy; +} + +/** + * Azure container mapping of the endpoint. + */ +model AzureContainerInfo { + /** + * ID of the storage account credential used to access storage. + */ + storageAccountCredentialId: string; + + /** + * Container name (Based on the data format specified, this represents the name of Azure Files/Page blob/Block blob). + */ + containerName: string; + + /** + * Storage format used for the file represented by the share. + */ + dataFormat: AzureContainerDataFormat; +} + +/** + * The mapping between a particular user and the access type on the SMB share. + */ +model UserAccessRight { + /** + * User ID (already existing in the device). + */ + userId: string; + + /** + * Type of access to be allowed for the user. + */ + accessType: ShareAccessType; +} + +/** + * The mapping between a particular client IP and the type of access client has on the NFS share. + */ +model ClientAccessRight { + /** + * IP of the client. + */ + client: string; + + /** + * Type of access to be allowed for the client. + */ + accessPermission: ClientPermissionType; +} + +/** + * Fields for tracking refresh job on the share or container. + */ +model RefreshDetails { + /** + * If a refresh job is currently in progress on this share or container, this field indicates the ARM resource ID of that job. The field is empty if no job is in progress. + */ + inProgressRefreshJobId?: string; + + /** + * Indicates the completed time for the last refresh job on this particular share or container, if any.This could be a failed job or a successful job. + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + lastCompletedRefreshJobTimeInUTC?: utcDateTime; + + /** + * Indicates the relative path of the error xml for the last refresh job on this particular share or container, if any. This could be a failed job or a successful job. + */ + errorManifestFile?: string; + + /** + * Indicates the id of the last refresh job on this particular share or container,if any. This could be a failed job or a successful job. + */ + lastJob?: string; +} + +/** + * The share mount point. + */ +model MountPointMap { + /** + * ID of the share mounted to the role VM. + */ + shareId: string; + + /** + * ID of the role to which share is mounted. + */ + @visibility(Lifecycle.Read) + roleId?: string; + + /** + * Mount point for the share. + */ + @visibility(Lifecycle.Read) + mountPoint?: string; + + /** + * Mounting type. + */ + @visibility(Lifecycle.Read) + mountType?: MountType; + + /** + * Role type. + */ + @visibility(Lifecycle.Read) + roleType?: RoleTypes; +} + +/** + * The collection of storage account credentials. + */ +model StorageAccountCredentialList is Azure.Core.Page; + +/** + * The storage account credential properties. + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model StorageAccountCredentialProperties { + /** + * Alias for the storage account. + */ + `alias`: string; + + /** + * Username for the storage account. + */ + userName?: string; + + /** + * Encrypted storage key. + */ + accountKey?: AsymmetricEncryptedSecret; + + /** + * Connection string for the storage account. Use this string if username and account key are not specified. + */ + connectionString?: string; + + /** + * Signifies whether SSL needs to be enabled or not. + */ + sslStatus: SSLStatus; + + /** + * Blob end point for private clouds. + */ + blobDomainName?: string; + + /** + * Type of storage accessed on the storage account. + */ + accountType: AccountType; + + /** + * Id of the storage account. + */ + storageAccountId?: string; +} + +/** + * Collection of all the Storage Accounts on the Data Box Edge/Gateway device. + */ +model StorageAccountList is Azure.Core.Page; + +/** + * The storage account properties. + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model StorageAccountProperties { + /** + * Description for the storage Account. + */ + description?: string; + + /** + * Current status of the storage account + */ + storageAccountStatus?: StorageAccountStatus; + + /** + * Data policy of the storage Account. + */ + dataPolicy: DataPolicy; + + /** + * Storage Account Credential Id + */ + storageAccountCredentialId?: string; + + /** + * BlobEndpoint of Storage Account + */ + @visibility(Lifecycle.Read) + blobEndpoint?: string; + + /** + * The Container Count. Present only for Storage Accounts with DataPolicy set to Cloud. + */ + @visibility(Lifecycle.Read) + containerCount?: int32; +} + +/** + * Collection of all the containers on the Data Box Edge/Gateway device. + */ +model ContainerList is Azure.Core.Page; + +/** + * The container properties. + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model ContainerProperties { + /** + * Current status of the container. + */ + @visibility(Lifecycle.Read) + containerStatus?: ContainerStatus; + + /** + * DataFormat for Container + */ + dataFormat: AzureContainerDataFormat; + + /** + * Details of the refresh job on this container. + */ + @visibility(Lifecycle.Read) + refreshDetails?: RefreshDetails; + + /** + * The UTC time when container got created. + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + createdDateTime?: utcDateTime; +} + +/** + * Collection of all trigger on the data box edge device. + */ +model TriggerList is Azure.Core.Page; + +/** + * The request object for trigger support package. + */ +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model TriggerSupportPackageRequest extends ARMBaseModel { + /** + * The TriggerSupportPackageRequest properties. + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + properties: SupportPackageRequestProperties; +} + +/** + * The share properties. + */ +model SupportPackageRequestProperties { + /** + * MinimumTimeStamp from where logs need to be collected + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + minimumTimeStamp?: utcDateTime; + + /** + * Start of the timespan of the log collection + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + maximumTimeStamp?: utcDateTime; + + /** + * Type of files, which need to be included in the logs + * This will contain the type of logs (Default/DefaultWithDumps/None/All/DefaultWithArchived) + * or a comma separated list of log types that are required + */ + include?: string; +} + +/** + * The Data Box Edge/Gateway device extended info patch. + */ +model DataBoxEdgeDeviceExtendedInfoPatch { + /** + * The Key Vault ARM Id for client secrets + */ + clientSecretStoreId?: string; + + /** + * The url to access the Client Key Vault + */ + clientSecretStoreUrl?: string; + + /** + * The name for Channel Integrity Key stored in the Client Key Vault + */ + channelIntegrityKeyName?: string; + + /** + * The version of Channel Integrity Key stored in the Client Key Vault + */ + channelIntegrityKeyVersion?: string; + + /** + * For changing or to initiate the resync to key-vault set the status to KeyVaultSyncPending, rest of the status will not be applicable. + */ + syncStatus?: KeyVaultSyncStatus; +} + +/** + * The device update information summary. + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model UpdateSummaryProperties { + /** + * The current version of the device in format: 1.2.17312.13.", + */ + deviceVersionNumber?: string; + + /** + * The current version of the device in text format. + */ + friendlyDeviceVersionName?: string; + + /** + * The last time when a scan was done on the device. + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + deviceLastScannedDateTime?: utcDateTime; + + /** + * The time when the last scan job was completed (success/cancelled/failed) on the appliance. + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + lastCompletedScanJobDateTime?: utcDateTime; + + /** + * Time when the last scan job is successfully completed. + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + lastSuccessfulScanJobTime?: utcDateTime; + + /** + * The time when the last Download job was completed (success/cancelled/failed) on the appliance. + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + lastCompletedDownloadJobDateTime?: utcDateTime; + + /** + * JobId of the last ran download job.(Can be success/cancelled/failed) + */ + @visibility(Lifecycle.Read) + lastCompletedDownloadJobId?: string; + + /** + * JobStatus of the last ran download job. + */ + @visibility(Lifecycle.Read) + lastDownloadJobStatus?: JobStatus; + + /** + * The time when the Last Install job was completed successfully on the appliance + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + lastSuccessfulInstallJobDateTime?: utcDateTime; + + /** + * The time when the last Install job was completed (success/cancelled/failed) on the appliance. + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + lastCompletedInstallJobDateTime?: utcDateTime; + + /** + * JobId of the last ran install job.(Can be success/cancelled/failed) + */ + @visibility(Lifecycle.Read) + lastCompletedInstallJobId?: string; + + /** + * JobStatus of the last ran install job. + */ + @visibility(Lifecycle.Read) + lastInstallJobStatus?: JobStatus; + + /** + * The number of updates available for the current device version as per the last device scan. + */ + @visibility(Lifecycle.Read) + totalNumberOfUpdatesAvailable?: int32; + + /** + * The total number of items pending download. + */ + @visibility(Lifecycle.Read) + totalNumberOfUpdatesPendingDownload?: int32; + + /** + * The total number of items pending install. + */ + @visibility(Lifecycle.Read) + totalNumberOfUpdatesPendingInstall?: int32; + + /** + * Indicates if updates are available and at least one of the updates needs a reboot. + */ + @visibility(Lifecycle.Read) + rebootBehavior?: InstallRebootBehavior; + + /** + * The current update operation. + */ + @visibility(Lifecycle.Read) + ongoingUpdateOperation?: UpdateOperation; + + /** + * The job ID of the download job in progress. + */ + @visibility(Lifecycle.Read) + inProgressDownloadJobId?: string; + + /** + * The job ID of the install job in progress. + */ + @visibility(Lifecycle.Read) + inProgressInstallJobId?: string; + + /** + * The time when the currently running download (if any) started. + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + inProgressDownloadJobStartedDateTime?: utcDateTime; + + /** + * The time when the currently running install (if any) started. + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + inProgressInstallJobStartedDateTime?: utcDateTime; + + /** + * The list of updates available for install. + */ + @visibility(Lifecycle.Read) + updateTitles?: string[]; + + /** + * The list of updates available for install. + */ + @visibility(Lifecycle.Read) + @Azure.ResourceManager.identifiers(#["updateTitle"]) + updates?: UpdateDetails[]; + + /** + * The total size of updates available for download in bytes. + */ + @visibility(Lifecycle.Read) + totalUpdateSizeInBytes?: float64; + + /** + * The total time in Minutes + */ + @visibility(Lifecycle.Read) + totalTimeInMinutes?: int32; +} + +/** + * Update Specific attributes + */ +model UpdateDetails { + /** + * Title of the Update + */ + updateTitle?: string; + + /** + * Size of the update(In Bytes) + */ + updateSize?: float64; + + /** + * Type of the Update + */ + updateType?: UpdateType; + + /** + * Target Version number + */ + targetVersion?: string; + + /** + * Friendly Version Number + */ + friendlyVersionNumber?: string; + + /** + * Estimated Install Time for the update + */ + estimatedInstallTimeInMins?: int32; + + /** + * Indicates if updates are available and at least one of the updates needs a reboot. + */ + rebootBehavior?: InstallRebootBehavior; + + /** + * Impact of Installing an updateType + */ + installationImpact?: InstallationImpact; + + /** + * Status of the update. + */ + status?: UpdateStatus; +} + +/** + * The upload certificate request. + */ +model UploadCertificateRequest { + /** + * The Base 64 encoded certificate raw data. + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + properties: RawCertificateData; +} + +/** + * Raw Certificate Data. + */ +model RawCertificateData { + /** + * The authentication type. + */ + authenticationType?: AuthenticationType; + + /** + * The base64 encoded certificate raw data. + */ + certificate: string; +} + +/** + * The upload registration certificate response. + */ +model UploadCertificateResponse { + /** + * Specifies authentication type. + */ + authType?: AuthenticationType; + + /** + * The resource ID of the Data Box Edge/Gateway device. + */ + @visibility(Lifecycle.Read) + resourceId?: string; + + /** + * Azure Active Directory tenant authority. + */ + @visibility(Lifecycle.Read) + aadAuthority?: string; + + /** + * Azure Active Directory tenant ID. + */ + @visibility(Lifecycle.Read) + aadTenantId?: string; + + /** + * Azure Active Directory service principal client ID. + */ + @visibility(Lifecycle.Read) + servicePrincipalClientId?: string; + + /** + * Azure Active Directory service principal object ID. + */ + @visibility(Lifecycle.Read) + servicePrincipalObjectId?: string; + + /** + * The azure management endpoint audience. + */ + @visibility(Lifecycle.Read) + azureManagementEndpointAudience?: string; + + /** + * Identifier of the target resource that is the recipient of the requested token. + */ + @visibility(Lifecycle.Read) + aadAudience?: string; +} + +/** + * Collection of users. + */ +model UserList is Azure.Core.Page; + +/** + * The user properties. + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model UserProperties { + /** + * The password details. + */ + encryptedPassword?: AsymmetricEncryptedSecret; + + /** + * List of shares that the user has rights on. This field should not be specified during user creation. + */ + @visibility(Lifecycle.Read) + @Azure.ResourceManager.identifiers(#["shareId"]) + shareAccessRights?: ShareAccessRight[]; + + /** + * Type of the user. + */ + userType: UserType; +} + +/** + * Specifies the mapping between this particular user and the type of access he has on shares on this device. + */ +model ShareAccessRight { + /** + * The share ID. + */ + shareId: string; + + /** + * Type of access to be allowed on the share for this user. + */ + accessType: ShareAccessType; +} + +/** + * Arc Addon. + */ +model ArcAddon extends Addon { + /** + * Properties specific to Arc addon. + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + properties: ArcAddonProperties; + + /** + * Addon type. + */ + kind: AddonType.ArcForKubernetes; +} + +/** + * Arc addon properties. + */ +model ArcAddonProperties { + /** + * Arc resource subscription Id + */ + subscriptionId: string; + + /** + * Arc resource group name + */ + resourceGroupName: string; + + /** + * Arc resource Name + */ + resourceName: string; + + /** + * Arc resource location + */ + resourceLocation: string; + + /** + * Arc resource version + */ + @visibility(Lifecycle.Read) + version?: string; + + /** + * Host OS supported by the Arc addon. + */ + @visibility(Lifecycle.Read) + hostPlatform?: PlatformType; + + /** + * Platform where the runtime is hosted. + */ + @visibility(Lifecycle.Read) + hostPlatformType?: HostPlatformType; + + /** + * Addon Provisioning State + */ + @visibility(Lifecycle.Read) + provisioningState?: AddonState; +} + +/** + * Authentication mechanism for IoT devices. + */ +model Authentication { + /** + * Symmetric key for authentication. + */ + symmetricKey?: SymmetricKey; +} + +/** + * Symmetric key for authentication. + */ +model SymmetricKey { + /** + * Connection string based on the symmetric key. + */ + connectionString?: AsymmetricEncryptedSecret; +} + +/** + * The preview of Virtual Machine Cloud Management from the Azure supports deploying and managing VMs on your Azure Stack Edge device from Azure Portal. + * For more information, refer to: https://docs.microsoft.com/en-us/azure/databox-online/azure-stack-edge-gpu-virtual-machine-overview + * By using this feature, you agree to the preview legal terms. See the https://azure.microsoft.com/en-us/support/legal/preview-supplemental-terms/ for additional details. + */ +model CloudEdgeManagementRole extends Role { + /** + * Properties specific to CloudEdgeManagementRole role. + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + properties?: CloudEdgeManagementRoleProperties; + + /** + * Role type. + */ + kind: RoleTypes.CloudEdgeManagement; +} + +/** + * CloudEdgeManagement Role properties. + */ +model CloudEdgeManagementRoleProperties { + /** + * Local Edge Management Status + */ + @visibility(Lifecycle.Read) + localManagementStatus?: RoleStatus; + + /** + * Edge Profile of the resource + */ + @visibility(Lifecycle.Read) + edgeProfile?: EdgeProfile; + + /** + * Role status. + */ + roleStatus: RoleStatus; +} + +/** + * Cni configuration + */ +model CniConfig { + /** + * Cni type + */ + @visibility(Lifecycle.Read) + type?: string; + + /** + * Cni version + */ + @visibility(Lifecycle.Read) + version?: string; + + /** + * Pod Subnet + */ + @visibility(Lifecycle.Read) + podSubnet?: string; + + /** + * Service subnet + */ + @visibility(Lifecycle.Read) + serviceSubnet?: string; +} + +/** + * Compute infrastructure Resource + */ +model ComputeResource { + /** + * Processor count + */ + processorCount: int32; + + /** + * Memory in GB + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + memoryInGB: int64; +} + +/** + * Resource Move details + */ +model DataBoxEdgeMoveRequest { + /** + * Target resource group ARMId + */ + targetResourceGroup: string; + + /** + * List of resources to be moved + */ + resources: string[]; +} + +/** + * Etcd configuration + */ +model EtcdInfo { + /** + * Etcd type + */ + @visibility(Lifecycle.Read) + type?: string; + + /** + * Etcd version + */ + @visibility(Lifecycle.Read) + version?: string; +} + +/** + * Trigger details. + */ +model FileEventTrigger extends Trigger { + /** + * File trigger properties. + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + properties: FileTriggerProperties; + + /** + * Trigger Kind. + */ + kind: TriggerEventType.FileEvent; +} + +/** + * File trigger properties. + */ +model FileTriggerProperties { + /** + * File event source details. + */ + sourceInfo: FileSourceInfo; + + /** + * Role sink info. + */ + sinkInfo: RoleSinkInfo; + + /** + * A custom context tag typically used to correlate the trigger against its usage. For example, if a periodic timer trigger is intended for certain specific IoT modules in the device, the tag can be the name or the image URL of the module. + */ + @maxLength(192) + customContextTag?: string; +} + +/** + * File source details. + */ +model FileSourceInfo { + /** + * File share ID. + */ + shareId: string; +} + +/** + * Compute role against which events will be raised. + */ +model RoleSinkInfo { + /** + * Compute role ID. + */ + roleId: string; +} + +/** + * Image repository credential. + */ +model ImageRepositoryCredential { + /** + * Image repository url (e.g.: mcr.microsoft.com). + */ + imageRepositoryUrl: string; + + /** + * Repository user name. + */ + userName: string; + + /** + * Repository user password. + */ + password?: AsymmetricEncryptedSecret; +} + +/** + * IoT Addon. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model IoTAddon extends Addon { + /** + * Properties specific to IOT addon. + */ + properties: IoTAddonProperties; + + /** + * Addon type. + */ + kind: AddonType.IotEdge; +} + +/** + * IoT addon properties. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model IoTAddonProperties { + /** + * IoT device metadata to which appliance needs to be connected. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + ioTDeviceDetails: IoTDeviceInfo; + + /** + * IoT edge device to which the IoT Addon needs to be configured. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + ioTEdgeDeviceDetails: IoTDeviceInfo; + + /** + * Version of IoT running on the appliance. + */ + @visibility(Lifecycle.Read) + version?: string; + + /** + * Host OS supported by the IoT addon. + */ + @visibility(Lifecycle.Read) + hostPlatform?: PlatformType; + + /** + * Platform where the runtime is hosted. + */ + @visibility(Lifecycle.Read) + hostPlatformType?: HostPlatformType; + + /** + * Addon Provisioning State + */ + @visibility(Lifecycle.Read) + provisioningState?: AddonState; +} + +/** + * Metadata of IoT device/IoT Edge device to be configured. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model IoTDeviceInfo { + /** + * ID of the IoT device/edge device. + */ + deviceId: string; + + /** + * Host name for the IoT hub associated to the device. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + ioTHostHub: string; + + /** + * Id for the IoT hub associated to the device. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + ioTHostHubId?: string; + + /** + * Encrypted IoT device/IoT edge device connection string. + */ + authentication?: Authentication; +} + +/** + * IoT edge agent details is optional, this will be used for download system Agent module while bootstrapping IoT Role if specified. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model IoTEdgeAgentInfo { + /** + * Name of the IoT edge agent image. + */ + imageName: string; + + /** + * Image Tag. + */ + tag: string; + + /** + * Image repository details. + */ + imageRepository?: ImageRepositoryCredential; +} + +/** + * Compute role. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model IoTRole extends Role { + /** + * Properties specific to IoT role. + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + properties?: IoTRoleProperties; + + /** + * Role type. + */ + kind: RoleTypes.IOT; +} + +/** + * IoT role properties. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model IoTRoleProperties { + /** + * Host OS supported by the IoT role. + */ + hostPlatform: PlatformType; + + /** + * IoT device metadata to which data box edge device needs to be connected. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + ioTDeviceDetails: IoTDeviceInfo; + + /** + * IoT edge device to which the IoT role needs to be configured. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + ioTEdgeDeviceDetails: IoTDeviceInfo; + + /** + * Mount points of shares in role(s). + */ + @Azure.ResourceManager.identifiers(#["shareId"]) + shareMappings?: MountPointMap[]; + + /** + * Iot edge agent details to download the agent and bootstrap iot runtime. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + ioTEdgeAgentInfo?: IoTEdgeAgentInfo; + + /** + * Platform where the Iot runtime is hosted. + */ + @visibility(Lifecycle.Read) + hostPlatformType?: HostPlatformType; + + /** + * Resource allocation + */ + computeResource?: ComputeResource; + + /** + * Role status. + */ + roleStatus: RoleStatus; +} + +/** + * Kubernetes cluster configuration + */ +model KubernetesClusterInfo { + /** + * Etcd configuration + */ + @visibility(Lifecycle.Read) + etcdInfo?: EtcdInfo; + + /** + * Kubernetes cluster nodes + */ + @visibility(Lifecycle.Read) + @Azure.ResourceManager.identifiers(#["name", "type"]) + nodes?: NodeInfo[]; + + /** + * Kubernetes cluster version + */ + version: string; +} + +/** + * Kubernetes node info + */ +model NodeInfo { + /** + * Node name. + */ + @visibility(Lifecycle.Read) + name?: string; + + /** + * Node type - Master/Worker + */ + @visibility(Lifecycle.Read) + type?: KubernetesNodeType; + + /** + * IP Configuration of the Kubernetes node. + */ + @Azure.ResourceManager.identifiers(#["ipAddress", "port"]) + ipConfiguration?: KubernetesIPConfiguration[]; +} + +/** + * Kubernetes node IP configuration + */ +model KubernetesIPConfiguration { + /** + * Port of the Kubernetes node. + */ + @visibility(Lifecycle.Read) + port?: string; + + /** + * IP address of the Kubernetes node. + */ + ipAddress?: string; +} + +/** + * The limited preview of Kubernetes Cluster Management from the Azure supports: + * 1. Using a simple turn-key option in Azure Portal, deploy a Kubernetes cluster on your Azure Stack Edge device. + * 2. Configure Kubernetes cluster running on your device with Arc enabled Kubernetes with a click of a button in the Azure Portal. + * Azure Arc enables organizations to view, manage, and govern their on-premises Kubernetes clusters using the Azure Portal, command line tools, and APIs. + * 3. Easily configure Persistent Volumes using SMB and NFS shares for storing container data. + * For more information, refer to the document here: https://databoxupdatepackages.blob.core.windows.net/documentation/Microsoft-Azure-Stack-Edge-K8-Cloud-Management-20210323.pdf + * Or Demo: https://databoxupdatepackages.blob.core.windows.net/documentation/Microsoft-Azure-Stack-Edge-K8S-Cloud-Management-20210323.mp4 + * By using this feature, you agree to the preview legal terms. See the https://azure.microsoft.com/en-us/support/legal/preview-supplemental-terms/ + */ +model KubernetesRole extends Role { + /** + * Properties specific to Kubernetes role. + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + properties?: KubernetesRoleProperties; + + /** + * Role type. + */ + kind: RoleTypes.Kubernetes; +} + +/** + * Kubernetes role properties. + */ +model KubernetesRoleProperties { + /** + * Host OS supported by the Kubernetes role. + */ + hostPlatform: PlatformType; + + /** + * State of Kubernetes deployment + */ + @visibility(Lifecycle.Read) + provisioningState?: KubernetesState; + + /** + * Platform where the runtime is hosted. + */ + @visibility(Lifecycle.Read) + hostPlatformType?: HostPlatformType; + + /** + * Kubernetes cluster configuration + */ + kubernetesClusterInfo: KubernetesClusterInfo; + + /** + * Kubernetes role resources + */ + kubernetesRoleResources: KubernetesRoleResources; + + /** + * Role status. + */ + roleStatus: RoleStatus; +} + +/** + * Kubernetes role resources + */ +model KubernetesRoleResources { + /** + * Kubernetes role storage resource + */ + storage?: KubernetesRoleStorage; + + /** + * Kubernetes role compute resource + */ + compute: KubernetesRoleCompute; + + /** + * Kubernetes role network resource + */ + @visibility(Lifecycle.Read) + network?: KubernetesRoleNetwork; +} + +/** + * Kubernetes role storage resource + */ +model KubernetesRoleStorage { + /** + * Kubernetes storage class info. + */ + @visibility(Lifecycle.Read) + @Azure.ResourceManager.identifiers(#["name", "type"]) + storageClasses?: KubernetesRoleStorageClassInfo[]; + + /** + * Mount points of shares in role(s). + */ + @Azure.ResourceManager.identifiers(#["shareId"]) + endpoints?: MountPointMap[]; +} + +/** + * Kubernetes storage class info. + */ +model KubernetesRoleStorageClassInfo { + /** + * Storage class name. + */ + @visibility(Lifecycle.Read) + name?: string; + + /** + * Storage class type. + */ + @visibility(Lifecycle.Read) + type?: string; + + /** + * If provisioned storage is posix compliant. + */ + @visibility(Lifecycle.Read) + posixCompliant?: PosixComplianceStatus; +} + +/** + * Kubernetes role compute resource + */ +model KubernetesRoleCompute { + /** + * VM profile + */ + vmProfile: string; + + /** + * Memory in bytes + */ + @visibility(Lifecycle.Read) + memoryInBytes?: int64; + + /** + * Processor count + */ + @visibility(Lifecycle.Read) + processorCount?: int32; +} + +/** + * Kubernetes role network resource + */ +model KubernetesRoleNetwork { + /** + * Cni configuration + */ + @visibility(Lifecycle.Read) + cniConfig?: CniConfig; + + /** + * Load balancer configuration + */ + @visibility(Lifecycle.Read) + loadBalancerConfig?: LoadBalancerConfig; +} + +/** + * Load balancer configuration + */ +model LoadBalancerConfig { + /** + * Load balancer type + */ + @visibility(Lifecycle.Read) + type?: string; + + /** + * Load balancer version + */ + @visibility(Lifecycle.Read) + version?: string; + + /** + * Load balancer ipconfig + */ + ipRange?: string[]; +} + +/** + * MEC role. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model MECRole extends Role { + /** + * Properties specific to MEC role. + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + properties?: MECRoleProperties; + + /** + * Role type. + */ + kind: RoleTypes.MEC; +} + +/** + * MEC role properties. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model MECRoleProperties { + /** + * Activation key of the MEC. + */ + connectionString?: AsymmetricEncryptedSecret; + + /** + * Controller Endpoint. + */ + controllerEndpoint?: string; + + /** + * Unique Id of the Resource. + */ + resourceUniqueId?: string; + + /** + * Role status. + */ + roleStatus: RoleStatus; +} + +/** + * Trigger details. + */ +model PeriodicTimerEventTrigger extends Trigger { + /** + * Periodic timer trigger properties. + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + properties: PeriodicTimerProperties; + + /** + * Trigger Kind. + */ + kind: TriggerEventType.PeriodicTimerEvent; +} + +/** + * Periodic timer trigger properties. + */ +model PeriodicTimerProperties { + /** + * Periodic timer details. + */ + sourceInfo: PeriodicTimerSourceInfo; + + /** + * Role Sink information. + */ + sinkInfo: RoleSinkInfo; + + /** + * A custom context tag typically used to correlate the trigger against its usage. For example, if a periodic timer trigger is intended for certain specific IoT modules in the device, the tag can be the name or the image URL of the module. + */ + @maxLength(192) + customContextTag?: string; +} + +/** + * Periodic timer event source. + */ +model PeriodicTimerSourceInfo { + /** + * The time of the day that results in a valid trigger. Schedule is computed with reference to the time specified upto seconds. If timezone is not specified the time will considered to be in device timezone. The value will always be returned as UTC time. + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + startTime: utcDateTime; + + /** + * Periodic frequency at which timer event needs to be raised. Supports daily, hourly, minutes, and seconds. + */ + schedule: string; + + /** + * Topic where periodic events are published to IoT device. + */ + topic?: string; +} + +/** + * The list of operations supported by Microsoft.DataBoxEdge resource provider. + */ +model OperationsList { + /** + * The list of operations. + */ + @Azure.ResourceManager.identifiers(#["name"]) + @pageItems + value: Operation[]; + + /** + * The URL to get the next page of operations. + */ + @nextLink + nextLink?: url; +} + +@@visibility(Azure.Core.Page.value, Lifecycle.Read); diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/routes.tsp b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/routes.tsp new file mode 100644 index 000000000000..a8b8c4ee58a2 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/routes.tsp @@ -0,0 +1,31 @@ +// FIXME: Operations in this file are not detected as a resource operation, please confirm the conversion result manually + +import "@azure-tools/typespec-azure-core"; +import "@typespec/rest"; +import "./models.tsp"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; + +using TypeSpec.Rest; +using TypeSpec.Http; +using Azure.ResourceManager; +using TypeSpec.OpenAPI; + +namespace Microsoft.DataBoxEdge; + +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +interface AvailableSkusOperationGroup { + /** + * List all the available Skus and information related to them. + */ + @summary("List all the available Skus and information related to them.") + @autoRoute + @get + @action("availableSkus") + @list + list is ArmProviderActionSync< + Response = DataBoxEdgeSkuList, + Scope = SubscriptionActionScope, + Error = CloudError + >; +} diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/databoxedge.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/databoxedge.json index 7e3d6d4be18f..ebb361575e7b 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/databoxedge.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/databoxedge.json @@ -1,108 +1,195 @@ { "swagger": "2.0", "info": { + "title": "DataBoxEdgeManagementClient", "version": "2023-12-01", - "title": "DataBoxEdgeManagementClient" + "x-typespec-generated": [ + { + "emitter": "@azure-tools/typespec-autorest" + } + ] }, - "host": "management.azure.com", "schemes": [ "https" ], - "consumes": [ + "host": "management.azure.com", + "produces": [ "application/json" ], - "produces": [ + "consumes": [ "application/json" ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "description": "Azure Active Directory OAuth2 Flow.", + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "tags": [ + { + "name": "Operations" + }, + { + "name": "Devices" + }, + { + "name": "DataBoxEdgeDevices" + }, + { + "name": "UpdateSummaries" + }, + { + "name": "Alerts" + }, + { + "name": "BandwidthSchedules" + }, + { + "name": "DeviceCapacityInfos" + }, + { + "name": "DiagnosticSettings" + }, + { + "name": "DiagnosticRemoteSupportSettingsOperationGroup" + }, + { + "name": "Jobs" + }, + { + "name": "OperationsStatus" + }, + { + "name": "Orders" + }, + { + "name": "Roles" + }, + { + "name": "Addons" + }, + { + "name": "MonitoringMetricConfigurations" + }, + { + "name": "Shares" + }, + { + "name": "StorageAccountCredentials" + }, + { + "name": "StorageAccounts" + }, + { + "name": "Containers" + }, + { + "name": "Triggers" + }, + { + "name": "Users" + } + ], "paths": { "/providers/Microsoft.DataBoxEdge/operations": { "get": { + "operationId": "Operations_List", "tags": [ "Operations" ], "summary": "List all the supported operations.", - "operationId": "Operations_List", + "description": "List the operations for the provider", "parameters": [ { - "$ref": "#/parameters/apiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" } ], "responses": { "200": { - "description": "List of supported operations.", + "description": "The request has succeeded.", "schema": { "$ref": "#/definitions/OperationsList" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { "OperationsGet": { "$ref": "./examples/OperationsGet.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, "/subscriptions/{subscriptionId}/providers/Microsoft.DataBoxEdge/availableSkus": { "get": { - "tags": [ - "AvailableSkus" - ], - "summary": "List all the available Skus and information related to them.", "operationId": "AvailableSkus_List", + "summary": "List all the available Skus and information related to them.", + "description": "List all the available Skus and information related to them.", "parameters": [ { - "$ref": "#/parameters/subscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/apiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" } ], "responses": { "200": { - "description": "Lists the available Skus and information related to them.", + "description": "The request has succeeded.", "schema": { "$ref": "#/definitions/DataBoxEdgeSkuList" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { "AvailableSkus": { "$ref": "./examples/AvailableSkusList.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, "/subscriptions/{subscriptionId}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices": { "get": { + "operationId": "Devices_ListBySubscription", "tags": [ - "Devices" + "DataBoxEdgeDevices" ], "description": "Gets all the Data Box Edge/Data Box Gateway devices in a subscription.", - "operationId": "Devices_ListBySubscription", "parameters": [ { - "$ref": "#/parameters/subscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/apiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { "name": "$expand", @@ -114,44 +201,44 @@ ], "responses": { "200": { - "description": "The collection of Data Box Edge/Data Box Gateway devices.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/DataBoxEdgeDeviceList" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { "DataBoxEdgeDeviceGetBySubscription": { "$ref": "./examples/DataBoxEdgeDeviceGetBySubscription.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices": { "get": { + "operationId": "Devices_ListByResourceGroup", "tags": [ - "Devices" + "DataBoxEdgeDevices" ], "description": "Gets all the Data Box Edge/Data Box Gateway devices in a resource group.", - "operationId": "Devices_ListByResourceGroup", "parameters": [ { - "$ref": "#/parameters/subscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/resourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/apiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "$expand", @@ -163,62 +250,62 @@ ], "responses": { "200": { - "description": "The collection of Data Box Edge/Data Box Gateway devices.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/DataBoxEdgeDeviceList" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { "DataBoxEdgeDeviceGetByResourceGroup": { "$ref": "./examples/DataBoxEdgeDeviceGetByResourceGroup.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}": { "get": { + "operationId": "Devices_Get", "tags": [ - "Devices" + "DataBoxEdgeDevices" ], "description": "Gets the properties of the Data Box Edge/Data Box Gateway device.", - "operationId": "Devices_Get", "parameters": [ { - "name": "deviceName", - "in": "path", - "description": "The device name.", - "required": true, - "type": "string" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/subscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/resourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/apiVersionParameter" + "name": "deviceName", + "in": "path", + "description": "The device name.", + "required": true, + "type": "string" } ], "responses": { "200": { - "description": "The Data Box Edge/Data Box Gateway device.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/DataBoxEdgeDevice" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } @@ -234,12 +321,21 @@ } }, "put": { + "operationId": "Devices_CreateOrUpdate", "tags": [ - "Devices" + "DataBoxEdgeDevices" ], "description": "Creates or updates a Data Box Edge/Data Box Gateway resource.", - "operationId": "Devices_CreateOrUpdate", "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, { "name": "deviceName", "in": "path", @@ -255,26 +351,17 @@ "schema": { "$ref": "#/definitions/DataBoxEdgeDevice" } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" } ], "responses": { "200": { - "description": "Successfully created or updated the resource.", + "description": "Resource 'DataBoxEdgeDevice' update operation succeeded", "schema": { "$ref": "#/definitions/DataBoxEdgeDevice" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } @@ -289,13 +376,22 @@ } } }, - "delete": { + "patch": { + "operationId": "Devices_Update", "tags": [ - "Devices" + "DataBoxEdgeDevices" ], - "description": "Deletes the Data Box Edge/Data Box Gateway device.", - "operationId": "Devices_Delete", + "description": "Modifies a Data Box Edge/Data Box Gateway resource.", "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, { "name": "deviceName", "in": "path", @@ -304,150 +400,165 @@ "type": "string" }, { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" + "name": "parameters", + "in": "body", + "description": "The resource parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/DataBoxEdgeDevicePatch" + } } ], "responses": { "200": { - "description": "Successfully deleted the resource." - }, - "202": { - "description": "Accepted the request to delete the resource." - }, - "204": { - "description": "The resource is already deleted." + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DataBoxEdgeDevice" + } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, - "x-ms-long-running-operation": true, "x-ms-examples": { - "DataBoxEdgeDeviceDelete": { - "$ref": "./examples/DataBoxEdgeDeviceDelete.json" + "DataBoxEdgeDevicePatch": { + "$ref": "./examples/DataBoxEdgeDevicePatch.json" } } }, - "patch": { + "delete": { + "operationId": "Devices_Delete", "tags": [ - "Devices" + "DataBoxEdgeDevices" ], - "description": "Modifies a Data Box Edge/Data Box Gateway resource.", - "operationId": "Devices_Update", + "description": "Deletes the Data Box Edge/Data Box Gateway device.", "parameters": [ { - "name": "deviceName", - "in": "path", - "description": "The device name.", - "required": true, - "type": "string" - }, - { - "name": "parameters", - "in": "body", - "description": "The resource parameters.", - "required": true, - "schema": { - "$ref": "#/definitions/DataBoxEdgeDevicePatch" - } + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/subscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/resourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/apiVersionParameter" + "name": "deviceName", + "in": "path", + "description": "The device name.", + "required": true, + "type": "string" } ], "responses": { "200": { - "description": "Successfully updated the resource.", - "schema": { - "$ref": "#/definitions/DataBoxEdgeDevice" + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } } }, + "204": { + "description": "Resource does not exist." + }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, "x-ms-examples": { - "DataBoxEdgeDevicePatch": { - "$ref": "./examples/DataBoxEdgeDevicePatch.json" + "DataBoxEdgeDeviceDelete": { + "$ref": "./examples/DataBoxEdgeDeviceDelete.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/alerts": { "get": { + "operationId": "Alerts_ListByDataBoxEdgeDevice", "tags": [ "Alerts" ], "description": "Gets all the alerts for a Data Box Edge/Data Box Gateway device.", - "operationId": "Alerts_ListByDataBoxEdgeDevice", "parameters": [ { - "name": "deviceName", - "in": "path", - "description": "The device name.", - "required": true, - "type": "string" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/subscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/resourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/apiVersionParameter" + "name": "deviceName", + "in": "path", + "description": "The device name.", + "required": true, + "type": "string" } ], "responses": { "200": { - "description": "The collection of alerts.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/AlertList" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { "AlertGetAllInDevice": { "$ref": "./examples/AlertGetAllInDevice.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/alerts/{name}": { "get": { + "operationId": "Alerts_Get", "tags": [ "Alerts" ], "summary": "Gets an alert by name.", - "operationId": "Alerts_Get", + "description": "Gets an alert by name.", "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, { "name": "deviceName", "in": "path", @@ -461,26 +572,17 @@ "description": "The alert name.", "required": true, "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" } ], "responses": { "200": { - "description": "The alert details.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/Alert" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } @@ -495,61 +597,70 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/bandwidthSchedules": { "get": { + "operationId": "BandwidthSchedules_ListByDataBoxEdgeDevice", "tags": [ "BandwidthSchedules" ], "description": "Gets all the bandwidth schedules for a Data Box Edge/Data Box Gateway device.", - "operationId": "BandwidthSchedules_ListByDataBoxEdgeDevice", "parameters": [ { - "name": "deviceName", - "in": "path", - "description": "The device name.", - "required": true, - "type": "string" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/subscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/resourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/apiVersionParameter" + "name": "deviceName", + "in": "path", + "description": "The device name.", + "required": true, + "type": "string" } ], "responses": { "200": { - "description": "The collection of bandwidth schedules.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/BandwidthSchedulesList" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { "BandwidthScheduleGetAllInDevice": { "$ref": "./examples/BandwidthScheduleGetAllInDevice.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/bandwidthSchedules/{name}": { "get": { + "operationId": "BandwidthSchedules_Get", "tags": [ "BandwidthSchedules" ], "description": "Gets the properties of the specified bandwidth schedule.", - "operationId": "BandwidthSchedules_Get", "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, { "name": "deviceName", "in": "path", @@ -563,26 +674,17 @@ "description": "The bandwidth schedule name.", "required": true, "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" } ], "responses": { "200": { - "description": "The bandwidth schedule.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/BandwidthSchedule" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } @@ -595,12 +697,21 @@ } }, "put": { + "operationId": "BandwidthSchedules_CreateOrUpdate", "tags": [ "BandwidthSchedules" ], "description": "Creates or updates a bandwidth schedule.", - "operationId": "BandwidthSchedules_CreateOrUpdate", "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, { "name": "deviceName", "in": "path", @@ -611,7 +722,7 @@ { "name": "name", "in": "path", - "description": "The bandwidth schedule name which needs to be added/updated.", + "description": "The bandwidth schedule name.", "required": true, "type": "string" }, @@ -623,48 +734,63 @@ "schema": { "$ref": "#/definitions/BandwidthSchedule" } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" } ], "responses": { "200": { - "description": "Successfully created or updated the bandwidth schedule.", + "description": "Resource 'BandwidthSchedule' update operation succeeded", "schema": { "$ref": "#/definitions/BandwidthSchedule" } }, "202": { - "description": "Accepted the request to create or update the bandwidth schedule." + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, - "x-ms-long-running-operation": true, "x-ms-examples": { "BandwidthSchedulePut": { "$ref": "./examples/BandwidthSchedulePut.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/BandwidthSchedule" + }, + "x-ms-long-running-operation": true }, "delete": { + "operationId": "BandwidthSchedules_Delete", "tags": [ "BandwidthSchedules" ], "description": "Deletes the specified bandwidth schedule.", - "operationId": "BandwidthSchedules_Delete", "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, { "name": "deviceName", "in": "path", @@ -678,58 +804,63 @@ "description": "The bandwidth schedule name.", "required": true, "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" } ], "responses": { "200": { - "description": "Success" + "description": "Resource deleted successfully." }, "202": { - "description": "Accepted the request to delete the bandwidth schedule." + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } }, "204": { - "description": "Successfully deleted the bandwidth schedule." + "description": "Resource does not exist." }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, - "x-ms-long-running-operation": true, "x-ms-examples": { "BandwidthScheduleDelete": { "$ref": "./examples/BandwidthScheduleDelete.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/deviceCapacityCheck": { "post": { + "operationId": "DeviceCapacityCheck_CheckResourceCreationFeasibility", "tags": [ - "DeviceCapacityCheck" + "DataBoxEdgeDevices" ], "description": "Posts the device capacity request info to check feasibility.", - "operationId": "DeviceCapacityCheck_CheckResourceCreationFeasibility", "parameters": [ { - "$ref": "#/parameters/subscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/resourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/apiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "deviceName", @@ -738,6 +869,13 @@ "required": true, "type": "string" }, + { + "name": "capacityName", + "in": "query", + "description": "The capacity name.", + "required": false, + "type": "string" + }, { "name": "deviceCapacityRequestInfo", "in": "body", @@ -746,56 +884,60 @@ "schema": { "$ref": "#/definitions/DeviceCapacityRequestInfo" } - }, - { - "name": "capacityName", - "in": "query", - "description": "The capacity name.", - "required": false, - "type": "string" } ], "responses": { - "202": { - "description": "Accepted the request to check the feasibility of resource creation." - }, "200": { - "description": "Successfully checked the feasibility of resource creation." + "description": "The request has succeeded." + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { "DeviceCapacityRequestPost": { "$ref": "./examples/DeviceCapacityRequestPost.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/deviceCapacityInfo/default": { "get": { + "operationId": "DeviceCapacityInfo_GetDeviceCapacityInfo", "tags": [ - "DeviceCapacityInfo" + "DeviceCapacityInfos" ], "description": "Gets the properties of the specified device capacity info.", - "operationId": "DeviceCapacityInfo_GetDeviceCapacityInfo", "parameters": [ { - "$ref": "#/parameters/subscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/resourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/apiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "deviceName", @@ -807,13 +949,13 @@ ], "responses": { "200": { - "description": "The device capacity info result.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/DeviceCapacityInfo" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } @@ -828,38 +970,38 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/diagnosticProactiveLogCollectionSettings/default": { "get": { + "operationId": "DiagnosticSettings_GetDiagnosticProactiveLogCollectionSettings", "tags": [ "DiagnosticSettings" ], "description": "Gets the proactive log collection settings of the specified Data Box Edge/Data Box Gateway device.", - "operationId": "DiagnosticSettings_GetDiagnosticProactiveLogCollectionSettings", "parameters": [ { - "name": "deviceName", - "in": "path", - "description": "The device name.", - "required": true, - "type": "string" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/subscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/resourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/apiVersionParameter" + "name": "deviceName", + "in": "path", + "description": "The device name.", + "required": true, + "type": "string" } ], "responses": { "200": { - "description": "The diagnostic proactive log collection settings.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/DiagnosticProactiveLogCollectionSettings" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } @@ -872,12 +1014,21 @@ } }, "put": { + "operationId": "DiagnosticSettings_UpdateDiagnosticProactiveLogCollectionSettings", "tags": [ "DiagnosticSettings" ], "description": "Updates the proactive log collection settings on a Data Box Edge/Data Box Gateway device.", - "operationId": "DiagnosticSettings_UpdateDiagnosticProactiveLogCollectionSettings", "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, { "name": "deviceName", "in": "path", @@ -893,76 +1044,82 @@ "schema": { "$ref": "#/definitions/DiagnosticProactiveLogCollectionSettings" } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" } ], "responses": { "200": { - "description": "Successfully updated the proactive log collection settings.", + "description": "Resource 'DiagnosticProactiveLogCollectionSettings' update operation succeeded", "schema": { "$ref": "#/definitions/DiagnosticProactiveLogCollectionSettings" } }, "202": { - "description": "Accepted the request to update the proactive log collection settings." + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, - "x-ms-long-running-operation": true, "x-ms-examples": { "UpdateDiagnosticProactiveLogCollectionSettings": { "$ref": "./examples/UpdateDiagnosticProactiveLogCollectionSettings.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/DiagnosticProactiveLogCollectionSettings" + }, + "x-ms-long-running-operation": true } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/diagnosticRemoteSupportSettings/default": { "get": { + "operationId": "DiagnosticSettings_GetDiagnosticRemoteSupportSettings", "tags": [ - "DiagnosticSettings" + "DiagnosticRemoteSupportSettingsOperationGroup" ], "description": "Gets the diagnostic remote support settings of the specified Data Box Edge/Data Box Gateway device.", - "operationId": "DiagnosticSettings_GetDiagnosticRemoteSupportSettings", "parameters": [ { - "name": "deviceName", - "in": "path", - "description": "The device name.", - "required": true, - "type": "string" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/subscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/resourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/apiVersionParameter" + "name": "deviceName", + "in": "path", + "description": "The device name.", + "required": true, + "type": "string" } ], "responses": { "200": { - "description": "The diagnostic remote support settings.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/DiagnosticRemoteSupportSettings" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } @@ -975,12 +1132,21 @@ } }, "put": { + "operationId": "DiagnosticSettings_UpdateDiagnosticRemoteSupportSettings", "tags": [ - "DiagnosticSettings" + "DiagnosticRemoteSupportSettingsOperationGroup" ], "description": "Updates the diagnostic remote support settings on a Data Box Edge/Data Box Gateway device.", - "operationId": "DiagnosticSettings_UpdateDiagnosticRemoteSupportSettings", "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, { "name": "deviceName", "in": "path", @@ -996,123 +1162,144 @@ "schema": { "$ref": "#/definitions/DiagnosticRemoteSupportSettings" } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" } ], "responses": { - "202": { - "description": "Accepted the request to update the diagnostic remote support settings." - }, "200": { - "description": "Successfully updated the diagnostic remote support settings.", + "description": "Resource 'DiagnosticRemoteSupportSettings' update operation succeeded", "schema": { "$ref": "#/definitions/DiagnosticRemoteSupportSettings" } }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, - "x-ms-long-running-operation": true, "x-ms-examples": { "UpdateDiagnosticRemoteSupportSettings": { "$ref": "./examples/UpdateDiagnosticRemoteSupportSettings.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/DiagnosticRemoteSupportSettings" + }, + "x-ms-long-running-operation": true } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/downloadUpdates": { "post": { + "operationId": "Devices_DownloadUpdates", "tags": [ - "Devices" + "DataBoxEdgeDevices" ], "summary": "Downloads the updates on a Data Box Edge/Data Box Gateway device.", - "operationId": "Devices_DownloadUpdates", + "description": "Downloads the updates on a Data Box Edge/Data Box Gateway device.", "parameters": [ { - "name": "deviceName", - "in": "path", - "description": "The device name.", - "required": true, - "type": "string" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/subscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/resourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/apiVersionParameter" + "name": "deviceName", + "in": "path", + "description": "The device name.", + "required": true, + "type": "string" } ], "responses": { "200": { - "description": "Successfully downloaded the updates on the device." + "description": "The request has succeeded." }, "202": { - "description": "Accepted the request to download the updates on the device." + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, - "x-ms-long-running-operation": true, "x-ms-examples": { "DownloadUpdatesPost": { "$ref": "./examples/DownloadUpdatesPost.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/generateCertificate": { "post": { + "operationId": "Devices_GenerateCertificate", "tags": [ - "Devices" + "DataBoxEdgeDevices" ], "description": "Generates certificate for activation key.", - "operationId": "Devices_GenerateCertificate", "parameters": [ { - "name": "deviceName", - "in": "path", - "description": "The device name.", - "required": true, - "type": "string" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/subscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/resourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/apiVersionParameter" + "name": "deviceName", + "in": "path", + "description": "The device name.", + "required": true, + "type": "string" } ], "responses": { "200": { - "description": "Successfully generated self signed certificate.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/GenerateCertResponse" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } @@ -1127,38 +1314,38 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/getExtendedInformation": { "post": { + "operationId": "Devices_GetExtendedInformation", "tags": [ - "Devices" + "DataBoxEdgeDevices" ], "description": "Gets additional information for the specified Azure Stack Edge/Data Box Gateway device.", - "operationId": "Devices_GetExtendedInformation", "parameters": [ { - "name": "deviceName", - "in": "path", - "description": "The device name.", - "required": true, - "type": "string" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/subscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/resourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/apiVersionParameter" + "name": "deviceName", + "in": "path", + "description": "The device name.", + "required": true, + "type": "string" } ], "responses": { "200": { - "description": "The additional information.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/DataBoxEdgeDeviceExtendedInfo" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } @@ -1173,59 +1360,84 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/installUpdates": { "post": { + "operationId": "Devices_InstallUpdates", "tags": [ - "Devices" + "DataBoxEdgeDevices" ], "summary": "Installs the updates on the Data Box Edge/Data Box Gateway device.", - "operationId": "Devices_InstallUpdates", + "description": "Installs the updates on the Data Box Edge/Data Box Gateway device.", "parameters": [ { - "name": "deviceName", - "in": "path", - "description": "The device name.", - "required": true, - "type": "string" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/subscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/resourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/apiVersionParameter" + "name": "deviceName", + "in": "path", + "description": "The device name.", + "required": true, + "type": "string" } ], "responses": { "200": { - "description": "Successfully installed updates on the device." + "description": "The request has succeeded." }, "202": { - "description": "Accepted the request to install updates on the device." + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, - "x-ms-long-running-operation": true, "x-ms-examples": { "InstallUpdatesPost": { "$ref": "./examples/InstallUpdatesPost.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/jobs/{name}": { "get": { + "operationId": "Jobs_Get", "tags": [ "Jobs" ], "summary": "Gets the details of a specified job on a Data Box Edge/Data Box Gateway device.", - "operationId": "Jobs_Get", + "description": "Gets the details of a specified job on a Data Box Edge/Data Box Gateway device.", "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, { "name": "deviceName", "in": "path", @@ -1239,26 +1451,17 @@ "description": "The job name.", "required": true, "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" } ], "responses": { "200": { - "description": "The job details.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/Job" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } @@ -1273,38 +1476,38 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/networkSettings/default": { "get": { + "operationId": "Devices_GetNetworkSettings", "tags": [ "Devices" ], "description": "Gets the network settings of the specified Data Box Edge/Data Box Gateway device.", - "operationId": "Devices_GetNetworkSettings", "parameters": [ { - "name": "deviceName", - "in": "path", - "description": "The device name.", - "required": true, - "type": "string" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/subscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/resourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/apiVersionParameter" + "name": "deviceName", + "in": "path", + "description": "The device name.", + "required": true, + "type": "string" } ], "responses": { "200": { - "description": "The device network settings.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/NetworkSettings" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } @@ -1319,61 +1522,71 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/nodes": { "get": { + "operationId": "Nodes_ListByDataBoxEdgeDevice", "tags": [ - "Nodes" + "DataBoxEdgeDevices" ], "description": "Gets all the nodes currently configured under this Data Box Edge device", - "operationId": "Nodes_ListByDataBoxEdgeDevice", "parameters": [ { - "name": "deviceName", - "in": "path", - "description": "The device name.", - "required": true, - "type": "string" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/subscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/resourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/apiVersionParameter" + "name": "deviceName", + "in": "path", + "description": "The device name.", + "required": true, + "type": "string" } ], "responses": { "200": { - "description": "The collection of all nodes on the device.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/NodeList" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { "NodesGetAllInDevice": { "$ref": "./examples/NodeGetAllInDevice.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/operationsStatus/{name}": { "get": { + "operationId": "OperationsStatus_Get", "tags": [ "OperationsStatus" ], "summary": "Gets the details of a specified job on a Data Box Edge/Data Box Gateway device.", - "operationId": "OperationsStatus_Get", + "description": "Gets the details of a specified job on a Data Box Edge/Data Box Gateway device.", "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, { "name": "deviceName", "in": "path", @@ -1387,26 +1600,17 @@ "description": "The job name.", "required": true, "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" } ], "responses": { "200": { - "description": "The job details.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/Job" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } @@ -1421,87 +1625,89 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/orders": { "get": { + "operationId": "Orders_ListByDataBoxEdgeDevice", "tags": [ "Orders" ], "summary": "Lists all the orders related to a Data Box Edge/Data Box Gateway device.", - "operationId": "Orders_ListByDataBoxEdgeDevice", + "description": "Lists all the orders related to a Data Box Edge/Data Box Gateway device.", "parameters": [ { - "name": "deviceName", - "in": "path", - "description": "The device name.", - "required": true, - "type": "string" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/subscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/resourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/apiVersionParameter" + "name": "deviceName", + "in": "path", + "description": "The device name.", + "required": true, + "type": "string" } ], "responses": { "200": { - "description": "Lists all the orders for the Data Box Edge Device", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/OrderList" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { "OrderGetAllInDevice": { "$ref": "./examples/OrderGetAllInDevice.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/orders/default": { "get": { + "operationId": "Orders_Get", "tags": [ "Orders" ], "summary": "Gets a specific order by name.", - "operationId": "Orders_Get", + "description": "Gets a specific order by name.", "parameters": [ { - "name": "deviceName", - "in": "path", - "description": "The device name.", - "required": true, - "type": "string" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/subscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/resourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/apiVersionParameter" + "name": "deviceName", + "in": "path", + "description": "The device name.", + "required": true, + "type": "string" } ], "responses": { "200": { - "description": "The order details of a device.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/Order" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } @@ -1514,16 +1720,26 @@ } }, "put": { + "operationId": "Orders_CreateOrUpdate", "tags": [ "Orders" ], "summary": "Creates or updates an order.", - "operationId": "Orders_CreateOrUpdate", + "description": "Creates or updates an order.", "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, { "name": "deviceName", "in": "path", - "description": "The order details of a device.", + "description": "The device name.", "required": true, "type": "string" }, @@ -1535,124 +1751,146 @@ "schema": { "$ref": "#/definitions/Order" } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" } ], "responses": { "200": { - "description": "Successfully created or updated the order.", + "description": "Resource 'Order' update operation succeeded", "schema": { "$ref": "#/definitions/Order" } }, "202": { - "description": "Accepted the request to create or update the order." + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, - "x-ms-long-running-operation": true, "x-ms-examples": { "OrderPut": { "$ref": "./examples/OrderPut.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/Order" + }, + "x-ms-long-running-operation": true }, "delete": { + "operationId": "Orders_Delete", "tags": [ "Orders" ], "summary": "Deletes the order related to the device.", - "operationId": "Orders_Delete", + "description": "Deletes the order related to the device.", "parameters": [ { - "name": "deviceName", - "in": "path", - "description": "The device name.", - "required": true, - "type": "string" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/subscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/resourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/apiVersionParameter" + "name": "deviceName", + "in": "path", + "description": "The device name.", + "required": true, + "type": "string" } ], "responses": { "200": { - "description": "Successfully deleted the order." + "description": "Resource deleted successfully." }, "202": { - "description": "Accepted the request to delete the order." + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } }, "204": { - "description": "The order is already deleted." + "description": "Resource does not exist." }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, - "x-ms-long-running-operation": true, "x-ms-examples": { "OrderDelete": { "$ref": "./examples/OrderDelete.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/orders/default/listDCAccessCode": { "post": { + "operationId": "Orders_ListDCAccessCode", "tags": [ "Orders" ], "summary": "Gets the DCAccess Code", - "operationId": "Orders_ListDCAccessCode", + "description": "Gets the DCAccess Code", "parameters": [ { - "name": "deviceName", - "in": "path", - "description": "The device name", - "required": true, - "type": "string" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/subscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/resourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/apiVersionParameter" + "name": "deviceName", + "in": "path", + "description": "The device name.", + "required": true, + "type": "string" } ], "responses": { "200": { - "description": "DC Access code for the device", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/DCAccessCode" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } @@ -1667,61 +1905,70 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles": { "get": { + "operationId": "Roles_ListByDataBoxEdgeDevice", "tags": [ "Roles" ], "description": "Lists all the roles configured in a Data Box Edge/Data Box Gateway device.", - "operationId": "Roles_ListByDataBoxEdgeDevice", "parameters": [ { - "name": "deviceName", - "in": "path", - "description": "The device name.", - "required": true, - "type": "string" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/subscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/resourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/apiVersionParameter" + "name": "deviceName", + "in": "path", + "description": "The device name.", + "required": true, + "type": "string" } ], "responses": { "200": { - "description": "List of all the roles configured in the device.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/RoleList" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { "RoleGetAllInDevice": { "$ref": "./examples/RoleGetAllInDevice.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{name}": { "get": { + "operationId": "Roles_Get", "tags": [ "Roles" ], "description": "Gets a specific role by name.", - "operationId": "Roles_Get", "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, { "name": "deviceName", "in": "path", @@ -1735,26 +1982,17 @@ "description": "The role name.", "required": true, "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" } ], "responses": { "200": { - "description": "The role with the specified name in the given device.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/Role" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } @@ -1767,12 +2005,21 @@ } }, "put": { + "operationId": "Roles_CreateOrUpdate", "tags": [ "Roles" ], "description": "Create or update a role.", - "operationId": "Roles_CreateOrUpdate", "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, { "name": "deviceName", "in": "path", @@ -1795,48 +2042,63 @@ "schema": { "$ref": "#/definitions/Role" } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" } ], "responses": { "200": { - "description": "Successfully created or updated the role.", + "description": "Resource 'Role' update operation succeeded", "schema": { "$ref": "#/definitions/Role" } }, "202": { - "description": "Accepted the request to create or update the role." + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, - "x-ms-long-running-operation": true, "x-ms-examples": { "RolePut": { "$ref": "./examples/RolePut.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/Role" + }, + "x-ms-long-running-operation": true }, "delete": { + "operationId": "Roles_Delete", "tags": [ "Roles" ], "description": "Deletes the role on the device.", - "operationId": "Roles_Delete", "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, { "name": "deviceName", "in": "path", @@ -1850,146 +2112,151 @@ "description": "The role name.", "required": true, "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" } ], "responses": { "200": { - "description": "Successfully deleted the role." + "description": "Resource deleted successfully." }, "202": { - "description": "Accepted the request to delete the role." + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } }, "204": { - "description": "The role is already deleted." + "description": "Resource does not exist." }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, - "x-ms-long-running-operation": true, "x-ms-examples": { "RoleDelete": { "$ref": "./examples/RoleDelete.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{roleName}/addons": { "get": { + "operationId": "Addons_ListByRole", "tags": [ "Addons" ], "description": "Lists all the addons configured in the role.", - "operationId": "Addons_ListByRole", "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, { "name": "deviceName", "in": "path", - "description": "The device name.", + "description": "The name of the device.", "required": true, "type": "string" }, { "name": "roleName", "in": "path", - "description": "The role name.", + "description": "The name of the role.", "required": true, "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" } ], "responses": { "200": { - "description": "List of all the addons configured in the role.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/AddonList" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { "RoleListAddOns": { "$ref": "./examples/RoleListAddOns.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{roleName}/addons/{addonName}": { "get": { + "operationId": "Addons_Get", "tags": [ "Addons" ], "description": "Gets a specific addon by name.", - "operationId": "Addons_Get", "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, { "name": "deviceName", "in": "path", - "description": "The device name.", + "description": "The name of the device.", "required": true, "type": "string" }, { "name": "roleName", "in": "path", - "description": "The role name.", + "description": "The name of the role.", "required": true, "type": "string" }, { "name": "addonName", "in": "path", - "description": "The addon name.", + "description": "The name of the addon.", "required": true, "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" } ], "responses": { "200": { - "description": "The addon with the specified name in the role.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/Addon" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } @@ -2002,30 +2269,39 @@ } }, "put": { + "operationId": "Addons_CreateOrUpdate", "tags": [ "Addons" ], "description": "Create or update a addon.", - "operationId": "Addons_CreateOrUpdate", "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, { "name": "deviceName", "in": "path", - "description": "The device name.", + "description": "The name of the device.", "required": true, "type": "string" }, { "name": "roleName", "in": "path", - "description": "The role name.", + "description": "The name of the role.", "required": true, "type": "string" }, { "name": "addonName", "in": "path", - "description": "The addon name.", + "description": "The name of the addon.", "required": true, "type": "string" }, @@ -2037,201 +2313,223 @@ "schema": { "$ref": "#/definitions/Addon" } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" } ], "responses": { "200": { - "description": "Successfully created or updated the addon.", + "description": "Resource 'Addon' update operation succeeded", "schema": { "$ref": "#/definitions/Addon" } }, "202": { - "description": "Accepted the request to create or update the addon." + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, - "x-ms-long-running-operation": true, "x-ms-examples": { "PutAddOns": { "$ref": "./examples/PutAddons.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/Addon" + }, + "x-ms-long-running-operation": true }, "delete": { + "operationId": "Addons_Delete", "tags": [ "Addons" ], "description": "Deletes the addon on the device.", - "operationId": "Addons_Delete", "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, { "name": "deviceName", "in": "path", - "description": "The device name.", + "description": "The name of the device.", "required": true, "type": "string" }, { "name": "roleName", "in": "path", - "description": "The role name.", + "description": "The name of the role.", "required": true, "type": "string" }, { "name": "addonName", "in": "path", - "description": "The addon name.", + "description": "The name of the addon.", "required": true, "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" } ], "responses": { "200": { - "description": "Successfully deleted the addon." + "description": "Resource deleted successfully." }, "202": { - "description": "Accepted the request to delete the addon." + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } }, "204": { - "description": "The addon is already deleted." + "description": "Resource does not exist." }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, - "x-ms-long-running-operation": true, "x-ms-examples": { "DeleteAddOns": { "$ref": "./examples/DeleteAddons.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{roleName}/monitoringConfig": { "get": { + "operationId": "MonitoringConfig_List", "tags": [ - "MonitoringConfig" + "MonitoringMetricConfigurations" ], "summary": "Lists metric configurations in a role.", - "operationId": "MonitoringConfig_List", + "description": "Lists metric configurations in a role.", "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, { "name": "deviceName", "in": "path", - "description": "The device name.", + "description": "The name of the device.", "required": true, "type": "string" }, { "name": "roleName", "in": "path", - "description": "The role name.", + "description": "The name of the role.", "required": true, "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" } ], "responses": { "200": { - "description": "The monitoring config details.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/MonitoringMetricConfigurationList" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { "ListMonitoringConfig": { "$ref": "./examples/ListMonitoringConfig.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{roleName}/monitoringConfig/default": { "get": { + "operationId": "MonitoringConfig_Get", "tags": [ - "MonitoringConfig" + "MonitoringMetricConfigurations" ], "summary": "Gets a metric configuration of a role.", - "operationId": "MonitoringConfig_Get", + "description": "Gets a metric configuration of a role.", "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, { "name": "deviceName", "in": "path", - "description": "The device name.", + "description": "The name of the device.", "required": true, "type": "string" }, { "name": "roleName", "in": "path", - "description": "The role name.", + "description": "The name of the role.", "required": true, "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" } ], "responses": { "200": { - "description": "The monitoring config details.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/MonitoringMetricConfiguration" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } @@ -2244,23 +2542,33 @@ } }, "put": { + "operationId": "MonitoringConfig_CreateOrUpdate", "tags": [ - "MonitoringConfig" + "MonitoringMetricConfigurations" ], "summary": "Creates a new metric configuration or updates an existing one for a role.", - "operationId": "MonitoringConfig_CreateOrUpdate", + "description": "Creates a new metric configuration or updates an existing one for a role.", "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, { "name": "deviceName", "in": "path", - "description": "The device name.", + "description": "The name of the device.", "required": true, "type": "string" }, { "name": "roleName", "in": "path", - "description": "The role name.", + "description": "The name of the role.", "required": true, "type": "string" }, @@ -2272,152 +2580,196 @@ "schema": { "$ref": "#/definitions/MonitoringMetricConfiguration" } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" } ], "responses": { "200": { - "description": "Successfully created or updated the metrics configuration.", + "description": "Resource 'MonitoringMetricConfiguration' update operation succeeded", "schema": { "$ref": "#/definitions/MonitoringMetricConfiguration" } }, "202": { - "description": "Accepted the request to create or update the metrics configuration." + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, - "x-ms-long-running-operation": true, "x-ms-examples": { "PutMonitoringConfig": { "$ref": "./examples/PutMonitoringConfig.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/MonitoringMetricConfiguration" + }, + "x-ms-long-running-operation": true }, "delete": { + "operationId": "MonitoringConfig_Delete", "tags": [ - "MonitoringConfig" + "MonitoringMetricConfigurations" ], "summary": "deletes a new metric configuration for a role.", - "operationId": "MonitoringConfig_Delete", + "description": "deletes a new metric configuration for a role.", "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, { "name": "deviceName", "in": "path", - "description": "The device name.", + "description": "The name of the device.", "required": true, "type": "string" }, { "name": "roleName", "in": "path", - "description": "The role name.", + "description": "The name of the role.", "required": true, "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" } ], "responses": { "200": { - "description": "Successfully deleted the metrics configuration." + "description": "Resource deleted successfully." }, "202": { - "description": "Accepted the request to delete the metrics configuration." + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } }, "204": { - "description": "The metrics configuration is already deleted." + "description": "Resource does not exist." }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, - "x-ms-long-running-operation": true, "x-ms-examples": { "DeleteMonitoringConfig": { "$ref": "./examples/DeleteMonitoringConfig.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/scanForUpdates": { "post": { + "operationId": "Devices_ScanForUpdates", "tags": [ - "Devices" + "DataBoxEdgeDevices" ], - "summary": "Scans for updates on a Data Box Edge/Data Box Gateway device.", - "operationId": "Devices_ScanForUpdates", + "description": "Scans for updates on a Data Box Edge/Data Box Gateway device.", "parameters": [ { - "name": "deviceName", - "in": "path", - "description": "The device name.", - "required": true, - "type": "string" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/subscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/resourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/apiVersionParameter" + "name": "deviceName", + "in": "path", + "description": "The device name.", + "required": true, + "type": "string" } ], "responses": { "200": { - "description": "Successfully scanned the device for updates." + "description": "The request has succeeded." }, "202": { - "description": "Accepted the request to scan for updates on the device." + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, - "x-ms-long-running-operation": true, "x-ms-examples": { "ScanForUpdatesPost": { "$ref": "./examples/ScanForUpdatesPost.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/securitySettings/default/update": { "post": { + "operationId": "Devices_CreateOrUpdateSecuritySettings", "tags": [ - "Devices" + "DataBoxEdgeDevices" ], "description": "Updates the security settings on a Data Box Edge/Data Box Gateway device.", - "operationId": "Devices_CreateOrUpdateSecuritySettings", "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, { "name": "deviceName", "in": "path", @@ -2433,96 +2785,112 @@ "schema": { "$ref": "#/definitions/SecuritySettings" } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" } ], "responses": { "202": { - "description": "Accepted the request to update the security settings." + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } }, "204": { - "description": "Updated the security settings." + "description": "There is no content to send for this request, but the headers may be useful." }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, - "x-ms-long-running-operation": true, "x-ms-examples": { "CreateOrUpdateSecuritySettings": { "$ref": "./examples/SecuritySettingsUpdatePost.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/shares": { "get": { + "operationId": "Shares_ListByDataBoxEdgeDevice", "tags": [ "Shares" ], "summary": "Lists all the shares in a Data Box Edge/Data Box Gateway device.", - "operationId": "Shares_ListByDataBoxEdgeDevice", + "description": "Lists all the shares in a Data Box Edge/Data Box Gateway device.", "parameters": [ { - "name": "deviceName", - "in": "path", - "description": "The device name.", - "required": true, - "type": "string" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/subscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/resourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/apiVersionParameter" + "name": "deviceName", + "in": "path", + "description": "The device name.", + "required": true, + "type": "string" } ], "responses": { "200": { - "description": "The collection of all the shares on the device.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/ShareList" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { "ShareGetAllInDevice": { "$ref": "./examples/ShareGetAllInDevice.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/shares/{name}": { "get": { + "operationId": "Shares_Get", "tags": [ "Shares" ], "summary": "Gets a share by name.", - "operationId": "Shares_Get", + "description": "Gets a share by name.", "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, { "name": "deviceName", "in": "path", @@ -2536,26 +2904,17 @@ "description": "The share name.", "required": true, "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" } ], "responses": { "200": { - "description": "The share details.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/Share" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } @@ -2568,12 +2927,22 @@ } }, "put": { + "operationId": "Shares_CreateOrUpdate", "tags": [ "Shares" ], "summary": "Creates a new share or updates an existing share on the device.", - "operationId": "Shares_CreateOrUpdate", + "description": "Creates a new share or updates an existing share on the device.", "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, { "name": "deviceName", "in": "path", @@ -2596,48 +2965,63 @@ "schema": { "$ref": "#/definitions/Share" } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" } ], "responses": { "200": { - "description": "Successfully created or updated the share.", + "description": "Resource 'Share' update operation succeeded", "schema": { "$ref": "#/definitions/Share" } }, "202": { - "description": "Accepted the request to create or update the share." + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, - "x-ms-long-running-operation": true, "x-ms-examples": { "SharePut": { "$ref": "./examples/SharePut.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/Share" + }, + "x-ms-long-running-operation": true }, "delete": { + "operationId": "Shares_Delete", "tags": [ "Shares" ], "description": "Deletes the share on the Data Box Edge/Data Box Gateway device.", - "operationId": "Shares_Delete", "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, { "name": "deviceName", "in": "path", @@ -2651,50 +3035,65 @@ "description": "The share name.", "required": true, "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" } ], "responses": { "200": { - "description": "Successfully deleted the share." + "description": "Resource deleted successfully." }, "202": { - "description": "Accepted the request to delete the share." + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } }, "204": { - "description": "The share is already deleted." + "description": "Resource does not exist." }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, - "x-ms-long-running-operation": true, "x-ms-examples": { "ShareDelete": { "$ref": "./examples/ShareDelete.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/shares/{name}/refresh": { "post": { + "operationId": "Shares_Refresh", "tags": [ "Shares" ], "summary": "Refreshes the share metadata with the data from the cloud.", - "operationId": "Shares_Refresh", + "description": "Refreshes the share metadata with the data from the cloud.", "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, { "name": "deviceName", "in": "path", @@ -2708,96 +3107,111 @@ "description": "The share name.", "required": true, "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" } ], "responses": { "200": { - "description": "Successfully refreshed the share on the device." + "description": "The request has succeeded." }, "202": { - "description": "Accepted the request to refresh the share on the device." + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, - "x-ms-long-running-operation": true, "x-ms-examples": { "ShareRefreshPost": { "$ref": "./examples/ShareRefreshPost.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccountCredentials": { "get": { + "operationId": "StorageAccountCredentials_ListByDataBoxEdgeDevice", "tags": [ "StorageAccountCredentials" ], "summary": "Gets all the storage account credentials in a Data Box Edge/Data Box Gateway device.", - "operationId": "StorageAccountCredentials_ListByDataBoxEdgeDevice", + "description": "Gets all the storage account credentials in a Data Box Edge/Data Box Gateway device.", "parameters": [ { - "name": "deviceName", - "in": "path", - "description": "The device name.", - "required": true, - "type": "string" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/subscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/resourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/apiVersionParameter" + "name": "deviceName", + "in": "path", + "description": "The device name.", + "required": true, + "type": "string" } ], "responses": { "200": { - "description": "The collection of storage account credentials.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/StorageAccountCredentialList" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { "SACGetAllInDevice": { "$ref": "./examples/SACGetAllInDevice.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccountCredentials/{name}": { "get": { + "operationId": "StorageAccountCredentials_Get", "tags": [ "StorageAccountCredentials" ], "description": "Gets the properties of the specified storage account credential.", - "operationId": "StorageAccountCredentials_Get", "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, { "name": "deviceName", "in": "path", @@ -2811,26 +3225,17 @@ "description": "The storage account credential name.", "required": true, "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" } ], "responses": { "200": { - "description": "The storage account credential properties.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/StorageAccountCredential" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } @@ -2843,12 +3248,21 @@ } }, "put": { + "operationId": "StorageAccountCredentials_CreateOrUpdate", "tags": [ "StorageAccountCredentials" ], "description": "Creates or updates the storage account credential.", - "operationId": "StorageAccountCredentials_CreateOrUpdate", "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, { "name": "deviceName", "in": "path", @@ -2871,48 +3285,63 @@ "schema": { "$ref": "#/definitions/StorageAccountCredential" } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" } ], "responses": { "200": { - "description": "Successfully created or updated the storage account credential.", + "description": "Resource 'StorageAccountCredential' update operation succeeded", "schema": { "$ref": "#/definitions/StorageAccountCredential" } }, "202": { - "description": "Accepted the request to create or update the storage account credential." + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, - "x-ms-long-running-operation": true, "x-ms-examples": { "SACPut": { "$ref": "./examples/SACPut.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/StorageAccountCredential" + }, + "x-ms-long-running-operation": true }, "delete": { + "operationId": "StorageAccountCredentials_Delete", "tags": [ "StorageAccountCredentials" ], "description": "Deletes the storage account credential.", - "operationId": "StorageAccountCredentials_Delete", "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, { "name": "deviceName", "in": "path", @@ -2926,99 +3355,115 @@ "description": "The storage account credential name.", "required": true, "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" } ], "responses": { "200": { - "description": "Successfully deleted the storage account credential." + "description": "Resource deleted successfully." }, "202": { - "description": "Accepted the request to delete the storage account credential." + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } }, "204": { - "description": "The storage account credential is already deleted." + "description": "Resource does not exist." }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, - "x-ms-long-running-operation": true, "x-ms-examples": { "SACDelete": { "$ref": "./examples/SACDelete.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts": { "get": { + "operationId": "StorageAccounts_ListByDataBoxEdgeDevice", "tags": [ "StorageAccounts" ], "summary": "Lists all the StorageAccounts in a Data Box Edge/Data Box Gateway device.", - "operationId": "StorageAccounts_ListByDataBoxEdgeDevice", + "description": "Lists all the StorageAccounts in a Data Box Edge/Data Box Gateway device.", "parameters": [ { - "name": "deviceName", - "in": "path", - "description": "The device name.", - "required": true, - "type": "string" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/subscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/resourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/apiVersionParameter" + "name": "deviceName", + "in": "path", + "description": "The device name.", + "required": true, + "type": "string" } ], "responses": { "200": { - "description": "The collection of all the StorageAccounts on the device.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/StorageAccountList" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { "StorageAccountGetAllInDevice": { "$ref": "./examples/StorageAccountGetAllInDevice.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}": { "get": { + "operationId": "StorageAccounts_Get", "tags": [ "StorageAccounts" ], "summary": "Gets a StorageAccount by name.", - "operationId": "StorageAccounts_Get", + "description": "Gets a StorageAccount by name.", "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, { "name": "deviceName", "in": "path", @@ -3032,26 +3477,17 @@ "description": "The storage account name.", "required": true, "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" } ], "responses": { "200": { - "description": "The storage account details.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/StorageAccount" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } @@ -3064,12 +3500,22 @@ } }, "put": { + "operationId": "StorageAccounts_CreateOrUpdate", "tags": [ "StorageAccounts" ], "summary": "Creates a new StorageAccount or updates an existing StorageAccount on the device.", - "operationId": "StorageAccounts_CreateOrUpdate", + "description": "Creates a new StorageAccount or updates an existing StorageAccount on the device.", "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, { "name": "deviceName", "in": "path", @@ -3080,7 +3526,7 @@ { "name": "storageAccountName", "in": "path", - "description": "The StorageAccount name.", + "description": "The storage account name.", "required": true, "type": "string" }, @@ -3092,48 +3538,63 @@ "schema": { "$ref": "#/definitions/StorageAccount" } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" } ], "responses": { "200": { - "description": "Successfully created or updated the StorageAccount.", + "description": "Resource 'StorageAccount' update operation succeeded", "schema": { "$ref": "#/definitions/StorageAccount" } }, "202": { - "description": "Accepted the request to create or update the StorageAccount." + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, - "x-ms-long-running-operation": true, "x-ms-examples": { "StorageAccountPut": { "$ref": "./examples/StorageAccountPut.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/StorageAccount" + }, + "x-ms-long-running-operation": true }, "delete": { + "operationId": "StorageAccounts_Delete", "tags": [ "StorageAccounts" ], "description": "Deletes the StorageAccount on the Data Box Edge/Data Box Gateway device.", - "operationId": "StorageAccounts_Delete", "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, { "name": "deviceName", "in": "path", @@ -3144,50 +3605,65 @@ { "name": "storageAccountName", "in": "path", - "description": "The StorageAccount name.", + "description": "The storage account name.", "required": true, "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" } ], "responses": { "202": { - "description": "Accepted the request to delete the StorageAccount." + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } }, "204": { - "description": "The StorageAccount is already deleted." + "description": "Resource does not exist." }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, - "x-ms-long-running-operation": true, "x-ms-examples": { "StorageAccountDelete": { "$ref": "./examples/StorageAccountDelete.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}/containers": { "get": { + "operationId": "Containers_ListByStorageAccount", "tags": [ "Containers" ], "summary": "Lists all the containers of a storage Account in a Data Box Edge/Data Box Gateway device.", - "operationId": "Containers_ListByStorageAccount", + "description": "Lists all the containers of a storage Account in a Data Box Edge/Data Box Gateway device.", "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, { "name": "deviceName", "in": "path", @@ -3198,52 +3674,53 @@ { "name": "storageAccountName", "in": "path", - "description": "The storage Account name.", + "description": "The storage account name.", "required": true, "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" } ], "responses": { "200": { - "description": "The collection of all the containers on the device.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/ContainerList" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { "ContainerListAllInDevice": { "$ref": "./examples/ContainerListAllInDevice.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}/containers/{containerName}": { "get": { + "operationId": "Containers_Get", "tags": [ "Containers" ], "summary": "Gets a container by name.", - "operationId": "Containers_Get", + "description": "Gets a container by name.", "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, { "name": "deviceName", "in": "path", @@ -3254,7 +3731,7 @@ { "name": "storageAccountName", "in": "path", - "description": "The Storage Account Name", + "description": "The storage account name.", "required": true, "type": "string" }, @@ -3264,26 +3741,17 @@ "description": "The container Name", "required": true, "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" } ], "responses": { "200": { - "description": "The container details.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/Container" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } @@ -3296,12 +3764,22 @@ } }, "put": { + "operationId": "Containers_CreateOrUpdate", "tags": [ "Containers" ], "summary": "Creates a new container or updates an existing container on the device.", - "operationId": "Containers_CreateOrUpdate", + "description": "Creates a new container or updates an existing container on the device.", "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, { "name": "deviceName", "in": "path", @@ -3312,14 +3790,14 @@ { "name": "storageAccountName", "in": "path", - "description": "The Storage Account Name", + "description": "The storage account name.", "required": true, "type": "string" }, { "name": "containerName", "in": "path", - "description": "The container name.", + "description": "The container Name", "required": true, "type": "string" }, @@ -3331,48 +3809,63 @@ "schema": { "$ref": "#/definitions/Container" } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" } ], "responses": { "200": { - "description": "Successfully created or updated the container.", + "description": "Resource 'Container' update operation succeeded", "schema": { "$ref": "#/definitions/Container" } }, "202": { - "description": "Accepted the request to create or update the container." + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, - "x-ms-long-running-operation": true, "x-ms-examples": { "ContainerPut": { "$ref": "./examples/ContainerPut.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/Container" + }, + "x-ms-long-running-operation": true }, "delete": { + "operationId": "Containers_Delete", "tags": [ "Containers" ], "description": "Deletes the container on the Data Box Edge/Data Box Gateway device.", - "operationId": "Containers_Delete", "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, { "name": "deviceName", "in": "path", @@ -3383,57 +3876,72 @@ { "name": "storageAccountName", "in": "path", - "description": "The Storage Account Name", + "description": "The storage account name.", "required": true, "type": "string" }, { "name": "containerName", "in": "path", - "description": "The container name.", + "description": "The container Name", "required": true, "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" } ], "responses": { "202": { - "description": "Accepted the request to delete the container." + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } }, "204": { - "description": "The container is already deleted." + "description": "Resource does not exist." }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, - "x-ms-long-running-operation": true, "x-ms-examples": { "ContainerDelete": { "$ref": "./examples/ContainerDelete.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}/containers/{containerName}/refresh": { "post": { + "operationId": "Containers_Refresh", "tags": [ "Containers" ], "summary": "Refreshes the container metadata with the data from the cloud.", - "operationId": "Containers_Refresh", + "description": "Refreshes the container metadata with the data from the cloud.", "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, { "name": "deviceName", "in": "path", @@ -3444,72 +3952,148 @@ { "name": "storageAccountName", "in": "path", - "description": "The Storage Account Name", + "description": "The storage account name.", "required": true, "type": "string" }, { "name": "containerName", "in": "path", - "description": "The container name.", + "description": "The container Name", "required": true, "type": "string" + } + ], + "responses": { + "200": { + "description": "The request has succeeded." + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "ContainerRefresh": { + "$ref": "./examples/ContainerRefresh.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/triggerSupportPackage": { + "post": { + "operationId": "SupportPackages_TriggerSupportPackage", + "tags": [ + "DataBoxEdgeDevices" + ], + "summary": "Triggers support package on the device", + "description": "Triggers support package on the device", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/subscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/resourceGroupNameParameter" + "name": "deviceName", + "in": "path", + "description": "The device name.", + "required": true, + "type": "string" }, { - "$ref": "#/parameters/apiVersionParameter" + "name": "triggerSupportPackageRequest", + "in": "body", + "description": "The trigger support package request object", + "required": true, + "schema": { + "$ref": "#/definitions/TriggerSupportPackageRequest" + } } ], "responses": { "200": { - "description": "Successfully refreshed the container on the device." + "description": "The request has succeeded." }, "202": { - "description": "Accepted the request to refresh the container on the device." + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, - "x-ms-long-running-operation": true, "x-ms-examples": { - "ContainerRefresh": { - "$ref": "./examples/ContainerRefresh.json" + "TriggerSupportPackage": { + "$ref": "./examples/TriggerSupportPackage.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/triggers": { "get": { + "operationId": "Triggers_ListByDataBoxEdgeDevice", "tags": [ "Triggers" ], "description": "Lists all the triggers configured in the device.", - "operationId": "Triggers_ListByDataBoxEdgeDevice", "parameters": [ { - "name": "deviceName", - "in": "path", - "description": "The device name.", - "required": true, - "type": "string" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/subscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/resourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/apiVersionParameter" + "name": "deviceName", + "in": "path", + "description": "The device name.", + "required": true, + "type": "string" }, { "name": "$filter", @@ -3521,36 +4105,45 @@ ], "responses": { "200": { - "description": "List all the triggers configured in the device", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/TriggerList" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { "TriggerGetAllInDevice": { "$ref": "./examples/TriggerGetAllInDevice.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/triggers/{name}": { "get": { + "operationId": "Triggers_Get", "tags": [ "Triggers" ], "description": "Get a specific trigger by name.", - "operationId": "Triggers_Get", "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, { "name": "deviceName", "in": "path", @@ -3564,26 +4157,17 @@ "description": "The trigger name.", "required": true, "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" } ], "responses": { "200": { - "description": "The trigger.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/Trigger" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } @@ -3596,16 +4180,25 @@ } }, "put": { + "operationId": "Triggers_CreateOrUpdate", "tags": [ "Triggers" ], "description": "Creates or updates a trigger.", - "operationId": "Triggers_CreateOrUpdate", "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, { "name": "deviceName", "in": "path", - "description": "Creates or updates a trigger", + "description": "The device name.", "required": true, "type": "string" }, @@ -3624,48 +4217,63 @@ "schema": { "$ref": "#/definitions/Trigger" } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" } ], "responses": { "200": { - "description": "Successfully created or updated the trigger.", + "description": "Resource 'Trigger' update operation succeeded", "schema": { "$ref": "#/definitions/Trigger" } }, "202": { - "description": "Accepted the request to create or update the trigger." + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, - "x-ms-long-running-operation": true, "x-ms-examples": { "TriggerPut": { "$ref": "./examples/TriggerPut.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/Trigger" + }, + "x-ms-long-running-operation": true }, "delete": { + "operationId": "Triggers_Delete", "tags": [ "Triggers" ], "description": "Deletes the trigger on the gateway device.", - "operationId": "Triggers_Delete", "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, { "name": "deviceName", "in": "path", @@ -3679,106 +4287,64 @@ "description": "The trigger name.", "required": true, "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" } ], "responses": { "200": { - "description": "Successfully deleted the trigger." + "description": "Resource deleted successfully." }, "202": { - "description": "Accepted the request to delete the trigger." + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } }, "204": { - "description": "The trigger is already deleted." + "description": "Resource does not exist." }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, - "x-ms-long-running-operation": true, "x-ms-examples": { "TriggerDelete": { "$ref": "./examples/TriggerDelete.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/triggerSupportPackage": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/updateExtendedInformation": { "post": { + "operationId": "Devices_UpdateExtendedInformation", "tags": [ - "SupportPackages" + "DataBoxEdgeDevices" ], - "summary": "Triggers support package on the device", - "operationId": "SupportPackages_TriggerSupportPackage", + "description": "Gets additional information for the specified Data Box Edge/Data Box Gateway device.", "parameters": [ { - "name": "deviceName", - "in": "path", - "description": "The device name.", - "required": true, - "type": "string" - }, - { - "name": "triggerSupportPackageRequest", - "in": "body", - "description": "The trigger support package request object", - "required": true, - "schema": { - "$ref": "#/definitions/TriggerSupportPackageRequest" - } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/resourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Successfully triggered support package on the device." - }, - "202": { - "description": "Accepted the request to trigger support package on the device." + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-examples": { - "TriggerSupportPackage": { - "$ref": "./examples/TriggerSupportPackage.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/updateExtendedInformation": { - "post": { - "tags": [ - "Devices" - ], - "description": "Gets additional information for the specified Data Box Edge/Data Box Gateway device.", - "operationId": "Devices_UpdateExtendedInformation", - "parameters": [ { "name": "deviceName", "in": "path", @@ -3794,26 +4360,17 @@ "schema": { "$ref": "#/definitions/DataBoxEdgeDeviceExtendedInfoPatch" } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" } ], "responses": { "200": { - "description": "Modify additional information.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/DataBoxEdgeDeviceExtendedInfo" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } @@ -3828,38 +4385,39 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/updateSummary/default": { "get": { + "operationId": "Devices_GetUpdateSummary", "tags": [ - "Devices" + "UpdateSummaries" ], "summary": "Gets information about the availability of updates based on the last scan of the device. It also gets information about any ongoing download or install jobs on the device.", - "operationId": "Devices_GetUpdateSummary", + "description": "Gets information about the availability of updates based on the last scan of the device. It also gets information about any ongoing download or install jobs on the device.", "parameters": [ { - "name": "deviceName", - "in": "path", - "description": "The device name.", - "required": true, - "type": "string" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/subscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/resourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/apiVersionParameter" + "name": "deviceName", + "in": "path", + "description": "The device name.", + "required": true, + "type": "string" } ], "responses": { "200": { - "description": "The update summary.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/UpdateSummary" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } @@ -3874,12 +4432,21 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/uploadCertificate": { "post": { + "operationId": "Devices_UploadCertificate", "tags": [ - "Devices" + "DataBoxEdgeDevices" ], "description": "Uploads registration certificate for the device.", - "operationId": "Devices_UploadCertificate", "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, { "name": "deviceName", "in": "path", @@ -3895,26 +4462,17 @@ "schema": { "$ref": "#/definitions/UploadCertificateRequest" } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" } ], "responses": { "200": { - "description": "Successfully uploaded the registration certificate.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/UploadCertificateResponse" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } @@ -3929,27 +4487,27 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/users": { "get": { + "operationId": "Users_ListByDataBoxEdgeDevice", "tags": [ "Users" ], "description": "Gets all the users registered on a Data Box Edge/Data Box Gateway device.", - "operationId": "Users_ListByDataBoxEdgeDevice", "parameters": [ { - "name": "deviceName", - "in": "path", - "description": "The device name.", - "required": true, - "type": "string" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/subscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/resourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/apiVersionParameter" + "name": "deviceName", + "in": "path", + "description": "The device name.", + "required": true, + "type": "string" }, { "name": "$filter", @@ -3961,36 +4519,45 @@ ], "responses": { "200": { - "description": "The collection of all users on the device.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/UserList" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { "UserGetAllInDevice": { "$ref": "./examples/UserGetAllInDevice.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/users/{name}": { "get": { + "operationId": "Users_Get", "tags": [ "Users" ], "description": "Gets the properties of the specified user.", - "operationId": "Users_Get", "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, { "name": "deviceName", "in": "path", @@ -4004,26 +4571,17 @@ "description": "The user name.", "required": true, "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" } ], "responses": { "200": { - "description": "The user details.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/User" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } @@ -4036,12 +4594,21 @@ } }, "put": { + "operationId": "Users_CreateOrUpdate", "tags": [ "Users" ], "description": "Creates a new user or updates an existing user's information on a Data Box Edge/Data Box Gateway device.", - "operationId": "Users_CreateOrUpdate", "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, { "name": "deviceName", "in": "path", @@ -4064,48 +4631,63 @@ "schema": { "$ref": "#/definitions/User" } - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" } ], "responses": { "200": { - "description": "Successfully created or updated the user.", + "description": "Resource 'User' update operation succeeded", "schema": { "$ref": "#/definitions/User" } }, "202": { - "description": "Accepted the request to create or update the user." + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, - "x-ms-long-running-operation": true, "x-ms-examples": { "UserPut": { "$ref": "./examples/UserPut.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/User" + }, + "x-ms-long-running-operation": true }, "delete": { + "operationId": "Users_Delete", "tags": [ "Users" ], "description": "Deletes the user on a databox edge/gateway device.", - "operationId": "Users_Delete", "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, { "name": "deviceName", "in": "path", @@ -4119,237 +4701,365 @@ "description": "The user name.", "required": true, "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" } ], "responses": { "200": { - "description": "Successfully deleted the user." + "description": "Resource deleted successfully." }, "202": { - "description": "Accepted the request to delete the user." + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } }, "204": { - "description": "The user is already deleted." + "description": "Resource does not exist." }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, - "x-ms-long-running-operation": true, "x-ms-examples": { "UserDelete": { "$ref": "./examples/UserDelete.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true } } }, "definitions": { - "Addon": { - "description": "Role Addon", - "required": [ - "kind" - ], + "ARMBaseModel": { "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ARMBaseModel" - } - ], + "description": "Represents the base class for all object models.", "properties": { - "kind": { - "description": "Addon type.", - "enum": [ - "IotEdge", - "ArcForKubernetes" - ], + "id": { "type": "string", - "x-ms-enum": { - "name": "AddonType", - "modelAsString": true - } + "description": "The path ID that uniquely identifies the object.", + "readOnly": true }, - "systemData": { - "$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", - "description": "Metadata pertaining to creation and last modification of Addon", + "name": { + "type": "string", + "description": "The object name.", "readOnly": true - } - }, - "discriminator": "kind" - }, - "AddonList": { - "description": "Collection of all the Role addon on the Azure Stack Edge device.", - "type": "object", - "properties": { - "value": { - "description": "The Value.", - "uniqueItems": false, - "type": "array", - "items": { - "$ref": "#/definitions/Addon" - }, - "readOnly": true, - "x-ms-identifiers": [] }, - "nextLink": { - "description": "Link to the next set of results.", + "type": { "type": "string", + "description": "The hierarchical type of the object.", "readOnly": true } } }, - "Address": { - "description": "The shipping address of the customer.", - "required": [ - "country" + "AccessLevel": { + "type": "string", + "description": "Access level allowed for this remote application type", + "enum": [ + "None", + "ReadOnly", + "ReadWrite", + "FullAccess" ], - "type": "object", - "properties": { - "addressLine1": { - "description": "The address line1.", - "type": "string" - }, - "addressLine2": { - "description": "The address line2.", - "type": "string" - }, - "addressLine3": { - "description": "The address line3.", - "type": "string" - }, - "postalCode": { - "description": "The postal code.", - "type": "string" - }, - "city": { - "description": "The city name.", - "type": "string" - }, - "state": { - "description": "The state name.", - "type": "string" - }, - "country": { - "description": "The country name.", - "type": "string" - } + "x-ms-enum": { + "name": "AccessLevel", + "modelAsString": true, + "values": [ + { + "name": "None", + "value": "None" + }, + { + "name": "ReadOnly", + "value": "ReadOnly" + }, + { + "name": "ReadWrite", + "value": "ReadWrite" + }, + { + "name": "FullAccess", + "value": "FullAccess" + } + ] } }, - "Alert": { - "description": "Alert on the data box edge/gateway device.", + "AccountType": { + "type": "string", + "description": "Type of storage accessed on the storage account.", + "enum": [ + "GeneralPurposeStorage", + "BlobStorage" + ], + "x-ms-enum": { + "name": "AccountType", + "modelAsString": true, + "values": [ + { + "name": "GeneralPurposeStorage", + "value": "GeneralPurposeStorage" + }, + { + "name": "BlobStorage", + "value": "BlobStorage" + } + ] + } + }, + "Addon": { "type": "object", + "description": "Role Addon", + "properties": { + "kind": { + "$ref": "#/definitions/AddonType", + "description": "Addon type.", + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "discriminator": "kind", + "required": [ + "kind" + ], "allOf": [ { - "$ref": "#/definitions/ARMBaseModel" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" } + ] + }, + "AddonList": { + "type": "object", + "description": "Collection of all the Role addon on the Azure Stack Edge device.", + "properties": { + "value": { + "type": "array", + "description": "The Addon items on this page", + "items": { + "$ref": "#/definitions/Addon" + }, + "readOnly": true + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "AddonState": { + "type": "string", + "description": "Addon Provisioning State", + "enum": [ + "Invalid", + "Creating", + "Created", + "Updating", + "Reconfiguring", + "Failed", + "Deleting" + ], + "x-ms-enum": { + "name": "AddonState", + "modelAsString": true, + "values": [ + { + "name": "Invalid", + "value": "Invalid" + }, + { + "name": "Creating", + "value": "Creating" + }, + { + "name": "Created", + "value": "Created" + }, + { + "name": "Updating", + "value": "Updating" + }, + { + "name": "Reconfiguring", + "value": "Reconfiguring" + }, + { + "name": "Failed", + "value": "Failed" + }, + { + "name": "Deleting", + "value": "Deleting" + } + ] + } + }, + "AddonType": { + "type": "string", + "description": "Addon type.", + "enum": [ + "IotEdge", + "ArcForKubernetes" ], + "x-ms-enum": { + "name": "AddonType", + "modelAsString": true, + "values": [ + { + "name": "IotEdge", + "value": "IotEdge" + }, + { + "name": "ArcForKubernetes", + "value": "ArcForKubernetes" + } + ] + } + }, + "Address": { + "type": "object", + "description": "The shipping address of the customer.", + "properties": { + "addressLine1": { + "type": "string", + "description": "The address line1." + }, + "addressLine2": { + "type": "string", + "description": "The address line2." + }, + "addressLine3": { + "type": "string", + "description": "The address line3." + }, + "postalCode": { + "type": "string", + "description": "The postal code." + }, + "city": { + "type": "string", + "description": "The city name." + }, + "state": { + "type": "string", + "description": "The state name." + }, + "country": { + "type": "string", + "description": "The country name." + } + }, + "required": [ + "country" + ] + }, + "Alert": { + "type": "object", + "description": "Alert on the data box edge/gateway device.", "properties": { "properties": { "$ref": "#/definitions/AlertProperties", "description": "Properties of alert.", "readOnly": true, "x-ms-client-flatten": true - }, - "systemData": { - "$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", - "description": "Metadata pertaining to creation and last modification of Alert", - "readOnly": true } - } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ] }, "AlertErrorDetails": { - "description": "Error details for the alert.", "type": "object", + "description": "Error details for the alert.", "properties": { "errorCode": { - "description": "Error code.", "type": "string", + "description": "Error code.", "readOnly": true }, "errorMessage": { - "description": "Error Message.", "type": "string", + "description": "Error Message.", "readOnly": true }, "occurrences": { + "type": "integer", "format": "int32", "description": "Number of occurrences.", - "type": "integer", "readOnly": true } } }, "AlertList": { - "description": "Collection of alerts.", "type": "object", + "description": "Collection of alerts.", "properties": { "value": { - "description": "The value.", - "uniqueItems": false, "type": "array", + "description": "The Alert items on this page", "items": { "$ref": "#/definitions/Alert" }, - "readOnly": true, - "x-ms-identifiers": [] + "readOnly": true }, "nextLink": { - "description": "Link to the next set of results.", "type": "string", - "readOnly": true + "format": "uri", + "description": "The link to the next page of items" } - } + }, + "required": [ + "value" + ] }, "AlertProperties": { - "description": "Properties of alert.", "type": "object", + "description": "Properties of alert.", "properties": { "title": { - "description": "Alert title.", "type": "string", + "description": "Alert title.", "readOnly": true }, "alertType": { - "description": "Alert type.", "type": "string", + "description": "Alert type.", "readOnly": true }, "appearedAtDateTime": { + "type": "string", "format": "date-time", "description": "UTC time when the alert appeared.", - "type": "string", "readOnly": true }, "recommendation": { - "description": "Alert recommendation.", "type": "string", + "description": "Alert recommendation.", "readOnly": true }, "severity": { + "$ref": "#/definitions/AlertSeverity", "description": "Severity of the alert.", - "enum": [ - "Informational", - "Warning", - "Critical" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "AlertSeverity", - "modelAsString": true - } + "readOnly": true }, "errorDetails": { "$ref": "#/definitions/AlertErrorDetails", @@ -4357,8 +5067,8 @@ "readOnly": true }, "detailedInformation": { - "description": "Alert details.", "type": "object", + "description": "Alert details.", "additionalProperties": { "type": "string" }, @@ -4366,388 +5076,350 @@ } } }, - "ArcAddon": { - "description": "Arc Addon.", - "required": [ - "properties", - "kind" + "AlertSeverity": { + "type": "string", + "description": "Severity of the alert.", + "enum": [ + "Informational", + "Warning", + "Critical" ], + "x-ms-enum": { + "name": "AlertSeverity", + "modelAsString": true, + "values": [ + { + "name": "Informational", + "value": "Informational" + }, + { + "name": "Warning", + "value": "Warning" + }, + { + "name": "Critical", + "value": "Critical" + } + ] + } + }, + "ArcAddon": { "type": "object", - "allOf": [ - { - "$ref": "#/definitions/Addon" - } - ], + "description": "Arc Addon.", "properties": { "properties": { "$ref": "#/definitions/ArcAddonProperties", "description": "Properties specific to Arc addon.", "x-ms-client-flatten": true - }, - "id": { - "description": "The path ID that uniquely identifies the object.", - "type": "string", - "readOnly": true - }, - "name": { - "description": "The object name.", - "type": "string", - "readOnly": true - }, - "type": { - "description": "The hierarchical type of the object.", - "type": "string", - "readOnly": true } }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "#/definitions/Addon" + } + ], "x-ms-discriminator-value": "ArcForKubernetes" }, "ArcAddonProperties": { - "description": "Arc addon properties.", - "required": [ - "subscriptionId", - "resourceGroupName", - "resourceName", - "resourceLocation" - ], "type": "object", + "description": "Arc addon properties.", "properties": { "subscriptionId": { - "description": "Arc resource subscription Id", - "type": "string" + "type": "string", + "description": "Arc resource subscription Id" }, "resourceGroupName": { - "description": "Arc resource group name", - "type": "string" + "type": "string", + "description": "Arc resource group name" }, "resourceName": { - "description": "Arc resource Name", - "type": "string" + "type": "string", + "description": "Arc resource Name" }, "resourceLocation": { - "description": "Arc resource location", - "type": "string" + "type": "string", + "description": "Arc resource location" }, "version": { - "description": "Arc resource version", "type": "string", + "description": "Arc resource version", "readOnly": true }, "hostPlatform": { + "$ref": "#/definitions/PlatformType", "description": "Host OS supported by the Arc addon.", - "enum": [ - "Windows", - "Linux" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "PlatformType", - "modelAsString": true - } + "readOnly": true }, "hostPlatformType": { + "$ref": "#/definitions/HostPlatformType", "description": "Platform where the runtime is hosted.", - "enum": [ - "KubernetesCluster", - "LinuxVM" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "HostPlatformType", - "modelAsString": true - } + "readOnly": true }, "provisioningState": { + "$ref": "#/definitions/AddonState", "description": "Addon Provisioning State", - "enum": [ - "Invalid", - "Creating", - "Created", - "Updating", - "Reconfiguring", - "Failed", - "Deleting" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "AddonState", - "modelAsString": true - } + "readOnly": true } - } + }, + "required": [ + "subscriptionId", + "resourceGroupName", + "resourceName", + "resourceLocation" + ] }, - "ARMBaseModel": { - "description": "Represents the base class for all object models.", + "AsymmetricEncryptedSecret": { "type": "object", + "description": "Represent the secrets intended for encryption with asymmetric key pair.", "properties": { - "id": { - "description": "The path ID that uniquely identifies the object.", + "value": { "type": "string", - "readOnly": true + "description": "The value of the secret." }, - "name": { - "description": "The object name.", + "encryptionCertThumbprint": { "type": "string", - "readOnly": true + "format": "password", + "description": "Thumbprint certificate used to encrypt \\\"Value\\\". If the value is unencrypted, it will be null.", + "x-ms-secret": true }, - "type": { - "description": "The hierarchical type of the object.", - "type": "string", - "readOnly": true + "encryptionAlgorithm": { + "$ref": "#/definitions/EncryptionAlgorithm", + "description": "The algorithm used to encrypt \"Value\"." } }, - "x-ms-azure-resource": true - }, - "AsymmetricEncryptedSecret": { - "description": "Represent the secrets intended for encryption with asymmetric key pair.", "required": [ "value", "encryptionAlgorithm" - ], + ] + }, + "Authentication": { "type": "object", + "description": "Authentication mechanism for IoT devices.", "properties": { - "value": { - "description": "The value of the secret.", - "type": "string" - }, - "encryptionCertThumbprint": { - "description": "Thumbprint certificate used to encrypt \\\"Value\\\". If the value is unencrypted, it will be null.", - "x-ms-secret": true, - "type": "string" - }, - "encryptionAlgorithm": { - "description": "The algorithm used to encrypt \"Value\".", - "enum": [ - "None", - "AES256", - "RSAES_PKCS1_v_1_5" - ], - "type": "string", - "x-ms-enum": { - "name": "EncryptionAlgorithm", - "modelAsString": true + "symmetricKey": { + "$ref": "#/definitions/SymmetricKey", + "description": "Symmetric key for authentication." + } + } + }, + "AuthenticationType": { + "type": "string", + "description": "The authentication type.", + "enum": [ + "Invalid", + "AzureActiveDirectory" + ], + "x-ms-enum": { + "name": "AuthenticationType", + "modelAsString": true, + "values": [ + { + "name": "Invalid", + "value": "Invalid" + }, + { + "name": "AzureActiveDirectory", + "value": "AzureActiveDirectory" + } + ] + } + }, + "AzureContainerDataFormat": { + "type": "string", + "description": "Storage format used for the file represented by the share.", + "enum": [ + "BlockBlob", + "PageBlob", + "AzureFile" + ], + "x-ms-enum": { + "name": "AzureContainerDataFormat", + "modelAsString": true, + "values": [ + { + "name": "BlockBlob", + "value": "BlockBlob" + }, + { + "name": "PageBlob", + "value": "PageBlob" + }, + { + "name": "AzureFile", + "value": "AzureFile" } - } - } - }, - "Authentication": { - "description": "Authentication mechanism for IoT devices.", - "type": "object", - "properties": { - "symmetricKey": { - "$ref": "#/definitions/SymmetricKey", - "description": "Symmetric key for authentication." - } + ] } }, "AzureContainerInfo": { - "description": "Azure container mapping of the endpoint.", - "required": [ - "storageAccountCredentialId", - "containerName", - "dataFormat" - ], "type": "object", + "description": "Azure container mapping of the endpoint.", "properties": { "storageAccountCredentialId": { - "description": "ID of the storage account credential used to access storage.", - "type": "string" + "type": "string", + "description": "ID of the storage account credential used to access storage." }, "containerName": { - "description": "Container name (Based on the data format specified, this represents the name of Azure Files/Page blob/Block blob).", - "type": "string" + "type": "string", + "description": "Container name (Based on the data format specified, this represents the name of Azure Files/Page blob/Block blob)." }, "dataFormat": { - "description": "Storage format used for the file represented by the share.", - "enum": [ - "BlockBlob", - "PageBlob", - "AzureFile" - ], - "type": "string", - "x-ms-enum": { - "name": "AzureContainerDataFormat", - "modelAsString": true - } + "$ref": "#/definitions/AzureContainerDataFormat", + "description": "Storage format used for the file represented by the share." } - } + }, + "required": [ + "storageAccountCredentialId", + "containerName", + "dataFormat" + ] }, "BandwidthSchedule": { - "description": "The bandwidth schedule details.", - "required": [ - "properties" - ], "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ARMBaseModel" - } - ], + "description": "The bandwidth schedule details.", "properties": { "properties": { "$ref": "#/definitions/BandwidthScheduleProperties", "description": "The properties of the bandwidth schedule.", "x-ms-client-flatten": true - }, - "systemData": { - "$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", - "description": "Metadata pertaining to creation and last modification of BandwidthSchedule", - "readOnly": true } - } - }, - "BandwidthScheduleProperties": { - "description": "The properties of the bandwidth schedule.", + }, "required": [ - "start", - "stop", - "rateInMbps", - "days" + "properties" ], + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ] + }, + "BandwidthScheduleProperties": { "type": "object", + "description": "The properties of the bandwidth schedule.", "properties": { "start": { - "description": "The start time of the schedule in UTC.", - "type": "string" + "type": "string", + "description": "The start time of the schedule in UTC." }, "stop": { - "description": "The stop time of the schedule in UTC.", - "type": "string" + "type": "string", + "description": "The stop time of the schedule in UTC." }, "rateInMbps": { + "type": "integer", "format": "int32", - "description": "The bandwidth rate in Mbps.", - "type": "integer" + "description": "The bandwidth rate in Mbps." }, "days": { - "description": "The days of the week when this schedule is applicable.", - "uniqueItems": false, "type": "array", + "description": "The days of the week when this schedule is applicable.", "items": { - "enum": [ - "Sunday", - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday" - ], - "type": "string", - "x-ms-enum": { - "name": "DayOfWeek", - "modelAsString": true - }, - "x-ms-identifiers": [] + "$ref": "#/definitions/DayOfWeek" } } - } + }, + "required": [ + "start", + "stop", + "rateInMbps", + "days" + ] }, "BandwidthSchedulesList": { - "description": "The collection of bandwidth schedules.", "type": "object", + "description": "The collection of bandwidth schedules.", "properties": { "value": { - "description": "The list of bandwidth schedules.", - "uniqueItems": false, "type": "array", + "description": "The BandwidthSchedule items on this page", "items": { "$ref": "#/definitions/BandwidthSchedule" }, - "x-ms-identifiers": [], "readOnly": true }, "nextLink": { - "description": "Link to the next set of results.", "type": "string", - "readOnly": true + "format": "uri", + "description": "The link to the next page of items" } - } + }, + "required": [ + "value" + ] }, "ClientAccessRight": { - "description": "The mapping between a particular client IP and the type of access client has on the NFS share.", - "required": [ - "client", - "accessPermission" - ], "type": "object", + "description": "The mapping between a particular client IP and the type of access client has on the NFS share.", "properties": { "client": { - "description": "IP of the client.", - "type": "string" + "type": "string", + "description": "IP of the client." }, "accessPermission": { - "description": "Type of access to be allowed for the client.", - "enum": [ - "NoAccess", - "ReadOnly", - "ReadWrite" - ], - "type": "string", - "x-ms-enum": { - "name": "ClientPermissionType", - "modelAsString": true - } + "$ref": "#/definitions/ClientPermissionType", + "description": "Type of access to be allowed for the client." } + }, + "required": [ + "client", + "accessPermission" + ] + }, + "ClientPermissionType": { + "type": "string", + "description": "Type of access to be allowed for the client.", + "enum": [ + "NoAccess", + "ReadOnly", + "ReadWrite" + ], + "x-ms-enum": { + "name": "ClientPermissionType", + "modelAsString": true, + "values": [ + { + "name": "NoAccess", + "value": "NoAccess" + }, + { + "name": "ReadOnly", + "value": "ReadOnly" + }, + { + "name": "ReadWrite", + "value": "ReadWrite" + } + ] } }, "CloudEdgeManagementRole": { - "description": "The preview of Virtual Machine Cloud Management from the Azure supports deploying and managing VMs on your Azure Stack Edge device from Azure Portal. \r\nFor more information, refer to: https://docs.microsoft.com/en-us/azure/databox-online/azure-stack-edge-gpu-virtual-machine-overview\r\nBy using this feature, you agree to the preview legal terms. See the https://azure.microsoft.com/en-us/support/legal/preview-supplemental-terms/ for additional details.", - "required": [ - "kind" - ], "type": "object", - "allOf": [ - { - "$ref": "#/definitions/Role" - } - ], + "description": "The preview of Virtual Machine Cloud Management from the Azure supports deploying and managing VMs on your Azure Stack Edge device from Azure Portal.\nFor more information, refer to: https://docs.microsoft.com/en-us/azure/databox-online/azure-stack-edge-gpu-virtual-machine-overview\nBy using this feature, you agree to the preview legal terms. See the https://azure.microsoft.com/en-us/support/legal/preview-supplemental-terms/ for additional details.", "properties": { "properties": { "$ref": "#/definitions/CloudEdgeManagementRoleProperties", "description": "Properties specific to CloudEdgeManagementRole role.", "x-ms-client-flatten": true - }, - "id": { - "description": "The path ID that uniquely identifies the object.", - "type": "string", - "readOnly": true - }, - "name": { - "description": "The object name.", - "type": "string", - "readOnly": true - }, - "type": { - "description": "The hierarchical type of the object.", - "type": "string", - "readOnly": true } }, + "allOf": [ + { + "$ref": "#/definitions/Role" + } + ], "x-ms-discriminator-value": "CloudEdgeManagement" }, "CloudEdgeManagementRoleProperties": { - "description": "CloudEdgeManagement Role properties.", - "required": [ - "roleStatus" - ], "type": "object", + "description": "CloudEdgeManagement Role properties.", "properties": { "localManagementStatus": { + "$ref": "#/definitions/RoleStatus", "description": "Local Edge Management Status", - "enum": [ - "Enabled", - "Disabled" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "RoleStatus", - "modelAsString": true - } + "readOnly": true }, "edgeProfile": { "$ref": "#/definitions/EdgeProfile", @@ -4755,22 +5427,17 @@ "readOnly": true }, "roleStatus": { - "description": "Role status.", - "enum": [ - "Enabled", - "Disabled" - ], - "type": "string", - "x-ms-enum": { - "name": "RoleStatus", - "modelAsString": true - } + "$ref": "#/definitions/RoleStatus", + "description": "Role status." } - } + }, + "required": [ + "roleStatus" + ] }, "CloudError": { - "description": "An error response from the service.", "type": "object", + "description": "An error response from the service.", "properties": { "error": { "$ref": "#/definitions/CloudErrorBody", @@ -4780,20 +5447,20 @@ "x-ms-external": true }, "CloudErrorBody": { - "description": "An error response from the service.", "type": "object", + "description": "An error response from the service.", "properties": { "code": { - "description": "An identifier for the error. Codes are invariant and are intended to be consumed programmatically.", - "type": "string" + "type": "string", + "description": "An identifier for the error. Codes are invariant and are intended to be consumed programmatically." }, "message": { - "description": "A message describing the error, intended to be suitable for display in a user interface.", - "type": "string" + "type": "string", + "description": "A message describing the error, intended to be suitable for display in a user interface." }, "details": { - "description": "A list of additional details about the error.", "type": "array", + "description": "A list of additional details about the error.", "items": { "$ref": "#/definitions/CloudErrorBody" }, @@ -4803,12 +5470,12 @@ "x-ms-external": true }, "ClusterCapacityViewData": { - "description": "Cluster Compute Data.", "type": "object", + "description": "Cluster Compute Data.", "properties": { "fqdn": { - "description": "The FQDN of the cluster.", - "type": "string" + "type": "string", + "description": "The FQDN of the cluster." }, "gpuCapacity": { "$ref": "#/definitions/ClusterGpuCapacity", @@ -4819,273 +5486,271 @@ "description": "The cluster's memory capacity." }, "lastRefreshedTime": { + "type": "string", "format": "date-time", - "description": "The last time at which the ClusterCapacityViewData was set.", - "type": "string" + "description": "The last time at which the ClusterCapacityViewData was set." }, "totalProvisionedNonHpnCores": { + "type": "integer", "format": "int64", - "description": "The total # of vCPUs provisioned by non-HPN VM per appliance.", - "type": "integer" + "description": "The total # of vCPUs provisioned by non-HPN VM per appliance." } } }, "ClusterGpuCapacity": { - "description": "Cluster GPU Data.", "type": "object", + "description": "Cluster GPU Data.", "properties": { "gpuType": { - "description": "The cluster GPU Type.", - "type": "string" + "type": "string", + "description": "The cluster GPU Type." }, "gpuUsedUnitsCount": { + "type": "integer", "format": "int32", - "description": "The used GPU units count in the cluster.", - "type": "integer" + "description": "The used GPU units count in the cluster." }, "gpuFreeUnitsCount": { + "type": "integer", "format": "int32", - "description": "The free GPU units count in the cluster.", - "type": "integer" + "description": "The free GPU units count in the cluster." }, "gpuReservedForFailoverUnitsCount": { + "type": "integer", "format": "int32", - "description": "The GPU units count reserved for failover in the cluster.", - "type": "integer" + "description": "The GPU units count reserved for failover in the cluster." }, "gpuTotalUnitsCount": { + "type": "integer", "format": "int32", - "description": "The total GPU units count in the cluster.", - "type": "integer" + "description": "The total GPU units count in the cluster." } } }, "ClusterMemoryCapacity": { - "description": "NodeCapacityInfo defines the required information to determine the placement of a VM.", "type": "object", + "description": "NodeCapacityInfo defines the required information to determine the placement of a VM.", "properties": { "clusterFreeMemoryMb": { + "type": "number", "format": "double", - "description": "The free memory in the cluster in MB.", - "type": "number" + "description": "The free memory in the cluster in MB." }, "clusterUsedMemoryMb": { + "type": "number", "format": "double", - "description": "The used memory in the cluster in MB.", - "type": "number" + "description": "The used memory in the cluster in MB." }, "clusterFailoverMemoryMb": { + "type": "number", "format": "double", - "description": "The failover memory in the cluster in MB.", - "type": "number" + "description": "The failover memory in the cluster in MB." }, "clusterFragmentationMemoryMb": { + "type": "number", "format": "double", - "description": "The fragmentation memory in the cluster in MB.", - "type": "number" + "description": "The fragmentation memory in the cluster in MB." }, "clusterHypervReserveMemoryMb": { + "type": "number", "format": "double", - "description": "The memory reserved for Hyper-V in the cluster in MB.", - "type": "number" + "description": "The memory reserved for Hyper-V in the cluster in MB." }, "clusterInfraVmMemoryMb": { + "type": "number", "format": "double", - "description": "The memory of the Infra VM in the cluster in MB.", - "type": "number" + "description": "The memory of the Infra VM in the cluster in MB." }, "clusterTotalMemoryMb": { + "type": "number", "format": "double", - "description": "The total memory in the cluster in MB.", - "type": "number" + "description": "The total memory in the cluster in MB." }, "clusterNonFailoverVmMb": { + "type": "number", "format": "double", - "description": "The non-failover memory in the cluster in MB.", - "type": "number" + "description": "The non-failover memory in the cluster in MB." }, "clusterMemoryUsedByVmsMb": { + "type": "number", "format": "double", - "description": "The memory used by VMs in the cluster in MB.", - "type": "number" + "description": "The memory used by VMs in the cluster in MB." } } }, "ClusterStorageViewData": { - "description": "Cluster Storage Data.", "type": "object", + "description": "Cluster Storage Data.", "properties": { "clusterTotalStorageMb": { + "type": "number", "format": "double", - "description": "Total storage on the cluster in MB.", - "type": "number" + "description": "Total storage on the cluster in MB." }, "clusterFreeStorageMb": { + "type": "number", "format": "double", - "description": "The available or free storage on the cluster in MB.", - "type": "number" + "description": "The available or free storage on the cluster in MB." } } }, + "ClusterWitnessType": { + "type": "string", + "description": "Cluster Witness Type", + "enum": [ + "None", + "Cloud", + "FileShare" + ], + "x-ms-enum": { + "name": "ClusterWitnessType", + "modelAsString": true, + "values": [ + { + "name": "None", + "value": "None" + }, + { + "name": "Cloud", + "value": "Cloud" + }, + { + "name": "FileShare", + "value": "FileShare" + } + ] + } + }, "CniConfig": { - "description": "Cni configuration", "type": "object", + "description": "Cni configuration", "properties": { "type": { - "description": "Cni type", "type": "string", + "description": "Cni type", "readOnly": true }, "version": { - "description": "Cni version", "type": "string", + "description": "Cni version", "readOnly": true }, "podSubnet": { - "description": "Pod Subnet", "type": "string", + "description": "Pod Subnet", "readOnly": true }, "serviceSubnet": { - "description": "Service subnet", "type": "string", + "description": "Service subnet", "readOnly": true } } }, "ComputeResource": { - "description": "Compute infrastructure Resource", - "required": [ - "processorCount", - "memoryInGB" - ], "type": "object", + "description": "Compute infrastructure Resource", "properties": { "processorCount": { + "type": "integer", "format": "int32", - "description": "Processor count", - "type": "integer" + "description": "Processor count" }, "memoryInGB": { + "type": "integer", "format": "int64", - "description": "Memory in GB", - "type": "integer" + "description": "Memory in GB" } - } + }, + "required": [ + "processorCount", + "memoryInGB" + ] }, "ContactDetails": { - "description": "Contains all the contact details of the customer.", - "required": [ - "contactPerson", - "companyName", - "phone", - "emailList" - ], "type": "object", + "description": "Contains all the contact details of the customer.", "properties": { "contactPerson": { - "description": "The contact person name.", - "type": "string" + "type": "string", + "description": "The contact person name." }, "companyName": { - "description": "The name of the company.", - "type": "string" + "type": "string", + "description": "The name of the company." }, "phone": { - "description": "The phone number.", - "type": "string" + "type": "string", + "description": "The phone number." }, "emailList": { - "description": "The email list.", - "uniqueItems": false, "type": "array", + "description": "The email list.", "items": { "type": "string" - }, - "x-ms-identifiers": [] + } } - } + }, + "required": [ + "contactPerson", + "companyName", + "phone", + "emailList" + ] }, "Container": { - "description": "Represents a container on the Data Box Edge/Gateway device.", - "required": [ - "properties" - ], "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ARMBaseModel" - } - ], + "description": "Represents a container on the Data Box Edge/Gateway device.", "properties": { "properties": { "$ref": "#/definitions/ContainerProperties", "description": "The container properties.", "x-ms-client-flatten": true - }, - "systemData": { - "$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", - "description": "Metadata pertaining to creation and last modification of Container", - "readOnly": true } - } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ] }, "ContainerList": { - "description": "Collection of all the containers on the Data Box Edge/Gateway device.", "type": "object", + "description": "Collection of all the containers on the Data Box Edge/Gateway device.", "properties": { "value": { - "description": "The list of containers.", - "uniqueItems": false, "type": "array", + "description": "The Container items on this page", "items": { "$ref": "#/definitions/Container" }, - "x-ms-identifiers": [], "readOnly": true }, "nextLink": { - "description": "Link to the next set of results.", "type": "string", - "readOnly": true + "format": "uri", + "description": "The link to the next page of items" } - } + }, + "required": [ + "value" + ] }, "ContainerProperties": { - "description": "The container properties.", - "required": [ - "dataFormat" - ], "type": "object", + "description": "The container properties.", "properties": { "containerStatus": { + "$ref": "#/definitions/ContainerStatus", "description": "Current status of the container.", - "enum": [ - "OK", - "Offline", - "Unknown", - "Updating", - "NeedsAttention" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "ContainerStatus", - "modelAsString": true - } + "readOnly": true }, "dataFormat": { - "description": "DataFormat for Container", - "enum": [ - "BlockBlob", - "PageBlob", - "AzureFile" - ], - "type": "string", - "x-ms-enum": { - "name": "AzureContainerDataFormat", - "modelAsString": true - } + "$ref": "#/definitions/AzureContainerDataFormat", + "description": "DataFormat for Container" }, "refreshDetails": { "$ref": "#/definitions/RefreshDetails", @@ -5093,87 +5758,110 @@ "readOnly": true }, "createdDateTime": { + "type": "string", "format": "date-time", "description": "The UTC time when container got created.", - "type": "string", "readOnly": true } - } - }, - "DataBoxEdgeDevice": { - "description": "The Data Box Edge/Gateway device.", + }, "required": [ - "location" + "dataFormat" + ] + }, + "ContainerStatus": { + "type": "string", + "description": "Current status of the container.", + "enum": [ + "OK", + "Offline", + "Unknown", + "Updating", + "NeedsAttention" ], + "x-ms-enum": { + "name": "ContainerStatus", + "modelAsString": true, + "values": [ + { + "name": "OK", + "value": "OK" + }, + { + "name": "Offline", + "value": "Offline" + }, + { + "name": "Unknown", + "value": "Unknown" + }, + { + "name": "Updating", + "value": "Updating" + }, + { + "name": "NeedsAttention", + "value": "NeedsAttention" + } + ] + } + }, + "DCAccessCode": { "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ARMBaseModel" + "description": "DC Access code in the case of Self Managed Shipping.", + "properties": { + "properties": { + "$ref": "#/definitions/DCAccessCodeProperties", + "description": "DCAccessCode properties.", + "x-ms-client-flatten": true } - ], + } + }, + "DCAccessCodeProperties": { + "type": "object", + "description": "DCAccessCode Properties.", "properties": { - "location": { - "description": "The location of the device. This is a supported and registered Azure geographical region (for example, West US, East US, or Southeast Asia). The geographical region of a device cannot be changed once it is created, but if an identical geographical region is specified on update, the request will succeed.", + "authCode": { "type": "string", - "x-ms-mutability": [ - "read", - "create" - ] - }, - "tags": { - "description": "The list of tags that describe the device. These tags can be used to view and group this device (across resource groups).", - "type": "object", - "additionalProperties": { - "type": "string" - } + "description": "DCAccess Code for the Self Managed shipment." + } + } + }, + "DataBoxEdgeDevice": { + "type": "object", + "description": "The Data Box Edge/Gateway device.", + "properties": { + "properties": { + "$ref": "#/definitions/DataBoxEdgeDeviceProperties", + "description": "The properties of the Data Box Edge/Gateway device.", + "x-ms-client-flatten": true }, "sku": { "$ref": "#/definitions/Sku", "description": "The SKU type." }, "etag": { - "description": "The etag for the devices.", - "type": "string" + "type": "string", + "description": "The etag for the devices." }, "identity": { "$ref": "#/definitions/ResourceIdentity", "description": "Msi identity of the resource" }, "kind": { + "$ref": "#/definitions/DataBoxEdgeDeviceKind", "description": "The kind of the device.", - "enum": [ - "AzureDataBoxGateway", - "AzureStackEdge", - "AzureStackHub", - "AzureModularDataCentre" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "DataBoxEdgeDeviceKind", - "modelAsString": true - } - }, - "systemData": { - "$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", - "description": "DataBoxEdge Resource", "readOnly": true - }, - "properties": { - "$ref": "#/definitions/DataBoxEdgeDeviceProperties", - "description": "The properties of the Data Box Edge/Gateway device.", - "x-ms-client-flatten": true } - } - }, - "DataBoxEdgeDeviceExtendedInfo": { - "description": "The extended Info of the Data Box Edge/Gateway device.", - "type": "object", + }, "allOf": [ { - "$ref": "#/definitions/ARMBaseModel" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" } - ], + ] + }, + "DataBoxEdgeDeviceExtendedInfo": { + "type": "object", + "description": "The extended Info of the Data Box Edge/Gateway device.", "properties": { "properties": { "$ref": "#/definitions/DataBoxEdgeDeviceExtendedInfoProperties", @@ -5181,176 +5869,181 @@ "x-ms-client-flatten": true }, "systemData": { - "$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/systemData", "description": "Metadata pertaining to creation and last modification of DataBoxEdgeDevice", "readOnly": true } - } + }, + "allOf": [ + { + "$ref": "#/definitions/ARMBaseModel" + } + ] }, "DataBoxEdgeDeviceExtendedInfoPatch": { - "description": "The Data Box Edge/Gateway device extended info patch.", "type": "object", + "description": "The Data Box Edge/Gateway device extended info patch.", "properties": { "clientSecretStoreId": { - "description": "The Key Vault ARM Id for client secrets", - "type": "string" + "type": "string", + "description": "The Key Vault ARM Id for client secrets" }, "clientSecretStoreUrl": { - "description": "The url to access the Client Key Vault", - "type": "string" + "type": "string", + "description": "The url to access the Client Key Vault" }, "channelIntegrityKeyName": { - "description": "The name for Channel Integrity Key stored in the Client Key Vault", - "type": "string" + "type": "string", + "description": "The name for Channel Integrity Key stored in the Client Key Vault" }, "channelIntegrityKeyVersion": { - "description": "The version of Channel Integrity Key stored in the Client Key Vault", - "type": "string" + "type": "string", + "description": "The version of Channel Integrity Key stored in the Client Key Vault" }, "syncStatus": { - "description": "For changing or to initiate the resync to key-vault set the status to KeyVaultSyncPending, rest of the status will not be applicable.", - "enum": [ - "KeyVaultSynced", - "KeyVaultSyncFailed", - "KeyVaultNotConfigured", - "KeyVaultSyncPending", - "KeyVaultSyncing", - "KeyVaultNotSynced" - ], - "type": "string", - "x-ms-enum": { - "name": "KeyVaultSyncStatus", - "modelAsString": true - } + "$ref": "#/definitions/KeyVaultSyncStatus", + "description": "For changing or to initiate the resync to key-vault set the status to KeyVaultSyncPending, rest of the status will not be applicable." } } }, "DataBoxEdgeDeviceExtendedInfoProperties": { - "description": "The properties of the Data Box Edge/Gateway device extended info.", "type": "object", + "description": "The properties of the Data Box Edge/Gateway device extended info.", "properties": { "encryptionKeyThumbprint": { - "description": "The digital signature of encrypted certificate.", - "type": "string" + "type": "string", + "description": "The digital signature of encrypted certificate." }, "encryptionKey": { - "description": "The public part of the encryption certificate. Client uses this to encrypt any secret.", - "type": "string" + "type": "string", + "description": "The public part of the encryption certificate. Client uses this to encrypt any secret." }, "resourceKey": { - "description": "The Resource ID of the Resource.", "type": "string", + "description": "The Resource ID of the Resource.", "readOnly": true }, "clientSecretStoreId": { - "description": "The Key Vault ARM Id for client secrets", - "type": "string" + "type": "string", + "description": "The Key Vault ARM Id for client secrets" }, "clientSecretStoreUrl": { - "description": "The url to access the Client Key Vault", - "type": "string" + "type": "string", + "description": "The url to access the Client Key Vault" }, "channelIntegrityKeyName": { - "description": "The name of Channel Integrity Key stored in the Client Key Vault", - "type": "string" + "type": "string", + "description": "The name of Channel Integrity Key stored in the Client Key Vault" }, "channelIntegrityKeyVersion": { - "description": "The version of Channel Integrity Key stored in the Client Key Vault", - "type": "string" + "type": "string", + "description": "The version of Channel Integrity Key stored in the Client Key Vault" }, "keyVaultSyncStatus": { - "description": "Key vault sync status", - "enum": [ - "KeyVaultSynced", - "KeyVaultSyncFailed", - "KeyVaultNotConfigured", - "KeyVaultSyncPending", - "KeyVaultSyncing", - "KeyVaultNotSynced" - ], - "type": "string", - "x-ms-enum": { - "name": "KeyVaultSyncStatus", - "modelAsString": true - } + "$ref": "#/definitions/KeyVaultSyncStatus", + "description": "Key vault sync status" }, "deviceSecrets": { - "description": "Device secrets, will be returned only with ODataFilter $expand=deviceSecrets", "type": "object", + "description": "Device secrets, will be returned only with ODataFilter $expand=deviceSecrets", "additionalProperties": { "$ref": "#/definitions/Secret" }, "readOnly": true }, "clusterWitnessType": { + "$ref": "#/definitions/ClusterWitnessType", "description": "Cluster Witness Type", - "enum": [ - "None", - "Cloud", - "FileShare" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "ClusterWitnessType", - "modelAsString": true - } + "readOnly": true }, "fileShareWitnessLocation": { - "description": "The witness location of file share.", "type": "string", + "description": "The witness location of file share.", "readOnly": true }, "fileShareWitnessUsername": { - "description": "The username of file share.", "type": "string", + "description": "The username of file share.", "readOnly": true }, "cloudWitnessStorageAccountName": { - "description": "The Cloud Witness Storage account name.", "type": "string", + "description": "The Cloud Witness Storage account name.", "readOnly": true }, "cloudWitnessContainerName": { - "description": "The Container for cloud witness in the storage account.", "type": "string", + "description": "The Container for cloud witness in the storage account.", "readOnly": true }, "cloudWitnessStorageEndpoint": { - "description": "The Azure service endpoint of the cloud witness storage account.", "type": "string", + "description": "The Azure service endpoint of the cloud witness storage account.", "readOnly": true } } }, + "DataBoxEdgeDeviceKind": { + "type": "string", + "description": "The kind of the device.", + "enum": [ + "AzureDataBoxGateway", + "AzureStackEdge", + "AzureStackHub", + "AzureModularDataCentre" + ], + "x-ms-enum": { + "name": "DataBoxEdgeDeviceKind", + "modelAsString": true, + "values": [ + { + "name": "AzureDataBoxGateway", + "value": "AzureDataBoxGateway" + }, + { + "name": "AzureStackEdge", + "value": "AzureStackEdge" + }, + { + "name": "AzureStackHub", + "value": "AzureStackHub" + }, + { + "name": "AzureModularDataCentre", + "value": "AzureModularDataCentre" + } + ] + } + }, "DataBoxEdgeDeviceList": { - "description": "The collection of Data Box Edge/Gateway devices.", "type": "object", + "description": "The collection of Data Box Edge/Gateway devices.", "properties": { "value": { - "description": "The list of Data Box Edge/Gateway devices.", - "uniqueItems": false, "type": "array", + "description": "The DataBoxEdgeDevice items on this page", "items": { "$ref": "#/definitions/DataBoxEdgeDevice" }, - "x-ms-identifiers": [], "readOnly": true }, "nextLink": { - "description": "Link to the next set of results.", "type": "string", - "readOnly": true + "format": "uri", + "description": "The link to the next page of items" } - } + }, + "required": [ + "value" + ] }, "DataBoxEdgeDevicePatch": { - "description": "The Data Box Edge/Gateway device patch.", "type": "object", + "description": "The Data Box Edge/Gateway device patch.", "properties": { "tags": { - "description": "The tags attached to the Data Box Edge/Gateway resource.", "type": "object", + "description": "The tags attached to the Data Box Edge/Gateway resource.", "additionalProperties": { "type": "string" } @@ -5367,122 +6060,87 @@ } }, "DataBoxEdgeDeviceProperties": { - "description": "The properties of the Data Box Edge/Gateway device.", "type": "object", + "description": "The properties of the Data Box Edge/Gateway device.", "properties": { "systemData": { - "$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/systemData", "description": "DataBoxEdge Device Properties", "readOnly": true }, "dataBoxEdgeDeviceStatus": { + "$ref": "#/definitions/DataBoxEdgeDeviceStatus", "description": "The status of the Data Box Edge/Gateway device.", - "enum": [ - "ReadyToSetup", - "Online", - "Offline", - "NeedsAttention", - "Disconnected", - "PartiallyDisconnected", - "Maintenance" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "DataBoxEdgeDeviceStatus", - "modelAsString": true - } + "readOnly": true }, "serialNumber": { - "description": "The Serial Number of Data Box Edge/Gateway device.", "type": "string", + "description": "The Serial Number of Data Box Edge/Gateway device.", "readOnly": true }, "description": { - "description": "The Description of the Data Box Edge/Gateway device.", "type": "string", + "description": "The Description of the Data Box Edge/Gateway device.", "readOnly": true }, "modelDescription": { - "description": "The description of the Data Box Edge/Gateway device model.", "type": "string", + "description": "The description of the Data Box Edge/Gateway device model.", "readOnly": true }, "deviceType": { + "$ref": "#/definitions/DeviceType", "description": "The type of the Data Box Edge/Gateway device.", - "enum": [ - "DataBoxEdgeDevice" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "DeviceType", - "modelAsString": true - } + "readOnly": true }, "friendlyName": { - "description": "The Data Box Edge/Gateway device name.", "type": "string", + "description": "The Data Box Edge/Gateway device name.", "readOnly": true }, "culture": { - "description": "The Data Box Edge/Gateway device culture.", "type": "string", + "description": "The Data Box Edge/Gateway device culture.", "readOnly": true }, "deviceModel": { - "description": "The Data Box Edge/Gateway device model.", "type": "string", + "description": "The Data Box Edge/Gateway device model.", "readOnly": true }, "deviceSoftwareVersion": { - "description": "The Data Box Edge/Gateway device software version.", "type": "string", + "description": "The Data Box Edge/Gateway device software version.", "readOnly": true }, "deviceLocalCapacity": { + "type": "integer", "format": "int64", "description": "The Data Box Edge/Gateway device local capacity in MB.", - "type": "integer", "readOnly": true }, "timeZone": { - "description": "The Data Box Edge/Gateway device timezone.", "type": "string", + "description": "The Data Box Edge/Gateway device timezone.", "readOnly": true }, "deviceHcsVersion": { - "description": "The device software version number of the device (eg: 1.2.18105.6).", "type": "string", + "description": "The device software version number of the device (eg: 1.2.18105.6).", "readOnly": true }, "configuredRoleTypes": { - "description": "Type of compute roles configured.", - "uniqueItems": false, "type": "array", + "description": "Type of compute roles configured.", "items": { - "enum": [ - "IOT", - "ASA", - "Functions", - "Cognitive", - "MEC", - "CloudEdgeManagement", - "Kubernetes" - ], - "type": "string", - "x-ms-enum": { - "name": "RoleTypes", - "modelAsString": true - }, - "x-ms-identifiers": [] + "$ref": "#/definitions/RoleTypes" }, "readOnly": true }, "nodeCount": { + "type": "integer", "format": "int32", "description": "The number of nodes in the cluster.", - "type": "integer", "readOnly": true }, "resourceMoveDetails": { @@ -5500,15 +6158,15 @@ "description": "The details of data-residency related properties for this resource" }, "kubernetesWorkloadProfile": { - "description": "Kubernetes Workload Profile", "type": "string", + "description": "Kubernetes Workload Profile", "readOnly": true } } }, "DataBoxEdgeDevicePropertiesPatch": { - "description": "The Data Box Edge/Gateway device properties patch.", "type": "object", + "description": "The Data Box Edge/Gateway device properties patch.", "properties": { "edgeProfile": { "$ref": "#/definitions/EdgeProfilePatch", @@ -5516,313 +6174,311 @@ } } }, - "DataBoxEdgeMoveRequest": { - "description": "Resource Move details", - "required": [ - "targetResourceGroup", - "resources" + "DataBoxEdgeDeviceStatus": { + "type": "string", + "description": "The status of the Data Box Edge/Gateway device.", + "enum": [ + "ReadyToSetup", + "Online", + "Offline", + "NeedsAttention", + "Disconnected", + "PartiallyDisconnected", + "Maintenance" ], - "type": "object", - "properties": { - "targetResourceGroup": { - "description": "Target resource group ARMId", - "type": "string" - }, - "resources": { - "description": "List of resources to be moved", - "uniqueItems": false, - "type": "array", - "items": { - "type": "string" + "x-ms-enum": { + "name": "DataBoxEdgeDeviceStatus", + "modelAsString": true, + "values": [ + { + "name": "ReadyToSetup", + "value": "ReadyToSetup" + }, + { + "name": "Online", + "value": "Online" }, - "x-ms-identifiers": [] - } + { + "name": "Offline", + "value": "Offline" + }, + { + "name": "NeedsAttention", + "value": "NeedsAttention" + }, + { + "name": "Disconnected", + "value": "Disconnected" + }, + { + "name": "PartiallyDisconnected", + "value": "PartiallyDisconnected" + }, + { + "name": "Maintenance", + "value": "Maintenance" + } + ] } }, "DataBoxEdgeSku": { - "description": "The Sku information.", "type": "object", + "description": "The Sku information.", "properties": { "resourceType": { - "description": "The type of the resource.", "type": "string", + "description": "The type of the resource.", "readOnly": true }, "name": { + "$ref": "#/definitions/SkuName", "description": "The Sku name.", - "enum": [ - "Gateway", - "Edge", - "TEA_1Node", - "TEA_1Node_UPS", - "TEA_1Node_Heater", - "TEA_1Node_UPS_Heater", - "TEA_4Node_Heater", - "TEA_4Node_UPS_Heater", - "TMA", - "TDC", - "TCA_Small", - "GPU", - "TCA_Large", - "EdgeP_Base", - "EdgeP_High", - "EdgePR_Base", - "EdgePR_Base_UPS", - "EP2_64_1VPU_W", - "EP2_128_1T4_Mx1_W", - "EP2_256_2T4_W", - "EdgeMR_Mini", - "RCA_Small", - "RCA_Large", - "RDC", - "Management", - "EP2_64_Mx1_W", - "EP2_128_GPU1_Mx1_W", - "EP2_256_GPU2_Mx1", - "EdgeMR_TCP" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "SkuName", - "modelAsString": true - } + "readOnly": true }, "kind": { - "description": "The Sku kind.", "type": "string", + "description": "The Sku kind.", "readOnly": true }, "tier": { + "$ref": "#/definitions/SkuTier", "description": "The Sku tier.", - "enum": [ - "Standard" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "SkuTier", - "modelAsString": true - } + "readOnly": true }, "size": { - "description": "The Sku kind.", "type": "string", + "description": "The Sku kind.", "readOnly": true }, "family": { - "description": "The Sku family.", "type": "string", + "description": "The Sku family.", "readOnly": true }, "locations": { - "description": "Availability of the Sku for the region.", - "uniqueItems": false, "type": "array", + "description": "Availability of the Sku for the region.", "items": { "type": "string" }, - "readOnly": true, - "x-ms-identifiers": [] + "readOnly": true }, "apiVersions": { - "description": "The API versions in which Sku is available.", - "uniqueItems": false, "type": "array", + "description": "The API versions in which Sku is available.", "items": { "type": "string" }, - "readOnly": true, - "x-ms-identifiers": [] + "readOnly": true }, "locationInfo": { - "description": "Availability of the Sku for the location/zone/site.", - "uniqueItems": false, "type": "array", + "description": "Availability of the Sku for the location/zone/site.", "items": { "$ref": "#/definitions/SkuLocationInfo" }, + "readOnly": true, "x-ms-identifiers": [ "location" - ], - "readOnly": true + ] }, "costs": { - "description": "The pricing info of the Sku.", - "uniqueItems": false, "type": "array", + "description": "The pricing info of the Sku.", "items": { "$ref": "#/definitions/SkuCost" }, + "readOnly": true, "x-ms-identifiers": [ "meterId" - ], - "readOnly": true + ] }, "signupOption": { + "$ref": "#/definitions/SkuSignupOption", "description": "Sku can be signed up by customer or not.", - "enum": [ - "None", - "Available" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "SkuSignupOption", - "modelAsString": true - } + "readOnly": true }, "version": { + "$ref": "#/definitions/SkuVersion", "description": "Availability of the Sku as preview/stable.", - "enum": [ - "Stable", - "Preview" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "SkuVersion", - "modelAsString": true - } + "readOnly": true }, "availability": { + "$ref": "#/definitions/SkuAvailability", "description": "Links to the next set of results", - "enum": [ - "Available", - "Unavailable" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "SkuAvailability", - "modelAsString": true - } + "readOnly": true }, "shipmentTypes": { - "description": "List of Shipment Types supported by this SKU", - "uniqueItems": false, "type": "array", + "description": "List of Shipment Types supported by this SKU", "items": { - "enum": [ - "NotApplicable", - "ShippedToCustomer", - "SelfPickup" - ], - "type": "string", - "x-ms-enum": { - "name": "ShipmentType", - "modelAsString": true - } + "$ref": "#/definitions/ShipmentType" }, - "readOnly": true, - "x-ms-identifiers": [] + "readOnly": true }, "capabilities": { - "description": "The capability info of the SKU.", - "uniqueItems": false, "type": "array", + "description": "The capability info of the SKU.", "items": { "$ref": "#/definitions/SkuCapability" }, + "readOnly": true, "x-ms-identifiers": [ "name" - ], - "readOnly": true + ] } } }, "DataBoxEdgeSkuList": { - "description": "List of SKU Information objects.", "type": "object", + "description": "List of SKU Information objects.", "properties": { "value": { - "description": "List of ResourceType Sku", - "uniqueItems": false, "type": "array", + "description": "The DataBoxEdgeSku items on this page", "items": { "$ref": "#/definitions/DataBoxEdgeSku" }, + "readOnly": true, "x-ms-identifiers": [ "name", "resourceType" - ], - "readOnly": true + ] }, "nextLink": { - "description": "Links to the next set of results", "type": "string", - "readOnly": true + "format": "uri", + "description": "The link to the next page of items" } + }, + "required": [ + "value" + ] + }, + "DataPolicy": { + "type": "string", + "description": "Data policy of the share.", + "enum": [ + "Cloud", + "Local" + ], + "x-ms-enum": { + "name": "DataPolicy", + "modelAsString": true, + "values": [ + { + "name": "Cloud", + "value": "Cloud" + }, + { + "name": "Local", + "value": "Local" + } + ] } }, "DataResidency": { - "description": "Wraps data-residency related information for edge-resource and this should be used with ARM layer.", "type": "object", + "description": "Wraps data-residency related information for edge-resource and this should be used with ARM layer.", "properties": { "type": { - "description": "DataResidencyType enum", - "enum": [ - "GeoZoneReplication", - "ZoneReplication" - ], - "type": "string", - "x-ms-enum": { - "name": "DataResidencyType", - "modelAsString": true - } + "$ref": "#/definitions/DataResidencyType", + "description": "DataResidencyType enum" } } }, - "DCAccessCode": { - "description": "DC Access code in the case of Self Managed Shipping.", - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/DCAccessCodeProperties", - "description": "DCAccessCode properties.", - "x-ms-client-flatten": true - } + "DataResidencyType": { + "type": "string", + "description": "DataResidencyType enum", + "enum": [ + "GeoZoneReplication", + "ZoneReplication" + ], + "x-ms-enum": { + "name": "DataResidencyType", + "modelAsString": true, + "values": [ + { + "name": "GeoZoneReplication", + "value": "GeoZoneReplication" + }, + { + "name": "ZoneReplication", + "value": "ZoneReplication" + } + ] } }, - "DCAccessCodeProperties": { - "description": "DCAccessCode Properties.", - "type": "object", - "properties": { - "authCode": { - "description": "DCAccess Code for the Self Managed shipment.", - "type": "string" - } + "DayOfWeek": { + "type": "string", + "enum": [ + "Sunday", + "Monday", + "Tuesday", + "Wednesday", + "Thursday", + "Friday", + "Saturday" + ], + "x-ms-enum": { + "name": "DayOfWeek", + "modelAsString": true, + "values": [ + { + "name": "Sunday", + "value": "Sunday" + }, + { + "name": "Monday", + "value": "Monday" + }, + { + "name": "Tuesday", + "value": "Tuesday" + }, + { + "name": "Wednesday", + "value": "Wednesday" + }, + { + "name": "Thursday", + "value": "Thursday" + }, + { + "name": "Friday", + "value": "Friday" + }, + { + "name": "Saturday", + "value": "Saturday" + } + ] } }, "DeviceCapacityInfo": { - "description": "Object for Capturing DeviceCapacityInfo", "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ARMBaseModel" - } - ], + "description": "Object for Capturing DeviceCapacityInfo", "properties": { "properties": { "$ref": "#/definitions/DeviceCapacityInfoProperties", "description": "The device capacity properties.", "x-ms-client-flatten": true - }, - "systemData": { - "$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", - "description": "Metadata pertaining to device capacity info.", - "readOnly": true } - } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ] }, "DeviceCapacityInfoProperties": { - "description": "The properties of Device Capacity Info", "type": "object", + "description": "The properties of Device Capacity Info", "properties": { "timeStamp": { + "type": "string", "format": "date-time", - "description": "Timestamp of request in UTC", - "type": "string" + "description": "Timestamp of request in UTC" }, "clusterStorageCapacityInfo": { "$ref": "#/definitions/ClusterStorageViewData", @@ -5833,8 +6489,8 @@ "description": "Cluster capacity data for compute resources (Memory and GPU)." }, "nodeCapacityInfos": { - "description": "The dictionary of individual node names and node capacities in the cluster.", "type": "object", + "description": "The dictionary of individual node names and node capacities in the cluster.", "additionalProperties": { "$ref": "#/definitions/HostCapacity" } @@ -5842,32 +6498,27 @@ } }, "DeviceCapacityRequestInfo": { - "description": "Object for Capturing DeviceCapacityRequestInfo", - "required": [ - "properties" - ], "type": "object", + "description": "Object for Capturing DeviceCapacityRequestInfo", "properties": { "properties": { "$ref": "#/definitions/DeviceCapacityRequestInfoProperties", "description": "The properties of the Device Capacity Request.", "x-ms-client-flatten": true } - } + }, + "required": [ + "properties" + ] }, "DeviceCapacityRequestInfoProperties": { - "description": "Properties of Device Capacity Request Info containing VM's to be checked and their corresponding results.", - "required": [ - "vmPlacementQuery" - ], "type": "object", + "description": "Properties of Device Capacity Request Info containing VM's to be checked and their corresponding results.", "properties": { "vmPlacementQuery": { - "description": "Array containing the sizes of the VMs for checking if its feasible to create them on the appliance.", - "uniqueItems": false, "type": "array", + "description": "Array containing the sizes of the VMs for checking if its feasible to create them on the appliance.", "items": { - "uniqueItems": false, "type": "array", "items": { "type": "string" @@ -5876,72 +6527,80 @@ "x-ms-identifiers": [] }, "vmPlacementResults": { - "description": "Array of the VMs of the sizes in VmSizes can be provisioned on the appliance.", - "uniqueItems": false, "type": "array", + "description": "Array of the VMs of the sizes in VmSizes can be provisioned on the appliance.", "items": { "$ref": "#/definitions/VmPlacementRequestResult" }, "x-ms-identifiers": [] } + }, + "required": [ + "vmPlacementQuery" + ] + }, + "DeviceType": { + "type": "string", + "description": "The type of the Data Box Edge/Gateway device.", + "enum": [ + "DataBoxEdgeDevice" + ], + "x-ms-enum": { + "name": "DeviceType", + "modelAsString": true, + "values": [ + { + "name": "DataBoxEdgeDevice", + "value": "DataBoxEdgeDevice" + } + ] } }, "DiagnosticProactiveLogCollectionSettings": { - "description": "The diagnostic proactive log collection settings of a device.", - "required": [ - "properties" - ], "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ARMBaseModel" - } - ], + "description": "The diagnostic proactive log collection settings of a device.", "properties": { "properties": { "$ref": "#/definitions/ProactiveLogCollectionSettingsProperties", "description": "Properties of the diagnostic proactive log collection settings.", "x-ms-client-flatten": true - }, - "systemData": { - "$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", - "description": "Metadata pertaining to creation and last modification of DiagnosticProactiveLogCollectionSettings", - "readOnly": true } - } - }, - "DiagnosticRemoteSupportSettings": { - "description": "The remote support settings of a device.", + }, "required": [ "properties" ], - "type": "object", "allOf": [ { - "$ref": "#/definitions/ARMBaseModel" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" } - ], + ] + }, + "DiagnosticRemoteSupportSettings": { + "type": "object", + "description": "The remote support settings of a device.", "properties": { "properties": { "$ref": "#/definitions/DiagnosticRemoteSupportSettingsProperties", "description": "Properties of the remote support settings.", "x-ms-client-flatten": true - }, - "systemData": { - "$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", - "description": "Represents resource creation and updation time", - "readOnly": true } - } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ] }, "DiagnosticRemoteSupportSettingsProperties": { - "description": "The properties of remote support settings.", "type": "object", + "description": "The properties of remote support settings.", "properties": { "remoteSupportSettingsList": { - "description": "Remote support settings list according to the RemoteApplicationType", - "uniqueItems": false, "type": "array", + "description": "Remote support settings list according to the RemoteApplicationType", "items": { "$ref": "#/definitions/RemoteSupportSettings" }, @@ -5951,9 +6610,41 @@ } } }, + "DownloadPhase": { + "type": "string", + "description": "The download phase.", + "enum": [ + "Unknown", + "Initializing", + "Downloading", + "Verifying" + ], + "x-ms-enum": { + "name": "DownloadPhase", + "modelAsString": true, + "values": [ + { + "name": "Unknown", + "value": "Unknown" + }, + { + "name": "Initializing", + "value": "Initializing" + }, + { + "name": "Downloading", + "value": "Downloading" + }, + { + "name": "Verifying", + "value": "Verifying" + } + ] + } + }, "EdgeProfile": { - "description": "Details about Edge Profile for the resource", "type": "object", + "description": "Details about Edge Profile for the resource", "properties": { "subscription": { "$ref": "#/definitions/EdgeProfileSubscription", @@ -5962,8 +6653,8 @@ } }, "EdgeProfilePatch": { - "description": "The Data Box Edge/Gateway Edge Profile patch.", "type": "object", + "description": "The Data Box Edge/Gateway Edge Profile patch.", "properties": { "subscription": { "$ref": "#/definitions/EdgeProfileSubscriptionPatch", @@ -5972,30 +6663,19 @@ } }, "EdgeProfileSubscription": { - "description": "Subscription details for the Edge Profile", "type": "object", + "description": "Subscription details for the Edge Profile", "properties": { "registrationId": { - "description": "Edge Subscription Registration ID", - "type": "string" + "type": "string", + "description": "Edge Subscription Registration ID" }, "id": { - "description": "ARM ID of the subscription", - "type": "string" + "type": "string", + "description": "ARM ID of the subscription" }, "state": { - "enum": [ - "Registered", - "Warned", - "Suspended", - "Deleted", - "Unregistered" - ], - "type": "string", - "x-ms-enum": { - "name": "SubscriptionState", - "modelAsString": true - } + "$ref": "#/definitions/SubscriptionState" }, "registrationDate": { "type": "string" @@ -6010,87 +6690,94 @@ } }, "EdgeProfileSubscriptionPatch": { - "description": "The Data Box Edge/Gateway Edge Profile Subscription patch.", "type": "object", + "description": "The Data Box Edge/Gateway Edge Profile Subscription patch.", "properties": { "id": { - "description": "The path ID that uniquely identifies the subscription of the edge profile.", - "type": "string" + "type": "string", + "description": "The path ID that uniquely identifies the subscription of the edge profile." } } }, + "EncryptionAlgorithm": { + "type": "string", + "description": "The algorithm used to encrypt \"Value\".", + "enum": [ + "None", + "AES256", + "RSAES_PKCS1_v_1_5" + ], + "x-ms-enum": { + "name": "EncryptionAlgorithm", + "modelAsString": true, + "values": [ + { + "name": "None", + "value": "None" + }, + { + "name": "AES256", + "value": "AES256" + }, + { + "name": "RSAES_PKCS1_v_1_5", + "value": "RSAES_PKCS1_v_1_5" + } + ] + } + }, "EtcdInfo": { - "description": "Etcd configuration", "type": "object", + "description": "Etcd configuration", "properties": { "type": { - "description": "Etcd type", "type": "string", + "description": "Etcd type", "readOnly": true }, "version": { - "description": "Etcd version", "type": "string", + "description": "Etcd version", "readOnly": true } } }, "FileEventTrigger": { - "description": "Trigger details.", - "required": [ - "properties", - "kind" - ], "type": "object", - "allOf": [ - { - "$ref": "#/definitions/Trigger" - } - ], + "description": "Trigger details.", "properties": { "properties": { "$ref": "#/definitions/FileTriggerProperties", "description": "File trigger properties.", "x-ms-client-flatten": true - }, - "id": { - "description": "The path ID that uniquely identifies the object.", - "type": "string", - "readOnly": true - }, - "name": { - "description": "The object name.", - "type": "string", - "readOnly": true - }, - "type": { - "description": "The hierarchical type of the object.", - "type": "string", - "readOnly": true } }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "#/definitions/Trigger" + } + ], "x-ms-discriminator-value": "FileEvent" }, "FileSourceInfo": { - "description": "File source details.", - "required": [ - "shareId" - ], "type": "object", + "description": "File source details.", "properties": { "shareId": { - "description": "File share ID.", - "type": "string" + "type": "string", + "description": "File share ID." } - } + }, + "required": [ + "shareId" + ] }, "FileTriggerProperties": { - "description": "File trigger properties.", - "required": [ - "sourceInfo", - "sinkInfo" - ], "type": "object", + "description": "File trigger properties.", "properties": { "sourceInfo": { "$ref": "#/definitions/FileSourceInfo", @@ -6101,64 +6788,68 @@ "description": "Role sink info." }, "customContextTag": { + "type": "string", "description": "A custom context tag typically used to correlate the trigger against its usage. For example, if a periodic timer trigger is intended for certain specific IoT modules in the device, the tag can be the name or the image URL of the module.", - "maxLength": 192, - "type": "string" + "maxLength": 192 } - } + }, + "required": [ + "sourceInfo", + "sinkInfo" + ] }, "GenerateCertResponse": { - "description": "Used in activation key generation flow.", "type": "object", + "description": "Used in activation key generation flow.", "properties": { "publicKey": { - "description": "Gets or sets base64 encoded certificate raw data,\r\nthis is the public part needed to be uploaded to cert vault", - "type": "string" + "type": "string", + "description": "Gets or sets base64 encoded certificate raw data,\nthis is the public part needed to be uploaded to cert vault" }, "privateKey": { - "description": "Gets or sets base64 encoded private part of the certificate,\r\nneeded to form the activation key", "type": "string", + "format": "password", + "description": "Gets or sets base64 encoded private part of the certificate,\nneeded to form the activation key", "x-ms-secret": true }, "expiryTimeInUTC": { - "description": "Gets or sets expiry time in UTC", - "type": "string" + "type": "string", + "description": "Gets or sets expiry time in UTC" } } }, "HostCapacity": { - "description": "Host Capacity Data.", "type": "object", + "description": "Host Capacity Data.", "properties": { "hostName": { - "description": "The name of the host.", - "type": "string" + "type": "string", + "description": "The name of the host." }, "effectiveAvailableMemoryMbOnHost": { + "type": "integer", "format": "int64", - "description": "The available memory on the host accounting for VM placement size and any host VM reservations.", - "type": "integer" + "description": "The available memory on the host accounting for VM placement size and any host VM reservations." }, "availableGpuCount": { + "type": "integer", "format": "int32", - "description": "The available amount of GPUs on the host to use after accounting for GPUS used by reservations on the host.", - "type": "integer" + "description": "The available amount of GPUs on the host to use after accounting for GPUS used by reservations on the host." }, "vmUsedMemory": { - "description": "The VM used memory per VmId.", "type": "object", + "description": "The VM used memory per VmId.", "additionalProperties": { "$ref": "#/definitions/VmMemory" } }, "gpuType": { - "description": "The GPU type of the VM.", - "type": "string" + "type": "string", + "description": "The GPU type of the VM." }, "numaNodesData": { - "description": "The numa nodes information for Hpn VMs.", - "uniqueItems": false, "type": "array", + "description": "The numa nodes information for Hpn VMs.", "items": { "$ref": "#/definitions/NumaNodeData" }, @@ -6166,71 +6857,127 @@ } } }, - "ImageRepositoryCredential": { - "description": "Image repository credential.", - "required": [ - "imageRepositoryUrl", - "userName" + "HostPlatformType": { + "type": "string", + "description": "Platform where the runtime is hosted.", + "enum": [ + "KubernetesCluster", + "LinuxVM" ], + "x-ms-enum": { + "name": "HostPlatformType", + "modelAsString": true, + "values": [ + { + "name": "KubernetesCluster", + "value": "KubernetesCluster" + }, + { + "name": "LinuxVM", + "value": "LinuxVM" + } + ] + } + }, + "ImageRepositoryCredential": { "type": "object", + "description": "Image repository credential.", "properties": { "imageRepositoryUrl": { - "description": "Image repository url (e.g.: mcr.microsoft.com).", - "type": "string" + "type": "string", + "description": "Image repository url (e.g.: mcr.microsoft.com)." }, "userName": { - "description": "Repository user name.", - "type": "string" + "type": "string", + "description": "Repository user name." }, "password": { "$ref": "#/definitions/AsymmetricEncryptedSecret", "description": "Repository user password." } + }, + "required": [ + "imageRepositoryUrl", + "userName" + ] + }, + "InstallRebootBehavior": { + "type": "string", + "description": "Indicates if updates are available and at least one of the updates needs a reboot.", + "enum": [ + "NeverReboots", + "RequiresReboot", + "RequestReboot" + ], + "x-ms-enum": { + "name": "InstallRebootBehavior", + "modelAsString": true, + "values": [ + { + "name": "NeverReboots", + "value": "NeverReboots" + }, + { + "name": "RequiresReboot", + "value": "RequiresReboot" + }, + { + "name": "RequestReboot", + "value": "RequestReboot" + } + ] } }, - "IoTAddon": { - "description": "IoT Addon.", - "required": [ - "properties", - "kind" + "InstallationImpact": { + "type": "string", + "description": "Impact of Installing an updateType", + "enum": [ + "None", + "DeviceRebooted", + "KubernetesWorkloadsDown" ], + "x-ms-enum": { + "name": "InstallationImpact", + "modelAsString": true, + "values": [ + { + "name": "None", + "value": "None" + }, + { + "name": "DeviceRebooted", + "value": "DeviceRebooted" + }, + { + "name": "KubernetesWorkloadsDown", + "value": "KubernetesWorkloadsDown" + } + ] + } + }, + "IoTAddon": { "type": "object", - "allOf": [ - { - "$ref": "#/definitions/Addon" - } - ], + "description": "IoT Addon.", "properties": { "properties": { "$ref": "#/definitions/IoTAddonProperties", "description": "Properties specific to IOT addon.", "x-ms-client-flatten": true - }, - "id": { - "description": "The path ID that uniquely identifies the object.", - "type": "string", - "readOnly": true - }, - "name": { - "description": "The object name.", - "type": "string", - "readOnly": true - }, - "type": { - "description": "The hierarchical type of the object.", - "type": "string", - "readOnly": true } }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "#/definitions/Addon" + } + ], "x-ms-discriminator-value": "IotEdge" }, "IoTAddonProperties": { - "description": "IoT addon properties.", - "required": [ - "ioTDeviceDetails", - "ioTEdgeDeviceDetails" - ], "type": "object", + "description": "IoT addon properties.", "properties": { "ioTDeviceDetails": { "$ref": "#/definitions/IoTDeviceInfo", @@ -6241,160 +6988,103 @@ "description": "IoT edge device to which the IoT Addon needs to be configured." }, "version": { - "description": "Version of IoT running on the appliance.", "type": "string", + "description": "Version of IoT running on the appliance.", "readOnly": true }, "hostPlatform": { + "$ref": "#/definitions/PlatformType", "description": "Host OS supported by the IoT addon.", - "enum": [ - "Windows", - "Linux" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "PlatformType", - "modelAsString": true - } + "readOnly": true }, "hostPlatformType": { + "$ref": "#/definitions/HostPlatformType", "description": "Platform where the runtime is hosted.", - "enum": [ - "KubernetesCluster", - "LinuxVM" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "HostPlatformType", - "modelAsString": true - } + "readOnly": true }, "provisioningState": { + "$ref": "#/definitions/AddonState", "description": "Addon Provisioning State", - "enum": [ - "Invalid", - "Creating", - "Created", - "Updating", - "Reconfiguring", - "Failed", - "Deleting" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "AddonState", - "modelAsString": true - } + "readOnly": true } - } + }, + "required": [ + "ioTDeviceDetails", + "ioTEdgeDeviceDetails" + ] }, "IoTDeviceInfo": { - "description": "Metadata of IoT device/IoT Edge device to be configured.", - "required": [ - "deviceId", - "ioTHostHub" - ], "type": "object", + "description": "Metadata of IoT device/IoT Edge device to be configured.", "properties": { "deviceId": { - "description": "ID of the IoT device/edge device.", - "type": "string" + "type": "string", + "description": "ID of the IoT device/edge device." }, "ioTHostHub": { - "description": "Host name for the IoT hub associated to the device.", - "type": "string" + "type": "string", + "description": "Host name for the IoT hub associated to the device." }, "ioTHostHubId": { - "description": "Id for the IoT hub associated to the device.", - "type": "string" + "type": "string", + "description": "Id for the IoT hub associated to the device." }, "authentication": { "$ref": "#/definitions/Authentication", "description": "Encrypted IoT device/IoT edge device connection string." } - } + }, + "required": [ + "deviceId", + "ioTHostHub" + ] }, "IoTEdgeAgentInfo": { - "description": "IoT edge agent details is optional, this will be used for download system Agent module while bootstrapping IoT Role if specified.", - "required": [ - "imageName", - "tag" - ], "type": "object", + "description": "IoT edge agent details is optional, this will be used for download system Agent module while bootstrapping IoT Role if specified.", "properties": { "imageName": { - "description": "Name of the IoT edge agent image.", - "type": "string" + "type": "string", + "description": "Name of the IoT edge agent image." }, "tag": { - "description": "Image Tag.", - "type": "string" + "type": "string", + "description": "Image Tag." }, "imageRepository": { "$ref": "#/definitions/ImageRepositoryCredential", "description": "Image repository details." } - } + }, + "required": [ + "imageName", + "tag" + ] }, "IoTRole": { - "description": "Compute role.", - "required": [ - "kind" - ], "type": "object", - "allOf": [ - { - "$ref": "#/definitions/Role" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/IoTRoleProperties", - "description": "Properties specific to IoT role.", - "x-ms-client-flatten": true - }, - "id": { - "description": "The path ID that uniquely identifies the object.", - "type": "string", - "readOnly": true - }, - "name": { - "description": "The object name.", - "type": "string", - "readOnly": true - }, - "type": { - "description": "The hierarchical type of the object.", - "type": "string", - "readOnly": true + "description": "Compute role.", + "properties": { + "properties": { + "$ref": "#/definitions/IoTRoleProperties", + "description": "Properties specific to IoT role.", + "x-ms-client-flatten": true } }, + "allOf": [ + { + "$ref": "#/definitions/Role" + } + ], "x-ms-discriminator-value": "IOT" }, "IoTRoleProperties": { - "description": "IoT role properties.", - "required": [ - "hostPlatform", - "ioTDeviceDetails", - "ioTEdgeDeviceDetails", - "roleStatus" - ], "type": "object", + "description": "IoT role properties.", "properties": { "hostPlatform": { - "description": "Host OS supported by the IoT role.", - "enum": [ - "Windows", - "Linux" - ], - "type": "string", - "x-ms-enum": { - "name": "PlatformType", - "modelAsString": true - } + "$ref": "#/definitions/PlatformType", + "description": "Host OS supported by the IoT role." }, "ioTDeviceDetails": { "$ref": "#/definitions/IoTDeviceInfo", @@ -6405,9 +7095,8 @@ "description": "IoT edge device to which the IoT role needs to be configured." }, "shareMappings": { - "description": "Mount points of shares in role(s).", - "uniqueItems": false, "type": "array", + "description": "Mount points of shares in role(s).", "items": { "$ref": "#/definitions/MountPointMap" }, @@ -6420,250 +7109,175 @@ "description": "Iot edge agent details to download the agent and bootstrap iot runtime." }, "hostPlatformType": { + "$ref": "#/definitions/HostPlatformType", "description": "Platform where the Iot runtime is hosted.", - "enum": [ - "KubernetesCluster", - "LinuxVM" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "HostPlatformType", - "modelAsString": true - } + "readOnly": true }, "computeResource": { "$ref": "#/definitions/ComputeResource", "description": "Resource allocation" }, "roleStatus": { - "description": "Role status.", - "enum": [ - "Enabled", - "Disabled" - ], - "type": "string", - "x-ms-enum": { - "name": "RoleStatus", - "modelAsString": true - } + "$ref": "#/definitions/RoleStatus", + "description": "Role status." } - } + }, + "required": [ + "hostPlatform", + "ioTDeviceDetails", + "ioTEdgeDeviceDetails", + "roleStatus" + ] }, "Ipv4Config": { - "description": "Details related to the IPv4 address configuration.", "type": "object", + "description": "Details related to the IPv4 address configuration.", "properties": { "ipAddress": { - "description": "The IPv4 address of the network adapter.", "type": "string", + "description": "The IPv4 address of the network adapter.", "readOnly": true }, "subnet": { - "description": "The IPv4 subnet of the network adapter.", "type": "string", + "description": "The IPv4 subnet of the network adapter.", "readOnly": true }, "gateway": { - "description": "The IPv4 gateway of the network adapter.", "type": "string", + "description": "The IPv4 gateway of the network adapter.", "readOnly": true } } }, "Ipv6Config": { - "description": "Details related to the IPv6 address configuration.", "type": "object", + "description": "Details related to the IPv6 address configuration.", "properties": { "ipAddress": { - "description": "The IPv6 address of the network adapter.", "type": "string", + "description": "The IPv6 address of the network adapter.", "readOnly": true }, "prefixLength": { + "type": "integer", "format": "int32", "description": "The IPv6 prefix of the network adapter.", - "type": "integer", "readOnly": true }, "gateway": { - "description": "The IPv6 gateway of the network adapter.", "type": "string", + "description": "The IPv6 gateway of the network adapter.", "readOnly": true } } }, "Job": { - "description": "A device job.", "type": "object", + "description": "A device job.", "properties": { - "id": { - "description": "The path ID that uniquely identifies the object.", - "type": "string", - "readOnly": true - }, - "name": { - "description": "The name of the object.", - "type": "string", - "readOnly": true - }, - "type": { - "description": "The hierarchical type of the object.", - "type": "string", - "readOnly": true + "properties": { + "$ref": "#/definitions/JobProperties", + "description": "The properties of the job.", + "x-ms-client-flatten": true }, "status": { + "$ref": "#/definitions/JobStatus", "description": "The current status of the job.", - "enum": [ - "Invalid", - "Running", - "Succeeded", - "Failed", - "Canceled", - "Paused", - "Scheduled" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "JobStatus", - "modelAsString": true - } + "readOnly": true }, "startTime": { + "type": "string", "format": "date-time", "description": "The UTC date and time at which the job started.", - "type": "string", "readOnly": true }, "endTime": { + "type": "string", "format": "date-time", "description": "The UTC date and time at which the job completed.", - "type": "string", "readOnly": true }, "percentComplete": { + "type": "integer", "format": "int32", "description": "The percentage of the job that is complete.", - "type": "integer", "readOnly": true }, "error": { "$ref": "#/definitions/JobErrorDetails", "description": "The error details.", "readOnly": true - }, - "properties": { - "$ref": "#/definitions/JobProperties", - "description": "The properties of the job.", - "readOnly": true, - "x-ms-client-flatten": true } - } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ] }, "JobErrorDetails": { - "description": "The job error information containing the list of job errors.", "type": "object", + "description": "The job error information containing the list of job errors.", "properties": { "errorDetails": { - "description": "The error details.", - "uniqueItems": false, "type": "array", + "description": "The error details.", "items": { "$ref": "#/definitions/JobErrorItem" }, - "x-ms-identifiers": [], - "readOnly": true + "readOnly": true, + "x-ms-identifiers": [] }, "code": { - "description": "The code intended for programmatic access.", "type": "string", + "description": "The code intended for programmatic access.", "readOnly": true }, "message": { - "description": "The message that describes the error in detail.", "type": "string", + "description": "The message that describes the error in detail.", "readOnly": true } } }, "JobErrorItem": { - "description": "The job error items.", "type": "object", + "description": "The job error items.", "properties": { "recommendations": { - "description": "The recommended actions.", - "uniqueItems": false, "type": "array", + "description": "The recommended actions.", "items": { "type": "string" }, - "readOnly": true, - "x-ms-identifiers": [] + "readOnly": true }, "code": { - "description": "The code intended for programmatic access.", "type": "string", + "description": "The code intended for programmatic access.", "readOnly": true }, "message": { - "description": "The message that describes the error in detail.", "type": "string", + "description": "The message that describes the error in detail.", "readOnly": true } } }, "JobProperties": { - "description": "The properties for the job.", "type": "object", + "description": "The properties for the job.", "properties": { "jobType": { + "$ref": "#/definitions/JobType", "description": "The type of the job.", - "enum": [ - "Invalid", - "ScanForUpdates", - "DownloadUpdates", - "InstallUpdates", - "RefreshShare", - "RefreshContainer", - "Backup", - "Restore", - "TriggerSupportPackage" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "JobType", - "modelAsString": true - } + "readOnly": true }, "currentStage": { + "$ref": "#/definitions/UpdateOperationStage", "description": "Current stage of the update operation.", - "enum": [ - "Unknown", - "Initial", - "ScanStarted", - "ScanComplete", - "ScanFailed", - "DownloadStarted", - "DownloadComplete", - "DownloadFailed", - "InstallStarted", - "InstallComplete", - "InstallFailed", - "RebootInitiated", - "Success", - "Failure", - "RescanStarted", - "RescanComplete", - "RescanFailed" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "UpdateOperationStage", - "modelAsString": true - } + "readOnly": true }, "downloadProgress": { "$ref": "#/definitions/UpdateDownloadProgress", @@ -6676,33 +7290,176 @@ "readOnly": true }, "totalRefreshErrors": { + "type": "integer", "format": "int32", "description": "Total number of errors encountered during the refresh process.", - "type": "integer", "readOnly": true }, "errorManifestFile": { - "description": "Local share/remote container relative path to the error manifest file of the refresh.", "type": "string", + "description": "Local share/remote container relative path to the error manifest file of the refresh.", "readOnly": true }, "refreshedEntityId": { - "description": "ARM ID of the entity that was refreshed.", "type": "string", + "description": "ARM ID of the entity that was refreshed.", "readOnly": true }, "folder": { - "description": "If only subfolders need to be refreshed, then the subfolder path inside the share or container. (The path is empty if there are no subfolders.)", - "type": "string" + "type": "string", + "description": "If only subfolders need to be refreshed, then the subfolder path inside the share or container. (The path is empty if there are no subfolders.)" } } }, - "KubernetesClusterInfo": { - "description": "Kubernetes cluster configuration", - "required": [ - "version" + "JobStatus": { + "type": "string", + "description": "The current status of the job.", + "enum": [ + "Invalid", + "Running", + "Succeeded", + "Failed", + "Canceled", + "Paused", + "Scheduled" + ], + "x-ms-enum": { + "name": "JobStatus", + "modelAsString": true, + "values": [ + { + "name": "Invalid", + "value": "Invalid" + }, + { + "name": "Running", + "value": "Running" + }, + { + "name": "Succeeded", + "value": "Succeeded" + }, + { + "name": "Failed", + "value": "Failed" + }, + { + "name": "Canceled", + "value": "Canceled" + }, + { + "name": "Paused", + "value": "Paused" + }, + { + "name": "Scheduled", + "value": "Scheduled" + } + ] + } + }, + "JobType": { + "type": "string", + "description": "The type of the job.", + "enum": [ + "Invalid", + "ScanForUpdates", + "DownloadUpdates", + "InstallUpdates", + "RefreshShare", + "RefreshContainer", + "Backup", + "Restore", + "TriggerSupportPackage" + ], + "x-ms-enum": { + "name": "JobType", + "modelAsString": true, + "values": [ + { + "name": "Invalid", + "value": "Invalid" + }, + { + "name": "ScanForUpdates", + "value": "ScanForUpdates" + }, + { + "name": "DownloadUpdates", + "value": "DownloadUpdates" + }, + { + "name": "InstallUpdates", + "value": "InstallUpdates" + }, + { + "name": "RefreshShare", + "value": "RefreshShare" + }, + { + "name": "RefreshContainer", + "value": "RefreshContainer" + }, + { + "name": "Backup", + "value": "Backup" + }, + { + "name": "Restore", + "value": "Restore" + }, + { + "name": "TriggerSupportPackage", + "value": "TriggerSupportPackage" + } + ] + } + }, + "KeyVaultSyncStatus": { + "type": "string", + "description": "For changing or to initiate the resync to key-vault set the status to KeyVaultSyncPending, rest of the status will not be applicable.", + "enum": [ + "KeyVaultSynced", + "KeyVaultSyncFailed", + "KeyVaultNotConfigured", + "KeyVaultSyncPending", + "KeyVaultSyncing", + "KeyVaultNotSynced" ], + "x-ms-enum": { + "name": "KeyVaultSyncStatus", + "modelAsString": true, + "values": [ + { + "name": "KeyVaultSynced", + "value": "KeyVaultSynced" + }, + { + "name": "KeyVaultSyncFailed", + "value": "KeyVaultSyncFailed" + }, + { + "name": "KeyVaultNotConfigured", + "value": "KeyVaultNotConfigured" + }, + { + "name": "KeyVaultSyncPending", + "value": "KeyVaultSyncPending" + }, + { + "name": "KeyVaultSyncing", + "value": "KeyVaultSyncing" + }, + { + "name": "KeyVaultNotSynced", + "value": "KeyVaultNotSynced" + } + ] + } + }, + "KubernetesClusterInfo": { "type": "object", + "description": "Kubernetes cluster configuration", "properties": { "etcdInfo": { "$ref": "#/definitions/EtcdInfo", @@ -6710,102 +7467,113 @@ "readOnly": true }, "nodes": { - "description": "Kubernetes cluster nodes", - "uniqueItems": false, "type": "array", + "description": "Kubernetes cluster nodes", "items": { "$ref": "#/definitions/NodeInfo" }, + "readOnly": true, "x-ms-identifiers": [ "name", "type" - ], - "readOnly": true + ] }, "version": { - "description": "Kubernetes cluster version", - "type": "string" + "type": "string", + "description": "Kubernetes cluster version" } - } + }, + "required": [ + "version" + ] }, "KubernetesIPConfiguration": { - "description": "Kubernetes node IP configuration", "type": "object", + "description": "Kubernetes node IP configuration", "properties": { "port": { - "description": "Port of the Kubernetes node.", "type": "string", + "description": "Port of the Kubernetes node.", "readOnly": true }, "ipAddress": { - "description": "IP address of the Kubernetes node.", - "type": "string" + "type": "string", + "description": "IP address of the Kubernetes node." } } }, - "KubernetesRole": { - "description": "The limited preview of Kubernetes Cluster Management from the Azure supports:\r\n1. Using a simple turn-key option in Azure Portal, deploy a Kubernetes cluster on your Azure Stack Edge device. \r\n2. Configure Kubernetes cluster running on your device with Arc enabled Kubernetes with a click of a button in the Azure Portal. \r\n Azure Arc enables organizations to view, manage, and govern their on-premises Kubernetes clusters using the Azure Portal, command line tools, and APIs.\r\n3. Easily configure Persistent Volumes using SMB and NFS shares for storing container data. \r\n For more information, refer to the document here: https://databoxupdatepackages.blob.core.windows.net/documentation/Microsoft-Azure-Stack-Edge-K8-Cloud-Management-20210323.pdf \r\n Or Demo: https://databoxupdatepackages.blob.core.windows.net/documentation/Microsoft-Azure-Stack-Edge-K8S-Cloud-Management-20210323.mp4\r\n By using this feature, you agree to the preview legal terms. See the https://azure.microsoft.com/en-us/support/legal/preview-supplemental-terms/", - "required": [ - "kind" + "KubernetesNodeType": { + "type": "string", + "description": "Node type - Master/Worker", + "enum": [ + "Invalid", + "Master", + "Worker" ], + "x-ms-enum": { + "name": "KubernetesNodeType", + "modelAsString": true, + "values": [ + { + "name": "Invalid", + "value": "Invalid" + }, + { + "name": "Master", + "value": "Master" + }, + { + "name": "Worker", + "value": "Worker" + } + ] + } + }, + "KubernetesRole": { "type": "object", - "allOf": [ - { - "$ref": "#/definitions/Role" - } - ], + "description": "The limited preview of Kubernetes Cluster Management from the Azure supports:\n1. Using a simple turn-key option in Azure Portal, deploy a Kubernetes cluster on your Azure Stack Edge device.\n2. Configure Kubernetes cluster running on your device with Arc enabled Kubernetes with a click of a button in the Azure Portal.\nAzure Arc enables organizations to view, manage, and govern their on-premises Kubernetes clusters using the Azure Portal, command line tools, and APIs.\n3. Easily configure Persistent Volumes using SMB and NFS shares for storing container data.\nFor more information, refer to the document here: https://databoxupdatepackages.blob.core.windows.net/documentation/Microsoft-Azure-Stack-Edge-K8-Cloud-Management-20210323.pdf\nOr Demo: https://databoxupdatepackages.blob.core.windows.net/documentation/Microsoft-Azure-Stack-Edge-K8S-Cloud-Management-20210323.mp4\nBy using this feature, you agree to the preview legal terms. See the https://azure.microsoft.com/en-us/support/legal/preview-supplemental-terms/", "properties": { "properties": { "$ref": "#/definitions/KubernetesRoleProperties", "description": "Properties specific to Kubernetes role.", "x-ms-client-flatten": true - }, - "id": { - "description": "The path ID that uniquely identifies the object.", - "type": "string", - "readOnly": true - }, - "name": { - "description": "The object name.", - "type": "string", - "readOnly": true - }, - "type": { - "description": "The hierarchical type of the object.", - "type": "string", - "readOnly": true } }, - "x-ms-discriminator-value": "Kubernetes" - }, - "KubernetesRoleCompute": { - "description": "Kubernetes role compute resource", - "required": [ - "vmProfile" + "allOf": [ + { + "$ref": "#/definitions/Role" + } ], + "x-ms-discriminator-value": "Kubernetes" + }, + "KubernetesRoleCompute": { "type": "object", + "description": "Kubernetes role compute resource", "properties": { "vmProfile": { - "description": "VM profile", - "type": "string" + "type": "string", + "description": "VM profile" }, "memoryInBytes": { + "type": "integer", "format": "int64", "description": "Memory in bytes", - "type": "integer", "readOnly": true }, "processorCount": { + "type": "integer", "format": "int32", "description": "Processor count", - "type": "integer", "readOnly": true } - } + }, + "required": [ + "vmProfile" + ] }, "KubernetesRoleNetwork": { - "description": "Kubernetes role network resource", "type": "object", + "description": "Kubernetes role network resource", "properties": { "cniConfig": { "$ref": "#/definitions/CniConfig", @@ -6820,57 +7588,22 @@ } }, "KubernetesRoleProperties": { - "description": "Kubernetes role properties.", - "required": [ - "hostPlatform", - "kubernetesClusterInfo", - "kubernetesRoleResources", - "roleStatus" - ], "type": "object", + "description": "Kubernetes role properties.", "properties": { "hostPlatform": { - "description": "Host OS supported by the Kubernetes role.", - "enum": [ - "Windows", - "Linux" - ], - "type": "string", - "x-ms-enum": { - "name": "PlatformType", - "modelAsString": true - } + "$ref": "#/definitions/PlatformType", + "description": "Host OS supported by the Kubernetes role." }, "provisioningState": { + "$ref": "#/definitions/KubernetesState", "description": "State of Kubernetes deployment", - "enum": [ - "Invalid", - "Creating", - "Created", - "Updating", - "Reconfiguring", - "Failed", - "Deleting" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "KubernetesState", - "modelAsString": true - } + "readOnly": true }, "hostPlatformType": { + "$ref": "#/definitions/HostPlatformType", "description": "Platform where the runtime is hosted.", - "enum": [ - "KubernetesCluster", - "LinuxVM" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "HostPlatformType", - "modelAsString": true - } + "readOnly": true }, "kubernetesClusterInfo": { "$ref": "#/definitions/KubernetesClusterInfo", @@ -6881,25 +7614,20 @@ "description": "Kubernetes role resources" }, "roleStatus": { - "description": "Role status.", - "enum": [ - "Enabled", - "Disabled" - ], - "type": "string", - "x-ms-enum": { - "name": "RoleStatus", - "modelAsString": true - } + "$ref": "#/definitions/RoleStatus", + "description": "Role status." } - } + }, + "required": [ + "hostPlatform", + "kubernetesClusterInfo", + "kubernetesRoleResources", + "roleStatus" + ] }, "KubernetesRoleResources": { - "description": "Kubernetes role resources", - "required": [ - "compute" - ], "type": "object", + "description": "Kubernetes role resources", "properties": { "storage": { "$ref": "#/definitions/KubernetesRoleStorage", @@ -6914,29 +7642,30 @@ "description": "Kubernetes role network resource", "readOnly": true } - } + }, + "required": [ + "compute" + ] }, "KubernetesRoleStorage": { - "description": "Kubernetes role storage resource", "type": "object", + "description": "Kubernetes role storage resource", "properties": { "storageClasses": { - "description": "Kubernetes storage class info.", - "uniqueItems": false, "type": "array", + "description": "Kubernetes storage class info.", "items": { "$ref": "#/definitions/KubernetesRoleStorageClassInfo" }, + "readOnly": true, "x-ms-identifiers": [ "name", "type" - ], - "readOnly": true + ] }, "endpoints": { - "description": "Mount points of shares in role(s).", - "uniqueItems": false, "type": "array", + "description": "Mount points of shares in role(s).", "items": { "$ref": "#/definitions/MountPointMap" }, @@ -6947,176 +7676,252 @@ } }, "KubernetesRoleStorageClassInfo": { - "description": "Kubernetes storage class info.", "type": "object", + "description": "Kubernetes storage class info.", "properties": { "name": { - "description": "Storage class name.", "type": "string", + "description": "Storage class name.", "readOnly": true }, "type": { - "description": "Storage class type.", "type": "string", + "description": "Storage class type.", "readOnly": true }, "posixCompliant": { + "$ref": "#/definitions/PosixComplianceStatus", "description": "If provisioned storage is posix compliant.", - "enum": [ - "Invalid", - "Enabled", - "Disabled" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "PosixComplianceStatus", - "modelAsString": true - } + "readOnly": true } } }, + "KubernetesState": { + "type": "string", + "description": "State of Kubernetes deployment", + "enum": [ + "Invalid", + "Creating", + "Created", + "Updating", + "Reconfiguring", + "Failed", + "Deleting" + ], + "x-ms-enum": { + "name": "KubernetesState", + "modelAsString": true, + "values": [ + { + "name": "Invalid", + "value": "Invalid" + }, + { + "name": "Creating", + "value": "Creating" + }, + { + "name": "Created", + "value": "Created" + }, + { + "name": "Updating", + "value": "Updating" + }, + { + "name": "Reconfiguring", + "value": "Reconfiguring" + }, + { + "name": "Failed", + "value": "Failed" + }, + { + "name": "Deleting", + "value": "Deleting" + } + ] + } + }, "LoadBalancerConfig": { - "description": "Load balancer configuration", "type": "object", + "description": "Load balancer configuration", "properties": { "type": { - "description": "Load balancer type", "type": "string", + "description": "Load balancer type", "readOnly": true }, "version": { - "description": "Load balancer version", "type": "string", + "description": "Load balancer version", "readOnly": true }, "ipRange": { "type": "array", + "description": "Load balancer ipconfig", "items": { "type": "string" - }, - "description": "Load balancer ipconfig" + } } } }, "MECRole": { - "description": "MEC role.", - "required": [ - "kind" - ], "type": "object", - "allOf": [ - { - "$ref": "#/definitions/Role" - } - ], + "description": "MEC role.", "properties": { "properties": { "$ref": "#/definitions/MECRoleProperties", "description": "Properties specific to MEC role.", "x-ms-client-flatten": true - }, - "id": { - "description": "The path ID that uniquely identifies the object.", - "type": "string", - "readOnly": true - }, - "name": { - "description": "The object name.", - "type": "string", - "readOnly": true - }, - "type": { - "description": "The hierarchical type of the object.", - "type": "string", - "readOnly": true } }, + "allOf": [ + { + "$ref": "#/definitions/Role" + } + ], "x-ms-discriminator-value": "MEC" }, "MECRoleProperties": { - "description": "MEC role properties.", - "required": [ - "roleStatus" - ], "type": "object", + "description": "MEC role properties.", "properties": { "connectionString": { "$ref": "#/definitions/AsymmetricEncryptedSecret", "description": "Activation key of the MEC." }, "controllerEndpoint": { - "description": "Controller Endpoint.", - "type": "string" + "type": "string", + "description": "Controller Endpoint." }, "resourceUniqueId": { - "description": "Unique Id of the Resource.", - "type": "string" + "type": "string", + "description": "Unique Id of the Resource." }, "roleStatus": { - "description": "Role status.", - "enum": [ - "Enabled", - "Disabled" - ], - "type": "string", - "x-ms-enum": { - "name": "RoleStatus", - "modelAsString": true - } + "$ref": "#/definitions/RoleStatus", + "description": "Role status." } + }, + "required": [ + "roleStatus" + ] + }, + "MetricAggregationType": { + "type": "string", + "description": "Metric aggregation type.", + "enum": [ + "NotSpecified", + "None", + "Average", + "Minimum", + "Maximum", + "Total", + "Count" + ], + "x-ms-enum": { + "name": "MetricAggregationType", + "modelAsString": true, + "values": [ + { + "name": "NotSpecified", + "value": "NotSpecified" + }, + { + "name": "None", + "value": "None" + }, + { + "name": "Average", + "value": "Average" + }, + { + "name": "Minimum", + "value": "Minimum" + }, + { + "name": "Maximum", + "value": "Maximum" + }, + { + "name": "Total", + "value": "Total" + }, + { + "name": "Count", + "value": "Count" + } + ] } }, - "MetricConfiguration": { - "description": "Metric configuration.", - "required": [ - "resourceId", - "counterSets" + "MetricCategory": { + "type": "string", + "description": "Metric category.", + "enum": [ + "Capacity", + "Transaction" ], + "x-ms-enum": { + "name": "MetricCategory", + "modelAsString": true, + "values": [ + { + "name": "Capacity", + "value": "Capacity" + }, + { + "name": "Transaction", + "value": "Transaction" + } + ] + } + }, + "MetricConfiguration": { "type": "object", + "description": "Metric configuration.", "properties": { "resourceId": { - "description": "The Resource ID on which the metrics should be pushed.", - "type": "string" + "type": "string", + "description": "The Resource ID on which the metrics should be pushed." }, "mdmAccount": { - "description": "The MDM account to which the counters should be pushed.", - "type": "string" + "type": "string", + "description": "The MDM account to which the counters should be pushed." }, "metricNameSpace": { - "description": "The MDM namespace to which the counters should be pushed. This is required if MDMAccount is specified", - "type": "string" + "type": "string", + "description": "The MDM namespace to which the counters should be pushed. This is required if MDMAccount is specified" }, "counterSets": { - "description": "Host name for the IoT hub associated to the device.", - "uniqueItems": false, "type": "array", + "description": "Host name for the IoT hub associated to the device.", "items": { "$ref": "#/definitions/MetricCounterSet" }, "x-ms-identifiers": [] } - } + }, + "required": [ + "resourceId", + "counterSets" + ] }, "MetricCounter": { - "description": "The metric counter", - "required": [ - "name" - ], "type": "object", + "description": "The metric counter", "properties": { "name": { - "description": "The counter name.", - "type": "string" + "type": "string", + "description": "The counter name." }, "instance": { - "description": "The instance from which counter should be collected.", - "type": "string" + "type": "string", + "description": "The instance from which counter should be collected." }, "dimensionFilter": { - "description": "The dimension filter.", - "uniqueItems": false, "type": "array", + "description": "The dimension filter.", "items": { "$ref": "#/definitions/MetricDimension" }, @@ -7125,9 +7930,8 @@ ] }, "additionalDimensions": { - "description": "The additional dimensions to be added to metric.", - "uniqueItems": false, "type": "array", + "description": "The additional dimensions to be added to metric.", "items": { "$ref": "#/definitions/MetricDimension" }, @@ -7135,19 +7939,18 @@ "sourceName" ] } - } + }, + "required": [ + "name" + ] }, "MetricCounterSet": { - "description": "The metric counter set", - "required": [ - "counters" - ], "type": "object", + "description": "The metric counter set", "properties": { "counters": { - "description": "The counters that should be collected in this set.", - "uniqueItems": false, "type": "array", + "description": "The counters that should be collected in this set.", "items": { "$ref": "#/definitions/MetricCounter" }, @@ -7155,99 +7958,74 @@ "name" ] } - } + }, + "required": [ + "counters" + ] }, "MetricDimension": { - "description": "The metric dimension", - "required": [ - "sourceType", - "sourceName" - ], "type": "object", + "description": "The metric dimension", "properties": { "sourceType": { - "description": "The dimension type.", - "type": "string" + "type": "string", + "description": "The dimension type." }, "sourceName": { - "description": "The dimension value.", - "type": "string" + "type": "string", + "description": "The dimension value." } - } + }, + "required": [ + "sourceType", + "sourceName" + ] }, "MetricDimension_V1": { - "description": "Metric Dimension v1.", "type": "object", + "description": "Metric Dimension v1.", "properties": { "name": { - "description": "Name of the metrics dimension.", - "type": "string" + "type": "string", + "description": "Name of the metrics dimension." }, "displayName": { - "description": "Display name of the metrics dimension.", - "type": "string" + "type": "string", + "description": "Display name of the metrics dimension." }, "toBeExportedForShoebox": { - "description": "To be exported to shoe box.", - "type": "boolean" + "type": "boolean", + "description": "To be exported to shoe box." } } }, "MetricSpecification_V1": { - "description": "Metric specification version 1.", "type": "object", + "description": "Metric specification version 1.", "properties": { "name": { - "description": "Name of the metric.", - "type": "string" + "type": "string", + "description": "Name of the metric." }, "displayName": { - "description": "Display name of the metric.", - "type": "string" + "type": "string", + "description": "Display name of the metric." }, "displayDescription": { - "description": "Description of the metric to be displayed.", - "type": "string" + "type": "string", + "description": "Description of the metric to be displayed." }, "unit": { - "description": "Metric units.", - "enum": [ - "NotSpecified", - "Percent", - "Count", - "Seconds", - "Milliseconds", - "Bytes", - "BytesPerSecond", - "CountPerSecond" - ], - "type": "string", - "x-ms-enum": { - "name": "MetricUnit", - "modelAsString": true - } + "$ref": "#/definitions/MetricUnit", + "description": "Metric units." }, "aggregationType": { - "description": "Metric aggregation type.", - "enum": [ - "NotSpecified", - "None", - "Average", - "Minimum", - "Maximum", - "Total", - "Count" - ], - "type": "string", - "x-ms-enum": { - "name": "MetricAggregationType", - "modelAsString": true - } + "$ref": "#/definitions/MetricAggregationType", + "description": "Metric aggregation type." }, "dimensions": { - "description": "Metric dimensions, other than default dimension which is resource.", - "uniqueItems": false, "type": "array", + "description": "Metric dimensions, other than default dimension which is resource.", "items": { "$ref": "#/definitions/MetricDimension_V1" }, @@ -7256,194 +8034,253 @@ ] }, "fillGapWithZero": { - "description": "Set true to fill the gaps with zero.", - "type": "boolean" + "type": "boolean", + "description": "Set true to fill the gaps with zero." }, "category": { - "description": "Metric category.", - "enum": [ - "Capacity", - "Transaction" - ], - "type": "string", - "x-ms-enum": { - "name": "MetricCategory", - "modelAsString": true - } + "$ref": "#/definitions/MetricCategory", + "description": "Metric category." }, "resourceIdDimensionNameOverride": { - "description": "Resource name override.", - "type": "string" + "type": "string", + "description": "Resource name override." }, "supportedTimeGrainTypes": { - "description": "Support granularity of metrics.", - "uniqueItems": false, "type": "array", + "description": "Support granularity of metrics.", "items": { - "enum": [ - "PT1M", - "PT5M", - "PT15M", - "PT30M", - "PT1H", - "PT6H", - "PT12H", - "PT1D" - ], - "type": "string", - "x-ms-enum": { - "name": "TimeGrain", - "modelAsString": true - } + "$ref": "#/definitions/TimeGrain" } }, "supportedAggregationTypes": { - "description": "Support metric aggregation type.", - "uniqueItems": false, "type": "array", "items": { - "enum": [ - "NotSpecified", - "None", - "Average", - "Minimum", - "Maximum", - "Total", - "Count" - ], - "type": "string", - "x-ms-enum": { - "name": "MetricAggregationType", - "modelAsString": true - } + "$ref": "#/definitions/MetricAggregationType" } } } }, - "MonitoringMetricConfiguration": { - "description": "The metric setting details for the role", - "required": [ - "properties" + "MetricUnit": { + "type": "string", + "description": "Metric units.", + "enum": [ + "NotSpecified", + "Percent", + "Count", + "Seconds", + "Milliseconds", + "Bytes", + "BytesPerSecond", + "CountPerSecond" ], + "x-ms-enum": { + "name": "MetricUnit", + "modelAsString": true, + "values": [ + { + "name": "NotSpecified", + "value": "NotSpecified" + }, + { + "name": "Percent", + "value": "Percent" + }, + { + "name": "Count", + "value": "Count" + }, + { + "name": "Seconds", + "value": "Seconds" + }, + { + "name": "Milliseconds", + "value": "Milliseconds" + }, + { + "name": "Bytes", + "value": "Bytes" + }, + { + "name": "BytesPerSecond", + "value": "BytesPerSecond" + }, + { + "name": "CountPerSecond", + "value": "CountPerSecond" + } + ] + } + }, + "MonitoringMetricConfiguration": { "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ARMBaseModel" - } - ], + "description": "The metric setting details for the role", "properties": { "properties": { "$ref": "#/definitions/MonitoringMetricConfigurationProperties", "description": "The metric setting properties.", "x-ms-client-flatten": true - }, - "systemData": { - "$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", - "description": "Metadata pertaining to creation and last modification of MonitoringConfiguration", - "readOnly": true } - } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ] }, "MonitoringMetricConfigurationList": { - "description": "Collection of metric configurations.", "type": "object", + "description": "Collection of metric configurations.", "properties": { "value": { - "description": "The list of metric configurations.", - "uniqueItems": false, "type": "array", + "description": "The MonitoringMetricConfiguration items on this page", "items": { "$ref": "#/definitions/MonitoringMetricConfiguration" }, - "readOnly": true, - "x-ms-identifiers": [] + "readOnly": true }, "nextLink": { - "description": "Link to the next set of results.", "type": "string", - "readOnly": true + "format": "uri", + "description": "The link to the next page of items" } - } + }, + "required": [ + "value" + ] }, "MonitoringMetricConfigurationProperties": { - "description": "Metrics properties", - "required": [ - "metricConfigurations" - ], "type": "object", + "description": "Metrics properties", "properties": { "metricConfigurations": { - "description": "The metrics configuration details", - "uniqueItems": false, "type": "array", + "description": "The metrics configuration details", "items": { "$ref": "#/definitions/MetricConfiguration" }, "x-ms-identifiers": [] } + }, + "required": [ + "metricConfigurations" + ] + }, + "MonitoringStatus": { + "type": "string", + "description": "Current monitoring status of the share.", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "MonitoringStatus", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled" + }, + { + "name": "Disabled", + "value": "Disabled" + } + ] } }, "MountPointMap": { - "description": "The share mount point.", - "required": [ - "shareId" - ], "type": "object", + "description": "The share mount point.", "properties": { "shareId": { - "description": "ID of the share mounted to the role VM.", - "type": "string" + "type": "string", + "description": "ID of the share mounted to the role VM." }, "roleId": { - "description": "ID of the role to which share is mounted.", "type": "string", + "description": "ID of the role to which share is mounted.", "readOnly": true }, "mountPoint": { - "description": "Mount point for the share.", "type": "string", + "description": "Mount point for the share.", "readOnly": true }, "mountType": { + "$ref": "#/definitions/MountType", "description": "Mounting type.", - "enum": [ - "Volume", - "HostPath" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "MountType", - "modelAsString": true - } + "readOnly": true }, "roleType": { + "$ref": "#/definitions/RoleTypes", "description": "Role type.", - "enum": [ - "IOT", - "ASA", - "Functions", - "Cognitive", - "MEC", - "CloudEdgeManagement", - "Kubernetes" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "RoleTypes", - "modelAsString": true - } + "readOnly": true } + }, + "required": [ + "shareId" + ] + }, + "MountType": { + "type": "string", + "description": "Mounting type.", + "enum": [ + "Volume", + "HostPath" + ], + "x-ms-enum": { + "name": "MountType", + "modelAsString": true, + "values": [ + { + "name": "Volume", + "value": "Volume" + }, + { + "name": "HostPath", + "value": "HostPath" + } + ] + } + }, + "MsiIdentityType": { + "type": "string", + "description": "Identity type", + "enum": [ + "None", + "SystemAssigned", + "UserAssigned" + ], + "x-ms-enum": { + "name": "MsiIdentityType", + "modelAsString": true, + "values": [ + { + "name": "None", + "value": "None" + }, + { + "name": "SystemAssigned", + "value": "SystemAssigned" + }, + { + "name": "UserAssigned", + "value": "UserAssigned" + } + ] } }, "NetworkAdapter": { - "description": "Represents the networkAdapter on a device.", "type": "object", + "description": "Represents the networkAdapter on a device.", "properties": { "adapterId": { - "description": "Instance ID of network adapter.", "type": "string", + "description": "Instance ID of network adapter.", "readOnly": true }, "adapterPosition": { @@ -7452,73 +8289,49 @@ "readOnly": true }, "index": { + "type": "integer", "format": "int32", "description": "Logical index of the adapter.", - "type": "integer", "readOnly": true }, "nodeId": { - "description": "Node ID of the network adapter.", "type": "string", + "description": "Node ID of the network adapter.", "readOnly": true }, "networkAdapterName": { - "description": "Network adapter name.", "type": "string", + "description": "Network adapter name.", "readOnly": true }, "label": { - "description": "Hardware label for the adapter.", "type": "string", + "description": "Hardware label for the adapter.", "readOnly": true }, "macAddress": { - "description": "MAC address.", "type": "string", + "description": "MAC address.", "readOnly": true }, "linkSpeed": { + "type": "integer", "format": "int64", "description": "Link speed.", - "type": "integer", "readOnly": true }, "status": { + "$ref": "#/definitions/NetworkAdapterStatus", "description": "Value indicating whether this adapter is valid.", - "enum": [ - "Inactive", - "Active" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "NetworkAdapterStatus", - "modelAsString": true - } + "readOnly": true }, "rdmaStatus": { - "description": "Value indicating whether this adapter is RDMA capable.", - "enum": [ - "Incapable", - "Capable" - ], - "type": "string", - "x-ms-enum": { - "name": "NetworkAdapterRDMAStatus", - "modelAsString": true - } + "$ref": "#/definitions/NetworkAdapterRDMAStatus", + "description": "Value indicating whether this adapter is RDMA capable." }, "dhcpStatus": { - "description": "Value indicating whether this adapter has DHCP enabled.", - "enum": [ - "Disabled", - "Enabled" - ], - "type": "string", - "x-ms-enum": { - "name": "NetworkAdapterDHCPStatus", - "modelAsString": true - } + "$ref": "#/definitions/NetworkAdapterDHCPStatus", + "description": "Value indicating whether this adapter has DHCP enabled." }, "ipv4Configuration": { "$ref": "#/definitions/Ipv4Config", @@ -7531,96 +8344,167 @@ "readOnly": true }, "ipv6LinkLocalAddress": { - "description": "The IPv6 local address.", "type": "string", + "description": "The IPv6 local address.", "readOnly": true }, "dnsServers": { - "description": "The list of DNS Servers of the device.", - "uniqueItems": false, "type": "array", + "description": "The list of DNS Servers of the device.", "items": { "type": "string" }, - "readOnly": true, - "x-ms-identifiers": [] + "readOnly": true } } }, + "NetworkAdapterDHCPStatus": { + "type": "string", + "description": "Value indicating whether this adapter has DHCP enabled.", + "enum": [ + "Disabled", + "Enabled" + ], + "x-ms-enum": { + "name": "NetworkAdapterDHCPStatus", + "modelAsString": true, + "values": [ + { + "name": "Disabled", + "value": "Disabled" + }, + { + "name": "Enabled", + "value": "Enabled" + } + ] + } + }, "NetworkAdapterPosition": { - "description": "The network adapter position.", "type": "object", + "description": "The network adapter position.", "properties": { "networkGroup": { + "$ref": "#/definitions/NetworkGroup", "description": "The network group.", - "enum": [ - "None", - "NonRDMA", - "RDMA" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "NetworkGroup", - "modelAsString": true - } + "readOnly": true }, "port": { + "type": "integer", "format": "int32", "description": "The port.", - "type": "integer", "readOnly": true } } }, + "NetworkAdapterRDMAStatus": { + "type": "string", + "description": "Value indicating whether this adapter is RDMA capable.", + "enum": [ + "Incapable", + "Capable" + ], + "x-ms-enum": { + "name": "NetworkAdapterRDMAStatus", + "modelAsString": true, + "values": [ + { + "name": "Incapable", + "value": "Incapable" + }, + { + "name": "Capable", + "value": "Capable" + } + ] + } + }, + "NetworkAdapterStatus": { + "type": "string", + "description": "Value indicating whether this adapter is valid.", + "enum": [ + "Inactive", + "Active" + ], + "x-ms-enum": { + "name": "NetworkAdapterStatus", + "modelAsString": true, + "values": [ + { + "name": "Inactive", + "value": "Inactive" + }, + { + "name": "Active", + "value": "Active" + } + ] + } + }, + "NetworkGroup": { + "type": "string", + "description": "The network group.", + "enum": [ + "None", + "NonRDMA", + "RDMA" + ], + "x-ms-enum": { + "name": "NetworkGroup", + "modelAsString": true, + "values": [ + { + "name": "None", + "value": "None" + }, + { + "name": "NonRDMA", + "value": "NonRDMA" + }, + { + "name": "RDMA", + "value": "RDMA" + } + ] + } + }, "NetworkSettings": { - "description": "The network settings of a device.", "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ARMBaseModel" - } - ], + "description": "The network settings of a device.", "properties": { "properties": { "$ref": "#/definitions/NetworkSettingsProperties", "description": "The properties of network settings of a device.", "readOnly": true, "x-ms-client-flatten": true - }, - "systemData": { - "$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", - "description": "Metadata pertaining to creation and last modification of NetworkSettings", - "readOnly": true } - } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ] }, "NetworkSettingsProperties": { - "description": "The properties of network settings.", "type": "object", + "description": "The properties of network settings.", "properties": { "networkAdapters": { - "description": "The network adapter list on the device.", - "uniqueItems": false, "type": "array", + "description": "The network adapter list on the device.", "items": { "$ref": "#/definitions/NetworkAdapter" }, + "readOnly": true, "x-ms-identifiers": [ "adapterId" - ], - "readOnly": true + ] } } }, "Node": { - "description": "Represents a single node in a Data box Edge/Gateway device\r\nGateway devices, standalone Edge devices and a single node cluster Edge device will all have 1 node\r\nMulti-node Edge devices will have more than 1 nodes", "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ARMBaseModel" - } - ], + "description": "Represents a single node in a Data box Edge/Gateway device\nGateway devices, standalone Edge devices and a single node cluster Edge device will all have 1 node\nMulti-node Edge devices will have more than 1 nodes", "properties": { "properties": { "$ref": "#/definitions/NodeProperties", @@ -7628,35 +8512,30 @@ "readOnly": true, "x-ms-client-flatten": true } - } + }, + "allOf": [ + { + "$ref": "#/definitions/ARMBaseModel" + } + ] }, "NodeInfo": { - "description": "Kubernetes node info", "type": "object", + "description": "Kubernetes node info", "properties": { "name": { - "description": "Node name.", "type": "string", + "description": "Node name.", "readOnly": true }, "type": { + "$ref": "#/definitions/KubernetesNodeType", "description": "Node type - Master/Worker", - "enum": [ - "Invalid", - "Master", - "Worker" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "KubernetesNodeType", - "modelAsString": true - } + "readOnly": true }, "ipConfiguration": { - "description": "IP Configuration of the Kubernetes node.", - "uniqueItems": false, "type": "array", + "description": "IP Configuration of the Kubernetes node.", "items": { "$ref": "#/definitions/KubernetesIPConfiguration" }, @@ -7668,150 +8547,174 @@ } }, "NodeList": { - "description": "Collection of Nodes.", "type": "object", + "description": "Collection of Nodes.", "properties": { "value": { - "description": "The list of Nodes.", - "uniqueItems": false, "type": "array", + "description": "The Node items on this page", "items": { "$ref": "#/definitions/Node" }, - "readOnly": true, - "x-ms-identifiers": [] + "readOnly": true }, "nextLink": { - "description": "Link to the next set of results.", "type": "string", - "readOnly": true + "format": "uri", + "description": "The link to the next page of items" } - } + }, + "required": [ + "value" + ] }, "NodeProperties": { - "description": "This class represents the nodes in a highly available cluster", "type": "object", + "description": "This class represents the nodes in a highly available cluster", "properties": { "nodeStatus": { + "$ref": "#/definitions/NodeStatus", "description": "The current status of the individual node", - "enum": [ - "Unknown", - "Up", - "Down", - "Rebooting", - "ShuttingDown" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "NodeStatus", - "modelAsString": true - } + "readOnly": true }, "nodeChassisSerialNumber": { - "description": "Serial number of the Chassis", "type": "string", + "description": "Serial number of the Chassis", "readOnly": true }, "nodeSerialNumber": { - "description": "Serial number of the individual node", "type": "string", + "description": "Serial number of the individual node", "readOnly": true }, "nodeDisplayName": { - "description": "Display Name of the individual node", "type": "string", + "description": "Display Name of the individual node", "readOnly": true }, "nodeFriendlySoftwareVersion": { - "description": "Friendly software version name that is currently installed on the node", "type": "string", + "description": "Friendly software version name that is currently installed on the node", "readOnly": true }, "nodeHcsVersion": { - "description": "HCS version that is currently installed on the node", "type": "string", + "description": "HCS version that is currently installed on the node", "readOnly": true }, "nodeInstanceId": { - "description": "Guid instance id of the node", "type": "string", + "description": "Guid instance id of the node", "readOnly": true } } }, + "NodeStatus": { + "type": "string", + "description": "The current status of the individual node", + "enum": [ + "Unknown", + "Up", + "Down", + "Rebooting", + "ShuttingDown" + ], + "x-ms-enum": { + "name": "NodeStatus", + "modelAsString": true, + "values": [ + { + "name": "Unknown", + "value": "Unknown" + }, + { + "name": "Up", + "value": "Up" + }, + { + "name": "Down", + "value": "Down" + }, + { + "name": "Rebooting", + "value": "Rebooting" + }, + { + "name": "ShuttingDown", + "value": "ShuttingDown" + } + ] + } + }, "NumaNodeData": { - "description": "NUMA node data.", "type": "object", + "description": "NUMA node data.", "properties": { "numaNodeIndex": { + "type": "integer", "format": "int32", - "description": "The NUMA node index.", - "type": "integer" + "description": "The NUMA node index." }, "totalMemoryInMb": { + "type": "integer", "format": "int64", - "description": "The total memory on the NUMA node.", - "type": "integer" + "description": "The total memory on the NUMA node." }, "logicalCoreCountPerCore": { + "type": "integer", "format": "int32", - "description": "The logical cores per core count.", - "type": "integer" + "description": "The logical cores per core count." }, "effectiveAvailableMemoryInMb": { + "type": "integer", "format": "int64", - "description": "The effective available memory on the NUMA node in MB.", - "type": "integer" + "description": "The effective available memory on the NUMA node in MB." }, "freeVCpuIndexesForHpn": { - "description": "The free VCPU indices for the Hpn VMs.", - "uniqueItems": false, "type": "array", + "description": "The free VCPU indices for the Hpn VMs.", "items": { - "format": "int32", - "type": "integer" + "type": "integer", + "format": "int32" } }, "vCpuIndexesForHpn": { - "description": "The VCPU indices for Hpn VMs", - "uniqueItems": false, "type": "array", + "description": "The VCPU indices for Hpn VMs", "items": { - "format": "int32", - "type": "integer" + "type": "integer", + "format": "int32" } }, "vCpuIndexesForRoot": { - "description": "The VCPU indices for the root.", - "uniqueItems": false, "type": "array", + "description": "The VCPU indices for the root.", "items": { - "format": "int32", - "type": "integer" + "type": "integer", + "format": "int32" } } } }, "Operation": { - "description": "Operations.", "type": "object", + "description": "Operations.", "properties": { "name": { - "description": "Name of the operation.", - "type": "string" + "type": "string", + "description": "Name of the operation." }, "isDataAction": { - "description": "Is data action.", - "type": "boolean" + "type": "boolean", + "description": "Is data action." }, "display": { "$ref": "#/definitions/OperationDisplay", "description": "Properties displayed for the operation." }, "origin": { - "description": "Origin of the operation.", - "type": "string" + "type": "string", + "description": "Origin of the operation." }, "properties": { "$ref": "#/definitions/OperationProperties", @@ -7821,30 +8724,30 @@ } }, "OperationDisplay": { - "description": "Operation display properties.", "type": "object", + "description": "Operation display properties.", "properties": { "provider": { - "description": "Provider name.", - "type": "string" + "type": "string", + "description": "Provider name." }, "resource": { - "description": "The type of resource in which the operation is performed.", - "type": "string" + "type": "string", + "description": "The type of resource in which the operation is performed." }, "operation": { - "description": "Operation to be performed on the resource.", - "type": "string" + "type": "string", + "description": "Operation to be performed on the resource." }, "description": { - "description": "Description of the operation to be performed.", - "type": "string" + "type": "string", + "description": "Description of the operation to be performed." } } }, "OperationProperties": { - "description": "Operation properties.", "type": "object", + "description": "Operation properties.", "properties": { "serviceSpecification": { "$ref": "#/definitions/ServiceSpecification", @@ -7853,16 +8756,12 @@ } }, "OperationsList": { - "description": "The list of operations used for the discovery of available provider operations.", - "required": [ - "value" - ], "type": "object", + "description": "The list of operations supported by Microsoft.DataBoxEdge resource provider.", "properties": { "value": { - "description": "The value.", - "uniqueItems": false, "type": "array", + "description": "The list of operations.", "items": { "$ref": "#/definitions/Operation" }, @@ -7871,68 +8770,65 @@ ] }, "nextLink": { - "description": "Link to the next set of results.", - "type": "string" + "type": "string", + "format": "uri", + "description": "The URL to get the next page of operations." } - } + }, + "required": [ + "value" + ] }, "Order": { - "description": "The order details.", "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ARMBaseModel" - } - ], + "description": "The order details.", "properties": { - "kind": { - "description": "It specify the order api version.", - "type": "string", - "readOnly": true - }, - "systemData": { - "$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", - "description": "Metadata pertaining to creation and last modification of Order", - "readOnly": true - }, "properties": { "$ref": "#/definitions/OrderProperties", "description": "The order properties.", "x-ms-client-flatten": true + }, + "kind": { + "type": "string", + "description": "It specify the order api version.", + "readOnly": true } - } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ] }, "OrderList": { - "description": "List of order entities.", "type": "object", + "description": "List of order entities.", "properties": { "value": { - "description": "The list of orders.", - "uniqueItems": false, "type": "array", + "description": "The Order items on this page", "items": { "$ref": "#/definitions/Order" }, - "readOnly": true, - "x-ms-identifiers": [] + "readOnly": true }, "nextLink": { - "description": "Link to the next set of results.", "type": "string", - "readOnly": true + "format": "uri", + "description": "The link to the next page of items" } - } + }, + "required": [ + "value" + ] }, "OrderProperties": { - "description": "Order properties.", "type": "object", - "required": [ - "contactInformation" - ], + "description": "Order properties.", "properties": { "orderId": { - "description": "It specify the order resource id.", "type": "string", + "description": "It specify the order resource id.", "readOnly": true }, "contactInformation": { @@ -7949,104 +8845,166 @@ "readOnly": true }, "orderHistory": { - "description": "List of status changes in the order.", - "uniqueItems": false, "type": "array", + "description": "List of status changes in the order.", "items": { "$ref": "#/definitions/OrderStatus" }, + "readOnly": true, "x-ms-identifiers": [ "trackingInformation/serialNumber" - ], - "readOnly": true + ] }, "serialNumber": { - "description": "Serial number of the device.", "type": "string", + "description": "Serial number of the device.", "readOnly": true }, "deliveryTrackingInfo": { - "description": "Tracking information for the package delivered to the customer whether it has an original or a replacement device.", - "uniqueItems": false, "type": "array", + "description": "Tracking information for the package delivered to the customer whether it has an original or a replacement device.", "items": { "$ref": "#/definitions/TrackingInfo" }, + "readOnly": true, "x-ms-identifiers": [ "serialNumber" - ], - "readOnly": true + ] }, "returnTrackingInfo": { - "description": "Tracking information for the package returned from the customer whether it has an original or a replacement device.", - "uniqueItems": false, "type": "array", + "description": "Tracking information for the package returned from the customer whether it has an original or a replacement device.", "items": { "$ref": "#/definitions/TrackingInfo" }, + "readOnly": true, "x-ms-identifiers": [ "serialNumber" - ], - "readOnly": true + ] }, "shipmentType": { - "description": "ShipmentType of the order", - "enum": [ - "NotApplicable", - "ShippedToCustomer", - "SelfPickup" - ], - "type": "string", - "x-ms-enum": { - "name": "ShipmentType", - "modelAsString": true - } + "$ref": "#/definitions/ShipmentType", + "description": "ShipmentType of the order" } + }, + "required": [ + "contactInformation" + ] + }, + "OrderState": { + "type": "string", + "description": "Status of the order as per the allowed status types.", + "enum": [ + "Untracked", + "AwaitingFulfillment", + "AwaitingPreparation", + "AwaitingShipment", + "Shipped", + "Arriving", + "Delivered", + "ReplacementRequested", + "LostDevice", + "Declined", + "ReturnInitiated", + "AwaitingReturnShipment", + "ShippedBack", + "CollectedAtMicrosoft", + "AwaitingPickup", + "PickupCompleted", + "AwaitingDrop" + ], + "x-ms-enum": { + "name": "OrderState", + "modelAsString": true, + "values": [ + { + "name": "Untracked", + "value": "Untracked" + }, + { + "name": "AwaitingFulfillment", + "value": "AwaitingFulfillment" + }, + { + "name": "AwaitingPreparation", + "value": "AwaitingPreparation" + }, + { + "name": "AwaitingShipment", + "value": "AwaitingShipment" + }, + { + "name": "Shipped", + "value": "Shipped" + }, + { + "name": "Arriving", + "value": "Arriving" + }, + { + "name": "Delivered", + "value": "Delivered" + }, + { + "name": "ReplacementRequested", + "value": "ReplacementRequested" + }, + { + "name": "LostDevice", + "value": "LostDevice" + }, + { + "name": "Declined", + "value": "Declined" + }, + { + "name": "ReturnInitiated", + "value": "ReturnInitiated" + }, + { + "name": "AwaitingReturnShipment", + "value": "AwaitingReturnShipment" + }, + { + "name": "ShippedBack", + "value": "ShippedBack" + }, + { + "name": "CollectedAtMicrosoft", + "value": "CollectedAtMicrosoft" + }, + { + "name": "AwaitingPickup", + "value": "AwaitingPickup" + }, + { + "name": "PickupCompleted", + "value": "PickupCompleted" + }, + { + "name": "AwaitingDrop", + "value": "AwaitingDrop" + } + ] } }, "OrderStatus": { - "description": "Represents a single status change.", - "required": [ - "status" - ], "type": "object", + "description": "Represents a single status change.", "properties": { "status": { - "description": "Status of the order as per the allowed status types.", - "enum": [ - "Untracked", - "AwaitingFulfillment", - "AwaitingPreparation", - "AwaitingShipment", - "Shipped", - "Arriving", - "Delivered", - "ReplacementRequested", - "LostDevice", - "Declined", - "ReturnInitiated", - "AwaitingReturnShipment", - "ShippedBack", - "CollectedAtMicrosoft", - "AwaitingPickup", - "PickupCompleted", - "AwaitingDrop" - ], - "type": "string", - "x-ms-enum": { - "name": "OrderState", - "modelAsString": true - } + "$ref": "#/definitions/OrderState", + "description": "Status of the order as per the allowed status types." }, "updateDateTime": { + "type": "string", "format": "date-time", "description": "Time of status update.", - "type": "string", "readOnly": true }, "comments": { - "description": "Comments related to this status change.", - "type": "string" + "type": "string", + "description": "Comments related to this status change." }, "trackingInformation": { "$ref": "#/definitions/TrackingInfo", @@ -8054,58 +9012,41 @@ "readOnly": true }, "additionalOrderDetails": { - "description": "Dictionary to hold generic information which is not stored\r\nby the already existing properties", "type": "object", + "description": "Dictionary to hold generic information which is not stored\nby the already existing properties", "additionalProperties": { "type": "string" }, "readOnly": true } - } + }, + "required": [ + "status" + ] }, "PeriodicTimerEventTrigger": { - "description": "Trigger details.", - "required": [ - "properties", - "kind" - ], "type": "object", - "allOf": [ - { - "$ref": "#/definitions/Trigger" - } - ], + "description": "Trigger details.", "properties": { "properties": { "$ref": "#/definitions/PeriodicTimerProperties", "description": "Periodic timer trigger properties.", "x-ms-client-flatten": true - }, - "id": { - "description": "The path ID that uniquely identifies the object.", - "type": "string", - "readOnly": true - }, - "name": { - "description": "The object name.", - "type": "string", - "readOnly": true - }, - "type": { - "description": "The hierarchical type of the object.", - "type": "string", - "readOnly": true } }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "#/definitions/Trigger" + } + ], "x-ms-discriminator-value": "PeriodicTimerEvent" }, "PeriodicTimerProperties": { - "description": "Periodic timer trigger properties.", - "required": [ - "sourceInfo", - "sinkInfo" - ], "type": "object", + "description": "Periodic timer trigger properties.", "properties": { "sourceInfo": { "$ref": "#/definitions/PeriodicTimerSourceInfo", @@ -8116,321 +9057,477 @@ "description": "Role Sink information." }, "customContextTag": { + "type": "string", "description": "A custom context tag typically used to correlate the trigger against its usage. For example, if a periodic timer trigger is intended for certain specific IoT modules in the device, the tag can be the name or the image URL of the module.", - "maxLength": 192, - "type": "string" + "maxLength": 192 } - } + }, + "required": [ + "sourceInfo", + "sinkInfo" + ] }, "PeriodicTimerSourceInfo": { + "type": "object", "description": "Periodic timer event source.", + "properties": { + "startTime": { + "type": "string", + "format": "date-time", + "description": "The time of the day that results in a valid trigger. Schedule is computed with reference to the time specified upto seconds. If timezone is not specified the time will considered to be in device timezone. The value will always be returned as UTC time." + }, + "schedule": { + "type": "string", + "description": "Periodic frequency at which timer event needs to be raised. Supports daily, hourly, minutes, and seconds." + }, + "topic": { + "type": "string", + "description": "Topic where periodic events are published to IoT device." + } + }, "required": [ "startTime", "schedule" + ] + }, + "PlatformType": { + "type": "string", + "description": "Host OS supported by the Arc addon.", + "enum": [ + "Windows", + "Linux" + ], + "x-ms-enum": { + "name": "PlatformType", + "modelAsString": true, + "values": [ + { + "name": "Windows", + "value": "Windows" + }, + { + "name": "Linux", + "value": "Linux" + } + ] + } + }, + "PosixComplianceStatus": { + "type": "string", + "description": "If provisioned storage is posix compliant.", + "enum": [ + "Invalid", + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "PosixComplianceStatus", + "modelAsString": true, + "values": [ + { + "name": "Invalid", + "value": "Invalid" + }, + { + "name": "Enabled", + "value": "Enabled" + }, + { + "name": "Disabled", + "value": "Disabled" + } + ] + } + }, + "ProactiveDiagnosticsConsent": { + "type": "string", + "description": "Proactive diagnostic collection consent flag", + "enum": [ + "Enabled", + "Disabled" ], - "type": "object", - "properties": { - "startTime": { - "format": "date-time", - "description": "The time of the day that results in a valid trigger. Schedule is computed with reference to the time specified upto seconds. If timezone is not specified the time will considered to be in device timezone. The value will always be returned as UTC time.", - "type": "string" - }, - "schedule": { - "description": "Periodic frequency at which timer event needs to be raised. Supports daily, hourly, minutes, and seconds.", - "type": "string" - }, - "topic": { - "description": "Topic where periodic events are published to IoT device.", - "type": "string" - } + "x-ms-enum": { + "name": "ProactiveDiagnosticsConsent", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled" + }, + { + "name": "Disabled", + "value": "Disabled" + } + ] } }, "ProactiveLogCollectionSettingsProperties": { - "description": "The properties of proactive log collection settings.", - "required": [ - "userConsent" - ], "type": "object", + "description": "The properties of proactive log collection settings.", "properties": { "userConsent": { - "description": "Proactive diagnostic collection consent flag", - "enum": [ - "Enabled", - "Disabled" - ], - "type": "string", - "x-ms-enum": { - "name": "ProactiveDiagnosticsConsent", - "modelAsString": true - } + "$ref": "#/definitions/ProactiveDiagnosticsConsent", + "description": "Proactive diagnostic collection consent flag" } - } + }, + "required": [ + "userConsent" + ] }, "RawCertificateData": { - "description": "Raw Certificate Data.", - "required": [ - "certificate" - ], "type": "object", + "description": "Raw Certificate Data.", "properties": { "authenticationType": { - "description": "The authentication type.", - "enum": [ - "Invalid", - "AzureActiveDirectory" - ], - "type": "string", - "x-ms-enum": { - "name": "AuthenticationType", - "modelAsString": true - } + "$ref": "#/definitions/AuthenticationType", + "description": "The authentication type." }, "certificate": { - "description": "The base64 encoded certificate raw data.", - "type": "string" + "type": "string", + "description": "The base64 encoded certificate raw data." } - } + }, + "required": [ + "certificate" + ] }, "RefreshDetails": { - "description": "Fields for tracking refresh job on the share or container.", "type": "object", + "description": "Fields for tracking refresh job on the share or container.", "properties": { "inProgressRefreshJobId": { - "description": "If a refresh job is currently in progress on this share or container, this field indicates the ARM resource ID of that job. The field is empty if no job is in progress.", - "type": "string" + "type": "string", + "description": "If a refresh job is currently in progress on this share or container, this field indicates the ARM resource ID of that job. The field is empty if no job is in progress." }, "lastCompletedRefreshJobTimeInUTC": { + "type": "string", "format": "date-time", - "description": "Indicates the completed time for the last refresh job on this particular share or container, if any.This could be a failed job or a successful job.", - "type": "string" + "description": "Indicates the completed time for the last refresh job on this particular share or container, if any.This could be a failed job or a successful job." }, "errorManifestFile": { - "description": "Indicates the relative path of the error xml for the last refresh job on this particular share or container, if any. This could be a failed job or a successful job.", - "type": "string" + "type": "string", + "description": "Indicates the relative path of the error xml for the last refresh job on this particular share or container, if any. This could be a failed job or a successful job." }, "lastJob": { - "description": "Indicates the id of the last refresh job on this particular share or container,if any. This could be a failed job or a successful job.", - "type": "string" + "type": "string", + "description": "Indicates the id of the last refresh job on this particular share or container,if any. This could be a failed job or a successful job." } } }, + "RemoteApplicationType": { + "type": "string", + "description": "Remote application type", + "enum": [ + "Powershell", + "WAC", + "LocalUI", + "AllApplications" + ], + "x-ms-enum": { + "name": "RemoteApplicationType", + "modelAsString": true, + "values": [ + { + "name": "Powershell", + "value": "Powershell" + }, + { + "name": "WAC", + "value": "WAC" + }, + { + "name": "LocalUI", + "value": "LocalUI" + }, + { + "name": "AllApplications", + "value": "AllApplications" + } + ] + } + }, "RemoteSupportSettings": { - "description": "RemoteApplicationType for which remote support settings is being modified", "type": "object", + "description": "RemoteApplicationType for which remote support settings is being modified", "properties": { "remoteApplicationType": { - "description": "Remote application type", - "enum": [ - "Powershell", - "WAC", - "LocalUI", - "AllApplications" - ], - "type": "string", - "x-ms-enum": { - "name": "RemoteApplicationType", - "modelAsString": true - } + "$ref": "#/definitions/RemoteApplicationType", + "description": "Remote application type" }, "accessLevel": { - "description": "Access level allowed for this remote application type", - "enum": [ - "None", - "ReadOnly", - "ReadWrite", - "FullAccess" - ], - "type": "string", - "x-ms-enum": { - "name": "AccessLevel", - "modelAsString": true - } + "$ref": "#/definitions/AccessLevel", + "description": "Access level allowed for this remote application type" }, "expirationTimeStampInUTC": { + "type": "string", "format": "date-time", - "description": "Expiration time stamp", - "type": "string" + "description": "Expiration time stamp" } } }, "ResourceIdentity": { - "description": "Msi identity details of the resource", "type": "object", + "description": "Msi identity details of the resource", "properties": { "type": { - "description": "Identity type", - "enum": [ - "None", - "SystemAssigned", - "UserAssigned" - ], - "type": "string", - "x-ms-enum": { - "name": "MsiIdentityType", - "modelAsString": true - } + "$ref": "#/definitions/MsiIdentityType", + "description": "Identity type" }, "principalId": { - "description": "Service Principal Id backing the Msi", "type": "string", + "description": "Service Principal Id backing the Msi", "readOnly": true }, "tenantId": { - "description": "Home Tenant Id", "type": "string", + "description": "Home Tenant Id", "readOnly": true } } }, "ResourceMoveDetails": { - "description": "Fields for tracking resource move", "type": "object", + "description": "Fields for tracking resource move", "properties": { "operationInProgress": { - "description": "Denotes whether move operation is in progress", - "enum": [ - "None", - "ResourceMoveInProgress", - "ResourceMoveFailed" - ], - "type": "string", - "x-ms-enum": { - "name": "ResourceMoveStatus", - "modelAsString": true - } + "$ref": "#/definitions/ResourceMoveStatus", + "description": "Denotes whether move operation is in progress" }, "operationInProgressLockTimeoutInUTC": { + "type": "string", "format": "date-time", - "description": "Denotes the timeout of the operation to finish", - "type": "string" + "description": "Denotes the timeout of the operation to finish" } } }, + "ResourceMoveStatus": { + "type": "string", + "description": "Denotes whether move operation is in progress", + "enum": [ + "None", + "ResourceMoveInProgress", + "ResourceMoveFailed" + ], + "x-ms-enum": { + "name": "ResourceMoveStatus", + "modelAsString": true, + "values": [ + { + "name": "None", + "value": "None" + }, + { + "name": "ResourceMoveInProgress", + "value": "ResourceMoveInProgress" + }, + { + "name": "ResourceMoveFailed", + "value": "ResourceMoveFailed" + } + ] + } + }, "Role": { + "type": "object", "description": "Compute role.", + "properties": { + "kind": { + "$ref": "#/definitions/RoleTypes", + "description": "Role type.", + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "discriminator": "kind", "required": [ "kind" ], - "type": "object", "allOf": [ { - "$ref": "#/definitions/ARMBaseModel" - } - ], - "properties": { - "kind": { - "description": "Role type.", - "enum": [ - "IOT", - "ASA", - "Functions", - "Cognitive", - "MEC", - "CloudEdgeManagement", - "Kubernetes" - ], - "type": "string", - "x-ms-enum": { - "name": "RoleTypes", - "modelAsString": true - } - }, - "systemData": { - "$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", - "description": "Metadata pertaining to creation and last modification of Role", - "readOnly": true + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" } - }, - "discriminator": "kind" + ] }, "RoleList": { - "description": "Collection of all the roles on the Data Box Edge device.", "type": "object", + "description": "Collection of all the roles on the Data Box Edge device.", "properties": { "value": { - "description": "The Value.", - "uniqueItems": false, "type": "array", + "description": "The Role items on this page", "items": { "$ref": "#/definitions/Role" }, - "readOnly": true, - "x-ms-identifiers": [] + "readOnly": true }, "nextLink": { - "description": "Link to the next set of results.", "type": "string", - "readOnly": true + "format": "uri", + "description": "The link to the next page of items" } - } + }, + "required": [ + "value" + ] }, "RoleSinkInfo": { - "description": "Compute role against which events will be raised.", - "required": [ - "roleId" - ], "type": "object", + "description": "Compute role against which events will be raised.", "properties": { "roleId": { - "description": "Compute role ID.", - "type": "string" + "type": "string", + "description": "Compute role ID." } + }, + "required": [ + "roleId" + ] + }, + "RoleStatus": { + "type": "string", + "description": "Local Edge Management Status", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "RoleStatus", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled" + }, + { + "name": "Disabled", + "value": "Disabled" + } + ] + } + }, + "RoleTypes": { + "type": "string", + "enum": [ + "IOT", + "ASA", + "Functions", + "Cognitive", + "MEC", + "CloudEdgeManagement", + "Kubernetes" + ], + "x-ms-enum": { + "name": "RoleTypes", + "modelAsString": true, + "values": [ + { + "name": "IOT", + "value": "IOT" + }, + { + "name": "ASA", + "value": "ASA" + }, + { + "name": "Functions", + "value": "Functions" + }, + { + "name": "Cognitive", + "value": "Cognitive" + }, + { + "name": "MEC", + "value": "MEC" + }, + { + "name": "CloudEdgeManagement", + "value": "CloudEdgeManagement" + }, + { + "name": "Kubernetes", + "value": "Kubernetes" + } + ] + } + }, + "SSLStatus": { + "type": "string", + "description": "Signifies whether SSL needs to be enabled or not.", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "SSLStatus", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled" + }, + { + "name": "Disabled", + "value": "Disabled" + } + ] } }, "Secret": { - "description": "Holds device secret either as a KeyVault reference or as an encrypted value.", "type": "object", + "description": "Holds device secret either as a KeyVault reference or as an encrypted value.", "properties": { "encryptedSecret": { "$ref": "#/definitions/AsymmetricEncryptedSecret", "description": "Encrypted (using device public key) secret value." }, "keyVaultId": { - "description": "Id of the Key-Vault where secret is stored (ex: secrets/AuthClientSecret/82ef4346187a4033a10d629cde07d740).", - "type": "string" + "type": "string", + "description": "Id of the Key-Vault where secret is stored (ex: secrets/AuthClientSecret/82ef4346187a4033a10d629cde07d740)." } } }, "SecuritySettings": { + "type": "object", "description": "The security settings of a device.", + "properties": { + "properties": { + "$ref": "#/definitions/SecuritySettingsProperties", + "description": "Properties of the security settings.", + "x-ms-client-flatten": true + } + }, "required": [ "properties" ], - "type": "object", "allOf": [ { "$ref": "#/definitions/ARMBaseModel" } - ], - "properties": { - "properties": { - "$ref": "#/definitions/SecuritySettingsProperties", - "description": "Properties of the security settings.", - "x-ms-client-flatten": true - } - } + ] }, "SecuritySettingsProperties": { - "description": "The properties of security settings.", - "required": [ - "deviceAdminPassword" - ], "type": "object", + "description": "The properties of security settings.", "properties": { "deviceAdminPassword": { "$ref": "#/definitions/AsymmetricEncryptedSecret", "description": "Device administrator password as an encrypted string (encrypted using RSA PKCS #1) is used to sign into the local web UI of the device. The Actual password should have at least 8 characters that are a combination of uppercase, lowercase, numeric, and special characters." } - } + }, + "required": [ + "deviceAdminPassword" + ] }, "ServiceSpecification": { - "description": "Service specification.", "type": "object", + "description": "Service specification.", "properties": { "metricSpecifications": { - "description": "Metric specification as defined by shoebox.", - "uniqueItems": false, "type": "array", + "description": "Metric specification as defined by shoebox.", "items": { "$ref": "#/definitions/MetricSpecification_V1" }, @@ -8441,137 +9538,140 @@ } }, "Share": { + "type": "object", "description": "Represents a share on the Data Box Edge/Gateway device.", + "properties": { + "properties": { + "$ref": "#/definitions/ShareProperties", + "description": "The share properties.", + "x-ms-client-flatten": true + } + }, "required": [ "properties" ], - "type": "object", "allOf": [ { - "$ref": "#/definitions/ARMBaseModel" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" } + ] + }, + "ShareAccessProtocol": { + "type": "string", + "description": "Access protocol to be used by the share.", + "enum": [ + "SMB", + "NFS" ], - "properties": { - "properties": { - "$ref": "#/definitions/ShareProperties", - "description": "The share properties.", - "x-ms-client-flatten": true - }, - "systemData": { - "$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", - "description": "Metadata pertaining to creation and last modification of Share", - "readOnly": true - } + "x-ms-enum": { + "name": "ShareAccessProtocol", + "modelAsString": true, + "values": [ + { + "name": "SMB", + "value": "SMB" + }, + { + "name": "NFS", + "value": "NFS" + } + ] } }, "ShareAccessRight": { - "description": "Specifies the mapping between this particular user and the type of access he has on shares on this device.", - "required": [ - "shareId", - "accessType" - ], "type": "object", + "description": "Specifies the mapping between this particular user and the type of access he has on shares on this device.", "properties": { "shareId": { - "description": "The share ID.", - "type": "string" + "type": "string", + "description": "The share ID." }, "accessType": { - "description": "Type of access to be allowed on the share for this user.", - "enum": [ - "Change", - "Read", - "Custom" - ], - "type": "string", - "x-ms-enum": { - "name": "ShareAccessType", - "modelAsString": true + "$ref": "#/definitions/ShareAccessType", + "description": "Type of access to be allowed on the share for this user." + } + }, + "required": [ + "shareId", + "accessType" + ] + }, + "ShareAccessType": { + "type": "string", + "description": "Type of access to be allowed on the share for this user.", + "enum": [ + "Change", + "Read", + "Custom" + ], + "x-ms-enum": { + "name": "ShareAccessType", + "modelAsString": true, + "values": [ + { + "name": "Change", + "value": "Change" + }, + { + "name": "Read", + "value": "Read" + }, + { + "name": "Custom", + "value": "Custom" } - } + ] } }, "ShareList": { - "description": "Collection of all the shares on the Data Box Edge/Gateway device.", "type": "object", + "description": "Collection of all the shares on the Data Box Edge/Gateway device.", "properties": { "value": { - "description": "The list of shares.", - "uniqueItems": false, "type": "array", + "description": "The Share items on this page", "items": { "$ref": "#/definitions/Share" }, - "readOnly": true, - "x-ms-identifiers": [] + "readOnly": true }, "nextLink": { - "description": "Link to the next set of results.", "type": "string", - "readOnly": true + "format": "uri", + "description": "The link to the next page of items" } - } + }, + "required": [ + "value" + ] }, "ShareProperties": { - "description": "The share properties.", - "required": [ - "shareStatus", - "monitoringStatus", - "accessProtocol" - ], "type": "object", + "description": "The share properties.", "properties": { "description": { - "description": "Description for the share.", - "type": "string" + "type": "string", + "description": "Description for the share." }, "shareStatus": { - "description": "Current status of the share.", - "enum": [ - "Offline", - "Unknown", - "OK", - "Updating", - "NeedsAttention" - ], - "type": "string", - "x-ms-enum": { - "name": "ShareStatus", - "modelAsString": true - } + "$ref": "#/definitions/ShareStatus", + "description": "Current status of the share." }, "monitoringStatus": { - "description": "Current monitoring status of the share.", - "enum": [ - "Enabled", - "Disabled" - ], - "type": "string", - "x-ms-enum": { - "name": "MonitoringStatus", - "modelAsString": true - } + "$ref": "#/definitions/MonitoringStatus", + "description": "Current monitoring status of the share." }, "azureContainerInfo": { "$ref": "#/definitions/AzureContainerInfo", "description": "Azure container mapping for the share." }, "accessProtocol": { - "description": "Access protocol to be used by the share.", - "enum": [ - "SMB", - "NFS" - ], - "type": "string", - "x-ms-enum": { - "name": "ShareAccessProtocol", - "modelAsString": true - } + "$ref": "#/definitions/ShareAccessProtocol", + "description": "Access protocol to be used by the share." }, "userAccessRights": { - "description": "Mapping of users and corresponding access rights on the share (required for SMB protocol).", - "uniqueItems": false, "type": "array", + "description": "Mapping of users and corresponding access rights on the share (required for SMB protocol).", "items": { "$ref": "#/definitions/UserAccessRight" }, @@ -8580,9 +9680,8 @@ ] }, "clientAccessRights": { - "description": "List of IP addresses and corresponding access rights on the share(required for NFS protocol).", - "uniqueItems": false, "type": "array", + "description": "List of IP addresses and corresponding access rights on the share(required for NFS protocol).", "items": { "$ref": "#/definitions/ClientAccessRight" }, @@ -8595,358 +9694,605 @@ "description": "Details of the refresh job on this share." }, "shareMappings": { - "description": "Share mount point to the role.", - "uniqueItems": false, "type": "array", + "description": "Share mount point to the role.", "items": { "$ref": "#/definitions/MountPointMap" }, + "readOnly": true, "x-ms-identifiers": [ "shareId" - ], - "readOnly": true + ] }, "dataPolicy": { - "description": "Data policy of the share.", - "enum": [ - "Cloud", - "Local" - ], - "type": "string", - "x-ms-enum": { - "name": "DataPolicy", - "modelAsString": true - } + "$ref": "#/definitions/DataPolicy", + "description": "Data policy of the share." } + }, + "required": [ + "shareStatus", + "monitoringStatus", + "accessProtocol" + ] + }, + "ShareStatus": { + "type": "string", + "description": "Current status of the share.", + "enum": [ + "Offline", + "Unknown", + "OK", + "Updating", + "NeedsAttention" + ], + "x-ms-enum": { + "name": "ShareStatus", + "modelAsString": true, + "values": [ + { + "name": "Offline", + "value": "Offline" + }, + { + "name": "Unknown", + "value": "Unknown" + }, + { + "name": "OK", + "value": "OK" + }, + { + "name": "Updating", + "value": "Updating" + }, + { + "name": "NeedsAttention", + "value": "NeedsAttention" + } + ] + } + }, + "ShipmentType": { + "type": "string", + "enum": [ + "NotApplicable", + "ShippedToCustomer", + "SelfPickup" + ], + "x-ms-enum": { + "name": "ShipmentType", + "modelAsString": true, + "values": [ + { + "name": "NotApplicable", + "value": "NotApplicable" + }, + { + "name": "ShippedToCustomer", + "value": "ShippedToCustomer" + }, + { + "name": "SelfPickup", + "value": "SelfPickup" + } + ] } }, "Sku": { - "description": "The SKU type.", "type": "object", + "description": "The SKU type.", "properties": { "name": { - "description": "SKU name.", - "enum": [ - "Gateway", - "Edge", - "TEA_1Node", - "TEA_1Node_UPS", - "TEA_1Node_Heater", - "TEA_1Node_UPS_Heater", - "TEA_4Node_Heater", - "TEA_4Node_UPS_Heater", - "TMA", - "TDC", - "TCA_Small", - "GPU", - "TCA_Large", - "EdgeP_Base", - "EdgeP_High", - "EdgePR_Base", - "EdgePR_Base_UPS", - "EP2_64_1VPU_W", - "EP2_128_1T4_Mx1_W", - "EP2_256_2T4_W", - "EdgeMR_Mini", - "RCA_Small", - "RCA_Large", - "RDC", - "Management", - "EP2_64_Mx1_W", - "EP2_128_GPU1_Mx1_W", - "EP2_256_GPU2_Mx1", - "EdgeMR_TCP" - ], - "type": "string", - "x-ms-enum": { - "name": "SkuName", - "modelAsString": true - } + "$ref": "#/definitions/SkuName", + "description": "SKU name." }, "tier": { - "description": "The SKU tier. This is based on the SKU name.", - "enum": [ - "Standard" - ], - "type": "string", - "x-ms-enum": { - "name": "SkuTier", - "modelAsString": true - } + "$ref": "#/definitions/SkuTier", + "description": "The SKU tier. This is based on the SKU name." } } }, + "SkuAvailability": { + "type": "string", + "description": "Links to the next set of results", + "enum": [ + "Available", + "Unavailable" + ], + "x-ms-enum": { + "name": "SkuAvailability", + "modelAsString": true, + "values": [ + { + "name": "Available", + "value": "Available" + }, + { + "name": "Unavailable", + "value": "Unavailable" + } + ] + } + }, "SkuCapability": { - "description": "The metadata to describe the capability.", "type": "object", + "description": "The metadata to describe the capability.", "properties": { "name": { - "description": "An invariant to describe the feature.", "type": "string", + "description": "An invariant to describe the feature.", "readOnly": true }, "value": { - "description": "An invariant if the feature is measured by quantity.", "type": "string", + "description": "An invariant if the feature is measured by quantity.", "readOnly": true } } }, "SkuCost": { - "description": "The metadata for retrieving price info.", "type": "object", + "description": "The metadata for retrieving price info.", "properties": { "meterId": { - "description": "Used for querying price from commerce.", "type": "string", + "description": "Used for querying price from commerce.", "readOnly": true }, "quantity": { + "type": "integer", "format": "int64", "description": "The cost quantity.", - "type": "integer", "readOnly": true }, "extendedUnit": { - "description": "The extended unit.", "type": "string", + "description": "The extended unit.", "readOnly": true } } }, "SkuLocationInfo": { - "description": "The location info.", "type": "object", + "description": "The location info.", "properties": { "location": { - "description": "The location.", "type": "string", + "description": "The location.", "readOnly": true }, "zones": { - "description": "The zones.", - "uniqueItems": false, "type": "array", + "description": "The zones.", "items": { "type": "string" }, - "readOnly": true, - "x-ms-identifiers": [] + "readOnly": true }, "sites": { - "description": "The sites.", - "uniqueItems": false, "type": "array", + "description": "The sites.", "items": { "type": "string" }, - "readOnly": true, - "x-ms-identifiers": [] + "readOnly": true } } }, - "StorageAccount": { - "description": "Represents a Storage Account on the Data Box Edge/Gateway device.", - "required": [ - "properties" + "SkuName": { + "type": "string", + "description": "The Sku name.", + "enum": [ + "Gateway", + "Edge", + "TEA_1Node", + "TEA_1Node_UPS", + "TEA_1Node_Heater", + "TEA_1Node_UPS_Heater", + "TEA_4Node_Heater", + "TEA_4Node_UPS_Heater", + "TMA", + "TDC", + "TCA_Small", + "GPU", + "TCA_Large", + "EdgeP_Base", + "EdgeP_High", + "EdgePR_Base", + "EdgePR_Base_UPS", + "EP2_64_1VPU_W", + "EP2_128_1T4_Mx1_W", + "EP2_256_2T4_W", + "EdgeMR_Mini", + "RCA_Small", + "RCA_Large", + "RDC", + "Management", + "EP2_64_Mx1_W", + "EP2_128_GPU1_Mx1_W", + "EP2_256_GPU2_Mx1", + "EdgeMR_TCP" ], - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ARMBaseModel" - } + "x-ms-enum": { + "name": "SkuName", + "modelAsString": true, + "values": [ + { + "name": "Gateway", + "value": "Gateway" + }, + { + "name": "Edge", + "value": "Edge" + }, + { + "name": "TEA_1Node", + "value": "TEA_1Node" + }, + { + "name": "TEA_1Node_UPS", + "value": "TEA_1Node_UPS" + }, + { + "name": "TEA_1Node_Heater", + "value": "TEA_1Node_Heater" + }, + { + "name": "TEA_1Node_UPS_Heater", + "value": "TEA_1Node_UPS_Heater" + }, + { + "name": "TEA_4Node_Heater", + "value": "TEA_4Node_Heater" + }, + { + "name": "TEA_4Node_UPS_Heater", + "value": "TEA_4Node_UPS_Heater" + }, + { + "name": "TMA", + "value": "TMA" + }, + { + "name": "TDC", + "value": "TDC" + }, + { + "name": "TCA_Small", + "value": "TCA_Small" + }, + { + "name": "GPU", + "value": "GPU" + }, + { + "name": "TCA_Large", + "value": "TCA_Large" + }, + { + "name": "EdgeP_Base", + "value": "EdgeP_Base" + }, + { + "name": "EdgeP_High", + "value": "EdgeP_High" + }, + { + "name": "EdgePR_Base", + "value": "EdgePR_Base" + }, + { + "name": "EdgePR_Base_UPS", + "value": "EdgePR_Base_UPS" + }, + { + "name": "EP2_64_1VPU_W", + "value": "EP2_64_1VPU_W" + }, + { + "name": "EP2_128_1T4_Mx1_W", + "value": "EP2_128_1T4_Mx1_W" + }, + { + "name": "EP2_256_2T4_W", + "value": "EP2_256_2T4_W" + }, + { + "name": "EdgeMR_Mini", + "value": "EdgeMR_Mini" + }, + { + "name": "RCA_Small", + "value": "RCA_Small" + }, + { + "name": "RCA_Large", + "value": "RCA_Large" + }, + { + "name": "RDC", + "value": "RDC" + }, + { + "name": "Management", + "value": "Management" + }, + { + "name": "EP2_64_Mx1_W", + "value": "EP2_64_Mx1_W" + }, + { + "name": "EP2_128_GPU1_Mx1_W", + "value": "EP2_128_GPU1_Mx1_W" + }, + { + "name": "EP2_256_GPU2_Mx1", + "value": "EP2_256_GPU2_Mx1" + }, + { + "name": "EdgeMR_TCP", + "value": "EdgeMR_TCP" + } + ] + } + }, + "SkuSignupOption": { + "type": "string", + "description": "Sku can be signed up by customer or not.", + "enum": [ + "None", + "Available" + ], + "x-ms-enum": { + "name": "SkuSignupOption", + "modelAsString": true, + "values": [ + { + "name": "None", + "value": "None" + }, + { + "name": "Available", + "value": "Available" + } + ] + } + }, + "SkuTier": { + "type": "string", + "description": "The Sku tier.", + "enum": [ + "Standard" + ], + "x-ms-enum": { + "name": "SkuTier", + "modelAsString": true, + "values": [ + { + "name": "Standard", + "value": "Standard" + } + ] + } + }, + "SkuVersion": { + "type": "string", + "description": "Availability of the Sku as preview/stable.", + "enum": [ + "Stable", + "Preview" ], + "x-ms-enum": { + "name": "SkuVersion", + "modelAsString": true, + "values": [ + { + "name": "Stable", + "value": "Stable" + }, + { + "name": "Preview", + "value": "Preview" + } + ] + } + }, + "StorageAccount": { + "type": "object", + "description": "Represents a Storage Account on the Data Box Edge/Gateway device.", "properties": { "properties": { "$ref": "#/definitions/StorageAccountProperties", "description": "The Storage Account properties.", "x-ms-client-flatten": true - }, - "systemData": { - "$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", - "description": "Metadata pertaining to creation and last modification of StorageAccount", - "readOnly": true } - } - }, - "StorageAccountCredential": { - "description": "The storage account credential.", + }, "required": [ "properties" ], - "type": "object", "allOf": [ { - "$ref": "#/definitions/ARMBaseModel" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" } - ], + ] + }, + "StorageAccountCredential": { + "type": "object", + "description": "The storage account credential.", "properties": { "properties": { "$ref": "#/definitions/StorageAccountCredentialProperties", "description": "The storage account credential properties.", "x-ms-client-flatten": true - }, - "systemData": { - "$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", - "description": "Metadata pertaining to creation and last modification of StorageAccountCredential", - "readOnly": true } - } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ] }, "StorageAccountCredentialList": { - "description": "The collection of storage account credentials.", "type": "object", + "description": "The collection of storage account credentials.", "properties": { "value": { - "description": "The value.", - "uniqueItems": false, "type": "array", + "description": "The StorageAccountCredential items on this page", "items": { "$ref": "#/definitions/StorageAccountCredential" }, - "readOnly": true, - "x-ms-identifiers": [] + "readOnly": true }, "nextLink": { - "description": "Link to the next set of results.", "type": "string", - "readOnly": true + "format": "uri", + "description": "The link to the next page of items" } - } - }, - "StorageAccountCredentialProperties": { - "description": "The storage account credential properties.", + }, "required": [ - "alias", - "sslStatus", - "accountType" - ], + "value" + ] + }, + "StorageAccountCredentialProperties": { "type": "object", + "description": "The storage account credential properties.", "properties": { "alias": { - "description": "Alias for the storage account.", - "type": "string" + "type": "string", + "description": "Alias for the storage account." }, "userName": { - "description": "Username for the storage account.", - "type": "string" + "type": "string", + "description": "Username for the storage account." }, "accountKey": { "$ref": "#/definitions/AsymmetricEncryptedSecret", "description": "Encrypted storage key." }, "connectionString": { - "description": "Connection string for the storage account. Use this string if username and account key are not specified.", - "type": "string" + "type": "string", + "description": "Connection string for the storage account. Use this string if username and account key are not specified." }, "sslStatus": { - "description": "Signifies whether SSL needs to be enabled or not.", - "enum": [ - "Enabled", - "Disabled" - ], - "type": "string", - "x-ms-enum": { - "name": "SSLStatus", - "modelAsString": true - } + "$ref": "#/definitions/SSLStatus", + "description": "Signifies whether SSL needs to be enabled or not." }, "blobDomainName": { - "description": "Blob end point for private clouds.", - "type": "string" + "type": "string", + "description": "Blob end point for private clouds." }, "accountType": { - "description": "Type of storage accessed on the storage account.", - "enum": [ - "GeneralPurposeStorage", - "BlobStorage" - ], - "type": "string", - "x-ms-enum": { - "name": "AccountType", - "modelAsString": true - } + "$ref": "#/definitions/AccountType", + "description": "Type of storage accessed on the storage account." }, "storageAccountId": { - "description": "Id of the storage account.", - "type": "string" + "type": "string", + "description": "Id of the storage account." } - } + }, + "required": [ + "alias", + "sslStatus", + "accountType" + ] }, "StorageAccountList": { - "description": "Collection of all the Storage Accounts on the Data Box Edge/Gateway device.", "type": "object", + "description": "Collection of all the Storage Accounts on the Data Box Edge/Gateway device.", "properties": { "value": { - "description": "The list of storageAccounts.", - "uniqueItems": false, "type": "array", + "description": "The StorageAccount items on this page", "items": { "$ref": "#/definitions/StorageAccount" }, - "readOnly": true, - "x-ms-identifiers": [] + "readOnly": true }, "nextLink": { - "description": "Link to the next set of results.", "type": "string", - "readOnly": true + "format": "uri", + "description": "The link to the next page of items" } - } + }, + "required": [ + "value" + ] }, "StorageAccountProperties": { - "description": "The storage account properties.", - "required": [ - "dataPolicy" - ], "type": "object", + "description": "The storage account properties.", "properties": { "description": { - "description": "Description for the storage Account.", - "type": "string" + "type": "string", + "description": "Description for the storage Account." }, "storageAccountStatus": { - "description": "Current status of the storage account", - "enum": [ - "OK", - "Offline", - "Unknown", - "Updating", - "NeedsAttention" - ], - "type": "string", - "x-ms-enum": { - "name": "StorageAccountStatus", - "modelAsString": true - } + "$ref": "#/definitions/StorageAccountStatus", + "description": "Current status of the storage account" }, "dataPolicy": { - "description": "Data policy of the storage Account.", - "enum": [ - "Cloud", - "Local" - ], - "type": "string", - "x-ms-enum": { - "name": "DataPolicy", - "modelAsString": true - } + "$ref": "#/definitions/DataPolicy", + "description": "Data policy of the storage Account." }, "storageAccountCredentialId": { - "description": "Storage Account Credential Id", - "type": "string" + "type": "string", + "description": "Storage Account Credential Id" }, "blobEndpoint": { - "description": "BlobEndpoint of Storage Account", "type": "string", + "description": "BlobEndpoint of Storage Account", "readOnly": true }, "containerCount": { + "type": "integer", "format": "int32", "description": "The Container Count. Present only for Storage Accounts with DataPolicy set to Cloud.", - "type": "integer", "readOnly": true } + }, + "required": [ + "dataPolicy" + ] + }, + "StorageAccountStatus": { + "type": "string", + "description": "Current status of the storage account", + "enum": [ + "OK", + "Offline", + "Unknown", + "Updating", + "NeedsAttention" + ], + "x-ms-enum": { + "name": "StorageAccountStatus", + "modelAsString": true, + "values": [ + { + "name": "OK", + "value": "OK" + }, + { + "name": "Offline", + "value": "Offline" + }, + { + "name": "Unknown", + "value": "Unknown" + }, + { + "name": "Updating", + "value": "Updating" + }, + { + "name": "NeedsAttention", + "value": "NeedsAttention" + } + ] } }, "SubscriptionProperties": { @@ -8965,7 +10311,6 @@ "type": "string" }, "registeredFeatures": { - "uniqueItems": false, "type": "array", "items": { "$ref": "#/definitions/SubscriptionRegisteredFeatures" @@ -8987,29 +10332,65 @@ } } }, + "SubscriptionState": { + "type": "string", + "enum": [ + "Registered", + "Warned", + "Suspended", + "Deleted", + "Unregistered" + ], + "x-ms-enum": { + "name": "SubscriptionState", + "modelAsString": true, + "values": [ + { + "name": "Registered", + "value": "Registered" + }, + { + "name": "Warned", + "value": "Warned" + }, + { + "name": "Suspended", + "value": "Suspended" + }, + { + "name": "Deleted", + "value": "Deleted" + }, + { + "name": "Unregistered", + "value": "Unregistered" + } + ] + } + }, "SupportPackageRequestProperties": { - "description": "The share properties.", "type": "object", + "description": "The share properties.", "properties": { "minimumTimeStamp": { + "type": "string", "format": "date-time", - "description": "MinimumTimeStamp from where logs need to be collected", - "type": "string" + "description": "MinimumTimeStamp from where logs need to be collected" }, "maximumTimeStamp": { + "type": "string", "format": "date-time", - "description": "Start of the timespan of the log collection", - "type": "string" + "description": "Start of the timespan of the log collection" }, "include": { - "description": "Type of files, which need to be included in the logs\r\nThis will contain the type of logs (Default/DefaultWithDumps/None/All/DefaultWithArchived)\r\nor a comma separated list of log types that are required", - "type": "string" + "type": "string", + "description": "Type of files, which need to be included in the logs\nThis will contain the type of logs (Default/DefaultWithDumps/None/All/DefaultWithArchived)\nor a comma separated list of log types that are required" } } }, "SymmetricKey": { - "description": "Symmetric key for authentication.", "type": "object", + "description": "Symmetric key for authentication.", "properties": { "connectionString": { "$ref": "#/definitions/AsymmetricEncryptedSecret", @@ -9017,741 +10398,844 @@ } } }, + "TimeGrain": { + "type": "string", + "enum": [ + "PT1M", + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "PT1D" + ], + "x-ms-enum": { + "name": "TimeGrain", + "modelAsString": true, + "values": [ + { + "name": "PT1M", + "value": "PT1M" + }, + { + "name": "PT5M", + "value": "PT5M" + }, + { + "name": "PT15M", + "value": "PT15M" + }, + { + "name": "PT30M", + "value": "PT30M" + }, + { + "name": "PT1H", + "value": "PT1H" + }, + { + "name": "PT6H", + "value": "PT6H" + }, + { + "name": "PT12H", + "value": "PT12H" + }, + { + "name": "PT1D", + "value": "PT1D" + } + ] + } + }, "TrackingInfo": { - "description": "Tracking courier information.", "type": "object", + "description": "Tracking courier information.", "properties": { "serialNumber": { - "description": "Serial number of the device being tracked.", - "type": "string" + "type": "string", + "description": "Serial number of the device being tracked." }, "carrierName": { - "description": "Name of the carrier used in the delivery.", - "type": "string" + "type": "string", + "description": "Name of the carrier used in the delivery." }, "trackingId": { - "description": "Tracking ID of the shipment.", - "type": "string" + "type": "string", + "description": "Tracking ID of the shipment." }, "trackingUrl": { - "description": "Tracking URL of the shipment.", - "type": "string" + "type": "string", + "description": "Tracking URL of the shipment." } } }, "Trigger": { + "type": "object", "description": "Trigger details.", + "properties": { + "kind": { + "$ref": "#/definitions/TriggerEventType", + "description": "Trigger Kind.", + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "discriminator": "kind", "required": [ "kind" ], - "type": "object", "allOf": [ { - "$ref": "#/definitions/ARMBaseModel" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" } + ] + }, + "TriggerEventType": { + "type": "string", + "description": "Trigger Kind.", + "enum": [ + "FileEvent", + "PeriodicTimerEvent" ], - "properties": { - "kind": { - "description": "Trigger Kind.", - "enum": [ - "FileEvent", - "PeriodicTimerEvent" - ], - "type": "string", - "x-ms-enum": { - "name": "TriggerEventType", - "modelAsString": true + "x-ms-enum": { + "name": "TriggerEventType", + "modelAsString": true, + "values": [ + { + "name": "FileEvent", + "value": "FileEvent" + }, + { + "name": "PeriodicTimerEvent", + "value": "PeriodicTimerEvent" } - }, - "systemData": { - "$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", - "description": "Metadata pertaining to creation and last modification of Trigger", - "readOnly": true - } - }, - "discriminator": "kind" + ] + } }, "TriggerList": { - "description": "Collection of all trigger on the data box edge device.", "type": "object", + "description": "Collection of all trigger on the data box edge device.", "properties": { "value": { - "description": "The list of triggers.", - "uniqueItems": false, "type": "array", + "description": "The Trigger items on this page", "items": { "$ref": "#/definitions/Trigger" }, - "readOnly": true, - "x-ms-identifiers": [] + "readOnly": true }, "nextLink": { - "description": "Link to the next set of results.", "type": "string", - "readOnly": true + "format": "uri", + "description": "The link to the next page of items" } - } + }, + "required": [ + "value" + ] }, "TriggerSupportPackageRequest": { + "type": "object", "description": "The request object for trigger support package.", + "properties": { + "properties": { + "$ref": "#/definitions/SupportPackageRequestProperties", + "description": "The TriggerSupportPackageRequest properties.", + "x-ms-client-flatten": true + } + }, "required": [ "properties" ], - "type": "object", "allOf": [ { "$ref": "#/definitions/ARMBaseModel" } - ], - "properties": { - "properties": { - "$ref": "#/definitions/SupportPackageRequestProperties", - "description": "The TriggerSupportPackageRequest properties.", - "x-ms-client-flatten": true - } - } + ] }, "UpdateDetails": { - "description": "Update Specific attributes", "type": "object", + "description": "Update Specific attributes", "properties": { "updateTitle": { - "description": "Title of the Update", - "type": "string" + "type": "string", + "description": "Title of the Update" }, "updateSize": { + "type": "number", "format": "double", - "description": "Size of the update(In Bytes)", - "type": "number" + "description": "Size of the update(In Bytes)" }, "updateType": { - "description": "Type of the Update", - "enum": [ - "Software", - "Kubernetes", - "Firmware" - ], - "type": "string", - "x-ms-enum": { - "name": "UpdateType", - "modelAsString": true - } + "$ref": "#/definitions/UpdateType", + "description": "Type of the Update" }, "targetVersion": { - "description": "Target Version number", - "type": "string" + "type": "string", + "description": "Target Version number" }, "friendlyVersionNumber": { - "description": "Friendly Version Number", - "type": "string" + "type": "string", + "description": "Friendly Version Number" }, "estimatedInstallTimeInMins": { + "type": "integer", "format": "int32", - "description": "Estimated Install Time for the update", - "type": "integer" + "description": "Estimated Install Time for the update" }, "rebootBehavior": { - "description": "Indicates if updates are available and at least one of the updates needs a reboot.", - "enum": [ - "NeverReboots", - "RequiresReboot", - "RequestReboot" - ], - "type": "string", - "x-ms-enum": { - "name": "InstallRebootBehavior", - "modelAsString": true - } + "$ref": "#/definitions/InstallRebootBehavior", + "description": "Indicates if updates are available and at least one of the updates needs a reboot." }, "installationImpact": { - "description": "Impact of Installing an updateType", - "enum": [ - "None", - "DeviceRebooted", - "KubernetesWorkloadsDown" - ], - "type": "string", - "x-ms-enum": { - "name": "InstallationImpact", - "modelAsString": true - } + "$ref": "#/definitions/InstallationImpact", + "description": "Impact of Installing an updateType" }, "status": { - "description": "Status of the update.", - "enum": [ - "DownloadPending", - "DownloadStarted", - "DownloadCompleted", - "InstallStarted", - "InstallCompleted" - ], - "type": "string", - "x-ms-enum": { - "name": "UpdateStatus", - "modelAsString": true - } + "$ref": "#/definitions/UpdateStatus", + "description": "Status of the update." } } }, "UpdateDownloadProgress": { - "description": "Details about the download progress of update.", "type": "object", + "description": "Details about the download progress of update.", "properties": { "downloadPhase": { + "$ref": "#/definitions/DownloadPhase", "description": "The download phase.", - "enum": [ - "Unknown", - "Initializing", - "Downloading", - "Verifying" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "DownloadPhase", - "modelAsString": true - } + "readOnly": true }, "percentComplete": { + "type": "integer", "format": "int32", "description": "Percentage of completion.", - "type": "integer", "readOnly": true }, "totalBytesToDownload": { + "type": "number", "format": "double", "description": "Total bytes to download.", - "type": "number", "readOnly": true }, "totalBytesDownloaded": { + "type": "number", "format": "double", "description": "Total bytes downloaded.", - "type": "number", "readOnly": true }, "numberOfUpdatesToDownload": { + "type": "integer", "format": "int32", "description": "Number of updates to download.", - "type": "integer", "readOnly": true }, "numberOfUpdatesDownloaded": { + "type": "integer", "format": "int32", "description": "Number of updates downloaded.", - "type": "integer", "readOnly": true } } }, "UpdateInstallProgress": { - "description": "Progress details during installation of updates.", "type": "object", + "description": "Progress details during installation of updates.", "properties": { "percentComplete": { + "type": "integer", "format": "int32", "description": "Percentage completed.", - "type": "integer", "readOnly": true }, "numberOfUpdatesToInstall": { + "type": "integer", "format": "int32", "description": "Number of updates to install.", - "type": "integer", "readOnly": true }, "numberOfUpdatesInstalled": { + "type": "integer", "format": "int32", "description": "Number of updates installed.", - "type": "integer", "readOnly": true } } }, + "UpdateOperation": { + "type": "string", + "description": "The current update operation.", + "enum": [ + "None", + "Scan", + "Download", + "Install" + ], + "x-ms-enum": { + "name": "UpdateOperation", + "modelAsString": true, + "values": [ + { + "name": "None", + "value": "None" + }, + { + "name": "Scan", + "value": "Scan" + }, + { + "name": "Download", + "value": "Download" + }, + { + "name": "Install", + "value": "Install" + } + ] + } + }, + "UpdateOperationStage": { + "type": "string", + "description": "Current stage of the update operation.", + "enum": [ + "Unknown", + "Initial", + "ScanStarted", + "ScanComplete", + "ScanFailed", + "DownloadStarted", + "DownloadComplete", + "DownloadFailed", + "InstallStarted", + "InstallComplete", + "InstallFailed", + "RebootInitiated", + "Success", + "Failure", + "RescanStarted", + "RescanComplete", + "RescanFailed" + ], + "x-ms-enum": { + "name": "UpdateOperationStage", + "modelAsString": true, + "values": [ + { + "name": "Unknown", + "value": "Unknown" + }, + { + "name": "Initial", + "value": "Initial" + }, + { + "name": "ScanStarted", + "value": "ScanStarted" + }, + { + "name": "ScanComplete", + "value": "ScanComplete" + }, + { + "name": "ScanFailed", + "value": "ScanFailed" + }, + { + "name": "DownloadStarted", + "value": "DownloadStarted" + }, + { + "name": "DownloadComplete", + "value": "DownloadComplete" + }, + { + "name": "DownloadFailed", + "value": "DownloadFailed" + }, + { + "name": "InstallStarted", + "value": "InstallStarted" + }, + { + "name": "InstallComplete", + "value": "InstallComplete" + }, + { + "name": "InstallFailed", + "value": "InstallFailed" + }, + { + "name": "RebootInitiated", + "value": "RebootInitiated" + }, + { + "name": "Success", + "value": "Success" + }, + { + "name": "Failure", + "value": "Failure" + }, + { + "name": "RescanStarted", + "value": "RescanStarted" + }, + { + "name": "RescanComplete", + "value": "RescanComplete" + }, + { + "name": "RescanFailed", + "value": "RescanFailed" + } + ] + } + }, + "UpdateStatus": { + "type": "string", + "description": "Status of the update.", + "enum": [ + "DownloadPending", + "DownloadStarted", + "DownloadCompleted", + "InstallStarted", + "InstallCompleted" + ], + "x-ms-enum": { + "name": "UpdateStatus", + "modelAsString": true, + "values": [ + { + "name": "DownloadPending", + "value": "DownloadPending" + }, + { + "name": "DownloadStarted", + "value": "DownloadStarted" + }, + { + "name": "DownloadCompleted", + "value": "DownloadCompleted" + }, + { + "name": "InstallStarted", + "value": "InstallStarted" + }, + { + "name": "InstallCompleted", + "value": "InstallCompleted" + } + ] + } + }, "UpdateSummary": { - "description": "Details about ongoing updates and availability of updates on the device.", "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ARMBaseModel" - } - ], + "description": "Details about ongoing updates and availability of updates on the device.", "properties": { "properties": { "$ref": "#/definitions/UpdateSummaryProperties", "description": "The device update information summary.", "x-ms-client-flatten": true - }, - "systemData": { - "$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", - "description": "Metadata pertaining to creation and last modification of UpdateSummary", - "readOnly": true } - } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ] }, "UpdateSummaryProperties": { - "description": "The device update information summary.", "type": "object", + "description": "The device update information summary.", "properties": { "deviceVersionNumber": { - "description": "The current version of the device in format: 1.2.17312.13.\",", - "type": "string" + "type": "string", + "description": "The current version of the device in format: 1.2.17312.13.\"," }, "friendlyDeviceVersionName": { - "description": "The current version of the device in text format.", - "type": "string" + "type": "string", + "description": "The current version of the device in text format." }, "deviceLastScannedDateTime": { + "type": "string", "format": "date-time", - "description": "The last time when a scan was done on the device.", - "type": "string" + "description": "The last time when a scan was done on the device." }, "lastCompletedScanJobDateTime": { + "type": "string", "format": "date-time", - "description": "The time when the last scan job was completed (success/cancelled/failed) on the appliance.", - "type": "string" + "description": "The time when the last scan job was completed (success/cancelled/failed) on the appliance." }, "lastSuccessfulScanJobTime": { + "type": "string", "format": "date-time", - "description": "Time when the last scan job is successfully completed.", - "type": "string" + "description": "Time when the last scan job is successfully completed." }, "lastCompletedDownloadJobDateTime": { + "type": "string", "format": "date-time", "description": "The time when the last Download job was completed (success/cancelled/failed) on the appliance.", - "type": "string", "readOnly": true }, "lastCompletedDownloadJobId": { - "description": "JobId of the last ran download job.(Can be success/cancelled/failed)", "type": "string", + "description": "JobId of the last ran download job.(Can be success/cancelled/failed)", "readOnly": true }, "lastDownloadJobStatus": { + "$ref": "#/definitions/JobStatus", "description": "JobStatus of the last ran download job.", - "enum": [ - "Invalid", - "Running", - "Succeeded", - "Failed", - "Canceled", - "Paused", - "Scheduled" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "JobStatus", - "modelAsString": true - } + "readOnly": true }, "lastSuccessfulInstallJobDateTime": { + "type": "string", "format": "date-time", - "description": "The time when the Last Install job was completed successfully on the appliance", - "type": "string" + "description": "The time when the Last Install job was completed successfully on the appliance" }, "lastCompletedInstallJobDateTime": { + "type": "string", "format": "date-time", "description": "The time when the last Install job was completed (success/cancelled/failed) on the appliance.", - "type": "string", "readOnly": true }, "lastCompletedInstallJobId": { - "description": "JobId of the last ran install job.(Can be success/cancelled/failed)", "type": "string", + "description": "JobId of the last ran install job.(Can be success/cancelled/failed)", "readOnly": true }, "lastInstallJobStatus": { + "$ref": "#/definitions/JobStatus", "description": "JobStatus of the last ran install job.", - "enum": [ - "Invalid", - "Running", - "Succeeded", - "Failed", - "Canceled", - "Paused", - "Scheduled" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "JobStatus", - "modelAsString": true - } + "readOnly": true }, "totalNumberOfUpdatesAvailable": { + "type": "integer", "format": "int32", "description": "The number of updates available for the current device version as per the last device scan.", - "type": "integer", "readOnly": true }, "totalNumberOfUpdatesPendingDownload": { + "type": "integer", "format": "int32", "description": "The total number of items pending download.", - "type": "integer", "readOnly": true }, "totalNumberOfUpdatesPendingInstall": { + "type": "integer", "format": "int32", "description": "The total number of items pending install.", - "type": "integer", "readOnly": true }, "rebootBehavior": { + "$ref": "#/definitions/InstallRebootBehavior", "description": "Indicates if updates are available and at least one of the updates needs a reboot.", - "enum": [ - "NeverReboots", - "RequiresReboot", - "RequestReboot" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "InstallRebootBehavior", - "modelAsString": true - } + "readOnly": true }, "ongoingUpdateOperation": { + "$ref": "#/definitions/UpdateOperation", "description": "The current update operation.", - "enum": [ - "None", - "Scan", - "Download", - "Install" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "UpdateOperation", - "modelAsString": true - } + "readOnly": true }, "inProgressDownloadJobId": { - "description": "The job ID of the download job in progress.", "type": "string", + "description": "The job ID of the download job in progress.", "readOnly": true }, "inProgressInstallJobId": { - "description": "The job ID of the install job in progress.", "type": "string", + "description": "The job ID of the install job in progress.", "readOnly": true }, "inProgressDownloadJobStartedDateTime": { + "type": "string", "format": "date-time", "description": "The time when the currently running download (if any) started.", - "type": "string", "readOnly": true }, "inProgressInstallJobStartedDateTime": { + "type": "string", "format": "date-time", "description": "The time when the currently running install (if any) started.", - "type": "string", "readOnly": true }, "updateTitles": { - "description": "The list of updates available for install.", - "uniqueItems": false, "type": "array", + "description": "The list of updates available for install.", "items": { "type": "string" }, "readOnly": true }, "updates": { - "description": "The list of updates available for install.", - "uniqueItems": false, "type": "array", + "description": "The list of updates available for install.", "items": { "$ref": "#/definitions/UpdateDetails" }, + "readOnly": true, "x-ms-identifiers": [ "updateTitle" - ], - "readOnly": true + ] }, "totalUpdateSizeInBytes": { + "type": "number", "format": "double", "description": "The total size of updates available for download in bytes.", - "type": "number", "readOnly": true }, "totalTimeInMinutes": { + "type": "integer", "format": "int32", "description": "The total time in Minutes", - "type": "integer", "readOnly": true } } }, - "UploadCertificateRequest": { - "description": "The upload certificate request.", - "required": [ - "properties" + "UpdateType": { + "type": "string", + "description": "Type of the Update", + "enum": [ + "Software", + "Kubernetes", + "Firmware" ], + "x-ms-enum": { + "name": "UpdateType", + "modelAsString": true, + "values": [ + { + "name": "Software", + "value": "Software" + }, + { + "name": "Kubernetes", + "value": "Kubernetes" + }, + { + "name": "Firmware", + "value": "Firmware" + } + ] + } + }, + "UploadCertificateRequest": { "type": "object", + "description": "The upload certificate request.", "properties": { "properties": { "$ref": "#/definitions/RawCertificateData", "description": "The Base 64 encoded certificate raw data.", "x-ms-client-flatten": true } - } + }, + "required": [ + "properties" + ] }, "UploadCertificateResponse": { - "description": "The upload registration certificate response.", "type": "object", + "description": "The upload registration certificate response.", "properties": { "authType": { - "description": "Specifies authentication type.", - "enum": [ - "Invalid", - "AzureActiveDirectory" - ], - "type": "string", - "x-ms-enum": { - "name": "AuthenticationType", - "modelAsString": true - } + "$ref": "#/definitions/AuthenticationType", + "description": "Specifies authentication type." }, "resourceId": { - "description": "The resource ID of the Data Box Edge/Gateway device.", "type": "string", + "description": "The resource ID of the Data Box Edge/Gateway device.", "readOnly": true }, "aadAuthority": { - "description": "Azure Active Directory tenant authority.", "type": "string", + "description": "Azure Active Directory tenant authority.", "readOnly": true }, "aadTenantId": { - "description": "Azure Active Directory tenant ID.", "type": "string", + "description": "Azure Active Directory tenant ID.", "readOnly": true }, "servicePrincipalClientId": { - "description": "Azure Active Directory service principal client ID.", "type": "string", + "description": "Azure Active Directory service principal client ID.", "readOnly": true }, "servicePrincipalObjectId": { - "description": "Azure Active Directory service principal object ID.", "type": "string", + "description": "Azure Active Directory service principal object ID.", "readOnly": true }, "azureManagementEndpointAudience": { - "description": "The azure management endpoint audience.", "type": "string", + "description": "The azure management endpoint audience.", "readOnly": true }, "aadAudience": { - "description": "Identifier of the target resource that is the recipient of the requested token.", "type": "string", + "description": "Identifier of the target resource that is the recipient of the requested token.", "readOnly": true } } }, "User": { - "description": "Represents a user who has access to one or more shares on the Data Box Edge/Gateway device.", - "required": [ - "properties" - ], "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ARMBaseModel" - } - ], + "description": "Represents a user who has access to one or more shares on the Data Box Edge/Gateway device.", "properties": { "properties": { "$ref": "#/definitions/UserProperties", "description": "The storage account credential properties.", "x-ms-client-flatten": true - }, - "systemData": { - "$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", - "description": "Metadata pertaining to creation and last modification of User", - "readOnly": true } - } - }, - "UserAccessRight": { - "description": "The mapping between a particular user and the access type on the SMB share.", + }, "required": [ - "userId", - "accessType" + "properties" ], + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ] + }, + "UserAccessRight": { "type": "object", + "description": "The mapping between a particular user and the access type on the SMB share.", "properties": { "userId": { - "description": "User ID (already existing in the device).", - "type": "string" + "type": "string", + "description": "User ID (already existing in the device)." }, "accessType": { - "description": "Type of access to be allowed for the user.", - "enum": [ - "Change", - "Read", - "Custom" - ], - "type": "string", - "x-ms-enum": { - "name": "ShareAccessType", - "modelAsString": true - } + "$ref": "#/definitions/ShareAccessType", + "description": "Type of access to be allowed for the user." } - } + }, + "required": [ + "userId", + "accessType" + ] }, "UserList": { - "description": "Collection of users.", "type": "object", + "description": "Collection of users.", "properties": { "value": { - "description": "The list of users.", - "uniqueItems": false, "type": "array", + "description": "The User items on this page", "items": { "$ref": "#/definitions/User" }, - "readOnly": true, - "x-ms-identifiers": [] + "readOnly": true }, "nextLink": { - "description": "Link to the next set of results.", "type": "string", - "readOnly": true + "format": "uri", + "description": "The link to the next page of items" } - } + }, + "required": [ + "value" + ] }, "UserProperties": { - "description": "The user properties.", - "required": [ - "userType" - ], "type": "object", + "description": "The user properties.", "properties": { "encryptedPassword": { "$ref": "#/definitions/AsymmetricEncryptedSecret", "description": "The password details." }, "shareAccessRights": { - "description": "List of shares that the user has rights on. This field should not be specified during user creation.", - "uniqueItems": false, "type": "array", + "description": "List of shares that the user has rights on. This field should not be specified during user creation.", "items": { "$ref": "#/definitions/ShareAccessRight" }, + "readOnly": true, "x-ms-identifiers": [ "shareId" - ], - "readOnly": true + ] }, "userType": { - "description": "Type of the user.", - "enum": [ - "Share", - "LocalManagement", - "ARM" - ], - "type": "string", - "x-ms-enum": { - "name": "UserType", - "modelAsString": true - } + "$ref": "#/definitions/UserType", + "description": "Type of the user." } + }, + "required": [ + "userType" + ] + }, + "UserType": { + "type": "string", + "description": "Type of the user.", + "enum": [ + "Share", + "LocalManagement", + "ARM" + ], + "x-ms-enum": { + "name": "UserType", + "modelAsString": true, + "values": [ + { + "name": "Share", + "value": "Share" + }, + { + "name": "LocalManagement", + "value": "LocalManagement" + }, + { + "name": "ARM", + "value": "ARM" + } + ] } }, "VmMemory": { - "description": "VmMemory Data.", "type": "object", + "description": "VmMemory Data.", "properties": { "startupMemoryMB": { + "type": "integer", "format": "int64", - "description": "The total amount of RAM in the virtual machine, as seen by the guest operating system. For a virtual machine with dynamic memory enabled, this represents the initial memory available at startup.", - "type": "integer" + "description": "The total amount of RAM in the virtual machine, as seen by the guest operating system. For a virtual machine with dynamic memory enabled, this represents the initial memory available at startup." }, "currentMemoryUsageMB": { + "type": "integer", "format": "int64", - "description": "The current memory used by the virtual machine.", - "type": "integer" + "description": "The current memory used by the virtual machine." } } }, "VmPlacementRequestResult": { - "description": "List of VM sizes being checked for creation on appliance along with corresponding result.", "type": "object", + "description": "List of VM sizes being checked for creation on appliance along with corresponding result.", "properties": { "vmSize": { - "description": "List of VM sizes being checked.", - "uniqueItems": false, "type": "array", + "description": "List of VM sizes being checked.", "items": { "type": "string" } }, "isFeasible": { - "description": "Boolean value indicating if the VM(s) in VmSize can be created.", - "type": "boolean" + "type": "boolean", + "description": "Boolean value indicating if the VM(s) in VmSize can be created." }, "messageCode": { - "description": "MessageCode indicating reason for success or failure.", - "type": "string" + "type": "string", + "description": "MessageCode indicating reason for success or failure." }, "message": { - "description": "Localized message to be displayed to the user to explain the check result.", - "type": "string" + "type": "string", + "description": "Localized message to be displayed to the user to explain the check result." } } } }, - "parameters": { - "apiVersionParameter": { - "name": "api-version", - "in": "query", - "description": "The API version.", - "required": true, - "type": "string" - }, - "locationParameter": { - "name": "location", - "in": "path", - "description": "The location of the resource.", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - "resourceGroupNameParameter": { - "name": "resourceGroupName", - "in": "path", - "description": "The resource group name.", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - "subscriptionIdParameter": { - "name": "subscriptionId", - "in": "path", - "description": "The subscription ID.", - "required": true, - "type": "string" - } - }, - "securityDefinitions": { - "azure_auth": { - "flow": "implicit", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "scopes": { - "user_impersonation": "impersonate your user account" - }, - "type": "oauth2", - "description": "Azure Active Directory OAuth2 Flow" - } - }, - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ], - "tags": [] + "parameters": {} } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/AlertGet.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/AlertGet.json index 02d40be7887d..01fcebf35c90 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/AlertGet.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/AlertGet.json @@ -1,37 +1,39 @@ { "parameters": { + "name": "159a00c7-8543-4343-9435-263ac87df3bb", + "accept-language": [ + "en-US" + ], "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", "deviceName": "testedgedevice", - "name": "159a00c7-8543-4343-9435-263ac87df3bb", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", "x-ms-client-request-id": [ "a93b39a3-1ff4-42b8-a56f-43368d47e37a" - ], - "accept-language": [ - "en-US" ] }, "responses": { "200": { "body": { + "name": "159a00c7-8543-4343-9435-263ac87df3bb", + "type": "dataBoxEdgeDevices/alerts", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/alerts/159a00c7-8543-4343-9435-263ac87df3bb", "properties": { - "title": "Could not scan for updates. Error message : 'An internal error has occurred. Please contact Microsoft Support.'.", "alertType": "UpdateScanFailedEvent", "appearedAtDateTime": "2018-12-18T02:18:51.4270267Z", - "recommendation": "Resolve the error : An internal error has occurred. Please contact Microsoft Support.", - "severity": "Critical", + "detailedInformation": {}, "errorDetails": { "errorCode": "", "errorMessage": "", "occurrences": 1 }, - "detailedInformation": {} - }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/alerts/159a00c7-8543-4343-9435-263ac87df3bb", - "name": "159a00c7-8543-4343-9435-263ac87df3bb", - "type": "dataBoxEdgeDevices/alerts" + "recommendation": "Resolve the error : An internal error has occurred. Please contact Microsoft Support.", + "severity": "Critical", + "title": "Could not scan for updates. Error message : 'An internal error has occurred. Please contact Microsoft Support.'." + } } } - } + }, + "operationId": "Alerts_Get", + "title": "AlertGet" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/AlertGetAllInDevice.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/AlertGetAllInDevice.json index 6216fb502b41..c01a4f7cfd1e 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/AlertGetAllInDevice.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/AlertGetAllInDevice.json @@ -1,14 +1,14 @@ { "parameters": { + "accept-language": [ + "en-US" + ], "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", "x-ms-client-request-id": [ "a93b39a3-1ff4-42b8-a56f-43368d47e37a" - ], - "accept-language": [ - "en-US" ] }, "responses": { @@ -16,43 +16,45 @@ "body": { "value": [ { + "name": "83eccd0b-134b-40b0-ad62-b5f124d03790", + "type": "dataBoxEdgeDevices/alerts", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/alerts/83eccd0b-134b-40b0-ad62-b5f124d03790", "properties": { - "title": "Device password has changed", "alertType": "PasswordChangedEvent", "appearedAtDateTime": "2018-12-18T02:29:15.2325577Z", - "recommendation": "The device administrator password has changed. This is a required action as part of the first time device setup or regular password reset. No further action is required.", - "severity": "Informational", + "detailedInformation": {}, "errorDetails": { "errorCode": "", "errorMessage": "", "occurrences": 2 }, - "detailedInformation": {} - }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/alerts/83eccd0b-134b-40b0-ad62-b5f124d03790", - "name": "83eccd0b-134b-40b0-ad62-b5f124d03790", - "type": "dataBoxEdgeDevices/alerts" + "recommendation": "The device administrator password has changed. This is a required action as part of the first time device setup or regular password reset. No further action is required.", + "severity": "Informational", + "title": "Device password has changed" + } }, { + "name": "159a00c7-8543-4343-9435-263ac87df3bb", + "type": "dataBoxEdgeDevices/alerts", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/alerts/159a00c7-8543-4343-9435-263ac87df3bb", "properties": { - "title": "Could not scan for updates. Error message : 'An internal error has occurred. Please contact Microsoft Support.'.", "alertType": "UpdateScanFailedEvent", "appearedAtDateTime": "2018-12-18T02:18:51.4270267Z", - "recommendation": "Resolve the error : An internal error has occurred. Please contact Microsoft Support.", - "severity": "Critical", + "detailedInformation": {}, "errorDetails": { "errorCode": "", "errorMessage": "", "occurrences": 1 }, - "detailedInformation": {} - }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/alerts/159a00c7-8543-4343-9435-263ac87df3bb", - "name": "159a00c7-8543-4343-9435-263ac87df3bb", - "type": "dataBoxEdgeDevices/alerts" + "recommendation": "Resolve the error : An internal error has occurred. Please contact Microsoft Support.", + "severity": "Critical", + "title": "Could not scan for updates. Error message : 'An internal error has occurred. Please contact Microsoft Support.'." + } } ] } } - } + }, + "operationId": "Alerts_ListByDataBoxEdgeDevice", + "title": "AlertGetAllInDevice" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/AvailableSkusList.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/AvailableSkusList.json index 0821d21191c2..9c25c271633a 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/AvailableSkusList.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/AvailableSkusList.json @@ -1,13 +1,13 @@ { "parameters": { + "accept-language": [ + "en-US" + ], "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", "location": "westus", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", "x-ms-client-request-id": [ "a93b39a3-1ff4-42b8-a56f-43368d47e37a" - ], - "accept-language": [ - "en-US" ] }, "responses": { @@ -15,24 +15,26 @@ "body": { "value": [ { - "resourceType": "dataBoxEdgeDevices", "name": "Gateway", "availability": "Available", - "tier": "Standard", "kind": "AzureDataBoxGateway", - "version": "Stable", - "signupOption": "Available", - "locations": [ - "West US" - ], "locationInfo": [ { "location": "West US" } - ] + ], + "locations": [ + "West US" + ], + "resourceType": "dataBoxEdgeDevices", + "signupOption": "Available", + "tier": "Standard", + "version": "Stable" } ] } } - } + }, + "operationId": "AvailableSkus_List", + "title": "AvailableSkus" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/BandwidthScheduleDelete.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/BandwidthScheduleDelete.json index 2729621da6b0..c813758a1d60 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/BandwidthScheduleDelete.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/BandwidthScheduleDelete.json @@ -1,13 +1,13 @@ { "parameters": { - "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", - "deviceName": "testedgedevice", "name": "bandwidth-1", "accept-language": [ "en-US" - ] + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" }, "responses": { "200": {}, @@ -17,5 +17,7 @@ } }, "204": {} - } + }, + "operationId": "BandwidthSchedules_Delete", + "title": "BandwidthScheduleDelete" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/BandwidthScheduleGet.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/BandwidthScheduleGet.json index 777c3b5605eb..51a37df25764 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/BandwidthScheduleGet.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/BandwidthScheduleGet.json @@ -1,30 +1,32 @@ { "parameters": { - "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", - "deviceName": "testedgedevice", "name": "bandwidth-1", "accept-language": [ "en-US" - ] + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" }, "responses": { "200": { "body": { + "name": "bandwidth-1", + "type": "dataBoxEdgeDevices/bandwidthSchedules", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/bandwidthSchedules/bandwidth-1", "properties": { - "start": "00:00:00", - "stop": "13:59:00", - "rateInMbps": 100, "days": [ "Sunday", "Monday" - ] - }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/bandwidthSchedules/bandwidth-1", - "name": "bandwidth-1", - "type": "dataBoxEdgeDevices/bandwidthSchedules" + ], + "rateInMbps": 100, + "start": "00:00:00", + "stop": "13:59:00" + } } } - } + }, + "operationId": "BandwidthSchedules_Get", + "title": "BandwidthScheduleGet" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/BandwidthScheduleGetAllInDevice.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/BandwidthScheduleGetAllInDevice.json index f90033d337e2..a0caff8c08d3 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/BandwidthScheduleGetAllInDevice.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/BandwidthScheduleGetAllInDevice.json @@ -1,33 +1,35 @@ { "parameters": { - "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", - "deviceName": "testedgedevice", "accept-language": [ "en-US" - ] + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" }, "responses": { "200": { "body": { "value": [ { + "name": "bandwidth-1", + "type": "dataBoxEdgeDevices/bandwidthSchedules", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/bandwidthSchedules/bandwidth-1", "properties": { - "start": "00:00:00", - "stop": "13:59:00", - "rateInMbps": 100, "days": [ "Sunday", "Monday" - ] - }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/bandwidthSchedules/bandwidth-1", - "name": "bandwidth-1", - "type": "dataBoxEdgeDevices/bandwidthSchedules" + ], + "rateInMbps": 100, + "start": "00:00:00", + "stop": "13:59:00" + } } ] } } - } + }, + "operationId": "BandwidthSchedules_ListByDataBoxEdgeDevice", + "title": "BandwidthScheduleGetAllInDevice" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/BandwidthSchedulePut.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/BandwidthSchedulePut.json index 9ff8f9f4ec6a..084e457581e0 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/BandwidthSchedulePut.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/BandwidthSchedulePut.json @@ -1,51 +1,53 @@ { "parameters": { - "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", - "deviceName": "testedgedevice", "name": "bandwidth-1", - "Content-Type": [ - "application/json; charset=utf-8" - ], "Content-Length": [ "200" ], - "x-ms-client-request-id": [ - "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + "Content-Type": [ + "application/json; charset=utf-8" ], "accept-language": [ "en-US" ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", "parameters": { "properties": { - "start": "0:0:0", - "stop": "13:59:0", - "rateInMbps": 100, "days": [ "Sunday", "Monday" - ] + ], + "rateInMbps": 100, + "start": "0:0:0", + "stop": "13:59:0" } - } + }, + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] }, "responses": { "200": { "body": { + "name": "bandwidth-1", + "type": "dataBoxEdgeDevices/bandwidthSchedules", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/bandwidthSchedules/bandwidth-1", "properties": { - "start": "00:00:00", - "stop": "13:59:00", - "rateInMbps": 100, "days": [ "Sunday", "Monday" - ] - }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/bandwidthSchedules/bandwidth-1", - "name": "bandwidth-1", - "type": "dataBoxEdgeDevices/bandwidthSchedules" + ], + "rateInMbps": 100, + "start": "00:00:00", + "stop": "13:59:00" + } } }, "202": {} - } + }, + "operationId": "BandwidthSchedules_CreateOrUpdate", + "title": "BandwidthSchedulePut" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/ContainerDelete.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/ContainerDelete.json index 1670c0ed064d..f82e30365ec1 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/ContainerDelete.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/ContainerDelete.json @@ -1,16 +1,16 @@ { "parameters": { + "accept-language": [ + "en-US" + ], "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", + "containerName": "blobcontainer1", "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", "storageAccountName": "storageaccount1", - "containerName": "blobcontainer1", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", "x-ms-client-request-id": [ "a93b39a3-1ff4-42b8-a56f-43368d47e37a" - ], - "accept-language": [ - "en-US" ] }, "responses": { @@ -20,5 +20,7 @@ } }, "204": {} - } + }, + "operationId": "Containers_Delete", + "title": "ContainerDelete" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/ContainerGet.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/ContainerGet.json index 4ba7aac40e83..69c0433d4179 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/ContainerGet.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/ContainerGet.json @@ -1,28 +1,30 @@ { "parameters": { + "accept-language": [ + "en-US" + ], "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", + "containerName": "blobcontainer1", "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", "storageAccountName": "storageaccount1", - "containerName": "blobcontainer1", - "accept-language": [ - "en-US" - ] + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" }, "responses": { "200": { "body": { + "name": "blobcontainer1", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/storageAccounts/containers", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForDataBoxEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccounts/storageaccount1/containers/blobcontainer1", "properties": { "containerStatus": "OK", + "createdDateTime": "2019-10-20T23:13:27.8545799Z", "dataFormat": "BlockBlob", - "refreshDetails": {}, - "createdDateTime": "2019-10-20T23:13:27.8545799Z" - }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForDataBoxEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccounts/storageaccount1/containers/blobcontainer1", - "name": "blobcontainer1", - "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/storageAccounts/containers" + "refreshDetails": {} + } } } - } + }, + "operationId": "Containers_Get", + "title": "ContainerGet" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/ContainerListAllInDevice.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/ContainerListAllInDevice.json index 65d0c79c6512..0ff19917761d 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/ContainerListAllInDevice.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/ContainerListAllInDevice.json @@ -1,15 +1,15 @@ { "parameters": { + "accept-language": [ + "en-US" + ], "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", "storageAccountName": "storageaccount1", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", "x-ms-client-request-id": [ "a93b39a3-1ff4-42b8-a56f-43368d47e37a" - ], - "accept-language": [ - "en-US" ] }, "responses": { @@ -17,40 +17,42 @@ "body": { "value": [ { + "name": "blobcontainer1", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/storageAccounts/containers", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForDataBoxEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/EAuToWIN-6LJVNIFFB411021190437191/storageAccounts/storageaccount1/containers/blobcontainer1", "properties": { "containerStatus": "OK", + "createdDateTime": "2019-10-20T23:14:32.3016929Z", "dataFormat": "BlockBlob", - "refreshDetails": {}, - "createdDateTime": "2019-10-20T23:14:32.3016929Z" - }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForDataBoxEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/EAuToWIN-6LJVNIFFB411021190437191/storageAccounts/storageaccount1/containers/blobcontainer1", - "name": "blobcontainer1", - "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/storageAccounts/containers" + "refreshDetails": {} + } }, { + "name": "blobcontainer2", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/storageAccounts/containers", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForDataBoxEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/EAuToWIN-6LJVNIFFB411021190437191/storageAccounts/storageaccount1/containers/blobcontainer2", "properties": { "containerStatus": "OK", + "createdDateTime": "2019-10-20T23:15:38.0077675Z", "dataFormat": "BlockBlob", - "refreshDetails": {}, - "createdDateTime": "2019-10-20T23:15:38.0077675Z" - }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForDataBoxEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/EAuToWIN-6LJVNIFFB411021190437191/storageAccounts/storageaccount1/containers/blobcontainer2", - "name": "blobcontainer2", - "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/storageAccounts/containers" + "refreshDetails": {} + } }, { + "name": "blobcontainer3", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/storageAccounts/containers", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForDataBoxEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/EAuToWIN-6LJVNIFFB411021190437191/storageAccounts/storageaccount1/containers/blobcontainer3", "properties": { "containerStatus": "OK", + "createdDateTime": "2019-10-20T23:13:27.8545799Z", "dataFormat": "BlockBlob", - "refreshDetails": {}, - "createdDateTime": "2019-10-20T23:13:27.8545799Z" - }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForDataBoxEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/EAuToWIN-6LJVNIFFB411021190437191/storageAccounts/storageaccount1/containers/blobcontainer3", - "name": "blobcontainer3", - "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/storageAccounts/containers" + "refreshDetails": {} + } } ] } } - } + }, + "operationId": "Containers_ListByStorageAccount", + "title": "ContainerListAllInDevice" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/ContainerPut.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/ContainerPut.json index cf3801f8e4b0..b9425b8d0cee 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/ContainerPut.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/ContainerPut.json @@ -1,43 +1,45 @@ { "parameters": { - "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", - "deviceName": "testedgedevice", - "storageAccountName": "storageaccount1", - "containerName": "blobcontainer1", - "Content-Type": [ - "application/json; charset=utf-8" - ], "Content-Length": [ "200" ], - "x-ms-client-request-id": [ - "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + "Content-Type": [ + "application/json; charset=utf-8" ], "accept-language": [ "en-US" ], + "api-version": "2023-12-01", "container": { "properties": { "dataFormat": "BlockBlob" } - } + }, + "containerName": "blobcontainer1", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "storageAccountName": "storageaccount1", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] }, "responses": { "200": { "body": { + "name": "blobcontainer-5e155efe", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/storageAccounts/containers", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForDataBoxEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccounts/storageaccount1/containers/blobcontainer1", "properties": { "containerStatus": "OK", + "createdDateTime": "2019-10-20T23:13:27.8545799Z", "dataFormat": "BlockBlob", - "refreshDetails": {}, - "createdDateTime": "2019-10-20T23:13:27.8545799Z" - }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForDataBoxEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccounts/storageaccount1/containers/blobcontainer1", - "name": "blobcontainer-5e155efe", - "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/storageAccounts/containers" + "refreshDetails": {} + } } }, "202": {} - } + }, + "operationId": "Containers_CreateOrUpdate", + "title": "ContainerPut" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/ContainerRefresh.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/ContainerRefresh.json index b55385daf556..b77d71a0f4cf 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/ContainerRefresh.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/ContainerRefresh.json @@ -1,22 +1,22 @@ { "parameters": { - "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", - "deviceName": "testedgedevice", - "storageAccountName": "storageaccount1", - "containerName": "blobcontainer1", - "Content-Type": [ - "application/json; charset=utf-8" - ], "Content-Length": [ "200" ], - "x-ms-client-request-id": [ - "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + "Content-Type": [ + "application/json; charset=utf-8" ], "accept-language": [ "en-US" + ], + "api-version": "2023-12-01", + "containerName": "blobcontainer1", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "storageAccountName": "storageaccount1", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" ] }, "responses": { @@ -26,5 +26,7 @@ "location": "https://foo.com/ContanierRefresh" } } - } + }, + "operationId": "Containers_Refresh", + "title": "ContainerRefresh" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/DataBoxEdgeDeviceDelete.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/DataBoxEdgeDeviceDelete.json index a2abd9fefed9..45ebe1156e43 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/DataBoxEdgeDeviceDelete.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/DataBoxEdgeDeviceDelete.json @@ -1,14 +1,14 @@ { "parameters": { + "accept-language": [ + "en-US" + ], "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", "x-ms-client-request-id": [ "a93b39a3-1ff4-42b8-a56f-43368d47e37a" - ], - "accept-language": [ - "en-US" ] }, "responses": { @@ -19,5 +19,7 @@ } }, "204": {} - } + }, + "operationId": "Devices_Delete", + "title": "DataBoxEdgeDeviceDelete" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/DataBoxEdgeDeviceGetByName.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/DataBoxEdgeDeviceGetByName.json index d2796ecd5853..bcaeed359e6d 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/DataBoxEdgeDeviceGetByName.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/DataBoxEdgeDeviceGetByName.json @@ -1,58 +1,60 @@ { "parameters": { + "accept-language": [ + "en-US" + ], "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", "x-ms-client-request-id": [ "a93b39a3-1ff4-42b8-a56f-43368d47e37a" - ], - "accept-language": [ - "en-US" ] }, "responses": { "200": { "body": { - "location": "eastus2euap", - "tags": {}, - "sku": { - "name": "Edge", - "tier": "Standard" - }, + "name": "EdgeTestPassResource", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices", "etag": "W/\"datetime'2020-09-29T18%3A50%3A31.1203818Z'\"_W/\"datetime'2020-09-29T18%3A50%3A31.1343914Z'\"", + "id": "/subscriptions/0d44739e-0563-474f-97e7-24a0cdb23b29/resourcegroups/VmMgmtTestPass/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/EdgeTestPassResource", "identity": { "type": "SystemAssigned", "principalId": "b3e34fcc-ab02-4ca4-9d22-5de115419091", "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" }, "kind": "AzureStackEdge", + "location": "eastus2euap", "properties": { - "dataBoxEdgeDeviceStatus": "Offline", - "serialNumber": "1D6QHQ2", - "deviceType": "DataBoxEdgeDevice", - "friendlyName": "DBE-1D6QHQ2", - "deviceModel": "Physical", - "deviceSoftwareVersion": "Azure Stack Edge 2009", - "deviceLocalCapacity": 8042259, - "timeZone": "Pacific Standard Time", - "deviceHcsVersion": "2.1.1361.23408", "configuredRoleTypes": [ "CloudEdgeManagement" ], - "nodeCount": 1, + "dataBoxEdgeDeviceStatus": "Offline", + "deviceHcsVersion": "2.1.1361.23408", + "deviceLocalCapacity": 8042259, + "deviceModel": "Physical", + "deviceSoftwareVersion": "Azure Stack Edge 2009", + "deviceType": "DataBoxEdgeDevice", "edgeProfile": { "subscription": { - "registrationId": "91d8753b-af42-4908-9a5e-2a61f08b20de", "id": "/subscriptions/0d44739e-0563-474f-97e7-24a0cdb23b29/resourceGroups/VmMgmtTestPass/providers/Microsoft.AzureStack/edgeSubscriptions/daaac4b0-35c4-4008-bdc6-b72ca5890f16", + "registrationId": "91d8753b-af42-4908-9a5e-2a61f08b20de", "state": "Registered" } - } + }, + "friendlyName": "DBE-1D6QHQ2", + "nodeCount": 1, + "serialNumber": "1D6QHQ2", + "timeZone": "Pacific Standard Time" }, - "id": "/subscriptions/0d44739e-0563-474f-97e7-24a0cdb23b29/resourcegroups/VmMgmtTestPass/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/EdgeTestPassResource", - "name": "EdgeTestPassResource", - "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices" + "sku": { + "name": "Edge", + "tier": "Standard" + }, + "tags": {} } } - } + }, + "operationId": "Devices_Get", + "title": "DataBoxEdgeDeviceGetByName" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/DataBoxEdgeDeviceGetByNameWithDataResidency.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/DataBoxEdgeDeviceGetByNameWithDataResidency.json index a58b24a8c7e6..c334c51e73ee 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/DataBoxEdgeDeviceGetByNameWithDataResidency.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/DataBoxEdgeDeviceGetByNameWithDataResidency.json @@ -1,61 +1,63 @@ { "parameters": { + "accept-language": [ + "en-US" + ], "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", "x-ms-client-request-id": [ "a93b39a3-1ff4-42b8-a56f-43368d47e37a" - ], - "accept-language": [ - "en-US" ] }, "responses": { "200": { "body": { - "location": "eastus2euap", - "tags": {}, - "sku": { - "name": "Edge", - "tier": "Standard" - }, + "name": "EdgeTestPassResource", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices", "etag": "W/\"datetime'2020-09-29T18%3A50%3A31.1203818Z'\"_W/\"datetime'2020-09-29T18%3A50%3A31.1343914Z'\"", + "id": "/subscriptions/0d44739e-0563-474f-97e7-24a0cdb23b29/resourcegroups/VmMgmtTestPass/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/EdgeTestPassResource", "identity": { "type": "SystemAssigned", "principalId": "b3e34fcc-ab02-4ca4-9d22-5de115419091", "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" }, "kind": "AzureStackEdge", + "location": "eastus2euap", "properties": { - "dataBoxEdgeDeviceStatus": "Offline", - "serialNumber": "1D6QHQ2", - "deviceType": "DataBoxEdgeDevice", - "friendlyName": "DBE-1D6QHQ2", - "deviceModel": "Physical", - "deviceSoftwareVersion": "Azure Stack Edge 2009", - "deviceLocalCapacity": 8042259, - "timeZone": "Pacific Standard Time", - "deviceHcsVersion": "2.1.1361.23408", "configuredRoleTypes": [ "CloudEdgeManagement" ], - "nodeCount": 1, + "dataBoxEdgeDeviceStatus": "Offline", + "dataResidency": { + "type": "ZoneReplication" + }, + "deviceHcsVersion": "2.1.1361.23408", + "deviceLocalCapacity": 8042259, + "deviceModel": "Physical", + "deviceSoftwareVersion": "Azure Stack Edge 2009", + "deviceType": "DataBoxEdgeDevice", "edgeProfile": { "subscription": { - "registrationId": "91d8753b-af42-4908-9a5e-2a61f08b20de", "id": "/subscriptions/0d44739e-0563-474f-97e7-24a0cdb23b29/resourceGroups/VmMgmtTestPass/providers/Microsoft.AzureStack/edgeSubscriptions/daaac4b0-35c4-4008-bdc6-b72ca5890f16", + "registrationId": "91d8753b-af42-4908-9a5e-2a61f08b20de", "state": "Registered" } }, - "dataResidency": { - "type": "ZoneReplication" - } + "friendlyName": "DBE-1D6QHQ2", + "nodeCount": 1, + "serialNumber": "1D6QHQ2", + "timeZone": "Pacific Standard Time" }, - "id": "/subscriptions/0d44739e-0563-474f-97e7-24a0cdb23b29/resourcegroups/VmMgmtTestPass/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/EdgeTestPassResource", - "name": "EdgeTestPassResource", - "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices" + "sku": { + "name": "Edge", + "tier": "Standard" + }, + "tags": {} } } - } + }, + "operationId": "Devices_Get", + "title": "DataBoxEdgeDeviceGetByNameWithDataResidency" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/DataBoxEdgeDeviceGetByResourceGroup.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/DataBoxEdgeDeviceGetByResourceGroup.json index 40ff12934496..23f0ce6ee0c1 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/DataBoxEdgeDeviceGetByResourceGroup.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/DataBoxEdgeDeviceGetByResourceGroup.json @@ -1,13 +1,13 @@ { "parameters": { + "accept-language": [ + "en-US" + ], "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", "x-ms-client-request-id": [ "a93b39a3-1ff4-42b8-a56f-43368d47e37a" - ], - "accept-language": [ - "en-US" ] }, "responses": { @@ -15,61 +15,63 @@ "body": { "value": [ { - "location": "eastus2euap", - "tags": {}, - "sku": { - "name": "Edge", - "tier": "Standard" - }, + "name": "EdgeTestPassResource", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices", "etag": "W/\"datetime'2020-09-29T18%3A50%3A31.1203818Z'\"_W/\"datetime'2020-09-29T18%3A50%3A31.1343914Z'\"", + "id": "/subscriptions/0d44739e-0563-474f-97e7-24a0cdb23b29/resourcegroups/VmMgmtTestPass/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/EdgeTestPassResource", "identity": { "type": "SystemAssigned", "principalId": "b3e34fcc-ab02-4ca4-9d22-5de115419091", "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" }, "kind": "AzureStackEdge", - "id": "/subscriptions/0d44739e-0563-474f-97e7-24a0cdb23b29/resourcegroups/VmMgmtTestPass/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/EdgeTestPassResource", - "name": "EdgeTestPassResource", - "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices" - }, - { - "location": "centraluseuap", - "tags": {}, + "location": "eastus2euap", "sku": { "name": "Edge", "tier": "Standard" }, + "tags": {} + }, + { + "name": "FPGAResource", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices", "etag": "W/\"datetime'2020-11-18T23%3A31%3A30.3266766Z'\"_W/\"datetime'2020-11-18T23%3A31%3A30.3326804Z'\"", + "id": "/subscriptions/0d44739e-0563-474f-97e7-24a0cdb23b29/resourcegroups/VmMgmtTestPass/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/FPGAResource", "identity": { "type": "SystemAssigned", "principalId": "d97a6de5-f5c0-485a-8f5e-b7f705d2dbc4", "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" }, "kind": "AzureStackEdge", - "id": "/subscriptions/0d44739e-0563-474f-97e7-24a0cdb23b29/resourcegroups/VmMgmtTestPass/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/FPGAResource", - "name": "FPGAResource", - "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices" - }, - { "location": "centraluseuap", - "tags": {}, "sku": { "name": "Edge", "tier": "Standard" }, + "tags": {} + }, + { + "name": "TestVMEdgeResource", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices", "etag": "W/\"datetime'2020-11-18T23%3A31%3A23.1715672Z'\"_W/\"datetime'2020-11-18T23%3A31%3A23.2396152Z'\"", + "id": "/subscriptions/0d44739e-0563-474f-97e7-24a0cdb23b29/resourcegroups/VmMgmtTestPass/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/TestVMEdgeResource", "identity": { "type": "SystemAssigned", "principalId": "6f2b341b-aded-4ec2-a1bd-d09438d6cc8f", "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" }, "kind": "AzureStackEdge", - "id": "/subscriptions/0d44739e-0563-474f-97e7-24a0cdb23b29/resourcegroups/VmMgmtTestPass/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/TestVMEdgeResource", - "name": "TestVMEdgeResource", - "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices" + "location": "centraluseuap", + "sku": { + "name": "Edge", + "tier": "Standard" + }, + "tags": {} } ] } } - } + }, + "operationId": "Devices_ListByResourceGroup", + "title": "DataBoxEdgeDeviceGetByResourceGroup" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/DataBoxEdgeDeviceGetBySubscription.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/DataBoxEdgeDeviceGetBySubscription.json index 5a3f2bf7be39..da965e88cfe9 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/DataBoxEdgeDeviceGetBySubscription.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/DataBoxEdgeDeviceGetBySubscription.json @@ -1,12 +1,12 @@ { "parameters": { + "accept-language": [ + "en-US" + ], "api-version": "2023-12-01", "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", "x-ms-client-request-id": [ "a93b39a3-1ff4-42b8-a56f-43368d47e37a" - ], - "accept-language": [ - "en-US" ] }, "responses": { @@ -14,61 +14,63 @@ "body": { "value": [ { - "location": "eastus2euap", - "tags": {}, - "sku": { - "name": "Gateway", - "tier": "Standard" - }, + "name": "linksub01", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices", "etag": "W/\"datetime'2020-11-19T01%3A39%3A55.1270082Z'\"_W/\"datetime'2020-11-19T01%3A39%3A55.1320118Z'\"", + "id": "/subscriptions/0d44739e-0563-474f-97e7-24a0cdb23b29/resourcegroups/abhudeda-rg/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/linksub01", "identity": { "type": "SystemAssigned", "principalId": "083df009-06d9-4e3c-ae72-f9249a814334", "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" }, "kind": "AzureDataBoxGateway", - "id": "/subscriptions/0d44739e-0563-474f-97e7-24a0cdb23b29/resourcegroups/abhudeda-rg/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/linksub01", - "name": "linksub01", - "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices" - }, - { "location": "eastus2euap", - "tags": {}, "sku": { "name": "Gateway", "tier": "Standard" }, + "tags": {} + }, + { + "name": "mergeazstest", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices", "etag": "W/\"datetime'2020-11-19T01%3A40%3A05.9246966Z'\"_W/\"datetime'2020-11-19T01%3A40%3A05.9317011Z'\"", + "id": "/subscriptions/0d44739e-0563-474f-97e7-24a0cdb23b29/resourcegroups/abhudeda-rg/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/mergeazstest", "identity": { "type": "SystemAssigned", "principalId": "8536db30-78d2-4759-95b7-896a66e14c24", "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" }, "kind": "AzureDataBoxGateway", - "id": "/subscriptions/0d44739e-0563-474f-97e7-24a0cdb23b29/resourcegroups/abhudeda-rg/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/mergeazstest", - "name": "mergeazstest", - "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices" - }, - { "location": "eastus2euap", - "tags": {}, "sku": { "name": "Gateway", "tier": "Standard" }, + "tags": {} + }, + { + "name": "mergeazstest2", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices", "etag": "W/\"datetime'2020-11-19T01%3A40%3A06.496102Z'\"_W/\"datetime'2020-11-19T01%3A40%3A06.503107Z'\"", + "id": "/subscriptions/0d44739e-0563-474f-97e7-24a0cdb23b29/resourcegroups/abhudeda-rg/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/mergeazstest2", "identity": { "type": "SystemAssigned", "principalId": "fc4c1205-35c8-4f35-abc7-f5a78945f676", "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" }, "kind": "AzureDataBoxGateway", - "id": "/subscriptions/0d44739e-0563-474f-97e7-24a0cdb23b29/resourcegroups/abhudeda-rg/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/mergeazstest2", - "name": "mergeazstest2", - "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices" + "location": "eastus2euap", + "sku": { + "name": "Gateway", + "tier": "Standard" + }, + "tags": {} } ] } } - } + }, + "operationId": "Devices_ListBySubscription", + "title": "DataBoxEdgeDeviceGetBySubscription" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/DataBoxEdgeDevicePatch.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/DataBoxEdgeDevicePatch.json index 488792b24f93..1a79a4276abc 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/DataBoxEdgeDevicePatch.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/DataBoxEdgeDevicePatch.json @@ -1,21 +1,16 @@ { "parameters": { - "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", - "deviceName": "testedgedevice", - "Content-Type": [ - "application/json; charset=utf-8" - ], "Content-Length": [ "200" ], - "x-ms-client-request-id": [ - "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + "Content-Type": [ + "application/json; charset=utf-8" ], "accept-language": [ "en-US" ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", "parameters": { "properties": { "edgeProfile": { @@ -24,45 +19,52 @@ } } } - } + }, + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] }, "responses": { "200": { "body": { - "location": "eastus2euap", - "tags": {}, - "sku": { - "name": "Edge", - "tier": "Standard" - }, + "name": "testedgedevice", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices", "etag": "W/\"datetime'2020-11-19T04%3A43%3A38.6457308Z'\"_W/\"datetime'2020-11-19T04%3A43%3A38.6507339Z'\"", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourcegroups/VmMgmtTestPass/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice", "identity": { "type": "SystemAssigned", "principalId": "b3e34fcc-ab02-4ca4-9d22-5de115419091", "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" }, "kind": "AzureStackEdge", + "location": "eastus2euap", "properties": { "dataBoxEdgeDeviceStatus": "ReadyToSetup", - "deviceType": "DataBoxEdgeDevice", "deviceLocalCapacity": 0, - "timeZone": "Pacific Standard Time", - "nodeCount": 0, - "resourceMoveDetails": { - "operationInProgress": "None" - }, + "deviceType": "DataBoxEdgeDevice", "edgeProfile": { "subscription": { - "registrationId": "91d8753b-af42-4908-9a5e-2a61f08b20de", "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/VmMgmtTestPass/providers/Microsoft.AzureStack/edgeSubscriptions/daaac4b0-35c4-4008-bdc6-b72ca5890f16", + "registrationId": "91d8753b-af42-4908-9a5e-2a61f08b20de", "state": "Registered" } - } + }, + "nodeCount": 0, + "resourceMoveDetails": { + "operationInProgress": "None" + }, + "timeZone": "Pacific Standard Time" }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourcegroups/VmMgmtTestPass/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice", - "name": "testedgedevice", - "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices" + "sku": { + "name": "Edge", + "tier": "Standard" + }, + "tags": {} } } - } + }, + "operationId": "Devices_Update", + "title": "DataBoxEdgeDevicePatch" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/DataBoxEdgeDevicePut.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/DataBoxEdgeDevicePut.json index 5a6a88f0008e..d01471995689 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/DataBoxEdgeDevicePut.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/DataBoxEdgeDevicePut.json @@ -1,42 +1,44 @@ { "parameters": { - "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", - "deviceName": "testedgedevice", - "Content-Type": [ - "application/json; charset=utf-8" - ], "Content-Length": [ "200" ], - "x-ms-client-request-id": [ - "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + "Content-Type": [ + "application/json; charset=utf-8" ], "accept-language": [ "en-US" ], + "api-version": "2023-12-01", "dataBoxEdgeDevice": { "location": "WUS", - "tags": {}, "sku": { "name": "Edge", "tier": "Standard" - } - } + }, + "tags": {} + }, + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] }, "responses": { "200": { "body": { + "name": "testedgedevice", "id": "foo/bar/id", "location": "WUS", - "tags": {}, "sku": { "name": "Edge", "tier": "Standard" }, - "name": "testedgedevice" + "tags": {} } } - } + }, + "operationId": "Devices_CreateOrUpdate", + "title": "DataBoxEdgeDevicePut" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/DataBoxEdgeDevicePutWithDataResidency.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/DataBoxEdgeDevicePutWithDataResidency.json index 0c82f01ff905..6d0e0e279aea 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/DataBoxEdgeDevicePutWithDataResidency.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/DataBoxEdgeDevicePutWithDataResidency.json @@ -1,52 +1,54 @@ { "parameters": { - "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", - "deviceName": "testedgedevice", - "Content-Type": [ - "application/json; charset=utf-8" - ], "Content-Length": [ "200" ], - "x-ms-client-request-id": [ - "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + "Content-Type": [ + "application/json; charset=utf-8" ], "accept-language": [ "en-US" ], + "api-version": "2023-12-01", "dataBoxEdgeDevice": { "location": "WUS", - "tags": {}, - "sku": { - "name": "Edge", - "tier": "Standard" - }, "properties": { "dataResidency": { "type": "ZoneReplication" } - } - } + }, + "sku": { + "name": "Edge", + "tier": "Standard" + }, + "tags": {} + }, + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] }, "responses": { "200": { "body": { + "name": "testedgedevice", "id": "foo/bar/id", "location": "WUS", - "tags": {}, - "sku": { - "name": "Edge", - "tier": "Standard" - }, - "name": "testedgedevice", "properties": { "dataResidency": { "type": "ZoneReplication" } - } + }, + "sku": { + "name": "Edge", + "tier": "Standard" + }, + "tags": {} } } - } + }, + "operationId": "Devices_CreateOrUpdate", + "title": "DataBoxEdgeDevicePutWithDataResidency" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/DeleteAddons.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/DeleteAddons.json index 41a574f6c8b0..2a63a4b820bc 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/DeleteAddons.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/DeleteAddons.json @@ -1,14 +1,14 @@ { "parameters": { + "accept-language": [ + "en-US" + ], + "addonName": "arcName", "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", "roleName": "KubernetesRole", - "addonName": "arcName", - "accept-language": [ - "en-US" - ] + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" }, "responses": { "200": {}, @@ -18,5 +18,7 @@ } }, "204": {} - } + }, + "operationId": "Addons_Delete", + "title": "DeleteAddOns" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/DeleteMonitoringConfig.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/DeleteMonitoringConfig.json index cdfd10be46ff..7275d5a76361 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/DeleteMonitoringConfig.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/DeleteMonitoringConfig.json @@ -1,13 +1,13 @@ { "parameters": { + "accept-language": [ + "en-US" + ], "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", "roleName": "testrole", - "accept-language": [ - "en-US" - ] + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" }, "responses": { "200": {}, @@ -17,5 +17,7 @@ } }, "204": {} - } + }, + "operationId": "MonitoringConfig_Delete", + "title": "DeleteMonitoringConfig" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/DeviceCapacityGet.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/DeviceCapacityGet.json index 4b25f142ca77..2338aa3fcf40 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/DeviceCapacityGet.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/DeviceCapacityGet.json @@ -1,95 +1,63 @@ { "parameters": { + "accept-language": [ + "en-US" + ], "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", "x-ms-client-request-id": [ "a93b39a3-1ff4-42b8-a56f-43368d47e37a" - ], - "accept-language": [ - "en-US" ] }, "responses": { "200": { "body": { + "name": "default", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/deviceCapacityInfo", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/deviceCapacityInfo/default", "properties": { - "timeStamp": "2022-02-28T19:35:34.5585067Z", - "clusterStorageCapacityInfo": { - "clusterTotalStorageMb": 5368642.0, - "clusterFreeStorageMb": 5284151.0 - }, "clusterComputeCapacityInfo": { "fqdn": "3V78B03CL", "gpuCapacity": { - "gpuType": "NvidiaTeslaT4", - "gpuUsedUnitsCount": 0, "gpuFreeUnitsCount": 1, "gpuReservedForFailoverUnitsCount": 0, - "gpuTotalUnitsCount": 1 + "gpuTotalUnitsCount": 1, + "gpuType": "NvidiaTeslaT4", + "gpuUsedUnitsCount": 0 }, + "lastRefreshedTime": "2022-02-28T19:35:23.82Z", "memoryCapacity": { + "clusterFailoverMemoryMb": 0, + "clusterFragmentationMemoryMb": 0, "clusterFreeMemoryMb": 20978.64, - "clusterUsedMemoryMb": 109711.36, - "clusterFailoverMemoryMb": 0.0, - "clusterFragmentationMemoryMb": 0.0, "clusterHypervReserveMemoryMb": 19599.36, - "clusterInfraVmMemoryMb": 0.0, - "clusterTotalMemoryMb": 130690.0, - "clusterNonFailoverVmMb": 0.0, - "clusterMemoryUsedByVmsMb": 90112.0 + "clusterInfraVmMemoryMb": 0, + "clusterMemoryUsedByVmsMb": 90112, + "clusterNonFailoverVmMb": 0, + "clusterTotalMemoryMb": 130690, + "clusterUsedMemoryMb": 109711.36 }, - "lastRefreshedTime": "2022-02-28T19:35:23.82Z", "totalProvisionedNonHpnCores": 5 }, + "clusterStorageCapacityInfo": { + "clusterFreeStorageMb": 5284151, + "clusterTotalStorageMb": 5368642 + }, "nodeCapacityInfos": { "3V78B03": { - "hostName": "3V78B03", - "effectiveAvailableMemoryMbOnHost": 45818, "availableGpuCount": 1, - "vmUsedMemory": { - "2e867196-e44b-49b7-9cb3-46c25973b762": { - "startupMemoryMB": 3584, - "currentMemoryUsageMB": 3584 - }, - "23ddd5ea-bda9-467a-803f-1a7e2888d1fa": { - "startupMemoryMB": 24576, - "currentMemoryUsageMB": 24576 - }, - "853efe82-58f1-4f94-8f9c-7752dab6767c": { - "startupMemoryMB": 24576, - "currentMemoryUsageMB": 24576 - }, - "4c4261f0-eac5-4ff6-95ef-2cb70e09d3f6": { - "startupMemoryMB": 3584, - "currentMemoryUsageMB": 3584 - }, - "48034ac1-04ce-48e1-89fd-15a6d71fd623": { - "startupMemoryMB": 2048, - "currentMemoryUsageMB": 2048 - }, - "dc3d20b2-8581-41cb-9ca3-1bbc1a8a2fe4": { - "startupMemoryMB": 3584, - "currentMemoryUsageMB": 3584 - }, - "c1023a57-d6a0-4a77-9308-48b320bfedbd": { - "startupMemoryMB": 3584, - "currentMemoryUsageMB": 3584 - }, - "6b1817d5-4003-4f17-8423-51c33d9de88c": { - "startupMemoryMB": 24576, - "currentMemoryUsageMB": 0 - } - }, + "effectiveAvailableMemoryMbOnHost": 45818, "gpuType": "NvidiaTeslaT4", + "hostName": "3V78B03", "numaNodesData": [ { - "numaNodeIndex": 0, - "totalMemoryInMb": 65154, - "logicalCoreCountPerCore": 2, "effectiveAvailableMemoryInMb": 30182, "freeVCpuIndexesForHpn": [], + "logicalCoreCountPerCore": 2, + "numaNodeIndex": 0, + "totalMemoryInMb": 65154, "vCpuIndexesForHpn": [], "vCpuIndexesForRoot": [ 0, @@ -115,11 +83,11 @@ ] }, { - "numaNodeIndex": 1, - "totalMemoryInMb": 65536, - "logicalCoreCountPerCore": 2, "effectiveAvailableMemoryInMb": 19493, "freeVCpuIndexesForHpn": [], + "logicalCoreCountPerCore": 2, + "numaNodeIndex": 1, + "totalMemoryInMb": 65536, "vCpuIndexesForHpn": [], "vCpuIndexesForRoot": [ 20, @@ -144,14 +112,48 @@ 39 ] } - ] + ], + "vmUsedMemory": { + "23ddd5ea-bda9-467a-803f-1a7e2888d1fa": { + "currentMemoryUsageMB": 24576, + "startupMemoryMB": 24576 + }, + "2e867196-e44b-49b7-9cb3-46c25973b762": { + "currentMemoryUsageMB": 3584, + "startupMemoryMB": 3584 + }, + "48034ac1-04ce-48e1-89fd-15a6d71fd623": { + "currentMemoryUsageMB": 2048, + "startupMemoryMB": 2048 + }, + "4c4261f0-eac5-4ff6-95ef-2cb70e09d3f6": { + "currentMemoryUsageMB": 3584, + "startupMemoryMB": 3584 + }, + "6b1817d5-4003-4f17-8423-51c33d9de88c": { + "currentMemoryUsageMB": 0, + "startupMemoryMB": 24576 + }, + "853efe82-58f1-4f94-8f9c-7752dab6767c": { + "currentMemoryUsageMB": 24576, + "startupMemoryMB": 24576 + }, + "c1023a57-d6a0-4a77-9308-48b320bfedbd": { + "currentMemoryUsageMB": 3584, + "startupMemoryMB": 3584 + }, + "dc3d20b2-8581-41cb-9ca3-1bbc1a8a2fe4": { + "currentMemoryUsageMB": 3584, + "startupMemoryMB": 3584 + } + } } - } - }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/deviceCapacityInfo/default", - "name": "default", - "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/deviceCapacityInfo" + }, + "timeStamp": "2022-02-28T19:35:34.5585067Z" + } } } - } + }, + "operationId": "DeviceCapacityInfo_GetDeviceCapacityInfo", + "title": "DeviceCapacityGet" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/DeviceCapacityRequestPost.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/DeviceCapacityRequestPost.json index aa2d746b2982..abc0927fad19 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/DeviceCapacityRequestPost.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/DeviceCapacityRequestPost.json @@ -1,21 +1,15 @@ { "parameters": { - "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", - "deviceName": "testedgedevice", - "Content-Type": [ - "application/json; charset=utf-8" - ], "Content-Length": [ "200" ], - "x-ms-client-request-id": [ - "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + "Content-Type": [ + "application/json; charset=utf-8" ], "accept-language": [ "en-US" ], + "api-version": "2023-12-01", "deviceCapacityRequestInfo": { "properties": { "vmPlacementQuery": [ @@ -24,7 +18,13 @@ ] ] } - } + }, + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] }, "responses": { "200": {}, @@ -33,5 +33,7 @@ "location": "https://foo.com/BandwidthSchdeuleDelete" } } - } + }, + "operationId": "DeviceCapacityCheck_CheckResourceCreationFeasibility", + "title": "DeviceCapacityRequestPost" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/DownloadUpdatesPost.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/DownloadUpdatesPost.json index f1e22ab2d5db..2cabf2d18945 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/DownloadUpdatesPost.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/DownloadUpdatesPost.json @@ -1,20 +1,20 @@ { "parameters": { - "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", - "deviceName": "testedgedevice", - "Content-Type": [ - "application/json; charset=utf-8" - ], "Content-Length": [ "200" ], - "x-ms-client-request-id": [ - "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + "Content-Type": [ + "application/json; charset=utf-8" ], "accept-language": [ "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" ] }, "responses": { @@ -24,5 +24,7 @@ "location": "https://foo.com/DownloadUpdatesPost" } } - } + }, + "operationId": "Devices_DownloadUpdates", + "title": "DownloadUpdatesPost" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/ExtendedInfoPost.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/ExtendedInfoPost.json index 39f4bd39b43b..bcbcd86e0bba 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/ExtendedInfoPost.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/ExtendedInfoPost.json @@ -1,34 +1,36 @@ { "parameters": { - "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", - "deviceName": "testedgedevice", - "Content-Type": [ - "application/json; charset=utf-8" - ], "Content-Length": [ "200" ], - "x-ms-client-request-id": [ - "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + "Content-Type": [ + "application/json; charset=utf-8" ], "accept-language": [ "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" ] }, "responses": { "200": { "body": { + "name": "testedgedevice", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice", "properties": { - "resourceKey": "3482840729935603111", + "encryptionKey": "", "encryptionKeyThumbprint": "", - "encryptionKey": "" - }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice", - "name": "testedgedevice", - "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices" + "resourceKey": "3482840729935603111" + } } } - } + }, + "operationId": "Devices_GetExtendedInformation", + "title": "ExtendedInfoPost" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/GenerateCertificate.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/GenerateCertificate.json index 7f6446143745..83f8670ed461 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/GenerateCertificate.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/GenerateCertificate.json @@ -1,20 +1,22 @@ { "parameters": { - "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", - "deviceName": "testedgedevice", "accept-language": [ "en-US" - ] + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" }, "responses": { "200": { "body": { - "publicKey": "MIIEDjCCAnagAwIBAgIQEW4wrxj9+JdA4kFLDgegTTANBgkqhkiG9w0BAQUFADBDMUEwPwYDVQQDHjgAQwBCAF8AUABvAHIAdABhAGwAXwA2ADMANwA0ADEAMwA1ADkAMQA4ADAAMAA3ADAAOQAxADcANTAeFw0yMDExMTkwNDU2MjBaFw0yMDExMjIwNTA2MjBaMEMxQTA/BgNVBAMeOABDAEIAXwBQAG8AcgB0AGEAbABfADYAMwA3ADQAMQAzADUAOQAxADgAMAAwADcAMAA5ADEANwA1MIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAqG617KAUc4gOoht527o6FGE/c97W/wZIXqKbx4G8vifljXWw3NGDDuSQfidE3MqSMMJ/AAlDhBH/Deo/PAgUWuWB2WgM+KFWrDS0oDBvLVeIIeiMx4LOsbz4J8IbcKrGWf+ulQyum7dE/yBLzPXcPTjhJP0oMfhGOMlVVWbiKaP78/WZk2PmBQaVv7PxAQnJAPqETH2qAyuc9bd0TaMlIER56WhX9+nzsoI0u7RmBEs8+BaudVroiiK/GpEczy73TCRlpVXGChdBHg+NvYRYz91ltCV9Ijo1bdvcUjdgDJZ4Tz7G8XVCQmxbd9ml6OBLgxQUpd9HSGTcIfFiv+rTUwHR7YkY+1UGHsDPOYnBVDTXs3RFm+c5uNnCKvtyTExDJgabT+FTNb3eyD/BSYsy6b/YZBRqPiO8BRFUsIhWhXtPaUjWOEx6XMeZRnGeF4Hi8iH8TR79kEJhfYy3piSPAc3JrhgoglpyyfZOgyPOje+8tAWS9FHUNyVXKKeksDoZAgMBAAEwDQYJKoZIhvcNAQEFBQADggGBACpfQt34mgr+WlFtY0tqaPAoF6XnVzyKB6XsVAoj1uKFTSCQnr0mWvUMWKSRFTu1bV1VdDokV5I+h92kBcO4ddtHhWtkt16j9XFDsGdDvoUWJeqecZVr9fBPC69wF/9R/2E6iJporR46Pui7gcilYGqb3IjJlh8RT/XBPamQrfDbS7G8eTe91ST5cHr89R6EtDwfyhyTZr2sRrvQrxY2AjEmdH5Zcl9q2Xf8DholZhZ9vwnuYBFfl6VCXWaDAzQWiPdxo1wgXxEpNNDstGFWJKnsnz9UCohNAiPf47B+csPqxjcTLVMhcGLdU/lwpzzkEOciijpYILscvPoU3IM6DmFROgU2z6CForpgwHPDJktyWU1MC7lFdfrSzwu/5b3ZAEQhnJf7rvrybULoYBQWJEuj26Is1S6kXpNUaHAc5HIyIoc2V2eRjasbPIqsU0smjPLS/1egjHxtw9u+v4qDDvDuOjhFJtC3NkPl06TfNgO9+5LgiB1JppXnkLyCQ9RQgw==", + "expiryTimeInUTC": "2020-11-22T05:06:20.000Z", "privateKey": null, - "expiryTimeInUTC": "2020-11-22T05:06:20.000Z" + "publicKey": "MIIEDjCCAnagAwIBAgIQEW4wrxj9+JdA4kFLDgegTTANBgkqhkiG9w0BAQUFADBDMUEwPwYDVQQDHjgAQwBCAF8AUABvAHIAdABhAGwAXwA2ADMANwA0ADEAMwA1ADkAMQA4ADAAMAA3ADAAOQAxADcANTAeFw0yMDExMTkwNDU2MjBaFw0yMDExMjIwNTA2MjBaMEMxQTA/BgNVBAMeOABDAEIAXwBQAG8AcgB0AGEAbABfADYAMwA3ADQAMQAzADUAOQAxADgAMAAwADcAMAA5ADEANwA1MIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAqG617KAUc4gOoht527o6FGE/c97W/wZIXqKbx4G8vifljXWw3NGDDuSQfidE3MqSMMJ/AAlDhBH/Deo/PAgUWuWB2WgM+KFWrDS0oDBvLVeIIeiMx4LOsbz4J8IbcKrGWf+ulQyum7dE/yBLzPXcPTjhJP0oMfhGOMlVVWbiKaP78/WZk2PmBQaVv7PxAQnJAPqETH2qAyuc9bd0TaMlIER56WhX9+nzsoI0u7RmBEs8+BaudVroiiK/GpEczy73TCRlpVXGChdBHg+NvYRYz91ltCV9Ijo1bdvcUjdgDJZ4Tz7G8XVCQmxbd9ml6OBLgxQUpd9HSGTcIfFiv+rTUwHR7YkY+1UGHsDPOYnBVDTXs3RFm+c5uNnCKvtyTExDJgabT+FTNb3eyD/BSYsy6b/YZBRqPiO8BRFUsIhWhXtPaUjWOEx6XMeZRnGeF4Hi8iH8TR79kEJhfYy3piSPAc3JrhgoglpyyfZOgyPOje+8tAWS9FHUNyVXKKeksDoZAgMBAAEwDQYJKoZIhvcNAQEFBQADggGBACpfQt34mgr+WlFtY0tqaPAoF6XnVzyKB6XsVAoj1uKFTSCQnr0mWvUMWKSRFTu1bV1VdDokV5I+h92kBcO4ddtHhWtkt16j9XFDsGdDvoUWJeqecZVr9fBPC69wF/9R/2E6iJporR46Pui7gcilYGqb3IjJlh8RT/XBPamQrfDbS7G8eTe91ST5cHr89R6EtDwfyhyTZr2sRrvQrxY2AjEmdH5Zcl9q2Xf8DholZhZ9vwnuYBFfl6VCXWaDAzQWiPdxo1wgXxEpNNDstGFWJKnsnz9UCohNAiPf47B+csPqxjcTLVMhcGLdU/lwpzzkEOciijpYILscvPoU3IM6DmFROgU2z6CForpgwHPDJktyWU1MC7lFdfrSzwu/5b3ZAEQhnJf7rvrybULoYBQWJEuj26Is1S6kXpNUaHAc5HIyIoc2V2eRjasbPIqsU0smjPLS/1egjHxtw9u+v4qDDvDuOjhFJtC3NkPl06TfNgO9+5LgiB1JppXnkLyCQ9RQgw==" } } - } + }, + "operationId": "Devices_GenerateCertificate", + "title": "GenerateCertificate" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/GetAddons.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/GetAddons.json index a90745496504..01a9a7802c22 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/GetAddons.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/GetAddons.json @@ -1,42 +1,44 @@ { "parameters": { - "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", - "deviceName": "testedgedevice", - "roleName": "KubernetesRole", - "addonName": "arcName", - "Content-Type": [ - "application/json; charset=utf-8" - ], "Content-Length": [ "200" ], - "x-ms-client-request-id": [ - "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + "Content-Type": [ + "application/json; charset=utf-8" ], "accept-language": [ "en-US" + ], + "addonName": "arcName", + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "roleName": "KubernetesRole", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" ] }, "responses": { "200": { "body": { + "name": "arcName", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/roles/addons", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourcegroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/addonExamples/roles/kubernetesRole/addons/arcName", + "kind": "ArcForKubernetes", "properties": { - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", - "resourceName": "testedgedevice", - "resourceLocation": "EastUS", - "version": "0.2.18", "hostPlatform": "Linux", "hostPlatformType": "KubernetesCluster", - "provisioningState": "Created" - }, - "kind": "ArcForKubernetes", - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourcegroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/addonExamples/roles/kubernetesRole/addons/arcName", - "name": "arcName", - "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/roles/addons" + "provisioningState": "Created", + "resourceGroupName": "GroupForEdgeAutomation", + "resourceLocation": "EastUS", + "resourceName": "testedgedevice", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "version": "0.2.18" + } } } - } + }, + "operationId": "Addons_Get", + "title": "GetAddOns" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/GetDCAccessCode.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/GetDCAccessCode.json index 96a777b61dec..3df3b2c4d713 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/GetDCAccessCode.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/GetDCAccessCode.json @@ -1,12 +1,12 @@ { "parameters": { - "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", - "deviceName": "testedgedevice", "accept-language": [ "en-US" - ] + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" }, "responses": { "200": { @@ -16,5 +16,7 @@ } } } - } + }, + "operationId": "Orders_ListDCAccessCode", + "title": "GetDCAccessCode" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/GetDiagnosticProactiveLogCollectionSettings.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/GetDiagnosticProactiveLogCollectionSettings.json index d57917b4319c..956e6d165202 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/GetDiagnosticProactiveLogCollectionSettings.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/GetDiagnosticProactiveLogCollectionSettings.json @@ -1,32 +1,34 @@ { "parameters": { - "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", - "deviceName": "testedgedevice", "name": "159a00c7-8543-4343-9435-263ac87df3bb", - "x-ms-client-request-id": [ - "a93b39a3-1ff4-42b8-a56f-43368d47e37a" - ], "accept-language": [ "en-US" ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", "diagnosticProactiveLogCollectionSettings": { "properties": { "userConsent": "Enabled" } - } + }, + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] }, "responses": { "200": { "body": { + "name": "default", + "type": "dataBoxEdgeDevices/diagnosticSettings", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/diagnosticProactiveLogCollectionSettings/default", "properties": { "userConsent": "Enabled" - }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/diagnosticProactiveLogCollectionSettings/default", - "name": "default", - "type": "dataBoxEdgeDevices/diagnosticSettings" + } } } - } + }, + "operationId": "DiagnosticSettings_GetDiagnosticProactiveLogCollectionSettings", + "title": "GetDiagnosticProactiveLogCollectionSettings" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/GetDiagnosticRemoteSupportSettings.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/GetDiagnosticRemoteSupportSettings.json index 945ecad6ad33..ff89c1fdfde9 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/GetDiagnosticRemoteSupportSettings.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/GetDiagnosticRemoteSupportSettings.json @@ -1,20 +1,23 @@ { "parameters": { + "name": "159a00c7-8543-4343-9435-263ac87df3bb", + "accept-language": [ + "en-US" + ], "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", "deviceName": "testedgedevice", - "name": "159a00c7-8543-4343-9435-263ac87df3bb", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", "x-ms-client-request-id": [ "a93b39a3-1ff4-42b8-a56f-43368d47e37a" - ], - "accept-language": [ - "en-US" ] }, "responses": { "200": { "body": { + "name": "default", + "type": "dataBoxEdgeDevices/diagnosticSettings", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/diagnosticRemoteSupportSettings/default", "properties": { "remoteSupportSettingsList": [ { @@ -23,11 +26,10 @@ "remoteApplicationType": "LocalUI" } ] - }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/diagnosticRemoteSupportSettings/default", - "name": "default", - "type": "dataBoxEdgeDevices/diagnosticSettings" + } } } - } + }, + "operationId": "DiagnosticSettings_GetDiagnosticRemoteSupportSettings", + "title": "GetDiagnosticRemoteSupportSettings" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/GetMonitoringConfig.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/GetMonitoringConfig.json index 17b5ac723569..a0908e8868d7 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/GetMonitoringConfig.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/GetMonitoringConfig.json @@ -1,13 +1,13 @@ { "parameters": { + "accept-language": [ + "en-US" + ], "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", "roleName": "testrole", - "accept-language": [ - "en-US" - ] + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" }, "responses": { "200": { @@ -16,9 +16,6 @@ "properties": { "metricConfigurations": [ { - "resourceId": "test", - "mdmAccount": "test", - "metricNameSpace": "test", "counterSets": [ { "counters": [ @@ -27,11 +24,16 @@ } ] } - ] + ], + "mdmAccount": "test", + "metricNameSpace": "test", + "resourceId": "test" } ] } } } - } + }, + "operationId": "MonitoringConfig_Get", + "title": "GetMonitoringConfig" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/GetUpdateExtendedInfo.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/GetUpdateExtendedInfo.json index 1492931431f1..389518c2c67f 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/GetUpdateExtendedInfo.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/GetUpdateExtendedInfo.json @@ -1,41 +1,43 @@ { "parameters": { + "accept-language": [ + "en-US" + ], "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", "deviceName": "testedgedevice", "parameters": {}, - "accept-language": [ - "en-US" - ] + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" }, "responses": { "200": { "body": { "properties": { - "clientSecretStoreId": "/subscriptions/0d44739e-0563-474f-97e7-24a0cdb23b29/resourceGroups/arja-rg/providers/Microsoft.KeyVault/vaults/test-keyvault-ccy-523", - "clientSecretStoreUrl": "https://test-keyvault-ccy-523.vault.azure.net", "channelIntegrityKeyName": "ase-cik-ab861822-21ea-4d31-96ec-89aa066f9a59", "channelIntegrityKeyVersion": "95e9b619e65f433d82c9e1ead48214b9", - "keyVaultSyncStatus": "KeyVaultSynced", + "clientSecretStoreId": "/subscriptions/0d44739e-0563-474f-97e7-24a0cdb23b29/resourceGroups/arja-rg/providers/Microsoft.KeyVault/vaults/test-keyvault-ccy-523", + "clientSecretStoreUrl": "https://test-keyvault-ccy-523.vault.azure.net", "deviceSecrets": { + "BMCDefaultUserPassword": {}, "HcsDataVolumeBitLockerExternalKey": { "keyVaultId": "Id" }, "HcsInternalVolumeBitLockerExternalKey": { "keyVaultId": "Id" }, + "RotateKeyForDataVolumeBitlocker": {}, + "RotateKeysForSedDrivesSerialized": {}, + "SEDEncryptionExternalKey": {}, + "SEDEncryptionExternalKeyId": {}, "SystemVolumeBitLockerRecoveryKey": { "keyVaultId": "Id" - }, - "SEDEncryptionExternalKeyId": {}, - "SEDEncryptionExternalKey": {}, - "BMCDefaultUserPassword": {}, - "RotateKeyForDataVolumeBitlocker": {}, - "RotateKeysForSedDrivesSerialized": {} - } + } + }, + "keyVaultSyncStatus": "KeyVaultSynced" } } } - } + }, + "operationId": "Devices_UpdateExtendedInformation", + "title": "GetUpdateExtendedInfo" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/InstallUpdatesPost.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/InstallUpdatesPost.json index f91b07d485ce..72b03ce0ff6b 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/InstallUpdatesPost.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/InstallUpdatesPost.json @@ -1,20 +1,20 @@ { "parameters": { - "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", - "deviceName": "testedgedevice", - "Content-Type": [ - "application/json; charset=utf-8" - ], "Content-Length": [ "200" ], - "x-ms-client-request-id": [ - "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + "Content-Type": [ + "application/json; charset=utf-8" ], "accept-language": [ "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" ] }, "responses": { @@ -24,5 +24,7 @@ "location": "https://foo.com/InstalllUpdatesPost" } } - } + }, + "operationId": "Devices_InstallUpdates", + "title": "InstallUpdatesPost" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/JobsGet.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/JobsGet.json index ee65a3802eec..58a94c61eb55 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/JobsGet.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/JobsGet.json @@ -1,31 +1,33 @@ { "parameters": { + "name": "159a00c7-8543-4343-9435-263ac87df3bb", + "accept-language": [ + "en-US" + ], "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", "deviceName": "testedgedevice", - "name": "159a00c7-8543-4343-9435-263ac87df3bb", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", "x-ms-client-request-id": [ "a93b39a3-1ff4-42b8-a56f-43368d47e37a" - ], - "accept-language": [ - "en-US" ] }, "responses": { "200": { "body": { - "id": "/subscriptions/id/locations/westus/jobs/159a00c7-8543-4343-9435-263ac87df3bb", "name": "159a00c7-8543-4343-9435-263ac87df3bb", - "status": "Succeeded", - "startTime": "2018-12-18T02:18:51.4270267Z", "endTime": "2018-12-18T03:18:51.4270267Z", + "id": "/subscriptions/id/locations/westus/jobs/159a00c7-8543-4343-9435-263ac87df3bb", "percentComplete": 100, "properties": { - "jobType": "DownloadUpdates", - "currentStage": "Success" - } + "currentStage": "Success", + "jobType": "DownloadUpdates" + }, + "startTime": "2018-12-18T02:18:51.4270267Z", + "status": "Succeeded" } } - } + }, + "operationId": "Jobs_Get", + "title": "JobsGet" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/ListMonitoringConfig.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/ListMonitoringConfig.json index 4fbbb65daaa8..a272695cec48 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/ListMonitoringConfig.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/ListMonitoringConfig.json @@ -1,13 +1,13 @@ { "parameters": { + "accept-language": [ + "en-US" + ], "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", "roleName": "testrole", - "accept-language": [ - "en-US" - ] + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" }, "responses": { "200": { @@ -18,9 +18,6 @@ "properties": { "metricConfigurations": [ { - "resourceId": "test", - "mdmAccount": "test", - "metricNameSpace": "test", "counterSets": [ { "counters": [ @@ -29,7 +26,10 @@ } ] } - ] + ], + "mdmAccount": "test", + "metricNameSpace": "test", + "resourceId": "test" } ] } @@ -37,5 +37,7 @@ ] } } - } + }, + "operationId": "MonitoringConfig_List", + "title": "ListMonitoringConfig" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/NetworkSettingsGet.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/NetworkSettingsGet.json index 1e9fee4e7fca..95728b8783e0 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/NetworkSettingsGet.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/NetworkSettingsGet.json @@ -1,19 +1,22 @@ { "parameters": { + "accept-language": [ + "en-US" + ], "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", "x-ms-client-request-id": [ "a93b39a3-1ff4-42b8-a56f-43368d47e37a" - ], - "accept-language": [ - "en-US" ] }, "responses": { "200": { "body": { + "name": "default", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/networkSettings", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/networkSettings/default", "properties": { "networkAdapters": [ { @@ -22,37 +25,36 @@ "networkGroup": "NonRDMA", "port": 0 }, - "index": 1, - "nodeId": "3fd54d9e-f7a0-45bf-bdf1-39b0977d1984", - "networkAdapterName": "DATA1", - "label": "DATA1", - "macAddress": "00155D4E265B", - "linkSpeed": 10000000000, - "status": "Inactive", - "rdmaStatus": "Incapable", "dhcpStatus": "Disabled", + "dnsServers": [ + "10.50.50.50", + "10.50.10.50" + ], + "index": 1, "ipv4Configuration": { + "gateway": "10.150.76.1", "ipAddress": "10.150.78.56", - "subnet": "255.255.252.0", - "gateway": "10.150.76.1" + "subnet": "255.255.252.0" }, "ipv6Configuration": { + "gateway": "fe80::12f3:11ff:fe36:994b%5", "ipAddress": "2404:f801:4800:1e:d5c6:50a1:465b:1bbf", - "prefixLength": 64, - "gateway": "fe80::12f3:11ff:fe36:994b%5" + "prefixLength": 64 }, "ipv6LinkLocalAddress": "fe80::d5c6:50a1:465b:1bbf%5", - "dnsServers": [ - "10.50.50.50", - "10.50.10.50" - ] + "label": "DATA1", + "linkSpeed": 10000000000, + "macAddress": "00155D4E265B", + "networkAdapterName": "DATA1", + "nodeId": "3fd54d9e-f7a0-45bf-bdf1-39b0977d1984", + "rdmaStatus": "Incapable", + "status": "Inactive" } ] - }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/networkSettings/default", - "name": "default", - "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/networkSettings" + } } } - } + }, + "operationId": "Devices_GetNetworkSettings", + "title": "NetworkSettingsGet" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/NodeGetAllInDevice.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/NodeGetAllInDevice.json index e6970521944f..ed50fcb35d71 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/NodeGetAllInDevice.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/NodeGetAllInDevice.json @@ -1,14 +1,14 @@ { "parameters": { + "accept-language": [ + "en-US" + ], "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", "x-ms-client-request-id": [ "a93b39a3-1ff4-42b8-a56f-43368d47e37a" - ], - "accept-language": [ - "en-US" ] }, "responses": { @@ -16,35 +16,37 @@ "body": { "value": [ { + "name": "1D6QHQ2", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/nodes", + "id": "/subscriptions/db4e2fdb-6d80-4e6e-b7cd-736098270664/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/DataBoxEdgeDevices/testedgedevice/nodes/1D6QHQ2", "properties": { - "nodeStatus": "Unknown", "nodeChassisSerialNumber": "1D6QHQ2", - "nodeSerialNumber": "1D6QHQ2", "nodeDisplayName": "Controller 1", "nodeFriendlySoftwareVersion": "Data Box Edge 1908", "nodeHcsVersion": "1.6.961.8307", - "nodeInstanceId": "ad051874-7d27-4ac4-a7b1-b6f231d8a035" - }, - "id": "/subscriptions/db4e2fdb-6d80-4e6e-b7cd-736098270664/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/DataBoxEdgeDevices/testedgedevice/nodes/1D6QHQ2", - "name": "1D6QHQ2", - "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/nodes" + "nodeInstanceId": "ad051874-7d27-4ac4-a7b1-b6f231d8a035", + "nodeSerialNumber": "1D6QHQ2", + "nodeStatus": "Unknown" + } }, { + "name": "1DCNHQ2", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/nodes", + "id": "/subscriptions/db4e2fdb-6d80-4e6e-b7cd-736098270664/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/DataBoxEdgeDevices/testedgedevice/nodes/1DCNHQ2", "properties": { - "nodeStatus": "Unknown", "nodeChassisSerialNumber": "1D6QHQ2", - "nodeSerialNumber": "1DCNHQ2", "nodeDisplayName": "Controller 1", "nodeFriendlySoftwareVersion": "Data Box Edge 1908", "nodeHcsVersion": "1.6.961.8307", - "nodeInstanceId": "ddf3a76d-ada4-44af-99c6-a69a0e21bcb6" - }, - "id": "/subscriptions/db4e2fdb-6d80-4e6e-b7cd-736098270664/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/DataBoxEdgeDevices/testedgedevice/nodes/1DCNHQ2", - "name": "1DCNHQ2", - "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/nodes" + "nodeInstanceId": "ddf3a76d-ada4-44af-99c6-a69a0e21bcb6", + "nodeSerialNumber": "1DCNHQ2", + "nodeStatus": "Unknown" + } } ] } } - } + }, + "operationId": "Nodes_ListByDataBoxEdgeDevice", + "title": "NodesGetAllInDevice" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/OperationsGet.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/OperationsGet.json index faf2461d0a83..8112c7c2e93d 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/OperationsGet.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/OperationsGet.json @@ -1,11 +1,11 @@ { "parameters": { + "accept-language": [ + "en-US" + ], "api-version": "2023-12-01", "x-ms-client-request-id": [ "a93b39a3-1ff4-42b8-a56f-43368d47e37a" - ], - "accept-language": [ - "en-US" ] }, "responses": { @@ -15,400 +15,400 @@ { "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/users/read", "display": { - "provider": "Microsoft.DataBoxEdge", - "resource": "share users", + "description": "Lists or gets the share users", "operation": "List share users", - "description": "Lists or gets the share users" + "provider": "Microsoft.DataBoxEdge", + "resource": "share users" }, "origin": "user" }, { "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/users/read", "display": { - "provider": "Microsoft.DataBoxEdge", - "resource": "share users", + "description": "Lists or gets the share users", "operation": "List share users", - "description": "Lists or gets the share users" + "provider": "Microsoft.DataBoxEdge", + "resource": "share users" }, "origin": "user" }, { "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/users/write", "display": { - "provider": "Microsoft.DataBoxEdge", - "resource": "share users", + "description": "Creates or updates the share users", "operation": "Creates or updates share users", - "description": "Creates or updates the share users" + "provider": "Microsoft.DataBoxEdge", + "resource": "share users" }, "origin": "user" }, { "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/users/delete", "display": { - "provider": "Microsoft.DataBoxEdge", - "resource": "share users", + "description": "Deletes the share users", "operation": "Delete share users", - "description": "Deletes the share users" + "provider": "Microsoft.DataBoxEdge", + "resource": "share users" }, "origin": "user" }, { "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/bandwidthSchedules/read", "display": { - "provider": "Microsoft.DataBoxEdge", - "resource": "bandwidth schedules", + "description": "Lists or gets the bandwidth schedules", "operation": "List bandwidth schedules", - "description": "Lists or gets the bandwidth schedules" + "provider": "Microsoft.DataBoxEdge", + "resource": "bandwidth schedules" }, "origin": "user" }, { "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/bandwidthSchedules/read", "display": { - "provider": "Microsoft.DataBoxEdge", - "resource": "bandwidth schedules", + "description": "Lists or gets the bandwidth schedules", "operation": "List bandwidth schedules", - "description": "Lists or gets the bandwidth schedules" + "provider": "Microsoft.DataBoxEdge", + "resource": "bandwidth schedules" }, "origin": "user" }, { "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/bandwidthSchedules/write", "display": { - "provider": "Microsoft.DataBoxEdge", - "resource": "bandwidth schedules", + "description": "Creates or updates the bandwidth schedules", "operation": "Creates or updates bandwidth schedules", - "description": "Creates or updates the bandwidth schedules" + "provider": "Microsoft.DataBoxEdge", + "resource": "bandwidth schedules" }, "origin": "user" }, { "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/bandwidthSchedules/delete", "display": { - "provider": "Microsoft.DataBoxEdge", - "resource": "bandwidth schedules", + "description": "Deletes the bandwidth schedules", "operation": "Delete bandwidth schedules", - "description": "Deletes the bandwidth schedules" + "provider": "Microsoft.DataBoxEdge", + "resource": "bandwidth schedules" }, "origin": "user" }, { "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/roles/read", "display": { - "provider": "Microsoft.DataBoxEdge", - "resource": "ArmApiRes_roles", + "description": "Lists or gets the ArmApiRes_roles", "operation": "List ArmApiRes_roles", - "description": "Lists or gets the ArmApiRes_roles" + "provider": "Microsoft.DataBoxEdge", + "resource": "ArmApiRes_roles" }, "origin": "user" }, { "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/roles/read", "display": { - "provider": "Microsoft.DataBoxEdge", - "resource": "ArmApiRes_roles", + "description": "Lists or gets the ArmApiRes_roles", "operation": "List ArmApiRes_roles", - "description": "Lists or gets the ArmApiRes_roles" + "provider": "Microsoft.DataBoxEdge", + "resource": "ArmApiRes_roles" }, "origin": "user" }, { "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/roles/write", "display": { - "provider": "Microsoft.DataBoxEdge", - "resource": "ArmApiRes_roles", + "description": "Creates or updates the ArmApiRes_roles", "operation": "Creates or updates ArmApiRes_roles", - "description": "Creates or updates the ArmApiRes_roles" + "provider": "Microsoft.DataBoxEdge", + "resource": "ArmApiRes_roles" }, "origin": "user" }, { "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/roles/delete", "display": { - "provider": "Microsoft.DataBoxEdge", - "resource": "ArmApiRes_roles", + "description": "Deletes the ArmApiRes_roles", "operation": "Delete ArmApiRes_roles", - "description": "Deletes the ArmApiRes_roles" + "provider": "Microsoft.DataBoxEdge", + "resource": "ArmApiRes_roles" }, "origin": "user" }, { "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/shares/read", "display": { - "provider": "Microsoft.DataBoxEdge", - "resource": "shares", + "description": "Lists or gets the shares", "operation": "List shares", - "description": "Lists or gets the shares" + "provider": "Microsoft.DataBoxEdge", + "resource": "shares" }, "origin": "user" }, { "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/shares/read", "display": { - "provider": "Microsoft.DataBoxEdge", - "resource": "shares", + "description": "Lists or gets the shares", "operation": "List shares", - "description": "Lists or gets the shares" + "provider": "Microsoft.DataBoxEdge", + "resource": "shares" }, "origin": "user" }, { "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/shares/write", "display": { - "provider": "Microsoft.DataBoxEdge", - "resource": "shares", + "description": "Creates or updates the shares", "operation": "Creates or updates shares", - "description": "Creates or updates the shares" + "provider": "Microsoft.DataBoxEdge", + "resource": "shares" }, "origin": "user" }, { "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/shares/refresh/action", "display": { - "provider": "Microsoft.DataBoxEdge", - "resource": "shares", + "description": "ArmApiDesc_action_refresh_shares", "operation": "ArmApiOp_action_refresh_shares", - "description": "ArmApiDesc_action_refresh_shares" + "provider": "Microsoft.DataBoxEdge", + "resource": "shares" }, "origin": "user" }, { "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/shares/delete", "display": { - "provider": "Microsoft.DataBoxEdge", - "resource": "shares", + "description": "Deletes the shares", "operation": "Delete shares", - "description": "Deletes the shares" + "provider": "Microsoft.DataBoxEdge", + "resource": "shares" }, "origin": "user" }, { "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/uploadCertificate/action", "display": { - "provider": "Microsoft.DataBoxEdge", - "resource": "Data Box Edge devices", + "description": "Upload certificate for device registration", "operation": "Upload certificates", - "description": "Upload certificate for device registration" + "provider": "Microsoft.DataBoxEdge", + "resource": "Data Box Edge devices" }, "origin": "user" }, { "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/write", "display": { - "provider": "Microsoft.DataBoxEdge", - "resource": "Data Box Edge devices", + "description": "Creates or updates the Data Box Edge devices", "operation": "Creates or updates Data Box Edge devices", - "description": "Creates or updates the Data Box Edge devices" + "provider": "Microsoft.DataBoxEdge", + "resource": "Data Box Edge devices" }, "origin": "user" }, { "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/read", "display": { - "provider": "Microsoft.DataBoxEdge", - "resource": "Data Box Edge devices", + "description": "Lists or gets the Data Box Edge devices", "operation": "List Data Box Edge devices", - "description": "Lists or gets the Data Box Edge devices" + "provider": "Microsoft.DataBoxEdge", + "resource": "Data Box Edge devices" }, "origin": "user" }, { "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/delete", "display": { - "provider": "Microsoft.DataBoxEdge", - "resource": "Data Box Edge devices", + "description": "Deletes the Data Box Edge devices", "operation": "Delete Data Box Edge devices", - "description": "Deletes the Data Box Edge devices" + "provider": "Microsoft.DataBoxEdge", + "resource": "Data Box Edge devices" }, "origin": "user" }, { "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/read", "display": { - "provider": "Microsoft.DataBoxEdge", - "resource": "Data Box Edge devices", + "description": "Lists or gets the Data Box Edge devices", "operation": "List Data Box Edge devices", - "description": "Lists or gets the Data Box Edge devices" + "provider": "Microsoft.DataBoxEdge", + "resource": "Data Box Edge devices" }, "origin": "user" }, { "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/read", "display": { - "provider": "Microsoft.DataBoxEdge", - "resource": "Data Box Edge devices", + "description": "Lists or gets the Data Box Edge devices", "operation": "List Data Box Edge devices", - "description": "Lists or gets the Data Box Edge devices" + "provider": "Microsoft.DataBoxEdge", + "resource": "Data Box Edge devices" }, "origin": "user" }, { "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/write", "display": { - "provider": "Microsoft.DataBoxEdge", - "resource": "Data Box Edge devices", + "description": "Creates or updates the Data Box Edge devices", "operation": "Creates or updates Data Box Edge devices", - "description": "Creates or updates the Data Box Edge devices" + "provider": "Microsoft.DataBoxEdge", + "resource": "Data Box Edge devices" }, "origin": "user" }, { "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/getExtendedInformation/action", "display": { - "provider": "Microsoft.DataBoxEdge", - "resource": "Data Box Edge devices", + "description": "ArmApiDesc_action_getExtendedInformation_dataBoxEdgeDevices", "operation": "ArmApiOp_action_getExtendedInformation_dataBoxEdgeDevices", - "description": "ArmApiDesc_action_getExtendedInformation_dataBoxEdgeDevices" + "provider": "Microsoft.DataBoxEdge", + "resource": "Data Box Edge devices" }, "origin": "user" }, { "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/extendedInformation/action", "display": { - "provider": "Microsoft.DataBoxEdge", - "resource": "Data Box Edge devices", + "description": "Retrieves resource extended information", "operation": "Gets resource extended information", - "description": "Retrieves resource extended information" + "provider": "Microsoft.DataBoxEdge", + "resource": "Data Box Edge devices" }, "origin": "user" }, { "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/networkSettings/read", "display": { - "provider": "Microsoft.DataBoxEdge", - "resource": "Device network settings", + "description": "Lists or gets the Device network settings", "operation": "List Device network settings", - "description": "Lists or gets the Device network settings" + "provider": "Microsoft.DataBoxEdge", + "resource": "Device network settings" }, "origin": "user" }, { "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/securitySettings/update/action", "display": { - "provider": "Microsoft.DataBoxEdge", - "resource": "Device security settings", + "description": "Update security settings", "operation": "Update security settings", - "description": "Update security settings" + "provider": "Microsoft.DataBoxEdge", + "resource": "Device security settings" }, "origin": "user" }, { "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/updateSummary/read", "display": { - "provider": "Microsoft.DataBoxEdge", - "resource": "update summary", + "description": "Lists or gets the update summary", "operation": "List update summary", - "description": "Lists or gets the update summary" + "provider": "Microsoft.DataBoxEdge", + "resource": "update summary" }, "origin": "user" }, { "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/scanForUpdates/action", "display": { - "provider": "Microsoft.DataBoxEdge", - "resource": "Data Box Edge devices", + "description": "Scan for updates", "operation": "Scan for updates", - "description": "Scan for updates" + "provider": "Microsoft.DataBoxEdge", + "resource": "Data Box Edge devices" }, "origin": "user" }, { "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/downloadUpdates/action", "display": { - "provider": "Microsoft.DataBoxEdge", - "resource": "Data Box Edge devices", + "description": "Download Updates in device", "operation": "Download Updates", - "description": "Download Updates in device" + "provider": "Microsoft.DataBoxEdge", + "resource": "Data Box Edge devices" }, "origin": "user" }, { "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/installUpdates/action", "display": { - "provider": "Microsoft.DataBoxEdge", - "resource": "Data Box Edge devices", + "description": "Install Updates on device", "operation": "Install Updates", - "description": "Install Updates on device" + "provider": "Microsoft.DataBoxEdge", + "resource": "Data Box Edge devices" }, "origin": "user" }, { "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/jobs/read", "display": { - "provider": "Microsoft.DataBoxEdge", - "resource": "jobs", + "description": "Lists or gets the jobs", "operation": "List jobs", - "description": "Lists or gets the jobs" + "provider": "Microsoft.DataBoxEdge", + "resource": "jobs" }, "origin": "user" }, { "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/storageAccountCredentials/write", "display": { - "provider": "Microsoft.DataBoxEdge", - "resource": "storage account credentials", + "description": "Creates or updates the storage account credentials", "operation": "Creates or updates storage account credentials", - "description": "Creates or updates the storage account credentials" + "provider": "Microsoft.DataBoxEdge", + "resource": "storage account credentials" }, "origin": "user" }, { "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/storageAccountCredentials/read", "display": { - "provider": "Microsoft.DataBoxEdge", - "resource": "storage account credentials", + "description": "Lists or gets the storage account credentials", "operation": "List storage account credentials", - "description": "Lists or gets the storage account credentials" + "provider": "Microsoft.DataBoxEdge", + "resource": "storage account credentials" }, "origin": "user" }, { "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/storageAccountCredentials/read", "display": { - "provider": "Microsoft.DataBoxEdge", - "resource": "storage account credentials", + "description": "Lists or gets the storage account credentials", "operation": "List storage account credentials", - "description": "Lists or gets the storage account credentials" + "provider": "Microsoft.DataBoxEdge", + "resource": "storage account credentials" }, "origin": "user" }, { "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/storageAccountCredentials/delete", "display": { - "provider": "Microsoft.DataBoxEdge", - "resource": "storage account credentials", + "description": "Deletes the storage account credentials", "operation": "Delete storage account credentials", - "description": "Deletes the storage account credentials" + "provider": "Microsoft.DataBoxEdge", + "resource": "storage account credentials" }, "origin": "user" }, { "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/alerts/read", "display": { - "provider": "Microsoft.DataBoxEdge", - "resource": "alerts", + "description": "Lists or gets the alerts", "operation": "List alerts", - "description": "Lists or gets the alerts" + "provider": "Microsoft.DataBoxEdge", + "resource": "alerts" }, "origin": "user" }, { "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/alerts/read", "display": { - "provider": "Microsoft.DataBoxEdge", - "resource": "alerts", + "description": "Lists or gets the alerts", "operation": "List alerts", - "description": "Lists or gets the alerts" + "provider": "Microsoft.DataBoxEdge", + "resource": "alerts" }, "origin": "user" }, { "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/providers/Microsoft.Insights/metricDefinitions/read", "display": { - "provider": "Microsoft.DataBoxEdge", - "resource": "Data Box Edge device", + "description": "Gets the available Data Box Edge device level metrics", "operation": "Read Data Box Edge device metric definition", - "description": "Gets the available Data Box Edge device level metrics" + "provider": "Microsoft.DataBoxEdge", + "resource": "Data Box Edge device" }, "origin": "system", "properties": { @@ -416,10 +416,8 @@ "metricSpecifications": [ { "name": "NICReadThroughput", - "displayName": "Read Throughput (Network)", - "displayDescription": "The read throughput of the network interface on the device in the reporting period for all volumes in the gateway.", - "unit": "BytesPerSecond", "aggregationType": "Average", + "category": "Transaction", "dimensions": [ { "name": "InstanceName", @@ -427,25 +425,25 @@ "toBeExportedForShoebox": true } ], + "displayDescription": "The read throughput of the network interface on the device in the reporting period for all volumes in the gateway.", + "displayName": "Read Throughput (Network)", "fillGapWithZero": false, - "category": "Transaction", + "supportedAggregationTypes": [ + "Average", + "Minimum", + "Maximum" + ], "supportedTimeGrainTypes": [ "PT1M", "PT15M", "PT1H" ], - "supportedAggregationTypes": [ - "Average", - "Minimum", - "Maximum" - ] + "unit": "BytesPerSecond" }, { "name": "NICWriteThroughput", - "displayName": "Write Throughput (Network)", - "displayDescription": "The write throughput of the network interface on the device in the reporting period for all volumes in the gateway.", - "unit": "BytesPerSecond", "aggregationType": "Average", + "category": "Transaction", "dimensions": [ { "name": "InstanceName", @@ -453,25 +451,25 @@ "toBeExportedForShoebox": true } ], + "displayDescription": "The write throughput of the network interface on the device in the reporting period for all volumes in the gateway.", + "displayName": "Write Throughput (Network)", "fillGapWithZero": false, - "category": "Transaction", + "supportedAggregationTypes": [ + "Average", + "Minimum", + "Maximum" + ], "supportedTimeGrainTypes": [ "PT1M", "PT15M", "PT1H" ], - "supportedAggregationTypes": [ - "Average", - "Minimum", - "Maximum" - ] + "unit": "BytesPerSecond" }, { "name": "CloudReadThroughputPerShare", - "displayName": "Cloud Download Throughput (Share)", - "displayDescription": "The download throughput to Azure from a share during the reporting period.", - "unit": "BytesPerSecond", "aggregationType": "Average", + "category": "Transaction", "dimensions": [ { "name": "Share", @@ -479,25 +477,25 @@ "toBeExportedForShoebox": true } ], + "displayDescription": "The download throughput to Azure from a share during the reporting period.", + "displayName": "Cloud Download Throughput (Share)", "fillGapWithZero": false, - "category": "Transaction", + "supportedAggregationTypes": [ + "Average", + "Minimum", + "Maximum" + ], "supportedTimeGrainTypes": [ "PT1M", "PT15M", "PT1H" ], - "supportedAggregationTypes": [ - "Average", - "Minimum", - "Maximum" - ] + "unit": "BytesPerSecond" }, { "name": "CloudUploadThroughputPerShare", - "displayName": "Cloud Upload Throughput (Share)", - "displayDescription": "The upload throughput to Azure from a share during the reporting period.", - "unit": "BytesPerSecond", "aggregationType": "Average", + "category": "Transaction", "dimensions": [ { "name": "Share", @@ -505,25 +503,25 @@ "toBeExportedForShoebox": true } ], + "displayDescription": "The upload throughput to Azure from a share during the reporting period.", + "displayName": "Cloud Upload Throughput (Share)", "fillGapWithZero": false, - "category": "Transaction", + "supportedAggregationTypes": [ + "Average", + "Minimum", + "Maximum" + ], "supportedTimeGrainTypes": [ "PT1M", "PT15M", "PT1H" ], - "supportedAggregationTypes": [ - "Average", - "Minimum", - "Maximum" - ] + "unit": "BytesPerSecond" }, { "name": "BytesUploadedToCloudPerShare", - "displayName": "Cloud Bytes Uploaded (Share)", - "displayDescription": "The total number of bytes that is uploaded to Azure from a share during the reporting period.", - "unit": "Bytes", "aggregationType": "Average", + "category": "Transaction", "dimensions": [ { "name": "Share", @@ -531,118 +529,120 @@ "toBeExportedForShoebox": true } ], + "displayDescription": "The total number of bytes that is uploaded to Azure from a share during the reporting period.", + "displayName": "Cloud Bytes Uploaded (Share)", "fillGapWithZero": false, - "category": "Transaction", + "supportedAggregationTypes": [ + "Average", + "Minimum", + "Maximum" + ], "supportedTimeGrainTypes": [ "PT1M", "PT15M", "PT1H" ], - "supportedAggregationTypes": [ - "Average", - "Minimum", - "Maximum" - ] + "unit": "Bytes" }, { "name": "TotalCapacity", - "displayName": "Total Capacity", - "displayDescription": "Total Capacity", - "unit": "Bytes", "aggregationType": "Average", + "category": "Capacity", "dimensions": [], + "displayDescription": "Total Capacity", + "displayName": "Total Capacity", "fillGapWithZero": false, - "category": "Capacity", + "supportedAggregationTypes": [ + "Average", + "Minimum", + "Maximum" + ], "supportedTimeGrainTypes": [ "PT5M", "PT15M", "PT1H" ], - "supportedAggregationTypes": [ - "Average", - "Minimum", - "Maximum" - ] + "unit": "Bytes" }, { "name": "AvailableCapacity", - "displayName": "Available Capacity", - "displayDescription": "The available capacity in bytes during the reporting period.", - "unit": "Bytes", "aggregationType": "Average", + "category": "Capacity", "dimensions": [], + "displayDescription": "The available capacity in bytes during the reporting period.", + "displayName": "Available Capacity", "fillGapWithZero": false, - "category": "Capacity", + "supportedAggregationTypes": [ + "Average", + "Minimum", + "Maximum" + ], "supportedTimeGrainTypes": [ "PT5M", "PT15M", "PT1H" ], - "supportedAggregationTypes": [ - "Average", - "Minimum", - "Maximum" - ] + "unit": "Bytes" }, { "name": "CloudUploadThroughput", - "displayName": "Cloud Upload Throughput", - "displayDescription": "The cloud upload throughput during the reporting period.", - "unit": "BytesPerSecond", "aggregationType": "Average", + "category": "Transaction", "dimensions": [], + "displayDescription": "The cloud upload throughput during the reporting period.", + "displayName": "Cloud Upload Throughput", "fillGapWithZero": false, - "category": "Transaction", + "supportedAggregationTypes": [ + "Average", + "Minimum", + "Maximum" + ], "supportedTimeGrainTypes": [ "PT5M", "PT15M", "PT1H" ], - "supportedAggregationTypes": [ - "Average", - "Minimum", - "Maximum" - ] + "unit": "BytesPerSecond" }, { "name": "CloudReadThroughput", - "displayName": "Cloud Read Throughput", - "displayDescription": "The cloud download throughput during the reporting period.", - "unit": "BytesPerSecond", "aggregationType": "Average", + "category": "Transaction", "dimensions": [], + "displayDescription": "The cloud download throughput during the reporting period.", + "displayName": "Cloud Read Throughput", "fillGapWithZero": false, - "category": "Transaction", + "supportedAggregationTypes": [ + "Average", + "Minimum", + "Maximum" + ], "supportedTimeGrainTypes": [ "PT5M", "PT15M", "PT1H" ], - "supportedAggregationTypes": [ - "Average", - "Minimum", - "Maximum" - ] + "unit": "BytesPerSecond" }, { "name": "BytesUploadedToCloud", - "displayName": "Cloud Bytes Uploaded (Device)", - "displayDescription": "The total number of bytes that is uploaded to Azure from a device during the reporting period.", - "unit": "Bytes", "aggregationType": "Average", + "category": "Transaction", "dimensions": [], + "displayDescription": "The total number of bytes that is uploaded to Azure from a device during the reporting period.", + "displayName": "Cloud Bytes Uploaded (Device)", "fillGapWithZero": false, - "category": "Transaction", + "supportedAggregationTypes": [ + "Average", + "Minimum", + "Maximum" + ], "supportedTimeGrainTypes": [ "PT5M", "PT15M", "PT1H" ], - "supportedAggregationTypes": [ - "Average", - "Minimum", - "Maximum" - ] + "unit": "Bytes" } ] } @@ -651,25 +651,27 @@ { "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/providers/Microsoft.Insights/diagnosticSettings/write", "display": { - "provider": "Microsoft.DataBoxEdge", - "resource": "Data Box Edge device", + "description": "Creates or updates the diagnostics setting for the resource", "operation": "Write diagnostics setting", - "description": "Creates or updates the diagnostics setting for the resource" + "provider": "Microsoft.DataBoxEdge", + "resource": "Data Box Edge device" }, "origin": "system" }, { "name": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/providers/Microsoft.Insights/diagnosticSettings/read", "display": { - "provider": "Microsoft.DataBoxEdge", - "resource": "Data Box Edge device", + "description": "Gets the diagnostic setting for the resource", "operation": "Read diagnostics setting", - "description": "Gets the diagnostic setting for the resource" + "provider": "Microsoft.DataBoxEdge", + "resource": "Data Box Edge device" }, "origin": "system" } ] } } - } + }, + "operationId": "Operations_List", + "title": "OperationsGet" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/OperationsStatusGet.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/OperationsStatusGet.json index ed577d9c3c66..1eb2bcc83a7c 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/OperationsStatusGet.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/OperationsStatusGet.json @@ -1,31 +1,33 @@ { "parameters": { + "name": "159a00c7-8543-4343-9435-263ac87df3bb", + "accept-language": [ + "en-US" + ], "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", "deviceName": "testedgedevice", - "name": "159a00c7-8543-4343-9435-263ac87df3bb", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", "x-ms-client-request-id": [ "a93b39a3-1ff4-42b8-a56f-43368d47e37a" - ], - "accept-language": [ - "en-US" ] }, "responses": { "200": { "body": { - "id": "/subscriptions/id/locations/westus/operationsStatus/159a00c7-8543-4343-9435-263ac87df3bb", "name": "159a00c7-8543-4343-9435-263ac87df3bb", - "status": "Succeeded", - "startTime": "2018-12-18T02:18:51.4270267Z", "endTime": "2018-12-18T03:18:51.4270267Z", + "id": "/subscriptions/id/locations/westus/operationsStatus/159a00c7-8543-4343-9435-263ac87df3bb", "percentComplete": 100, "properties": { - "jobType": "DownloadUpdates", - "currentStage": "Success" - } + "currentStage": "Success", + "jobType": "DownloadUpdates" + }, + "startTime": "2018-12-18T02:18:51.4270267Z", + "status": "Succeeded" } } - } + }, + "operationId": "OperationsStatus_Get", + "title": "OperationsStatusGet" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/OrderDelete.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/OrderDelete.json index f431b87e4aef..6ebd3d1966e3 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/OrderDelete.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/OrderDelete.json @@ -1,14 +1,14 @@ { "parameters": { + "accept-language": [ + "en-US" + ], "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", "x-ms-client-request-id": [ "a93b39a3-1ff4-42b8-a56f-43368d47e37a" - ], - "accept-language": [ - "en-US" ] }, "responses": { @@ -19,5 +19,7 @@ } }, "204": {} - } + }, + "operationId": "Orders_Delete", + "title": "OrderDelete" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/OrderGet.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/OrderGet.json index f9d794d6870e..a10acebfed91 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/OrderGet.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/OrderGet.json @@ -1,57 +1,59 @@ { "parameters": { + "accept-language": [ + "en-US" + ], "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", "x-ms-client-request-id": [ "a93b39a3-1ff4-42b8-a56f-43368d47e37a" - ], - "accept-language": [ - "en-US" ] }, "responses": { "200": { "body": { - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/orders/default", "name": "default", "type": "dataBoxEdgeDevices/orders", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/orders/default", "properties": { "contactInformation": { - "contactPerson": "John Mcclane", "companyName": "Microsoft", - "phone": "(800) 426-9400", + "contactPerson": "John Mcclane", "emailList": [ "john@microsoft.com" - ] - }, - "shippingAddress": { - "addressLine1": "Microsoft Corporation", - "addressLine2": "One Microsoft Way", - "addressLine3": "Redmond", - "postalCode": "98052", - "city": "WA", - "state": "WA", - "country": "USA" + ], + "phone": "(800) 426-9400" }, "currentStatus": { + "comments": "", "status": "Untracked", - "updateDateTime": "2018-12-10T07:59:05.847Z", - "comments": "" + "updateDateTime": "2018-12-10T07:59:05.847Z" }, + "deliveryTrackingInfo": [], "orderHistory": [ { + "comments": "lorem ipsum", "status": "Untracked", - "updateDateTime": "2018-12-10T07:59:05.847Z", - "comments": "lorem ipsum" + "updateDateTime": "2018-12-10T07:59:05.847Z" } ], + "returnTrackingInfo": [], "serialNumber": "UDS123NSDA123", - "deliveryTrackingInfo": [], - "returnTrackingInfo": [] + "shippingAddress": { + "addressLine1": "Microsoft Corporation", + "addressLine2": "One Microsoft Way", + "addressLine3": "Redmond", + "city": "WA", + "country": "USA", + "postalCode": "98052", + "state": "WA" + } } } } - } + }, + "operationId": "Orders_Get", + "title": "OrderGet" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/OrderGetAllInDevice.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/OrderGetAllInDevice.json index bb6ad8e93377..293e5731477a 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/OrderGetAllInDevice.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/OrderGetAllInDevice.json @@ -1,14 +1,14 @@ { "parameters": { + "accept-language": [ + "en-US" + ], "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", "x-ms-client-request-id": [ "a93b39a3-1ff4-42b8-a56f-43368d47e37a" - ], - "accept-language": [ - "en-US" ] }, "responses": { @@ -16,46 +16,48 @@ "body": { "value": [ { - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/orders/default", "name": "default", "type": "dataBoxEdgeDevices/orders", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/orders/default", "properties": { "contactInformation": { - "contactPerson": "John Mcclane", "companyName": "Microsoft", - "phone": "(800) 426-9400", + "contactPerson": "John Mcclane", "emailList": [ "john@microsoft.com" - ] - }, - "shippingAddress": { - "addressLine1": "Microsoft Corporation", - "addressLine2": "One Microsoft Way", - "addressLine3": "Redmond", - "postalCode": "98052", - "city": "WA", - "state": "WA", - "country": "USA" + ], + "phone": "(800) 426-9400" }, "currentStatus": { + "comments": "", "status": "Untracked", - "updateDateTime": "2018-12-10T07:59:05.847Z", - "comments": "" + "updateDateTime": "2018-12-10T07:59:05.847Z" }, + "deliveryTrackingInfo": [], "orderHistory": [ { + "comments": "lorem ipsum", "status": "Untracked", - "updateDateTime": "2018-12-10T07:59:05.847Z", - "comments": "lorem ipsum" + "updateDateTime": "2018-12-10T07:59:05.847Z" } ], + "returnTrackingInfo": [], "serialNumber": "UDS123NSDA123", - "deliveryTrackingInfo": [], - "returnTrackingInfo": [] + "shippingAddress": { + "addressLine1": "Microsoft Corporation", + "addressLine2": "One Microsoft Way", + "addressLine3": "Redmond", + "city": "WA", + "country": "USA", + "postalCode": "98052", + "state": "WA" + } } } ] } } - } + }, + "operationId": "Orders_ListByDataBoxEdgeDevice", + "title": "OrderGetAllInDevice" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/OrderPut.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/OrderPut.json index d6c96b2c14d3..6a19e2724a01 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/OrderPut.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/OrderPut.json @@ -1,85 +1,87 @@ { "parameters": { - "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", - "deviceName": "testedgedevice", - "Content-Type": [ - "application/json; charset=utf-8" - ], "Content-Length": [ "200" ], - "x-ms-client-request-id": [ - "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + "Content-Type": [ + "application/json; charset=utf-8" ], "accept-language": [ "en-US" ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", "order": { "properties": { "contactInformation": { - "contactPerson": "John Mcclane", "companyName": "Microsoft", - "phone": "(800) 426-9400", + "contactPerson": "John Mcclane", "emailList": [ "john@microsoft.com" - ] + ], + "phone": "(800) 426-9400" }, "shippingAddress": { "addressLine1": "Microsoft Corporation", "addressLine2": "One Microsoft Way", "addressLine3": "Redmond", - "postalCode": "98052", "city": "WA", - "state": "WA", - "country": "USA" + "country": "USA", + "postalCode": "98052", + "state": "WA" } } - } + }, + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] }, "responses": { "200": { "body": { - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/orders/default", "name": "default", "type": "dataBoxEdgeDevices/orders", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/orders/default", "properties": { "contactInformation": { - "contactPerson": "John Mcclane", "companyName": "Microsoft", - "phone": "(800) 426-9400", + "contactPerson": "John Mcclane", "emailList": [ "john@microsoft.com" - ] - }, - "shippingAddress": { - "addressLine1": "Microsoft Corporation", - "addressLine2": "One Microsoft Way", - "addressLine3": "Redmond", - "postalCode": "98052", - "city": "WA", - "state": "WA", - "country": "USA" + ], + "phone": "(800) 426-9400" }, "currentStatus": { + "comments": "", "status": "Untracked", - "updateDateTime": "2018-12-10T07:59:05.847Z", - "comments": "" + "updateDateTime": "2018-12-10T07:59:05.847Z" }, + "deliveryTrackingInfo": [], "orderHistory": [ { + "comments": "lorem ipsum", "status": "Untracked", - "updateDateTime": "2018-12-10T07:59:05.847Z", - "comments": "lorem ipsum" + "updateDateTime": "2018-12-10T07:59:05.847Z" } ], + "returnTrackingInfo": [], "serialNumber": "UDS123NSDA123", - "deliveryTrackingInfo": [], - "returnTrackingInfo": [] + "shippingAddress": { + "addressLine1": "Microsoft Corporation", + "addressLine2": "One Microsoft Way", + "addressLine3": "Redmond", + "city": "WA", + "country": "USA", + "postalCode": "98052", + "state": "WA" + } } } }, "202": {} - } + }, + "operationId": "Orders_CreateOrUpdate", + "title": "OrderPut" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/PutAddons.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/PutAddons.json index f8594d78cb5a..59f6eb242219 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/PutAddons.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/PutAddons.json @@ -1,52 +1,54 @@ { "parameters": { - "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", - "deviceName": "testedgedevice", - "roleName": "KubernetesRole", - "addonName": "arcName", + "Content-Length": [ + "200" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "accept-language": [ + "en-US" + ], "addon": { "kind": "ArcForKubernetes", "properties": { - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", "resourceGroupName": "GroupForEdgeAutomation", + "resourceLocation": "EastUS", "resourceName": "testedgedevice", - "resourceLocation": "EastUS" + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" } }, - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "200" - ], + "addonName": "arcName", + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "roleName": "KubernetesRole", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", "x-ms-client-request-id": [ "a93b39a3-1ff4-42b8-a56f-43368d47e37a" - ], - "accept-language": [ - "en-US" ] }, "responses": { "200": { "body": { + "name": "arcName", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/roles/addons", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourcegroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/addonExamples/roles/kubernetesRole/addons/arcName", + "kind": "ArcForKubernetes", "properties": { - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", - "resourceName": "testedgedevice", - "resourceLocation": "EastUS", - "version": "0.2.18", "hostPlatform": "Linux", "hostPlatformType": "KubernetesCluster", - "provisioningState": "Created" - }, - "kind": "ArcForKubernetes", - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourcegroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/addonExamples/roles/kubernetesRole/addons/arcName", - "name": "arcName", - "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/roles/addons" + "provisioningState": "Created", + "resourceGroupName": "GroupForEdgeAutomation", + "resourceLocation": "EastUS", + "resourceName": "testedgedevice", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "version": "0.2.18" + } } }, "202": {} - } + }, + "operationId": "Addons_CreateOrUpdate", + "title": "PutAddOns" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/PutMonitoringConfig.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/PutMonitoringConfig.json index 223f01c45648..175d8de50c70 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/PutMonitoringConfig.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/PutMonitoringConfig.json @@ -1,17 +1,14 @@ { "parameters": { + "accept-language": [ + "en-US" + ], "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", "deviceName": "testedgedevice", - "roleName": "testrole", "monitoringMetricConfiguration": { "properties": { "metricConfigurations": [ { - "resourceId": "test", - "mdmAccount": "test", - "metricNameSpace": "test", "counterSets": [ { "counters": [ @@ -20,14 +17,17 @@ } ] } - ] + ], + "mdmAccount": "test", + "metricNameSpace": "test", + "resourceId": "test" } ] } }, - "accept-language": [ - "en-US" - ] + "resourceGroupName": "GroupForEdgeAutomation", + "roleName": "testrole", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" }, "responses": { "200": { @@ -36,9 +36,6 @@ "properties": { "metricConfigurations": [ { - "resourceId": "test", - "mdmAccount": "test", - "metricNameSpace": "test", "counterSets": [ { "counters": [ @@ -47,7 +44,10 @@ } ] } - ] + ], + "mdmAccount": "test", + "metricNameSpace": "test", + "resourceId": "test" } ] } @@ -58,5 +58,7 @@ "location": "https://foo.com/BandwidthSchdeuleDelete" } } - } + }, + "operationId": "MonitoringConfig_CreateOrUpdate", + "title": "PutMonitoringConfig" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/RoleDelete.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/RoleDelete.json index 98a4cd6e8342..72b44cac736d 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/RoleDelete.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/RoleDelete.json @@ -1,13 +1,13 @@ { "parameters": { - "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", - "deviceName": "testedgedevice", "name": "IoTRole1", "accept-language": [ "en-US" - ] + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" }, "responses": { "200": {}, @@ -17,5 +17,7 @@ } }, "204": {} - } + }, + "operationId": "Roles_Delete", + "title": "RoleDelete" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/RoleGet.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/RoleGet.json index 700e9dc01467..285f100f2410 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/RoleGet.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/RoleGet.json @@ -1,41 +1,43 @@ { "parameters": { - "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", - "deviceName": "testedgedevice", "name": "IoTRole1", "accept-language": [ "en-US" - ] + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" }, "responses": { "200": { "body": { + "name": "IoTRole1", + "type": "dataBoxEdgeDevices/roles", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/roles/IoTRole1", + "kind": "IOT", "properties": { "hostPlatform": "Linux", "ioTDeviceDetails": { - "deviceId": "iotdevice", - "ioTHostHub": "iothub.azure-devices.net", "authentication": { "symmetricKey": {} - } + }, + "deviceId": "iotdevice", + "ioTHostHub": "iothub.azure-devices.net" }, "ioTEdgeDeviceDetails": { - "deviceId": "iotEdge", - "ioTHostHub": "iothub.azure-devices.net", "authentication": { "symmetricKey": {} - } + }, + "deviceId": "iotEdge", + "ioTHostHub": "iothub.azure-devices.net" }, - "shareMappings": [], - "roleStatus": "Enabled" - }, - "kind": "IOT", - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/roles/IoTRole1", - "name": "IoTRole1", - "type": "dataBoxEdgeDevices/roles" + "roleStatus": "Enabled", + "shareMappings": [] + } } } - } + }, + "operationId": "Roles_Get", + "title": "RoleGet" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/RoleGetAllInDevice.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/RoleGetAllInDevice.json index 7b8f723f58ed..7c7f82049bfe 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/RoleGetAllInDevice.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/RoleGetAllInDevice.json @@ -1,44 +1,46 @@ { "parameters": { - "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", - "deviceName": "testedgedevice", "accept-language": [ "en-US" - ] + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" }, "responses": { "200": { "body": { "value": [ { + "name": "IoTRole1", + "type": "dataBoxEdgeDevices/roles", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/roles/IoTRole1", + "kind": "IOT", "properties": { "hostPlatform": "Linux", "ioTDeviceDetails": { - "deviceId": "iotdevice", - "ioTHostHub": "iothub.azure-devices.net", "authentication": { "symmetricKey": {} - } + }, + "deviceId": "iotdevice", + "ioTHostHub": "iothub.azure-devices.net" }, "ioTEdgeDeviceDetails": { - "deviceId": "iotEdge", - "ioTHostHub": "iothub.azure-devices.net", "authentication": { "symmetricKey": {} - } + }, + "deviceId": "iotEdge", + "ioTHostHub": "iothub.azure-devices.net" }, - "shareMappings": [], - "roleStatus": "Enabled" - }, - "kind": "IOT", - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/roles/IoTRole1", - "name": "IoTRole1", - "type": "dataBoxEdgeDevices/roles" + "roleStatus": "Enabled", + "shareMappings": [] + } } ] } } - } + }, + "operationId": "Roles_ListByDataBoxEdgeDevice", + "title": "RoleGetAllInDevice" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/RoleListAddOns.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/RoleListAddOns.json index 5c09167d6054..4621bd9ea9b1 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/RoleListAddOns.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/RoleListAddOns.json @@ -1,36 +1,38 @@ { "parameters": { + "accept-language": [ + "en-US" + ], "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", "roleName": "IoTRole1", - "accept-language": [ - "en-US" - ] + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" }, "responses": { "200": { "body": { "value": [ { + "name": "arcName", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/roles/addons", + "id": "/subscriptions/0d44739e-0563-474f-97e7-24a0cdb23b29/resourcegroups/prpare/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/addonExamples/roles/kubernetesRole/addons/arcName", + "kind": "ArcForKubernetes", "properties": { - "subscriptionId": "0d44739e-0563-474f-97e7-24a0cdb23b29", - "resourceGroupName": "testrg1", - "resourceName": "testresource1", - "resourceLocation": "EastUS", - "version": "0.2.18", "hostPlatform": "Linux", "hostPlatformType": "KubernetesCluster", - "provisioningState": "Created" - }, - "kind": "ArcForKubernetes", - "id": "/subscriptions/0d44739e-0563-474f-97e7-24a0cdb23b29/resourcegroups/prpare/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/addonExamples/roles/kubernetesRole/addons/arcName", - "name": "arcName", - "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/roles/addons" + "provisioningState": "Created", + "resourceGroupName": "testrg1", + "resourceLocation": "EastUS", + "resourceName": "testresource1", + "subscriptionId": "0d44739e-0563-474f-97e7-24a0cdb23b29", + "version": "0.2.18" + } } ] } } - } + }, + "operationId": "Addons_ListByRole", + "title": "RoleListAddOns" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/RolePut.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/RolePut.json index 4c1037de43f8..df5373263d9c 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/RolePut.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/RolePut.json @@ -1,85 +1,87 @@ { "parameters": { - "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", - "deviceName": "testedgedevice", "name": "IoTRole1", - "Content-Type": [ - "application/json; charset=utf-8" - ], "Content-Length": [ "200" ], - "x-ms-client-request-id": [ - "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + "Content-Type": [ + "application/json; charset=utf-8" ], "accept-language": [ "en-US" ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", "role": { "kind": "IOT", "properties": { "hostPlatform": "Linux", "ioTDeviceDetails": { - "deviceId": "iotdevice", - "ioTHostHub": "iothub.azure-devices.net", "authentication": { "symmetricKey": { "connectionString": { - "value": "Encrypted<>", + "encryptionAlgorithm": "AES256", "encryptionCertThumbprint": "348586569999244", - "encryptionAlgorithm": "AES256" + "value": "Encrypted<>" } } - } + }, + "deviceId": "iotdevice", + "ioTHostHub": "iothub.azure-devices.net" }, "ioTEdgeDeviceDetails": { - "deviceId": "iotEdge", - "ioTHostHub": "iothub.azure-devices.net", "authentication": { "symmetricKey": { "connectionString": { - "value": "Encrypted<>", + "encryptionAlgorithm": "AES256", "encryptionCertThumbprint": "1245475856069999244", - "encryptionAlgorithm": "AES256" + "value": "Encrypted<>" } } - } + }, + "deviceId": "iotEdge", + "ioTHostHub": "iothub.azure-devices.net" }, - "shareMappings": [], - "roleStatus": "Enabled" + "roleStatus": "Enabled", + "shareMappings": [] } - } + }, + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] }, "responses": { "200": { "body": { + "name": "IoTRole1", + "type": "dataBoxEdgeDevices/roles", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/roles/IoTRole1", "kind": "IOT", "properties": { "hostPlatform": "Linux", "ioTDeviceDetails": { - "deviceId": "iotdevice", - "ioTHostHub": "iothub.azure-devices.net", "authentication": { "symmetricKey": {} - } + }, + "deviceId": "iotdevice", + "ioTHostHub": "iothub.azure-devices.net" }, "ioTEdgeDeviceDetails": { - "deviceId": "iotEdge", - "ioTHostHub": "iothub.azure-devices.net", "authentication": { "symmetricKey": {} - } + }, + "deviceId": "iotEdge", + "ioTHostHub": "iothub.azure-devices.net" }, - "shareMappings": [], - "roleStatus": "Enabled" - }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/roles/IoTRole1", - "name": "IoTRole1", - "type": "dataBoxEdgeDevices/roles" + "roleStatus": "Enabled", + "shareMappings": [] + } } }, "202": {} - } + }, + "operationId": "Roles_CreateOrUpdate", + "title": "RolePut" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/SACDelete.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/SACDelete.json index 22df0cf597c6..94e467be41d9 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/SACDelete.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/SACDelete.json @@ -1,15 +1,15 @@ { "parameters": { + "name": "sac1", + "accept-language": [ + "en-US" + ], "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", "deviceName": "testedgedevice", - "name": "sac1", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", "x-ms-client-request-id": [ "a93b39a3-1ff4-42b8-a56f-43368d47e37a" - ], - "accept-language": [ - "en-US" ] }, "responses": { @@ -20,5 +20,7 @@ } }, "204": {} - } + }, + "operationId": "StorageAccountCredentials_Delete", + "title": "SACDelete" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/SACGet.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/SACGet.json index 8c4f13d80735..85618fcbf8fc 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/SACGet.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/SACGet.json @@ -1,30 +1,32 @@ { "parameters": { + "name": "sac1", + "accept-language": [ + "en-US" + ], "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", "deviceName": "testedgedevice", - "name": "sac1", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", "x-ms-client-request-id": [ "a93b39a3-1ff4-42b8-a56f-43368d47e37a" - ], - "accept-language": [ - "en-US" ] }, "responses": { "200": { "body": { + "name": "sac1", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/storageAccountCredentials", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccountCredentials/sac1", "properties": { + "accountType": "BlobStorage", "alias": "sac1", - "userName": "cisbvt", "sslStatus": "Disabled", - "accountType": "BlobStorage" - }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccountCredentials/sac1", - "name": "sac1", - "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/storageAccountCredentials" + "userName": "cisbvt" + } } } - } + }, + "operationId": "StorageAccountCredentials_Get", + "title": "SACGet" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/SACGetAllInDevice.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/SACGetAllInDevice.json index b119b181cf1b..e5eaa403b97e 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/SACGetAllInDevice.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/SACGetAllInDevice.json @@ -1,14 +1,14 @@ { "parameters": { + "accept-language": [ + "en-US" + ], "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", "x-ms-client-request-id": [ "a93b39a3-1ff4-42b8-a56f-43368d47e37a" - ], - "accept-language": [ - "en-US" ] }, "responses": { @@ -16,29 +16,31 @@ "body": { "value": [ { + "name": "sac1128180128323", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/storageAccountCredentials", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccountCredentials/sac1128180128323", "properties": { + "accountType": "GeneralPurposeStorage", "alias": "sac1128180128323", - "userName": "cisbvt", "sslStatus": "Disabled", - "accountType": "GeneralPurposeStorage" - }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccountCredentials/sac1128180128323", - "name": "sac1128180128323", - "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/storageAccountCredentials" + "userName": "cisbvt" + } }, { + "name": "sac1128180128312", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/storageAccountCredentials", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccountCredentials/sac1128180128312", "properties": { + "accountType": "BlobStorage", "alias": "sac1128180128312", - "userName": "cisbvt", "sslStatus": "Disabled", - "accountType": "BlobStorage" - }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccountCredentials/sac1128180128312", - "name": "sac1128180128312", - "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/storageAccountCredentials" + "userName": "cisbvt" + } } ] } } - } + }, + "operationId": "StorageAccountCredentials_ListByDataBoxEdgeDevice", + "title": "SACGetAllInDevice" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/SACPut.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/SACPut.json index 8b3504e23c6b..75c88f581ebe 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/SACPut.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/SACPut.json @@ -1,50 +1,52 @@ { "parameters": { - "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", - "deviceName": "testedgedevice", "name": "sac1", - "Content-Type": [ - "application/json; charset=utf-8" - ], "Content-Length": [ "200" ], - "x-ms-client-request-id": [ - "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + "Content-Type": [ + "application/json; charset=utf-8" ], "accept-language": [ "en-US" ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", "storageAccountCredential": { "properties": { - "alias": "sac1", - "userName": "cisbvt", "accountKey": { - "value": "lAeZEYi6rNP1/EyNaVUYmTSZEYyaIaWmwUsGwek0+xiZj54GM9Ue9/UA2ed/ClC03wuSit2XzM/cLRU5eYiFBwks23rGwiQOr3sruEL2a74EjPD050xYjA6M1I2hu/w2yjVHhn5j+DbXS4Xzi+rHHNZK3DgfDO3PkbECjPck+PbpSBjy9+6Mrjcld5DIZhUAeMlMHrFlg+WKRKB14o/og56u5/xX6WKlrMLEQ+y6E18dUwvWs2elTNoVO8PBE8SM/CfooX4AMNvaNdSObNBPdP+F6Lzc556nFNWXrBLRt0vC7s9qTiVRO4x/qCNaK/B4y7IqXMllwQFf4Np9UQ2ECA==", + "encryptionAlgorithm": "AES256", "encryptionCertThumbprint": "2A9D8D6BE51574B5461230AEF02F162C5F01AD31", - "encryptionAlgorithm": "AES256" + "value": "lAeZEYi6rNP1/EyNaVUYmTSZEYyaIaWmwUsGwek0+xiZj54GM9Ue9/UA2ed/ClC03wuSit2XzM/cLRU5eYiFBwks23rGwiQOr3sruEL2a74EjPD050xYjA6M1I2hu/w2yjVHhn5j+DbXS4Xzi+rHHNZK3DgfDO3PkbECjPck+PbpSBjy9+6Mrjcld5DIZhUAeMlMHrFlg+WKRKB14o/og56u5/xX6WKlrMLEQ+y6E18dUwvWs2elTNoVO8PBE8SM/CfooX4AMNvaNdSObNBPdP+F6Lzc556nFNWXrBLRt0vC7s9qTiVRO4x/qCNaK/B4y7IqXMllwQFf4Np9UQ2ECA==" }, + "accountType": "BlobStorage", + "alias": "sac1", "sslStatus": "Disabled", - "accountType": "BlobStorage" + "userName": "cisbvt" } - } + }, + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] }, "responses": { "200": { "body": { + "name": "sac1", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/storageAccountCredentials", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccountCredentials/sac1", "properties": { + "accountType": "BlobStorage", "alias": "sac1", - "userName": "cisbvt", "sslStatus": "Disabled", - "accountType": "BlobStorage" - }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccountCredentials/sac1", - "name": "sac1", - "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/storageAccountCredentials" + "userName": "cisbvt" + } } }, "202": {} - } + }, + "operationId": "StorageAccountCredentials_CreateOrUpdate", + "title": "SACPut" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/ScanForUpdatesPost.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/ScanForUpdatesPost.json index 9b1b00d91e52..a2ec7c0cac38 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/ScanForUpdatesPost.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/ScanForUpdatesPost.json @@ -1,20 +1,20 @@ { "parameters": { - "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", - "deviceName": "testedgedevice", - "Content-Type": [ - "application/json; charset=utf-8" - ], "Content-Length": [ "200" ], - "x-ms-client-request-id": [ - "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + "Content-Type": [ + "application/json; charset=utf-8" ], "accept-language": [ "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" ] }, "responses": { @@ -24,5 +24,7 @@ "location": "https://foo.com/BandwidthSchdeuleDelete" } } - } + }, + "operationId": "Devices_ScanForUpdates", + "title": "ScanForUpdatesPost" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/SecuritySettingsUpdatePost.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/SecuritySettingsUpdatePost.json index 45d81badceff..0cee2f569561 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/SecuritySettingsUpdatePost.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/SecuritySettingsUpdatePost.json @@ -1,30 +1,30 @@ { "parameters": { - "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "AzureVM", - "deviceName": "testedgedevice", - "Content-Type": [ - "application/json; charset=utf-8" - ], "Content-Length": [ "200" ], - "x-ms-client-request-id": [ - "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + "Content-Type": [ + "application/json; charset=utf-8" ], "accept-language": [ "en-US" ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "AzureVM", "securitySettings": { "properties": { "deviceAdminPassword": { - "value": "", "encryptionAlgorithm": "AES256", - "encryptionCertThumbprint": "" + "encryptionCertThumbprint": "", + "value": "" } } - } + }, + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] }, "responses": { "202": { @@ -33,5 +33,7 @@ } }, "204": {} - } + }, + "operationId": "Devices_CreateOrUpdateSecuritySettings", + "title": "CreateOrUpdateSecuritySettings" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/ShareDelete.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/ShareDelete.json index 7700053efcb0..666e4f865f84 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/ShareDelete.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/ShareDelete.json @@ -1,15 +1,15 @@ { "parameters": { + "name": "smbshare", + "accept-language": [ + "en-US" + ], "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", "deviceName": "testedgedevice", - "name": "smbshare", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", "x-ms-client-request-id": [ "a93b39a3-1ff4-42b8-a56f-43368d47e37a" - ], - "accept-language": [ - "en-US" ] }, "responses": { @@ -20,5 +20,7 @@ } }, "204": {} - } + }, + "operationId": "Shares_Delete", + "title": "ShareDelete" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/ShareGet.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/ShareGet.json index 7fab33f349e0..c44fe39000f5 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/ShareGet.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/ShareGet.json @@ -1,45 +1,47 @@ { "parameters": { + "name": "smbshare", + "accept-language": [ + "en-US" + ], "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", "deviceName": "testedgedevice", - "name": "smbshare", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", "x-ms-client-request-id": [ "a93b39a3-1ff4-42b8-a56f-43368d47e37a" - ], - "accept-language": [ - "en-US" ] }, "responses": { "200": { "body": { + "name": "smbshare", + "type": "dataBoxEdgeDevices/shares", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/shares/smbshare", "properties": { "description": "", - "shareStatus": "Online", - "monitoringStatus": "Disabled", + "accessProtocol": "SMB", "azureContainerInfo": { - "storageAccountCredentialId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccountCredentials/sac1", "containerName": "testContainerSMB", - "dataFormat": "BlockBlob" + "dataFormat": "BlockBlob", + "storageAccountCredentialId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccountCredentials/sac1" }, - "accessProtocol": "SMB", - "userAccessRights": [ - { - "userId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/users/user2", - "accessType": "Change" - } - ], "clientAccessRights": [], + "dataPolicy": "Cloud", + "monitoringStatus": "Disabled", "refreshDetails": {}, "shareMappings": [], - "dataPolicy": "Cloud" - }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/shares/smbshare", - "name": "smbshare", - "type": "dataBoxEdgeDevices/shares" + "shareStatus": "Online", + "userAccessRights": [ + { + "accessType": "Change", + "userId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/users/user2" + } + ] + } } } - } + }, + "operationId": "Shares_Get", + "title": "ShareGet" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/ShareGetAllInDevice.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/ShareGetAllInDevice.json index a66e2bf1e147..14613ea2728c 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/ShareGetAllInDevice.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/ShareGetAllInDevice.json @@ -1,14 +1,14 @@ { "parameters": { + "accept-language": [ + "en-US" + ], "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", "x-ms-client-request-id": [ "a93b39a3-1ff4-42b8-a56f-43368d47e37a" - ], - "accept-language": [ - "en-US" ] }, "responses": { @@ -16,33 +16,35 @@ "body": { "value": [ { + "name": "smbshare", + "type": "dataBoxEdgeDevices/shares", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/shares/smbshare", "properties": { "description": "", - "shareStatus": "Online", - "monitoringStatus": "Disabled", + "accessProtocol": "SMB", "azureContainerInfo": { - "storageAccountCredentialId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccountCredentials/sac1", "containerName": "testContainerSMB", - "dataFormat": "BlockBlob" + "dataFormat": "BlockBlob", + "storageAccountCredentialId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccountCredentials/sac1" }, - "accessProtocol": "SMB", - "userAccessRights": [ - { - "userId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/users/user2", - "accessType": "Change" - } - ], "clientAccessRights": [], + "dataPolicy": "Cloud", + "monitoringStatus": "Disabled", "refreshDetails": {}, "shareMappings": [], - "dataPolicy": "Cloud" - }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/shares/smbshare", - "name": "smbshare", - "type": "dataBoxEdgeDevices/shares" + "shareStatus": "Online", + "userAccessRights": [ + { + "accessType": "Change", + "userId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/users/user2" + } + ] + } } ] } } - } + }, + "operationId": "Shares_ListByDataBoxEdgeDevice", + "title": "ShareGetAllInDevice" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/SharePut.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/SharePut.json index a767101adeff..7068f80460d1 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/SharePut.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/SharePut.json @@ -1,72 +1,74 @@ { "parameters": { - "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", - "deviceName": "testedgedevice", "name": "smbshare", - "Content-Type": [ - "application/json; charset=utf-8" - ], "Content-Length": [ "200" ], - "x-ms-client-request-id": [ - "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + "Content-Type": [ + "application/json; charset=utf-8" ], "accept-language": [ "en-US" ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", "share": { "properties": { "description": "", - "shareStatus": "Online", - "monitoringStatus": "Enabled", + "accessProtocol": "SMB", "azureContainerInfo": { - "storageAccountCredentialId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccountCredentials/sac1", "containerName": "testContainerSMB", - "dataFormat": "BlockBlob" + "dataFormat": "BlockBlob", + "storageAccountCredentialId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccountCredentials/sac1" }, - "accessProtocol": "SMB", + "dataPolicy": "Cloud", + "monitoringStatus": "Enabled", + "shareStatus": "Online", "userAccessRights": [ { - "userId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/users/user2", - "accessType": "Change" + "accessType": "Change", + "userId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/users/user2" } - ], - "dataPolicy": "Cloud" + ] } - } + }, + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] }, "responses": { "200": { "body": { + "name": "smbshare", + "type": "dataBoxEdgeDevices/shares", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/shares/smbshare", "properties": { "description": "", - "shareStatus": "Online", - "monitoringStatus": "Disabled", + "accessProtocol": "SMB", "azureContainerInfo": { - "storageAccountCredentialId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccountCredentials/sac1", "containerName": "testContainerSMB", - "dataFormat": "BlockBlob" + "dataFormat": "BlockBlob", + "storageAccountCredentialId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccountCredentials/sac1" }, - "accessProtocol": "SMB", - "userAccessRights": [ - { - "userId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/users/user2", - "accessType": "Change" - } - ], "clientAccessRights": [], + "dataPolicy": "Cloud", + "monitoringStatus": "Disabled", "refreshDetails": {}, "shareMappings": [], - "dataPolicy": "Cloud" - }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/shares/smbshare", - "name": "smbshare", - "type": "dataBoxEdgeDevices/shares" + "shareStatus": "Online", + "userAccessRights": [ + { + "accessType": "Change", + "userId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/users/user2" + } + ] + } } }, "202": {} - } + }, + "operationId": "Shares_CreateOrUpdate", + "title": "SharePut" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/ShareRefreshPost.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/ShareRefreshPost.json index 76bcaa619626..4e1bf0d7514d 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/ShareRefreshPost.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/ShareRefreshPost.json @@ -1,21 +1,21 @@ { "parameters": { - "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", - "deviceName": "testedgedevice", "name": "smbshare", - "Content-Type": [ - "application/json; charset=utf-8" - ], "Content-Length": [ "200" ], - "x-ms-client-request-id": [ - "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + "Content-Type": [ + "application/json; charset=utf-8" ], "accept-language": [ "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" ] }, "responses": { @@ -25,5 +25,7 @@ "location": "https://foo.com/ShareRefreshPost" } } - } + }, + "operationId": "Shares_Refresh", + "title": "ShareRefreshPost" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/StorageAccountDelete.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/StorageAccountDelete.json index c655102c1fae..d3bdc2b2f3df 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/StorageAccountDelete.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/StorageAccountDelete.json @@ -1,15 +1,15 @@ { "parameters": { + "accept-language": [ + "en-US" + ], "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", "storageAccountName": "storageaccount1", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", "x-ms-client-request-id": [ "a93b39a3-1ff4-42b8-a56f-43368d47e37a" - ], - "accept-language": [ - "en-US" ] }, "responses": { @@ -19,5 +19,7 @@ } }, "204": {} - } + }, + "operationId": "StorageAccounts_Delete", + "title": "StorageAccountDelete" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/StorageAccountGet.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/StorageAccountGet.json index aa1726734405..54f8bd8d9d3b 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/StorageAccountGet.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/StorageAccountGet.json @@ -1,29 +1,31 @@ { "parameters": { + "accept-language": [ + "en-US" + ], "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", "storageAccountName": "blobstorageaccount1", - "accept-language": [ - "en-US" - ] + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce" }, "responses": { "200": { "body": { + "name": "blobstorageaccount1", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/storageAccounts", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForDataBoxEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccounts/blobstorageaccount1", "properties": { "description": "It's an awesome storage account", - "storageAccountStatus": "OK", + "blobEndpoint": "https://blobstorageaccount1.blob.testedge.microsoftdatabox.com/", + "containerCount": 0, "dataPolicy": "Cloud", "storageAccountCredentialId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForDataBoxEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccountCredentials/cisbvt", - "blobEndpoint": "https://blobstorageaccount1.blob.testedge.microsoftdatabox.com/", - "containerCount": 0 - }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForDataBoxEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccounts/blobstorageaccount1", - "name": "blobstorageaccount1", - "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/storageAccounts" + "storageAccountStatus": "OK" + } } } - } + }, + "operationId": "StorageAccounts_Get", + "title": "StorageAccountGet" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/StorageAccountGetAllInDevice.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/StorageAccountGetAllInDevice.json index e9f91fe8a24c..e4f6de5450f0 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/StorageAccountGetAllInDevice.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/StorageAccountGetAllInDevice.json @@ -1,14 +1,14 @@ { "parameters": { + "accept-language": [ + "en-US" + ], "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", "x-ms-client-request-id": [ "a93b39a3-1ff4-42b8-a56f-43368d47e37a" - ], - "accept-language": [ - "en-US" ] }, "responses": { @@ -16,20 +16,22 @@ "body": { "value": [ { + "name": "blobstorageaccount1", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/storageAccounts", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForDataBoxEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccounts/blobstorageaccount1", "properties": { "description": "It's an awesome storage account", - "storageAccountStatus": "OK", + "blobEndpoint": "https://blobstorageaccount1.blob.testedge.microsoftdatabox.com/", + "containerCount": 0, "dataPolicy": "Cloud", "storageAccountCredentialId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForDataBoxEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccountCredentials/cisbvt", - "blobEndpoint": "https://blobstorageaccount1.blob.testedge.microsoftdatabox.com/", - "containerCount": 0 - }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForDataBoxEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccounts/blobstorageaccount1", - "name": "blobstorageaccount1", - "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/storageAccounts" + "storageAccountStatus": "OK" + } } ] } } - } + }, + "operationId": "StorageAccounts_ListByDataBoxEdgeDevice", + "title": "StorageAccountGetAllInDevice" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/StorageAccountPut.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/StorageAccountPut.json index de51854024ef..c7761490f2d3 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/StorageAccountPut.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/StorageAccountPut.json @@ -1,47 +1,49 @@ { "parameters": { - "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", - "deviceName": "testedgedevice", - "storageAccountName": "blobstorageaccount1", - "Content-Type": [ - "application/json; charset=utf-8" - ], "Content-Length": [ "200" ], - "x-ms-client-request-id": [ - "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + "Content-Type": [ + "application/json; charset=utf-8" ], "accept-language": [ "en-US" ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", "storageAccount": { "properties": { "description": "It's an awesome storage account", - "storageAccountStatus": "OK", "dataPolicy": "Cloud", - "storageAccountCredentialId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForDataBoxEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccountCredentials/cisbvt" + "storageAccountCredentialId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForDataBoxEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccountCredentials/cisbvt", + "storageAccountStatus": "OK" } - } + }, + "storageAccountName": "blobstorageaccount1", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] }, "responses": { "200": { "body": { + "name": "blobstorageaccount1", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/storageAccounts", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForDataBoxEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccounts/blobstorageaccount1", "properties": { "description": "It's an awesome storage account", - "storageAccountStatus": "OK", + "blobEndpoint": "https://blobstorageaccount1.blob.testedge.microsoftdatabox.com/", + "containerCount": 0, "dataPolicy": "Cloud", "storageAccountCredentialId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForDataBoxEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccountCredentials/cisbvt", - "blobEndpoint": "https://blobstorageaccount1.blob.testedge.microsoftdatabox.com/", - "containerCount": 0 - }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForDataBoxEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccounts/blobstorageaccount1", - "name": "blobstorageaccount1", - "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/storageAccounts" + "storageAccountStatus": "OK" + } } }, "202": {} - } + }, + "operationId": "StorageAccounts_CreateOrUpdate", + "title": "StorageAccountPut" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/TriggerDelete.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/TriggerDelete.json index 4031c3137ab2..4503405ed630 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/TriggerDelete.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/TriggerDelete.json @@ -1,15 +1,15 @@ { "parameters": { + "name": "trigger1", + "accept-language": [ + "en-US" + ], "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", "deviceName": "testedgedevice", - "name": "trigger1", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", "x-ms-client-request-id": [ "a93b39a3-1ff4-42b8-a56f-43368d47e37a" - ], - "accept-language": [ - "en-US" ] }, "responses": { @@ -20,5 +20,7 @@ } }, "204": {} - } + }, + "operationId": "Triggers_Delete", + "title": "TriggerDelete" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/TriggerGet.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/TriggerGet.json index b1aa2740dd62..d9d792add39c 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/TriggerGet.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/TriggerGet.json @@ -1,34 +1,36 @@ { "parameters": { + "name": "trigger1", + "accept-language": [ + "en-US" + ], "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", "deviceName": "testedgedevice", - "name": "trigger1", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", "x-ms-client-request-id": [ "a93b39a3-1ff4-42b8-a56f-43368d47e37a" - ], - "accept-language": [ - "en-US" ] }, "responses": { "200": { "body": { + "name": "trigger1", + "type": "dataBoxEdgeDevices/triggers", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/triggers/trigger1", + "kind": "FileEvent", "properties": { "customContextTag": "CustomContextTags-1235346475", - "sourceInfo": { - "shareId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/shares/share1" - }, "sinkInfo": { "roleId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/roles/role1" + }, + "sourceInfo": { + "shareId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/shares/share1" } - }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/triggers/trigger1", - "name": "trigger1", - "type": "dataBoxEdgeDevices/triggers", - "kind": "FileEvent" + } } } - } + }, + "operationId": "Triggers_Get", + "title": "TriggerGet" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/TriggerGetAllInDevice.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/TriggerGetAllInDevice.json index 49547dd50790..ef9dc386b520 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/TriggerGetAllInDevice.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/TriggerGetAllInDevice.json @@ -1,14 +1,14 @@ { "parameters": { + "accept-language": [ + "en-US" + ], "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", "x-ms-client-request-id": [ "a93b39a3-1ff4-42b8-a56f-43368d47e37a" - ], - "accept-language": [ - "en-US" ] }, "responses": { @@ -16,22 +16,24 @@ "body": { "value": [ { + "name": "trigger1", + "type": "dataBoxEdgeDevices/triggers", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/triggers/trigger1", + "kind": "FileEvent", "properties": { "customContextTag": "CustomContextTags-1235346475", - "sourceInfo": { - "shareId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/shares/share1" - }, "sinkInfo": { "roleId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/roles/role1" + }, + "sourceInfo": { + "shareId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/shares/share1" } - }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/triggers/trigger1", - "name": "trigger1", - "type": "dataBoxEdgeDevices/triggers", - "kind": "FileEvent" + } } ] } } - } + }, + "operationId": "Triggers_ListByDataBoxEdgeDevice", + "title": "TriggerGetAllInDevice" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/TriggerPut.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/TriggerPut.json index 9f501b1f88d4..968dcf8c2eff 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/TriggerPut.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/TriggerPut.json @@ -1,53 +1,55 @@ { "parameters": { - "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", - "deviceName": "testedgedevice", "name": "trigger1", - "Content-Type": [ - "application/json; charset=utf-8" - ], "Content-Length": [ "200" ], - "x-ms-client-request-id": [ - "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + "Content-Type": [ + "application/json; charset=utf-8" ], "accept-language": [ "en-US" ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", "trigger": { + "kind": "FileEvent", "properties": { "customContextTag": "CustomContextTags-1235346475", - "sourceInfo": { - "shareId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/shares/share1" - }, "sinkInfo": { "roleId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/roles/role1" + }, + "sourceInfo": { + "shareId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/shares/share1" } - }, - "kind": "FileEvent" - } + } + }, + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] }, "responses": { "200": { "body": { + "name": "trigger1", + "type": "dataBoxEdgeDevices/triggers", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/triggers/trigger1", + "kind": "FileEvent", "properties": { "customContextTag": "CustomContextTags-1235346475", - "sourceInfo": { - "shareId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/shares/share1" - }, "sinkInfo": { "roleId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/roles/role1" + }, + "sourceInfo": { + "shareId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/shares/share1" } - }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/triggers/trigger1", - "name": "trigger1", - "type": "dataBoxEdgeDevices/triggers", - "kind": "FileEvent" + } } }, "202": {} - } + }, + "operationId": "Triggers_CreateOrUpdate", + "title": "TriggerPut" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/TriggerSupportPackage.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/TriggerSupportPackage.json index 6534772a9e3e..6ee5db6d3aff 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/TriggerSupportPackage.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/TriggerSupportPackage.json @@ -1,23 +1,23 @@ { "parameters": { - "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", - "deviceName": "testedgedevice", "name": "159a00c7-8543-4343-9435-263ac87df3bb", - "x-ms-client-request-id": [ - "a93b39a3-1ff4-42b8-a56f-43368d47e37a" - ], "accept-language": [ "en-US" ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", "triggerSupportPackageRequest": { "properties": { - "minimumTimeStamp": "2018-12-18T02:18:51.4270267Z", + "include": "DefaultWithDumps", "maximumTimeStamp": "2018-12-18T02:19:51.4270267Z", - "include": "DefaultWithDumps" + "minimumTimeStamp": "2018-12-18T02:18:51.4270267Z" } - } + }, + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] }, "responses": { "200": {}, @@ -26,5 +26,7 @@ "location": "https://foo.com/TriggerSupportPackage" } } - } + }, + "operationId": "SupportPackages_TriggerSupportPackage", + "title": "TriggerSupportPackage" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/UpdateDiagnosticProactiveLogCollectionSettings.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/UpdateDiagnosticProactiveLogCollectionSettings.json index 4838ce203419..78b4e6808e84 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/UpdateDiagnosticProactiveLogCollectionSettings.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/UpdateDiagnosticProactiveLogCollectionSettings.json @@ -1,33 +1,35 @@ { "parameters": { - "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", - "deviceName": "testedgedevice", "name": "159a00c7-8543-4343-9435-263ac87df3bb", - "x-ms-client-request-id": [ - "a93b39a3-1ff4-42b8-a56f-43368d47e37a" - ], "accept-language": [ "en-US" ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", "proactiveLogCollectionSettings": { "properties": { "userConsent": "Enabled" } - } + }, + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] }, "responses": { - "202": {}, "200": { "body": { + "name": "default", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/diagnosticSettings", + "id": "/subscriptions/0d44739e-0563-474f-97e7-24a0cdb23b29/resourceGroups/GroupForDataBoxEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/dbe-autobot-5428209/diagnosticProactiveLogCollectionSettings/default", "properties": { "userConsent": "Disabled" - }, - "id": "/subscriptions/0d44739e-0563-474f-97e7-24a0cdb23b29/resourceGroups/GroupForDataBoxEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/dbe-autobot-5428209/diagnosticProactiveLogCollectionSettings/default", - "name": "default", - "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/diagnosticSettings" + } } - } - } + }, + "202": {} + }, + "operationId": "DiagnosticSettings_UpdateDiagnosticProactiveLogCollectionSettings", + "title": "UpdateDiagnosticProactiveLogCollectionSettings" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/UpdateDiagnosticRemoteSupportSettings.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/UpdateDiagnosticRemoteSupportSettings.json index 1d95bdd771ed..ff3ce35e00a5 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/UpdateDiagnosticRemoteSupportSettings.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/UpdateDiagnosticRemoteSupportSettings.json @@ -1,16 +1,11 @@ { "parameters": { - "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", - "deviceName": "testedgedevice", "name": "159a00c7-8543-4343-9435-263ac87df3bb", - "x-ms-client-request-id": [ - "a93b39a3-1ff4-42b8-a56f-43368d47e37a" - ], "accept-language": [ "en-US" ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", "diagnosticRemoteSupportSettings": { "properties": { "remoteSupportSettingsList": [ @@ -21,25 +16,32 @@ } ] } - } + }, + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] }, "responses": { - "202": {}, "200": { "body": { + "name": "default", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/diagnosticSettings", + "id": "/subscriptions/0d44739e-0563-474f-97e7-24a0cdb23b29/resourceGroups/GroupForDataBoxEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/dbe-autobot-154c8a4/diagnosticRemoteSupportSettings/default", "properties": { "remoteSupportSettingsList": [ { - "remoteApplicationType": "Powershell", "accessLevel": "ReadWrite", - "expirationTimeStampInUTC": "2500-09-14T00:00:00+00:00" + "expirationTimeStampInUTC": "2500-09-14T00:00:00+00:00", + "remoteApplicationType": "Powershell" } ] - }, - "id": "/subscriptions/0d44739e-0563-474f-97e7-24a0cdb23b29/resourceGroups/GroupForDataBoxEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/dbe-autobot-154c8a4/diagnosticRemoteSupportSettings/default", - "name": "default", - "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/diagnosticSettings" + } } - } - } + }, + "202": {} + }, + "operationId": "DiagnosticSettings_UpdateDiagnosticRemoteSupportSettings", + "title": "UpdateDiagnosticRemoteSupportSettings" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/UpdateSummaryGet.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/UpdateSummaryGet.json index 1910da5cca95..b5d391b61270 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/UpdateSummaryGet.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/UpdateSummaryGet.json @@ -1,45 +1,47 @@ { "parameters": { - "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", - "deviceName": "testedgedevice", - "x-ms-client-request-id": [ - "a93b39a3-1ff4-42b8-a56f-43368d47e37a" - ], "accept-language": [ "en-US" ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", "parameters": { "properties": { "certificate": "MIIC9DCCAdygAwIBAgIQWJae7GNjiI9Mcv/gJyrOPTANBgkqhkiG9w0BAQUFADASMRAwDgYDVQQDDAdXaW5kb3dzMB4XDTE4MTEyNzAwMTA0NVoXDTIxMTEyODAwMTA0NVowEjEQMA4GA1UEAwwHV2luZG93czCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKxkRExqxf0qH1avnyORptIbRC2yQwqe3EIbJ2FPKr5jtAppGeX/dGKrFSnX+7/0HFr77aJHafdpEAtOiLyJ4zCAVs0obZCCIq4qJdmjYUTU0UXH/w/YzXfQA0d9Zh9AN+NJBX9xj05NzgsT24fkgsK2v6mWJQXT7YcWAsl5sEYPnx1e+MrupNyVSL/RUJmrS+etJSysHtFeWRhsUhVAs1DD5ExJvBLU3WH0IsojEvpXcjrutB5/MDQNrd/StGI6WovoSSPH7FyT9tgERx+q+Yg3YUGzfaIPCctlrRGehcdtzdNoKd0rsX62yCq0U6POoSfwe22NJu41oAUMd7e6R8cCAwEAAaNGMEQwEwYDVR0lBAwwCgYIKwYBBQUHAwIwHQYDVR0OBBYEFDd0VxnS3LnMIfwc7xW4b4IZWG5GMA4GA1UdDwEB/wQEAwIFIDANBgkqhkiG9w0BAQUFAAOCAQEAPQRby2u9celvtvL/DLEb5Vt3/tPStRQC5MyTD62L5RT/q8E6EMCXVZNkXF5WlWucLJi/18tY+9PNgP9xWLJh7kpSWlWdi9KPtwMqKDlEH8L2TnQdjimt9XuiCrTnoFy/1X2BGLY/rCaUJNSd15QCkz2xeW+Z+YSk2GwAc/A/4YfNpqSIMfNuPrT76o02VdD9WmJUA3fS/HY0sU9qgQRS/3F5/0EPS+HYQ0SvXCK9tggcCd4O050ytNBMJC9qMOJ7yE0iOrFfOJSCfDAuPhn/rHFh79Kn1moF+/CE+nc0/2RPiLC8r54/rt5dYyyxJDfXg0a3VrrX39W69WZGW5OXiw==" } - } + }, + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] }, "responses": { "200": { "body": { + "name": "default", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/updateSummary", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/updateSummary/default", "properties": { + "deviceLastScannedDateTime": "2021-03-17T19:51:51.7864634Z", "deviceVersionNumber": "2.1.1377.2170", "friendlyDeviceVersionName": "Azure Stack Edge 2010", - "deviceLastScannedDateTime": "2021-03-17T19:51:51.7864634Z", "lastCompletedScanJobDateTime": "2021-03-17T19:47:46.1595547Z", "lastDownloadJobStatus": "Invalid", "lastInstallJobStatus": "Invalid", + "ongoingUpdateOperation": "Install", + "rebootBehavior": "NeverReboots", "totalNumberOfUpdatesAvailable": 1, "totalNumberOfUpdatesPendingDownload": 1, "totalNumberOfUpdatesPendingInstall": 1, - "rebootBehavior": "NeverReboots", - "ongoingUpdateOperation": "Install", + "totalUpdateSizeInBytes": 4260898192, "updateTitles": [ "Azure Stack Edge Update 2101 Package 1 of 2 for Pro-GPU, Pro R, Mini R" - ], - "totalUpdateSizeInBytes": 4260898192.0 - }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/updateSummary/default", - "name": "default", - "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/updateSummary" + ] + } } } - } + }, + "operationId": "Devices_GetUpdateSummary", + "title": "UpdateSummaryGet" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/UploadCertificatePost.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/UploadCertificatePost.json index 516d9f36fa4d..b05bf4f4b13f 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/UploadCertificatePost.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/UploadCertificatePost.json @@ -1,38 +1,40 @@ { "parameters": { - "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", - "deviceName": "testedgedevice", - "Content-Type": [ - "application/json; charset=utf-8" - ], "Content-Length": [ "200" ], - "x-ms-client-request-id": [ - "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + "Content-Type": [ + "application/json; charset=utf-8" ], "accept-language": [ "en-US" ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", "parameters": { "properties": { "certificate": "MIIC9DCCAdygAwIBAgIQWJae7GNjiI9Mcv/gJyrOPTANBgkqhkiG9w0BAQUFADASMRAwDgYDVQQDDAdXaW5kb3dzMB4XDTE4MTEyNzAwMTA0NVoXDTIxMTEyODAwMTA0NVowEjEQMA4GA1UEAwwHV2luZG93czCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKxkRExqxf0qH1avnyORptIbRC2yQwqe3EIbJ2FPKr5jtAppGeX/dGKrFSnX+7/0HFr77aJHafdpEAtOiLyJ4zCAVs0obZCCIq4qJdmjYUTU0UXH/w/YzXfQA0d9Zh9AN+NJBX9xj05NzgsT24fkgsK2v6mWJQXT7YcWAsl5sEYPnx1e+MrupNyVSL/RUJmrS+etJSysHtFeWRhsUhVAs1DD5ExJvBLU3WH0IsojEvpXcjrutB5/MDQNrd/StGI6WovoSSPH7FyT9tgERx+q+Yg3YUGzfaIPCctlrRGehcdtzdNoKd0rsX62yCq0U6POoSfwe22NJu41oAUMd7e6R8cCAwEAAaNGMEQwEwYDVR0lBAwwCgYIKwYBBQUHAwIwHQYDVR0OBBYEFDd0VxnS3LnMIfwc7xW4b4IZWG5GMA4GA1UdDwEB/wQEAwIFIDANBgkqhkiG9w0BAQUFAAOCAQEAPQRby2u9celvtvL/DLEb5Vt3/tPStRQC5MyTD62L5RT/q8E6EMCXVZNkXF5WlWucLJi/18tY+9PNgP9xWLJh7kpSWlWdi9KPtwMqKDlEH8L2TnQdjimt9XuiCrTnoFy/1X2BGLY/rCaUJNSd15QCkz2xeW+Z+YSk2GwAc/A/4YfNpqSIMfNuPrT76o02VdD9WmJUA3fS/HY0sU9qgQRS/3F5/0EPS+HYQ0SvXCK9tggcCd4O050ytNBMJC9qMOJ7yE0iOrFfOJSCfDAuPhn/rHFh79Kn1moF+/CE+nc0/2RPiLC8r54/rt5dYyyxJDfXg0a3VrrX39W69WZGW5OXiw==" } - } + }, + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] }, "responses": { "200": { "body": { - "authType": "AzureActiveDirectory", - "resourceId": "392799901267771", "aadAuthority": "https://login.windows.net", "aadTenantId": "100b019d-4626-4a9e-a83c-9cff8fe41909", + "authType": "AzureActiveDirectory", + "azureManagementEndpointAudience": "https://wus-bvtgateway.ext.trafficmanager.net/", + "resourceId": "392799901267771", "servicePrincipalClientId": "ffd8a688-82b1-4e5a-a4c1-7ede8c928e68", - "servicePrincipalObjectId": "cef6d40c-24e6-4a6f-bb9e-3ec60b4adec4", - "azureManagementEndpointAudience": "https://wus-bvtgateway.ext.trafficmanager.net/" + "servicePrincipalObjectId": "cef6d40c-24e6-4a6f-bb9e-3ec60b4adec4" } } - } + }, + "operationId": "Devices_UploadCertificate", + "title": "UploadCertificatePost" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/UserDelete.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/UserDelete.json index 49fb4e7a9f7b..6acef61f0f8e 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/UserDelete.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/UserDelete.json @@ -1,21 +1,21 @@ { "parameters": { - "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", - "deviceName": "testedgedevice", "name": "user1", - "Content-Type": [ - "application/json; charset=utf-8" - ], "Content-Length": [ "200" ], - "x-ms-client-request-id": [ - "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + "Content-Type": [ + "application/json; charset=utf-8" ], "accept-language": [ "en-US" + ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" ] }, "responses": { @@ -26,5 +26,7 @@ } }, "204": {} - } + }, + "operationId": "Users_Delete", + "title": "UserDelete" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/UserGet.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/UserGet.json index c8032c68ac55..5f5254efb6de 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/UserGet.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/UserGet.json @@ -1,28 +1,30 @@ { "parameters": { + "name": "user1", + "accept-language": [ + "en-US" + ], "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", "deviceName": "testedgedevice", - "name": "user1", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", "x-ms-client-request-id": [ "a93b39a3-1ff4-42b8-a56f-43368d47e37a" - ], - "accept-language": [ - "en-US" ] }, "responses": { "200": { + "202": {}, "body": { + "name": "user1", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/users", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/users/user1", "properties": { "userType": "Share" - }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/users/user1", - "name": "user1", - "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/users" - }, - "202": {} + } + } } - } + }, + "operationId": "Users_Get", + "title": "UserGet" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/UserGetAllInDevice.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/UserGetAllInDevice.json index 7363eaa1c297..b3032471d4c3 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/UserGetAllInDevice.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/UserGetAllInDevice.json @@ -1,14 +1,14 @@ { "parameters": { + "accept-language": [ + "en-US" + ], "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", "x-ms-client-request-id": [ "a93b39a3-1ff4-42b8-a56f-43368d47e37a" - ], - "accept-language": [ - "en-US" ] }, "responses": { @@ -16,23 +16,25 @@ "body": { "value": [ { + "name": "user2", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/users", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/users/user2", "properties": { "userType": "Share" - }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/users/user2", - "name": "user2", - "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/users" + } }, { + "name": "user1", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/users", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/users/user1", "properties": { "userType": "Share" - }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/users/user1", - "name": "user1", - "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/users" + } } ] } } - } + }, + "operationId": "Users_ListByDataBoxEdgeDevice", + "title": "UserGetAllInDevice" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/UserPut.json b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/UserPut.json index 28ab157f662f..084d0aa12d2c 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/UserPut.json +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/stable/2023-12-01/examples/UserPut.json @@ -1,44 +1,46 @@ { "parameters": { - "api-version": "2023-12-01", - "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", - "resourceGroupName": "GroupForEdgeAutomation", - "deviceName": "testedgedevice", "name": "user1", - "Content-Type": [ - "application/json; charset=utf-8" - ], "Content-Length": [ "200" ], - "x-ms-client-request-id": [ - "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + "Content-Type": [ + "application/json; charset=utf-8" ], "accept-language": [ "en-US" ], + "api-version": "2023-12-01", + "deviceName": "testedgedevice", + "resourceGroupName": "GroupForEdgeAutomation", + "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce", "user": { "properties": { "encryptedPassword": { - "value": "", "encryptionAlgorithm": "None", - "encryptionCertThumbprint": "blah" + "encryptionCertThumbprint": "blah", + "value": "" }, "userType": "Share" } - } + }, + "x-ms-client-request-id": [ + "a93b39a3-1ff4-42b8-a56f-43368d47e37a" + ] }, "responses": { "200": { "body": { + "name": "user1", + "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/users", + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/users/user1", "properties": { "userType": "Share" - }, - "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/users/user1", - "name": "user1", - "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/users" + } } }, "202": {} - } + }, + "operationId": "Users_CreateOrUpdate", + "title": "UserPut" } diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/suppressions.yaml b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/suppressions.yaml index 6bb87fbad61d..1d6b9ee995c5 100644 --- a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/suppressions.yaml +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/suppressions.yaml @@ -49,7 +49,4 @@ reason: Brownfield service not ready to migrate - tool: TypeSpecRequirement path: ./stable/2023-07-01/*.json - reason: Brownfield service not ready to migrate -- tool: TypeSpecRequirement - path: ./stable/2023-12-01/*.json reason: Brownfield service not ready to migrate \ No newline at end of file diff --git a/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/tspconfig.yaml b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/tspconfig.yaml new file mode 100644 index 000000000000..a6c4ad51f866 --- /dev/null +++ b/specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/DataBoxEdge/tspconfig.yaml @@ -0,0 +1,45 @@ +parameters: + "service-dir": + default: "sdk/databoxedge" +emit: + - "@azure-tools/typespec-autorest" +options: + "@azure-tools/typespec-autorest": + omit-unreachable-types: true + emitter-output-dir: "{project-root}" + azure-resource-provider-folder: "resource-manager" + output-file: "{version-status}/{version}/databoxedge.json" + arm-types-dir: "{project-root}/../../../../common-types/resource-management" + emit-lro-options: "all" + examples-dir: "{project-root}/examples" + "@azure-tools/typespec-python": + emitter-output-dir: "{output-dir}/{service-dir}/azure-mgmt-databoxedge" + namespace: "azure.mgmt.databoxedge" + generate-test: true + generate-sample: true + flavor: "azure" + "@azure-tools/typespec-java": + emitter-output-dir: "{output-dir}/{service-dir}/azure-resourcemanager-databoxedge" + namespace: "com.azure.resourcemanager.databoxedge" + service-name: "DataBoxEdge" # human-readable service name, whitespace allowed + flavor: azure + "@azure-tools/typespec-ts": + emitter-output-dir: "{output-dir}/{service-dir}/arm-databoxedge" + is-modular-library: true + flavor: "azure" + experimental-extensible-enums: true + package-details: + name: "@azure/arm-databoxedge" + "@azure-tools/typespec-go": + service-dir: "sdk/resourcemanager/databoxedge" + emitter-output-dir: "{output-dir}/{service-dir}/armdataboxedge" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armdataboxedge" + fix-const-stuttering: false + flavor: "azure" + generate-samples: true + generate-fakes: true + head-as-boolean: true + inject-spans: true +linter: + extends: + - "@azure-tools/typespec-azure-rulesets/resource-manager" diff --git a/specification/databricks/resource-manager/Microsoft.Databricks/Databricks/preview/2025-10-01-preview/databricks.json b/specification/databricks/resource-manager/Microsoft.Databricks/Databricks/preview/2025-10-01-preview/databricks.json index 1737810fa85f..8907ec3b17a5 100644 --- a/specification/databricks/resource-manager/Microsoft.Databricks/Databricks/preview/2025-10-01-preview/databricks.json +++ b/specification/databricks/resource-manager/Microsoft.Databricks/Databricks/preview/2025-10-01-preview/databricks.json @@ -1169,26 +1169,8 @@ } }, "ComplianceStandardDefinition": { - "description": "Compliance standard that can be associated with a workspace. This is an extensible enum that supports custom compliance standards. For more information, see https://learn.microsoft.com/en-us/azure/databricks/security/privacy/security-profile", "type": "string", - "enum": [ - "NONE", - "HIPAA", - "PCI_DSS", - "CYBER_ESSENTIAL_PLUS", - "FEDRAMP_HIGH", - "CANADA_PROTECTED_B", - "IRAP_PROTECTED", - "ISMAP", - "HITRUST", - "K_FSI", - "GERMANY_C5", - "GERMANY_TISAX" - ], - "x-ms-enum": { - "modelAsString": true, - "name": "ComplianceStandard" - } + "description": "Compliance standard that can be associated with a workspace. For more information regarding available compliance standard, please visit https://learn.microsoft.com/en-us/azure/databricks/security/privacy/security-profile" }, "WorkspaceCustomParameterType": { "description": "The workspace's custom parameters.", diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/entityTypes/LinkedService.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/entityTypes/LinkedService.json index da3b833c9388..7d8819e8f598 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/entityTypes/LinkedService.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/entityTypes/LinkedService.json @@ -7262,6 +7262,38 @@ "type": "object", "x-ms-format": "dfe-string" }, + "server": { + "type": "object", + "x-ms-format": "dfe-string", + "description": "Server name for connection. Type: string." + }, + "port": { + "type": "object", + "x-ms-format": "dfe-int", + "description": "The port for the connection. Type: integer." + }, + "uid": { + "type": "object", + "x-ms-format": "dfe-string", + "description": "Username for authentication. Type: string." + }, + "database": { + "type": "object", + "x-ms-format": "dfe-string", + "description": "Database name for connection. Type: string." + }, + "securityLevel": { + "description": "Specifies the security level for the driver connection to the data store. PreferredUnSecured : prefer unsecured, allow fallback to secured connection if required. OnlyUnSecured : strictly unsecured, no fallback.", + "type": "string", + "enum": [ + "PreferredUnSecured", + "OnlyUnSecured" + ], + "x-ms-enum": { + "name": "NetezzaSecurityLevelType", + "modelAsString": true + } + }, "pwd": { "$ref": "../datafactory.json#/definitions/AzureKeyVaultSecretReference", "description": "The Azure key vault secret reference of password in connection string." diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/NetezzaLinkedService_Get.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/NetezzaLinkedService_Get.json new file mode 100644 index 000000000000..99446587c49b --- /dev/null +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/NetezzaLinkedService_Get.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-12345678abc", + "resourceGroupName": "exampleResourceGroup", + "factoryName": "exampleFactoryName", + "linkedServiceName": "exampleLinkedService", + "ifNoneMatch": "1500474f-0000-0200-0000-5cbe090d0000", + "api-version": "2018-06-01" + }, + "responses": { + "304": {}, + "200": { + "headers": { + "Date": "Mon, 22 Apr 2019 18:33:48 GMT", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-subscription-reads": "11995", + "x-ms-request-id": "89e5d0d9-55e6-45a0-8bd2-cf39210f317c", + "x-ms-correlation-request-id": "89e5d0d9-55e6-45a0-8bd2-cf39210f317c" + }, + "body": { + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.DataFactory/factories/exampleFactoryName/linkedservices/exampleLinkedService", + "name": "exampleLinkedService", + "type": "Microsoft.DataFactory/factories/linkedservices", + "properties": { + "type": "Netezza", + "typeProperties": { + "server": "", + "port": "12000", + "uid": "admin", + "database": "SYSTEM", + "securityLevel": "preferredUnSecured", + "encryptedCredential": "ew0KICAiVmVyc2lvbiI6ICIyMDE3LTExLTMwIiwNCiAgIlByb3RlY3Rpb25Nb2RlIjogIktleSIsDQogICJTZWNyZXRDb250ZW50VHlwZSI6ICJQbGFpbnRleHQiLA0KICAiQ3JlZGVudGlhbElkIjogIkhWVEVTVEVYQU1QTEVTXzg5MjU1NGY0LTViNGItNDFhOS1hYWYxLTg4ZWI5ZDBjOWIzMyINCn0=" + }, + "description": "Example description" + }, + "etag": "1500474f-0000-0200-0000-5cbe090d0000" + } + } + } +} diff --git a/specification/dynatrace/Dynatrace.Management/DynatraceSingleSignOnResource.tsp b/specification/dynatrace/Dynatrace.Management/DynatraceSingleSignOnResource.tsp new file mode 100644 index 000000000000..632ae4fbd783 --- /dev/null +++ b/specification/dynatrace/Dynatrace.Management/DynatraceSingleSignOnResource.tsp @@ -0,0 +1,53 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./MonitorResource.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Dynatrace.Observability; +/** + * Single sign-on configurations for a given monitor resource. + */ +@parentResource(MonitorResource) +model DynatraceSingleSignOnResource + is Azure.ResourceManager.ProxyResource< + DynatraceSingleSignOnProperties, + false + > { + ...ResourceNameParameter< + Resource = DynatraceSingleSignOnResource, + KeyName = "configurationName", + SegmentName = "singleSignOnConfigurations", + NamePattern = "^[a-zA-Z]*$" + >; +} + +#suppress "@azure-tools/typespec-azure-resource-manager/no-resource-delete-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@armResourceOperations +interface DynatraceSingleSignOnResources { + /** + * Get a DynatraceSingleSignOnResource + */ + get is ArmResourceRead; + + /** + * Create a DynatraceSingleSignOnResource + */ + createOrUpdate is ArmResourceCreateOrReplaceAsync; + + /** + * List all DynatraceSingleSignOnResource by monitorName + */ + list is ArmResourceListByParent; +} + +@@doc(DynatraceSingleSignOnResource.name, "Single Sign On Configuration Name"); +@@doc(DynatraceSingleSignOnResource.properties, + "The resource-specific properties for this resource." +); diff --git a/specification/dynatrace/Dynatrace.Management/MonitorResource.tsp b/specification/dynatrace/Dynatrace.Management/MonitorResource.tsp new file mode 100644 index 000000000000..144e3e455af4 --- /dev/null +++ b/specification/dynatrace/Dynatrace.Management/MonitorResource.tsp @@ -0,0 +1,187 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Dynatrace.Observability; +/** + * Dynatrace Monitor Resource + */ +model MonitorResource + is Azure.ResourceManager.TrackedResource { + ...ResourceNameParameter< + Resource = MonitorResource, + KeyName = "monitorName", + SegmentName = "monitors", + NamePattern = "^[a-zA-Z0-9_-]*$" + >; + + /** + * The managed service identities assigned to this resource. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FixME: Update justification, follow aka.ms/tsp/conversion-fix for details" + identity?: IdentityProperties; +} + +@armResourceOperations +interface MonitorResources { + /** + * Get a MonitorResource + */ + get is ArmResourceRead; + + /** + * Create a MonitorResource + */ + createOrUpdate is ArmResourceCreateOrReplaceAsync; + + /** + * Update a MonitorResource + */ + @patch(#{ implicitOptionality: false }) + update is ArmCustomPatchSync< + MonitorResource, + PatchModel = MonitorResourceUpdate + >; + + /** + * Delete a MonitorResource + */ + #suppress "@azure-tools/typespec-azure-resource-manager/lro-location-header" "FixME: Update justification, follow aka.ms/tsp/conversion-fix for details" + #suppress "@azure-tools/typespec-azure-core/invalid-final-state" "FixME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @Azure.Core.useFinalStateVia("azure-async-operation") + delete is ArmResourceDeleteWithoutOkAsync< + MonitorResource, + LroHeaders = ArmCombinedLroHeaders & Azure.Core.Foundations.RetryAfterHeader + >; + + /** + * List MonitorResource resources by resource group + */ + listByResourceGroup is ArmResourceListByParent; + + /** + * List all MonitorResource by subscriptionId + */ + listBySubscriptionId is ArmListBySubscription; + + /** + * List the resources currently being monitored by the Dynatrace monitor resource. + */ + @list + listMonitoredResources is ArmResourceActionSync< + MonitorResource, + LogStatusRequest, + ArmResponse, + OptionalRequestBody = true + >; + + /** + * Returns the payload that needs to be passed in the request body for installing Dynatrace agent on a VM. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FixME: Update justification, follow aka.ms/tsp/conversion-fix for details" + getVMHostPayload is ArmResourceActionSync< + MonitorResource, + void, + ArmResponse + >; + + /** + * Performs Dynatrace agent install/uninstall action through the Azure Dynatrace resource on the provided list of resources. + */ + manageAgentInstallation is ArmResourceActionSync< + MonitorResource, + ManageAgentInstallationRequest, + NoContentResponse + >; + + /** + * List the VM/VMSS resources currently being monitored by the Dynatrace resource. + */ + @list + listHosts is ArmResourceActionSync< + MonitorResource, + void, + ArmResponse + >; + + /** + * Get metric status + */ + getMetricStatus is ArmResourceActionSync< + MonitorResource, + MetricStatusRequest, + ArmResponse, + OptionalRequestBody = true + >; + + /** + * Gets list of App Services with Dynatrace PaaS OneAgent enabled + */ + @list + listAppServices is ArmResourceActionSync< + MonitorResource, + void, + ArmResponse + >; + + /** + * Upgrades the billing Plan for Dynatrace monitor resource. + */ + upgradePlan is ArmResourceActionAsyncBase< + MonitorResource, + UpgradePlanRequest, + ArmAcceptedLroResponse, + BaseParameters = Azure.ResourceManager.Foundations.DefaultBaseParameters + >; + + /** + * Gets the SSO configuration details from the partner. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FixME: Update justification, follow aka.ms/tsp/conversion-fix for details" + getSSODetails is ArmResourceActionSync< + MonitorResource, + SSODetailsRequest, + ArmResponse, + OptionalRequestBody = true + >; + + /** + * Gets all the Dynatrace environments that a user can link a azure resource to + */ + @list + listLinkableEnvironments is ArmResourceActionSync< + MonitorResource, + LinkableEnvironmentRequest, + ArmResponse + >; +} + +@@doc(MonitorResource.name, "Monitor resource name"); +@@doc(MonitorResource.properties, + "The resource-specific properties for this resource." +); +@@doc(MonitorResources.listMonitoredResources::parameters.body, + "The details of the log status request." +); +@@doc(MonitorResources.manageAgentInstallation::parameters.body, + "List of resources and action" +); +@@doc(MonitorResources.getMetricStatus::parameters.body, + "The details of the metric status request." +); +@@doc(MonitorResources.upgradePlan::parameters.body, + "The details of the upgrade plan request." +); +@@doc(MonitorResources.getSSODetails::parameters.body, + "The details of the get sso details request." +); +@@doc(MonitorResources.listLinkableEnvironments::parameters.body, + "The details of the linkable environment request." +); diff --git a/specification/dynatrace/Dynatrace.Management/MonitoredSubscriptionProperties.tsp b/specification/dynatrace/Dynatrace.Management/MonitoredSubscriptionProperties.tsp new file mode 100644 index 000000000000..92a4adc4055d --- /dev/null +++ b/specification/dynatrace/Dynatrace.Management/MonitoredSubscriptionProperties.tsp @@ -0,0 +1,93 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./MonitorResource.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Dynatrace.Observability; +/** + * The request to update subscriptions needed to be monitored by the Dynatrace monitor resource. + */ +@singleton("default") +@parentResource(MonitorResource) +model MonitoredSubscriptionProperties + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = MonitoredSubscriptionProperties, + KeyName = "monitoredSubscription", + SegmentName = "monitoredSubscriptions", + NamePattern = "" + >; +} + +@armResourceOperations +interface MonitoredSubscriptionPropertiesOps + extends Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + }, + KeysOf> + > {} + +@armResourceOperations +interface MonitoredSubscriptions { + /** + * List the subscriptions currently being monitored by the Dynatrace monitor resource. + */ + get is ArmResourceRead; + + /** + * Add the subscriptions that should be monitored by the Dynatrace monitor resource. + */ + @action("monitoredSubscriptions/default") + createOrUpdate is MonitoredSubscriptionPropertiesOps.CreateOrUpdateAsync< + MonitoredSubscriptionProperties, + LroHeaders = ArmLroLocationHeader & + Azure.Core.Foundations.RetryAfterHeader, + OptionalRequestBody = true + >; + + /** + * Updates the subscriptions that are being monitored by the Dynatrace monitor resource + */ + @patch(#{ implicitOptionality: false }) + update is Azure.ResourceManager.Legacy.CustomPatchAsync< + MonitoredSubscriptionProperties, + PatchModel = MonitoredSubscriptionProperties, + OptionalRequestBody = true + >; + + /** + * Updates the subscriptions that are being monitored by the Dynatrace monitor resource + */ + delete is ArmResourceDeleteWithoutOkAsync; + + /** + * List the subscriptions currently being monitored by the Dynatrace monitor resource. + */ + list is ArmResourceListByParent< + MonitoredSubscriptionProperties, + Response = ArmResponse + >; +} + +@@doc(MonitoredSubscriptionProperties.name, ""); +@@doc(MonitoredSubscriptionProperties.properties, + "The request to update subscriptions needed to be monitored by the Dynatrace monitor resource." +); +@@doc(MonitoredSubscriptions.createOrUpdate::parameters.resource, ""); +@@doc(MonitoredSubscriptions.update::parameters.properties, ""); diff --git a/specification/dynatrace/Dynatrace.Management/TagRule.tsp b/specification/dynatrace/Dynatrace.Management/TagRule.tsp new file mode 100644 index 000000000000..a2d1c73742d2 --- /dev/null +++ b/specification/dynatrace/Dynatrace.Management/TagRule.tsp @@ -0,0 +1,60 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./MonitorResource.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Dynatrace.Observability; +/** + * Tag rules for a monitor resource + */ +@parentResource(MonitorResource) +model TagRule + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = TagRule, + KeyName = "ruleSetName", + SegmentName = "tagRules", + NamePattern = "^[a-zA-Z]*$" + >; +} + +@armResourceOperations +interface TagRules { + /** + * Get a TagRule + */ + get is ArmResourceRead; + + /** + * Create a TagRule + */ + createOrUpdate is ArmResourceCreateOrReplaceAsync; + + /** + * Delete a TagRule + */ + #suppress "@azure-tools/typespec-azure-resource-manager/lro-location-header" "FixME: Update justification, follow aka.ms/tsp/conversion-fix for details" + #suppress "@azure-tools/typespec-azure-core/invalid-final-state" "FixME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @Azure.Core.useFinalStateVia("azure-async-operation") + delete is ArmResourceDeleteWithoutOkAsync< + TagRule, + LroHeaders = ArmCombinedLroHeaders & Azure.Core.Foundations.RetryAfterHeader + >; + + /** + * List all TagRule by monitorName + */ + list is ArmResourceListByParent; +} + +@@doc(TagRule.name, "Monitor resource name"); +@@doc(TagRule.properties, + "The resource-specific properties for this resource." +); diff --git a/specification/dynatrace/Dynatrace.Management/back-compatible.tsp b/specification/dynatrace/Dynatrace.Management/back-compatible.tsp new file mode 100644 index 000000000000..476b9fcc6fd7 --- /dev/null +++ b/specification/dynatrace/Dynatrace.Management/back-compatible.tsp @@ -0,0 +1,66 @@ +import "@azure-tools/typespec-client-generator-core"; + +using Azure.ClientGenerator.Core; +using Dynatrace.Observability; + +@@clientName(MonitoredSubscriptions.createOrUpdate::parameters.resource, + "body" +); +@@clientName(MonitoredSubscriptions.update::parameters.properties, "body"); + +@@clientLocation(MonitorResources.get, "Monitors"); +@@clientLocation(MonitorResources.createOrUpdate, "Monitors"); +@@clientLocation(MonitorResources.update, "Monitors"); +@@clientName(MonitorResources.update::parameters.properties, "resource"); +@@clientLocation(MonitorResources.delete, "Monitors"); +@@clientLocation(MonitorResources.listByResourceGroup, "Monitors"); +@@clientLocation(MonitorResources.listBySubscriptionId, "Monitors"); +@@clientLocation(MonitorResources.listMonitoredResources, "Monitors"); +@@clientName(MonitorResources.listMonitoredResources::parameters.body, + "request" +); +@@clientLocation(MonitorResources.getVMHostPayload, "Monitors"); +@@clientLocation(MonitorResources.manageAgentInstallation, "Monitors"); +@@clientName(MonitorResources.manageAgentInstallation::parameters.body, + "request" +); +@@clientLocation(MonitorResources.listHosts, "Monitors"); +@@clientLocation(MonitorResources.getMetricStatus, "Monitors"); +@@clientName(MonitorResources.getMetricStatus::parameters.body, "request"); +@@clientLocation(MonitorResources.listAppServices, "Monitors"); +@@clientLocation(MonitorResources.upgradePlan, "Monitors"); +@@clientName(MonitorResources.upgradePlan::parameters.body, "request"); +@@clientLocation(MonitorResources.getSSODetails, "Monitors"); +@@clientName(MonitorResources.getSSODetails::parameters.body, "request"); +@@clientLocation(MonitorResources.listLinkableEnvironments, "Monitors"); +@@clientName(MonitorResources.listLinkableEnvironments::parameters.body, + "request" +); +#suppress "deprecated" "FixME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@Azure.ClientGenerator.Core.Legacy.flattenProperty(MonitorResource.properties); + +#suppress "deprecated" "FixME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@Azure.ClientGenerator.Core.Legacy.flattenProperty(TagRule.properties); + +@@clientLocation(DynatraceSingleSignOnResources.get, "SingleSignOn"); +@@clientLocation(DynatraceSingleSignOnResources.createOrUpdate, "SingleSignOn"); +@@clientLocation(DynatraceSingleSignOnResources.list, "SingleSignOn"); +#suppress "deprecated" "FixME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@Azure.ClientGenerator.Core.Legacy.flattenProperty(DynatraceSingleSignOnResource.properties +); + +@@clientLocation(MonitorsOperationGroup.getAllConnectedResourcesCount, + "Monitors" +); +@@clientLocation(MonitorsOperationGroup.getMarketplaceSaaSResourceDetails, + "Monitors" +); + +@@clientLocation(CreationSupportedOperationGroup.list, "CreationSupported"); +@@clientLocation(CreationSupportedOperationGroup.get, "CreationSupported"); +@@clientName(MonitorsOperationGroup.getAllConnectedResourcesCount::parameters.body, + "request" +); +@@clientName(MonitorsOperationGroup.getMarketplaceSaaSResourceDetails::parameters.body, + "request" +); diff --git a/specification/dynatrace/Dynatrace.Management/client.tsp b/specification/dynatrace/Dynatrace.Management/client.tsp new file mode 100644 index 000000000000..10fe87005eea --- /dev/null +++ b/specification/dynatrace/Dynatrace.Management/client.tsp @@ -0,0 +1,7 @@ +import "./main.tsp"; +import "@azure-tools/typespec-client-generator-core"; + +using Azure.ClientGenerator.Core; +using Dynatrace.Observability; + +@@clientName(EnvironmentInfo.landingURL, "landingUrl", "java"); diff --git a/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/CreationSupported_Get.json b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/CreationSupported_Get.json new file mode 100644 index 000000000000..3762dbb2e4e0 --- /dev/null +++ b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/CreationSupported_Get.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "api-version": "2024-04-24", + "dynatraceEnvironmentId": "00000000-0000-0000-0000", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Dynatrace.Observability/monitors?api-version=2024-04-24&$skiptoken=abc123", + "value": [ + { + "name": "/subscriptions/00000000-0000-0000-0000-000000000000", + "creationSupported": true + } + ] + } + } + }, + "operationId": "CreationSupported_Get", + "title": "CreationSupported_Get" +} diff --git a/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/CreationSupported_List.json b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/CreationSupported_List.json new file mode 100644 index 000000000000..c7ffe9f35f8e --- /dev/null +++ b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/CreationSupported_List.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "api-version": "2024-04-24", + "dynatraceEnvironmentId": "00000000-0000-0000-0000", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Dynatrace.Observability/monitors?api-version=2024-04-24&$skiptoken=abc123", + "value": [ + { + "name": "/subscriptions/00000000-0000-0000-0000-000000000000", + "creationSupported": true + } + ] + } + } + }, + "operationId": "CreationSupported_List", + "title": "CreationSupported_List" +} diff --git a/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/MonitoredSubscriptions_CreateOrUpdate.json b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/MonitoredSubscriptions_CreateOrUpdate.json new file mode 100644 index 000000000000..29b7c30ee1b5 --- /dev/null +++ b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/MonitoredSubscriptions_CreateOrUpdate.json @@ -0,0 +1,198 @@ +{ + "parameters": { + "api-version": "2024-04-24", + "configurationName": "default", + "monitorName": "myMonitor", + "requestBody": { + "properties": { + "monitoredSubscriptionList": [ + { + "status": "Active", + "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000000", + "tagRules": { + "logRules": { + "filteringTags": [ + { + "name": "Environment", + "action": "Include", + "value": "Prod" + }, + { + "name": "Environment", + "action": "Exclude", + "value": "Dev" + } + ], + "sendAadLogs": "Disabled", + "sendActivityLogs": "Enabled", + "sendSubscriptionLogs": "Enabled" + }, + "metricRules": { + "filteringTags": [] + } + } + }, + { + "status": "Failed", + "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000001", + "tagRules": { + "logRules": { + "filteringTags": [ + { + "name": "Environment", + "action": "Include", + "value": "Prod" + }, + { + "name": "Environment", + "action": "Exclude", + "value": "Dev" + } + ], + "sendAadLogs": "Disabled", + "sendActivityLogs": "Enabled", + "sendSubscriptionLogs": "Enabled" + }, + "metricRules": { + "filteringTags": [] + } + } + } + ], + "operation": "AddBegin" + } + }, + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Dynatrace.Observability/monitors/monitoredSubscriptions", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor/monitoredSubscriptions/default", + "properties": { + "monitoredSubscriptionList": [ + { + "status": "Active", + "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000000", + "tagRules": { + "logRules": { + "filteringTags": [ + { + "name": "Environment", + "action": "Include", + "value": "Prod" + }, + { + "name": "Environment", + "action": "Exclude", + "value": "Dev" + } + ], + "sendAadLogs": "Disabled", + "sendActivityLogs": "Enabled", + "sendSubscriptionLogs": "Enabled" + }, + "metricRules": { + "filteringTags": [] + } + } + }, + { + "status": "Failed", + "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000001", + "tagRules": { + "logRules": { + "filteringTags": [ + { + "name": "Environment", + "action": "Include", + "value": "Prod" + }, + { + "name": "Environment", + "action": "Exclude", + "value": "Dev" + } + ], + "sendAadLogs": "Disabled", + "sendActivityLogs": "Enabled", + "sendSubscriptionLogs": "Enabled" + }, + "metricRules": { + "filteringTags": [] + } + } + } + ] + } + } + }, + "201": { + "body": { + "name": "default", + "type": "Dynatrace.Observability/monitors/monitoredSubscriptions", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor/monitoredSubscriptions/default", + "properties": { + "monitoredSubscriptionList": [ + { + "status": "Active", + "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000000", + "tagRules": { + "logRules": { + "filteringTags": [ + { + "name": "Environment", + "action": "Include", + "value": "Prod" + }, + { + "name": "Environment", + "action": "Exclude", + "value": "Dev" + } + ], + "sendAadLogs": "Disabled", + "sendActivityLogs": "Enabled", + "sendSubscriptionLogs": "Enabled" + }, + "metricRules": { + "filteringTags": [] + } + } + }, + { + "status": "Failed", + "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000001", + "tagRules": { + "logRules": { + "filteringTags": [ + { + "name": "Environment", + "action": "Include", + "value": "Prod" + }, + { + "name": "Environment", + "action": "Exclude", + "value": "Dev" + } + ], + "sendAadLogs": "Disabled", + "sendActivityLogs": "Enabled", + "sendSubscriptionLogs": "Enabled" + }, + "metricRules": { + "filteringTags": [] + } + } + } + ] + } + } + } + }, + "operationId": "MonitoredSubscriptions_CreateOrUpdate", + "title": "Monitors_AddMonitoredSubscriptions" +} diff --git a/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/MonitoredSubscriptions_Delete.json b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/MonitoredSubscriptions_Delete.json new file mode 100644 index 000000000000..f3b4dccbf6cb --- /dev/null +++ b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/MonitoredSubscriptions_Delete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2024-04-24", + "configurationName": "default", + "monitorName": "myMonitor", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/subid/resourceGroups/peerTest/providers/Dynatrace.Observability/monitors/test?api-version=2022-09-01" + } + }, + "204": {} + }, + "operationId": "MonitoredSubscriptions_Delete", + "title": "Monitors_DeleteMonitoredSubscriptions" +} diff --git a/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/MonitoredSubscriptions_Get.json b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/MonitoredSubscriptions_Get.json new file mode 100644 index 000000000000..9d0e7f28ccc4 --- /dev/null +++ b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/MonitoredSubscriptions_Get.json @@ -0,0 +1,76 @@ +{ + "parameters": { + "api-version": "2024-04-24", + "configurationName": "default", + "monitorName": "myMonitor", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Dynatrace.Observability/monitors/monitoredSubscriptions", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor/monitoredSubscriptions/default", + "properties": { + "monitoredSubscriptionList": [ + { + "status": "Active", + "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000000", + "tagRules": { + "logRules": { + "filteringTags": [ + { + "name": "Environment", + "action": "Include", + "value": "Prod" + }, + { + "name": "Environment", + "action": "Exclude", + "value": "Dev" + } + ], + "sendAadLogs": "Disabled", + "sendActivityLogs": "Enabled", + "sendSubscriptionLogs": "Enabled" + }, + "metricRules": { + "filteringTags": [] + } + } + }, + { + "status": "Failed", + "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000001", + "tagRules": { + "logRules": { + "filteringTags": [ + { + "name": "Environment", + "action": "Include", + "value": "Prod" + }, + { + "name": "Environment", + "action": "Exclude", + "value": "Dev" + } + ], + "sendAadLogs": "Disabled", + "sendActivityLogs": "Enabled", + "sendSubscriptionLogs": "Enabled" + }, + "metricRules": { + "filteringTags": [] + } + } + } + ] + } + } + } + }, + "operationId": "MonitoredSubscriptions_Get", + "title": "Monitors_GetMonitoredSubscriptions" +} diff --git a/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/MonitoredSubscriptions_List.json b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/MonitoredSubscriptions_List.json new file mode 100644 index 000000000000..b8f9e33bbde8 --- /dev/null +++ b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/MonitoredSubscriptions_List.json @@ -0,0 +1,79 @@ +{ + "parameters": { + "api-version": "2024-04-24", + "monitorName": "myMonitor", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "default", + "type": "Dynatrace.Observability/monitors/monitoredSubscriptions", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor/monitoredSubscriptions/default", + "properties": { + "monitoredSubscriptionList": [ + { + "status": "Active", + "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000000", + "tagRules": { + "logRules": { + "filteringTags": [ + { + "name": "Environment", + "action": "Include", + "value": "Prod" + }, + { + "name": "Environment", + "action": "Exclude", + "value": "Dev" + } + ], + "sendAadLogs": "Disabled", + "sendActivityLogs": "Enabled", + "sendSubscriptionLogs": "Enabled" + }, + "metricRules": { + "filteringTags": [] + } + } + }, + { + "status": "Failed", + "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000001", + "tagRules": { + "logRules": { + "filteringTags": [ + { + "name": "Environment", + "action": "Include", + "value": "Prod" + }, + { + "name": "Environment", + "action": "Exclude", + "value": "Dev" + } + ], + "sendAadLogs": "Disabled", + "sendActivityLogs": "Enabled", + "sendSubscriptionLogs": "Enabled" + }, + "metricRules": { + "filteringTags": [] + } + } + } + ] + } + } + ] + } + } + }, + "operationId": "MonitoredSubscriptions_List", + "title": "Monitors_GetMonitoredSubscriptions" +} diff --git a/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/MonitoredSubscriptions_Update.json b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/MonitoredSubscriptions_Update.json new file mode 100644 index 000000000000..017063230a80 --- /dev/null +++ b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/MonitoredSubscriptions_Update.json @@ -0,0 +1,140 @@ +{ + "parameters": { + "api-version": "2024-04-24", + "configurationName": "default", + "monitorName": "myMonitor", + "requestBody": { + "properties": { + "monitoredSubscriptionList": [ + { + "status": "Active", + "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000000", + "tagRules": { + "logRules": { + "filteringTags": [ + { + "name": "Environment", + "action": "Include", + "value": "Prod" + }, + { + "name": "Environment", + "action": "Exclude", + "value": "Dev" + } + ], + "sendAadLogs": "Disabled", + "sendActivityLogs": "Enabled", + "sendSubscriptionLogs": "Enabled" + }, + "metricRules": { + "filteringTags": [] + } + } + }, + { + "status": "Failed", + "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000001", + "tagRules": { + "logRules": { + "filteringTags": [ + { + "name": "Environment", + "action": "Include", + "value": "Prod" + }, + { + "name": "Environment", + "action": "Exclude", + "value": "Dev" + } + ], + "sendAadLogs": "Disabled", + "sendActivityLogs": "Enabled", + "sendSubscriptionLogs": "Enabled" + }, + "metricRules": { + "filteringTags": [] + } + } + } + ], + "operation": "AddComplete" + } + }, + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Dynatrace.Observability/monitors/monitoredSubscriptions", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor/monitoredSubscriptions/default", + "properties": { + "monitoredSubscriptionList": [ + { + "status": "Active", + "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000000", + "tagRules": { + "logRules": { + "filteringTags": [ + { + "name": "Environment", + "action": "Include", + "value": "Prod" + }, + { + "name": "Environment", + "action": "Exclude", + "value": "Dev" + } + ], + "sendAadLogs": "Disabled", + "sendActivityLogs": "Enabled", + "sendSubscriptionLogs": "Enabled" + }, + "metricRules": { + "filteringTags": [] + } + } + }, + { + "status": "Failed", + "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000001", + "tagRules": { + "logRules": { + "filteringTags": [ + { + "name": "Environment", + "action": "Include", + "value": "Prod" + }, + { + "name": "Environment", + "action": "Exclude", + "value": "Dev" + } + ], + "sendAadLogs": "Disabled", + "sendActivityLogs": "Enabled", + "sendSubscriptionLogs": "Enabled" + }, + "metricRules": { + "filteringTags": [] + } + } + } + ] + } + } + }, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/subid/resourceGroups/peerTest/providers/Dynatrace.Observability/monitors/test?api-version=2022-09-01" + } + } + }, + "operationId": "MonitoredSubscriptions_Update", + "title": "Monitors_UpdateMonitoredSubscriptions" +} diff --git a/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_CreateOrUpdate_MaximumSet_Gen.json b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_CreateOrUpdate_MaximumSet_Gen.json new file mode 100644 index 000000000000..f813f600a173 --- /dev/null +++ b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_CreateOrUpdate_MaximumSet_Gen.json @@ -0,0 +1,178 @@ +{ + "parameters": { + "api-version": "2024-04-24", + "monitorName": "myMonitor", + "resource": { + "identity": { + "type": "SystemAssigned" + }, + "location": "West US 2", + "properties": { + "dynatraceEnvironmentProperties": { + "accountInfo": {}, + "environmentInfo": {}, + "singleSignOnProperties": {} + }, + "liftrResourceCategory": "Unknown", + "marketplaceSubscriptionStatus": "Active", + "monitoringStatus": "Enabled", + "planData": { + "billingCycle": "Monthly", + "effectiveDate": "2019-08-30T15:14:33+02:00", + "planDetails": "dynatraceapitestplan", + "usageType": "Committed" + }, + "provisioningState": "Accepted", + "userInfo": { + "country": "westus2", + "emailAddress": "alice@microsoft.com", + "firstName": "Alice", + "lastName": "Bobab", + "phoneNumber": "123456" + } + }, + "tags": { + "Environment": "Dev" + } + }, + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myMonitor", + "type": "Dynatrace.Observability/monitors", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor", + "identity": { + "type": "SystemAssigned", + "principalId": "4534676867978", + "tenantId": "23456789001" + }, + "location": "West US 2", + "properties": { + "dynatraceEnvironmentProperties": { + "accountInfo": { + "accountId": "1234567890", + "companyName": "company", + "regionId": "wus2" + }, + "environmentInfo": { + "environmentId": "a23xcv456", + "ingestionKey": "1234567890", + "logsIngestionEndpoint": "https://dynatrace.com" + }, + "singleSignOnProperties": { + "aadDomains": [ + "mpliftrdt20210811outlook.onmicrosoft.com" + ], + "enterpriseAppId": "00000000-0000-0000-0000-000000000000", + "singleSignOnState": "Enable", + "singleSignOnUrl": "https://www.dynatrace.io/IAmSomeHash" + }, + "userId": "alice123" + }, + "liftrResourceCategory": "Unknown", + "liftrResourcePreference": 28, + "marketplaceSubscriptionStatus": "Active", + "monitoringStatus": "Enabled", + "planData": { + "billingCycle": "Monthly", + "effectiveDate": "2019-08-30T15:14:33+02:00", + "planDetails": "dynatraceapitestplan", + "usageType": "Committed" + }, + "provisioningState": "Accepted", + "userInfo": { + "country": "westus2", + "emailAddress": "alice@microsoft.com", + "firstName": "Alice", + "lastName": "Bobab", + "phoneNumber": "123456" + } + }, + "systemData": { + "createdAt": "2021-07-16T04:25:21.040Z", + "createdBy": "alice@microsoft.com", + "createdByType": "User", + "lastModifiedAt": "2021-07-16T04:25:21.040Z", + "lastModifiedBy": "alice@microsoft.com", + "lastModifiedByType": "User" + }, + "tags": { + "Environment": "Dev" + } + } + }, + "201": { + "body": { + "name": "myMonitor", + "type": "Dynatrace.Observability/monitors", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor", + "identity": { + "type": "SystemAssigned", + "principalId": "4534676867978", + "tenantId": "23456789001" + }, + "location": "West US 2", + "properties": { + "dynatraceEnvironmentProperties": { + "accountInfo": { + "accountId": "1234567890", + "companyName": "company", + "regionId": "wus2" + }, + "environmentInfo": { + "environmentId": "a23xcv456", + "ingestionKey": "1234567890", + "logsIngestionEndpoint": "https://dynatrace.com" + }, + "singleSignOnProperties": { + "aadDomains": [ + "mpliftrdt20210811outlook.onmicrosoft.com" + ], + "enterpriseAppId": "00000000-0000-0000-0000-000000000000", + "singleSignOnState": "Enable", + "singleSignOnUrl": "https://www.dynatrace.io/IAmSomeHash" + }, + "userId": "alice123" + }, + "liftrResourceCategory": "Unknown", + "liftrResourcePreference": 28, + "marketplaceSubscriptionStatus": "Active", + "monitoringStatus": "Enabled", + "planData": { + "billingCycle": "Monthly", + "effectiveDate": "2019-08-30T15:14:33+02:00", + "planDetails": "dynatraceapitestplan", + "usageType": "Committed" + }, + "provisioningState": "Accepted", + "userInfo": { + "country": "westus2", + "emailAddress": "alice@microsoft.com", + "firstName": "Alice", + "lastName": "Bobab", + "phoneNumber": "123456" + } + }, + "systemData": { + "createdAt": "2021-07-16T04:25:21.040Z", + "createdBy": "alice@microsoft.com", + "createdByType": "User", + "lastModifiedAt": "2021-07-16T04:25:21.040Z", + "lastModifiedBy": "alice@microsoft.com", + "lastModifiedByType": "User" + }, + "tags": { + "Environment": "Dev" + } + }, + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + }, + "operationId": "Monitors_CreateOrUpdate", + "title": "Monitors_CreateOrUpdate_MaximumSet_Gen" +} diff --git a/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_CreateOrUpdate_MinimumSet_Gen.json b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_CreateOrUpdate_MinimumSet_Gen.json new file mode 100644 index 000000000000..2489b3d2b64b --- /dev/null +++ b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_CreateOrUpdate_MinimumSet_Gen.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "api-version": "2024-04-24", + "monitorName": "myMonitor", + "resource": { + "location": "West US 2", + "properties": {} + }, + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor", + "location": "West US 2", + "properties": {} + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor", + "location": "West US 2", + "properties": {} + }, + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + }, + "operationId": "Monitors_CreateOrUpdate", + "title": "Monitors_CreateOrUpdate_MinimumSet_Gen" +} diff --git a/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_Delete_MaximumSet_Gen.json b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..59bb1b3bdd93 --- /dev/null +++ b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_Delete_MaximumSet_Gen.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "api-version": "2024-04-24", + "monitorName": "myMonitor", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + }, + "204": {} + }, + "operationId": "Monitors_Delete", + "title": "Monitors_Delete_MaximumSet_Gen" +} diff --git a/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_Delete_MinimumSet_Gen.json b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_Delete_MinimumSet_Gen.json new file mode 100644 index 000000000000..1dc53632923f --- /dev/null +++ b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_Delete_MinimumSet_Gen.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "api-version": "2024-04-24", + "monitorName": "myMonitor", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + }, + "204": {} + }, + "operationId": "Monitors_Delete", + "title": "Monitors_Delete_MinimumSet_Gen" +} diff --git a/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_GetAllConnectedResourcesCount_MaximumSet_Gen.json b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_GetAllConnectedResourcesCount_MaximumSet_Gen.json new file mode 100644 index 000000000000..390deffeb6fc --- /dev/null +++ b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_GetAllConnectedResourcesCount_MaximumSet_Gen.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "api-version": "2024-04-24", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "request": { + "marketplaceSubscriptionId": "00000000-0000-0000-0000-000005430000" + } + }, + "responses": { + "200": { + "body": { + "connectedResourcesCount": 4 + } + } + }, + "operationId": "Monitors_GetAllConnectedResourcesCount", + "title": "Monitors_GetAllConnectedResourcesCount_MaximumSet_Gen" +} diff --git a/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_GetAllConnectedResourcesCount_MinimumSet_Gen.json b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_GetAllConnectedResourcesCount_MinimumSet_Gen.json new file mode 100644 index 000000000000..45fd99ea7b3f --- /dev/null +++ b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_GetAllConnectedResourcesCount_MinimumSet_Gen.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "api-version": "2024-04-24", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "request": { + "marketplaceSubscriptionId": "00000000-0000-0000-0000-000005430000" + } + }, + "responses": { + "200": { + "body": {} + } + }, + "operationId": "Monitors_GetAllConnectedResourcesCount", + "title": "Monitors_GetAllConnectedResourcesCount_MinimumSet_Gen" +} diff --git a/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_GetMarketplaceSaaSResourceDetails_MaximumSet_Gen.json b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_GetMarketplaceSaaSResourceDetails_MaximumSet_Gen.json new file mode 100644 index 000000000000..bc2b4c055354 --- /dev/null +++ b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_GetMarketplaceSaaSResourceDetails_MaximumSet_Gen.json @@ -0,0 +1,20 @@ +{ + "operationId": "Monitors_GetMarketplaceSaaSResourceDetails", + "parameters": { + "api-version": "2024-04-24", + "subscriptionId": "1d701e7e-3150-4d33-9279-d4ea03e9110e", + "request": { + "tenantId": "urnmattojzhktcfw" + } + }, + "title": "Monitors_GetMarketplaceSaaSResourceDetails_MaximumSet_Gen", + "responses": { + "200": { + "body": { + "marketplaceSaaSResourceId": "owpmulwohq", + "marketplaceSubscriptionStatus": "Active", + "planId": "dsfefsaf" + } + } + } +} diff --git a/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_GetMarketplaceSaaSResourceDetails_MinimumSet_Gen.json b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_GetMarketplaceSaaSResourceDetails_MinimumSet_Gen.json new file mode 100644 index 000000000000..6387fa8ef2da --- /dev/null +++ b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_GetMarketplaceSaaSResourceDetails_MinimumSet_Gen.json @@ -0,0 +1,16 @@ +{ + "operationId": "Monitors_GetMarketplaceSaaSResourceDetails", + "parameters": { + "api-version": "2024-04-24", + "subscriptionId": "1d701e7e-3150-4d33-9279-d4ea03e9110e", + "request": { + "tenantId": "urnmattojzhktcfw" + } + }, + "title": "Monitors_GetMarketplaceSaaSResourceDetails_MinimumSet_Gen", + "responses": { + "200": { + "body": {} + } + } +} diff --git a/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_GetMetricStatus_MaximumSet_Gen.json b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_GetMetricStatus_MaximumSet_Gen.json new file mode 100644 index 000000000000..85dbca23810f --- /dev/null +++ b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_GetMetricStatus_MaximumSet_Gen.json @@ -0,0 +1,24 @@ +{ + "operationId": "Monitors_GetMetricStatus", + "parameters": { + "api-version": "2024-04-24", + "monitorName": "fhcjxnxumkdlgpwanewtkdnyuz", + "resourceGroupName": "rgDynatrace", + "subscriptionId": "1d701e7e-3150-4d33-9279-d4ea03e9110e", + "request": { + "monitoredResourceIds": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/publicIPAddresses/00000000-0000-0000-0000-000000000000" + ] + } + }, + "title": "Monitors_GetMetricStatus_MaximumSet_Gen", + "responses": { + "200": { + "body": { + "azureResourceIds": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/publicIPAddresses/00000000-0000-0000-0000-000000000000" + ] + } + } + } +} diff --git a/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_GetMetricStatus_MinimumSet_Gen.json b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_GetMetricStatus_MinimumSet_Gen.json new file mode 100644 index 000000000000..791102b8879e --- /dev/null +++ b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_GetMetricStatus_MinimumSet_Gen.json @@ -0,0 +1,15 @@ +{ + "operationId": "Monitors_GetMetricStatus", + "parameters": { + "api-version": "2024-04-24", + "monitorName": "fhcjxnxumkdlgpwanewtkdnyuz", + "resourceGroupName": "rgDynatrace", + "subscriptionId": "1d701e7e-3150-4d33-9279-d4ea03e9110e" + }, + "title": "Monitors_GetMetricStatus_MinimumSet_Gen", + "responses": { + "200": { + "body": {} + } + } +} diff --git a/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_GetSSODetails_MaximumSet_Gen.json b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_GetSSODetails_MaximumSet_Gen.json new file mode 100644 index 000000000000..1d34eb8813f0 --- /dev/null +++ b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_GetSSODetails_MaximumSet_Gen.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "api-version": "2024-04-24", + "monitorName": "myMonitor", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "request": { + "userPrincipal": "alice@microsoft.com" + } + }, + "responses": { + "200": { + "body": { + "aadDomains": [ + "mpliftrdt20210811outlook.onmicrosoft.com" + ], + "adminUsers": [ + "alice@microsoft.com" + ], + "isSsoEnabled": "Enabled", + "metadataUrl": "https://someuri", + "singleSignOnUrl": "https://www.dynatrace.io/IAmSomeHash" + } + } + }, + "operationId": "Monitors_GetSSODetails", + "title": "Monitors_GetSSODetails_MaximumSet_Gen" +} diff --git a/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_GetSSODetails_MinimumSet_Gen.json b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_GetSSODetails_MinimumSet_Gen.json new file mode 100644 index 000000000000..9fe53be35bb9 --- /dev/null +++ b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_GetSSODetails_MinimumSet_Gen.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "api-version": "2024-04-24", + "monitorName": "myMonitor", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "request": { + "userPrincipal": "alice@microsoft.com" + } + }, + "responses": { + "200": { + "body": {} + } + }, + "operationId": "Monitors_GetSSODetails", + "title": "Monitors_GetSSODetails_MinimumSet_Gen" +} diff --git a/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_GetVMHostPayload_MaximumSet_Gen.json b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_GetVMHostPayload_MaximumSet_Gen.json new file mode 100644 index 000000000000..5b98ce667360 --- /dev/null +++ b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_GetVMHostPayload_MaximumSet_Gen.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "api-version": "2024-04-24", + "monitorName": "myMonitor", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "environmentId": "abc123lsjlsfjlfjgd", + "ingestionKey": "abcd.efg" + } + } + }, + "operationId": "Monitors_GetVMHostPayload", + "title": "Monitors_GetVMHostPayload_MaximumSet_Gen" +} diff --git a/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_GetVMHostPayload_MinimumSet_Gen.json b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_GetVMHostPayload_MinimumSet_Gen.json new file mode 100644 index 000000000000..de0dfc9cbab3 --- /dev/null +++ b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_GetVMHostPayload_MinimumSet_Gen.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "api-version": "2024-04-24", + "monitorName": "myMonitor", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": {} + } + }, + "operationId": "Monitors_GetVMHostPayload", + "title": "Monitors_GetVMHostPayload_MinimumSet_Gen" +} diff --git a/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_Get_MaximumSet_Gen.json b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..be1943f86208 --- /dev/null +++ b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_Get_MaximumSet_Gen.json @@ -0,0 +1,78 @@ +{ + "parameters": { + "api-version": "2024-04-24", + "monitorName": "myMonitor", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myMonitor", + "type": "Dynatrace.Observability/monitors", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor", + "identity": { + "type": "SystemAssigned", + "principalId": "4534676867978", + "tenantId": "23456789001" + }, + "location": "West US 2", + "properties": { + "dynatraceEnvironmentProperties": { + "accountInfo": { + "accountId": "1234567890", + "companyName": "company", + "regionId": "wus2" + }, + "environmentInfo": { + "environmentId": "a23xcv456", + "ingestionKey": "1234567890", + "landingURL": "https://a23xcv456.dynatrace.com", + "logsIngestionEndpoint": "https://dynatrace.com" + }, + "singleSignOnProperties": { + "aadDomains": [ + "mpliftrdt20210811outlook.onmicrosoft.com" + ], + "enterpriseAppId": "00000000-0000-0000-0000-000000000000", + "singleSignOnState": "Enable", + "singleSignOnUrl": "https://www.dynatrace.io/IAmSomeHash" + }, + "userId": "alice123" + }, + "liftrResourceCategory": "Unknown", + "liftrResourcePreference": 28, + "marketplaceSubscriptionStatus": "Active", + "monitoringStatus": "Enabled", + "planData": { + "billingCycle": "Monthly", + "effectiveDate": "2019-08-30T15:14:33+02:00", + "planDetails": "dynatraceapitestplan", + "usageType": "Committed" + }, + "provisioningState": "Accepted", + "userInfo": { + "country": "westus2", + "emailAddress": "alice@microsoft.com", + "firstName": "Alice", + "lastName": "Bobab", + "phoneNumber": "123456" + } + }, + "systemData": { + "createdAt": "2021-07-16T04:25:21.040Z", + "createdBy": "alice@microsoft.com", + "createdByType": "User", + "lastModifiedAt": "2021-07-16T04:25:21.040Z", + "lastModifiedBy": "alice@microsoft.com", + "lastModifiedByType": "User" + }, + "tags": { + "Environment": "Dev" + } + } + } + }, + "operationId": "Monitors_Get", + "title": "Monitors_Get_MaximumSet_Gen" +} diff --git a/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_Get_MinimumSet_Gen.json b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_Get_MinimumSet_Gen.json new file mode 100644 index 000000000000..a983dd443e7a --- /dev/null +++ b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_Get_MinimumSet_Gen.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2024-04-24", + "monitorName": "myMonitor", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor", + "location": "West US 2", + "properties": {} + } + } + }, + "operationId": "Monitors_Get", + "title": "Monitors_Get_MinimumSet_Gen" +} diff --git a/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_ListAppServices_MaximumSet_Gen.json b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_ListAppServices_MaximumSet_Gen.json new file mode 100644 index 000000000000..27ec3d645e2a --- /dev/null +++ b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_ListAppServices_MaximumSet_Gen.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "api-version": "2024-04-24", + "monitorName": "myMonitor", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Dynatrace.Observability/monitors?api-version=2024-04-24&$skiptoken=abc123", + "value": [ + { + "autoUpdateSetting": "ENABLED", + "availabilityState": "CRASHED", + "hostGroup": "myGroup", + "hostName": "myName", + "logModule": "ENABLED", + "monitoringType": "CLOUD_INFRASTRUCTURE", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/virtual1", + "updateStatus": "INCOMPATIBLE", + "version": "1.2.0" + } + ] + } + } + }, + "operationId": "Monitors_ListAppServices", + "title": "Monitors_ListAppServices_MaximumSet_Gen" +} diff --git a/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_ListAppServices_MinimumSet_Gen.json b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_ListAppServices_MinimumSet_Gen.json new file mode 100644 index 000000000000..40aecf8db91c --- /dev/null +++ b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_ListAppServices_MinimumSet_Gen.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "api-version": "2024-04-24", + "monitorName": "myMonitor", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [] + } + } + }, + "operationId": "Monitors_ListAppServices", + "title": "Monitors_ListAppServices_MinimumSet_Gen" +} diff --git a/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_ListByResourceGroup_MaximumSet_Gen.json b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_ListByResourceGroup_MaximumSet_Gen.json new file mode 100644 index 000000000000..7be81852ee7b --- /dev/null +++ b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_ListByResourceGroup_MaximumSet_Gen.json @@ -0,0 +1,82 @@ +{ + "parameters": { + "api-version": "2024-04-24", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Dynatrace.Observability/monitors?api-version=2024-04-24&$skiptoken=abc123", + "value": [ + { + "name": "myMonitor", + "type": "Dynatrace.Observability/monitors", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor", + "identity": { + "type": "SystemAssigned", + "principalId": "4534676867978", + "tenantId": "23456789001" + }, + "location": "West US 2", + "properties": { + "dynatraceEnvironmentProperties": { + "accountInfo": { + "accountId": "1234567890", + "companyName": "company", + "regionId": "wus2" + }, + "environmentInfo": { + "environmentId": "a23xcv456", + "ingestionKey": "1234567890", + "landingURL": "https://a23xcv456.dynatrace.com", + "logsIngestionEndpoint": "https://dynatrace.com" + }, + "singleSignOnProperties": { + "aadDomains": [ + "mpliftrdt20210811outlook.onmicrosoft.com" + ], + "enterpriseAppId": "00000000-0000-0000-0000-000000000000", + "singleSignOnState": "Enable", + "singleSignOnUrl": "https://www.dynatrace.io/IAmSomeHash" + }, + "userId": "alice123" + }, + "liftrResourceCategory": "Unknown", + "liftrResourcePreference": 28, + "marketplaceSubscriptionStatus": "Active", + "monitoringStatus": "Enabled", + "planData": { + "billingCycle": "Monthly", + "effectiveDate": "2019-08-30T15:14:33+02:00", + "planDetails": "dynatraceapitestplan", + "usageType": "Committed" + }, + "provisioningState": "Accepted", + "userInfo": { + "country": "westus2", + "emailAddress": "alice@microsoft.com", + "firstName": "Alice", + "lastName": "Bobab", + "phoneNumber": "123456" + } + }, + "systemData": { + "createdAt": "2021-07-16T04:25:21.040Z", + "createdBy": "alice@microsoft.com", + "createdByType": "User", + "lastModifiedAt": "2021-07-16T04:25:21.040Z", + "lastModifiedBy": "alice@microsoft.com", + "lastModifiedByType": "User" + }, + "tags": { + "Environment": "Dev" + } + } + ] + } + } + }, + "operationId": "Monitors_ListByResourceGroup", + "title": "Monitors_ListByResourceGroup_MaximumSet_Gen" +} diff --git a/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_ListByResourceGroup_MinimumSet_Gen.json b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_ListByResourceGroup_MinimumSet_Gen.json new file mode 100644 index 000000000000..ee4cfaedde19 --- /dev/null +++ b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_ListByResourceGroup_MinimumSet_Gen.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "api-version": "2024-04-24", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Dynatrace.Observability/monitors?api-version=2024-04-24&$skiptoken=abc123", + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor/tagRules/default", + "location": "West US 2", + "properties": {} + } + ] + } + } + }, + "operationId": "Monitors_ListByResourceGroup", + "title": "Monitors_ListByResourceGroup_MinimumSet_Gen" +} diff --git a/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_ListBySubscriptionId_MaximumSet_Gen.json b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_ListBySubscriptionId_MaximumSet_Gen.json new file mode 100644 index 000000000000..7c146e3fdc6e --- /dev/null +++ b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_ListBySubscriptionId_MaximumSet_Gen.json @@ -0,0 +1,81 @@ +{ + "parameters": { + "api-version": "2024-04-24", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Dynatrace.Observability/monitors?api-version=2024-04-24&$skiptoken=abc123", + "value": [ + { + "name": "myMonitor", + "type": "Dynatrace.Observability/monitors", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor", + "identity": { + "type": "SystemAssigned", + "principalId": "4534676867978", + "tenantId": "23456789001" + }, + "location": "West US 2", + "properties": { + "dynatraceEnvironmentProperties": { + "accountInfo": { + "accountId": "1234567890", + "companyName": "company", + "regionId": "wus2" + }, + "environmentInfo": { + "environmentId": "a23xcv456", + "ingestionKey": "1234567890", + "landingURL": "https://a23xcv456.dynatrace.com", + "logsIngestionEndpoint": "https://dynatrace.com" + }, + "singleSignOnProperties": { + "aadDomains": [ + "mpliftrdt20210811outlook.onmicrosoft.com" + ], + "enterpriseAppId": "00000000-0000-0000-0000-000000000000", + "singleSignOnState": "Enable", + "singleSignOnUrl": "https://www.dynatrace.io/IAmSomeHash" + }, + "userId": "alice123" + }, + "liftrResourceCategory": "Unknown", + "liftrResourcePreference": 28, + "marketplaceSubscriptionStatus": "Active", + "monitoringStatus": "Enabled", + "planData": { + "billingCycle": "Monthly", + "effectiveDate": "2019-08-30T15:14:33+02:00", + "planDetails": "dynatraceapitestplan", + "usageType": "Committed" + }, + "provisioningState": "Accepted", + "userInfo": { + "country": "westus2", + "emailAddress": "alice@microsoft.com", + "firstName": "Alice", + "lastName": "Bobab", + "phoneNumber": "123456" + } + }, + "systemData": { + "createdAt": "2021-07-16T04:25:21.040Z", + "createdBy": "alice@microsoft.com", + "createdByType": "User", + "lastModifiedAt": "2021-07-16T04:25:21.040Z", + "lastModifiedBy": "alice@microsoft.com", + "lastModifiedByType": "User" + }, + "tags": { + "Environment": "Dev" + } + } + ] + } + } + }, + "operationId": "Monitors_ListBySubscriptionId", + "title": "Monitors_ListBySubscriptionId_MaximumSet_Gen" +} diff --git a/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_ListBySubscriptionId_MinimumSet_Gen.json b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_ListBySubscriptionId_MinimumSet_Gen.json new file mode 100644 index 000000000000..4e4029c7e849 --- /dev/null +++ b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_ListBySubscriptionId_MinimumSet_Gen.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "api-version": "2024-04-24", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Dynatrace.Observability/monitors?api-version=2024-04-24&$skiptoken=abc123", + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor/tagRules/default", + "location": "West US 2", + "properties": {} + } + ] + } + } + }, + "operationId": "Monitors_ListBySubscriptionId", + "title": "Monitors_ListBySubscriptionId_MinimumSet_Gen" +} diff --git a/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_ListHosts_MaximumSet_Gen.json b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_ListHosts_MaximumSet_Gen.json new file mode 100644 index 000000000000..7c89e6aadeef --- /dev/null +++ b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_ListHosts_MaximumSet_Gen.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "api-version": "2024-04-24", + "monitorName": "myMonitor", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Dynatrace.Observability/monitors?api-version=2024-04-24&$skiptoken=abc123", + "value": [ + { + "autoUpdateSetting": "ENABLED", + "availabilityState": "CRASHED", + "hostGroup": "myGroup", + "hostName": "myName", + "logModule": "ENABLED", + "monitoringType": "CLOUD_INFRASTRUCTURE", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/virtual1", + "updateStatus": "INCOMPATIBLE", + "version": "1.2.0" + } + ] + } + } + }, + "operationId": "Monitors_ListHosts", + "title": "Monitors_ListHosts_MaximumSet_Gen" +} diff --git a/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_ListHosts_MinimumSet_Gen.json b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_ListHosts_MinimumSet_Gen.json new file mode 100644 index 000000000000..b2d8d4ddedf1 --- /dev/null +++ b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_ListHosts_MinimumSet_Gen.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "api-version": "2024-04-24", + "monitorName": "myMonitor", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [] + } + } + }, + "operationId": "Monitors_ListHosts", + "title": "Monitors_ListHosts_MinimumSet_Gen" +} diff --git a/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_ListLinkableEnvironments_MaximumSet_Gen.json b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_ListLinkableEnvironments_MaximumSet_Gen.json new file mode 100644 index 000000000000..89f4235db9a7 --- /dev/null +++ b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_ListLinkableEnvironments_MaximumSet_Gen.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "api-version": "2024-04-24", + "monitorName": "myMonitor", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "request": { + "region": "East US", + "tenantId": "00000000-0000-0000-0000-000000000000", + "userPrincipal": "alice@microsoft.com" + } + }, + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Dynatrace.Observability/monitors?api-version=2024-04-24&$skiptoken=abc123", + "value": [ + { + "environmentId": "abc.123", + "environmentName": "myEnv", + "planData": { + "billingCycle": "Monthly", + "effectiveDate": "2019-08-30T15:14:33+02:00", + "planDetails": "dynatraceapitestplan", + "usageType": "Committed" + } + } + ] + } + } + }, + "operationId": "Monitors_ListLinkableEnvironments", + "title": "Monitors_ListLinkableEnvironments_MaximumSet_Gen" +} diff --git a/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_ListLinkableEnvironments_MinimumSet_Gen.json b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_ListLinkableEnvironments_MinimumSet_Gen.json new file mode 100644 index 000000000000..193eb0ea6d6f --- /dev/null +++ b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_ListLinkableEnvironments_MinimumSet_Gen.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "api-version": "2024-04-24", + "monitorName": "myMonitor", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "request": { + "region": "East US", + "tenantId": "00000000-0000-0000-0000-000000000000", + "userPrincipal": "alice@microsoft.com" + } + }, + "responses": { + "200": { + "body": { + "value": [] + } + } + }, + "operationId": "Monitors_ListLinkableEnvironments", + "title": "Monitors_ListLinkableEnvironments_MinimumSet_Gen" +} diff --git a/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_ListMonitoredResources_MaximumSet_Gen.json b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_ListMonitoredResources_MaximumSet_Gen.json new file mode 100644 index 000000000000..17a190575954 --- /dev/null +++ b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_ListMonitoredResources_MaximumSet_Gen.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "api-version": "2024-04-24", + "monitorName": "myMonitor", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "request": { + "monitoredResourceIds": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/monitors/myMonitor/listMonitoredResources" + ] + } + }, + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Dynatrace.Observability/monitors?api-version=2024-04-24&$skiptoken=abc123", + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/monitors/myMonitor/listMonitoredResources", + "reasonForLogsStatus": "CapturedByRules", + "reasonForMetricsStatus": "CapturedByRules", + "sendingLogs": "Enabled", + "sendingMetrics": "Enabled" + } + ] + } + } + }, + "operationId": "Monitors_ListMonitoredResources", + "title": "Monitors_ListMonitoredResources_MaximumSet_Gen" +} diff --git a/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_ListMonitoredResources_MinimumSet_Gen.json b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_ListMonitoredResources_MinimumSet_Gen.json new file mode 100644 index 000000000000..981d9f1e272c --- /dev/null +++ b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_ListMonitoredResources_MinimumSet_Gen.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "api-version": "2024-04-24", + "monitorName": "myMonitor", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [] + } + } + }, + "operationId": "Monitors_ListMonitoredResources", + "title": "Monitors_ListMonitoredResources_MinimumSet_Gen" +} diff --git a/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_ManageAgentInstallation_MaximumSet_Gen.json b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_ManageAgentInstallation_MaximumSet_Gen.json new file mode 100644 index 000000000000..46e8613e4ccf --- /dev/null +++ b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_ManageAgentInstallation_MaximumSet_Gen.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "api-version": "2024-04-24", + "monitorName": "myMonitor", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "request": { + "action": "Install", + "manageAgentInstallationList": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/vmssName" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/vmssName2" + } + ] + } + }, + "responses": { + "204": {} + }, + "operationId": "Monitors_ManageAgentInstallation", + "title": "Monitors_ManageAgentInstallation_MaximumSet_Gen" +} diff --git a/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_ManageAgentInstallation_MinimumSet_Gen.json b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_ManageAgentInstallation_MinimumSet_Gen.json new file mode 100644 index 000000000000..13c69c40f5c2 --- /dev/null +++ b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_ManageAgentInstallation_MinimumSet_Gen.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2024-04-24", + "monitorName": "myMonitor", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "request": { + "action": "Uninstall", + "manageAgentInstallationList": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/vmssName" + } + ] + } + }, + "responses": { + "204": {} + }, + "operationId": "Monitors_ManageAgentInstallation", + "title": "Monitors_ManageAgentInstallation_MinimumSet_Gen" +} diff --git a/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_Update_MaximumSet_Gen.json b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_Update_MaximumSet_Gen.json new file mode 100644 index 000000000000..dfab083118f9 --- /dev/null +++ b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_Update_MaximumSet_Gen.json @@ -0,0 +1,91 @@ +{ + "parameters": { + "api-version": "2024-04-24", + "monitorName": "myMonitor", + "resource": { + "properties": { + "planData": { + "billingCycle": "Monthly", + "effectiveDate": "2019-08-30T15:14:33+02:00", + "planDetails": "dynatraceapitestplan", + "usageType": "Committed" + } + }, + "tags": { + "Environment": "Dev" + } + }, + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myMonitor", + "type": "Dynatrace.Observability/monitors", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor", + "identity": { + "type": "SystemAssigned", + "principalId": "4534676867978", + "tenantId": "23456789001" + }, + "location": "West US 2", + "properties": { + "dynatraceEnvironmentProperties": { + "accountInfo": { + "accountId": "1234567890", + "companyName": "company", + "regionId": "wus2" + }, + "environmentInfo": { + "environmentId": "a23xcv456", + "ingestionKey": "1234567890", + "landingURL": "https://a23xcv456.dynatrace.com", + "logsIngestionEndpoint": "https://dynatrace.com" + }, + "singleSignOnProperties": { + "aadDomains": [ + "mpliftrdt20210811outlook.onmicrosoft.com" + ], + "enterpriseAppId": "00000000-0000-0000-0000-000000000000", + "singleSignOnState": "Enable", + "singleSignOnUrl": "https://www.dynatrace.io/IAmSomeHash" + }, + "userId": "alice123" + }, + "liftrResourceCategory": "Unknown", + "liftrResourcePreference": 28, + "marketplaceSubscriptionStatus": "Active", + "monitoringStatus": "Enabled", + "planData": { + "billingCycle": "Monthly", + "effectiveDate": "2019-08-30T15:14:33+02:00", + "planDetails": "dynatraceapitestplan", + "usageType": "Committed" + }, + "provisioningState": "Accepted", + "userInfo": { + "country": "westus2", + "emailAddress": "alice@microsoft.com", + "firstName": "Alice", + "lastName": "Bobab", + "phoneNumber": "123456" + } + }, + "systemData": { + "createdAt": "2021-07-16T04:25:21.040Z", + "createdBy": "alice@microsoft.com", + "createdByType": "User", + "lastModifiedAt": "2021-07-16T04:25:21.040Z", + "lastModifiedBy": "alice@microsoft.com", + "lastModifiedByType": "User" + }, + "tags": { + "Environment": "Dev" + } + } + } + }, + "operationId": "Monitors_Update", + "title": "Monitors_Update_MaximumSet_Gen" +} diff --git a/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_Update_MinimumSet_Gen.json b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_Update_MinimumSet_Gen.json new file mode 100644 index 000000000000..7b18c2e3506b --- /dev/null +++ b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_Update_MinimumSet_Gen.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2024-04-24", + "monitorName": "myMonitor", + "resource": {}, + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "location": "West US 2", + "properties": {} + } + } + }, + "operationId": "Monitors_Update", + "title": "Monitors_Update_MinimumSet_Gen" +} diff --git a/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_UpgradePlan_MaximumSet_Gen.json b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_UpgradePlan_MaximumSet_Gen.json new file mode 100644 index 000000000000..7f33c50c9200 --- /dev/null +++ b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_UpgradePlan_MaximumSet_Gen.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2024-04-24", + "monitorName": "myMonitor", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "request": { + "planData": { + "billingCycle": "Monthly", + "effectiveDate": "2019-08-30T15:14:33+02:00", + "planDetails": "dynatraceapitestplan", + "usageType": "Committed" + } + } + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + }, + "operationId": "Monitors_UpgradePlan", + "title": "Monitors_UpgradePlan_MaximumSet_Gen" +} diff --git a/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_UpgradePlan_MinimumSet_Gen.json b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_UpgradePlan_MinimumSet_Gen.json new file mode 100644 index 000000000000..d48911c3d9c2 --- /dev/null +++ b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Monitors_UpgradePlan_MinimumSet_Gen.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2024-04-24", + "monitorName": "myMonitor", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "request": { + "planData": { + "billingCycle": "Monthly", + "effectiveDate": "2019-08-30T15:14:33+02:00", + "planDetails": "dynatraceapitestplan", + "usageType": "Committed" + } + } + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + }, + "operationId": "Monitors_UpgradePlan", + "title": "Monitors_UpgradePlan_MinimumSet_Gen" +} diff --git a/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Operations_List_MaximumSet_Gen.json b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Operations_List_MaximumSet_Gen.json new file mode 100644 index 000000000000..9663aef508f8 --- /dev/null +++ b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Operations_List_MaximumSet_Gen.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "api-version": "2024-04-24" + }, + "responses": { + "200": { + "body": { + "nextLink": "http://testlink.com", + "value": [ + { + "name": "Dynatrace.Observability/monitors/write", + "actionType": "Internal", + "display": { + "description": "Write monitors resource", + "operation": "write", + "provider": "Dynatrace.Observability", + "resource": "monitors" + }, + "isDataAction": true, + "origin": "user" + } + ] + } + } + }, + "operationId": "Operations_List", + "title": "Operations_List_MaximumSet_Gen" +} diff --git a/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Operations_List_MinimumSet_Gen.json b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Operations_List_MinimumSet_Gen.json new file mode 100644 index 000000000000..ef07ac56fc7d --- /dev/null +++ b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/Operations_List_MinimumSet_Gen.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "api-version": "2024-04-24" + }, + "responses": { + "200": { + "body": {} + } + }, + "operationId": "Operations_List", + "title": "Operations_List_MinimumSet_Gen" +} diff --git a/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/SingleSignOn_CreateOrUpdate_MaximumSet_Gen.json b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/SingleSignOn_CreateOrUpdate_MaximumSet_Gen.json new file mode 100644 index 000000000000..9ba364a081b4 --- /dev/null +++ b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/SingleSignOn_CreateOrUpdate_MaximumSet_Gen.json @@ -0,0 +1,75 @@ +{ + "parameters": { + "api-version": "2024-04-24", + "configurationName": "default", + "monitorName": "myMonitor", + "resource": { + "properties": { + "aadDomains": [ + "mpliftrdt20210811outlook.onmicrosoft.com" + ], + "enterpriseAppId": "00000000-0000-0000-0000-000000000000", + "provisioningState": "Accepted", + "singleSignOnState": "Enable", + "singleSignOnUrl": "https://www.dynatrace.io" + } + }, + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Dynatrace.Observability/monitors", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor/singleSignOnConfigurations/default", + "properties": { + "aadDomains": [ + "mpliftrdt20210811outlook.onmicrosoft.com" + ], + "enterpriseAppId": "00000000-0000-0000-0000-000000000000", + "provisioningState": "Succeeded", + "singleSignOnState": "Enable", + "singleSignOnUrl": "https://www.dynatrace.io/IAmSomeHash" + }, + "systemData": { + "createdAt": "2021-07-16T04:25:21.040Z", + "createdBy": "alice@microsoft.com", + "createdByType": "User", + "lastModifiedAt": "2021-07-16T04:25:21.040Z", + "lastModifiedBy": "alice@microsoft.com", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "name": "default", + "type": "Dynatrace.Observability/monitors", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor/singleSignOnConfigurations/default", + "properties": { + "aadDomains": [ + "mpliftrdt20210811outlook.onmicrosoft.com" + ], + "enterpriseAppId": "00000000-0000-0000-0000-000000000000", + "provisioningState": "Accepted", + "singleSignOnState": "Enable", + "singleSignOnUrl": "https://www.dynatrace.io/IAmSomeHash" + }, + "systemData": { + "createdAt": "2021-07-16T04:25:21.040Z", + "createdBy": "alice@microsoft.com", + "createdByType": "User", + "lastModifiedAt": "2021-07-16T04:25:21.040Z", + "lastModifiedBy": "alice@microsoft.com", + "lastModifiedByType": "User" + } + }, + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + }, + "operationId": "SingleSignOn_CreateOrUpdate", + "title": "SingleSignOn_CreateOrUpdate_MaximumSet_Gen" +} diff --git a/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/SingleSignOn_CreateOrUpdate_MinimumSet_Gen.json b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/SingleSignOn_CreateOrUpdate_MinimumSet_Gen.json new file mode 100644 index 000000000000..6f83b2c94187 --- /dev/null +++ b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/SingleSignOn_CreateOrUpdate_MinimumSet_Gen.json @@ -0,0 +1,46 @@ +{ + "parameters": { + "api-version": "2024-04-24", + "configurationName": "default", + "monitorName": "myMonitor", + "resource": { + "properties": { + "aadDomains": [ + "mpliftrdt20210811outlook.onmicrosoft.com" + ], + "singleSignOnUrl": "https://www.dynatrace.io" + } + }, + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor/singleSignOnConfigurations/default", + "properties": { + "aadDomains": [ + "mpliftrdt20210811outlook.onmicrosoft.com" + ], + "singleSignOnUrl": "https://www.dynatrace.io/IAmSomeHash" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor/singleSignOnConfigurations/default", + "properties": { + "aadDomains": [ + "mpliftrdt20210811outlook.onmicrosoft.com" + ], + "singleSignOnUrl": "https://www.dynatrace.io/IAmSomeHash" + } + }, + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + }, + "operationId": "SingleSignOn_CreateOrUpdate", + "title": "SingleSignOn_CreateOrUpdate_MinimumSet_Gen" +} diff --git a/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/SingleSignOn_Get_MaximumSet_Gen.json b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/SingleSignOn_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..dc172680638d --- /dev/null +++ b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/SingleSignOn_Get_MaximumSet_Gen.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "api-version": "2024-04-24", + "configurationName": "default", + "monitorName": "myMonitor", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Dynatrace.Observability/monitors", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor/singleSignOnConfigurations/default", + "properties": { + "aadDomains": [ + "mpliftrdt20210811outlook.onmicrosoft.com" + ], + "enterpriseAppId": "00000000-0000-0000-0000-000000000000", + "provisioningState": "Succeeded", + "singleSignOnState": "Enable", + "singleSignOnUrl": "https://www.dynatrace.io/IAmSomeHash" + }, + "systemData": { + "createdAt": "2021-07-16T04:25:21.040Z", + "createdBy": "alice@microsoft.com", + "createdByType": "User", + "lastModifiedAt": "2021-07-16T04:25:21.040Z", + "lastModifiedBy": "alice@microsoft.com", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "SingleSignOn_Get", + "title": "SingleSignOn_Get_MaximumSet_Gen" +} diff --git a/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/SingleSignOn_Get_MinimumSet_Gen.json b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/SingleSignOn_Get_MinimumSet_Gen.json new file mode 100644 index 000000000000..b81a2a100d0f --- /dev/null +++ b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/SingleSignOn_Get_MinimumSet_Gen.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "api-version": "2024-04-24", + "configurationName": "default", + "monitorName": "myMonitor", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor/singleSignOnConfigurations/default", + "properties": { + "aadDomains": [ + "mpliftrdt20210811outlook.onmicrosoft.com" + ], + "singleSignOnUrl": "https://www.dynatrace.io/IAmSomeHash" + } + } + } + }, + "operationId": "SingleSignOn_Get", + "title": "SingleSignOn_Get_MinimumSet_Gen" +} diff --git a/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/SingleSignOn_List_MaximumSet_Gen.json b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/SingleSignOn_List_MaximumSet_Gen.json new file mode 100644 index 000000000000..d9b0c448dfa1 --- /dev/null +++ b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/SingleSignOn_List_MaximumSet_Gen.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "api-version": "2024-04-24", + "monitorName": "myMonitor", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Dynatrace.Observability/monitors?api-version=2024-04-24&$skiptoken=abc123", + "value": [ + { + "name": "default", + "type": "Dynatrace.Observability/monitors", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor/singleSignOnConfigurations/default", + "properties": { + "aadDomains": [ + "mpliftrdt20210811outlook.onmicrosoft.com" + ], + "enterpriseAppId": "00000000-0000-0000-0000-000000000000", + "provisioningState": "Succeeded", + "singleSignOnState": "Enable", + "singleSignOnUrl": "https://www.dynatrace.io/IAmSomeHash" + }, + "systemData": { + "createdAt": "2021-07-16T04:25:21.040Z", + "createdBy": "alice@microsoft.com", + "createdByType": "User", + "lastModifiedAt": "2021-07-16T04:25:21.040Z", + "lastModifiedBy": "alice@microsoft.com", + "lastModifiedByType": "User" + } + } + ] + } + } + }, + "operationId": "SingleSignOn_List", + "title": "SingleSignOn_List_MaximumSet_Gen" +} diff --git a/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/SingleSignOn_List_MinimumSet_Gen.json b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/SingleSignOn_List_MinimumSet_Gen.json new file mode 100644 index 000000000000..caefb792954b --- /dev/null +++ b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/SingleSignOn_List_MinimumSet_Gen.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "api-version": "2024-04-24", + "monitorName": "myMonitor", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Dynatrace.Observability/monitors?api-version=2024-04-24&$skiptoken=abc123", + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor/singleSignOnConfigurations/default", + "properties": { + "aadDomains": [ + "mpliftrdt20210811outlook.onmicrosoft.com" + ], + "singleSignOnUrl": "https://www.dynatrace.io/IAmSomeHash" + } + } + ] + } + } + }, + "operationId": "SingleSignOn_List", + "title": "SingleSignOn_List_MinimumSet_Gen" +} diff --git a/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/TagRules_CreateOrUpdate_MaximumSet_Gen.json b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/TagRules_CreateOrUpdate_MaximumSet_Gen.json new file mode 100644 index 000000000000..6d979c4646a1 --- /dev/null +++ b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/TagRules_CreateOrUpdate_MaximumSet_Gen.json @@ -0,0 +1,138 @@ +{ + "parameters": { + "api-version": "2024-04-24", + "monitorName": "myMonitor", + "resource": { + "properties": { + "logRules": { + "filteringTags": [ + { + "name": "Environment", + "action": "Include", + "value": "Prod" + }, + { + "name": "Environment", + "action": "Exclude", + "value": "Dev" + } + ], + "sendAadLogs": "Enabled", + "sendActivityLogs": "Enabled", + "sendSubscriptionLogs": "Enabled" + }, + "metricRules": { + "filteringTags": [ + { + "name": "Environment", + "action": "Include", + "value": "Prod" + } + ], + "sendingMetrics": "Enabled" + }, + "provisioningState": "Accepted" + } + }, + "resourceGroupName": "myResourceGroup", + "ruleSetName": "default", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Dynatrace.Observability/monitors/tagRules", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor/tagRules/default", + "properties": { + "logRules": { + "filteringTags": [ + { + "name": "Environment", + "action": "Include", + "value": "Prod" + }, + { + "name": "Environment", + "action": "Exclude", + "value": "Dev" + } + ], + "sendAadLogs": "Enabled", + "sendActivityLogs": "Enabled", + "sendSubscriptionLogs": "Enabled" + }, + "metricRules": { + "filteringTags": [ + { + "name": "Environment", + "action": "Include", + "value": "Prod" + } + ], + "sendingMetrics": "Enabled" + }, + "provisioningState": "Accepted" + }, + "systemData": { + "createdAt": "2021-07-16T04:25:21.040Z", + "createdBy": "alice@microsoft.com", + "createdByType": "User", + "lastModifiedAt": "2021-07-16T04:25:21.040Z", + "lastModifiedBy": "alice@microsoft.com", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "name": "default", + "type": "Dynatrace.Observability/monitors/tagRules", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor/tagRules/default", + "properties": { + "logRules": { + "filteringTags": [ + { + "name": "Environment", + "action": "Include", + "value": "Prod" + }, + { + "name": "Environment", + "action": "Exclude", + "value": "Dev" + } + ], + "sendAadLogs": "Enabled", + "sendActivityLogs": "Enabled", + "sendSubscriptionLogs": "Enabled" + }, + "metricRules": { + "filteringTags": [ + { + "name": "Environment", + "action": "Include", + "value": "Prod" + } + ], + "sendingMetrics": "Enabled" + }, + "provisioningState": "Accepted" + }, + "systemData": { + "createdAt": "2021-07-16T04:25:21.040Z", + "createdBy": "alice@microsoft.com", + "createdByType": "User", + "lastModifiedAt": "2021-07-16T04:25:21.040Z", + "lastModifiedBy": "alice@microsoft.com", + "lastModifiedByType": "User" + } + }, + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + }, + "operationId": "TagRules_CreateOrUpdate", + "title": "TagRules_CreateOrUpdate_MaximumSet_Gen" +} diff --git a/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/TagRules_CreateOrUpdate_MinimumSet_Gen.json b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/TagRules_CreateOrUpdate_MinimumSet_Gen.json new file mode 100644 index 000000000000..3f2be913da0a --- /dev/null +++ b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/TagRules_CreateOrUpdate_MinimumSet_Gen.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "api-version": "2024-04-24", + "monitorName": "myMonitor", + "resource": { + "properties": {} + }, + "resourceGroupName": "myResourceGroup", + "ruleSetName": "default", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor/tagRules/default", + "properties": {} + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor/tagRules/default", + "properties": {} + }, + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + }, + "operationId": "TagRules_CreateOrUpdate", + "title": "TagRules_CreateOrUpdate_MinimumSet_Gen" +} diff --git a/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/TagRules_Delete_MaximumSet_Gen.json b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/TagRules_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..399bb76a3e8d --- /dev/null +++ b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/TagRules_Delete_MaximumSet_Gen.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2024-04-24", + "monitorName": "myMonitor", + "resourceGroupName": "myResourceGroup", + "ruleSetName": "default", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + }, + "204": {} + }, + "operationId": "TagRules_Delete", + "title": "TagRules_Delete_MaximumSet_Gen" +} diff --git a/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/TagRules_Delete_MinimumSet_Gen.json b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/TagRules_Delete_MinimumSet_Gen.json new file mode 100644 index 000000000000..ffa96fce6001 --- /dev/null +++ b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/TagRules_Delete_MinimumSet_Gen.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2024-04-24", + "monitorName": "myMonitor", + "resourceGroupName": "myResourceGroup", + "ruleSetName": "default", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + }, + "204": {} + }, + "operationId": "TagRules_Delete", + "title": "TagRules_Delete_MinimumSet_Gen" +} diff --git a/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/TagRules_Get_MaximumSet_Gen.json b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/TagRules_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..8b5245ab984f --- /dev/null +++ b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/TagRules_Get_MaximumSet_Gen.json @@ -0,0 +1,58 @@ +{ + "parameters": { + "api-version": "2024-04-24", + "monitorName": "myMonitor", + "resourceGroupName": "myResourceGroup", + "ruleSetName": "default", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Dynatrace.Observability/monitors/tagRules", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor/tagRules/default", + "properties": { + "logRules": { + "filteringTags": [ + { + "name": "Environment", + "action": "Include", + "value": "Prod" + }, + { + "name": "Environment", + "action": "Exclude", + "value": "Dev" + } + ], + "sendAadLogs": "Enabled", + "sendActivityLogs": "Enabled", + "sendSubscriptionLogs": "Enabled" + }, + "metricRules": { + "filteringTags": [ + { + "name": "Environment", + "action": "Include", + "value": "Prod" + } + ], + "sendingMetrics": "Enabled" + }, + "provisioningState": "Accepted" + }, + "systemData": { + "createdAt": "2021-07-16T04:25:21.040Z", + "createdBy": "alice@microsoft.com", + "createdByType": "User", + "lastModifiedAt": "2021-07-16T04:25:21.040Z", + "lastModifiedBy": "alice@microsoft.com", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "TagRules_Get", + "title": "TagRules_Get_MaximumSet_Gen" +} diff --git a/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/TagRules_Get_MinimumSet_Gen.json b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/TagRules_Get_MinimumSet_Gen.json new file mode 100644 index 000000000000..ed9531535937 --- /dev/null +++ b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/TagRules_Get_MinimumSet_Gen.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2024-04-24", + "monitorName": "myMonitor", + "resourceGroupName": "myResourceGroup", + "ruleSetName": "default", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor/tagRules/default", + "properties": {} + } + } + }, + "operationId": "TagRules_Get", + "title": "TagRules_Get_MinimumSet_Gen" +} diff --git a/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/TagRules_List_MaximumSet_Gen.json b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/TagRules_List_MaximumSet_Gen.json new file mode 100644 index 000000000000..5c56b535511d --- /dev/null +++ b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/TagRules_List_MaximumSet_Gen.json @@ -0,0 +1,62 @@ +{ + "parameters": { + "api-version": "2024-04-24", + "monitorName": "myMonitor", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Dynatrace.Observability/monitors?api-version=2024-04-24&$skiptoken=abc123", + "value": [ + { + "name": "default", + "type": "Dynatrace.Observability/monitors/tagRules", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor/tagRules/default", + "properties": { + "logRules": { + "filteringTags": [ + { + "name": "Environment", + "action": "Include", + "value": "Prod" + }, + { + "name": "Environment", + "action": "Exclude", + "value": "Dev" + } + ], + "sendAadLogs": "Enabled", + "sendActivityLogs": "Enabled", + "sendSubscriptionLogs": "Enabled" + }, + "metricRules": { + "filteringTags": [ + { + "name": "Environment", + "action": "Include", + "value": "Prod" + } + ], + "sendingMetrics": "Enabled" + }, + "provisioningState": "Accepted" + }, + "systemData": { + "createdAt": "2021-07-16T04:25:21.040Z", + "createdBy": "alice@microsoft.com", + "createdByType": "User", + "lastModifiedAt": "2021-07-16T04:25:21.040Z", + "lastModifiedBy": "alice@microsoft.com", + "lastModifiedByType": "User" + } + } + ] + } + } + }, + "operationId": "TagRules_List", + "title": "TagRules_List_MaximumSet_Gen" +} diff --git a/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/TagRules_List_MinimumSet_Gen.json b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/TagRules_List_MinimumSet_Gen.json new file mode 100644 index 000000000000..975bc533de0b --- /dev/null +++ b/specification/dynatrace/Dynatrace.Management/examples/2024-04-24/TagRules_List_MinimumSet_Gen.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "api-version": "2024-04-24", + "monitorName": "myMonitor", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Dynatrace.Observability/monitors?api-version=2024-04-24&$skiptoken=abc123", + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor/tagRules/default", + "properties": {} + } + ] + } + } + }, + "operationId": "TagRules_List", + "title": "TagRules_List_MinimumSet_Gen" +} diff --git a/specification/dynatrace/Dynatrace.Management/main.tsp b/specification/dynatrace/Dynatrace.Management/main.tsp new file mode 100644 index 000000000000..da763f856e1b --- /dev/null +++ b/specification/dynatrace/Dynatrace.Management/main.tsp @@ -0,0 +1,44 @@ +/** + * PLEASE DO NOT REMOVE - USED FOR CONVERTER METRICS + * Generated by package: @autorest/openapi-to-typespec + * Parameters used: + * isFullCompatible: true + * guessResourceKey: false + * Version: 0.11.4 + * Date: 2025-07-21T07:56:59.578Z + */ +import "@typespec/rest"; +import "@typespec/versioning"; +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "./models.tsp"; +import "./back-compatible.tsp"; +import "./MonitorResource.tsp"; +import "./MonitoredSubscriptionProperties.tsp"; +import "./TagRule.tsp"; +import "./DynatraceSingleSignOnResource.tsp"; +import "./routes.tsp"; + +using TypeSpec.Rest; +using TypeSpec.Http; +using Azure.ResourceManager.Foundations; +using Azure.Core; +using Azure.ResourceManager; +using TypeSpec.Versioning; +@armProviderNamespace +@service(#{ title: "Dynatrace.Observability" }) +@versioned(Versions) +@armCommonTypesVersion(Azure.ResourceManager.CommonTypes.Versions.v5) +namespace Dynatrace.Observability; + +/** + * The available API versions. + */ +enum Versions { + /** + * The 2024-04-24 API version. + */ + v2024_04_24: "2024-04-24", +} + +interface Operations extends Azure.ResourceManager.Operations {} diff --git a/specification/dynatrace/Dynatrace.Management/models.tsp b/specification/dynatrace/Dynatrace.Management/models.tsp new file mode 100644 index 000000000000..57fd50f84458 --- /dev/null +++ b/specification/dynatrace/Dynatrace.Management/models.tsp @@ -0,0 +1,1193 @@ +import "@typespec/rest"; +import "@typespec/http"; +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; + +using Azure.ResourceManager; +using Azure.ResourceManager.Foundations; + +namespace Dynatrace.Observability; + +/** + * Indicates whether metrics are being sent. + */ +union SendingMetricsStatus { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FixME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Enabled: "Enabled", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FixME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Disabled: "Disabled", +} + +/** + * Indicates whether logs are being sent. + */ +union SendingLogsStatus { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FixME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Enabled: "Enabled", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FixME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Disabled: "Disabled", +} + +/** + * The operation for the patch on the resource. + */ +union SubscriptionListOperation { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FixME: Update justification, follow aka.ms/tsp/conversion-fix for details" + AddBegin: "AddBegin", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FixME: Update justification, follow aka.ms/tsp/conversion-fix for details" + AddComplete: "AddComplete", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FixME: Update justification, follow aka.ms/tsp/conversion-fix for details" + DeleteBegin: "DeleteBegin", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FixME: Update justification, follow aka.ms/tsp/conversion-fix for details" + DeleteComplete: "DeleteComplete", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FixME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Active: "Active", +} + +/** + * The state of monitoring. + */ +union Status { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FixME: Update justification, follow aka.ms/tsp/conversion-fix for details" + InProgress: "InProgress", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FixME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Active: "Active", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FixME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Failed: "Failed", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FixME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Deleting: "Deleting", +} + +/** + * Indicates whether AAD logs are being sent. + */ +union SendAadLogsStatus { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FixME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Enabled: "Enabled", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FixME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Disabled: "Disabled", +} + +/** + * Indicates whether subscription logs are being sent. + */ +union SendSubscriptionLogsStatus { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FixME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Enabled: "Enabled", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FixME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Disabled: "Disabled", +} + +/** + * Indicates whether activity logs are being sent. + */ +union SendActivityLogsStatus { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FixME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Enabled: "Enabled", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FixME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Disabled: "Disabled", +} + +/** + * Valid actions for a filtering tag. Exclusion takes priority over inclusion. + */ +union TagAction { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FixME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Include: "Include", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FixME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Exclude: "Exclude", +} + +/** + * Provisioning state of the monitoring resource + */ +union ProvisioningState { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FixME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Accepted: "Accepted", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FixME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Creating: "Creating", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FixME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Updating: "Updating", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FixME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Deleting: "Deleting", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FixME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Succeeded: "Succeeded", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FixME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Failed: "Failed", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FixME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Canceled: "Canceled", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FixME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Deleted: "Deleted", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FixME: Update justification, follow aka.ms/tsp/conversion-fix for details" + NotSpecified: "NotSpecified", +} + +/** + * Install/Uninstall action. + */ +union Action { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FixME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Install: "Install", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FixME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Uninstall: "Uninstall", +} + +/** + * Flag specifying if the resource monitoring is enabled or disabled. + */ +union MonitoringStatus { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FixME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Enabled: "Enabled", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FixME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Disabled: "Disabled", +} + +/** + * Flag specifying the Marketplace Subscription Status of the resource. If payment is not made in time, the resource will go in Suspended state. + */ +union MarketplaceSubscriptionStatus { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FixME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Active: "Active", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FixME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Suspended: "Suspended", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FixME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Unsubscribed: "Unsubscribed", +} + +/** + * Marketplace resource autorenew flag + */ +union MarketplaceSaasAutoRenew { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FixME: Update justification, follow aka.ms/tsp/conversion-fix for details" + On: "On", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FixME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Off: "Off", +} + +/** + * Various states of the SSO resource + */ +union SingleSignOnStates { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FixME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Initial: "Initial", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FixME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Enable: "Enable", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FixME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Disable: "Disable", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FixME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Existing: "Existing", +} + +/** + * Liftr resource category + */ +union LiftrResourceCategories { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FixME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Unknown: "Unknown", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FixME: Update justification, follow aka.ms/tsp/conversion-fix for details" + MonitorLogs: "MonitorLogs", +} + +/** + * The kind of managed identity assigned to this resource. + */ +union ManagedIdentityType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FixME: Update justification, follow aka.ms/tsp/conversion-fix for details" + SystemAssigned: "SystemAssigned", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FixME: Update justification, follow aka.ms/tsp/conversion-fix for details" + UserAssigned: "UserAssigned", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FixME: Update justification, follow aka.ms/tsp/conversion-fix for details" + SystemAndUserAssigned: "SystemAndUserAssigned", +} + +/** + * The type of identity that created the resource. + */ +union CreatedByType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FixME: Update justification, follow aka.ms/tsp/conversion-fix for details" + User: "User", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FixME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Application: "Application", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FixME: Update justification, follow aka.ms/tsp/conversion-fix for details" + ManagedIdentity: "ManagedIdentity", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FixME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Key: "Key", +} + +/** + * The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system" + */ +union Origin { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FixME: Update justification, follow aka.ms/tsp/conversion-fix for details" + user: "user", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FixME: Update justification, follow aka.ms/tsp/conversion-fix for details" + system: "system", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FixME: Update justification, follow aka.ms/tsp/conversion-fix for details" + `user,system`: "user,system", +} + +/** + * Enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs. + */ +union ActionType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FixME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Internal: "Internal", +} + +/** + * The monitoring mode of OneAgent + */ +union MonitoringType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FixME: Update justification, follow aka.ms/tsp/conversion-fix for details" + CLOUD_INFRASTRUCTURE: "CLOUD_INFRASTRUCTURE", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FixME: Update justification, follow aka.ms/tsp/conversion-fix for details" + FULL_STACK: "FULL_STACK", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FixME: Update justification, follow aka.ms/tsp/conversion-fix for details" + DISCOVERY: "DISCOVERY", +} + +/** + * Update settings of OneAgent. + */ +union AutoUpdateSetting { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FixME: Update justification, follow aka.ms/tsp/conversion-fix for details" + ENABLED: "ENABLED", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FixME: Update justification, follow aka.ms/tsp/conversion-fix for details" + DISABLED: "DISABLED", +} + +/** + * The current update status of OneAgent. + */ +union UpdateStatus { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FixME: Update justification, follow aka.ms/tsp/conversion-fix for details" + INCOMPATIBLE: "INCOMPATIBLE", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FixME: Update justification, follow aka.ms/tsp/conversion-fix for details" + OUTDATED: "OUTDATED", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FixME: Update justification, follow aka.ms/tsp/conversion-fix for details" + SCHEDULED: "SCHEDULED", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FixME: Update justification, follow aka.ms/tsp/conversion-fix for details" + SUPPRESSED: "SUPPRESSED", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FixME: Update justification, follow aka.ms/tsp/conversion-fix for details" + UNKNOWN: "UNKNOWN", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FixME: Update justification, follow aka.ms/tsp/conversion-fix for details" + UP2DATE: "UP2DATE", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FixME: Update justification, follow aka.ms/tsp/conversion-fix for details" + UPDATE_IN_PROGRESS: "UPDATE_IN_PROGRESS", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FixME: Update justification, follow aka.ms/tsp/conversion-fix for details" + UPDATE_PENDING: "UPDATE_PENDING", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FixME: Update justification, follow aka.ms/tsp/conversion-fix for details" + UPDATE_PROBLEM: "UPDATE_PROBLEM", +} + +/** + * The availability state of OneAgent. + */ +union AvailabilityState { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FixME: Update justification, follow aka.ms/tsp/conversion-fix for details" + CRASHED: "CRASHED", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FixME: Update justification, follow aka.ms/tsp/conversion-fix for details" + LOST: "LOST", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FixME: Update justification, follow aka.ms/tsp/conversion-fix for details" + MONITORED: "MONITORED", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FixME: Update justification, follow aka.ms/tsp/conversion-fix for details" + PRE_MONITORED: "PRE_MONITORED", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FixME: Update justification, follow aka.ms/tsp/conversion-fix for details" + SHUTDOWN: "SHUTDOWN", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FixME: Update justification, follow aka.ms/tsp/conversion-fix for details" + UNEXPECTED_SHUTDOWN: "UNEXPECTED_SHUTDOWN", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FixME: Update justification, follow aka.ms/tsp/conversion-fix for details" + UNKNOWN: "UNKNOWN", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FixME: Update justification, follow aka.ms/tsp/conversion-fix for details" + UNMONITORED: "UNMONITORED", +} + +/** + * Tells whether log modules are enabled or not + */ +union LogModule { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FixME: Update justification, follow aka.ms/tsp/conversion-fix for details" + ENABLED: "ENABLED", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FixME: Update justification, follow aka.ms/tsp/conversion-fix for details" + DISABLED: "DISABLED", +} + +/** + * Indicates whether SSO is enabled or not + */ +union SSOStatus { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FixME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Enabled: "Enabled", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FixME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Disabled: "Disabled", +} + +/** + * Request for getting log status for given monitored resource Ids + */ +model LogStatusRequest { + /** + * List of azure resource Id of monitored resources for which we get the log status + */ + monitoredResourceIds?: string[]; +} + +/** + * List of all the resources being monitored by Dynatrace monitor resource + */ +model MonitoredResourceListResponse is Azure.Core.Page; + +/** + * Details of resource being monitored by Dynatrace monitor resource + */ +model MonitoredResource { + /** + * The ARM id of the resource. + */ + id?: string; + + /** + * Flag indicating if resource is sending metrics to Dynatrace. + */ + sendingMetrics?: SendingMetricsStatus; + + /** + * Reason for why the resource is sending metrics (or why it is not sending). + */ + reasonForMetricsStatus?: string; + + /** + * Flag indicating if resource is sending logs to Dynatrace. + */ + sendingLogs?: SendingLogsStatus; + + /** + * Reason for why the resource is sending logs (or why it is not sending). + */ + reasonForLogsStatus?: string; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FixME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model MonitoredSubscriptionPropertiesList + is Azure.Core.Page; + +/** + * The request to update subscriptions needed to be monitored by the Dynatrace monitor resource. + */ +model SubscriptionList { + /** + * The operation for the patch on the resource. + */ + @visibility(Lifecycle.Create, Lifecycle.Update) + operation?: SubscriptionListOperation; + + /** + * List of subscriptions and the state of the monitoring. + */ + @identifiers(#[]) + monitoredSubscriptionList?: MonitoredSubscription[]; + + /** + * Provisioning State of the resource + */ + @visibility(Lifecycle.Read) + provisioningState?: ProvisioningState; +} + +/** + * The list of subscriptions and it's monitoring status by current Dynatrace monitor. + */ +model MonitoredSubscription { + /** + * The subscriptionId to be monitored. + */ + subscriptionId: string; + + /** + * The state of monitoring. + */ + status?: Status; + + /** + * The reason of not monitoring the subscription. + */ + error?: string; + + /** + * Properties for the Tag rules resource of a Monitor account. + */ + tagRules?: MonitoringTagRulesProperties; +} + +/** + * Properties for the Tag rules resource of a Monitor account. + */ +model MonitoringTagRulesProperties { + /** + * Set of rules for sending logs for the Monitor resource. + */ + logRules?: LogRules; + + /** + * Set of rules for sending metrics for the Monitor resource. + */ + metricRules?: MetricRules; + + /** + * Provisioning state of the resource. + */ + @visibility(Lifecycle.Read) + provisioningState?: ProvisioningState; +} + +/** + * Set of rules for sending logs for the Monitor resource. + */ +model LogRules { + /** + * Flag specifying if AAD logs should be sent for the Monitor resource. + */ + sendAadLogs?: SendAadLogsStatus; + + /** + * Flag specifying if subscription logs should be sent for the Monitor resource. + */ + sendSubscriptionLogs?: SendSubscriptionLogsStatus; + + /** + * Flag specifying if activity logs from Azure resources should be sent for the Monitor resource. + */ + sendActivityLogs?: SendActivityLogsStatus; + + /** + * List of filtering tags to be used for capturing logs. This only takes effect if SendActivityLogs flag is enabled. If empty, all resources will be captured. + * If only Exclude action is specified, the rules will apply to the list of all available resources. If Include actions are specified, the rules will only include resources with the associated tags. + */ + @identifiers(#[]) + filteringTags?: FilteringTag[]; +} + +/** + * The definition of a filtering tag. Filtering tags are used for capturing resources and include/exclude them from being monitored. + */ +model FilteringTag { + /** + * The name (also known as the key) of the tag. + */ + name?: string; + + /** + * The value of the tag. + */ + value?: string; + + /** + * Valid actions for a filtering tag. Exclusion takes priority over inclusion. + */ + action?: TagAction; +} + +/** + * Set of rules for sending metrics for the Monitor resource. + */ +model MetricRules { + /** + * Flag specifying if metrics from Azure resources should be sent for the Monitor resource. + */ + sendingMetrics?: SendingMetricsStatus; + + /** + * List of filtering tags to be used for capturing metrics. If empty, all resources will be captured. If only Exclude action is specified, the rules will apply to the list of all available resources. If Include actions are specified, the rules will only include resources with the associated tags. + */ + @identifiers(#[]) + filteringTags?: FilteringTag[]; +} + +/** + * Dynatrace resource can be created or not. + */ +model CreateResourceSupportedResponse { + /** + * Represents the properties of the resource. + */ + @identifiers(#[]) + value?: CreateResourceSupportedProperties[]; + + /** + * The link to the next page of items + */ + nextLink?: string; +} + +/** + * Properties related to the support for creating Dynatrace resources. + */ +model CreateResourceSupportedProperties { + /** + * The ARM id of the subscription. + */ + @visibility(Lifecycle.Read) + name?: string; + + /** + * Indicates if selected subscription supports Dynatrace resource creation, if not it is already being monitored for the selected organization via multi subscription feature. + */ + @visibility(Lifecycle.Read) + creationSupported?: boolean; +} + +/** + * Response of payload to be passed while installing VM agent. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model VMExtensionPayload { + /** + * Ingestion key of the environment + */ + #suppress "@azure-tools/typespec-azure-resource-manager/secret-prop" "FIXME: if this is a value that should be kept private, mark as @secret" + ingestionKey?: string; + + /** + * Id of the environment created + */ + environmentId?: string; +} + +/** + * Request for performing Dynatrace agent install/uninstall action through the Azure Dynatrace resource on the provided list of agent resources. + */ +model ManageAgentInstallationRequest { + /** + * The list of resources. + */ + manageAgentInstallationList: ManageAgentList[]; + + /** + * Install/Uninstall action. + */ + action: Action; +} + +/** + * Details of resource that has Dynatrace agent installed through the Azure Dynatrace resource. + */ +model ManageAgentList { + /** + * The ARM id of the resource to install/uninstall agent. + */ + id?: string; +} + +/** + * Properties specific to the monitor resource. + */ +model MonitorProperties { + /** + * Status of the monitor. + */ + monitoringStatus?: MonitoringStatus; + + /** + * Marketplace subscription status. + */ + marketplaceSubscriptionStatus?: MarketplaceSubscriptionStatus; + + /** + * Marketplace resource autorenew flag + */ + marketplaceSaasAutoRenew?: MarketplaceSaasAutoRenew; + + /** + * Properties of the Dynatrace environment. + */ + dynatraceEnvironmentProperties?: DynatraceEnvironmentProperties; + + /** + * User info. + */ + userInfo?: UserInfo; + + /** + * Billing plan information. + */ + planData?: PlanData; + + /** + * Liftr Resource category. + */ + @visibility(Lifecycle.Read) + liftrResourceCategory?: LiftrResourceCategories; + + /** + * The priority of the resource. + */ + @visibility(Lifecycle.Read) + liftrResourcePreference?: int32; + + /** + * Provisioning state of the resource. + */ + @visibility(Lifecycle.Read) + provisioningState?: ProvisioningState; +} + +/** + * Properties of the Dynatrace environment. + */ +model DynatraceEnvironmentProperties { + /** + * User id + */ + userId?: string; + + /** + * Dynatrace Account Information + */ + accountInfo?: AccountInfo; + + /** + * Dynatrace Environment Information + */ + environmentInfo?: EnvironmentInfo; + + /** + * The details of a Dynatrace single sign-on. + */ + singleSignOnProperties?: DynatraceSingleSignOnProperties; +} + +/** + * Dynatrace Account Information + */ +model AccountInfo { + /** + * Account Id of the account this environment is linked to + */ + accountId?: string; + + /** + * Region in which the account is created + */ + regionId?: string; + + /** + * Name of the customer account / company + */ + companyName?: string; +} + +/** + * Dynatrace Environment Information + */ +model EnvironmentInfo { + /** + * Id of the environment created + */ + environmentId?: string; + + /** + * Ingestion key of the environment + */ + #suppress "@azure-tools/typespec-azure-resource-manager/secret-prop" "If this is a value that should be kept private, mark as @secret" + ingestionKey?: string; + + /** + * Ingestion endpoint used for sending logs + */ + logsIngestionEndpoint?: string; + + /** + * Landing URL for Dynatrace environment + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + landingURL?: string; +} + +/** + * The details of a Dynatrace single sign-on. + */ +model DynatraceSingleSignOnProperties { + /** + * State of Single Sign On + */ + singleSignOnState?: SingleSignOnStates; + + /** + * Version of the Dynatrace agent installed on the VM. + */ + enterpriseAppId?: string; + + /** + * The login URL specific to this Dynatrace Environment + */ + singleSignOnUrl?: string; + + /** + * array of Aad(azure active directory) domains + */ + aadDomains?: string[]; + + /** + * Provisioning state of the resource. + */ + @visibility(Lifecycle.Read) + provisioningState?: ProvisioningState; +} + +/** + * User info. + */ +model UserInfo { + /** + * First Name of the user + */ + firstName?: string; + + /** + * Last Name of the user + */ + lastName?: string; + + /** + * Email of the user used by Dynatrace for contacting them if needed + */ + @pattern("^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\\.)+[A-Za-z]{2,}$") + emailAddress?: string; + + /** + * Phone number of the user used by Dynatrace for contacting them if needed + */ + @maxLength(40) + phoneNumber?: string; + + /** + * Country of the user + */ + country?: string; +} + +/** + * Billing plan information. + */ +model PlanData { + /** + * different usage type like PAYG/COMMITTED. this could be enum + */ + usageType?: string; + + /** + * different billing cycles like MONTHLY/WEEKLY. this could be enum + */ + billingCycle?: string; + + /** + * plan id as published by Dynatrace + */ + planDetails?: string; + + /** + * date when plan was applied + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + effectiveDate?: utcDateTime; +} + +/** + * The properties of the managed service identities assigned to this resource. + */ +model IdentityProperties { + /** + * The Active Directory tenant id of the principal. + */ + @visibility(Lifecycle.Read) + tenantId?: string; + + /** + * The active directory identifier of this principal. + */ + @visibility(Lifecycle.Read) + principalId?: string; + + /** + * The type of managed identity assigned to this resource. + */ + type: ManagedIdentityType; + + /** + * The identities assigned to this resource by the user. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "FixME: Update justification, follow aka.ms/tsp/conversion-fix for details" + userAssignedIdentities?: Record; +} + +/** + * The updatable properties of the MonitorResource. + */ +model MonitorResourceUpdate { + /** + * Resource tags. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "FixME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Read, Lifecycle.Create, Lifecycle.Update) + tags?: Record; + + /** + * The set of properties that can be updated in a PATCH request to a monitor resource. + */ + properties?: MonitorUpdateProperties; + + /** + * The managed service identities assigned to this resource. + */ + identity?: Azure.ResourceManager.CommonTypes.ManagedServiceIdentity; +} + +/** + * The set of properties that can be updated in a PATCH request to a monitor resource. + */ +model MonitorUpdateProperties { + /** + * The new Billing plan information. + */ + planData?: PlanData; +} + +/** + * Localized display information for this particular operation. + */ +model OperationDisplay { + /** + * The localized friendly form of the resource provider name, e.g. "Microsoft Monitoring Insights" or "Microsoft Compute". + */ + @visibility(Lifecycle.Read) + provider?: string; + + /** + * The localized friendly name of the resource type related to this operation. E.g. "Virtual Machines" or "Job Schedule Collections". + */ + @visibility(Lifecycle.Read) + resource?: string; + + /** + * The concise, localized friendly name for the operation; suitable for dropdowns. E.g. "Create or Update Virtual Machine", "Restart Virtual Machine". + */ + @visibility(Lifecycle.Read) + operation?: string; + + /** + * The short, localized friendly description of the operation; suitable for tool tips and detailed views. + */ + @visibility(Lifecycle.Read) + description?: string; +} + +/** + * Request for getting connected resources count for a Marketplace Subscription Id + */ +model MarketplaceSubscriptionIdRequest { + /** + * Marketplace Subscription Id + */ + marketplaceSubscriptionId: string; +} + +/** + * Response for getting Connected resources for a MP SaaS Resource + */ +model ConnectedResourcesCountResponse { + /** + * Count of the connected resources + */ + connectedResourcesCount?: int64; +} + +/** + * Request for getting Marketplace SaaS resource details for a tenant Id + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model MarketplaceSaaSResourceDetailsRequest { + /** + * Tenant Id + */ + tenantId: string; +} + +/** + * Marketplace SaaS resource details linked to the given tenant Id + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model MarketplaceSaaSResourceDetailsResponse { + /** + * Id of the Marketplace SaaS Resource + */ + marketplaceSaaSResourceId?: string; + + /** + * Id of the plan + */ + planId?: string; + + /** + * Marketplace subscription status + */ + marketplaceSubscriptionStatus?: MarketplaceSubscriptionStatus; + + /** + * Name of the Marketplace SaaS Resource + */ + marketplaceSaaSResourceName?: string; +} + +/** + * Response of a list VM Host Operation. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model VMHostsListResponse is Azure.Core.Page; + +/** + * Details of VM Resource having Dynatrace OneAgent installed + */ +model VMInfo { + /** + * Azure VM resource ID + */ + resourceId?: string; + + /** + * Version of the Dynatrace agent installed on the VM. + */ + version?: string; + + /** + * The monitoring mode of OneAgent + */ + monitoringType?: MonitoringType; + + /** + * Update settings of OneAgent. + */ + autoUpdateSetting?: AutoUpdateSetting; + + /** + * The current update status of OneAgent. + */ + updateStatus?: UpdateStatus; + + /** + * The availability state of OneAgent. + */ + availabilityState?: AvailabilityState; + + /** + * Tells whether log modules are enabled or not + */ + logModule?: LogModule; + + /** + * The name of the host group + */ + hostGroup?: string; + + /** + * The name of the host + */ + hostName?: string; +} + +/** + * Request for getting metric status for given monitored resource Ids + */ +model MetricStatusRequest { + /** + * List of azure resource Id of monitored resources for which we get the metric status + */ + monitoredResourceIds?: string[]; +} + +/** + * Response of get metrics status operation + */ +model MetricsStatusResponse { + /** + * Azure resource IDs + */ + azureResourceIds?: string[]; +} + +/** + * Response of a list App Services Operation. + */ +model AppServiceListResponse is Azure.Core.Page; + +/** + * Details of App Services having Dynatrace OneAgent installed + */ +model AppServiceInfo { + /** + * App service resource ID + */ + resourceId?: string; + + /** + * Version of the Dynatrace agent installed on the App Service. + */ + version?: string; + + /** + * The monitoring mode of OneAgent + */ + monitoringType?: MonitoringType; + + /** + * Update settings of OneAgent. + */ + autoUpdateSetting?: AutoUpdateSetting; + + /** + * The current update status of OneAgent. + */ + updateStatus?: UpdateStatus; + + /** + * The availability state of OneAgent. + */ + availabilityState?: AvailabilityState; + + /** + * Tells whether log modules are enabled or not + */ + logModule?: LogModule; + + /** + * The name of the host group + */ + hostGroup?: string; + + /** + * The name of the host + */ + hostName?: string; +} + +/** + * The billing plan properties for the upgrade plan call. + */ +model UpgradePlanRequest { + /** + * The new Billing plan information. + */ + planData?: PlanData; +} + +/** + * Request for getting sso details for a user + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model SSODetailsRequest { + /** + * user principal id of the user + */ + userPrincipal: string; +} + +/** + * SSO details from the Dynatrace partner + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model SSODetailsResponse { + /** + * Whether the SSO is enabled for this resource or not. + */ + isSsoEnabled?: SSOStatus; + + /** + * URL for Azure AD metadata + */ + metadataUrl?: string; + + /** + * The login URL specific to this Dynatrace Environment + */ + singleSignOnUrl?: string; + + /** + * array of Aad(azure active directory) domains + */ + aadDomains?: string[]; + + /** + * Array of admin user emails. + */ + adminUsers?: string[]; +} + +/** + * Request for getting all the linkable environments for a user + */ +model LinkableEnvironmentRequest { + /** + * Tenant Id of the user in which they want to link the environment + */ + tenantId: string; + + /** + * user principal id of the user + */ + userPrincipal: string; + + /** + * Azure region in which we want to link the environment + */ + region: string; +} + +/** + * Response for getting all the linkable environments + */ +model LinkableEnvironmentListResponse + is Azure.Core.Page; + +/** + * Response for getting all the linkable environments + */ +model LinkableEnvironmentResponse { + /** + * environment id for which user is an admin + */ + environmentId?: string; + + /** + * Name of the environment + */ + environmentName?: string; + + /** + * Billing plan information. + */ + planData?: PlanData; +} diff --git a/specification/dynatrace/Dynatrace.Management/routes.tsp b/specification/dynatrace/Dynatrace.Management/routes.tsp new file mode 100644 index 000000000000..ef7916d39ed7 --- /dev/null +++ b/specification/dynatrace/Dynatrace.Management/routes.tsp @@ -0,0 +1,79 @@ +// FIXME: Operations in this file are not detected as a resource operation, please confirm the conversion result manually + +import "@azure-tools/typespec-azure-core"; +import "@typespec/rest"; +import "./models.tsp"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; + +using TypeSpec.Rest; +using TypeSpec.Http; +using Azure.ResourceManager; +using TypeSpec.OpenAPI; + +namespace Dynatrace.Observability; + +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" "FixME: Update justification, follow aka.ms/tsp/conversion-fix for details" +interface MonitorsOperationGroup { + /** + * Get the total number of connected resources for the given marketplace subscription Id + */ + @autoRoute + getAllConnectedResourcesCount is ArmProviderActionSync< + Request = MarketplaceSubscriptionIdRequest, + Response = ConnectedResourcesCountResponse, + Scope = SubscriptionActionScope, + Parameters = {} + >; + /** + * Get Marketplace SaaS resource details + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FixME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @autoRoute + getMarketplaceSaaSResourceDetails is ArmProviderActionSync< + Request = MarketplaceSaaSResourceDetailsRequest, + Response = MarketplaceSaaSResourceDetailsResponse, + Scope = SubscriptionActionScope, + Parameters = {} + >; +} + +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" "FixME: Update justification, follow aka.ms/tsp/conversion-fix for details" +interface CreationSupportedOperationGroup { + /** + * Informs if the current subscription is being already monitored for selected Dynatrace environment. + */ + @summary("Informs if the current subscription is being already monitored for selected Dynatrace environment.") + @route("/subscriptions/{subscriptionId}/providers/Dynatrace.Observability/subscriptionStatuses/{dynatraceEnvironmentId}") + @get + list( + ...ApiVersionParameter, + ...SubscriptionIdParameter, + + /** + * Dynatrace Environment Id + */ + @path + dynatraceEnvironmentId: string, + ): ArmResponse | ErrorResponse; + + /** + * Informs if the current subscription is being already monitored for selected Dynatrace environment. + */ + @summary("Informs if the current subscription is being already monitored for selected Dynatrace environment.") + @autoRoute + @get + @action("default") + get is ArmProviderActionSync< + Response = CreateResourceSupportedResponse, + Scope = SubscriptionActionScope, + Parameters = { + /** + * Dynatrace Environment Id + */ + @path + @segment("subscriptionStatuses") + dynatraceEnvironmentId: string; + } + >; +} diff --git a/specification/dynatrace/Dynatrace.Management/tspconfig.yaml b/specification/dynatrace/Dynatrace.Management/tspconfig.yaml new file mode 100644 index 000000000000..f5ecde57d5db --- /dev/null +++ b/specification/dynatrace/Dynatrace.Management/tspconfig.yaml @@ -0,0 +1,57 @@ +parameters: + "service-dir": + default: "sdk/dynatrace" +emit: + - "@azure-tools/typespec-autorest" +options: + "@azure-tools/typespec-autorest": + omit-unreachable-types: true + emitter-output-dir: "{project-root}/.." + azure-resource-provider-folder: "resource-manager" + output-file: "{azure-resource-provider-folder}/{service-name}/{version-status}/{version}/dynatrace.json" + emit-lro-options: "all" + examples-dir: "{project-root}/examples" + arm-resource-flattening: false + "@azure-tools/typespec-csharp": + emitter-output-dir: "{output-dir}/{service-dir}/{namespace}" + flavor: azure + clear-output-folder: true + model-namespace: true + namespace: "Azure.ResourceManager.Dynatrace" + "@azure-tools/typespec-python": + emitter-output-dir: "{output-dir}/{service-dir}/azure-mgmt-dynatrace" + package-dir: "azure-mgmt-dynatrace" + namespace: "azure.mgmt.dynatrace" + generate-test: true + generate-sample: true + flavor: "azure" + "@azure-tools/typespec-java": + emitter-output-dir: "{output-dir}/{service-dir}/azure-resourcemanager-dynatrace" + namespace: "com.azure.resourcemanager.dynatrace" + service-name: "Dynatrace" # human-readable service name, whitespace allowed + flavor: azure + "@azure-tools/typespec-ts": + emitter-output-dir: "{output-dir}/{service-dir}/arm-dynatrace" + package-dir: "arm-dynatrace" + is-modular-library: true + flavor: "azure" + experimental-extensible-enums: true + package-details: + name: "@azure/arm-dynatrace" + "@azure-tools/typespec-go": + service-dir: "sdk/resourcemanager/dynatrace" + emitter-output-dir: "{output-dir}/{service-dir}/armdynatrace" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armdynatrace" + fix-const-stuttering: true + flavor: "azure" + generate-samples: true + generate-fakes: true + head-as-boolean: true + inject-spans: true + "@azure-typespec/http-client-csharp-mgmt": + emitter-output-dir: "{output-dir}/{service-dir}/{namespace}" + package-name: "Azure.ResourceManager.Dynatrace" + namespace: "{package-name}" +linter: + extends: + - "@azure-tools/typespec-azure-rulesets/resource-manager" diff --git a/specification/dynatrace/cspell.yaml b/specification/dynatrace/cspell.yaml index aef768d20b6f..2caccce29334 100644 --- a/specification/dynatrace/cspell.yaml +++ b/specification/dynatrace/cspell.yaml @@ -9,4 +9,5 @@ import: - ../../cspell.yaml words: - dynatrace + - armdynatrace diff --git a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/dynatrace.json b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/dynatrace.json index 63f00fbbdc48..6ac31c3479d9 100644 --- a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/dynatrace.json +++ b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/dynatrace.json @@ -2,12 +2,17 @@ "swagger": "2.0", "info": { "title": "Dynatrace.Observability", - "version": "2024-04-24" + "version": "2024-04-24", + "x-typespec-generated": [ + { + "emitter": "@azure-tools/typespec-autorest" + } + ] }, - "host": "management.azure.com", "schemes": [ "https" ], + "host": "management.azure.com", "produces": [ "application/json" ], @@ -24,9 +29,9 @@ "securityDefinitions": { "azure_auth": { "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", "description": "Azure Active Directory OAuth2 Flow.", + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", "scopes": { "user_impersonation": "impersonate your user account" } @@ -34,111 +39,54 @@ }, "tags": [ { - "name": "Monitors" + "name": "Operations" + }, + { + "name": "MonitorResources" }, { - "name": "Operations" + "name": "MonitoredSubscriptions" }, { "name": "TagRules" }, { - "name": "SingleSignOn" + "name": "DynatraceSingleSignOnResources" } ], "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}/listMonitoredResources": { - "post": { - "operationId": "Monitors_ListMonitoredResources", - "summary": "List the resources currently being monitored by the Dynatrace monitor resource.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/MonitorNameParameter" - }, - { - "$ref": "#/parameters/LogStatusRequestParameter" - } - ], - "responses": { - "200": { - "description": "ARM operation completed successfully.", - "schema": { - "$ref": "#/definitions/MonitoredResourceListResponse" - } - }, - "default": { - "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "tags": [ - "Monitors" - ], - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "Monitors_ListMonitoredResources_MaximumSet_Gen": { - "$ref": "./examples/Monitors_ListMonitoredResources_MaximumSet_Gen.json" - }, - "Monitors_ListMonitoredResources_MinimumSet_Gen": { - "$ref": "./examples/Monitors_ListMonitoredResources_MinimumSet_Gen.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}/monitoredSubscriptions": { + "/providers/Dynatrace.Observability/operations": { "get": { + "operationId": "Operations_List", "tags": [ - "monitoredSubscriptions" - ], - "summary": "List the subscriptions currently being monitored by the Dynatrace monitor resource.", - "operationId": "MonitoredSubscriptions_List", - "produces": [ - "application/json" + "Operations" ], + "description": "List the operations for the provider", "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/MonitorNameParameter" - }, { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { "200": { - "description": "Success", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/MonitoredSubscriptionPropertiesList" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/OperationListResult" } }, "default": { - "description": "Default error response.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "Monitors_GetMonitoredSubscriptions": { - "$ref": "./examples/MonitoredSubscriptions_List.json" + "Operations_List_MaximumSet_Gen": { + "$ref": "./examples/Operations_List_MaximumSet_Gen.json" + }, + "Operations_List_MinimumSet_Gen": { + "$ref": "./examples/Operations_List_MinimumSet_Gen.json" } }, "x-ms-pageable": { @@ -146,249 +94,208 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}/monitoredSubscriptions/default": { - "get": { - "tags": [ - "monitoredSubscriptions" - ], - "summary": "List the subscriptions currently being monitored by the Dynatrace monitor resource.", - "operationId": "MonitoredSubscriptions_Get", - "produces": [ - "application/json" - ], + "/subscriptions/{subscriptionId}/providers/Dynatrace.Observability/getAllConnectedResourcesCount": { + "post": { + "operationId": "Monitors_GetAllConnectedResourcesCount", + "description": "Get the total number of connected resources for the given marketplace subscription Id", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/MonitorNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "name": "request", + "in": "body", + "description": "The request body", + "required": true, + "schema": { + "$ref": "#/definitions/MarketplaceSubscriptionIdRequest" + } } ], "responses": { "200": { - "description": "Success", + "description": "The request has succeeded.", "schema": { - "$ref": "#/definitions/MonitoredSubscriptionProperties" + "$ref": "#/definitions/ConnectedResourcesCountResponse" } }, "default": { - "description": "Default error response.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "Monitors_GetMonitoredSubscriptions": { - "$ref": "./examples/MonitoredSubscriptions_Get.json" + "Monitors_GetAllConnectedResourcesCount_MaximumSet_Gen": { + "$ref": "./examples/Monitors_GetAllConnectedResourcesCount_MaximumSet_Gen.json" + }, + "Monitors_GetAllConnectedResourcesCount_MinimumSet_Gen": { + "$ref": "./examples/Monitors_GetAllConnectedResourcesCount_MinimumSet_Gen.json" } } - }, - "put": { - "tags": [ - "monitoredSubscriptions" - ], - "summary": "Add the subscriptions that should be monitored by the Dynatrace monitor resource.", - "operationId": "MonitoredSubscriptions_CreateOrUpdate", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], + } + }, + "/subscriptions/{subscriptionId}/providers/Dynatrace.Observability/getMarketplaceSaaSResourceDetails": { + "post": { + "operationId": "Monitors_GetMarketplaceSaaSResourceDetails", + "description": "Get Marketplace SaaS resource details", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/MonitorNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { + "name": "request", "in": "body", - "name": "body", + "description": "The request body", + "required": true, "schema": { - "$ref": "#/definitions/MonitoredSubscriptionProperties" + "$ref": "#/definitions/MarketplaceSaaSResourceDetailsRequest" } } ], "responses": { "200": { - "description": "Success", + "description": "The request has succeeded.", "schema": { - "$ref": "#/definitions/MonitoredSubscriptionProperties" - } - }, - "201": { - "description": "Success", - "schema": { - "$ref": "#/definitions/MonitoredSubscriptionProperties" + "$ref": "#/definitions/MarketplaceSaaSResourceDetailsResponse" } }, "default": { - "description": "Default error response.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, - "x-ms-long-running-operation": true, "x-ms-examples": { - "Monitors_AddMonitoredSubscriptions": { - "$ref": "./examples/MonitoredSubscriptions_CreateOrUpdate.json" + "Monitors_GetMarketplaceSaaSResourceDetails_MaximumSet_Gen": { + "$ref": "./examples/Monitors_GetMarketplaceSaaSResourceDetails_MaximumSet_Gen.json" + }, + "Monitors_GetMarketplaceSaaSResourceDetails_MinimumSet_Gen": { + "$ref": "./examples/Monitors_GetMarketplaceSaaSResourceDetails_MinimumSet_Gen.json" } } - }, - "patch": { + } + }, + "/subscriptions/{subscriptionId}/providers/Dynatrace.Observability/monitors": { + "get": { + "operationId": "Monitors_ListBySubscriptionId", "tags": [ - "monitoredSubscriptions" - ], - "summary": "Updates the subscriptions that are being monitored by the Dynatrace monitor resource", - "operationId": "MonitoredSubscriptions_Update", - "produces": [ - "application/json" + "MonitorResources" ], + "description": "List all MonitorResource by subscriptionId", "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/MonitorNameParameter" - }, { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/MonitoredSubscriptionProperties" - } + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" } ], "responses": { "200": { - "description": "Success", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/MonitoredSubscriptionProperties" + "$ref": "#/definitions/MonitorResourceListResult" } }, - "202": { - "headers": { - "Location": { - "type": "string" - } - }, - "description": "Success" - }, "default": { - "description": "Default error response.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, - "x-ms-long-running-operation": true, "x-ms-examples": { - "Monitors_UpdateMonitoredSubscriptions": { - "$ref": "./examples/MonitoredSubscriptions_Update.json" + "Monitors_ListBySubscriptionId_MaximumSet_Gen": { + "$ref": "./examples/Monitors_ListBySubscriptionId_MaximumSet_Gen.json" + }, + "Monitors_ListBySubscriptionId_MinimumSet_Gen": { + "$ref": "./examples/Monitors_ListBySubscriptionId_MinimumSet_Gen.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } - }, - "delete": { - "tags": [ - "monitoredSubscriptions" - ], - "summary": "Updates the subscriptions that are being monitored by the Dynatrace monitor resource", - "operationId": "MonitoredSubscriptions_Delete", - "produces": [ - "application/json" - ], + } + }, + "/subscriptions/{subscriptionId}/providers/Dynatrace.Observability/subscriptionStatuses/{dynatraceEnvironmentId}": { + "get": { + "operationId": "CreationSupported_List", + "summary": "Informs if the current subscription is being already monitored for selected Dynatrace environment.", + "description": "Informs if the current subscription is being already monitored for selected Dynatrace environment.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/MonitorNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "name": "dynatraceEnvironmentId", + "in": "path", + "description": "Dynatrace Environment Id", + "required": true, + "type": "string" } ], "responses": { - "202": { - "headers": { - "Location": { - "type": "string" - } - }, - "description": "Success" - }, - "204": { - "description": "Success" + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CreateResourceSupportedResponse" + } }, "default": { - "description": "Default error response.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, - "x-ms-long-running-operation": true, "x-ms-examples": { - "Monitors_DeleteMonitoredSubscriptions": { - "$ref": "./examples/MonitoredSubscriptions_Delete.json" + "CreationSupported_List": { + "$ref": "./examples/CreationSupported_List.json" } } } }, - "/subscriptions/{subscriptionId}/providers/Dynatrace.Observability/subscriptionStatuses/{dynatraceEnvironmentId}": { + "/subscriptions/{subscriptionId}/providers/Dynatrace.Observability/subscriptionStatuses/{dynatraceEnvironmentId}/default": { "get": { - "tags": [ - "CreateResource" - ], + "operationId": "CreationSupported_Get", "summary": "Informs if the current subscription is being already monitored for selected Dynatrace environment.", - "operationId": "CreationSupported_List", - "produces": [ - "application/json" - ], + "description": "Informs if the current subscription is being already monitored for selected Dynatrace environment.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/DynatraceEnvironmentId" + "name": "dynatraceEnvironmentId", + "in": "path", + "description": "Dynatrace Environment Id", + "required": true, + "type": "string" } ], "responses": { "200": { - "description": "Success", + "description": "The request has succeeded.", "schema": { "$ref": "#/definitions/CreateResourceSupportedResponse" } }, "default": { - "description": "Default error response.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } @@ -401,142 +308,58 @@ } } }, - "/subscriptions/{subscriptionId}/providers/Dynatrace.Observability/subscriptionStatuses/{dynatraceEnvironmentId}/default": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors": { "get": { + "operationId": "Monitors_ListByResourceGroup", "tags": [ - "CreateResource" - ], - "summary": "Informs if the current subscription is being already monitored for selected Dynatrace environment.", - "operationId": "CreationSupported_Get", - "produces": [ - "application/json" + "MonitorResources" ], + "description": "List MonitorResource resources by resource group", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/DynatraceEnvironmentId" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" } ], "responses": { "200": { - "description": "Success", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/CreateResourceSupportedResponse" - } - }, - "default": { - "description": "Default error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "CreationSupported_Get": { - "$ref": "./examples/CreationSupported_Get.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}/getVMHostPayload": { - "post": { - "operationId": "Monitors_GetVMHostPayload", - "summary": "Returns the payload that needs to be passed in the request body for installing Dynatrace agent on a VM.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/MonitorNameParameter" - } - ], - "responses": { - "200": { - "description": "ARM operation completed successfully.", - "schema": { - "$ref": "#/definitions/VMExtensionPayload" + "$ref": "#/definitions/MonitorResourceListResult" } }, "default": { - "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, - "tags": [ - "Monitors" - ], "x-ms-examples": { - "Monitors_GetVMHostPayload_MaximumSet_Gen": { - "$ref": "./examples/Monitors_GetVMHostPayload_MaximumSet_Gen.json" - }, - "Monitors_GetVMHostPayload_MinimumSet_Gen": { - "$ref": "./examples/Monitors_GetVMHostPayload_MinimumSet_Gen.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}/manageAgentInstallation": { - "post": { - "operationId": "Monitors_ManageAgentInstallation", - "summary": "Performs Dynatrace agent install/uninstall action through the Azure Dynatrace resource on the provided list of resources.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/MonitorNameParameter" - }, - { - "$ref": "#/parameters/ManageAgentInstallationParameter" - } - ], - "responses": { - "204": { - "description": "ARM operation completed successfully." + "Monitors_ListByResourceGroup_MaximumSet_Gen": { + "$ref": "./examples/Monitors_ListByResourceGroup_MaximumSet_Gen.json" }, - "default": { - "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } + "Monitors_ListByResourceGroup_MinimumSet_Gen": { + "$ref": "./examples/Monitors_ListByResourceGroup_MinimumSet_Gen.json" } }, - "tags": [ - "Monitors" - ], - "x-ms-examples": { - "Monitors_ManageAgentInstallation_MaximumSet_Gen": { - "$ref": "./examples/Monitors_ManageAgentInstallation_MaximumSet_Gen.json" - }, - "Monitors_ManageAgentInstallation_MinimumSet_Gen": { - "$ref": "./examples/Monitors_ManageAgentInstallation_MinimumSet_Gen.json" - } + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}": { "get": { "operationId": "Monitors_Get", - "summary": "Get a MonitorResource", + "tags": [ + "MonitorResources" + ], + "description": "Get a MonitorResource", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" @@ -548,26 +371,28 @@ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/MonitorNameParameter" + "name": "monitorName", + "in": "path", + "description": "Monitor resource name", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9_-]*$" } ], "responses": { "200": { - "description": "ARM operation completed successfully.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/MonitorResource" } }, "default": { - "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, - "tags": [ - "Monitors" - ], "x-ms-examples": { "Monitors_Get_MaximumSet_Gen": { "$ref": "./examples/Monitors_Get_MaximumSet_Gen.json" @@ -579,11 +404,10 @@ }, "put": { "operationId": "Monitors_CreateOrUpdate", - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "summary": "Create a MonitorResource", + "tags": [ + "MonitorResources" + ], + "description": "Create a MonitorResource", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" @@ -595,13 +419,18 @@ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/MonitorNameParameter" + "name": "monitorName", + "in": "path", + "description": "Monitor resource name", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9_-]*$" }, { "name": "resource", "in": "body", - "required": true, "description": "Resource create parameters.", + "required": true, "schema": { "$ref": "#/definitions/MonitorResource" } @@ -609,27 +438,35 @@ ], "responses": { "200": { - "description": "ARM operation completed successfully.", + "description": "Resource 'MonitorResource' update operation succeeded", "schema": { "$ref": "#/definitions/MonitorResource" } }, "201": { - "description": "ARM create operation completed successfully.", + "description": "Resource 'MonitorResource' create operation succeeded", "schema": { "$ref": "#/definitions/MonitorResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } } }, "default": { - "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, - "tags": [ - "Monitors" - ], "x-ms-examples": { "Monitors_CreateOrUpdate_MaximumSet_Gen": { "$ref": "./examples/Monitors_CreateOrUpdate_MaximumSet_Gen.json" @@ -637,11 +474,19 @@ "Monitors_CreateOrUpdate_MinimumSet_Gen": { "$ref": "./examples/Monitors_CreateOrUpdate_MinimumSet_Gen.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/MonitorResource" + }, + "x-ms-long-running-operation": true }, "patch": { "operationId": "Monitors_Update", - "summary": "Update a MonitorResource", + "tags": [ + "MonitorResources" + ], + "description": "Update a MonitorResource", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" @@ -653,13 +498,18 @@ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/MonitorNameParameter" + "name": "monitorName", + "in": "path", + "description": "Monitor resource name", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9_-]*$" }, { "name": "resource", "in": "body", - "required": true, "description": "The resource properties to be updated.", + "required": true, "schema": { "$ref": "#/definitions/MonitorResourceUpdate" } @@ -667,21 +517,18 @@ ], "responses": { "200": { - "description": "ARM operation completed successfully.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/MonitorResource" } }, "default": { - "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, - "tags": [ - "Monitors" - ], "x-ms-examples": { "Monitors_Update_MaximumSet_Gen": { "$ref": "./examples/Monitors_Update_MaximumSet_Gen.json" @@ -693,11 +540,10 @@ }, "delete": { "operationId": "Monitors_Delete", - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "summary": "Delete a MonitorResource", + "tags": [ + "MonitorResources" + ], + "description": "Delete a MonitorResource", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" @@ -709,31 +555,44 @@ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/MonitorNameParameter" + "name": "monitorName", + "in": "path", + "description": "Monitor resource name", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9_-]*$" } ], "responses": { "202": { + "description": "Resource deletion accepted.", "headers": { + "Azure-AsyncOperation": { + "type": "string", + "format": "uri", + "description": "A link to the status monitor" + }, "Location": { - "type": "string" + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } - }, - "description": "Resource deletion accepted." + } }, "204": { - "description": "Resource deleted successfully." + "description": "Resource does not exist." }, "default": { - "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, - "tags": [ - "Monitors" - ], "x-ms-examples": { "Monitors_Delete_MaximumSet_Gen": { "$ref": "./examples/Monitors_Delete_MaximumSet_Gen.json" @@ -741,94 +600,138 @@ "Monitors_Delete_MinimumSet_Gen": { "$ref": "./examples/Monitors_Delete_MinimumSet_Gen.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true } }, - "/providers/Dynatrace.Observability/operations": { - "get": { - "operationId": "Operations_List", - "summary": "List the operations for Dynatrace.Observability", + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}/getMetricStatus": { + "post": { + "operationId": "Monitors_GetMetricStatus", + "tags": [ + "MonitorResources" + ], + "description": "Get metric status", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "monitorName", + "in": "path", + "description": "Monitor resource name", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9_-]*$" + }, + { + "name": "request", + "in": "body", + "description": "The details of the metric status request.", + "required": false, + "schema": { + "$ref": "#/definitions/MetricStatusRequest" + } } ], "responses": { "200": { - "description": "ARM operation completed successfully.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/OperationListResult" + "$ref": "#/definitions/MetricsStatusResponse" } }, "default": { - "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, - "tags": [ - "Operations" - ], - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { - "Operations_List_MaximumSet_Gen": { - "$ref": "./examples/Operations_List_MaximumSet_Gen.json" + "Monitors_GetMetricStatus_MaximumSet_Gen": { + "$ref": "./examples/Monitors_GetMetricStatus_MaximumSet_Gen.json" }, - "Operations_List_MinimumSet_Gen": { - "$ref": "./examples/Operations_List_MinimumSet_Gen.json" + "Monitors_GetMetricStatus_MinimumSet_Gen": { + "$ref": "./examples/Monitors_GetMetricStatus_MinimumSet_Gen.json" } } } }, - "/subscriptions/{subscriptionId}/providers/Dynatrace.Observability/monitors": { - "get": { - "operationId": "Monitors_ListBySubscriptionId", - "summary": "List all MonitorResource by subscriptionId", + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}/getSSODetails": { + "post": { + "operationId": "Monitors_GetSSODetails", + "tags": [ + "MonitorResources" + ], + "description": "Gets the SSO configuration details from the partner.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "monitorName", + "in": "path", + "description": "Monitor resource name", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9_-]*$" + }, + { + "name": "request", + "in": "body", + "description": "The details of the get sso details request.", + "required": false, + "schema": { + "$ref": "#/definitions/SSODetailsRequest" + } } ], "responses": { "200": { - "description": "ARM operation completed successfully.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/MonitorResourceListResult" + "$ref": "#/definitions/SSODetailsResponse" } }, "default": { - "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, - "tags": [ - "Monitors" - ], - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { - "Monitors_ListBySubscriptionId_MaximumSet_Gen": { - "$ref": "./examples/Monitors_ListBySubscriptionId_MaximumSet_Gen.json" + "Monitors_GetSSODetails_MaximumSet_Gen": { + "$ref": "./examples/Monitors_GetSSODetails_MaximumSet_Gen.json" }, - "Monitors_ListBySubscriptionId_MinimumSet_Gen": { - "$ref": "./examples/Monitors_ListBySubscriptionId_MinimumSet_Gen.json" + "Monitors_GetSSODetails_MinimumSet_Gen": { + "$ref": "./examples/Monitors_GetSSODetails_MinimumSet_Gen.json" } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors": { - "get": { - "operationId": "Monitors_ListByResourceGroup", - "summary": "List MonitorResource resources by resource group", + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}/getVMHostPayload": { + "post": { + "operationId": "Monitors_GetVMHostPayload", + "tags": [ + "MonitorResources" + ], + "description": "Returns the payload that needs to be passed in the request body for installing Dynatrace agent on a VM.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" @@ -838,42 +741,47 @@ }, { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - } - ], - "responses": { - "200": { - "description": "ARM operation completed successfully.", - "schema": { - "$ref": "#/definitions/MonitorResourceListResult" + }, + { + "name": "monitorName", + "in": "path", + "description": "Monitor resource name", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9_-]*$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/VMExtensionPayload" } }, "default": { - "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, - "tags": [ - "Monitors" - ], - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { - "Monitors_ListByResourceGroup_MaximumSet_Gen": { - "$ref": "./examples/Monitors_ListByResourceGroup_MaximumSet_Gen.json" + "Monitors_GetVMHostPayload_MaximumSet_Gen": { + "$ref": "./examples/Monitors_GetVMHostPayload_MaximumSet_Gen.json" }, - "Monitors_ListByResourceGroup_MinimumSet_Gen": { - "$ref": "./examples/Monitors_ListByResourceGroup_MinimumSet_Gen.json" + "Monitors_GetVMHostPayload_MinimumSet_Gen": { + "$ref": "./examples/Monitors_GetVMHostPayload_MinimumSet_Gen.json" } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}/tagRules/{ruleSetName}": { - "get": { - "operationId": "TagRules_Get", - "summary": "Get a TagRule", + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}/listAppServices": { + "post": { + "operationId": "Monitors_ListAppServices", + "tags": [ + "MonitorResources" + ], + "description": "Gets list of App Services with Dynatrace PaaS OneAgent enabled", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" @@ -885,45 +793,48 @@ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/MonitorNameParameter" - }, - { - "$ref": "#/parameters/RuleSetNameParameter" + "name": "monitorName", + "in": "path", + "description": "Monitor resource name", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9_-]*$" } ], "responses": { "200": { - "description": "ARM operation completed successfully.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/TagRule" + "$ref": "#/definitions/AppServiceListResponse" } }, "default": { - "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, - "tags": [ - "TagRules" - ], "x-ms-examples": { - "TagRules_Get_MaximumSet_Gen": { - "$ref": "./examples/TagRules_Get_MaximumSet_Gen.json" + "Monitors_ListAppServices_MaximumSet_Gen": { + "$ref": "./examples/Monitors_ListAppServices_MaximumSet_Gen.json" }, - "TagRules_Get_MinimumSet_Gen": { - "$ref": "./examples/TagRules_Get_MinimumSet_Gen.json" + "Monitors_ListAppServices_MinimumSet_Gen": { + "$ref": "./examples/Monitors_ListAppServices_MinimumSet_Gen.json" } - } - }, - "put": { - "operationId": "TagRules_CreateOrUpdate", - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" }, - "summary": "Create a TagRule", + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}/listHosts": { + "post": { + "operationId": "Monitors_ListHosts", + "tags": [ + "MonitorResources" + ], + "description": "List the VM/VMSS resources currently being monitored by the Dynatrace resource.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" @@ -935,60 +846,48 @@ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/MonitorNameParameter" - }, - { - "$ref": "#/parameters/RuleSetNameParameter" - }, - { - "name": "resource", - "in": "body", + "name": "monitorName", + "in": "path", + "description": "Monitor resource name", "required": true, - "description": "Resource create parameters.", - "schema": { - "$ref": "#/definitions/TagRule" - } + "type": "string", + "pattern": "^[a-zA-Z0-9_-]*$" } ], "responses": { "200": { - "description": "ARM operation completed successfully.", - "schema": { - "$ref": "#/definitions/TagRule" - } - }, - "201": { - "description": "ARM create operation completed successfully.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/TagRule" + "$ref": "#/definitions/VMHostsListResponse" } }, "default": { - "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, - "tags": [ - "TagRules" - ], "x-ms-examples": { - "TagRules_CreateOrUpdate_MaximumSet_Gen": { - "$ref": "./examples/TagRules_CreateOrUpdate_MaximumSet_Gen.json" + "Monitors_ListHosts_MaximumSet_Gen": { + "$ref": "./examples/Monitors_ListHosts_MaximumSet_Gen.json" }, - "TagRules_CreateOrUpdate_MinimumSet_Gen": { - "$ref": "./examples/TagRules_CreateOrUpdate_MinimumSet_Gen.json" + "Monitors_ListHosts_MinimumSet_Gen": { + "$ref": "./examples/Monitors_ListHosts_MinimumSet_Gen.json" } - } - }, - "delete": { - "operationId": "TagRules_Delete", - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" }, - "summary": "Delete a TagRule", + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}/listLinkableEnvironments": { + "post": { + "operationId": "Monitors_ListLinkableEnvironments", + "tags": [ + "MonitorResources" + ], + "description": "Gets all the Dynatrace environments that a user can link a azure resource to", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" @@ -1000,48 +899,57 @@ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/MonitorNameParameter" + "name": "monitorName", + "in": "path", + "description": "Monitor resource name", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9_-]*$" }, { - "$ref": "#/parameters/RuleSetNameParameter" + "name": "request", + "in": "body", + "description": "The details of the linkable environment request.", + "required": true, + "schema": { + "$ref": "#/definitions/LinkableEnvironmentRequest" + } } ], "responses": { - "202": { - "headers": { - "Location": { - "type": "string" - } - }, - "description": "Resource deletion accepted." - }, - "204": { - "description": "Resource deleted successfully." + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/LinkableEnvironmentListResponse" + } }, "default": { - "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, - "tags": [ - "TagRules" - ], "x-ms-examples": { - "TagRules_Delete_MaximumSet_Gen": { - "$ref": "./examples/TagRules_Delete_MaximumSet_Gen.json" + "Monitors_ListLinkableEnvironments_MaximumSet_Gen": { + "$ref": "./examples/Monitors_ListLinkableEnvironments_MaximumSet_Gen.json" }, - "TagRules_Delete_MinimumSet_Gen": { - "$ref": "./examples/TagRules_Delete_MinimumSet_Gen.json" + "Monitors_ListLinkableEnvironments_MinimumSet_Gen": { + "$ref": "./examples/Monitors_ListLinkableEnvironments_MinimumSet_Gen.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}/tagRules": { - "get": { - "operationId": "TagRules_List", - "summary": "List all TagRule by monitorName", + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}/listMonitoredResources": { + "post": { + "operationId": "Monitors_ListMonitoredResources", + "tags": [ + "MonitorResources" + ], + "description": "List the resources currently being monitored by the Dynatrace monitor resource.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" @@ -1053,46 +961,57 @@ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/MonitorNameParameter" + "name": "monitorName", + "in": "path", + "description": "Monitor resource name", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9_-]*$" + }, + { + "name": "request", + "in": "body", + "description": "The details of the log status request.", + "required": false, + "schema": { + "$ref": "#/definitions/LogStatusRequest" + } } ], "responses": { "200": { - "description": "ARM operation completed successfully.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/TagRuleListResult" + "$ref": "#/definitions/MonitoredResourceListResponse" } }, "default": { - "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, - "tags": [ - "TagRules" - ], - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { - "TagRules_List_MaximumSet_Gen": { - "$ref": "./examples/TagRules_List_MaximumSet_Gen.json" + "Monitors_ListMonitoredResources_MaximumSet_Gen": { + "$ref": "./examples/Monitors_ListMonitoredResources_MaximumSet_Gen.json" }, - "TagRules_List_MinimumSet_Gen": { - "$ref": "./examples/TagRules_List_MinimumSet_Gen.json" + "Monitors_ListMonitoredResources_MinimumSet_Gen": { + "$ref": "./examples/Monitors_ListMonitoredResources_MinimumSet_Gen.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, - "/subscriptions/{subscriptionId}/providers/Dynatrace.Observability/getAllConnectedResourcesCount": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}/manageAgentInstallation": { "post": { + "operationId": "Monitors_ManageAgentInstallation", "tags": [ - "Monitors" + "MonitorResources" ], - "operationId": "Monitors_GetAllConnectedResourcesCount", - "description": "Get the total number of connected resources for the given marketplace subscription Id", + "description": "Performs Dynatrace agent install/uninstall action through the Azure Dynatrace resource on the provided list of resources.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" @@ -1101,15 +1020,29 @@ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/MarketplaceSubscriptionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "monitorName", + "in": "path", + "description": "Monitor resource name", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9_-]*$" + }, + { + "name": "request", + "in": "body", + "description": "List of resources and action", + "required": true, + "schema": { + "$ref": "#/definitions/ManageAgentInstallationRequest" + } } ], "responses": { - "200": { - "description": "ARM operation completed successfully.", - "schema": { - "$ref": "#/definitions/ConnectedResourcesCountResponse" - } + "204": { + "description": "There is no content to send for this request, but the headers may be useful." }, "default": { "description": "An unexpected error response.", @@ -1119,22 +1052,22 @@ } }, "x-ms-examples": { - "Monitors_GetAllConnectedResourcesCount_MaximumSet_Gen": { - "$ref": "./examples/Monitors_GetAllConnectedResourcesCount_MaximumSet_Gen.json" + "Monitors_ManageAgentInstallation_MaximumSet_Gen": { + "$ref": "./examples/Monitors_ManageAgentInstallation_MaximumSet_Gen.json" }, - "Monitors_GetAllConnectedResourcesCount_MinimumSet_Gen": { - "$ref": "./examples/Monitors_GetAllConnectedResourcesCount_MinimumSet_Gen.json" + "Monitors_ManageAgentInstallation_MinimumSet_Gen": { + "$ref": "./examples/Monitors_ManageAgentInstallation_MinimumSet_Gen.json" } } } }, - "/subscriptions/{subscriptionId}/providers/Dynatrace.Observability/getMarketplaceSaaSResourceDetails": { - "post": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}/monitoredSubscriptions": { + "get": { + "operationId": "MonitoredSubscriptions_List", "tags": [ - "Monitors" + "MonitoredSubscriptions" ], - "operationId": "Monitors_GetMarketplaceSaaSResourceDetails", - "description": "Get Marketplace SaaS resource details", + "description": "List the subscriptions currently being monitored by the Dynatrace monitor resource.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" @@ -1143,14 +1076,22 @@ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/TenantIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "monitorName", + "in": "path", + "description": "Monitor resource name", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9_-]*$" } ], "responses": { "200": { - "description": "ARM operation completed successfully.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/MarketplaceSaaSResourceDetailsResponse" + "$ref": "#/definitions/MonitoredSubscriptionPropertiesList" } }, "default": { @@ -1161,23 +1102,22 @@ } }, "x-ms-examples": { - "Monitors_GetMarketplaceSaaSResourceDetails_MaximumSet_Gen": { - "$ref": "./examples/Monitors_GetMarketplaceSaaSResourceDetails_MaximumSet_Gen.json" - }, - "Monitors_GetMarketplaceSaaSResourceDetails_MinimumSet_Gen": { - "$ref": "./examples/Monitors_GetMarketplaceSaaSResourceDetails_MinimumSet_Gen.json" + "Monitors_GetMonitoredSubscriptions": { + "$ref": "./examples/MonitoredSubscriptions_List.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}/singleSignOnConfigurations/{configurationName}": { - "put": { - "operationId": "SingleSignOn_CreateOrUpdate", - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "summary": "Create a DynatraceSingleSignOnResource", + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}/monitoredSubscriptions/default": { + "get": { + "operationId": "MonitoredSubscriptions_Get", + "tags": [ + "MonitoredSubscriptions" + ], + "description": "List the subscriptions currently being monitored by the Dynatrace monitor resource.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" @@ -1189,56 +1129,40 @@ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/MonitorNameParameter" - }, - { - "$ref": "#/parameters/ConfigurationNameParameter" - }, - { - "name": "resource", - "in": "body", + "name": "monitorName", + "in": "path", + "description": "Monitor resource name", "required": true, - "description": "Resource create parameters.", - "schema": { - "$ref": "#/definitions/DynatraceSingleSignOnResource" - } + "type": "string", + "pattern": "^[a-zA-Z0-9_-]*$" } ], "responses": { "200": { - "description": "ARM operation completed successfully.", - "schema": { - "$ref": "#/definitions/DynatraceSingleSignOnResource" - } - }, - "201": { - "description": "ARM create operation completed successfully.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/DynatraceSingleSignOnResource" + "$ref": "#/definitions/MonitoredSubscriptionProperties" } }, "default": { - "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, - "tags": [ - "SingleSignOn" - ], "x-ms-examples": { - "SingleSignOn_CreateOrUpdate_MaximumSet_Gen": { - "$ref": "./examples/SingleSignOn_CreateOrUpdate_MaximumSet_Gen.json" - }, - "SingleSignOn_CreateOrUpdate_MinimumSet_Gen": { - "$ref": "./examples/SingleSignOn_CreateOrUpdate_MinimumSet_Gen.json" + "Monitors_GetMonitoredSubscriptions": { + "$ref": "./examples/MonitoredSubscriptions_Get.json" } } }, - "get": { - "operationId": "SingleSignOn_Get", - "summary": "Get a DynatraceSingleSignOnResource", + "put": { + "operationId": "MonitoredSubscriptions_CreateOrUpdate", + "tags": [ + "MonitoredSubscriptions" + ], + "description": "Add the subscriptions that should be monitored by the Dynatrace monitor resource.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" @@ -1250,43 +1174,71 @@ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/MonitorNameParameter" + "name": "monitorName", + "in": "path", + "description": "The name of the MonitorResource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9_-]*$" }, { - "$ref": "#/parameters/ConfigurationNameParameter" + "name": "body", + "in": "body", + "description": "", + "required": false, + "schema": { + "$ref": "#/definitions/MonitoredSubscriptionProperties" + } } ], "responses": { "200": { - "description": "ARM operation completed successfully.", + "description": "Resource 'MonitoredSubscriptionProperties' update operation succeeded", "schema": { - "$ref": "#/definitions/DynatraceSingleSignOnResource" + "$ref": "#/definitions/MonitoredSubscriptionProperties" + } + }, + "201": { + "description": "Resource 'MonitoredSubscriptionProperties' create operation succeeded", + "schema": { + "$ref": "#/definitions/MonitoredSubscriptionProperties" + }, + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } } }, "default": { - "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, - "tags": [ - "SingleSignOn" - ], "x-ms-examples": { - "SingleSignOn_Get_MaximumSet_Gen": { - "$ref": "./examples/SingleSignOn_Get_MaximumSet_Gen.json" - }, - "SingleSignOn_Get_MinimumSet_Gen": { - "$ref": "./examples/SingleSignOn_Get_MinimumSet_Gen.json" + "Monitors_AddMonitoredSubscriptions": { + "$ref": "./examples/MonitoredSubscriptions_CreateOrUpdate.json" } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}/singleSignOnConfigurations": { - "get": { - "operationId": "SingleSignOn_List", - "summary": "List all DynatraceSingleSignOnResource by monitorName", + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/MonitoredSubscriptionProperties" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "MonitoredSubscriptions_Update", + "tags": [ + "MonitoredSubscriptions" + ], + "description": "Updates the subscriptions that are being monitored by the Dynatrace monitor resource", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" @@ -1298,43 +1250,68 @@ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/MonitorNameParameter" + "name": "monitorName", + "in": "path", + "description": "Monitor resource name", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9_-]*$" + }, + { + "name": "body", + "in": "body", + "description": "", + "required": false, + "schema": { + "$ref": "#/definitions/MonitoredSubscriptionProperties" + } } ], "responses": { "200": { - "description": "ARM operation completed successfully.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/DynatraceSingleSignOnResourceListResult" + "$ref": "#/definitions/MonitoredSubscriptionProperties" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } } }, "default": { - "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, - "tags": [ - "SingleSignOn" - ], - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { - "SingleSignOn_List_MaximumSet_Gen": { - "$ref": "./examples/SingleSignOn_List_MaximumSet_Gen.json" - }, - "SingleSignOn_List_MinimumSet_Gen": { - "$ref": "./examples/SingleSignOn_List_MinimumSet_Gen.json" + "Monitors_UpdateMonitoredSubscriptions": { + "$ref": "./examples/MonitoredSubscriptions_Update.json" } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}/listHosts": { - "post": { - "operationId": "Monitors_ListHosts", - "summary": "List the VM/VMSS resources currently being monitored by the Dynatrace resource.", + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/MonitoredSubscriptionProperties" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "MonitoredSubscriptions_Delete", + "tags": [ + "MonitoredSubscriptions" + ], + "description": "Updates the subscriptions that are being monitored by the Dynatrace monitor resource", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" @@ -1346,46 +1323,57 @@ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/MonitorNameParameter" + "name": "monitorName", + "in": "path", + "description": "Monitor resource name", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9_-]*$" } ], "responses": { - "200": { - "description": "ARM operation completed successfully.", - "schema": { - "$ref": "#/definitions/VMHostsListResponse" + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } } }, + "204": { + "description": "Resource does not exist." + }, "default": { - "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, - "tags": [ - "Monitors" - ], - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { - "Monitors_ListHosts_MaximumSet_Gen": { - "$ref": "./examples/Monitors_ListHosts_MaximumSet_Gen.json" - }, - "Monitors_ListHosts_MinimumSet_Gen": { - "$ref": "./examples/Monitors_ListHosts_MinimumSet_Gen.json" + "Monitors_DeleteMonitoredSubscriptions": { + "$ref": "./examples/MonitoredSubscriptions_Delete.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}/getMetricStatus": { - "post": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}/singleSignOnConfigurations": { + "get": { + "operationId": "SingleSignOn_List", "tags": [ - "Monitors" + "DynatraceSingleSignOnResources" ], - "operationId": "Monitors_GetMetricStatus", - "description": "Get metric status", + "description": "List all DynatraceSingleSignOnResource by monitorName", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" @@ -1399,20 +1387,17 @@ { "name": "monitorName", "in": "path", + "description": "Monitor resource name", "required": true, - "description": "Name of the Monitors resource", "type": "string", "pattern": "^[a-zA-Z0-9_-]*$" - }, - { - "$ref": "#/parameters/MetricStatusRequestParameter" } ], "responses": { "200": { - "description": "ARM operation completed successfully.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/MetricsStatusResponse" + "$ref": "#/definitions/DynatraceSingleSignOnResourceListResult" } }, "default": { @@ -1423,19 +1408,25 @@ } }, "x-ms-examples": { - "Monitors_GetMetricStatus_MaximumSet_Gen": { - "$ref": "./examples/Monitors_GetMetricStatus_MaximumSet_Gen.json" + "SingleSignOn_List_MaximumSet_Gen": { + "$ref": "./examples/SingleSignOn_List_MaximumSet_Gen.json" }, - "Monitors_GetMetricStatus_MinimumSet_Gen": { - "$ref": "./examples/Monitors_GetMetricStatus_MinimumSet_Gen.json" + "SingleSignOn_List_MinimumSet_Gen": { + "$ref": "./examples/SingleSignOn_List_MinimumSet_Gen.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}/listAppServices": { - "post": { - "operationId": "Monitors_ListAppServices", - "summary": "Gets list of App Services with Dynatrace PaaS OneAgent enabled", + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}/singleSignOnConfigurations/{configurationName}": { + "get": { + "operationId": "SingleSignOn_Get", + "tags": [ + "DynatraceSingleSignOnResources" + ], + "description": "Get a DynatraceSingleSignOnResource", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" @@ -1447,43 +1438,51 @@ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/MonitorNameParameter" + "name": "monitorName", + "in": "path", + "description": "Monitor resource name", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9_-]*$" + }, + { + "name": "configurationName", + "in": "path", + "description": "Single Sign On Configuration Name", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]*$" } ], "responses": { "200": { - "description": "ARM operation completed successfully.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/AppServiceListResponse" + "$ref": "#/definitions/DynatraceSingleSignOnResource" } }, "default": { - "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, - "tags": [ - "Monitors" - ], - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { - "Monitors_ListAppServices_MaximumSet_Gen": { - "$ref": "./examples/Monitors_ListAppServices_MaximumSet_Gen.json" + "SingleSignOn_Get_MaximumSet_Gen": { + "$ref": "./examples/SingleSignOn_Get_MaximumSet_Gen.json" }, - "Monitors_ListAppServices_MinimumSet_Gen": { - "$ref": "./examples/Monitors_ListAppServices_MinimumSet_Gen.json" + "SingleSignOn_Get_MinimumSet_Gen": { + "$ref": "./examples/SingleSignOn_Get_MinimumSet_Gen.json" } } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}/upgradePlan": { - "post": { - "operationId": "Monitors_UpgradePlan", - "summary": "Upgrades the billing Plan for Dynatrace monitor resource.", + }, + "put": { + "operationId": "SingleSignOn_CreateOrUpdate", + "tags": [ + "DynatraceSingleSignOnResources" + ], + "description": "Create a DynatraceSingleSignOnResource", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" @@ -1495,51 +1494,84 @@ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/MonitorNameParameter" + "name": "monitorName", + "in": "path", + "description": "Monitor resource name", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9_-]*$" }, { - "$ref": "#/parameters/UpgradePlanParameter" - } - ], - "responses": { - "202": { - "description": "Resource operation accepted.", + "name": "configurationName", + "in": "path", + "description": "Single Sign On Configuration Name", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]*$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/DynatraceSingleSignOnResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'DynatraceSingleSignOnResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/DynatraceSingleSignOnResource" + } + }, + "201": { + "description": "Resource 'DynatraceSingleSignOnResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/DynatraceSingleSignOnResource" + }, "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, "Retry-After": { - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.", "type": "integer", - "format": "int32" - }, - "Location": { - "type": "string" + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } }, "default": { - "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, - "tags": [ - "Monitors" - ], "x-ms-examples": { - "Monitors_UpgradePlan_MaximumSet_Gen": { - "$ref": "./examples/Monitors_UpgradePlan_MaximumSet_Gen.json" + "SingleSignOn_CreateOrUpdate_MaximumSet_Gen": { + "$ref": "./examples/SingleSignOn_CreateOrUpdate_MaximumSet_Gen.json" }, - "Monitors_UpgradePlan_MinimumSet_Gen": { - "$ref": "./examples/Monitors_UpgradePlan_MinimumSet_Gen.json" + "SingleSignOn_CreateOrUpdate_MinimumSet_Gen": { + "$ref": "./examples/SingleSignOn_CreateOrUpdate_MinimumSet_Gen.json" } }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/DynatraceSingleSignOnResource" + }, "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}/getSSODetails": { - "post": { - "operationId": "Monitors_GetSSODetails", - "summary": "Gets the SSO configuration details from the partner.", + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}/tagRules": { + "get": { + "operationId": "TagRules_List", + "tags": [ + "TagRules" + ], + "description": "List all TagRule by monitorName", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" @@ -1551,43 +1583,48 @@ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/MonitorNameParameter" - }, - { - "$ref": "#/parameters/SSODetailsRequestParameter" + "name": "monitorName", + "in": "path", + "description": "Monitor resource name", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9_-]*$" } ], "responses": { "200": { - "description": "ARM operation completed successfully.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/SSODetailsResponse" + "$ref": "#/definitions/TagRuleListResult" } }, "default": { - "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, - "tags": [ - "Monitors" - ], "x-ms-examples": { - "Monitors_GetSSODetails_MaximumSet_Gen": { - "$ref": "./examples/Monitors_GetSSODetails_MaximumSet_Gen.json" + "TagRules_List_MaximumSet_Gen": { + "$ref": "./examples/TagRules_List_MaximumSet_Gen.json" }, - "Monitors_GetSSODetails_MinimumSet_Gen": { - "$ref": "./examples/Monitors_GetSSODetails_MinimumSet_Gen.json" + "TagRules_List_MinimumSet_Gen": { + "$ref": "./examples/TagRules_List_MinimumSet_Gen.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}/listLinkableEnvironments": { - "post": { - "operationId": "Monitors_ListLinkableEnvironments", - "summary": "Gets all the Dynatrace environments that a user can link a azure resource to", + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}/tagRules/{ruleSetName}": { + "get": { + "operationId": "TagRules_Get", + "tags": [ + "TagRules" + ], + "description": "Get a TagRule", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" @@ -1599,152 +1636,325 @@ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/MonitorNameParameter" + "name": "monitorName", + "in": "path", + "description": "Monitor resource name", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9_-]*$" }, { - "$ref": "#/parameters/LinkableEnvRequestParameter" + "name": "ruleSetName", + "in": "path", + "description": "Monitor resource name", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]*$" } ], "responses": { "200": { - "description": "ARM operation completed successfully.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/LinkableEnvironmentListResponse" + "$ref": "#/definitions/TagRule" } }, "default": { - "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, - "tags": [ - "Monitors" - ], - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { - "Monitors_ListLinkableEnvironments_MaximumSet_Gen": { - "$ref": "./examples/Monitors_ListLinkableEnvironments_MaximumSet_Gen.json" + "TagRules_Get_MaximumSet_Gen": { + "$ref": "./examples/TagRules_Get_MaximumSet_Gen.json" }, - "Monitors_ListLinkableEnvironments_MinimumSet_Gen": { - "$ref": "./examples/Monitors_ListLinkableEnvironments_MinimumSet_Gen.json" + "TagRules_Get_MinimumSet_Gen": { + "$ref": "./examples/TagRules_Get_MinimumSet_Gen.json" } } - } - } - }, - "definitions": { - "MonitoredResourceListResponse": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/MonitoredResource" - }, - "x-cadl-name": "MonitoredResource[]", - "description": "The items on this page" - }, - "nextLink": { - "type": "string", - "description": "The link to the next page of items" - } - }, - "description": "List of all the resources being monitored by Dynatrace monitor resource" - }, - "MarketplaceSaaSResourceDetailsResponse": { - "type": "object", - "properties": { - "marketplaceSaaSResourceId": { - "type": "string", - "description": "Id of the Marketplace SaaS Resource" - }, - "planId": { - "type": "string", - "description": "Id of the plan" - }, - "marketplaceSubscriptionStatus": { - "$ref": "#/definitions/MarketplaceSubscriptionStatus", - "description": "Marketplace subscription status" - }, - "marketplaceSaaSResourceName": { - "type": "string", - "description": "Name of the Marketplace SaaS Resource" - } }, - "description": "Marketplace SaaS resource details linked to the given tenant Id" - }, - "CreateResourceSupportedProperties": { - "description": "Properties related to the support for creating Dynatrace resources.", - "type": "object", - "properties": { - "name": { - "description": "The ARM id of the subscription.", - "type": "string", - "readOnly": true + "put": { + "operationId": "TagRules_CreateOrUpdate", + "tags": [ + "TagRules" + ], + "description": "Create a TagRule", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "monitorName", + "in": "path", + "description": "Monitor resource name", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9_-]*$" + }, + { + "name": "ruleSetName", + "in": "path", + "description": "Monitor resource name", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]*$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/TagRule" + } + } + ], + "responses": { + "200": { + "description": "Resource 'TagRule' update operation succeeded", + "schema": { + "$ref": "#/definitions/TagRule" + } + }, + "201": { + "description": "Resource 'TagRule' create operation succeeded", + "schema": { + "$ref": "#/definitions/TagRule" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } }, - "creationSupported": { - "description": "Indicates if selected subscription supports Dynatrace resource creation, if not it is already being monitored for the selected organization via multi subscription feature.", - "type": "boolean", - "readOnly": true - } - } - }, - "CreateResourceSupportedResponse": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/CreateResourceSupportedProperties" + "x-ms-examples": { + "TagRules_CreateOrUpdate_MaximumSet_Gen": { + "$ref": "./examples/TagRules_CreateOrUpdate_MaximumSet_Gen.json" }, - "description": "Represents the properties of the resource.", - "x-ms-identifiers": [] + "TagRules_CreateOrUpdate_MinimumSet_Gen": { + "$ref": "./examples/TagRules_CreateOrUpdate_MinimumSet_Gen.json" + } }, - "nextLink": { - "type": "string", - "description": "The link to the next page of items" - } - }, - "description": "Dynatrace resource can be created or not." - }, - "VMExtensionPayload": { - "type": "object", - "properties": { - "ingestionKey": { - "type": "string", - "description": "Ingestion key of the environment" + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/TagRule" }, - "environmentId": { - "type": "string", - "description": "Id of the environment created" - } + "x-ms-long-running-operation": true }, - "description": "Response of payload to be passed while installing VM agent." - }, - "VMHostsListResponse": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/VMInfo" + "delete": { + "operationId": "TagRules_Delete", + "tags": [ + "TagRules" + ], + "description": "Delete a TagRule", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, - "description": "The items on this page", - "x-ms-identifiers": [] + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "monitorName", + "in": "path", + "description": "Monitor resource name", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9_-]*$" + }, + { + "name": "ruleSetName", + "in": "path", + "description": "Monitor resource name", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z]*$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "format": "uri", + "description": "A link to the status monitor" + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } }, - "nextLink": { + "x-ms-examples": { + "TagRules_Delete_MaximumSet_Gen": { + "$ref": "./examples/TagRules_Delete_MaximumSet_Gen.json" + }, + "TagRules_Delete_MinimumSet_Gen": { + "$ref": "./examples/TagRules_Delete_MinimumSet_Gen.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}/upgradePlan": { + "post": { + "operationId": "Monitors_UpgradePlan", + "tags": [ + "MonitorResources" + ], + "description": "Upgrades the billing Plan for Dynatrace monitor resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "monitorName", + "in": "path", + "description": "Monitor resource name", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9_-]*$" + }, + { + "name": "request", + "in": "body", + "description": "The details of the upgrade plan request.", + "required": true, + "schema": { + "$ref": "#/definitions/UpgradePlanRequest" + } + } + ], + "responses": { + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Monitors_UpgradePlan_MaximumSet_Gen": { + "$ref": "./examples/Monitors_UpgradePlan_MaximumSet_Gen.json" + }, + "Monitors_UpgradePlan_MinimumSet_Gen": { + "$ref": "./examples/Monitors_UpgradePlan_MinimumSet_Gen.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + } + }, + "definitions": { + "AccountInfo": { + "type": "object", + "description": "Dynatrace Account Information", + "properties": { + "accountId": { "type": "string", - "description": "The link to the next page of items" + "description": "Account Id of the account this environment is linked to" + }, + "regionId": { + "type": "string", + "description": "Region in which the account is created" + }, + "companyName": { + "type": "string", + "description": "Name of the customer account / company" } - }, - "description": "Response of a list VM Host Operation." + } + }, + "Action": { + "type": "string", + "description": "Install/Uninstall action.", + "enum": [ + "Install", + "Uninstall" + ], + "x-ms-enum": { + "name": "Action", + "modelAsString": true, + "values": [ + { + "name": "Install", + "value": "Install" + }, + { + "name": "Uninstall", + "value": "Uninstall" + } + ] + } }, "AppServiceInfo": { "type": "object", + "description": "Details of App Services having Dynatrace OneAgent installed", "properties": { "resourceId": { "type": "string", @@ -1782,175 +1992,210 @@ "type": "string", "description": "The name of the host" } - }, - "description": "Details of App Services having Dynatrace OneAgent installed" - }, - "MetricsStatusResponse": { - "type": "object", - "properties": { - "azureResourceIds": { - "type": "array", - "items": { - "type": "string" - }, - "x-cadl-name": "string[]", - "description": "Azure resource IDs" - } - }, - "description": "Response of get metrics status operation" + } }, "AppServiceListResponse": { "type": "object", + "description": "Response of a list App Services Operation.", "properties": { "value": { "type": "array", + "description": "The AppServiceInfo items on this page", "items": { "$ref": "#/definitions/AppServiceInfo" - }, - "description": "The items on this page", - "x-ms-identifiers": [] + } }, "nextLink": { "type": "string", + "format": "uri", "description": "The link to the next page of items" } }, - "description": "Response of a list App Services Operation." + "required": [ + "value" + ] }, - "MonitorResource": { + "AutoUpdateSetting": { + "type": "string", + "description": "Update settings of OneAgent.", + "enum": [ + "ENABLED", + "DISABLED" + ], + "x-ms-enum": { + "name": "AutoUpdateSetting", + "modelAsString": true, + "values": [ + { + "name": "ENABLED", + "value": "ENABLED" + }, + { + "name": "DISABLED", + "value": "DISABLED" + } + ] + } + }, + "AvailabilityState": { + "type": "string", + "description": "The availability state of OneAgent.", + "enum": [ + "CRASHED", + "LOST", + "MONITORED", + "PRE_MONITORED", + "SHUTDOWN", + "UNEXPECTED_SHUTDOWN", + "UNKNOWN", + "UNMONITORED" + ], + "x-ms-enum": { + "name": "AvailabilityState", + "modelAsString": true, + "values": [ + { + "name": "CRASHED", + "value": "CRASHED" + }, + { + "name": "LOST", + "value": "LOST" + }, + { + "name": "MONITORED", + "value": "MONITORED" + }, + { + "name": "PRE_MONITORED", + "value": "PRE_MONITORED" + }, + { + "name": "SHUTDOWN", + "value": "SHUTDOWN" + }, + { + "name": "UNEXPECTED_SHUTDOWN", + "value": "UNEXPECTED_SHUTDOWN" + }, + { + "name": "UNKNOWN", + "value": "UNKNOWN" + }, + { + "name": "UNMONITORED", + "value": "UNMONITORED" + } + ] + } + }, + "ConnectedResourcesCountResponse": { "type": "object", + "description": "Response for getting Connected resources for a MP SaaS Resource", "properties": { - "properties": { - "$ref": "#/definitions/MonitorProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - }, - "systemData": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/systemData", - "description": "System metadata for this resource.", + "connectedResourcesCount": { + "type": "integer", + "format": "int64", + "description": "Count of the connected resources" + } + } + }, + "CreateResourceSupportedProperties": { + "type": "object", + "description": "Properties related to the support for creating Dynatrace resources.", + "properties": { + "name": { + "type": "string", + "description": "The ARM id of the subscription.", "readOnly": true }, - "identity": { - "$ref": "#/definitions/IdentityProperties", - "description": "The managed service identities assigned to this resource." + "creationSupported": { + "type": "boolean", + "description": "Indicates if selected subscription supports Dynatrace resource creation, if not it is already being monitored for the selected organization via multi subscription feature.", + "readOnly": true } - }, - "description": "Dynatrace Monitor Resource", - "required": [ - "properties" - ], - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" - } - ] - }, - "MonitorResourceUpdate": { - "type": "object", - "properties": { - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Resource tags.", - "x-ms-mutability": [ - "read", - "update", - "create" - ] - }, - "properties": { - "$ref": "#/definitions/MonitorUpdateProperties" - }, - "identity": { - "$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/ManagedServiceIdentity", - "description": "The managed service identities assigned to this resource." - } - }, - "description": "The updatable properties of the MonitorResource." + } }, - "MonitorResourceListResult": { + "CreateResourceSupportedResponse": { "type": "object", + "description": "Dynatrace resource can be created or not.", "properties": { "value": { "type": "array", + "description": "Represents the properties of the resource.", "items": { - "$ref": "#/definitions/MonitorResource" + "$ref": "#/definitions/CreateResourceSupportedProperties" }, - "x-cadl-name": "Dynatrace.Observability.MonitorResource[]", - "description": "The items on this page" + "x-ms-identifiers": [] }, "nextLink": { "type": "string", "description": "The link to the next page of items" } - }, - "description": "The response of a MonitorResource list operation.", - "required": [ - "value" - ] + } }, - "TagRule": { + "DynatraceEnvironmentProperties": { "type": "object", + "description": "Properties of the Dynatrace environment.", "properties": { - "properties": { - "$ref": "#/definitions/MonitoringTagRulesProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true + "userId": { + "type": "string", + "description": "User id" }, - "systemData": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/systemData", - "description": "System metadata for this resource.", - "readOnly": true - } - }, - "description": "Tag rules for a monitor resource", - "required": [ - "properties" - ], - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + "accountInfo": { + "$ref": "#/definitions/AccountInfo", + "description": "Dynatrace Account Information" + }, + "environmentInfo": { + "$ref": "#/definitions/EnvironmentInfo", + "description": "Dynatrace Environment Information" + }, + "singleSignOnProperties": { + "$ref": "#/definitions/DynatraceSingleSignOnProperties", + "description": "The details of a Dynatrace single sign-on." } - ] + } }, - "TagRuleListResult": { + "DynatraceSingleSignOnProperties": { "type": "object", + "description": "The details of a Dynatrace single sign-on.", "properties": { - "value": { + "singleSignOnState": { + "$ref": "#/definitions/SingleSignOnStates", + "description": "State of Single Sign On" + }, + "enterpriseAppId": { + "type": "string", + "description": "Version of the Dynatrace agent installed on the VM." + }, + "singleSignOnUrl": { + "type": "string", + "description": "The login URL specific to this Dynatrace Environment" + }, + "aadDomains": { "type": "array", + "description": "array of Aad(azure active directory) domains", "items": { - "$ref": "#/definitions/TagRule" - }, - "x-cadl-name": "Dynatrace.Observability.TagRule[]", - "description": "The items on this page" + "type": "string" + } }, - "nextLink": { - "type": "string", - "description": "The link to the next page of items" + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning state of the resource.", + "readOnly": true } - }, - "description": "The response of a TagRule list operation.", - "required": [ - "value" - ] + } }, "DynatraceSingleSignOnResource": { "type": "object", + "description": "Single sign-on configurations for a given monitor resource.", "properties": { "properties": { "$ref": "#/definitions/DynatraceSingleSignOnProperties", "description": "The resource-specific properties for this resource.", "x-ms-client-flatten": true - }, - "systemData": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/systemData", - "description": "System metadata for this resource.", - "readOnly": true } }, - "description": "Single sign-on configurations for a given monitor resource.", "required": [ "properties" ], @@ -1962,163 +2207,177 @@ }, "DynatraceSingleSignOnResourceListResult": { "type": "object", + "description": "The response of a DynatraceSingleSignOnResource list operation.", "properties": { "value": { "type": "array", + "description": "The DynatraceSingleSignOnResource items on this page", "items": { "$ref": "#/definitions/DynatraceSingleSignOnResource" - }, - "x-cadl-name": "Dynatrace.Observability.DynatraceSingleSignOnResource[]", - "description": "The items on this page" + } }, "nextLink": { "type": "string", + "format": "uri", "description": "The link to the next page of items" } }, - "description": "The response of a DynatraceSingleSignOnResource list operation.", "required": [ "value" ] }, - "MonitoredResource": { + "EnvironmentInfo": { "type": "object", + "description": "Dynatrace Environment Information", "properties": { - "id": { + "environmentId": { "type": "string", - "description": "The ARM id of the resource." - }, - "sendingMetrics": { - "$ref": "#/definitions/SendingMetricsStatus", - "description": "Flag indicating if resource is sending metrics to Dynatrace." + "description": "Id of the environment created" }, - "reasonForMetricsStatus": { + "ingestionKey": { "type": "string", - "description": "Reason for why the resource is sending metrics (or why it is not sending)." + "description": "Ingestion key of the environment" }, - "sendingLogs": { - "$ref": "#/definitions/SendingLogsStatus", - "description": "Flag indicating if resource is sending logs to Dynatrace." + "logsIngestionEndpoint": { + "type": "string", + "description": "Ingestion endpoint used for sending logs" }, - "reasonForLogsStatus": { + "landingURL": { "type": "string", - "description": "Reason for why the resource is sending logs (or why it is not sending)." + "description": "Landing URL for Dynatrace environment" } - }, - "description": "Details of resource being monitored by Dynatrace monitor resource" + } }, - "ManageAgentList": { + "FilteringTag": { "type": "object", + "description": "The definition of a filtering tag. Filtering tags are used for capturing resources and include/exclude them from being monitored.", "properties": { - "id": { + "name": { "type": "string", - "description": "The ARM id of the resource to install/uninstall agent." + "description": "The name (also known as the key) of the tag." + }, + "value": { + "type": "string", + "description": "The value of the tag." + }, + "action": { + "$ref": "#/definitions/TagAction", + "description": "Valid actions for a filtering tag. Exclusion takes priority over inclusion." } - }, - "description": "Details of resource that has Dynatrace agent installed through the Azure Dynatrace resource." + } }, - "VMInfo": { + "IdentityProperties": { "type": "object", + "description": "The properties of the managed service identities assigned to this resource.", "properties": { - "resourceId": { + "tenantId": { "type": "string", - "description": "Azure VM resource ID" + "description": "The Active Directory tenant id of the principal.", + "readOnly": true }, - "version": { + "principalId": { "type": "string", - "description": "Version of the Dynatrace agent installed on the VM." - }, - "monitoringType": { - "$ref": "#/definitions/MonitoringType", - "description": "The monitoring mode of OneAgent" - }, - "autoUpdateSetting": { - "$ref": "#/definitions/AutoUpdateSetting", - "description": "Update settings of OneAgent." - }, - "updateStatus": { - "$ref": "#/definitions/UpdateStatus", - "description": "The current update status of OneAgent." - }, - "availabilityState": { - "$ref": "#/definitions/AvailabilityState", - "description": "The availability state of OneAgent." - }, - "logModule": { - "$ref": "#/definitions/LogModule", - "description": "Tells whether log modules are enabled or not" + "description": "The active directory identifier of this principal.", + "readOnly": true }, - "hostGroup": { - "type": "string", - "description": "The name of the host group" + "type": { + "$ref": "#/definitions/ManagedIdentityType", + "description": "The type of managed identity assigned to this resource." }, - "hostName": { - "type": "string", - "description": "The name of the host" + "userAssignedIdentities": { + "type": "object", + "description": "The identities assigned to this resource by the user.", + "additionalProperties": { + "$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/UserAssignedIdentity" + } } }, - "description": "Details of VM Resource having Dynatrace OneAgent installed" + "required": [ + "type" + ] }, - "MonitoringType": { + "LiftrResourceCategories": { "type": "string", - "description": "The monitoring mode of OneAgent", + "description": "Liftr resource category", "enum": [ - "CLOUD_INFRASTRUCTURE", - "FULL_STACK", - "DISCOVERY" + "Unknown", + "MonitorLogs" ], "x-ms-enum": { - "name": "MonitoringType", - "modelAsString": true + "name": "LiftrResourceCategories", + "modelAsString": true, + "values": [ + { + "name": "Unknown", + "value": "Unknown" + }, + { + "name": "MonitorLogs", + "value": "MonitorLogs" + } + ] } }, - "AutoUpdateSetting": { - "type": "string", - "description": "Update settings of OneAgent.", - "enum": [ - "ENABLED", - "DISABLED" - ], - "x-ms-enum": { - "name": "AutoUpdateSetting", - "modelAsString": true - } + "LinkableEnvironmentListResponse": { + "type": "object", + "description": "Response for getting all the linkable environments", + "properties": { + "value": { + "type": "array", + "description": "The LinkableEnvironmentResponse items on this page", + "items": { + "$ref": "#/definitions/LinkableEnvironmentResponse" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] }, - "UpdateStatus": { - "type": "string", - "description": "The current update status of OneAgent.", - "enum": [ - "INCOMPATIBLE", - "OUTDATED", - "SCHEDULED", - "SUPPRESSED", - "UNKNOWN", - "UP2DATE", - "UPDATE_IN_PROGRESS", - "UPDATE_PENDING", - "UPDATE_PROBLEM" - ], - "x-ms-enum": { - "name": "UpdateStatus", - "modelAsString": true - } + "LinkableEnvironmentRequest": { + "type": "object", + "description": "Request for getting all the linkable environments for a user", + "properties": { + "tenantId": { + "type": "string", + "description": "Tenant Id of the user in which they want to link the environment" + }, + "userPrincipal": { + "type": "string", + "description": "user principal id of the user" + }, + "region": { + "type": "string", + "description": "Azure region in which we want to link the environment" + } + }, + "required": [ + "tenantId", + "userPrincipal", + "region" + ] }, - "AvailabilityState": { - "type": "string", - "description": "The availability state of OneAgent.", - "enum": [ - "CRASHED", - "LOST", - "MONITORED", - "PRE_MONITORED", - "SHUTDOWN", - "UNEXPECTED_SHUTDOWN", - "UNKNOWN", - "UNMONITORED" - ], - "x-ms-enum": { - "name": "AvailabilityState", - "modelAsString": true + "LinkableEnvironmentResponse": { + "type": "object", + "description": "Response for getting all the linkable environments", + "properties": { + "environmentId": { + "type": "string", + "description": "environment id for which user is an admin" + }, + "environmentName": { + "type": "string", + "description": "Name of the environment" + }, + "planData": { + "$ref": "#/definitions/PlanData", + "description": "Billing plan information." + } } }, "LogModule": { @@ -2130,283 +2389,224 @@ ], "x-ms-enum": { "name": "LogModule", - "modelAsString": true + "modelAsString": true, + "values": [ + { + "name": "ENABLED", + "value": "ENABLED" + }, + { + "name": "DISABLED", + "value": "DISABLED" + } + ] } }, - "MonitorUpdateProperties": { + "LogRules": { "type": "object", + "description": "Set of rules for sending logs for the Monitor resource.", "properties": { - "planData": { - "$ref": "#/definitions/PlanData", - "description": "The new Billing plan information." + "sendAadLogs": { + "$ref": "#/definitions/SendAadLogsStatus", + "description": "Flag specifying if AAD logs should be sent for the Monitor resource." + }, + "sendSubscriptionLogs": { + "$ref": "#/definitions/SendSubscriptionLogsStatus", + "description": "Flag specifying if subscription logs should be sent for the Monitor resource." + }, + "sendActivityLogs": { + "$ref": "#/definitions/SendActivityLogsStatus", + "description": "Flag specifying if activity logs from Azure resources should be sent for the Monitor resource." + }, + "filteringTags": { + "type": "array", + "description": "List of filtering tags to be used for capturing logs. This only takes effect if SendActivityLogs flag is enabled. If empty, all resources will be captured.\nIf only Exclude action is specified, the rules will apply to the list of all available resources. If Include actions are specified, the rules will only include resources with the associated tags.", + "items": { + "$ref": "#/definitions/FilteringTag" + }, + "x-ms-identifiers": [] } - }, - "description": "The set of properties that can be updated in a PATCH request to a monitor resource." + } }, - "UpgradePlanRequest": { + "LogStatusRequest": { "type": "object", + "description": "Request for getting log status for given monitored resource Ids", "properties": { - "planData": { - "$ref": "#/definitions/PlanData", - "description": "The new Billing plan information." + "monitoredResourceIds": { + "type": "array", + "description": "List of azure resource Id of monitored resources for which we get the log status", + "items": { + "type": "string" + } } - }, - "description": "The billing plan properties for the upgrade plan call." + } }, - "MonitorProperties": { + "ManageAgentInstallationRequest": { "type": "object", + "description": "Request for performing Dynatrace agent install/uninstall action through the Azure Dynatrace resource on the provided list of agent resources.", "properties": { - "monitoringStatus": { - "$ref": "#/definitions/MonitoringStatus", - "description": "Status of the monitor." - }, - "marketplaceSubscriptionStatus": { - "$ref": "#/definitions/MarketplaceSubscriptionStatus", - "description": "Marketplace subscription status." - }, - "marketplaceSaasAutoRenew": { - "$ref": "#/definitions/MarketplaceSaasAutoRenew", - "description": "Marketplace resource autorenew flag" - }, - "dynatraceEnvironmentProperties": { - "$ref": "#/definitions/DynatraceEnvironmentProperties", - "description": "Properties of the Dynatrace environment." - }, - "userInfo": { - "$ref": "#/definitions/UserInfo", - "description": "User info." - }, - "planData": { - "$ref": "#/definitions/PlanData", - "description": "Billing plan information." - }, - "liftrResourceCategory": { - "$ref": "#/definitions/LiftrResourceCategories", - "description": "Liftr Resource category.", - "readOnly": true - }, - "liftrResourcePreference": { - "type": "integer", - "format": "int32", - "description": "The priority of the resource.", - "readOnly": true + "manageAgentInstallationList": { + "type": "array", + "description": "The list of resources.", + "items": { + "$ref": "#/definitions/ManageAgentList" + } }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning state of the resource.", - "readOnly": true + "action": { + "$ref": "#/definitions/Action", + "description": "Install/Uninstall action." } }, - "description": "Properties specific to the monitor resource." + "required": [ + "manageAgentInstallationList", + "action" + ] }, - "IdentityProperties": { + "ManageAgentList": { "type": "object", + "description": "Details of resource that has Dynatrace agent installed through the Azure Dynatrace resource.", "properties": { - "tenantId": { - "type": "string", - "description": "The Active Directory tenant id of the principal.", - "readOnly": true - }, - "principalId": { + "id": { "type": "string", - "description": "The active directory identifier of this principal.", - "readOnly": true - }, - "type": { - "$ref": "#/definitions/ManagedIdentityType", - "description": "The type of managed identity assigned to this resource." - }, - "userAssignedIdentities": { - "type": "object", - "additionalProperties": { - "$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/UserAssignedIdentity" - }, - "description": "The identities assigned to this resource by the user." + "description": "The ARM id of the resource to install/uninstall agent." } - }, - "description": "The properties of the managed service identities assigned to this resource.", - "required": [ - "type" - ] - }, - "MonitoringStatus": { - "type": "string", - "description": "Flag specifying if the resource monitoring is enabled or disabled.", - "enum": [ - "Enabled", - "Disabled" - ], - "x-ms-enum": { - "name": "MonitoringStatus", - "modelAsString": true } }, - "MarketplaceSubscriptionStatus": { - "type": "string", - "description": "Flag specifying the Marketplace Subscription Status of the resource. If payment is not made in time, the resource will go in Suspended state.", - "enum": [ - "Active", - "Suspended", - "Unsubscribed" - ], - "x-ms-enum": { - "name": "MarketplaceSubscriptionStatus", - "modelAsString": true - } - }, - "Action": { - "type": "string", - "description": "Install/Uninstall action.", - "enum": [ - "Install", - "Uninstall" - ], - "x-ms-enum": { - "name": "Action", - "modelAsString": true - } - }, - "MarketplaceSaasAutoRenew": { + "ManagedIdentityType": { "type": "string", - "description": "Marketplace resource autorenew flag", + "description": "The kind of managed identity assigned to this resource.", "enum": [ - "On", - "Off" + "SystemAssigned", + "UserAssigned", + "SystemAndUserAssigned" ], "x-ms-enum": { - "name": "MarketplaceSaasAutoRenew", - "modelAsString": true + "name": "ManagedIdentityType", + "modelAsString": true, + "values": [ + { + "name": "SystemAssigned", + "value": "SystemAssigned" + }, + { + "name": "UserAssigned", + "value": "UserAssigned" + }, + { + "name": "SystemAndUserAssigned", + "value": "SystemAndUserAssigned" + } + ] } }, - "DynatraceEnvironmentProperties": { + "MarketplaceSaaSResourceDetailsRequest": { "type": "object", + "description": "Request for getting Marketplace SaaS resource details for a tenant Id", "properties": { - "userId": { + "tenantId": { "type": "string", - "description": "User id" - }, - "accountInfo": { - "$ref": "#/definitions/AccountInfo", - "description": "Dynatrace Account Information" - }, - "environmentInfo": { - "$ref": "#/definitions/EnvironmentInfo", - "description": "Dynatrace Environment Information" - }, - "singleSignOnProperties": { - "$ref": "#/definitions/DynatraceSingleSignOnProperties", - "description": "The details of a Dynatrace single sign-on." + "description": "Tenant Id" } }, - "description": "Properties of the Dynatrace environment." + "required": [ + "tenantId" + ] }, - "UserInfo": { + "MarketplaceSaaSResourceDetailsResponse": { "type": "object", + "description": "Marketplace SaaS resource details linked to the given tenant Id", "properties": { - "firstName": { + "marketplaceSaaSResourceId": { "type": "string", - "description": "First Name of the user" + "description": "Id of the Marketplace SaaS Resource" }, - "lastName": { + "planId": { "type": "string", - "description": "Last Name of the user" - }, - "emailAddress": { - "$ref": "#/definitions/email", - "description": "Email of the user used by Dynatrace for contacting them if needed" + "description": "Id of the plan" }, - "phoneNumber": { - "type": "string", - "maxLength": 40, - "description": "Phone number of the user used by Dynatrace for contacting them if needed" + "marketplaceSubscriptionStatus": { + "$ref": "#/definitions/MarketplaceSubscriptionStatus", + "description": "Marketplace subscription status" }, - "country": { + "marketplaceSaaSResourceName": { "type": "string", - "description": "Country of the user" + "description": "Name of the Marketplace SaaS Resource" } - }, - "description": "User info." + } }, - "PlanData": { - "type": "object", - "properties": { - "usageType": { - "type": "string", - "description": "different usage type like PAYG/COMMITTED. this could be enum" - }, - "billingCycle": { - "type": "string", - "description": "different billing cycles like MONTHLY/WEEKLY. this could be enum" - }, - "planDetails": { - "type": "string", - "description": "plan id as published by Dynatrace" - }, - "effectiveDate": { - "type": "string", - "format": "date-time", - "description": "date when plan was applied" - } - }, - "description": "Billing plan information." + "MarketplaceSaasAutoRenew": { + "type": "string", + "description": "Marketplace resource autorenew flag", + "enum": [ + "On", + "Off" + ], + "x-ms-enum": { + "name": "MarketplaceSaasAutoRenew", + "modelAsString": true, + "values": [ + { + "name": "On", + "value": "On" + }, + { + "name": "Off", + "value": "Off" + } + ] + } }, - "MonitoringTagRulesProperties": { + "MarketplaceSubscriptionIdRequest": { "type": "object", + "description": "Request for getting connected resources count for a Marketplace Subscription Id", "properties": { - "logRules": { - "$ref": "#/definitions/LogRules", - "description": "Set of rules for sending logs for the Monitor resource." - }, - "metricRules": { - "$ref": "#/definitions/MetricRules", - "description": "Set of rules for sending metrics for the Monitor resource." - }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning state of the resource.", - "readOnly": true + "marketplaceSubscriptionId": { + "type": "string", + "description": "Marketplace Subscription Id" } }, - "description": "Properties for the Tag rules resource of a Monitor account." + "required": [ + "marketplaceSubscriptionId" + ] }, - "LogRules": { - "type": "object", - "properties": { - "sendAadLogs": { - "$ref": "#/definitions/SendAadLogsStatus", - "description": "Flag specifying if AAD logs should be sent for the Monitor resource." - }, - "sendSubscriptionLogs": { - "$ref": "#/definitions/SendSubscriptionLogsStatus", - "description": "Flag specifying if subscription logs should be sent for the Monitor resource." - }, - "sendActivityLogs": { - "$ref": "#/definitions/SendActivityLogsStatus", - "description": "Flag specifying if activity logs from Azure resources should be sent for the Monitor resource." - }, - "filteringTags": { - "type": "array", - "items": { - "$ref": "#/definitions/FilteringTag" + "MarketplaceSubscriptionStatus": { + "type": "string", + "description": "Flag specifying the Marketplace Subscription Status of the resource. If payment is not made in time, the resource will go in Suspended state.", + "enum": [ + "Active", + "Suspended", + "Unsubscribed" + ], + "x-ms-enum": { + "name": "MarketplaceSubscriptionStatus", + "modelAsString": true, + "values": [ + { + "name": "Active", + "value": "Active" }, - "x-cadl-name": "FilteringTag[]", - "x-ms-identifiers": [], - "description": "List of filtering tags to be used for capturing logs. This only takes effect if SendActivityLogs flag is enabled. If empty, all resources will be captured.\nIf only Exclude action is specified, the rules will apply to the list of all available resources. If Include actions are specified, the rules will only include resources with the associated tags." - } - }, - "description": "Set of rules for sending logs for the Monitor resource." + { + "name": "Suspended", + "value": "Suspended" + }, + { + "name": "Unsubscribed", + "value": "Unsubscribed" + } + ] + } }, "MetricRules": { - "description": "Set of rules for sending metrics for the Monitor resource.", "type": "object", + "description": "Set of rules for sending metrics for the Monitor resource.", "properties": { "sendingMetrics": { "$ref": "#/definitions/SendingMetricsStatus", "description": "Flag specifying if metrics from Azure resources should be sent for the Monitor resource." }, "filteringTags": { - "description": "List of filtering tags to be used for capturing metrics. If empty, all resources will be captured. If only Exclude action is specified, the rules will apply to the list of all available resources. If Include actions are specified, the rules will only include resources with the associated tags.", "type": "array", + "description": "List of filtering tags to be used for capturing metrics. If empty, all resources will be captured. If only Exclude action is specified, the rules will apply to the list of all available resources. If Include actions are specified, the rules will only include resources with the associated tags.", "items": { "$ref": "#/definitions/FilteringTag" }, @@ -2414,358 +2614,417 @@ } } }, - "DynatraceSingleSignOnProperties": { + "MetricStatusRequest": { "type": "object", + "description": "Request for getting metric status for given monitored resource Ids", "properties": { - "singleSignOnState": { - "$ref": "#/definitions/SingleSignOnStates", - "description": "State of Single Sign On" - }, - "enterpriseAppId": { - "type": "string", - "description": "Version of the Dynatrace agent installed on the VM." - }, - "singleSignOnUrl": { - "type": "string", - "description": "The login URL specific to this Dynatrace Environment" - }, - "aadDomains": { + "monitoredResourceIds": { "type": "array", + "description": "List of azure resource Id of monitored resources for which we get the metric status", "items": { "type": "string" - }, - "x-cadl-name": "string[]", - "description": "array of Aad(azure active directory) domains" - }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning state of the resource.", - "readOnly": true + } } - }, - "description": "The details of a Dynatrace single sign-on." - }, - "SendingMetricsStatus": { - "type": "string", - "description": "Indicates whether metrics are being sent.", - "enum": [ - "Enabled", - "Disabled" - ], - "x-ms-enum": { - "name": "SendingMetricsStatus", - "modelAsString": true - } - }, - "SendingLogsStatus": { - "type": "string", - "description": "Indicates whether logs are being sent.", - "enum": [ - "Enabled", - "Disabled" - ], - "x-ms-enum": { - "name": "SendingLogsStatus", - "modelAsString": true - } - }, - "LiftrResourceCategories": { - "type": "string", - "description": "Liftr resource category", - "enum": [ - "Unknown", - "MonitorLogs" - ], - "x-ms-enum": { - "name": "LiftrResourceCategories", - "modelAsString": true - } - }, - "ProvisioningState": { - "type": "string", - "description": "Provisioning state of the monitoring resource", - "enum": [ - "Accepted", - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Failed", - "Canceled", - "Deleted", - "NotSpecified" - ], - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true } }, - "ManagedIdentityType": { - "type": "string", - "description": "The kind of managed identity assigned to this resource.", - "enum": [ - "SystemAssigned", - "UserAssigned", - "SystemAndUserAssigned" - ], - "x-ms-enum": { - "name": "ManagedIdentityType", - "modelAsString": true + "MetricsStatusResponse": { + "type": "object", + "description": "Response of get metrics status operation", + "properties": { + "azureResourceIds": { + "type": "array", + "description": "Azure resource IDs", + "items": { + "type": "string" + } + } } }, - "AccountInfo": { + "MonitorProperties": { "type": "object", + "description": "Properties specific to the monitor resource.", "properties": { - "accountId": { - "type": "string", - "description": "Account Id of the account this environment is linked to" + "monitoringStatus": { + "$ref": "#/definitions/MonitoringStatus", + "description": "Status of the monitor." }, - "regionId": { - "type": "string", - "description": "Region in which the account is created" + "marketplaceSubscriptionStatus": { + "$ref": "#/definitions/MarketplaceSubscriptionStatus", + "description": "Marketplace subscription status." }, - "companyName": { - "type": "string", - "description": "Name of the customer account / company" + "marketplaceSaasAutoRenew": { + "$ref": "#/definitions/MarketplaceSaasAutoRenew", + "description": "Marketplace resource autorenew flag" + }, + "dynatraceEnvironmentProperties": { + "$ref": "#/definitions/DynatraceEnvironmentProperties", + "description": "Properties of the Dynatrace environment." + }, + "userInfo": { + "$ref": "#/definitions/UserInfo", + "description": "User info." + }, + "planData": { + "$ref": "#/definitions/PlanData", + "description": "Billing plan information." + }, + "liftrResourceCategory": { + "$ref": "#/definitions/LiftrResourceCategories", + "description": "Liftr Resource category.", + "readOnly": true + }, + "liftrResourcePreference": { + "type": "integer", + "format": "int32", + "description": "The priority of the resource.", + "readOnly": true + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning state of the resource.", + "readOnly": true } - }, - "description": "Dynatrace Account Information" + } }, - "EnvironmentInfo": { + "MonitorResource": { "type": "object", + "description": "Dynatrace Monitor Resource", "properties": { - "environmentId": { - "type": "string", - "description": "Id of the environment created" - }, - "ingestionKey": { - "type": "string", - "description": "Ingestion key of the environment" - }, - "logsIngestionEndpoint": { - "type": "string", - "description": "Ingestion endpoint used for sending logs" + "properties": { + "$ref": "#/definitions/MonitorProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true }, - "landingURL": { - "type": "string", - "description": "Landing URL for Dynatrace environment" + "identity": { + "$ref": "#/definitions/IdentityProperties", + "description": "The managed service identities assigned to this resource." } }, - "description": "Dynatrace Environment Information" + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] }, - "LinkableEnvironmentRequest": { - "description": "Request for getting all the linkable environments for a user", + "MonitorResourceListResult": { "type": "object", + "description": "The response of a MonitorResource list operation.", "properties": { - "tenantId": { - "type": "string", - "description": "Tenant Id of the user in which they want to link the environment" - }, - "userPrincipal": { - "type": "string", - "description": "user principal id of the user" + "value": { + "type": "array", + "description": "The MonitorResource items on this page", + "items": { + "$ref": "#/definitions/MonitorResource" + } }, - "region": { + "nextLink": { "type": "string", - "description": "Azure region in which we want to link the environment" + "format": "uri", + "description": "The link to the next page of items" } }, "required": [ - "tenantId", - "userPrincipal", - "region" + "value" ] }, - "LinkableEnvironmentResponse": { - "description": "Response for getting all the linkable environments", + "MonitorResourceUpdate": { "type": "object", + "description": "The updatable properties of the MonitorResource.", "properties": { - "environmentId": { - "type": "string", - "description": "environment id for which user is an admin" + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + }, + "x-ms-mutability": [ + "read", + "update", + "create" + ] }, - "environmentName": { - "type": "string", - "description": "Name of the environment" + "properties": { + "$ref": "#/definitions/MonitorUpdateProperties", + "description": "The set of properties that can be updated in a PATCH request to a monitor resource." }, - "planData": { - "$ref": "#/definitions/PlanData", - "description": "Billing plan information." + "identity": { + "$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/ManagedServiceIdentity", + "description": "The managed service identities assigned to this resource." } } }, - "LinkableEnvironmentListResponse": { - "description": "Response for getting all the linkable environments", + "MonitorUpdateProperties": { "type": "object", + "description": "The set of properties that can be updated in a PATCH request to a monitor resource.", "properties": { - "value": { - "description": "List of environments for which user is an admin", - "type": "array", - "items": { - "$ref": "#/definitions/LinkableEnvironmentResponse" - }, - "x-ms-identifiers": [] - }, - "nextLink": { - "description": "Link to the next set of results, if any.", - "type": "string" + "planData": { + "$ref": "#/definitions/PlanData", + "description": "The new Billing plan information." } } }, - "LogStatusRequest": { - "description": "Request for getting log status for given monitored resource Ids", + "MonitoredResource": { "type": "object", + "description": "Details of resource being monitored by Dynatrace monitor resource", "properties": { - "monitoredResourceIds": { - "type": "array", - "items": { - "type": "string" - }, - "description": "List of azure resource Id of monitored resources for which we get the log status" + "id": { + "type": "string", + "description": "The ARM id of the resource." + }, + "sendingMetrics": { + "$ref": "#/definitions/SendingMetricsStatus", + "description": "Flag indicating if resource is sending metrics to Dynatrace." + }, + "reasonForMetricsStatus": { + "type": "string", + "description": "Reason for why the resource is sending metrics (or why it is not sending)." + }, + "sendingLogs": { + "$ref": "#/definitions/SendingLogsStatus", + "description": "Flag indicating if resource is sending logs to Dynatrace." + }, + "reasonForLogsStatus": { + "type": "string", + "description": "Reason for why the resource is sending logs (or why it is not sending)." } } }, - "MetricStatusRequest": { - "description": "Request for getting metric status for given monitored resource Ids", + "MonitoredResourceListResponse": { "type": "object", + "description": "List of all the resources being monitored by Dynatrace monitor resource", "properties": { - "monitoredResourceIds": { + "value": { "type": "array", + "description": "The MonitoredResource items on this page", "items": { - "type": "string" - }, - "description": "List of azure resource Id of monitored resources for which we get the metric status" + "$ref": "#/definitions/MonitoredResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" } - } + }, + "required": [ + "value" + ] }, "MonitoredSubscription": { - "description": "The list of subscriptions and it's monitoring status by current Dynatrace monitor.", "type": "object", + "description": "The list of subscriptions and it's monitoring status by current Dynatrace monitor.", "properties": { "subscriptionId": { - "description": "The subscriptionId to be monitored.", - "type": "string" + "type": "string", + "description": "The subscriptionId to be monitored." }, "status": { - "description": "The state of monitoring.", - "enum": [ - "InProgress", - "Active", - "Failed", - "Deleting" - ], - "x-ms-enum": { - "modelAsString": true, - "name": "Status" - }, - "type": "string" + "$ref": "#/definitions/Status", + "description": "The state of monitoring." }, "error": { - "description": "The reason of not monitoring the subscription.", - "type": "string" + "type": "string", + "description": "The reason of not monitoring the subscription." }, "tagRules": { - "$ref": "#/definitions/MonitoringTagRulesProperties" + "$ref": "#/definitions/MonitoringTagRulesProperties", + "description": "Properties for the Tag rules resource of a Monitor account." } }, "required": [ "subscriptionId" ] }, - "SubscriptionList": { + "MonitoredSubscriptionProperties": { + "type": "object", "description": "The request to update subscriptions needed to be monitored by the Dynatrace monitor resource.", + "properties": { + "properties": { + "$ref": "#/definitions/SubscriptionList", + "description": "The request to update subscriptions needed to be monitored by the Dynatrace monitor resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "MonitoredSubscriptionPropertiesList": { "type": "object", + "description": "Paged collection of MonitoredSubscriptionProperties items", "properties": { - "operation": { - "description": "The operation for the patch on the resource.", - "enum": [ - "AddBegin", - "AddComplete", - "DeleteBegin", - "DeleteComplete", - "Active" - ], - "type": "string", - "x-ms-enum": { - "modelAsString": true, - "name": "SubscriptionListOperation" - }, - "x-ms-mutability": [ - "create", - "update" - ] - }, - "monitoredSubscriptionList": { - "description": "List of subscriptions and the state of the monitoring.", + "value": { "type": "array", + "description": "The MonitoredSubscriptionProperties items on this page", "items": { - "$ref": "#/definitions/MonitoredSubscription" + "$ref": "#/definitions/MonitoredSubscriptionProperties" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "MonitoringStatus": { + "type": "string", + "description": "Flag specifying if the resource monitoring is enabled or disabled.", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "MonitoringStatus", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled" }, - "x-ms-identifiers": [] + { + "name": "Disabled", + "value": "Disabled" + } + ] + } + }, + "MonitoringTagRulesProperties": { + "type": "object", + "description": "Properties for the Tag rules resource of a Monitor account.", + "properties": { + "logRules": { + "$ref": "#/definitions/LogRules", + "description": "Set of rules for sending logs for the Monitor resource." + }, + "metricRules": { + "$ref": "#/definitions/MetricRules", + "description": "Set of rules for sending metrics for the Monitor resource." }, "provisioningState": { "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State of the resource", + "description": "Provisioning state of the resource.", "readOnly": true } } }, - "MonitoredSubscriptionProperties": { - "description": "The request to update subscriptions needed to be monitored by the Dynatrace monitor resource.", + "MonitoringType": { + "type": "string", + "description": "The monitoring mode of OneAgent", + "enum": [ + "CLOUD_INFRASTRUCTURE", + "FULL_STACK", + "DISCOVERY" + ], + "x-ms-enum": { + "name": "MonitoringType", + "modelAsString": true, + "values": [ + { + "name": "CLOUD_INFRASTRUCTURE", + "value": "CLOUD_INFRASTRUCTURE" + }, + { + "name": "FULL_STACK", + "value": "FULL_STACK" + }, + { + "name": "DISCOVERY", + "value": "DISCOVERY" + } + ] + } + }, + "PlanData": { "type": "object", - "x-ms-azure-resource": true, + "description": "Billing plan information.", "properties": { - "name": { - "description": "Name of the monitored subscription resource.", + "usageType": { "type": "string", - "readOnly": true + "description": "different usage type like PAYG/COMMITTED. this could be enum" }, - "id": { - "description": "The id of the monitored subscription resource.", + "billingCycle": { "type": "string", - "readOnly": true + "description": "different billing cycles like MONTHLY/WEEKLY. this could be enum" }, - "type": { - "description": "The type of the monitored subscription resource.", + "planDetails": { "type": "string", - "readOnly": true + "description": "plan id as published by Dynatrace" }, - "properties": { - "$ref": "#/definitions/SubscriptionList" + "effectiveDate": { + "type": "string", + "format": "date-time", + "description": "date when plan was applied" } } }, - "MonitoredSubscriptionPropertiesList": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/MonitoredSubscriptionProperties" + "ProvisioningState": { + "type": "string", + "description": "Provisioning state of the monitoring resource", + "enum": [ + "Accepted", + "Creating", + "Updating", + "Deleting", + "Succeeded", + "Failed", + "Canceled", + "Deleted", + "NotSpecified" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Accepted", + "value": "Accepted" + }, + { + "name": "Creating", + "value": "Creating" + }, + { + "name": "Updating", + "value": "Updating" + }, + { + "name": "Deleting", + "value": "Deleting" + }, + { + "name": "Succeeded", + "value": "Succeeded" + }, + { + "name": "Failed", + "value": "Failed" + }, + { + "name": "Canceled", + "value": "Canceled" + }, + { + "name": "Deleted", + "value": "Deleted" + }, + { + "name": "NotSpecified", + "value": "NotSpecified" } - }, - "nextLink": { - "type": "string", - "description": "The link to the next page of items" - } + ] } }, - "MarketplaceSaaSResourceDetailsRequest": { - "description": "Request for getting Marketplace SaaS resource details for a tenant Id", - "type": "object", - "properties": { - "tenantId": { - "type": "string", - "description": "Tenant Id" - } - }, - "required": [ - "tenantId" - ] - }, "SSODetailsRequest": { - "description": "Request for getting sso details for a user", "type": "object", + "description": "Request for getting sso details for a user", "properties": { "userPrincipal": { "type": "string", @@ -2778,6 +3037,7 @@ }, "SSODetailsResponse": { "type": "object", + "description": "SSO details from the Dynatrace partner", "properties": { "isSsoEnabled": { "$ref": "#/definitions/SSOStatus", @@ -2793,278 +3053,514 @@ }, "aadDomains": { "type": "array", + "description": "array of Aad(azure active directory) domains", "items": { "type": "string" - }, - "description": "array of Aad(azure active directory) domains" + } }, "adminUsers": { "type": "array", + "description": "Array of admin user emails.", + "items": { + "type": "string" + } + } + } + }, + "SSOStatus": { + "type": "string", + "description": "Indicates whether SSO is enabled or not", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "SSOStatus", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled" + }, + { + "name": "Disabled", + "value": "Disabled" + } + ] + } + }, + "SendAadLogsStatus": { + "type": "string", + "description": "Indicates whether AAD logs are being sent.", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "SendAadLogsStatus", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled" + }, + { + "name": "Disabled", + "value": "Disabled" + } + ] + } + }, + "SendActivityLogsStatus": { + "type": "string", + "description": "Indicates whether activity logs are being sent.", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "SendActivityLogsStatus", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled" + }, + { + "name": "Disabled", + "value": "Disabled" + } + ] + } + }, + "SendSubscriptionLogsStatus": { + "type": "string", + "description": "Indicates whether subscription logs are being sent.", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "SendSubscriptionLogsStatus", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled" + }, + { + "name": "Disabled", + "value": "Disabled" + } + ] + } + }, + "SendingLogsStatus": { + "type": "string", + "description": "Indicates whether logs are being sent.", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "SendingLogsStatus", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled" + }, + { + "name": "Disabled", + "value": "Disabled" + } + ] + } + }, + "SendingMetricsStatus": { + "type": "string", + "description": "Indicates whether metrics are being sent.", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "SendingMetricsStatus", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled" + }, + { + "name": "Disabled", + "value": "Disabled" + } + ] + } + }, + "SingleSignOnStates": { + "type": "string", + "description": "Various states of the SSO resource", + "enum": [ + "Initial", + "Enable", + "Disable", + "Existing" + ], + "x-ms-enum": { + "name": "SingleSignOnStates", + "modelAsString": true, + "values": [ + { + "name": "Initial", + "value": "Initial" + }, + { + "name": "Enable", + "value": "Enable" + }, + { + "name": "Disable", + "value": "Disable" + }, + { + "name": "Existing", + "value": "Existing" + } + ] + } + }, + "Status": { + "type": "string", + "description": "The state of monitoring.", + "enum": [ + "InProgress", + "Active", + "Failed", + "Deleting" + ], + "x-ms-enum": { + "name": "Status", + "modelAsString": true, + "values": [ + { + "name": "InProgress", + "value": "InProgress" + }, + { + "name": "Active", + "value": "Active" + }, + { + "name": "Failed", + "value": "Failed" + }, + { + "name": "Deleting", + "value": "Deleting" + } + ] + } + }, + "SubscriptionList": { + "type": "object", + "description": "The request to update subscriptions needed to be monitored by the Dynatrace monitor resource.", + "properties": { + "operation": { + "$ref": "#/definitions/SubscriptionListOperation", + "description": "The operation for the patch on the resource.", + "x-ms-mutability": [ + "update", + "create" + ] + }, + "monitoredSubscriptionList": { + "type": "array", + "description": "List of subscriptions and the state of the monitoring.", "items": { - "type": "string" + "$ref": "#/definitions/MonitoredSubscription" }, - "description": "Array of admin user emails." + "x-ms-identifiers": [] + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State of the resource", + "readOnly": true } - }, - "description": "SSO details from the Dynatrace partner" - }, - "SSOStatus": { - "type": "string", - "description": "Indicates whether SSO is enabled or not", - "enum": [ - "Enabled", - "Disabled" - ], - "x-ms-enum": { - "name": "SSOStatus", - "modelAsString": true } }, - "email": { + "SubscriptionListOperation": { "type": "string", - "pattern": "^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\\.)+[A-Za-z]{2,}$", - "description": "Reusable representation of an email address" - }, - "SendAadLogsStatus": { - "type": "string", - "description": "Indicates whether AAD logs are being sent.", + "description": "The operation for the patch on the resource.", "enum": [ - "Enabled", - "Disabled" + "AddBegin", + "AddComplete", + "DeleteBegin", + "DeleteComplete", + "Active" ], "x-ms-enum": { - "name": "SendAadLogsStatus", - "modelAsString": true + "name": "SubscriptionListOperation", + "modelAsString": true, + "values": [ + { + "name": "AddBegin", + "value": "AddBegin" + }, + { + "name": "AddComplete", + "value": "AddComplete" + }, + { + "name": "DeleteBegin", + "value": "DeleteBegin" + }, + { + "name": "DeleteComplete", + "value": "DeleteComplete" + }, + { + "name": "Active", + "value": "Active" + } + ] } }, - "SendSubscriptionLogsStatus": { + "TagAction": { "type": "string", - "description": "Indicates whether subscription logs are being sent.", + "description": "Valid actions for a filtering tag. Exclusion takes priority over inclusion.", "enum": [ - "Enabled", - "Disabled" + "Include", + "Exclude" ], "x-ms-enum": { - "name": "SendSubscriptionLogsStatus", - "modelAsString": true + "name": "TagAction", + "modelAsString": true, + "values": [ + { + "name": "Include", + "value": "Include" + }, + { + "name": "Exclude", + "value": "Exclude" + } + ] } }, - "SendActivityLogsStatus": { - "type": "string", - "description": "Indicates whether activity logs are being sent.", - "enum": [ - "Enabled", - "Disabled" + "TagRule": { + "type": "object", + "description": "Tag rules for a monitor resource", + "properties": { + "properties": { + "$ref": "#/definitions/MonitoringTagRulesProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "required": [ + "properties" ], - "x-ms-enum": { - "name": "SendActivityLogsStatus", - "modelAsString": true - } + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] }, - "FilteringTag": { + "TagRuleListResult": { "type": "object", + "description": "The response of a TagRule list operation.", "properties": { - "name": { - "type": "string", - "description": "The name (also known as the key) of the tag." - }, "value": { - "type": "string", - "description": "The value of the tag." + "type": "array", + "description": "The TagRule items on this page", + "items": { + "$ref": "#/definitions/TagRule" + } }, - "action": { - "$ref": "#/definitions/TagAction", - "description": "Valid actions for a filtering tag. Exclusion takes priority over inclusion." + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" } }, - "description": "The definition of a filtering tag. Filtering tags are used for capturing resources and include/exclude them from being monitored." + "required": [ + "value" + ] }, - "SingleSignOnStates": { + "UpdateStatus": { "type": "string", - "description": "Various states of the SSO resource", + "description": "The current update status of OneAgent.", "enum": [ - "Initial", - "Enable", - "Disable", - "Existing" + "INCOMPATIBLE", + "OUTDATED", + "SCHEDULED", + "SUPPRESSED", + "UNKNOWN", + "UP2DATE", + "UPDATE_IN_PROGRESS", + "UPDATE_PENDING", + "UPDATE_PROBLEM" ], "x-ms-enum": { - "name": "SingleSignOnStates", - "modelAsString": true + "name": "UpdateStatus", + "modelAsString": true, + "values": [ + { + "name": "INCOMPATIBLE", + "value": "INCOMPATIBLE" + }, + { + "name": "OUTDATED", + "value": "OUTDATED" + }, + { + "name": "SCHEDULED", + "value": "SCHEDULED" + }, + { + "name": "SUPPRESSED", + "value": "SUPPRESSED" + }, + { + "name": "UNKNOWN", + "value": "UNKNOWN" + }, + { + "name": "UP2DATE", + "value": "UP2DATE" + }, + { + "name": "UPDATE_IN_PROGRESS", + "value": "UPDATE_IN_PROGRESS" + }, + { + "name": "UPDATE_PENDING", + "value": "UPDATE_PENDING" + }, + { + "name": "UPDATE_PROBLEM", + "value": "UPDATE_PROBLEM" + } + ] } }, - "TagAction": { - "type": "string", - "description": "Valid actions for a filtering tag. Exclusion takes priority over inclusion.", - "enum": [ - "Include", - "Exclude" - ], - "x-ms-enum": { - "name": "TagAction", - "modelAsString": true + "UpgradePlanRequest": { + "type": "object", + "description": "The billing plan properties for the upgrade plan call.", + "properties": { + "planData": { + "$ref": "#/definitions/PlanData", + "description": "The new Billing plan information." + } } }, - "ConnectedResourcesCountResponse": { - "description": "Response for getting Connected resources for a MP SaaS Resource", + "UserInfo": { "type": "object", + "description": "User info.", "properties": { - "connectedResourcesCount": { - "type": "integer", - "format": "int64", - "description": "Count of the connected resources" + "firstName": { + "type": "string", + "description": "First Name of the user" + }, + "lastName": { + "type": "string", + "description": "Last Name of the user" + }, + "emailAddress": { + "type": "string", + "description": "Email of the user used by Dynatrace for contacting them if needed", + "pattern": "^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\\.)+[A-Za-z]{2,}$" + }, + "phoneNumber": { + "type": "string", + "description": "Phone number of the user used by Dynatrace for contacting them if needed", + "maxLength": 40 + }, + "country": { + "type": "string", + "description": "Country of the user" } } }, - "MarketplaceSubscriptionIdRequest": { - "description": "Request for getting connected resources count for a Marketplace Subscription Id", + "VMExtensionPayload": { "type": "object", + "description": "Response of payload to be passed while installing VM agent.", "properties": { - "marketplaceSubscriptionId": { + "ingestionKey": { "type": "string", - "description": "Marketplace Subscription Id" + "description": "Ingestion key of the environment" + }, + "environmentId": { + "type": "string", + "description": "Id of the environment created" } - }, - "required": [ - "marketplaceSubscriptionId" - ] + } }, - "ManageAgentInstallationRequest": { - "description": "Request for performing Dynatrace agent install/uninstall action through the Azure Dynatrace resource on the provided list of agent resources.", + "VMHostsListResponse": { "type": "object", + "description": "Response of a list VM Host Operation.", "properties": { - "manageAgentInstallationList": { + "value": { "type": "array", + "description": "The VMInfo items on this page", "items": { - "$ref": "#/definitions/ManageAgentList" - }, - "description": "The list of resources." + "$ref": "#/definitions/VMInfo" + } }, - "action": { - "$ref": "#/definitions/Action", - "description": "Install/Uninstall action." + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" } }, "required": [ - "manageAgentInstallationList", - "action" + "value" ] - } - }, - "parameters": { - "MonitorNameParameter": { - "x-ms-parameter-location": "method", - "name": "monitorName", - "in": "path", - "required": true, - "description": "Monitor resource name", - "type": "string", - "pattern": "^[a-zA-Z0-9_-]*$" - }, - "RuleSetNameParameter": { - "x-ms-parameter-location": "method", - "name": "ruleSetName", - "in": "path", - "required": true, - "description": "Monitor resource name", - "type": "string", - "pattern": "^[a-zA-Z]*$" - }, - "ConfigurationNameParameter": { - "x-ms-parameter-location": "method", - "name": "configurationName", - "in": "path", - "required": true, - "description": "Single Sign On Configuration Name", - "type": "string", - "pattern": "^[a-zA-Z]*$" - }, - "MarketplaceSubscriptionParameter": { - "x-ms-parameter-location": "method", - "name": "request", - "in": "body", - "required": true, - "description": "Marketplace Subscription Id", - "schema": { - "$ref": "#/definitions/MarketplaceSubscriptionIdRequest" - } - }, - "ManageAgentInstallationParameter": { - "x-ms-parameter-location": "method", - "name": "request", - "in": "body", - "required": true, - "description": "List of resources and action", - "schema": { - "$ref": "#/definitions/ManageAgentInstallationRequest" - } - }, - "DynatraceEnvironmentId": { - "x-ms-parameter-location": "method", - "name": "dynatraceEnvironmentId", - "in": "path", - "required": true, - "description": "Dynatrace Environment Id", - "type": "string" - }, - "LinkableEnvRequestParameter": { - "x-ms-parameter-location": "method", - "name": "request", - "in": "body", - "required": true, - "description": "The details of the linkable environment request.", - "schema": { - "$ref": "#/definitions/LinkableEnvironmentRequest" - } - }, - "LogStatusRequestParameter": { - "x-ms-parameter-location": "method", - "name": "request", - "in": "body", - "required": false, - "description": "The details of the log status request.", - "schema": { - "$ref": "#/definitions/LogStatusRequest" - } - }, - "UpgradePlanParameter": { - "x-ms-parameter-location": "method", - "name": "request", - "in": "body", - "required": true, - "description": "The details of the upgrade plan request.", - "schema": { - "$ref": "#/definitions/UpgradePlanRequest" - } - }, - "MetricStatusRequestParameter": { - "x-ms-parameter-location": "method", - "name": "request", - "in": "body", - "required": false, - "description": "The details of the metric status request.", - "schema": { - "$ref": "#/definitions/MetricStatusRequest" - } - }, - "SSODetailsRequestParameter": { - "x-ms-parameter-location": "method", - "name": "request", - "in": "body", - "description": "The details of the get sso details request.", - "schema": { - "$ref": "#/definitions/SSODetailsRequest" - } - }, - "TenantIdParameter": { - "x-ms-parameter-location": "method", - "name": "request", - "in": "body", - "required": true, - "description": "Tenant Id", - "schema": { - "$ref": "#/definitions/MarketplaceSaaSResourceDetailsRequest" + }, + "VMInfo": { + "type": "object", + "description": "Details of VM Resource having Dynatrace OneAgent installed", + "properties": { + "resourceId": { + "type": "string", + "description": "Azure VM resource ID" + }, + "version": { + "type": "string", + "description": "Version of the Dynatrace agent installed on the VM." + }, + "monitoringType": { + "$ref": "#/definitions/MonitoringType", + "description": "The monitoring mode of OneAgent" + }, + "autoUpdateSetting": { + "$ref": "#/definitions/AutoUpdateSetting", + "description": "Update settings of OneAgent." + }, + "updateStatus": { + "$ref": "#/definitions/UpdateStatus", + "description": "The current update status of OneAgent." + }, + "availabilityState": { + "$ref": "#/definitions/AvailabilityState", + "description": "The availability state of OneAgent." + }, + "logModule": { + "$ref": "#/definitions/LogModule", + "description": "Tells whether log modules are enabled or not" + }, + "hostGroup": { + "type": "string", + "description": "The name of the host group" + }, + "hostName": { + "type": "string", + "description": "The name of the host" + } } } - } + }, + "parameters": {} } diff --git a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/CreationSupported_Get.json b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/CreationSupported_Get.json index e19c33c127ab..3762dbb2e4e0 100644 --- a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/CreationSupported_Get.json +++ b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/CreationSupported_Get.json @@ -1,20 +1,22 @@ { "parameters": { "api-version": "2024-04-24", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "dynatraceEnvironmentId": "00000000-0000-0000-0000" + "dynatraceEnvironmentId": "00000000-0000-0000-0000", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Dynatrace.Observability/monitors?api-version=2024-04-24&$skiptoken=abc123", "value": [ { "name": "/subscriptions/00000000-0000-0000-0000-000000000000", "creationSupported": true } - ], - "nextLink": "null" + ] } } - } + }, + "operationId": "CreationSupported_Get", + "title": "CreationSupported_Get" } diff --git a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/CreationSupported_List.json b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/CreationSupported_List.json new file mode 100644 index 000000000000..c7ffe9f35f8e --- /dev/null +++ b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/CreationSupported_List.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "api-version": "2024-04-24", + "dynatraceEnvironmentId": "00000000-0000-0000-0000", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Dynatrace.Observability/monitors?api-version=2024-04-24&$skiptoken=abc123", + "value": [ + { + "name": "/subscriptions/00000000-0000-0000-0000-000000000000", + "creationSupported": true + } + ] + } + } + }, + "operationId": "CreationSupported_List", + "title": "CreationSupported_List" +} diff --git a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/MonitoredSubscriptions_CreateOrUpdate.json b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/MonitoredSubscriptions_CreateOrUpdate.json index 04f1e93eaa32..29b7c30ee1b5 100644 --- a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/MonitoredSubscriptions_CreateOrUpdate.json +++ b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/MonitoredSubscriptions_CreateOrUpdate.json @@ -1,34 +1,31 @@ { "parameters": { "api-version": "2024-04-24", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "monitorName": "myMonitor", "configurationName": "default", + "monitorName": "myMonitor", "requestBody": { "properties": { - "operation": "AddBegin", "monitoredSubscriptionList": [ { - "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000000", "status": "Active", + "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000000", "tagRules": { "logRules": { - "sendAadLogs": "Disabled", - "sendSubscriptionLogs": "Enabled", - "sendActivityLogs": "Enabled", "filteringTags": [ { "name": "Environment", - "value": "Prod", - "action": "Include" + "action": "Include", + "value": "Prod" }, { "name": "Environment", - "value": "Dev", - "action": "Exclude" + "action": "Exclude", + "value": "Dev" } - ] + ], + "sendAadLogs": "Disabled", + "sendActivityLogs": "Enabled", + "sendSubscriptionLogs": "Enabled" }, "metricRules": { "filteringTags": [] @@ -36,63 +33,66 @@ } }, { - "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000001", "status": "Failed", + "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000001", "tagRules": { "logRules": { - "sendAadLogs": "Disabled", - "sendSubscriptionLogs": "Enabled", - "sendActivityLogs": "Enabled", "filteringTags": [ { "name": "Environment", - "value": "Prod", - "action": "Include" + "action": "Include", + "value": "Prod" }, { "name": "Environment", - "value": "Dev", - "action": "Exclude" + "action": "Exclude", + "value": "Dev" } - ] + ], + "sendAadLogs": "Disabled", + "sendActivityLogs": "Enabled", + "sendSubscriptionLogs": "Enabled" }, "metricRules": { "filteringTags": [] } } } - ] + ], + "operation": "AddBegin" } - } + }, + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { "name": "default", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor/monitoredSubscriptions/default", "type": "Dynatrace.Observability/monitors/monitoredSubscriptions", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor/monitoredSubscriptions/default", "properties": { "monitoredSubscriptionList": [ { - "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000000", "status": "Active", + "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000000", "tagRules": { "logRules": { - "sendAadLogs": "Disabled", - "sendSubscriptionLogs": "Enabled", - "sendActivityLogs": "Enabled", "filteringTags": [ { "name": "Environment", - "value": "Prod", - "action": "Include" + "action": "Include", + "value": "Prod" }, { "name": "Environment", - "value": "Dev", - "action": "Exclude" + "action": "Exclude", + "value": "Dev" } - ] + ], + "sendAadLogs": "Disabled", + "sendActivityLogs": "Enabled", + "sendSubscriptionLogs": "Enabled" }, "metricRules": { "filteringTags": [] @@ -100,25 +100,25 @@ } }, { - "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000001", "status": "Failed", + "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000001", "tagRules": { "logRules": { - "sendAadLogs": "Disabled", - "sendSubscriptionLogs": "Enabled", - "sendActivityLogs": "Enabled", "filteringTags": [ { "name": "Environment", - "value": "Prod", - "action": "Include" + "action": "Include", + "value": "Prod" }, { "name": "Environment", - "value": "Dev", - "action": "Exclude" + "action": "Exclude", + "value": "Dev" } - ] + ], + "sendAadLogs": "Disabled", + "sendActivityLogs": "Enabled", + "sendSubscriptionLogs": "Enabled" }, "metricRules": { "filteringTags": [] @@ -132,30 +132,30 @@ "201": { "body": { "name": "default", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor/monitoredSubscriptions/default", "type": "Dynatrace.Observability/monitors/monitoredSubscriptions", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor/monitoredSubscriptions/default", "properties": { "monitoredSubscriptionList": [ { - "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000000", "status": "Active", + "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000000", "tagRules": { "logRules": { - "sendAadLogs": "Disabled", - "sendSubscriptionLogs": "Enabled", - "sendActivityLogs": "Enabled", "filteringTags": [ { "name": "Environment", - "value": "Prod", - "action": "Include" + "action": "Include", + "value": "Prod" }, { "name": "Environment", - "value": "Dev", - "action": "Exclude" + "action": "Exclude", + "value": "Dev" } - ] + ], + "sendAadLogs": "Disabled", + "sendActivityLogs": "Enabled", + "sendSubscriptionLogs": "Enabled" }, "metricRules": { "filteringTags": [] @@ -163,25 +163,25 @@ } }, { - "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000001", "status": "Failed", + "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000001", "tagRules": { "logRules": { - "sendAadLogs": "Disabled", - "sendSubscriptionLogs": "Enabled", - "sendActivityLogs": "Enabled", "filteringTags": [ { "name": "Environment", - "value": "Prod", - "action": "Include" + "action": "Include", + "value": "Prod" }, { "name": "Environment", - "value": "Dev", - "action": "Exclude" + "action": "Exclude", + "value": "Dev" } - ] + ], + "sendAadLogs": "Disabled", + "sendActivityLogs": "Enabled", + "sendSubscriptionLogs": "Enabled" }, "metricRules": { "filteringTags": [] @@ -192,5 +192,7 @@ } } } - } + }, + "operationId": "MonitoredSubscriptions_CreateOrUpdate", + "title": "Monitors_AddMonitoredSubscriptions" } diff --git a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/MonitoredSubscriptions_Delete.json b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/MonitoredSubscriptions_Delete.json index 0a8ea9489b9f..f3b4dccbf6cb 100644 --- a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/MonitoredSubscriptions_Delete.json +++ b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/MonitoredSubscriptions_Delete.json @@ -1,10 +1,10 @@ { "parameters": { "api-version": "2024-04-24", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", + "configurationName": "default", "monitorName": "myMonitor", - "configurationName": "default" + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "202": { @@ -13,5 +13,7 @@ } }, "204": {} - } + }, + "operationId": "MonitoredSubscriptions_Delete", + "title": "Monitors_DeleteMonitoredSubscriptions" } diff --git a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/MonitoredSubscriptions_Get.json b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/MonitoredSubscriptions_Get.json index 2ccd3c17c73a..9d0e7f28ccc4 100644 --- a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/MonitoredSubscriptions_Get.json +++ b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/MonitoredSubscriptions_Get.json @@ -1,39 +1,39 @@ { "parameters": { "api-version": "2024-04-24", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", + "configurationName": "default", "monitorName": "myMonitor", - "configurationName": "default" + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { "name": "default", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor/monitoredSubscriptions/default", "type": "Dynatrace.Observability/monitors/monitoredSubscriptions", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor/monitoredSubscriptions/default", "properties": { "monitoredSubscriptionList": [ { - "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000000", "status": "Active", + "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000000", "tagRules": { "logRules": { - "sendAadLogs": "Disabled", - "sendSubscriptionLogs": "Enabled", - "sendActivityLogs": "Enabled", "filteringTags": [ { "name": "Environment", - "value": "Prod", - "action": "Include" + "action": "Include", + "value": "Prod" }, { "name": "Environment", - "value": "Dev", - "action": "Exclude" + "action": "Exclude", + "value": "Dev" } - ] + ], + "sendAadLogs": "Disabled", + "sendActivityLogs": "Enabled", + "sendSubscriptionLogs": "Enabled" }, "metricRules": { "filteringTags": [] @@ -41,25 +41,25 @@ } }, { - "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000001", "status": "Failed", + "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000001", "tagRules": { "logRules": { - "sendAadLogs": "Disabled", - "sendSubscriptionLogs": "Enabled", - "sendActivityLogs": "Enabled", "filteringTags": [ { "name": "Environment", - "value": "Prod", - "action": "Include" + "action": "Include", + "value": "Prod" }, { "name": "Environment", - "value": "Dev", - "action": "Exclude" + "action": "Exclude", + "value": "Dev" } - ] + ], + "sendAadLogs": "Disabled", + "sendActivityLogs": "Enabled", + "sendSubscriptionLogs": "Enabled" }, "metricRules": { "filteringTags": [] @@ -70,5 +70,7 @@ } } } - } + }, + "operationId": "MonitoredSubscriptions_Get", + "title": "Monitors_GetMonitoredSubscriptions" } diff --git a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/MonitoredSubscriptions_List.json b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/MonitoredSubscriptions_List.json index 781064529d5b..b8f9e33bbde8 100644 --- a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/MonitoredSubscriptions_List.json +++ b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/MonitoredSubscriptions_List.json @@ -1,9 +1,9 @@ { "parameters": { "api-version": "2024-04-24", - "subscriptionId": "00000000-0000-0000-0000-000000000000", + "monitorName": "myMonitor", "resourceGroupName": "myResourceGroup", - "monitorName": "myMonitor" + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { @@ -11,30 +11,30 @@ "value": [ { "name": "default", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor/monitoredSubscriptions/default", "type": "Dynatrace.Observability/monitors/monitoredSubscriptions", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor/monitoredSubscriptions/default", "properties": { "monitoredSubscriptionList": [ { - "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000000", "status": "Active", + "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000000", "tagRules": { "logRules": { - "sendAadLogs": "Disabled", - "sendSubscriptionLogs": "Enabled", - "sendActivityLogs": "Enabled", "filteringTags": [ { "name": "Environment", - "value": "Prod", - "action": "Include" + "action": "Include", + "value": "Prod" }, { "name": "Environment", - "value": "Dev", - "action": "Exclude" + "action": "Exclude", + "value": "Dev" } - ] + ], + "sendAadLogs": "Disabled", + "sendActivityLogs": "Enabled", + "sendSubscriptionLogs": "Enabled" }, "metricRules": { "filteringTags": [] @@ -42,25 +42,25 @@ } }, { - "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000001", "status": "Failed", + "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000001", "tagRules": { "logRules": { - "sendAadLogs": "Disabled", - "sendSubscriptionLogs": "Enabled", - "sendActivityLogs": "Enabled", "filteringTags": [ { "name": "Environment", - "value": "Prod", - "action": "Include" + "action": "Include", + "value": "Prod" }, { "name": "Environment", - "value": "Dev", - "action": "Exclude" + "action": "Exclude", + "value": "Dev" } - ] + ], + "sendAadLogs": "Disabled", + "sendActivityLogs": "Enabled", + "sendSubscriptionLogs": "Enabled" }, "metricRules": { "filteringTags": [] @@ -73,5 +73,7 @@ ] } } - } + }, + "operationId": "MonitoredSubscriptions_List", + "title": "Monitors_GetMonitoredSubscriptions" } diff --git a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/MonitoredSubscriptions_Update.json b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/MonitoredSubscriptions_Update.json index 63b8f6c678c2..017063230a80 100644 --- a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/MonitoredSubscriptions_Update.json +++ b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/MonitoredSubscriptions_Update.json @@ -1,34 +1,31 @@ { "parameters": { "api-version": "2024-04-24", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "monitorName": "myMonitor", "configurationName": "default", + "monitorName": "myMonitor", "requestBody": { "properties": { - "operation": "AddComplete", "monitoredSubscriptionList": [ { - "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000000", "status": "Active", + "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000000", "tagRules": { "logRules": { - "sendAadLogs": "Disabled", - "sendSubscriptionLogs": "Enabled", - "sendActivityLogs": "Enabled", "filteringTags": [ { "name": "Environment", - "value": "Prod", - "action": "Include" + "action": "Include", + "value": "Prod" }, { "name": "Environment", - "value": "Dev", - "action": "Exclude" + "action": "Exclude", + "value": "Dev" } - ] + ], + "sendAadLogs": "Disabled", + "sendActivityLogs": "Enabled", + "sendSubscriptionLogs": "Enabled" }, "metricRules": { "filteringTags": [] @@ -36,63 +33,66 @@ } }, { - "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000001", "status": "Failed", + "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000001", "tagRules": { "logRules": { - "sendAadLogs": "Disabled", - "sendSubscriptionLogs": "Enabled", - "sendActivityLogs": "Enabled", "filteringTags": [ { "name": "Environment", - "value": "Prod", - "action": "Include" + "action": "Include", + "value": "Prod" }, { "name": "Environment", - "value": "Dev", - "action": "Exclude" + "action": "Exclude", + "value": "Dev" } - ] + ], + "sendAadLogs": "Disabled", + "sendActivityLogs": "Enabled", + "sendSubscriptionLogs": "Enabled" }, "metricRules": { "filteringTags": [] } } } - ] + ], + "operation": "AddComplete" } - } + }, + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { "name": "default", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor/monitoredSubscriptions/default", "type": "Dynatrace.Observability/monitors/monitoredSubscriptions", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor/monitoredSubscriptions/default", "properties": { "monitoredSubscriptionList": [ { - "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000000", "status": "Active", + "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000000", "tagRules": { "logRules": { - "sendAadLogs": "Disabled", - "sendSubscriptionLogs": "Enabled", - "sendActivityLogs": "Enabled", "filteringTags": [ { "name": "Environment", - "value": "Prod", - "action": "Include" + "action": "Include", + "value": "Prod" }, { "name": "Environment", - "value": "Dev", - "action": "Exclude" + "action": "Exclude", + "value": "Dev" } - ] + ], + "sendAadLogs": "Disabled", + "sendActivityLogs": "Enabled", + "sendSubscriptionLogs": "Enabled" }, "metricRules": { "filteringTags": [] @@ -100,25 +100,25 @@ } }, { - "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000001", "status": "Failed", + "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000001", "tagRules": { "logRules": { - "sendAadLogs": "Disabled", - "sendSubscriptionLogs": "Enabled", - "sendActivityLogs": "Enabled", "filteringTags": [ { "name": "Environment", - "value": "Prod", - "action": "Include" + "action": "Include", + "value": "Prod" }, { "name": "Environment", - "value": "Dev", - "action": "Exclude" + "action": "Exclude", + "value": "Dev" } - ] + ], + "sendAadLogs": "Disabled", + "sendActivityLogs": "Enabled", + "sendSubscriptionLogs": "Enabled" }, "metricRules": { "filteringTags": [] @@ -134,5 +134,7 @@ "Location": "https://management.azure.com/subscriptions/subid/resourceGroups/peerTest/providers/Dynatrace.Observability/monitors/test?api-version=2022-09-01" } } - } + }, + "operationId": "MonitoredSubscriptions_Update", + "title": "Monitors_UpdateMonitoredSubscriptions" } diff --git a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_CreateOrUpdate_MaximumSet_Gen.json b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_CreateOrUpdate_MaximumSet_Gen.json index 9e89923e0b97..f813f600a173 100644 --- a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_CreateOrUpdate_MaximumSet_Gen.json +++ b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_CreateOrUpdate_MaximumSet_Gen.json @@ -1,60 +1,61 @@ { "parameters": { "api-version": "2024-04-24", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", "monitorName": "myMonitor", "resource": { "identity": { "type": "SystemAssigned" }, + "location": "West US 2", "properties": { - "monitoringStatus": "Enabled", - "marketplaceSubscriptionStatus": "Active", "dynatraceEnvironmentProperties": { "accountInfo": {}, "environmentInfo": {}, "singleSignOnProperties": {} }, - "userInfo": { - "firstName": "Alice", - "lastName": "Bobab", - "emailAddress": "alice@microsoft.com", - "phoneNumber": "123456", - "country": "westus2" - }, + "liftrResourceCategory": "Unknown", + "marketplaceSubscriptionStatus": "Active", + "monitoringStatus": "Enabled", "planData": { - "usageType": "Committed", "billingCycle": "Monthly", + "effectiveDate": "2019-08-30T15:14:33+02:00", "planDetails": "dynatraceapitestplan", - "effectiveDate": "2019-08-30T15:14:33+02:00" + "usageType": "Committed" }, - "liftrResourceCategory": "Unknown", - "provisioningState": "Accepted" + "provisioningState": "Accepted", + "userInfo": { + "country": "westus2", + "emailAddress": "alice@microsoft.com", + "firstName": "Alice", + "lastName": "Bobab", + "phoneNumber": "123456" + } }, "tags": { "Environment": "Dev" - }, - "location": "West US 2" - } + } + }, + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { + "name": "myMonitor", + "type": "Dynatrace.Observability/monitors", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor", "identity": { + "type": "SystemAssigned", "principalId": "4534676867978", - "tenantId": "23456789001", - "type": "SystemAssigned" + "tenantId": "23456789001" }, + "location": "West US 2", "properties": { - "monitoringStatus": "Enabled", - "marketplaceSubscriptionStatus": "Active", "dynatraceEnvironmentProperties": { - "userId": "alice123", "accountInfo": { "accountId": "1234567890", - "regionId": "wus2", - "companyName": "company" + "companyName": "company", + "regionId": "wus2" }, "environmentInfo": { "environmentId": "a23xcv456", @@ -62,67 +63,64 @@ "logsIngestionEndpoint": "https://dynatrace.com" }, "singleSignOnProperties": { - "singleSignOnState": "Enable", - "enterpriseAppId": "00000000-0000-0000-0000-000000000000", - "singleSignOnUrl": "https://www.dynatrace.io/IAmSomeHash", "aadDomains": [ "mpliftrdt20210811outlook.onmicrosoft.com" - ] - } - }, - "userInfo": { - "firstName": "Alice", - "lastName": "Bobab", - "emailAddress": "alice@microsoft.com", - "phoneNumber": "123456", - "country": "westus2" + ], + "enterpriseAppId": "00000000-0000-0000-0000-000000000000", + "singleSignOnState": "Enable", + "singleSignOnUrl": "https://www.dynatrace.io/IAmSomeHash" + }, + "userId": "alice123" }, + "liftrResourceCategory": "Unknown", + "liftrResourcePreference": 28, + "marketplaceSubscriptionStatus": "Active", + "monitoringStatus": "Enabled", "planData": { - "usageType": "Committed", "billingCycle": "Monthly", + "effectiveDate": "2019-08-30T15:14:33+02:00", "planDetails": "dynatraceapitestplan", - "effectiveDate": "2019-08-30T15:14:33+02:00" + "usageType": "Committed" }, - "liftrResourceCategory": "Unknown", - "liftrResourcePreference": 28, - "provisioningState": "Accepted" + "provisioningState": "Accepted", + "userInfo": { + "country": "westus2", + "emailAddress": "alice@microsoft.com", + "firstName": "Alice", + "lastName": "Bobab", + "phoneNumber": "123456" + } }, "systemData": { + "createdAt": "2021-07-16T04:25:21.040Z", "createdBy": "alice@microsoft.com", "createdByType": "User", - "createdAt": "2021-07-16T04:25:21.040Z", + "lastModifiedAt": "2021-07-16T04:25:21.040Z", "lastModifiedBy": "alice@microsoft.com", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-07-16T04:25:21.040Z" + "lastModifiedByType": "User" }, "tags": { "Environment": "Dev" - }, - "location": "West US 2", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor", - "name": "myMonitor", - "type": "Dynatrace.Observability/monitors" + } } }, "201": { - "headers": { - "Azure-AsyncOperation": "https://foo.com/operationstatus" - }, "body": { + "name": "myMonitor", + "type": "Dynatrace.Observability/monitors", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor", "identity": { + "type": "SystemAssigned", "principalId": "4534676867978", - "tenantId": "23456789001", - "type": "SystemAssigned" + "tenantId": "23456789001" }, + "location": "West US 2", "properties": { - "monitoringStatus": "Enabled", - "marketplaceSubscriptionStatus": "Active", "dynatraceEnvironmentProperties": { - "userId": "alice123", "accountInfo": { "accountId": "1234567890", - "regionId": "wus2", - "companyName": "company" + "companyName": "company", + "regionId": "wus2" }, "environmentInfo": { "environmentId": "a23xcv456", @@ -130,47 +128,51 @@ "logsIngestionEndpoint": "https://dynatrace.com" }, "singleSignOnProperties": { - "singleSignOnState": "Enable", - "enterpriseAppId": "00000000-0000-0000-0000-000000000000", - "singleSignOnUrl": "https://www.dynatrace.io/IAmSomeHash", "aadDomains": [ "mpliftrdt20210811outlook.onmicrosoft.com" - ] - } - }, - "userInfo": { - "firstName": "Alice", - "lastName": "Bobab", - "emailAddress": "alice@microsoft.com", - "phoneNumber": "123456", - "country": "westus2" + ], + "enterpriseAppId": "00000000-0000-0000-0000-000000000000", + "singleSignOnState": "Enable", + "singleSignOnUrl": "https://www.dynatrace.io/IAmSomeHash" + }, + "userId": "alice123" }, + "liftrResourceCategory": "Unknown", + "liftrResourcePreference": 28, + "marketplaceSubscriptionStatus": "Active", + "monitoringStatus": "Enabled", "planData": { - "usageType": "Committed", "billingCycle": "Monthly", + "effectiveDate": "2019-08-30T15:14:33+02:00", "planDetails": "dynatraceapitestplan", - "effectiveDate": "2019-08-30T15:14:33+02:00" + "usageType": "Committed" }, - "liftrResourceCategory": "Unknown", - "liftrResourcePreference": 28, - "provisioningState": "Accepted" + "provisioningState": "Accepted", + "userInfo": { + "country": "westus2", + "emailAddress": "alice@microsoft.com", + "firstName": "Alice", + "lastName": "Bobab", + "phoneNumber": "123456" + } }, "systemData": { + "createdAt": "2021-07-16T04:25:21.040Z", "createdBy": "alice@microsoft.com", "createdByType": "User", - "createdAt": "2021-07-16T04:25:21.040Z", + "lastModifiedAt": "2021-07-16T04:25:21.040Z", "lastModifiedBy": "alice@microsoft.com", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-07-16T04:25:21.040Z" + "lastModifiedByType": "User" }, "tags": { "Environment": "Dev" - }, - "location": "West US 2", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor", - "name": "myMonitor", - "type": "Dynatrace.Observability/monitors" + } + }, + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" } } - } + }, + "operationId": "Monitors_CreateOrUpdate", + "title": "Monitors_CreateOrUpdate_MaximumSet_Gen" } diff --git a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_CreateOrUpdate_MinimumSet_Gen.json b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_CreateOrUpdate_MinimumSet_Gen.json index e56ee89adf1c..2489b3d2b64b 100644 --- a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_CreateOrUpdate_MinimumSet_Gen.json +++ b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_CreateOrUpdate_MinimumSet_Gen.json @@ -1,31 +1,33 @@ { "parameters": { "api-version": "2024-04-24", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", "monitorName": "myMonitor", "resource": { - "properties": {}, - "location": "West US 2" - } + "location": "West US 2", + "properties": {} + }, + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor", - "properties": {}, - "location": "West US 2" + "location": "West US 2", + "properties": {} } }, "201": { - "headers": { - "Azure-AsyncOperation": "https://foo.com/operationstatus" - }, "body": { "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor", - "properties": {}, - "location": "West US 2" + "location": "West US 2", + "properties": {} + }, + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" } } - } + }, + "operationId": "Monitors_CreateOrUpdate", + "title": "Monitors_CreateOrUpdate_MinimumSet_Gen" } diff --git a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_Delete_MaximumSet_Gen.json b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_Delete_MaximumSet_Gen.json index 984ab31f798b..59bb1b3bdd93 100644 --- a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_Delete_MaximumSet_Gen.json +++ b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_Delete_MaximumSet_Gen.json @@ -1,9 +1,9 @@ { "parameters": { "api-version": "2024-04-24", - "subscriptionId": "00000000-0000-0000-0000-000000000000", + "monitorName": "myMonitor", "resourceGroupName": "myResourceGroup", - "monitorName": "myMonitor" + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "202": { @@ -12,5 +12,7 @@ } }, "204": {} - } + }, + "operationId": "Monitors_Delete", + "title": "Monitors_Delete_MaximumSet_Gen" } diff --git a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_Delete_MinimumSet_Gen.json b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_Delete_MinimumSet_Gen.json index 984ab31f798b..1dc53632923f 100644 --- a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_Delete_MinimumSet_Gen.json +++ b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_Delete_MinimumSet_Gen.json @@ -1,9 +1,9 @@ { "parameters": { "api-version": "2024-04-24", - "subscriptionId": "00000000-0000-0000-0000-000000000000", + "monitorName": "myMonitor", "resourceGroupName": "myResourceGroup", - "monitorName": "myMonitor" + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "202": { @@ -12,5 +12,7 @@ } }, "204": {} - } + }, + "operationId": "Monitors_Delete", + "title": "Monitors_Delete_MinimumSet_Gen" } diff --git a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_GetAllConnectedResourcesCount_MaximumSet_Gen.json b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_GetAllConnectedResourcesCount_MaximumSet_Gen.json index a1e2d6a9f616..390deffeb6fc 100644 --- a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_GetAllConnectedResourcesCount_MaximumSet_Gen.json +++ b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_GetAllConnectedResourcesCount_MaximumSet_Gen.json @@ -12,5 +12,7 @@ "connectedResourcesCount": 4 } } - } + }, + "operationId": "Monitors_GetAllConnectedResourcesCount", + "title": "Monitors_GetAllConnectedResourcesCount_MaximumSet_Gen" } diff --git a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_GetAllConnectedResourcesCount_MinimumSet_Gen.json b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_GetAllConnectedResourcesCount_MinimumSet_Gen.json index 0c9c34974418..45fd99ea7b3f 100644 --- a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_GetAllConnectedResourcesCount_MinimumSet_Gen.json +++ b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_GetAllConnectedResourcesCount_MinimumSet_Gen.json @@ -10,5 +10,7 @@ "200": { "body": {} } - } + }, + "operationId": "Monitors_GetAllConnectedResourcesCount", + "title": "Monitors_GetAllConnectedResourcesCount_MinimumSet_Gen" } diff --git a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_GetMarketplaceSaaSResourceDetails_MaximumSet_Gen.json b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_GetMarketplaceSaaSResourceDetails_MaximumSet_Gen.json index 051069efe1e1..bc2b4c055354 100644 --- a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_GetMarketplaceSaaSResourceDetails_MaximumSet_Gen.json +++ b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_GetMarketplaceSaaSResourceDetails_MaximumSet_Gen.json @@ -1,6 +1,5 @@ { "operationId": "Monitors_GetMarketplaceSaaSResourceDetails", - "title": "Monitors_GetMarketplaceSaaSResourceDetails_MaximumSet_Gen", "parameters": { "api-version": "2024-04-24", "subscriptionId": "1d701e7e-3150-4d33-9279-d4ea03e9110e", @@ -8,12 +7,13 @@ "tenantId": "urnmattojzhktcfw" } }, + "title": "Monitors_GetMarketplaceSaaSResourceDetails_MaximumSet_Gen", "responses": { "200": { "body": { "marketplaceSaaSResourceId": "owpmulwohq", - "planId": "dsfefsaf", - "marketplaceSubscriptionStatus": "Active" + "marketplaceSubscriptionStatus": "Active", + "planId": "dsfefsaf" } } } diff --git a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_GetMarketplaceSaaSResourceDetails_MinimumSet_Gen.json b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_GetMarketplaceSaaSResourceDetails_MinimumSet_Gen.json index 6572c15ff54e..6387fa8ef2da 100644 --- a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_GetMarketplaceSaaSResourceDetails_MinimumSet_Gen.json +++ b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_GetMarketplaceSaaSResourceDetails_MinimumSet_Gen.json @@ -1,6 +1,5 @@ { "operationId": "Monitors_GetMarketplaceSaaSResourceDetails", - "title": "Monitors_GetMarketplaceSaaSResourceDetails_MinumumSet_Gen", "parameters": { "api-version": "2024-04-24", "subscriptionId": "1d701e7e-3150-4d33-9279-d4ea03e9110e", @@ -8,6 +7,7 @@ "tenantId": "urnmattojzhktcfw" } }, + "title": "Monitors_GetMarketplaceSaaSResourceDetails_MinimumSet_Gen", "responses": { "200": { "body": {} diff --git a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_GetMetricStatus_MaximumSet_Gen.json b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_GetMetricStatus_MaximumSet_Gen.json index 7f2a5a57a09f..85dbca23810f 100644 --- a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_GetMetricStatus_MaximumSet_Gen.json +++ b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_GetMetricStatus_MaximumSet_Gen.json @@ -1,17 +1,17 @@ { "operationId": "Monitors_GetMetricStatus", - "title": "Monitors_GetMetricStatus_MaximumSet_Gen", "parameters": { "api-version": "2024-04-24", - "subscriptionId": "1d701e7e-3150-4d33-9279-d4ea03e9110e", - "resourceGroupName": "rgDynatrace", "monitorName": "fhcjxnxumkdlgpwanewtkdnyuz", + "resourceGroupName": "rgDynatrace", + "subscriptionId": "1d701e7e-3150-4d33-9279-d4ea03e9110e", "request": { "monitoredResourceIds": [ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/publicIPAddresses/00000000-0000-0000-0000-000000000000" ] } }, + "title": "Monitors_GetMetricStatus_MaximumSet_Gen", "responses": { "200": { "body": { diff --git a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_GetMetricStatus_MinimumSet_Gen.json b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_GetMetricStatus_MinimumSet_Gen.json index f3cf945ed1cf..791102b8879e 100644 --- a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_GetMetricStatus_MinimumSet_Gen.json +++ b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_GetMetricStatus_MinimumSet_Gen.json @@ -1,12 +1,12 @@ { "operationId": "Monitors_GetMetricStatus", - "title": "Monitors_GetMetricStatus_MinimumSet_Gen", "parameters": { "api-version": "2024-04-24", - "subscriptionId": "1d701e7e-3150-4d33-9279-d4ea03e9110e", + "monitorName": "fhcjxnxumkdlgpwanewtkdnyuz", "resourceGroupName": "rgDynatrace", - "monitorName": "fhcjxnxumkdlgpwanewtkdnyuz" + "subscriptionId": "1d701e7e-3150-4d33-9279-d4ea03e9110e" }, + "title": "Monitors_GetMetricStatus_MinimumSet_Gen", "responses": { "200": { "body": {} diff --git a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_GetSSODetails_MaximumSet_Gen.json b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_GetSSODetails_MaximumSet_Gen.json index f7a0ffd9ae66..1d34eb8813f0 100644 --- a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_GetSSODetails_MaximumSet_Gen.json +++ b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_GetSSODetails_MaximumSet_Gen.json @@ -1,9 +1,9 @@ { "parameters": { "api-version": "2024-04-24", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", "monitorName": "myMonitor", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "request": { "userPrincipal": "alice@microsoft.com" } @@ -11,16 +11,18 @@ "responses": { "200": { "body": { - "isSsoEnabled": "Enabled", - "metadataUrl": "https://someuri", - "singleSignOnUrl": "https://www.dynatrace.io/IAmSomeHash", "aadDomains": [ "mpliftrdt20210811outlook.onmicrosoft.com" ], "adminUsers": [ "alice@microsoft.com" - ] + ], + "isSsoEnabled": "Enabled", + "metadataUrl": "https://someuri", + "singleSignOnUrl": "https://www.dynatrace.io/IAmSomeHash" } } - } + }, + "operationId": "Monitors_GetSSODetails", + "title": "Monitors_GetSSODetails_MaximumSet_Gen" } diff --git a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_GetSSODetails_MinimumSet_Gen.json b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_GetSSODetails_MinimumSet_Gen.json index d29b411d7d97..9fe53be35bb9 100644 --- a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_GetSSODetails_MinimumSet_Gen.json +++ b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_GetSSODetails_MinimumSet_Gen.json @@ -1,9 +1,9 @@ { "parameters": { "api-version": "2024-04-24", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", "monitorName": "myMonitor", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "request": { "userPrincipal": "alice@microsoft.com" } @@ -12,5 +12,7 @@ "200": { "body": {} } - } + }, + "operationId": "Monitors_GetSSODetails", + "title": "Monitors_GetSSODetails_MinimumSet_Gen" } diff --git a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_GetVMHostPayload_MaximumSet_Gen.json b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_GetVMHostPayload_MaximumSet_Gen.json index cd6fcecbd054..5b98ce667360 100644 --- a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_GetVMHostPayload_MaximumSet_Gen.json +++ b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_GetVMHostPayload_MaximumSet_Gen.json @@ -1,16 +1,18 @@ { "parameters": { "api-version": "2024-04-24", - "subscriptionId": "00000000-0000-0000-0000-000000000000", + "monitorName": "myMonitor", "resourceGroupName": "myResourceGroup", - "monitorName": "myMonitor" + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "ingestionKey": "abcd.efg", - "environmentId": "abc123lsjlsfjlfjgd" + "environmentId": "abc123lsjlsfjlfjgd", + "ingestionKey": "abcd.efg" } } - } + }, + "operationId": "Monitors_GetVMHostPayload", + "title": "Monitors_GetVMHostPayload_MaximumSet_Gen" } diff --git a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_GetVMHostPayload_MinimumSet_Gen.json b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_GetVMHostPayload_MinimumSet_Gen.json index 4cb1020a2a80..de0dfc9cbab3 100644 --- a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_GetVMHostPayload_MinimumSet_Gen.json +++ b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_GetVMHostPayload_MinimumSet_Gen.json @@ -1,13 +1,15 @@ { "parameters": { "api-version": "2024-04-24", - "subscriptionId": "00000000-0000-0000-0000-000000000000", + "monitorName": "myMonitor", "resourceGroupName": "myResourceGroup", - "monitorName": "myMonitor" + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": {} } - } + }, + "operationId": "Monitors_GetVMHostPayload", + "title": "Monitors_GetVMHostPayload_MinimumSet_Gen" } diff --git a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_Get_MaximumSet_Gen.json b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_Get_MaximumSet_Gen.json index d0d3a026d540..be1943f86208 100644 --- a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_Get_MaximumSet_Gen.json +++ b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_Get_MaximumSet_Gen.json @@ -1,76 +1,78 @@ { "parameters": { "api-version": "2024-04-24", - "subscriptionId": "00000000-0000-0000-0000-000000000000", + "monitorName": "myMonitor", "resourceGroupName": "myResourceGroup", - "monitorName": "myMonitor" + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { + "name": "myMonitor", + "type": "Dynatrace.Observability/monitors", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor", "identity": { + "type": "SystemAssigned", "principalId": "4534676867978", - "tenantId": "23456789001", - "type": "SystemAssigned" + "tenantId": "23456789001" }, + "location": "West US 2", "properties": { - "monitoringStatus": "Enabled", - "marketplaceSubscriptionStatus": "Active", "dynatraceEnvironmentProperties": { - "userId": "alice123", "accountInfo": { "accountId": "1234567890", - "regionId": "wus2", - "companyName": "company" + "companyName": "company", + "regionId": "wus2" }, "environmentInfo": { "environmentId": "a23xcv456", "ingestionKey": "1234567890", - "logsIngestionEndpoint": "https://dynatrace.com", - "landingURL": "https://a23xcv456.dynatrace.com" + "landingURL": "https://a23xcv456.dynatrace.com", + "logsIngestionEndpoint": "https://dynatrace.com" }, "singleSignOnProperties": { - "singleSignOnState": "Enable", - "enterpriseAppId": "00000000-0000-0000-0000-000000000000", - "singleSignOnUrl": "https://www.dynatrace.io/IAmSomeHash", "aadDomains": [ "mpliftrdt20210811outlook.onmicrosoft.com" - ] - } - }, - "userInfo": { - "firstName": "Alice", - "lastName": "Bobab", - "emailAddress": "alice@microsoft.com", - "phoneNumber": "123456", - "country": "westus2" + ], + "enterpriseAppId": "00000000-0000-0000-0000-000000000000", + "singleSignOnState": "Enable", + "singleSignOnUrl": "https://www.dynatrace.io/IAmSomeHash" + }, + "userId": "alice123" }, + "liftrResourceCategory": "Unknown", + "liftrResourcePreference": 28, + "marketplaceSubscriptionStatus": "Active", + "monitoringStatus": "Enabled", "planData": { - "usageType": "Committed", "billingCycle": "Monthly", + "effectiveDate": "2019-08-30T15:14:33+02:00", "planDetails": "dynatraceapitestplan", - "effectiveDate": "2019-08-30T15:14:33+02:00" + "usageType": "Committed" }, - "liftrResourceCategory": "Unknown", - "liftrResourcePreference": 28, - "provisioningState": "Accepted" + "provisioningState": "Accepted", + "userInfo": { + "country": "westus2", + "emailAddress": "alice@microsoft.com", + "firstName": "Alice", + "lastName": "Bobab", + "phoneNumber": "123456" + } }, "systemData": { + "createdAt": "2021-07-16T04:25:21.040Z", "createdBy": "alice@microsoft.com", "createdByType": "User", - "createdAt": "2021-07-16T04:25:21.040Z", + "lastModifiedAt": "2021-07-16T04:25:21.040Z", "lastModifiedBy": "alice@microsoft.com", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-07-16T04:25:21.040Z" + "lastModifiedByType": "User" }, "tags": { "Environment": "Dev" - }, - "location": "West US 2", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor", - "name": "myMonitor", - "type": "Dynatrace.Observability/monitors" + } } } - } + }, + "operationId": "Monitors_Get", + "title": "Monitors_Get_MaximumSet_Gen" } diff --git a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_Get_MinimumSet_Gen.json b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_Get_MinimumSet_Gen.json index 975ddbecd856..a983dd443e7a 100644 --- a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_Get_MinimumSet_Gen.json +++ b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_Get_MinimumSet_Gen.json @@ -1,17 +1,19 @@ { "parameters": { "api-version": "2024-04-24", - "subscriptionId": "00000000-0000-0000-0000-000000000000", + "monitorName": "myMonitor", "resourceGroupName": "myResourceGroup", - "monitorName": "myMonitor" + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor", - "properties": {}, - "location": "West US 2" + "location": "West US 2", + "properties": {} } } - } + }, + "operationId": "Monitors_Get", + "title": "Monitors_Get_MinimumSet_Gen" } diff --git a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_ListAppServices_MaximumSet_Gen.json b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_ListAppServices_MaximumSet_Gen.json index baa7a7817891..27ec3d645e2a 100644 --- a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_ListAppServices_MaximumSet_Gen.json +++ b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_ListAppServices_MaximumSet_Gen.json @@ -1,28 +1,30 @@ { "parameters": { "api-version": "2024-04-24", - "subscriptionId": "00000000-0000-0000-0000-000000000000", + "monitorName": "myMonitor", "resourceGroupName": "myResourceGroup", - "monitorName": "myMonitor" + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Dynatrace.Observability/monitors?api-version=2024-04-24&$skiptoken=abc123", "value": [ { - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/virtual1", - "version": "1.2.0", - "monitoringType": "CLOUD_INFRASTRUCTURE", "autoUpdateSetting": "ENABLED", - "updateStatus": "INCOMPATIBLE", "availabilityState": "CRASHED", - "logModule": "ENABLED", "hostGroup": "myGroup", - "hostName": "myName" + "hostName": "myName", + "logModule": "ENABLED", + "monitoringType": "CLOUD_INFRASTRUCTURE", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/virtual1", + "updateStatus": "INCOMPATIBLE", + "version": "1.2.0" } - ], - "nextLink": "null" + ] } } - } + }, + "operationId": "Monitors_ListAppServices", + "title": "Monitors_ListAppServices_MaximumSet_Gen" } diff --git a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_ListAppServices_MinimumSet_Gen.json b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_ListAppServices_MinimumSet_Gen.json index 4cb1020a2a80..40aecf8db91c 100644 --- a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_ListAppServices_MinimumSet_Gen.json +++ b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_ListAppServices_MinimumSet_Gen.json @@ -1,13 +1,17 @@ { "parameters": { "api-version": "2024-04-24", - "subscriptionId": "00000000-0000-0000-0000-000000000000", + "monitorName": "myMonitor", "resourceGroupName": "myResourceGroup", - "monitorName": "myMonitor" + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { - "body": {} + "body": { + "value": [] + } } - } + }, + "operationId": "Monitors_ListAppServices", + "title": "Monitors_ListAppServices_MinimumSet_Gen" } diff --git a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_ListByResourceGroup_MaximumSet_Gen.json b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_ListByResourceGroup_MaximumSet_Gen.json index ee35afec07db..7be81852ee7b 100644 --- a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_ListByResourceGroup_MaximumSet_Gen.json +++ b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_ListByResourceGroup_MaximumSet_Gen.json @@ -1,80 +1,82 @@ { "parameters": { "api-version": "2024-04-24", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup" + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Dynatrace.Observability/monitors?api-version=2024-04-24&$skiptoken=abc123", "value": [ { + "name": "myMonitor", + "type": "Dynatrace.Observability/monitors", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor", "identity": { + "type": "SystemAssigned", "principalId": "4534676867978", - "tenantId": "23456789001", - "type": "SystemAssigned" + "tenantId": "23456789001" }, + "location": "West US 2", "properties": { - "monitoringStatus": "Enabled", - "marketplaceSubscriptionStatus": "Active", "dynatraceEnvironmentProperties": { - "userId": "alice123", "accountInfo": { "accountId": "1234567890", - "regionId": "wus2", - "companyName": "company" + "companyName": "company", + "regionId": "wus2" }, "environmentInfo": { "environmentId": "a23xcv456", "ingestionKey": "1234567890", - "logsIngestionEndpoint": "https://dynatrace.com", - "landingURL": "https://a23xcv456.dynatrace.com" + "landingURL": "https://a23xcv456.dynatrace.com", + "logsIngestionEndpoint": "https://dynatrace.com" }, "singleSignOnProperties": { - "singleSignOnState": "Enable", - "enterpriseAppId": "00000000-0000-0000-0000-000000000000", - "singleSignOnUrl": "https://www.dynatrace.io/IAmSomeHash", "aadDomains": [ "mpliftrdt20210811outlook.onmicrosoft.com" - ] - } - }, - "userInfo": { - "firstName": "Alice", - "lastName": "Bobab", - "emailAddress": "alice@microsoft.com", - "phoneNumber": "123456", - "country": "westus2" + ], + "enterpriseAppId": "00000000-0000-0000-0000-000000000000", + "singleSignOnState": "Enable", + "singleSignOnUrl": "https://www.dynatrace.io/IAmSomeHash" + }, + "userId": "alice123" }, + "liftrResourceCategory": "Unknown", + "liftrResourcePreference": 28, + "marketplaceSubscriptionStatus": "Active", + "monitoringStatus": "Enabled", "planData": { - "usageType": "Committed", "billingCycle": "Monthly", + "effectiveDate": "2019-08-30T15:14:33+02:00", "planDetails": "dynatraceapitestplan", - "effectiveDate": "2019-08-30T15:14:33+02:00" + "usageType": "Committed" }, - "liftrResourceCategory": "Unknown", - "liftrResourcePreference": 28, - "provisioningState": "Accepted" + "provisioningState": "Accepted", + "userInfo": { + "country": "westus2", + "emailAddress": "alice@microsoft.com", + "firstName": "Alice", + "lastName": "Bobab", + "phoneNumber": "123456" + } }, "systemData": { + "createdAt": "2021-07-16T04:25:21.040Z", "createdBy": "alice@microsoft.com", "createdByType": "User", - "createdAt": "2021-07-16T04:25:21.040Z", + "lastModifiedAt": "2021-07-16T04:25:21.040Z", "lastModifiedBy": "alice@microsoft.com", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-07-16T04:25:21.040Z" + "lastModifiedByType": "User" }, "tags": { "Environment": "Dev" - }, - "location": "West US 2", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor", - "name": "myMonitor", - "type": "Dynatrace.Observability/monitors" + } } - ], - "nextLink": "null" + ] } } - } + }, + "operationId": "Monitors_ListByResourceGroup", + "title": "Monitors_ListByResourceGroup_MaximumSet_Gen" } diff --git a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_ListByResourceGroup_MinimumSet_Gen.json b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_ListByResourceGroup_MinimumSet_Gen.json index 1b6c60a9a611..ee4cfaedde19 100644 --- a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_ListByResourceGroup_MinimumSet_Gen.json +++ b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_ListByResourceGroup_MinimumSet_Gen.json @@ -1,21 +1,23 @@ { "parameters": { "api-version": "2024-04-24", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup" + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Dynatrace.Observability/monitors?api-version=2024-04-24&$skiptoken=abc123", "value": [ { "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor/tagRules/default", - "properties": {}, - "location": "West US 2" + "location": "West US 2", + "properties": {} } - ], - "nextLink": "null" + ] } } - } + }, + "operationId": "Monitors_ListByResourceGroup", + "title": "Monitors_ListByResourceGroup_MinimumSet_Gen" } diff --git a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_ListBySubscriptionId_MaximumSet_Gen.json b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_ListBySubscriptionId_MaximumSet_Gen.json index 4c76fe86b491..7c146e3fdc6e 100644 --- a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_ListBySubscriptionId_MaximumSet_Gen.json +++ b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_ListBySubscriptionId_MaximumSet_Gen.json @@ -6,74 +6,76 @@ "responses": { "200": { "body": { + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Dynatrace.Observability/monitors?api-version=2024-04-24&$skiptoken=abc123", "value": [ { + "name": "myMonitor", + "type": "Dynatrace.Observability/monitors", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor", "identity": { + "type": "SystemAssigned", "principalId": "4534676867978", - "tenantId": "23456789001", - "type": "SystemAssigned" + "tenantId": "23456789001" }, + "location": "West US 2", "properties": { - "monitoringStatus": "Enabled", - "marketplaceSubscriptionStatus": "Active", "dynatraceEnvironmentProperties": { - "userId": "alice123", "accountInfo": { "accountId": "1234567890", - "regionId": "wus2", - "companyName": "company" + "companyName": "company", + "regionId": "wus2" }, "environmentInfo": { "environmentId": "a23xcv456", "ingestionKey": "1234567890", - "logsIngestionEndpoint": "https://dynatrace.com", - "landingURL": "https://a23xcv456.dynatrace.com" + "landingURL": "https://a23xcv456.dynatrace.com", + "logsIngestionEndpoint": "https://dynatrace.com" }, "singleSignOnProperties": { - "singleSignOnState": "Enable", - "enterpriseAppId": "00000000-0000-0000-0000-000000000000", - "singleSignOnUrl": "https://www.dynatrace.io/IAmSomeHash", "aadDomains": [ "mpliftrdt20210811outlook.onmicrosoft.com" - ] - } - }, - "userInfo": { - "firstName": "Alice", - "lastName": "Bobab", - "emailAddress": "alice@microsoft.com", - "phoneNumber": "123456", - "country": "westus2" + ], + "enterpriseAppId": "00000000-0000-0000-0000-000000000000", + "singleSignOnState": "Enable", + "singleSignOnUrl": "https://www.dynatrace.io/IAmSomeHash" + }, + "userId": "alice123" }, + "liftrResourceCategory": "Unknown", + "liftrResourcePreference": 28, + "marketplaceSubscriptionStatus": "Active", + "monitoringStatus": "Enabled", "planData": { - "usageType": "Committed", "billingCycle": "Monthly", + "effectiveDate": "2019-08-30T15:14:33+02:00", "planDetails": "dynatraceapitestplan", - "effectiveDate": "2019-08-30T15:14:33+02:00" + "usageType": "Committed" }, - "liftrResourceCategory": "Unknown", - "liftrResourcePreference": 28, - "provisioningState": "Accepted" + "provisioningState": "Accepted", + "userInfo": { + "country": "westus2", + "emailAddress": "alice@microsoft.com", + "firstName": "Alice", + "lastName": "Bobab", + "phoneNumber": "123456" + } }, "systemData": { + "createdAt": "2021-07-16T04:25:21.040Z", "createdBy": "alice@microsoft.com", "createdByType": "User", - "createdAt": "2021-07-16T04:25:21.040Z", + "lastModifiedAt": "2021-07-16T04:25:21.040Z", "lastModifiedBy": "alice@microsoft.com", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-07-16T04:25:21.040Z" + "lastModifiedByType": "User" }, "tags": { "Environment": "Dev" - }, - "location": "West US 2", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor", - "name": "myMonitor", - "type": "Dynatrace.Observability/monitors" + } } - ], - "nextLink": "null" + ] } } - } + }, + "operationId": "Monitors_ListBySubscriptionId", + "title": "Monitors_ListBySubscriptionId_MaximumSet_Gen" } diff --git a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_ListBySubscriptionId_MinimumSet_Gen.json b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_ListBySubscriptionId_MinimumSet_Gen.json index cce1442a22a3..4e4029c7e849 100644 --- a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_ListBySubscriptionId_MinimumSet_Gen.json +++ b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_ListBySubscriptionId_MinimumSet_Gen.json @@ -6,15 +6,17 @@ "responses": { "200": { "body": { + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Dynatrace.Observability/monitors?api-version=2024-04-24&$skiptoken=abc123", "value": [ { "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor/tagRules/default", - "properties": {}, - "location": "West US 2" + "location": "West US 2", + "properties": {} } - ], - "nextLink": "null" + ] } } - } + }, + "operationId": "Monitors_ListBySubscriptionId", + "title": "Monitors_ListBySubscriptionId_MinimumSet_Gen" } diff --git a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_ListHosts_MaximumSet_Gen.json b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_ListHosts_MaximumSet_Gen.json index baa7a7817891..7c89e6aadeef 100644 --- a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_ListHosts_MaximumSet_Gen.json +++ b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_ListHosts_MaximumSet_Gen.json @@ -1,28 +1,30 @@ { "parameters": { "api-version": "2024-04-24", - "subscriptionId": "00000000-0000-0000-0000-000000000000", + "monitorName": "myMonitor", "resourceGroupName": "myResourceGroup", - "monitorName": "myMonitor" + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Dynatrace.Observability/monitors?api-version=2024-04-24&$skiptoken=abc123", "value": [ { - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/virtual1", - "version": "1.2.0", - "monitoringType": "CLOUD_INFRASTRUCTURE", "autoUpdateSetting": "ENABLED", - "updateStatus": "INCOMPATIBLE", "availabilityState": "CRASHED", - "logModule": "ENABLED", "hostGroup": "myGroup", - "hostName": "myName" + "hostName": "myName", + "logModule": "ENABLED", + "monitoringType": "CLOUD_INFRASTRUCTURE", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/virtual1", + "updateStatus": "INCOMPATIBLE", + "version": "1.2.0" } - ], - "nextLink": "null" + ] } } - } + }, + "operationId": "Monitors_ListHosts", + "title": "Monitors_ListHosts_MaximumSet_Gen" } diff --git a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_ListHosts_MinimumSet_Gen.json b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_ListHosts_MinimumSet_Gen.json index 4cb1020a2a80..b2d8d4ddedf1 100644 --- a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_ListHosts_MinimumSet_Gen.json +++ b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_ListHosts_MinimumSet_Gen.json @@ -1,13 +1,17 @@ { "parameters": { "api-version": "2024-04-24", - "subscriptionId": "00000000-0000-0000-0000-000000000000", + "monitorName": "myMonitor", "resourceGroupName": "myResourceGroup", - "monitorName": "myMonitor" + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { - "body": {} + "body": { + "value": [] + } } - } + }, + "operationId": "Monitors_ListHosts", + "title": "Monitors_ListHosts_MinimumSet_Gen" } diff --git a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_ListLinkableEnvironments_MaximumSet_Gen.json b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_ListLinkableEnvironments_MaximumSet_Gen.json index 462ce781436d..89f4235db9a7 100644 --- a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_ListLinkableEnvironments_MaximumSet_Gen.json +++ b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_ListLinkableEnvironments_MaximumSet_Gen.json @@ -1,32 +1,34 @@ { "parameters": { "api-version": "2024-04-24", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", "monitorName": "myMonitor", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "request": { + "region": "East US", "tenantId": "00000000-0000-0000-0000-000000000000", - "userPrincipal": "alice@microsoft.com", - "region": "East US" + "userPrincipal": "alice@microsoft.com" } }, "responses": { "200": { "body": { + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Dynatrace.Observability/monitors?api-version=2024-04-24&$skiptoken=abc123", "value": [ { "environmentId": "abc.123", "environmentName": "myEnv", "planData": { - "usageType": "Committed", "billingCycle": "Monthly", + "effectiveDate": "2019-08-30T15:14:33+02:00", "planDetails": "dynatraceapitestplan", - "effectiveDate": "2019-08-30T15:14:33+02:00" + "usageType": "Committed" } } - ], - "nextLink": "null" + ] } } - } + }, + "operationId": "Monitors_ListLinkableEnvironments", + "title": "Monitors_ListLinkableEnvironments_MaximumSet_Gen" } diff --git a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_ListLinkableEnvironments_MinimumSet_Gen.json b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_ListLinkableEnvironments_MinimumSet_Gen.json index 186223468211..193eb0ea6d6f 100644 --- a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_ListLinkableEnvironments_MinimumSet_Gen.json +++ b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_ListLinkableEnvironments_MinimumSet_Gen.json @@ -1,18 +1,22 @@ { "parameters": { "api-version": "2024-04-24", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", "monitorName": "myMonitor", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "request": { + "region": "East US", "tenantId": "00000000-0000-0000-0000-000000000000", - "userPrincipal": "alice@microsoft.com", - "region": "East US" + "userPrincipal": "alice@microsoft.com" } }, "responses": { "200": { - "body": {} + "body": { + "value": [] + } } - } + }, + "operationId": "Monitors_ListLinkableEnvironments", + "title": "Monitors_ListLinkableEnvironments_MinimumSet_Gen" } diff --git a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_ListMonitoredResources_MaximumSet_Gen.json b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_ListMonitoredResources_MaximumSet_Gen.json index 47dbecadeff8..17a190575954 100644 --- a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_ListMonitoredResources_MaximumSet_Gen.json +++ b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_ListMonitoredResources_MaximumSet_Gen.json @@ -1,9 +1,9 @@ { "parameters": { "api-version": "2024-04-24", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", "monitorName": "myMonitor", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "request": { "monitoredResourceIds": [ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/monitors/myMonitor/listMonitoredResources" @@ -13,17 +13,19 @@ "responses": { "200": { "body": { + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Dynatrace.Observability/monitors?api-version=2024-04-24&$skiptoken=abc123", "value": [ { "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/monitors/myMonitor/listMonitoredResources", - "sendingMetrics": "Enabled", + "reasonForLogsStatus": "CapturedByRules", "reasonForMetricsStatus": "CapturedByRules", "sendingLogs": "Enabled", - "reasonForLogsStatus": "CapturedByRules" + "sendingMetrics": "Enabled" } - ], - "nextLink": "null" + ] } } - } + }, + "operationId": "Monitors_ListMonitoredResources", + "title": "Monitors_ListMonitoredResources_MaximumSet_Gen" } diff --git a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_ListMonitoredResources_MinimumSet_Gen.json b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_ListMonitoredResources_MinimumSet_Gen.json index 4cb1020a2a80..981d9f1e272c 100644 --- a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_ListMonitoredResources_MinimumSet_Gen.json +++ b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_ListMonitoredResources_MinimumSet_Gen.json @@ -1,13 +1,17 @@ { "parameters": { "api-version": "2024-04-24", - "subscriptionId": "00000000-0000-0000-0000-000000000000", + "monitorName": "myMonitor", "resourceGroupName": "myResourceGroup", - "monitorName": "myMonitor" + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { - "body": {} + "body": { + "value": [] + } } - } + }, + "operationId": "Monitors_ListMonitoredResources", + "title": "Monitors_ListMonitoredResources_MinimumSet_Gen" } diff --git a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_ManageAgentInstallation_MaximumSet_Gen.json b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_ManageAgentInstallation_MaximumSet_Gen.json index c2d0feaafc2c..46e8613e4ccf 100644 --- a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_ManageAgentInstallation_MaximumSet_Gen.json +++ b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_ManageAgentInstallation_MaximumSet_Gen.json @@ -1,10 +1,11 @@ { "parameters": { "api-version": "2024-04-24", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", "monitorName": "myMonitor", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "request": { + "action": "Install", "manageAgentInstallationList": [ { "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/vmssName" @@ -12,11 +13,12 @@ { "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/vmssName2" } - ], - "action": "Install" + ] } }, "responses": { "204": {} - } + }, + "operationId": "Monitors_ManageAgentInstallation", + "title": "Monitors_ManageAgentInstallation_MaximumSet_Gen" } diff --git a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_ManageAgentInstallation_MinimumSet_Gen.json b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_ManageAgentInstallation_MinimumSet_Gen.json index a233a558b573..13c69c40f5c2 100644 --- a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_ManageAgentInstallation_MinimumSet_Gen.json +++ b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_ManageAgentInstallation_MinimumSet_Gen.json @@ -1,19 +1,21 @@ { "parameters": { "api-version": "2024-04-24", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", "monitorName": "myMonitor", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "request": { + "action": "Uninstall", "manageAgentInstallationList": [ { "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/vmssName" } - ], - "action": "Uninstall" + ] } }, "responses": { "204": {} - } + }, + "operationId": "Monitors_ManageAgentInstallation", + "title": "Monitors_ManageAgentInstallation_MinimumSet_Gen" } diff --git a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_Update_MaximumSet_Gen.json b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_Update_MaximumSet_Gen.json index dad0ce0b7c60..dfab083118f9 100644 --- a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_Update_MaximumSet_Gen.json +++ b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_Update_MaximumSet_Gen.json @@ -1,89 +1,91 @@ { "parameters": { "api-version": "2024-04-24", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", "monitorName": "myMonitor", "resource": { - "tags": { - "Environment": "Dev" - }, "properties": { "planData": { - "usageType": "Committed", "billingCycle": "Monthly", + "effectiveDate": "2019-08-30T15:14:33+02:00", "planDetails": "dynatraceapitestplan", - "effectiveDate": "2019-08-30T15:14:33+02:00" + "usageType": "Committed" } + }, + "tags": { + "Environment": "Dev" } - } + }, + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { + "name": "myMonitor", + "type": "Dynatrace.Observability/monitors", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor", "identity": { + "type": "SystemAssigned", "principalId": "4534676867978", - "tenantId": "23456789001", - "type": "SystemAssigned" + "tenantId": "23456789001" }, + "location": "West US 2", "properties": { - "monitoringStatus": "Enabled", - "marketplaceSubscriptionStatus": "Active", "dynatraceEnvironmentProperties": { - "userId": "alice123", "accountInfo": { "accountId": "1234567890", - "regionId": "wus2", - "companyName": "company" + "companyName": "company", + "regionId": "wus2" }, "environmentInfo": { "environmentId": "a23xcv456", "ingestionKey": "1234567890", - "logsIngestionEndpoint": "https://dynatrace.com", - "landingURL": "https://a23xcv456.dynatrace.com" + "landingURL": "https://a23xcv456.dynatrace.com", + "logsIngestionEndpoint": "https://dynatrace.com" }, "singleSignOnProperties": { - "singleSignOnState": "Enable", - "enterpriseAppId": "00000000-0000-0000-0000-000000000000", - "singleSignOnUrl": "https://www.dynatrace.io/IAmSomeHash", "aadDomains": [ "mpliftrdt20210811outlook.onmicrosoft.com" - ] - } - }, - "userInfo": { - "firstName": "Alice", - "lastName": "Bobab", - "emailAddress": "alice@microsoft.com", - "phoneNumber": "123456", - "country": "westus2" + ], + "enterpriseAppId": "00000000-0000-0000-0000-000000000000", + "singleSignOnState": "Enable", + "singleSignOnUrl": "https://www.dynatrace.io/IAmSomeHash" + }, + "userId": "alice123" }, + "liftrResourceCategory": "Unknown", + "liftrResourcePreference": 28, + "marketplaceSubscriptionStatus": "Active", + "monitoringStatus": "Enabled", "planData": { - "usageType": "Committed", "billingCycle": "Monthly", + "effectiveDate": "2019-08-30T15:14:33+02:00", "planDetails": "dynatraceapitestplan", - "effectiveDate": "2019-08-30T15:14:33+02:00" + "usageType": "Committed" }, - "liftrResourceCategory": "Unknown", - "liftrResourcePreference": 28, - "provisioningState": "Accepted" + "provisioningState": "Accepted", + "userInfo": { + "country": "westus2", + "emailAddress": "alice@microsoft.com", + "firstName": "Alice", + "lastName": "Bobab", + "phoneNumber": "123456" + } }, "systemData": { + "createdAt": "2021-07-16T04:25:21.040Z", "createdBy": "alice@microsoft.com", "createdByType": "User", - "createdAt": "2021-07-16T04:25:21.040Z", + "lastModifiedAt": "2021-07-16T04:25:21.040Z", "lastModifiedBy": "alice@microsoft.com", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-07-16T04:25:21.040Z" + "lastModifiedByType": "User" }, "tags": { "Environment": "Dev" - }, - "location": "West US 2", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor", - "name": "myMonitor", - "type": "Dynatrace.Observability/monitors" + } } } - } + }, + "operationId": "Monitors_Update", + "title": "Monitors_Update_MaximumSet_Gen" } diff --git a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_Update_MinimumSet_Gen.json b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_Update_MinimumSet_Gen.json index 996b2259bb87..7b18c2e3506b 100644 --- a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_Update_MinimumSet_Gen.json +++ b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_Update_MinimumSet_Gen.json @@ -1,17 +1,19 @@ { "parameters": { "api-version": "2024-04-24", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", "monitorName": "myMonitor", - "resource": {} + "resource": {}, + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "properties": {}, - "location": "West US 2" + "location": "West US 2", + "properties": {} } } - } + }, + "operationId": "Monitors_Update", + "title": "Monitors_Update_MinimumSet_Gen" } diff --git a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_UpgradePlan_MaximumSet_Gen.json b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_UpgradePlan_MaximumSet_Gen.json index d58310a7b88c..7f33c50c9200 100644 --- a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_UpgradePlan_MaximumSet_Gen.json +++ b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_UpgradePlan_MaximumSet_Gen.json @@ -1,15 +1,15 @@ { "parameters": { "api-version": "2024-04-24", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", "monitorName": "myMonitor", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "request": { "planData": { - "usageType": "Committed", "billingCycle": "Monthly", + "effectiveDate": "2019-08-30T15:14:33+02:00", "planDetails": "dynatraceapitestplan", - "effectiveDate": "2019-08-30T15:14:33+02:00" + "usageType": "Committed" } } }, @@ -19,5 +19,7 @@ "Azure-AsyncOperation": "https://foo.com/operationstatus" } } - } + }, + "operationId": "Monitors_UpgradePlan", + "title": "Monitors_UpgradePlan_MaximumSet_Gen" } diff --git a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_UpgradePlan_MinimumSet_Gen.json b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_UpgradePlan_MinimumSet_Gen.json index d58310a7b88c..d48911c3d9c2 100644 --- a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_UpgradePlan_MinimumSet_Gen.json +++ b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Monitors_UpgradePlan_MinimumSet_Gen.json @@ -1,15 +1,15 @@ { "parameters": { "api-version": "2024-04-24", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", "monitorName": "myMonitor", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "request": { "planData": { - "usageType": "Committed", "billingCycle": "Monthly", + "effectiveDate": "2019-08-30T15:14:33+02:00", "planDetails": "dynatraceapitestplan", - "effectiveDate": "2019-08-30T15:14:33+02:00" + "usageType": "Committed" } } }, @@ -19,5 +19,7 @@ "Azure-AsyncOperation": "https://foo.com/operationstatus" } } - } + }, + "operationId": "Monitors_UpgradePlan", + "title": "Monitors_UpgradePlan_MinimumSet_Gen" } diff --git a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Operations_List_MaximumSet_Gen.json b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Operations_List_MaximumSet_Gen.json index 866a0e843e4b..9663aef508f8 100644 --- a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Operations_List_MaximumSet_Gen.json +++ b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Operations_List_MaximumSet_Gen.json @@ -5,22 +5,24 @@ "responses": { "200": { "body": { + "nextLink": "http://testlink.com", "value": [ { "name": "Dynatrace.Observability/monitors/write", - "isDataAction": true, + "actionType": "Internal", "display": { - "provider": "Dynatrace.Observability", - "resource": "monitors", + "description": "Write monitors resource", "operation": "write", - "description": "Write monitors resource" + "provider": "Dynatrace.Observability", + "resource": "monitors" }, - "origin": "user", - "actionType": "Internal" + "isDataAction": true, + "origin": "user" } - ], - "nextLink": "http://testlink.com" + ] } } - } + }, + "operationId": "Operations_List", + "title": "Operations_List_MaximumSet_Gen" } diff --git a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Operations_List_MinimumSet_Gen.json b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Operations_List_MinimumSet_Gen.json index 26ca73552ea6..ef07ac56fc7d 100644 --- a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Operations_List_MinimumSet_Gen.json +++ b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/Operations_List_MinimumSet_Gen.json @@ -6,5 +6,7 @@ "200": { "body": {} } - } + }, + "operationId": "Operations_List", + "title": "Operations_List_MinimumSet_Gen" } diff --git a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/SingleSignOn_CreateOrUpdate_MaximumSet_Gen.json b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/SingleSignOn_CreateOrUpdate_MaximumSet_Gen.json index 3aa0296b3184..9ba364a081b4 100644 --- a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/SingleSignOn_CreateOrUpdate_MaximumSet_Gen.json +++ b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/SingleSignOn_CreateOrUpdate_MaximumSet_Gen.json @@ -1,73 +1,75 @@ { "parameters": { "api-version": "2024-04-24", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "monitorName": "myMonitor", "configurationName": "default", + "monitorName": "myMonitor", "resource": { "properties": { - "singleSignOnState": "Enable", - "enterpriseAppId": "00000000-0000-0000-0000-000000000000", - "singleSignOnUrl": "https://www.dynatrace.io", "aadDomains": [ "mpliftrdt20210811outlook.onmicrosoft.com" ], - "provisioningState": "Accepted" + "enterpriseAppId": "00000000-0000-0000-0000-000000000000", + "provisioningState": "Accepted", + "singleSignOnState": "Enable", + "singleSignOnUrl": "https://www.dynatrace.io" } - } + }, + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { + "name": "default", + "type": "Dynatrace.Observability/monitors", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor/singleSignOnConfigurations/default", "properties": { - "singleSignOnState": "Enable", - "enterpriseAppId": "00000000-0000-0000-0000-000000000000", - "singleSignOnUrl": "https://www.dynatrace.io/IAmSomeHash", "aadDomains": [ "mpliftrdt20210811outlook.onmicrosoft.com" ], - "provisioningState": "Succeeded" + "enterpriseAppId": "00000000-0000-0000-0000-000000000000", + "provisioningState": "Succeeded", + "singleSignOnState": "Enable", + "singleSignOnUrl": "https://www.dynatrace.io/IAmSomeHash" }, "systemData": { + "createdAt": "2021-07-16T04:25:21.040Z", "createdBy": "alice@microsoft.com", "createdByType": "User", - "createdAt": "2021-07-16T04:25:21.040Z", + "lastModifiedAt": "2021-07-16T04:25:21.040Z", "lastModifiedBy": "alice@microsoft.com", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-07-16T04:25:21.040Z" - }, - "name": "default", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor/singleSignOnConfigurations/default", - "type": "Dynatrace.Observability/monitors" + "lastModifiedByType": "User" + } } }, "201": { - "headers": { - "Azure-AsyncOperation": "https://foo.com/operationstatus" - }, "body": { + "name": "default", + "type": "Dynatrace.Observability/monitors", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor/singleSignOnConfigurations/default", "properties": { - "singleSignOnState": "Enable", - "enterpriseAppId": "00000000-0000-0000-0000-000000000000", - "singleSignOnUrl": "https://www.dynatrace.io/IAmSomeHash", "aadDomains": [ "mpliftrdt20210811outlook.onmicrosoft.com" ], - "provisioningState": "Accepted" + "enterpriseAppId": "00000000-0000-0000-0000-000000000000", + "provisioningState": "Accepted", + "singleSignOnState": "Enable", + "singleSignOnUrl": "https://www.dynatrace.io/IAmSomeHash" }, "systemData": { + "createdAt": "2021-07-16T04:25:21.040Z", "createdBy": "alice@microsoft.com", "createdByType": "User", - "createdAt": "2021-07-16T04:25:21.040Z", + "lastModifiedAt": "2021-07-16T04:25:21.040Z", "lastModifiedBy": "alice@microsoft.com", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-07-16T04:25:21.040Z" - }, - "name": "default", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor/singleSignOnConfigurations/default", - "type": "Dynatrace.Observability/monitors" + "lastModifiedByType": "User" + } + }, + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" } } - } + }, + "operationId": "SingleSignOn_CreateOrUpdate", + "title": "SingleSignOn_CreateOrUpdate_MaximumSet_Gen" } diff --git a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/SingleSignOn_CreateOrUpdate_MinimumSet_Gen.json b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/SingleSignOn_CreateOrUpdate_MinimumSet_Gen.json index 3cbda50d46b8..6f83b2c94187 100644 --- a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/SingleSignOn_CreateOrUpdate_MinimumSet_Gen.json +++ b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/SingleSignOn_CreateOrUpdate_MinimumSet_Gen.json @@ -1,44 +1,46 @@ { "parameters": { "api-version": "2024-04-24", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "monitorName": "myMonitor", "configurationName": "default", + "monitorName": "myMonitor", "resource": { "properties": { - "singleSignOnUrl": "https://www.dynatrace.io", "aadDomains": [ "mpliftrdt20210811outlook.onmicrosoft.com" - ] + ], + "singleSignOnUrl": "https://www.dynatrace.io" } - } + }, + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor/singleSignOnConfigurations/default", "properties": { - "singleSignOnUrl": "https://www.dynatrace.io/IAmSomeHash", "aadDomains": [ "mpliftrdt20210811outlook.onmicrosoft.com" - ] + ], + "singleSignOnUrl": "https://www.dynatrace.io/IAmSomeHash" } } }, "201": { - "headers": { - "Azure-AsyncOperation": "https://foo.com/operationstatus" - }, "body": { "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor/singleSignOnConfigurations/default", "properties": { - "singleSignOnUrl": "https://www.dynatrace.io/IAmSomeHash", "aadDomains": [ "mpliftrdt20210811outlook.onmicrosoft.com" - ] + ], + "singleSignOnUrl": "https://www.dynatrace.io/IAmSomeHash" } + }, + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" } } - } + }, + "operationId": "SingleSignOn_CreateOrUpdate", + "title": "SingleSignOn_CreateOrUpdate_MinimumSet_Gen" } diff --git a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/SingleSignOn_Get_MaximumSet_Gen.json b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/SingleSignOn_Get_MaximumSet_Gen.json index 0c25fecf8442..dc172680638d 100644 --- a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/SingleSignOn_Get_MaximumSet_Gen.json +++ b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/SingleSignOn_Get_MaximumSet_Gen.json @@ -1,35 +1,37 @@ { "parameters": { "api-version": "2024-04-24", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", + "configurationName": "default", "monitorName": "myMonitor", - "configurationName": "default" + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { + "name": "default", + "type": "Dynatrace.Observability/monitors", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor/singleSignOnConfigurations/default", "properties": { - "singleSignOnState": "Enable", - "enterpriseAppId": "00000000-0000-0000-0000-000000000000", - "singleSignOnUrl": "https://www.dynatrace.io/IAmSomeHash", "aadDomains": [ "mpliftrdt20210811outlook.onmicrosoft.com" ], - "provisioningState": "Succeeded" + "enterpriseAppId": "00000000-0000-0000-0000-000000000000", + "provisioningState": "Succeeded", + "singleSignOnState": "Enable", + "singleSignOnUrl": "https://www.dynatrace.io/IAmSomeHash" }, "systemData": { + "createdAt": "2021-07-16T04:25:21.040Z", "createdBy": "alice@microsoft.com", "createdByType": "User", - "createdAt": "2021-07-16T04:25:21.040Z", + "lastModifiedAt": "2021-07-16T04:25:21.040Z", "lastModifiedBy": "alice@microsoft.com", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-07-16T04:25:21.040Z" - }, - "name": "default", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor/singleSignOnConfigurations/default", - "type": "Dynatrace.Observability/monitors" + "lastModifiedByType": "User" + } } } - } + }, + "operationId": "SingleSignOn_Get", + "title": "SingleSignOn_Get_MaximumSet_Gen" } diff --git a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/SingleSignOn_Get_MinimumSet_Gen.json b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/SingleSignOn_Get_MinimumSet_Gen.json index 13c829751dbb..b81a2a100d0f 100644 --- a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/SingleSignOn_Get_MinimumSet_Gen.json +++ b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/SingleSignOn_Get_MinimumSet_Gen.json @@ -1,22 +1,24 @@ { "parameters": { "api-version": "2024-04-24", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", + "configurationName": "default", "monitorName": "myMonitor", - "configurationName": "default" + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor/singleSignOnConfigurations/default", "properties": { - "singleSignOnUrl": "https://www.dynatrace.io/IAmSomeHash", "aadDomains": [ "mpliftrdt20210811outlook.onmicrosoft.com" - ] + ], + "singleSignOnUrl": "https://www.dynatrace.io/IAmSomeHash" } } } - } + }, + "operationId": "SingleSignOn_Get", + "title": "SingleSignOn_Get_MinimumSet_Gen" } diff --git a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/SingleSignOn_List_MaximumSet_Gen.json b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/SingleSignOn_List_MaximumSet_Gen.json index 0c7e0a54528f..d9b0c448dfa1 100644 --- a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/SingleSignOn_List_MaximumSet_Gen.json +++ b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/SingleSignOn_List_MaximumSet_Gen.json @@ -1,39 +1,41 @@ { "parameters": { "api-version": "2024-04-24", - "subscriptionId": "00000000-0000-0000-0000-000000000000", + "monitorName": "myMonitor", "resourceGroupName": "myResourceGroup", - "monitorName": "myMonitor" + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Dynatrace.Observability/monitors?api-version=2024-04-24&$skiptoken=abc123", "value": [ { + "name": "default", + "type": "Dynatrace.Observability/monitors", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor/singleSignOnConfigurations/default", "properties": { - "singleSignOnState": "Enable", - "enterpriseAppId": "00000000-0000-0000-0000-000000000000", - "singleSignOnUrl": "https://www.dynatrace.io/IAmSomeHash", "aadDomains": [ "mpliftrdt20210811outlook.onmicrosoft.com" ], - "provisioningState": "Succeeded" + "enterpriseAppId": "00000000-0000-0000-0000-000000000000", + "provisioningState": "Succeeded", + "singleSignOnState": "Enable", + "singleSignOnUrl": "https://www.dynatrace.io/IAmSomeHash" }, "systemData": { + "createdAt": "2021-07-16T04:25:21.040Z", "createdBy": "alice@microsoft.com", "createdByType": "User", - "createdAt": "2021-07-16T04:25:21.040Z", + "lastModifiedAt": "2021-07-16T04:25:21.040Z", "lastModifiedBy": "alice@microsoft.com", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-07-16T04:25:21.040Z" - }, - "name": "default", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor/singleSignOnConfigurations/default", - "type": "Dynatrace.Observability/monitors" + "lastModifiedByType": "User" + } } - ], - "nextLink": "null" + ] } } - } + }, + "operationId": "SingleSignOn_List", + "title": "SingleSignOn_List_MaximumSet_Gen" } diff --git a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/SingleSignOn_List_MinimumSet_Gen.json b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/SingleSignOn_List_MinimumSet_Gen.json index bf35e8caaba1..caefb792954b 100644 --- a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/SingleSignOn_List_MinimumSet_Gen.json +++ b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/SingleSignOn_List_MinimumSet_Gen.json @@ -1,26 +1,28 @@ { "parameters": { "api-version": "2024-04-24", - "subscriptionId": "00000000-0000-0000-0000-000000000000", + "monitorName": "myMonitor", "resourceGroupName": "myResourceGroup", - "monitorName": "myMonitor" + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Dynatrace.Observability/monitors?api-version=2024-04-24&$skiptoken=abc123", "value": [ { "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor/singleSignOnConfigurations/default", "properties": { - "singleSignOnUrl": "https://www.dynatrace.io/IAmSomeHash", "aadDomains": [ "mpliftrdt20210811outlook.onmicrosoft.com" - ] + ], + "singleSignOnUrl": "https://www.dynatrace.io/IAmSomeHash" } } - ], - "nextLink": "null" + ] } } - } + }, + "operationId": "SingleSignOn_List", + "title": "SingleSignOn_List_MinimumSet_Gen" } diff --git a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/TagRules_CreateOrUpdate_MaximumSet_Gen.json b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/TagRules_CreateOrUpdate_MaximumSet_Gen.json index 29cb2d029476..6d979c4646a1 100644 --- a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/TagRules_CreateOrUpdate_MaximumSet_Gen.json +++ b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/TagRules_CreateOrUpdate_MaximumSet_Gen.json @@ -1,136 +1,138 @@ { "parameters": { "api-version": "2024-04-24", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", "monitorName": "myMonitor", - "ruleSetName": "default", "resource": { "properties": { "logRules": { - "sendAadLogs": "Enabled", - "sendSubscriptionLogs": "Enabled", - "sendActivityLogs": "Enabled", "filteringTags": [ { "name": "Environment", - "value": "Prod", - "action": "Include" + "action": "Include", + "value": "Prod" }, { "name": "Environment", - "value": "Dev", - "action": "Exclude" + "action": "Exclude", + "value": "Dev" } - ] + ], + "sendAadLogs": "Enabled", + "sendActivityLogs": "Enabled", + "sendSubscriptionLogs": "Enabled" }, "metricRules": { - "sendingMetrics": "Enabled", "filteringTags": [ { "name": "Environment", - "value": "Prod", - "action": "Include" + "action": "Include", + "value": "Prod" } - ] + ], + "sendingMetrics": "Enabled" }, "provisioningState": "Accepted" } - } + }, + "resourceGroupName": "myResourceGroup", + "ruleSetName": "default", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { + "name": "default", + "type": "Dynatrace.Observability/monitors/tagRules", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor/tagRules/default", "properties": { "logRules": { - "sendAadLogs": "Enabled", - "sendSubscriptionLogs": "Enabled", - "sendActivityLogs": "Enabled", "filteringTags": [ { "name": "Environment", - "value": "Prod", - "action": "Include" + "action": "Include", + "value": "Prod" }, { "name": "Environment", - "value": "Dev", - "action": "Exclude" + "action": "Exclude", + "value": "Dev" } - ] + ], + "sendAadLogs": "Enabled", + "sendActivityLogs": "Enabled", + "sendSubscriptionLogs": "Enabled" }, "metricRules": { - "sendingMetrics": "Enabled", "filteringTags": [ { "name": "Environment", - "value": "Prod", - "action": "Include" + "action": "Include", + "value": "Prod" } - ] + ], + "sendingMetrics": "Enabled" }, "provisioningState": "Accepted" }, "systemData": { + "createdAt": "2021-07-16T04:25:21.040Z", "createdBy": "alice@microsoft.com", "createdByType": "User", - "createdAt": "2021-07-16T04:25:21.040Z", + "lastModifiedAt": "2021-07-16T04:25:21.040Z", "lastModifiedBy": "alice@microsoft.com", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-07-16T04:25:21.040Z" - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor/tagRules/default", - "name": "default", - "type": "Dynatrace.Observability/monitors/tagRules" + "lastModifiedByType": "User" + } } }, "201": { - "headers": { - "Azure-AsyncOperation": "https://foo.com/operationstatus" - }, "body": { + "name": "default", + "type": "Dynatrace.Observability/monitors/tagRules", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor/tagRules/default", "properties": { "logRules": { - "sendAadLogs": "Enabled", - "sendSubscriptionLogs": "Enabled", - "sendActivityLogs": "Enabled", "filteringTags": [ { "name": "Environment", - "value": "Prod", - "action": "Include" + "action": "Include", + "value": "Prod" }, { "name": "Environment", - "value": "Dev", - "action": "Exclude" + "action": "Exclude", + "value": "Dev" } - ] + ], + "sendAadLogs": "Enabled", + "sendActivityLogs": "Enabled", + "sendSubscriptionLogs": "Enabled" }, "metricRules": { - "sendingMetrics": "Enabled", "filteringTags": [ { "name": "Environment", - "value": "Prod", - "action": "Include" + "action": "Include", + "value": "Prod" } - ] + ], + "sendingMetrics": "Enabled" }, "provisioningState": "Accepted" }, "systemData": { + "createdAt": "2021-07-16T04:25:21.040Z", "createdBy": "alice@microsoft.com", "createdByType": "User", - "createdAt": "2021-07-16T04:25:21.040Z", + "lastModifiedAt": "2021-07-16T04:25:21.040Z", "lastModifiedBy": "alice@microsoft.com", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-07-16T04:25:21.040Z" - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor/tagRules/default", - "name": "default", - "type": "Dynatrace.Observability/monitors/tagRules" + "lastModifiedByType": "User" + } + }, + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" } } - } + }, + "operationId": "TagRules_CreateOrUpdate", + "title": "TagRules_CreateOrUpdate_MaximumSet_Gen" } diff --git a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/TagRules_CreateOrUpdate_MinimumSet_Gen.json b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/TagRules_CreateOrUpdate_MinimumSet_Gen.json index 26a1b378e3a6..3f2be913da0a 100644 --- a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/TagRules_CreateOrUpdate_MinimumSet_Gen.json +++ b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/TagRules_CreateOrUpdate_MinimumSet_Gen.json @@ -1,13 +1,13 @@ { "parameters": { "api-version": "2024-04-24", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", "monitorName": "myMonitor", - "ruleSetName": "default", "resource": { "properties": {} - } + }, + "resourceGroupName": "myResourceGroup", + "ruleSetName": "default", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { @@ -17,13 +17,15 @@ } }, "201": { - "headers": { - "Azure-AsyncOperation": "https://foo.com/operationstatus" - }, "body": { "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor/tagRules/default", "properties": {} + }, + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" } } - } + }, + "operationId": "TagRules_CreateOrUpdate", + "title": "TagRules_CreateOrUpdate_MinimumSet_Gen" } diff --git a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/TagRules_Delete_MaximumSet_Gen.json b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/TagRules_Delete_MaximumSet_Gen.json index 9f6200cdbcbf..399bb76a3e8d 100644 --- a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/TagRules_Delete_MaximumSet_Gen.json +++ b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/TagRules_Delete_MaximumSet_Gen.json @@ -1,10 +1,10 @@ { "parameters": { "api-version": "2024-04-24", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", "monitorName": "myMonitor", - "ruleSetName": "default" + "resourceGroupName": "myResourceGroup", + "ruleSetName": "default", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "202": { @@ -13,5 +13,7 @@ } }, "204": {} - } + }, + "operationId": "TagRules_Delete", + "title": "TagRules_Delete_MaximumSet_Gen" } diff --git a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/TagRules_Delete_MinimumSet_Gen.json b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/TagRules_Delete_MinimumSet_Gen.json index 9f6200cdbcbf..ffa96fce6001 100644 --- a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/TagRules_Delete_MinimumSet_Gen.json +++ b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/TagRules_Delete_MinimumSet_Gen.json @@ -1,10 +1,10 @@ { "parameters": { "api-version": "2024-04-24", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", "monitorName": "myMonitor", - "ruleSetName": "default" + "resourceGroupName": "myResourceGroup", + "ruleSetName": "default", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "202": { @@ -13,5 +13,7 @@ } }, "204": {} - } + }, + "operationId": "TagRules_Delete", + "title": "TagRules_Delete_MinimumSet_Gen" } diff --git a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/TagRules_Get_MaximumSet_Gen.json b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/TagRules_Get_MaximumSet_Gen.json index 4e7d080968f3..8b5245ab984f 100644 --- a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/TagRules_Get_MaximumSet_Gen.json +++ b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/TagRules_Get_MaximumSet_Gen.json @@ -1,56 +1,58 @@ { "parameters": { "api-version": "2024-04-24", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", "monitorName": "myMonitor", - "ruleSetName": "default" + "resourceGroupName": "myResourceGroup", + "ruleSetName": "default", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { + "name": "default", + "type": "Dynatrace.Observability/monitors/tagRules", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor/tagRules/default", "properties": { "logRules": { - "sendAadLogs": "Enabled", - "sendSubscriptionLogs": "Enabled", - "sendActivityLogs": "Enabled", "filteringTags": [ { "name": "Environment", - "value": "Prod", - "action": "Include" + "action": "Include", + "value": "Prod" }, { "name": "Environment", - "value": "Dev", - "action": "Exclude" + "action": "Exclude", + "value": "Dev" } - ] + ], + "sendAadLogs": "Enabled", + "sendActivityLogs": "Enabled", + "sendSubscriptionLogs": "Enabled" }, "metricRules": { - "sendingMetrics": "Enabled", "filteringTags": [ { "name": "Environment", - "value": "Prod", - "action": "Include" + "action": "Include", + "value": "Prod" } - ] + ], + "sendingMetrics": "Enabled" }, "provisioningState": "Accepted" }, "systemData": { + "createdAt": "2021-07-16T04:25:21.040Z", "createdBy": "alice@microsoft.com", "createdByType": "User", - "createdAt": "2021-07-16T04:25:21.040Z", + "lastModifiedAt": "2021-07-16T04:25:21.040Z", "lastModifiedBy": "alice@microsoft.com", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-07-16T04:25:21.040Z" - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor/tagRules/default", - "name": "default", - "type": "Dynatrace.Observability/monitors/tagRules" + "lastModifiedByType": "User" + } } } - } + }, + "operationId": "TagRules_Get", + "title": "TagRules_Get_MaximumSet_Gen" } diff --git a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/TagRules_Get_MinimumSet_Gen.json b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/TagRules_Get_MinimumSet_Gen.json index 7d0fbc418a72..ed9531535937 100644 --- a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/TagRules_Get_MinimumSet_Gen.json +++ b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/TagRules_Get_MinimumSet_Gen.json @@ -1,10 +1,10 @@ { "parameters": { "api-version": "2024-04-24", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", "monitorName": "myMonitor", - "ruleSetName": "default" + "resourceGroupName": "myResourceGroup", + "ruleSetName": "default", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { @@ -13,5 +13,7 @@ "properties": {} } } - } + }, + "operationId": "TagRules_Get", + "title": "TagRules_Get_MinimumSet_Gen" } diff --git a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/TagRules_List_MaximumSet_Gen.json b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/TagRules_List_MaximumSet_Gen.json index fcfcffde60ab..5c56b535511d 100644 --- a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/TagRules_List_MaximumSet_Gen.json +++ b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/TagRules_List_MaximumSet_Gen.json @@ -1,60 +1,62 @@ { "parameters": { "api-version": "2024-04-24", - "subscriptionId": "00000000-0000-0000-0000-000000000000", + "monitorName": "myMonitor", "resourceGroupName": "myResourceGroup", - "monitorName": "myMonitor" + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Dynatrace.Observability/monitors?api-version=2024-04-24&$skiptoken=abc123", "value": [ { + "name": "default", + "type": "Dynatrace.Observability/monitors/tagRules", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor/tagRules/default", "properties": { "logRules": { - "sendAadLogs": "Enabled", - "sendSubscriptionLogs": "Enabled", - "sendActivityLogs": "Enabled", "filteringTags": [ { "name": "Environment", - "value": "Prod", - "action": "Include" + "action": "Include", + "value": "Prod" }, { "name": "Environment", - "value": "Dev", - "action": "Exclude" + "action": "Exclude", + "value": "Dev" } - ] + ], + "sendAadLogs": "Enabled", + "sendActivityLogs": "Enabled", + "sendSubscriptionLogs": "Enabled" }, "metricRules": { - "sendingMetrics": "Enabled", "filteringTags": [ { "name": "Environment", - "value": "Prod", - "action": "Include" + "action": "Include", + "value": "Prod" } - ] + ], + "sendingMetrics": "Enabled" }, "provisioningState": "Accepted" }, "systemData": { + "createdAt": "2021-07-16T04:25:21.040Z", "createdBy": "alice@microsoft.com", "createdByType": "User", - "createdAt": "2021-07-16T04:25:21.040Z", + "lastModifiedAt": "2021-07-16T04:25:21.040Z", "lastModifiedBy": "alice@microsoft.com", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-07-16T04:25:21.040Z" - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor/tagRules/default", - "name": "default", - "type": "Dynatrace.Observability/monitors/tagRules" + "lastModifiedByType": "User" + } } - ], - "nextLink": "null" + ] } } - } + }, + "operationId": "TagRules_List", + "title": "TagRules_List_MaximumSet_Gen" } diff --git a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/TagRules_List_MinimumSet_Gen.json b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/TagRules_List_MinimumSet_Gen.json index 9ba1070657e9..975bc533de0b 100644 --- a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/TagRules_List_MinimumSet_Gen.json +++ b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2024-04-24/examples/TagRules_List_MinimumSet_Gen.json @@ -1,21 +1,23 @@ { "parameters": { "api-version": "2024-04-24", - "subscriptionId": "00000000-0000-0000-0000-000000000000", + "monitorName": "myMonitor", "resourceGroupName": "myResourceGroup", - "monitorName": "myMonitor" + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Dynatrace.Observability/monitors?api-version=2024-04-24&$skiptoken=abc123", "value": [ { "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor/tagRules/default", "properties": {} } - ], - "nextLink": "null" + ] } } - } + }, + "operationId": "TagRules_List", + "title": "TagRules_List_MinimumSet_Gen" } diff --git a/specification/elastic/Elastic.Management/ElasticMonitorResource.tsp b/specification/elastic/Elastic.Management/ElasticMonitorResource.tsp new file mode 100644 index 000000000000..a457da98a933 --- /dev/null +++ b/specification/elastic/Elastic.Management/ElasticMonitorResource.tsp @@ -0,0 +1,467 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Elastic; +/** + * Monitor resource. + */ +model ElasticMonitorResource + is Azure.ResourceManager.TrackedResource { + ...ResourceNameParameter< + Resource = ElasticMonitorResource, + KeyName = "monitorName", + SegmentName = "monitors", + NamePattern = "^.*$" + >; + + /** + * The kind of the Elastic resource - observability, security, search etc. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + kind?: string; + + /** + * SKU of the monitor resource. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + sku?: ResourceSku; + + /** + * Identity properties of the monitor resource. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + identity?: IdentityProperties; +} + +/** + * Represents the SKU of a resource. + */ +model ResourceSku { + /** + * The name of the SKU. + */ + name: string; +} +@armResourceOperations +interface ElasticMonitorCreateOrUpdateResourceOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + }, + { + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + @segment("monitors") + @pattern("^.*$") + monitorName: string, + }, + ErrorType = ResourceProviderDefaultErrorResponse + > {} + +@armResourceOperations +interface ElasticMonitorUpdateResourceOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + }, + { + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + @segment("monitors") + @pattern("^.*$") + monitorName: string, + } + > {} + +@armResourceOperations +interface ElasticMonitorResources { + /** + * Get detailed properties of a specific Elastic monitor resource, helping you manage observability and performance. + */ + get is ArmResourceRead< + ElasticMonitorResource, + Error = ResourceProviderDefaultErrorResponse + >; + + /** + * Create a new Elastic monitor resource in your Azure subscription, enabling observability and monitoring of your Azure resources through Elastic. + */ + create is ElasticMonitorCreateOrUpdateResourceOps.CreateOrUpdateAsync< + ElasticMonitorResource, + OptionalRequestBody = true + >; + + /** + * Update an existing Elastic monitor resource in your Azure subscription, ensuring optimal observability and performance. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/no-response-body" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @patch(#{ implicitOptionality: false }) + update is ElasticMonitorUpdateResourceOps.CustomPatchAsync< + ElasticMonitorResource, + PatchModel = ElasticMonitorResourceUpdateParameters, + Response = ArmResponse | (ArmAcceptedLroResponse> & { + @bodyRoot + _: ElasticMonitorResource; + }), + OptionalRequestBody = true + >; + + /** + * Delete an existing Elastic monitor resource from your Azure subscription, removing its observability and monitoring capabilities. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + delete is ArmResourceDeleteWithoutOkAsync< + ElasticMonitorResource, + Response = ArmDeletedResponse | ArmDeleteAcceptedLroResponse | ArmDeletedNoContentResponse, + Error = ResourceProviderDefaultErrorResponse + >; + + /** + * List all Elastic monitor resources within a specified resource group of the subscription, helping you audit and manage your monitoring setup. + */ + listByResourceGroup is ArmResourceListByParent< + ElasticMonitorResource, + Response = ArmResponse, + Error = ResourceProviderDefaultErrorResponse + >; + + /** + * List all Elastic monitor resources within a specified subscription, helping you audit and manage your monitoring setup. + */ + list is ArmListBySubscription< + ElasticMonitorResource, + Response = ArmResponse, + Error = ResourceProviderDefaultErrorResponse + >; + + /** + * List all resources currently being monitored by the Elastic monitor resource, helping you manage observability. + */ + @list + @action("listMonitoredResources") + monitoredResourcesList is ArmResourceActionSync< + ElasticMonitorResource, + void, + ArmResponse, + Error = ResourceProviderDefaultErrorResponse + >; + + /** + * Fetch detailed information about Elastic cloud deployments corresponding to the Elastic monitor resource. + */ + @action("listDeploymentInfo") + deploymentInfoList is ArmResourceActionSync< + ElasticMonitorResource, + void, + ArmResponse, + Error = ResourceProviderDefaultErrorResponse + >; + + /** + * Create or update external user configurations for your Elastic monitor resource, enabling access and management by external users. + */ + @action("createOrUpdateExternalUser") + createOrUpdate is ArmResourceActionSync< + ElasticMonitorResource, + ExternalUserInfo, + ArmResponse, + Error = ResourceProviderDefaultErrorResponse, + OptionalRequestBody = true + >; + + /** + * Retrieve marketplace and organization billing information mapped to the given Elastic monitor resource. + */ + @action("getBillingInfo") + billingInfoGet is ArmResourceActionSync< + ElasticMonitorResource, + void, + ArmResponse, + Error = ResourceProviderDefaultErrorResponse + >; + + /** + * List all active deployments associated with the marketplace subscription linked to the given Elastic monitor resource. + */ + @list + @action("listConnectedPartnerResources") + connectedPartnerResourcesList is ArmResourceActionSync< + ElasticMonitorResource, + void, + ArmResponse, + Error = ResourceProviderDefaultErrorResponse + >; + + /** + * List all VM resources currently being monitored by the Elastic monitor resource, helping you manage observability. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @action("listVMHost") + @list + vMHostList is ArmResourceActionSync< + ElasticMonitorResource, + void, + ArmResponse, + Error = ResourceProviderDefaultErrorResponse + >; + + /** + * List detailed information about VM ingestion that will be monitored by the Elastic monitor resource, ensuring optimal observability and performance. + */ + @action("vmIngestionDetails") + details is ArmResourceActionSync< + ElasticMonitorResource, + void, + ArmResponse, + Error = ResourceProviderDefaultErrorResponse + >; + + /** + * Update the VM details that will be monitored by the Elastic monitor resource, ensuring optimal observability and performance. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @action("vmCollectionUpdate") + vMCollectionUpdate is ArmResourceActionSync< + ElasticMonitorResource, + VMCollectionUpdate, + OkResponse, + Error = ResourceProviderDefaultErrorResponse, + OptionalRequestBody = true + >; + + /** + * List all upgradable versions for your Elastic monitor resource, helping you plan and execute upgrades. + */ + @action("listUpgradableVersions") + upgradableVersionsDetails is ArmResourceActionSync< + ElasticMonitorResource, + void, + ArmResponse, + Error = ResourceProviderDefaultErrorResponse + >; + + /** + * Upgrade the Elastic monitor resource to a newer version, ensuring optimal observability and performance. + */ + upgrade is ArmResourceActionAsyncBase< + ElasticMonitorResource, + ElasticMonitorUpgrade, + ArmAcceptedLroResponse, + BaseParameters = Azure.ResourceManager.Foundations.DefaultBaseParameters, + Error = ResourceProviderDefaultErrorResponse, + OptionalRequestBody = true + >; + + /** + * List all traffic filters associated with your Elastic monitor resource, helping you manage network traffic control. + */ + #suppress "@azure-tools/typespec-azure-core/no-openapi" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @action("listAllTrafficFilters") + @operationId("AllTrafficFilters_list") + allTrafficFiltersList is ArmResourceActionSync< + ElasticMonitorResource, + void, + ArmResponse, + Error = ResourceProviderDefaultErrorResponse + >; + + /** + * List all traffic filters associated with your Elastic monitor resource, helping you manage network traffic control. + */ + #suppress "@azure-tools/typespec-azure-core/no-openapi" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @action("listAssociatedTrafficFilters") + @operationId("listAssociatedTrafficFilters_list") + listAssociatedTrafficFiltersList is ArmResourceActionSync< + ElasticMonitorResource, + void, + ArmResponse, + Error = ResourceProviderDefaultErrorResponse + >; + + /** + * Create and associate an IP filter with your Elastic monitor resource to control and manage network traffic. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + #suppress "@azure-tools/typespec-azure-core/no-openapi" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @action("createAndAssociateIPFilter") + @operationId("createAndAssociateIPFilter_Create") + createAndAssociateIPFilterCreate is ArmResourceActionAsync< + ElasticMonitorResource, + void, + { + @body body: void; + }, + LroHeaders = Azure.Core.Foundations.RetryAfterHeader & + ArmLroLocationHeader, + Parameters = { + /** + * List of ips + */ + @query("ips") + ips?: string; + + /** + * Name of the traffic filter + */ + @query("name") + name?: string; + }, + Error = ResourceProviderDefaultErrorResponse + >; + + /** + * Create and associate a PL filter with your Elastic monitor resource to control and manage network traffic. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + #suppress "@azure-tools/typespec-azure-core/no-openapi" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @action("createAndAssociatePLFilter") + @operationId("createAndAssociatePLFilter_Create") + createAndAssociatePLFilterCreate is ArmResourceActionAsync< + ElasticMonitorResource, + void, + { + @body body: void; + }, + LroHeaders = Azure.Core.Foundations.RetryAfterHeader & + ArmLroLocationHeader, + Parameters = { + /** + * Name of the traffic filter + */ + @query("name") + name?: string; + + /** + * Guid of the private endpoint + */ + @query("privateEndpointGuid") + privateEndpointGuid?: string; + + /** + * Name of the private endpoint + */ + @query("privateEndpointName") + privateEndpointName?: string; + }, + Error = ResourceProviderDefaultErrorResponse + >; + + /** + * Associate a traffic filter with your Elastic monitor resource to control and manage network traffic. + */ + @action("associateTrafficFilter") + associate is ArmResourceActionAsyncBase< + ElasticMonitorResource, + void, + ArmAcceptedLroResponse, + BaseParameters = Azure.ResourceManager.Foundations.DefaultBaseParameters, + Parameters = { + /** + * Ruleset Id of the filter + */ + @query("rulesetId") + rulesetId?: string; + }, + Error = ResourceProviderDefaultErrorResponse + >; + + /** + * Detach and delete an existing traffic filter from your Elastic monitor resource, removing its network traffic control capabilities. + */ + @action("detachAndDeleteTrafficFilter") + detachAndDeleteTrafficFilterDelete is ArmResourceActionSync< + ElasticMonitorResource, + void, + OkResponse, + Parameters = { + /** + * Ruleset Id of the filter + */ + @query("rulesetId") + rulesetId?: string; + }, + Error = ResourceProviderDefaultErrorResponse + >; + + /** + * Detach an existing traffic filter from your Elastic monitor resource, removing its network traffic control capabilities. + */ + @action("detachTrafficFilter") + detachTrafficFilterUpdate is ArmResourceActionAsyncBase< + ElasticMonitorResource, + void, + ArmAcceptedLroResponse, + BaseParameters = Azure.ResourceManager.Foundations.DefaultBaseParameters, + Parameters = { + /** + * Ruleset Id of the filter + */ + @query("rulesetId") + rulesetId?: string; + }, + Error = ResourceProviderDefaultErrorResponse + >; + + /** + * Delete an existing traffic filter associated with your Elastic monitor resource, removing its network traffic control capabilities. + */ + @action("deleteTrafficFilter") + trafficFiltersDelete is ArmResourceActionSync< + ElasticMonitorResource, + void, + OkResponse, + Parameters = { + /** + * Ruleset Id of the filter + */ + @query("rulesetId") + rulesetId?: string; + }, + Error = ResourceProviderDefaultErrorResponse + >; + + /** + * Resubscribe the Elasticsearch Organization. + */ + resubscribe is ArmResourceActionAsync< + ElasticMonitorResource, + ResubscribeProperties, + ElasticMonitorResource, + OptionalRequestBody = true + >; +} + +@@doc(ElasticMonitorResource.name, "Monitor resource name"); +@@doc(ElasticMonitorResource.properties, "Properties of the monitor resource."); +@@doc(ElasticMonitorResources.create::parameters.resource, + "Elastic monitor resource model" +); +@@doc(ElasticMonitorResources.update::parameters.properties, + "Elastic resource model update parameters." +); +@@doc(ElasticMonitorResources.createOrUpdate::parameters.body, + "Elastic External User Creation Parameters" +); +@@doc(ElasticMonitorResources.vMCollectionUpdate::parameters.body, + "VM resource Id" +); +@@doc(ElasticMonitorResources.upgrade::parameters.body, + "Elastic Monitor Upgrade Parameters" +); +@@doc(ElasticMonitorResources.resubscribe::parameters.body, + "Resubscribe Properties" +); diff --git a/specification/elastic/Elastic.Management/MonitoredSubscriptionProperties.tsp b/specification/elastic/Elastic.Management/MonitoredSubscriptionProperties.tsp new file mode 100644 index 000000000000..01ebde39b6ec --- /dev/null +++ b/specification/elastic/Elastic.Management/MonitoredSubscriptionProperties.tsp @@ -0,0 +1,100 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./ElasticMonitorResource.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Elastic; +/** + * The request to update subscriptions needed to be monitored by the Elastic monitor resource. + */ +@parentResource(ElasticMonitorResource) +model MonitoredSubscriptionProperties + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = MonitoredSubscriptionProperties, + KeyName = "configurationName", + SegmentName = "monitoredSubscriptions", + NamePattern = "^.*$" + >; +} + +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +interface MonitoredCreateOrUpdateResourceOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + }, + { + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + @segment("monitors") + @pattern("^.*$") + monitorName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + @segment("monitoredSubscriptions") + @pattern("^.*$") + configurationName: string, + } + > {} + +@armResourceOperations +interface MonitoredSubscriptions { + /** + * Get detailed information about all subscriptions currently being monitored by the Elastic monitor resource. + */ + get is ArmResourceRead; + + /** + * Add subscriptions to be monitored by the Elastic monitor resource, enabling observability and monitoring. + */ + createorUpdate is MonitoredCreateOrUpdateResourceOps.CreateOrUpdateAsync< + MonitoredSubscriptionProperties, + LroHeaders = ArmLroLocationHeader & + Azure.Core.Foundations.RetryAfterHeader, + OptionalRequestBody = true + >; + + /** + * Update subscriptions to be monitored by the Elastic monitor resource, ensuring optimal observability and performance. + */ + @patch(#{ implicitOptionality: false }) + update is MonitoredCreateOrUpdateResourceOps.CustomPatchAsync< + MonitoredSubscriptionProperties, + PatchModel = MonitoredSubscriptionProperties, + OptionalRequestBody = true + >; + + /** + * Delete subscriptions being monitored by the Elastic monitor resource, removing their observability and monitoring capabilities. + */ + delete is ArmResourceDeleteWithoutOkAsync; + + /** + * List all subscriptions currently being monitored by the Elastic monitor resource, helping you manage observability. + */ + list is ArmResourceListByParent< + MonitoredSubscriptionProperties, + Response = ArmResponse + >; +} + +@@doc(MonitoredSubscriptionProperties.name, + "The configuration name. Only 'default' value is supported." +); +@@doc(MonitoredSubscriptionProperties.properties, + "The request to update subscriptions needed to be monitored by the Elastic monitor resource." +); +@@doc(MonitoredSubscriptions.createorUpdate::parameters.resource, ""); +@@doc(MonitoredSubscriptions.update::parameters.properties, ""); diff --git a/specification/elastic/Elastic.Management/MonitoringTagRules.tsp b/specification/elastic/Elastic.Management/MonitoringTagRules.tsp new file mode 100644 index 000000000000..258ef304c83c --- /dev/null +++ b/specification/elastic/Elastic.Management/MonitoringTagRules.tsp @@ -0,0 +1,96 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./ElasticMonitorResource.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Elastic; +/** + * Capture logs and metrics of Azure resources based on ARM tags. + */ +@parentResource(ElasticMonitorResource) +model MonitoringTagRules + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = MonitoringTagRules, + KeyName = "ruleSetName", + SegmentName = "tagRules", + NamePattern = "^.*$" + >; +} +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +interface TagRulesCreateOrUpdateResourceOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + }, + { + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + @segment("monitors") + @pattern("^.*$") + monitorName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + @segment("tagRules") + @pattern("^.*$") + ruleSetName: string, + }, + ErrorType = ResourceProviderDefaultErrorResponse + > {} + +@armResourceOperations +interface TagRules { + /** + * Get detailed information about a tag rule set for a given Elastic monitor resource. + */ + get is ArmResourceRead< + MonitoringTagRules, + Error = ResourceProviderDefaultErrorResponse + >; + + /** + * Create or update a tag rule set for a given Elastic monitor resource, enabling fine-grained control over observability based on resource tags. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + createOrUpdate is TagRulesCreateOrUpdateResourceOps.CreateOrUpdateAsync< + MonitoringTagRules, + Response = ArmResourceUpdatedResponse, + OptionalRequestBody = true + >; + + /** + * Delete a tag rule set for a given Elastic monitor resource, removing fine-grained control over observability based on resource tags. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + delete is ArmResourceDeleteWithoutOkAsync< + MonitoringTagRules, + Response = ArmDeletedResponse | ArmDeleteAcceptedLroResponse | ArmDeletedNoContentResponse, + Error = ResourceProviderDefaultErrorResponse + >; + + /** + * List all tag rules for a given Elastic monitor resource, helping you manage fine-grained control over observability based on resource tags. + */ + list is ArmResourceListByParent< + MonitoringTagRules, + Response = ArmResponse, + Error = ResourceProviderDefaultErrorResponse + >; +} + +@@doc(MonitoringTagRules.name, "Tag Rule Set resource name"); +@@doc(MonitoringTagRules.properties, "Properties of the monitoring tag rules."); +@@doc(TagRules.createOrUpdate::parameters.resource, + "request body of MonitoringTagRules" +); diff --git a/specification/elastic/Elastic.Management/OpenAIIntegrationRPModel.tsp b/specification/elastic/Elastic.Management/OpenAIIntegrationRPModel.tsp new file mode 100644 index 000000000000..0eeba179903d --- /dev/null +++ b/specification/elastic/Elastic.Management/OpenAIIntegrationRPModel.tsp @@ -0,0 +1,106 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./ElasticMonitorResource.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Elastic; +/** + * Capture properties of Open AI resource Integration. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@parentResource(ElasticMonitorResource) +model OpenAIIntegrationRPModel + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = OpenAIIntegrationRPModel, + KeyName = "integrationName", + SegmentName = "openAIIntegrations", + NamePattern = "^[a-z][a-z0-9]*$" + >; +} + +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +interface OpenAiCreateOrUpdateResourceOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + }, + { + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + @segment("monitors") + @pattern("^.*$") + monitorName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + @segment("openAIIntegrations") + @pattern("^[a-z][a-z0-9]*$") + integrationName: string, + }, + ErrorType = ResourceProviderDefaultErrorResponse + > {} +#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@armResourceOperations +interface OpenAIIntegrationRPModels { + /** + * Get detailed information about OpenAI integration rules for a given Elastic monitor resource. + */ + get is ArmResourceRead< + OpenAIIntegrationRPModel, + Error = ResourceProviderDefaultErrorResponse + >; + + /** + * Create or update an OpenAI integration rule for a given Elastic monitor resource, enabling advanced AI-driven observability and monitoring. + */ + createOrUpdate is OpenAiCreateOrUpdateResourceOps.CreateOrUpdateAsync< + OpenAIIntegrationRPModel, + Response = ArmResourceUpdatedResponse | ArmResourceCreatedResponse< + OpenAIIntegrationRPModel, + LroHeaders = {} + >, + OptionalRequestBody = true + >; + + /** + * Delete an OpenAI integration rule for a given Elastic monitor resource, removing AI-driven observability and monitoring capabilities. + */ + delete is ArmResourceDeleteSync< + OpenAIIntegrationRPModel, + Error = ResourceProviderDefaultErrorResponse + >; + + /** + * List all OpenAI integration rules for a given Elastic monitor resource, helping you manage AI-driven observability and monitoring. + */ + list is ArmResourceListByParent< + OpenAIIntegrationRPModel, + Response = ArmResponse, + Error = ResourceProviderDefaultErrorResponse + >; + + /** + * Get the status of OpenAI integration for a given Elastic monitor resource, ensuring optimal observability and performance. + */ + getStatus is ArmResourceActionSync< + OpenAIIntegrationRPModel, + void, + ArmResponse, + Error = ResourceProviderDefaultErrorResponse + >; +} + +@@doc(OpenAIIntegrationRPModel.name, "OpenAI Integration name"); +@@doc(OpenAIIntegrationRPModel.properties, "Open AI Integration details."); +@@doc(OpenAIIntegrationRPModels.createOrUpdate::parameters.resource, ""); diff --git a/specification/elastic/Elastic.Management/back-compatible.tsp b/specification/elastic/Elastic.Management/back-compatible.tsp new file mode 100644 index 000000000000..024996d0c877 --- /dev/null +++ b/specification/elastic/Elastic.Management/back-compatible.tsp @@ -0,0 +1,143 @@ +import "@azure-tools/typespec-client-generator-core"; + +using Azure.ClientGenerator.Core; +using Microsoft.Elastic; + +@@clientLocation(ElasticMonitorResources.get, "Monitors", "!csharp"); +@@clientLocation(ElasticMonitorResources.create, "Monitors", "!csharp"); +@@clientName(ElasticMonitorResources.create::parameters.resource, "body"); +@@clientLocation(ElasticMonitorResources.update, "Monitors", "!csharp"); +@@clientName(ElasticMonitorResources.update::parameters.properties, "body"); +@@clientLocation(ElasticMonitorResources.delete, "Monitors", "!csharp"); +@@clientLocation(ElasticMonitorResources.listByResourceGroup, + "Monitors", + "!csharp" +); +@@clientLocation(ElasticMonitorResources.list, "Monitors", "!csharp"); +@@clientLocation(ElasticMonitorResources.monitoredResourcesList, + "MonitoredResources", + "!csharp" +); +@@clientName(ElasticMonitorResources.monitoredResourcesList, "List"); +@@clientLocation(ElasticMonitorResources.deploymentInfoList, + "DeploymentInfo", + "!csharp" +); +@@clientName(ElasticMonitorResources.deploymentInfoList, "List"); +@@clientLocation(ElasticMonitorResources.createOrUpdate, + "ExternalUser", + "!csharp" +); +@@clientLocation(ElasticMonitorResources.billingInfoGet, + "BillingInfo", + "!csharp" +); +@@clientName(ElasticMonitorResources.billingInfoGet, "Get"); +@@clientLocation(ElasticMonitorResources.connectedPartnerResourcesList, + "ConnectedPartnerResources", + "!csharp" +); +@@clientName(ElasticMonitorResources.connectedPartnerResourcesList, "List"); +@@clientLocation(ElasticMonitorResources.vMHostList, "VMHost", "!csharp"); +@@clientName(ElasticMonitorResources.vMHostList, "List"); +@@clientLocation(ElasticMonitorResources.details, "VMIngestion", "!csharp"); +@@clientLocation(ElasticMonitorResources.vMCollectionUpdate, + "VMCollection", + "!csharp" +); +@@clientName(ElasticMonitorResources.vMCollectionUpdate, "Update"); +@@clientLocation(ElasticMonitorResources.upgradableVersionsDetails, + "UpgradableVersions", + "!csharp" +); +@@clientName(ElasticMonitorResources.upgradableVersionsDetails, "Details"); +@@clientLocation(ElasticMonitorResources.upgrade, "Monitor", "!csharp"); +@@clientLocation(ElasticMonitorResources.allTrafficFiltersList, + "AllTrafficFilters", + "!csharp" +); +@@clientName(ElasticMonitorResources.allTrafficFiltersList, "list"); +@@clientLocation(ElasticMonitorResources.listAssociatedTrafficFiltersList, + "listAssociatedTrafficFilters", + "!csharp" +); +@@clientName(ElasticMonitorResources.listAssociatedTrafficFiltersList, "list"); +@@clientLocation(ElasticMonitorResources.createAndAssociateIPFilterCreate, + "createAndAssociateIPFilter", + "!csharp" +); +@@clientName(ElasticMonitorResources.createAndAssociateIPFilterCreate, + "Create" +); +@@clientLocation(ElasticMonitorResources.createAndAssociatePLFilterCreate, + "createAndAssociatePLFilter", + "!csharp" +); +@@clientName(ElasticMonitorResources.createAndAssociatePLFilterCreate, + "Create" +); +@@clientLocation(ElasticMonitorResources.associate, + "AssociateTrafficFilter", + "!csharp" +); +@@clientLocation(ElasticMonitorResources.detachAndDeleteTrafficFilterDelete, + "DetachAndDeleteTrafficFilter", + "!csharp" +); +@@clientName(ElasticMonitorResources.detachAndDeleteTrafficFilterDelete, + "Delete" +); +@@clientLocation(ElasticMonitorResources.detachTrafficFilterUpdate, + "DetachTrafficFilter", + "!csharp" +); +@@clientName(ElasticMonitorResources.detachTrafficFilterUpdate, "Update"); +@@clientLocation(ElasticMonitorResources.trafficFiltersDelete, + "TrafficFilters", + "!csharp" +); +@@clientName(ElasticMonitorResources.trafficFiltersDelete, "Delete"); +@@clientLocation(ElasticMonitorResources.resubscribe, + "Organizations", + "!csharp" +); + +@@clientName(MonitoredSubscriptions.createorUpdate::parameters.resource, + "body" +); +@@clientName(MonitoredSubscriptions.update::parameters.properties, "body"); + +@@clientLocation(OpenAIIntegrationRPModels.get, "OpenAI", "!csharp"); +@@clientLocation(OpenAIIntegrationRPModels.createOrUpdate, "OpenAI", "!csharp"); +@@clientName(OpenAIIntegrationRPModels.createOrUpdate::parameters.resource, + "body" +); +@@clientLocation(OpenAIIntegrationRPModels.delete, "OpenAI", "!csharp"); +@@clientLocation(OpenAIIntegrationRPModels.list, "OpenAI", "!csharp"); +@@clientLocation(OpenAIIntegrationRPModels.getStatus, "OpenAI", "!csharp"); + +@@clientName(TagRules.createOrUpdate::parameters.resource, "body"); + +@@clientLocation(ElasticVersionsOperationGroup.list, + "ElasticVersions", + "!csharp" +); + +@@clientLocation(OrganizationsOperationGroup.getApiKey, + "Organizations", + "!csharp" +); +@@clientLocation(OrganizationsOperationGroup.getElasticToAzureSubscriptionMapping, + "Organizations", + "!csharp" +); + +@@OpenAPI.extension(ElasticVersionsListResponse.value, + "x-ms-identifiers", + #["properties/version"] +); + +@@OpenAPI.extension(ConnectedPartnerResourcesListResponse.value, + "x-ms-identifiers", + #["properties/azureResourceId"] +); diff --git a/specification/elastic/Elastic.Management/client.tsp b/specification/elastic/Elastic.Management/client.tsp new file mode 100644 index 000000000000..068a8809e53f --- /dev/null +++ b/specification/elastic/Elastic.Management/client.tsp @@ -0,0 +1,254 @@ +import "@azure-tools/typespec-client-generator-core"; +import "./main.tsp"; + +using Azure.Core; +using Azure.ClientGenerator.Core; +using Microsoft.Elastic; + +// Client customizations for Java SDK to maintain backward compatibility + +// Fix case change in ExternalUserInfo.userName -> username +@@clientName(ExternalUserInfo.userName, "username", "java"); + +// Fix case changes in PlanDetails properties +@@clientName(PlanDetails.offerID, "offerId", "java"); +@@clientName(PlanDetails.planID, "planId", "java"); +@@clientName(PlanDetails.publisherID, "publisherId", "java"); +@@clientName(PlanDetails.termID, "termId", "java"); + +// Fix case changes for createAndAssociate operations (IP -> Ip) +@@clientLocation(ElasticMonitorResources.createAndAssociateIPFilterCreate, + "createAndAssociateIpFilters", + "java" +); + +@@scope(Operations.list, "!csharp"); + +@@clientName(MonitoringStatus, "ElasticMonitoringStatus", "csharp"); +@@clientName(MonitorProperties, "ElasticMonitorProperties", "csharp"); +@@clientName(CompanyInfo, "ElasticCompanyInfo", "csharp"); +@@clientName(PlanDetails, "ElasticPlanDetails", "csharp"); +@@clientName(ProvisioningState, "ElasticProvisioningState", "csharp"); +@@clientName(ElasticMonitorResource, "ElasticMonitor", "csharp"); +@@clientName(MonitoringTagRules, "ElasticTagRule", "csharp"); +@@clientName(MonitoringTagRulesProperties, + "ElasticTagRuleProperties", + "csharp" +); +@@clientName(ElasticVersionListProperties.version, + "AvailableVersion", + "csharp" +); +@@clientName(OpenAIIntegrationRPModel, "ElasticOpenAIIntegration", "csharp"); +@@clientName(OpenAIIntegrationProperties, + "ElasticOpenAIIntegrationProperties", + "csharp" +); +@@alternateType(OpenAIIntegrationProperties.openAIResourceId, + armResourceIdentifier, + "csharp" +); +@@clientName(BillingInfoResponse, "ElasticBillingInfoResult", "csharp"); +@@alternateType(ConnectedPartnerResourceProperties.azureResourceId, + armResourceIdentifier, + "csharp" +); +@@alternateType(ConnectedPartnerResourceProperties.location, + azureLocation, + "csharp" +); +@@alternateType(ConnectedPartnerResourceProperties.partnerDeploymentUri, + url, + "csharp" +); +@@clientName(ConnectedPartnerResourceProperties.type, + "ConnectedPartnerResourcePropertiesType", + "csharp" +); +@@clientName(ConnectedPartnerResourcesListFormat, + "ConnectedPartnerResourceInfo", + "csharp" +); +@@clientName(DeploymentInfoResponse, "ElasticDeploymentInfoResult", "csharp"); +@@clientName(ElasticOrganizationToAzureSubscriptionMappingResponse, + "ElasticOrganizationToAzureSubscriptionMappingResult", + "csharp" +); +@@clientName(ElasticOrganizationToAzureSubscriptionMappingResponseProperties, + "ElasticOrganizationToAzureSubscriptionMappingProperties", + "csharp" +); +@@clientName(ElasticProperties, "ElasticCloudProperties", "csharp"); +@@clientName(ElasticTrafficFilter.includeByDefault, + "DoesIncludeByDefault", + "csharp" +); +@@clientName(ElasticTrafficFilter.type, "FilterType", "csharp"); +@@clientName(ElasticTrafficFilterResponse, + "ElasticTrafficFilterListResult", + "csharp" +); +@@clientName(ElasticVersionListFormat, "ElasticVersion", "csharp"); +@@clientName(ElasticVersionListProperties, + "ElasticVersionProperties", + "csharp" +); +@@clientName(ExternalUserInfo, "ElasticExternalUserContent", "csharp"); +@@clientName(ExternalUserCreationResponse, + "ElasticExternalUserCreationResult", + "csharp" +); +@@clientName(ExternalUserCreationResponse.created, "IsCreated", "csharp"); +@@clientName(FilteringTag, "ElasticFilteringTag", "csharp"); +@@clientName(LiftrResourceCategories, + "ElasticLiftrResourceCategories", + "csharp" +); +@@clientName(LogRules, "ElasticLogRules", "csharp"); +@@clientName(LogRules.sendAadLogs, "ShouldAadLogsBeSent", "csharp"); +@@clientName(LogRules.sendSubscriptionLogs, + "ShouldSubscriptionLogsBeSent", + "csharp" +); +@@clientName(LogRules.sendActivityLogs, "ShouldActivityLogsBeSent", "csharp"); +@@clientName(MarketplaceSaaSInfo.subscribed, "IsSubscribed", "csharp"); +@@clientName(MonitoredResource, "MonitoredResourceInfo", "csharp"); +@@alternateType(MonitoredResource.id, armResourceIdentifier, "csharp"); +@@clientName(MonitorProperties.generateApiKey, "IsApiKeyGenerated", "csharp"); +@@clientName(OpenAIIntegrationStatusResponse, + "ElasticOpenAIIntegrationStatusResult", + "csharp" +); +@@clientName(OpenAIIntegrationStatusResponseProperties, + "ElasticOpenAIIntegrationStatusProperties", + "csharp" +); +@@clientName(OperationName, "VMCollectionUpdateOperationName", "csharp"); +@@clientName(ResourceSku, "ElasticSku", "csharp"); +@@clientName(SendingLogs, "SendingLogsStatus", "csharp"); +@@clientName(TagAction, "FilteringTagAction", "csharp"); +@@clientName(Type, "ElasticFilterType", "csharp"); +@@clientName(UpgradableVersionsList, "UpgradableVersionListResult", "csharp"); +@@clientName(UserApiKeyResponse, "ElasticUserApiKeyResult", "csharp"); +@@clientName(UserApiKeyResponseProperties, + "ElasticUserApiKeyProperties", + "csharp" +); +@@clientName(UserInfo, "ElasticUserInfo", "csharp"); +@@clientName(UserEmailId, "ElasticUserEmailId", "csharp"); +@@clientName(VMCollectionUpdate, "VmCollectionContent", "csharp"); +@@alternateType(VMCollectionUpdate.vmResourceId, + armResourceIdentifier, + "csharp" +); +@@clientName(VMIngestionDetailsResponse, "VmIngestionDetailsResult", "csharp"); +@@clientName(VMResources, "ElasticVMResourceInfo", "csharp"); +@@alternateType(VMResources.vmResourceId, armResourceIdentifier, "csharp"); +@@clientName(ConfigurationType, + "ElasticsearchProjectConfigurationType", + "csharp" +); +@@clientName(HostingType, "MonitorResourceHostingType", "csharp"); +@@alternateType(MarketplaceSaaSInfoMarketplaceSubscription.id, + armResourceIdentifier, + "csharp" +); +@@clientName(Operation, "ResourcePatchOperation", "csharp"); +@@alternateType(MonitoredSubscription.subscriptionId, + armResourceIdentifier, + "csharp" +); +@@clientName(ProjectDetails, "MonitorResourceProjectDetails", "csharp"); +@@clientName(ProjectType, "MonitorResourceProjectType", "csharp"); +@@clientName(Status, "MonitoringStatus", "csharp"); +@@alternateType(ResubscribeProperties.subscriptionId, + armResourceIdentifier, + "csharp" +); +@@clientName(SubscriptionList, "MonitoredSubscriptionList", "csharp"); +@@alternateType(ElasticCloudDeployment.elasticsearchServiceUrl, url, "csharp"); +@@alternateType(ElasticCloudDeployment.kibanaServiceUrl, url, "csharp"); +@@alternateType(ElasticCloudDeployment.kibanaSsoUrl, url, "csharp"); +@@alternateType(ElasticCloudUser.elasticCloudSsoDefaultUrl, url, "csharp"); +@@alternateType(DeploymentInfoResponse.deploymentUrl, url, "csharp"); +@@alternateType(PartnerBillingEntity.partnerEntityUri, url, "csharp"); + +@@clientName(ElasticMonitorResources.billingInfoGet, + "GetBillingInfo", + "csharp" +); +@@clientName(ElasticMonitorResources.deploymentInfoList, + "GetDeploymentInfo", + "csharp" +); +@@clientName(ElasticMonitorResources.details, + "GetVmIngestionDetails", + "csharp" +); +@@clientName(ElasticMonitorResources.vMCollectionUpdate, + "UpdateVmCollection", + "csharp" +); +@@clientName(ElasticMonitorResources.upgradableVersionsDetails, + "GetUpgradableVersionDetails", + "csharp" +); +@@clientName(ElasticMonitorResources.allTrafficFiltersList, + "GetAllTrafficFilters", + "csharp" +); +@@clientName(ElasticMonitorResources.listAssociatedTrafficFiltersList, + "GetAssociatedTrafficFilters", + "csharp" +); +@@clientName(ElasticMonitorResources.createAndAssociateIPFilterCreate, + "CreateAndAssociateIPFilter", + "csharp" +); +@@clientName(ElasticMonitorResources.createAndAssociatePLFilterCreate, + "CreateAndAssociatePrivateLinkFilter", + "csharp" +); +@@clientName(ElasticMonitorResources.associate, + "AssociateTrafficFilter", + "csharp" +); +@@clientName(ElasticMonitorResources.detachAndDeleteTrafficFilterDelete, + "DetachAndDeleteTrafficFilter", + "csharp" +); +@@clientName(ElasticMonitorResources.detachTrafficFilterUpdate, + "DetachTrafficFilter", + "csharp" +); +@@clientName(ElasticMonitorResources.trafficFiltersDelete, + "DeleteTrafficFilter", + "csharp" +); +@@clientName(ElasticMonitorResources.connectedPartnerResourcesList, + "GetConnectedPartnerResources", + "csharp" +); +@@clientName(ElasticMonitorResources.vMHostList, "GetVMHosts", "csharp"); +@@clientName(ElasticMonitorResources.createOrUpdate, + "CreateOrUpdateExternalUser", + "csharp" +); +@@clientName(ElasticMonitorResources.monitoredResourcesList, + "GetMonitoredResources", + "csharp" +); +@@clientName(ElasticMonitorResources.resubscribe, + "ResubscribeOrganization", + "csharp" +); +@@clientName(ElasticMonitorResources.upgrade, "UpgradeMonitor", "csharp"); +@@clientName(OrganizationsOperationGroup.getApiKey, "GetApiKey", "csharp"); +@@clientName(OrganizationsOperationGroup.getElasticToAzureSubscriptionMapping, + "GetElasticToAzureSubscriptionMapping", + "csharp" +); +@@clientName(ElasticVersionsOperationGroup.list, + "GetElasticVersions", + "csharp" +); diff --git a/specification/elastic/Elastic.Management/examples/2025-06-01/AllTrafficFilters_list.json b/specification/elastic/Elastic.Management/examples/2025-06-01/AllTrafficFilters_list.json new file mode 100644 index 000000000000..183be23072c4 --- /dev/null +++ b/specification/elastic/Elastic.Management/examples/2025-06-01/AllTrafficFilters_list.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "api-version": "2025-06-01", + "monitorName": "myMonitor", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "rulesets": [ + { + "name": "IPFromApi", + "type": "ip", + "description": "created from azure", + "id": "31d91b5afb6f4c2eaaf104c97b1991dd", + "includeByDefault": false, + "region": "azure-eastus", + "rules": [ + { + "description": "Allow inbound traffic from IP address 192.168.131.0", + "id": "f0297dad72af4a5e964cddf817f35e65", + "source": "192.168.131.0" + }, + { + "description": "Allow inbound traffic from IP address block 192.168.132.6/22", + "id": "f9c00169f0e54931ae72aabde326b589", + "source": "192.168.132.6/22" + } + ] + } + ] + } + } + }, + "operationId": "AllTrafficFilters_list", + "title": "AllTrafficFilters_list" +} diff --git a/specification/elastic/Elastic.Management/examples/2025-06-01/AssociateTrafficFilter_Update.json b/specification/elastic/Elastic.Management/examples/2025-06-01/AssociateTrafficFilter_Update.json new file mode 100644 index 000000000000..7faa0ff521f0 --- /dev/null +++ b/specification/elastic/Elastic.Management/examples/2025-06-01/AssociateTrafficFilter_Update.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "api-version": "2025-06-01", + "monitorName": "myMonitor", + "resourceGroupName": "myResourceGroup", + "rulesetId": "31d91b5afb6f4c2eaaf104c97b1991dd", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/subid/resourceGroups/resourceGroup/providers/Microsoft.Elastic/monitor/monitorname/associateTrafficFilter?api-version=2025-06-01" + } + } + }, + "operationId": "AssociateTrafficFilter_Associate", + "title": "AssociateTrafficFilter_Associate" +} diff --git a/specification/elastic/Elastic.Management/examples/2025-06-01/AssociatedFiltersForDeployment_list.json b/specification/elastic/Elastic.Management/examples/2025-06-01/AssociatedFiltersForDeployment_list.json new file mode 100644 index 000000000000..e5e14fc810fd --- /dev/null +++ b/specification/elastic/Elastic.Management/examples/2025-06-01/AssociatedFiltersForDeployment_list.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "api-version": "2025-06-01", + "monitorName": "myMonitor", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "rulesets": [ + { + "name": "IPFromApi", + "type": "ip", + "description": "created from azure", + "id": "31d91b5afb6f4c2eaaf104c97b1991dd", + "includeByDefault": false, + "region": "azure-eastus", + "rules": [ + { + "description": "Allow inbound traffic from IP address 192.168.131.0", + "id": "f0297dad72af4a5e964cddf817f35e65", + "source": "192.168.131.0" + }, + { + "description": "Allow inbound traffic from IP address block 192.168.132.6/22", + "id": "f9c00169f0e54931ae72aabde326b589", + "source": "192.168.132.6/22" + } + ] + } + ] + } + } + }, + "operationId": "listAssociatedTrafficFilters_list", + "title": "listAssociatedTrafficFilters_list" +} diff --git a/specification/elastic/Elastic.Management/examples/2025-06-01/BillingInfo_Get.json b/specification/elastic/Elastic.Management/examples/2025-06-01/BillingInfo_Get.json new file mode 100644 index 000000000000..e419b045d8fb --- /dev/null +++ b/specification/elastic/Elastic.Management/examples/2025-06-01/BillingInfo_Get.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "api-version": "2025-06-01", + "monitorName": "myMonitor", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "marketplaceSaasInfo": { + "billedAzureSubscriptionId": "00000000-0000-0000-0000-000000000000", + "marketplaceName": "MP_RESOURCE", + "marketplaceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.SaaS/resources/AzElastic_b1190c8f", + "marketplaceStatus": "Status", + "marketplaceSubscription": { + "id": "12345678-1234-1234-1234-123456789012" + }, + "subscribed": true + }, + "partnerBillingEntity": { + "name": "elasticOrganizationName", + "id": "1234567890", + "partnerEntityUri": "https://example.com" + } + } + } + }, + "operationId": "BillingInfo_Get", + "title": "BillingInfo_Get" +} diff --git a/specification/elastic/Elastic.Management/examples/2025-06-01/ConnectedPartnerResources_List.json b/specification/elastic/Elastic.Management/examples/2025-06-01/ConnectedPartnerResources_List.json new file mode 100644 index 000000000000..7ffaaa4a494a --- /dev/null +++ b/specification/elastic/Elastic.Management/examples/2025-06-01/ConnectedPartnerResources_List.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "api-version": "2025-06-01", + "monitorName": "myMonitor", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "type": "hostingType", + "azureResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/monitors/myMonitor", + "location": "West US 2", + "partnerDeploymentName": "deploymentname", + "partnerDeploymentUri": "https://examplessourl.com" + } + } + ] + } + } + }, + "operationId": "ConnectedPartnerResources_List", + "title": "ConnectedPartnerResources_List" +} diff --git a/specification/elastic/Elastic.Management/examples/2025-06-01/DeploymentInfo_List.json b/specification/elastic/Elastic.Management/examples/2025-06-01/DeploymentInfo_List.json new file mode 100644 index 000000000000..cc8a04d502e0 --- /dev/null +++ b/specification/elastic/Elastic.Management/examples/2025-06-01/DeploymentInfo_List.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "api-version": "2025-06-01", + "monitorName": "myMonitor", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "deploymentUrl": "https://endpoint.eastus.kb.azure.elastic-cloud.com:9243", + "diskCapacity": "245760", + "elasticsearchEndPoint": "alias.es.eastus2.staging.azure.foundit.no", + "marketplaceSaasInfo": { + "marketplaceName": "MP_RESOURCE", + "marketplaceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.SaaS/resources/AzElastic_b1190c8f", + "marketplaceStatus": "Status", + "marketplaceSubscription": { + "id": "12345678-1234-1234-1234-123456789012" + } + }, + "memoryCapacity": "1024", + "status": "Healthy", + "version": "7.9.3" + } + } + }, + "operationId": "DeploymentInfo_List", + "title": "DeploymentInfo_List" +} diff --git a/specification/elastic/Elastic.Management/examples/2025-06-01/DetachAndDeleteTrafficFilter_Delete.json b/specification/elastic/Elastic.Management/examples/2025-06-01/DetachAndDeleteTrafficFilter_Delete.json new file mode 100644 index 000000000000..e06fd9847b09 --- /dev/null +++ b/specification/elastic/Elastic.Management/examples/2025-06-01/DetachAndDeleteTrafficFilter_Delete.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "api-version": "2025-06-01", + "monitorName": "myMonitor", + "resourceGroupName": "myResourceGroup", + "rulesetId": "31d91b5afb6f4c2eaaf104c97b1991dd", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {} + }, + "operationId": "DetachAndDeleteTrafficFilter_Delete", + "title": "DetachAndDeleteTrafficFilter_Delete" +} diff --git a/specification/elastic/Elastic.Management/examples/2025-06-01/DetachTrafficFilters_Update.json b/specification/elastic/Elastic.Management/examples/2025-06-01/DetachTrafficFilters_Update.json new file mode 100644 index 000000000000..4210cdba4a8f --- /dev/null +++ b/specification/elastic/Elastic.Management/examples/2025-06-01/DetachTrafficFilters_Update.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "api-version": "2025-06-01", + "monitorName": "myMonitor", + "resourceGroupName": "myResourceGroup", + "rulesetId": "31d91b5afb6f4c2eaaf104c97b1991dd", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/subid/resourceGroups/resourceGroup/providers/Microsoft.Elastic/monitor/monitorname/detachTrafficFilter?api-version=2025-06-01" + } + } + }, + "operationId": "DetachTrafficFilter_Update", + "title": "DetachTrafficFilter_Update" +} diff --git a/specification/elastic/Elastic.Management/examples/2025-06-01/ElasticVersions_List.json b/specification/elastic/Elastic.Management/examples/2025-06-01/ElasticVersions_List.json new file mode 100644 index 000000000000..9c46715425d2 --- /dev/null +++ b/specification/elastic/Elastic.Management/examples/2025-06-01/ElasticVersions_List.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "api-version": "2025-06-01", + "region": "myregion", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "version": "version1" + } + } + ] + } + } + }, + "operationId": "ElasticVersions_List", + "title": "ElasticVersions_List" +} diff --git a/specification/elastic/Elastic.Management/examples/2025-06-01/ExternalUserInfo.json b/specification/elastic/Elastic.Management/examples/2025-06-01/ExternalUserInfo.json new file mode 100644 index 000000000000..2df1046c256d --- /dev/null +++ b/specification/elastic/Elastic.Management/examples/2025-06-01/ExternalUserInfo.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "api-version": "2025-06-01", + "monitorName": "myMonitor", + "requestBody": { + "EmailId": "myemail@outlook.com", + "FullName": "fullname", + "Password": "Password", + "Roles": [ + "admin", + "other_role1" + ], + "UserName": "newuser" + }, + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "created": true + } + } + }, + "operationId": "ExternalUser_CreateOrUpdate", + "title": "ExternalUser_CreateOrUpdate" +} diff --git a/specification/elastic/Elastic.Management/examples/2025-06-01/IPTrafficFilter_Create.json b/specification/elastic/Elastic.Management/examples/2025-06-01/IPTrafficFilter_Create.json new file mode 100644 index 000000000000..010bbcbf70f8 --- /dev/null +++ b/specification/elastic/Elastic.Management/examples/2025-06-01/IPTrafficFilter_Create.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-06-01", + "ips": "192.168.131.0, 192.168.132.6/22", + "monitorName": "myMonitor", + "resourceGroupName": "myResourceGroup", + "rulesetId": "31d91b5afb6f4c2eaaf104c97b1991dd", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/subid/resourceGroups/resourceGroup/providers/Microsoft.Elastic/monitor/monitorname/createAndAssociateIPFilter?api-version=2025-06-01" + } + } + }, + "operationId": "createAndAssociateIPFilter_Create", + "title": "createAndAssociateIPFilter_Create" +} diff --git a/specification/elastic/Elastic.Management/examples/2025-06-01/Monitor_Upgrade.json b/specification/elastic/Elastic.Management/examples/2025-06-01/Monitor_Upgrade.json new file mode 100644 index 000000000000..30466c54f6f2 --- /dev/null +++ b/specification/elastic/Elastic.Management/examples/2025-06-01/Monitor_Upgrade.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-06-01", + "monitorName": "myMonitor", + "requestBody": { + "version": "7.15.1" + }, + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/subid/resourceGroups/resourceGroup/providers/Microsoft.Elastic/monitor/monitorname/upgrade?api-version=2025-06-01" + } + } + }, + "operationId": "Monitor_Upgrade", + "title": "Monitor_Upgrade" +} diff --git a/specification/elastic/Elastic.Management/examples/2025-06-01/MonitoredResources_List.json b/specification/elastic/Elastic.Management/examples/2025-06-01/MonitoredResources_List.json new file mode 100644 index 000000000000..d0e8930540cc --- /dev/null +++ b/specification/elastic/Elastic.Management/examples/2025-06-01/MonitoredResources_List.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "api-version": "2025-06-01", + "monitorName": "myMonitor", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVault", + "reasonForLogsStatus": "CapturedByRules", + "sendingLogs": "True" + } + ] + } + } + }, + "operationId": "MonitoredResources_List", + "title": "MonitoredResources_List" +} diff --git a/specification/elastic/Elastic.Management/examples/2025-06-01/MonitoredSubscriptions_CreateorUpdate.json b/specification/elastic/Elastic.Management/examples/2025-06-01/MonitoredSubscriptions_CreateorUpdate.json new file mode 100644 index 000000000000..7a43f22290e1 --- /dev/null +++ b/specification/elastic/Elastic.Management/examples/2025-06-01/MonitoredSubscriptions_CreateorUpdate.json @@ -0,0 +1,154 @@ +{ + "parameters": { + "api-version": "2025-06-01", + "configurationName": "default", + "monitorName": "myMonitor", + "requestBody": { + "properties": { + "monitoredSubscriptionList": [ + { + "status": "Active", + "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000000", + "tagRules": { + "logRules": { + "filteringTags": [ + { + "name": "saokgpjvdlorciqbjmjxazpee", + "action": "Include", + "value": "sarxrqsxouhdjwsrqqicbeirdb" + } + ], + "sendAadLogs": true, + "sendActivityLogs": true, + "sendSubscriptionLogs": true + } + } + }, + { + "status": "Failed", + "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000001", + "tagRules": { + "logRules": { + "filteringTags": [ + { + "name": "saokgpjvdlorciqbjmjxazpee", + "action": "Include", + "value": "sarxrqsxouhdjwsrqqicbeirdb" + } + ], + "sendAadLogs": true, + "sendActivityLogs": true, + "sendSubscriptionLogs": true + } + } + } + ], + "operation": "AddBegin" + } + }, + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Elastic/monitors/monitoredSubscriptions", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Elastic/monitors/myMonitor/monitoredSubscriptions/default", + "properties": { + "monitoredSubscriptionList": [ + { + "status": "Active", + "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000000", + "tagRules": { + "logRules": { + "filteringTags": [ + { + "name": "saokgpjvdlorciqbjmjxazpee", + "action": "Include", + "value": "sarxrqsxouhdjwsrqqicbeirdb" + } + ], + "sendAadLogs": true, + "sendActivityLogs": true, + "sendSubscriptionLogs": true + }, + "provisioningState": "Accepted" + } + }, + { + "status": "Failed", + "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000001", + "tagRules": { + "logRules": { + "filteringTags": [ + { + "name": "saokgpjvdlorciqbjmjxazpee", + "action": "Include", + "value": "sarxrqsxouhdjwsrqqicbeirdb" + } + ], + "sendAadLogs": true, + "sendActivityLogs": true, + "sendSubscriptionLogs": true + }, + "provisioningState": "Accepted" + } + } + ] + } + } + }, + "201": { + "body": { + "name": "default", + "type": "Microsoft.Elastic/monitors/monitoredSubscriptions", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Elastic/monitors/myMonitor/monitoredSubscriptions/default", + "properties": { + "monitoredSubscriptionList": [ + { + "status": "Active", + "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000000", + "tagRules": { + "logRules": { + "filteringTags": [ + { + "name": "saokgpjvdlorciqbjmjxazpee", + "action": "Include", + "value": "sarxrqsxouhdjwsrqqicbeirdb" + } + ], + "sendAadLogs": true, + "sendActivityLogs": true, + "sendSubscriptionLogs": true + }, + "provisioningState": "Accepted" + } + }, + { + "status": "Failed", + "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000001", + "tagRules": { + "logRules": { + "filteringTags": [ + { + "name": "saokgpjvdlorciqbjmjxazpee", + "action": "Include", + "value": "sarxrqsxouhdjwsrqqicbeirdb" + } + ], + "sendAadLogs": true, + "sendActivityLogs": true, + "sendSubscriptionLogs": true + }, + "provisioningState": "Accepted" + } + } + ] + } + } + } + }, + "operationId": "MonitoredSubscriptions_CreateorUpdate", + "title": "Monitors_AddMonitoredSubscriptions" +} diff --git a/specification/elastic/Elastic.Management/examples/2025-06-01/MonitoredSubscriptions_Delete.json b/specification/elastic/Elastic.Management/examples/2025-06-01/MonitoredSubscriptions_Delete.json new file mode 100644 index 000000000000..e2bb0c3f430c --- /dev/null +++ b/specification/elastic/Elastic.Management/examples/2025-06-01/MonitoredSubscriptions_Delete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2025-06-01", + "configurationName": "default", + "monitorName": "myMonitor", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/subid/resourceGroups/peerTest/providers/Microsoft.Elastic/monitors/test?api-version=2025-06-01" + } + }, + "204": {} + }, + "operationId": "MonitoredSubscriptions_Delete", + "title": "Monitors_DeleteMonitoredSubscriptions" +} diff --git a/specification/elastic/Elastic.Management/examples/2025-06-01/MonitoredSubscriptions_Get.json b/specification/elastic/Elastic.Management/examples/2025-06-01/MonitoredSubscriptions_Get.json new file mode 100644 index 000000000000..b1872b0d5160 --- /dev/null +++ b/specification/elastic/Elastic.Management/examples/2025-06-01/MonitoredSubscriptions_Get.json @@ -0,0 +1,62 @@ +{ + "parameters": { + "api-version": "2025-06-01", + "configurationName": "default", + "monitorName": "myMonitor", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Elastic/monitors/monitoredSubscriptions", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Elastic/monitors/myMonitor/monitoredSubscriptions/default", + "properties": { + "monitoredSubscriptionList": [ + { + "status": "Active", + "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000000", + "tagRules": { + "logRules": { + "filteringTags": [ + { + "name": "saokgpjvdlorciqbjmjxazpee", + "action": "Include", + "value": "sarxrqsxouhdjwsrqqicbeirdb" + } + ], + "sendAadLogs": true, + "sendActivityLogs": true, + "sendSubscriptionLogs": true + }, + "provisioningState": "Accepted" + } + }, + { + "status": "Failed", + "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000001", + "tagRules": { + "logRules": { + "filteringTags": [ + { + "name": "saokgpjvdlorciqbjmjxazpee", + "action": "Include", + "value": "sarxrqsxouhdjwsrqqicbeirdb" + } + ], + "sendAadLogs": true, + "sendActivityLogs": true, + "sendSubscriptionLogs": true + }, + "provisioningState": "Accepted" + } + } + ] + } + } + } + }, + "operationId": "MonitoredSubscriptions_Get", + "title": "Monitors_GetMonitoredSubscriptions" +} diff --git a/specification/elastic/Elastic.Management/examples/2025-06-01/MonitoredSubscriptions_List.json b/specification/elastic/Elastic.Management/examples/2025-06-01/MonitoredSubscriptions_List.json new file mode 100644 index 000000000000..5a66ef2afcbc --- /dev/null +++ b/specification/elastic/Elastic.Management/examples/2025-06-01/MonitoredSubscriptions_List.json @@ -0,0 +1,66 @@ +{ + "parameters": { + "api-version": "2025-06-01", + "monitorName": "myMonitor", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "nextLink": null, + "value": [ + { + "name": "default", + "type": "Microsoft.Elastic/monitors/monitoredSubscriptions", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Elastic/monitors/myMonitor/monitoredSubscriptions/default", + "properties": { + "monitoredSubscriptionList": [ + { + "status": "Active", + "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000000", + "tagRules": { + "logRules": { + "filteringTags": [ + { + "name": "saokgpjvdlorciqbjmjxazpee", + "action": "Include", + "value": "sarxrqsxouhdjwsrqqicbeirdb" + } + ], + "sendAadLogs": true, + "sendActivityLogs": true, + "sendSubscriptionLogs": true + }, + "provisioningState": "Accepted" + } + }, + { + "status": "Failed", + "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000001", + "tagRules": { + "logRules": { + "filteringTags": [ + { + "name": "saokgpjvdlorciqbjmjxazpee", + "action": "Include", + "value": "sarxrqsxouhdjwsrqqicbeirdb" + } + ], + "sendAadLogs": true, + "sendActivityLogs": true, + "sendSubscriptionLogs": true + }, + "provisioningState": "Accepted" + } + } + ] + } + } + ] + } + } + }, + "operationId": "MonitoredSubscriptions_List", + "title": "Monitors_GetMonitoredSubscriptions" +} diff --git a/specification/elastic/Elastic.Management/examples/2025-06-01/MonitoredSubscriptions_Update.json b/specification/elastic/Elastic.Management/examples/2025-06-01/MonitoredSubscriptions_Update.json new file mode 100644 index 000000000000..80317ff7c103 --- /dev/null +++ b/specification/elastic/Elastic.Management/examples/2025-06-01/MonitoredSubscriptions_Update.json @@ -0,0 +1,110 @@ +{ + "parameters": { + "api-version": "2025-06-01", + "configurationName": "default", + "monitorName": "myMonitor", + "requestBody": { + "properties": { + "monitoredSubscriptionList": [ + { + "status": "Active", + "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000000", + "tagRules": { + "logRules": { + "filteringTags": [ + { + "name": "saokgpjvdlorciqbjmjxazpee", + "action": "Include", + "value": "sarxrqsxouhdjwsrqqicbeirdb" + } + ], + "sendAadLogs": true, + "sendActivityLogs": true, + "sendSubscriptionLogs": true + } + } + }, + { + "status": "Failed", + "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000001", + "tagRules": { + "logRules": { + "filteringTags": [ + { + "name": "saokgpjvdlorciqbjmjxazpee", + "action": "Include", + "value": "sarxrqsxouhdjwsrqqicbeirdb" + } + ], + "sendAadLogs": true, + "sendActivityLogs": true, + "sendSubscriptionLogs": true + } + } + } + ], + "operation": "AddComplete" + } + }, + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Elastic/monitors/monitoredSubscriptions", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Elastic/monitors/myMonitor/monitoredSubscriptions/default", + "properties": { + "monitoredSubscriptionList": [ + { + "status": "Active", + "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000000", + "tagRules": { + "logRules": { + "filteringTags": [ + { + "name": "saokgpjvdlorciqbjmjxazpee", + "action": "Include", + "value": "sarxrqsxouhdjwsrqqicbeirdb" + } + ], + "sendAadLogs": true, + "sendActivityLogs": true, + "sendSubscriptionLogs": true + }, + "provisioningState": "Accepted" + } + }, + { + "status": "Failed", + "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000001", + "tagRules": { + "logRules": { + "filteringTags": [ + { + "name": "saokgpjvdlorciqbjmjxazpee", + "action": "Include", + "value": "sarxrqsxouhdjwsrqqicbeirdb" + } + ], + "sendAadLogs": true, + "sendActivityLogs": true, + "sendSubscriptionLogs": true + }, + "provisioningState": "Accepted" + } + } + ] + } + } + }, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/subid/resourceGroups/peerTest/providers/Microsoft.Elastic/monitors/test?api-version=2025-06-01" + } + } + }, + "operationId": "MonitoredSubscriptions_Update", + "title": "Monitors_UpdateMonitoredSubscriptions" +} diff --git a/specification/elastic/Elastic.Management/examples/2025-06-01/Monitors_Create.json b/specification/elastic/Elastic.Management/examples/2025-06-01/Monitors_Create.json new file mode 100644 index 000000000000..3fc14d4765ed --- /dev/null +++ b/specification/elastic/Elastic.Management/examples/2025-06-01/Monitors_Create.json @@ -0,0 +1,124 @@ +{ + "parameters": { + "api-version": "2025-06-01", + "monitorName": "myMonitor", + "requestBody": { + "name": "myMonitor", + "kind": "elastic-hosted-deployment", + "location": "West US 2", + "properties": { + "hostingType": "Hosted", + "planDetails": { + "offerID": "00000", + "planID": "xxxyyy", + "planName": "myPlan", + "publisherID": "1234", + "termID": "free_Monthly" + }, + "projectDetails": { + "configurationType": "NotApplicable", + "projectType": "NotApplicable" + }, + "saaSAzureSubscriptionStatus": "Subscribed", + "sourceCampaignId": "0000", + "sourceCampaignName": "Elastic", + "subscriptionState": "Suspended", + "userInfo": { + "companyInfo": { + "business": "Technology", + "country": "US", + "domain": "microsoft.com", + "employeeNumber": "10000", + "state": "WA" + }, + "companyName": "Microsoft", + "emailAddress": "alice@microsoft.com", + "firstName": "Alice", + "lastName": "Bob" + } + }, + "sku": { + "name": "free_Monthly" + }, + "tags": { + "Environment": "Dev" + } + }, + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myMonitor", + "type": "Microsoft.Elastic/monitors", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Elastic/monitors/myMonitor", + "kind": "elastic-hosted-deployment", + "location": "West US 2", + "properties": { + "elasticProperties": { + "elasticCloudDeployment": { + "name": "deploymentname", + "azureSubscriptionId": "00000000-0000-0000-0000-000000000000", + "deploymentId": "deployment_id", + "elasticsearchRegion": "azure-westus2", + "elasticsearchServiceUrl": "https://elasticsearchendpoint.com", + "kibanaServiceUrl": "https://kibanaserviceurl.com", + "kibanaSsoUrl": "https://kibanssourl.com" + }, + "elasticCloudUser": { + "elasticCloudSsoDefaultUrl": "https://examplessourl.com", + "emailAddress": "alice@microsoft.com", + "id": "myid123" + } + }, + "provisioningState": "Succeeded" + }, + "sku": { + "name": "free_Monthly" + }, + "tags": { + "Environment": "Dev" + } + } + }, + "201": { + "body": { + "name": "myMonitor", + "type": "Microsoft.Elastic/monitors", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Elastic/monitors/myMonitor", + "location": "West US 2", + "properties": { + "elasticProperties": { + "elasticCloudDeployment": { + "name": "deploymentname", + "azureSubscriptionId": "00000000-0000-0000-0000-000000000000", + "deploymentId": "deployment_id", + "elasticsearchRegion": "azure-westus2", + "elasticsearchServiceUrl": "https://elasticsearchendpoint.com", + "kibanaServiceUrl": "https://kibanaserviceurl.com", + "kibanaSsoUrl": "https://kibanssourl.com" + }, + "elasticCloudUser": { + "elasticCloudSsoDefaultUrl": "https://examplessourl.com", + "emailAddress": "alice@microsoft.com", + "id": "myid123" + } + }, + "liftrResourceCategory": "MonitorLogs", + "liftrResourcePreference": 0, + "monitoringStatus": "Enabled", + "provisioningState": "Accepted" + }, + "sku": { + "name": "free_Monthly" + }, + "tags": { + "Environment": "Dev" + } + } + } + }, + "operationId": "Monitors_Create", + "title": "Monitors_Create" +} diff --git a/specification/elastic/Elastic.Management/examples/2025-06-01/Monitors_Delete.json b/specification/elastic/Elastic.Management/examples/2025-06-01/Monitors_Delete.json new file mode 100644 index 000000000000..ec179f9ee28d --- /dev/null +++ b/specification/elastic/Elastic.Management/examples/2025-06-01/Monitors_Delete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2025-06-01", + "monitorName": "myMonitor", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/subid/resourceGroups/resourceGroup/providers/Microsoft.Elastic/monitor/monitorname?api-version=2022-07-01-preview" + } + }, + "204": {} + }, + "operationId": "Monitors_Delete", + "title": "Monitors_Delete" +} diff --git a/specification/elastic/Elastic.Management/examples/2025-06-01/Monitors_Get.json b/specification/elastic/Elastic.Management/examples/2025-06-01/Monitors_Get.json new file mode 100644 index 000000000000..17b34c61cfb1 --- /dev/null +++ b/specification/elastic/Elastic.Management/examples/2025-06-01/Monitors_Get.json @@ -0,0 +1,51 @@ +{ + "parameters": { + "api-version": "2025-06-01", + "monitorName": "myMonitor", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myMonitor", + "type": "Microsoft.Elastic/monitors", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Elastic/monitors/myMonitor", + "kind": "elastic-hosted-deployment", + "location": "West US 2", + "properties": { + "elasticProperties": { + "elasticCloudDeployment": { + "name": "deploymentname", + "azureSubscriptionId": "00000000-0000-0000-0000-000000000000", + "deploymentId": "deployment_id", + "elasticsearchRegion": "azure-westus2", + "elasticsearchServiceUrl": "https://elasticsearchendpoint.com", + "kibanaServiceUrl": "https://kibanaserviceurl.com", + "kibanaSsoUrl": "https://kibanssourl.com" + }, + "elasticCloudUser": { + "elasticCloudSsoDefaultUrl": "https://examplessourl.com", + "emailAddress": "alice@microsoft.com", + "id": "myid123" + } + }, + "hostingType": "Hosted", + "liftrResourceCategory": "MonitorLogs", + "liftrResourcePreference": 0, + "monitoringStatus": "Enabled", + "projectDetails": { + "configurationType": "NotApplicable", + "projectType": "NotApplicable" + }, + "provisioningState": "Succeeded" + }, + "tags": { + "Environment": "Dev" + } + } + } + }, + "operationId": "Monitors_Get", + "title": "Monitors_Get" +} diff --git a/specification/elastic/Elastic.Management/examples/2025-06-01/Monitors_List.json b/specification/elastic/Elastic.Management/examples/2025-06-01/Monitors_List.json new file mode 100644 index 000000000000..101eb714ee87 --- /dev/null +++ b/specification/elastic/Elastic.Management/examples/2025-06-01/Monitors_List.json @@ -0,0 +1,47 @@ +{ + "parameters": { + "api-version": "2025-06-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "myMonitor", + "type": "Microsoft.Elastic/monitors", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Elastic/monitors/myMonitor", + "location": "West US 2", + "properties": { + "elasticProperties": { + "elasticCloudDeployment": { + "name": "deploymentname", + "azureSubscriptionId": "00000000-0000-0000-0000-000000000000", + "deploymentId": "deployment_id", + "elasticsearchRegion": "azure-westus2", + "elasticsearchServiceUrl": "https://elasticsearchendpoint.com", + "kibanaServiceUrl": "https://kibanaserviceurl.com", + "kibanaSsoUrl": "https://kibanssourl.com" + }, + "elasticCloudUser": { + "elasticCloudSsoDefaultUrl": "https://examplessourl.com", + "emailAddress": "alice@microsoft.com", + "id": "myid123" + } + }, + "liftrResourceCategory": "MonitorLogs", + "liftrResourcePreference": 0, + "monitoringStatus": "Enabled", + "provisioningState": "Succeeded" + }, + "tags": { + "Environment": "Dev" + } + } + ] + } + } + }, + "operationId": "Monitors_List", + "title": "Monitors_List" +} diff --git a/specification/elastic/Elastic.Management/examples/2025-06-01/Monitors_ListByResourceGroup.json b/specification/elastic/Elastic.Management/examples/2025-06-01/Monitors_ListByResourceGroup.json new file mode 100644 index 000000000000..2a6b6a79e379 --- /dev/null +++ b/specification/elastic/Elastic.Management/examples/2025-06-01/Monitors_ListByResourceGroup.json @@ -0,0 +1,48 @@ +{ + "parameters": { + "api-version": "2025-06-01", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "myMonitor", + "type": "Microsoft.Elastic/monitors", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Elastic/monitors/myMonitor", + "location": "West US 2", + "properties": { + "elasticProperties": { + "elasticCloudDeployment": { + "name": "deploymentname", + "azureSubscriptionId": "00000000-0000-0000-0000-000000000000", + "deploymentId": "deployment_id", + "elasticsearchRegion": "azure-westus2", + "elasticsearchServiceUrl": "https://elasticsearchendpoint.com", + "kibanaServiceUrl": "https://kibanaserviceurl.com", + "kibanaSsoUrl": "https://kibanssourl.com" + }, + "elasticCloudUser": { + "elasticCloudSsoDefaultUrl": "https://examplessourl.com", + "emailAddress": "alice@microsoft.com", + "id": "myid123" + } + }, + "liftrResourceCategory": "MonitorLogs", + "liftrResourcePreference": 0, + "monitoringStatus": "Enabled", + "provisioningState": "Succeeded" + }, + "tags": { + "Environment": "Dev" + } + } + ] + } + } + }, + "operationId": "Monitors_ListByResourceGroup", + "title": "Monitors_ListByResourceGroup" +} diff --git a/specification/elastic/Elastic.Management/examples/2025-06-01/Monitors_Update.json b/specification/elastic/Elastic.Management/examples/2025-06-01/Monitors_Update.json new file mode 100644 index 000000000000..0a3ae9ff6f00 --- /dev/null +++ b/specification/elastic/Elastic.Management/examples/2025-06-01/Monitors_Update.json @@ -0,0 +1,144 @@ +{ + "parameters": { + "api-version": "2025-06-01", + "monitorName": "myMonitor", + "requestBody": { + "name": "myMonitor", + "location": "West US 2", + "properties": { + "elasticProperties": { + "elasticCloudDeployment": { + "name": "deploymentname", + "azureSubscriptionId": "00000000-0000-0000-0000-000000000000", + "elasticsearchRegion": "azure-westus2", + "elasticsearchServiceUrl": "https://elasticsearchendpoint.com", + "kibanaServiceUrl": "https://kibanaserviceurl.com", + "kibanaSsoUrl": "https://kibanssourl.com" + }, + "elasticCloudUser": { + "elasticCloudSsoDefaultUrl": "https://examplessourl.com", + "emailAddress": "alice@microsoft.com", + "id": "myid123" + } + }, + "hostingType": "Hosted", + "projectDetails": { + "configurationType": "NotApplicable", + "projectType": "NotApplicable" + }, + "userInfo": { + "companyInfo": { + "business": "Technology", + "country": "US", + "domain": "microsoft.com", + "employeeNumber": "10000", + "state": "WA" + }, + "companyName": "Microsoft", + "emailAddress": "alice@microsoft.com", + "firstName": "Alice", + "lastName": "Bob" + } + }, + "sku": { + "name": "free_Monthly" + }, + "tags": { + "Environment": "Dev" + } + }, + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myMonitor", + "type": "Microsoft.Elastic/monitors", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Elastic/monitors/myMonitor", + "kind": "elastic-hosted-deployment", + "location": "West US 2", + "properties": { + "elasticProperties": { + "elasticCloudDeployment": { + "name": "deploymentname", + "azureSubscriptionId": "00000000-0000-0000-0000-000000000000", + "deploymentId": "deployment_id", + "elasticsearchRegion": "azure-westus2", + "elasticsearchServiceUrl": "https://elasticsearchendpoint.com", + "kibanaServiceUrl": "https://kibanaserviceurl.com", + "kibanaSsoUrl": "https://kibanssourl.com" + }, + "elasticCloudUser": { + "elasticCloudSsoDefaultUrl": "https://examplessourl.com", + "emailAddress": "alice@microsoft.com", + "id": "myid123" + } + }, + "hostingType": "Hosted", + "liftrResourceCategory": "MonitorLogs", + "liftrResourcePreference": 0, + "monitoringStatus": "Enabled", + "projectDetails": { + "configurationType": "NotApplicable", + "projectType": "NotApplicable" + }, + "provisioningState": "Succeeded" + }, + "sku": { + "name": "free_Monthly" + }, + "tags": { + "Environment": "Dev" + } + } + }, + "202": { + "body": { + "name": "myMonitor", + "type": "Microsoft.Elastic/monitors", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Elastic/monitors/myMonitor", + "kind": "elastic-hosted-deployment", + "location": "West US 2", + "properties": { + "elasticProperties": { + "elasticCloudDeployment": { + "name": "deploymentname", + "azureSubscriptionId": "00000000-0000-0000-0000-000000000000", + "deploymentId": "deployment_id", + "elasticsearchRegion": "azure-westus2", + "elasticsearchServiceUrl": "https://elasticsearchendpoint.com", + "kibanaServiceUrl": "https://kibanaserviceurl.com", + "kibanaSsoUrl": "https://kibanssourl.com" + }, + "elasticCloudUser": { + "elasticCloudSsoDefaultUrl": "https://examplessourl.com", + "emailAddress": "alice@microsoft.com", + "id": "myid123" + } + }, + "hostingType": "Hosted", + "liftrResourceCategory": "MonitorLogs", + "liftrResourcePreference": 0, + "monitoringStatus": "Enabled", + "projectDetails": { + "configurationType": "NotApplicable", + "projectType": "NotApplicable" + }, + "provisioningState": "Succeeded" + }, + "sku": { + "name": "free_Monthly" + }, + "tags": { + "Environment": "Dev" + } + }, + "headers": { + "Location": "https://management.azure.com/subscriptions/subid/resourceGroups/resourceGroup/providers/Microsoft.Elastic/monitor/monitorname?api-version=2025-06-01" + } + } + }, + "operationId": "Monitors_Update", + "title": "Monitors_Update" +} diff --git a/specification/elastic/Elastic.Management/examples/2025-06-01/OpenAI_CreateOrUpdate.json b/specification/elastic/Elastic.Management/examples/2025-06-01/OpenAI_CreateOrUpdate.json new file mode 100644 index 000000000000..12e9b4107fae --- /dev/null +++ b/specification/elastic/Elastic.Management/examples/2025-06-01/OpenAI_CreateOrUpdate.json @@ -0,0 +1,46 @@ +{ + "parameters": { + "api-version": "2025-06-01", + "integrationName": "default", + "monitorName": "myMonitor", + "requestBody": { + "properties": { + "key": "**", + "openAIResourceEndpoint": "https://myOpenAI.openai.azure.com/", + "openAIResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.CognitiveServices/accounts/myOpenAI" + } + }, + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Elastic/monitors/openAIIntegration", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Elastic/monitors/myMonitor/openAIIntegration/default", + "properties": { + "lastRefreshAt": "2023-07-12T09:28:50.9579871Z", + "openAIConnectorId": "0000000000000000", + "openAIResourceEndpoint": "https://myOpenAI.openai.azure.com/", + "openAIResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.CognitiveServices/accounts/myOpenAI" + } + } + }, + "201": { + "body": { + "name": "default", + "type": "Microsoft.Elastic/monitors/openAIIntegration", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Elastic/monitors/myMonitor/openAIIntegration/default", + "properties": { + "lastRefreshAt": "2023-07-12T09:28:50.9579871Z", + "openAIConnectorId": "0000000000000000", + "openAIResourceEndpoint": "https://myOpenAI.openai.azure.com/", + "openAIResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.CognitiveServices/accounts/myOpenAI" + } + } + } + }, + "operationId": "OpenAI_CreateOrUpdate", + "title": "OpenAI_CreateOrUpdate" +} diff --git a/specification/elastic/Elastic.Management/examples/2025-06-01/OpenAI_Delete.json b/specification/elastic/Elastic.Management/examples/2025-06-01/OpenAI_Delete.json new file mode 100644 index 000000000000..7682e47d9ea5 --- /dev/null +++ b/specification/elastic/Elastic.Management/examples/2025-06-01/OpenAI_Delete.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "api-version": "2025-06-01", + "integrationName": "default", + "monitorName": "myMonitor", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "204": {} + }, + "operationId": "OpenAI_Delete", + "title": "OpenAI_Delete" +} diff --git a/specification/elastic/Elastic.Management/examples/2025-06-01/OpenAI_Get.json b/specification/elastic/Elastic.Management/examples/2025-06-01/OpenAI_Get.json new file mode 100644 index 000000000000..03fe315642bd --- /dev/null +++ b/specification/elastic/Elastic.Management/examples/2025-06-01/OpenAI_Get.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2025-06-01", + "integrationName": "default", + "monitorName": "myMonitor", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Elastic/monitors/openAIIntegration", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Elastic/monitors/myMonitor/openAIIntegration/default", + "properties": { + "lastRefreshAt": "2023-07-12T09:28:50.9579871Z", + "openAIConnectorId": "0000000000000000", + "openAIResourceEndpoint": "https://myOpenAI.openai.azure.com/", + "openAIResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.CognitiveServices/accounts/myOpenAI" + } + } + } + }, + "operationId": "OpenAI_Get", + "title": "OpenAI_Get" +} diff --git a/specification/elastic/Elastic.Management/examples/2025-06-01/OpenAI_GetStatus.json b/specification/elastic/Elastic.Management/examples/2025-06-01/OpenAI_GetStatus.json new file mode 100644 index 000000000000..83c5a467444a --- /dev/null +++ b/specification/elastic/Elastic.Management/examples/2025-06-01/OpenAI_GetStatus.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-06-01", + "integrationName": "default", + "monitorName": "myMonitor", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "properties": { + "status": "Succeeded" + } + } + } + }, + "operationId": "OpenAI_GetStatus", + "title": "OpenAI_GetStatus" +} diff --git a/specification/elastic/Elastic.Management/examples/2025-06-01/OpenAI_List.json b/specification/elastic/Elastic.Management/examples/2025-06-01/OpenAI_List.json new file mode 100644 index 000000000000..c8286e43a740 --- /dev/null +++ b/specification/elastic/Elastic.Management/examples/2025-06-01/OpenAI_List.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "api-version": "2025-06-01", + "monitorName": "myMonitor", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "default", + "type": "Microsoft.Elastic/monitors/openAIIntegration", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Elastic/monitors/myMonitor/openAIIntegration/default", + "properties": { + "lastRefreshAt": "2023-07-12T09:28:50.9579871Z", + "openAIConnectorId": "0000000000000000", + "openAIResourceEndpoint": "https://myOpenAI.openai.azure.com/", + "openAIResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.CognitiveServices/accounts/myOpenAI" + } + } + ] + } + } + }, + "operationId": "OpenAI_List", + "title": "OpenAI_List" +} diff --git a/specification/elastic/Elastic.Management/examples/2025-06-01/Operations_List.json b/specification/elastic/Elastic.Management/examples/2025-06-01/Operations_List.json new file mode 100644 index 000000000000..6b0175255caf --- /dev/null +++ b/specification/elastic/Elastic.Management/examples/2025-06-01/Operations_List.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2025-06-01" + }, + "responses": { + "200": { + "body": { + "nextLink": null, + "value": [ + { + "name": "Microsoft.Elastic/monitors/write", + "display": { + "description": "Write monitors resource", + "operation": "write", + "provider": "Microsoft.Elastic", + "resource": "monitors" + } + } + ] + } + } + }, + "operationId": "Operations_List", + "title": "Operations_List" +} diff --git a/specification/elastic/Elastic.Management/examples/2025-06-01/Organizations_GetApiKey.json b/specification/elastic/Elastic.Management/examples/2025-06-01/Organizations_GetApiKey.json new file mode 100644 index 000000000000..e9c183b87cd3 --- /dev/null +++ b/specification/elastic/Elastic.Management/examples/2025-06-01/Organizations_GetApiKey.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-06-01", + "requestBody": { + "emailId": "myemail@outlook.com" + }, + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "properties": { + "apiKey": "AbCdEfGhIjKlMnOpQrStUvWxYz" + } + } + } + }, + "operationId": "Organizations_GetApiKey", + "title": "Organizations_GetApiKey" +} diff --git a/specification/elastic/Elastic.Management/examples/2025-06-01/Organizations_GetElasticToAzureSubscriptionMapping.json b/specification/elastic/Elastic.Management/examples/2025-06-01/Organizations_GetElasticToAzureSubscriptionMapping.json new file mode 100644 index 000000000000..46e37597a753 --- /dev/null +++ b/specification/elastic/Elastic.Management/examples/2025-06-01/Organizations_GetElasticToAzureSubscriptionMapping.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "api-version": "2025-06-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "properties": { + "billedAzureSubscriptionId": "00000000-0000-0000-0000-000000000000", + "elasticOrganizationId": "1234567890", + "elasticOrganizationName": "elasticOrganizationName", + "marketplaceSaasInfo": { + "marketplaceName": "MP_RESOURCE", + "marketplaceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.SaaS/resources/AzElastic_b1190c8f", + "marketplaceStatus": "Status", + "marketplaceSubscription": { + "id": "12345678-1234-1234-1234-123456789012" + } + } + } + } + } + }, + "operationId": "Organizations_GetElasticToAzureSubscriptionMapping", + "title": "Organizations_GetElasticToAzureSubscriptionMapping" +} diff --git a/specification/elastic/Elastic.Management/examples/2025-06-01/Organizations_Resubscribe.json b/specification/elastic/Elastic.Management/examples/2025-06-01/Organizations_Resubscribe.json new file mode 100644 index 000000000000..144e87280f2b --- /dev/null +++ b/specification/elastic/Elastic.Management/examples/2025-06-01/Organizations_Resubscribe.json @@ -0,0 +1,66 @@ +{ + "parameters": { + "api-version": "2025-06-01", + "monitorName": "myMonitor", + "requestBody": { + "organizationId": "organizationId", + "planId": "planId", + "resourceGroup": "resourceGroup", + "subscriptionId": "subscriptionId", + "term": "term" + }, + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myMonitor", + "type": "Microsoft.Elastic/monitors", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Elastic/monitors/myMonitor", + "kind": "elastic-hosted-deployment", + "location": "West US 2", + "properties": { + "elasticProperties": { + "elasticCloudDeployment": { + "name": "deploymentname", + "azureSubscriptionId": "00000000-0000-0000-0000-000000000000", + "deploymentId": "deployment_id", + "elasticsearchRegion": "azure-westus2", + "elasticsearchServiceUrl": "https://elasticsearchendpoint.com", + "kibanaServiceUrl": "https://kibanaserviceurl.com", + "kibanaSsoUrl": "https://kibanssourl.com" + }, + "elasticCloudUser": { + "elasticCloudSsoDefaultUrl": "https://examplessourl.com", + "emailAddress": "alice@microsoft.com", + "id": "myid123" + } + }, + "hostingType": "Hosted", + "liftrResourceCategory": "MonitorLogs", + "liftrResourcePreference": 0, + "monitoringStatus": "Enabled", + "projectDetails": { + "configurationType": "NotApplicable", + "projectType": "NotApplicable" + }, + "provisioningState": "Succeeded" + }, + "sku": { + "name": "free_Monthly" + }, + "tags": { + "Environment": "Dev" + } + } + }, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/subid/resourceGroups/resourceGroup/providers/Microsoft.Elastic/monitor/monitorname/resubscribe?api-version=2025-06-01" + } + } + }, + "operationId": "Organizations_Resubscribe", + "title": "Organizations_Resubscribe" +} diff --git a/specification/elastic/Elastic.Management/examples/2025-06-01/PrivateLinkTrafficFilters_Create.json b/specification/elastic/Elastic.Management/examples/2025-06-01/PrivateLinkTrafficFilters_Create.json new file mode 100644 index 000000000000..d4903ba1583f --- /dev/null +++ b/specification/elastic/Elastic.Management/examples/2025-06-01/PrivateLinkTrafficFilters_Create.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2025-06-01", + "monitorName": "myMonitor", + "privateEndpointGuid": "fdb54d3b-e85e-4d08-8958-0d2f7g523df9", + "privateEndpointName": "myPrivateEndpoint", + "resourceGroupName": "myResourceGroup", + "rulesetId": "31d91b5afb6f4c2eaaf104c97b1991dd", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/subid/resourceGroups/resourceGroup/providers/Microsoft.Elastic/monitor/monitorname/createAndAssociatePLFilter?api-version=2022-07-01-preview" + } + } + }, + "operationId": "createAndAssociatePLFilter_Create", + "title": "createAndAssociatePLFilter_Create" +} diff --git a/specification/elastic/Elastic.Management/examples/2025-06-01/TagRules_CreateOrUpdate.json b/specification/elastic/Elastic.Management/examples/2025-06-01/TagRules_CreateOrUpdate.json new file mode 100644 index 000000000000..23a93b5973b4 --- /dev/null +++ b/specification/elastic/Elastic.Management/examples/2025-06-01/TagRules_CreateOrUpdate.json @@ -0,0 +1,61 @@ +{ + "parameters": { + "api-version": "2025-06-01", + "monitorName": "myMonitor", + "requestBody": { + "properties": { + "logRules": { + "filteringTags": [ + { + "name": "Environment", + "action": "Include", + "value": "Prod" + }, + { + "name": "Environment", + "action": "Exclude", + "value": "Dev" + } + ], + "sendAadLogs": false, + "sendActivityLogs": true, + "sendSubscriptionLogs": true + } + } + }, + "resourceGroupName": "myResourceGroup", + "ruleSetName": "default", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Elastic/monitors/tagRules", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Elastic/monitors/myMonitor/tagRules/default", + "properties": { + "logRules": { + "filteringTags": [ + { + "name": "Environment", + "action": "Include", + "value": "Prod" + }, + { + "name": "Environment", + "action": "Exclude", + "value": "Dev" + } + ], + "sendAadLogs": false, + "sendActivityLogs": true, + "sendSubscriptionLogs": true + }, + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "TagRules_CreateOrUpdate", + "title": "TagRules_CreateOrUpdate" +} diff --git a/specification/elastic/Elastic.Management/examples/2025-06-01/TagRules_Delete.json b/specification/elastic/Elastic.Management/examples/2025-06-01/TagRules_Delete.json new file mode 100644 index 000000000000..e66499039574 --- /dev/null +++ b/specification/elastic/Elastic.Management/examples/2025-06-01/TagRules_Delete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-06-01", + "monitorName": "myMonitor", + "resourceGroupName": "myResourceGroup", + "ruleSetName": "default", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/subid/resourceGroups/resourceGroup/providers/Microsoft.Elastic/monitor/monitorname/tagRules/tagRuleName?api-version=2025-06-01" + } + }, + "204": {} + }, + "operationId": "TagRules_Delete", + "title": "TagRules_Delete" +} diff --git a/specification/elastic/Elastic.Management/examples/2025-06-01/TagRules_Get.json b/specification/elastic/Elastic.Management/examples/2025-06-01/TagRules_Get.json new file mode 100644 index 000000000000..228bdf2094e1 --- /dev/null +++ b/specification/elastic/Elastic.Management/examples/2025-06-01/TagRules_Get.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "api-version": "2025-06-01", + "monitorName": "myMonitor", + "resourceGroupName": "myResourceGroup", + "ruleSetName": "default", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Elastic/monitors/tagRules", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Elastic/monitors/myMonitor/tagRules/default", + "properties": { + "logRules": { + "filteringTags": [ + { + "name": "Environment", + "action": "Include", + "value": "Prod" + }, + { + "name": "Environment", + "action": "Exclude", + "value": "Dev" + } + ], + "sendAadLogs": false, + "sendActivityLogs": true, + "sendSubscriptionLogs": true + }, + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "TagRules_Get", + "title": "TagRules_Get" +} diff --git a/specification/elastic/Elastic.Management/examples/2025-06-01/TagRules_List.json b/specification/elastic/Elastic.Management/examples/2025-06-01/TagRules_List.json new file mode 100644 index 000000000000..fe223fa85ac2 --- /dev/null +++ b/specification/elastic/Elastic.Management/examples/2025-06-01/TagRules_List.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "api-version": "2025-06-01", + "monitorName": "myMonitor", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "default", + "type": "Microsoft.Elastic/monitors/tagRules", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Elastic/monitors/myMonitor/tagRules/default", + "properties": { + "logRules": { + "filteringTags": [ + { + "name": "Environment", + "action": "Include", + "value": "Prod" + }, + { + "name": "Environment", + "action": "Exclude", + "value": "Dev" + } + ], + "sendAadLogs": false, + "sendActivityLogs": true, + "sendSubscriptionLogs": true + }, + "provisioningState": "Succeeded" + } + } + ] + } + } + }, + "operationId": "TagRules_List", + "title": "TagRules_List" +} diff --git a/specification/elastic/Elastic.Management/examples/2025-06-01/TrafficFilters_Delete.json b/specification/elastic/Elastic.Management/examples/2025-06-01/TrafficFilters_Delete.json new file mode 100644 index 000000000000..9442240a1767 --- /dev/null +++ b/specification/elastic/Elastic.Management/examples/2025-06-01/TrafficFilters_Delete.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "api-version": "2025-06-01", + "monitorName": "myMonitor", + "resourceGroupName": "myResourceGroup", + "rulesetId": "31d91b5afb6f4c2eaaf104c97b1991dd", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {} + }, + "operationId": "TrafficFilters_Delete", + "title": "TrafficFilters_Delete" +} diff --git a/specification/elastic/Elastic.Management/examples/2025-06-01/UpgradableVersions_Details.json b/specification/elastic/Elastic.Management/examples/2025-06-01/UpgradableVersions_Details.json new file mode 100644 index 000000000000..cca50c3371f7 --- /dev/null +++ b/specification/elastic/Elastic.Management/examples/2025-06-01/UpgradableVersions_Details.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2025-06-01", + "monitorName": "myMonitor", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "currentVersion": "7.15.0", + "upgradableVersions": [ + "7.15.1", + "7.16.0" + ] + } + } + }, + "operationId": "UpgradableVersions_Details", + "title": "UpgradableVersions_Details" +} diff --git a/specification/elastic/Elastic.Management/examples/2025-06-01/VMCollection_Update.json b/specification/elastic/Elastic.Management/examples/2025-06-01/VMCollection_Update.json new file mode 100644 index 000000000000..f2d5d0a963a9 --- /dev/null +++ b/specification/elastic/Elastic.Management/examples/2025-06-01/VMCollection_Update.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "api-version": "2025-06-01", + "monitorName": "myMonitor", + "requestBody": { + "operationName": "Add", + "vmResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualmachines/myVM" + }, + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {} + }, + "operationId": "VMCollection_Update", + "title": "VMCollection_Update" +} diff --git a/specification/elastic/Elastic.Management/examples/2025-06-01/VMHost_List.json b/specification/elastic/Elastic.Management/examples/2025-06-01/VMHost_List.json new file mode 100644 index 000000000000..9939e237e627 --- /dev/null +++ b/specification/elastic/Elastic.Management/examples/2025-06-01/VMHost_List.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2025-06-01", + "monitorName": "myMonitor", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "vmResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualmachines/myVM" + } + ] + } + } + }, + "operationId": "VMHost_List", + "title": "VMHost_List" +} diff --git a/specification/elastic/Elastic.Management/examples/2025-06-01/VMIngestion_Details.json b/specification/elastic/Elastic.Management/examples/2025-06-01/VMIngestion_Details.json new file mode 100644 index 000000000000..e5dff15694df --- /dev/null +++ b/specification/elastic/Elastic.Management/examples/2025-06-01/VMIngestion_Details.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "api-version": "2025-06-01", + "monitorName": "myMonitor", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "cloudId": "myid123", + "ingestionKey": "Vmingeationkey" + } + } + }, + "operationId": "VMIngestion_Details", + "title": "VMIngestion_Details" +} diff --git a/specification/elastic/Elastic.Management/main.tsp b/specification/elastic/Elastic.Management/main.tsp new file mode 100644 index 000000000000..582a3c5876f9 --- /dev/null +++ b/specification/elastic/Elastic.Management/main.tsp @@ -0,0 +1,49 @@ +/** + * PLEASE DO NOT REMOVE - USED FOR CONVERTER METRICS + * Generated by package: @autorest/openapi-to-typespec + * Parameters used: + * isFullCompatible: true + * guessResourceKey: false + * Version: 0.11.1 + * Date: 2025-06-25T08:32:49.215Z + */ +import "@typespec/rest"; +import "@typespec/versioning"; +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "./models.tsp"; +import "./back-compatible.tsp"; +import "./ElasticMonitorResource.tsp"; +import "./MonitoredSubscriptionProperties.tsp"; +import "./OpenAIIntegrationRPModel.tsp"; +import "./MonitoringTagRules.tsp"; +import "./routes.tsp"; + +using TypeSpec.Rest; +using TypeSpec.Http; +using Azure.ResourceManager.Foundations; +using Azure.Core; +using Azure.ResourceManager; +using TypeSpec.Versioning; + +@armProviderNamespace +@service(#{ title: "Microsoft.Elastic" }) +@versioned(Versions) +@armCommonTypesVersion(Azure.ResourceManager.CommonTypes.Versions.v5) +namespace Microsoft.Elastic; + +/** + * The available API versions. + */ +enum Versions { + /** + * The 2025-06-01 API version. + */ + v2025_06_01: "2025-06-01", +} + +interface Operations + extends Azure.ResourceManager.Legacy.Operations< + ArmResponse, + ResourceProviderDefaultErrorResponse + > {} diff --git a/specification/elastic/Elastic.Management/models.tsp b/specification/elastic/Elastic.Management/models.tsp new file mode 100644 index 000000000000..afc4c1e0b9a5 --- /dev/null +++ b/specification/elastic/Elastic.Management/models.tsp @@ -0,0 +1,1346 @@ +import "@typespec/rest"; +import "@typespec/http"; +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; + +using TypeSpec.Rest; +using TypeSpec.Http; +using Azure.ResourceManager; +using Azure.ResourceManager.Foundations; +using Azure.Core; +namespace Microsoft.Elastic; + +/** + * Provisioning state of Elastic resource. + */ +union ProvisioningState { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Accepted: "Accepted", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Creating: "Creating", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Updating: "Updating", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Deleting: "Deleting", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Succeeded: "Succeeded", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Failed: "Failed", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Canceled: "Canceled", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Deleted: "Deleted", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + NotSpecified: "NotSpecified", +} + +/** + * Flag specifying if the resource monitoring is enabled or disabled. + */ +union MonitoringStatus { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Enabled: "Enabled", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Disabled: "Disabled", +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +union LiftrResourceCategories { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Unknown: "Unknown", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + MonitorLogs: "MonitorLogs", +} + +/** + * Hosting type of the monitor resource - either Hosted deployments or Serverless Projects. + */ +union HostingType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Hosted: "Hosted", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Serverless: "Serverless", +} + +/** + * Project type; ex: Elasticsearch / Observability / Security + */ +union ProjectType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Elasticsearch: "Elasticsearch", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Observability: "Observability", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Security: "Security", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + NotApplicable: "NotApplicable", +} + +/** + * Configuration type of the Elasticsearch project + */ +union ConfigurationType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + GeneralPurpose: "GeneralPurpose", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Vector: "Vector", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + TimeSeries: "TimeSeries", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + NotApplicable: "NotApplicable", +} + +/** + * Managed Identity types. + */ +union ManagedIdentityTypes { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + SystemAssigned: "SystemAssigned", +} + +/** + * The operation for the patch on the resource. + */ +union Operation { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + AddBegin: "AddBegin", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + AddComplete: "AddComplete", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + DeleteBegin: "DeleteBegin", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + DeleteComplete: "DeleteComplete", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Active: "Active", +} + +/** + * The state of monitoring. + */ +union Status { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + InProgress: "InProgress", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Active: "Active", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Failed: "Failed", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Deleting: "Deleting", +} + +/** + * Valid actions for a filtering tag. Exclusion takes priority over inclusion. + */ +union TagAction { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Include: "Include", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Exclude: "Exclude", +} + +/** + * Flag indicating the status of the resource for sending logs operation to Elastic. + */ +union SendingLogs { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + True: "True", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + False: "False", +} + +/** + * Flag specifying if the Elastic deployment status is healthy or not. + */ +union ElasticDeploymentStatus { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Healthy: "Healthy", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Unhealthy: "Unhealthy", +} + +/** + * Operation to be performed on the given vm resource id. + */ +union OperationName { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Add: "Add", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Delete: "Delete", +} + +/** + * Type of the elastic filter + */ +union Type { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + ip: "ip", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + azure_private_endpoint: "azure_private_endpoint", +} + +/** + * Represents a paginated list of operations. + */ +model OperationListResult { + /** + * The list of operations. + */ + @pageItems + @identifiers(#[]) + value: OperationResult[]; + + /** + * The URL to get the next set of results, if any. + */ + @nextLink + nextLink?: string; +} + +/** + * Represents the display information for an operation. + */ +model OperationDisplay { + /** + * The service provider of the operation. + */ + provider?: string; + + /** + * The resource type of the operation. + */ + resource?: string; + + /** + * The name of the operation. + */ + operation?: string; + + /** + * A description of the operation. + */ + description?: string; +} + +/** + * A Microsoft.Elastic REST API operation. + */ +model OperationResult { + /** + * Operation name, i.e., {provider}/{resource}/{operation}. + */ + name?: string; + + /** + * Indicates whether the operation is a data action + */ + isDataAction?: boolean; + + /** + * The object that represents the operation. + */ + display?: OperationDisplay; + + /** + * Origin of the operation + */ + origin?: string; +} + +/** + * RP default error response. + */ +@error +model ResourceProviderDefaultErrorResponse { + /** + * Response body of Error + */ + @visibility(Lifecycle.Read) + error?: ErrorResponseBody; +} + +/** + * Error response body. + */ +model ErrorResponseBody { + /** + * Error code. + */ + code?: string; + + /** + * Error message. + */ + message?: string; + + /** + * Error target. + */ + target?: string; + + /** + * Error details. + */ + @identifiers(#[]) + details?: ErrorResponseBody[]; +} + +/** + * Response of a list operation. + */ +model ElasticMonitorResourceListResponse + is Azure.Core.Page; + +/** + * Properties specific to the monitor resource. + */ +model MonitorProperties { + /** + * Provisioning state of the monitor resource. + */ + @visibility(Lifecycle.Read) + provisioningState?: ProvisioningState; + + /** + * Flag specifying if the resource monitoring is enabled or disabled. + */ + monitoringStatus?: MonitoringStatus; + + /** + * Elastic cloud properties. + */ + elasticProperties?: ElasticProperties; + + /** + * User information. + */ + @visibility(Lifecycle.Create) + userInfo?: UserInfo; + + /** + * Plan details of the monitor resource. + */ + planDetails?: PlanDetails; + + /** + * Version of elastic of the monitor resource + */ + version?: string; + + /** + * State of the Azure Subscription containing the monitor resource + */ + subscriptionState?: string; + + /** + * Status of Azure Subscription where Marketplace SaaS is located. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + saaSAzureSubscriptionStatus?: string; + + /** + * Name of the marketing campaign. + */ + sourceCampaignName?: string; + + /** + * A unique identifier associated with the campaign. + */ + sourceCampaignId?: string; + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Read) + liftrResourceCategory?: LiftrResourceCategories; + + /** + * The priority of the resource. + */ + @visibility(Lifecycle.Read) + liftrResourcePreference?: int32; + + /** + * Flag to determine if User API Key has to be generated and shared. + */ + generateApiKey?: boolean; + + /** + * Hosting type of the monitor resource - either Hosted deployments OR Serverless Projects. + */ + hostingType?: HostingType; + + /** + * Project details of the monitor resource IF it belongs to Serverless offer kind. + */ + projectDetails?: ProjectDetails; +} + +/** + * Elastic Resource Properties. + */ +model ElasticProperties { + /** + * Details of the user's elastic account. + */ + elasticCloudUser?: ElasticCloudUser; + + /** + * Details of the elastic cloud deployment. + */ + elasticCloudDeployment?: ElasticCloudDeployment; +} + +/** + * Details of the user's elastic account. + */ +model ElasticCloudUser { + /** + * Email of the Elastic User Account. + */ + @visibility(Lifecycle.Read) + emailAddress?: string; + + /** + * User Id of the elastic account of the User. + */ + @visibility(Lifecycle.Read) + id?: string; + + /** + * Elastic cloud default dashboard sso URL of the Elastic user account. + */ + @visibility(Lifecycle.Read) + elasticCloudSsoDefaultUrl?: string; +} + +/** + * Details of the user's elastic deployment associated with the monitor resource. + */ +model ElasticCloudDeployment { + /** + * Elastic deployment name + */ + @visibility(Lifecycle.Read) + name?: string; + + /** + * Elastic deployment Id + */ + @visibility(Lifecycle.Read) + deploymentId?: string; + + /** + * Associated Azure subscription Id for the elastic deployment. + */ + @visibility(Lifecycle.Read) + azureSubscriptionId?: string; + + /** + * Region where Deployment at Elastic side took place. + */ + @visibility(Lifecycle.Read) + elasticsearchRegion?: string; + + /** + * Elasticsearch ingestion endpoint of the Elastic deployment. + */ + @visibility(Lifecycle.Read) + elasticsearchServiceUrl?: string; + + /** + * Kibana endpoint of the Elastic deployment. + */ + @visibility(Lifecycle.Read) + kibanaServiceUrl?: string; + + /** + * Kibana dashboard sso URL of the Elastic deployment. + */ + @visibility(Lifecycle.Read) + kibanaSsoUrl?: string; +} + +/** + * User Information to be passed to partners. + */ +model UserInfo { + /** + * First name of the user + */ + @maxLength(128) + firstName?: string; + + /** + * Last name of the user + */ + @maxLength(128) + lastName?: string; + + /** + * Company name of the user + */ + @maxLength(128) + companyName?: string; + + /** + * Email of the user used by Elastic for contacting them if needed + */ + @pattern("^([^<>()\\[\\]\\.,;:\\s@\"]+(\\.[^<>()\\[\\]\\.,;:\\s@\"]+)*)@(([a-zA-Z-_0-9]+\\.)+[a-zA-Z]{2,})$") + emailAddress?: string; + + /** + * Company information of the user to be passed to partners. + */ + companyInfo?: CompanyInfo; +} + +/** + * Company information of the user to be passed to partners. + */ +model CompanyInfo { + /** + * Domain of the company + */ + @maxLength(256) + domain?: string; + + /** + * Business of the company + */ + @maxLength(128) + business?: string; + + /** + * Number of employees in the company + */ + @maxLength(20) + employeesNumber?: string; + + /** + * State of the company location. + */ + @maxLength(128) + state?: string; + + /** + * Country of the company location. + */ + @maxLength(128) + country?: string; +} + +/** + * Plan details of the monitor resource. + */ +model PlanDetails { + /** + * Offer ID of the plan + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + offerID?: string; + + /** + * Publisher ID of the plan + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + publisherID?: string; + + /** + * Term ID of the plan + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + termID?: string; + + /** + * Plan ID + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + planID?: string; + + /** + * Plan Name + */ + planName?: string; +} + +/** + * Project details of the monitor resource IF it belongs to Serverless offer kind. + */ +model ProjectDetails { + /** + * Project type; ex: Elasticsearch / Observability / Security + */ + projectType?: ProjectType; + + /** + * Configuration type of the Elasticsearch project + */ + configurationType?: ConfigurationType; +} + +/** + * Identity properties. + */ +model IdentityProperties { + /** + * The identity ID. + */ + @visibility(Lifecycle.Read) + principalId?: string; + + /** + * The tenant ID of resource. + */ + @visibility(Lifecycle.Read) + tenantId?: string; + + /** + * Managed identity type. + */ + type?: ManagedIdentityTypes; +} + +/** + * List of elastic versions available in a region. + */ +model ElasticVersionsListResponse is Azure.Core.Page; + +/** + * Elastic Version List Format + */ +model ElasticVersionListFormat { + /** + * Elastic Version Properties + */ + properties?: ElasticVersionListProperties; +} + +/** + * Elastic Version Properties + */ +model ElasticVersionListProperties { + /** + * Available elastic version of the given region + */ + version?: string; +} + +/** + * Monitor resource update parameters. + */ +#suppress "@azure-tools/typespec-azure-resource-manager/patch-envelope" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model ElasticMonitorResourceUpdateParameters { + /** + * elastic monitor resource tags. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + tags?: Record; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model MonitoredSubscriptionPropertiesList + is Azure.Core.Page; + +/** + * The request to update subscriptions needed to be monitored by the Elastic monitor resource. + */ +model SubscriptionList { + /** + * The operation for the patch on the resource. + */ + @visibility(Lifecycle.Create, Lifecycle.Update) + operation?: Operation; + + /** + * List of subscriptions and the state of the monitoring. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/missing-x-ms-identifiers" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + #suppress "@azure-tools/typespec-client-generator-core/property-name-conflict" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @identifiers(#["properties/subscriptionId"]) + monitoredSubscriptionList?: MonitoredSubscription[]; + + /** + * Provisioning State of the resource + */ + @visibility(Lifecycle.Read) + provisioningState?: ProvisioningState; +} + +/** + * The list of subscriptions and it's monitoring status by current Elastic monitor. + */ +model MonitoredSubscription { + /** + * The subscriptionId to be monitored. + */ + subscriptionId: string; + + /** + * The state of monitoring. + */ + status?: Status; + + /** + * The reason of not monitoring the subscription. + */ + error?: string; + + /** + * Definition of the properties for a TagRules resource. + */ + tagRules?: MonitoringTagRulesProperties; +} + +/** + * Definition of the properties for a TagRules resource. + */ +model MonitoringTagRulesProperties { + /** + * Provisioning state of the monitoring tag rules. + */ + @visibility(Lifecycle.Read) + provisioningState?: ProvisioningState; + + /** + * Rules for sending logs. + */ + logRules?: LogRules; +} + +/** + * Set of rules for sending logs for the Monitor resource. + */ +model LogRules { + /** + * Flag specifying if AAD logs should be sent for the Monitor resource. + */ + sendAadLogs?: boolean; + + /** + * Flag specifying if subscription logs should be sent for the Monitor resource. + */ + sendSubscriptionLogs?: boolean; + + /** + * Flag specifying if activity logs from Azure resources should be sent for the Monitor resource. + */ + sendActivityLogs?: boolean; + + /** + * List of filtering tags to be used for capturing logs. This only takes effect if SendActivityLogs flag is enabled. If empty, all resources will be captured. If only Exclude action is specified, the rules will apply to the list of all available resources. If Include actions are specified, the rules will only include resources with the associated tags. + */ + @identifiers(#[]) + filteringTags?: FilteringTag[]; +} + +/** + * The definition of a filtering tag. Filtering tags are used for capturing resources and include/exclude them from being monitored. + */ +model FilteringTag { + /** + * The name (also known as the key) of the tag. + */ + name?: string; + + /** + * The value of the tag. + */ + value?: string; + + /** + * Valid actions for a filtering tag. + */ + action?: TagAction; +} + +/** + * Response of a list operation. + */ +model MonitoredResourceListResponse is Azure.Core.Page; + +/** + * The properties of a resource currently being monitored by the Elastic monitor resource. + */ +model MonitoredResource { + /** + * The ARM id of the resource. + */ + id?: string; + + /** + * Flag indicating the status of the resource for sending logs operation to Elastic. + */ + sendingLogs?: SendingLogs; + + /** + * Reason for why the resource is sending logs (or why it is not sending). + */ + reasonForLogsStatus?: string; +} + +/** + * The properties of deployment in Elastic cloud corresponding to the Elastic monitor resource. + */ +model DeploymentInfoResponse { + /** + * The Elastic deployment status. + */ + @visibility(Lifecycle.Read) + status?: ElasticDeploymentStatus; + + /** + * Version of the elasticsearch in Elastic cloud deployment. + */ + @visibility(Lifecycle.Read) + version?: string; + + /** + * RAM capacity of the elasticsearch in Elastic cloud deployment. + */ + @visibility(Lifecycle.Read) + memoryCapacity?: string; + + /** + * Disk capacity of the elasticsearch in Elastic cloud deployment. + */ + @visibility(Lifecycle.Read) + diskCapacity?: string; + + /** + * Elasticsearch endpoint in Elastic cloud deployment. This is either the aliased_endpoint if available, or the service_url otherwise. + */ + @visibility(Lifecycle.Read) + elasticsearchEndPoint?: string; + + /** + * Deployment URL of the elasticsearch in Elastic cloud deployment. + */ + @visibility(Lifecycle.Read) + deploymentUrl?: string; + + /** + * Marketplace SaaS Info of the resource. + */ + @visibility(Lifecycle.Read) + marketplaceSaasInfo?: MarketplaceSaaSInfo; + + /** + * Project Type - Applicable for Serverless only. + */ + @visibility(Lifecycle.Read) + projectType?: string; + + /** + * ConfigurationType Type - Applicable for Serverless only. + */ + @visibility(Lifecycle.Read) + configurationType?: string; +} + +/** + * Marketplace SAAS Info of the resource. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model MarketplaceSaaSInfo { + /** + * Marketplace Subscription + */ + marketplaceSubscription?: MarketplaceSaaSInfoMarketplaceSubscription; + + /** + * Marketplace Subscription Details: SAAS Name + */ + marketplaceName?: string; + + /** + * Marketplace Subscription Details: Resource URI + */ + marketplaceResourceId?: string; + + /** + * Marketplace Subscription Details: SaaS Subscription Status + */ + marketplaceStatus?: string; + + /** + * The Azure Subscription ID to which the Marketplace Subscription belongs and gets billed into. + */ + billedAzureSubscriptionId?: string; + + /** + * Flag specifying if the Marketplace status is subscribed or not. + */ + subscribed?: boolean; +} + +/** + * Marketplace Subscription + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model MarketplaceSaaSInfoMarketplaceSubscription { + /** + * Marketplace Subscription Id. This is a GUID-formatted string. + */ + id?: string; + + /** + * Publisher Id of the Marketplace offer. + */ + publisherId?: string; + + /** + * Offer Id of the Marketplace offer, + */ + offerId?: string; +} + +/** + * The properties of the request required for creating user on elastic side + */ +model ExternalUserInfo { + /** + * Username of the user to be created or updated + */ + userName?: string; + + /** + * Full name of the user to be created or updated + */ + fullName?: string; + + /** + * Password of the user to be created or updated + */ + @secret + password?: string; + + /** + * Email id of the user to be created or updated + */ + emailId?: string; + + /** + * Roles to be assigned for created or updated user + */ + roles?: string[]; +} + +/** + * The properties of the response we got from elastic while creating external user + */ +model ExternalUserCreationResponse { + /** + * Shows if user is created or updated + */ + @visibility(Lifecycle.Read) + created?: boolean; +} + +/** + * Marketplace Subscription and Organization details to which resource gets billed into. + */ +model BillingInfoResponse { + /** + * Marketplace Subscription details + */ + marketplaceSaasInfo?: MarketplaceSaaSInfo; + + /** + * Partner Billing Entity details: Organization Info + */ + partnerBillingEntity?: PartnerBillingEntity; +} + +/** + * Partner Billing details associated with the resource. + */ +model PartnerBillingEntity { + /** + * The Elastic Organization Id. + */ + id?: string; + + /** + * The Elastic Organization Name. + */ + name?: string; + + /** + * Link to the elastic organization page + */ + partnerEntityUri?: string; +} + +/** + * List of all active elastic deployments. + */ +model ConnectedPartnerResourcesListResponse + is Azure.Core.Page; + +/** + * Connected Partner Resources List Format + */ +model ConnectedPartnerResourcesListFormat { + /** + * Connected Partner Resource Properties + */ + properties?: ConnectedPartnerResourceProperties; +} + +/** + * Connected Partner Resource Properties + */ +model ConnectedPartnerResourceProperties { + /** + * Elastic resource name + */ + partnerDeploymentName?: string; + + /** + * URL of the resource in Elastic cloud. + */ + partnerDeploymentUri?: string; + + /** + * The azure resource Id of the resource. + */ + azureResourceId?: string; + + /** + * The location of the resource. + */ + location?: string; + + /** + * The hosting type of the resource. + */ + type?: string; +} + +/** + * Response of a list operation. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model OpenAIIntegrationRPModelListResponse + is Azure.Core.Page; + +/** + * Open AI Integration details. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model OpenAIIntegrationProperties { + /** + * The resource name of Open AI resource + */ + openAIResourceId?: string; + + /** + * The API endpoint for Open AI resource + */ + openAIResourceEndpoint?: string; + + /** + * The connector id of Open AI resource + */ + openAIConnectorId?: string; + + /** + * Value of API key for Open AI resource + */ + @secret + key?: string; + + /** + * Last Update Timestamp for key updation + */ + @visibility(Lifecycle.Read) + lastRefreshAt?: utcDateTime; +} + +/** + * Status of the OpenAI Integration + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model OpenAIIntegrationStatusResponse { + /** + * Status of the OpenAI Integration + */ + properties?: OpenAIIntegrationStatusResponseProperties; +} + +/** + * Status of the OpenAI Integration + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model OpenAIIntegrationStatusResponseProperties { + /** + * Status of the OpenAI Integration + */ + status?: string; +} + +/** + * Response of a list operation. + */ +model MonitoringTagRulesListResponse is Azure.Core.Page; + +/** + * Response of a list operation. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model VMHostListResponse is Azure.Core.Page; + +/** + * The vm resource properties that is currently being monitored by the Elastic monitor resource. + */ +model VMResources { + /** + * The ARM id of the VM resource. + */ + vmResourceId?: string; +} + +/** + * The vm ingestion details to install an agent. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model VMIngestionDetailsResponse { + /** + * The cloudId of given Elastic monitor resource. + */ + cloudId?: string; + + /** + * Ingestion details to install agent on given VM. + */ + @secret + ingestionKey?: string; +} + +/** + * Update VM resource collection. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model VMCollectionUpdate { + /** + * ARM id of the VM resource. + */ + vmResourceId?: string; + + /** + * Operation to be performed for given VM. + */ + operationName?: OperationName; +} + +/** + * Stack Versions that this version can upgrade to + */ +model UpgradableVersionsList { + /** + * Current version of the elastic monitor + */ + currentVersion?: string; + + /** + * Stack Versions that this version can upgrade to + */ + upgradableVersions?: string[]; +} + +/** + * Upgrade elastic monitor version + */ +model ElasticMonitorUpgrade { + /** + * Version to which the elastic monitor should be upgraded to + */ + version?: string; +} + +/** + * List of elastic traffic filters in the account + */ +model ElasticTrafficFilterResponse { + /** + * List of elastic traffic filters in the account + */ + @identifiers(#[]) + rulesets?: ElasticTrafficFilter[]; +} + +/** + * Elastic traffic filter object + */ +model ElasticTrafficFilter { + /** + * Id of the elastic filter + */ + id?: string; + + /** + * Name of the elastic filter + */ + name?: string; + + /** + * Description of the elastic filter + */ + description?: string; + + /** + * Region of the elastic filter + */ + region?: string; + + /** + * Type of the elastic filter + */ + type?: Type; + + /** + * IncludeByDefault for the elastic filter + */ + includeByDefault?: boolean; + + /** + * Rules in the elastic filter + */ + rules?: ElasticTrafficFilterRule[]; +} + +/** + * Elastic traffic filter rule object + */ +model ElasticTrafficFilterRule { + /** + * IP of the elastic filter rule + */ + source?: string; + + /** + * Description of the elastic filter rule + */ + description?: string; + + /** + * Guid of Private Endpoint in the elastic filter rule + */ + azureEndpointGuid?: string; + + /** + * Name of the Private Endpoint in the elastic filter rule + */ + azureEndpointName?: string; + + /** + * Id of the elastic filter rule + */ + id?: string; +} + +/** + * Email Id of the User Organization, of which the API Key must be returned + */ +model UserEmailId { + /** + * The User email Id + */ + emailId?: string; +} + +/** + * The User Api Key created for the Organization associated with the User Email Id that was passed in the request + */ +model UserApiKeyResponse { + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + properties?: UserApiKeyResponseProperties; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model UserApiKeyResponseProperties { + /** + * The User Api Key Generated based on GenerateApiKey flag. This is applicable for non-Portal clients only. + */ + @secret + apiKey?: string; +} + +/** + * The Azure Subscription ID to which the Organization of the logged in user belongs and gets billed into. + */ +model ElasticOrganizationToAzureSubscriptionMappingResponse { + /** + * The properties of Azure Subscription ID to which the Organization of the logged in user belongs and gets billed into. + */ + properties?: ElasticOrganizationToAzureSubscriptionMappingResponseProperties; +} + +/** + * The properties of Azure Subscription ID to which the Organization of the logged in user belongs and gets billed into. + */ +model ElasticOrganizationToAzureSubscriptionMappingResponseProperties { + /** + * The Azure Subscription ID to which the Organization belongs and gets billed into. This is empty for a new user OR a user without an Elastic Organization. + */ + billedAzureSubscriptionId?: string; + + /** + * Marketplace SaaS Info of the resource. + */ + @visibility(Lifecycle.Read) + marketplaceSaasInfo?: MarketplaceSaaSInfo; + + /** + * The Elastic Organization Id. + */ + elasticOrganizationId?: string; + + /** + * The Elastic Organization Name. + */ + elasticOrganizationName?: string; +} + +/** + * Resubscribe Properties + */ +model ResubscribeProperties { + /** + * Newly selected plan Id to create the new Marketplace subscription for Resubscribe + */ + planId?: string; + + /** + * Newly selected term to create the new Marketplace subscription for Resubscribe + */ + term?: string; + + /** + * Newly selected Azure Subscription Id in which the new Marketplace subscription will be created for Resubscribe + */ + subscriptionId?: string; + + /** + * Newly selected Azure resource group in which the new Marketplace subscription will be created for Resubscribe + */ + resourceGroup?: string; + + /** + * Organization Id of the Elastic Organization that needs to be resubscribed + */ + organizationId?: string; +} diff --git a/specification/elastic/Elastic.Management/routes.tsp b/specification/elastic/Elastic.Management/routes.tsp new file mode 100644 index 000000000000..a11c973cbf8e --- /dev/null +++ b/specification/elastic/Elastic.Management/routes.tsp @@ -0,0 +1,68 @@ +import "@azure-tools/typespec-azure-core"; +import "@typespec/rest"; +import "./models.tsp"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; + +using TypeSpec.Rest; +using TypeSpec.Http; +using Azure.ResourceManager; +using TypeSpec.OpenAPI; + +namespace Microsoft.Elastic; + +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +interface ElasticVersionsOperationGroup { + /** + * Retrieve a list of all available Elastic versions for a specified region, helping you choose the best version for your deployment. + */ + @summary("Retrieve a list of all available Elastic versions for a specified region, helping you choose the best version for your deployment.") + @autoRoute + @get + @list + @action("elasticVersions") + list is ArmProviderActionSync< + Response = ElasticVersionsListResponse, + Scope = SubscriptionActionScope, + Parameters = { + /** + * Region where elastic deployment will take place. + */ + @query("region") + region: string; + }, + Error = ResourceProviderDefaultErrorResponse + >; +} + +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +interface OrganizationsOperationGroup { + /** + * Fetch the User API Key from the internal database, if it was generated and stored during the creation of the Elasticsearch Organization. + */ + @summary("Fetch the User API Key from the internal database, if it was generated and stored during the creation of the Elasticsearch Organization.") + @autoRoute + @action("getOrganizationApiKey") + getApiKey is ArmProviderActionSync< + Request = UserEmailId, + Response = UserApiKeyResponse, + Scope = SubscriptionActionScope, + Parameters = {}, + Error = ResourceProviderDefaultErrorResponse, + OptionalRequestBody = true + >; + /** + >; + /** + * Retrieve mapping details between the Elastic Organization and Azure Subscription for the logged-in user. + */ + @summary("Retrieve mapping details between the Elastic Organization and Azure Subscription for the logged-in user.") + @autoRoute + @action("getElasticOrganizationToAzureSubscriptionMapping") + getElasticToAzureSubscriptionMapping is ArmProviderActionSync< + Response = ElasticOrganizationToAzureSubscriptionMappingResponse, + Scope = SubscriptionActionScope, + Parameters = {}, + Error = ResourceProviderDefaultErrorResponse + >; +} diff --git a/specification/elastic/Elastic.Management/tspconfig.yaml b/specification/elastic/Elastic.Management/tspconfig.yaml new file mode 100644 index 000000000000..f4881d8ff323 --- /dev/null +++ b/specification/elastic/Elastic.Management/tspconfig.yaml @@ -0,0 +1,52 @@ +parameters: + "service-dir": + default: "sdk/elastic" +emit: + - "@azure-tools/typespec-autorest" +options: + "@azure-tools/typespec-autorest": + omit-unreachable-types: true + emitter-output-dir: "{project-root}/.." + azure-resource-provider-folder: "resource-manager" + output-file: "{azure-resource-provider-folder}/{service-name}/{version-status}/{version}/elastic.json" + examples-dir: "{project-root}/examples" + emit-lro-options: "all" + "@azure-tools/typespec-csharp": + flavor: azure + clear-output-folder: true + model-namespace: true + namespace: "Azure.ResourceManager.Elastic" + emitter-output-dir: "{output-dir}/{service-dir}/{namespace}" + "@azure-tools/typespec-python": + emitter-output-dir: "{output-dir}/{service-dir}/azure-mgmt-elastic" + namespace: "azure.mgmt.elastic" + generate-test: true + generate-sample: true + flavor: "azure" + "@azure-tools/typespec-java": + emitter-output-dir: "{output-dir}/{service-dir}/azure-resourcemanager-elastic" + namespace: "com.azure.resourcemanager.elastic" + service-name: "Elastic" # human-readable service name, whitespace allowed + flavor: azure + "@azure-tools/typespec-ts": + service-dir: sdk/elastic + emitter-output-dir: "{output-dir}/{service-dir}/arm-elastic" + typespec-title-map: + ElasticClient: "MicrosoftElastic" + flavor: "azure" + experimental-extensible-enums: true + package-details: + name: "@azure/arm-elastic" + "@azure-tools/typespec-go": + service-dir: "sdk/resourcemanager/elastic" + emitter-output-dir: "{output-dir}/{service-dir}/armelastic" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armelastic" + fix-const-stuttering: false + flavor: "azure" + generate-samples: true + generate-fakes: true + head-as-boolean: true + inject-spans: true +linter: + extends: + - "@azure-tools/typespec-azure-rulesets/resource-manager" diff --git a/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/elastic.json b/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/elastic.json index 30f7dd4be1f0..ced93fd36fcc 100644 --- a/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/elastic.json +++ b/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/elastic.json @@ -2,40 +2,66 @@ "swagger": "2.0", "info": { "title": "Microsoft.Elastic", - "version": "2025-06-01" + "version": "2025-06-01", + "x-typespec-generated": [ + { + "emitter": "@azure-tools/typespec-autorest" + } + ] }, - "host": "management.azure.com", "schemes": [ "https" ], - "consumes": [ + "host": "management.azure.com", + "produces": [ "application/json" ], - "produces": [ + "consumes": [ "application/json" ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], "securityDefinitions": { "azure_auth": { "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "description": "Azure Active Directory OAuth2 Flow.", "flow": "implicit", - "description": "Microsoft Entra ID OAuth2 Flow", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", "scopes": { "user_impersonation": "impersonate your user account" } } }, + "tags": [ + { + "name": "Operations" + }, + { + "name": "ElasticMonitorResources" + }, + { + "name": "MonitoredSubscriptions" + }, + { + "name": "OpenAIIntegrationRPModels" + }, + { + "name": "TagRules" + } + ], "paths": { "/providers/Microsoft.Elastic/operations": { "get": { - "tags": [ - "MonitorsResource" - ], - "summary": "List all operations provided by Microsoft.Elastic.", "operationId": "Operations_List", - "produces": [ - "application/json" + "tags": [ + "Operations" ], + "description": "List the operations for the provider", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" @@ -43,80 +69,111 @@ ], "responses": { "200": { - "description": "Success", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/OperationListResult" } }, "default": { - "description": "Default error response.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/ResourceProviderDefaultErrorResponse" } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { "Operations_List": { "$ref": "./examples/Operations_List.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Elastic/monitors": { + "/subscriptions/{subscriptionId}/providers/Microsoft.Elastic/elasticVersions": { "get": { - "tags": [ - "MonitorsResource" - ], - "summary": "List all Elastic monitor resources within a specified subscription, helping you audit and manage your monitoring setup.", - "operationId": "Monitors_List", - "produces": [ - "application/json" - ], + "operationId": "ElasticVersions_List", + "summary": "Retrieve a list of all available Elastic versions for a specified region, helping you choose the best version for your deployment.", + "description": "Retrieve a list of all available Elastic versions for a specified region, helping you choose the best version for your deployment.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "region", + "in": "query", + "description": "Region where elastic deployment will take place.", + "required": true, + "type": "string" } ], "responses": { "200": { - "description": "Success", + "description": "The request has succeeded.", "schema": { - "$ref": "#/definitions/ElasticMonitorResourceListResponse" + "$ref": "#/definitions/ElasticVersionsListResponse" } }, "default": { - "description": "Default error response.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/ResourceProviderDefaultErrorResponse" } } }, + "x-ms-examples": { + "ElasticVersions_List": { + "$ref": "./examples/ElasticVersions_List.json" + } + }, "x-ms-pageable": { "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Elastic/getElasticOrganizationToAzureSubscriptionMapping": { + "post": { + "operationId": "Organizations_GetElasticToAzureSubscriptionMapping", + "summary": "Retrieve mapping details between the Elastic Organization and Azure Subscription for the logged-in user.", + "description": ">;\n /**\nRetrieve mapping details between the Elastic Organization and Azure Subscription for the logged-in user.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/ElasticOrganizationToAzureSubscriptionMappingResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ResourceProviderDefaultErrorResponse" + } + } }, "x-ms-examples": { - "Monitors_List": { - "$ref": "./examples/Monitors_List.json" + "Organizations_GetElasticToAzureSubscriptionMapping": { + "$ref": "./examples/Organizations_GetElasticToAzureSubscriptionMapping.json" } } } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Elastic/elasticVersions": { - "get": { - "tags": [ - "ElasticVersions" - ], - "summary": "Retrieve a list of all available Elastic versions for a specified region, helping you choose the best version for your deployment.", - "operationId": "ElasticVersions_List", - "produces": [ - "application/json" - ], + "/subscriptions/{subscriptionId}/providers/Microsoft.Elastic/getOrganizationApiKey": { + "post": { + "operationId": "Organizations_GetApiKey", + "summary": "Fetch the User API Key from the internal database, if it was generated and stored during the creation of the Elasticsearch Organization.", + "description": "Fetch the User API Key from the internal database, if it was generated and stored during the creation of the Elasticsearch Organization.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" @@ -125,47 +182,82 @@ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "in": "query", - "name": "region", - "description": "Region where elastic deployment will take place.", - "required": true, - "type": "string" + "name": "body", + "in": "body", + "description": "The request body", + "required": false, + "schema": { + "$ref": "#/definitions/UserEmailId" + } } ], "responses": { "200": { - "description": "Success", + "description": "The request has succeeded.", "schema": { - "$ref": "#/definitions/ElasticVersionsListResponse" + "$ref": "#/definitions/UserApiKeyResponse" } }, "default": { - "description": "Default error response.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/ResourceProviderDefaultErrorResponse" } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { - "ElasticVersions_List": { - "$ref": "./examples/ElasticVersions_List.json" + "Organizations_GetApiKey": { + "$ref": "./examples/Organizations_GetApiKey.json" } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors": { + "/subscriptions/{subscriptionId}/providers/Microsoft.Elastic/monitors": { "get": { + "operationId": "Monitors_List", "tags": [ - "MonitorsResource" + "ElasticMonitorResources" ], - "summary": "List all Elastic monitor resources within a specified resource group of the subscription, helping you audit and manage your monitoring setup.", + "description": "List all Elastic monitor resources within a specified subscription, helping you audit and manage your monitoring setup.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ElasticMonitorResourceListResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ResourceProviderDefaultErrorResponse" + } + } + }, + "x-ms-examples": { + "Monitors_List": { + "$ref": "./examples/Monitors_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors": { + "get": { "operationId": "Monitors_ListByResourceGroup", - "produces": [ - "application/json" + "tags": [ + "ElasticMonitorResources" ], + "description": "List all Elastic monitor resources within a specified resource group of the subscription, helping you audit and manage your monitoring setup.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" @@ -179,38 +271,35 @@ ], "responses": { "200": { - "description": "Success", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/ElasticMonitorResourceListResponse" } }, "default": { - "description": "Default error response.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/ResourceProviderDefaultErrorResponse" } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { "Monitors_ListByResourceGroup": { "$ref": "./examples/Monitors_ListByResourceGroup.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}": { "get": { - "tags": [ - "MonitorsResource" - ], - "summary": "Get detailed properties of a specific Elastic monitor resource, helping you manage observability and performance.", "operationId": "Monitors_Get", - "produces": [ - "application/json" + "tags": [ + "ElasticMonitorResources" ], + "description": "Get detailed properties of a specific Elastic monitor resource, helping you manage observability and performance.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" @@ -222,18 +311,23 @@ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/MonitorNameParameter" + "name": "monitorName", + "in": "path", + "description": "Monitor resource name", + "required": true, + "type": "string", + "pattern": "^.*$" } ], "responses": { "200": { - "description": "Success", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/ElasticMonitorResource" } }, "default": { - "description": "Default error response.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/ResourceProviderDefaultErrorResponse" } @@ -246,17 +340,11 @@ } }, "put": { - "tags": [ - "MonitorsResource" - ], - "summary": "Create a new Elastic monitor resource in your Azure subscription, enabling observability and monitoring of your Azure resources through Elastic.", "operationId": "Monitors_Create", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" + "tags": [ + "ElasticMonitorResources" ], + "description": "Create a new Elastic monitor resource in your Azure subscription, enabling observability and monitoring of your Azure resources through Elastic.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" @@ -268,12 +356,17 @@ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/MonitorNameParameter" + "name": "monitorName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^.*$" }, { - "in": "body", "name": "body", + "in": "body", "description": "Elastic monitor resource model", + "required": false, "schema": { "$ref": "#/definitions/ElasticMonitorResource" } @@ -281,46 +374,52 @@ ], "responses": { "200": { - "description": "Success", + "description": "Resource 'ElasticMonitorResource' update operation succeeded", "schema": { "$ref": "#/definitions/ElasticMonitorResource" } }, "201": { - "description": "Success", + "description": "Resource 'ElasticMonitorResource' create operation succeeded", "schema": { "$ref": "#/definitions/ElasticMonitorResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } } }, "default": { - "description": "Default error response.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/ResourceProviderDefaultErrorResponse" } } }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { "Monitors_Create": { "$ref": "./examples/Monitors_Create.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/ElasticMonitorResource" + }, + "x-ms-long-running-operation": true }, "patch": { - "tags": [ - "MonitorsResource" - ], - "summary": "Update an existing Elastic monitor resource in your Azure subscription, ensuring optimal observability and performance.", "operationId": "Monitors_Update", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" + "tags": [ + "ElasticMonitorResources" ], + "description": "Update an existing Elastic monitor resource in your Azure subscription, ensuring optimal observability and performance.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" @@ -332,12 +431,17 @@ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/MonitorNameParameter" + "name": "monitorName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^.*$" }, { - "in": "body", "name": "body", + "in": "body", "description": "Elastic resource model update parameters.", + "required": false, "schema": { "$ref": "#/definitions/ElasticMonitorResourceUpdateParameters" } @@ -345,48 +449,47 @@ ], "responses": { "200": { - "description": "Success", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/ElasticMonitorResource" } }, "202": { + "description": "The request has been accepted for processing, but processing has not yet completed.", + "schema": { + "$ref": "#/definitions/ElasticMonitorResource" + }, "headers": { "Location": { - "type": "string" + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." } - }, - "description": "Accepted", - "schema": { - "$ref": "#/definitions/ElasticMonitorResource" } }, "default": { - "description": "Default error response.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, "x-ms-examples": { "Monitors_Update": { "$ref": "./examples/Monitors_Update.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/ElasticMonitorResource" + }, + "x-ms-long-running-operation": true }, "delete": { - "tags": [ - "MonitorsResource" - ], - "summary": "Delete an existing Elastic monitor resource from your Azure subscription, removing its observability and monitoring capabilities.", "operationId": "Monitors_Delete", - "produces": [ - "application/json" + "tags": [ + "ElasticMonitorResources" ], + "description": "Delete an existing Elastic monitor resource from your Azure subscription, removing its observability and monitoring capabilities.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" @@ -398,45 +501,64 @@ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/MonitorNameParameter" + "name": "monitorName", + "in": "path", + "description": "Monitor resource name", + "required": true, + "type": "string", + "pattern": "^.*$" } ], "responses": { "200": { - "description": "Success" + "description": "Resource deleted successfully." }, "202": { - "description": "Success" + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } }, "204": { - "description": "Success" + "description": "Resource does not exist." }, "default": { - "description": "Default error response.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/ResourceProviderDefaultErrorResponse" } } }, - "x-ms-long-running-operation": true, "x-ms-examples": { "Monitors_Delete": { "$ref": "./examples/Monitors_Delete.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}/monitoredSubscriptions": { - "get": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}/associateTrafficFilter": { + "post": { + "operationId": "AssociateTrafficFilter_Associate", "tags": [ - "monitoredSubscriptions" - ], - "summary": "List all subscriptions currently being monitored by the Elastic monitor resource, helping you manage observability.", - "operationId": "MonitoredSubscriptions_List", - "produces": [ - "application/json" + "ElasticMonitorResources" ], + "description": "Associate a traffic filter with your Elastic monitor resource to control and manage network traffic.", "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, @@ -444,47 +566,65 @@ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/MonitorNameParameter" + "name": "monitorName", + "in": "path", + "description": "Monitor resource name", + "required": true, + "type": "string", + "pattern": "^.*$" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "name": "rulesetId", + "in": "query", + "description": "Ruleset Id of the filter", + "required": false, + "type": "string" } ], "responses": { - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/MonitoredSubscriptionPropertiesList" + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } } }, "default": { - "description": "Default error response.", + "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "#/definitions/ResourceProviderDefaultErrorResponse" } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { - "Monitors_GetMonitoredSubscriptions": { - "$ref": "./examples/MonitoredSubscriptions_List.json" + "AssociateTrafficFilter_Associate": { + "$ref": "./examples/AssociateTrafficFilter_Update.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}/monitoredSubscriptions/{configurationName}": { - "get": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}/createAndAssociateIPFilter": { + "post": { + "operationId": "createAndAssociateIPFilter_Create", "tags": [ - "monitoredSubscriptions" - ], - "summary": "Get detailed information about all subscriptions currently being monitored by the Elastic monitor resource.", - "operationId": "MonitoredSubscriptions_Get", - "produces": [ - "application/json" + "ElasticMonitorResources" ], + "description": "Create and associate an IP filter with your Elastic monitor resource to control and manage network traffic.", "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, @@ -492,48 +632,75 @@ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/MonitorNameParameter" + "name": "monitorName", + "in": "path", + "description": "Monitor resource name", + "required": true, + "type": "string", + "pattern": "^.*$" }, { - "$ref": "#/parameters/ConfigurationNameParameter" + "name": "ips", + "in": "query", + "description": "List of ips", + "required": false, + "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "name": "name", + "in": "query", + "description": "Name of the traffic filter", + "required": false, + "type": "string" } ], "responses": { "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/MonitoredSubscriptionProperties" + "description": "Azure operation completed successfully." + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } } }, "default": { - "description": "Default error response.", + "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "#/definitions/ResourceProviderDefaultErrorResponse" } } }, "x-ms-examples": { - "Monitors_GetMonitoredSubscriptions": { - "$ref": "./examples/MonitoredSubscriptions_Get.json" + "createAndAssociateIPFilter_Create": { + "$ref": "./examples/IPTrafficFilter_Create.json" } - } - }, - "put": { + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}/createAndAssociatePLFilter": { + "post": { + "operationId": "createAndAssociatePLFilter_Create", "tags": [ - "monitoredSubscriptions" - ], - "summary": "Add subscriptions to be monitored by the Elastic monitor resource, enabling observability and monitoring.", - "operationId": "MonitoredSubscriptions_CreateorUpdate", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" + "ElasticMonitorResources" ], + "description": "Create and associate a PL filter with your Elastic monitor resource to control and manage network traffic.", "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, @@ -541,174 +708,185 @@ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/MonitorNameParameter" + "name": "monitorName", + "in": "path", + "description": "Monitor resource name", + "required": true, + "type": "string", + "pattern": "^.*$" }, { - "$ref": "#/parameters/ConfigurationNameParameter" + "name": "name", + "in": "query", + "description": "Name of the traffic filter", + "required": false, + "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "name": "privateEndpointGuid", + "in": "query", + "description": "Guid of the private endpoint", + "required": false, + "type": "string" }, { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/MonitoredSubscriptionProperties" - } + "name": "privateEndpointName", + "in": "query", + "description": "Name of the private endpoint", + "required": false, + "type": "string" } ], "responses": { "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/MonitoredSubscriptionProperties" - } + "description": "Azure operation completed successfully." }, - "201": { - "description": "Success", - "schema": { - "$ref": "#/definitions/MonitoredSubscriptionProperties" + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } } }, "default": { - "description": "Default error response.", + "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "#/definitions/ResourceProviderDefaultErrorResponse" } } }, - "x-ms-long-running-operation": true, "x-ms-examples": { - "Monitors_AddMonitoredSubscriptions": { - "$ref": "./examples/MonitoredSubscriptions_CreateorUpdate.json" + "createAndAssociatePLFilter_Create": { + "$ref": "./examples/PrivateLinkTrafficFilters_Create.json" } - } - }, - "patch": { + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}/createOrUpdateExternalUser": { + "post": { + "operationId": "ExternalUser_CreateOrUpdate", "tags": [ - "MonitoredSubscriptions" - ], - "summary": "Update subscriptions to be monitored by the Elastic monitor resource, ensuring optimal observability and performance.", - "operationId": "MonitoredSubscriptions_Update", - "produces": [ - "application/json" + "ElasticMonitorResources" ], + "description": "Create or update external user configurations for your Elastic monitor resource, enabling access and management by external users.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/MonitorNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/ConfigurationNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "name": "monitorName", + "in": "path", + "description": "Monitor resource name", + "required": true, + "type": "string", + "pattern": "^.*$" }, { - "in": "body", "name": "body", + "in": "body", + "description": "Elastic External User Creation Parameters", + "required": false, "schema": { - "$ref": "#/definitions/MonitoredSubscriptionProperties" + "$ref": "#/definitions/ExternalUserInfo" } } ], "responses": { "200": { - "description": "Success", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/MonitoredSubscriptionProperties" + "$ref": "#/definitions/ExternalUserCreationResponse" } }, - "202": { - "headers": { - "Location": { - "type": "string" - } - }, - "description": "Success" - }, "default": { - "description": "Default error response.", + "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "#/definitions/ResourceProviderDefaultErrorResponse" } } }, - "x-ms-long-running-operation": true, "x-ms-examples": { - "Monitors_UpdateMonitoredSubscriptions": { - "$ref": "./examples/MonitoredSubscriptions_Update.json" + "ExternalUser_CreateOrUpdate": { + "$ref": "./examples/ExternalUserInfo.json" } } - }, - "delete": { + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}/deleteTrafficFilter": { + "post": { + "operationId": "TrafficFilters_Delete", "tags": [ - "MonitoredSubscriptions" - ], - "summary": "Delete subscriptions being monitored by the Elastic monitor resource, removing their observability and monitoring capabilities.", - "operationId": "MonitoredSubscriptions_Delete", - "produces": [ - "application/json" + "ElasticMonitorResources" ], + "description": "Delete an existing traffic filter associated with your Elastic monitor resource, removing its network traffic control capabilities.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/MonitorNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/ConfigurationNameParameter" + "name": "monitorName", + "in": "path", + "description": "Monitor resource name", + "required": true, + "type": "string", + "pattern": "^.*$" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "name": "rulesetId", + "in": "query", + "description": "Ruleset Id of the filter", + "required": false, + "type": "string" } ], "responses": { - "202": { - "headers": { - "Location": { - "type": "string" - } - }, - "description": "Success" - }, - "204": { - "description": "Success" + "200": { + "description": "The request has succeeded." }, "default": { - "description": "Default error response.", + "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "#/definitions/ResourceProviderDefaultErrorResponse" } } }, - "x-ms-long-running-operation": true, "x-ms-examples": { - "Monitors_DeleteMonitoredSubscriptions": { - "$ref": "./examples/MonitoredSubscriptions_Delete.json" + "TrafficFilters_Delete": { + "$ref": "./examples/TrafficFilters_Delete.json" } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}/listMonitoredResources": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}/detachAndDeleteTrafficFilter": { "post": { + "operationId": "DetachAndDeleteTrafficFilter_Delete", "tags": [ - "MonitoredResources" - ], - "summary": "List all resources currently being monitored by the Elastic monitor resource, helping you manage observability.", - "operationId": "MonitoredResources_List", - "produces": [ - "application/json" + "ElasticMonitorResources" ], + "description": "Detach and delete an existing traffic filter from your Elastic monitor resource, removing its network traffic control capabilities.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" @@ -720,43 +898,46 @@ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/MonitorNameParameter" + "name": "monitorName", + "in": "path", + "description": "Monitor resource name", + "required": true, + "type": "string", + "pattern": "^.*$" + }, + { + "name": "rulesetId", + "in": "query", + "description": "Ruleset Id of the filter", + "required": false, + "type": "string" } ], "responses": { "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/MonitoredResourceListResponse" - } + "description": "The request has succeeded." }, "default": { - "description": "Default error response.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/ResourceProviderDefaultErrorResponse" } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { - "MonitoredResources_List": { - "$ref": "./examples/MonitoredResources_List.json" + "DetachAndDeleteTrafficFilter_Delete": { + "$ref": "./examples/DetachAndDeleteTrafficFilter_Delete.json" } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}/listDeploymentInfo": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}/detachTrafficFilter": { "post": { + "operationId": "DetachTrafficFilter_Update", "tags": [ - "DeploymentInfo" - ], - "summary": "Fetch detailed information about Elastic cloud deployments corresponding to the Elastic monitor resource.", - "operationId": "DeploymentInfo_List", - "produces": [ - "application/json" + "ElasticMonitorResources" ], + "description": "Detach an existing traffic filter from your Elastic monitor resource, removing its network traffic control capabilities.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" @@ -768,40 +949,61 @@ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/MonitorNameParameter" + "name": "monitorName", + "in": "path", + "description": "Monitor resource name", + "required": true, + "type": "string", + "pattern": "^.*$" + }, + { + "name": "rulesetId", + "in": "query", + "description": "Ruleset Id of the filter", + "required": false, + "type": "string" } ], "responses": { - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/DeploymentInfoResponse" + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } } }, "default": { - "description": "Default error response.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/ResourceProviderDefaultErrorResponse" } } }, "x-ms-examples": { - "DeploymentInfo_List": { - "$ref": "./examples/DeploymentInfo_List.json" + "DetachTrafficFilter_Update": { + "$ref": "./examples/DetachTrafficFilters_Update.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}/createOrUpdateExternalUser": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}/getBillingInfo": { "post": { + "operationId": "BillingInfo_Get", "tags": [ - "DeploymentInfo" - ], - "summary": "Create or update external user configurations for your Elastic monitor resource, enabling access and management by external users.", - "operationId": "ExternalUser_CreateOrUpdate", - "produces": [ - "application/json" + "ElasticMonitorResources" ], + "description": "Retrieve marketplace and organization billing information mapped to the given Elastic monitor resource.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" @@ -813,48 +1015,42 @@ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/MonitorNameParameter" - }, - { - "in": "body", - "name": "body", - "description": "Elastic External User Creation Parameters", - "schema": { - "$ref": "#/definitions/ExternalUserInfo" - } + "name": "monitorName", + "in": "path", + "description": "Monitor resource name", + "required": true, + "type": "string", + "pattern": "^.*$" } ], "responses": { "200": { - "description": "Success", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/ExternalUserCreationResponse" + "$ref": "#/definitions/BillingInfoResponse" } }, "default": { - "description": "Default error response.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/ResourceProviderDefaultErrorResponse" } } }, "x-ms-examples": { - "ExternalUser_CreateOrUpdate": { - "$ref": "./examples/ExternalUserInfo.json" + "BillingInfo_Get": { + "$ref": "./examples/BillingInfo_Get.json" } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}/getBillingInfo": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}/listAllTrafficFilters": { "post": { + "operationId": "AllTrafficFilters_list", "tags": [ - "ConnectedResources" - ], - "summary": "Retrieve marketplace and organization billing information mapped to the given Elastic monitor resource.", - "operationId": "BillingInfo_Get", - "produces": [ - "application/json" + "ElasticMonitorResources" ], + "description": "List all traffic filters associated with your Elastic monitor resource, helping you manage network traffic control.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" @@ -866,40 +1062,42 @@ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/MonitorNameParameter" + "name": "monitorName", + "in": "path", + "description": "Monitor resource name", + "required": true, + "type": "string", + "pattern": "^.*$" } ], "responses": { "200": { - "description": "Success", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/BillingInfoResponse" + "$ref": "#/definitions/ElasticTrafficFilterResponse" } }, "default": { - "description": "Default error response.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/ResourceProviderDefaultErrorResponse" } } }, "x-ms-examples": { - "BillingInfo_Get": { - "$ref": "./examples/BillingInfo_Get.json" + "AllTrafficFilters_list": { + "$ref": "./examples/AllTrafficFilters_list.json" } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}/listConnectedPartnerResources": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}/listAssociatedTrafficFilters": { "post": { + "operationId": "listAssociatedTrafficFilters_list", "tags": [ - "ConnectedResources" - ], - "summary": "List all active deployments associated with the marketplace subscription linked to the given Elastic monitor resource.", - "operationId": "ConnectedPartnerResources_List", - "produces": [ - "application/json" + "ElasticMonitorResources" ], + "description": "List all traffic filters associated with your Elastic monitor resource, helping you manage network traffic control.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" @@ -911,43 +1109,42 @@ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/MonitorNameParameter" + "name": "monitorName", + "in": "path", + "description": "Monitor resource name", + "required": true, + "type": "string", + "pattern": "^.*$" } ], "responses": { "200": { - "description": "Success", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/ConnectedPartnerResourcesListResponse" + "$ref": "#/definitions/ElasticTrafficFilterResponse" } }, "default": { - "description": "Default error response.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/ResourceProviderDefaultErrorResponse" } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { - "ConnectedPartnerResources_List": { - "$ref": "./examples/ConnectedPartnerResources_List.json" + "listAssociatedTrafficFilters_list": { + "$ref": "./examples/AssociatedFiltersForDeployment_list.json" } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}/openAIIntegrations": { - "get": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}/listConnectedPartnerResources": { + "post": { + "operationId": "ConnectedPartnerResources_List", "tags": [ - "OpenAIIntegration" - ], - "summary": "List all OpenAI integration rules for a given Elastic monitor resource, helping you manage AI-driven observability and monitoring.", - "operationId": "OpenAI_List", - "produces": [ - "application/json" + "ElasticMonitorResources" ], + "description": "List all active deployments associated with the marketplace subscription linked to the given Elastic monitor resource.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" @@ -959,43 +1156,45 @@ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/MonitorNameParameter" + "name": "monitorName", + "in": "path", + "description": "Monitor resource name", + "required": true, + "type": "string", + "pattern": "^.*$" } ], "responses": { "200": { - "description": "Success", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/OpenAIIntegrationRPModelListResponse" + "$ref": "#/definitions/ConnectedPartnerResourcesListResponse" } }, "default": { - "description": "Default error response.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/ResourceProviderDefaultErrorResponse" } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { - "OpenAI_List": { - "$ref": "./examples/OpenAI_List.json" + "ConnectedPartnerResources_List": { + "$ref": "./examples/ConnectedPartnerResources_List.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}/openAIIntegrations/{integrationName}": { - "get": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}/listDeploymentInfo": { + "post": { + "operationId": "DeploymentInfo_List", "tags": [ - "OpenAIIntegration" - ], - "summary": "Get detailed information about OpenAI integration rules for a given Elastic monitor resource.", - "operationId": "OpenAI_Get", - "produces": [ - "application/json" + "ElasticMonitorResources" ], + "description": "Fetch detailed information about Elastic cloud deployments corresponding to the Elastic monitor resource.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" @@ -1007,44 +1206,42 @@ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/MonitorNameParameter" - }, - { - "$ref": "#/parameters/OpenAIIntegrationNameParameter" + "name": "monitorName", + "in": "path", + "description": "Monitor resource name", + "required": true, + "type": "string", + "pattern": "^.*$" } ], "responses": { "200": { - "description": "Success", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/OpenAIIntegrationRPModel" + "$ref": "#/definitions/DeploymentInfoResponse" } }, "default": { - "description": "Default error response.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/ResourceProviderDefaultErrorResponse" } } }, "x-ms-examples": { - "OpenAI_Get": { - "$ref": "./examples/OpenAI_Get.json" + "DeploymentInfo_List": { + "$ref": "./examples/DeploymentInfo_List.json" } } - }, - "put": { + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}/listMonitoredResources": { + "post": { + "operationId": "MonitoredResources_List", "tags": [ - "OpenAIIntegration" - ], - "summary": "Create or update an OpenAI integration rule for a given Elastic monitor resource, enabling advanced AI-driven observability and monitoring.", - "operationId": "OpenAI_CreateOrUpdate", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" + "ElasticMonitorResources" ], + "description": "List all resources currently being monitored by the Elastic monitor resource, helping you manage observability.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" @@ -1056,54 +1253,45 @@ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/MonitorNameParameter" - }, - { - "$ref": "#/parameters/OpenAIIntegrationNameParameter" - }, - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/OpenAIIntegrationRPModel" - } + "name": "monitorName", + "in": "path", + "description": "Monitor resource name", + "required": true, + "type": "string", + "pattern": "^.*$" } ], "responses": { "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/OpenAIIntegrationRPModel" - } - }, - "201": { - "description": "Success", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/OpenAIIntegrationRPModel" + "$ref": "#/definitions/MonitoredResourceListResponse" } }, "default": { - "description": "Default error response.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/ResourceProviderDefaultErrorResponse" } } }, "x-ms-examples": { - "OpenAI_CreateOrUpdate": { - "$ref": "./examples/OpenAI_CreateOrUpdate.json" + "MonitoredResources_List": { + "$ref": "./examples/MonitoredResources_List.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } - }, - "delete": { + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}/listUpgradableVersions": { + "post": { + "operationId": "UpgradableVersions_Details", "tags": [ - "OpenAIIntegration" - ], - "summary": "Delete an OpenAI integration rule for a given Elastic monitor resource, removing AI-driven observability and monitoring capabilities.", - "operationId": "OpenAI_Delete", - "produces": [ - "application/json" + "ElasticMonitorResources" ], + "description": "List all upgradable versions for your Elastic monitor resource, helping you plan and execute upgrades.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" @@ -1115,43 +1303,42 @@ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/MonitorNameParameter" - }, - { - "$ref": "#/parameters/OpenAIIntegrationNameParameter" + "name": "monitorName", + "in": "path", + "description": "Monitor resource name", + "required": true, + "type": "string", + "pattern": "^.*$" } ], "responses": { "200": { - "description": "Success" - }, - "204": { - "description": "Success" + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/UpgradableVersionsList" + } }, "default": { - "description": "Default error response.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/ResourceProviderDefaultErrorResponse" } } }, "x-ms-examples": { - "OpenAI_Delete": { - "$ref": "./examples/OpenAI_Delete.json" + "UpgradableVersions_Details": { + "$ref": "./examples/UpgradableVersions_Details.json" } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}/openAIIntegrations/{integrationName}/getStatus": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}/listVMHost": { "post": { + "operationId": "VMHost_List", "tags": [ - "OpenAIIntegration" - ], - "summary": "Get the status of OpenAI integration for a given Elastic monitor resource, ensuring optimal observability and performance.", - "operationId": "OpenAI_GetStatus", - "produces": [ - "application/json" + "ElasticMonitorResources" ], + "description": "List all VM resources currently being monitored by the Elastic monitor resource, helping you manage observability.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" @@ -1163,43 +1350,45 @@ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/MonitorNameParameter" - }, - { - "$ref": "#/parameters/OpenAIIntegrationNameParameter" + "name": "monitorName", + "in": "path", + "description": "Monitor resource name", + "required": true, + "type": "string", + "pattern": "^.*$" } ], "responses": { "200": { - "description": "Success", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/OpenAIIntegrationStatusResponse" + "$ref": "#/definitions/VMHostListResponse" } }, "default": { - "description": "Default error response.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/ResourceProviderDefaultErrorResponse" } } }, "x-ms-examples": { - "OpenAI_GetStatus": { - "$ref": "./examples/OpenAI_GetStatus.json" + "VMHost_List": { + "$ref": "./examples/VMHost_List.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}/tagRules": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}/monitoredSubscriptions": { "get": { + "operationId": "MonitoredSubscriptions_List", "tags": [ - "Rules" - ], - "summary": "List all tag rules for a given Elastic monitor resource, helping you manage fine-grained control over observability based on resource tags.", - "operationId": "TagRules_List", - "produces": [ - "application/json" + "MonitoredSubscriptions" ], + "description": "List all subscriptions currently being monitored by the Elastic monitor resource, helping you manage observability.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" @@ -1211,46 +1400,45 @@ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/MonitorNameParameter" + "name": "monitorName", + "in": "path", + "description": "Monitor resource name", + "required": true, + "type": "string", + "pattern": "^.*$" } ], "responses": { "200": { - "description": "Success", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/MonitoringTagRulesListResponse" + "$ref": "#/definitions/MonitoredSubscriptionPropertiesList" } }, "default": { - "description": "Default error response.", + "description": "An unexpected error response.", "schema": { - "$ref": "#/definitions/ResourceProviderDefaultErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { - "TagRules_List": { - "$ref": "./examples/TagRules_List.json" + "Monitors_GetMonitoredSubscriptions": { + "$ref": "./examples/MonitoredSubscriptions_List.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}/tagRules/{ruleSetName}": { - "put": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}/monitoredSubscriptions/{configurationName}": { + "get": { + "operationId": "MonitoredSubscriptions_Get", "tags": [ - "Rules" - ], - "summary": "Create or update a tag rule set for a given Elastic monitor resource, enabling fine-grained control over observability based on resource tags.", - "operationId": "TagRules_CreateOrUpdate", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" + "MonitoredSubscriptions" ], + "description": "Get detailed information about all subscriptions currently being monitored by the Elastic monitor resource.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" @@ -1262,49 +1450,48 @@ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/MonitorNameParameter" - }, - { - "$ref": "#/parameters/RuleSetNameParameter" + "name": "monitorName", + "in": "path", + "description": "Monitor resource name", + "required": true, + "type": "string", + "pattern": "^.*$" }, { - "description": "request body of MonitoringTagRules", - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/MonitoringTagRules" - } + "name": "configurationName", + "in": "path", + "description": "The configuration name. Only 'default' value is supported.", + "required": true, + "type": "string", + "pattern": "^.*$" } ], "responses": { "200": { - "description": "Success", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/MonitoringTagRules" + "$ref": "#/definitions/MonitoredSubscriptionProperties" } }, "default": { - "description": "Default error response.", + "description": "An unexpected error response.", "schema": { - "$ref": "#/definitions/ResourceProviderDefaultErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "TagRules_CreateOrUpdate": { - "$ref": "./examples/TagRules_CreateOrUpdate.json" + "Monitors_GetMonitoredSubscriptions": { + "$ref": "./examples/MonitoredSubscriptions_Get.json" } } }, - "get": { + "put": { + "operationId": "MonitoredSubscriptions_CreateorUpdate", "tags": [ - "Rules" - ], - "summary": "Get detailed information about a tag rule set for a given Elastic monitor resource.", - "operationId": "TagRules_Get", - "produces": [ - "application/json" + "MonitoredSubscriptions" ], + "description": "Add subscriptions to be monitored by the Elastic monitor resource, enabling observability and monitoring.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" @@ -1316,41 +1503,77 @@ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/MonitorNameParameter" + "name": "monitorName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^.*$" + }, + { + "name": "configurationName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^.*$" }, { - "$ref": "#/parameters/RuleSetNameParameter" + "name": "body", + "in": "body", + "description": "", + "required": false, + "schema": { + "$ref": "#/definitions/MonitoredSubscriptionProperties" + } } ], "responses": { "200": { - "description": "Success", + "description": "Resource 'MonitoredSubscriptionProperties' update operation succeeded", "schema": { - "$ref": "#/definitions/MonitoringTagRules" + "$ref": "#/definitions/MonitoredSubscriptionProperties" + } + }, + "201": { + "description": "Resource 'MonitoredSubscriptionProperties' create operation succeeded", + "schema": { + "$ref": "#/definitions/MonitoredSubscriptionProperties" + }, + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } } }, "default": { - "description": "Default error response.", + "description": "An unexpected error response.", "schema": { - "$ref": "#/definitions/ResourceProviderDefaultErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "TagRules_Get": { - "$ref": "./examples/TagRules_Get.json" + "Monitors_AddMonitoredSubscriptions": { + "$ref": "./examples/MonitoredSubscriptions_CreateorUpdate.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/MonitoredSubscriptionProperties" + }, + "x-ms-long-running-operation": true }, - "delete": { + "patch": { + "operationId": "MonitoredSubscriptions_Update", "tags": [ - "Rules" - ], - "summary": "Delete a tag rule set for a given Elastic monitor resource, removing fine-grained control over observability based on resource tags.", - "operationId": "TagRules_Delete", - "produces": [ - "application/json" + "MonitoredSubscriptions" ], + "description": "Update subscriptions to be monitored by the Elastic monitor resource, ensuring optimal observability and performance.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" @@ -1362,47 +1585,74 @@ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/MonitorNameParameter" + "name": "monitorName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^.*$" + }, + { + "name": "configurationName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^.*$" }, { - "$ref": "#/parameters/RuleSetNameParameter" + "name": "body", + "in": "body", + "description": "", + "required": false, + "schema": { + "$ref": "#/definitions/MonitoredSubscriptionProperties" + } } ], "responses": { "200": { - "description": "Success" + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/MonitoredSubscriptionProperties" + } }, "202": { - "description": "Success" - }, - "204": { - "description": "Success" + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } }, "default": { - "description": "Default error response.", + "description": "An unexpected error response.", "schema": { - "$ref": "#/definitions/ResourceProviderDefaultErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, - "x-ms-long-running-operation": true, "x-ms-examples": { - "TagRules_Delete": { - "$ref": "./examples/TagRules_Delete.json" + "Monitors_UpdateMonitoredSubscriptions": { + "$ref": "./examples/MonitoredSubscriptions_Update.json" } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}/listVMHost": { - "post": { + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/MonitoredSubscriptionProperties" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "MonitoredSubscriptions_Delete", "tags": [ - "VMHHostList" - ], - "summary": "List all VM resources currently being monitored by the Elastic monitor resource, helping you manage observability.", - "operationId": "VMHost_List", - "produces": [ - "application/json" + "MonitoredSubscriptions" ], + "description": "Delete subscriptions being monitored by the Elastic monitor resource, removing their observability and monitoring capabilities.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" @@ -1414,43 +1664,65 @@ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/MonitorNameParameter" + "name": "monitorName", + "in": "path", + "description": "Monitor resource name", + "required": true, + "type": "string", + "pattern": "^.*$" + }, + { + "name": "configurationName", + "in": "path", + "description": "The configuration name. Only 'default' value is supported.", + "required": true, + "type": "string", + "pattern": "^.*$" } ], "responses": { - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/VMHostListResponse" + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } } }, + "204": { + "description": "Resource does not exist." + }, "default": { - "description": "Default error response.", + "description": "An unexpected error response.", "schema": { - "$ref": "#/definitions/ResourceProviderDefaultErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { - "VMHost_List": { - "$ref": "./examples/VMHost_List.json" + "Monitors_DeleteMonitoredSubscriptions": { + "$ref": "./examples/MonitoredSubscriptions_Delete.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}/vmIngestionDetails": { - "post": { - "tags": [ - "VMIngestionDetails" - ], - "summary": "List detailed information about VM ingestion that will be monitored by the Elastic monitor resource, ensuring optimal observability and performance.", - "operationId": "VMIngestion_Details", - "produces": [ - "application/json" + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}/openAIIntegrations": { + "get": { + "operationId": "OpenAI_List", + "tags": [ + "OpenAIIntegrationRPModels" ], + "description": "List all OpenAI integration rules for a given Elastic monitor resource, helping you manage AI-driven observability and monitoring.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" @@ -1462,40 +1734,45 @@ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/MonitorNameParameter" + "name": "monitorName", + "in": "path", + "description": "Monitor resource name", + "required": true, + "type": "string", + "pattern": "^.*$" } ], "responses": { "200": { - "description": "Success", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/VMIngestionDetailsResponse" + "$ref": "#/definitions/OpenAIIntegrationRPModelListResponse" } }, "default": { - "description": "Default error response.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/ResourceProviderDefaultErrorResponse" } } }, "x-ms-examples": { - "VMIngestion_Details": { - "$ref": "./examples/VMIngestion_Details.json" + "OpenAI_List": { + "$ref": "./examples/OpenAI_List.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}/vmCollectionUpdate": { - "post": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}/openAIIntegrations/{integrationName}": { + "get": { + "operationId": "OpenAI_Get", "tags": [ - "VMCollectionUpdate" - ], - "summary": "Update the VM details that will be monitored by the Elastic monitor resource, ensuring optimal observability and performance.", - "operationId": "VMCollection_Update", - "produces": [ - "application/json" + "OpenAIIntegrationRPModels" ], + "description": "Get detailed information about OpenAI integration rules for a given Elastic monitor resource.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" @@ -1507,45 +1784,48 @@ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/MonitorNameParameter" + "name": "monitorName", + "in": "path", + "description": "Monitor resource name", + "required": true, + "type": "string", + "pattern": "^.*$" }, { - "in": "body", - "name": "body", - "description": "VM resource Id", - "schema": { - "$ref": "#/definitions/VMCollectionUpdate" - } + "name": "integrationName", + "in": "path", + "description": "OpenAI Integration name", + "required": true, + "type": "string", + "pattern": "^[a-z][a-z0-9]*$" } ], "responses": { "200": { - "description": "Success" + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/OpenAIIntegrationRPModel" + } }, "default": { - "description": "Default error response.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/ResourceProviderDefaultErrorResponse" } } }, "x-ms-examples": { - "VMCollection_Update": { - "$ref": "./examples/VMCollection_Update.json" + "OpenAI_Get": { + "$ref": "./examples/OpenAI_Get.json" } } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}/listUpgradableVersions": { - "post": { + }, + "put": { + "operationId": "OpenAI_CreateOrUpdate", "tags": [ - "MonitorUpgradableVersions" - ], - "summary": "List all upgradable versions for your Elastic monitor resource, helping you plan and execute upgrades.", - "operationId": "UpgradableVersions_Details", - "produces": [ - "application/json" + "OpenAIIntegrationRPModels" ], + "description": "Create or update an OpenAI integration rule for a given Elastic monitor resource, enabling advanced AI-driven observability and monitoring.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" @@ -1557,43 +1837,61 @@ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/MonitorNameParameter" + "name": "monitorName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^.*$" + }, + { + "name": "integrationName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[a-z][a-z0-9]*$" + }, + { + "name": "body", + "in": "body", + "description": "", + "required": false, + "schema": { + "$ref": "#/definitions/OpenAIIntegrationRPModel" + } } ], "responses": { "200": { - "description": "Success", + "description": "Resource 'OpenAIIntegrationRPModel' update operation succeeded", "schema": { - "$ref": "#/definitions/UpgradableVersionsList" + "$ref": "#/definitions/OpenAIIntegrationRPModel" + } + }, + "201": { + "description": "Resource 'OpenAIIntegrationRPModel' create operation succeeded", + "schema": { + "$ref": "#/definitions/OpenAIIntegrationRPModel" } }, "default": { - "description": "Default error response.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/ResourceProviderDefaultErrorResponse" } } }, "x-ms-examples": { - "UpgradableVersions_Details": { - "$ref": "./examples/UpgradableVersions_Details.json" + "OpenAI_CreateOrUpdate": { + "$ref": "./examples/OpenAI_CreateOrUpdate.json" } } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}/upgrade": { - "post": { + }, + "delete": { + "operationId": "OpenAI_Delete", "tags": [ - "DeploymentUpdate" - ], - "summary": "Upgrade the Elastic monitor resource to a newer version, ensuring optimal observability and performance.", - "operationId": "Monitor_Upgrade", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" + "OpenAIIntegrationRPModels" ], + "description": "Delete an OpenAI integration rule for a given Elastic monitor resource, removing AI-driven observability and monitoring capabilities.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" @@ -1605,46 +1903,50 @@ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/MonitorNameParameter" + "name": "monitorName", + "in": "path", + "description": "Monitor resource name", + "required": true, + "type": "string", + "pattern": "^.*$" }, { - "in": "body", - "name": "body", - "description": "Elastic Monitor Upgrade Parameters", - "schema": { - "$ref": "#/definitions/ElasticMonitorUpgrade" - } + "name": "integrationName", + "in": "path", + "description": "OpenAI Integration name", + "required": true, + "type": "string", + "pattern": "^[a-z][a-z0-9]*$" } ], "responses": { - "202": { - "description": "Success" + "200": { + "description": "Resource deleted successfully." + }, + "204": { + "description": "Resource does not exist." }, "default": { - "description": "Default error response.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/ResourceProviderDefaultErrorResponse" } } }, - "x-ms-long-running-operation": true, "x-ms-examples": { - "Monitor_Upgrade": { - "$ref": "./examples/Monitor_Upgrade.json" + "OpenAI_Delete": { + "$ref": "./examples/OpenAI_Delete.json" } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}/listAllTrafficFilters": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}/openAIIntegrations/{integrationName}/getStatus": { "post": { + "operationId": "OpenAI_GetStatus", "tags": [ - "TrafficFilter" - ], - "summary": "List all traffic filters associated with your Elastic monitor resource, helping you manage network traffic control.", - "operationId": "AllTrafficFilters_list", - "produces": [ - "application/json" + "OpenAIIntegrationRPModels" ], + "description": "Get the status of OpenAI integration for a given Elastic monitor resource, ensuring optimal observability and performance.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" @@ -1656,40 +1958,50 @@ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/MonitorNameParameter" + "name": "monitorName", + "in": "path", + "description": "Monitor resource name", + "required": true, + "type": "string", + "pattern": "^.*$" + }, + { + "name": "integrationName", + "in": "path", + "description": "OpenAI Integration name", + "required": true, + "type": "string", + "pattern": "^[a-z][a-z0-9]*$" } ], "responses": { "200": { - "description": "Success", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/ElasticTrafficFilterResponse" + "$ref": "#/definitions/OpenAIIntegrationStatusResponse" } }, "default": { - "description": "Default error response.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/ResourceProviderDefaultErrorResponse" } } }, "x-ms-examples": { - "AllTrafficFilters_list": { - "$ref": "./examples/AllTrafficFilters_list.json" + "OpenAI_GetStatus": { + "$ref": "./examples/OpenAI_GetStatus.json" } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}/listAssociatedTrafficFilters": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}/resubscribe": { "post": { + "operationId": "Organizations_Resubscribe", "tags": [ - "TrafficFilter" - ], - "summary": "List all traffic filters associated with your Elastic monitor resource, helping you manage network traffic control.", - "operationId": "listAssociatedTrafficFilters_list", - "produces": [ - "application/json" + "ElasticMonitorResources" ], + "description": "Resubscribe the Elasticsearch Organization.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" @@ -1701,40 +2013,70 @@ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/MonitorNameParameter" + "name": "monitorName", + "in": "path", + "description": "Monitor resource name", + "required": true, + "type": "string", + "pattern": "^.*$" + }, + { + "name": "body", + "in": "body", + "description": "Resubscribe Properties", + "required": false, + "schema": { + "$ref": "#/definitions/ResubscribeProperties" + } } ], "responses": { "200": { - "description": "Success", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/ElasticTrafficFilterResponse" + "$ref": "#/definitions/ElasticMonitorResource" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } } }, "default": { - "description": "Default error response.", + "description": "An unexpected error response.", "schema": { - "$ref": "#/definitions/ResourceProviderDefaultErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "listAssociatedTrafficFilters_list": { - "$ref": "./examples/AssociatedFiltersForDeployment_list.json" + "Organizations_Resubscribe": { + "$ref": "./examples/Organizations_Resubscribe.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/ElasticMonitorResource" + }, + "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}/createAndAssociateIPFilter": { - "post": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}/tagRules": { + "get": { + "operationId": "TagRules_List", "tags": [ - "TrafficFilter" - ], - "summary": "Create and associate an IP filter with your Elastic monitor resource to control and manage network traffic.", - "operationId": "createAndAssociateIPFilter_Create", - "produces": [ - "application/json" + "TagRules" ], + "description": "List all tag rules for a given Elastic monitor resource, helping you manage fine-grained control over observability based on resource tags.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" @@ -1746,56 +2088,45 @@ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/MonitorNameParameter" - }, - { - "in": "query", - "name": "ips", - "description": "List of ips", - "type": "string" - }, - { - "in": "query", - "name": "name", - "description": "Name of the traffic filter", - "type": "string" + "name": "monitorName", + "in": "path", + "description": "Monitor resource name", + "required": true, + "type": "string", + "pattern": "^.*$" } ], "responses": { "200": { - "description": "Success" - }, - "202": { - "description": "Accepted" + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/MonitoringTagRulesListResponse" + } }, "default": { - "description": "Default error response.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/ResourceProviderDefaultErrorResponse" } } }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, "x-ms-examples": { - "createAndAssociateIPFilter_Create": { - "$ref": "./examples/IPTrafficFilter_Create.json" + "TagRules_List": { + "$ref": "./examples/TagRules_List.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}/createAndAssociatePLFilter": { - "post": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}/tagRules/{ruleSetName}": { + "get": { + "operationId": "TagRules_Get", "tags": [ - "TrafficFilter" - ], - "summary": "Create and associate a PL filter with your Elastic monitor resource to control and manage network traffic.", - "operationId": "createAndAssociatePLFilter_Create", - "produces": [ - "application/json" + "TagRules" ], + "description": "Get detailed information about a tag rule set for a given Elastic monitor resource.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" @@ -1807,62 +2138,48 @@ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/MonitorNameParameter" - }, - { - "in": "query", - "name": "name", - "description": "Name of the traffic filter", - "type": "string" - }, - { - "in": "query", - "name": "privateEndpointGuid", - "description": "Guid of the private endpoint", - "type": "string" + "name": "monitorName", + "in": "path", + "description": "Monitor resource name", + "required": true, + "type": "string", + "pattern": "^.*$" }, { - "in": "query", - "name": "privateEndpointName", - "description": "Name of the private endpoint", - "type": "string" + "name": "ruleSetName", + "in": "path", + "description": "Tag Rule Set resource name", + "required": true, + "type": "string", + "pattern": "^.*$" } ], "responses": { "200": { - "description": "Success" - }, - "202": { - "description": "Accepted" + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/MonitoringTagRules" + } }, "default": { - "description": "Default error response.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/ResourceProviderDefaultErrorResponse" } } }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, "x-ms-examples": { - "createAndAssociatePLFilter_Create": { - "$ref": "./examples/PrivateLinkTrafficFilters_Create.json" + "TagRules_Get": { + "$ref": "./examples/TagRules_Get.json" } } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}/associateTrafficFilter": { - "post": { + }, + "put": { + "operationId": "TagRules_CreateOrUpdate", "tags": [ - "TrafficFilter" - ], - "summary": "Associate a traffic filter with your Elastic monitor resource to control and manage network traffic.", - "operationId": "AssociateTrafficFilter_Associate", - "produces": [ - "application/json" + "TagRules" ], + "description": "Create or update a tag rule set for a given Elastic monitor resource, enabling fine-grained control over observability based on resource tags.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" @@ -1874,47 +2191,55 @@ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/MonitorNameParameter" + "name": "monitorName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^.*$" + }, + { + "name": "ruleSetName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^.*$" }, { - "in": "query", - "name": "rulesetId", - "description": "Ruleset Id of the filter", - "type": "string" + "name": "body", + "in": "body", + "description": "request body of MonitoringTagRules", + "required": false, + "schema": { + "$ref": "#/definitions/MonitoringTagRules" + } } ], "responses": { - "202": { - "description": "Accepted" + "200": { + "description": "Resource 'MonitoringTagRules' update operation succeeded", + "schema": { + "$ref": "#/definitions/MonitoringTagRules" + } }, "default": { - "description": "Default error response.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/ResourceProviderDefaultErrorResponse" } } }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, "x-ms-examples": { - "AssociateTrafficFilter_Associate": { - "$ref": "./examples/AssociateTrafficFilter_Update.json" + "TagRules_CreateOrUpdate": { + "$ref": "./examples/TagRules_CreateOrUpdate.json" } } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}/detachAndDeleteTrafficFilter": { - "post": { + }, + "delete": { + "operationId": "TagRules_Delete", "tags": [ - "TrafficFilter" - ], - "summary": "Detach and delete an existing traffic filter from your Elastic monitor resource, removing its network traffic control capabilities.", - "operationId": "DetachAndDeleteTrafficFilter_Delete", - "produces": [ - "application/json" + "TagRules" ], + "description": "Delete a tag rule set for a given Elastic monitor resource, removing fine-grained control over observability based on resource tags.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" @@ -1926,43 +2251,68 @@ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/MonitorNameParameter" + "name": "monitorName", + "in": "path", + "description": "Monitor resource name", + "required": true, + "type": "string", + "pattern": "^.*$" }, { - "in": "query", - "name": "rulesetId", - "description": "Ruleset Id of the filter", - "type": "string" + "name": "ruleSetName", + "in": "path", + "description": "Tag Rule Set resource name", + "required": true, + "type": "string", + "pattern": "^.*$" } ], "responses": { "200": { - "description": "Success" + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." }, "default": { - "description": "Default error response.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/ResourceProviderDefaultErrorResponse" } } }, "x-ms-examples": { - "DetachAndDeleteTrafficFilter_Delete": { - "$ref": "./examples/DetachAndDeleteTrafficFilter_Delete.json" + "TagRules_Delete": { + "$ref": "./examples/TagRules_Delete.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}/detachTrafficFilter": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}/upgrade": { "post": { + "operationId": "Monitor_Upgrade", "tags": [ - "TrafficFilter" - ], - "summary": "Detach an existing traffic filter from your Elastic monitor resource, removing its network traffic control capabilities.", - "operationId": "DetachTrafficFilter_Update", - "produces": [ - "application/json" + "ElasticMonitorResources" ], + "description": "Upgrade the Elastic monitor resource to a newer version, ensuring optimal observability and performance.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" @@ -1974,47 +2324,63 @@ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/MonitorNameParameter" + "name": "monitorName", + "in": "path", + "description": "Monitor resource name", + "required": true, + "type": "string", + "pattern": "^.*$" }, { - "in": "query", - "name": "rulesetId", - "description": "Ruleset Id of the filter", - "type": "string" + "name": "body", + "in": "body", + "description": "Elastic Monitor Upgrade Parameters", + "required": false, + "schema": { + "$ref": "#/definitions/ElasticMonitorUpgrade" + } } ], "responses": { "202": { - "description": "Accepted" + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } }, "default": { - "description": "Default error response.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/ResourceProviderDefaultErrorResponse" } } }, - "x-ms-long-running-operation": true, + "x-ms-examples": { + "Monitor_Upgrade": { + "$ref": "./examples/Monitor_Upgrade.json" + } + }, "x-ms-long-running-operation-options": { "final-state-via": "location" }, - "x-ms-examples": { - "DetachTrafficFilter_Update": { - "$ref": "./examples/DetachTrafficFilters_Update.json" - } - } + "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}/deleteTrafficFilter": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}/vmCollectionUpdate": { "post": { + "operationId": "VMCollection_Update", "tags": [ - "TrafficFilter" - ], - "summary": "Delete an existing traffic filter associated with your Elastic monitor resource, removing its network traffic control capabilities.", - "operationId": "TrafficFilters_Delete", - "produces": [ - "application/json" + "ElasticMonitorResources" ], + "description": "Update the VM details that will be monitored by the Elastic monitor resource, ensuring optimal observability and performance.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" @@ -2026,47 +2392,48 @@ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/MonitorNameParameter" + "name": "monitorName", + "in": "path", + "description": "Monitor resource name", + "required": true, + "type": "string", + "pattern": "^.*$" }, { - "in": "query", - "name": "rulesetId", - "description": "Ruleset Id of the filter", - "type": "string" + "name": "body", + "in": "body", + "description": "VM resource Id", + "required": false, + "schema": { + "$ref": "#/definitions/VMCollectionUpdate" + } } ], "responses": { "200": { - "description": "Success" + "description": "The request has succeeded." }, "default": { - "description": "Default error response.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/ResourceProviderDefaultErrorResponse" } } }, "x-ms-examples": { - "TrafficFilters_Delete": { - "$ref": "./examples/TrafficFilters_Delete.json" + "VMCollection_Update": { + "$ref": "./examples/VMCollection_Update.json" } } } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Elastic/getOrganizationApiKey": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}/vmIngestionDetails": { "post": { + "operationId": "VMIngestion_Details", "tags": [ - "ApiKey" - ], - "summary": "Fetch the User API Key from the internal database, if it was generated and stored during the creation of the Elasticsearch Organization.", - "description": "Fetch the User API Key from the internal database, if it was generated and stored during the creation of the Elasticsearch Organization.", - "operationId": "Organizations_GetApiKey", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" + "ElasticMonitorResources" ], + "description": "List detailed information about VM ingestion that will be monitored by the Elastic monitor resource, ensuring optimal observability and performance.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" @@ -2075,1436 +2442,1573 @@ "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "in": "body", - "name": "body", - "description": "Email Id parameter of the User Organization, of which the API Key must be returned", - "schema": { - "$ref": "#/definitions/UserEmailId" - } + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "monitorName", + "in": "path", + "description": "Monitor resource name", + "required": true, + "type": "string", + "pattern": "^.*$" } ], "responses": { "200": { - "description": "Success", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/UserApiKeyResponse" + "$ref": "#/definitions/VMIngestionDetailsResponse" } }, "default": { - "description": "Default error response.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/ResourceProviderDefaultErrorResponse" } } }, "x-ms-examples": { - "Organizations_GetApiKey": { - "$ref": "./examples/Organizations_GetApiKey.json" + "VMIngestion_Details": { + "$ref": "./examples/VMIngestion_Details.json" } } } + } + }, + "definitions": { + "BillingInfoResponse": { + "type": "object", + "description": "Marketplace Subscription and Organization details to which resource gets billed into.", + "properties": { + "marketplaceSaasInfo": { + "$ref": "#/definitions/MarketplaceSaaSInfo", + "description": "Marketplace Subscription details" + }, + "partnerBillingEntity": { + "$ref": "#/definitions/PartnerBillingEntity", + "description": "Partner Billing Entity details: Organization Info" + } + } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Elastic/getElasticOrganizationToAzureSubscriptionMapping": { - "post": { - "tags": [ - "UserOrganization" - ], - "summary": "Retrieve mapping details between the Elastic Organization and Azure Subscription for the logged-in user.", - "description": "Retrieve mapping details between the Elastic Organization and Azure Subscription for the logged-in user.", - "operationId": "Organizations_GetElasticToAzureSubscriptionMapping", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/ElasticOrganizationToAzureSubscriptionMappingResponse" - } - }, - "default": { - "description": "Default error response.", - "schema": { - "$ref": "#/definitions/ResourceProviderDefaultErrorResponse" - } - } + "CompanyInfo": { + "type": "object", + "description": "Company information of the user to be passed to partners.", + "properties": { + "domain": { + "type": "string", + "description": "Domain of the company", + "maxLength": 256 }, - "x-ms-examples": { - "Organizations_GetElasticToAzureSubscriptionMapping": { - "$ref": "./examples/Organizations_GetElasticToAzureSubscriptionMapping.json" - } + "business": { + "type": "string", + "description": "Business of the company", + "maxLength": 128 + }, + "employeesNumber": { + "type": "string", + "description": "Number of employees in the company", + "maxLength": 20 + }, + "state": { + "type": "string", + "description": "State of the company location.", + "maxLength": 128 + }, + "country": { + "type": "string", + "description": "Country of the company location.", + "maxLength": 128 } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}/resubscribe": { - "post": { - "tags": [ - "Resubscribe" - ], - "summary": "Resubscribe the Elasticsearch Organization.", - "operationId": "Organizations_Resubscribe", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, + "ConfigurationType": { + "type": "string", + "description": "Configuration type of the Elasticsearch project", + "enum": [ + "GeneralPurpose", + "Vector", + "TimeSeries", + "NotApplicable" + ], + "x-ms-enum": { + "name": "ConfigurationType", + "modelAsString": true, + "values": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "name": "GeneralPurpose", + "value": "GeneralPurpose" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "name": "Vector", + "value": "Vector" }, { - "$ref": "#/parameters/MonitorNameParameter" + "name": "TimeSeries", + "value": "TimeSeries" }, { - "in": "body", - "name": "body", - "description": "Resubscribe Properties", - "schema": { - "$ref": "#/definitions/ResubscribeProperties" - } - } - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/ElasticMonitorResource" - } - }, - "202": { - "headers": { - "Location": { - "type": "string" - } - }, - "description": "Accepted" - }, - "default": { - "description": "Default error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-examples": { - "Organizations_Resubscribe": { - "$ref": "./examples/Organizations_Resubscribe.json" + "name": "NotApplicable", + "value": "NotApplicable" } - } + ] } - } - }, - "definitions": { - "ErrorResponseBody": { - "description": "Error response body.", - "title": "ErrorResponseBody", + }, + "ConnectedPartnerResourceProperties": { "type": "object", + "description": "Connected Partner Resource Properties", "properties": { - "code": { - "description": "Error code.", - "type": "string" + "partnerDeploymentName": { + "type": "string", + "description": "Elastic resource name" }, - "message": { - "description": "Error message.", - "type": "string" + "partnerDeploymentUri": { + "type": "string", + "description": "URL of the resource in Elastic cloud." }, - "target": { - "description": "Error target.", - "type": "string" + "azureResourceId": { + "type": "string", + "description": "The azure resource Id of the resource." }, - "details": { - "description": "Error details.", - "type": "array", - "x-ms-identifiers": [], - "items": { - "$ref": "#/definitions/ErrorResponseBody" - } + "location": { + "type": "string", + "description": "The location of the resource." + }, + "type": { + "type": "string", + "description": "The hosting type of the resource." } } }, - "ResourceProviderDefaultErrorResponse": { - "description": "RP default error response.", + "ConnectedPartnerResourcesListFormat": { "type": "object", + "description": "Connected Partner Resources List Format", "properties": { - "error": { - "description": "Response body of Error", - "readOnly": true, - "$ref": "#/definitions/ErrorResponseBody" + "properties": { + "$ref": "#/definitions/ConnectedPartnerResourceProperties", + "description": "Connected Partner Resource Properties" } } }, - "OperationDisplay": { - "description": "The object that represents the operation.", - "type": "object", - "properties": { - "provider": { - "description": "Service provider, i.e., Microsoft.Elastic.", - "type": "string" - }, - "resource": { - "description": "Type on which the operation is performed, e.g., 'monitors'.", - "type": "string" - }, - "operation": { - "description": "Operation type, e.g., read, write, delete, etc.", - "type": "string" - }, - "description": { - "description": "Description of the operation, e.g., 'Write monitors'.", - "type": "string" - } - } - }, - "OperationResult": { - "description": "A Microsoft.Elastic REST API operation.", - "type": "object", - "properties": { - "name": { - "description": "Operation name, i.e., {provider}/{resource}/{operation}.", - "type": "string" - }, - "isDataAction": { - "description": "Indicates whether the operation is a data action", - "type": "boolean" - }, - "display": { - "description": "The object that represents the operation.", - "$ref": "#/definitions/OperationDisplay" - }, - "origin": { - "description": "Origin of the operation", - "type": "string" - } - } - }, - "OperationListResult": { - "description": "Result of GET request to list the Microsoft.Elastic operations.", + "ConnectedPartnerResourcesListResponse": { "type": "object", + "description": "List of all active elastic deployments.", "properties": { "value": { - "description": "List of operations supported by the Microsoft.Elastic provider.", "type": "array", - "x-ms-identifiers": [], + "description": "The ConnectedPartnerResourcesListFormat items on this page", "items": { - "$ref": "#/definitions/OperationResult" - } + "$ref": "#/definitions/ConnectedPartnerResourcesListFormat" + }, + "x-ms-identifiers": [ + "properties/azureResourceId" + ] }, "nextLink": { - "description": "URL to get the next set of operation list results if there are any.", - "type": "string" - } - } - }, - "ResourceSku": { - "description": "Microsoft.Elastic SKU.", - "required": [ - "name" - ], - "type": "object", - "properties": { - "name": { - "description": "Name of the SKU.", - "type": "string" + "type": "string", + "format": "uri", + "description": "The link to the next page of items" } - } - }, - "ProvisioningState": { - "enum": [ - "Accepted", - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Failed", - "Canceled", - "Deleted", - "NotSpecified" - ], - "type": "string", - "description": "Provisioning state of Elastic resource.", - "title": "ProvisioningState", - "x-ms-enum": { - "modelAsString": true, - "name": "ProvisioningState" }, - "readOnly": true - }, - "MonitoringStatus": { - "description": "Flag specifying if the resource monitoring is enabled or disabled.", - "enum": [ - "Enabled", - "Disabled" - ], - "type": "string", - "x-ms-enum": { - "modelAsString": true, - "name": "MonitoringStatus" - } + "required": [ + "value" + ] }, - "ElasticCloudUser": { - "description": "Details of the user's elastic account.", + "DeploymentInfoResponse": { "type": "object", + "description": "The properties of deployment in Elastic cloud corresponding to the Elastic monitor resource.", "properties": { - "emailAddress": { - "description": "Email of the Elastic User Account.", + "status": { + "$ref": "#/definitions/ElasticDeploymentStatus", + "description": "The Elastic deployment status.", + "readOnly": true + }, + "version": { "type": "string", + "description": "Version of the elasticsearch in Elastic cloud deployment.", "readOnly": true }, - "id": { - "description": "User Id of the elastic account of the User.", + "memoryCapacity": { "type": "string", + "description": "RAM capacity of the elasticsearch in Elastic cloud deployment.", "readOnly": true }, - "elasticCloudSsoDefaultUrl": { - "description": "Elastic cloud default dashboard sso URL of the Elastic user account.", + "diskCapacity": { + "type": "string", + "description": "Disk capacity of the elasticsearch in Elastic cloud deployment.", + "readOnly": true + }, + "elasticsearchEndPoint": { + "type": "string", + "description": "Elasticsearch endpoint in Elastic cloud deployment. This is either the aliased_endpoint if available, or the service_url otherwise.", + "readOnly": true + }, + "deploymentUrl": { + "type": "string", + "description": "Deployment URL of the elasticsearch in Elastic cloud deployment.", + "readOnly": true + }, + "marketplaceSaasInfo": { + "$ref": "#/definitions/MarketplaceSaaSInfo", + "description": "Marketplace SaaS Info of the resource.", + "readOnly": true + }, + "projectType": { + "type": "string", + "description": "Project Type - Applicable for Serverless only.", + "readOnly": true + }, + "configurationType": { "type": "string", + "description": "ConfigurationType Type - Applicable for Serverless only.", "readOnly": true } } }, "ElasticCloudDeployment": { - "description": "Details of the user's elastic deployment associated with the monitor resource.", "type": "object", + "description": "Details of the user's elastic deployment associated with the monitor resource.", "properties": { "name": { - "description": "Elastic deployment name", "type": "string", + "description": "Elastic deployment name", "readOnly": true }, "deploymentId": { - "description": "Elastic deployment Id", "type": "string", + "description": "Elastic deployment Id", "readOnly": true }, "azureSubscriptionId": { - "description": "Associated Azure subscription Id for the elastic deployment.", "type": "string", + "description": "Associated Azure subscription Id for the elastic deployment.", "readOnly": true }, "elasticsearchRegion": { - "description": "Region where Deployment at Elastic side took place.", "type": "string", + "description": "Region where Deployment at Elastic side took place.", "readOnly": true }, "elasticsearchServiceUrl": { - "description": "Elasticsearch ingestion endpoint of the Elastic deployment.", "type": "string", + "description": "Elasticsearch ingestion endpoint of the Elastic deployment.", "readOnly": true }, "kibanaServiceUrl": { - "description": "Kibana endpoint of the Elastic deployment.", "type": "string", + "description": "Kibana endpoint of the Elastic deployment.", "readOnly": true }, "kibanaSsoUrl": { - "description": "Kibana dashboard sso URL of the Elastic deployment.", "type": "string", + "description": "Kibana dashboard sso URL of the Elastic deployment.", "readOnly": true } } }, - "ElasticProperties": { - "description": "Elastic Resource Properties.", + "ElasticCloudUser": { "type": "object", + "description": "Details of the user's elastic account.", "properties": { - "elasticCloudUser": { - "description": "Details of the user's elastic account.", - "$ref": "#/definitions/ElasticCloudUser" + "emailAddress": { + "type": "string", + "description": "Email of the Elastic User Account.", + "readOnly": true }, - "elasticCloudDeployment": { - "description": "Details of the elastic cloud deployment.", - "$ref": "#/definitions/ElasticCloudDeployment" + "id": { + "type": "string", + "description": "User Id of the elastic account of the User.", + "readOnly": true + }, + "elasticCloudSsoDefaultUrl": { + "type": "string", + "description": "Elastic cloud default dashboard sso URL of the Elastic user account.", + "readOnly": true } } }, - "CompanyInfo": { - "description": "Company information of the user to be passed to partners.", + "ElasticDeploymentStatus": { + "type": "string", + "description": "Flag specifying if the Elastic deployment status is healthy or not.", + "enum": [ + "Healthy", + "Unhealthy" + ], + "x-ms-enum": { + "name": "ElasticDeploymentStatus", + "modelAsString": true, + "values": [ + { + "name": "Healthy", + "value": "Healthy" + }, + { + "name": "Unhealthy", + "value": "Unhealthy" + } + ] + } + }, + "ElasticMonitorResource": { "type": "object", + "description": "Monitor resource.", "properties": { - "domain": { - "description": "Domain of the company", - "maxLength": 256, - "type": "string" - }, - "business": { - "description": "Business of the company", - "maxLength": 128, - "type": "string" + "properties": { + "$ref": "#/definitions/MonitorProperties", + "description": "Properties of the monitor resource." }, - "employeesNumber": { - "description": "Number of employees in the company", - "maxLength": 20, - "type": "string" + "kind": { + "type": "string", + "description": "The kind of the Elastic resource - observability, security, search etc." }, - "state": { - "description": "State of the company location.", - "maxLength": 128, - "type": "string" + "sku": { + "$ref": "#/definitions/ResourceSku", + "description": "SKU of the monitor resource." }, - "country": { - "description": "Country of the company location.", - "maxLength": 128, - "type": "string" + "identity": { + "$ref": "#/definitions/IdentityProperties", + "description": "Identity properties of the monitor resource." } - } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] }, - "UserInfo": { - "description": "User Information to be passed to partners.", + "ElasticMonitorResourceListResponse": { "type": "object", + "description": "Response of a list operation.", "properties": { - "firstName": { - "description": "First name of the user", - "maxLength": 128, - "type": "string" - }, - "lastName": { - "description": "Last name of the user", - "maxLength": 128, - "type": "string" - }, - "companyName": { - "description": "Company name of the user", - "maxLength": 128, - "type": "string" - }, - "emailAddress": { - "description": "Email of the user used by Elastic for contacting them if needed", - "pattern": "^([^<>()\\[\\]\\.,;:\\s@\"]+(\\.[^<>()\\[\\]\\.,;:\\s@\"]+)*)@(([a-zA-Z-_0-9]+\\.)+[a-zA-Z]{2,})$", - "type": "string" + "value": { + "type": "array", + "description": "The ElasticMonitorResource items on this page", + "items": { + "$ref": "#/definitions/ElasticMonitorResource" + } }, - "companyInfo": { - "description": "Company information of the user to be passed to partners.", - "$ref": "#/definitions/CompanyInfo" + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ElasticMonitorResourceUpdateParameters": { + "type": "object", + "description": "Monitor resource update parameters.", + "properties": { + "tags": { + "type": "object", + "description": "elastic monitor resource tags.", + "additionalProperties": { + "type": "string" + } } } }, - "PlanDetails": { - "description": "Plan details of the monitor resource.", + "ElasticMonitorUpgrade": { "type": "object", + "description": "Upgrade elastic monitor version", "properties": { - "offerID": { - "description": "Offer ID of the plan", - "type": "string" - }, - "publisherID": { - "description": "Publisher ID of the plan", - "type": "string" - }, - "termID": { - "description": "Term ID of the plan", - "type": "string" - }, - "planID": { - "description": "Plan ID", - "type": "string" - }, - "planName": { - "description": "Plan Name", - "type": "string" + "version": { + "type": "string", + "description": "Version to which the elastic monitor should be upgraded to" } } }, - "HostingType": { - "enum": [ - "Hosted", - "Serverless" - ], - "type": "string", - "description": "Hosting type of the monitor resource - either Hosted deployments or Serverless Projects.", - "x-ms-enum": { - "modelAsString": true, - "name": "HostingType" + "ElasticOrganizationToAzureSubscriptionMappingResponse": { + "type": "object", + "description": "The Azure Subscription ID to which the Organization of the logged in user belongs and gets billed into.", + "properties": { + "properties": { + "$ref": "#/definitions/ElasticOrganizationToAzureSubscriptionMappingResponseProperties", + "description": "The properties of Azure Subscription ID to which the Organization of the logged in user belongs and gets billed into." + } } }, - "ProjectDetails": { - "description": "Project details of the monitor resource IF it belongs to Serverless offer kind.", + "ElasticOrganizationToAzureSubscriptionMappingResponseProperties": { "type": "object", + "description": "The properties of Azure Subscription ID to which the Organization of the logged in user belongs and gets billed into.", "properties": { - "projectType": { - "description": "Project type; ex: Elasticsearch / Observability / Security", - "$ref": "#/definitions/ProjectType" + "billedAzureSubscriptionId": { + "type": "string", + "description": "The Azure Subscription ID to which the Organization belongs and gets billed into. This is empty for a new user OR a user without an Elastic Organization." }, - "configurationType": { - "description": "Configuration type of the Elasticsearch project", - "$ref": "#/definitions/ConfigurationType" + "marketplaceSaasInfo": { + "$ref": "#/definitions/MarketplaceSaaSInfo", + "description": "Marketplace SaaS Info of the resource.", + "readOnly": true + }, + "elasticOrganizationId": { + "type": "string", + "description": "The Elastic Organization Id." + }, + "elasticOrganizationName": { + "type": "string", + "description": "The Elastic Organization Name." } } }, - "ProjectType": { - "enum": [ - "Elasticsearch", - "Observability", - "Security", - "NotApplicable" - ], - "type": "string", - "description": "Project type; ex: Elasticsearch / Observability / Security", - "x-ms-enum": { - "modelAsString": true, - "name": "ProjectType" - } - }, - "ConfigurationType": { - "enum": [ - "GeneralPurpose", - "Vector", - "TimeSeries", - "NotApplicable" - ], - "type": "string", - "description": "Configuration type of the Elasticsearch project", - "x-ms-enum": { - "modelAsString": true, - "name": "ConfigurationType" + "ElasticProperties": { + "type": "object", + "description": "Elastic Resource Properties.", + "properties": { + "elasticCloudUser": { + "$ref": "#/definitions/ElasticCloudUser", + "description": "Details of the user's elastic account." + }, + "elasticCloudDeployment": { + "$ref": "#/definitions/ElasticCloudDeployment", + "description": "Details of the elastic cloud deployment." + } } }, - "LiftrResourceCategories": { - "enum": [ - "Unknown", - "MonitorLogs" - ], - "type": "string", - "x-ms-enum": { - "modelAsString": true, - "name": "LiftrResourceCategories" - }, - "readOnly": true - }, - "MonitorProperties": { - "description": "Properties specific to the monitor resource.", + "ElasticTrafficFilter": { "type": "object", + "description": "Elastic traffic filter object", "properties": { - "provisioningState": { - "description": "Provisioning state of the monitor resource.", - "$ref": "#/definitions/ProvisioningState" - }, - "monitoringStatus": { - "description": "Flag specifying if the resource monitoring is enabled or disabled.", - "$ref": "#/definitions/MonitoringStatus" - }, - "elasticProperties": { - "description": "Elastic cloud properties.", - "$ref": "#/definitions/ElasticProperties" - }, - "userInfo": { - "description": "User information.", - "$ref": "#/definitions/UserInfo", - "x-ms-mutability": [ - "create" - ] - }, - "planDetails": { - "description": "Plan details of the monitor resource.", - "$ref": "#/definitions/PlanDetails" + "id": { + "type": "string", + "description": "Id of the elastic filter" }, - "version": { - "description": "Version of elastic of the monitor resource", - "type": "string" + "name": { + "type": "string", + "description": "Name of the elastic filter" }, - "subscriptionState": { - "description": "State of the Azure Subscription containing the monitor resource", - "type": "string" + "description": { + "type": "string", + "description": "Description of the elastic filter" }, - "saaSAzureSubscriptionStatus": { - "description": "Status of Azure Subscription where Marketplace SaaS is located.", - "type": "string" + "region": { + "type": "string", + "description": "Region of the elastic filter" }, - "sourceCampaignName": { - "description": "Name of the marketing campaign.", - "type": "string" + "type": { + "$ref": "#/definitions/Type", + "description": "Type of the elastic filter" }, - "sourceCampaignId": { - "description": "A unique identifier associated with the campaign.", - "type": "string" + "includeByDefault": { + "type": "boolean", + "description": "IncludeByDefault for the elastic filter" }, - "liftrResourceCategory": { - "$ref": "#/definitions/LiftrResourceCategories" + "rules": { + "type": "array", + "description": "Rules in the elastic filter", + "items": { + "$ref": "#/definitions/ElasticTrafficFilterRule" + } + } + } + }, + "ElasticTrafficFilterResponse": { + "type": "object", + "description": "List of elastic traffic filters in the account", + "properties": { + "rulesets": { + "type": "array", + "description": "List of elastic traffic filters in the account", + "items": { + "$ref": "#/definitions/ElasticTrafficFilter" + }, + "x-ms-identifiers": [] + } + } + }, + "ElasticTrafficFilterRule": { + "type": "object", + "description": "Elastic traffic filter rule object", + "properties": { + "source": { + "type": "string", + "description": "IP of the elastic filter rule" }, - "liftrResourcePreference": { - "description": "The priority of the resource.", - "format": "int32", - "type": "integer", - "readOnly": true + "description": { + "type": "string", + "description": "Description of the elastic filter rule" }, - "generateApiKey": { - "description": "Flag to determine if User API Key has to be generated and shared.", - "type": "boolean" + "azureEndpointGuid": { + "type": "string", + "description": "Guid of Private Endpoint in the elastic filter rule" }, - "hostingType": { - "description": "Hosting type of the monitor resource - either Hosted deployments OR Serverless Projects.", - "$ref": "#/definitions/HostingType" + "azureEndpointName": { + "type": "string", + "description": "Name of the Private Endpoint in the elastic filter rule" }, - "projectDetails": { - "description": "Project details of the monitor resource IF it belongs to Serverless offer kind.", - "$ref": "#/definitions/ProjectDetails" + "id": { + "type": "string", + "description": "Id of the elastic filter rule" } } }, - "ManagedIdentityTypes": { - "enum": [ - "SystemAssigned" - ], - "type": "string", - "description": "Managed Identity types.", - "x-ms-enum": { - "modelAsString": true, - "name": "ManagedIdentityTypes" + "ElasticVersionListFormat": { + "type": "object", + "description": "Elastic Version List Format", + "properties": { + "properties": { + "$ref": "#/definitions/ElasticVersionListProperties", + "description": "Elastic Version Properties" + } } }, - "IdentityProperties": { - "description": "Identity properties.", + "ElasticVersionListProperties": { "type": "object", + "description": "Elastic Version Properties", "properties": { - "principalId": { - "description": "The identity ID.", - "type": "string", - "readOnly": true - }, - "tenantId": { - "description": "The tenant ID of resource.", + "version": { "type": "string", - "readOnly": true - }, - "type": { - "description": "Managed identity type.", - "$ref": "#/definitions/ManagedIdentityTypes" + "description": "Available elastic version of the given region" } } }, - "ElasticMonitorResource": { - "description": "Monitor resource.", + "ElasticVersionsListResponse": { + "type": "object", + "description": "List of elastic versions available in a region.", + "properties": { + "value": { + "type": "array", + "description": "The ElasticVersionListFormat items on this page", + "items": { + "$ref": "#/definitions/ElasticVersionListFormat" + }, + "x-ms-identifiers": [ + "properties/version" + ] + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, "required": [ - "location" - ], + "value" + ] + }, + "ErrorResponseBody": { "type": "object", - "x-ms-azure-resource": true, + "description": "Error response body.", "properties": { - "id": { - "description": "ARM id of the monitor resource.", + "code": { "type": "string", - "readOnly": true + "description": "Error code." }, - "name": { - "description": "Name of the monitor resource.", + "message": { "type": "string", - "readOnly": true + "description": "Error message." }, - "type": { - "description": "The type of the monitor resource.", + "target": { "type": "string", - "readOnly": true + "description": "Error target." }, - "kind": { - "description": "The kind of the Elastic resource - observability, security, search etc.", - "type": "string" + "details": { + "type": "array", + "description": "Error details.", + "items": { + "$ref": "#/definitions/ErrorResponseBody" + }, + "x-ms-identifiers": [] + } + } + }, + "ExternalUserCreationResponse": { + "type": "object", + "description": "The properties of the response we got from elastic while creating external user", + "properties": { + "created": { + "type": "boolean", + "description": "Shows if user is created or updated", + "readOnly": true + } + } + }, + "ExternalUserInfo": { + "type": "object", + "description": "The properties of the request required for creating user on elastic side", + "properties": { + "userName": { + "type": "string", + "description": "Username of the user to be created or updated" }, - "sku": { - "description": "SKU of the monitor resource.", - "$ref": "#/definitions/ResourceSku" + "fullName": { + "type": "string", + "description": "Full name of the user to be created or updated" }, - "properties": { - "description": "Properties of the monitor resource.", - "$ref": "#/definitions/MonitorProperties", - "x-ms-client-flatten": false + "password": { + "type": "string", + "format": "password", + "description": "Password of the user to be created or updated", + "x-ms-secret": true }, - "identity": { - "description": "Identity properties of the monitor resource.", - "$ref": "#/definitions/IdentityProperties" + "emailId": { + "type": "string", + "description": "Email id of the user to be created or updated" }, - "tags": { - "description": "The tags of the monitor resource.", - "type": "object", - "additionalProperties": { + "roles": { + "type": "array", + "description": "Roles to be assigned for created or updated user", + "items": { "type": "string" } + } + } + }, + "FilteringTag": { + "type": "object", + "description": "The definition of a filtering tag. Filtering tags are used for capturing resources and include/exclude them from being monitored.", + "properties": { + "name": { + "type": "string", + "description": "The name (also known as the key) of the tag." }, - "location": { - "description": "The location of the monitor resource", + "value": { "type": "string", - "x-ms-mutability": [ - "read", - "create" - ] + "description": "The value of the tag." }, - "systemData": { - "readOnly": true, - "description": "The system metadata relating to this resource", - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/systemData" + "action": { + "$ref": "#/definitions/TagAction", + "description": "Valid actions for a filtering tag." } } }, - "ElasticMonitorResourceListResponse": { - "description": "Response of a list operation.", + "HostingType": { + "type": "string", + "description": "Hosting type of the monitor resource - either Hosted deployments or Serverless Projects.", + "enum": [ + "Hosted", + "Serverless" + ], + "x-ms-enum": { + "name": "HostingType", + "modelAsString": true, + "values": [ + { + "name": "Hosted", + "value": "Hosted" + }, + { + "name": "Serverless", + "value": "Serverless" + } + ] + } + }, + "IdentityProperties": { "type": "object", + "description": "Identity properties.", "properties": { - "value": { - "description": "Results of a list operation.", - "type": "array", - "x-ms-identifiers": [], - "items": { - "$ref": "#/definitions/ElasticMonitorResource" - } + "principalId": { + "type": "string", + "description": "The identity ID.", + "readOnly": true }, - "nextLink": { - "description": "Link to the next set of results, if any.", - "type": "string" + "tenantId": { + "type": "string", + "description": "The tenant ID of resource.", + "readOnly": true + }, + "type": { + "$ref": "#/definitions/ManagedIdentityTypes", + "description": "Managed identity type." } } }, - "ElasticMonitorResourceUpdateParameters": { - "description": "Monitor resource update parameters.", + "LiftrResourceCategories": { + "type": "string", + "enum": [ + "Unknown", + "MonitorLogs" + ], + "x-ms-enum": { + "name": "LiftrResourceCategories", + "modelAsString": true, + "values": [ + { + "name": "Unknown", + "value": "Unknown" + }, + { + "name": "MonitorLogs", + "value": "MonitorLogs" + } + ] + } + }, + "LogRules": { "type": "object", + "description": "Set of rules for sending logs for the Monitor resource.", "properties": { - "tags": { - "description": "elastic monitor resource tags.", - "type": "object", - "additionalProperties": { - "type": "string" - } + "sendAadLogs": { + "type": "boolean", + "description": "Flag specifying if AAD logs should be sent for the Monitor resource." + }, + "sendSubscriptionLogs": { + "type": "boolean", + "description": "Flag specifying if subscription logs should be sent for the Monitor resource." + }, + "sendActivityLogs": { + "type": "boolean", + "description": "Flag specifying if activity logs from Azure resources should be sent for the Monitor resource." + }, + "filteringTags": { + "type": "array", + "description": "List of filtering tags to be used for capturing logs. This only takes effect if SendActivityLogs flag is enabled. If empty, all resources will be captured. If only Exclude action is specified, the rules will apply to the list of all available resources. If Include actions are specified, the rules will only include resources with the associated tags.", + "items": { + "$ref": "#/definitions/FilteringTag" + }, + "x-ms-identifiers": [] } } }, - "SendingLogs": { + "ManagedIdentityTypes": { + "type": "string", + "description": "Managed Identity types.", "enum": [ - "True", - "False" + "SystemAssigned" ], - "type": "string", - "description": "Flag indicating the status of the resource for sending logs operation to Elastic.", - "title": "SendingLogs", "x-ms-enum": { + "name": "ManagedIdentityTypes", "modelAsString": true, - "name": "SendingLogs" + "values": [ + { + "name": "SystemAssigned", + "value": "SystemAssigned" + } + ] } }, - "MonitoredResource": { - "description": "The properties of a resource currently being monitored by the Elastic monitor resource.", + "MarketplaceSaaSInfo": { + "type": "object", + "description": "Marketplace SAAS Info of the resource.", + "properties": { + "marketplaceSubscription": { + "$ref": "#/definitions/MarketplaceSaaSInfoMarketplaceSubscription", + "description": "Marketplace Subscription" + }, + "marketplaceName": { + "type": "string", + "description": "Marketplace Subscription Details: SAAS Name" + }, + "marketplaceResourceId": { + "type": "string", + "description": "Marketplace Subscription Details: Resource URI" + }, + "marketplaceStatus": { + "type": "string", + "description": "Marketplace Subscription Details: SaaS Subscription Status" + }, + "billedAzureSubscriptionId": { + "type": "string", + "description": "The Azure Subscription ID to which the Marketplace Subscription belongs and gets billed into." + }, + "subscribed": { + "type": "boolean", + "description": "Flag specifying if the Marketplace status is subscribed or not." + } + } + }, + "MarketplaceSaaSInfoMarketplaceSubscription": { "type": "object", + "description": "Marketplace Subscription", "properties": { "id": { - "description": "The ARM id of the resource.", - "type": "string" + "type": "string", + "description": "Marketplace Subscription Id. This is a GUID-formatted string." }, - "sendingLogs": { - "description": "Flag indicating the status of the resource for sending logs operation to Elastic.", - "$ref": "#/definitions/SendingLogs" + "publisherId": { + "type": "string", + "description": "Publisher Id of the Marketplace offer." }, - "reasonForLogsStatus": { - "description": "Reason for why the resource is sending logs (or why it is not sending).", - "type": "string" + "offerId": { + "type": "string", + "description": "Offer Id of the Marketplace offer," } } }, - "SubscriptionList": { - "description": "The request to update subscriptions needed to be monitored by the Elastic monitor resource.", + "MonitorProperties": { "type": "object", + "description": "Properties specific to the monitor resource.", "properties": { - "operation": { - "description": "The operation for the patch on the resource.", - "enum": [ - "AddBegin", - "AddComplete", - "DeleteBegin", - "DeleteComplete", - "Active" - ], - "type": "string", - "x-ms-enum": { - "modelAsString": true, - "name": "Operation" - }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning state of the monitor resource.", + "readOnly": true + }, + "monitoringStatus": { + "$ref": "#/definitions/MonitoringStatus", + "description": "Flag specifying if the resource monitoring is enabled or disabled." + }, + "elasticProperties": { + "$ref": "#/definitions/ElasticProperties", + "description": "Elastic cloud properties." + }, + "userInfo": { + "$ref": "#/definitions/UserInfo", + "description": "User information.", "x-ms-mutability": [ - "create", - "update" + "create" ] }, - "monitoredSubscriptionList": { - "description": "List of subscriptions and the state of the monitoring.", - "type": "array", - "items": { - "$ref": "#/definitions/MonitoredSubscription" - }, - "x-ms-identifiers": [ - "properties/subscriptionId" - ] + "planDetails": { + "$ref": "#/definitions/PlanDetails", + "description": "Plan details of the monitor resource." + }, + "version": { + "type": "string", + "description": "Version of elastic of the monitor resource" + }, + "subscriptionState": { + "type": "string", + "description": "State of the Azure Subscription containing the monitor resource" + }, + "saaSAzureSubscriptionStatus": { + "type": "string", + "description": "Status of Azure Subscription where Marketplace SaaS is located." + }, + "sourceCampaignName": { + "type": "string", + "description": "Name of the marketing campaign." + }, + "sourceCampaignId": { + "type": "string", + "description": "A unique identifier associated with the campaign." }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State of the resource", + "liftrResourceCategory": { + "$ref": "#/definitions/LiftrResourceCategories", "readOnly": true - } - } - }, - "MonitoredResourceListResponse": { - "description": "Response of a list operation.", - "type": "object", - "properties": { - "value": { - "description": "Results of a list operation.", - "type": "array", - "x-ms-identifiers": [], - "items": { - "$ref": "#/definitions/MonitoredResource" - } }, - "nextLink": { - "description": "Link to the next set of results, if any.", - "type": "string" + "liftrResourcePreference": { + "type": "integer", + "format": "int32", + "description": "The priority of the resource.", + "readOnly": true + }, + "generateApiKey": { + "type": "boolean", + "description": "Flag to determine if User API Key has to be generated and shared." + }, + "hostingType": { + "$ref": "#/definitions/HostingType", + "description": "Hosting type of the monitor resource - either Hosted deployments OR Serverless Projects." + }, + "projectDetails": { + "$ref": "#/definitions/ProjectDetails", + "description": "Project details of the monitor resource IF it belongs to Serverless offer kind." } } }, - "MonitoredSubscriptionProperties": { - "description": "The request to update subscriptions needed to be monitored by the Elastic monitor resource.", + "MonitoredResource": { "type": "object", - "x-ms-azure-resource": true, + "description": "The properties of a resource currently being monitored by the Elastic monitor resource.", "properties": { - "name": { - "description": "Name of the monitored subscription resource.", - "type": "string", - "readOnly": true - }, "id": { - "description": "The id of the monitored subscription resource.", "type": "string", - "readOnly": true + "description": "The ARM id of the resource." }, - "type": { - "description": "The type of the monitored subscription resource.", - "type": "string", - "readOnly": true + "sendingLogs": { + "$ref": "#/definitions/SendingLogs", + "description": "Flag indicating the status of the resource for sending logs operation to Elastic." }, - "properties": { - "$ref": "#/definitions/SubscriptionList" + "reasonForLogsStatus": { + "type": "string", + "description": "Reason for why the resource is sending logs (or why it is not sending)." } } }, - "MonitoredSubscriptionPropertiesList": { + "MonitoredResourceListResponse": { "type": "object", + "description": "Response of a list operation.", "properties": { "value": { "type": "array", + "description": "The MonitoredResource items on this page", "items": { - "$ref": "#/definitions/MonitoredSubscriptionProperties" + "$ref": "#/definitions/MonitoredResource" } }, "nextLink": { "type": "string", + "format": "uri", "description": "The link to the next page of items" } - } - }, - "TagAction": { - "description": "Valid actions for a filtering tag. Exclusion takes priority over inclusion.", - "enum": [ - "Include", - "Exclude" - ], - "type": "string", - "x-ms-enum": { - "modelAsString": true, - "name": "TagAction" - } + }, + "required": [ + "value" + ] }, - "FilteringTag": { - "description": "The definition of a filtering tag. Filtering tags are used for capturing resources and include/exclude them from being monitored.", + "MonitoredSubscription": { "type": "object", + "description": "The list of subscriptions and it's monitoring status by current Elastic monitor.", "properties": { - "name": { - "description": "The name (also known as the key) of the tag.", - "type": "string" + "subscriptionId": { + "type": "string", + "description": "The subscriptionId to be monitored." }, - "value": { - "description": "The value of the tag.", - "type": "string" + "status": { + "$ref": "#/definitions/Status", + "description": "The state of monitoring." }, - "action": { - "description": "Valid actions for a filtering tag.", - "$ref": "#/definitions/TagAction" + "error": { + "type": "string", + "description": "The reason of not monitoring the subscription." + }, + "tagRules": { + "$ref": "#/definitions/MonitoringTagRulesProperties", + "description": "Definition of the properties for a TagRules resource." } - } + }, + "required": [ + "subscriptionId" + ] }, - "ElasticVersionListFormat": { - "description": "Elastic Version List Format", + "MonitoredSubscriptionProperties": { "type": "object", + "description": "The request to update subscriptions needed to be monitored by the Elastic monitor resource.", "properties": { "properties": { - "$ref": "#/definitions/ElasticVersionListProperties" + "$ref": "#/definitions/SubscriptionList", + "description": "The request to update subscriptions needed to be monitored by the Elastic monitor resource." } - } - }, - "ElasticVersionListProperties": { - "description": "Elastic Version Properties", - "type": "object", - "properties": { - "version": { - "description": "Available elastic version of the given region", - "type": "string" + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" } - } + ] }, - "ElasticVersionsListResponse": { - "description": "List of elastic versions available in a region.", + "MonitoredSubscriptionPropertiesList": { "type": "object", + "description": "Paged collection of MonitoredSubscriptionProperties items", "properties": { "value": { - "description": "Results of a list operation.", "type": "array", - "x-ms-identifiers": [ - "properties/version" - ], + "description": "The MonitoredSubscriptionProperties items on this page", "items": { - "$ref": "#/definitions/ElasticVersionListFormat" + "$ref": "#/definitions/MonitoredSubscriptionProperties" } }, "nextLink": { - "description": "Link to the next set of results, if any.", - "type": "string" + "type": "string", + "format": "uri", + "description": "The link to the next page of items" } - } + }, + "required": [ + "value" + ] }, - "LogRules": { - "description": "Set of rules for sending logs for the Monitor resource.", - "type": "object", - "properties": { - "sendAadLogs": { - "description": "Flag specifying if AAD logs should be sent for the Monitor resource.", - "type": "boolean" - }, - "sendSubscriptionLogs": { - "description": "Flag specifying if subscription logs should be sent for the Monitor resource.", - "type": "boolean" - }, - "sendActivityLogs": { - "description": "Flag specifying if activity logs from Azure resources should be sent for the Monitor resource.", - "type": "boolean" - }, - "filteringTags": { - "description": "List of filtering tags to be used for capturing logs. This only takes effect if SendActivityLogs flag is enabled. If empty, all resources will be captured. If only Exclude action is specified, the rules will apply to the list of all available resources. If Include actions are specified, the rules will only include resources with the associated tags.", - "type": "array", - "x-ms-identifiers": [], - "items": { - "$ref": "#/definitions/FilteringTag" + "MonitoringStatus": { + "type": "string", + "description": "Flag specifying if the resource monitoring is enabled or disabled.", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "MonitoringStatus", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled" + }, + { + "name": "Disabled", + "value": "Disabled" } - } - } - }, - "MonitoringTagRulesProperties": { - "description": "Definition of the properties for a TagRules resource.", - "type": "object", - "properties": { - "provisioningState": { - "description": "Provisioning state of the monitoring tag rules.", - "$ref": "#/definitions/ProvisioningState" - }, - "logRules": { - "description": "Rules for sending logs.", - "$ref": "#/definitions/LogRules" - } + ] } }, "MonitoringTagRules": { - "description": "Capture logs and metrics of Azure resources based on ARM tags.", "type": "object", - "x-ms-azure-resource": true, + "description": "Capture logs and metrics of Azure resources based on ARM tags.", "properties": { - "name": { - "description": "Name of the rule set.", - "type": "string", - "readOnly": true - }, - "id": { - "description": "The id of the rule set.", - "type": "string", - "readOnly": true - }, - "type": { - "description": "The type of the rule set.", - "type": "string", - "readOnly": true - }, "properties": { - "description": "Properties of the monitoring tag rules.", "$ref": "#/definitions/MonitoringTagRulesProperties", - "x-ms-client-flatten": false - }, - "systemData": { - "readOnly": true, - "description": "The system metadata relating to this resource", - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/systemData" + "description": "Properties of the monitoring tag rules." } - } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] }, "MonitoringTagRulesListResponse": { - "description": "Response of a list operation.", "type": "object", + "description": "Response of a list operation.", "properties": { "value": { - "description": "Results of a list operation.", "type": "array", - "x-ms-identifiers": [], + "description": "The MonitoringTagRules items on this page", "items": { "$ref": "#/definitions/MonitoringTagRules" } }, "nextLink": { - "description": "Link to the next set of results, if any.", - "type": "string" + "type": "string", + "format": "uri", + "description": "The link to the next page of items" } - } + }, + "required": [ + "value" + ] }, - "MonitoredSubscription": { - "description": "The list of subscriptions and it's monitoring status by current Elastic monitor.", + "MonitoringTagRulesProperties": { "type": "object", + "description": "Definition of the properties for a TagRules resource.", "properties": { - "subscriptionId": { - "description": "The subscriptionId to be monitored.", - "required": [ - "subscriptionId" - ], - "type": "string" - }, - "status": { - "description": "The state of monitoring.", - "enum": [ - "InProgress", - "Active", - "Failed", - "Deleting" - ], - "x-ms-enum": { - "modelAsString": true, - "name": "Status" - }, - "type": "string" - }, - "error": { - "description": "The reason of not monitoring the subscription.", - "type": "string" + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning state of the monitoring tag rules.", + "readOnly": true }, - "tagRules": { - "$ref": "#/definitions/MonitoringTagRulesProperties" + "logRules": { + "$ref": "#/definitions/LogRules", + "description": "Rules for sending logs." } } }, "OpenAIIntegrationProperties": { - "description": "Open AI Integration details.", "type": "object", + "description": "Open AI Integration details.", "properties": { "openAIResourceId": { - "description": "The resource name of Open AI resource", - "type": "string" + "type": "string", + "description": "The resource name of Open AI resource" }, "openAIResourceEndpoint": { - "description": "The API endpoint for Open AI resource", - "type": "string" + "type": "string", + "description": "The API endpoint for Open AI resource" }, "openAIConnectorId": { - "description": "The connector id of Open AI resource", - "type": "string" + "type": "string", + "description": "The connector id of Open AI resource" }, "key": { - "description": "Value of API key for Open AI resource", "type": "string", + "format": "password", + "description": "Value of API key for Open AI resource", "x-ms-secret": true }, "lastRefreshAt": { + "type": "string", "format": "date-time", "description": "Last Update Timestamp for key updation", - "type": "string", "readOnly": true } } }, "OpenAIIntegrationRPModel": { - "description": "Capture properties of Open AI resource Integration.", "type": "object", - "x-ms-azure-resource": true, + "description": "Capture properties of Open AI resource Integration.", "properties": { - "name": { - "description": "Name of the integration.", - "type": "string", - "readOnly": true - }, - "id": { - "description": "The id of the integration.", - "type": "string", - "readOnly": true - }, - "type": { - "description": "The type of the integration.", - "type": "string", - "readOnly": true - }, "properties": { - "$ref": "#/definitions/OpenAIIntegrationProperties" + "$ref": "#/definitions/OpenAIIntegrationProperties", + "description": "Open AI Integration details." } - } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] }, "OpenAIIntegrationRPModelListResponse": { - "description": "Response of a list operation.", "type": "object", + "description": "Response of a list operation.", "properties": { "value": { - "description": "Results of a list operation.", "type": "array", + "description": "The OpenAIIntegrationRPModel items on this page", "items": { "$ref": "#/definitions/OpenAIIntegrationRPModel" } }, "nextLink": { - "description": "Link to the next set of results, if any.", - "type": "string" + "type": "string", + "format": "uri", + "description": "The link to the next page of items" } - } + }, + "required": [ + "value" + ] }, "OpenAIIntegrationStatusResponse": { - "description": "Status of the OpenAI Integration", "type": "object", + "description": "Status of the OpenAI Integration", "properties": { "properties": { - "$ref": "#/definitions/OpenAIIntegrationStatusResponseProperties" + "$ref": "#/definitions/OpenAIIntegrationStatusResponseProperties", + "description": "Status of the OpenAI Integration" } } }, "OpenAIIntegrationStatusResponseProperties": { - "description": "Status of the OpenAI Integration", "type": "object", + "description": "Status of the OpenAI Integration", "properties": { "status": { - "description": "Status of the OpenAI Integration", - "type": "string" + "type": "string", + "description": "Status of the OpenAI Integration" + } + } + }, + "Operation": { + "type": "string", + "description": "The operation for the patch on the resource.", + "enum": [ + "AddBegin", + "AddComplete", + "DeleteBegin", + "DeleteComplete", + "Active" + ], + "x-ms-enum": { + "name": "Operation", + "modelAsString": true, + "values": [ + { + "name": "AddBegin", + "value": "AddBegin" + }, + { + "name": "AddComplete", + "value": "AddComplete" + }, + { + "name": "DeleteBegin", + "value": "DeleteBegin" + }, + { + "name": "DeleteComplete", + "value": "DeleteComplete" + }, + { + "name": "Active", + "value": "Active" + } + ] + } + }, + "OperationDisplay": { + "type": "object", + "description": "Represents the display information for an operation.", + "properties": { + "provider": { + "type": "string", + "description": "The service provider of the operation." + }, + "resource": { + "type": "string", + "description": "The resource type of the operation." + }, + "operation": { + "type": "string", + "description": "The name of the operation." + }, + "description": { + "type": "string", + "description": "A description of the operation." } } }, - "BillingInfoResponse": { - "description": "Marketplace Subscription and Organization details to which resource gets billed into.", + "OperationListResult": { "type": "object", + "description": "Represents a paginated list of operations.", "properties": { - "marketplaceSaasInfo": { - "description": "Marketplace Subscription details", - "$ref": "#/definitions/MarketplaceSaaSInfo" + "value": { + "type": "array", + "description": "The list of operations.", + "items": { + "$ref": "#/definitions/OperationResult" + }, + "x-ms-identifiers": [] }, - "partnerBillingEntity": { - "description": "Partner Billing Entity details: Organization Info", - "$ref": "#/definitions/PartnerBillingEntity" + "nextLink": { + "type": "string", + "description": "The URL to get the next set of results, if any." } + }, + "required": [ + "value" + ] + }, + "OperationName": { + "type": "string", + "description": "Operation to be performed on the given vm resource id.", + "enum": [ + "Add", + "Delete" + ], + "x-ms-enum": { + "name": "OperationName", + "modelAsString": true, + "values": [ + { + "name": "Add", + "value": "Add" + }, + { + "name": "Delete", + "value": "Delete" + } + ] } }, - "MarketplaceSaaSInfo": { - "description": "Marketplace SAAS Info of the resource.", + "OperationResult": { "type": "object", + "description": "A Microsoft.Elastic REST API operation.", "properties": { - "marketplaceSubscription": { - "description": "Marketplace Subscription", - "type": "object", - "properties": { - "id": { - "description": "Marketplace Subscription Id. This is a GUID-formatted string.", - "type": "string" - }, - "publisherId": { - "description": "Publisher Id of the Marketplace offer.", - "type": "string" - }, - "offerId": { - "description": "Offer Id of the Marketplace offer,", - "type": "string" - } - } - }, - "marketplaceName": { - "description": "Marketplace Subscription Details: SAAS Name", - "type": "string" - }, - "marketplaceResourceId": { - "description": "Marketplace Subscription Details: Resource URI", - "type": "string" + "name": { + "type": "string", + "description": "Operation name, i.e., {provider}/{resource}/{operation}." }, - "marketplaceStatus": { - "description": "Marketplace Subscription Details: SaaS Subscription Status", - "type": "string" + "isDataAction": { + "type": "boolean", + "description": "Indicates whether the operation is a data action" }, - "billedAzureSubscriptionId": { - "description": "The Azure Subscription ID to which the Marketplace Subscription belongs and gets billed into.", - "type": "string" + "display": { + "$ref": "#/definitions/OperationDisplay", + "description": "The object that represents the operation." }, - "subscribed": { - "description": "Flag specifying if the Marketplace status is subscribed or not.", - "type": "boolean" + "origin": { + "type": "string", + "description": "Origin of the operation" } } }, "PartnerBillingEntity": { - "description": "Partner Billing details associated with the resource.", "type": "object", + "description": "Partner Billing details associated with the resource.", "properties": { "id": { - "description": "The Elastic Organization Id.", - "type": "string" + "type": "string", + "description": "The Elastic Organization Id." }, "name": { - "description": "The Elastic Organization Name.", - "type": "string" + "type": "string", + "description": "The Elastic Organization Name." }, "partnerEntityUri": { - "description": "Link to the elastic organization page", - "type": "string" + "type": "string", + "description": "Link to the elastic organization page" } } }, - "ConnectedPartnerResourceProperties": { - "description": "Connected Partner Resource Properties", + "PlanDetails": { "type": "object", + "description": "Plan details of the monitor resource.", "properties": { - "partnerDeploymentName": { - "description": "Elastic resource name", - "type": "string" + "offerID": { + "type": "string", + "description": "Offer ID of the plan" }, - "partnerDeploymentUri": { - "description": "URL of the resource in Elastic cloud.", - "type": "string" + "publisherID": { + "type": "string", + "description": "Publisher ID of the plan" }, - "azureResourceId": { - "description": "The azure resource Id of the resource.", - "type": "string" + "termID": { + "type": "string", + "description": "Term ID of the plan" }, - "location": { - "description": "The location of the resource.", - "type": "string" + "planID": { + "type": "string", + "description": "Plan ID" }, - "type": { - "description": "The hosting type of the resource.", - "type": "string" + "planName": { + "type": "string", + "description": "Plan Name" } } }, - "ConnectedPartnerResourcesListFormat": { - "description": "Connected Partner Resources List Format", + "ProjectDetails": { "type": "object", + "description": "Project details of the monitor resource IF it belongs to Serverless offer kind.", "properties": { - "properties": { - "$ref": "#/definitions/ConnectedPartnerResourceProperties" + "projectType": { + "$ref": "#/definitions/ProjectType", + "description": "Project type; ex: Elasticsearch / Observability / Security" + }, + "configurationType": { + "$ref": "#/definitions/ConfigurationType", + "description": "Configuration type of the Elasticsearch project" } } }, - "ConnectedPartnerResourcesListResponse": { - "description": " List of all active elastic deployments.", - "type": "object", - "properties": { - "value": { - "description": "Results of a list operation.", - "type": "array", - "x-ms-identifiers": [ - "properties/azureResourceId" - ], - "items": { - "$ref": "#/definitions/ConnectedPartnerResourcesListFormat" + "ProjectType": { + "type": "string", + "description": "Project type; ex: Elasticsearch / Observability / Security", + "enum": [ + "Elasticsearch", + "Observability", + "Security", + "NotApplicable" + ], + "x-ms-enum": { + "name": "ProjectType", + "modelAsString": true, + "values": [ + { + "name": "Elasticsearch", + "value": "Elasticsearch" + }, + { + "name": "Observability", + "value": "Observability" + }, + { + "name": "Security", + "value": "Security" + }, + { + "name": "NotApplicable", + "value": "NotApplicable" } - }, - "nextLink": { - "description": "Link to the next set of results, if any.", - "type": "string" - } + ] } }, - "ElasticDeploymentStatus": { - "description": "Flag specifying if the Elastic deployment status is healthy or not.", + "ProvisioningState": { + "type": "string", + "description": "Provisioning state of Elastic resource.", "enum": [ - "Healthy", - "Unhealthy" + "Accepted", + "Creating", + "Updating", + "Deleting", + "Succeeded", + "Failed", + "Canceled", + "Deleted", + "NotSpecified" ], - "type": "string", "x-ms-enum": { + "name": "ProvisioningState", "modelAsString": true, - "name": "ElasticDeploymentStatus" + "values": [ + { + "name": "Accepted", + "value": "Accepted" + }, + { + "name": "Creating", + "value": "Creating" + }, + { + "name": "Updating", + "value": "Updating" + }, + { + "name": "Deleting", + "value": "Deleting" + }, + { + "name": "Succeeded", + "value": "Succeeded" + }, + { + "name": "Failed", + "value": "Failed" + }, + { + "name": "Canceled", + "value": "Canceled" + }, + { + "name": "Deleted", + "value": "Deleted" + }, + { + "name": "NotSpecified", + "value": "NotSpecified" + } + ] } }, - "DeploymentInfoResponse": { - "description": "The properties of deployment in Elastic cloud corresponding to the Elastic monitor resource.", + "ResourceProviderDefaultErrorResponse": { "type": "object", + "description": "RP default error response.", "properties": { - "status": { - "description": "The Elastic deployment status.", - "$ref": "#/definitions/ElasticDeploymentStatus", - "readOnly": true - }, - "version": { - "description": "Version of the elasticsearch in Elastic cloud deployment.", - "type": "string", - "readOnly": true - }, - "memoryCapacity": { - "description": "RAM capacity of the elasticsearch in Elastic cloud deployment.", - "type": "string", - "readOnly": true - }, - "diskCapacity": { - "description": "Disk capacity of the elasticsearch in Elastic cloud deployment.", - "type": "string", - "readOnly": true - }, - "elasticsearchEndPoint": { - "description": "Elasticsearch endpoint in Elastic cloud deployment. This is either the aliased_endpoint if available, or the service_url otherwise.", - "type": "string", - "readOnly": true - }, - "deploymentUrl": { - "description": "Deployment URL of the elasticsearch in Elastic cloud deployment.", - "type": "string", - "readOnly": true - }, - "marketplaceSaasInfo": { - "description": "Marketplace SaaS Info of the resource.", - "$ref": "#/definitions/MarketplaceSaaSInfo", - "readOnly": true - }, - "projectType": { - "description": "Project Type - Applicable for Serverless only.", - "type": "string", - "readOnly": true - }, - "configurationType": { - "description": "ConfigurationType Type - Applicable for Serverless only.", - "type": "string", + "error": { + "$ref": "#/definitions/ErrorResponseBody", + "description": "Response body of Error", "readOnly": true } } }, - "ExternalUserCreationResponse": { - "description": "The properties of the response we got from elastic while creating external user", + "ResourceSku": { "type": "object", + "description": "Represents the SKU of a resource.", "properties": { - "created": { - "description": "Shows if user is created or updated", - "type": "boolean", - "readOnly": true + "name": { + "type": "string", + "description": "The name of the SKU." } - } + }, + "required": [ + "name" + ] }, - "ExternalUserInfo": { - "description": "The properties of the request required for creating user on elastic side", + "ResubscribeProperties": { "type": "object", + "description": "Resubscribe Properties", "properties": { - "userName": { - "description": "Username of the user to be created or updated", - "type": "string" + "planId": { + "type": "string", + "description": "Newly selected plan Id to create the new Marketplace subscription for Resubscribe" }, - "fullName": { - "description": "Full name of the user to be created or updated", - "type": "string" + "term": { + "type": "string", + "description": "Newly selected term to create the new Marketplace subscription for Resubscribe" }, - "password": { - "x-ms-secret": true, - "description": "Password of the user to be created or updated", - "type": "string" + "subscriptionId": { + "type": "string", + "description": "Newly selected Azure Subscription Id in which the new Marketplace subscription will be created for Resubscribe" }, - "emailId": { - "description": "Email id of the user to be created or updated", - "type": "string" + "resourceGroup": { + "type": "string", + "description": "Newly selected Azure resource group in which the new Marketplace subscription will be created for Resubscribe" }, - "roles": { - "description": "Roles to be assigned for created or updated user", - "type": "array", - "x-ms-identifiers": [], - "items": { - "type": "string" - } + "organizationId": { + "type": "string", + "description": "Organization Id of the Elastic Organization that needs to be resubscribed" } } }, - "VMHostListResponse": { - "description": "Response of a list operation.", - "type": "object", - "properties": { - "value": { - "description": "Results of a list operation.", - "type": "array", - "x-ms-identifiers": [], - "items": { - "$ref": "#/definitions/VMResources" + "SendingLogs": { + "type": "string", + "description": "Flag indicating the status of the resource for sending logs operation to Elastic.", + "enum": [ + "True", + "False" + ], + "x-ms-enum": { + "name": "SendingLogs", + "modelAsString": true, + "values": [ + { + "name": "True", + "value": "True" + }, + { + "name": "False", + "value": "False" } - }, - "nextLink": { - "description": "Link to the next Vm resource Id, if any.", - "type": "string" - } + ] } }, - "VMResources": { - "description": "The vm resource properties that is currently being monitored by the Elastic monitor resource.", - "type": "object", - "properties": { - "vmResourceId": { - "description": "The ARM id of the VM resource.", - "type": "string" - } + "Status": { + "type": "string", + "description": "The state of monitoring.", + "enum": [ + "InProgress", + "Active", + "Failed", + "Deleting" + ], + "x-ms-enum": { + "name": "Status", + "modelAsString": true, + "values": [ + { + "name": "InProgress", + "value": "InProgress" + }, + { + "name": "Active", + "value": "Active" + }, + { + "name": "Failed", + "value": "Failed" + }, + { + "name": "Deleting", + "value": "Deleting" + } + ] } }, - "VMIngestionDetailsResponse": { - "description": "The vm ingestion details to install an agent.", + "SubscriptionList": { "type": "object", + "description": "The request to update subscriptions needed to be monitored by the Elastic monitor resource.", "properties": { - "cloudId": { - "description": "The cloudId of given Elastic monitor resource.", - "type": "string" + "operation": { + "$ref": "#/definitions/Operation", + "description": "The operation for the patch on the resource.", + "x-ms-mutability": [ + "update", + "create" + ] }, - "ingestionKey": { - "description": "Ingestion details to install agent on given VM.", - "type": "string", - "x-ms-secret": true + "monitoredSubscriptionList": { + "type": "array", + "description": "List of subscriptions and the state of the monitoring.", + "items": { + "$ref": "#/definitions/MonitoredSubscription" + }, + "x-ms-identifiers": [ + "properties/subscriptionId" + ] + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State of the resource", + "readOnly": true } } }, - "OperationName": { + "TagAction": { + "type": "string", + "description": "Valid actions for a filtering tag. Exclusion takes priority over inclusion.", "enum": [ - "Add", - "Delete" + "Include", + "Exclude" ], - "type": "string", - "description": "Operation to be performed on the given vm resource id.", - "title": "OperationName", "x-ms-enum": { + "name": "TagAction", "modelAsString": true, - "name": "OperationName" + "values": [ + { + "name": "Include", + "value": "Include" + }, + { + "name": "Exclude", + "value": "Exclude" + } + ] } }, - "VMCollectionUpdate": { - "description": "Update VM resource collection.", - "type": "object", - "x-ms-azure-resource": true, - "properties": { - "vmResourceId": { - "description": "ARM id of the VM resource.", - "type": "string" - }, - "operationName": { - "description": "Operation to be performed for given VM.", - "$ref": "#/definitions/OperationName" - } + "Type": { + "type": "string", + "description": "Type of the elastic filter", + "enum": [ + "ip", + "azure_private_endpoint" + ], + "x-ms-enum": { + "name": "Type", + "modelAsString": true, + "values": [ + { + "name": "ip", + "value": "ip" + }, + { + "name": "azure_private_endpoint", + "value": "azure_private_endpoint" + } + ] } }, "UpgradableVersionsList": { - "description": "Stack Versions that this version can upgrade to", "type": "object", + "description": "Stack Versions that this version can upgrade to", "properties": { "currentVersion": { "type": "string", @@ -3512,7 +4016,6 @@ }, "upgradableVersions": { "type": "array", - "x-ms-identifiers": [], "description": "Stack Versions that this version can upgrade to", "items": { "type": "string" @@ -3520,225 +4023,127 @@ } } }, - "ElasticTrafficFilterResponse": { - "description": "List of elastic traffic filters in the account", + "UserApiKeyResponse": { "type": "object", + "description": "The User Api Key created for the Organization associated with the User Email Id that was passed in the request", "properties": { - "rulesets": { - "type": "array", - "x-ms-identifiers": [], - "description": "List of elastic traffic filters in the account", - "items": { - "$ref": "#/definitions/ElasticTrafficFilter" - } + "properties": { + "$ref": "#/definitions/UserApiKeyResponseProperties" } } }, - "ElasticTrafficFilter": { - "description": "Elastic traffic filter object", + "UserApiKeyResponseProperties": { "type": "object", "properties": { - "id": { - "type": "string", - "description": "Id of the elastic filter" - }, - "name": { - "type": "string", - "description": "Name of the elastic filter" - }, - "description": { - "type": "string", - "description": "Description of the elastic filter" - }, - "region": { + "apiKey": { "type": "string", - "description": "Region of the elastic filter" - }, - "type": { - "enum": [ - "ip", - "azure_private_endpoint" - ], + "format": "password", + "description": "The User Api Key Generated based on GenerateApiKey flag. This is applicable for non-Portal clients only.", + "x-ms-secret": true + } + } + }, + "UserEmailId": { + "type": "object", + "description": "Email Id of the User Organization, of which the API Key must be returned", + "properties": { + "emailId": { "type": "string", - "description": "Type of the elastic filter", - "x-ms-enum": { - "modelAsString": true, - "name": "type" - } - }, - "includeByDefault": { - "type": "boolean", - "description": "IncludeByDefault for the elastic filter" - }, - "rules": { - "type": "array", - "description": "Rules in the elastic filter", - "items": { - "$ref": "#/definitions/ElasticTrafficFilterRule" - } + "description": "The User email Id" } } }, - "ElasticTrafficFilterRule": { - "description": "Elastic traffic filter rule object", + "UserInfo": { "type": "object", + "description": "User Information to be passed to partners.", "properties": { - "source": { + "firstName": { "type": "string", - "description": "IP of the elastic filter rule" + "description": "First name of the user", + "maxLength": 128 }, - "description": { + "lastName": { "type": "string", - "description": "Description of the elastic filter rule" + "description": "Last name of the user", + "maxLength": 128 }, - "azureEndpointGuid": { + "companyName": { "type": "string", - "description": "Guid of Private Endpoint in the elastic filter rule" + "description": "Company name of the user", + "maxLength": 128 }, - "azureEndpointName": { + "emailAddress": { "type": "string", - "description": "Name of the Private Endpoint in the elastic filter rule" + "description": "Email of the user used by Elastic for contacting them if needed", + "pattern": "^([^<>()\\[\\]\\.,;:\\s@\"]+(\\.[^<>()\\[\\]\\.,;:\\s@\"]+)*)@(([a-zA-Z-_0-9]+\\.)+[a-zA-Z]{2,})$" }, - "id": { - "type": "string", - "description": "Id of the elastic filter rule" + "companyInfo": { + "$ref": "#/definitions/CompanyInfo", + "description": "Company information of the user to be passed to partners." } } }, - "ElasticMonitorUpgrade": { - "description": "Upgrade elastic monitor version", + "VMCollectionUpdate": { "type": "object", + "description": "Update VM resource collection.", "properties": { - "version": { + "vmResourceId": { "type": "string", - "description": "Version to which the elastic monitor should be upgraded to" + "description": "ARM id of the VM resource." + }, + "operationName": { + "$ref": "#/definitions/OperationName", + "description": "Operation to be performed for given VM." } } }, - "UserEmailId": { - "description": "Email Id of the User Organization, of which the API Key must be returned", + "VMHostListResponse": { "type": "object", + "description": "Response of a list operation.", "properties": { - "emailId": { + "value": { + "type": "array", + "description": "The VMResources items on this page", + "items": { + "$ref": "#/definitions/VMResources" + } + }, + "nextLink": { "type": "string", - "description": "The User email Id" - } - } - }, - "UserApiKeyResponse": { - "description": "The User Api Key created for the Organization associated with the User Email Id that was passed in the request", - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/UserApiKeyResponseProperties" + "format": "uri", + "description": "The link to the next page of items" } - } + }, + "required": [ + "value" + ] }, - "UserApiKeyResponseProperties": { + "VMIngestionDetailsResponse": { "type": "object", + "description": "The vm ingestion details to install an agent.", "properties": { - "apiKey": { - "description": "The User Api Key Generated based on GenerateApiKey flag. This is applicable for non-Portal clients only.", + "cloudId": { "type": "string", - "x-ms-secret": true - } - } - }, - "ElasticOrganizationToAzureSubscriptionMappingResponse": { - "description": "The Azure Subscription ID to which the Organization of the logged in user belongs and gets billed into.", - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/ElasticOrganizationToAzureSubscriptionMappingResponseProperties" - } - } - }, - "ElasticOrganizationToAzureSubscriptionMappingResponseProperties": { - "description": "The properties of Azure Subscription ID to which the Organization of the logged in user belongs and gets billed into.", - "type": "object", - "properties": { - "billedAzureSubscriptionId": { - "description": "The Azure Subscription ID to which the Organization belongs and gets billed into. This is empty for a new user OR a user without an Elastic Organization.", - "type": "string" + "description": "The cloudId of given Elastic monitor resource." }, - "marketplaceSaasInfo": { - "description": "Marketplace SaaS Info of the resource.", - "$ref": "#/definitions/MarketplaceSaaSInfo", - "readOnly": true - }, - "elasticOrganizationId": { - "description": "The Elastic Organization Id.", - "type": "string" - }, - "elasticOrganizationName": { - "description": "The Elastic Organization Name.", - "type": "string" + "ingestionKey": { + "type": "string", + "format": "password", + "description": "Ingestion details to install agent on given VM.", + "x-ms-secret": true } } }, - "ResubscribeProperties": { - "description": "Resubscribe Properties", + "VMResources": { "type": "object", + "description": "The vm resource properties that is currently being monitored by the Elastic monitor resource.", "properties": { - "planId": { - "description": "Newly selected plan Id to create the new Marketplace subscription for Resubscribe", - "type": "string" - }, - "term": { - "description": "Newly selected term to create the new Marketplace subscription for Resubscribe", - "type": "string" - }, - "subscriptionId": { - "description": "Newly selected Azure Subscription Id in which the new Marketplace subscription will be created for Resubscribe", - "type": "string" - }, - "resourceGroup": { - "description": "Newly selected Azure resource group in which the new Marketplace subscription will be created for Resubscribe", - "type": "string" - }, - "organizationId": { - "description": "Organization Id of the Elastic Organization that needs to be resubscribed", - "type": "string" + "vmResourceId": { + "type": "string", + "description": "The ARM id of the VM resource." } } } }, - "parameters": { - "MonitorNameParameter": { - "in": "path", - "name": "monitorName", - "description": "Monitor resource name", - "required": true, - "type": "string", - "pattern": "^.*$", - "x-ms-parameter-location": "method" - }, - "RuleSetNameParameter": { - "in": "path", - "name": "ruleSetName", - "description": "Tag Rule Set resource name", - "required": true, - "type": "string", - "pattern": "^.*$", - "x-ms-parameter-location": "method" - }, - "OpenAIIntegrationNameParameter": { - "in": "path", - "name": "integrationName", - "description": "OpenAI Integration name", - "required": true, - "type": "string", - "pattern": "^[a-z][a-z0-9]*$", - "x-ms-parameter-location": "method" - }, - "ConfigurationNameParameter": { - "description": "The configuration name. Only 'default' value is supported.", - "in": "path", - "name": "configurationName", - "pattern": "^.*$", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - } - } + "parameters": {} } diff --git a/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/AllTrafficFilters_list.json b/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/AllTrafficFilters_list.json index 9b8aff19547c..183be23072c4 100644 --- a/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/AllTrafficFilters_list.json +++ b/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/AllTrafficFilters_list.json @@ -1,30 +1,30 @@ { "parameters": { "api-version": "2025-06-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", + "monitorName": "myMonitor", "resourceGroupName": "myResourceGroup", - "monitorName": "myMonitor" + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { "rulesets": [ { - "id": "31d91b5afb6f4c2eaaf104c97b1991dd", "name": "IPFromApi", - "description": "created from azure", "type": "ip", + "description": "created from azure", + "id": "31d91b5afb6f4c2eaaf104c97b1991dd", "includeByDefault": false, "region": "azure-eastus", "rules": [ { - "id": "f0297dad72af4a5e964cddf817f35e65", "description": "Allow inbound traffic from IP address 192.168.131.0", + "id": "f0297dad72af4a5e964cddf817f35e65", "source": "192.168.131.0" }, { - "id": "f9c00169f0e54931ae72aabde326b589", "description": "Allow inbound traffic from IP address block 192.168.132.6/22", + "id": "f9c00169f0e54931ae72aabde326b589", "source": "192.168.132.6/22" } ] @@ -32,5 +32,7 @@ ] } } - } + }, + "operationId": "AllTrafficFilters_list", + "title": "AllTrafficFilters_list" } diff --git a/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/AssociateTrafficFilter_Update.json b/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/AssociateTrafficFilter_Update.json index 920143999611..7faa0ff521f0 100644 --- a/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/AssociateTrafficFilter_Update.json +++ b/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/AssociateTrafficFilter_Update.json @@ -1,10 +1,10 @@ { "parameters": { "api-version": "2025-06-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", "monitorName": "myMonitor", - "rulesetId": "31d91b5afb6f4c2eaaf104c97b1991dd" + "resourceGroupName": "myResourceGroup", + "rulesetId": "31d91b5afb6f4c2eaaf104c97b1991dd", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "202": { @@ -12,5 +12,7 @@ "Location": "https://management.azure.com/subscriptions/subid/resourceGroups/resourceGroup/providers/Microsoft.Elastic/monitor/monitorname/associateTrafficFilter?api-version=2025-06-01" } } - } + }, + "operationId": "AssociateTrafficFilter_Associate", + "title": "AssociateTrafficFilter_Associate" } diff --git a/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/AssociatedFiltersForDeployment_list.json b/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/AssociatedFiltersForDeployment_list.json index 9b8aff19547c..e5e14fc810fd 100644 --- a/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/AssociatedFiltersForDeployment_list.json +++ b/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/AssociatedFiltersForDeployment_list.json @@ -1,30 +1,30 @@ { "parameters": { "api-version": "2025-06-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", + "monitorName": "myMonitor", "resourceGroupName": "myResourceGroup", - "monitorName": "myMonitor" + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { "rulesets": [ { - "id": "31d91b5afb6f4c2eaaf104c97b1991dd", "name": "IPFromApi", - "description": "created from azure", "type": "ip", + "description": "created from azure", + "id": "31d91b5afb6f4c2eaaf104c97b1991dd", "includeByDefault": false, "region": "azure-eastus", "rules": [ { - "id": "f0297dad72af4a5e964cddf817f35e65", "description": "Allow inbound traffic from IP address 192.168.131.0", + "id": "f0297dad72af4a5e964cddf817f35e65", "source": "192.168.131.0" }, { - "id": "f9c00169f0e54931ae72aabde326b589", "description": "Allow inbound traffic from IP address block 192.168.132.6/22", + "id": "f9c00169f0e54931ae72aabde326b589", "source": "192.168.132.6/22" } ] @@ -32,5 +32,7 @@ ] } } - } + }, + "operationId": "listAssociatedTrafficFilters_list", + "title": "listAssociatedTrafficFilters_list" } diff --git a/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/BillingInfo_Get.json b/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/BillingInfo_Get.json index 2155cd6ceaaf..e419b045d8fb 100644 --- a/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/BillingInfo_Get.json +++ b/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/BillingInfo_Get.json @@ -1,29 +1,31 @@ { "parameters": { "api-version": "2025-06-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", + "monitorName": "myMonitor", "resourceGroupName": "myResourceGroup", - "monitorName": "myMonitor" + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { "marketplaceSaasInfo": { - "marketplaceSubscription": { - "id": "12345678-1234-1234-1234-123456789012" - }, + "billedAzureSubscriptionId": "00000000-0000-0000-0000-000000000000", "marketplaceName": "MP_RESOURCE", "marketplaceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.SaaS/resources/AzElastic_b1190c8f", "marketplaceStatus": "Status", - "billedAzureSubscriptionId": "00000000-0000-0000-0000-000000000000", + "marketplaceSubscription": { + "id": "12345678-1234-1234-1234-123456789012" + }, "subscribed": true }, "partnerBillingEntity": { - "id": "1234567890", "name": "elasticOrganizationName", + "id": "1234567890", "partnerEntityUri": "https://example.com" } } } - } + }, + "operationId": "BillingInfo_Get", + "title": "BillingInfo_Get" } diff --git a/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/ConnectedPartnerResources_List.json b/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/ConnectedPartnerResources_List.json index 3f4e1ff2a77d..7ffaaa4a494a 100644 --- a/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/ConnectedPartnerResources_List.json +++ b/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/ConnectedPartnerResources_List.json @@ -1,9 +1,9 @@ { "parameters": { "api-version": "2025-06-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", + "monitorName": "myMonitor", "resourceGroupName": "myResourceGroup", - "monitorName": "myMonitor" + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { @@ -11,15 +11,17 @@ "value": [ { "properties": { - "partnerDeploymentName": "deploymentname", - "partnerDeploymentUri": "https://examplessourl.com", + "type": "hostingType", "azureResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/monitors/myMonitor", "location": "West US 2", - "type": "hostingType" + "partnerDeploymentName": "deploymentname", + "partnerDeploymentUri": "https://examplessourl.com" } } ] } } - } + }, + "operationId": "ConnectedPartnerResources_List", + "title": "ConnectedPartnerResources_List" } diff --git a/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/DeploymentInfo_List.json b/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/DeploymentInfo_List.json index b3c5b566fca1..cc8a04d502e0 100644 --- a/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/DeploymentInfo_List.json +++ b/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/DeploymentInfo_List.json @@ -1,28 +1,30 @@ { "parameters": { "api-version": "2025-06-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", + "monitorName": "myMonitor", "resourceGroupName": "myResourceGroup", - "monitorName": "myMonitor" + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "status": "Healthy", - "version": "7.9.3", - "memoryCapacity": "1024", + "deploymentUrl": "https://endpoint.eastus.kb.azure.elastic-cloud.com:9243", "diskCapacity": "245760", "elasticsearchEndPoint": "alias.es.eastus2.staging.azure.foundit.no", - "deploymentUrl": "https://endpoint.eastus.kb.azure.elastic-cloud.com:9243", "marketplaceSaasInfo": { - "marketplaceSubscription": { - "id": "12345678-1234-1234-1234-123456789012" - }, "marketplaceName": "MP_RESOURCE", "marketplaceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.SaaS/resources/AzElastic_b1190c8f", - "marketplaceStatus": "Status" - } + "marketplaceStatus": "Status", + "marketplaceSubscription": { + "id": "12345678-1234-1234-1234-123456789012" + } + }, + "memoryCapacity": "1024", + "status": "Healthy", + "version": "7.9.3" } } - } + }, + "operationId": "DeploymentInfo_List", + "title": "DeploymentInfo_List" } diff --git a/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/DetachAndDeleteTrafficFilter_Delete.json b/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/DetachAndDeleteTrafficFilter_Delete.json index 885b31d87b40..e06fd9847b09 100644 --- a/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/DetachAndDeleteTrafficFilter_Delete.json +++ b/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/DetachAndDeleteTrafficFilter_Delete.json @@ -1,12 +1,14 @@ { "parameters": { "api-version": "2025-06-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", "monitorName": "myMonitor", - "rulesetId": "31d91b5afb6f4c2eaaf104c97b1991dd" + "resourceGroupName": "myResourceGroup", + "rulesetId": "31d91b5afb6f4c2eaaf104c97b1991dd", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": {} - } + }, + "operationId": "DetachAndDeleteTrafficFilter_Delete", + "title": "DetachAndDeleteTrafficFilter_Delete" } diff --git a/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/DetachTrafficFilters_Update.json b/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/DetachTrafficFilters_Update.json index 24b2d309eef0..4210cdba4a8f 100644 --- a/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/DetachTrafficFilters_Update.json +++ b/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/DetachTrafficFilters_Update.json @@ -1,10 +1,10 @@ { "parameters": { "api-version": "2025-06-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", "monitorName": "myMonitor", - "rulesetId": "31d91b5afb6f4c2eaaf104c97b1991dd" + "resourceGroupName": "myResourceGroup", + "rulesetId": "31d91b5afb6f4c2eaaf104c97b1991dd", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "202": { @@ -12,5 +12,7 @@ "Location": "https://management.azure.com/subscriptions/subid/resourceGroups/resourceGroup/providers/Microsoft.Elastic/monitor/monitorname/detachTrafficFilter?api-version=2025-06-01" } } - } + }, + "operationId": "DetachTrafficFilter_Update", + "title": "DetachTrafficFilter_Update" } diff --git a/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/ElasticVersions_List.json b/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/ElasticVersions_List.json index ee0db3540180..9c46715425d2 100644 --- a/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/ElasticVersions_List.json +++ b/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/ElasticVersions_List.json @@ -16,5 +16,7 @@ ] } } - } + }, + "operationId": "ElasticVersions_List", + "title": "ElasticVersions_List" } diff --git a/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/ExternalUserInfo.json b/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/ExternalUserInfo.json index e3d35b7d6706..2df1046c256d 100644 --- a/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/ExternalUserInfo.json +++ b/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/ExternalUserInfo.json @@ -1,19 +1,19 @@ { "parameters": { "api-version": "2025-06-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", "monitorName": "myMonitor", "requestBody": { - "UserName": "newuser", + "EmailId": "myemail@outlook.com", "FullName": "fullname", "Password": "Password", - "EmailId": "myemail@outlook.com", "Roles": [ "admin", "other_role1" - ] - } + ], + "UserName": "newuser" + }, + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { @@ -21,5 +21,7 @@ "created": true } } - } + }, + "operationId": "ExternalUser_CreateOrUpdate", + "title": "ExternalUser_CreateOrUpdate" } diff --git a/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/IPTrafficFilter_Create.json b/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/IPTrafficFilter_Create.json index a68246c98281..010bbcbf70f8 100644 --- a/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/IPTrafficFilter_Create.json +++ b/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/IPTrafficFilter_Create.json @@ -1,11 +1,11 @@ { "parameters": { "api-version": "2025-06-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", + "ips": "192.168.131.0, 192.168.132.6/22", "monitorName": "myMonitor", + "resourceGroupName": "myResourceGroup", "rulesetId": "31d91b5afb6f4c2eaaf104c97b1991dd", - "ips": "192.168.131.0, 192.168.132.6/22" + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": {}, @@ -14,5 +14,7 @@ "Location": "https://management.azure.com/subscriptions/subid/resourceGroups/resourceGroup/providers/Microsoft.Elastic/monitor/monitorname/createAndAssociateIPFilter?api-version=2025-06-01" } } - } + }, + "operationId": "createAndAssociateIPFilter_Create", + "title": "createAndAssociateIPFilter_Create" } diff --git a/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/Monitor_Upgrade.json b/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/Monitor_Upgrade.json index 3aac8b200e6b..30466c54f6f2 100644 --- a/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/Monitor_Upgrade.json +++ b/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/Monitor_Upgrade.json @@ -1,12 +1,12 @@ { "parameters": { "api-version": "2025-06-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", "monitorName": "myMonitor", "requestBody": { "version": "7.15.1" - } + }, + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "202": { @@ -14,5 +14,7 @@ "Location": "https://management.azure.com/subscriptions/subid/resourceGroups/resourceGroup/providers/Microsoft.Elastic/monitor/monitorname/upgrade?api-version=2025-06-01" } } - } + }, + "operationId": "Monitor_Upgrade", + "title": "Monitor_Upgrade" } diff --git a/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/MonitoredResources_List.json b/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/MonitoredResources_List.json index 46a797e227e9..d0e8930540cc 100644 --- a/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/MonitoredResources_List.json +++ b/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/MonitoredResources_List.json @@ -1,9 +1,9 @@ { "parameters": { "api-version": "2025-06-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", + "monitorName": "myMonitor", "resourceGroupName": "myResourceGroup", - "monitorName": "myMonitor" + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { @@ -11,11 +11,13 @@ "value": [ { "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVault", - "sendingLogs": "True", - "reasonForLogsStatus": "CapturedByRules" + "reasonForLogsStatus": "CapturedByRules", + "sendingLogs": "True" } ] } } - } + }, + "operationId": "MonitoredResources_List", + "title": "MonitoredResources_List" } diff --git a/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/MonitoredSubscriptions_CreateorUpdate.json b/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/MonitoredSubscriptions_CreateorUpdate.json index aeebdb89ec1f..7a43f22290e1 100644 --- a/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/MonitoredSubscriptions_CreateorUpdate.json +++ b/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/MonitoredSubscriptions_CreateorUpdate.json @@ -1,98 +1,98 @@ { "parameters": { "api-version": "2025-06-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "monitorName": "myMonitor", "configurationName": "default", + "monitorName": "myMonitor", "requestBody": { "properties": { - "operation": "AddBegin", "monitoredSubscriptionList": [ { - "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000000", "status": "Active", + "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000000", "tagRules": { "logRules": { - "sendAadLogs": true, - "sendSubscriptionLogs": true, - "sendActivityLogs": true, "filteringTags": [ { "name": "saokgpjvdlorciqbjmjxazpee", - "value": "sarxrqsxouhdjwsrqqicbeirdb", - "action": "Include" + "action": "Include", + "value": "sarxrqsxouhdjwsrqqicbeirdb" } - ] + ], + "sendAadLogs": true, + "sendActivityLogs": true, + "sendSubscriptionLogs": true } } }, { - "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000001", "status": "Failed", + "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000001", "tagRules": { "logRules": { - "sendAadLogs": true, - "sendSubscriptionLogs": true, - "sendActivityLogs": true, "filteringTags": [ { "name": "saokgpjvdlorciqbjmjxazpee", - "value": "sarxrqsxouhdjwsrqqicbeirdb", - "action": "Include" + "action": "Include", + "value": "sarxrqsxouhdjwsrqqicbeirdb" } - ] + ], + "sendAadLogs": true, + "sendActivityLogs": true, + "sendSubscriptionLogs": true } } } - ] + ], + "operation": "AddBegin" } - } + }, + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { "name": "default", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Elastic/monitors/myMonitor/monitoredSubscriptions/default", "type": "Microsoft.Elastic/monitors/monitoredSubscriptions", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Elastic/monitors/myMonitor/monitoredSubscriptions/default", "properties": { "monitoredSubscriptionList": [ { - "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000000", "status": "Active", + "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000000", "tagRules": { - "provisioningState": "Accepted", "logRules": { - "sendAadLogs": true, - "sendSubscriptionLogs": true, - "sendActivityLogs": true, "filteringTags": [ { "name": "saokgpjvdlorciqbjmjxazpee", - "value": "sarxrqsxouhdjwsrqqicbeirdb", - "action": "Include" + "action": "Include", + "value": "sarxrqsxouhdjwsrqqicbeirdb" } - ] - } + ], + "sendAadLogs": true, + "sendActivityLogs": true, + "sendSubscriptionLogs": true + }, + "provisioningState": "Accepted" } }, { - "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000001", "status": "Failed", + "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000001", "tagRules": { - "provisioningState": "Accepted", "logRules": { - "sendAadLogs": true, - "sendSubscriptionLogs": true, - "sendActivityLogs": true, "filteringTags": [ { "name": "saokgpjvdlorciqbjmjxazpee", - "value": "sarxrqsxouhdjwsrqqicbeirdb", - "action": "Include" + "action": "Include", + "value": "sarxrqsxouhdjwsrqqicbeirdb" } - ] - } + ], + "sendAadLogs": true, + "sendActivityLogs": true, + "sendSubscriptionLogs": true + }, + "provisioningState": "Accepted" } } ] @@ -102,51 +102,53 @@ "201": { "body": { "name": "default", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Elastic/monitors/myMonitor/monitoredSubscriptions/default", "type": "Microsoft.Elastic/monitors/monitoredSubscriptions", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Elastic/monitors/myMonitor/monitoredSubscriptions/default", "properties": { "monitoredSubscriptionList": [ { - "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000000", "status": "Active", + "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000000", "tagRules": { - "provisioningState": "Accepted", "logRules": { - "sendAadLogs": true, - "sendSubscriptionLogs": true, - "sendActivityLogs": true, "filteringTags": [ { "name": "saokgpjvdlorciqbjmjxazpee", - "value": "sarxrqsxouhdjwsrqqicbeirdb", - "action": "Include" + "action": "Include", + "value": "sarxrqsxouhdjwsrqqicbeirdb" } - ] - } + ], + "sendAadLogs": true, + "sendActivityLogs": true, + "sendSubscriptionLogs": true + }, + "provisioningState": "Accepted" } }, { - "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000001", "status": "Failed", + "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000001", "tagRules": { - "provisioningState": "Accepted", "logRules": { - "sendAadLogs": true, - "sendSubscriptionLogs": true, - "sendActivityLogs": true, "filteringTags": [ { "name": "saokgpjvdlorciqbjmjxazpee", - "value": "sarxrqsxouhdjwsrqqicbeirdb", - "action": "Include" + "action": "Include", + "value": "sarxrqsxouhdjwsrqqicbeirdb" } - ] - } + ], + "sendAadLogs": true, + "sendActivityLogs": true, + "sendSubscriptionLogs": true + }, + "provisioningState": "Accepted" } } ] } } } - } + }, + "operationId": "MonitoredSubscriptions_CreateorUpdate", + "title": "Monitors_AddMonitoredSubscriptions" } diff --git a/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/MonitoredSubscriptions_Delete.json b/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/MonitoredSubscriptions_Delete.json index 753ab2f46c87..e2bb0c3f430c 100644 --- a/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/MonitoredSubscriptions_Delete.json +++ b/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/MonitoredSubscriptions_Delete.json @@ -1,10 +1,10 @@ { "parameters": { "api-version": "2025-06-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", + "configurationName": "default", "monitorName": "myMonitor", - "configurationName": "default" + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "202": { @@ -13,5 +13,7 @@ } }, "204": {} - } + }, + "operationId": "MonitoredSubscriptions_Delete", + "title": "Monitors_DeleteMonitoredSubscriptions" } diff --git a/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/MonitoredSubscriptions_Get.json b/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/MonitoredSubscriptions_Get.json index 7d1639dfbf93..b1872b0d5160 100644 --- a/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/MonitoredSubscriptions_Get.json +++ b/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/MonitoredSubscriptions_Get.json @@ -1,60 +1,62 @@ { "parameters": { "api-version": "2025-06-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", + "configurationName": "default", "monitorName": "myMonitor", - "configurationName": "default" + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { "name": "default", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Elastic/monitors/myMonitor/monitoredSubscriptions/default", "type": "Microsoft.Elastic/monitors/monitoredSubscriptions", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Elastic/monitors/myMonitor/monitoredSubscriptions/default", "properties": { "monitoredSubscriptionList": [ { - "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000000", "status": "Active", + "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000000", "tagRules": { - "provisioningState": "Accepted", "logRules": { - "sendAadLogs": true, - "sendSubscriptionLogs": true, - "sendActivityLogs": true, "filteringTags": [ { "name": "saokgpjvdlorciqbjmjxazpee", - "value": "sarxrqsxouhdjwsrqqicbeirdb", - "action": "Include" + "action": "Include", + "value": "sarxrqsxouhdjwsrqqicbeirdb" } - ] - } + ], + "sendAadLogs": true, + "sendActivityLogs": true, + "sendSubscriptionLogs": true + }, + "provisioningState": "Accepted" } }, { - "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000001", "status": "Failed", + "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000001", "tagRules": { - "provisioningState": "Accepted", "logRules": { - "sendAadLogs": true, - "sendSubscriptionLogs": true, - "sendActivityLogs": true, "filteringTags": [ { "name": "saokgpjvdlorciqbjmjxazpee", - "value": "sarxrqsxouhdjwsrqqicbeirdb", - "action": "Include" + "action": "Include", + "value": "sarxrqsxouhdjwsrqqicbeirdb" } - ] - } + ], + "sendAadLogs": true, + "sendActivityLogs": true, + "sendSubscriptionLogs": true + }, + "provisioningState": "Accepted" } } ] } } } - } + }, + "operationId": "MonitoredSubscriptions_Get", + "title": "Monitors_GetMonitoredSubscriptions" } diff --git a/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/MonitoredSubscriptions_List.json b/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/MonitoredSubscriptions_List.json index ebb8ae28c977..5a66ef2afcbc 100644 --- a/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/MonitoredSubscriptions_List.json +++ b/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/MonitoredSubscriptions_List.json @@ -1,64 +1,66 @@ { "parameters": { "api-version": "2025-06-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", + "monitorName": "myMonitor", "resourceGroupName": "myResourceGroup", - "monitorName": "myMonitor" + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { + "nextLink": null, "value": [ { "name": "default", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Elastic/monitors/myMonitor/monitoredSubscriptions/default", "type": "Microsoft.Elastic/monitors/monitoredSubscriptions", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Elastic/monitors/myMonitor/monitoredSubscriptions/default", "properties": { "monitoredSubscriptionList": [ { - "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000000", "status": "Active", + "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000000", "tagRules": { - "provisioningState": "Accepted", "logRules": { - "sendAadLogs": true, - "sendSubscriptionLogs": true, - "sendActivityLogs": true, "filteringTags": [ { "name": "saokgpjvdlorciqbjmjxazpee", - "value": "sarxrqsxouhdjwsrqqicbeirdb", - "action": "Include" + "action": "Include", + "value": "sarxrqsxouhdjwsrqqicbeirdb" } - ] - } + ], + "sendAadLogs": true, + "sendActivityLogs": true, + "sendSubscriptionLogs": true + }, + "provisioningState": "Accepted" } }, { - "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000001", "status": "Failed", + "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000001", "tagRules": { - "provisioningState": "Accepted", "logRules": { - "sendAadLogs": true, - "sendSubscriptionLogs": true, - "sendActivityLogs": true, "filteringTags": [ { "name": "saokgpjvdlorciqbjmjxazpee", - "value": "sarxrqsxouhdjwsrqqicbeirdb", - "action": "Include" + "action": "Include", + "value": "sarxrqsxouhdjwsrqqicbeirdb" } - ] - } + ], + "sendAadLogs": true, + "sendActivityLogs": true, + "sendSubscriptionLogs": true + }, + "provisioningState": "Accepted" } } ] } } - ], - "nextLink": null + ] } } - } + }, + "operationId": "MonitoredSubscriptions_List", + "title": "Monitors_GetMonitoredSubscriptions" } diff --git a/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/MonitoredSubscriptions_Update.json b/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/MonitoredSubscriptions_Update.json index 5c18cb4336ca..80317ff7c103 100644 --- a/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/MonitoredSubscriptions_Update.json +++ b/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/MonitoredSubscriptions_Update.json @@ -1,98 +1,98 @@ { "parameters": { "api-version": "2025-06-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "monitorName": "myMonitor", "configurationName": "default", + "monitorName": "myMonitor", "requestBody": { "properties": { - "operation": "AddComplete", "monitoredSubscriptionList": [ { - "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000000", "status": "Active", + "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000000", "tagRules": { "logRules": { - "sendAadLogs": true, - "sendSubscriptionLogs": true, - "sendActivityLogs": true, "filteringTags": [ { "name": "saokgpjvdlorciqbjmjxazpee", - "value": "sarxrqsxouhdjwsrqqicbeirdb", - "action": "Include" + "action": "Include", + "value": "sarxrqsxouhdjwsrqqicbeirdb" } - ] + ], + "sendAadLogs": true, + "sendActivityLogs": true, + "sendSubscriptionLogs": true } } }, { - "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000001", "status": "Failed", + "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000001", "tagRules": { "logRules": { - "sendAadLogs": true, - "sendSubscriptionLogs": true, - "sendActivityLogs": true, "filteringTags": [ { "name": "saokgpjvdlorciqbjmjxazpee", - "value": "sarxrqsxouhdjwsrqqicbeirdb", - "action": "Include" + "action": "Include", + "value": "sarxrqsxouhdjwsrqqicbeirdb" } - ] + ], + "sendAadLogs": true, + "sendActivityLogs": true, + "sendSubscriptionLogs": true } } } - ] + ], + "operation": "AddComplete" } - } + }, + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { "name": "default", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Elastic/monitors/myMonitor/monitoredSubscriptions/default", "type": "Microsoft.Elastic/monitors/monitoredSubscriptions", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Elastic/monitors/myMonitor/monitoredSubscriptions/default", "properties": { "monitoredSubscriptionList": [ { - "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000000", "status": "Active", + "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000000", "tagRules": { - "provisioningState": "Accepted", "logRules": { - "sendAadLogs": true, - "sendSubscriptionLogs": true, - "sendActivityLogs": true, "filteringTags": [ { "name": "saokgpjvdlorciqbjmjxazpee", - "value": "sarxrqsxouhdjwsrqqicbeirdb", - "action": "Include" + "action": "Include", + "value": "sarxrqsxouhdjwsrqqicbeirdb" } - ] - } + ], + "sendAadLogs": true, + "sendActivityLogs": true, + "sendSubscriptionLogs": true + }, + "provisioningState": "Accepted" } }, { - "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000001", "status": "Failed", + "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000001", "tagRules": { - "provisioningState": "Accepted", "logRules": { - "sendAadLogs": true, - "sendSubscriptionLogs": true, - "sendActivityLogs": true, "filteringTags": [ { "name": "saokgpjvdlorciqbjmjxazpee", - "value": "sarxrqsxouhdjwsrqqicbeirdb", - "action": "Include" + "action": "Include", + "value": "sarxrqsxouhdjwsrqqicbeirdb" } - ] - } + ], + "sendAadLogs": true, + "sendActivityLogs": true, + "sendSubscriptionLogs": true + }, + "provisioningState": "Accepted" } } ] @@ -104,5 +104,7 @@ "Location": "https://management.azure.com/subscriptions/subid/resourceGroups/peerTest/providers/Microsoft.Elastic/monitors/test?api-version=2025-06-01" } } - } + }, + "operationId": "MonitoredSubscriptions_Update", + "title": "Monitors_UpdateMonitoredSubscriptions" } diff --git a/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/Monitors_Create.json b/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/Monitors_Create.json index 9d3f12d7b70e..3fc14d4765ed 100644 --- a/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/Monitors_Create.json +++ b/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/Monitors_Create.json @@ -1,122 +1,124 @@ { "parameters": { "api-version": "2025-06-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", "monitorName": "myMonitor", "requestBody": { "name": "myMonitor", "kind": "elastic-hosted-deployment", - "sku": { - "name": "free_Monthly" - }, + "location": "West US 2", "properties": { - "userInfo": { - "firstName": "Alice", - "lastName": "Bob", - "companyName": "Microsoft", - "emailAddress": "alice@microsoft.com", - "companyInfo": { - "domain": "microsoft.com", - "business": "Technology", - "employeeNumber": "10000", - "state": "WA", - "country": "US" - } - }, + "hostingType": "Hosted", "planDetails": { "offerID": "00000", - "publisherID": "1234", - "termID": "free_Monthly", "planID": "xxxyyy", - "planName": "myPlan" + "planName": "myPlan", + "publisherID": "1234", + "termID": "free_Monthly" }, - "hostingType": "Hosted", "projectDetails": { - "projectType": "NotApplicable", - "configurationType": "NotApplicable" + "configurationType": "NotApplicable", + "projectType": "NotApplicable" }, - "subscriptionState": "Suspended", "saaSAzureSubscriptionStatus": "Subscribed", + "sourceCampaignId": "0000", "sourceCampaignName": "Elastic", - "sourceCampaignId": "0000" + "subscriptionState": "Suspended", + "userInfo": { + "companyInfo": { + "business": "Technology", + "country": "US", + "domain": "microsoft.com", + "employeeNumber": "10000", + "state": "WA" + }, + "companyName": "Microsoft", + "emailAddress": "alice@microsoft.com", + "firstName": "Alice", + "lastName": "Bob" + } + }, + "sku": { + "name": "free_Monthly" }, "tags": { "Environment": "Dev" - }, - "location": "West US 2" - } + } + }, + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/monitors/myMonitor", "name": "myMonitor", "type": "Microsoft.Elastic/monitors", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Elastic/monitors/myMonitor", "kind": "elastic-hosted-deployment", - "sku": { - "name": "free_Monthly" - }, + "location": "West US 2", "properties": { - "provisioningState": "Succeeded", "elasticProperties": { - "elasticCloudUser": { - "emailAddress": "alice@microsoft.com", - "id": "myid123", - "elasticCloudSsoDefaultUrl": "https://examplessourl.com" - }, "elasticCloudDeployment": { "name": "deploymentname", - "deploymentId": "deployment_id", "azureSubscriptionId": "00000000-0000-0000-0000-000000000000", + "deploymentId": "deployment_id", "elasticsearchRegion": "azure-westus2", "elasticsearchServiceUrl": "https://elasticsearchendpoint.com", "kibanaServiceUrl": "https://kibanaserviceurl.com", "kibanaSsoUrl": "https://kibanssourl.com" + }, + "elasticCloudUser": { + "elasticCloudSsoDefaultUrl": "https://examplessourl.com", + "emailAddress": "alice@microsoft.com", + "id": "myid123" } - } + }, + "provisioningState": "Succeeded" + }, + "sku": { + "name": "free_Monthly" }, "tags": { "Environment": "Dev" - }, - "location": "West US 2" + } } }, "201": { "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/monitors/myMonitor", "name": "myMonitor", "type": "Microsoft.Elastic/monitors", - "sku": { - "name": "free_Monthly" - }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Elastic/monitors/myMonitor", + "location": "West US 2", "properties": { - "provisioningState": "Accepted", - "monitoringStatus": "Enabled", "elasticProperties": { - "elasticCloudUser": { - "emailAddress": "alice@microsoft.com", - "id": "myid123", - "elasticCloudSsoDefaultUrl": "https://examplessourl.com" - }, "elasticCloudDeployment": { "name": "deploymentname", - "deploymentId": "deployment_id", "azureSubscriptionId": "00000000-0000-0000-0000-000000000000", + "deploymentId": "deployment_id", "elasticsearchRegion": "azure-westus2", "elasticsearchServiceUrl": "https://elasticsearchendpoint.com", "kibanaServiceUrl": "https://kibanaserviceurl.com", "kibanaSsoUrl": "https://kibanssourl.com" + }, + "elasticCloudUser": { + "elasticCloudSsoDefaultUrl": "https://examplessourl.com", + "emailAddress": "alice@microsoft.com", + "id": "myid123" } }, "liftrResourceCategory": "MonitorLogs", - "liftrResourcePreference": 0 + "liftrResourcePreference": 0, + "monitoringStatus": "Enabled", + "provisioningState": "Accepted" + }, + "sku": { + "name": "free_Monthly" }, "tags": { "Environment": "Dev" - }, - "location": "West US 2" + } } } - } + }, + "operationId": "Monitors_Create", + "title": "Monitors_Create" } diff --git a/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/Monitors_Delete.json b/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/Monitors_Delete.json index 1212e09112b9..ec179f9ee28d 100644 --- a/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/Monitors_Delete.json +++ b/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/Monitors_Delete.json @@ -1,9 +1,9 @@ { "parameters": { "api-version": "2025-06-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", + "monitorName": "myMonitor", "resourceGroupName": "myResourceGroup", - "monitorName": "myMonitor" + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": {}, @@ -13,5 +13,7 @@ } }, "204": {} - } + }, + "operationId": "Monitors_Delete", + "title": "Monitors_Delete" } diff --git a/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/Monitors_Get.json b/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/Monitors_Get.json index 80e0ab2af1ea..17b34c61cfb1 100644 --- a/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/Monitors_Get.json +++ b/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/Monitors_Get.json @@ -1,49 +1,51 @@ { "parameters": { "api-version": "2025-06-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", + "monitorName": "myMonitor", "resourceGroupName": "myResourceGroup", - "monitorName": "myMonitor" + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/monitors/myMonitor", "name": "myMonitor", "type": "Microsoft.Elastic/monitors", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Elastic/monitors/myMonitor", "kind": "elastic-hosted-deployment", + "location": "West US 2", "properties": { - "provisioningState": "Succeeded", - "monitoringStatus": "Enabled", "elasticProperties": { - "elasticCloudUser": { - "emailAddress": "alice@microsoft.com", - "id": "myid123", - "elasticCloudSsoDefaultUrl": "https://examplessourl.com" - }, "elasticCloudDeployment": { "name": "deploymentname", - "deploymentId": "deployment_id", "azureSubscriptionId": "00000000-0000-0000-0000-000000000000", + "deploymentId": "deployment_id", "elasticsearchRegion": "azure-westus2", "elasticsearchServiceUrl": "https://elasticsearchendpoint.com", "kibanaServiceUrl": "https://kibanaserviceurl.com", "kibanaSsoUrl": "https://kibanssourl.com" + }, + "elasticCloudUser": { + "elasticCloudSsoDefaultUrl": "https://examplessourl.com", + "emailAddress": "alice@microsoft.com", + "id": "myid123" } }, "hostingType": "Hosted", + "liftrResourceCategory": "MonitorLogs", + "liftrResourcePreference": 0, + "monitoringStatus": "Enabled", "projectDetails": { - "projectType": "NotApplicable", - "configurationType": "NotApplicable" + "configurationType": "NotApplicable", + "projectType": "NotApplicable" }, - "liftrResourceCategory": "MonitorLogs", - "liftrResourcePreference": 0 + "provisioningState": "Succeeded" }, "tags": { "Environment": "Dev" - }, - "location": "West US 2" + } } } - } + }, + "operationId": "Monitors_Get", + "title": "Monitors_Get" } diff --git a/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/Monitors_List.json b/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/Monitors_List.json index fbf32b8e33f0..101eb714ee87 100644 --- a/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/Monitors_List.json +++ b/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/Monitors_List.json @@ -8,38 +8,40 @@ "body": { "value": [ { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/monitors/myMonitor", "name": "myMonitor", "type": "Microsoft.Elastic/monitors", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Elastic/monitors/myMonitor", + "location": "West US 2", "properties": { - "provisioningState": "Succeeded", - "monitoringStatus": "Enabled", "elasticProperties": { - "elasticCloudUser": { - "emailAddress": "alice@microsoft.com", - "id": "myid123", - "elasticCloudSsoDefaultUrl": "https://examplessourl.com" - }, "elasticCloudDeployment": { "name": "deploymentname", - "deploymentId": "deployment_id", "azureSubscriptionId": "00000000-0000-0000-0000-000000000000", + "deploymentId": "deployment_id", "elasticsearchRegion": "azure-westus2", "elasticsearchServiceUrl": "https://elasticsearchendpoint.com", "kibanaServiceUrl": "https://kibanaserviceurl.com", "kibanaSsoUrl": "https://kibanssourl.com" + }, + "elasticCloudUser": { + "elasticCloudSsoDefaultUrl": "https://examplessourl.com", + "emailAddress": "alice@microsoft.com", + "id": "myid123" } }, "liftrResourceCategory": "MonitorLogs", - "liftrResourcePreference": 0 + "liftrResourcePreference": 0, + "monitoringStatus": "Enabled", + "provisioningState": "Succeeded" }, "tags": { "Environment": "Dev" - }, - "location": "West US 2" + } } ] } } - } + }, + "operationId": "Monitors_List", + "title": "Monitors_List" } diff --git a/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/Monitors_ListByResourceGroup.json b/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/Monitors_ListByResourceGroup.json index 4724b6e0667e..2a6b6a79e379 100644 --- a/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/Monitors_ListByResourceGroup.json +++ b/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/Monitors_ListByResourceGroup.json @@ -1,46 +1,48 @@ { "parameters": { "api-version": "2025-06-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup" + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { "value": [ { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/monitors/myMonitor", "name": "myMonitor", "type": "Microsoft.Elastic/monitors", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Elastic/monitors/myMonitor", + "location": "West US 2", "properties": { - "provisioningState": "Succeeded", - "monitoringStatus": "Enabled", "elasticProperties": { - "elasticCloudUser": { - "emailAddress": "alice@microsoft.com", - "id": "myid123", - "elasticCloudSsoDefaultUrl": "https://examplessourl.com" - }, "elasticCloudDeployment": { "name": "deploymentname", - "deploymentId": "deployment_id", "azureSubscriptionId": "00000000-0000-0000-0000-000000000000", + "deploymentId": "deployment_id", "elasticsearchRegion": "azure-westus2", "elasticsearchServiceUrl": "https://elasticsearchendpoint.com", "kibanaServiceUrl": "https://kibanaserviceurl.com", "kibanaSsoUrl": "https://kibanssourl.com" + }, + "elasticCloudUser": { + "elasticCloudSsoDefaultUrl": "https://examplessourl.com", + "emailAddress": "alice@microsoft.com", + "id": "myid123" } }, "liftrResourceCategory": "MonitorLogs", - "liftrResourcePreference": 0 + "liftrResourcePreference": 0, + "monitoringStatus": "Enabled", + "provisioningState": "Succeeded" }, "tags": { "Environment": "Dev" - }, - "location": "West US 2" + } } ] } } - } + }, + "operationId": "Monitors_ListByResourceGroup", + "title": "Monitors_ListByResourceGroup" } diff --git a/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/Monitors_Update.json b/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/Monitors_Update.json index a5f8bbfae2c9..0a3ae9ff6f00 100644 --- a/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/Monitors_Update.json +++ b/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/Monitors_Update.json @@ -1,21 +1,12 @@ { "parameters": { "api-version": "2025-06-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", "monitorName": "myMonitor", "requestBody": { "name": "myMonitor", - "sku": { - "name": "free_Monthly" - }, + "location": "West US 2", "properties": { "elasticProperties": { - "elasticCloudUser": { - "emailAddress": "alice@microsoft.com", - "id": "myid123", - "elasticCloudSsoDefaultUrl": "https://examplessourl.com" - }, "elasticCloudDeployment": { "name": "deploymentname", "azureSubscriptionId": "00000000-0000-0000-0000-000000000000", @@ -23,120 +14,131 @@ "elasticsearchServiceUrl": "https://elasticsearchendpoint.com", "kibanaServiceUrl": "https://kibanaserviceurl.com", "kibanaSsoUrl": "https://kibanssourl.com" + }, + "elasticCloudUser": { + "elasticCloudSsoDefaultUrl": "https://examplessourl.com", + "emailAddress": "alice@microsoft.com", + "id": "myid123" } }, + "hostingType": "Hosted", + "projectDetails": { + "configurationType": "NotApplicable", + "projectType": "NotApplicable" + }, "userInfo": { - "firstName": "Alice", - "lastName": "Bob", - "companyName": "Microsoft", - "emailAddress": "alice@microsoft.com", "companyInfo": { - "domain": "microsoft.com", "business": "Technology", + "country": "US", + "domain": "microsoft.com", "employeeNumber": "10000", - "state": "WA", - "country": "US" - } - }, - "hostingType": "Hosted", - "projectDetails": { - "projectType": "NotApplicable", - "configurationType": "NotApplicable" + "state": "WA" + }, + "companyName": "Microsoft", + "emailAddress": "alice@microsoft.com", + "firstName": "Alice", + "lastName": "Bob" } }, + "sku": { + "name": "free_Monthly" + }, "tags": { "Environment": "Dev" - }, - "location": "West US 2" - } + } + }, + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/monitors/myMonitor", "name": "myMonitor", "type": "Microsoft.Elastic/monitors", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Elastic/monitors/myMonitor", "kind": "elastic-hosted-deployment", - "sku": { - "name": "free_Monthly" - }, + "location": "West US 2", "properties": { - "provisioningState": "Succeeded", - "monitoringStatus": "Enabled", "elasticProperties": { - "elasticCloudUser": { - "emailAddress": "alice@microsoft.com", - "id": "myid123", - "elasticCloudSsoDefaultUrl": "https://examplessourl.com" - }, "elasticCloudDeployment": { "name": "deploymentname", - "deploymentId": "deployment_id", "azureSubscriptionId": "00000000-0000-0000-0000-000000000000", + "deploymentId": "deployment_id", "elasticsearchRegion": "azure-westus2", "elasticsearchServiceUrl": "https://elasticsearchendpoint.com", "kibanaServiceUrl": "https://kibanaserviceurl.com", "kibanaSsoUrl": "https://kibanssourl.com" + }, + "elasticCloudUser": { + "elasticCloudSsoDefaultUrl": "https://examplessourl.com", + "emailAddress": "alice@microsoft.com", + "id": "myid123" } }, "hostingType": "Hosted", + "liftrResourceCategory": "MonitorLogs", + "liftrResourcePreference": 0, + "monitoringStatus": "Enabled", "projectDetails": { - "projectType": "NotApplicable", - "configurationType": "NotApplicable" + "configurationType": "NotApplicable", + "projectType": "NotApplicable" }, - "liftrResourceCategory": "MonitorLogs", - "liftrResourcePreference": 0 + "provisioningState": "Succeeded" + }, + "sku": { + "name": "free_Monthly" }, "tags": { "Environment": "Dev" - }, - "location": "West US 2" + } } }, "202": { - "headers": { - "Location": "https://management.azure.com/subscriptions/subid/resourceGroups/resourceGroup/providers/Microsoft.Elastic/monitor/monitorname?api-version=2025-06-01" - }, "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/monitors/myMonitor", "name": "myMonitor", "type": "Microsoft.Elastic/monitors", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Elastic/monitors/myMonitor", "kind": "elastic-hosted-deployment", - "sku": { - "name": "free_Monthly" - }, + "location": "West US 2", "properties": { - "provisioningState": "Succeeded", - "monitoringStatus": "Enabled", "elasticProperties": { - "elasticCloudUser": { - "emailAddress": "alice@microsoft.com", - "id": "myid123", - "elasticCloudSsoDefaultUrl": "https://examplessourl.com" - }, "elasticCloudDeployment": { "name": "deploymentname", - "deploymentId": "deployment_id", "azureSubscriptionId": "00000000-0000-0000-0000-000000000000", + "deploymentId": "deployment_id", "elasticsearchRegion": "azure-westus2", "elasticsearchServiceUrl": "https://elasticsearchendpoint.com", "kibanaServiceUrl": "https://kibanaserviceurl.com", "kibanaSsoUrl": "https://kibanssourl.com" + }, + "elasticCloudUser": { + "elasticCloudSsoDefaultUrl": "https://examplessourl.com", + "emailAddress": "alice@microsoft.com", + "id": "myid123" } }, "hostingType": "Hosted", + "liftrResourceCategory": "MonitorLogs", + "liftrResourcePreference": 0, + "monitoringStatus": "Enabled", "projectDetails": { - "projectType": "NotApplicable", - "configurationType": "NotApplicable" + "configurationType": "NotApplicable", + "projectType": "NotApplicable" }, - "liftrResourceCategory": "MonitorLogs", - "liftrResourcePreference": 0 + "provisioningState": "Succeeded" + }, + "sku": { + "name": "free_Monthly" }, "tags": { "Environment": "Dev" - }, - "location": "West US 2" + } + }, + "headers": { + "Location": "https://management.azure.com/subscriptions/subid/resourceGroups/resourceGroup/providers/Microsoft.Elastic/monitor/monitorname?api-version=2025-06-01" } } - } + }, + "operationId": "Monitors_Update", + "title": "Monitors_Update" } diff --git a/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/OpenAI_CreateOrUpdate.json b/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/OpenAI_CreateOrUpdate.json index 15b5027c450a..12e9b4107fae 100644 --- a/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/OpenAI_CreateOrUpdate.json +++ b/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/OpenAI_CreateOrUpdate.json @@ -1,44 +1,46 @@ { "parameters": { "api-version": "2025-06-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "monitorName": "myMonitor", "integrationName": "default", + "monitorName": "myMonitor", "requestBody": { "properties": { - "openAIResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.CognitiveServices/accounts/myOpenAI", + "key": "**", "openAIResourceEndpoint": "https://myOpenAI.openai.azure.com/", - "key": "**" + "openAIResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.CognitiveServices/accounts/myOpenAI" } - } + }, + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { "name": "default", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Elastic/monitors/myMonitor/openAIIntegration/default", "type": "Microsoft.Elastic/monitors/openAIIntegration", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Elastic/monitors/myMonitor/openAIIntegration/default", "properties": { - "openAIResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.CognitiveServices/accounts/myOpenAI", - "openAIResourceEndpoint": "https://myOpenAI.openai.azure.com/", + "lastRefreshAt": "2023-07-12T09:28:50.9579871Z", "openAIConnectorId": "0000000000000000", - "lastRefreshAt": "2023-07-12T09:28:50.9579871Z" + "openAIResourceEndpoint": "https://myOpenAI.openai.azure.com/", + "openAIResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.CognitiveServices/accounts/myOpenAI" } } }, "201": { "body": { "name": "default", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Elastic/monitors/myMonitor/openAIIntegration/default", "type": "Microsoft.Elastic/monitors/openAIIntegration", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Elastic/monitors/myMonitor/openAIIntegration/default", "properties": { - "openAIResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.CognitiveServices/accounts/myOpenAI", - "openAIResourceEndpoint": "https://myOpenAI.openai.azure.com/", + "lastRefreshAt": "2023-07-12T09:28:50.9579871Z", "openAIConnectorId": "0000000000000000", - "lastRefreshAt": "2023-07-12T09:28:50.9579871Z" + "openAIResourceEndpoint": "https://myOpenAI.openai.azure.com/", + "openAIResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.CognitiveServices/accounts/myOpenAI" } } } - } + }, + "operationId": "OpenAI_CreateOrUpdate", + "title": "OpenAI_CreateOrUpdate" } diff --git a/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/OpenAI_Delete.json b/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/OpenAI_Delete.json index c0d1f0605f57..7682e47d9ea5 100644 --- a/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/OpenAI_Delete.json +++ b/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/OpenAI_Delete.json @@ -1,13 +1,15 @@ { "parameters": { "api-version": "2025-06-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", + "integrationName": "default", "monitorName": "myMonitor", - "integrationName": "default" + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": {}, "204": {} - } + }, + "operationId": "OpenAI_Delete", + "title": "OpenAI_Delete" } diff --git a/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/OpenAI_Get.json b/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/OpenAI_Get.json index 937413c7b0cb..03fe315642bd 100644 --- a/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/OpenAI_Get.json +++ b/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/OpenAI_Get.json @@ -1,24 +1,26 @@ { "parameters": { "api-version": "2025-06-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", + "integrationName": "default", "monitorName": "myMonitor", - "integrationName": "default" + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { "name": "default", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Elastic/monitors/myMonitor/openAIIntegration/default", "type": "Microsoft.Elastic/monitors/openAIIntegration", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Elastic/monitors/myMonitor/openAIIntegration/default", "properties": { - "openAIResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.CognitiveServices/accounts/myOpenAI", - "openAIResourceEndpoint": "https://myOpenAI.openai.azure.com/", + "lastRefreshAt": "2023-07-12T09:28:50.9579871Z", "openAIConnectorId": "0000000000000000", - "lastRefreshAt": "2023-07-12T09:28:50.9579871Z" + "openAIResourceEndpoint": "https://myOpenAI.openai.azure.com/", + "openAIResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.CognitiveServices/accounts/myOpenAI" } } } - } + }, + "operationId": "OpenAI_Get", + "title": "OpenAI_Get" } diff --git a/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/OpenAI_GetStatus.json b/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/OpenAI_GetStatus.json index fe4bbf0de155..83c5a467444a 100644 --- a/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/OpenAI_GetStatus.json +++ b/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/OpenAI_GetStatus.json @@ -1,10 +1,10 @@ { "parameters": { "api-version": "2025-06-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", + "integrationName": "default", "monitorName": "myMonitor", - "integrationName": "default" + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { @@ -14,5 +14,7 @@ } } } - } + }, + "operationId": "OpenAI_GetStatus", + "title": "OpenAI_GetStatus" } diff --git a/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/OpenAI_List.json b/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/OpenAI_List.json index ad70b57b37c9..c8286e43a740 100644 --- a/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/OpenAI_List.json +++ b/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/OpenAI_List.json @@ -1,9 +1,9 @@ { "parameters": { "api-version": "2025-06-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", + "monitorName": "myMonitor", "resourceGroupName": "myResourceGroup", - "monitorName": "myMonitor" + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { @@ -11,17 +11,19 @@ "value": [ { "name": "default", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Elastic/monitors/myMonitor/openAIIntegration/default", "type": "Microsoft.Elastic/monitors/openAIIntegration", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Elastic/monitors/myMonitor/openAIIntegration/default", "properties": { - "openAIResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.CognitiveServices/accounts/myOpenAI", - "openAIResourceEndpoint": "https://myOpenAI.openai.azure.com/", + "lastRefreshAt": "2023-07-12T09:28:50.9579871Z", "openAIConnectorId": "0000000000000000", - "lastRefreshAt": "2023-07-12T09:28:50.9579871Z" + "openAIResourceEndpoint": "https://myOpenAI.openai.azure.com/", + "openAIResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.CognitiveServices/accounts/myOpenAI" } } ] } } - } + }, + "operationId": "OpenAI_List", + "title": "OpenAI_List" } diff --git a/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/Operations_List.json b/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/Operations_List.json index fd99ad123985..6b0175255caf 100644 --- a/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/Operations_List.json +++ b/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/Operations_List.json @@ -5,19 +5,21 @@ "responses": { "200": { "body": { + "nextLink": null, "value": [ { "name": "Microsoft.Elastic/monitors/write", "display": { - "provider": "Microsoft.Elastic", - "resource": "monitors", + "description": "Write monitors resource", "operation": "write", - "description": "Write monitors resource" + "provider": "Microsoft.Elastic", + "resource": "monitors" } } - ], - "nextLink": null + ] } } - } + }, + "operationId": "Operations_List", + "title": "Operations_List" } diff --git a/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/Organizations_GetApiKey.json b/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/Organizations_GetApiKey.json index 7afc5138e41e..e9c183b87cd3 100644 --- a/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/Organizations_GetApiKey.json +++ b/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/Organizations_GetApiKey.json @@ -1,10 +1,10 @@ { "parameters": { "api-version": "2025-06-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", "requestBody": { "emailId": "myemail@outlook.com" - } + }, + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { @@ -14,5 +14,7 @@ } } } - } + }, + "operationId": "Organizations_GetApiKey", + "title": "Organizations_GetApiKey" } diff --git a/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/Organizations_GetElasticToAzureSubscriptionMapping.json b/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/Organizations_GetElasticToAzureSubscriptionMapping.json index 5cf1bb9ed448..46e37597a753 100644 --- a/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/Organizations_GetElasticToAzureSubscriptionMapping.json +++ b/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/Organizations_GetElasticToAzureSubscriptionMapping.json @@ -8,18 +8,20 @@ "body": { "properties": { "billedAzureSubscriptionId": "00000000-0000-0000-0000-000000000000", + "elasticOrganizationId": "1234567890", + "elasticOrganizationName": "elasticOrganizationName", "marketplaceSaasInfo": { - "marketplaceSubscription": { - "id": "12345678-1234-1234-1234-123456789012" - }, "marketplaceName": "MP_RESOURCE", "marketplaceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.SaaS/resources/AzElastic_b1190c8f", - "marketplaceStatus": "Status" - }, - "elasticOrganizationId": "1234567890", - "elasticOrganizationName": "elasticOrganizationName" + "marketplaceStatus": "Status", + "marketplaceSubscription": { + "id": "12345678-1234-1234-1234-123456789012" + } + } } } } - } + }, + "operationId": "Organizations_GetElasticToAzureSubscriptionMapping", + "title": "Organizations_GetElasticToAzureSubscriptionMapping" } diff --git a/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/Organizations_Resubscribe.json b/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/Organizations_Resubscribe.json index d8c98e9a138b..144e87280f2b 100644 --- a/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/Organizations_Resubscribe.json +++ b/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/Organizations_Resubscribe.json @@ -1,58 +1,58 @@ { "parameters": { "api-version": "2025-06-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", "monitorName": "myMonitor", "requestBody": { + "organizationId": "organizationId", "planId": "planId", - "term": "term", - "subscriptionId": "subscriptionId", "resourceGroup": "resourceGroup", - "organizationId": "organizationId" - } + "subscriptionId": "subscriptionId", + "term": "term" + }, + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/monitors/myMonitor", "name": "myMonitor", "type": "Microsoft.Elastic/monitors", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Elastic/monitors/myMonitor", "kind": "elastic-hosted-deployment", - "sku": { - "name": "free_Monthly" - }, + "location": "West US 2", "properties": { - "provisioningState": "Succeeded", - "monitoringStatus": "Enabled", "elasticProperties": { - "elasticCloudUser": { - "emailAddress": "alice@microsoft.com", - "id": "myid123", - "elasticCloudSsoDefaultUrl": "https://examplessourl.com" - }, "elasticCloudDeployment": { "name": "deploymentname", - "deploymentId": "deployment_id", "azureSubscriptionId": "00000000-0000-0000-0000-000000000000", + "deploymentId": "deployment_id", "elasticsearchRegion": "azure-westus2", "elasticsearchServiceUrl": "https://elasticsearchendpoint.com", "kibanaServiceUrl": "https://kibanaserviceurl.com", "kibanaSsoUrl": "https://kibanssourl.com" + }, + "elasticCloudUser": { + "elasticCloudSsoDefaultUrl": "https://examplessourl.com", + "emailAddress": "alice@microsoft.com", + "id": "myid123" } }, "hostingType": "Hosted", + "liftrResourceCategory": "MonitorLogs", + "liftrResourcePreference": 0, + "monitoringStatus": "Enabled", "projectDetails": { - "projectType": "NotApplicable", - "configurationType": "NotApplicable" + "configurationType": "NotApplicable", + "projectType": "NotApplicable" }, - "liftrResourceCategory": "MonitorLogs", - "liftrResourcePreference": 0 + "provisioningState": "Succeeded" + }, + "sku": { + "name": "free_Monthly" }, "tags": { "Environment": "Dev" - }, - "location": "West US 2" + } } }, "202": { @@ -60,5 +60,7 @@ "Location": "https://management.azure.com/subscriptions/subid/resourceGroups/resourceGroup/providers/Microsoft.Elastic/monitor/monitorname/resubscribe?api-version=2025-06-01" } } - } + }, + "operationId": "Organizations_Resubscribe", + "title": "Organizations_Resubscribe" } diff --git a/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/PrivateLinkTrafficFilters_Create.json b/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/PrivateLinkTrafficFilters_Create.json index 6eecd5df1839..d4903ba1583f 100644 --- a/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/PrivateLinkTrafficFilters_Create.json +++ b/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/PrivateLinkTrafficFilters_Create.json @@ -1,12 +1,12 @@ { "parameters": { "api-version": "2025-06-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", "monitorName": "myMonitor", - "rulesetId": "31d91b5afb6f4c2eaaf104c97b1991dd", + "privateEndpointGuid": "fdb54d3b-e85e-4d08-8958-0d2f7g523df9", "privateEndpointName": "myPrivateEndpoint", - "privateEndpointGuid": "fdb54d3b-e85e-4d08-8958-0d2f7g523df9" + "resourceGroupName": "myResourceGroup", + "rulesetId": "31d91b5afb6f4c2eaaf104c97b1991dd", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": {}, @@ -15,5 +15,7 @@ "Location": "https://management.azure.com/subscriptions/subid/resourceGroups/resourceGroup/providers/Microsoft.Elastic/monitor/monitorname/createAndAssociatePLFilter?api-version=2022-07-01-preview" } } - } + }, + "operationId": "createAndAssociatePLFilter_Create", + "title": "createAndAssociatePLFilter_Create" } diff --git a/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/TagRules_CreateOrUpdate.json b/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/TagRules_CreateOrUpdate.json index 3db8508059eb..23a93b5973b4 100644 --- a/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/TagRules_CreateOrUpdate.json +++ b/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/TagRules_CreateOrUpdate.json @@ -1,59 +1,61 @@ { "parameters": { "api-version": "2025-06-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", "monitorName": "myMonitor", - "ruleSetName": "default", "requestBody": { "properties": { "logRules": { - "sendAadLogs": false, - "sendSubscriptionLogs": true, - "sendActivityLogs": true, "filteringTags": [ { "name": "Environment", - "value": "Prod", - "action": "Include" + "action": "Include", + "value": "Prod" }, { "name": "Environment", - "value": "Dev", - "action": "Exclude" + "action": "Exclude", + "value": "Dev" } - ] + ], + "sendAadLogs": false, + "sendActivityLogs": true, + "sendSubscriptionLogs": true } } - } + }, + "resourceGroupName": "myResourceGroup", + "ruleSetName": "default", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { "name": "default", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Elastic/monitors/myMonitor/tagRules/default", "type": "Microsoft.Elastic/monitors/tagRules", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Elastic/monitors/myMonitor/tagRules/default", "properties": { - "provisioningState": "Succeeded", "logRules": { - "sendAadLogs": false, - "sendSubscriptionLogs": true, - "sendActivityLogs": true, "filteringTags": [ { "name": "Environment", - "value": "Prod", - "action": "Include" + "action": "Include", + "value": "Prod" }, { "name": "Environment", - "value": "Dev", - "action": "Exclude" + "action": "Exclude", + "value": "Dev" } - ] - } + ], + "sendAadLogs": false, + "sendActivityLogs": true, + "sendSubscriptionLogs": true + }, + "provisioningState": "Succeeded" } } } - } + }, + "operationId": "TagRules_CreateOrUpdate", + "title": "TagRules_CreateOrUpdate" } diff --git a/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/TagRules_Delete.json b/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/TagRules_Delete.json index f2f149872cd3..e66499039574 100644 --- a/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/TagRules_Delete.json +++ b/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/TagRules_Delete.json @@ -1,10 +1,10 @@ { "parameters": { "api-version": "2025-06-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", "monitorName": "myMonitor", - "ruleSetName": "default" + "resourceGroupName": "myResourceGroup", + "ruleSetName": "default", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": {}, @@ -14,5 +14,7 @@ } }, "204": {} - } + }, + "operationId": "TagRules_Delete", + "title": "TagRules_Delete" } diff --git a/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/TagRules_Get.json b/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/TagRules_Get.json index 74cf7806738d..228bdf2094e1 100644 --- a/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/TagRules_Get.json +++ b/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/TagRules_Get.json @@ -1,38 +1,40 @@ { "parameters": { "api-version": "2025-06-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", "monitorName": "myMonitor", - "ruleSetName": "default" + "resourceGroupName": "myResourceGroup", + "ruleSetName": "default", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { "name": "default", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Elastic/monitors/myMonitor/tagRules/default", "type": "Microsoft.Elastic/monitors/tagRules", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Elastic/monitors/myMonitor/tagRules/default", "properties": { - "provisioningState": "Succeeded", "logRules": { - "sendAadLogs": false, - "sendSubscriptionLogs": true, - "sendActivityLogs": true, "filteringTags": [ { "name": "Environment", - "value": "Prod", - "action": "Include" + "action": "Include", + "value": "Prod" }, { "name": "Environment", - "value": "Dev", - "action": "Exclude" + "action": "Exclude", + "value": "Dev" } - ] - } + ], + "sendAadLogs": false, + "sendActivityLogs": true, + "sendSubscriptionLogs": true + }, + "provisioningState": "Succeeded" } } } - } + }, + "operationId": "TagRules_Get", + "title": "TagRules_Get" } diff --git a/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/TagRules_List.json b/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/TagRules_List.json index 33a1e70605a6..fe223fa85ac2 100644 --- a/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/TagRules_List.json +++ b/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/TagRules_List.json @@ -1,9 +1,9 @@ { "parameters": { "api-version": "2025-06-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", + "monitorName": "myMonitor", "resourceGroupName": "myResourceGroup", - "monitorName": "myMonitor" + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { @@ -11,31 +11,33 @@ "value": [ { "name": "default", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Elastic/monitors/myMonitor/tagRules/default", "type": "Microsoft.Elastic/monitors/tagRules", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Elastic/monitors/myMonitor/tagRules/default", "properties": { - "provisioningState": "Succeeded", "logRules": { - "sendAadLogs": false, - "sendSubscriptionLogs": true, - "sendActivityLogs": true, "filteringTags": [ { "name": "Environment", - "value": "Prod", - "action": "Include" + "action": "Include", + "value": "Prod" }, { "name": "Environment", - "value": "Dev", - "action": "Exclude" + "action": "Exclude", + "value": "Dev" } - ] - } + ], + "sendAadLogs": false, + "sendActivityLogs": true, + "sendSubscriptionLogs": true + }, + "provisioningState": "Succeeded" } } ] } } - } + }, + "operationId": "TagRules_List", + "title": "TagRules_List" } diff --git a/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/TrafficFilters_Delete.json b/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/TrafficFilters_Delete.json index 885b31d87b40..9442240a1767 100644 --- a/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/TrafficFilters_Delete.json +++ b/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/TrafficFilters_Delete.json @@ -1,12 +1,14 @@ { "parameters": { "api-version": "2025-06-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", "monitorName": "myMonitor", - "rulesetId": "31d91b5afb6f4c2eaaf104c97b1991dd" + "resourceGroupName": "myResourceGroup", + "rulesetId": "31d91b5afb6f4c2eaaf104c97b1991dd", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": {} - } + }, + "operationId": "TrafficFilters_Delete", + "title": "TrafficFilters_Delete" } diff --git a/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/UpgradableVersions_Details.json b/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/UpgradableVersions_Details.json index de8e0f3e3a9f..cca50c3371f7 100644 --- a/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/UpgradableVersions_Details.json +++ b/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/UpgradableVersions_Details.json @@ -1,9 +1,9 @@ { "parameters": { "api-version": "2025-06-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", + "monitorName": "myMonitor", "resourceGroupName": "myResourceGroup", - "monitorName": "myMonitor" + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { @@ -15,5 +15,7 @@ ] } } - } + }, + "operationId": "UpgradableVersions_Details", + "title": "UpgradableVersions_Details" } diff --git a/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/VMCollection_Update.json b/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/VMCollection_Update.json index afda56a2dee9..f2d5d0a963a9 100644 --- a/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/VMCollection_Update.json +++ b/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/VMCollection_Update.json @@ -1,15 +1,17 @@ { "parameters": { "api-version": "2025-06-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", "monitorName": "myMonitor", "requestBody": { - "vmResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualmachines/myVM", - "operationName": "Add" - } + "operationName": "Add", + "vmResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualmachines/myVM" + }, + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": {} - } + }, + "operationId": "VMCollection_Update", + "title": "VMCollection_Update" } diff --git a/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/VMHost_List.json b/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/VMHost_List.json index 9bb20ee3ba0c..9939e237e627 100644 --- a/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/VMHost_List.json +++ b/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/VMHost_List.json @@ -1,9 +1,9 @@ { "parameters": { "api-version": "2025-06-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", + "monitorName": "myMonitor", "resourceGroupName": "myResourceGroup", - "monitorName": "myMonitor" + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { @@ -15,5 +15,7 @@ ] } } - } + }, + "operationId": "VMHost_List", + "title": "VMHost_List" } diff --git a/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/VMIngestion_Details.json b/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/VMIngestion_Details.json index d9158e96f726..e5dff15694df 100644 --- a/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/VMIngestion_Details.json +++ b/specification/elastic/resource-manager/Microsoft.Elastic/stable/2025-06-01/examples/VMIngestion_Details.json @@ -1,9 +1,9 @@ { "parameters": { "api-version": "2025-06-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", + "monitorName": "myMonitor", "resourceGroupName": "myResourceGroup", - "monitorName": "myMonitor" + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { @@ -12,5 +12,7 @@ "ingestionKey": "Vmingeationkey" } } - } + }, + "operationId": "VMIngestion_Details", + "title": "VMIngestion_Details" } diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/README.md b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/README.md index e98f540f599e..88e96f74d7b3 100644 --- a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/README.md +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/README.md @@ -4,6 +4,10 @@ **_NOTE:_** New events must not be delivered to Event Grid production endpoints until the events have been reviewed with the Azure SDK Architecture board and the PR is merged into main. Once the PR is merged to main, the events are considered GA regardless of whether docs list them as being in preview. This is because customers cannot control which version of events they consume - it is entirely up to the service publishing the events. Any breaking changes to events would need to be implemented as a new event type. Full details can be found in the [Azure Breaking Changes Policy](http://aka.ms/AzBreakingChangesPolicy/), Section 4. +In order to automate the mapping of event definition with event type, please follow the guidelines below when adding new events to your TypeSpec file: +- The name of a new event definition should have `EventData` suffix. For e.g. `AcsChatMessageReceivedEventData`. +- The description of the new event should include the event type. This is the `eventType` name in an `EventGridEvent` or `type` name in `CloudEvent`. For e.g. `"Schema of the Data property of an EventGridEvent for a Microsoft.Communication.ChatMessageReceived event."` Here `Microsoft.Communication.ChatMessageReceived` is the event name. If your event is in preview, you may add the word preview: `"Schema of the Data property of an EventGridEvent for a Microsoft.Communication.ChatMessageReceived preview event."` + ## Write in Typespec Under the `Azure.Messaging.EventGrid.SystemEvents` folder find or create your service's `.tsp` file. This is where you will add your new event. For help with typespec conventions refer to [this doc](https://microsoft.github.io/typespec/) about typespec basics. Each new event will be represented as a typespec `model`. After you create your new event, in the `client.tsp` file, you need to add `@@usage(EventGrid.YourEventName, Usage.output | Usage.json)` and `@@access(EventGrid.YourEventName, Access.public)`. diff --git a/specification/eventgrid/data-plane/readme.md b/specification/eventgrid/data-plane/readme.md index 2f4afa38151e..39e49db81a9c 100644 --- a/specification/eventgrid/data-plane/readme.md +++ b/specification/eventgrid/data-plane/readme.md @@ -4,103 +4,12 @@ This is the AutoRest configuration file for EventGrid. -Multiple Azure services publish events to Azure Event Grid. This is the configuration file for generating -the Publish API and the schemas for those events. Each Azure service publishing to Azure Event Grid has its own tag OpenAPI specification -that describes the schemas for its events. - -This configuration enables packaging all of the above as one EventGrid data plane library. -This enables customers to download one EventGrid data plane library instead of having to install separate packages to get the event schemas for each service. - -### Guidelines for defining a new event - -> **_NOTE:_** New events must not be delivered to Event Grid production endpoints until the events have been reviewed with the Azure SDK Architecture board and the PR is merged into main. The architecture board meeting will be scheduled by a member of the Azure SDK team - you do not need to use the scheduling tool. Once the PR is merged to main, the events are considered GA regardless of whether docs list them as being in preview. This is because customers cannot control which version of events they consume - it is entirely up to the service publishing the events. Any breaking changes to events would need to be implemented as a new event type. Full details can be found in the [Azure Breaking Changes Policy](http://aka.ms/AzBreakingChangesPolicy/), Section 4. - -In order to automate the mapping of event definition with event type, please follow the guidelines below when adding new events to your swagger: -- The name of a new event definition should have `EventData` suffix. For e.g. `AcsChatMessageReceivedEventData`. -- The description of the new event should include the event type. This is the `eventType` name in an `EventGridEvent` or `type` name in `CloudEvent`. For e.g. `"Schema of the Data property of an EventGridEvent for a Microsoft.Communication.ChatMessageReceived event."` Here `Microsoft.Communication.ChatMessageReceived` is the event name. If your event is in preview, you may add the word preview: `"Schema of the Data property of an EventGridEvent for a Microsoft.Communication.ChatMessageReceived preview event."` - -A sample valid event definition is shown below: -~~~ markdown -```json -"AcsChatMessageReceivedEventData": { - "description": "Schema of the Data property of an EventGridEvent for a Microsoft.Communication.ChatMessageReceived event.", - "allOf": [ - { - "$ref": "#/definitions/AcsChatMessageEventBaseProperties" - } - ], - "properties": { - "messageBody": { - "description": "The body of the chat message", - "type": "string" - } - } -} -``` -~~~ - -In addition to the event schema definition, you must provide a JSON example of a real event the service can trigger in the Event Grid schema and CloudEvents schema. These examples must be close to your JSON in a "examples\event-grid-schema" and "examples\cloud-events-schema" folders respectively, and called using snakeCase based on the event final name. The example should contain the envelope. Example should NOT be handcrafted, but an actual result from a server test environment like canary (it's not required that the event is deployed in production yet). No PR will be accepted without the example. - -**Note:** If you already have an event type example created you can use the following [tool](https://github.com/robece/schema-converter) to convert event files from Event Grid schema to Cloud Events schema or vice versa. - -For the previous schema, the example file should be called "chat_message_received.json" and contains: -~~~ markdown -```json -{ - "id": "02272459-badb-4e2e-b538-4cb8a2f71da6", - "topic": "/subscriptions/{subscription-id}/resourceGroups/{group-name}/providers/Microsoft.Communication/communicationServices/{communication-services-resource-name}", - "subject": "thread/{thread-id}/sender/{rawId}/recipient/{rawId}", - "data": { - "messageBody": "Welcome to Azure Communication Services", - "messageId": "1613694358927", - "metadata": { - "key": "value", - "description": "A map of data associated with the message" - }, - "senderId": "8:acs:109f0644-b956-4cd9-87b1-71024f6e2f44_00000008-578d-7caf-07fd-084822001724", - "senderCommunicationIdentifier": { - "rawId": "8:acs:109f0644-b956-4cd9-87b1-71024f6e2f44_00000008-578d-7caf-07fd-084822001724", - "communicationUser": { - "id": "8:acs:109f0644-b956-4cd9-87b1-71024f6e2f44_00000008-578d-7caf-07fd-084822001724" - } - }, - "senderDisplayName": "Jhon", - "composeTime": "2021-02-19T00:25:58.927Z", - "type": "Text", - "version": 1613694358927, - "recipientId": "8:acs:109f0644-b956-4cd9-87b1-71024f6e2f44_00000008-578d-7d05-83fe-084822000f6d", - "recipientCommunicationIdentifier": { - "rawId": "8:acs:109f0644-b956-4cd9-87b1-71024f6e2f44_00000008-578d-7d05-83fe-084822000f6d", - "communicationUser": { - "id": "8:acs:109f0644-b956-4cd9-87b1-71024f6e2f44_00000008-578d-7d05-83fe-084822000f6d" - } - }, - "transactionId": "oh+LGB2dUUadMcTAdRWQxQ.1.1.1.1.1827536918.1.7", - "threadId": "19:6e5d6ca1d75044a49a36a7965ec4a906@thread.v2" - }, - "eventType": "Microsoft.Communication.ChatMessageReceived", - "dataVersion": "1.0", - "metadataVersion": "1", - "eventTime": "2021-02-19T00:25:59.9436666Z" - } - ``` - ~~~ +This configuration is deprecated, as EventGrid has moved to TypeSpec. For adding a new events, please refer to the [TypeSpec guidance for EventGrid](./../Azure.Messaging.EventGrid.SystemEvents/README.md) --- -## Getting Started -To build the SDK for EventGrid, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run: - -> `autorest` - -To see additional help and options, run: - -> `autorest --help` ---- ## Configuration - - ### Basic Information These are the global settings for the EventGrid API. @@ -128,7 +37,6 @@ These settings apply only when `--tag=package-2023-11-01` is specified on the co ``` yaml $(tag) == 'package-2023-11-01' input-file: - Microsoft.EventGrid/stable/2023-11-01/EventGrid.json -- Microsoft.EventGrid/stable/2018-01-01/GeneratedSystemEvents.json ``` ### Tag: package-2024-01-01 @@ -137,16 +45,16 @@ These settings apply only when `--tag=package-2024-01-01` is specified on the co ``` yaml $(tag) == 'package-2024-01-01' input-file: -- Microsoft.EventGrid/stable/2018-01-01/EventGrid.json - Microsoft.EventGrid/stable/2024-01-01/GeneratedSystemEvents.json ``` -### Tag: package-2018-01-01-generated -These settings apply only when `--tag=package-2018-01-01-generated` is specified on the command line. Will generate EventGrid SystemEvents from TypeSpec, with backcompat from what Swagger was doing for optional extensible enums. -``` yaml $(tag) == '2018-01-01-generated' +### Tag: package-2024-06-01 + +These settings apply only when `--tag=package-2024-06-01` is specified on the command line. + +``` yaml $(tag) == 'package-2024-06-01' input-file: -- Microsoft.EventGrid/stable/2018-01-01/EventGrid.json -- Microsoft.EventGrid/stable/2018-01-01/GeneratedSystemEvents.json +- Microsoft.EventGrid/stable/2024-06-01/EventGrid.json ``` --- diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/HybridCompute.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/HybridCompute.json new file mode 100644 index 000000000000..fcfbef6bfd06 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/HybridCompute.json @@ -0,0 +1,6068 @@ +{ + "swagger": "2.0", + "info": { + "title": "HybridComputeManagementClient", + "description": "The Hybrid Compute Management Client.", + "version": "2025-06-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/validateLicense": { + "post": { + "tags": [ + "licenses" + ], + "operationId": "Licenses_ValidateLicense", + "description": "The operation to validate a license.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/License" + }, + "description": "Parameters supplied to the license validation operation." + } + ], + "responses": { + "200": { + "description": "Updated Resource", + "schema": { + "$ref": "#/definitions/License" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Validate a License": { + "$ref": "./examples/license/License_ValidateLicense.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/licenses/{licenseName}": { + "put": { + "tags": [ + "licenses" + ], + "operationId": "Licenses_CreateOrUpdate", + "description": "The operation to create or update a license.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/licenseNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/License" + }, + "description": "Parameters supplied to the Create license operation." + } + ], + "responses": { + "200": { + "description": "Updated Resource", + "schema": { + "$ref": "#/definitions/License" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Create or Update a License": { + "$ref": "./examples/license/License_CreateOrUpdate.json" + } + } + }, + "patch": { + "tags": [ + "licenses" + ], + "operationId": "Licenses_Update", + "description": "The operation to update a license.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/licenseNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/LicenseUpdate" + }, + "description": "Parameters supplied to the Update license operation." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/License" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Update a License": { + "$ref": "./examples/license/License_Update.json" + } + } + }, + "get": { + "tags": [ + "licenses" + ], + "operationId": "Licenses_Get", + "description": "Retrieves information about the view of a license.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/licenseNameParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/License" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get License": { + "$ref": "./examples/license/License_Get.json" + } + } + }, + "delete": { + "tags": [ + "licenses" + ], + "operationId": "Licenses_Delete", + "description": "The operation to delete a license.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/licenseNameParameter" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Delete a License": { + "$ref": "./examples/license/License_Delete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/licenses": { + "get": { + "tags": [ + "licenses" + ], + "operationId": "Licenses_ListByResourceGroup", + "description": "The operation to get all licenses of a non-Azure machine", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/LicensesListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "GET all Machine Extensions": { + "$ref": "./examples/license/License_ListByResourceGroup.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/licenses": { + "get": { + "tags": [ + "licenses" + ], + "operationId": "Licenses_ListBySubscription", + "description": "The operation to get all licenses of a non-Azure machine", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/LicensesListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "List Licenses by Subscription": { + "$ref": "./examples/license/License_ListBySubscription.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}": { + "put": { + "tags": [ + "machines" + ], + "operationId": "Machines_CreateOrUpdate", + "description": "The operation to create or update a hybrid machine. Please note some properties can be set only during machine creation.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "machineName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9-_\\.]{1,54}$", + "minLength": 1, + "maxLength": 54, + "description": "The name of the hybrid machine." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Machine" + }, + "description": "Parameters supplied to the Create hybrid machine operation." + }, + { + "name": "$expand", + "in": "query", + "required": false, + "type": "string", + "description": "Expands referenced resources." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Machine" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Create or Update a Machine": { + "$ref": "./examples/machine/Machines_CreateOrUpdate.json" + } + } + }, + "patch": { + "tags": [ + "machines" + ], + "operationId": "Machines_Update", + "description": "The operation to update a hybrid machine.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "machineName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9-_\\.]{1,54}$", + "minLength": 1, + "maxLength": 54, + "description": "The name of the hybrid machine." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/MachineUpdate" + }, + "description": "Parameters supplied to the Update hybrid machine operation." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Machine" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Update a Machine": { + "$ref": "./examples/machine/Machines_Update.json" + } + } + }, + "delete": { + "tags": [ + "machines" + ], + "operationId": "Machines_Delete", + "description": "The operation to delete a hybrid machine.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "machineName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9-_\\.]{1,54}$", + "minLength": 1, + "maxLength": 54, + "description": "The name of the hybrid machine." + } + ], + "responses": { + "202": { + "description": "Accepted", + "headers": { + "Location": { + "description": "The URL of the resource used to check the status of the asynchronous operation.", + "type": "string" + }, + "Retry-After": { + "description": "The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation.", + "type": "integer", + "format": "int32" + }, + "Azure-AsyncOperation": { + "description": "The URI to poll for completion status.", + "type": "string" + } + } + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Delete a Machine": { + "$ref": "./examples/machine/Machines_Delete.json" + } + } + }, + "get": { + "tags": [ + "machines" + ], + "operationId": "Machines_Get", + "description": "Retrieves information about the model view or the instance view of a hybrid machine.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "machineName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9-_\\.]{1,54}$", + "minLength": 1, + "maxLength": 54, + "description": "The name of the hybrid machine." + }, + { + "name": "$expand", + "in": "query", + "required": false, + "type": "string", + "description": "The expand expression to apply on the operation.", + "enum": [ + "instanceView" + ], + "x-ms-enum": { + "name": "InstanceViewTypes", + "modelAsString": true + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Machine" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Machine": { + "$ref": "./examples/machine/Machines_Get.json" + }, + "Get Machine with License Profile Instance View": { + "$ref": "./examples/machine/Machines_Get_LicenseProfileInstanceView.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/licenseProfiles/{licenseProfileName}": { + "put": { + "tags": [ + "licenseProfiles" + ], + "operationId": "LicenseProfiles_CreateOrUpdate", + "description": "The operation to create or update a license profile.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/machineNameParameter" + }, + { + "$ref": "#/parameters/licenseProfileNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/LicenseProfile" + }, + "description": "Parameters supplied to the Create or Update license profile operation." + } + ], + "responses": { + "200": { + "description": "Updated Resource", + "schema": { + "$ref": "#/definitions/LicenseProfile" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/LicenseProfile" + }, + "headers": { + "Location": { + "description": "The URL of the resource used to check the status of the asynchronous operation.", + "type": "string" + }, + "Retry-After": { + "description": "The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation.", + "type": "integer", + "format": "int32" + }, + "Azure-AsyncOperation": { + "description": "The URI to poll for completion status.", + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Create or Update a License Profile": { + "$ref": "./examples/licenseProfile/LicenseProfile_CreateOrUpdate.json" + } + } + }, + "patch": { + "tags": [ + "licenseProfiles" + ], + "operationId": "LicenseProfiles_Update", + "description": "The operation to update a license profile.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/machineNameParameter" + }, + { + "$ref": "#/parameters/licenseProfileNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/LicenseProfileUpdate" + }, + "description": "Parameters supplied to the Update license profile operation." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/LicenseProfile" + } + }, + "202": { + "description": "Accepted", + "headers": { + "Location": { + "description": "The URL of the resource used to check the status of the asynchronous operation.", + "type": "string" + }, + "Retry-After": { + "description": "The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation.", + "type": "integer", + "format": "int32" + }, + "Azure-AsyncOperation": { + "description": "The URI to poll for completion status.", + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Update a License Profile": { + "$ref": "./examples/licenseProfile/LicenseProfile_Update.json" + } + } + }, + "get": { + "tags": [ + "licenseProfiles" + ], + "operationId": "LicenseProfiles_Get", + "description": "Retrieves information about the view of a license profile.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/machineNameParameter" + }, + { + "$ref": "#/parameters/licenseProfileNameParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/LicenseProfile" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get License Profile": { + "$ref": "./examples/licenseProfile/LicenseProfile_Get.json" + } + } + }, + "delete": { + "tags": [ + "licenseProfiles" + ], + "operationId": "LicenseProfiles_Delete", + "description": "The operation to delete a license profile.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/machineNameParameter" + }, + { + "$ref": "#/parameters/licenseProfileNameParameter" + } + ], + "responses": { + "202": { + "description": "Accepted", + "headers": { + "Location": { + "description": "The URL of the resource used to check the status of the asynchronous operation.", + "type": "string" + }, + "Retry-After": { + "description": "The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation.", + "type": "integer", + "format": "int32" + }, + "Azure-AsyncOperation": { + "description": "The URI to poll for completion status.", + "type": "string" + } + } + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Delete a License Profile": { + "$ref": "./examples/licenseProfile/LicenseProfile_Delete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/licenseProfiles": { + "get": { + "tags": [ + "licenseProfiles" + ], + "operationId": "LicenseProfiles_List", + "description": "The operation to get all license profiles of a non-Azure machine", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "machineName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9-_\\.]{1,54}$", + "minLength": 1, + "maxLength": 54, + "description": "The name of the machine." + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/LicenseProfilesListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "List all License Profiles": { + "$ref": "./examples/licenseProfile/LicenseProfile_List.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{name}/assessPatches": { + "post": { + "tags": [ + "machines" + ], + "operationId": "Machines_AssessPatches", + "x-ms-examples": { + "Assess patch state of a machine.": { + "$ref": "./examples/machine/Machine_AssessPatches.json" + } + }, + "description": "The operation to assess patches on a hybrid machine identity in Azure.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "name", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the hybrid machine." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/MachineAssessPatchesResult" + } + }, + "202": { + "description": "HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously.", + "headers": { + "Location": { + "description": "The URL of the resource used to check the status of the asynchronous operation.", + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{name}/installPatches": { + "post": { + "tags": [ + "machines" + ], + "operationId": "Machines_InstallPatches", + "description": "The operation to install patches on a hybrid machine identity in Azure.", + "x-ms-examples": { + "Install patch state of a machine.": { + "$ref": "./examples/machine/Machine_InstallPatches.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "name", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the hybrid machine." + }, + { + "name": "installPatchesInput", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/MachineInstallPatchesParameters" + }, + "description": "Input for InstallPatches as directly received by the API" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/MachineInstallPatchesResult" + } + }, + "202": { + "description": "HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously.", + "headers": { + "Location": { + "description": "The URL of the resource used to check the status of the asynchronous operation.", + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines": { + "get": { + "tags": [ + "machines" + ], + "operationId": "Machines_ListByResourceGroup", + "description": "Lists all the hybrid machines in the specified resource group. Use the nextLink property in the response to get the next page of hybrid machines.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "$expand", + "in": "query", + "required": false, + "type": "string", + "description": "Expands referenced resources." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/MachineListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List Machines by resource group": { + "$ref": "./examples/machine/Machines_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/machines": { + "get": { + "tags": [ + "machines" + ], + "operationId": "Machines_ListBySubscription", + "description": "Lists all the hybrid machines in the specified subscription. Use the nextLink property in the response to get the next page of hybrid machines.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/MachineListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List Machines by resource group": { + "$ref": "./examples/machine/Machines_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}": { + "put": { + "tags": [ + "MachineExtensions" + ], + "operationId": "MachineExtensions_CreateOrUpdate", + "description": "The operation to create or update the extension.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "machineName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9-_\\.]{1,54}$", + "minLength": 1, + "maxLength": 54, + "description": "The name of the machine where the extension should be created or updated." + }, + { + "name": "extensionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the machine extension." + }, + { + "name": "extensionParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/MachineExtension" + }, + "description": "Parameters supplied to the Create Machine Extension operation." + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/MachineExtension" + } + }, + "202": { + "description": "HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Create or Update a Machine Extension": { + "$ref": "./examples/extension/Extension_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation": true + }, + "patch": { + "tags": [ + "MachineExtensions" + ], + "operationId": "MachineExtensions_Update", + "description": "The operation to create or update the extension.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "machineName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9-_\\.]{1,54}$", + "minLength": 1, + "maxLength": 54, + "description": "The name of the machine where the extension should be created or updated." + }, + { + "name": "extensionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the machine extension." + }, + { + "name": "extensionParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/MachineExtensionUpdate" + }, + "description": "Parameters supplied to the Create Machine Extension operation." + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/MachineExtension" + } + }, + "202": { + "description": "Accepted", + "headers": { + "Location": { + "description": "The URL of the resource used to check the status of the asynchronous operation.", + "type": "string" + }, + "Retry-After": { + "description": "The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation.", + "type": "integer", + "format": "int32" + }, + "Azure-AsyncOperation": { + "description": "The URI to poll for completion status.", + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Create or Update a Machine Extension": { + "$ref": "./examples/extension/Extension_Update.json" + } + }, + "x-ms-long-running-operation": true + }, + "delete": { + "tags": [ + "MachineExtensions" + ], + "operationId": "MachineExtensions_Delete", + "description": "The operation to delete the extension.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "machineName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9-_\\.]{1,54}$", + "minLength": 1, + "maxLength": 54, + "description": "The name of the machine where the extension should be deleted." + }, + { + "name": "extensionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the machine extension." + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "202": { + "description": "Accepted", + "headers": { + "Location": { + "description": "The URL of the resource used to check the status of the asynchronous operation.", + "type": "string" + }, + "Retry-After": { + "description": "The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation.", + "type": "integer", + "format": "int32" + }, + "Azure-AsyncOperation": { + "description": "The URI to poll for completion status.", + "type": "string" + } + } + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Delete a Machine Extension": { + "$ref": "./examples/extension/Extension_Delete.json" + } + } + }, + "get": { + "tags": [ + "MachineExtensions" + ], + "operationId": "MachineExtensions_Get", + "description": "The operation to get the extension.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "machineName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9-_\\.]{1,54}$", + "minLength": 1, + "maxLength": 54, + "description": "The name of the machine containing the extension." + }, + { + "name": "extensionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the machine extension." + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/MachineExtension" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "GET Machine Extension": { + "$ref": "./examples/extension/Extension_Get.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions": { + "get": { + "tags": [ + "MachineExtensions" + ], + "operationId": "MachineExtensions_List", + "description": "The operation to get all extensions of a non-Azure machine", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "machineName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9-_\\.]{1,54}$", + "minLength": 1, + "maxLength": 54, + "description": "The name of the machine containing the extension." + }, + { + "name": "$expand", + "in": "query", + "required": false, + "type": "string", + "description": "The expand expression to apply on the operation." + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/MachineExtensionsListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "GET all Machine Extensions - List": { + "$ref": "./examples/extension/Extension_List.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/upgradeExtensions": { + "post": { + "tags": [ + "MachineExtensions Upgrade" + ], + "operationId": "UpgradeExtensions", + "description": "The operation to Upgrade Machine Extensions.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "machineName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9-_\\.]{1,54}$", + "minLength": 1, + "maxLength": 54, + "description": "The name of the hybrid machine." + }, + { + "name": "extensionUpgradeParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/MachineExtensionUpgrade" + }, + "description": "Parameters supplied to the Upgrade Extensions operation." + } + ], + "responses": { + "200": { + "description": "OK" + }, + "202": { + "description": "HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously.", + "headers": { + "Location": { + "description": "The URL of the resource used to check the status of the asynchronous operation.", + "type": "string" + }, + "Retry-After": { + "description": "The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation.", + "type": "integer", + "format": "int32" + }, + "Azure-AsyncOperation": { + "description": "The URI to poll for completion status.", + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Upgrade Machine Extensions": { + "$ref": "./examples/extension/Extensions_Upgrade.json" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/locations/{location}/publishers/{publisher}/extensionTypes/{extensionType}/versions/{version}": { + "get": { + "tags": [ + "extensions" + ], + "operationId": "ExtensionMetadata_Get", + "description": "Gets an Extension Metadata based on location, publisher, extensionType and version", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "location", + "in": "path", + "required": true, + "type": "string", + "description": "The location of the Extension being received." + }, + { + "name": "publisher", + "in": "path", + "required": true, + "type": "string", + "description": "The publisher of the Extension being received." + }, + { + "name": "extensionType", + "in": "path", + "required": true, + "type": "string", + "description": "The extensionType of the Extension being received." + }, + { + "name": "version", + "in": "path", + "required": true, + "type": "string", + "description": "The version of the Extension being received." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ExtensionValue" + } + }, + "default": { + "description": "Error in retrieving an extension metadata", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "GET an extensions metadata": { + "$ref": "./examples/extension/ExtensionMetadata_Get.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/locations/{location}/publishers/{publisher}/extensionTypes/{extensionType}/versions": { + "get": { + "tags": [ + "extensions" + ], + "operationId": "ExtensionMetadata_List", + "description": "Gets all Extension versions based on location, publisher, extensionType", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "location", + "in": "path", + "required": true, + "type": "string", + "description": "The location of the Extension being received." + }, + { + "name": "publisher", + "in": "path", + "required": true, + "type": "string", + "description": "The publisher of the Extension being received." + }, + { + "name": "extensionType", + "in": "path", + "required": true, + "type": "string", + "description": "The extensionType of the Extension being received." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ExtensionValueListResult" + } + }, + "default": { + "description": "Error in retrieving extension list", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + }, + "x-ms-examples": { + "GET a list of extensions": { + "$ref": "./examples/extension/ExtensionMetadata_List.json" + } + } + } + }, + "/providers/Microsoft.HybridCompute/locations/{location}/publishers/{publisher}/extensionTypes/{extensionType}/versions/{version}": { + "get": { + "tags": [ + "extensions" + ], + "operationId": "ExtensionMetadataV2_Get", + "description": "Gets an Extension Metadata based on location, publisher, extensionType and version", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" + }, + { + "name": "publisher", + "in": "path", + "required": true, + "type": "string", + "description": "The publisher of the Extension being received." + }, + { + "name": "extensionType", + "in": "path", + "required": true, + "type": "string", + "description": "The extensionType of the Extension being received." + }, + { + "name": "version", + "in": "path", + "required": true, + "type": "string", + "description": "The version of the Extension being received." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ExtensionValueV2" + } + }, + "default": { + "description": "Error in retrieving an extension metadata", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "GET an extension metadata": { + "$ref": "./examples/extension/ExtensionMetadataV2_Get.json" + } + } + } + }, + "/providers/Microsoft.HybridCompute/locations/{location}/publishers/{publisher}/extensionTypes/{extensionType}/versions": { + "get": { + "tags": [ + "extensions" + ], + "operationId": "ExtensionMetadataV2_List", + "description": "Gets all Extension versions based on location, publisher, extensionType", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" + }, + { + "name": "publisher", + "in": "path", + "required": true, + "type": "string", + "description": "The publisher of the Extension being received." + }, + { + "name": "extensionType", + "in": "path", + "required": true, + "type": "string", + "description": "The extensionType of the Extension being received." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ExtensionValueListResultV2" + } + }, + "default": { + "description": "Error in retrieving extension list", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "GET a list of extension metadata": { + "$ref": "./examples/extension/ExtensionMetadataV2_List.json" + } + } + } + }, + "/providers/Microsoft.HybridCompute/locations/{location}/publishers/{publisher}/extensionTypes": { + "get": { + "tags": [ + "extensions" + ], + "operationId": "ExtensionType_List", + "description": "Gets all Extension types based on location and publisher", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" + }, + { + "name": "publisher", + "in": "path", + "required": true, + "type": "string", + "description": "The publisher of the Extension being received." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ExtensionTypeListResult" + } + }, + "default": { + "description": "Error in retrieving extension list", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "GET a list of extension types": { + "$ref": "./examples/extension/ExtensionType_List.json" + } + } + } + }, + "/providers/Microsoft.HybridCompute/locations/{location}/publishers": { + "get": { + "tags": [ + "extensions" + ], + "operationId": "ExtensionPublisher_List", + "description": "Gets all Extension publishers based on the location", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ExtensionPublisherListResult" + } + }, + "default": { + "description": "Error in retrieving extension list", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "GET a list of extension publishers": { + "$ref": "./examples/extension/ExtensionPublisher_List.json" + } + } + } + }, + "/providers/Microsoft.HybridCompute/operations": { + "get": { + "tags": [ + "operations" + ], + "operationId": "Operations_List", + "description": "Gets a list of hybrid compute operations.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/OperationListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List Hybrid Compute Provider Operations": { + "$ref": "./examples/Operations_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": null + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/networkProfile": { + "get": { + "tags": [ + "MachineNetworkProfile" + ], + "operationId": "NetworkProfile_Get", + "description": "The operation to get network information of hybrid machine", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "machineName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9-_\\.]{1,54}$", + "minLength": 1, + "maxLength": 54, + "description": "The name of the hybrid machine." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/NetworkProfile" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "GET Network Profile": { + "$ref": "./examples/NetworkProfile_Get.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/hybridIdentityMetadata/{metadataName}": { + "get": { + "tags": [ + "HybridIdentityMetadata" + ], + "operationId": "HybridIdentityMetadata_Get", + "summary": "Gets HybridIdentityMetadata.", + "description": "Implements HybridIdentityMetadata GET method.", + "x-ms-examples": { + "GetHybridIdentityMetadata": { + "$ref": "./examples/HybridIdentityMetadata_Get.json" + } + }, + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "machineName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9-_\\.]{1,54}$", + "minLength": 1, + "maxLength": 54, + "description": "The name of the hybrid machine." + }, + { + "in": "path", + "name": "metadataName", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9-_\\.]{1,54}$", + "description": "Name of the HybridIdentityMetadata." + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/HybridIdentityMetadata" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/hybridIdentityMetadata": { + "get": { + "tags": [ + "HybridIdentityMetadata" + ], + "operationId": "HybridIdentityMetadata_ListByMachines", + "summary": "Implements GET HybridIdentityMetadata in a machine.", + "description": "Returns the list of HybridIdentityMetadata of the given machine.", + "x-ms-examples": { + "HybridIdentityMetadataListByVirtualMachines": { + "$ref": "./examples/HybridIdentityMetadata_ListByVirtualMachines.json" + } + }, + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "machineName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9-_\\.]{1,54}$", + "minLength": 1, + "maxLength": 54, + "description": "The name of the hybrid machine." + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/HybridIdentityMetadataList" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/providers/Microsoft.HybridCompute/osType/{osType}/agentVersions": { + "get": { + "tags": [ + "AgentVersions" + ], + "operationId": "AgentVersion_List", + "description": "Gets all Agent Versions along with the download link currently present.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "osType", + "in": "path", + "required": true, + "type": "string", + "description": "Defines the os type." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/AgentVersionsList" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "GET Agent Versions": { + "$ref": "./examples/AgentVersions_Get.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/providers/Microsoft.HybridCompute/osType/{osType}/agentVersions/{version}": { + "get": { + "tags": [ + "AgentVersions" + ], + "operationId": "AgentVersion_Get", + "description": "Gets an Agent Version along with the download link currently present.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "osType", + "in": "path", + "required": true, + "type": "string", + "description": "Defines the os type" + }, + { + "name": "version", + "in": "path", + "required": true, + "type": "string", + "description": "Defines the agent version. To get latest, use latest or else a specific agent version." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/AgentVersion" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "GET Agent Versions": { + "$ref": "./examples/AgentVersion_GetLatest.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/runCommands/{runCommandName}": { + "put": { + "tags": [ + "MachineRunCommands" + ], + "operationId": "MachineRunCommands_CreateOrUpdate", + "description": "The operation to create or update a run command.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/machineNameParameter" + }, + { + "$ref": "#/parameters/runCommandNameParameter" + }, + { + "name": "runCommandProperties", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/MachineRunCommand" + }, + "description": "Parameters supplied to the Create Run Command." + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Updated Resource", + "schema": { + "$ref": "#/definitions/MachineRunCommand" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/MachineRunCommand" + }, + "headers": { + "Location": { + "description": "The URL of the resource used to check the status of the asynchronous operation.", + "type": "string" + }, + "Retry-After": { + "description": "The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation.", + "type": "integer", + "format": "int32" + }, + "Azure-AsyncOperation": { + "description": "The URI to poll for completion status.", + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Create or Update a Run Command": { + "$ref": "./examples/runCommand/RunCommands_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + }, + "patch": { + "tags": [ + "MachineRunCommands" + ], + "operationId": "MachineRunCommands_Update", + "description": "The operation to update the run command.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/machineNameParameter" + }, + { + "$ref": "#/parameters/runCommandNameParameter" + }, + { + "name": "runCommandProperties", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/MachineRunCommandUpdate" + }, + "description": "Parameters supplied to the Create Run Command." + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/MachineRunCommand" + } + }, + "202": { + "description": "HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously.", + "headers": { + "Location": { + "description": "The URL of the resource used to check the status of the asynchronous operation.", + "type": "string" + }, + "Retry-After": { + "description": "The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation.", + "type": "integer", + "format": "int32" + }, + "Azure-AsyncOperation": { + "description": "The URI to poll for completion status.", + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Update a Run Command": { + "$ref": "./examples/runCommand/RunCommands_Update.json" + } + }, + "x-ms-long-running-operation": true + }, + "delete": { + "tags": [ + "MachineRunCommands" + ], + "operationId": "MachineRunCommands_Delete", + "description": "The operation to delete a run command.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/machineNameParameter" + }, + { + "$ref": "#/parameters/runCommandNameParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "202": { + "description": "Accepted", + "headers": { + "Location": { + "description": "The URL of the resource used to check the status of the asynchronous operation.", + "type": "string" + }, + "Retry-After": { + "description": "The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation.", + "type": "integer", + "format": "int32" + }, + "Azure-AsyncOperation": { + "description": "The URI to poll for completion status.", + "type": "string" + } + } + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "Delete a Machine Run Command": { + "$ref": "./examples/runCommand/RunCommands_Delete.json" + } + } + }, + "get": { + "tags": [ + "MachineRunCommands" + ], + "operationId": "MachineRunCommands_Get", + "description": "The operation to get a run command.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/machineNameParameter" + }, + { + "$ref": "#/parameters/runCommandNameParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/MachineRunCommand" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get a Run Command": { + "$ref": "./examples/runCommand/RunCommands_Get.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/runCommands": { + "get": { + "tags": [ + "MachineRunCommands" + ], + "operationId": "MachineRunCommands_List", + "description": "The operation to get all the run commands of a non-Azure machine.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/machineNameParameter" + }, + { + "name": "$expand", + "in": "query", + "required": false, + "type": "string", + "description": "The expand expression to apply on the operation." + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/MachineRunCommandsListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "GET all Machine Run Commands": { + "$ref": "./examples/runCommand/RunCommands_List.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/gateways/{gatewayName}": { + "put": { + "tags": [ + "gateways" + ], + "operationId": "Gateways_CreateOrUpdate", + "description": "The operation to create or update a gateway.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/gatewayNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Gateway" + }, + "description": "Parameters supplied to the Create gateway operation." + } + ], + "responses": { + "200": { + "description": "Updated Resource", + "schema": { + "$ref": "#/definitions/Gateway" + } + }, + "201": { + "description": "Updated Resource", + "schema": { + "$ref": "#/definitions/Gateway" + }, + "headers": { + "Location": { + "description": "The URL of the resource used to check the status of the asynchronous operation.", + "type": "string" + }, + "Retry-After": { + "description": "The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation.", + "type": "integer", + "format": "int32" + }, + "Azure-AsyncOperation": { + "description": "The URI to poll for completion status.", + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Create or Update a Gateway": { + "$ref": "./examples/gateway/Gateway_CreateOrUpdate.json" + } + } + }, + "patch": { + "tags": [ + "gateways" + ], + "operationId": "Gateways_Update", + "description": "The operation to update a gateway.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/gatewayNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/GatewayUpdate" + }, + "description": "Parameters supplied to the Update gateway operation." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Gateway" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": false, + "x-ms-examples": { + "Update a Gateway": { + "$ref": "./examples/gateway/Gateway_Update.json" + } + } + }, + "get": { + "tags": [ + "gateways" + ], + "operationId": "Gateways_Get", + "description": "Retrieves information about the view of a gateway.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/gatewayNameParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Gateway" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Gateway": { + "$ref": "./examples/gateway/Gateway_Get.json" + } + } + }, + "delete": { + "tags": [ + "gateways" + ], + "operationId": "Gateways_Delete", + "description": "The operation to delete a gateway.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/gatewayNameParameter" + } + ], + "responses": { + "202": { + "description": "Accepted", + "headers": { + "Location": { + "description": "The URL of the resource used to check the status of the asynchronous operation.", + "type": "string" + }, + "Retry-After": { + "description": "The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation.", + "type": "integer", + "format": "int32" + }, + "Azure-AsyncOperation": { + "description": "The URI to poll for completion status.", + "type": "string" + } + } + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Delete a Gateway": { + "$ref": "./examples/gateway/Gateway_Delete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/gateways": { + "get": { + "tags": [ + "gateways" + ], + "operationId": "Gateways_ListByResourceGroup", + "description": "The operation to get all gateways of a non-Azure machine", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/GatewaysListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "List Gateways by Resource Group": { + "$ref": "./examples/gateway/Gateway_ListByResourceGroup.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/gateways": { + "get": { + "tags": [ + "gateways" + ], + "operationId": "Gateways_ListBySubscription", + "description": "The operation to get all gateways of a non-Azure machine", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/GatewaysListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "List Gateways by Subscription": { + "$ref": "./examples/gateway/Gateway_ListBySubscription.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{baseProvider}/{baseResourceType}/{baseResourceName}/providers/Microsoft.HybridCompute/settings/{settingsResourceName}": { + "get": { + "tags": [ + "Settings" + ], + "description": "Returns the base Settings for the target resource.", + "operationId": "Settings_Get", + "produces": [ + "application/json" + ], + "x-ms-examples": { + "NetworkConfigurationsGet": { + "$ref": "./examples/settings/SettingsGet.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/baseProviderParameter" + }, + { + "$ref": "#/parameters/baseResourceTypeParameter" + }, + { + "$ref": "#/parameters/baseResourceNameParameter" + }, + { + "$ref": "#/parameters/settingsResourceNameParameter" + } + ], + "responses": { + "200": { + "description": "Settings information for the target resource.", + "schema": { + "$ref": "#/definitions/Settings" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "deprecated": false + }, + "put": { + "tags": [ + "Settings" + ], + "description": "Updates the base Settings of the target resource.", + "operationId": "Settings_Update", + "produces": [ + "application/json" + ], + "x-ms-examples": { + "SettingsUpdate": { + "$ref": "./examples/settings/SettingsUpdate.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/baseProviderParameter" + }, + { + "$ref": "#/parameters/baseResourceTypeParameter" + }, + { + "$ref": "#/parameters/baseResourceNameParameter" + }, + { + "$ref": "#/parameters/settingsResourceNameParameter" + }, + { + "name": "parameters", + "description": "Settings details", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Settings" + } + } + ], + "responses": { + "200": { + "description": "Successful request when updating a Settings resource. The updated Settings are returned.", + "schema": { + "$ref": "#/definitions/Settings" + } + }, + "201": { + "description": "Successful request when updating a Settings resource. The updated Settings are returned.", + "schema": { + "$ref": "#/definitions/Settings" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + }, + "patch": { + "tags": [ + "Settings" + ], + "description": "Update the base Settings of the target resource.", + "operationId": "Settings_Patch", + "produces": [ + "application/json" + ], + "x-ms-examples": { + "NetworkConfigurationsPatch": { + "$ref": "./examples/settings/SettingsPatch.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/baseProviderParameter" + }, + { + "$ref": "#/parameters/baseResourceTypeParameter" + }, + { + "$ref": "#/parameters/baseResourceNameParameter" + }, + { + "$ref": "#/parameters/settingsResourceNameParameter" + }, + { + "name": "parameters", + "description": "Settings details", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Settings" + } + } + ], + "responses": { + "200": { + "description": "Settings information for the target resource.", + "schema": { + "$ref": "#/definitions/Settings" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/addExtensions": { + "post": { + "tags": [ + "MachineExtensions Setup" + ], + "operationId": "SetupExtensions", + "description": "The operation to Setup Machine Extensions.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "machineName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9-_\\.]{1,54}$", + "minLength": 1, + "maxLength": 54, + "description": "The name of the hybrid machine." + }, + { + "name": "extensions", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/SetupExtensionRequest" + }, + "description": "Parameters supplied to the Setup Extensions operation." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/SetupExtensionRequest" + } + }, + "202": { + "description": "HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously.", + "headers": { + "Location": { + "description": "The URL of the resource used to check the status of the asynchronous operation.", + "type": "string" + }, + "Retry-After": { + "description": "The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation.", + "type": "integer", + "format": "int32" + }, + "Azure-AsyncOperation": { + "description": "The URI to poll for completion status.", + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Setup Machine Extensions": { + "$ref": "./examples/extension/Extension_Add.json" + } + }, + "x-ms-long-running-operation": true + } + } + }, + "definitions": { + "ExtensionValueListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/ExtensionValue" + }, + "description": "The list of extension metadata", + "x-ms-identifiers": [] + } + }, + "description": "The List Extension Metadata response." + }, + "ExtensionValue": { + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ExtensionValueProperties", + "description": "The single extension based on search criteria" + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ], + "description": "Describes a Extension Metadata" + }, + "ExtensionValueProperties": { + "type": "object", + "properties": { + "version": { + "type": "string", + "readOnly": true, + "description": "The version of the Extension being received." + }, + "extensionType": { + "type": "string", + "readOnly": true, + "description": "The type of the Extension being received." + }, + "publisher": { + "type": "string", + "readOnly": true, + "description": "The publisher of the Extension being received." + } + }, + "description": "Describes Extension Metadata properties" + }, + "ExtensionValueListResultV2": { + "type": "object", + "properties": { + "value": { + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/ExtensionValueV2" + }, + "description": "The list of extension metadata.", + "x-ms-identifiers": [] + }, + "nextLink": { + "type": "string", + "description": "The URI to fetch the next page of extension metadata." + } + }, + "description": "The List Extension Metadata response." + }, + "ExtensionValueV2": { + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ExtensionValueV2Properties", + "description": "The single extension based on search criteria." + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ], + "description": "Describes an Extension Metadata." + }, + "ExtensionValueV2Properties": { + "type": "object", + "properties": { + "extensionUris": { + "type": "array", + "readOnly": true, + "items": { + "type": "string", + "format": "uri" + }, + "description": "A list of locations where the extension packages can be found." + }, + "extensionSignatureUri": { + "type": "string", + "readOnly": true, + "format": "uri", + "description": "Location of the signature files for the extension." + }, + "operatingSystem": { + "type": "string", + "readOnly": true, + "description": "The operating system (Windows, Linux, etc.) this extension supports." + }, + "architecture": { + "type": "array", + "readOnly": true, + "items": { + "type": "string" + }, + "description": "Architectures (x64, arms64, etc.) that this extension supports." + } + }, + "allOf": [ + { + "$ref": "#/definitions/ExtensionValueProperties" + } + ], + "description": "Describes Extension Metadata properties." + }, + "ExtensionTypeListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/ExtensionType" + }, + "description": "The list of extension types.", + "x-ms-identifiers": [] + }, + "nextLink": { + "type": "string", + "description": "The URI to fetch the next page of extension types." + } + }, + "description": "The List of Extension Types." + }, + "ExtensionType": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "The ID of the extension type." + }, + "name": { + "type": "string", + "description": "The name of the extension type." + } + }, + "description": "Describes an Extension Type." + }, + "ExtensionPublisherListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/ExtensionPublisher" + }, + "description": "The list of extension publishers.", + "x-ms-identifiers": [] + }, + "nextLink": { + "type": "string", + "description": "The URI to fetch the next page of extension publishers." + } + }, + "description": "The List of Extension Publishers." + }, + "ExtensionPublisher": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "The ID of the extension publisher." + }, + "name": { + "type": "string", + "description": "The name of the extension publisher." + } + }, + "description": "Describes an Extension Publisher." + }, + "OperationListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/OperationValue" + }, + "description": "The list of compute operations", + "x-ms-identifiers": [] + } + }, + "description": "The List Compute Operation operation response." + }, + "OperationValue": { + "type": "object", + "properties": { + "origin": { + "type": "string", + "readOnly": true, + "description": "The origin of the compute operation." + }, + "name": { + "type": "string", + "readOnly": true, + "description": "The name of the compute operation." + }, + "display": { + "$ref": "#/definitions/OperationValueDisplay", + "description": "Display properties" + }, + "isDataAction": { + "type": "boolean", + "readOnly": true, + "description": "This property indicates if the operation is an action or a data action" + } + }, + "description": "Describes the properties of a Compute Operation value." + }, + "OperationValueDisplay": { + "type": "object", + "properties": { + "operation": { + "type": "string", + "readOnly": true, + "description": "The display name of the compute operation." + }, + "resource": { + "type": "string", + "readOnly": true, + "description": "The display name of the resource the operation applies to." + }, + "description": { + "type": "string", + "readOnly": true, + "description": "The description of the operation." + }, + "provider": { + "type": "string", + "readOnly": true, + "description": "The resource provider for the operation." + } + }, + "description": "Describes the properties of a Hybrid Compute Operation Value Display." + }, + "PatchSettings": { + "type": "object", + "properties": { + "assessmentMode": { + "type": "string", + "description": "Specifies the assessment mode.", + "enum": [ + "ImageDefault", + "AutomaticByPlatform" + ], + "x-ms-enum": { + "name": "AssessmentModeTypes", + "modelAsString": true + } + }, + "patchMode": { + "type": "string", + "description": "Specifies the patch mode.", + "enum": [ + "ImageDefault", + "AutomaticByPlatform", + "AutomaticByOS", + "Manual" + ], + "x-ms-enum": { + "name": "PatchModeTypes", + "modelAsString": true + } + }, + "enableHotpatching": { + "type": "boolean", + "description": "Captures the hotpatch capability enrollment intent of the customers, which enables customers to patch their Windows machines without requiring a reboot." + }, + "status": { + "readOnly": true, + "type": "object", + "properties": { + "hotpatchEnablementStatus": { + "$ref": "#/definitions/HotpatchEnablementStatus", + "description": "Indicates the current status of the hotpatch being enabled or disabled." + }, + "error": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorDetail", + "readOnly": true, + "description": "The errors that were encountered during the hotpatch capability enrollment or disenrollment." + } + }, + "description": "Status of the hotpatch capability enrollment or disenrollment." + } + }, + "description": "Specifies the patch settings." + }, + "AgentConfiguration": { + "type": "object", + "readOnly": true, + "properties": { + "proxyUrl": { + "type": "string", + "readOnly": true, + "description": "Specifies the URL of the proxy to be used." + }, + "incomingConnectionsPorts": { + "type": "array", + "readOnly": true, + "description": "Specifies the list of ports that the agent will be able to listen on.", + "items": { + "type": "string" + } + }, + "extensionsAllowList": { + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/ConfigurationExtension" + }, + "description": "Array of extensions that are allowed to be installed or updated.", + "x-ms-identifiers": [] + }, + "extensionsBlockList": { + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/ConfigurationExtension" + }, + "description": "Array of extensions that are blocked (cannot be installed or updated)", + "x-ms-identifiers": [] + }, + "proxyBypass": { + "type": "array", + "readOnly": true, + "description": "List of service names which should not use the specified proxy server.", + "items": { + "type": "string" + } + }, + "extensionsEnabled": { + "type": "string", + "readOnly": true, + "description": "Specifies whether the extension service is enabled or disabled." + }, + "guestConfigurationEnabled": { + "type": "string", + "readOnly": true, + "description": "Specified whether the guest configuration service is enabled or disabled." + }, + "configMode": { + "type": "string", + "readOnly": true, + "description": "Name of configuration mode to use. Modes are pre-defined configurations of security controls, extension allowlists and guest configuration, maintained by Microsoft.", + "enum": [ + "full", + "monitor" + ], + "x-ms-enum": { + "name": "agent configuration mode", + "modelAsString": true + } + } + }, + "description": "Configurable properties that the user can set locally via the azcmagent config command, or remotely via ARM." + }, + "ConfigurationExtension": { + "type": "object", + "properties": { + "publisher": { + "type": "string", + "readOnly": true, + "description": "Publisher of the extension." + }, + "type": { + "type": "string", + "readOnly": true, + "description": "Type of the extension." + } + }, + "description": "Describes properties that can identify extensions." + }, + "ServiceStatuses": { + "type": "object", + "properties": { + "extensionService": { + "$ref": "#/definitions/ServiceStatus", + "description": "The state of the extension service on the Arc-enabled machine." + }, + "guestConfigurationService": { + "$ref": "#/definitions/ServiceStatus", + "description": "The state of the guest configuration service on the Arc-enabled machine." + } + }, + "description": "Reports the state and behavior of dependent services." + }, + "ServiceStatus": { + "type": "object", + "properties": { + "status": { + "type": "string", + "description": "The current status of the service." + }, + "startupType": { + "type": "string", + "description": "The behavior of the service when the Arc-enabled machine starts up." + } + }, + "description": "Describes the status and behavior of a service." + }, + "FirmwareProfile": { + "type": "object", + "readOnly": true, + "properties": { + "serialNumber": { + "type": "string", + "readOnly": true, + "description": "The serial number of the firmware" + }, + "type": { + "type": "string", + "readOnly": true, + "description": "The type of the firmware" + } + }, + "description": "Describes the firmware of the machine" + }, + "HardwareProfile": { + "type": "object", + "readOnly": true, + "properties": { + "totalPhysicalMemoryInBytes": { + "type": "integer", + "format": "int64", + "readOnly": true, + "description": "The total physical memory on the machine" + }, + "numberOfCpuSockets": { + "type": "integer", + "format": "int32", + "readOnly": true, + "description": "The total number of CPU sockets available on the machine" + }, + "processors": { + "type": "array", + "items": { + "$ref": "#/definitions/Processor" + }, + "readOnly": true, + "description": "The physical processors of the machine." + } + }, + "description": "Describes the hardware of the machine" + }, + "Processor": { + "type": "object", + "readOnly": true, + "properties": { + "name": { + "type": "string", + "readOnly": true, + "description": "The name of the processor." + }, + "numberOfCores": { + "type": "integer", + "format": "int32", + "readOnly": true, + "description": "The total number of physical cores on the processor." + } + }, + "description": "Describes the firmware of the machine" + }, + "StorageProfile": { + "type": "object", + "properties": { + "disks": { + "type": "array", + "items": { + "$ref": "#/definitions/Disk" + }, + "description": "The disks on the machine." + } + }, + "readOnly": true, + "description": "Describes the storage configuration of the machine" + }, + "Disk": { + "type": "object", + "readOnly": true, + "properties": { + "path": { + "type": "string", + "description": "The path of the disk." + }, + "diskType": { + "type": "string", + "description": "The type of the disk." + }, + "generatedId": { + "type": "string", + "description": "The generated ID of the disk." + }, + "id": { + "type": "string", + "description": "The ID of the disk." + }, + "name": { + "type": "string", + "description": "The name of the disk." + }, + "maxSizeInBytes": { + "type": "integer", + "format": "int64", + "description": "The size of the disk, in bytes" + }, + "usedSpaceInBytes": { + "type": "integer", + "format": "int64", + "description": "The amount of space used on the disk, in bytes" + } + }, + "description": "Describes a disk on the machine" + }, + "CloudMetadata": { + "type": "object", + "properties": { + "provider": { + "type": "string", + "readOnly": true, + "description": "Specifies the cloud provider (Azure/AWS/GCP...)." + } + }, + "description": "The metadata of the cloud environment (Azure/GCP/AWS/OCI...)." + }, + "AgentUpgrade": { + "type": "object", + "properties": { + "desiredVersion": { + "type": "string", + "description": "Specifies the version info w.r.t AgentUpgrade for the machine." + }, + "correlationId": { + "type": "string", + "description": "The correlation ID associated with an agent upgrade operation." + }, + "enableAutomaticUpgrade": { + "type": "boolean", + "description": "Specifies if the machine's agent should be upgraded" + }, + "lastAttemptDesiredVersion": { + "type": "string", + "readOnly": true, + "description": "Specifies the version of the last attempt" + }, + "lastAttemptTimestamp": { + "type": "string", + "readOnly": true, + "description": "Timestamp of last upgrade attempt" + }, + "lastAttemptStatus": { + "type": "string", + "readOnly": true, + "enum": [ + "Success", + "Failed" + ], + "x-ms-enum": { + "name": "LastAttemptStatusEnum", + "modelAsString": true + }, + "description": "Specifies the status of Agent Upgrade." + }, + "lastAttemptMessage": { + "type": "string", + "readOnly": true, + "description": "Failure message of last upgrade attempt if any." + } + }, + "description": "The info w.r.t Agent Upgrade." + }, + "OSProfile": { + "type": "object", + "properties": { + "computerName": { + "type": "string", + "readOnly": true, + "description": "Specifies the host OS name of the hybrid machine." + }, + "windowsConfiguration": { + "type": "object", + "properties": { + "patchSettings": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/PatchSettings" + } + }, + "description": "Specifies the windows configuration for update management." + }, + "linuxConfiguration": { + "type": "object", + "properties": { + "patchSettings": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/PatchSettings" + } + }, + "description": "Specifies the linux configuration for update management." + } + }, + "description": "Specifies the operating system settings for the hybrid machine." + }, + "DetectedProperties": { + "readOnly": true, + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Detected properties from the machine." + }, + "MachineProperties": { + "type": "object", + "properties": { + "locationData": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/locationData" + }, + "agentConfiguration": { + "$ref": "#/definitions/AgentConfiguration", + "description": "Configurable properties that the user can set locally via the azcmagent config command, or remotely via ARM." + }, + "serviceStatuses": { + "$ref": "#/definitions/ServiceStatuses", + "description": "Statuses of dependent services that are reported back to ARM." + }, + "hardwareProfile": { + "$ref": "#/definitions/HardwareProfile", + "description": "Information about the machine's hardware" + }, + "storageProfile": { + "$ref": "#/definitions/StorageProfile", + "description": "Information about the machine's storage" + }, + "firmwareProfile": { + "$ref": "#/definitions/FirmwareProfile", + "description": "Information about the machine's firmware" + }, + "cloudMetadata": { + "$ref": "#/definitions/CloudMetadata", + "description": "The metadata of the cloud environment (Azure/GCP/AWS/OCI...)." + }, + "agentUpgrade": { + "$ref": "#/definitions/AgentUpgrade", + "description": "The info of the machine w.r.t Agent Upgrade" + }, + "osProfile": { + "$ref": "#/definitions/OSProfile", + "description": "Specifies the operating system settings for the hybrid machine." + }, + "licenseProfile": { + "$ref": "#/definitions/LicenseProfileMachineInstanceView", + "description": "Specifies the License related properties for a machine." + }, + "provisioningState": { + "readOnly": true, + "type": "string", + "description": "The provisioning state, which only appears in the response." + }, + "status": { + "readOnly": true, + "type": "string", + "description": "The status of the hybrid machine agent.", + "enum": [ + "Connected", + "Disconnected", + "Error", + "AwaitingConnection" + ], + "x-ms-enum": { + "name": "StatusTypes", + "modelAsString": true + } + }, + "lastStatusChange": { + "readOnly": true, + "type": "string", + "format": "date-time", + "description": "The time of the last status change." + }, + "errorDetails": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorDetail" + }, + "description": "Details about the error state.", + "x-ms-identifiers": [] + }, + "agentVersion": { + "readOnly": true, + "type": "string", + "description": "The hybrid machine agent full version." + }, + "vmId": { + "type": "string", + "x-ms-mutability": [ + "read", + "create" + ], + "description": "Specifies the hybrid machine unique ID." + }, + "displayName": { + "readOnly": true, + "type": "string", + "description": "Specifies the hybrid machine display name." + }, + "machineFqdn": { + "readOnly": true, + "type": "string", + "description": "Specifies the hybrid machine FQDN." + }, + "clientPublicKey": { + "type": "string", + "description": "Public Key that the client provides to be used during initial resource onboarding" + }, + "identityKeyStore": { + "description": "Specifies the identity key store a machine is using.", + "type": "string", + "enum": [ + "TPM", + "Default" + ], + "x-ms-enum": { + "name": "IdentityKeyStore", + "modelAsString": true + } + }, + "tpmEkCertificate": { + "type": "string", + "description": "Endorsement Key Certificate of the Trusted Platform Module (TPM) that the client provides to be used during initial resource onboarding." + }, + "osName": { + "readOnly": true, + "type": "string", + "description": "The Operating System running on the hybrid machine." + }, + "osVersion": { + "readOnly": true, + "type": "string", + "description": "The version of Operating System running on the hybrid machine." + }, + "osType": { + "type": "string", + "description": "The type of Operating System (windows/linux)." + }, + "vmUuid": { + "readOnly": true, + "type": "string", + "description": "Specifies the Arc Machine's unique SMBIOS ID" + }, + "extensions": { + "type": "array", + "items": { + "$ref": "#/definitions/MachineExtensionInstanceView" + }, + "description": "Machine Extensions information (deprecated field)", + "x-ms-identifiers": [] + }, + "osSku": { + "readOnly": true, + "type": "string", + "description": "Specifies the Operating System product SKU." + }, + "osEdition": { + "readOnly": true, + "type": "string", + "description": "The edition of the Operating System." + }, + "domainName": { + "readOnly": true, + "type": "string", + "description": "Specifies the Windows domain name." + }, + "adFqdn": { + "readOnly": true, + "type": "string", + "description": "Specifies the AD fully qualified display name." + }, + "dnsFqdn": { + "readOnly": true, + "type": "string", + "description": "Specifies the DNS fully qualified display name." + }, + "privateLinkScopeResourceId": { + "type": "string", + "description": "The resource id of the private link scope this machine is assigned to, if any." + }, + "parentClusterResourceId": { + "type": "string", + "description": "The resource id of the parent cluster (Azure HCI) this machine is assigned to, if any." + }, + "hardwareResourceId": { + "type": "string", + "description": "Specifies the resource ID of the associated hardware device. Only settable by HCI RP." + }, + "mssqlDiscovered": { + "type": "string", + "description": "Specifies whether any MS SQL instance is discovered on the machine." + }, + "detectedProperties": { + "$ref": "#/definitions/DetectedProperties", + "description": "Detected properties from the machine." + }, + "networkProfile": { + "$ref": "#/definitions/NetworkProfile", + "description": "Information about the network the machine is on." + } + }, + "description": "Describes the properties of a hybrid machine." + }, + "MachineUpdateProperties": { + "type": "object", + "properties": { + "locationData": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/locationData" + }, + "osProfile": { + "$ref": "#/definitions/OSProfile" + }, + "cloudMetadata": { + "$ref": "#/definitions/CloudMetadata", + "description": "The metadata of the cloud environment (Azure/GCP/AWS/OCI...)." + }, + "agentUpgrade": { + "$ref": "#/definitions/AgentUpgrade", + "description": "The info of the machine w.r.t Agent Upgrade" + }, + "parentClusterResourceId": { + "type": "string", + "description": "The resource id of the parent cluster (Azure HCI) this machine is assigned to, if any." + }, + "privateLinkScopeResourceId": { + "type": "string", + "description": "The resource id of the private link scope this machine is assigned to, if any." + }, + "identityKeyStore": { + "type": "string", + "description": "Identity key store type of the machine" + }, + "tpmEkCertificate": { + "type": "string", + "description": "Endorsement Key Certificate of the Trusted Platform Module (TPM) that the client provides to be used during initial resource onboarding." + } + }, + "description": "Describes the ARM updatable properties of a hybrid machine." + }, + "Machine": { + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/MachineProperties", + "description": "Hybrid Compute Machine properties" + }, + "resources": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "#/definitions/MachineExtension" + }, + "description": "The list of extensions affiliated to the machine" + }, + "identity": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/Identity" + }, + "kind": { + "$ref": "#/definitions/ArcKindEnum" + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ], + "description": "Describes a hybrid machine." + }, + "ArcKindEnum": { + "type": "string", + "description": "Indicates which kind of Arc machine placement on-premises, such as HCI, SCVMM or VMware etc.", + "enum": [ + "AVS", + "HCI", + "SCVMM", + "VMware", + "EPS", + "GCP", + "AWS" + ], + "x-ms-enum": { + "name": "ArcKindEnum ", + "modelAsString": true + } + }, + "MachineUpdate": { + "type": "object", + "properties": { + "identity": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/Identity" + }, + "kind": { + "$ref": "#/definitions/ArcKindEnum" + }, + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/MachineUpdateProperties", + "description": "Hybrid Compute Machine properties" + } + }, + "allOf": [ + { + "$ref": "#/definitions/ResourceUpdate" + } + ], + "description": "Describes a hybrid machine Update." + }, + "MachineListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Machine" + }, + "description": "The list of hybrid machines." + }, + "nextLink": { + "type": "string", + "description": "The URI to fetch the next page of Machines. Call ListNext() with this URI to fetch the next page of hybrid machines." + } + }, + "required": [ + "value" + ], + "description": "The List hybrid machine operation response." + }, + "ProvisioningState": { + "readOnly": true, + "type": "string", + "enum": [ + "Creating", + "Updating", + "Deleting", + "Succeeded", + "Failed", + "Accepted", + "Canceled", + "Deleted" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + }, + "description": "The provisioning state, which only appears in the response." + }, + "License": { + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/LicenseProperties", + "description": "Hybrid Compute License properties" + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ], + "description": "Describes a license in a hybrid machine." + }, + "LicenseProperties": { + "type": "object", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The provisioning state, which only appears in the response." + }, + "tenantId": { + "type": "string", + "description": "Describes the tenant id." + }, + "licenseType": { + "$ref": "#/definitions/LicenseType", + "description": "The type of the license resource." + }, + "licenseDetails": { + "$ref": "#/definitions/LicenseDetails", + "description": "Describes the properties of a License." + } + }, + "description": "Describes the properties of a License Profile." + }, + "LicenseUpdate": { + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/LicenseUpdateProperties", + "description": "License Update properties" + } + }, + "allOf": [ + { + "$ref": "#/definitions/ResourceUpdate" + } + ], + "description": "Describes a License Update." + }, + "LicenseUpdateProperties": { + "type": "object", + "properties": { + "licenseType": { + "$ref": "#/definitions/LicenseType", + "description": "The type of the license resource." + }, + "licenseDetails": { + "x-ms-client-flatten": true, + "type": "object", + "properties": { + "state": { + "$ref": "#/definitions/LicenseState" + }, + "target": { + "$ref": "#/definitions/LicenseTarget" + }, + "edition": { + "$ref": "#/definitions/LicenseEdition" + }, + "type": { + "$ref": "#/definitions/LicenseCoreType" + }, + "processors": { + "type": "integer", + "format": "int32", + "description": "Describes the number of processors." + } + } + } + }, + "description": "Describes the Update properties of a License Profile." + }, + "LicenseDetails": { + "type": "object", + "properties": { + "state": { + "$ref": "#/definitions/LicenseState" + }, + "target": { + "$ref": "#/definitions/LicenseTarget" + }, + "edition": { + "$ref": "#/definitions/LicenseEdition" + }, + "type": { + "$ref": "#/definitions/LicenseCoreType" + }, + "processors": { + "type": "integer", + "format": "int32", + "description": "Describes the number of processors." + }, + "assignedLicenses": { + "readOnly": true, + "type": "integer", + "format": "int32", + "description": "Describes the number of assigned licenses." + }, + "immutableId": { + "readOnly": true, + "type": "string", + "description": "Describes the immutable id." + }, + "volumeLicenseDetails": { + "type": "array", + "items": { + "$ref": "#/definitions/VolumeLicenseDetails" + }, + "description": "A list of volume license details." + } + }, + "description": "Describes the properties of a License." + }, + "VolumeLicenseDetails": { + "type": "object", + "properties": { + "programYear": { + "type": "string", + "description": "Describes the program year the volume license is for.", + "enum": [ + "Year 1", + "Year 2", + "Year 3" + ], + "x-ms-enum": { + "name": "ProgramYear", + "modelAsString": true + } + }, + "invoiceId": { + "type": "string", + "description": "The invoice id for the volume license." + } + } + }, + "LicenseType": { + "type": "string", + "enum": [ + "ESU" + ], + "x-ms-enum": { + "name": "LicenseType", + "modelAsString": true + }, + "description": "The type of the license resource." + }, + "LicenseState": { + "type": "string", + "enum": [ + "Activated", + "Deactivated" + ], + "x-ms-enum": { + "name": "LicenseState", + "modelAsString": true + }, + "description": "Describes the state of the license." + }, + "LicenseEdition": { + "type": "string", + "enum": [ + "Standard", + "Datacenter" + ], + "x-ms-enum": { + "name": "LicenseEdition", + "modelAsString": true + }, + "description": "Describes the edition of the license. The values are either Standard or Datacenter." + }, + "LicenseTarget": { + "type": "string", + "enum": [ + "Windows Server 2012", + "Windows Server 2012 R2" + ], + "x-ms-enum": { + "name": "LicenseTarget", + "modelAsString": true + }, + "description": "Describes the license target server." + }, + "LicenseCoreType": { + "type": "string", + "enum": [ + "pCore", + "vCore" + ], + "x-ms-enum": { + "name": "LicenseCoreType", + "modelAsString": true + }, + "description": "Describes the license core type (pCore or vCore)." + }, + "LicensesListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/License" + }, + "description": "The list of licenses." + }, + "nextLink": { + "type": "string", + "description": "The URI to fetch the next page of Machines. Call ListNext() with this URI to fetch the next page of license profile." + } + }, + "required": [ + "value" + ], + "description": "The List license operation response." + }, + "LicenseProfile": { + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "type": "object", + "properties": { + "softwareAssurance": { + "x-ms-client-flatten": true, + "type": "object", + "properties": { + "softwareAssuranceCustomer": { + "type": "boolean", + "description": "Specifies if this machine is licensed as part of a Software Assurance agreement." + } + } + }, + "esuProfile": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/LicenseProfileArmEsuProperties", + "description": "Hybrid Compute ESU Profile properties" + }, + "productProfile": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/LicenseProfileArmProductProfileProperties", + "description": "Hybrid Compute Product Profile properties" + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The provisioning state, which only appears in the response." + } + }, + "description": "Describe the properties of a license profile." + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ], + "description": "Describes a license profile in a hybrid machine." + }, + "LicenseProfileUpdate": { + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "type": "object", + "properties": { + "softwareAssurance": { + "x-ms-client-flatten": true, + "type": "object", + "properties": { + "softwareAssuranceCustomer": { + "type": "boolean", + "description": "Specifies if this machine is licensed as part of a Software Assurance agreement." + } + } + }, + "esuProfile": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/EsuProfileUpdateProperties", + "description": "Hybrid Compute ESU Profile Update properties" + }, + "productProfile": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ProductProfileUpdateProperties", + "description": "Hybrid Compute Product Profile Update properties" + } + }, + "description": "Describe the Update properties of a license profile." + } + }, + "allOf": [ + { + "$ref": "#/definitions/ResourceUpdate" + } + ], + "description": "Describes a License Profile Update." + }, + "LicenseProfilesListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/LicenseProfile" + }, + "description": "The list of license profiles." + }, + "nextLink": { + "type": "string", + "description": "The URI to fetch the next page of Machines. Call ListNext() with this URI to fetch the next page of license profile." + } + }, + "required": [ + "value" + ], + "description": "The List hybrid machine license profile operation response." + }, + "EsuServerType": { + "type": "string", + "enum": [ + "Standard", + "Datacenter" + ], + "x-ms-enum": { + "name": "EsuServerType", + "modelAsString": true + }, + "description": "The server types for Esu." + }, + "EsuEligibility": { + "type": "string", + "enum": [ + "Eligible", + "Ineligible", + "Unknown" + ], + "x-ms-enum": { + "name": "EsuEligibility", + "modelAsString": true + }, + "description": "The ESU eligibility." + }, + "EsuKey": { + "type": "object", + "properties": { + "sku": { + "type": "string", + "description": "SKU number." + }, + "licenseStatus": { + "type": "integer", + "format": "int32", + "description": "The current status of the license profile key. Represented by the same integer value that is presented on the machine itself when querying the license key status." + } + }, + "description": "ESU key" + }, + "EsuKeyState": { + "type": "string", + "enum": [ + "Inactive", + "Active" + ], + "x-ms-enum": { + "name": "EsuKeyState", + "modelAsString": true + }, + "description": "The ESU key state." + }, + "LicenseProfileStorageModelEsuProperties": { + "type": "object", + "properties": { + "assignedLicenseImmutableId": { + "readOnly": true, + "type": "string", + "description": "The guid id of the license." + }, + "esuKeys": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "#/definitions/EsuKey" + }, + "description": "The list of ESU keys.", + "x-ms-identifiers": [] + } + }, + "description": "License profile storage model for ESU properties." + }, + "LicenseProfileArmEsuProperties": { + "type": "object", + "properties": { + "assignedLicense": { + "type": "string", + "description": "The resource id of the license." + } + }, + "allOf": [ + { + "$ref": "#/definitions/LicenseProfileArmEsuPropertiesWithoutAssignedLicense" + } + ], + "description": "Describes the properties of a License Profile ARM model." + }, + "LicenseProfileArmEsuPropertiesWithoutAssignedLicense": { + "type": "object", + "properties": { + "serverType": { + "readOnly": true, + "$ref": "#/definitions/EsuServerType", + "description": "The type of the Esu servers." + }, + "esuEligibility": { + "readOnly": true, + "$ref": "#/definitions/EsuEligibility", + "description": "Indicates the eligibility state of Esu." + }, + "esuKeyState": { + "readOnly": true, + "$ref": "#/definitions/EsuKeyState", + "description": "Indicates whether there is an ESU Key currently active for the machine." + } + }, + "allOf": [ + { + "$ref": "#/definitions/LicenseProfileStorageModelEsuProperties" + } + ], + "description": "Describes the properties of a License Profile ARM model." + }, + "EsuProfileUpdateProperties": { + "type": "object", + "properties": { + "assignedLicense": { + "type": "string", + "description": "The resource id of the license." + } + }, + "description": "Describes the Update properties of a ESU License Profile." + }, + "LicenseProfileSubscriptionStatusUpdate": { + "type": "string", + "enum": [ + "Enable", + "Disable" + ], + "x-ms-enum": { + "name": "LicenseProfileSubscriptionStatusUpdate", + "modelAsString": true + }, + "description": "Indicates the new subscription status of the OS or Product Features." + }, + "ProductFeatureUpdate": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Product feature name." + }, + "subscriptionStatus": { + "$ref": "#/definitions/LicenseProfileSubscriptionStatusUpdate", + "description": "Indicates the new status of the product feature." + } + }, + "description": "Product Feature" + }, + "ProductProfileUpdateProperties": { + "type": "object", + "properties": { + "subscriptionStatus": { + "$ref": "#/definitions/LicenseProfileSubscriptionStatusUpdate", + "description": "Indicates the subscription status of the product." + }, + "productType": { + "$ref": "#/definitions/LicenseProfileProductType", + "description": "Indicates the product type of the license." + }, + "productFeatures": { + "type": "array", + "items": { + "$ref": "#/definitions/ProductFeatureUpdate" + }, + "description": "The list of product feature updates.", + "x-ms-identifiers": [] + } + }, + "description": "Describes the Update properties of a Product Profile." + }, + "LicenseProfileMachineInstanceView": { + "type": "object", + "properties": { + "licenseStatus": { + "$ref": "#/definitions/LicenseStatus", + "description": "Indicates the license status of the OS." + }, + "licenseChannel": { + "readOnly": true, + "type": "string", + "description": "Indicates the license channel." + }, + "softwareAssurance": { + "x-ms-client-flatten": true, + "type": "object", + "readOnly": true, + "properties": { + "softwareAssuranceCustomer": { + "type": "boolean", + "description": "Specifies if this machine is licensed as part of a Software Assurance agreement." + } + } + }, + "esuProfile": { + "$ref": "#/definitions/LicenseProfileMachineInstanceViewEsuProperties" + }, + "productProfile": { + "x-ms-client-flatten": true, + "readOnly": true, + "$ref": "#/definitions/LicenseProfileArmProductProfileProperties", + "description": "Hybrid Compute Product Profile properties" + } + }, + "description": "License Profile Instance View in Machine Properties." + }, + "LicenseProfileMachineInstanceViewEsuProperties": { + "type": "object", + "properties": { + "assignedLicense": { + "$ref": "#/definitions/License", + "description": "The assigned license resource." + }, + "licenseAssignmentState": { + "type": "string", + "enum": [ + "Assigned", + "NotAssigned" + ], + "description": "Describes the license assignment state (Assigned or NotAssigned).", + "x-ms-enum": { + "name": "licenseAssignmentState", + "modelAsString": true + } + } + }, + "allOf": [ + { + "$ref": "#/definitions/LicenseProfileArmEsuPropertiesWithoutAssignedLicense" + } + ], + "description": "Properties for the Machine ESU profile." + }, + "LicenseStatus": { + "readOnly": true, + "type": "string", + "enum": [ + "Unlicensed", + "Licensed", + "OOBGrace", + "OOTGrace", + "NonGenuineGrace", + "Notification", + "ExtendedGrace" + ], + "x-ms-enum": { + "name": "LicenseStatus", + "modelAsString": true + }, + "description": "The license status." + }, + "LicenseProfileSubscriptionStatus": { + "type": "string", + "enum": [ + "Unknown", + "Enabling", + "Enabled", + "Disabled", + "Disabling", + "Failed" + ], + "x-ms-enum": { + "name": "LicenseProfileSubscriptionStatus", + "modelAsString": true + }, + "description": "Subscription status of the OS or Product feature." + }, + "LicenseProfileProductType": { + "type": "string", + "enum": [ + "WindowsServer", + "WindowsIoTEnterprise" + ], + "x-ms-enum": { + "name": "LicenseProfileProductType", + "modelAsString": true + }, + "description": "The product type of the license." + }, + "ProductFeature": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Product feature name." + }, + "subscriptionStatus": { + "$ref": "#/definitions/LicenseProfileSubscriptionStatus", + "description": "Indicates the current status of the product features." + }, + "enrollmentDate": { + "type": "string", + "readOnly": true, + "format": "date-time", + "description": "The timestamp in UTC when the user enrolls the feature." + }, + "billingStartDate": { + "type": "string", + "readOnly": true, + "format": "date-time", + "description": "The timestamp in UTC when the billing starts." + }, + "disenrollmentDate": { + "type": "string", + "readOnly": true, + "format": "date-time", + "description": "The timestamp in UTC when the user disenrolled the feature." + }, + "billingEndDate": { + "type": "string", + "readOnly": true, + "format": "date-time", + "description": "The timestamp in UTC when the billing ends." + }, + "error": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorDetail", + "readOnly": true, + "description": "The errors that were encountered during the feature enrollment or disenrollment." + } + }, + "description": "Product Feature" + }, + "LicenseProfileArmProductProfileProperties": { + "type": "object", + "properties": { + "subscriptionStatus": { + "$ref": "#/definitions/LicenseProfileSubscriptionStatus", + "description": "Indicates the subscription status of the product." + }, + "productType": { + "$ref": "#/definitions/LicenseProfileProductType", + "description": "Indicates the product type of the license." + }, + "enrollmentDate": { + "type": "string", + "readOnly": true, + "format": "date-time", + "description": "The timestamp in UTC when the user enrolls the feature." + }, + "billingStartDate": { + "type": "string", + "readOnly": true, + "format": "date-time", + "description": "The timestamp in UTC when the billing starts." + }, + "disenrollmentDate": { + "type": "string", + "readOnly": true, + "format": "date-time", + "description": "The timestamp in UTC when the user disenrolled the feature." + }, + "billingEndDate": { + "type": "string", + "readOnly": true, + "format": "date-time", + "description": "The timestamp in UTC when the billing ends." + }, + "error": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorDetail", + "readOnly": true, + "description": "The errors that were encountered during the feature enrollment or disenrollment." + }, + "productFeatures": { + "type": "array", + "items": { + "$ref": "#/definitions/ProductFeature" + }, + "description": "The list of product features.", + "x-ms-identifiers": [] + } + }, + "description": "Describes the properties of a Product License Profile ARM model." + }, + "HotpatchEnablementStatus": { + "type": "string", + "enum": [ + "Unknown", + "PendingEvaluation", + "Disabled", + "ActionRequired", + "Enabled" + ], + "x-ms-enum": { + "name": "HotpatchEnablementStatus", + "modelAsString": true + }, + "description": "Status of hotpatch enablement or disablement." + }, + "ResourceUpdate": { + "type": "object", + "description": "The Update Resource model definition.", + "properties": { + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags" + } + } + }, + "MachineExtension": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/MachineExtensionProperties", + "description": "Describes Machine Extension Properties." + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ], + "description": "Describes a Machine Extension." + }, + "MachineExtensionUpdate": { + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/MachineExtensionUpdateProperties", + "description": "Describes Machine Extension Update Properties." + } + }, + "allOf": [ + { + "$ref": "#/definitions/ResourceUpdate" + } + ], + "description": "Describes a Machine Extension Update." + }, + "MachineExtensionProperties": { + "type": "object", + "properties": { + "forceUpdateTag": { + "type": "string", + "description": "How the extension handler should be forced to update even if the extension configuration has not changed." + }, + "publisher": { + "type": "string", + "description": "The name of the extension handler publisher." + }, + "type": { + "type": "string", + "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\"." + }, + "typeHandlerVersion": { + "type": "string", + "description": "Specifies the version of the script handler." + }, + "enableAutomaticUpgrade": { + "type": "boolean", + "description": "Indicates whether the extension should be automatically upgraded by the platform if there is a newer version available." + }, + "autoUpgradeMinorVersion": { + "type": "boolean", + "description": "Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true." + }, + "settings": { + "type": "object", + "additionalProperties": {}, + "description": "Json formatted public settings for the extension." + }, + "protectedSettings": { + "type": "object", + "additionalProperties": {}, + "description": "The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all." + }, + "provisioningState": { + "readOnly": true, + "type": "string", + "description": "The provisioning state, which only appears in the response." + }, + "instanceView": { + "$ref": "#/definitions/MachineExtensionInstanceView", + "description": "The machine extension instance view." + } + }, + "description": "Describes the properties of a Machine Extension." + }, + "MachineExtensionUpdateProperties": { + "type": "object", + "properties": { + "forceUpdateTag": { + "type": "string", + "description": "How the extension handler should be forced to update even if the extension configuration has not changed." + }, + "publisher": { + "type": "string", + "description": "The name of the extension handler publisher." + }, + "type": { + "type": "string", + "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\"." + }, + "typeHandlerVersion": { + "type": "string", + "description": "Specifies the version of the script handler." + }, + "enableAutomaticUpgrade": { + "type": "boolean", + "description": "Indicates whether the extension should be automatically upgraded by the platform if there is a newer version available." + }, + "autoUpgradeMinorVersion": { + "type": "boolean", + "description": "Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true." + }, + "settings": { + "type": "object", + "additionalProperties": {}, + "description": "Json formatted public settings for the extension." + }, + "protectedSettings": { + "type": "object", + "additionalProperties": {}, + "description": "The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all." + } + }, + "description": "Describes the properties of a Machine Extension." + }, + "MachineExtensionInstanceView": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The machine extension name." + }, + "type": { + "type": "string", + "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\"." + }, + "typeHandlerVersion": { + "type": "string", + "description": "Specifies the version of the script handler." + }, + "status": { + "type": "object", + "properties": { + "code": { + "type": "string", + "description": "The status code." + }, + "level": { + "type": "string", + "description": "The level code.", + "enum": [ + "Info", + "Warning", + "Error" + ], + "x-ms-enum": { + "name": "StatusLevelTypes", + "modelAsString": true + } + }, + "displayStatus": { + "type": "string", + "description": "The short localizable label for the status." + }, + "message": { + "type": "string", + "description": "The detailed status message, including for alerts and error messages." + }, + "time": { + "type": "string", + "format": "date-time", + "description": "The time of the status." + } + }, + "description": "Instance view status." + } + }, + "description": "Describes the Machine Extension Instance View." + }, + "MachineExtensionsListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/MachineExtension" + }, + "description": "The list of extensions" + }, + "nextLink": { + "type": "string", + "description": "The uri to fetch the next page of machine extensions. Call ListNext() with this to fetch the next page of extensions." + } + }, + "description": "Describes the Machine Extensions List Result." + }, + "TargetVersion": { + "type": "string", + "description": "Extension Upgrade Target Version." + }, + "ExtensionTargetProperties": { + "type": "object", + "properties": { + "targetVersion": { + "type": "object", + "$ref": "#/definitions/TargetVersion", + "description": "Properties for the specified Extension to Upgrade." + } + }, + "description": "Describes the Machine Extension Target Version Properties" + }, + "ExtensionTarget": { + "type": "object", + "additionalProperties": { + "type": "object", + "$ref": "#/definitions/ExtensionTargetProperties" + }, + "description": "Describes the Machine Extension Target Properties" + }, + "MachineExtensionUpgrade": { + "type": "object", + "properties": { + "extensionTargets": { + "$ref": "#/definitions/ExtensionTarget", + "description": "Describes the Extension Target Properties." + } + }, + "description": "Describes the Machine Extension Upgrade Properties." + }, + "NetworkProfile": { + "type": "object", + "readOnly": true, + "properties": { + "networkInterfaces": { + "type": "array", + "items": { + "$ref": "#/definitions/NetworkInterface" + }, + "description": "The list of network interfaces.", + "x-ms-identifiers": [] + } + }, + "description": "Describes the network information on this machine." + }, + "NetworkInterface": { + "type": "object", + "readOnly": true, + "properties": { + "macAddress": { + "type": "string", + "description": "Represents MAC address of the network interface." + }, + "id": { + "type": "string", + "description": "Represents the ID of the network interface." + }, + "name": { + "type": "string", + "description": "Represents the name of the network interface." + }, + "ipAddresses": { + "type": "array", + "items": { + "$ref": "#/definitions/IpAddress" + }, + "description": "The list of IP addresses in this interface.", + "x-ms-identifiers": [] + } + }, + "description": "Describes a network interface." + }, + "IpAddress": { + "type": "object", + "readOnly": true, + "properties": { + "address": { + "type": "string", + "description": "Represents the IP Address." + }, + "ipAddressVersion": { + "type": "string", + "description": "Represents the Ip Address Version." + }, + "subnet": { + "type": "object", + "$ref": "#/definitions/Subnet", + "description": "The subnet to which this IP address belongs." + } + }, + "description": "Describes properties of the IP address." + }, + "Subnet": { + "type": "object", + "readOnly": true, + "properties": { + "addressPrefix": { + "type": "string", + "description": "Represents address prefix." + } + }, + "description": "Describes the subnet." + }, + "HybridIdentityMetadataList": { + "description": "List of HybridIdentityMetadata.", + "type": "object", + "properties": { + "nextLink": { + "description": "Url to follow for getting next page of HybridIdentityMetadata.", + "type": "string" + }, + "value": { + "description": "Array of HybridIdentityMetadata", + "type": "array", + "items": { + "$ref": "#/definitions/HybridIdentityMetadata" + } + } + }, + "required": [ + "value" + ] + }, + "HybridIdentityMetadata": { + "description": "Defines the HybridIdentityMetadata.", + "required": [ + "properties" + ], + "type": "object", + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource", + "description": "The resource model definition for an Azure Resource Manager proxy resource. It will have everything other than required location and tags." + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "description": "Resource properties.", + "$ref": "#/definitions/HybridIdentityMetadataProperties" + }, + "systemData": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/systemData", + "description": "The system data." + } + }, + "x-ms-azure-resource": true + }, + "HybridIdentityMetadataProperties": { + "description": "Defines the resource properties.", + "type": "object", + "properties": { + "vmId": { + "description": "The unique identifier for the resource.", + "type": "string" + }, + "publicKey": { + "description": "The Public Key.", + "type": "string" + }, + "identity": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/Identity", + "readOnly": true + } + } + }, + "AgentVersionsList": { + "type": "object", + "readOnly": true, + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/AgentVersion" + }, + "description": "The list of available Agent Versions.", + "x-ms-identifiers": [ + "agentVersion" + ] + }, + "nextLink": { + "type": "string", + "description": "The URI to fetch the next 10 available Agent Versions." + } + }, + "description": "Describes AgentVersions List." + }, + "AgentVersion": { + "type": "object", + "readOnly": true, + "properties": { + "agentVersion": { + "type": "string", + "description": "Represents the agent version." + }, + "downloadLink": { + "type": "string", + "description": "Represents the download link of specific agent version." + }, + "osType": { + "type": "string", + "description": "Defines the os type." + } + }, + "description": "Describes properties of Agent Version." + }, + "MachineAssessPatchesResult": { + "type": "object", + "properties": { + "status": { + "type": "string", + "readOnly": true, + "description": "The overall success or failure status of the operation. It remains \"InProgress\" until the operation completes. At that point it will become \"Unknown\", \"Failed\", \"Succeeded\", or \"CompletedWithWarnings.\"", + "enum": [ + "Unknown", + "InProgress", + "Failed", + "Succeeded", + "CompletedWithWarnings" + ], + "x-ms-enum": { + "name": "PatchOperationStatus", + "modelAsString": true + } + }, + "assessmentActivityId": { + "type": "string", + "readOnly": true, + "description": "The activity ID of the operation that produced this result." + }, + "rebootPending": { + "type": "boolean", + "readOnly": true, + "description": "The overall reboot status of the VM. It will be true when partially installed patches require a reboot to complete installation but the reboot has not yet occurred." + }, + "availablePatchCountByClassification": { + "$ref": "#/definitions/AvailablePatchCountByClassification", + "description": "Summarization of patches available for installation on the machine by classification." + }, + "startDateTime": { + "type": "string", + "readOnly": true, + "format": "date-time", + "description": "The UTC timestamp when the operation began." + }, + "lastModifiedDateTime": { + "type": "string", + "readOnly": true, + "format": "date-time", + "description": "The UTC timestamp when the operation finished." + }, + "startedBy": { + "type": "string", + "readOnly": true, + "enum": [ + "User", + "Platform" + ], + "x-ms-enum": { + "name": "PatchOperationStartedBy", + "modelAsString": true + }, + "description": "Indicates if operation was triggered by user or by platform." + }, + "patchServiceUsed": { + "type": "string", + "readOnly": true, + "enum": [ + "Unknown", + "WU", + "WU_WSUS", + "YUM", + "APT", + "Zypper" + ], + "x-ms-enum": { + "name": "PatchServiceUsed", + "modelAsString": true + }, + "description": "Specifies the patch service used for the operation." + }, + "osType": { + "type": "string", + "readOnly": true, + "enum": [ + "Windows", + "Linux" + ], + "x-ms-enum": { + "name": "OsType", + "modelAsString": true + }, + "description": "The operating system type of the machine." + }, + "errorDetails": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorDetail", + "readOnly": true, + "description": "The errors that were encountered during execution of the operation. The details array contains the list of them." + } + }, + "description": "Describes the properties of an AssessPatches result." + }, + "AvailablePatchCountByClassification": { + "type": "object", + "properties": { + "security": { + "readOnly": true, + "type": "integer", + "format": "int32", + "description": "Number of security patches available for installation." + }, + "critical": { + "readOnly": true, + "type": "integer", + "format": "int32", + "description": "Number of critical patches available for installation." + }, + "definition": { + "readOnly": true, + "type": "integer", + "format": "int32", + "description": "Number of definition patches available for installation." + }, + "updateRollup": { + "readOnly": true, + "type": "integer", + "format": "int32", + "description": "Number of update Rollup patches available for installation." + }, + "featurePack": { + "readOnly": true, + "type": "integer", + "format": "int32", + "description": "Number of feature pack patches available for installation." + }, + "servicePack": { + "readOnly": true, + "type": "integer", + "format": "int32", + "description": "Number of service pack patches available for installation." + }, + "tools": { + "readOnly": true, + "type": "integer", + "format": "int32", + "description": "Number of tools patches available for installation." + }, + "updates": { + "readOnly": true, + "type": "integer", + "format": "int32", + "description": "Number of updates category patches available for installation." + }, + "other": { + "readOnly": true, + "type": "integer", + "format": "int32", + "description": "Number of other patches available for installation." + } + }, + "description": "Summarization of patches available for installation on the machine by classification." + }, + "MachineInstallPatchesParameters": { + "type": "object", + "properties": { + "maximumDuration": { + "type": "string", + "description": "Specifies the maximum amount of time that the operation will run. It must be an ISO 8601-compliant duration string such as PT4H (4 hours)" + }, + "rebootSetting": { + "type": "string", + "description": "Defines when it is acceptable to reboot a VM during a software update operation.", + "enum": [ + "IfRequired", + "Never", + "Always" + ], + "x-ms-enum": { + "name": "VMGuestPatchRebootSetting", + "modelAsString": true + } + }, + "windowsParameters": { + "$ref": "#/definitions/WindowsParameters", + "description": "Input for InstallPatches on a Windows VM, as directly received by the API" + }, + "linuxParameters": { + "$ref": "#/definitions/LinuxParameters", + "description": "Input for InstallPatches on a Linux VM, as directly received by the API" + } + }, + "required": [ + "maximumDuration", + "rebootSetting" + ], + "description": "Input for InstallPatches as directly received by the API" + }, + "WindowsParameters": { + "type": "object", + "properties": { + "classificationsToInclude": { + "type": "array", + "description": "The update classifications to select when installing patches for Windows.", + "items": { + "type": "string", + "enum": [ + "Critical", + "Security", + "UpdateRollUp", + "FeaturePack", + "ServicePack", + "Definition", + "Tools", + "Updates" + ], + "x-ms-enum": { + "name": "VMGuestPatchClassification_Windows", + "modelAsString": true + } + } + }, + "kbNumbersToInclude": { + "type": "array", + "description": "Kbs to include in the patch operation", + "items": { + "type": "string" + } + }, + "kbNumbersToExclude": { + "type": "array", + "description": "Kbs to exclude in the patch operation", + "items": { + "type": "string" + } + }, + "excludeKbsRequiringReboot": { + "type": "boolean", + "description": "Filters out Kbs that don't have an InstallationRebootBehavior of 'NeverReboots' when this is set to true." + }, + "maxPatchPublishDate": { + "type": "string", + "format": "date-time", + "description": "This is used to install patches that were published on or before this given max published date." + }, + "patchNameMasksToInclude": { + "type": "array", + "description": "This is used to include patches that match the given patch name masks. Alphanumeric strings and wildcard expressions consisting of * and ? are only supported as input values in the list. Null, empty and only whitespaces strings as inputs values are not supported.", + "items": { + "type": "string" + } + }, + "patchNameMasksToExclude": { + "type": "array", + "description": "This is used to exclude patches that match the given patch name masks. Alphanumeric strings and wildcard expressions consisting of * and ? are only supported as input values in the list. Null, empty and only whitespaces strings as inputs values are not supported.", + "items": { + "type": "string" + } + } + }, + "description": "Input for InstallPatches on a Windows VM, as directly received by the API" + }, + "LinuxParameters": { + "type": "object", + "properties": { + "classificationsToInclude": { + "type": "array", + "description": "The update classifications to select when installing patches for Linux.", + "items": { + "type": "string", + "enum": [ + "Critical", + "Security", + "Other" + ], + "x-ms-enum": { + "name": "VMGuestPatchClassification_Linux", + "modelAsString": true + } + } + }, + "packageNameMasksToInclude": { + "type": "array", + "description": "packages to include in the patch operation. Format: packageName_packageVersion", + "items": { + "type": "string" + } + }, + "packageNameMasksToExclude": { + "type": "array", + "description": "packages to exclude in the patch operation. Format: packageName_packageVersion", + "items": { + "type": "string" + } + } + }, + "description": "Input for InstallPatches on a Linux VM, as directly received by the API" + }, + "MachineInstallPatchesResult": { + "type": "object", + "properties": { + "status": { + "type": "string", + "readOnly": true, + "description": "The overall success or failure status of the operation. It remains \"InProgress\" until the operation completes. At that point it will become \"Failed\", \"Succeeded\", \"Unknown\" or \"CompletedWithWarnings.\"", + "enum": [ + "Unknown", + "InProgress", + "Failed", + "Succeeded", + "CompletedWithWarnings" + ], + "x-ms-enum": { + "name": "PatchOperationStatus", + "modelAsString": true + } + }, + "installationActivityId": { + "type": "string", + "readOnly": true, + "description": "The activity ID of the operation that produced this result." + }, + "rebootStatus": { + "type": "string", + "readOnly": true, + "description": "The reboot state of the VM following completion of the operation.", + "enum": [ + "Unknown", + "NotNeeded", + "Required", + "Started", + "Failed", + "Completed" + ], + "x-ms-enum": { + "name": "VMGuestPatchRebootStatus", + "modelAsString": true + } + }, + "maintenanceWindowExceeded": { + "type": "boolean", + "readOnly": true, + "description": "Whether the operation ran out of time before it completed all its intended actions." + }, + "excludedPatchCount": { + "type": "integer", + "readOnly": true, + "format": "int32", + "description": "The number of patches that were not installed due to the user blocking their installation." + }, + "notSelectedPatchCount": { + "type": "integer", + "readOnly": true, + "format": "int32", + "description": "The number of patches that were detected as available for install, but did not meet the operation's criteria." + }, + "pendingPatchCount": { + "type": "integer", + "readOnly": true, + "format": "int32", + "description": "The number of patches that were identified as meeting the installation criteria, but were not able to be installed. Typically this happens when maintenanceWindowExceeded == true." + }, + "installedPatchCount": { + "type": "integer", + "readOnly": true, + "format": "int32", + "description": "The number of patches successfully installed." + }, + "failedPatchCount": { + "type": "integer", + "readOnly": true, + "format": "int32", + "description": "The number of patches that could not be installed due to some issue. See errors for details." + }, + "startDateTime": { + "type": "string", + "readOnly": true, + "format": "date-time", + "description": "The UTC timestamp when the operation began." + }, + "lastModifiedDateTime": { + "type": "string", + "readOnly": true, + "format": "date-time", + "description": "The UTC timestamp when the operation finished." + }, + "startedBy": { + "type": "string", + "readOnly": true, + "enum": [ + "User", + "Platform" + ], + "x-ms-enum": { + "name": "PatchOperationStartedBy", + "modelAsString": true + }, + "description": "Indicates if operation was triggered by user or by platform." + }, + "patchServiceUsed": { + "type": "string", + "readOnly": true, + "enum": [ + "Unknown", + "WU", + "WU_WSUS", + "YUM", + "APT", + "Zypper" + ], + "x-ms-enum": { + "name": "PatchServiceUsed", + "modelAsString": true + }, + "description": "Specifies the patch service used for the operation." + }, + "osType": { + "type": "string", + "readOnly": true, + "enum": [ + "Windows", + "Linux" + ], + "x-ms-enum": { + "name": "OsType", + "modelAsString": true + }, + "description": "The operating system type of the machine." + }, + "errorDetails": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorDetail", + "readOnly": true, + "description": "The errors that were encountered during execution of the operation. The details array contains the list of them." + } + }, + "description": "The result summary of an installation operation." + }, + "MachineRunCommand": { + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/MachineRunCommandProperties", + "description": "Describes Run Command Properties" + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ], + "description": "Describes a Run Command" + }, + "MachineRunCommandProperties": { + "type": "object", + "properties": { + "source": { + "$ref": "#/definitions/MachineRunCommandScriptSource", + "description": "The source of the run command script." + }, + "parameters": { + "type": "array", + "items": { + "$ref": "#/definitions/RunCommandInputParameter" + }, + "x-ms-identifiers": [ + "name" + ], + "description": "The parameters used by the script." + }, + "protectedParameters": { + "type": "array", + "items": { + "$ref": "#/definitions/RunCommandInputParameter" + }, + "x-ms-identifiers": [ + "name" + ], + "description": "The parameters used by the script." + }, + "asyncExecution": { + "type": "boolean", + "default": false, + "description": "Optional. If set to true, provisioning will complete as soon as script starts and will not wait for script to complete." + }, + "runAsUser": { + "type": "string", + "description": "Specifies the user account on the machine when executing the run command." + }, + "runAsPassword": { + "type": "string", + "description": "Specifies the user account password on the machine when executing the run command.", + "x-ms-secret": true + }, + "timeoutInSeconds": { + "type": "integer", + "format": "int32", + "description": "The timeout in seconds to execute the run command." + }, + "outputBlobUri": { + "type": "string", + "description": "Specifies the Azure storage blob where script output stream will be uploaded. Use a SAS URI with read, append, create, write access OR use managed identity to provide the VM access to the blob. Refer outputBlobManagedIdentity parameter. " + }, + "errorBlobUri": { + "type": "string", + "description": "Specifies the Azure storage blob where script error stream will be uploaded. Use a SAS URI with read, append, create, write access OR use managed identity to provide the VM access to the blob. Refer errorBlobManagedIdentity parameter." + }, + "outputBlobManagedIdentity": { + "$ref": "#/definitions/RunCommandManagedIdentity", + "description": "User-assigned managed identity that has access to outputBlobUri storage blob. Use an empty object in case of system-assigned identity. Make sure managed identity has been given access to blob's container with 'Storage Blob Data Contributor' role assignment. In case of user-assigned identity, make sure you add it under VM's identity. For more info on managed identity and Run Command, refer https://aka.ms/ManagedIdentity and https://aka.ms/RunCommandManaged " + }, + "errorBlobManagedIdentity": { + "$ref": "#/definitions/RunCommandManagedIdentity", + "description": "User-assigned managed identity that has access to errorBlobUri storage blob. Use an empty object in case of system-assigned identity. Make sure managed identity has been given access to blob's container with 'Storage Blob Data Contributor' role assignment. In case of user-assigned identity, make sure you add it under VM's identity. For more info on managed identity and Run Command, refer https://aka.ms/ManagedIdentity and https://aka.ms/RunCommandManaged " + }, + "provisioningState": { + "readOnly": true, + "type": "string", + "description": "The provisioning state, which only appears in the response." + }, + "instanceView": { + "readOnly": true, + "$ref": "#/definitions/MachineRunCommandInstanceView", + "description": "The machine run command instance view." + } + }, + "description": "Describes the properties of a run command." + }, + "MachineRunCommandScriptSource": { + "type": "object", + "properties": { + "script": { + "type": "string", + "description": "Specifies the script content to be executed on the machine." + }, + "scriptUri": { + "type": "string", + "description": "Specifies the script download location. It can be either SAS URI of an Azure storage blob with read access or public URI." + }, + "commandId": { + "type": "string", + "description": "Specifies the commandId of predefined built-in script." + }, + "scriptUriManagedIdentity": { + "$ref": "#/definitions/RunCommandManagedIdentity", + "description": "User-assigned managed identity that has access to scriptUri in case of Azure storage blob. Use an empty object in case of system-assigned identity. Make sure the Azure storage blob exists, and managed identity has been given access to blob's container with 'Storage Blob Data Reader' role assignment. In case of user-assigned identity, make sure you add it under VM's identity. For more info on managed identity and Run Command, refer https://aka.ms/ManagedIdentity and https://aka.ms/RunCommandManaged." + } + }, + "description": "Describes the script sources for run command. Use only one of script, scriptUri, commandId." + }, + "MachineRunCommandInstanceView": { + "type": "object", + "properties": { + "executionState": { + "type": "string", + "description": "Script execution status.", + "enum": [ + "Unknown", + "Pending", + "Running", + "Failed", + "Succeeded", + "TimedOut", + "Canceled" + ], + "x-ms-enum": { + "name": "ExecutionState", + "modelAsString": true + } + }, + "executionMessage": { + "type": "string", + "description": "Communicate script configuration errors or execution messages." + }, + "exitCode": { + "type": "integer", + "format": "int32", + "description": "Exit code returned from script execution." + }, + "output": { + "type": "string", + "description": "Script output stream." + }, + "error": { + "type": "string", + "description": "Script error stream." + }, + "startTime": { + "type": "string", + "format": "date-time", + "description": "Script start time." + }, + "endTime": { + "type": "string", + "format": "date-time", + "description": "Script end time." + }, + "statuses": { + "type": "array", + "items": { + "$ref": "#/definitions/ExtensionsResourceStatus" + }, + "x-ms-identifiers": [], + "description": "The status information." + } + }, + "description": "The instance view of a machine run command." + }, + "MachineRunCommandsListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/MachineRunCommand" + }, + "description": "The list of run commands" + }, + "nextLink": { + "type": "string", + "description": "The uri to fetch the next page of run commands. Call ListNext() with this to fetch the next page of run commands." + } + }, + "description": "Describes the Run Commands List Result." + }, + "MachineRunCommandUpdate": { + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ResourceUpdate" + } + ], + "description": "Describes a Machine Extension Update." + }, + "RunCommandInputParameter": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The run command parameter name." + }, + "value": { + "type": "string", + "description": "The run command parameter value." + } + }, + "required": [ + "name", + "value" + ], + "description": "Describes the properties of a run command parameter." + }, + "RunCommandManagedIdentity": { + "type": "object", + "properties": { + "clientId": { + "type": "string", + "description": "Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided." + }, + "objectId": { + "type": "string", + "description": "Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided." + } + }, + "description": " Contains clientId or objectId (use only one, not both) of a user-assigned managed identity that has access to storage blob used in Run Command. Use an empty RunCommandManagedIdentity object in case of system-assigned identity. Make sure the Azure storage blob exists in case of scriptUri, and managed identity has been given access to blob's container with 'Storage Blob Data Reader' role assignment with scriptUri blob and 'Storage Blob Data Contributor' for Append blobs(outputBlobUri, errorBlobUri). In case of user assigned identity, make sure you add it under VM's identity. For more info on managed identity and Run Command, refer https://aka.ms/ManagedIdentity and https://aka.ms/RunCommandManaged." + }, + "ExtensionsResourceStatus": { + "properties": { + "code": { + "type": "string", + "description": "The status code." + }, + "level": { + "type": "string", + "description": "The level code.", + "enum": [ + "Info", + "Warning", + "Error" + ], + "x-ms-enum": { + "name": "ExtensionsStatusLevelTypes", + "modelAsString": false + } + }, + "displayStatus": { + "type": "string", + "description": "The short localizable label for the status." + }, + "message": { + "type": "string", + "description": "The detailed status message, including for alerts and error messages." + }, + "time": { + "type": "string", + "format": "date-time", + "description": "The time of the status." + } + }, + "type": "object", + "description": "Instance view status." + }, + "Gateway": { + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/GatewayProperties", + "description": "Hybrid Compute Gateway properties" + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ], + "description": "Describes an Arc Gateway." + }, + "GatewayProperties": { + "type": "object", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The provisioning state, which only appears in the response.", + "readOnly": true + }, + "gatewayId": { + "type": "string", + "description": "A unique, immutable, identifier for the Gateway.", + "readOnly": true + }, + "gatewayType": { + "$ref": "#/definitions/GatewayType", + "description": "The type of the Gateway resource." + }, + "gatewayEndpoint": { + "type": "string", + "description": "The endpoint fqdn for the Gateway.", + "readOnly": true + }, + "allowedFeatures": { + "type": "array", + "description": "Specifies the list of features that are enabled for this Gateway.", + "items": { + "type": "string" + } + } + }, + "description": "Describes the properties of a Gateway Profile." + }, + "GatewayType": { + "type": "string", + "enum": [ + "Public" + ], + "x-ms-enum": { + "name": "GatewayType", + "modelAsString": true + }, + "description": "The type of the Gateway resource." + }, + "GatewayUpdate": { + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/GatewayUpdateProperties", + "description": "Gateway Update properties" + } + }, + "allOf": [ + { + "$ref": "#/definitions/ResourceUpdate" + } + ], + "description": "Describes a License Update." + }, + "GatewayUpdateProperties": { + "type": "object", + "properties": { + "allowedFeatures": { + "type": "array", + "description": "Specifies the list of features that are enabled for this Gateway.", + "items": { + "type": "string" + } + } + }, + "description": "Describes the Update properties of a Gateway Profile." + }, + "GatewaysListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Gateway" + }, + "description": "The list of Gateways." + }, + "nextLink": { + "type": "string", + "description": "The URI to fetch the next page of Gateways. Call ListNext() with this URI to fetch the next page of Gateways." + } + }, + "required": [ + "value" + ], + "description": "The List license operation response." + }, + "Settings": { + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/SettingsProperties" + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ] + }, + "SettingsProperties": { + "type": "object", + "description": "Settings properties", + "properties": { + "tenantId": { + "type": "string", + "readOnly": true, + "description": "Azure resource tenant Id" + }, + "gatewayProperties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/SettingsGatewayProperties" + } + } + }, + "SettingsGatewayProperties": { + "type": "object", + "description": "Settings Gateway properties", + "properties": { + "gatewayResourceId": { + "type": "string", + "description": "Associated Gateway Resource Id", + "format": "arm-id", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.HybridCompute/gateways" + } + ] + } + } + } + }, + "SetupExtensionRequest": { + "type": "object", + "properties": { + "extensions": { + "type": "array", + "items": { + "$ref": "#/definitions/MachineExtensionProperties" + }, + "description": "The list of extensions" + } + } + } + }, + "parameters": { + "machineNameParameter": { + "name": "machineName", + "in": "path", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9-_\\.]+", + "description": "The name of the hybrid machine.", + "x-ms-parameter-location": "method" + }, + "licenseProfileNameParameter": { + "name": "licenseProfileName", + "in": "path", + "description": "The name of the license profile.", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9-_\\.]+", + "enum": [ + "default" + ], + "x-ms-parameter-location": "method", + "x-ms-enum": { + "name": "LicenseProfileName", + "modelAsString": false + } + }, + "licenseNameParameter": { + "name": "licenseName", + "in": "path", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9-_\\.]+", + "description": "The name of the license.", + "x-ms-parameter-location": "method" + }, + "gatewayNameParameter": { + "name": "gatewayName", + "in": "path", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9-_\\.]+", + "description": "The name of the Gateway.", + "x-ms-parameter-location": "method" + }, + "runCommandNameParameter": { + "name": "runCommandName", + "in": "path", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9-_\\.]+", + "description": "The name of the run command.", + "x-ms-parameter-location": "method" + }, + "baseProviderParameter": { + "name": "baseProvider", + "in": "path", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9-_\\.]+", + "description": "The name of the base Resource Provider.", + "x-ms-parameter-location": "method" + }, + "baseResourceTypeParameter": { + "name": "baseResourceType", + "in": "path", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9-_\\.]+", + "description": "The name of the base Resource Type.", + "x-ms-parameter-location": "method" + }, + "baseResourceNameParameter": { + "name": "baseResourceName", + "in": "path", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9-_\\.]+", + "description": "The name of the base resource.", + "x-ms-parameter-location": "method" + }, + "settingsResourceNameParameter": { + "name": "settingsResourceName", + "in": "path", + "required": true, + "type": "string", + "pattern": "default", + "description": "The name of the settings resource.", + "x-ms-parameter-location": "method" + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/AgentVersion_GetLatest.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/AgentVersion_GetLatest.json new file mode 100644 index 000000000000..860983d96e6b --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/AgentVersion_GetLatest.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "osType": "myOsType", + "version": "1.27", + "api-version": "2025-06-01" + }, + "responses": { + "200": { + "body": { + "agentVersion": "1.27", + "downloadLink": "https://download.microsoft.com/download/8/4/5/845d5e04-bb09-4ed2-9ca8-bb51184cddc9/AzureConnectedMachineAgent.msi", + "osType": "myOsType" + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/AgentVersions_Get.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/AgentVersions_Get.json new file mode 100644 index 000000000000..33d19fa9f77f --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/AgentVersions_Get.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "osType": "myOsType", + "api-version": "2025-06-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "agentVersion": "1.26", + "downloadLink": "https://download.microsoft.com/download/8/4/5/845d5e04-bb09-4ed2-9ca8-bb51184cddc9/AzureConnectedMachineAgent.msi", + "osType": "myOsType" + }, + { + "agentVersion": "1.27", + "downloadLink": "https://download.microsoft.com/download/8/4/5/845d5e04-bb09-4ed2-9ca8-bb51184cddc9/AzureConnectedMachineAgent.msi", + "osType": "myOsType" + } + ] + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/HybridIdentityMetadata_Get.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/HybridIdentityMetadata_Get.json new file mode 100644 index 000000000000..7ea94ab2a145 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/HybridIdentityMetadata_Get.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "api-version": "2025-06-01", + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "testrg", + "machineName": "ContosoVm", + "metadataName": "default" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.HybridCompute/machines/ContosoVm/hybridIdentityMetadata/default", + "name": "testItem", + "type": "Microsoft.HybridCompute/machines/hybridIdentityMetadata", + "properties": { + "vmId": "f8b82dff-38ef-4220-99ef-d3a3f86ddc6c", + "publicKey": "8ec7d60c-9700-40b1-8e6e-e5b2f6f477f2", + "identity": { + "principalId": "7b5129bc-8642-4a6a-95f8-63400ca6ec4d", + "tenantId": "ec46ca82-5d4a-4e3e-b4b7-e27f9318645d", + "type": "SystemAssigned" + } + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/HybridIdentityMetadata_ListByVirtualMachines.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/HybridIdentityMetadata_ListByVirtualMachines.json new file mode 100644 index 000000000000..935c765cadc1 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/HybridIdentityMetadata_ListByVirtualMachines.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "api-version": "2025-06-01", + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "testrg", + "machineName": "ContosoVm" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.HybridCompute/machines/ContosoVm/hybridIdentityMetadata/default", + "name": "testItem", + "type": "Microsoft.HybridCompute/machines/hybridIdentityMetadata", + "properties": { + "vmId": "f8b82dff-38ef-4220-99ef-d3a3f86ddc6c", + "publicKey": "8ec7d60c-9700-40b1-8e6e-e5b2f6f477f2", + "identity": { + "principalId": "7b5129bc-8642-4a6a-95f8-63400ca6ec4d", + "tenantId": "ec46ca82-5d4a-4e3e-b4b7-e27f9318645d", + "type": "SystemAssigned" + } + } + } + ] + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/NetworkProfile_Get.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/NetworkProfile_Get.json new file mode 100644 index 000000000000..87d0dd143d6b --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/NetworkProfile_Get.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "myResourceGroup", + "machineName": "myMachine", + "api-version": "2025-06-01" + }, + "responses": { + "200": { + "body": { + "networkInterfaces": [ + { + "name": "Wi-Fi", + "macAddress": "3c:49:6e:13:0e:73", + "id": "8", + "ipAddresses": [ + { + "address": "192.168.12.345", + "ipAddressVersion": "IPv4", + "subnet": { + "addressPrefix": "192.168.12.0/24" + } + } + ] + }, + { + "name": "Ethernet", + "macAddress": "10:15:5c:52:f9:b8", + "id": "23", + "ipAddresses": [ + { + "address": "1001:0:34aa:5000:1234:aaaa:bbbb:cccc", + "ipAddressVersion": "IPv6", + "subnet": { + "addressPrefix": "1001:0:34aa:5000::/64" + } + } + ] + } + ] + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/Operations_List.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/Operations_List.json new file mode 100644 index 000000000000..a45c131a0a2b --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/Operations_List.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "api-version": "2025-06-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "origin": "user,system", + "name": "Microsoft.HybridCompute/operations/read", + "display": { + "operation": "Read all Operations", + "resource": "Microsoft.HybridCompute Resource Provider", + "description": "Read all Operations for Azure Arc for Servers", + "provider": "Microsoft HybridCompute" + }, + "isDataAction": true + }, + { + "origin": "user,system", + "name": "Microsoft.HybridCompute/register/action", + "display": { + "operation": "Register Subscription for Azure Arc for Servers", + "resource": "Microsoft.HybridCompute Resource Provider", + "description": "Registers the subscription for the Microsoft.HybridCompute Resource Provider", + "provider": "Microsoft HybridCompute" + }, + "isDataAction": true + } + ] + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/extension/ExtensionMetadataV2_Get.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/extension/ExtensionMetadataV2_Get.json new file mode 100644 index 000000000000..0ebbb47ad5af --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/extension/ExtensionMetadataV2_Get.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "location": "EastUS", + "publisher": "microsoft.azure.monitor", + "extensionType": "azuremonitorlinuxagent", + "version": "1.33.0", + "api-version": "2025-06-01" + }, + "responses": { + "200": { + "body": { + "id": "/providers/Microsoft.HybridCompute/locations/eastus/publishers/microsoft.azure.monitor/extensionTypes/azuremonitorlinuxagent/versions/1.33.0", + "properties": { + "version": "1.33.0", + "extensionType": "azuremonitorlinuxagent", + "publisher": "microsoft.azure.monitor", + "extensionSignatureUri": "https://eastus.his.arc.azure.com/extensions/extensionsignatures/azuremonitorlinuxagent__1.33.0.zip", + "extensionUris": [ + "https://aaaaaaaaaaaaaaaaaaaa.blob.core.windows.net/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa_1.33.0.zip", + "https://bbbbbbbbbbbbbbbbbbbb.blob.core.windows.net/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb_1.33.0.zip", + "https://cccccccccccccccccccc.blob.core.windows.net/cccccccccccccccccccccccccccccccccccc/cccccccccccccccccccccccccccccccccccc_1.33.0.zip" + ], + "operatingSystem": "Linux", + "architecture": [ + "x64" + ] + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/extension/ExtensionMetadataV2_List.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/extension/ExtensionMetadataV2_List.json new file mode 100644 index 000000000000..1720d8e09ca5 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/extension/ExtensionMetadataV2_List.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "location": "EastUS", + "publisher": "microsoft.azure.monitor", + "extensionType": "azuremonitorlinuxagent", + "api-version": "2025-06-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "version": "1.33.0", + "extensionType": "azuremonitorlinuxagent", + "publisher": "microsoft.azure.monitor", + "extensionSignatureUri": "https://eastus.his.arc.azure.com/extensions/extensionsignatures/azuremonitorlinuxagent__1.33.0.zip", + "extensionUris": [ + "https://aaaaaaaaaaaaaaaaaaaa.blob.core.windows.net/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa_1.33.0.zip", + "https://bbbbbbbbbbbbbbbbbbbb.blob.core.windows.net/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb_1.33.0.zip", + "https://cccccccccccccccccccc.blob.core.windows.net/cccccccccccccccccccccccccccccccccccc/cccccccccccccccccccccccccccccccccccc_1.33.0.zip" + ], + "operatingSystem": "Linux", + "architecture": [ + "x64" + ] + }, + "id": "/providers/Microsoft.HybridCompute/locations/eastus/publishers/microsoft.azure.monitor/extensionTypes/azuremonitorlinuxagent/versions/1.33.0" + }, + { + "properties": { + "version": "1.32.6", + "extensionType": "azuremonitorlinuxagent", + "publisher": "microsoft.azure.monitor", + "extensionSignatureUri": "https://eastus.his.arc.azure.com/extensions/extensionsignatures/azuremonitorlinuxagent__1.32.6.zip", + "extensionUris": [ + "https://aaaaaaaaaaaaaaaaaaaa.blob.core.windows.net/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa_1.32.6.zip", + "https://bbbbbbbbbbbbbbbbbbbb.blob.core.windows.net/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb_1.32.6.zip", + "https://cccccccccccccccccccc.blob.core.windows.net/cccccccccccccccccccccccccccccccccccc/cccccccccccccccccccccccccccccccccccc_1.32.6.zip" + ], + "operatingSystem": "Linux", + "architecture": [ + "x64" + ] + }, + "id": "/providers/Microsoft.HybridCompute/locations/eastus/publishers/microsoft.azure.monitor/extensionTypes/azuremonitorlinuxagent/versions/1.32.6" + } + ] + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/extension/ExtensionMetadata_Get.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/extension/ExtensionMetadata_Get.json new file mode 100644 index 000000000000..2ee2251c6453 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/extension/ExtensionMetadata_Get.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "subscriptionId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", + "location": "EastUS", + "publisher": "microsoft.azure.monitor", + "extensionType": "azuremonitorlinuxagent", + "version": "1.9.1", + "api-version": "2025-06-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/Providers/Microsoft.HybridCompute/locations/eastus/publishers/microsoft.azure.monitor/extensionTypes/azuremonitorlinuxagent/versions/1.9.1", + "properties": { + "version": "1.9.1", + "extensionType": "azuremonitorlinuxagent", + "publisher": "microsoft.azure.monitor" + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/extension/ExtensionMetadata_List.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/extension/ExtensionMetadata_List.json new file mode 100644 index 000000000000..cbebc2aebf58 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/extension/ExtensionMetadata_List.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "subscriptionId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", + "location": "EastUS", + "publisher": "microsoft.azure.monitor", + "extensionType": "azuremonitorlinuxagent", + "api-version": "2025-06-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "version": "1.9.1", + "extensionType": "azuremonitorlinuxagent", + "publisher": "microsoft.azure.monitor" + }, + "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/Providers/Microsoft.HybridCompute/locations/eastus/publishers/microsoft.azure.monitor/extensionTypes/azuremonitorlinuxagent/versions/1.9.1" + }, + { + "properties": { + "version": "1.9.2", + "extensionType": "azuremonitorlinuxagent", + "publisher": "microsoft.azure.monitor" + }, + "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/Providers/Microsoft.HybridCompute/locations/eastus/publishers/microsoft.azure.monitor/extensionTypes/azuremonitorlinuxagent/versions/1.9.2" + } + ] + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/extension/ExtensionPublisher_List.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/extension/ExtensionPublisher_List.json new file mode 100644 index 000000000000..5a0df3ec11b4 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/extension/ExtensionPublisher_List.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "location": "EastUS", + "api-version": "2025-06-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/providers/Microsoft.HybridCompute/locations/eastus/publishers", + "name": "Microsoft.Compute" + }, + { + "id": "/providers/Microsoft.HybridCompute/locations/eastus/publishers", + "name": "Microsoft.Azure.Monitoring.DependencyAgent" + }, + { + "id": "/providers/Microsoft.HybridCompute/locations/eastus/publishers", + "name": "Microsoft.AzureData" + } + ] + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/extension/ExtensionType_List.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/extension/ExtensionType_List.json new file mode 100644 index 000000000000..2513aa2d3c82 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/extension/ExtensionType_List.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "location": "EastUS", + "publisher": "microsoft.azure.monitor", + "api-version": "2025-06-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/providers/Microsoft.HybridCompute/locations/eastus/publishers/microsoft.azure.monitor/extensionTypes", + "name": "AzureMonitorLinuxAgent" + }, + { + "id": "/providers/Microsoft.HybridCompute/locations/eastus/publishers/microsoft.azure.monitor/extensionTypes", + "name": "AzureMonitorWindowsAgent" + } + ] + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/extension/Extension_Add.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/extension/Extension_Add.json new file mode 100644 index 000000000000..7edce2394b58 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/extension/Extension_Add.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "machineName": "myMachine", + "api-version": "2025-06-01", + "extensions": { + "extensions": [ + { + "publisher": "Microsoft.Azure.Monitoring", + "type": "AzureMonitorAgentLinux" + }, + { + "publisher": "", + "type": "" + } + ] + } + }, + "responses": { + "200": { + "body": {} + }, + "202": { + "headers": { + "Location": "{callbackUrl}", + "Retry-After": 200, + "Azure-AsyncOperation": "{callbackUri}" + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/extension/Extension_CreateOrUpdate.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/extension/Extension_CreateOrUpdate.json new file mode 100644 index 000000000000..01f7e4432209 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/extension/Extension_CreateOrUpdate.json @@ -0,0 +1,53 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "machineName": "myMachine", + "extensionName": "CustomScriptExtension", + "api-version": "2025-06-01", + "extensionParameters": { + "location": "eastus2euap", + "properties": { + "publisher": "Microsoft.Compute", + "typeHandlerVersion": "1.10", + "type": "CustomScriptExtension", + "settings": { + "commandToExecute": "powershell.exe -c \"Get-Process | Where-Object { $_.CPU -gt 10000 }\"" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/Machines/myMachine/Extensions/CustomScriptExtension", + "name": "CustomScriptExtension", + "type": "Microsoft.HybridCompute/machines/extensions", + "location": "eastus2euap", + "properties": { + "publisher": "Microsoft.Compute", + "type": "string", + "typeHandlerVersion": "1.10.3", + "autoUpgradeMinorVersion": false, + "settings": { + "commandToExecute": "powershell.exe -c \"Get-Process | Where-Object { $_.CPU -gt 10000 }\"" + }, + "protectedSettings": {}, + "provisioningState": "Succeeded", + "instanceView": { + "name": "CustomScriptExtension", + "type": "CustomScriptExtension", + "typeHandlerVersion": "1.10.3", + "status": { + "code": "success", + "level": "Information", + "message": "Finished executing command, StdOut: , StdErr:", + "time": "2020-08-08T20:42:10.999Z" + } + } + } + } + }, + "202": {} + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/extension/Extension_Delete.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/extension/Extension_Delete.json new file mode 100644 index 000000000000..9810d4adf711 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/extension/Extension_Delete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "machineName": "myMachine", + "extensionName": "MMA", + "api-version": "2025-06-01" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "{callbackUrl}", + "Retry-After": 200, + "Azure-AsyncOperation": "{callbackUri}" + } + }, + "204": {} + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/extension/Extension_Get.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/extension/Extension_Get.json new file mode 100644 index 000000000000..f436f938b936 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/extension/Extension_Get.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "machineName": "myMachine", + "extensionName": "CustomScriptExtension", + "api-version": "2025-06-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/Machines/myMachine/Extensions/CustomScriptExtension", + "name": "CustomScriptExtension", + "type": "Microsoft.HybridCompute/machines/extensions", + "location": "eastus2euap", + "properties": { + "publisher": "Microsoft.Compute", + "type": "string", + "typeHandlerVersion": "1.10.3", + "autoUpgradeMinorVersion": false, + "settings": { + "commandToExecute": "powershell.exe -c \"Get-Process | Where-Object { $_.CPU -gt 10000 }\"" + }, + "protectedSettings": {}, + "provisioningState": "Succeeded", + "instanceView": { + "name": "CustomScriptExtension", + "type": "CustomScriptExtension", + "typeHandlerVersion": "1.10.3", + "status": { + "code": "success", + "level": "Information", + "displayStatus": "Provisioning succeeded", + "message": "Finished executing command, StdOut: , StdErr:", + "time": "2019-08-08T20:42:10.999Z" + } + } + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/extension/Extension_List.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/extension/Extension_List.json new file mode 100644 index 000000000000..931134f09397 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/extension/Extension_List.json @@ -0,0 +1,64 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "machineName": "myMachine", + "api-version": "2025-06-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/Machines/myMachine/Extensions/CustomScriptExtension", + "name": "CustomScriptExtension", + "location": "eastus2euap", + "type": "Microsoft.HybridCompute/machines/extensions", + "properties": { + "publisher": "Microsoft.Compute", + "type": "CustomScriptExtension", + "typeHandlerVersion": "1.10.3", + "autoUpgradeMinorVersion": false, + "settings": { + "commandToExecute": "powershell.exe -c \"Get-Process | Where-Object { $_.CPU -gt 10000 }\"" + }, + "provisioningState": "Succeeded", + "instanceView": { + "name": "CustomScriptExtension", + "type": "CustomScriptExtension", + "typeHandlerVersion": "1.10.3", + "status": { + "code": "success", + "level": "Information", + "displayStatus": "Provisioning succeeded", + "message": "formattedMessage: Finished executing command, StdOut: , StdErr: ", + "time": "2020-08-13T17:18:57.405Z" + } + } + } + }, + { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/Machines/myMachine/Extensions/winosupdateextension", + "name": "winosupdateextension", + "location": "eastus2euap", + "type": "Microsoft.HybridCompute/machines/extensions", + "properties": { + "publisher": "microsoft.softwareupdatemanagement.test", + "type": "windowsosupdateextension", + "typeHandlerVersion": "1.0.0.0", + "autoUpgradeMinorVersion": false, + "settings": {}, + "provisioningState": "Creating", + "instanceView": { + "name": "winosupdateextension", + "type": "windowsosupdateextension", + "typeHandlerVersion": "1.0.0.0", + "status": {} + } + } + } + ] + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/extension/Extension_Update.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/extension/Extension_Update.json new file mode 100644 index 000000000000..b8e7ec48b0b9 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/extension/Extension_Update.json @@ -0,0 +1,60 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "machineName": "myMachine", + "extensionName": "CustomScriptExtension", + "api-version": "2025-06-01", + "extensionParameters": { + "properties": { + "publisher": "Microsoft.Compute", + "typeHandlerVersion": "1.10", + "enableAutomaticUpgrade": true, + "type": "CustomScriptExtension", + "settings": { + "commandToExecute": "powershell.exe -c \"Get-Process | Where-Object { $_.CPU -lt 100 }\"" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/Machines/myMachine/Extensions/CustomScriptExtension", + "name": "CustomScriptExtension", + "type": "Microsoft.HybridCompute/machines/extensions", + "location": "eastus2euap", + "properties": { + "publisher": "Microsoft.Compute", + "type": "string", + "typeHandlerVersion": "1.10.3", + "enableAutomaticUpgrade": true, + "autoUpgradeMinorVersion": false, + "settings": { + "commandToExecute": "powershell.exe -c \"Get-Process | Where-Object { $_.CPU -gt 10000 }\"" + }, + "protectedSettings": {}, + "provisioningState": "Succeeded", + "instanceView": { + "name": "CustomScriptExtension", + "type": "CustomScriptExtension", + "typeHandlerVersion": "1.10.3", + "status": { + "code": "success", + "level": "Information", + "message": "Finished executing command, StdOut: , StdErr:", + "time": "2020-01-08T20:42:10.999Z" + } + } + } + } + }, + "202": { + "headers": { + "Location": "{callbackUrl}", + "Retry-After": 200, + "Azure-AsyncOperation": "{callbackUri}" + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/extension/Extensions_Upgrade.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/extension/Extensions_Upgrade.json new file mode 100644 index 000000000000..6d48951b2485 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/extension/Extensions_Upgrade.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "machineName": "myMachine", + "api-version": "2025-06-01", + "extensionUpgradeParameters": { + "extensionTargets": { + "Microsoft.Compute.CustomScriptExtension": { + "targetVersion": "1.10" + }, + "Microsoft.Azure.Monitoring": { + "targetVersion": "2.0" + } + } + } + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "{callbackUrl}", + "Retry-After": 200, + "Azure-AsyncOperation": "{callbackUri}" + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/gateway/Gateway_CreateOrUpdate.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/gateway/Gateway_CreateOrUpdate.json new file mode 100644 index 000000000000..58222224ec81 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/gateway/Gateway_CreateOrUpdate.json @@ -0,0 +1,60 @@ +{ + "parameters": { + "subscriptionId": "ffd506c8-3415-42d3-9612-fdb423fb17df", + "resourceGroupName": "myResourceGroup", + "gatewayName": "{gatewayName}", + "api-version": "2025-06-01", + "parameters": { + "location": "eastus2euap", + "properties": { + "gatewayType": "Public", + "allowedFeatures": [ + "*" + ] + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/ffd506c8-3415-42d3-9612-fdb423fb17df/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/gateways/{gatewayName}", + "name": "{gatewayName}", + "type": "Microsoft.HybridCompute/gateways", + "location": "eastus2euap", + "tags": null, + "properties": { + "provisioningState": "Succeeded", + "gatewayId": "", + "gatewayType": "Public", + "gatewayEndpoint": "https://uniqueValue.contoso.com", + "allowedFeatures": [ + "*" + ] + } + } + }, + "201": { + "headers": { + "Location": "{callbackUrl}", + "Retry-After": 200, + "Azure-AsyncOperation": "{callbackUri}" + }, + "body": { + "id": "/subscriptions/ffd506c8-3415-42d3-9612-fdb423fb17df/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/gateways/{gatewayName}", + "name": "{gatewayName}", + "type": "Microsoft.HybridCompute/gateways", + "location": "eastus2euap", + "tags": null, + "properties": { + "provisioningState": "Creating", + "gatewayId": "", + "gatewayType": "Public", + "gatewayEndpoint": "https://uniqueValue.contoso.com", + "allowedFeatures": [ + "*" + ] + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/gateway/Gateway_Delete.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/gateway/Gateway_Delete.json new file mode 100644 index 000000000000..8fc1856da9a1 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/gateway/Gateway_Delete.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "subscriptionId": "ffd506c8-3415-42d3-9612-fdb423fb17df", + "resourceGroupName": "myResourceGroup", + "gatewayName": "{gatewayName}", + "api-version": "2025-06-01" + }, + "responses": { + "202": { + "headers": { + "Location": "{callbackUrl}", + "Retry-After": 200, + "Azure-AsyncOperation": "{callbackUri}" + } + }, + "204": {} + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/gateway/Gateway_Get.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/gateway/Gateway_Get.json new file mode 100644 index 000000000000..9c13ef892ee4 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/gateway/Gateway_Get.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "subscriptionId": "ffd506c8-3415-42d3-9612-fdb423fb17df", + "resourceGroupName": "myResourceGroup", + "gatewayName": "{gatewayName}", + "api-version": "2025-06-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/ffd506c8-3415-42d3-9612-fdb423fb17df/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/gateways/{gatewayName}", + "name": "{gatewayName}", + "type": "Microsoft.HybridCompute/gateways", + "location": "eastus2euap", + "tags": null, + "properties": { + "provisioningState": "Succeeded", + "gatewayId": "", + "gatewayType": "Public", + "gatewayEndpoint": "https://uniqueValue.contoso.com", + "allowedFeatures": [ + "*" + ] + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/gateway/Gateway_ListByResourceGroup.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/gateway/Gateway_ListByResourceGroup.json new file mode 100644 index 000000000000..2a20ee3fd205 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/gateway/Gateway_ListByResourceGroup.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "subscriptionId": "ffd506c8-3415-42d3-9612-fdb423fb17df", + "resourceGroupName": "myResourceGroup", + "gatewayName": "{gatewayName}", + "api-version": "2025-06-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/ffd506c8-3415-42d3-9612-fdb423fb17df/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/gateways/{gatewayName}", + "name": "{gatewayName}", + "type": "Microsoft.HybridCompute/gateways", + "location": "eastus2euap", + "tags": null, + "properties": { + "provisioningState": "Succeeded", + "gatewayId": "", + "gatewayType": "Public", + "gatewayEndpoint": "https://uniqueValue.contoso.com", + "allowedFeatures": [ + "*" + ] + } + } + ] + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/gateway/Gateway_ListBySubscription.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/gateway/Gateway_ListBySubscription.json new file mode 100644 index 000000000000..9b1dbb5795d8 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/gateway/Gateway_ListBySubscription.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "subscriptionId": "ffd506c8-3415-42d3-9612-fdb423fb17df", + "gatewayName": "{gatewayName}", + "api-version": "2025-06-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/ffd506c8-3415-42d3-9612-fdb423fb17df/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/gateways/{gatewayName}", + "name": "{gatewayName}", + "type": "Microsoft.HybridCompute/gateways", + "location": "eastus2euap", + "tags": null, + "properties": { + "provisioningState": "Succeeded", + "gatewayId": "", + "gatewayType": "Public", + "gatewayEndpoint": "https://uniqueValue.contoso.com", + "allowedFeatures": [ + "*" + ] + } + } + ] + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/gateway/Gateway_Update.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/gateway/Gateway_Update.json new file mode 100644 index 000000000000..0d66212d51a9 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/gateway/Gateway_Update.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "subscriptionId": "ffd506c8-3415-42d3-9612-fdb423fb17df", + "resourceGroupName": "myResourceGroup", + "gatewayName": "{gatewayName}", + "api-version": "2025-06-01", + "parameters": { + "properties": { + "allowedFeatures": [ + "*" + ] + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/ffd506c8-3415-42d3-9612-fdb423fb17df/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/gateways/{gatewayName}", + "name": "{gatewayName}", + "type": "Microsoft.HybridCompute/gateways", + "location": "eastus2euap", + "properties": { + "provisioningState": "Succeeded", + "gatewayId": "", + "gatewayType": "Public", + "gatewayEndpoint": "https://uniqueValue.contoso.com", + "allowedFeatures": [ + "*" + ] + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/license/License_CreateOrUpdate.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/license/License_CreateOrUpdate.json new file mode 100644 index 000000000000..a8adc6763da8 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/license/License_CreateOrUpdate.json @@ -0,0 +1,45 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "licenseName": "{licenseName}", + "api-version": "2025-06-01", + "parameters": { + "location": "eastus2euap", + "properties": { + "licenseType": "ESU", + "licenseDetails": { + "state": "Activated", + "target": "Windows Server 2012", + "edition": "Datacenter", + "type": "pCore", + "processors": 6 + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/Licenses/{licenseName}", + "name": "{licenseName}", + "type": "Microsoft.HybridCompute/licenses", + "location": "eastus2euap", + "tags": null, + "properties": { + "tenantId": "{tenandId}", + "licenseType": "ESU", + "licenseDetails": { + "state": "Activated", + "target": "Windows Server 2012", + "edition": "Datacenter", + "type": "pCore", + "processors": 6, + "assignedLicenses": 2, + "immutableId": "" + } + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/license/License_Delete.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/license/License_Delete.json new file mode 100644 index 000000000000..fa51190082ed --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/license/License_Delete.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "licenseName": "{licenseName}", + "api-version": "2025-06-01" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/license/License_Get.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/license/License_Get.json new file mode 100644 index 000000000000..4aaeba4dd4ca --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/license/License_Get.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "licenseName": "{licenseName}", + "api-version": "2025-06-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/Licenses/{licenseName}", + "name": "{licenseName}", + "type": "Microsoft.HybridCompute/licenses", + "location": "eastus2euap", + "tags": null, + "properties": { + "tenantId": "{tenandId}", + "licenseType": "ESU", + "licenseDetails": { + "state": "Activated", + "target": "Windows Server 2012", + "edition": "Datacenter", + "type": "pCore", + "processors": 6, + "assignedLicenses": 8, + "immutableId": "" + } + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/license/License_ListByResourceGroup.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/license/License_ListByResourceGroup.json new file mode 100644 index 000000000000..2529569107c2 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/license/License_ListByResourceGroup.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "licenseName": "{licenseName}", + "api-version": "2025-06-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/Licenses/{licenseName}", + "name": "{licenseName}", + "type": "Microsoft.HybridCompute/licenses", + "location": "eastus2euap", + "tags": null, + "properties": { + "tenantId": "{tenandId}", + "licenseType": "ESU", + "licenseDetails": { + "state": "Activated", + "target": "Windows Server 2012", + "edition": "Datacenter", + "type": "pCore", + "processors": 6, + "assignedLicenses": 8, + "immutableId": "" + } + } + } + ] + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/license/License_ListBySubscription.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/license/License_ListBySubscription.json new file mode 100644 index 000000000000..e983d7e53abe --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/license/License_ListBySubscription.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "licenseName": "{licenseName}", + "api-version": "2025-06-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/Licenses/{licenseName}", + "name": "{licenseName}", + "type": "Microsoft.HybridCompute/licenses", + "location": "eastus2euap", + "tags": null, + "properties": { + "tenantId": "{tenandId}", + "licenseType": "ESU", + "licenseDetails": { + "state": "Activated", + "target": "Windows Server 2012", + "edition": "Datacenter", + "type": "pCore", + "processors": 6, + "assignedLicenses": 8, + "immutableId": "" + } + } + } + ] + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/license/License_Update.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/license/License_Update.json new file mode 100644 index 000000000000..31f2e76edc1c --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/license/License_Update.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "licenseName": "{licenseName}", + "api-version": "2025-06-01", + "parameters": { + "properties": { + "licenseType": "ESU", + "licenseDetails": { + "state": "Activated", + "target": "Windows Server 2012", + "edition": "Datacenter", + "type": "pCore", + "processors": 6 + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/licenses/{licenseName}", + "name": "{licenseName}", + "type": "Microsoft.HybridCompute/licenses", + "location": "eastus2euap", + "properties": { + "tenantId": "{tenandId}", + "licenseType": "ESU", + "licenseDetails": { + "state": "Activated", + "target": "Windows Server 2012", + "edition": "Datacenter", + "type": "pCore", + "processors": 6, + "assignedLicenses": 8, + "immutableId": "" + } + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/license/License_ValidateLicense.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/license/License_ValidateLicense.json new file mode 100644 index 000000000000..879db0bbd9f6 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/license/License_ValidateLicense.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "licenseName": "{licenseName}", + "api-version": "2025-06-01", + "parameters": { + "location": "eastus2euap", + "properties": { + "licenseType": "ESU", + "licenseDetails": { + "state": "Activated", + "target": "Windows Server 2012", + "edition": "Datacenter", + "type": "pCore", + "processors": 6 + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/Licenses/{licenseName}", + "name": "{licenseName}", + "type": "Microsoft.HybridCompute/licenses", + "location": "eastus2euap", + "tags": null, + "properties": { + "tenantId": "{tenandId}", + "licenseType": "ESU", + "licenseDetails": { + "state": "Activated", + "target": "Windows Server 2012", + "edition": "Datacenter", + "type": "pCore", + "processors": 6, + "assignedLicenses": 2, + "immutableId": "" + } + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/licenseProfile/LicenseProfile_CreateOrUpdate.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/licenseProfile/LicenseProfile_CreateOrUpdate.json new file mode 100644 index 000000000000..a63932d655d5 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/licenseProfile/LicenseProfile_CreateOrUpdate.json @@ -0,0 +1,133 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "machineName": "myMachine", + "licenseProfileName": "default", + "api-version": "2025-06-01", + "parameters": { + "location": "eastus2euap", + "properties": { + "softwareAssurance": { + "softwareAssuranceCustomer": true + }, + "esuProfile": { + "assignedLicense": "{LicenseResourceId}" + }, + "productProfile": { + "subscriptionStatus": "Enabled", + "productType": "WindowsServer", + "productFeatures": [ + { + "name": "Hotpatch", + "subscriptionStatus": "Enabled" + } + ] + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/Machines/myMachine/licenseProfiles/default", + "name": "default", + "type": "Microsoft.HybridCompute/machines/licenseProfiles", + "location": "eastus2euap", + "tags": null, + "properties": { + "softwareAssurance": { + "softwareAssuranceCustomer": true + }, + "esuProfile": { + "assignedLicense": "{LicenseResourceId}", + "assignedLicenseImmutableId": "{Guid}", + "esuEligibility": "Eligible", + "serverType": "Standard", + "esuKeyState": "Inactive", + "esuKeys": [ + { + "sku": "skuNumber1", + "licenseStatus": 1 + }, + { + "sku": "skuNumber2", + "licenseStatus": 1 + } + ] + }, + "productProfile": { + "subscriptionStatus": "Enabling", + "productType": "WindowsServer", + "enrollmentDate": "2023-10-05T20:36:49.745Z", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z", + "billingEndDate": "2023-11-05T20:36:49.745Z", + "productFeatures": [ + { + "name": "Hotpatch", + "subscriptionStatus": "Enabling", + "enrollmentDate": "2023-10-05T20:36:49.745Z", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z", + "billingEndDate": "2023-11-05T20:36:49.745Z" + } + ] + } + } + } + }, + "201": { + "headers": { + "Location": "{callbackUrl}", + "Retry-After": 200, + "Azure-AsyncOperation": "{callbackUri}" + }, + "body": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/Machines/myMachine/licenseProfiles/default", + "name": "default", + "type": "Microsoft.HybridCompute/machines/licenseProfiles", + "location": "eastus2euap", + "properties": { + "softwareAssurance": { + "softwareAssuranceCustomer": true + }, + "esuProfile": { + "assignedLicense": "{LicenseResourceId}", + "esuEligibility": "Eligible", + "serverType": "Standard", + "esuKeyState": "Inactive", + "esuKeys": [ + { + "sku": "skuNumber1", + "licenseStatus": 1 + }, + { + "sku": "skuNumber2", + "licenseStatus": 1 + } + ] + }, + "productProfile": { + "subscriptionStatus": "Enabling", + "productType": "WindowsServer", + "enrollmentDate": "2023-10-05T20:36:49.745Z", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z", + "billingEndDate": "2023-11-05T20:36:49.745Z", + "productFeatures": [ + { + "name": "Hotpatch", + "subscriptionStatus": "Enabling", + "enrollmentDate": "2023-10-05T20:36:49.745Z", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z", + "billingEndDate": "2023-11-05T20:36:49.745Z" + } + ] + } + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/licenseProfile/LicenseProfile_Delete.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/licenseProfile/LicenseProfile_Delete.json new file mode 100644 index 000000000000..827580f159e1 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/licenseProfile/LicenseProfile_Delete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "machineName": "myMachine", + "licenseProfileName": "default", + "api-version": "2025-06-01" + }, + "responses": { + "202": { + "headers": { + "Location": "{callbackUrl}", + "Retry-After": 200, + "Azure-AsyncOperation": "{callbackUri}" + } + }, + "204": {} + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/licenseProfile/LicenseProfile_Get.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/licenseProfile/LicenseProfile_Get.json new file mode 100644 index 000000000000..94d08e5d3edc --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/licenseProfile/LicenseProfile_Get.json @@ -0,0 +1,59 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "machineName": "myMachine", + "licenseProfileName": "default", + "api-version": "2025-06-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/Machines/myMachine/licenseProfiles/default", + "name": "default", + "type": "Microsoft.HybridCompute/machines/licenseProfiles", + "location": "eastus2euap", + "tags": null, + "properties": { + "softwareAssurance": { + "softwareAssuranceCustomer": true + }, + "esuProfile": { + "assignedLicense": "{LicenseResourceId}", + "esuEligibility": "Eligible", + "serverType": "Standard", + "esuKeyState": "Inactive", + "esuKeys": [ + { + "sku": "skuNumber1", + "licenseStatus": 1 + }, + { + "sku": "skuNumber2", + "licenseStatus": 1 + } + ] + }, + "productProfile": { + "subscriptionStatus": "Enabled", + "productType": "WindowsServer", + "enrollmentDate": "2023-10-05T20:36:49.745Z", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z", + "billingEndDate": "2023-11-05T20:36:49.745Z", + "productFeatures": [ + { + "name": "Hotpatch", + "subscriptionStatus": "Enabled", + "enrollmentDate": "2023-10-05T20:36:49.745Z", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z", + "billingEndDate": "2023-11-05T20:36:49.745Z" + } + ] + } + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/licenseProfile/LicenseProfile_List.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/licenseProfile/LicenseProfile_List.json new file mode 100644 index 000000000000..c1f3fb363b4a --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/licenseProfile/LicenseProfile_List.json @@ -0,0 +1,63 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "machineName": "myMachine", + "licenseProfileName": "default", + "api-version": "2025-06-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/Machines/myMachine/licenseProfiles/default", + "name": "default", + "type": "Microsoft.HybridCompute/machines/licenseProfiles", + "location": "eastus2euap", + "tags": null, + "properties": { + "softwareAssurance": { + "softwareAssuranceCustomer": true + }, + "esuProfile": { + "assignedLicense": "{LicenseResourceId}", + "esuEligibility": "Eligible", + "serverType": "Standard", + "esuKeyState": "Inactive", + "esuKeys": [ + { + "sku": "skuNumber1", + "licenseStatus": 1 + }, + { + "sku": "skuNumber2", + "licenseStatus": 1 + } + ] + }, + "productProfile": { + "subscriptionStatus": "Enabled", + "productType": "WindowsServer", + "enrollmentDate": "2023-10-05T20:36:49.745Z", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z", + "billingEndDate": "2023-11-05T20:36:49.745Z", + "productFeatures": [ + { + "name": "Hotpatch", + "subscriptionStatus": "Enabled", + "enrollmentDate": "2023-10-05T20:36:49.745Z", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z", + "billingEndDate": "2023-11-05T20:36:49.745Z" + } + ] + } + } + } + ] + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/licenseProfile/LicenseProfile_Update.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/licenseProfile/LicenseProfile_Update.json new file mode 100644 index 000000000000..de8b578ead24 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/licenseProfile/LicenseProfile_Update.json @@ -0,0 +1,85 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "machineName": "myMachine", + "licenseProfileName": "default", + "api-version": "2025-06-01", + "parameters": { + "properties": { + "softwareAssurance": { + "softwareAssuranceCustomer": true + }, + "esuProfile": { + "assignedLicense": "{LicenseResourceId}" + }, + "productProfile": { + "subscriptionStatus": "Enable", + "productType": "WindowsServer", + "productFeatures": [ + { + "name": "Hotpatch", + "subscriptionStatus": "Enable" + } + ] + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/Machines/myMachine/licenseProfiles/default", + "name": "default", + "type": "Microsoft.HybridCompute/machines/licenseProfiles", + "location": "eastus2euap", + "properties": { + "softwareAssurance": { + "softwareAssuranceCustomer": true + }, + "esuProfile": { + "assignedLicense": "{LicenseResourceId}", + "esuEligibility": "Eligible", + "serverType": "Standard", + "esuKeyState": "Inactive", + "esuKeys": [ + { + "sku": "skuNumber1", + "licenseStatus": 1 + }, + { + "sku": "skuNumber2", + "licenseStatus": 1 + } + ] + }, + "productProfile": { + "subscriptionStatus": "Enabling", + "productType": "WindowsServer", + "enrollmentDate": "2023-10-05T20:36:49.745Z", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z", + "billingEndDate": "2023-11-05T20:36:49.745Z", + "productFeatures": [ + { + "name": "Hotpatch", + "subscriptionStatus": "Enabling", + "enrollmentDate": "2023-10-05T20:36:49.745Z", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z", + "billingEndDate": "2023-11-05T20:36:49.745Z" + } + ] + } + } + } + }, + "202": { + "headers": { + "Location": "{callbackUrl}", + "Retry-After": 200, + "Azure-AsyncOperation": "{callbackUri}" + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/machine/Machine_AssessPatches.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/machine/Machine_AssessPatches.json new file mode 100644 index 000000000000..79646eec52ee --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/machine/Machine_AssessPatches.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroupName", + "name": "myMachineName", + "api-version": "2025-06-01" + }, + "responses": { + "200": { + "body": { + "status": "Succeeded", + "assessmentActivityId": "68f8b292-dfc2-4646-9781-33cc88631968", + "rebootPending": true, + "startDateTime": "2021-08-22T02:15:20.9340000Z", + "lastModifiedDateTime": "2021-08-22T02:16:06.9740000Z", + "availablePatchCountByClassification": { + "security": 0, + "updateRollup": 1, + "featurePack": 0, + "servicePack": 0, + "definition": 0, + "critical": 0, + "updates": 1, + "tools": 0 + }, + "startedBy": "User", + "osType": "Windows", + "errorDetails": null + } + }, + "202": { + "headers": { + "Location": "eastus2euap" + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/machine/Machine_InstallPatches.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/machine/Machine_InstallPatches.json new file mode 100644 index 000000000000..88e426ea5733 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/machine/Machine_InstallPatches.json @@ -0,0 +1,50 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroupName", + "name": "myMachineName", + "api-version": "2025-06-01", + "installPatchesInput": { + "maximumDuration": "PT4H", + "rebootSetting": "IfRequired", + "windowsParameters": { + "classificationsToInclude": [ + "Critical", + "Security" + ], + "maxPatchPublishDate": "2021-08-19T02:36:43.0539904+00:00", + "patchNameMasksToInclude": [ + "*SQL*" + ], + "patchNameMasksToExclude": [ + "*Windows*" + ] + } + } + }, + "responses": { + "200": { + "body": { + "status": "Succeeded", + "installationActivityId": "68f8b292-dfc2-4646-9781-33cc88631968", + "rebootStatus": "Completed", + "maintenanceWindowExceeded": false, + "excludedPatchCount": 0, + "notSelectedPatchCount": 0, + "pendingPatchCount": 2, + "installedPatchCount": 3, + "failedPatchCount": 0, + "startDateTime": "2021-08-22T02:15:06.9740000Z", + "lastModifiedDateTime": "2021-08-22T02:16:06.9740000Z", + "startedBy": "User", + "osType": "Windows", + "errorDetails": null + } + }, + "202": { + "headers": { + "Location": "eastus2euap" + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/machine/Machines_CreateOrUpdate.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/machine/Machines_CreateOrUpdate.json new file mode 100644 index 000000000000..f59b634cf10b --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/machine/Machines_CreateOrUpdate.json @@ -0,0 +1,146 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "machineName": "myMachine", + "api-version": "2025-06-01", + "parameters": { + "location": "eastus2euap", + "properties": { + "vmId": "b7a098cc-b0b8-46e8-a205-62f301a62a8f", + "locationData": { + "name": "Redmond" + }, + "osProfile": { + "windowsConfiguration": { + "patchSettings": { + "enableHotpatching": true + } + } + }, + "clientPublicKey": "string", + "identityKeyStore": "TPM", + "tpmEkCertificate": "string", + "parentClusterResourceId": "{AzureStackHCIResourceId}", + "privateLinkScopeResourceId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/privateLinkScopeName" + }, + "identity": { + "type": "SystemAssigned" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/machines/myMachine", + "name": "myMachine", + "location": "eastus2euap", + "tags": null, + "identity": { + "type": "SystemAssigned", + "principalId": "string", + "tenantId": "string" + }, + "type": "Microsoft.HybridCompute/machines", + "kind": null, + "properties": { + "provisioningState": "Succeeded", + "agentVersion": null, + "status": null, + "lastStatusChange": null, + "errorDetails": null, + "displayName": null, + "machineFqdn": null, + "vmUuid": null, + "osSku": null, + "osEdition": "Standard", + "domainName": null, + "adFqdn": null, + "dnsFqdn": null, + "osVersion": null, + "osType": null, + "osProfile": { + "computerName": null, + "windowsConfiguration": { + "patchSettings": { + "assessmentMode": null, + "patchMode": null, + "enableHotpatching": true, + "status": { + "hotpatchEnablementStatus": "PendingEvaluation", + "error": null + } + } + }, + "linuxConfiguration": { + "patchSettings": { + "assessmentMode": null, + "patchMode": null + } + } + }, + "licenseProfile": { + "licenseStatus": "Licensed", + "licenseChannel": "PSG", + "softwareAssurance": { + "softwareAssuranceCustomer": true + }, + "esuProfile": { + "licenseAssignmentState": "Assigned", + "esuEligibility": "Ineligible", + "serverType": "Standard", + "esuKeyState": "Inactive", + "esuKeys": [ + { + "sku": "skuNumber1", + "licenseStatus": 1 + }, + { + "sku": "skuNumber2", + "licenseStatus": 1 + } + ] + }, + "productProfile": { + "subscriptionStatus": "Enabled", + "productType": "WindowsServer", + "enrollmentDate": "2023-10-05T20:36:49.745Z", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z", + "billingEndDate": "2023-11-05T20:36:49.745Z", + "productFeatures": [ + { + "name": "Hotpatch", + "subscriptionStatus": "Enabled", + "enrollmentDate": "2023-10-05T20:36:49.745Z", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z", + "billingEndDate": "2023-11-05T20:36:49.745Z" + } + ] + } + }, + "vmId": "b7a098cc-b0b8-46e8-a205-62f301a62a8f", + "locationData": { + "name": "Redmond", + "city": "redmond", + "district": null, + "countryOrRegion": "usa" + }, + "clientPublicKey": "string", + "identityKeyStore": "TPM", + "tpmEkCertificate": "string", + "parentClusterResourceId": "{AzureStackHCIResourceId}", + "hardwareResourceId": null, + "mssqlDiscovered": "false", + "detectedProperties": { + "cloudprovider": "N/A", + "manufacturer": "Microsoft Corporation", + "model": "Virtual Machine" + }, + "privateLinkScopeResourceId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/privateLinkScopeName" + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/machine/Machines_Delete.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/machine/Machines_Delete.json new file mode 100644 index 000000000000..a9fa5311cc57 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/machine/Machines_Delete.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "machineName": "myMachine", + "api-version": "2025-06-01" + }, + "responses": { + "202": { + "headers": { + "Location": "{callbackUrl}", + "Retry-After": 200, + "Azure-AsyncOperation": "{callbackUri}" + } + }, + "204": {} + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/machine/Machines_Get.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/machine/Machines_Get.json new file mode 100644 index 000000000000..98f1774dfe91 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/machine/Machines_Get.json @@ -0,0 +1,208 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "machineName": "myMachine", + "api-version": "2025-06-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/machines/myMachine", + "name": "myMachine", + "location": "eastus2euap", + "tags": null, + "identity": { + "type": "SystemAssigned", + "principalId": "string", + "tenantId": "string" + }, + "type": "Microsoft.HybridCompute/machines", + "kind": null, + "properties": { + "provisioningState": "Succeeded", + "agentVersion": null, + "status": null, + "lastStatusChange": null, + "errorDetails": null, + "displayName": null, + "machineFqdn": null, + "vmUuid": null, + "osSku": null, + "osEdition": "Standard", + "domainName": null, + "adFqdn": null, + "dnsFqdn": null, + "osVersion": null, + "osType": null, + "osProfile": { + "computerName": null, + "windowsConfiguration": { + "patchSettings": { + "assessmentMode": null, + "patchMode": null, + "enableHotpatching": true, + "status": { + "hotpatchEnablementStatus": "Enabled", + "error": null + } + } + }, + "linuxConfiguration": { + "patchSettings": { + "assessmentMode": null, + "patchMode": null + } + } + }, + "licenseProfile": { + "licenseStatus": "Licensed", + "licenseChannel": "PSG", + "softwareAssurance": { + "softwareAssuranceCustomer": true + }, + "esuProfile": { + "licenseAssignmentState": "Assigned", + "esuEligibility": "Ineligible", + "serverType": "Standard", + "esuKeyState": "Inactive", + "esuKeys": [ + { + "sku": "skuNumber1", + "licenseStatus": 1 + }, + { + "sku": "skuNumber2", + "licenseStatus": 1 + } + ] + }, + "productProfile": { + "subscriptionStatus": "Enabled", + "productType": "WindowsServer", + "enrollmentDate": "2023-10-05T20:36:49.745Z", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z", + "billingEndDate": "2023-11-05T20:36:49.745Z", + "productFeatures": [ + { + "name": "Hotpatch", + "subscriptionStatus": "Enabled", + "enrollmentDate": "2023-10-05T20:36:49.745Z", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z", + "billingEndDate": "2023-11-05T20:36:49.745Z" + } + ] + } + }, + "vmId": "b7a098cc-b0b8-46e8-a205-62f301a62a8f", + "locationData": { + "name": "Redmond", + "city": "redmond", + "district": null, + "countryOrRegion": "usa" + }, + "clientPublicKey": "string", + "identityKeyStore": "TPM", + "tpmEkCertificate": "string", + "parentClusterResourceId": "{AzureStackHCIResourceId}", + "hardwareResourceId": null, + "mssqlDiscovered": "false", + "detectedProperties": { + "cloudprovider": "N/A", + "manufacturer": "Microsoft Corporation", + "model": "Virtual Machine" + }, + "agentConfiguration": { + "proxyUrl": "https://test.test", + "incomingConnectionsPorts": [ + "22", + "23" + ], + "extensionsAllowList": null, + "extensionsBlockList": null, + "proxyBypass": [ + "proxy1", + "proxy2" + ], + "extensionsEnabled": "true", + "guestConfigurationEnabled": "true", + "configMode": "full" + }, + "serviceStatuses": { + "extensionService": { + "status": "Running", + "startupType": "Automatic" + }, + "guestConfigurationService": { + "status": "Running", + "startupType": "Automatic" + } + }, + "firmwareProfile": { + "serialNumber": "007f0232-1c2e-4978-8604-ea44e7a5f5a0", + "type": "BIOS" + }, + "hardwareProfile": { + "totalPhysicalMemoryInBytes": 34359738368, + "numberOfCpuSockets": 2, + "processors": [ + { + "name": "Intel(R) Core(TM) i7-10610U CPU @ 1.80GHz", + "numberOfCores": 4 + } + ] + }, + "storageProfile": { + "disks": [ + { + "path": "C:/", + "diskType": "Fixed", + "generatedId": "94318602-6e46-4eaa-997e-0e528afe3d17", + "id": "2", + "name": "Windows", + "maxSizeInBytes": 1022870155264, + "usedSpaceInBytes": 435501297664 + } + ] + }, + "privateLinkScopeResourceId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/privateLinkScopeName", + "networkProfile": { + "networkInterfaces": [ + { + "name": "Wi-Fi", + "macAddress": "3c:49:6e:13:0e:73", + "id": "8", + "ipAddresses": [ + { + "address": "192.168.12.345", + "ipAddressVersion": "IPv4", + "subnet": { + "addressPrefix": "192.168.12.0/24" + } + } + ] + }, + { + "name": "Ethernet", + "macAddress": "10:15:5c:52:f9:b8", + "id": "23", + "ipAddresses": [ + { + "address": "1001:0:34aa:5000:1234:aaaa:bbbb:cccc", + "ipAddressVersion": "IPv6", + "subnet": { + "addressPrefix": "1001:0:34aa:5000::/64" + } + } + ] + } + ] + } + }, + "resources": [] + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/machine/Machines_Get_LicenseProfileInstanceView.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/machine/Machines_Get_LicenseProfileInstanceView.json new file mode 100644 index 000000000000..345430146493 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/machine/Machines_Get_LicenseProfileInstanceView.json @@ -0,0 +1,227 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "machineName": "myMachine", + "$expand": "instanceView", + "api-version": "2025-06-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/machines/myMachine", + "name": "myMachine", + "location": "eastus2euap", + "tags": null, + "identity": { + "type": "SystemAssigned", + "principalId": "string", + "tenantId": "string" + }, + "type": "Microsoft.HybridCompute/machines", + "kind": null, + "properties": { + "provisioningState": "Succeeded", + "agentVersion": null, + "status": null, + "lastStatusChange": null, + "errorDetails": null, + "displayName": null, + "machineFqdn": null, + "vmUuid": null, + "osSku": null, + "osEdition": "Standard", + "domainName": null, + "adFqdn": null, + "dnsFqdn": null, + "osVersion": null, + "osType": null, + "osProfile": { + "computerName": null, + "windowsConfiguration": { + "patchSettings": { + "assessmentMode": null, + "patchMode": null, + "enableHotpatching": true, + "status": { + "hotpatchEnablementStatus": "Enabled", + "error": null + } + } + }, + "linuxConfiguration": { + "patchSettings": { + "assessmentMode": null, + "patchMode": null + } + } + }, + "licenseProfile": { + "licenseStatus": "Licensed", + "licenseChannel": "PSG", + "softwareAssurance": { + "softwareAssuranceCustomer": true + }, + "esuProfile": { + "assignedLicense": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/Licenses/{licenseName}", + "name": "{licenseName}", + "type": "Microsoft.HybridCompute/licenses", + "location": "eastus2euap", + "tags": null, + "properties": { + "tenantId": "{tenandId}", + "licenseType": "ESU", + "licenseDetails": { + "state": "Activated", + "target": "Windows Server 2012", + "edition": "Datacenter", + "type": "pCore", + "processors": 6, + "assignedLicenses": 8, + "immutableId": "" + } + } + }, + "licenseAssignmentState": "Assigned", + "esuEligibility": "Ineligible", + "serverType": "Standard", + "esuKeyState": "Inactive", + "esuKeys": [ + { + "sku": "skuNumber1", + "licenseStatus": 1 + }, + { + "sku": "skuNumber2", + "licenseStatus": 1 + } + ] + }, + "productProfile": { + "subscriptionStatus": "Enabled", + "productType": "WindowsServer", + "enrollmentDate": "2023-10-05T20:36:49.745Z", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z", + "billingEndDate": "2023-11-05T20:36:49.745Z", + "productFeatures": [ + { + "name": "Hotpatch", + "subscriptionStatus": "Enabled", + "enrollmentDate": "2023-10-05T20:36:49.745Z", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z", + "billingEndDate": "2023-11-05T20:36:49.745Z" + } + ] + } + }, + "vmId": "b7a098cc-b0b8-46e8-a205-62f301a62a8f", + "locationData": { + "name": "Redmond", + "city": "redmond", + "district": null, + "countryOrRegion": "usa" + }, + "clientPublicKey": "string", + "parentClusterResourceId": "{AzureStackHCIResourceId}", + "hardwareResourceId": null, + "mssqlDiscovered": "false", + "detectedProperties": { + "cloudprovider": "N/A", + "manufacturer": "Microsoft Corporation", + "model": "Virtual Machine" + }, + "agentConfiguration": { + "proxyUrl": "https://test.test", + "incomingConnectionsPorts": [ + "22", + "23" + ], + "extensionsAllowList": null, + "extensionsBlockList": null, + "proxyBypass": [ + "proxy1", + "proxy2" + ], + "extensionsEnabled": "true", + "guestConfigurationEnabled": "true", + "configMode": "full" + }, + "serviceStatuses": { + "extensionService": { + "status": "Running", + "startupType": "Automatic" + }, + "guestConfigurationService": { + "status": "Running", + "startupType": "Automatic" + } + }, + "firmwareProfile": { + "serialNumber": "007f0232-1c2e-4978-8604-ea44e7a5f5a0", + "type": "BIOS" + }, + "hardwareProfile": { + "totalPhysicalMemoryInBytes": 34359738368, + "numberOfCpuSockets": 2, + "processors": [ + { + "name": "Intel(R) Core(TM) i7-10610U CPU @ 1.80GHz", + "numberOfCores": 4 + } + ] + }, + "storageProfile": { + "disks": [ + { + "path": "C:/", + "diskType": "Fixed", + "generatedId": "94318602-6e46-4eaa-997e-0e528afe3d17", + "id": "2", + "name": "Windows", + "maxSizeInBytes": 1022870155264, + "usedSpaceInBytes": 435501297664 + } + ] + }, + "privateLinkScopeResourceId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/privateLinkScopeName", + "networkProfile": { + "networkInterfaces": [ + { + "name": "Wi-Fi", + "macAddress": "3c:49:6e:13:0e:73", + "id": "8", + "ipAddresses": [ + { + "address": "192.168.12.345", + "ipAddressVersion": "IPv4", + "subnet": { + "addressPrefix": "192.168.12.0/24" + } + } + ] + }, + { + "name": "Ethernet", + "macAddress": "10:15:5c:52:f9:b8", + "id": "23", + "ipAddresses": [ + { + "address": "1001:0:34aa:5000:1234:aaaa:bbbb:cccc", + "ipAddressVersion": "IPv6", + "subnet": { + "addressPrefix": "1001:0:34aa:5000::/64" + } + } + ] + } + ] + } + }, + "resources": [] + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/machine/Machines_ListByResourceGroup.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/machine/Machines_ListByResourceGroup.json new file mode 100644 index 000000000000..79038fcf8c11 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/machine/Machines_ListByResourceGroup.json @@ -0,0 +1,253 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroup", + "api-version": "2025-06-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/machines/myMachine", + "name": "myMachine", + "location": "eastus2euap", + "tags": null, + "identity": { + "type": "SystemAssigned", + "principalId": "f7a068cc-b0b8-46e8-a203-22f301a62a8f", + "tenantId": "c4098cc-91b8-46c2-a205-d82ab1a62a8f" + }, + "type": "Microsoft.HybridCompute/machines", + "kind": null, + "properties": { + "provisioningState": "Succeeded", + "agentVersion": null, + "status": null, + "lastStatusChange": null, + "errorDetails": null, + "displayName": null, + "machineFqdn": null, + "vmUuid": null, + "osSku": null, + "osEdition": "Standard", + "domainName": null, + "adFqdn": null, + "dnsFqdn": null, + "osVersion": null, + "osType": null, + "osProfile": { + "computerName": null, + "windowsConfiguration": { + "patchSettings": { + "assessmentMode": null, + "patchMode": null, + "enableHotpatching": true, + "status": { + "hotpatchEnablementStatus": "Enabled", + "error": null + } + } + }, + "linuxConfiguration": { + "patchSettings": { + "assessmentMode": null, + "patchMode": null + } + } + }, + "licenseProfile": { + "licenseStatus": "Licensed", + "licenseChannel": "PSG", + "softwareAssurance": { + "softwareAssuranceCustomer": true + }, + "esuProfile": { + "licenseAssignmentState": "Assigned", + "esuEligibility": "Ineligible", + "serverType": "Standard", + "esuKeyState": "Inactive", + "esuKeys": [ + { + "sku": "skuNumber1", + "licenseStatus": 1 + }, + { + "sku": "skuNumber2", + "licenseStatus": 1 + } + ] + }, + "productProfile": { + "subscriptionStatus": "Enabled", + "productType": "WindowsServer", + "enrollmentDate": "2023-10-05T20:36:49.745Z", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z", + "billingEndDate": "2023-11-05T20:36:49.745Z", + "productFeatures": [ + { + "name": "Hotpatch", + "subscriptionStatus": "Enabled", + "enrollmentDate": "2023-10-05T20:36:49.745Z", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z", + "billingEndDate": "2023-11-05T20:36:49.745Z" + } + ] + } + }, + "vmId": "b7a098cc-b0b8-46e8-a205-62f301a62a8f", + "locationData": { + "name": "Redmond" + }, + "clientPublicKey": "string", + "parentClusterResourceId": null, + "hardwareResourceId": null, + "mssqlDiscovered": "false", + "detectedProperties": { + "cloudprovider": "N/A", + "manufacturer": "Microsoft Corporation", + "model": "Virtual Machine" + }, + "agentConfiguration": { + "proxyUrl": "https://test.test", + "incomingConnectionsPorts": [ + "22", + "23" + ], + "extensionsAllowList": null, + "extensionsBlockList": null, + "proxyBypass": [ + "proxy1", + "proxy2" + ], + "extensionsEnabled": "true", + "guestConfigurationEnabled": "true", + "configMode": "full" + }, + "privateLinkScopeResourceId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/privateLinkScopeName" + } + }, + { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/machines/myMachine2", + "name": "myMachine2", + "location": "westus2", + "tags": null, + "identity": { + "type": "SystemAssigned", + "principalId": "e7a068cc-b0b8-46e8-a203-22f301a62a8f", + "tenantId": "c4098cc-91b8-46c2-a205-d82ab1a62a8f" + }, + "type": "Microsoft.HybridCompute/machines", + "kind": null, + "properties": { + "provisioningState": "Succeeded", + "agentVersion": null, + "status": null, + "lastStatusChange": null, + "errorDetails": null, + "displayName": null, + "machineFqdn": null, + "osEdition": "Standard", + "osVersion": null, + "osType": null, + "osProfile": { + "computerName": null, + "windowsConfiguration": { + "patchSettings": { + "assessmentMode": null, + "patchMode": null, + "enableHotpatching": true, + "status": { + "hotpatchEnablementStatus": "Enabled", + "error": null + } + } + }, + "linuxConfiguration": { + "patchSettings": { + "assessmentMode": null, + "patchMode": null + } + } + }, + "licenseProfile": { + "licenseStatus": "Licensed", + "licenseChannel": "PSG", + "softwareAssurance": { + "softwareAssuranceCustomer": true + }, + "esuProfile": { + "licenseAssignmentState": "Assigned", + "esuEligibility": "Ineligible", + "serverType": "Standard", + "esuKeyState": "Inactive", + "esuKeys": [ + { + "sku": "skuNumber1", + "licenseStatus": 1 + }, + { + "sku": "skuNumber2", + "licenseStatus": 1 + } + ] + }, + "productProfile": { + "subscriptionStatus": "Enabled", + "productType": "WindowsServer", + "enrollmentDate": "2023-10-05T20:36:49.745Z", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z", + "billingEndDate": "2023-11-05T20:36:49.745Z", + "productFeatures": [ + { + "name": "Hotpatch", + "subscriptionStatus": "Enabled", + "enrollmentDate": "2023-10-05T20:36:49.745Z", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z", + "billingEndDate": "2023-11-05T20:36:49.745Z" + } + ] + } + }, + "vmId": "a4a098cc-b0b8-46e8-a205-62f301a62a8f", + "locationData": { + "name": "Redmond" + }, + "clientPublicKey": "string", + "parentClusterResourceId": "{AzureStackHCIResourceId}", + "hardwareResourceId": null, + "mssqlDiscovered": "true", + "detectedProperties": { + "cloudprovider": "N/A", + "manufacturer": "Microsoft Corporation", + "model": "Surfacebook" + }, + "agentConfiguration": { + "proxyUrl": "https://test.test", + "incomingConnectionsPorts": [ + "22", + "23" + ], + "extensionsAllowList": null, + "extensionsBlockList": null, + "proxyBypass": [ + "proxy1", + "proxy2" + ], + "extensionsEnabled": "true", + "guestConfigurationEnabled": "true", + "configMode": "full" + }, + "privateLinkScopeResourceId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/privateLinkScopeName" + } + } + ], + "nextLink": null + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/machine/Machines_ListBySubscription.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/machine/Machines_ListBySubscription.json new file mode 100644 index 000000000000..6eebcb9d8e52 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/machine/Machines_ListBySubscription.json @@ -0,0 +1,251 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "api-version": "2025-06-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/machines/myMachine", + "name": "myMachine", + "location": "eastus2euap", + "tags": null, + "identity": { + "type": "SystemAssigned", + "principalId": "string", + "tenantId": "string" + }, + "type": "Microsoft.HybridCompute/machines", + "kind": null, + "properties": { + "provisioningState": "Succeeded", + "agentVersion": null, + "status": null, + "lastStatusChange": null, + "errorDetails": null, + "displayName": null, + "machineFqdn": null, + "vmUuid": null, + "osSku": null, + "osEdition": "Standard", + "domainName": null, + "adFqdn": null, + "dnsFqdn": null, + "osVersion": null, + "osType": null, + "osProfile": { + "computerName": null, + "windowsConfiguration": { + "patchSettings": { + "assessmentMode": null, + "patchMode": null, + "enableHotpatching": true, + "status": { + "hotpatchEnablementStatus": "Enabled", + "error": null + } + } + }, + "linuxConfiguration": { + "patchSettings": { + "assessmentMode": null, + "patchMode": null + } + } + }, + "licenseProfile": { + "licenseStatus": "Licensed", + "licenseChannel": "PSG", + "softwareAssurance": { + "softwareAssuranceCustomer": true + }, + "esuProfile": { + "licenseAssignmentState": "Assigned", + "esuEligibility": "Ineligible", + "serverType": "Standard", + "esuKeyState": "Inactive", + "esuKeys": [ + { + "sku": "skuNumber1", + "licenseStatus": 1 + }, + { + "sku": "skuNumber2", + "licenseStatus": 1 + } + ] + }, + "productProfile": { + "subscriptionStatus": "Enabled", + "productType": "WindowsServer", + "enrollmentDate": "2023-10-05T20:36:49.745Z", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z", + "billingEndDate": "2023-11-05T20:36:49.745Z", + "productFeatures": [ + { + "name": "Hotpatch", + "subscriptionStatus": "Enabled", + "enrollmentDate": "2023-10-05T20:36:49.745Z", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z", + "billingEndDate": "2023-11-05T20:36:49.745Z" + } + ] + } + }, + "vmId": "b7a098cc-b0b8-46e8-a205-62f301a62a8f", + "locationData": { + "name": "Redmond" + }, + "clientPublicKey": "string", + "parentClusterResourceId": null, + "hardwareResourceId": null, + "mssqlDiscovered": "false", + "detectedProperties": { + "cloudprovider": "N/A", + "manufacturer": "Microsoft Corporation", + "model": "Virtual Machine" + }, + "agentConfiguration": { + "proxyUrl": "https://test.test", + "incomingConnectionsPorts": [ + "22", + "23" + ], + "extensionsAllowList": null, + "extensionsBlockList": null, + "proxyBypass": [ + "proxy1", + "proxy2" + ], + "extensionsEnabled": "true", + "guestConfigurationEnabled": "true", + "configMode": "full" + }, + "privateLinkScopeResourceId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/privateLinkScopeName" + } + }, + { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup2/providers/Microsoft.HybridCompute/machines/myMachine2", + "name": "myMachine2", + "location": "westus2", + "tags": null, + "identity": { + "type": "SystemAssigned", + "principalId": "e7a068cc-b0b8-46e8-a203-22f301a62a8f", + "tenantId": "c4098cc-91b8-46c2-a205-d82ab1a62a8f" + }, + "type": "Microsoft.HybridCompute/machines", + "kind": null, + "properties": { + "provisioningState": "Succeeded", + "agentVersion": null, + "status": null, + "lastStatusChange": null, + "errorDetails": null, + "displayName": null, + "machineFqdn": null, + "osEdition": "Standard", + "osVersion": null, + "osType": null, + "osProfile": { + "computerName": null, + "windowsConfiguration": { + "patchSettings": { + "assessmentMode": null, + "patchMode": null, + "enableHotpatching": true, + "status": { + "hotpatchEnablementStatus": "Enabled", + "error": null + } + } + }, + "linuxConfiguration": { + "patchSettings": { + "assessmentMode": null, + "patchMode": null + } + } + }, + "licenseProfile": { + "licenseStatus": "Licensed", + "licenseChannel": "PSG", + "softwareAssurance": { + "softwareAssuranceCustomer": true + }, + "esuProfile": { + "licenseAssignmentState": "Assigned", + "esuEligibility": "Ineligible", + "serverType": "Standard", + "esuKeyState": "Inactive", + "esuKeys": [ + { + "sku": "skuNumber1", + "licenseStatus": 1 + }, + { + "sku": "skuNumber2", + "licenseStatus": 1 + } + ] + }, + "productProfile": { + "subscriptionStatus": "Enabled", + "productType": "WindowsServer", + "enrollmentDate": "2023-10-05T20:36:49.745Z", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z", + "billingEndDate": "2023-11-05T20:36:49.745Z", + "productFeatures": [ + { + "name": "Hotpatch", + "subscriptionStatus": "Enabled", + "enrollmentDate": "2023-10-05T20:36:49.745Z", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z", + "billingEndDate": "2023-11-05T20:36:49.745Z" + } + ] + } + }, + "vmId": "a4a098cc-b0b8-46e8-a205-62f301a62a8f", + "locationData": { + "name": "Redmond" + }, + "clientPublicKey": "string", + "parentClusterResourceId": "{AzureStackHCIResourceId}", + "hardwareResourceId": null, + "mssqlDiscovered": "true", + "detectedProperties": { + "cloudprovider": "N/A", + "manufacturer": "Microsoft Corporation", + "model": "Surfacebook" + }, + "agentConfiguration": { + "proxyUrl": "https://test.test", + "incomingConnectionsPorts": [ + "22", + "23" + ], + "extensionsAllowList": null, + "extensionsBlockList": null, + "proxyBypass": [ + "proxy1", + "proxy2" + ], + "extensionsEnabled": "true", + "guestConfigurationEnabled": "true", + "configMode": "full" + } + } + } + ], + "nextLink": "string" + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/machine/Machines_Update.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/machine/Machines_Update.json new file mode 100644 index 000000000000..a46211e7d9ce --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/machine/Machines_Update.json @@ -0,0 +1,145 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroup", + "machineName": "myMachine", + "api-version": "2025-06-01", + "location": "eastus2euap", + "kind": null, + "parameters": { + "properties": { + "locationData": { + "name": "Redmond" + }, + "osProfile": { + "windowsConfiguration": { + "patchSettings": { + "assessmentMode": "ImageDefault", + "patchMode": "AutomaticByPlatform", + "enableHotpatching": true + } + }, + "linuxConfiguration": { + "patchSettings": { + "assessmentMode": "ImageDefault", + "patchMode": "Manual" + } + } + }, + "identityKeyStore": "TPM", + "tpmEkCertificate": "string", + "parentClusterResourceId": "{AzureStackHCIResourceId}", + "privateLinkScopeResourceId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/privateLinkScopeName" + }, + "identity": { + "type": "SystemAssigned" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/machines/myMachine", + "name": "myMachine", + "location": "eastus2euap", + "tags": null, + "identity": { + "type": "SystemAssigned", + "principalId": "string", + "tenantId": "string" + }, + "type": "Microsoft.HybridCompute/machines", + "kind": null, + "properties": { + "provisioningState": "Succeeded", + "agentVersion": null, + "status": null, + "lastStatusChange": null, + "errorDetails": null, + "displayName": null, + "machineFqdn": null, + "vmUuid": null, + "osSku": null, + "osEdition": "Standard", + "domainName": null, + "adFqdn": null, + "dnsFqdn": null, + "osVersion": null, + "osType": null, + "osProfile": { + "computerName": null, + "windowsConfiguration": { + "patchSettings": { + "assessmentMode": "ImageDefault", + "patchMode": "AutomaticByPlatform", + "enableHotpatching": true, + "status": { + "hotpatchEnablementStatus": "PendingEvaluation", + "error": null + } + } + }, + "linuxConfiguration": { + "patchSettings": { + "assessmentMode": "ImageDefault", + "patchMode": "Manual" + } + } + }, + "licenseProfile": { + "licenseStatus": "Licensed", + "licenseChannel": "PSG", + "softwareAssurance": { + "softwareAssuranceCustomer": true + }, + "esuProfile": { + "licenseAssignmentState": "Assigned", + "esuEligibility": "Ineligible", + "serverType": "Standard", + "esuKeyState": "Inactive", + "esuKeys": [ + { + "sku": "skuNumber1", + "licenseStatus": 1 + }, + { + "sku": "skuNumber2", + "licenseStatus": 1 + } + ] + }, + "productProfile": { + "subscriptionStatus": "Enabled", + "productType": "WindowsServer", + "enrollmentDate": "2023-10-05T20:36:49.745Z", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z", + "billingEndDate": "2023-11-05T20:36:49.745Z", + "productFeatures": [ + { + "name": "Hotpatch", + "subscriptionStatus": "Enabled", + "enrollmentDate": "2023-10-05T20:36:49.745Z", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z", + "billingEndDate": "2023-11-05T20:36:49.745Z" + } + ] + } + }, + "vmId": "b7a098cc-b0b8-46e8-a205-62f301a62a8f", + "locationData": { + "name": "Redmond" + }, + "clientPublicKey": "string", + "identityKeyStore": "TPM", + "tpmEkCertificate": "string", + "parentClusterResourceId": "{AzureStackHCIResourceId}", + "hardwareResourceId": null, + "detectedProperties": null, + "privateLinkScopeResourceId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/privateLinkScopeName" + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/networkConfiguration/NetworkConfigurationsCreate.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/networkConfiguration/NetworkConfigurationsCreate.json new file mode 100644 index 000000000000..cc81ebdef2da --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/networkConfiguration/NetworkConfigurationsCreate.json @@ -0,0 +1,57 @@ +{ + "parameters": { + "api-version": "2025-06-01", + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "hybridRG", + "machineName": "testMachine", + "name": "current", + "parameters": { + "properties": { + "location": "westus", + "networkConfigurationScopeResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/privateLinkScopes/testScope" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridCompute/networkConfigurations/current", + "name": "current", + "type": "Microsoft.HybridCompute/networkConfigurations", + "properties": { + "location": "westus", + "tenantId": "00000000-1111-2222-3333-444444444444", + "networkConfigurationScopeId": "00000000-1111-2222-3333-444444444444", + "networkConfigurationScopeResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/privateLinkScopes/testScope", + "keyProperties": { + "clientPublicKey": { + "publicKey": "62617365363420656e636f646564207075626c6963206b6579", + "notAfter": "2021-01-01T00:00:00Z", + "renewAfter": "2021-02-01T00:00:00Z" + } + } + } + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridCompute/networkConfigurations/current", + "name": "current", + "type": "Microsoft.HybridCompute/networkConfigurations", + "properties": { + "location": "westus", + "tenantId": "00000000-1111-2222-3333-444444444444", + "networkConfigurationScopeId": "00000000-1111-2222-3333-444444444444", + "networkConfigurationScopeResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/privateLinkScopes/testScope", + "keyProperties": { + "clientPublicKey": { + "publicKey": "62617365363420656e636f646564207075626c6963206b6579", + "notAfter": "2021-01-01T00:00:00Z", + "renewAfter": "2021-02-01T00:00:00Z" + } + } + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/networkConfiguration/NetworkConfigurationsGet.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/networkConfiguration/NetworkConfigurationsGet.json new file mode 100644 index 000000000000..581e42e091a3 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/networkConfiguration/NetworkConfigurationsGet.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "api-version": "2025-06-01", + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "hybridRG", + "machineName": "testMachine" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridCompute/networkConfigurations/current", + "name": "current", + "type": "Microsoft.HybridCompute/networkConfigurations", + "properties": { + "tenantId": "default", + "location": "westus", + "networkConfigurationScopeId": "00000000-1111-2222-3333-444444444444", + "networkConfigurationScopeResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/privateLinkScopes/testScope", + "keyProperties": { + "clientPublicKey": { + "publicKey": "62617365363420656e636f646564207075626c6963206b6579", + "notAfter": "2021-01-01T00:00:00Z", + "renewAfter": "2021-02-01T00:00:00Z" + } + } + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/networkConfiguration/NetworkConfigurationsPatch.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/networkConfiguration/NetworkConfigurationsPatch.json new file mode 100644 index 000000000000..f640083748b6 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/networkConfiguration/NetworkConfigurationsPatch.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "api-version": "2025-06-01", + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "hybridRG", + "machineName": "testMachine", + "name": "current", + "parameters": { + "properties": { + "networkConfigurationScopeResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/privateLinkScopes/newScope" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridCompute/networkConfigurations/current", + "name": "current", + "type": "Microsoft.HybridCompute/networkConfigurations", + "properties": { + "location": "westus", + "tenantId": "00000000-1111-2222-3333-444444444444", + "networkConfigurationScopeId": "00000000-1111-2222-3333-444444444444", + "networkConfigurationScopeResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/privateLinkScopes/newScope", + "keyProperties": { + "clientPublicKey": { + "publicKey": "publickey", + "notAfter": "2021-01-01T00:00:00Z", + "renewAfter": "2021-02-01T00:00:00Z" + } + } + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/networkConfiguration/NetworkConfigurationsUpdate.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/networkConfiguration/NetworkConfigurationsUpdate.json new file mode 100644 index 000000000000..0fcbd623e879 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/networkConfiguration/NetworkConfigurationsUpdate.json @@ -0,0 +1,56 @@ +{ + "parameters": { + "api-version": "2025-06-01", + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "hybridRG", + "machineName": "testMachine", + "name": "current", + "parameters": { + "properties": { + "networkConfigurationScopeResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/privateLinkScopes/newScope" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridCompute/networkConfigurations/current", + "name": "current", + "type": "Microsoft.HybridCompute/networkConfigurations", + "properties": { + "location": "westus", + "tenantId": "00000000-1111-2222-3333-444444444444", + "networkConfigurationScopeId": "00000000-1111-2222-3333-444444444444", + "networkConfigurationScopeResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/privateLinkScopes/newScope", + "keyProperties": { + "clientPublicKey": { + "publicKey": "publickey", + "notAfter": "2021-01-01T00:00:00Z", + "renewAfter": "2021-02-01T00:00:00Z" + } + } + } + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridCompute/networkConfigurations/current", + "name": "current", + "type": "Microsoft.HybridCompute/networkConfigurations", + "properties": { + "location": "westus", + "tenantId": "00000000-1111-2222-3333-444444444444", + "networkConfigurationScopeId": "00000000-1111-2222-3333-444444444444", + "networkConfigurationScopeResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/privateLinkScopes/newScope", + "keyProperties": { + "clientPublicKey": { + "publicKey": "publickey", + "notAfter": "2021-01-01T00:00:00Z", + "renewAfter": "2021-02-01T00:00:00Z" + } + } + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationGet.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationGet.json new file mode 100644 index 000000000000..3d6158b605ad --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationGet.json @@ -0,0 +1,50 @@ +{ + "parameters": { + "api-version": "2025-06-01", + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "my-resource-group", + "scopeName": "my-privatelinkscope", + "perimeterName": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee.myAssociation" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/my-resource-group/providers/Microsoft.HybridCompute/privateLinkScopes/my-privatelinkscope/networkSecurityPerimeterConfigurations/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee.myAssociation", + "name": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee.myAssociation", + "type": "Microsoft.HybridCompute/privateLinkScopes/networkSecurityPerimeterConfigurations", + "properties": { + "provisioningState": "Accepted", + "provisioningIssues": [], + "networkSecurityPerimeter": { + "id": "/subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/networkSecurityPerimeters/myPerimeter", + "perimeterGuid": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", + "location": "westus" + }, + "resourceAssociation": { + "name": "myAssociation", + "accessMode": "enforced" + }, + "profile": { + "name": "myProfile", + "accessRulesVersion": 1, + "accessRules": [ + { + "name": "myAccessRule", + "properties": { + "direction": "Inbound", + "addressPrefixes": [ + "148.0.0.0/8", + "152.4.6.0/24", + "..." + ] + } + } + ], + "diagnosticSettingsVersion": 1, + "enabledLogCategories": [] + } + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationList.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationList.json new file mode 100644 index 000000000000..b02401244a87 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationList.json @@ -0,0 +1,90 @@ +{ + "parameters": { + "api-version": "2025-06-01", + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "my-resource-group", + "scopeName": "my-privatelinkscope" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/my-resource-group/providers/Microsoft.HybridCompute/privateLinkScopes/my-privatelinkscope/networkSecurityPerimeterConfigurations/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee.myAssociation", + "name": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee.myAssociation", + "type": "Microsoft.HybridCompute/privateLinkScopes/networkSecurityPerimeterConfigurations", + "properties": { + "provisioningState": "Accepted", + "provisioningIssues": [], + "networkSecurityPerimeter": { + "id": "/subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/networkSecurityPerimeters/myPerimeter", + "perimeterGuid": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", + "location": "westus" + }, + "resourceAssociation": { + "name": "myAssociation", + "accessMode": "enforced" + }, + "profile": { + "name": "myProfile", + "accessRulesVersion": 1, + "accessRules": [ + { + "name": "myAccessRule", + "properties": { + "direction": "Inbound", + "addressPrefixes": [ + "148.0.0.0/8", + "152.4.6.0/24", + "..." + ] + } + } + ], + "diagnosticSettingsVersion": 1, + "enabledLogCategories": [] + } + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/my-resource-group/providers/Microsoft.HybridCompute/privateLinkScopes/my-privatelinkscope/networkSecurityPerimeterConfigurations/37364608-77ea-4c2a-bdc3-4b0b1cdfab15.myAssociation2", + "name": "aaaaaaaa-0000-cccc-1111-eeeeeeeeeeee.myAssociation2", + "type": "Microsoft.HybridCompute/privateLinkScopes/networkSecurityPerimeterConfigurations", + "properties": { + "provisioningState": "Accepted", + "provisioningIssues": [], + "networkSecurityPerimeter": { + "id": "/subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/networkSecurityPerimeters/myOtherPerimeter", + "perimeterGuid": "aaaaaaaa-0000-cccc-1111-eeeeeeeeeeee", + "location": "westus" + }, + "resourceAssociation": { + "name": "myAssociation", + "accessMode": "learning" + }, + "profile": { + "name": "myProfile", + "accessRulesVersion": 1, + "accessRules": [ + { + "name": "myAccessRule", + "properties": { + "direction": "Inbound", + "addressPrefixes": [ + "122.0.0.0/8", + "144.4.6.0/24", + "..." + ] + } + } + ], + "diagnosticSettingsVersion": 1, + "enabledLogCategories": [] + } + } + } + ] + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationReconcile.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationReconcile.json new file mode 100644 index 000000000000..418b0e2ddef3 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationReconcile.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "api-version": "2025-06-01", + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "my-resource-group", + "scopeName": "my-privatelinkscope", + "perimeterName": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee.myAssociation" + }, + "responses": { + "200": { + "body": { + "location": "{callbackUrl}" + } + }, + "202": { + "headers": { + "Location": "{callbackUrl}", + "Retry-After": 200, + "Azure-AsyncOperation": "{callbackUri}" + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/privateEndpoint/PrivateEndpointConnection_Delete.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/privateEndpoint/PrivateEndpointConnection_Delete.json new file mode 100644 index 000000000000..1df19a0ba709 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/privateEndpoint/PrivateEndpointConnection_Delete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "myResourceGroup", + "scopeName": "myPrivateLinkScope", + "privateEndpointConnectionName": "private-endpoint-connection-name", + "api-version": "2025-06-01" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "{callbackUrl}", + "Retry-After": 200, + "Azure-AsyncOperation": "{callbackUri}" + } + }, + "204": {} + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/privateEndpoint/PrivateEndpointConnection_Get.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/privateEndpoint/PrivateEndpointConnection_Get.json new file mode 100644 index 000000000000..fd199f15a5e8 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/privateEndpoint/PrivateEndpointConnection_Get.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "myResourceGroup", + "scopeName": "myPrivateLinkScope", + "privateEndpointConnectionName": "private-endpoint-connection-name", + "api-version": "2025-06-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/myPrivateLinkScope/privateEndpointConnections/private-endpoint-connection-name", + "name": "private-endpoint-connection-name", + "type": "Microsoft.HybridCompute/privateLinkScopes/privateEndpointConnections", + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/privateEndpoints/private-endpoint-name" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-approved", + "actionsRequired": "None" + }, + "groupIds": [ + "hybridcompute" + ] + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/privateEndpoint/PrivateEndpointConnection_List.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/privateEndpoint/PrivateEndpointConnection_List.json new file mode 100644 index 000000000000..eb4bee6abe65 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/privateEndpoint/PrivateEndpointConnection_List.json @@ -0,0 +1,54 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "myResourceGroup", + "scopeName": "myPrivateLinkScope", + "api-version": "2025-06-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/myPrivateLinkScope/privateEndpointConnections/private-endpoint-connection-name-2", + "name": "private-endpoint-connection-name", + "type": "Microsoft.HybridCompute/privateLinkScopes/privateEndpointConnections", + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/privateEndpoints/private-endpoint-name" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-approved", + "actionsRequired": "None" + }, + "groupIds": [ + "hybridcompute" + ] + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/myPrivateLinkScope/privateEndpointConnections/private-endpoint-connection-name-2", + "name": "private-endpoint-connection-name-2", + "type": "Microsoft.HybridCompute/privateLinkScopes/privateEndpointConnections", + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/privateEndpoints/private-endpoint-name-2" + }, + "privateLinkServiceConnectionState": { + "status": "Pending", + "description": "Please approve my connection.", + "actionsRequired": "None" + }, + "groupIds": [ + "hybridcompute" + ] + } + } + ] + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/privateEndpoint/PrivateEndpointConnection_Update.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/privateEndpoint/PrivateEndpointConnection_Update.json new file mode 100644 index 000000000000..5e817bb41beb --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/privateEndpoint/PrivateEndpointConnection_Update.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "myResourceGroup", + "scopeName": "myPrivateLinkScope", + "privateEndpointConnectionName": "private-endpoint-connection-name", + "api-version": "2025-06-01", + "parameters": { + "properties": { + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Approved by johndoe@contoso.com" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/myPrivateLinkScope/privateEndpointConnections/private-endpoint-connection-name", + "name": "private-endpoint-connection-name", + "type": "Microsoft.HybridCompute/privateLinkScopes/privateEndpointConnections", + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/privateEndpoints/private-endpoint-name" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Approved by johndoe@contoso.com", + "actionsRequired": "None" + }, + "groupIds": [ + "hybridcompute" + ] + } + } + }, + "202": {} + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/privateLinkScope/PrivateLinkScopePrivateLinkResource_Get.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/privateLinkScope/PrivateLinkScopePrivateLinkResource_Get.json new file mode 100644 index 000000000000..98af919ec962 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/privateLinkScope/PrivateLinkScopePrivateLinkResource_Get.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "myResourceGroup", + "scopeName": "myPrivateLinkScope", + "api-version": "2025-06-01", + "groupName": "hybridcompute" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/myPrivateLinkScope/privateLinkResources/hybridcompute", + "name": "hybridcompute", + "type": "Microsoft.HybridCompute/privateLinkScopes/privateLinkResources", + "properties": { + "groupId": "hybridcompute", + "requiredMembers": [ + "HybridCompute.Server", + "HybridCompute.K8sConfiguration", + "GuestConfig.DP" + ], + "requiredZoneNames": [ + "privatelink.his.arc.azure.com", + "privatelink.kubernetesconfiguration.azure.com", + "privatelink.Guestconfiguration.azure.com" + ] + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/privateLinkScope/PrivateLinkScopePrivateLinkResource_ListGet.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/privateLinkScope/PrivateLinkScopePrivateLinkResource_ListGet.json new file mode 100644 index 000000000000..d858d39b2842 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/privateLinkScope/PrivateLinkScopePrivateLinkResource_ListGet.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "myResourceGroup", + "scopeName": "myPrivateLinkScope", + "api-version": "2025-06-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/myPrivateLinkScope/privateLinkResources/hybridcompute", + "name": "hybridcompute", + "type": "Microsoft.HybridCompute/privateLinkScopes/privateLinkResources", + "properties": { + "groupId": "hybridcompute", + "requiredMembers": [ + "HybridCompute.ServerDP", + "HybridCompute.K8sConfigurationDP", + "HybridCompute.GuestConfigDP" + ], + "requiredZoneNames": [ + "privatelink.his.arc.azure.com", + "privatelink.kubernetesconfiguration.azure.com", + "privatelink.Guestconfiguration.azure.com" + ] + } + } + ], + "nextLink": null + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/privateLinkScope/PrivateLinkScopes_Create.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/privateLinkScope/PrivateLinkScopes_Create.json new file mode 100644 index 000000000000..697e60267fd2 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/privateLinkScope/PrivateLinkScopes_Create.json @@ -0,0 +1,77 @@ +{ + "parameters": { + "api-version": "2025-06-01", + "subscriptionId": "86dc51d3-92ed-4d7e-947a-775ea79b4919", + "resourceGroupName": "my-resource-group", + "scopeName": "my-privatelinkscope", + "parameters": { + "location": "westus" + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4919/resourceGroups/my-resource-group/providers/microsoft.hybridcompute/privateLinkScopes/my-privatelinkscope", + "name": "my-privatelinkscope", + "type": "Microsoft.HybridCompute/privateLinkScopes", + "location": "westus", + "tags": {}, + "properties": { + "privateLinkScopeId": "e5dc51d3-92ed-4d7e-947a-775ea79b4919", + "provisioningState": "Succeeded", + "publicNetworkAccess": "Disabled", + "privateEndpointConnections": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/myPrivateLinkScope/privateEndpointConnections/private-endpoint-connection-name", + "name": "private-endpoint-connection-name", + "type": "Microsoft.HybridCompute/privateLinkScopes/privateEndpointConnections", + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/privateEndpoints/private-endpoint-name" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-approved", + "actionsRequired": "None" + } + } + } + ] + } + } + }, + "201": { + "body": { + "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4919/resourceGroups/my-resource-group/providers/microsoft.hybridcompute/privateLinkScopes/my-privatelinkscope", + "name": "my-privatelinkscope", + "type": "Microsoft.HybridCompute/privateLinkScopes", + "location": "westus", + "tags": {}, + "properties": { + "privateLinkScopeId": "e5dc51d3-92ed-4d7e-947a-775ea79b4919", + "provisioningState": "Succeeded", + "publicNetworkAccess": "Disabled", + "privateEndpointConnections": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/myPrivateLinkScope/privateEndpointConnections/private-endpoint-connection-name", + "name": "private-endpoint-connection-name", + "type": "Microsoft.HybridCompute/privateLinkScopes/privateEndpointConnections", + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/privateEndpoints/private-endpoint-name" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-approved", + "actionsRequired": "None" + } + } + } + ] + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/privateLinkScope/PrivateLinkScopes_Delete.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/privateLinkScope/PrivateLinkScopes_Delete.json new file mode 100644 index 000000000000..96dcf90e49e1 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/privateLinkScope/PrivateLinkScopes_Delete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2025-06-01", + "subscriptionId": "86dc51d3-92ed-4d7e-947a-775ea79b4919", + "resourceGroupName": "my-resource-group", + "scopeName": "my-privatelinkscope" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Location": "{callbackUrl}", + "Retry-After": 200, + "Azure-AsyncOperation": "{callbackUri}" + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/privateLinkScope/PrivateLinkScopes_Get.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/privateLinkScope/PrivateLinkScopes_Get.json new file mode 100644 index 000000000000..73c4ddfe9477 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/privateLinkScope/PrivateLinkScopes_Get.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "api-version": "2025-06-01", + "subscriptionId": "86dc51d3-92ed-4d7e-947a-775ea79b4919", + "resourceGroupName": "my-resource-group", + "scopeName": "my-privatelinkscope" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4919/resourceGroups/my-resource-group/providers/microsoft.hybridcompute/privateLinkScopes/my-privatelinkscope", + "name": "my-privatelinkscope", + "type": "Microsoft.HybridCompute/privateLinkScopes", + "location": "westus", + "tags": {}, + "properties": { + "privateLinkScopeId": "f5dc51d3-92ed-4d7e-947a-775ea79b4919", + "provisioningState": "Succeeded", + "publicNetworkAccess": "Disabled", + "privateEndpointConnections": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/myPrivateLinkScope/privateEndpointConnections/private-endpoint-connection-name", + "name": "private-endpoint-connection-name", + "type": "Microsoft.HybridCompute/privateLinkScopes/privateEndpointConnections", + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/privateEndpoints/private-endpoint-name" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-approved", + "actionsRequired": "None" + } + } + } + ] + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/privateLinkScope/PrivateLinkScopes_GetValidation.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/privateLinkScope/PrivateLinkScopes_GetValidation.json new file mode 100644 index 000000000000..e0e3d4f00757 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/privateLinkScope/PrivateLinkScopes_GetValidation.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2025-06-01", + "location": "wus2", + "subscriptionId": "86dc51d3-92ed-4d7e-947a-775ea79b4919", + "privateLinkScopeId": "f5dc51d3-92ed-4d7e-947a-775ea79b4919" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4919/resourceGroups/my-resource-group/providers/microsoft.hybridcompute/privateLinkScopes/my-privatelinkscope", + "publicNetworkAccess": "Disabled", + "connectionDetails": [ + { + "id": "id", + "privateIpAddress": "ip", + "linkIdentifier": "linkId", + "groupId": "groupId", + "memberName": "memberName" + } + ] + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/privateLinkScope/PrivateLinkScopes_GetValidationForMachine.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/privateLinkScope/PrivateLinkScopes_GetValidationForMachine.json new file mode 100644 index 000000000000..a89e092b6505 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/privateLinkScope/PrivateLinkScopes_GetValidationForMachine.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2025-06-01", + "location": "wus2", + "subscriptionId": "86dc51d3-92ed-4d7e-947a-775ea79b4919", + "resourceGroupName": "my-resource-group", + "machineName": "machineName" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4919/resourceGroups/my-resource-group/providers/microsoft.hybridcompute/privateLinkScopes/my-privatelinkscope", + "publicNetworkAccess": "Disabled", + "connectionDetails": [ + { + "id": "id", + "privateIpAddress": "ip", + "linkIdentifier": "linkId", + "groupId": "groupId", + "memberName": "memberName" + } + ] + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/privateLinkScope/PrivateLinkScopes_List.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/privateLinkScope/PrivateLinkScopes_List.json new file mode 100644 index 000000000000..64c06d1be70a --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/privateLinkScope/PrivateLinkScopes_List.json @@ -0,0 +1,57 @@ +{ + "parameters": { + "api-version": "2025-06-01", + "subscriptionId": "86dc51d3-92ed-4d7e-947a-775ea79b4919" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4919/resourceGroups/my-resource-group/providers/microsoft.hybridcompute/privateLinkScopes/my-privatelinkscope", + "name": "my-privatelinkscope", + "type": "Microsoft.HybridCompute/privateLinkScopes", + "location": "westus", + "tags": {}, + "properties": { + "privateLinkScopeId": "e5dc51d3-92ed-4d7e-947a-775ea79b4919", + "provisioningState": "Succeeded", + "publicNetworkAccess": "Disabled" + } + }, + { + "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4919/resourceGroups/my-resource-group/providers/microsoft.hybridcompute/privateLinkScopes/my-other-privatelinkscope", + "name": "my-other-privatelinkscope", + "type": "Microsoft.HybridCompute/privateLinkScopes", + "location": "westus", + "tags": {}, + "properties": { + "privateLinkScopeId": "f5dc51d3-92ed-4d7e-947a-775ea79b4919", + "provisioningState": "Succeeded", + "publicNetworkAccess": "Disabled", + "privateEndpointConnections": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/myPrivateLinkScope/privateEndpointConnections/private-endpoint-connection-name", + "name": "private-endpoint-connection-name", + "type": "Microsoft.HybridCompute/privateLinkScopes/privateEndpointConnections", + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/privateEndpoints/private-endpoint-name" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-approved", + "actionsRequired": "None" + } + } + } + ] + } + } + ], + "nextLink": null + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/privateLinkScope/PrivateLinkScopes_ListByResourceGroup.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/privateLinkScope/PrivateLinkScopes_ListByResourceGroup.json new file mode 100644 index 000000000000..f90f4f9943b1 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/privateLinkScope/PrivateLinkScopes_ListByResourceGroup.json @@ -0,0 +1,76 @@ +{ + "parameters": { + "api-version": "2025-06-01", + "subscriptionId": "86dc51d3-92ed-4d7e-947a-775ea79b4919", + "resourceGroupName": "my-resource-group" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4919/resourceGroups/my-resource-group/providers/microsoft.hybridcompute/privateLinkScopes/my-privatelinkscope", + "name": "my-privatelinkscope", + "type": "Microsoft.HybridCompute/privateLinkScopes", + "location": "westus", + "tags": {}, + "properties": { + "privateLinkScopeId": "f5dc51d3-92ed-4d7e-947a-775ea79b4919", + "provisioningState": "Succeeded", + "publicNetworkAccess": "Disabled", + "privateEndpointConnections": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/myPrivateLinkScope/privateEndpointConnections/private-endpoint-connection-name", + "name": "private-endpoint-connection-name", + "type": "Microsoft.HybridCompute/privateLinkScopes/privateEndpointConnections", + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/privateEndpoints/private-endpoint-name" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-approved", + "actionsRequired": "None" + } + } + } + ] + } + }, + { + "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4919/resourceGroups/my-resource-group/providers/microsoft.hybridcompute/privateLinkScopes/my-other-privatelinkscope", + "name": "my-other-privatelinkscope", + "type": "Microsoft.HybridCompute/privateLinkScopes", + "location": "westus", + "tags": {}, + "properties": { + "privateLinkScopeId": "a5dc51d3-92ed-4d7e-947a-775ea79b4919", + "provisioningState": "Succeeded", + "publicNetworkAccess": "Disabled", + "privateEndpointConnections": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/myPrivateLinkScope/privateEndpointConnections/private-endpoint-connection-name", + "name": "private-endpoint-connection-name", + "type": "Microsoft.HybridCompute/privateLinkScopes/privateEndpointConnections", + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/privateEndpoints/private-endpoint-name" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-approved", + "actionsRequired": "None" + } + } + } + ] + } + } + ], + "nextLink": null + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/privateLinkScope/PrivateLinkScopes_Update.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/privateLinkScope/PrivateLinkScopes_Update.json new file mode 100644 index 000000000000..cd37939dd6e6 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/privateLinkScope/PrivateLinkScopes_Update.json @@ -0,0 +1,84 @@ +{ + "parameters": { + "api-version": "2025-06-01", + "subscriptionId": "86dc51d3-92ed-4d7e-947a-775ea79b4919", + "resourceGroupName": "my-resource-group", + "scopeName": "my-privatelinkscope", + "parameters": { + "location": "westus", + "tags": { + "Tag1": "Value1" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4919/resourceGroups/my-resource-group/providers/microsoft.hybridCompute/privateLinkScopes/my-privatelinkscope", + "name": "my-privatelinkscope", + "type": "Microsoft.HybridCompute/privateLinkScopes", + "location": "westus", + "tags": { + "Tag1": "Value1" + }, + "properties": { + "privateLinkScopeId": "e5dc51d3-92ed-4d7e-947a-775ea79b4919", + "provisioningState": "Succeeded", + "publicNetworkAccess": "Disabled", + "privateEndpointConnections": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/myPrivateLinkScope/privateEndpointConnections/private-endpoint-connection-name", + "name": "private-endpoint-connection-name", + "type": "Microsoft.HybridCompute/privateLinkScopes/privateEndpointConnections", + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/privateEndpoints/private-endpoint-name" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-approved", + "actionsRequired": "None" + } + } + } + ] + } + } + }, + "201": { + "body": { + "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4919/resourceGroups/my-resource-group/providers/microsoft.hybridCompute/privateLinkScopes/my-privatelinkscope", + "name": "my-privatelinkscope", + "type": "Microsoft.HybridCompute/privateLinkScopes", + "location": "westus", + "tags": { + "Tag1": "Value1" + }, + "properties": { + "privateLinkScopeId": "e5dc51d3-92ed-4d7e-947a-775ea79b4919", + "provisioningState": "Succeeded", + "publicNetworkAccess": "Disabled", + "privateEndpointConnections": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/myPrivateLinkScope/privateEndpointConnections/private-endpoint-connection-name", + "name": "private-endpoint-connection-name", + "type": "Microsoft.HybridCompute/privateLinkScopes/privateEndpointConnections", + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/privateEndpoints/private-endpoint-name" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-approved", + "actionsRequired": "None" + } + } + } + ] + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/privateLinkScope/PrivateLinkScopes_UpdateTagsOnly.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/privateLinkScope/PrivateLinkScopes_UpdateTagsOnly.json new file mode 100644 index 000000000000..4a78d9318afd --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/privateLinkScope/PrivateLinkScopes_UpdateTagsOnly.json @@ -0,0 +1,51 @@ +{ + "parameters": { + "api-version": "2025-06-01", + "subscriptionId": "subid", + "resourceGroupName": "my-resource-group", + "scopeName": "my-privatelinkscope", + "PrivateLinkScopeTags": { + "tags": { + "Tag1": "Value1", + "Tag2": "Value2" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/my-resource-group/providers/microsoft.hybridcompute/privateLinkScopes/my-privatelinkscope", + "name": "my-privatelinkscope", + "type": "Microsoft.HybridCompute/privateLinkScopes", + "location": "westus", + "tags": { + "Tag1": "Value1", + "Tag2": "Value2" + }, + "properties": { + "privateLinkScopeId": "e5dc51d3-92ed-4d7e-947a-775ea79b4919", + "provisioningState": "Succeeded", + "publicNetworkAccess": "Disabled", + "privateEndpointConnections": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/myPrivateLinkScope/privateEndpointConnections/private-endpoint-connection-name", + "name": "private-endpoint-connection-name", + "type": "Microsoft.HybridCompute/privateLinkScopes/privateEndpointConnections", + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/privateEndpoints/private-endpoint-name" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-approved", + "actionsRequired": "None" + } + } + } + ] + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/runCommand/RunCommands_CreateOrUpdate.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/runCommand/RunCommands_CreateOrUpdate.json new file mode 100644 index 000000000000..03b69f45256e --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/runCommand/RunCommands_CreateOrUpdate.json @@ -0,0 +1,98 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "machineName": "myMachine", + "runCommandName": "myRunCommand", + "api-version": "2025-06-01", + "runCommandProperties": { + "location": "eastus2", + "properties": { + "source": { + "script": "Write-Host Hello World!" + }, + "parameters": [ + { + "name": "param1", + "value": "value1" + }, + { + "name": "param2", + "value": "value2" + } + ], + "asyncExecution": false, + "runAsUser": "user1", + "runAsPassword": "", + "timeoutInSeconds": 3600, + "outputBlobUri": "https://mystorageaccount.blob.core.windows.net/myscriptoutputcontainer/MyScriptoutput.txt", + "errorBlobUri": "https://mystorageaccount.blob.core.windows.net/mycontainer/MyScriptError.txt" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/Machines/myMachine/runcommands/myRunCommand", + "name": "myRunCommand", + "type": "Microsoft.HybridCompute/machines/runcommands", + "location": "eastus2", + "properties": { + "source": { + "script": "Write-Host Hello World!" + }, + "parameters": [ + { + "name": "param1", + "value": "value1" + }, + { + "name": "param2", + "value": "value2" + } + ], + "asyncExecution": false, + "runAsUser": "user1", + "timeoutInSeconds": 3600, + "outputBlobUri": "https://mystorageaccount.blob.core.windows.net/myscriptoutputcontainer/MyScriptoutput.txt", + "errorBlobUri": "https://mystorageaccount.blob.core.windows.net/mycontainer/MyScriptError.txt", + "provisioningState": "Succeeded" + } + } + }, + "201": { + "headers": { + "Location": "{callbackUrl}", + "Retry-After": 200, + "Azure-AsyncOperation": "{callbackUri}" + }, + "body": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/Machines/myMachine/runcommands/myRunCommand", + "name": "myRunCommand", + "type": "Microsoft.HybridCompute/machines/runcommands", + "location": "eastus2", + "properties": { + "source": { + "script": "Write-Host Hello World!" + }, + "parameters": [ + { + "name": "param1", + "value": "value1" + }, + { + "name": "param2", + "value": "value2" + } + ], + "asyncExecution": false, + "runAsUser": "user1", + "timeoutInSeconds": 3600, + "outputBlobUri": "https://mystorageaccount.blob.core.windows.net/myscriptoutputcontainer/MyScriptoutput.txt", + "errorBlobUri": "https://mystorageaccount.blob.core.windows.net/mycontainer/MyScriptError.txt", + "provisioningState": "Creating" + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/runCommand/RunCommands_Delete.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/runCommand/RunCommands_Delete.json new file mode 100644 index 000000000000..0a3f96765468 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/runCommand/RunCommands_Delete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "machineName": "myMachine", + "runCommandName": "myRunCommand", + "api-version": "2025-06-01" + }, + "responses": { + "202": { + "headers": { + "Location": "{callbackUrl}", + "Retry-After": 200, + "Azure-AsyncOperation": "{callbackUri}" + } + }, + "204": {} + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/runCommand/RunCommands_Get.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/runCommand/RunCommands_Get.json new file mode 100644 index 000000000000..46f87eec67f1 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/runCommand/RunCommands_Get.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "machineName": "myMachine", + "runCommandName": "myRunCommand", + "api-version": "2025-06-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/Machines/myMachine/runcommands/myRunCommand", + "name": "myRunCommand", + "type": "Microsoft.HybridCompute/machines/runcommands", + "location": "eastus2", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "source": { + "script": "Write-Host Hello World!" + }, + "parameters": [ + { + "name": "param1", + "value": "value1" + }, + { + "name": "param2", + "value": "value2" + } + ], + "protectedParameters": [], + "asyncExecution": false, + "runAsUser": "user1", + "timeoutInSeconds": 3600, + "provisioningState": "Succeeded", + "instanceView": { + "executionState": "Succeeded", + "executionMessage": "", + "exitCode": 0, + "output": "Hello World", + "error": "", + "startTime": "2023-06-15T20:48:41.4641785+00:00", + "endTime": "2023-06-15T20:48:41.4641785+00:00" + } + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/runCommand/RunCommands_List.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/runCommand/RunCommands_List.json new file mode 100644 index 000000000000..d0152860303d --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/runCommand/RunCommands_List.json @@ -0,0 +1,77 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "machineName": "myMachine", + "api-version": "2025-06-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/Machines/myMachine/runcommands/myRunCommand_1", + "name": "myRunCommand_1", + "location": "eastus2", + "type": "Microsoft.HybridCompute/machines/runcommands", + "properties": { + "source": { + "script": "Write-Host Hello World!" + }, + "parameters": [ + { + "name": "param1", + "value": "value1" + }, + { + "name": "param2", + "value": "value2" + } + ], + "protectedParameters": [], + "asyncExecution": false, + "runAsUser": "user1", + "timeoutInSeconds": 3600, + "provisioningState": "Succeeded", + "instanceView": { + "executionState": "Succeeded", + "executionMessage": "", + "exitCode": 0, + "output": "Hello World", + "error": "", + "startTime": "2023-06-15T20:48:41.4641785+00:00", + "endTime": "2023-06-15T20:48:41.4641785+00:00" + } + } + }, + { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/Machines/myMachine/runcommands/myRunCommand_2", + "name": "myRunCommand_2", + "location": "eastus2", + "type": "Microsoft.HybridCompute/machines/runcommands", + "properties": { + "source": { + "script": "Get-Process | Where-Object { $_.CPU -gt 10000 }" + }, + "parameters": [], + "protectedParameters": [], + "asyncExecution": false, + "runAsUser": "userA", + "timeoutInSeconds": 100, + "provisioningState": "Succeeded", + "instanceView": { + "executionState": "Succeeded", + "executionMessage": "", + "exitCode": 0, + "output": "", + "error": "", + "startTime": "2023-06-15T20:48:41.4641785+00:00", + "endTime": "2023-06-15T20:48:41.4641785+00:00" + } + } + } + ] + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/runCommand/RunCommands_Update.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/runCommand/RunCommands_Update.json new file mode 100644 index 000000000000..a60317f6ca63 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/runCommand/RunCommands_Update.json @@ -0,0 +1,62 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "machineName": "myMachine", + "runCommandName": "myRunCommand", + "api-version": "2025-06-01", + "runCommandProperties": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/Machines/myMachine/runcommands/myRunCommand", + "name": "myRunCommand", + "type": "Microsoft.HybridCompute/machines/runcommands", + "location": "eastus2", + "properties": { + "source": { + "script": "Write-Host Hello World!" + }, + "parameters": [ + { + "name": "param1", + "value": "value1" + }, + { + "name": "param2", + "value": "value2" + } + ], + "asyncExecution": false, + "runAsUser": "user1", + "timeoutInSeconds": 3600, + "outputBlobUri": "https://mystorageaccount.blob.core.windows.net/myscriptoutputcontainer/MyScriptoutput.txt", + "errorBlobUri": "https://mystorageaccount.blob.core.windows.net/mycontainer/MyScriptError.txt", + "provisioningState": "Succeeded", + "instanceView": { + "executionState": "Succeeded", + "executionMessage": "", + "exitCode": 0, + "output": "Hello World", + "error": "", + "startTime": "2023-06-15T20:48:41.4641785+00:00", + "endTime": "2023-06-15T20:48:41.4641785+00:00" + } + } + } + }, + "202": { + "headers": { + "Location": "{callbackUrl}", + "Retry-After": 200, + "Azure-AsyncOperation": "{callbackUri}" + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/settings/SettingsGet.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/settings/SettingsGet.json new file mode 100644 index 000000000000..74cfbd7a48f1 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/settings/SettingsGet.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "hybridRG", + "baseProvider": "Microsoft.HybridCompute", + "baseResourceType": "machines", + "baseResourceName": "testMachine", + "settingsResourceName": "default", + "api-version": "2025-06-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridCompute/settings/default", + "name": "current", + "type": "Microsoft.HybridCompute/settings", + "properties": { + "tenantId": "00000000-1111-2222-5555-444444444444", + "gatewayProperties": { + "gatewayResourceId": "/subscriptions/{subscriptionId}/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/gateways/newGateway" + } + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/settings/SettingsPatch.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/settings/SettingsPatch.json new file mode 100644 index 000000000000..d7bb0fa77fcb --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/settings/SettingsPatch.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "hybridRG", + "baseProvider": "Microsoft.HybridCompute", + "baseResourceType": "machines", + "baseResourceName": "testMachine", + "settingsResourceName": "default", + "api-version": "2025-06-01", + "parameters": { + "properties": { + "gatewayProperties": { + "gatewayResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/gateways/newGateway" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridCompute/settings/default", + "name": "current", + "type": "Microsoft.HybridCompute/settings", + "properties": { + "tenantId": "00000000-1111-2222-5555-444444444444", + "gatewayProperties": { + "gatewayResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/gateways/newGateway" + } + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/settings/SettingsUpdate.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/settings/SettingsUpdate.json new file mode 100644 index 000000000000..1254a373add6 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/examples/settings/SettingsUpdate.json @@ -0,0 +1,46 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "hybridRG", + "baseProvider": "Microsoft.HybridCompute", + "baseResourceType": "machines", + "baseResourceName": "testMachine", + "settingsResourceName": "default", + "api-version": "2025-06-01", + "parameters": { + "properties": { + "gatewayProperties": { + "gatewayResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/gateways/newGateway" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridCompute/settings/default", + "name": "current", + "type": "Microsoft.HybridCompute/settings", + "properties": { + "tenantId": "00000000-1111-2222-5555-444444444444", + "gatewayProperties": { + "gatewayResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/gateways/newGateway" + } + } + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridCompute/settings/default", + "name": "current", + "type": "Microsoft.HybridCompute/settings", + "properties": { + "tenantId": "00000000-1111-2222-5555-444444444444", + "gatewayProperties": { + "gatewayResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/gateways/newGateway" + } + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/privateLinkScopes.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/privateLinkScopes.json new file mode 100644 index 000000000000..57abff0c96ec --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-06-01/privateLinkScopes.json @@ -0,0 +1,1931 @@ +{ + "swagger": "2.0", + "info": { + "title": "HybridComputeManagementClient", + "x-ms-code-generation-settings": { + "name": "HybridComputeManagementClient" + }, + "description": "Azure Arc( Servers and K8s Clusters) API reference for Private Link's Scopes management.", + "version": "2025-06-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/privateLinkScopes": { + "get": { + "description": "Gets a list of all Azure Arc PrivateLinkScopes within a subscription.", + "operationId": "PrivateLinkScopes_List", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "A list containing 0 or more Azure Arc PrivateLinkScope definitions.", + "schema": { + "$ref": "#/definitions/HybridComputePrivateLinkScopeListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PrivateLinkScopesList.json": { + "$ref": "./examples/privateLinkScope/PrivateLinkScopes_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes": { + "get": { + "description": "Gets a list of Azure Arc PrivateLinkScopes within a resource group.", + "operationId": "PrivateLinkScopes_ListByResourceGroup", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "A list containing 0 or more Azure Arc PrivateLinkScope definitions.", + "schema": { + "$ref": "#/definitions/HybridComputePrivateLinkScopeListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PrivateLinkScopeListByResourceGroup": { + "$ref": "./examples/privateLinkScope/PrivateLinkScopes_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}": { + "delete": { + "description": "Deletes a Azure Arc PrivateLinkScope.", + "operationId": "PrivateLinkScopes_Delete", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/PrivateLinkScopeName" + } + ], + "responses": { + "200": { + "description": "Successful request when deleting an Azure Arc PrivateLinkScope." + }, + "202": { + "description": "Accepted.", + "headers": { + "Location": { + "description": "The URL of the resource used to check the status of the asynchronous operation.", + "type": "string" + }, + "Retry-After": { + "description": "The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation.", + "type": "integer", + "format": "int32" + }, + "Azure-AsyncOperation": { + "description": "The URI to poll for completion status.", + "type": "string" + } + } + }, + "204": { + "description": "The specified PrivateLinkScope does not exist." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "PrivateLinkScopesDelete": { + "$ref": "./examples/privateLinkScope/PrivateLinkScopes_Delete.json" + } + } + }, + "get": { + "description": "Returns a Azure Arc PrivateLinkScope.", + "operationId": "PrivateLinkScopes_Get", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/PrivateLinkScopeName" + } + ], + "responses": { + "200": { + "description": "Azure Arc PrivateLinkScope definition.", + "schema": { + "$ref": "#/definitions/HybridComputePrivateLinkScope" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PrivateLinkScopeGet": { + "$ref": "./examples/privateLinkScope/PrivateLinkScopes_Get.json" + } + } + }, + "put": { + "description": "Creates (or updates) a Azure Arc PrivateLinkScope. Note: You cannot specify a different value for InstrumentationKey nor AppId in the Put operation.", + "operationId": "PrivateLinkScopes_CreateOrUpdate", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/PrivateLinkScopeName" + }, + { + "name": "parameters", + "description": "Properties that need to be specified to create or update a Azure Arc for Servers and Clusters PrivateLinkScope.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/HybridComputePrivateLinkScope" + } + } + ], + "responses": { + "200": { + "description": "Successful request when creating or updating a Azure Arc PrivateLinkScope. The updated PrivateLinkScope is returned.", + "schema": { + "$ref": "#/definitions/HybridComputePrivateLinkScope" + } + }, + "201": { + "description": "Successful request when creating or updating a Azure Arc PrivateLinkScope. The updated PrivateLinkScope was created and is returned.", + "schema": { + "$ref": "#/definitions/HybridComputePrivateLinkScope" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PrivateLinkScopeCreate": { + "$ref": "./examples/privateLinkScope/PrivateLinkScopes_Create.json" + }, + "PrivateLinkScopeUpdate": { + "$ref": "./examples/privateLinkScope/PrivateLinkScopes_Update.json" + } + } + }, + "patch": { + "description": "Updates an existing PrivateLinkScope's tags. To update other fields use the CreateOrUpdate method.", + "operationId": "PrivateLinkScopes_UpdateTags", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/PrivateLinkScopeName" + }, + { + "name": "PrivateLinkScopeTags", + "description": "Updated tag information to set into the PrivateLinkScope instance.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/TagsResource" + } + } + ], + "responses": { + "200": { + "description": "Updating the Azure Arc PrivateLinkScope's tags was successful. PrivateLinkScope tags are updated and returned with the rest of the PrivateLinkScope's object properties.", + "schema": { + "$ref": "#/definitions/HybridComputePrivateLinkScope" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PrivateLinkScopeUpdateTagsOnly": { + "$ref": "./examples/privateLinkScope/PrivateLinkScopes_UpdateTagsOnly.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/privateLinkResources": { + "get": { + "tags": [ + "PrivateLinkResources" + ], + "description": "Gets the private link resources that need to be created for a Azure Monitor PrivateLinkScope.", + "operationId": "PrivateLinkResources_ListByPrivateLinkScope", + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/PrivateLinkScopeName" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved private link resources.", + "schema": { + "$ref": "#/definitions/PrivateLinkResourceListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Gets private endpoint connection.": { + "$ref": "./examples/privateLinkScope/PrivateLinkScopePrivateLinkResource_ListGet.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/privateLinkResources/{groupName}": { + "get": { + "tags": [ + "PrivateLinkResources" + ], + "description": "Gets the private link resources that need to be created for a Azure Monitor PrivateLinkScope.", + "operationId": "PrivateLinkResources_Get", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/PrivateLinkScopeName" + }, + { + "$ref": "#/parameters/GroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved a specified private link resource.", + "schema": { + "$ref": "#/definitions/PrivateLinkResource" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Gets private endpoint connection.": { + "$ref": "./examples/privateLinkScope/PrivateLinkScopePrivateLinkResource_Get.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/privateEndpointConnections/{privateEndpointConnectionName}": { + "get": { + "tags": [ + "PrivateEndpointConnections" + ], + "description": "Gets a private endpoint connection.", + "operationId": "PrivateEndpointConnections_Get", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/PrivateLinkScopeName" + }, + { + "name": "privateEndpointConnectionName", + "in": "path", + "description": "The name of the private endpoint connection.", + "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": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Gets private endpoint connection.": { + "$ref": "./examples/privateEndpoint/PrivateEndpointConnection_Get.json" + } + } + }, + "put": { + "tags": [ + "PrivateEndpointConnections" + ], + "description": "Approve or reject a private endpoint connection with a given name.", + "operationId": "PrivateEndpointConnections_CreateOrUpdate", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/PrivateLinkScopeName" + }, + { + "name": "privateEndpointConnectionName", + "in": "path", + "description": "The name of the private endpoint connection.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + } + ], + "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": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Approve or reject a private endpoint connection with a given name.": { + "$ref": "./examples/privateEndpoint/PrivateEndpointConnection_Update.json" + } + } + }, + "delete": { + "tags": [ + "PrivateEndpointConnections" + ], + "description": "Deletes a private endpoint connection with a given name.", + "operationId": "PrivateEndpointConnections_Delete", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/PrivateLinkScopeName" + }, + { + "name": "privateEndpointConnectionName", + "in": "path", + "description": "The name of the private endpoint connection.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Successfully deleted private endpoint connection." + }, + "202": { + "description": "Accepted", + "headers": { + "Location": { + "description": "The URL of the resource used to check the status of the asynchronous operation.", + "type": "string" + }, + "Retry-After": { + "description": "The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation.", + "type": "integer", + "format": "int32" + }, + "Azure-AsyncOperation": { + "description": "The URI to poll for completion status.", + "type": "string" + } + } + }, + "204": { + "description": "Private endpoint connection does not exist." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Deletes a private endpoint connection with a given name.": { + "$ref": "./examples/privateEndpoint/PrivateEndpointConnection_Delete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/privateEndpointConnections": { + "get": { + "tags": [ + "PrivateEndpointConnections" + ], + "description": "Gets all private endpoint connections on a private link scope.", + "operationId": "PrivateEndpointConnections_ListByPrivateLinkScope", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/PrivateLinkScopeName" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved private endpoint connections.", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnectionListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Gets list of private endpoint connections on a private link scope.": { + "$ref": "./examples/privateEndpoint/PrivateEndpointConnection_List.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/locations/{location}/privateLinkScopes/{privateLinkScopeId}": { + "get": { + "description": "Returns a Azure Arc PrivateLinkScope's validation details.", + "operationId": "PrivateLinkScopes_GetValidationDetails", + "parameters": [ + { + "$ref": "#/parameters/LocationParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/PrivateLinkScopeId" + } + ], + "responses": { + "200": { + "description": "Azure Arc PrivateLinkScope validation details definition.", + "schema": { + "$ref": "#/definitions/PrivateLinkScopeValidationDetails" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PrivateLinkScopeGet": { + "$ref": "./examples/privateLinkScope/PrivateLinkScopes_GetValidation.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/privateLinkScopes/current": { + "get": { + "description": "Returns a Azure Arc PrivateLinkScope's validation details for a given machine.", + "operationId": "PrivateLinkScopes_GetValidationDetailsForMachine", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/MachineNameParameter" + } + ], + "responses": { + "200": { + "description": "Azure Arc PrivateLinkScope validation details definition.", + "schema": { + "$ref": "#/definitions/PrivateLinkScopeValidationDetails" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PrivateLinkScopeGet": { + "$ref": "./examples/privateLinkScope/PrivateLinkScopes_GetValidationForMachine.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/providers/Microsoft.HybridCompute/networkConfigurations/current": { + "get": { + "tags": [ + "NetworkConfigurations" + ], + "description": "Returns a NetworkConfiguration for the target resource.", + "operationId": "NetworkConfigurations_Get", + "produces": [ + "application/json" + ], + "x-ms-examples": { + "NetworkConfigurationsGet": { + "$ref": "./examples/networkConfiguration/NetworkConfigurationsGet.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/MachineNameParameter" + } + ], + "responses": { + "200": { + "description": "Network Configuration information for the target resource.", + "schema": { + "$ref": "#/definitions/NetworkConfiguration" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "deprecated": false + }, + "put": { + "tags": [ + "NetworkConfigurations" + ], + "description": "Create or update the NetworkConfiguration of the target resource.", + "operationId": "NetworkConfigurations_CreateOrUpdate", + "produces": [ + "application/json" + ], + "x-ms-examples": { + "NetworkConfigurationsCreate": { + "$ref": "./examples/networkConfiguration/NetworkConfigurationsCreate.json" + }, + "NetworkConfigurationsUpdate": { + "$ref": "./examples/networkConfiguration/NetworkConfigurationsUpdate.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/MachineNameParameter" + }, + { + "name": "parameters", + "description": "Network Configuration details", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/NetworkConfiguration" + } + } + ], + "responses": { + "200": { + "description": "Successful request when creating or updating a NetworkConfiguration. The updated NetworkConfiguration is returned.", + "schema": { + "$ref": "#/definitions/NetworkConfiguration" + } + }, + "201": { + "description": "Successful request when creating or updating a NetworkConfiguration. The updated NetworkConfiguration was created and is returned.", + "schema": { + "$ref": "#/definitions/NetworkConfiguration" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + }, + "patch": { + "tags": [ + "NetworkConfigurations" + ], + "description": "Update the endpoint to the target resource.", + "operationId": "NetworkConfigurations_Update", + "produces": [ + "application/json" + ], + "x-ms-examples": { + "NetworkConfigurationsPatch": { + "$ref": "./examples/networkConfiguration/NetworkConfigurationsPatch.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/MachineNameParameter" + }, + { + "name": "parameters", + "description": "Network Configuration details", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/NetworkConfiguration" + } + } + ], + "responses": { + "200": { + "description": "Network Configuration information for the target resource.", + "schema": { + "$ref": "#/definitions/NetworkConfiguration" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/networkSecurityPerimeterConfigurations/{perimeterName}": { + "get": { + "tags": [ + "NetworkSecurityPerimeterConfiguration" + ], + "description": "Gets the network security perimeter configuration for a private link scope.", + "operationId": "NetworkSecurityPerimeterConfigurations_GetByPrivateLinkScope", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/PrivateLinkScopeName" + }, + { + "$ref": "#/parameters/PerimeterName" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved network security perimeter configuration details.", + "schema": { + "$ref": "#/definitions/NetworkSecurityPerimeterConfiguration" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Gets the network security perimeter configuration of the private link scope.": { + "$ref": "./examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationGet.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/networkSecurityPerimeterConfigurations": { + "get": { + "tags": [ + "NetworkSecurityPerimeterConfiguration" + ], + "description": "Lists the network security perimeter configurations for a private link scope.", + "operationId": "NetworkSecurityPerimeterConfigurations_ListByPrivateLinkScope", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/PrivateLinkScopeName" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved network security perimeter configuration details.", + "schema": { + "$ref": "#/definitions/NetworkSecurityPerimeterConfigurationListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Gets the list of network security perimeter configurations of the private link scope.": { + "$ref": "./examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/networkSecurityPerimeterConfigurations/{perimeterName}/reconcile": { + "post": { + "tags": [ + "NetworkSecurityPerimeterConfiguration" + ], + "description": "Forces the network security perimeter configuration to refresh for a private link scope.", + "operationId": "NetworkSecurityPerimeterConfigurations_ReconcileForPrivateLinkScope", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/PrivateLinkScopeName" + }, + { + "$ref": "#/parameters/PerimeterName" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/NetworkSecurityPerimeterConfigurationReconcileResult" + } + }, + "202": { + "description": "Accepted.", + "headers": { + "Location": { + "description": "The URL of the resource used to check the status of the asynchronous operation.", + "type": "string" + }, + "Retry-After": { + "description": "The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation.", + "type": "integer", + "format": "int32" + }, + "Azure-AsyncOperation": { + "description": "The URI to poll for completion status.", + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Reconciles the network security perimeter configuration of the private link scope.": { + "$ref": "./examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationReconcile.json" + } + } + } + } + }, + "definitions": { + "NetworkConfiguration": { + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/NetworkConfigurationProperties" + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ] + }, + "NetworkConfigurationProperties": { + "type": "object", + "description": "Network configuration properties", + "properties": { + "location": { + "type": "string", + "description": "Resource location", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "tenantId": { + "type": "string", + "readOnly": true, + "description": "Azure resource tenant Id" + }, + "networkConfigurationScopeId": { + "type": "string", + "description": "Associated Network Configuration Scope Id (GUID)" + }, + "networkConfigurationScopeResourceId": { + "type": "string", + "description": "Associated Network Configuration Scope Resource Id", + "format": "arm-id", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.HybridCompute/privateLinkScopes" + } + ] + } + }, + "keyProperties": { + "description": "Public key information for client authentication", + "readOnly": true, + "$ref": "#/definitions/KeyProperties" + } + } + }, + "KeyProperties": { + "type": "object", + "description": "Public key information for client authentication", + "properties": { + "clientPublicKey": { + "description": "Current public key details", + "readOnly": true, + "$ref": "#/definitions/KeyDetails" + }, + "candidatePublicKey": { + "description": "Candidate public key details", + "readOnly": true, + "$ref": "#/definitions/KeyDetails" + } + } + }, + "KeyDetails": { + "type": "object", + "description": "Public key details", + "properties": { + "publicKey": { + "type": "string", + "description": "Public key", + "readOnly": true + }, + "notAfter": { + "type": "string", + "format": "date-time", + "description": "Key expiration date", + "readOnly": true + }, + "renewAfter": { + "type": "string", + "format": "date-time", + "description": "Recommended key renewal date", + "readOnly": true + } + } + }, + "NetworkSecurityPerimeterConfiguration": { + "type": "object", + "description": "Properties that define a Network Security Perimeter resource.", + "properties": { + "id": { + "type": "string", + "readOnly": true, + "description": "Azure resource Id" + }, + "name": { + "type": "string", + "description": "Azure resource name", + "readOnly": true + }, + "type": { + "type": "string", + "readOnly": true, + "description": "Azure resource type" + }, + "properties": { + "x-ms-client-flatten": true, + "description": "Properties that define a Network Security Perimeter resource.", + "$ref": "#/definitions/NetworkSecurityPerimeterConfigurationProperties" + } + }, + "x-ms-azure-resource": true + }, + "NetworkSecurityPerimeterConfigurationProperties": { + "type": "object", + "description": "Properties that define a Network Security Perimeter resource.", + "properties": { + "provisioningState": { + "type": "string", + "description": "Current state of this NetworkSecurityPerimeter: 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 + }, + "provisioningIssues": { + "type": "array", + "description": "Provisioning issues.", + "readOnly": true, + "items": { + "$ref": "#/definitions/ProvisioningIssue" + }, + "x-ms-identifiers": [] + }, + "networkSecurityPerimeter": { + "description": "The Network Security Perimeter associated with this configuration.", + "$ref": "#/definitions/NetworkSecurityPerimeter" + }, + "resourceAssociation": { + "description": "The Resource Association.", + "$ref": "#/definitions/ResourceAssociation" + }, + "profile": { + "description": "Network Security Perimeter profile", + "$ref": "#/definitions/NetworkSecurityPerimeterProfile" + } + } + }, + "NetworkSecurityPerimeterProfile": { + "type": "object", + "description": "Network Security Perimeter profile", + "properties": { + "name": { + "type": "string", + "description": "Name of the resource", + "readOnly": true + }, + "accessRulesVersion": { + "type": "integer", + "format": "int32", + "description": "Access rules version number", + "readOnly": true + }, + "accessRules": { + "type": "array", + "description": "Collection of access rules for the profile", + "readOnly": true, + "items": { + "$ref": "#/definitions/AccessRule" + }, + "x-ms-identifiers": [] + }, + "diagnosticSettingsVersion": { + "type": "integer", + "format": "int32", + "description": "Diagnostic settings version number", + "readOnly": true + }, + "enabledLogCategories": { + "type": "array", + "description": "Collection of enabled log categories for the profile", + "readOnly": true, + "items": { + "type": "string" + } + } + } + }, + "ProvisioningIssue": { + "type": "object", + "description": "Details on issues that occurred during provisioning.", + "properties": { + "name": { + "type": "string", + "description": "Name of the provisioning issue.", + "readOnly": true + }, + "properties": { + "x-ms-client-flatten": true, + "description": "Provisioning issue properties", + "readOnly": true, + "$ref": "#/definitions/ProvisioningIssueProperties" + } + } + }, + "ProvisioningIssueProperties": { + "type": "object", + "description": "Properties of a provisioning issue.", + "properties": { + "issueType": { + "description": "Issue type", + "readOnly": true, + "$ref": "#/definitions/ProvisioningIssueType" + }, + "severity": { + "description": "Severity of the provisioning issue.", + "readOnly": true, + "$ref": "#/definitions/ProvisioningIssueSeverity" + }, + "description": { + "type": "string", + "description": "Description of the provisioning issue.", + "readOnly": true + }, + "suggestedResourceIds": { + "type": "array", + "description": "ARM Ids of the resources that can be associated to the same perimeter to remediate the issue", + "readOnly": true, + "items": { + "type": "string" + }, + "x-ms-identifiers": [] + }, + "suggestedAccessRules": { + "type": "array", + "description": "Access rules that can be added to the perimeter to remediate the issue", + "readOnly": true, + "items": { + "$ref": "#/definitions/AccessRule" + }, + "x-ms-identifiers": [] + } + } + }, + "ProvisioningIssueType": { + "type": "string", + "description": "Type of provisioning issue.", + "enum": [ + "MissingPerimeterConfiguration", + "MissingIdentityConfiguration", + "ConfigurationPropagationFailure", + "Other" + ], + "x-ms-enum": { + "name": "ProvisioningIssueType", + "modelAsString": true, + "values": [ + { + "value": "MissingPerimeterConfiguration", + "description": "Perimeter configuration is missing." + }, + { + "value": "MissingIdentityConfiguration", + "description": "Identity configuration is missing." + }, + { + "value": "ConfigurationPropagationFailure", + "description": "Configuration failed to propagate." + }, + { + "value": "Other", + "description": "Other failure." + } + ] + } + }, + "ProvisioningIssueSeverity": { + "type": "string", + "description": "Severity of the provisioning issue.", + "enum": [ + "Warning", + "Error" + ], + "x-ms-enum": { + "name": "ProvisioningIssueSeverity", + "modelAsString": true, + "values": [ + { + "value": "Warning", + "description": "Warnings can cause connectivity issues after provisioning succeeds." + }, + { + "value": "Error", + "description": "Errors will cause association provisioning to fail." + } + ] + } + }, + "AccessMode": { + "type": "string", + "description": "Property that impacts a resource's logging behavior and its connectivity with other resources and public networks.", + "enum": [ + "enforced", + "audit", + "learning" + ], + "x-ms-enum": { + "name": "AccessMode", + "modelAsString": true, + "values": [ + { + "value": "enforced", + "description": "Indicates that resource access is controlled by the NSP definition." + }, + { + "value": "audit", + "description": "Dry run mode, where traffic is evaluated against NSP Rules, logged but not enforced." + }, + { + "value": "learning", + "description": "Enables traffic evaluation to fall back to resource-specific firewall configurations." + } + ] + } + }, + "AccessRuleDirection": { + "type": "string", + "description": "Indicates direction of an access rule.", + "enum": [ + "Inbound", + "Outbound" + ], + "x-ms-enum": { + "name": "AccessRuleDirection", + "modelAsString": true, + "values": [ + { + "value": "Inbound", + "description": "Traffic originates outside of network." + }, + { + "value": "Outbound", + "description": "Traffic originates inside the network" + } + ] + } + }, + "AccessRule": { + "type": "object", + "description": "Access rule.", + "properties": { + "name": { + "type": "string", + "description": "Name of the access rule.", + "readOnly": true + }, + "properties": { + "x-ms-client-flatten": true, + "description": "Access rule properties", + "readOnly": true, + "$ref": "#/definitions/AccessRuleProperties" + } + } + }, + "AccessRuleProperties": { + "type": "object", + "description": "Properties of an access rule.", + "properties": { + "direction": { + "description": "Direction of the access rule.", + "readOnly": true, + "$ref": "#/definitions/AccessRuleDirection" + }, + "addressPrefixes": { + "type": "array", + "description": "Address prefixes that are allowed access.", + "readOnly": true, + "items": { + "type": "string" + } + } + } + }, + "NetworkSecurityPerimeter": { + "type": "object", + "description": "Properties that define a Network Security Perimeter resource.", + "properties": { + "id": { + "type": "string", + "readOnly": true, + "description": "Azure resource Id" + }, + "perimeterGuid": { + "type": "string", + "description": "Guid of the Network Security Perimeter", + "readOnly": true + }, + "location": { + "type": "string", + "readOnly": true, + "description": "Regional location of the perimeter" + } + } + }, + "NetworkSecurityPerimeterConfigurationListResult": { + "type": "object", + "description": "A list of network security perimeter configurations.", + "properties": { + "value": { + "description": "Array of results.", + "type": "array", + "items": { + "$ref": "#/definitions/NetworkSecurityPerimeterConfiguration" + }, + "readOnly": true + }, + "nextLink": { + "description": "Link to retrieve next page of results.", + "type": "string", + "readOnly": true + } + } + }, + "NetworkSecurityPerimeterConfigurationReconcileResult": { + "type": "object", + "description": "Result of network security perimeter configurations.", + "properties": { + "location": { + "description": "The URL of the resource used to check the status of the asynchronous operation.", + "type": "string", + "x-ms-mutability": [ + "read" + ] + } + } + }, + "ResourceAssociation": { + "type": "object", + "description": "Properties that define a Resource Association.", + "properties": { + "name": { + "type": "string", + "readOnly": true, + "description": "Name of the Resource Association" + }, + "accessMode": { + "description": "The access mode", + "readOnly": true, + "$ref": "#/definitions/AccessMode" + } + } + }, + "PrivateLinkScopesResource": { + "type": "object", + "properties": { + "id": { + "type": "string", + "readOnly": true, + "description": "Azure resource Id" + }, + "name": { + "type": "string", + "description": "Azure resource name", + "readOnly": true + }, + "type": { + "type": "string", + "readOnly": true, + "description": "Azure resource type" + }, + "location": { + "type": "string", + "description": "Resource location", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags" + } + }, + "required": [ + "location" + ], + "x-ms-azure-resource": true, + "description": "An azure resource object" + }, + "TagsResource": { + "type": "object", + "properties": { + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags" + } + }, + "description": "A container holding only the Tags for a resource, allowing the user to update the tags on a PrivateLinkScope instance." + }, + "HybridComputePrivateLinkScope": { + "type": "object", + "properties": { + "properties": { + "description": "Properties that define a Azure Arc PrivateLinkScope resource.", + "$ref": "#/definitions/HybridComputePrivateLinkScopeProperties" + }, + "systemData": { + "readOnly": true, + "description": "The system meta data relating to this resource.", + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/systemData" + } + }, + "allOf": [ + { + "$ref": "#/definitions/PrivateLinkScopesResource" + } + ], + "description": "An Azure Arc PrivateLinkScope definition." + }, + "PrivateLinkScopeValidationDetails": { + "type": "object", + "properties": { + "id": { + "type": "string", + "readOnly": true, + "description": "Azure resource Id" + }, + "publicNetworkAccess": { + "description": "Indicates whether machines associated with the private link scope can also use public Azure Arc service endpoints.", + "$ref": "#/definitions/PublicNetworkAccessType" + }, + "connectionDetails": { + "type": "array", + "description": "List of Private Endpoint Connection details.", + "items": { + "$ref": "#/definitions/ConnectionDetail" + } + } + } + }, + "ConnectionDetail": { + "type": "object", + "properties": { + "id": { + "type": "string", + "readOnly": true, + "description": "Azure resource Id" + }, + "privateIpAddress": { + "type": "string", + "readOnly": true, + "description": "The private endpoint connection private ip address" + }, + "linkIdentifier": { + "type": "string", + "readOnly": true, + "description": "The private endpoint connection link identifier" + }, + "groupId": { + "type": "string", + "readOnly": true, + "description": "The private endpoint connection group id" + }, + "memberName": { + "type": "string", + "readOnly": true, + "description": "The private endpoint connection member name" + } + } + }, + "HybridComputePrivateLinkScopeProperties": { + "type": "object", + "description": "Properties that define a Azure Arc PrivateLinkScope resource.", + "properties": { + "publicNetworkAccess": { + "description": "Indicates whether machines associated with the private link scope can also use public Azure Arc service endpoints.", + "$ref": "#/definitions/PublicNetworkAccessType" + }, + "provisioningState": { + "type": "string", + "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 + }, + "privateLinkScopeId": { + "readOnly": true, + "description": "The Guid id of the private link scope.", + "type": "string" + }, + "privateEndpointConnections": { + "readOnly": true, + "description": "The collection of associated Private Endpoint Connections.", + "type": "array", + "items": { + "$ref": "#/definitions/PrivateEndpointConnectionDataModel" + } + } + } + }, + "HybridComputePrivateLinkScopeListResult": { + "type": "object", + "description": "Describes the list of Azure Arc PrivateLinkScope resources.", + "required": [ + "value" + ], + "properties": { + "value": { + "type": "array", + "description": "List of Azure Arc PrivateLinkScope definitions.", + "items": { + "$ref": "#/definitions/HybridComputePrivateLinkScope" + } + }, + "nextLink": { + "type": "string", + "description": "The URI to get the next set of Azure Arc PrivateLinkScope definitions if too many PrivateLinkScopes where returned in the result set." + } + } + }, + "PrivateLinkResourceListResult": { + "type": "object", + "description": "A list of private link resources", + "properties": { + "value": { + "description": "Array of results.", + "type": "array", + "items": { + "$ref": "#/definitions/PrivateLinkResource" + }, + "readOnly": true + }, + "nextLink": { + "description": "Link to retrieve next page of results.", + "type": "string", + "readOnly": true + } + } + }, + "PrivateLinkResource": { + "type": "object", + "description": "A private link resource", + "properties": { + "properties": { + "$ref": "#/definitions/PrivateLinkResourceProperties", + "description": "Resource properties." + }, + "systemData": { + "readOnly": true, + "description": "The system meta data relating to this resource.", + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/systemData" + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ] + }, + "PrivateLinkResourceProperties": { + "type": "object", + "description": "Properties of a private link resource.", + "properties": { + "groupId": { + "description": "The private link resource group id.", + "type": "string", + "readOnly": true + }, + "requiredMembers": { + "description": "The private link resource required member names.", + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true + }, + "requiredZoneNames": { + "description": "Required DNS zone names of the the private link resource.", + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true + } + } + }, + "PrivateEndpointConnectionDataModel": { + "type": "object", + "description": "The Data Model for a Private Endpoint Connection associated with a Private Link Scope", + "properties": { + "id": { + "description": "The ARM Resource Id of the Private Endpoint.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "The Name of the Private Endpoint.", + "type": "string", + "readOnly": true + }, + "type": { + "type": "string", + "readOnly": true, + "description": "Azure resource type" + }, + "properties": { + "$ref": "#/definitions/PrivateEndpointConnectionProperties", + "description": "The Private Endpoint Connection properties." + } + } + }, + "PrivateEndpointConnectionProperties": { + "type": "object", + "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.", + "type": "string", + "readOnly": true + }, + "groupIds": { + "description": "List of group IDs.", + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true + } + } + }, + "PrivateEndpointProperty": { + "type": "object", + "description": "Private endpoint which the connection belongs to.", + "properties": { + "id": { + "description": "Resource id of the private endpoint.", + "type": "string" + } + } + }, + "PrivateLinkServiceConnectionStateProperty": { + "type": "object", + "description": "State of the private endpoint connection.", + "required": [ + "status", + "description" + ], + "properties": { + "status": { + "description": "The private link service connection status.", + "type": "string" + }, + "description": { + "description": "The private link service connection description.", + "type": "string" + }, + "actionsRequired": { + "description": "The actions required for private link service connection.", + "type": "string", + "readOnly": true + } + } + }, + "PrivateEndpointConnection": { + "type": "object", + "description": "A private endpoint connection", + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/PrivateEndpointConnectionProperties", + "description": "Resource properties." + }, + "systemData": { + "readOnly": true, + "description": "The system meta data relating to this resource.", + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/systemData" + } + } + }, + "PrivateEndpointConnectionListResult": { + "type": "object", + "description": "A list of private endpoint connections.", + "properties": { + "value": { + "description": "Array of results.", + "type": "array", + "items": { + "$ref": "#/definitions/PrivateEndpointConnection" + }, + "readOnly": true + }, + "nextLink": { + "description": "Link to retrieve next page of results.", + "type": "string", + "readOnly": true + } + } + }, + "PublicNetworkAccessType": { + "type": "string", + "description": "The network access policy to determine if Azure Arc agents can use public Azure Arc service endpoints. Defaults to disabled (access to Azure Arc services only via private link).", + "default": "Disabled", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "PublicNetworkAccessType", + "modelAsString": true, + "values": [ + { + "value": "Enabled", + "description": "Allows Azure Arc agents to communicate with Azure Arc services over both public (internet) and private endpoints." + }, + { + "value": "Disabled", + "description": "Does not allow Azure Arc agents to communicate with Azure Arc services over public (internet) endpoints. The agents must use the private link." + }, + { + "value": "SecuredByPerimeter", + "description": "Azure Arc agent communication with Azure Arc services over public (internet) is enforced by Network Security Perimeter (NSP)" + } + ] + } + } + }, + "parameters": { + "PrivateLinkScopeName": { + "name": "scopeName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Azure Arc PrivateLinkScope resource.", + "x-ms-parameter-location": "method", + "pattern": "[a-zA-Z0-9-_\\.]+" + }, + "PrivateLinkScopeId": { + "name": "privateLinkScopeId", + "in": "path", + "required": true, + "type": "string", + "description": "The id (Guid) of the Azure Arc PrivateLinkScope resource.", + "x-ms-parameter-location": "method" + }, + "GroupNameParameter": { + "name": "groupName", + "in": "path", + "description": "The name of the private link resource.", + "required": true, + "x-ms-parameter-location": "method", + "type": "string" + }, + "LocationParameter": { + "name": "location", + "in": "path", + "required": true, + "type": "string", + "x-ms-parameter-location": "method", + "description": "The location of the target resource.", + "minLength": 1 + }, + "MachineNameParameter": { + "name": "machineName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the target machine to get the private link scope validation details for.", + "minLength": 1, + "pattern": "^[a-zA-Z0-9-_\\.]{1,54}$", + "x-ms-parameter-location": "method" + }, + "ResourceUriParameter": { + "name": "resourceUri", + "in": "path", + "required": true, + "type": "string", + "description": "The fully qualified Azure Resource manager identifier of the resource to be connected.", + "x-ms-skip-url-encoding": true, + "x-ms-parameter-location": "method" + }, + "NetworkConfigurationScopeId": { + "name": "scopeId", + "in": "path", + "required": true, + "type": "string", + "description": "The id (Guid) of the Azure Arc Network Configuration Scope resource.", + "x-ms-parameter-location": "method" + }, + "PerimeterName": { + "name": "perimeterName", + "in": "path", + "required": true, + "type": "string", + "description": "The name, in the format {perimeterGuid}.{associationName}, of the Network Security Perimeter resource.", + "x-ms-parameter-location": "method", + "pattern": "^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}[.]{1}.+$" + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/HybridCompute.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/HybridCompute.json new file mode 100644 index 000000000000..3f7b96ec84a6 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/HybridCompute.json @@ -0,0 +1,6068 @@ +{ + "swagger": "2.0", + "info": { + "title": "HybridComputeManagementClient", + "description": "The Hybrid Compute Management Client.", + "version": "2025-08-21-preview" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/validateLicense": { + "post": { + "tags": [ + "licenses" + ], + "operationId": "Licenses_ValidateLicense", + "description": "The operation to validate a license.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/License" + }, + "description": "Parameters supplied to the license validation operation." + } + ], + "responses": { + "200": { + "description": "Updated Resource", + "schema": { + "$ref": "#/definitions/License" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Validate a License": { + "$ref": "./examples/license/License_ValidateLicense.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/licenses/{licenseName}": { + "put": { + "tags": [ + "licenses" + ], + "operationId": "Licenses_CreateOrUpdate", + "description": "The operation to create or update a license.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/licenseNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/License" + }, + "description": "Parameters supplied to the Create license operation." + } + ], + "responses": { + "200": { + "description": "Updated Resource", + "schema": { + "$ref": "#/definitions/License" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Create or Update a License": { + "$ref": "./examples/license/License_CreateOrUpdate.json" + } + } + }, + "patch": { + "tags": [ + "licenses" + ], + "operationId": "Licenses_Update", + "description": "The operation to update a license.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/licenseNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/LicenseUpdate" + }, + "description": "Parameters supplied to the Update license operation." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/License" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Update a License": { + "$ref": "./examples/license/License_Update.json" + } + } + }, + "get": { + "tags": [ + "licenses" + ], + "operationId": "Licenses_Get", + "description": "Retrieves information about the view of a license.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/licenseNameParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/License" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get License": { + "$ref": "./examples/license/License_Get.json" + } + } + }, + "delete": { + "tags": [ + "licenses" + ], + "operationId": "Licenses_Delete", + "description": "The operation to delete a license.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/licenseNameParameter" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Delete a License": { + "$ref": "./examples/license/License_Delete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/licenses": { + "get": { + "tags": [ + "licenses" + ], + "operationId": "Licenses_ListByResourceGroup", + "description": "The operation to get all licenses of a non-Azure machine", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/LicensesListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "GET all Machine Extensions": { + "$ref": "./examples/license/License_ListByResourceGroup.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/licenses": { + "get": { + "tags": [ + "licenses" + ], + "operationId": "Licenses_ListBySubscription", + "description": "The operation to get all licenses of a non-Azure machine", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/LicensesListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "List Licenses by Subscription": { + "$ref": "./examples/license/License_ListBySubscription.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}": { + "put": { + "tags": [ + "machines" + ], + "operationId": "Machines_CreateOrUpdate", + "description": "The operation to create or update a hybrid machine. Please note some properties can be set only during machine creation.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "machineName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9-_\\.]{1,54}$", + "minLength": 1, + "maxLength": 54, + "description": "The name of the hybrid machine." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Machine" + }, + "description": "Parameters supplied to the Create hybrid machine operation." + }, + { + "name": "$expand", + "in": "query", + "required": false, + "type": "string", + "description": "Expands referenced resources." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Machine" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Create or Update a Machine": { + "$ref": "./examples/machine/Machines_CreateOrUpdate.json" + } + } + }, + "patch": { + "tags": [ + "machines" + ], + "operationId": "Machines_Update", + "description": "The operation to update a hybrid machine.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "machineName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9-_\\.]{1,54}$", + "minLength": 1, + "maxLength": 54, + "description": "The name of the hybrid machine." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/MachineUpdate" + }, + "description": "Parameters supplied to the Update hybrid machine operation." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Machine" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Update a Machine": { + "$ref": "./examples/machine/Machines_Update.json" + } + } + }, + "delete": { + "tags": [ + "machines" + ], + "operationId": "Machines_Delete", + "description": "The operation to delete a hybrid machine.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "machineName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9-_\\.]{1,54}$", + "minLength": 1, + "maxLength": 54, + "description": "The name of the hybrid machine." + } + ], + "responses": { + "202": { + "description": "Accepted", + "headers": { + "Location": { + "description": "The URL of the resource used to check the status of the asynchronous operation.", + "type": "string" + }, + "Retry-After": { + "description": "The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation.", + "type": "integer", + "format": "int32" + }, + "Azure-AsyncOperation": { + "description": "The URI to poll for completion status.", + "type": "string" + } + } + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Delete a Machine": { + "$ref": "./examples/machine/Machines_Delete.json" + } + } + }, + "get": { + "tags": [ + "machines" + ], + "operationId": "Machines_Get", + "description": "Retrieves information about the model view or the instance view of a hybrid machine.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "machineName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9-_\\.]{1,54}$", + "minLength": 1, + "maxLength": 54, + "description": "The name of the hybrid machine." + }, + { + "name": "$expand", + "in": "query", + "required": false, + "type": "string", + "description": "The expand expression to apply on the operation.", + "enum": [ + "instanceView" + ], + "x-ms-enum": { + "name": "InstanceViewTypes", + "modelAsString": true + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Machine" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Machine": { + "$ref": "./examples/machine/Machines_Get.json" + }, + "Get Machine with License Profile Instance View": { + "$ref": "./examples/machine/Machines_Get_LicenseProfileInstanceView.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/licenseProfiles/{licenseProfileName}": { + "put": { + "tags": [ + "licenseProfiles" + ], + "operationId": "LicenseProfiles_CreateOrUpdate", + "description": "The operation to create or update a license profile.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/machineNameParameter" + }, + { + "$ref": "#/parameters/licenseProfileNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/LicenseProfile" + }, + "description": "Parameters supplied to the Create or Update license profile operation." + } + ], + "responses": { + "200": { + "description": "Updated Resource", + "schema": { + "$ref": "#/definitions/LicenseProfile" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/LicenseProfile" + }, + "headers": { + "Location": { + "description": "The URL of the resource used to check the status of the asynchronous operation.", + "type": "string" + }, + "Retry-After": { + "description": "The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation.", + "type": "integer", + "format": "int32" + }, + "Azure-AsyncOperation": { + "description": "The URI to poll for completion status.", + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Create or Update a License Profile": { + "$ref": "./examples/licenseProfile/LicenseProfile_CreateOrUpdate.json" + } + } + }, + "patch": { + "tags": [ + "licenseProfiles" + ], + "operationId": "LicenseProfiles_Update", + "description": "The operation to update a license profile.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/machineNameParameter" + }, + { + "$ref": "#/parameters/licenseProfileNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/LicenseProfileUpdate" + }, + "description": "Parameters supplied to the Update license profile operation." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/LicenseProfile" + } + }, + "202": { + "description": "Accepted", + "headers": { + "Location": { + "description": "The URL of the resource used to check the status of the asynchronous operation.", + "type": "string" + }, + "Retry-After": { + "description": "The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation.", + "type": "integer", + "format": "int32" + }, + "Azure-AsyncOperation": { + "description": "The URI to poll for completion status.", + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Update a License Profile": { + "$ref": "./examples/licenseProfile/LicenseProfile_Update.json" + } + } + }, + "get": { + "tags": [ + "licenseProfiles" + ], + "operationId": "LicenseProfiles_Get", + "description": "Retrieves information about the view of a license profile.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/machineNameParameter" + }, + { + "$ref": "#/parameters/licenseProfileNameParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/LicenseProfile" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get License Profile": { + "$ref": "./examples/licenseProfile/LicenseProfile_Get.json" + } + } + }, + "delete": { + "tags": [ + "licenseProfiles" + ], + "operationId": "LicenseProfiles_Delete", + "description": "The operation to delete a license profile.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/machineNameParameter" + }, + { + "$ref": "#/parameters/licenseProfileNameParameter" + } + ], + "responses": { + "202": { + "description": "Accepted", + "headers": { + "Location": { + "description": "The URL of the resource used to check the status of the asynchronous operation.", + "type": "string" + }, + "Retry-After": { + "description": "The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation.", + "type": "integer", + "format": "int32" + }, + "Azure-AsyncOperation": { + "description": "The URI to poll for completion status.", + "type": "string" + } + } + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Delete a License Profile": { + "$ref": "./examples/licenseProfile/LicenseProfile_Delete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/licenseProfiles": { + "get": { + "tags": [ + "licenseProfiles" + ], + "operationId": "LicenseProfiles_List", + "description": "The operation to get all license profiles of a non-Azure machine", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "machineName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9-_\\.]{1,54}$", + "minLength": 1, + "maxLength": 54, + "description": "The name of the machine." + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/LicenseProfilesListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "List all License Profiles": { + "$ref": "./examples/licenseProfile/LicenseProfile_List.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{name}/assessPatches": { + "post": { + "tags": [ + "machines" + ], + "operationId": "Machines_AssessPatches", + "x-ms-examples": { + "Assess patch state of a machine.": { + "$ref": "./examples/machine/Machine_AssessPatches.json" + } + }, + "description": "The operation to assess patches on a hybrid machine identity in Azure.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "name", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the hybrid machine." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/MachineAssessPatchesResult" + } + }, + "202": { + "description": "HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously.", + "headers": { + "Location": { + "description": "The URL of the resource used to check the status of the asynchronous operation.", + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{name}/installPatches": { + "post": { + "tags": [ + "machines" + ], + "operationId": "Machines_InstallPatches", + "description": "The operation to install patches on a hybrid machine identity in Azure.", + "x-ms-examples": { + "Install patch state of a machine.": { + "$ref": "./examples/machine/Machine_InstallPatches.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "name", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the hybrid machine." + }, + { + "name": "installPatchesInput", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/MachineInstallPatchesParameters" + }, + "description": "Input for InstallPatches as directly received by the API" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/MachineInstallPatchesResult" + } + }, + "202": { + "description": "HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously.", + "headers": { + "Location": { + "description": "The URL of the resource used to check the status of the asynchronous operation.", + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines": { + "get": { + "tags": [ + "machines" + ], + "operationId": "Machines_ListByResourceGroup", + "description": "Lists all the hybrid machines in the specified resource group. Use the nextLink property in the response to get the next page of hybrid machines.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "$expand", + "in": "query", + "required": false, + "type": "string", + "description": "Expands referenced resources." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/MachineListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List Machines by resource group": { + "$ref": "./examples/machine/Machines_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/machines": { + "get": { + "tags": [ + "machines" + ], + "operationId": "Machines_ListBySubscription", + "description": "Lists all the hybrid machines in the specified subscription. Use the nextLink property in the response to get the next page of hybrid machines.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/MachineListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List Machines by resource group": { + "$ref": "./examples/machine/Machines_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}": { + "put": { + "tags": [ + "MachineExtensions" + ], + "operationId": "MachineExtensions_CreateOrUpdate", + "description": "The operation to create or update the extension.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "machineName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9-_\\.]{1,54}$", + "minLength": 1, + "maxLength": 54, + "description": "The name of the machine where the extension should be created or updated." + }, + { + "name": "extensionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the machine extension." + }, + { + "name": "extensionParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/MachineExtension" + }, + "description": "Parameters supplied to the Create Machine Extension operation." + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/MachineExtension" + } + }, + "202": { + "description": "HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Create or Update a Machine Extension": { + "$ref": "./examples/extension/Extension_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation": true + }, + "patch": { + "tags": [ + "MachineExtensions" + ], + "operationId": "MachineExtensions_Update", + "description": "The operation to create or update the extension.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "machineName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9-_\\.]{1,54}$", + "minLength": 1, + "maxLength": 54, + "description": "The name of the machine where the extension should be created or updated." + }, + { + "name": "extensionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the machine extension." + }, + { + "name": "extensionParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/MachineExtensionUpdate" + }, + "description": "Parameters supplied to the Create Machine Extension operation." + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/MachineExtension" + } + }, + "202": { + "description": "Accepted", + "headers": { + "Location": { + "description": "The URL of the resource used to check the status of the asynchronous operation.", + "type": "string" + }, + "Retry-After": { + "description": "The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation.", + "type": "integer", + "format": "int32" + }, + "Azure-AsyncOperation": { + "description": "The URI to poll for completion status.", + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Create or Update a Machine Extension": { + "$ref": "./examples/extension/Extension_Update.json" + } + }, + "x-ms-long-running-operation": true + }, + "delete": { + "tags": [ + "MachineExtensions" + ], + "operationId": "MachineExtensions_Delete", + "description": "The operation to delete the extension.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "machineName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9-_\\.]{1,54}$", + "minLength": 1, + "maxLength": 54, + "description": "The name of the machine where the extension should be deleted." + }, + { + "name": "extensionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the machine extension." + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "202": { + "description": "Accepted", + "headers": { + "Location": { + "description": "The URL of the resource used to check the status of the asynchronous operation.", + "type": "string" + }, + "Retry-After": { + "description": "The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation.", + "type": "integer", + "format": "int32" + }, + "Azure-AsyncOperation": { + "description": "The URI to poll for completion status.", + "type": "string" + } + } + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Delete a Machine Extension": { + "$ref": "./examples/extension/Extension_Delete.json" + } + } + }, + "get": { + "tags": [ + "MachineExtensions" + ], + "operationId": "MachineExtensions_Get", + "description": "The operation to get the extension.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "machineName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9-_\\.]{1,54}$", + "minLength": 1, + "maxLength": 54, + "description": "The name of the machine containing the extension." + }, + { + "name": "extensionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the machine extension." + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/MachineExtension" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "GET Machine Extension": { + "$ref": "./examples/extension/Extension_Get.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions": { + "get": { + "tags": [ + "MachineExtensions" + ], + "operationId": "MachineExtensions_List", + "description": "The operation to get all extensions of a non-Azure machine", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "machineName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9-_\\.]{1,54}$", + "minLength": 1, + "maxLength": 54, + "description": "The name of the machine containing the extension." + }, + { + "name": "$expand", + "in": "query", + "required": false, + "type": "string", + "description": "The expand expression to apply on the operation." + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/MachineExtensionsListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "GET all Machine Extensions - List": { + "$ref": "./examples/extension/Extension_List.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/upgradeExtensions": { + "post": { + "tags": [ + "MachineExtensions Upgrade" + ], + "operationId": "UpgradeExtensions", + "description": "The operation to Upgrade Machine Extensions.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "machineName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9-_\\.]{1,54}$", + "minLength": 1, + "maxLength": 54, + "description": "The name of the hybrid machine." + }, + { + "name": "extensionUpgradeParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/MachineExtensionUpgrade" + }, + "description": "Parameters supplied to the Upgrade Extensions operation." + } + ], + "responses": { + "200": { + "description": "OK" + }, + "202": { + "description": "HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously.", + "headers": { + "Location": { + "description": "The URL of the resource used to check the status of the asynchronous operation.", + "type": "string" + }, + "Retry-After": { + "description": "The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation.", + "type": "integer", + "format": "int32" + }, + "Azure-AsyncOperation": { + "description": "The URI to poll for completion status.", + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Upgrade Machine Extensions": { + "$ref": "./examples/extension/Extensions_Upgrade.json" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/locations/{location}/publishers/{publisher}/extensionTypes/{extensionType}/versions/{version}": { + "get": { + "tags": [ + "extensions" + ], + "operationId": "ExtensionMetadata_Get", + "description": "Gets an Extension Metadata based on location, publisher, extensionType and version", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "location", + "in": "path", + "required": true, + "type": "string", + "description": "The location of the Extension being received." + }, + { + "name": "publisher", + "in": "path", + "required": true, + "type": "string", + "description": "The publisher of the Extension being received." + }, + { + "name": "extensionType", + "in": "path", + "required": true, + "type": "string", + "description": "The extensionType of the Extension being received." + }, + { + "name": "version", + "in": "path", + "required": true, + "type": "string", + "description": "The version of the Extension being received." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ExtensionValue" + } + }, + "default": { + "description": "Error in retrieving an extension metadata", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "GET an extensions metadata": { + "$ref": "./examples/extension/ExtensionMetadata_Get.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/locations/{location}/publishers/{publisher}/extensionTypes/{extensionType}/versions": { + "get": { + "tags": [ + "extensions" + ], + "operationId": "ExtensionMetadata_List", + "description": "Gets all Extension versions based on location, publisher, extensionType", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "location", + "in": "path", + "required": true, + "type": "string", + "description": "The location of the Extension being received." + }, + { + "name": "publisher", + "in": "path", + "required": true, + "type": "string", + "description": "The publisher of the Extension being received." + }, + { + "name": "extensionType", + "in": "path", + "required": true, + "type": "string", + "description": "The extensionType of the Extension being received." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ExtensionValueListResult" + } + }, + "default": { + "description": "Error in retrieving extension list", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + }, + "x-ms-examples": { + "GET a list of extensions": { + "$ref": "./examples/extension/ExtensionMetadata_List.json" + } + } + } + }, + "/providers/Microsoft.HybridCompute/locations/{location}/publishers/{publisher}/extensionTypes/{extensionType}/versions/{version}": { + "get": { + "tags": [ + "extensions" + ], + "operationId": "ExtensionMetadataV2_Get", + "description": "Gets an Extension Metadata based on location, publisher, extensionType and version", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" + }, + { + "name": "publisher", + "in": "path", + "required": true, + "type": "string", + "description": "The publisher of the Extension being received." + }, + { + "name": "extensionType", + "in": "path", + "required": true, + "type": "string", + "description": "The extensionType of the Extension being received." + }, + { + "name": "version", + "in": "path", + "required": true, + "type": "string", + "description": "The version of the Extension being received." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ExtensionValueV2" + } + }, + "default": { + "description": "Error in retrieving an extension metadata", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "GET an extension metadata": { + "$ref": "./examples/extension/ExtensionMetadataV2_Get.json" + } + } + } + }, + "/providers/Microsoft.HybridCompute/locations/{location}/publishers/{publisher}/extensionTypes/{extensionType}/versions": { + "get": { + "tags": [ + "extensions" + ], + "operationId": "ExtensionMetadataV2_List", + "description": "Gets all Extension versions based on location, publisher, extensionType", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" + }, + { + "name": "publisher", + "in": "path", + "required": true, + "type": "string", + "description": "The publisher of the Extension being received." + }, + { + "name": "extensionType", + "in": "path", + "required": true, + "type": "string", + "description": "The extensionType of the Extension being received." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ExtensionValueListResultV2" + } + }, + "default": { + "description": "Error in retrieving extension list", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "GET a list of extension metadata": { + "$ref": "./examples/extension/ExtensionMetadataV2_List.json" + } + } + } + }, + "/providers/Microsoft.HybridCompute/locations/{location}/publishers/{publisher}/extensionTypes": { + "get": { + "tags": [ + "extensions" + ], + "operationId": "ExtensionType_List", + "description": "Gets all Extension types based on location and publisher", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" + }, + { + "name": "publisher", + "in": "path", + "required": true, + "type": "string", + "description": "The publisher of the Extension being received." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ExtensionTypeListResult" + } + }, + "default": { + "description": "Error in retrieving extension list", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "GET a list of extension types": { + "$ref": "./examples/extension/ExtensionType_List.json" + } + } + } + }, + "/providers/Microsoft.HybridCompute/locations/{location}/publishers": { + "get": { + "tags": [ + "extensions" + ], + "operationId": "ExtensionPublisher_List", + "description": "Gets all Extension publishers based on the location", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ExtensionPublisherListResult" + } + }, + "default": { + "description": "Error in retrieving extension list", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "GET a list of extension publishers": { + "$ref": "./examples/extension/ExtensionPublisher_List.json" + } + } + } + }, + "/providers/Microsoft.HybridCompute/operations": { + "get": { + "tags": [ + "operations" + ], + "operationId": "Operations_List", + "description": "Gets a list of hybrid compute operations.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/OperationListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List Hybrid Compute Provider Operations": { + "$ref": "./examples/Operations_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": null + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/networkProfile": { + "get": { + "tags": [ + "MachineNetworkProfile" + ], + "operationId": "NetworkProfile_Get", + "description": "The operation to get network information of hybrid machine", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "machineName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9-_\\.]{1,54}$", + "minLength": 1, + "maxLength": 54, + "description": "The name of the hybrid machine." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/NetworkProfile" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "GET Network Profile": { + "$ref": "./examples/NetworkProfile_Get.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/hybridIdentityMetadata/{metadataName}": { + "get": { + "tags": [ + "HybridIdentityMetadata" + ], + "operationId": "HybridIdentityMetadata_Get", + "summary": "Gets HybridIdentityMetadata.", + "description": "Implements HybridIdentityMetadata GET method.", + "x-ms-examples": { + "GetHybridIdentityMetadata": { + "$ref": "./examples/HybridIdentityMetadata_Get.json" + } + }, + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "machineName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9-_\\.]{1,54}$", + "minLength": 1, + "maxLength": 54, + "description": "The name of the hybrid machine." + }, + { + "in": "path", + "name": "metadataName", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9-_\\.]{1,54}$", + "description": "Name of the HybridIdentityMetadata." + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/HybridIdentityMetadata" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/hybridIdentityMetadata": { + "get": { + "tags": [ + "HybridIdentityMetadata" + ], + "operationId": "HybridIdentityMetadata_ListByMachines", + "summary": "Implements GET HybridIdentityMetadata in a machine.", + "description": "Returns the list of HybridIdentityMetadata of the given machine.", + "x-ms-examples": { + "HybridIdentityMetadataListByVirtualMachines": { + "$ref": "./examples/HybridIdentityMetadata_ListByVirtualMachines.json" + } + }, + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "machineName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9-_\\.]{1,54}$", + "minLength": 1, + "maxLength": 54, + "description": "The name of the hybrid machine." + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/HybridIdentityMetadataList" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/providers/Microsoft.HybridCompute/osType/{osType}/agentVersions": { + "get": { + "tags": [ + "AgentVersions" + ], + "operationId": "AgentVersion_List", + "description": "Gets all Agent Versions along with the download link currently present.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "osType", + "in": "path", + "required": true, + "type": "string", + "description": "Defines the os type." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/AgentVersionsList" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "GET Agent Versions": { + "$ref": "./examples/AgentVersions_Get.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/providers/Microsoft.HybridCompute/osType/{osType}/agentVersions/{version}": { + "get": { + "tags": [ + "AgentVersions" + ], + "operationId": "AgentVersion_Get", + "description": "Gets an Agent Version along with the download link currently present.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "osType", + "in": "path", + "required": true, + "type": "string", + "description": "Defines the os type" + }, + { + "name": "version", + "in": "path", + "required": true, + "type": "string", + "description": "Defines the agent version. To get latest, use latest or else a specific agent version." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/AgentVersion" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "GET Agent Versions": { + "$ref": "./examples/AgentVersion_GetLatest.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/runCommands/{runCommandName}": { + "put": { + "tags": [ + "MachineRunCommands" + ], + "operationId": "MachineRunCommands_CreateOrUpdate", + "description": "The operation to create or update a run command.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/machineNameParameter" + }, + { + "$ref": "#/parameters/runCommandNameParameter" + }, + { + "name": "runCommandProperties", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/MachineRunCommand" + }, + "description": "Parameters supplied to the Create Run Command." + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Updated Resource", + "schema": { + "$ref": "#/definitions/MachineRunCommand" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/MachineRunCommand" + }, + "headers": { + "Location": { + "description": "The URL of the resource used to check the status of the asynchronous operation.", + "type": "string" + }, + "Retry-After": { + "description": "The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation.", + "type": "integer", + "format": "int32" + }, + "Azure-AsyncOperation": { + "description": "The URI to poll for completion status.", + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Create or Update a Run Command": { + "$ref": "./examples/runCommand/RunCommands_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + }, + "patch": { + "tags": [ + "MachineRunCommands" + ], + "operationId": "MachineRunCommands_Update", + "description": "The operation to update the run command.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/machineNameParameter" + }, + { + "$ref": "#/parameters/runCommandNameParameter" + }, + { + "name": "runCommandProperties", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/MachineRunCommandUpdate" + }, + "description": "Parameters supplied to the Create Run Command." + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/MachineRunCommand" + } + }, + "202": { + "description": "HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously.", + "headers": { + "Location": { + "description": "The URL of the resource used to check the status of the asynchronous operation.", + "type": "string" + }, + "Retry-After": { + "description": "The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation.", + "type": "integer", + "format": "int32" + }, + "Azure-AsyncOperation": { + "description": "The URI to poll for completion status.", + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Update a Run Command": { + "$ref": "./examples/runCommand/RunCommands_Update.json" + } + }, + "x-ms-long-running-operation": true + }, + "delete": { + "tags": [ + "MachineRunCommands" + ], + "operationId": "MachineRunCommands_Delete", + "description": "The operation to delete a run command.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/machineNameParameter" + }, + { + "$ref": "#/parameters/runCommandNameParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "202": { + "description": "Accepted", + "headers": { + "Location": { + "description": "The URL of the resource used to check the status of the asynchronous operation.", + "type": "string" + }, + "Retry-After": { + "description": "The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation.", + "type": "integer", + "format": "int32" + }, + "Azure-AsyncOperation": { + "description": "The URI to poll for completion status.", + "type": "string" + } + } + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "Delete a Machine Run Command": { + "$ref": "./examples/runCommand/RunCommands_Delete.json" + } + } + }, + "get": { + "tags": [ + "MachineRunCommands" + ], + "operationId": "MachineRunCommands_Get", + "description": "The operation to get a run command.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/machineNameParameter" + }, + { + "$ref": "#/parameters/runCommandNameParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/MachineRunCommand" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get a Run Command": { + "$ref": "./examples/runCommand/RunCommands_Get.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/runCommands": { + "get": { + "tags": [ + "MachineRunCommands" + ], + "operationId": "MachineRunCommands_List", + "description": "The operation to get all the run commands of a non-Azure machine.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/machineNameParameter" + }, + { + "name": "$expand", + "in": "query", + "required": false, + "type": "string", + "description": "The expand expression to apply on the operation." + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/MachineRunCommandsListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "GET all Machine Run Commands": { + "$ref": "./examples/runCommand/RunCommands_List.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/gateways/{gatewayName}": { + "put": { + "tags": [ + "gateways" + ], + "operationId": "Gateways_CreateOrUpdate", + "description": "The operation to create or update a gateway.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/gatewayNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Gateway" + }, + "description": "Parameters supplied to the Create gateway operation." + } + ], + "responses": { + "200": { + "description": "Updated Resource", + "schema": { + "$ref": "#/definitions/Gateway" + } + }, + "201": { + "description": "Updated Resource", + "schema": { + "$ref": "#/definitions/Gateway" + }, + "headers": { + "Location": { + "description": "The URL of the resource used to check the status of the asynchronous operation.", + "type": "string" + }, + "Retry-After": { + "description": "The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation.", + "type": "integer", + "format": "int32" + }, + "Azure-AsyncOperation": { + "description": "The URI to poll for completion status.", + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Create or Update a Gateway": { + "$ref": "./examples/gateway/Gateway_CreateOrUpdate.json" + } + } + }, + "patch": { + "tags": [ + "gateways" + ], + "operationId": "Gateways_Update", + "description": "The operation to update a gateway.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/gatewayNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/GatewayUpdate" + }, + "description": "Parameters supplied to the Update gateway operation." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Gateway" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": false, + "x-ms-examples": { + "Update a Gateway": { + "$ref": "./examples/gateway/Gateway_Update.json" + } + } + }, + "get": { + "tags": [ + "gateways" + ], + "operationId": "Gateways_Get", + "description": "Retrieves information about the view of a gateway.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/gatewayNameParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Gateway" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Gateway": { + "$ref": "./examples/gateway/Gateway_Get.json" + } + } + }, + "delete": { + "tags": [ + "gateways" + ], + "operationId": "Gateways_Delete", + "description": "The operation to delete a gateway.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/gatewayNameParameter" + } + ], + "responses": { + "202": { + "description": "Accepted", + "headers": { + "Location": { + "description": "The URL of the resource used to check the status of the asynchronous operation.", + "type": "string" + }, + "Retry-After": { + "description": "The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation.", + "type": "integer", + "format": "int32" + }, + "Azure-AsyncOperation": { + "description": "The URI to poll for completion status.", + "type": "string" + } + } + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Delete a Gateway": { + "$ref": "./examples/gateway/Gateway_Delete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/gateways": { + "get": { + "tags": [ + "gateways" + ], + "operationId": "Gateways_ListByResourceGroup", + "description": "The operation to get all gateways of a non-Azure machine", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/GatewaysListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "List Gateways by Resource Group": { + "$ref": "./examples/gateway/Gateway_ListByResourceGroup.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/gateways": { + "get": { + "tags": [ + "gateways" + ], + "operationId": "Gateways_ListBySubscription", + "description": "The operation to get all gateways of a non-Azure machine", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/GatewaysListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "List Gateways by Subscription": { + "$ref": "./examples/gateway/Gateway_ListBySubscription.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{baseProvider}/{baseResourceType}/{baseResourceName}/providers/Microsoft.HybridCompute/settings/{settingsResourceName}": { + "get": { + "tags": [ + "Settings" + ], + "description": "Returns the base Settings for the target resource.", + "operationId": "Settings_Get", + "produces": [ + "application/json" + ], + "x-ms-examples": { + "NetworkConfigurationsGet": { + "$ref": "./examples/settings/SettingsGet.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/baseProviderParameter" + }, + { + "$ref": "#/parameters/baseResourceTypeParameter" + }, + { + "$ref": "#/parameters/baseResourceNameParameter" + }, + { + "$ref": "#/parameters/settingsResourceNameParameter" + } + ], + "responses": { + "200": { + "description": "Settings information for the target resource.", + "schema": { + "$ref": "#/definitions/Settings" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "deprecated": false + }, + "put": { + "tags": [ + "Settings" + ], + "description": "Updates the base Settings of the target resource.", + "operationId": "Settings_Update", + "produces": [ + "application/json" + ], + "x-ms-examples": { + "SettingsUpdate": { + "$ref": "./examples/settings/SettingsUpdate.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/baseProviderParameter" + }, + { + "$ref": "#/parameters/baseResourceTypeParameter" + }, + { + "$ref": "#/parameters/baseResourceNameParameter" + }, + { + "$ref": "#/parameters/settingsResourceNameParameter" + }, + { + "name": "parameters", + "description": "Settings details", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Settings" + } + } + ], + "responses": { + "200": { + "description": "Successful request when updating a Settings resource. The updated Settings are returned.", + "schema": { + "$ref": "#/definitions/Settings" + } + }, + "201": { + "description": "Successful request when updating a Settings resource. The updated Settings are returned.", + "schema": { + "$ref": "#/definitions/Settings" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + }, + "patch": { + "tags": [ + "Settings" + ], + "description": "Update the base Settings of the target resource.", + "operationId": "Settings_Patch", + "produces": [ + "application/json" + ], + "x-ms-examples": { + "NetworkConfigurationsPatch": { + "$ref": "./examples/settings/SettingsPatch.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/baseProviderParameter" + }, + { + "$ref": "#/parameters/baseResourceTypeParameter" + }, + { + "$ref": "#/parameters/baseResourceNameParameter" + }, + { + "$ref": "#/parameters/settingsResourceNameParameter" + }, + { + "name": "parameters", + "description": "Settings details", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Settings" + } + } + ], + "responses": { + "200": { + "description": "Settings information for the target resource.", + "schema": { + "$ref": "#/definitions/Settings" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/addExtensions": { + "post": { + "tags": [ + "MachineExtensions Setup" + ], + "operationId": "SetupExtensions", + "description": "The operation to Setup Machine Extensions.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "machineName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9-_\\.]{1,54}$", + "minLength": 1, + "maxLength": 54, + "description": "The name of the hybrid machine." + }, + { + "name": "extensions", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/SetupExtensionRequest" + }, + "description": "Parameters supplied to the Setup Extensions operation." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/SetupExtensionRequest" + } + }, + "202": { + "description": "HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously.", + "headers": { + "Location": { + "description": "The URL of the resource used to check the status of the asynchronous operation.", + "type": "string" + }, + "Retry-After": { + "description": "The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation.", + "type": "integer", + "format": "int32" + }, + "Azure-AsyncOperation": { + "description": "The URI to poll for completion status.", + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Setup Machine Extensions": { + "$ref": "./examples/extension/Extension_Add.json" + } + }, + "x-ms-long-running-operation": true + } + } + }, + "definitions": { + "ExtensionValueListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/ExtensionValue" + }, + "description": "The list of extension metadata", + "x-ms-identifiers": [] + } + }, + "description": "The List Extension Metadata response." + }, + "ExtensionValue": { + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ExtensionValueProperties", + "description": "The single extension based on search criteria" + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ], + "description": "Describes a Extension Metadata" + }, + "ExtensionValueProperties": { + "type": "object", + "properties": { + "version": { + "type": "string", + "readOnly": true, + "description": "The version of the Extension being received." + }, + "extensionType": { + "type": "string", + "readOnly": true, + "description": "The type of the Extension being received." + }, + "publisher": { + "type": "string", + "readOnly": true, + "description": "The publisher of the Extension being received." + } + }, + "description": "Describes Extension Metadata properties" + }, + "ExtensionValueListResultV2": { + "type": "object", + "properties": { + "value": { + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/ExtensionValueV2" + }, + "description": "The list of extension metadata.", + "x-ms-identifiers": [] + }, + "nextLink": { + "type": "string", + "description": "The URI to fetch the next page of extension metadata." + } + }, + "description": "The List Extension Metadata response." + }, + "ExtensionValueV2": { + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ExtensionValueV2Properties", + "description": "The single extension based on search criteria." + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ], + "description": "Describes an Extension Metadata." + }, + "ExtensionValueV2Properties": { + "type": "object", + "properties": { + "extensionUris": { + "type": "array", + "readOnly": true, + "items": { + "type": "string", + "format": "uri" + }, + "description": "A list of locations where the extension packages can be found." + }, + "extensionSignatureUri": { + "type": "string", + "readOnly": true, + "format": "uri", + "description": "Location of the signature files for the extension." + }, + "operatingSystem": { + "type": "string", + "readOnly": true, + "description": "The operating system (Windows, Linux, etc.) this extension supports." + }, + "architecture": { + "type": "array", + "readOnly": true, + "items": { + "type": "string" + }, + "description": "Architectures (x64, arms64, etc.) that this extension supports." + } + }, + "allOf": [ + { + "$ref": "#/definitions/ExtensionValueProperties" + } + ], + "description": "Describes Extension Metadata properties." + }, + "ExtensionTypeListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/ExtensionType" + }, + "description": "The list of extension types.", + "x-ms-identifiers": [] + }, + "nextLink": { + "type": "string", + "description": "The URI to fetch the next page of extension types." + } + }, + "description": "The List of Extension Types." + }, + "ExtensionType": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "The ID of the extension type." + }, + "name": { + "type": "string", + "description": "The name of the extension type." + } + }, + "description": "Describes an Extension Type." + }, + "ExtensionPublisherListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/ExtensionPublisher" + }, + "description": "The list of extension publishers.", + "x-ms-identifiers": [] + }, + "nextLink": { + "type": "string", + "description": "The URI to fetch the next page of extension publishers." + } + }, + "description": "The List of Extension Publishers." + }, + "ExtensionPublisher": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "The ID of the extension publisher." + }, + "name": { + "type": "string", + "description": "The name of the extension publisher." + } + }, + "description": "Describes an Extension Publisher." + }, + "OperationListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/OperationValue" + }, + "description": "The list of compute operations", + "x-ms-identifiers": [] + } + }, + "description": "The List Compute Operation operation response." + }, + "OperationValue": { + "type": "object", + "properties": { + "origin": { + "type": "string", + "readOnly": true, + "description": "The origin of the compute operation." + }, + "name": { + "type": "string", + "readOnly": true, + "description": "The name of the compute operation." + }, + "display": { + "$ref": "#/definitions/OperationValueDisplay", + "description": "Display properties" + }, + "isDataAction": { + "type": "boolean", + "readOnly": true, + "description": "This property indicates if the operation is an action or a data action" + } + }, + "description": "Describes the properties of a Compute Operation value." + }, + "OperationValueDisplay": { + "type": "object", + "properties": { + "operation": { + "type": "string", + "readOnly": true, + "description": "The display name of the compute operation." + }, + "resource": { + "type": "string", + "readOnly": true, + "description": "The display name of the resource the operation applies to." + }, + "description": { + "type": "string", + "readOnly": true, + "description": "The description of the operation." + }, + "provider": { + "type": "string", + "readOnly": true, + "description": "The resource provider for the operation." + } + }, + "description": "Describes the properties of a Hybrid Compute Operation Value Display." + }, + "PatchSettings": { + "type": "object", + "properties": { + "assessmentMode": { + "type": "string", + "description": "Specifies the assessment mode.", + "enum": [ + "ImageDefault", + "AutomaticByPlatform" + ], + "x-ms-enum": { + "name": "AssessmentModeTypes", + "modelAsString": true + } + }, + "patchMode": { + "type": "string", + "description": "Specifies the patch mode.", + "enum": [ + "ImageDefault", + "AutomaticByPlatform", + "AutomaticByOS", + "Manual" + ], + "x-ms-enum": { + "name": "PatchModeTypes", + "modelAsString": true + } + }, + "enableHotpatching": { + "type": "boolean", + "description": "Captures the hotpatch capability enrollment intent of the customers, which enables customers to patch their Windows machines without requiring a reboot." + }, + "status": { + "readOnly": true, + "type": "object", + "properties": { + "hotpatchEnablementStatus": { + "$ref": "#/definitions/HotpatchEnablementStatus", + "description": "Indicates the current status of the hotpatch being enabled or disabled." + }, + "error": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorDetail", + "readOnly": true, + "description": "The errors that were encountered during the hotpatch capability enrollment or disenrollment." + } + }, + "description": "Status of the hotpatch capability enrollment or disenrollment." + } + }, + "description": "Specifies the patch settings." + }, + "AgentConfiguration": { + "type": "object", + "readOnly": true, + "properties": { + "proxyUrl": { + "type": "string", + "readOnly": true, + "description": "Specifies the URL of the proxy to be used." + }, + "incomingConnectionsPorts": { + "type": "array", + "readOnly": true, + "description": "Specifies the list of ports that the agent will be able to listen on.", + "items": { + "type": "string" + } + }, + "extensionsAllowList": { + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/ConfigurationExtension" + }, + "description": "Array of extensions that are allowed to be installed or updated.", + "x-ms-identifiers": [] + }, + "extensionsBlockList": { + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/ConfigurationExtension" + }, + "description": "Array of extensions that are blocked (cannot be installed or updated)", + "x-ms-identifiers": [] + }, + "proxyBypass": { + "type": "array", + "readOnly": true, + "description": "List of service names which should not use the specified proxy server.", + "items": { + "type": "string" + } + }, + "extensionsEnabled": { + "type": "string", + "readOnly": true, + "description": "Specifies whether the extension service is enabled or disabled." + }, + "guestConfigurationEnabled": { + "type": "string", + "readOnly": true, + "description": "Specified whether the guest configuration service is enabled or disabled." + }, + "configMode": { + "type": "string", + "readOnly": true, + "description": "Name of configuration mode to use. Modes are pre-defined configurations of security controls, extension allowlists and guest configuration, maintained by Microsoft.", + "enum": [ + "full", + "monitor" + ], + "x-ms-enum": { + "name": "agent configuration mode", + "modelAsString": true + } + } + }, + "description": "Configurable properties that the user can set locally via the azcmagent config command, or remotely via ARM." + }, + "ConfigurationExtension": { + "type": "object", + "properties": { + "publisher": { + "type": "string", + "readOnly": true, + "description": "Publisher of the extension." + }, + "type": { + "type": "string", + "readOnly": true, + "description": "Type of the extension." + } + }, + "description": "Describes properties that can identify extensions." + }, + "ServiceStatuses": { + "type": "object", + "properties": { + "extensionService": { + "$ref": "#/definitions/ServiceStatus", + "description": "The state of the extension service on the Arc-enabled machine." + }, + "guestConfigurationService": { + "$ref": "#/definitions/ServiceStatus", + "description": "The state of the guest configuration service on the Arc-enabled machine." + } + }, + "description": "Reports the state and behavior of dependent services." + }, + "ServiceStatus": { + "type": "object", + "properties": { + "status": { + "type": "string", + "description": "The current status of the service." + }, + "startupType": { + "type": "string", + "description": "The behavior of the service when the Arc-enabled machine starts up." + } + }, + "description": "Describes the status and behavior of a service." + }, + "FirmwareProfile": { + "type": "object", + "readOnly": true, + "properties": { + "serialNumber": { + "type": "string", + "readOnly": true, + "description": "The serial number of the firmware" + }, + "type": { + "type": "string", + "readOnly": true, + "description": "The type of the firmware" + } + }, + "description": "Describes the firmware of the machine" + }, + "HardwareProfile": { + "type": "object", + "readOnly": true, + "properties": { + "totalPhysicalMemoryInBytes": { + "type": "integer", + "format": "int64", + "readOnly": true, + "description": "The total physical memory on the machine" + }, + "numberOfCpuSockets": { + "type": "integer", + "format": "int32", + "readOnly": true, + "description": "The total number of CPU sockets available on the machine" + }, + "processors": { + "type": "array", + "items": { + "$ref": "#/definitions/Processor" + }, + "readOnly": true, + "description": "The physical processors of the machine." + } + }, + "description": "Describes the hardware of the machine" + }, + "Processor": { + "type": "object", + "readOnly": true, + "properties": { + "name": { + "type": "string", + "readOnly": true, + "description": "The name of the processor." + }, + "numberOfCores": { + "type": "integer", + "format": "int32", + "readOnly": true, + "description": "The total number of physical cores on the processor." + } + }, + "description": "Describes the firmware of the machine" + }, + "StorageProfile": { + "type": "object", + "properties": { + "disks": { + "type": "array", + "items": { + "$ref": "#/definitions/Disk" + }, + "description": "The disks on the machine." + } + }, + "readOnly": true, + "description": "Describes the storage configuration of the machine" + }, + "Disk": { + "type": "object", + "readOnly": true, + "properties": { + "path": { + "type": "string", + "description": "The path of the disk." + }, + "diskType": { + "type": "string", + "description": "The type of the disk." + }, + "generatedId": { + "type": "string", + "description": "The generated ID of the disk." + }, + "id": { + "type": "string", + "description": "The ID of the disk." + }, + "name": { + "type": "string", + "description": "The name of the disk." + }, + "maxSizeInBytes": { + "type": "integer", + "format": "int64", + "description": "The size of the disk, in bytes" + }, + "usedSpaceInBytes": { + "type": "integer", + "format": "int64", + "description": "The amount of space used on the disk, in bytes" + } + }, + "description": "Describes a disk on the machine" + }, + "CloudMetadata": { + "type": "object", + "properties": { + "provider": { + "type": "string", + "readOnly": true, + "description": "Specifies the cloud provider (Azure/AWS/GCP...)." + } + }, + "description": "The metadata of the cloud environment (Azure/GCP/AWS/OCI...)." + }, + "AgentUpgrade": { + "type": "object", + "properties": { + "desiredVersion": { + "type": "string", + "description": "Specifies the version info w.r.t AgentUpgrade for the machine." + }, + "correlationId": { + "type": "string", + "description": "The correlation ID associated with an agent upgrade operation." + }, + "enableAutomaticUpgrade": { + "type": "boolean", + "description": "Specifies if the machine's agent should be upgraded" + }, + "lastAttemptDesiredVersion": { + "type": "string", + "readOnly": true, + "description": "Specifies the version of the last attempt" + }, + "lastAttemptTimestamp": { + "type": "string", + "readOnly": true, + "description": "Timestamp of last upgrade attempt" + }, + "lastAttemptStatus": { + "type": "string", + "readOnly": true, + "enum": [ + "Success", + "Failed" + ], + "x-ms-enum": { + "name": "LastAttemptStatusEnum", + "modelAsString": true + }, + "description": "Specifies the status of Agent Upgrade." + }, + "lastAttemptMessage": { + "type": "string", + "readOnly": true, + "description": "Failure message of last upgrade attempt if any." + } + }, + "description": "The info w.r.t Agent Upgrade." + }, + "OSProfile": { + "type": "object", + "properties": { + "computerName": { + "type": "string", + "readOnly": true, + "description": "Specifies the host OS name of the hybrid machine." + }, + "windowsConfiguration": { + "type": "object", + "properties": { + "patchSettings": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/PatchSettings" + } + }, + "description": "Specifies the windows configuration for update management." + }, + "linuxConfiguration": { + "type": "object", + "properties": { + "patchSettings": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/PatchSettings" + } + }, + "description": "Specifies the linux configuration for update management." + } + }, + "description": "Specifies the operating system settings for the hybrid machine." + }, + "DetectedProperties": { + "readOnly": true, + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Detected properties from the machine." + }, + "MachineProperties": { + "type": "object", + "properties": { + "locationData": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/locationData" + }, + "agentConfiguration": { + "$ref": "#/definitions/AgentConfiguration", + "description": "Configurable properties that the user can set locally via the azcmagent config command, or remotely via ARM." + }, + "serviceStatuses": { + "$ref": "#/definitions/ServiceStatuses", + "description": "Statuses of dependent services that are reported back to ARM." + }, + "hardwareProfile": { + "$ref": "#/definitions/HardwareProfile", + "description": "Information about the machine's hardware" + }, + "storageProfile": { + "$ref": "#/definitions/StorageProfile", + "description": "Information about the machine's storage" + }, + "firmwareProfile": { + "$ref": "#/definitions/FirmwareProfile", + "description": "Information about the machine's firmware" + }, + "cloudMetadata": { + "$ref": "#/definitions/CloudMetadata", + "description": "The metadata of the cloud environment (Azure/GCP/AWS/OCI...)." + }, + "agentUpgrade": { + "$ref": "#/definitions/AgentUpgrade", + "description": "The info of the machine w.r.t Agent Upgrade" + }, + "osProfile": { + "$ref": "#/definitions/OSProfile", + "description": "Specifies the operating system settings for the hybrid machine." + }, + "licenseProfile": { + "$ref": "#/definitions/LicenseProfileMachineInstanceView", + "description": "Specifies the License related properties for a machine." + }, + "provisioningState": { + "readOnly": true, + "type": "string", + "description": "The provisioning state, which only appears in the response." + }, + "status": { + "readOnly": true, + "type": "string", + "description": "The status of the hybrid machine agent.", + "enum": [ + "Connected", + "Disconnected", + "Error", + "AwaitingConnection" + ], + "x-ms-enum": { + "name": "StatusTypes", + "modelAsString": true + } + }, + "lastStatusChange": { + "readOnly": true, + "type": "string", + "format": "date-time", + "description": "The time of the last status change." + }, + "errorDetails": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorDetail" + }, + "description": "Details about the error state.", + "x-ms-identifiers": [] + }, + "agentVersion": { + "readOnly": true, + "type": "string", + "description": "The hybrid machine agent full version." + }, + "vmId": { + "type": "string", + "x-ms-mutability": [ + "read", + "create" + ], + "description": "Specifies the hybrid machine unique ID." + }, + "displayName": { + "readOnly": true, + "type": "string", + "description": "Specifies the hybrid machine display name." + }, + "machineFqdn": { + "readOnly": true, + "type": "string", + "description": "Specifies the hybrid machine FQDN." + }, + "clientPublicKey": { + "type": "string", + "description": "Public Key that the client provides to be used during initial resource onboarding" + }, + "identityKeyStore": { + "description": "Specifies the identity key store a machine is using.", + "type": "string", + "enum": [ + "TPM", + "Default" + ], + "x-ms-enum": { + "name": "IdentityKeyStore", + "modelAsString": true + } + }, + "tpmEkCertificate": { + "type": "string", + "description": "Endorsement Key Certificate of the Trusted Platform Module (TPM) that the client provides to be used during initial resource onboarding." + }, + "osName": { + "readOnly": true, + "type": "string", + "description": "The Operating System running on the hybrid machine." + }, + "osVersion": { + "readOnly": true, + "type": "string", + "description": "The version of Operating System running on the hybrid machine." + }, + "osType": { + "type": "string", + "description": "The type of Operating System (windows/linux)." + }, + "vmUuid": { + "readOnly": true, + "type": "string", + "description": "Specifies the Arc Machine's unique SMBIOS ID" + }, + "extensions": { + "type": "array", + "items": { + "$ref": "#/definitions/MachineExtensionInstanceView" + }, + "description": "Machine Extensions information (deprecated field)", + "x-ms-identifiers": [] + }, + "osSku": { + "readOnly": true, + "type": "string", + "description": "Specifies the Operating System product SKU." + }, + "osEdition": { + "readOnly": true, + "type": "string", + "description": "The edition of the Operating System." + }, + "domainName": { + "readOnly": true, + "type": "string", + "description": "Specifies the Windows domain name." + }, + "adFqdn": { + "readOnly": true, + "type": "string", + "description": "Specifies the AD fully qualified display name." + }, + "dnsFqdn": { + "readOnly": true, + "type": "string", + "description": "Specifies the DNS fully qualified display name." + }, + "privateLinkScopeResourceId": { + "type": "string", + "description": "The resource id of the private link scope this machine is assigned to, if any." + }, + "parentClusterResourceId": { + "type": "string", + "description": "The resource id of the parent cluster (Azure HCI) this machine is assigned to, if any." + }, + "hardwareResourceId": { + "type": "string", + "description": "Specifies the resource ID of the associated hardware device. Only settable by HCI RP." + }, + "mssqlDiscovered": { + "type": "string", + "description": "Specifies whether any MS SQL instance is discovered on the machine." + }, + "detectedProperties": { + "$ref": "#/definitions/DetectedProperties", + "description": "Detected properties from the machine." + }, + "networkProfile": { + "$ref": "#/definitions/NetworkProfile", + "description": "Information about the network the machine is on." + } + }, + "description": "Describes the properties of a hybrid machine." + }, + "MachineUpdateProperties": { + "type": "object", + "properties": { + "locationData": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/locationData" + }, + "osProfile": { + "$ref": "#/definitions/OSProfile" + }, + "cloudMetadata": { + "$ref": "#/definitions/CloudMetadata", + "description": "The metadata of the cloud environment (Azure/GCP/AWS/OCI...)." + }, + "agentUpgrade": { + "$ref": "#/definitions/AgentUpgrade", + "description": "The info of the machine w.r.t Agent Upgrade" + }, + "parentClusterResourceId": { + "type": "string", + "description": "The resource id of the parent cluster (Azure HCI) this machine is assigned to, if any." + }, + "privateLinkScopeResourceId": { + "type": "string", + "description": "The resource id of the private link scope this machine is assigned to, if any." + }, + "identityKeyStore": { + "type": "string", + "description": "Identity key store type of the machine" + }, + "tpmEkCertificate": { + "type": "string", + "description": "Endorsement Key Certificate of the Trusted Platform Module (TPM) that the client provides to be used during initial resource onboarding." + } + }, + "description": "Describes the ARM updatable properties of a hybrid machine." + }, + "Machine": { + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/MachineProperties", + "description": "Hybrid Compute Machine properties" + }, + "resources": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "#/definitions/MachineExtension" + }, + "description": "The list of extensions affiliated to the machine" + }, + "identity": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/Identity" + }, + "kind": { + "$ref": "#/definitions/ArcKindEnum" + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ], + "description": "Describes a hybrid machine." + }, + "ArcKindEnum": { + "type": "string", + "description": "Indicates which kind of Arc machine placement on-premises, such as HCI, SCVMM or VMware etc.", + "enum": [ + "AVS", + "HCI", + "SCVMM", + "VMware", + "EPS", + "GCP", + "AWS" + ], + "x-ms-enum": { + "name": "ArcKindEnum ", + "modelAsString": true + } + }, + "MachineUpdate": { + "type": "object", + "properties": { + "identity": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/Identity" + }, + "kind": { + "$ref": "#/definitions/ArcKindEnum" + }, + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/MachineUpdateProperties", + "description": "Hybrid Compute Machine properties" + } + }, + "allOf": [ + { + "$ref": "#/definitions/ResourceUpdate" + } + ], + "description": "Describes a hybrid machine Update." + }, + "MachineListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Machine" + }, + "description": "The list of hybrid machines." + }, + "nextLink": { + "type": "string", + "description": "The URI to fetch the next page of Machines. Call ListNext() with this URI to fetch the next page of hybrid machines." + } + }, + "required": [ + "value" + ], + "description": "The List hybrid machine operation response." + }, + "ProvisioningState": { + "readOnly": true, + "type": "string", + "enum": [ + "Creating", + "Updating", + "Deleting", + "Succeeded", + "Failed", + "Accepted", + "Canceled", + "Deleted" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + }, + "description": "The provisioning state, which only appears in the response." + }, + "License": { + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/LicenseProperties", + "description": "Hybrid Compute License properties" + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ], + "description": "Describes a license in a hybrid machine." + }, + "LicenseProperties": { + "type": "object", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The provisioning state, which only appears in the response." + }, + "tenantId": { + "type": "string", + "description": "Describes the tenant id." + }, + "licenseType": { + "$ref": "#/definitions/LicenseType", + "description": "The type of the license resource." + }, + "licenseDetails": { + "$ref": "#/definitions/LicenseDetails", + "description": "Describes the properties of a License." + } + }, + "description": "Describes the properties of a License Profile." + }, + "LicenseUpdate": { + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/LicenseUpdateProperties", + "description": "License Update properties" + } + }, + "allOf": [ + { + "$ref": "#/definitions/ResourceUpdate" + } + ], + "description": "Describes a License Update." + }, + "LicenseUpdateProperties": { + "type": "object", + "properties": { + "licenseType": { + "$ref": "#/definitions/LicenseType", + "description": "The type of the license resource." + }, + "licenseDetails": { + "x-ms-client-flatten": true, + "type": "object", + "properties": { + "state": { + "$ref": "#/definitions/LicenseState" + }, + "target": { + "$ref": "#/definitions/LicenseTarget" + }, + "edition": { + "$ref": "#/definitions/LicenseEdition" + }, + "type": { + "$ref": "#/definitions/LicenseCoreType" + }, + "processors": { + "type": "integer", + "format": "int32", + "description": "Describes the number of processors." + } + } + } + }, + "description": "Describes the Update properties of a License Profile." + }, + "LicenseDetails": { + "type": "object", + "properties": { + "state": { + "$ref": "#/definitions/LicenseState" + }, + "target": { + "$ref": "#/definitions/LicenseTarget" + }, + "edition": { + "$ref": "#/definitions/LicenseEdition" + }, + "type": { + "$ref": "#/definitions/LicenseCoreType" + }, + "processors": { + "type": "integer", + "format": "int32", + "description": "Describes the number of processors." + }, + "assignedLicenses": { + "readOnly": true, + "type": "integer", + "format": "int32", + "description": "Describes the number of assigned licenses." + }, + "immutableId": { + "readOnly": true, + "type": "string", + "description": "Describes the immutable id." + }, + "volumeLicenseDetails": { + "type": "array", + "items": { + "$ref": "#/definitions/VolumeLicenseDetails" + }, + "description": "A list of volume license details." + } + }, + "description": "Describes the properties of a License." + }, + "VolumeLicenseDetails": { + "type": "object", + "properties": { + "programYear": { + "type": "string", + "description": "Describes the program year the volume license is for.", + "enum": [ + "Year 1", + "Year 2", + "Year 3" + ], + "x-ms-enum": { + "name": "ProgramYear", + "modelAsString": true + } + }, + "invoiceId": { + "type": "string", + "description": "The invoice id for the volume license." + } + } + }, + "LicenseType": { + "type": "string", + "enum": [ + "ESU" + ], + "x-ms-enum": { + "name": "LicenseType", + "modelAsString": true + }, + "description": "The type of the license resource." + }, + "LicenseState": { + "type": "string", + "enum": [ + "Activated", + "Deactivated" + ], + "x-ms-enum": { + "name": "LicenseState", + "modelAsString": true + }, + "description": "Describes the state of the license." + }, + "LicenseEdition": { + "type": "string", + "enum": [ + "Standard", + "Datacenter" + ], + "x-ms-enum": { + "name": "LicenseEdition", + "modelAsString": true + }, + "description": "Describes the edition of the license. The values are either Standard or Datacenter." + }, + "LicenseTarget": { + "type": "string", + "enum": [ + "Windows Server 2012", + "Windows Server 2012 R2" + ], + "x-ms-enum": { + "name": "LicenseTarget", + "modelAsString": true + }, + "description": "Describes the license target server." + }, + "LicenseCoreType": { + "type": "string", + "enum": [ + "pCore", + "vCore" + ], + "x-ms-enum": { + "name": "LicenseCoreType", + "modelAsString": true + }, + "description": "Describes the license core type (pCore or vCore)." + }, + "LicensesListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/License" + }, + "description": "The list of licenses." + }, + "nextLink": { + "type": "string", + "description": "The URI to fetch the next page of Machines. Call ListNext() with this URI to fetch the next page of license profile." + } + }, + "required": [ + "value" + ], + "description": "The List license operation response." + }, + "LicenseProfile": { + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "type": "object", + "properties": { + "softwareAssurance": { + "x-ms-client-flatten": true, + "type": "object", + "properties": { + "softwareAssuranceCustomer": { + "type": "boolean", + "description": "Specifies if this machine is licensed as part of a Software Assurance agreement." + } + } + }, + "esuProfile": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/LicenseProfileArmEsuProperties", + "description": "Hybrid Compute ESU Profile properties" + }, + "productProfile": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/LicenseProfileArmProductProfileProperties", + "description": "Hybrid Compute Product Profile properties" + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The provisioning state, which only appears in the response." + } + }, + "description": "Describe the properties of a license profile." + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ], + "description": "Describes a license profile in a hybrid machine." + }, + "LicenseProfileUpdate": { + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "type": "object", + "properties": { + "softwareAssurance": { + "x-ms-client-flatten": true, + "type": "object", + "properties": { + "softwareAssuranceCustomer": { + "type": "boolean", + "description": "Specifies if this machine is licensed as part of a Software Assurance agreement." + } + } + }, + "esuProfile": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/EsuProfileUpdateProperties", + "description": "Hybrid Compute ESU Profile Update properties" + }, + "productProfile": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ProductProfileUpdateProperties", + "description": "Hybrid Compute Product Profile Update properties" + } + }, + "description": "Describe the Update properties of a license profile." + } + }, + "allOf": [ + { + "$ref": "#/definitions/ResourceUpdate" + } + ], + "description": "Describes a License Profile Update." + }, + "LicenseProfilesListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/LicenseProfile" + }, + "description": "The list of license profiles." + }, + "nextLink": { + "type": "string", + "description": "The URI to fetch the next page of Machines. Call ListNext() with this URI to fetch the next page of license profile." + } + }, + "required": [ + "value" + ], + "description": "The List hybrid machine license profile operation response." + }, + "EsuServerType": { + "type": "string", + "enum": [ + "Standard", + "Datacenter" + ], + "x-ms-enum": { + "name": "EsuServerType", + "modelAsString": true + }, + "description": "The server types for Esu." + }, + "EsuEligibility": { + "type": "string", + "enum": [ + "Eligible", + "Ineligible", + "Unknown" + ], + "x-ms-enum": { + "name": "EsuEligibility", + "modelAsString": true + }, + "description": "The ESU eligibility." + }, + "EsuKey": { + "type": "object", + "properties": { + "sku": { + "type": "string", + "description": "SKU number." + }, + "licenseStatus": { + "type": "integer", + "format": "int32", + "description": "The current status of the license profile key. Represented by the same integer value that is presented on the machine itself when querying the license key status." + } + }, + "description": "ESU key" + }, + "EsuKeyState": { + "type": "string", + "enum": [ + "Inactive", + "Active" + ], + "x-ms-enum": { + "name": "EsuKeyState", + "modelAsString": true + }, + "description": "The ESU key state." + }, + "LicenseProfileStorageModelEsuProperties": { + "type": "object", + "properties": { + "assignedLicenseImmutableId": { + "readOnly": true, + "type": "string", + "description": "The guid id of the license." + }, + "esuKeys": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "#/definitions/EsuKey" + }, + "description": "The list of ESU keys.", + "x-ms-identifiers": [] + } + }, + "description": "License profile storage model for ESU properties." + }, + "LicenseProfileArmEsuProperties": { + "type": "object", + "properties": { + "assignedLicense": { + "type": "string", + "description": "The resource id of the license." + } + }, + "allOf": [ + { + "$ref": "#/definitions/LicenseProfileArmEsuPropertiesWithoutAssignedLicense" + } + ], + "description": "Describes the properties of a License Profile ARM model." + }, + "LicenseProfileArmEsuPropertiesWithoutAssignedLicense": { + "type": "object", + "properties": { + "serverType": { + "readOnly": true, + "$ref": "#/definitions/EsuServerType", + "description": "The type of the Esu servers." + }, + "esuEligibility": { + "readOnly": true, + "$ref": "#/definitions/EsuEligibility", + "description": "Indicates the eligibility state of Esu." + }, + "esuKeyState": { + "readOnly": true, + "$ref": "#/definitions/EsuKeyState", + "description": "Indicates whether there is an ESU Key currently active for the machine." + } + }, + "allOf": [ + { + "$ref": "#/definitions/LicenseProfileStorageModelEsuProperties" + } + ], + "description": "Describes the properties of a License Profile ARM model." + }, + "EsuProfileUpdateProperties": { + "type": "object", + "properties": { + "assignedLicense": { + "type": "string", + "description": "The resource id of the license." + } + }, + "description": "Describes the Update properties of a ESU License Profile." + }, + "LicenseProfileSubscriptionStatusUpdate": { + "type": "string", + "enum": [ + "Enable", + "Disable" + ], + "x-ms-enum": { + "name": "LicenseProfileSubscriptionStatusUpdate", + "modelAsString": true + }, + "description": "Indicates the new subscription status of the OS or Product Features." + }, + "ProductFeatureUpdate": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Product feature name." + }, + "subscriptionStatus": { + "$ref": "#/definitions/LicenseProfileSubscriptionStatusUpdate", + "description": "Indicates the new status of the product feature." + } + }, + "description": "Product Feature" + }, + "ProductProfileUpdateProperties": { + "type": "object", + "properties": { + "subscriptionStatus": { + "$ref": "#/definitions/LicenseProfileSubscriptionStatusUpdate", + "description": "Indicates the subscription status of the product." + }, + "productType": { + "$ref": "#/definitions/LicenseProfileProductType", + "description": "Indicates the product type of the license." + }, + "productFeatures": { + "type": "array", + "items": { + "$ref": "#/definitions/ProductFeatureUpdate" + }, + "description": "The list of product feature updates.", + "x-ms-identifiers": [] + } + }, + "description": "Describes the Update properties of a Product Profile." + }, + "LicenseProfileMachineInstanceView": { + "type": "object", + "properties": { + "licenseStatus": { + "$ref": "#/definitions/LicenseStatus", + "description": "Indicates the license status of the OS." + }, + "licenseChannel": { + "readOnly": true, + "type": "string", + "description": "Indicates the license channel." + }, + "softwareAssurance": { + "x-ms-client-flatten": true, + "type": "object", + "readOnly": true, + "properties": { + "softwareAssuranceCustomer": { + "type": "boolean", + "description": "Specifies if this machine is licensed as part of a Software Assurance agreement." + } + } + }, + "esuProfile": { + "$ref": "#/definitions/LicenseProfileMachineInstanceViewEsuProperties" + }, + "productProfile": { + "x-ms-client-flatten": true, + "readOnly": true, + "$ref": "#/definitions/LicenseProfileArmProductProfileProperties", + "description": "Hybrid Compute Product Profile properties" + } + }, + "description": "License Profile Instance View in Machine Properties." + }, + "LicenseProfileMachineInstanceViewEsuProperties": { + "type": "object", + "properties": { + "assignedLicense": { + "$ref": "#/definitions/License", + "description": "The assigned license resource." + }, + "licenseAssignmentState": { + "type": "string", + "enum": [ + "Assigned", + "NotAssigned" + ], + "description": "Describes the license assignment state (Assigned or NotAssigned).", + "x-ms-enum": { + "name": "licenseAssignmentState", + "modelAsString": true + } + } + }, + "allOf": [ + { + "$ref": "#/definitions/LicenseProfileArmEsuPropertiesWithoutAssignedLicense" + } + ], + "description": "Properties for the Machine ESU profile." + }, + "LicenseStatus": { + "readOnly": true, + "type": "string", + "enum": [ + "Unlicensed", + "Licensed", + "OOBGrace", + "OOTGrace", + "NonGenuineGrace", + "Notification", + "ExtendedGrace" + ], + "x-ms-enum": { + "name": "LicenseStatus", + "modelAsString": true + }, + "description": "The license status." + }, + "LicenseProfileSubscriptionStatus": { + "type": "string", + "enum": [ + "Unknown", + "Enabling", + "Enabled", + "Disabled", + "Disabling", + "Failed" + ], + "x-ms-enum": { + "name": "LicenseProfileSubscriptionStatus", + "modelAsString": true + }, + "description": "Subscription status of the OS or Product feature." + }, + "LicenseProfileProductType": { + "type": "string", + "enum": [ + "WindowsServer", + "WindowsIoTEnterprise" + ], + "x-ms-enum": { + "name": "LicenseProfileProductType", + "modelAsString": true + }, + "description": "The product type of the license." + }, + "ProductFeature": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Product feature name." + }, + "subscriptionStatus": { + "$ref": "#/definitions/LicenseProfileSubscriptionStatus", + "description": "Indicates the current status of the product features." + }, + "enrollmentDate": { + "type": "string", + "readOnly": true, + "format": "date-time", + "description": "The timestamp in UTC when the user enrolls the feature." + }, + "billingStartDate": { + "type": "string", + "readOnly": true, + "format": "date-time", + "description": "The timestamp in UTC when the billing starts." + }, + "disenrollmentDate": { + "type": "string", + "readOnly": true, + "format": "date-time", + "description": "The timestamp in UTC when the user disenrolled the feature." + }, + "billingEndDate": { + "type": "string", + "readOnly": true, + "format": "date-time", + "description": "The timestamp in UTC when the billing ends." + }, + "error": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorDetail", + "readOnly": true, + "description": "The errors that were encountered during the feature enrollment or disenrollment." + } + }, + "description": "Product Feature" + }, + "LicenseProfileArmProductProfileProperties": { + "type": "object", + "properties": { + "subscriptionStatus": { + "$ref": "#/definitions/LicenseProfileSubscriptionStatus", + "description": "Indicates the subscription status of the product." + }, + "productType": { + "$ref": "#/definitions/LicenseProfileProductType", + "description": "Indicates the product type of the license." + }, + "enrollmentDate": { + "type": "string", + "readOnly": true, + "format": "date-time", + "description": "The timestamp in UTC when the user enrolls the feature." + }, + "billingStartDate": { + "type": "string", + "readOnly": true, + "format": "date-time", + "description": "The timestamp in UTC when the billing starts." + }, + "disenrollmentDate": { + "type": "string", + "readOnly": true, + "format": "date-time", + "description": "The timestamp in UTC when the user disenrolled the feature." + }, + "billingEndDate": { + "type": "string", + "readOnly": true, + "format": "date-time", + "description": "The timestamp in UTC when the billing ends." + }, + "error": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorDetail", + "readOnly": true, + "description": "The errors that were encountered during the feature enrollment or disenrollment." + }, + "productFeatures": { + "type": "array", + "items": { + "$ref": "#/definitions/ProductFeature" + }, + "description": "The list of product features.", + "x-ms-identifiers": [] + } + }, + "description": "Describes the properties of a Product License Profile ARM model." + }, + "HotpatchEnablementStatus": { + "type": "string", + "enum": [ + "Unknown", + "PendingEvaluation", + "Disabled", + "ActionRequired", + "Enabled" + ], + "x-ms-enum": { + "name": "HotpatchEnablementStatus", + "modelAsString": true + }, + "description": "Status of hotpatch enablement or disablement." + }, + "ResourceUpdate": { + "type": "object", + "description": "The Update Resource model definition.", + "properties": { + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags" + } + } + }, + "MachineExtension": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/MachineExtensionProperties", + "description": "Describes Machine Extension Properties." + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ], + "description": "Describes a Machine Extension." + }, + "MachineExtensionUpdate": { + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/MachineExtensionUpdateProperties", + "description": "Describes Machine Extension Update Properties." + } + }, + "allOf": [ + { + "$ref": "#/definitions/ResourceUpdate" + } + ], + "description": "Describes a Machine Extension Update." + }, + "MachineExtensionProperties": { + "type": "object", + "properties": { + "forceUpdateTag": { + "type": "string", + "description": "How the extension handler should be forced to update even if the extension configuration has not changed." + }, + "publisher": { + "type": "string", + "description": "The name of the extension handler publisher." + }, + "type": { + "type": "string", + "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\"." + }, + "typeHandlerVersion": { + "type": "string", + "description": "Specifies the version of the script handler." + }, + "enableAutomaticUpgrade": { + "type": "boolean", + "description": "Indicates whether the extension should be automatically upgraded by the platform if there is a newer version available." + }, + "autoUpgradeMinorVersion": { + "type": "boolean", + "description": "Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true." + }, + "settings": { + "type": "object", + "additionalProperties": {}, + "description": "Json formatted public settings for the extension." + }, + "protectedSettings": { + "type": "object", + "additionalProperties": {}, + "description": "The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all." + }, + "provisioningState": { + "readOnly": true, + "type": "string", + "description": "The provisioning state, which only appears in the response." + }, + "instanceView": { + "$ref": "#/definitions/MachineExtensionInstanceView", + "description": "The machine extension instance view." + } + }, + "description": "Describes the properties of a Machine Extension." + }, + "MachineExtensionUpdateProperties": { + "type": "object", + "properties": { + "forceUpdateTag": { + "type": "string", + "description": "How the extension handler should be forced to update even if the extension configuration has not changed." + }, + "publisher": { + "type": "string", + "description": "The name of the extension handler publisher." + }, + "type": { + "type": "string", + "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\"." + }, + "typeHandlerVersion": { + "type": "string", + "description": "Specifies the version of the script handler." + }, + "enableAutomaticUpgrade": { + "type": "boolean", + "description": "Indicates whether the extension should be automatically upgraded by the platform if there is a newer version available." + }, + "autoUpgradeMinorVersion": { + "type": "boolean", + "description": "Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true." + }, + "settings": { + "type": "object", + "additionalProperties": {}, + "description": "Json formatted public settings for the extension." + }, + "protectedSettings": { + "type": "object", + "additionalProperties": {}, + "description": "The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all." + } + }, + "description": "Describes the properties of a Machine Extension." + }, + "MachineExtensionInstanceView": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The machine extension name." + }, + "type": { + "type": "string", + "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\"." + }, + "typeHandlerVersion": { + "type": "string", + "description": "Specifies the version of the script handler." + }, + "status": { + "type": "object", + "properties": { + "code": { + "type": "string", + "description": "The status code." + }, + "level": { + "type": "string", + "description": "The level code.", + "enum": [ + "Info", + "Warning", + "Error" + ], + "x-ms-enum": { + "name": "StatusLevelTypes", + "modelAsString": true + } + }, + "displayStatus": { + "type": "string", + "description": "The short localizable label for the status." + }, + "message": { + "type": "string", + "description": "The detailed status message, including for alerts and error messages." + }, + "time": { + "type": "string", + "format": "date-time", + "description": "The time of the status." + } + }, + "description": "Instance view status." + } + }, + "description": "Describes the Machine Extension Instance View." + }, + "MachineExtensionsListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/MachineExtension" + }, + "description": "The list of extensions" + }, + "nextLink": { + "type": "string", + "description": "The uri to fetch the next page of machine extensions. Call ListNext() with this to fetch the next page of extensions." + } + }, + "description": "Describes the Machine Extensions List Result." + }, + "TargetVersion": { + "type": "string", + "description": "Extension Upgrade Target Version." + }, + "ExtensionTargetProperties": { + "type": "object", + "properties": { + "targetVersion": { + "type": "object", + "$ref": "#/definitions/TargetVersion", + "description": "Properties for the specified Extension to Upgrade." + } + }, + "description": "Describes the Machine Extension Target Version Properties" + }, + "ExtensionTarget": { + "type": "object", + "additionalProperties": { + "type": "object", + "$ref": "#/definitions/ExtensionTargetProperties" + }, + "description": "Describes the Machine Extension Target Properties" + }, + "MachineExtensionUpgrade": { + "type": "object", + "properties": { + "extensionTargets": { + "$ref": "#/definitions/ExtensionTarget", + "description": "Describes the Extension Target Properties." + } + }, + "description": "Describes the Machine Extension Upgrade Properties." + }, + "NetworkProfile": { + "type": "object", + "readOnly": true, + "properties": { + "networkInterfaces": { + "type": "array", + "items": { + "$ref": "#/definitions/NetworkInterface" + }, + "description": "The list of network interfaces.", + "x-ms-identifiers": [] + } + }, + "description": "Describes the network information on this machine." + }, + "NetworkInterface": { + "type": "object", + "readOnly": true, + "properties": { + "macAddress": { + "type": "string", + "description": "Represents MAC address of the network interface." + }, + "id": { + "type": "string", + "description": "Represents the ID of the network interface." + }, + "name": { + "type": "string", + "description": "Represents the name of the network interface." + }, + "ipAddresses": { + "type": "array", + "items": { + "$ref": "#/definitions/IpAddress" + }, + "description": "The list of IP addresses in this interface.", + "x-ms-identifiers": [] + } + }, + "description": "Describes a network interface." + }, + "IpAddress": { + "type": "object", + "readOnly": true, + "properties": { + "address": { + "type": "string", + "description": "Represents the IP Address." + }, + "ipAddressVersion": { + "type": "string", + "description": "Represents the Ip Address Version." + }, + "subnet": { + "type": "object", + "$ref": "#/definitions/Subnet", + "description": "The subnet to which this IP address belongs." + } + }, + "description": "Describes properties of the IP address." + }, + "Subnet": { + "type": "object", + "readOnly": true, + "properties": { + "addressPrefix": { + "type": "string", + "description": "Represents address prefix." + } + }, + "description": "Describes the subnet." + }, + "HybridIdentityMetadataList": { + "description": "List of HybridIdentityMetadata.", + "type": "object", + "properties": { + "nextLink": { + "description": "Url to follow for getting next page of HybridIdentityMetadata.", + "type": "string" + }, + "value": { + "description": "Array of HybridIdentityMetadata", + "type": "array", + "items": { + "$ref": "#/definitions/HybridIdentityMetadata" + } + } + }, + "required": [ + "value" + ] + }, + "HybridIdentityMetadata": { + "description": "Defines the HybridIdentityMetadata.", + "required": [ + "properties" + ], + "type": "object", + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource", + "description": "The resource model definition for an Azure Resource Manager proxy resource. It will have everything other than required location and tags." + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "description": "Resource properties.", + "$ref": "#/definitions/HybridIdentityMetadataProperties" + }, + "systemData": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/systemData", + "description": "The system data." + } + }, + "x-ms-azure-resource": true + }, + "HybridIdentityMetadataProperties": { + "description": "Defines the resource properties.", + "type": "object", + "properties": { + "vmId": { + "description": "The unique identifier for the resource.", + "type": "string" + }, + "publicKey": { + "description": "The Public Key.", + "type": "string" + }, + "identity": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/Identity", + "readOnly": true + } + } + }, + "AgentVersionsList": { + "type": "object", + "readOnly": true, + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/AgentVersion" + }, + "description": "The list of available Agent Versions.", + "x-ms-identifiers": [ + "agentVersion" + ] + }, + "nextLink": { + "type": "string", + "description": "The URI to fetch the next 10 available Agent Versions." + } + }, + "description": "Describes AgentVersions List." + }, + "AgentVersion": { + "type": "object", + "readOnly": true, + "properties": { + "agentVersion": { + "type": "string", + "description": "Represents the agent version." + }, + "downloadLink": { + "type": "string", + "description": "Represents the download link of specific agent version." + }, + "osType": { + "type": "string", + "description": "Defines the os type." + } + }, + "description": "Describes properties of Agent Version." + }, + "MachineAssessPatchesResult": { + "type": "object", + "properties": { + "status": { + "type": "string", + "readOnly": true, + "description": "The overall success or failure status of the operation. It remains \"InProgress\" until the operation completes. At that point it will become \"Unknown\", \"Failed\", \"Succeeded\", or \"CompletedWithWarnings.\"", + "enum": [ + "Unknown", + "InProgress", + "Failed", + "Succeeded", + "CompletedWithWarnings" + ], + "x-ms-enum": { + "name": "PatchOperationStatus", + "modelAsString": true + } + }, + "assessmentActivityId": { + "type": "string", + "readOnly": true, + "description": "The activity ID of the operation that produced this result." + }, + "rebootPending": { + "type": "boolean", + "readOnly": true, + "description": "The overall reboot status of the VM. It will be true when partially installed patches require a reboot to complete installation but the reboot has not yet occurred." + }, + "availablePatchCountByClassification": { + "$ref": "#/definitions/AvailablePatchCountByClassification", + "description": "Summarization of patches available for installation on the machine by classification." + }, + "startDateTime": { + "type": "string", + "readOnly": true, + "format": "date-time", + "description": "The UTC timestamp when the operation began." + }, + "lastModifiedDateTime": { + "type": "string", + "readOnly": true, + "format": "date-time", + "description": "The UTC timestamp when the operation finished." + }, + "startedBy": { + "type": "string", + "readOnly": true, + "enum": [ + "User", + "Platform" + ], + "x-ms-enum": { + "name": "PatchOperationStartedBy", + "modelAsString": true + }, + "description": "Indicates if operation was triggered by user or by platform." + }, + "patchServiceUsed": { + "type": "string", + "readOnly": true, + "enum": [ + "Unknown", + "WU", + "WU_WSUS", + "YUM", + "APT", + "Zypper" + ], + "x-ms-enum": { + "name": "PatchServiceUsed", + "modelAsString": true + }, + "description": "Specifies the patch service used for the operation." + }, + "osType": { + "type": "string", + "readOnly": true, + "enum": [ + "Windows", + "Linux" + ], + "x-ms-enum": { + "name": "OsType", + "modelAsString": true + }, + "description": "The operating system type of the machine." + }, + "errorDetails": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorDetail", + "readOnly": true, + "description": "The errors that were encountered during execution of the operation. The details array contains the list of them." + } + }, + "description": "Describes the properties of an AssessPatches result." + }, + "AvailablePatchCountByClassification": { + "type": "object", + "properties": { + "security": { + "readOnly": true, + "type": "integer", + "format": "int32", + "description": "Number of security patches available for installation." + }, + "critical": { + "readOnly": true, + "type": "integer", + "format": "int32", + "description": "Number of critical patches available for installation." + }, + "definition": { + "readOnly": true, + "type": "integer", + "format": "int32", + "description": "Number of definition patches available for installation." + }, + "updateRollup": { + "readOnly": true, + "type": "integer", + "format": "int32", + "description": "Number of update Rollup patches available for installation." + }, + "featurePack": { + "readOnly": true, + "type": "integer", + "format": "int32", + "description": "Number of feature pack patches available for installation." + }, + "servicePack": { + "readOnly": true, + "type": "integer", + "format": "int32", + "description": "Number of service pack patches available for installation." + }, + "tools": { + "readOnly": true, + "type": "integer", + "format": "int32", + "description": "Number of tools patches available for installation." + }, + "updates": { + "readOnly": true, + "type": "integer", + "format": "int32", + "description": "Number of updates category patches available for installation." + }, + "other": { + "readOnly": true, + "type": "integer", + "format": "int32", + "description": "Number of other patches available for installation." + } + }, + "description": "Summarization of patches available for installation on the machine by classification." + }, + "MachineInstallPatchesParameters": { + "type": "object", + "properties": { + "maximumDuration": { + "type": "string", + "description": "Specifies the maximum amount of time that the operation will run. It must be an ISO 8601-compliant duration string such as PT4H (4 hours)" + }, + "rebootSetting": { + "type": "string", + "description": "Defines when it is acceptable to reboot a VM during a software update operation.", + "enum": [ + "IfRequired", + "Never", + "Always" + ], + "x-ms-enum": { + "name": "VMGuestPatchRebootSetting", + "modelAsString": true + } + }, + "windowsParameters": { + "$ref": "#/definitions/WindowsParameters", + "description": "Input for InstallPatches on a Windows VM, as directly received by the API" + }, + "linuxParameters": { + "$ref": "#/definitions/LinuxParameters", + "description": "Input for InstallPatches on a Linux VM, as directly received by the API" + } + }, + "required": [ + "maximumDuration", + "rebootSetting" + ], + "description": "Input for InstallPatches as directly received by the API" + }, + "WindowsParameters": { + "type": "object", + "properties": { + "classificationsToInclude": { + "type": "array", + "description": "The update classifications to select when installing patches for Windows.", + "items": { + "type": "string", + "enum": [ + "Critical", + "Security", + "UpdateRollUp", + "FeaturePack", + "ServicePack", + "Definition", + "Tools", + "Updates" + ], + "x-ms-enum": { + "name": "VMGuestPatchClassification_Windows", + "modelAsString": true + } + } + }, + "kbNumbersToInclude": { + "type": "array", + "description": "Kbs to include in the patch operation", + "items": { + "type": "string" + } + }, + "kbNumbersToExclude": { + "type": "array", + "description": "Kbs to exclude in the patch operation", + "items": { + "type": "string" + } + }, + "excludeKbsRequiringReboot": { + "type": "boolean", + "description": "Filters out Kbs that don't have an InstallationRebootBehavior of 'NeverReboots' when this is set to true." + }, + "maxPatchPublishDate": { + "type": "string", + "format": "date-time", + "description": "This is used to install patches that were published on or before this given max published date." + }, + "patchNameMasksToInclude": { + "type": "array", + "description": "This is used to include patches that match the given patch name masks. Alphanumeric strings and wildcard expressions consisting of * and ? are only supported as input values in the list. Null, empty and only whitespaces strings as inputs values are not supported.", + "items": { + "type": "string" + } + }, + "patchNameMasksToExclude": { + "type": "array", + "description": "This is used to exclude patches that match the given patch name masks. Alphanumeric strings and wildcard expressions consisting of * and ? are only supported as input values in the list. Null, empty and only whitespaces strings as inputs values are not supported.", + "items": { + "type": "string" + } + } + }, + "description": "Input for InstallPatches on a Windows VM, as directly received by the API" + }, + "LinuxParameters": { + "type": "object", + "properties": { + "classificationsToInclude": { + "type": "array", + "description": "The update classifications to select when installing patches for Linux.", + "items": { + "type": "string", + "enum": [ + "Critical", + "Security", + "Other" + ], + "x-ms-enum": { + "name": "VMGuestPatchClassification_Linux", + "modelAsString": true + } + } + }, + "packageNameMasksToInclude": { + "type": "array", + "description": "packages to include in the patch operation. Format: packageName_packageVersion", + "items": { + "type": "string" + } + }, + "packageNameMasksToExclude": { + "type": "array", + "description": "packages to exclude in the patch operation. Format: packageName_packageVersion", + "items": { + "type": "string" + } + } + }, + "description": "Input for InstallPatches on a Linux VM, as directly received by the API" + }, + "MachineInstallPatchesResult": { + "type": "object", + "properties": { + "status": { + "type": "string", + "readOnly": true, + "description": "The overall success or failure status of the operation. It remains \"InProgress\" until the operation completes. At that point it will become \"Failed\", \"Succeeded\", \"Unknown\" or \"CompletedWithWarnings.\"", + "enum": [ + "Unknown", + "InProgress", + "Failed", + "Succeeded", + "CompletedWithWarnings" + ], + "x-ms-enum": { + "name": "PatchOperationStatus", + "modelAsString": true + } + }, + "installationActivityId": { + "type": "string", + "readOnly": true, + "description": "The activity ID of the operation that produced this result." + }, + "rebootStatus": { + "type": "string", + "readOnly": true, + "description": "The reboot state of the VM following completion of the operation.", + "enum": [ + "Unknown", + "NotNeeded", + "Required", + "Started", + "Failed", + "Completed" + ], + "x-ms-enum": { + "name": "VMGuestPatchRebootStatus", + "modelAsString": true + } + }, + "maintenanceWindowExceeded": { + "type": "boolean", + "readOnly": true, + "description": "Whether the operation ran out of time before it completed all its intended actions." + }, + "excludedPatchCount": { + "type": "integer", + "readOnly": true, + "format": "int32", + "description": "The number of patches that were not installed due to the user blocking their installation." + }, + "notSelectedPatchCount": { + "type": "integer", + "readOnly": true, + "format": "int32", + "description": "The number of patches that were detected as available for install, but did not meet the operation's criteria." + }, + "pendingPatchCount": { + "type": "integer", + "readOnly": true, + "format": "int32", + "description": "The number of patches that were identified as meeting the installation criteria, but were not able to be installed. Typically this happens when maintenanceWindowExceeded == true." + }, + "installedPatchCount": { + "type": "integer", + "readOnly": true, + "format": "int32", + "description": "The number of patches successfully installed." + }, + "failedPatchCount": { + "type": "integer", + "readOnly": true, + "format": "int32", + "description": "The number of patches that could not be installed due to some issue. See errors for details." + }, + "startDateTime": { + "type": "string", + "readOnly": true, + "format": "date-time", + "description": "The UTC timestamp when the operation began." + }, + "lastModifiedDateTime": { + "type": "string", + "readOnly": true, + "format": "date-time", + "description": "The UTC timestamp when the operation finished." + }, + "startedBy": { + "type": "string", + "readOnly": true, + "enum": [ + "User", + "Platform" + ], + "x-ms-enum": { + "name": "PatchOperationStartedBy", + "modelAsString": true + }, + "description": "Indicates if operation was triggered by user or by platform." + }, + "patchServiceUsed": { + "type": "string", + "readOnly": true, + "enum": [ + "Unknown", + "WU", + "WU_WSUS", + "YUM", + "APT", + "Zypper" + ], + "x-ms-enum": { + "name": "PatchServiceUsed", + "modelAsString": true + }, + "description": "Specifies the patch service used for the operation." + }, + "osType": { + "type": "string", + "readOnly": true, + "enum": [ + "Windows", + "Linux" + ], + "x-ms-enum": { + "name": "OsType", + "modelAsString": true + }, + "description": "The operating system type of the machine." + }, + "errorDetails": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorDetail", + "readOnly": true, + "description": "The errors that were encountered during execution of the operation. The details array contains the list of them." + } + }, + "description": "The result summary of an installation operation." + }, + "MachineRunCommand": { + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/MachineRunCommandProperties", + "description": "Describes Run Command Properties" + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ], + "description": "Describes a Run Command" + }, + "MachineRunCommandProperties": { + "type": "object", + "properties": { + "source": { + "$ref": "#/definitions/MachineRunCommandScriptSource", + "description": "The source of the run command script." + }, + "parameters": { + "type": "array", + "items": { + "$ref": "#/definitions/RunCommandInputParameter" + }, + "x-ms-identifiers": [ + "name" + ], + "description": "The parameters used by the script." + }, + "protectedParameters": { + "type": "array", + "items": { + "$ref": "#/definitions/RunCommandInputParameter" + }, + "x-ms-identifiers": [ + "name" + ], + "description": "The parameters used by the script." + }, + "asyncExecution": { + "type": "boolean", + "default": false, + "description": "Optional. If set to true, provisioning will complete as soon as script starts and will not wait for script to complete." + }, + "runAsUser": { + "type": "string", + "description": "Specifies the user account on the machine when executing the run command." + }, + "runAsPassword": { + "type": "string", + "description": "Specifies the user account password on the machine when executing the run command.", + "x-ms-secret": true + }, + "timeoutInSeconds": { + "type": "integer", + "format": "int32", + "description": "The timeout in seconds to execute the run command." + }, + "outputBlobUri": { + "type": "string", + "description": "Specifies the Azure storage blob where script output stream will be uploaded. Use a SAS URI with read, append, create, write access OR use managed identity to provide the VM access to the blob. Refer outputBlobManagedIdentity parameter. " + }, + "errorBlobUri": { + "type": "string", + "description": "Specifies the Azure storage blob where script error stream will be uploaded. Use a SAS URI with read, append, create, write access OR use managed identity to provide the VM access to the blob. Refer errorBlobManagedIdentity parameter." + }, + "outputBlobManagedIdentity": { + "$ref": "#/definitions/RunCommandManagedIdentity", + "description": "User-assigned managed identity that has access to outputBlobUri storage blob. Use an empty object in case of system-assigned identity. Make sure managed identity has been given access to blob's container with 'Storage Blob Data Contributor' role assignment. In case of user-assigned identity, make sure you add it under VM's identity. For more info on managed identity and Run Command, refer https://aka.ms/ManagedIdentity and https://aka.ms/RunCommandManaged " + }, + "errorBlobManagedIdentity": { + "$ref": "#/definitions/RunCommandManagedIdentity", + "description": "User-assigned managed identity that has access to errorBlobUri storage blob. Use an empty object in case of system-assigned identity. Make sure managed identity has been given access to blob's container with 'Storage Blob Data Contributor' role assignment. In case of user-assigned identity, make sure you add it under VM's identity. For more info on managed identity and Run Command, refer https://aka.ms/ManagedIdentity and https://aka.ms/RunCommandManaged " + }, + "provisioningState": { + "readOnly": true, + "type": "string", + "description": "The provisioning state, which only appears in the response." + }, + "instanceView": { + "readOnly": true, + "$ref": "#/definitions/MachineRunCommandInstanceView", + "description": "The machine run command instance view." + } + }, + "description": "Describes the properties of a run command." + }, + "MachineRunCommandScriptSource": { + "type": "object", + "properties": { + "script": { + "type": "string", + "description": "Specifies the script content to be executed on the machine." + }, + "scriptUri": { + "type": "string", + "description": "Specifies the script download location. It can be either SAS URI of an Azure storage blob with read access or public URI." + }, + "commandId": { + "type": "string", + "description": "Specifies the commandId of predefined built-in script." + }, + "scriptUriManagedIdentity": { + "$ref": "#/definitions/RunCommandManagedIdentity", + "description": "User-assigned managed identity that has access to scriptUri in case of Azure storage blob. Use an empty object in case of system-assigned identity. Make sure the Azure storage blob exists, and managed identity has been given access to blob's container with 'Storage Blob Data Reader' role assignment. In case of user-assigned identity, make sure you add it under VM's identity. For more info on managed identity and Run Command, refer https://aka.ms/ManagedIdentity and https://aka.ms/RunCommandManaged." + } + }, + "description": "Describes the script sources for run command. Use only one of script, scriptUri, commandId." + }, + "MachineRunCommandInstanceView": { + "type": "object", + "properties": { + "executionState": { + "type": "string", + "description": "Script execution status.", + "enum": [ + "Unknown", + "Pending", + "Running", + "Failed", + "Succeeded", + "TimedOut", + "Canceled" + ], + "x-ms-enum": { + "name": "ExecutionState", + "modelAsString": true + } + }, + "executionMessage": { + "type": "string", + "description": "Communicate script configuration errors or execution messages." + }, + "exitCode": { + "type": "integer", + "format": "int32", + "description": "Exit code returned from script execution." + }, + "output": { + "type": "string", + "description": "Script output stream." + }, + "error": { + "type": "string", + "description": "Script error stream." + }, + "startTime": { + "type": "string", + "format": "date-time", + "description": "Script start time." + }, + "endTime": { + "type": "string", + "format": "date-time", + "description": "Script end time." + }, + "statuses": { + "type": "array", + "items": { + "$ref": "#/definitions/ExtensionsResourceStatus" + }, + "x-ms-identifiers": [], + "description": "The status information." + } + }, + "description": "The instance view of a machine run command." + }, + "MachineRunCommandsListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/MachineRunCommand" + }, + "description": "The list of run commands" + }, + "nextLink": { + "type": "string", + "description": "The uri to fetch the next page of run commands. Call ListNext() with this to fetch the next page of run commands." + } + }, + "description": "Describes the Run Commands List Result." + }, + "MachineRunCommandUpdate": { + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ResourceUpdate" + } + ], + "description": "Describes a Machine Extension Update." + }, + "RunCommandInputParameter": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The run command parameter name." + }, + "value": { + "type": "string", + "description": "The run command parameter value." + } + }, + "required": [ + "name", + "value" + ], + "description": "Describes the properties of a run command parameter." + }, + "RunCommandManagedIdentity": { + "type": "object", + "properties": { + "clientId": { + "type": "string", + "description": "Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided." + }, + "objectId": { + "type": "string", + "description": "Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided." + } + }, + "description": " Contains clientId or objectId (use only one, not both) of a user-assigned managed identity that has access to storage blob used in Run Command. Use an empty RunCommandManagedIdentity object in case of system-assigned identity. Make sure the Azure storage blob exists in case of scriptUri, and managed identity has been given access to blob's container with 'Storage Blob Data Reader' role assignment with scriptUri blob and 'Storage Blob Data Contributor' for Append blobs(outputBlobUri, errorBlobUri). In case of user assigned identity, make sure you add it under VM's identity. For more info on managed identity and Run Command, refer https://aka.ms/ManagedIdentity and https://aka.ms/RunCommandManaged." + }, + "ExtensionsResourceStatus": { + "properties": { + "code": { + "type": "string", + "description": "The status code." + }, + "level": { + "type": "string", + "description": "The level code.", + "enum": [ + "Info", + "Warning", + "Error" + ], + "x-ms-enum": { + "name": "ExtensionsStatusLevelTypes", + "modelAsString": false + } + }, + "displayStatus": { + "type": "string", + "description": "The short localizable label for the status." + }, + "message": { + "type": "string", + "description": "The detailed status message, including for alerts and error messages." + }, + "time": { + "type": "string", + "format": "date-time", + "description": "The time of the status." + } + }, + "type": "object", + "description": "Instance view status." + }, + "Gateway": { + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/GatewayProperties", + "description": "Hybrid Compute Gateway properties" + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ], + "description": "Describes an Arc Gateway." + }, + "GatewayProperties": { + "type": "object", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The provisioning state, which only appears in the response.", + "readOnly": true + }, + "gatewayId": { + "type": "string", + "description": "A unique, immutable, identifier for the Gateway.", + "readOnly": true + }, + "gatewayType": { + "$ref": "#/definitions/GatewayType", + "description": "The type of the Gateway resource." + }, + "gatewayEndpoint": { + "type": "string", + "description": "The endpoint fqdn for the Gateway.", + "readOnly": true + }, + "allowedFeatures": { + "type": "array", + "description": "Specifies the list of features that are enabled for this Gateway.", + "items": { + "type": "string" + } + } + }, + "description": "Describes the properties of a Gateway Profile." + }, + "GatewayType": { + "type": "string", + "enum": [ + "Public" + ], + "x-ms-enum": { + "name": "GatewayType", + "modelAsString": true + }, + "description": "The type of the Gateway resource." + }, + "GatewayUpdate": { + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/GatewayUpdateProperties", + "description": "Gateway Update properties" + } + }, + "allOf": [ + { + "$ref": "#/definitions/ResourceUpdate" + } + ], + "description": "Describes a License Update." + }, + "GatewayUpdateProperties": { + "type": "object", + "properties": { + "allowedFeatures": { + "type": "array", + "description": "Specifies the list of features that are enabled for this Gateway.", + "items": { + "type": "string" + } + } + }, + "description": "Describes the Update properties of a Gateway Profile." + }, + "GatewaysListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Gateway" + }, + "description": "The list of Gateways." + }, + "nextLink": { + "type": "string", + "description": "The URI to fetch the next page of Gateways. Call ListNext() with this URI to fetch the next page of Gateways." + } + }, + "required": [ + "value" + ], + "description": "The List license operation response." + }, + "Settings": { + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/SettingsProperties" + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ] + }, + "SettingsProperties": { + "type": "object", + "description": "Settings properties", + "properties": { + "tenantId": { + "type": "string", + "readOnly": true, + "description": "Azure resource tenant Id" + }, + "gatewayProperties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/SettingsGatewayProperties" + } + } + }, + "SettingsGatewayProperties": { + "type": "object", + "description": "Settings Gateway properties", + "properties": { + "gatewayResourceId": { + "type": "string", + "description": "Associated Gateway Resource Id", + "format": "arm-id", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.HybridCompute/gateways" + } + ] + } + } + } + }, + "SetupExtensionRequest": { + "type": "object", + "properties": { + "extensions": { + "type": "array", + "items": { + "$ref": "#/definitions/MachineExtensionProperties" + }, + "description": "The list of extensions" + } + } + } + }, + "parameters": { + "machineNameParameter": { + "name": "machineName", + "in": "path", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9-_\\.]+", + "description": "The name of the hybrid machine.", + "x-ms-parameter-location": "method" + }, + "licenseProfileNameParameter": { + "name": "licenseProfileName", + "in": "path", + "description": "The name of the license profile.", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9-_\\.]+", + "enum": [ + "default" + ], + "x-ms-parameter-location": "method", + "x-ms-enum": { + "name": "LicenseProfileName", + "modelAsString": false + } + }, + "licenseNameParameter": { + "name": "licenseName", + "in": "path", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9-_\\.]+", + "description": "The name of the license.", + "x-ms-parameter-location": "method" + }, + "gatewayNameParameter": { + "name": "gatewayName", + "in": "path", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9-_\\.]+", + "description": "The name of the Gateway.", + "x-ms-parameter-location": "method" + }, + "runCommandNameParameter": { + "name": "runCommandName", + "in": "path", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9-_\\.]+", + "description": "The name of the run command.", + "x-ms-parameter-location": "method" + }, + "baseProviderParameter": { + "name": "baseProvider", + "in": "path", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9-_\\.]+", + "description": "The name of the base Resource Provider.", + "x-ms-parameter-location": "method" + }, + "baseResourceTypeParameter": { + "name": "baseResourceType", + "in": "path", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9-_\\.]+", + "description": "The name of the base Resource Type.", + "x-ms-parameter-location": "method" + }, + "baseResourceNameParameter": { + "name": "baseResourceName", + "in": "path", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9-_\\.]+", + "description": "The name of the base resource.", + "x-ms-parameter-location": "method" + }, + "settingsResourceNameParameter": { + "name": "settingsResourceName", + "in": "path", + "required": true, + "type": "string", + "pattern": "default", + "description": "The name of the settings resource.", + "x-ms-parameter-location": "method" + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/AgentVersion_GetLatest.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/AgentVersion_GetLatest.json new file mode 100644 index 000000000000..6aed4e6b93e1 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/AgentVersion_GetLatest.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "osType": "myOsType", + "version": "1.27", + "api-version": "2025-08-21-preview" + }, + "responses": { + "200": { + "body": { + "agentVersion": "1.27", + "downloadLink": "https://download.microsoft.com/download/8/4/5/845d5e04-bb09-4ed2-9ca8-bb51184cddc9/AzureConnectedMachineAgent.msi", + "osType": "myOsType" + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/AgentVersions_Get.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/AgentVersions_Get.json new file mode 100644 index 000000000000..1769e4427b41 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/AgentVersions_Get.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "osType": "myOsType", + "api-version": "2025-08-21-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "agentVersion": "1.26", + "downloadLink": "https://download.microsoft.com/download/8/4/5/845d5e04-bb09-4ed2-9ca8-bb51184cddc9/AzureConnectedMachineAgent.msi", + "osType": "myOsType" + }, + { + "agentVersion": "1.27", + "downloadLink": "https://download.microsoft.com/download/8/4/5/845d5e04-bb09-4ed2-9ca8-bb51184cddc9/AzureConnectedMachineAgent.msi", + "osType": "myOsType" + } + ] + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/HybridIdentityMetadata_Get.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/HybridIdentityMetadata_Get.json new file mode 100644 index 000000000000..351e15729545 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/HybridIdentityMetadata_Get.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "api-version": "2025-08-21-preview", + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "testrg", + "machineName": "ContosoVm", + "metadataName": "default" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.HybridCompute/machines/ContosoVm/hybridIdentityMetadata/default", + "name": "testItem", + "type": "Microsoft.HybridCompute/machines/hybridIdentityMetadata", + "properties": { + "vmId": "f8b82dff-38ef-4220-99ef-d3a3f86ddc6c", + "publicKey": "8ec7d60c-9700-40b1-8e6e-e5b2f6f477f2", + "identity": { + "principalId": "7b5129bc-8642-4a6a-95f8-63400ca6ec4d", + "tenantId": "ec46ca82-5d4a-4e3e-b4b7-e27f9318645d", + "type": "SystemAssigned" + } + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/HybridIdentityMetadata_ListByVirtualMachines.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/HybridIdentityMetadata_ListByVirtualMachines.json new file mode 100644 index 000000000000..291b274b8597 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/HybridIdentityMetadata_ListByVirtualMachines.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "api-version": "2025-08-21-preview", + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "testrg", + "machineName": "ContosoVm" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.HybridCompute/machines/ContosoVm/hybridIdentityMetadata/default", + "name": "testItem", + "type": "Microsoft.HybridCompute/machines/hybridIdentityMetadata", + "properties": { + "vmId": "f8b82dff-38ef-4220-99ef-d3a3f86ddc6c", + "publicKey": "8ec7d60c-9700-40b1-8e6e-e5b2f6f477f2", + "identity": { + "principalId": "7b5129bc-8642-4a6a-95f8-63400ca6ec4d", + "tenantId": "ec46ca82-5d4a-4e3e-b4b7-e27f9318645d", + "type": "SystemAssigned" + } + } + } + ] + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/NetworkProfile_Get.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/NetworkProfile_Get.json new file mode 100644 index 000000000000..4d84a1367194 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/NetworkProfile_Get.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "myResourceGroup", + "machineName": "myMachine", + "api-version": "2025-08-21-preview" + }, + "responses": { + "200": { + "body": { + "networkInterfaces": [ + { + "name": "Wi-Fi", + "macAddress": "3c:49:6e:13:0e:73", + "id": "8", + "ipAddresses": [ + { + "address": "192.168.12.345", + "ipAddressVersion": "IPv4", + "subnet": { + "addressPrefix": "192.168.12.0/24" + } + } + ] + }, + { + "name": "Ethernet", + "macAddress": "10:15:5c:52:f9:b8", + "id": "23", + "ipAddresses": [ + { + "address": "1001:0:34aa:5000:1234:aaaa:bbbb:cccc", + "ipAddressVersion": "IPv6", + "subnet": { + "addressPrefix": "1001:0:34aa:5000::/64" + } + } + ] + } + ] + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/Operations_List.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/Operations_List.json new file mode 100644 index 000000000000..0c304b685928 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/Operations_List.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "api-version": "2025-08-21-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "origin": "user,system", + "name": "Microsoft.HybridCompute/operations/read", + "display": { + "operation": "Read all Operations", + "resource": "Microsoft.HybridCompute Resource Provider", + "description": "Read all Operations for Azure Arc for Servers", + "provider": "Microsoft HybridCompute" + }, + "isDataAction": true + }, + { + "origin": "user,system", + "name": "Microsoft.HybridCompute/register/action", + "display": { + "operation": "Register Subscription for Azure Arc for Servers", + "resource": "Microsoft.HybridCompute Resource Provider", + "description": "Registers the subscription for the Microsoft.HybridCompute Resource Provider", + "provider": "Microsoft HybridCompute" + }, + "isDataAction": true + } + ] + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/extension/ExtensionMetadataV2_Get.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/extension/ExtensionMetadataV2_Get.json new file mode 100644 index 000000000000..94adb144284c --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/extension/ExtensionMetadataV2_Get.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "location": "EastUS", + "publisher": "microsoft.azure.monitor", + "extensionType": "azuremonitorlinuxagent", + "version": "1.33.0", + "api-version": "2025-08-21-preview" + }, + "responses": { + "200": { + "body": { + "id": "/providers/Microsoft.HybridCompute/locations/eastus/publishers/microsoft.azure.monitor/extensionTypes/azuremonitorlinuxagent/versions/1.33.0", + "properties": { + "version": "1.33.0", + "extensionType": "azuremonitorlinuxagent", + "publisher": "microsoft.azure.monitor", + "extensionSignatureUri": "https://eastus.his.arc.azure.com/extensions/extensionsignatures/azuremonitorlinuxagent__1.33.0.zip", + "extensionUris": [ + "https://aaaaaaaaaaaaaaaaaaaa.blob.core.windows.net/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa_1.33.0.zip", + "https://bbbbbbbbbbbbbbbbbbbb.blob.core.windows.net/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb_1.33.0.zip", + "https://cccccccccccccccccccc.blob.core.windows.net/cccccccccccccccccccccccccccccccccccc/cccccccccccccccccccccccccccccccccccc_1.33.0.zip" + ], + "operatingSystem": "Linux", + "architecture": [ + "x64" + ] + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/extension/ExtensionMetadataV2_List.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/extension/ExtensionMetadataV2_List.json new file mode 100644 index 000000000000..12383791abba --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/extension/ExtensionMetadataV2_List.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "location": "EastUS", + "publisher": "microsoft.azure.monitor", + "extensionType": "azuremonitorlinuxagent", + "api-version": "2025-08-21-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "version": "1.33.0", + "extensionType": "azuremonitorlinuxagent", + "publisher": "microsoft.azure.monitor", + "extensionSignatureUri": "https://eastus.his.arc.azure.com/extensions/extensionsignatures/azuremonitorlinuxagent__1.33.0.zip", + "extensionUris": [ + "https://aaaaaaaaaaaaaaaaaaaa.blob.core.windows.net/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa_1.33.0.zip", + "https://bbbbbbbbbbbbbbbbbbbb.blob.core.windows.net/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb_1.33.0.zip", + "https://cccccccccccccccccccc.blob.core.windows.net/cccccccccccccccccccccccccccccccccccc/cccccccccccccccccccccccccccccccccccc_1.33.0.zip" + ], + "operatingSystem": "Linux", + "architecture": [ + "x64" + ] + }, + "id": "/providers/Microsoft.HybridCompute/locations/eastus/publishers/microsoft.azure.monitor/extensionTypes/azuremonitorlinuxagent/versions/1.33.0" + }, + { + "properties": { + "version": "1.32.6", + "extensionType": "azuremonitorlinuxagent", + "publisher": "microsoft.azure.monitor", + "extensionSignatureUri": "https://eastus.his.arc.azure.com/extensions/extensionsignatures/azuremonitorlinuxagent__1.32.6.zip", + "extensionUris": [ + "https://aaaaaaaaaaaaaaaaaaaa.blob.core.windows.net/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa_1.32.6.zip", + "https://bbbbbbbbbbbbbbbbbbbb.blob.core.windows.net/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb_1.32.6.zip", + "https://cccccccccccccccccccc.blob.core.windows.net/cccccccccccccccccccccccccccccccccccc/cccccccccccccccccccccccccccccccccccc_1.32.6.zip" + ], + "operatingSystem": "Linux", + "architecture": [ + "x64" + ] + }, + "id": "/providers/Microsoft.HybridCompute/locations/eastus/publishers/microsoft.azure.monitor/extensionTypes/azuremonitorlinuxagent/versions/1.32.6" + } + ] + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/extension/ExtensionMetadata_Get.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/extension/ExtensionMetadata_Get.json new file mode 100644 index 000000000000..972ec4a8b7d7 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/extension/ExtensionMetadata_Get.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "subscriptionId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", + "location": "EastUS", + "publisher": "microsoft.azure.monitor", + "extensionType": "azuremonitorlinuxagent", + "version": "1.9.1", + "api-version": "2025-08-21-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/Providers/Microsoft.HybridCompute/locations/eastus/publishers/microsoft.azure.monitor/extensionTypes/azuremonitorlinuxagent/versions/1.9.1", + "properties": { + "version": "1.9.1", + "extensionType": "azuremonitorlinuxagent", + "publisher": "microsoft.azure.monitor" + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/extension/ExtensionMetadata_List.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/extension/ExtensionMetadata_List.json new file mode 100644 index 000000000000..edad71f265b0 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/extension/ExtensionMetadata_List.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "subscriptionId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", + "location": "EastUS", + "publisher": "microsoft.azure.monitor", + "extensionType": "azuremonitorlinuxagent", + "api-version": "2025-08-21-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "version": "1.9.1", + "extensionType": "azuremonitorlinuxagent", + "publisher": "microsoft.azure.monitor" + }, + "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/Providers/Microsoft.HybridCompute/locations/eastus/publishers/microsoft.azure.monitor/extensionTypes/azuremonitorlinuxagent/versions/1.9.1" + }, + { + "properties": { + "version": "1.9.2", + "extensionType": "azuremonitorlinuxagent", + "publisher": "microsoft.azure.monitor" + }, + "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/Providers/Microsoft.HybridCompute/locations/eastus/publishers/microsoft.azure.monitor/extensionTypes/azuremonitorlinuxagent/versions/1.9.2" + } + ] + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/extension/ExtensionPublisher_List.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/extension/ExtensionPublisher_List.json new file mode 100644 index 000000000000..242849b9a0f1 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/extension/ExtensionPublisher_List.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "location": "EastUS", + "api-version": "2025-08-21-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/providers/Microsoft.HybridCompute/locations/eastus/publishers", + "name": "Microsoft.Compute" + }, + { + "id": "/providers/Microsoft.HybridCompute/locations/eastus/publishers", + "name": "Microsoft.Azure.Monitoring.DependencyAgent" + }, + { + "id": "/providers/Microsoft.HybridCompute/locations/eastus/publishers", + "name": "Microsoft.AzureData" + } + ] + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/extension/ExtensionType_List.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/extension/ExtensionType_List.json new file mode 100644 index 000000000000..65500d93e50b --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/extension/ExtensionType_List.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "location": "EastUS", + "publisher": "microsoft.azure.monitor", + "api-version": "2025-08-21-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/providers/Microsoft.HybridCompute/locations/eastus/publishers/microsoft.azure.monitor/extensionTypes", + "name": "AzureMonitorLinuxAgent" + }, + { + "id": "/providers/Microsoft.HybridCompute/locations/eastus/publishers/microsoft.azure.monitor/extensionTypes", + "name": "AzureMonitorWindowsAgent" + } + ] + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/extension/Extension_Add.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/extension/Extension_Add.json new file mode 100644 index 000000000000..84bd60fb3272 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/extension/Extension_Add.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "machineName": "myMachine", + "api-version": "2025-08-21-preview", + "extensions": { + "extensions": [ + { + "publisher": "Microsoft.Azure.Monitoring", + "type": "AzureMonitorAgentLinux" + }, + { + "publisher": "", + "type": "" + } + ] + } + }, + "responses": { + "200": { + "body": {} + }, + "202": { + "headers": { + "Location": "{callbackUrl}", + "Retry-After": 200, + "Azure-AsyncOperation": "{callbackUri}" + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/extension/Extension_CreateOrUpdate.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/extension/Extension_CreateOrUpdate.json new file mode 100644 index 000000000000..03453ca8d486 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/extension/Extension_CreateOrUpdate.json @@ -0,0 +1,53 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "machineName": "myMachine", + "extensionName": "CustomScriptExtension", + "api-version": "2025-08-21-preview", + "extensionParameters": { + "location": "eastus2euap", + "properties": { + "publisher": "Microsoft.Compute", + "typeHandlerVersion": "1.10", + "type": "CustomScriptExtension", + "settings": { + "commandToExecute": "powershell.exe -c \"Get-Process | Where-Object { $_.CPU -gt 10000 }\"" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/Machines/myMachine/Extensions/CustomScriptExtension", + "name": "CustomScriptExtension", + "type": "Microsoft.HybridCompute/machines/extensions", + "location": "eastus2euap", + "properties": { + "publisher": "Microsoft.Compute", + "type": "string", + "typeHandlerVersion": "1.10.3", + "autoUpgradeMinorVersion": false, + "settings": { + "commandToExecute": "powershell.exe -c \"Get-Process | Where-Object { $_.CPU -gt 10000 }\"" + }, + "protectedSettings": {}, + "provisioningState": "Succeeded", + "instanceView": { + "name": "CustomScriptExtension", + "type": "CustomScriptExtension", + "typeHandlerVersion": "1.10.3", + "status": { + "code": "success", + "level": "Information", + "message": "Finished executing command, StdOut: , StdErr:", + "time": "2020-08-08T20:42:10.999Z" + } + } + } + } + }, + "202": {} + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/extension/Extension_Delete.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/extension/Extension_Delete.json new file mode 100644 index 000000000000..7c9405fa234f --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/extension/Extension_Delete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "machineName": "myMachine", + "extensionName": "MMA", + "api-version": "2025-08-21-preview" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "{callbackUrl}", + "Retry-After": 200, + "Azure-AsyncOperation": "{callbackUri}" + } + }, + "204": {} + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/extension/Extension_Get.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/extension/Extension_Get.json new file mode 100644 index 000000000000..164f81eebe9f --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/extension/Extension_Get.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "machineName": "myMachine", + "extensionName": "CustomScriptExtension", + "api-version": "2025-08-21-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/Machines/myMachine/Extensions/CustomScriptExtension", + "name": "CustomScriptExtension", + "type": "Microsoft.HybridCompute/machines/extensions", + "location": "eastus2euap", + "properties": { + "publisher": "Microsoft.Compute", + "type": "string", + "typeHandlerVersion": "1.10.3", + "autoUpgradeMinorVersion": false, + "settings": { + "commandToExecute": "powershell.exe -c \"Get-Process | Where-Object { $_.CPU -gt 10000 }\"" + }, + "protectedSettings": {}, + "provisioningState": "Succeeded", + "instanceView": { + "name": "CustomScriptExtension", + "type": "CustomScriptExtension", + "typeHandlerVersion": "1.10.3", + "status": { + "code": "success", + "level": "Information", + "displayStatus": "Provisioning succeeded", + "message": "Finished executing command, StdOut: , StdErr:", + "time": "2019-08-08T20:42:10.999Z" + } + } + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/extension/Extension_List.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/extension/Extension_List.json new file mode 100644 index 000000000000..3f6f49f26540 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/extension/Extension_List.json @@ -0,0 +1,64 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "machineName": "myMachine", + "api-version": "2025-08-21-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/Machines/myMachine/Extensions/CustomScriptExtension", + "name": "CustomScriptExtension", + "location": "eastus2euap", + "type": "Microsoft.HybridCompute/machines/extensions", + "properties": { + "publisher": "Microsoft.Compute", + "type": "CustomScriptExtension", + "typeHandlerVersion": "1.10.3", + "autoUpgradeMinorVersion": false, + "settings": { + "commandToExecute": "powershell.exe -c \"Get-Process | Where-Object { $_.CPU -gt 10000 }\"" + }, + "provisioningState": "Succeeded", + "instanceView": { + "name": "CustomScriptExtension", + "type": "CustomScriptExtension", + "typeHandlerVersion": "1.10.3", + "status": { + "code": "success", + "level": "Information", + "displayStatus": "Provisioning succeeded", + "message": "formattedMessage: Finished executing command, StdOut: , StdErr: ", + "time": "2020-08-13T17:18:57.405Z" + } + } + } + }, + { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/Machines/myMachine/Extensions/winosupdateextension", + "name": "winosupdateextension", + "location": "eastus2euap", + "type": "Microsoft.HybridCompute/machines/extensions", + "properties": { + "publisher": "microsoft.softwareupdatemanagement.test", + "type": "windowsosupdateextension", + "typeHandlerVersion": "1.0.0.0", + "autoUpgradeMinorVersion": false, + "settings": {}, + "provisioningState": "Creating", + "instanceView": { + "name": "winosupdateextension", + "type": "windowsosupdateextension", + "typeHandlerVersion": "1.0.0.0", + "status": {} + } + } + } + ] + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/extension/Extension_Update.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/extension/Extension_Update.json new file mode 100644 index 000000000000..e81296083b96 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/extension/Extension_Update.json @@ -0,0 +1,60 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "machineName": "myMachine", + "extensionName": "CustomScriptExtension", + "api-version": "2025-08-21-preview", + "extensionParameters": { + "properties": { + "publisher": "Microsoft.Compute", + "typeHandlerVersion": "1.10", + "enableAutomaticUpgrade": true, + "type": "CustomScriptExtension", + "settings": { + "commandToExecute": "powershell.exe -c \"Get-Process | Where-Object { $_.CPU -lt 100 }\"" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/Machines/myMachine/Extensions/CustomScriptExtension", + "name": "CustomScriptExtension", + "type": "Microsoft.HybridCompute/machines/extensions", + "location": "eastus2euap", + "properties": { + "publisher": "Microsoft.Compute", + "type": "string", + "typeHandlerVersion": "1.10.3", + "enableAutomaticUpgrade": true, + "autoUpgradeMinorVersion": false, + "settings": { + "commandToExecute": "powershell.exe -c \"Get-Process | Where-Object { $_.CPU -gt 10000 }\"" + }, + "protectedSettings": {}, + "provisioningState": "Succeeded", + "instanceView": { + "name": "CustomScriptExtension", + "type": "CustomScriptExtension", + "typeHandlerVersion": "1.10.3", + "status": { + "code": "success", + "level": "Information", + "message": "Finished executing command, StdOut: , StdErr:", + "time": "2020-01-08T20:42:10.999Z" + } + } + } + } + }, + "202": { + "headers": { + "Location": "{callbackUrl}", + "Retry-After": 200, + "Azure-AsyncOperation": "{callbackUri}" + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/extension/Extensions_Upgrade.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/extension/Extensions_Upgrade.json new file mode 100644 index 000000000000..5597e5dd2e7c --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/extension/Extensions_Upgrade.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "machineName": "myMachine", + "api-version": "2025-08-21-preview", + "extensionUpgradeParameters": { + "extensionTargets": { + "Microsoft.Compute.CustomScriptExtension": { + "targetVersion": "1.10" + }, + "Microsoft.Azure.Monitoring": { + "targetVersion": "2.0" + } + } + } + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "{callbackUrl}", + "Retry-After": 200, + "Azure-AsyncOperation": "{callbackUri}" + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/gateway/Gateway_CreateOrUpdate.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/gateway/Gateway_CreateOrUpdate.json new file mode 100644 index 000000000000..ab36c9093c62 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/gateway/Gateway_CreateOrUpdate.json @@ -0,0 +1,60 @@ +{ + "parameters": { + "subscriptionId": "ffd506c8-3415-42d3-9612-fdb423fb17df", + "resourceGroupName": "myResourceGroup", + "gatewayName": "{gatewayName}", + "api-version": "2025-08-21-preview", + "parameters": { + "location": "eastus2euap", + "properties": { + "gatewayType": "Public", + "allowedFeatures": [ + "*" + ] + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/ffd506c8-3415-42d3-9612-fdb423fb17df/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/gateways/{gatewayName}", + "name": "{gatewayName}", + "type": "Microsoft.HybridCompute/gateways", + "location": "eastus2euap", + "tags": null, + "properties": { + "provisioningState": "Succeeded", + "gatewayId": "", + "gatewayType": "Public", + "gatewayEndpoint": "https://uniqueValue.contoso.com", + "allowedFeatures": [ + "*" + ] + } + } + }, + "201": { + "headers": { + "Location": "{callbackUrl}", + "Retry-After": 200, + "Azure-AsyncOperation": "{callbackUri}" + }, + "body": { + "id": "/subscriptions/ffd506c8-3415-42d3-9612-fdb423fb17df/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/gateways/{gatewayName}", + "name": "{gatewayName}", + "type": "Microsoft.HybridCompute/gateways", + "location": "eastus2euap", + "tags": null, + "properties": { + "provisioningState": "Creating", + "gatewayId": "", + "gatewayType": "Public", + "gatewayEndpoint": "https://uniqueValue.contoso.com", + "allowedFeatures": [ + "*" + ] + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/gateway/Gateway_Delete.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/gateway/Gateway_Delete.json new file mode 100644 index 000000000000..be9fef1b5601 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/gateway/Gateway_Delete.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "subscriptionId": "ffd506c8-3415-42d3-9612-fdb423fb17df", + "resourceGroupName": "myResourceGroup", + "gatewayName": "{gatewayName}", + "api-version": "2025-08-21-preview" + }, + "responses": { + "202": { + "headers": { + "Location": "{callbackUrl}", + "Retry-After": 200, + "Azure-AsyncOperation": "{callbackUri}" + } + }, + "204": {} + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/gateway/Gateway_Get.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/gateway/Gateway_Get.json new file mode 100644 index 000000000000..ba7f2805d8b7 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/gateway/Gateway_Get.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "subscriptionId": "ffd506c8-3415-42d3-9612-fdb423fb17df", + "resourceGroupName": "myResourceGroup", + "gatewayName": "{gatewayName}", + "api-version": "2025-08-21-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/ffd506c8-3415-42d3-9612-fdb423fb17df/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/gateways/{gatewayName}", + "name": "{gatewayName}", + "type": "Microsoft.HybridCompute/gateways", + "location": "eastus2euap", + "tags": null, + "properties": { + "provisioningState": "Succeeded", + "gatewayId": "", + "gatewayType": "Public", + "gatewayEndpoint": "https://uniqueValue.contoso.com", + "allowedFeatures": [ + "*" + ] + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/gateway/Gateway_ListByResourceGroup.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/gateway/Gateway_ListByResourceGroup.json new file mode 100644 index 000000000000..0dff741d6a0d --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/gateway/Gateway_ListByResourceGroup.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "subscriptionId": "ffd506c8-3415-42d3-9612-fdb423fb17df", + "resourceGroupName": "myResourceGroup", + "gatewayName": "{gatewayName}", + "api-version": "2025-08-21-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/ffd506c8-3415-42d3-9612-fdb423fb17df/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/gateways/{gatewayName}", + "name": "{gatewayName}", + "type": "Microsoft.HybridCompute/gateways", + "location": "eastus2euap", + "tags": null, + "properties": { + "provisioningState": "Succeeded", + "gatewayId": "", + "gatewayType": "Public", + "gatewayEndpoint": "https://uniqueValue.contoso.com", + "allowedFeatures": [ + "*" + ] + } + } + ] + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/gateway/Gateway_ListBySubscription.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/gateway/Gateway_ListBySubscription.json new file mode 100644 index 000000000000..ad1e42b2c18b --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/gateway/Gateway_ListBySubscription.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "subscriptionId": "ffd506c8-3415-42d3-9612-fdb423fb17df", + "gatewayName": "{gatewayName}", + "api-version": "2025-08-21-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/ffd506c8-3415-42d3-9612-fdb423fb17df/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/gateways/{gatewayName}", + "name": "{gatewayName}", + "type": "Microsoft.HybridCompute/gateways", + "location": "eastus2euap", + "tags": null, + "properties": { + "provisioningState": "Succeeded", + "gatewayId": "", + "gatewayType": "Public", + "gatewayEndpoint": "https://uniqueValue.contoso.com", + "allowedFeatures": [ + "*" + ] + } + } + ] + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/gateway/Gateway_Update.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/gateway/Gateway_Update.json new file mode 100644 index 000000000000..e2d588de7737 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/gateway/Gateway_Update.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "subscriptionId": "ffd506c8-3415-42d3-9612-fdb423fb17df", + "resourceGroupName": "myResourceGroup", + "gatewayName": "{gatewayName}", + "api-version": "2025-08-21-preview", + "parameters": { + "properties": { + "allowedFeatures": [ + "*" + ] + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/ffd506c8-3415-42d3-9612-fdb423fb17df/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/gateways/{gatewayName}", + "name": "{gatewayName}", + "type": "Microsoft.HybridCompute/gateways", + "location": "eastus2euap", + "properties": { + "provisioningState": "Succeeded", + "gatewayId": "", + "gatewayType": "Public", + "gatewayEndpoint": "https://uniqueValue.contoso.com", + "allowedFeatures": [ + "*" + ] + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/license/License_CreateOrUpdate.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/license/License_CreateOrUpdate.json new file mode 100644 index 000000000000..a801db635a8d --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/license/License_CreateOrUpdate.json @@ -0,0 +1,45 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "licenseName": "{licenseName}", + "api-version": "2025-08-21-preview", + "parameters": { + "location": "eastus2euap", + "properties": { + "licenseType": "ESU", + "licenseDetails": { + "state": "Activated", + "target": "Windows Server 2012", + "edition": "Datacenter", + "type": "pCore", + "processors": 6 + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/Licenses/{licenseName}", + "name": "{licenseName}", + "type": "Microsoft.HybridCompute/licenses", + "location": "eastus2euap", + "tags": null, + "properties": { + "tenantId": "{tenandId}", + "licenseType": "ESU", + "licenseDetails": { + "state": "Activated", + "target": "Windows Server 2012", + "edition": "Datacenter", + "type": "pCore", + "processors": 6, + "assignedLicenses": 2, + "immutableId": "" + } + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/license/License_Delete.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/license/License_Delete.json new file mode 100644 index 000000000000..d5541953bd00 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/license/License_Delete.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "licenseName": "{licenseName}", + "api-version": "2025-08-21-preview" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/license/License_Get.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/license/License_Get.json new file mode 100644 index 000000000000..0276e701ddc7 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/license/License_Get.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "licenseName": "{licenseName}", + "api-version": "2025-08-21-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/Licenses/{licenseName}", + "name": "{licenseName}", + "type": "Microsoft.HybridCompute/licenses", + "location": "eastus2euap", + "tags": null, + "properties": { + "tenantId": "{tenandId}", + "licenseType": "ESU", + "licenseDetails": { + "state": "Activated", + "target": "Windows Server 2012", + "edition": "Datacenter", + "type": "pCore", + "processors": 6, + "assignedLicenses": 8, + "immutableId": "" + } + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/license/License_ListByResourceGroup.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/license/License_ListByResourceGroup.json new file mode 100644 index 000000000000..40fa12b5dccc --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/license/License_ListByResourceGroup.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "licenseName": "{licenseName}", + "api-version": "2025-08-21-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/Licenses/{licenseName}", + "name": "{licenseName}", + "type": "Microsoft.HybridCompute/licenses", + "location": "eastus2euap", + "tags": null, + "properties": { + "tenantId": "{tenandId}", + "licenseType": "ESU", + "licenseDetails": { + "state": "Activated", + "target": "Windows Server 2012", + "edition": "Datacenter", + "type": "pCore", + "processors": 6, + "assignedLicenses": 8, + "immutableId": "" + } + } + } + ] + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/license/License_ListBySubscription.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/license/License_ListBySubscription.json new file mode 100644 index 000000000000..c72950ab482d --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/license/License_ListBySubscription.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "licenseName": "{licenseName}", + "api-version": "2025-08-21-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/Licenses/{licenseName}", + "name": "{licenseName}", + "type": "Microsoft.HybridCompute/licenses", + "location": "eastus2euap", + "tags": null, + "properties": { + "tenantId": "{tenandId}", + "licenseType": "ESU", + "licenseDetails": { + "state": "Activated", + "target": "Windows Server 2012", + "edition": "Datacenter", + "type": "pCore", + "processors": 6, + "assignedLicenses": 8, + "immutableId": "" + } + } + } + ] + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/license/License_Update.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/license/License_Update.json new file mode 100644 index 000000000000..de2d8acba599 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/license/License_Update.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "licenseName": "{licenseName}", + "api-version": "2025-08-21-preview", + "parameters": { + "properties": { + "licenseType": "ESU", + "licenseDetails": { + "state": "Activated", + "target": "Windows Server 2012", + "edition": "Datacenter", + "type": "pCore", + "processors": 6 + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/licenses/{licenseName}", + "name": "{licenseName}", + "type": "Microsoft.HybridCompute/licenses", + "location": "eastus2euap", + "properties": { + "tenantId": "{tenandId}", + "licenseType": "ESU", + "licenseDetails": { + "state": "Activated", + "target": "Windows Server 2012", + "edition": "Datacenter", + "type": "pCore", + "processors": 6, + "assignedLicenses": 8, + "immutableId": "" + } + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/license/License_ValidateLicense.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/license/License_ValidateLicense.json new file mode 100644 index 000000000000..bb674b0c69e5 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/license/License_ValidateLicense.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "licenseName": "{licenseName}", + "api-version": "2025-08-21-preview", + "parameters": { + "location": "eastus2euap", + "properties": { + "licenseType": "ESU", + "licenseDetails": { + "state": "Activated", + "target": "Windows Server 2012", + "edition": "Datacenter", + "type": "pCore", + "processors": 6 + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/Licenses/{licenseName}", + "name": "{licenseName}", + "type": "Microsoft.HybridCompute/licenses", + "location": "eastus2euap", + "tags": null, + "properties": { + "tenantId": "{tenandId}", + "licenseType": "ESU", + "licenseDetails": { + "state": "Activated", + "target": "Windows Server 2012", + "edition": "Datacenter", + "type": "pCore", + "processors": 6, + "assignedLicenses": 2, + "immutableId": "" + } + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/licenseProfile/LicenseProfile_CreateOrUpdate.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/licenseProfile/LicenseProfile_CreateOrUpdate.json new file mode 100644 index 000000000000..40464e90334b --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/licenseProfile/LicenseProfile_CreateOrUpdate.json @@ -0,0 +1,133 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "machineName": "myMachine", + "licenseProfileName": "default", + "api-version": "2025-08-21-preview", + "parameters": { + "location": "eastus2euap", + "properties": { + "softwareAssurance": { + "softwareAssuranceCustomer": true + }, + "esuProfile": { + "assignedLicense": "{LicenseResourceId}" + }, + "productProfile": { + "subscriptionStatus": "Enabled", + "productType": "WindowsServer", + "productFeatures": [ + { + "name": "Hotpatch", + "subscriptionStatus": "Enabled" + } + ] + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/Machines/myMachine/licenseProfiles/default", + "name": "default", + "type": "Microsoft.HybridCompute/machines/licenseProfiles", + "location": "eastus2euap", + "tags": null, + "properties": { + "softwareAssurance": { + "softwareAssuranceCustomer": true + }, + "esuProfile": { + "assignedLicense": "{LicenseResourceId}", + "assignedLicenseImmutableId": "{Guid}", + "esuEligibility": "Eligible", + "serverType": "Standard", + "esuKeyState": "Inactive", + "esuKeys": [ + { + "sku": "skuNumber1", + "licenseStatus": 1 + }, + { + "sku": "skuNumber2", + "licenseStatus": 1 + } + ] + }, + "productProfile": { + "subscriptionStatus": "Enabling", + "productType": "WindowsServer", + "enrollmentDate": "2023-10-05T20:36:49.745Z", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z", + "billingEndDate": "2023-11-05T20:36:49.745Z", + "productFeatures": [ + { + "name": "Hotpatch", + "subscriptionStatus": "Enabling", + "enrollmentDate": "2023-10-05T20:36:49.745Z", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z", + "billingEndDate": "2023-11-05T20:36:49.745Z" + } + ] + } + } + } + }, + "201": { + "headers": { + "Location": "{callbackUrl}", + "Retry-After": 200, + "Azure-AsyncOperation": "{callbackUri}" + }, + "body": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/Machines/myMachine/licenseProfiles/default", + "name": "default", + "type": "Microsoft.HybridCompute/machines/licenseProfiles", + "location": "eastus2euap", + "properties": { + "softwareAssurance": { + "softwareAssuranceCustomer": true + }, + "esuProfile": { + "assignedLicense": "{LicenseResourceId}", + "esuEligibility": "Eligible", + "serverType": "Standard", + "esuKeyState": "Inactive", + "esuKeys": [ + { + "sku": "skuNumber1", + "licenseStatus": 1 + }, + { + "sku": "skuNumber2", + "licenseStatus": 1 + } + ] + }, + "productProfile": { + "subscriptionStatus": "Enabling", + "productType": "WindowsServer", + "enrollmentDate": "2023-10-05T20:36:49.745Z", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z", + "billingEndDate": "2023-11-05T20:36:49.745Z", + "productFeatures": [ + { + "name": "Hotpatch", + "subscriptionStatus": "Enabling", + "enrollmentDate": "2023-10-05T20:36:49.745Z", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z", + "billingEndDate": "2023-11-05T20:36:49.745Z" + } + ] + } + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/licenseProfile/LicenseProfile_Delete.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/licenseProfile/LicenseProfile_Delete.json new file mode 100644 index 000000000000..cfbf1850bcd7 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/licenseProfile/LicenseProfile_Delete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "machineName": "myMachine", + "licenseProfileName": "default", + "api-version": "2025-08-21-preview" + }, + "responses": { + "202": { + "headers": { + "Location": "{callbackUrl}", + "Retry-After": 200, + "Azure-AsyncOperation": "{callbackUri}" + } + }, + "204": {} + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/licenseProfile/LicenseProfile_Get.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/licenseProfile/LicenseProfile_Get.json new file mode 100644 index 000000000000..8834ca6dfab6 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/licenseProfile/LicenseProfile_Get.json @@ -0,0 +1,59 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "machineName": "myMachine", + "licenseProfileName": "default", + "api-version": "2025-08-21-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/Machines/myMachine/licenseProfiles/default", + "name": "default", + "type": "Microsoft.HybridCompute/machines/licenseProfiles", + "location": "eastus2euap", + "tags": null, + "properties": { + "softwareAssurance": { + "softwareAssuranceCustomer": true + }, + "esuProfile": { + "assignedLicense": "{LicenseResourceId}", + "esuEligibility": "Eligible", + "serverType": "Standard", + "esuKeyState": "Inactive", + "esuKeys": [ + { + "sku": "skuNumber1", + "licenseStatus": 1 + }, + { + "sku": "skuNumber2", + "licenseStatus": 1 + } + ] + }, + "productProfile": { + "subscriptionStatus": "Enabled", + "productType": "WindowsServer", + "enrollmentDate": "2023-10-05T20:36:49.745Z", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z", + "billingEndDate": "2023-11-05T20:36:49.745Z", + "productFeatures": [ + { + "name": "Hotpatch", + "subscriptionStatus": "Enabled", + "enrollmentDate": "2023-10-05T20:36:49.745Z", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z", + "billingEndDate": "2023-11-05T20:36:49.745Z" + } + ] + } + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/licenseProfile/LicenseProfile_List.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/licenseProfile/LicenseProfile_List.json new file mode 100644 index 000000000000..290d439a285b --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/licenseProfile/LicenseProfile_List.json @@ -0,0 +1,63 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "machineName": "myMachine", + "licenseProfileName": "default", + "api-version": "2025-08-21-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/Machines/myMachine/licenseProfiles/default", + "name": "default", + "type": "Microsoft.HybridCompute/machines/licenseProfiles", + "location": "eastus2euap", + "tags": null, + "properties": { + "softwareAssurance": { + "softwareAssuranceCustomer": true + }, + "esuProfile": { + "assignedLicense": "{LicenseResourceId}", + "esuEligibility": "Eligible", + "serverType": "Standard", + "esuKeyState": "Inactive", + "esuKeys": [ + { + "sku": "skuNumber1", + "licenseStatus": 1 + }, + { + "sku": "skuNumber2", + "licenseStatus": 1 + } + ] + }, + "productProfile": { + "subscriptionStatus": "Enabled", + "productType": "WindowsServer", + "enrollmentDate": "2023-10-05T20:36:49.745Z", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z", + "billingEndDate": "2023-11-05T20:36:49.745Z", + "productFeatures": [ + { + "name": "Hotpatch", + "subscriptionStatus": "Enabled", + "enrollmentDate": "2023-10-05T20:36:49.745Z", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z", + "billingEndDate": "2023-11-05T20:36:49.745Z" + } + ] + } + } + } + ] + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/licenseProfile/LicenseProfile_Update.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/licenseProfile/LicenseProfile_Update.json new file mode 100644 index 000000000000..5baccbdd04c6 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/licenseProfile/LicenseProfile_Update.json @@ -0,0 +1,85 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "machineName": "myMachine", + "licenseProfileName": "default", + "api-version": "2025-08-21-preview", + "parameters": { + "properties": { + "softwareAssurance": { + "softwareAssuranceCustomer": true + }, + "esuProfile": { + "assignedLicense": "{LicenseResourceId}" + }, + "productProfile": { + "subscriptionStatus": "Enable", + "productType": "WindowsServer", + "productFeatures": [ + { + "name": "Hotpatch", + "subscriptionStatus": "Enable" + } + ] + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/Machines/myMachine/licenseProfiles/default", + "name": "default", + "type": "Microsoft.HybridCompute/machines/licenseProfiles", + "location": "eastus2euap", + "properties": { + "softwareAssurance": { + "softwareAssuranceCustomer": true + }, + "esuProfile": { + "assignedLicense": "{LicenseResourceId}", + "esuEligibility": "Eligible", + "serverType": "Standard", + "esuKeyState": "Inactive", + "esuKeys": [ + { + "sku": "skuNumber1", + "licenseStatus": 1 + }, + { + "sku": "skuNumber2", + "licenseStatus": 1 + } + ] + }, + "productProfile": { + "subscriptionStatus": "Enabling", + "productType": "WindowsServer", + "enrollmentDate": "2023-10-05T20:36:49.745Z", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z", + "billingEndDate": "2023-11-05T20:36:49.745Z", + "productFeatures": [ + { + "name": "Hotpatch", + "subscriptionStatus": "Enabling", + "enrollmentDate": "2023-10-05T20:36:49.745Z", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z", + "billingEndDate": "2023-11-05T20:36:49.745Z" + } + ] + } + } + } + }, + "202": { + "headers": { + "Location": "{callbackUrl}", + "Retry-After": 200, + "Azure-AsyncOperation": "{callbackUri}" + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/machine/Machine_AssessPatches.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/machine/Machine_AssessPatches.json new file mode 100644 index 000000000000..b3aa6f17a90b --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/machine/Machine_AssessPatches.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroupName", + "name": "myMachineName", + "api-version": "2025-08-21-preview" + }, + "responses": { + "200": { + "body": { + "status": "Succeeded", + "assessmentActivityId": "68f8b292-dfc2-4646-9781-33cc88631968", + "rebootPending": true, + "startDateTime": "2021-08-22T02:15:20.9340000Z", + "lastModifiedDateTime": "2021-08-22T02:16:06.9740000Z", + "availablePatchCountByClassification": { + "security": 0, + "updateRollup": 1, + "featurePack": 0, + "servicePack": 0, + "definition": 0, + "critical": 0, + "updates": 1, + "tools": 0 + }, + "startedBy": "User", + "osType": "Windows", + "errorDetails": null + } + }, + "202": { + "headers": { + "Location": "eastus2euap" + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/machine/Machine_InstallPatches.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/machine/Machine_InstallPatches.json new file mode 100644 index 000000000000..5099f7e3e799 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/machine/Machine_InstallPatches.json @@ -0,0 +1,50 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroupName", + "name": "myMachineName", + "api-version": "2025-08-21-preview", + "installPatchesInput": { + "maximumDuration": "PT4H", + "rebootSetting": "IfRequired", + "windowsParameters": { + "classificationsToInclude": [ + "Critical", + "Security" + ], + "maxPatchPublishDate": "2021-08-19T02:36:43.0539904+00:00", + "patchNameMasksToInclude": [ + "*SQL*" + ], + "patchNameMasksToExclude": [ + "*Windows*" + ] + } + } + }, + "responses": { + "200": { + "body": { + "status": "Succeeded", + "installationActivityId": "68f8b292-dfc2-4646-9781-33cc88631968", + "rebootStatus": "Completed", + "maintenanceWindowExceeded": false, + "excludedPatchCount": 0, + "notSelectedPatchCount": 0, + "pendingPatchCount": 2, + "installedPatchCount": 3, + "failedPatchCount": 0, + "startDateTime": "2021-08-22T02:15:06.9740000Z", + "lastModifiedDateTime": "2021-08-22T02:16:06.9740000Z", + "startedBy": "User", + "osType": "Windows", + "errorDetails": null + } + }, + "202": { + "headers": { + "Location": "eastus2euap" + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/machine/Machines_CreateOrUpdate.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/machine/Machines_CreateOrUpdate.json new file mode 100644 index 000000000000..f6746afe742d --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/machine/Machines_CreateOrUpdate.json @@ -0,0 +1,146 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "machineName": "myMachine", + "api-version": "2025-08-21-preview", + "parameters": { + "location": "eastus2euap", + "properties": { + "vmId": "b7a098cc-b0b8-46e8-a205-62f301a62a8f", + "locationData": { + "name": "Redmond" + }, + "osProfile": { + "windowsConfiguration": { + "patchSettings": { + "enableHotpatching": true + } + } + }, + "clientPublicKey": "string", + "identityKeyStore": "TPM", + "tpmEkCertificate": "string", + "parentClusterResourceId": "{AzureStackHCIResourceId}", + "privateLinkScopeResourceId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/privateLinkScopeName" + }, + "identity": { + "type": "SystemAssigned" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/machines/myMachine", + "name": "myMachine", + "location": "eastus2euap", + "tags": null, + "identity": { + "type": "SystemAssigned", + "principalId": "string", + "tenantId": "string" + }, + "type": "Microsoft.HybridCompute/machines", + "kind": null, + "properties": { + "provisioningState": "Succeeded", + "agentVersion": null, + "status": null, + "lastStatusChange": null, + "errorDetails": null, + "displayName": null, + "machineFqdn": null, + "vmUuid": null, + "osSku": null, + "osEdition": "Standard", + "domainName": null, + "adFqdn": null, + "dnsFqdn": null, + "osVersion": null, + "osType": null, + "osProfile": { + "computerName": null, + "windowsConfiguration": { + "patchSettings": { + "assessmentMode": null, + "patchMode": null, + "enableHotpatching": true, + "status": { + "hotpatchEnablementStatus": "PendingEvaluation", + "error": null + } + } + }, + "linuxConfiguration": { + "patchSettings": { + "assessmentMode": null, + "patchMode": null + } + } + }, + "licenseProfile": { + "licenseStatus": "Licensed", + "licenseChannel": "PSG", + "softwareAssurance": { + "softwareAssuranceCustomer": true + }, + "esuProfile": { + "licenseAssignmentState": "Assigned", + "esuEligibility": "Ineligible", + "serverType": "Standard", + "esuKeyState": "Inactive", + "esuKeys": [ + { + "sku": "skuNumber1", + "licenseStatus": 1 + }, + { + "sku": "skuNumber2", + "licenseStatus": 1 + } + ] + }, + "productProfile": { + "subscriptionStatus": "Enabled", + "productType": "WindowsServer", + "enrollmentDate": "2023-10-05T20:36:49.745Z", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z", + "billingEndDate": "2023-11-05T20:36:49.745Z", + "productFeatures": [ + { + "name": "Hotpatch", + "subscriptionStatus": "Enabled", + "enrollmentDate": "2023-10-05T20:36:49.745Z", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z", + "billingEndDate": "2023-11-05T20:36:49.745Z" + } + ] + } + }, + "vmId": "b7a098cc-b0b8-46e8-a205-62f301a62a8f", + "locationData": { + "name": "Redmond", + "city": "redmond", + "district": null, + "countryOrRegion": "usa" + }, + "clientPublicKey": "string", + "identityKeyStore": "TPM", + "tpmEkCertificate": "string", + "parentClusterResourceId": "{AzureStackHCIResourceId}", + "hardwareResourceId": null, + "mssqlDiscovered": "false", + "detectedProperties": { + "cloudprovider": "N/A", + "manufacturer": "Microsoft Corporation", + "model": "Virtual Machine" + }, + "privateLinkScopeResourceId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/privateLinkScopeName" + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/machine/Machines_Delete.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/machine/Machines_Delete.json new file mode 100644 index 000000000000..6fd8f7f6218f --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/machine/Machines_Delete.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "machineName": "myMachine", + "api-version": "2025-08-21-preview" + }, + "responses": { + "202": { + "headers": { + "Location": "{callbackUrl}", + "Retry-After": 200, + "Azure-AsyncOperation": "{callbackUri}" + } + }, + "204": {} + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/machine/Machines_Get.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/machine/Machines_Get.json new file mode 100644 index 000000000000..fbcfa508b785 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/machine/Machines_Get.json @@ -0,0 +1,208 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "machineName": "myMachine", + "api-version": "2025-08-21-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/machines/myMachine", + "name": "myMachine", + "location": "eastus2euap", + "tags": null, + "identity": { + "type": "SystemAssigned", + "principalId": "string", + "tenantId": "string" + }, + "type": "Microsoft.HybridCompute/machines", + "kind": null, + "properties": { + "provisioningState": "Succeeded", + "agentVersion": null, + "status": null, + "lastStatusChange": null, + "errorDetails": null, + "displayName": null, + "machineFqdn": null, + "vmUuid": null, + "osSku": null, + "osEdition": "Standard", + "domainName": null, + "adFqdn": null, + "dnsFqdn": null, + "osVersion": null, + "osType": null, + "osProfile": { + "computerName": null, + "windowsConfiguration": { + "patchSettings": { + "assessmentMode": null, + "patchMode": null, + "enableHotpatching": true, + "status": { + "hotpatchEnablementStatus": "Enabled", + "error": null + } + } + }, + "linuxConfiguration": { + "patchSettings": { + "assessmentMode": null, + "patchMode": null + } + } + }, + "licenseProfile": { + "licenseStatus": "Licensed", + "licenseChannel": "PSG", + "softwareAssurance": { + "softwareAssuranceCustomer": true + }, + "esuProfile": { + "licenseAssignmentState": "Assigned", + "esuEligibility": "Ineligible", + "serverType": "Standard", + "esuKeyState": "Inactive", + "esuKeys": [ + { + "sku": "skuNumber1", + "licenseStatus": 1 + }, + { + "sku": "skuNumber2", + "licenseStatus": 1 + } + ] + }, + "productProfile": { + "subscriptionStatus": "Enabled", + "productType": "WindowsServer", + "enrollmentDate": "2023-10-05T20:36:49.745Z", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z", + "billingEndDate": "2023-11-05T20:36:49.745Z", + "productFeatures": [ + { + "name": "Hotpatch", + "subscriptionStatus": "Enabled", + "enrollmentDate": "2023-10-05T20:36:49.745Z", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z", + "billingEndDate": "2023-11-05T20:36:49.745Z" + } + ] + } + }, + "vmId": "b7a098cc-b0b8-46e8-a205-62f301a62a8f", + "locationData": { + "name": "Redmond", + "city": "redmond", + "district": null, + "countryOrRegion": "usa" + }, + "clientPublicKey": "string", + "identityKeyStore": "TPM", + "tpmEkCertificate": "string", + "parentClusterResourceId": "{AzureStackHCIResourceId}", + "hardwareResourceId": null, + "mssqlDiscovered": "false", + "detectedProperties": { + "cloudprovider": "N/A", + "manufacturer": "Microsoft Corporation", + "model": "Virtual Machine" + }, + "agentConfiguration": { + "proxyUrl": "https://test.test", + "incomingConnectionsPorts": [ + "22", + "23" + ], + "extensionsAllowList": null, + "extensionsBlockList": null, + "proxyBypass": [ + "proxy1", + "proxy2" + ], + "extensionsEnabled": "true", + "guestConfigurationEnabled": "true", + "configMode": "full" + }, + "serviceStatuses": { + "extensionService": { + "status": "Running", + "startupType": "Automatic" + }, + "guestConfigurationService": { + "status": "Running", + "startupType": "Automatic" + } + }, + "firmwareProfile": { + "serialNumber": "007f0232-1c2e-4978-8604-ea44e7a5f5a0", + "type": "BIOS" + }, + "hardwareProfile": { + "totalPhysicalMemoryInBytes": 34359738368, + "numberOfCpuSockets": 2, + "processors": [ + { + "name": "Intel(R) Core(TM) i7-10610U CPU @ 1.80GHz", + "numberOfCores": 4 + } + ] + }, + "storageProfile": { + "disks": [ + { + "path": "C:/", + "diskType": "Fixed", + "generatedId": "94318602-6e46-4eaa-997e-0e528afe3d17", + "id": "2", + "name": "Windows", + "maxSizeInBytes": 1022870155264, + "usedSpaceInBytes": 435501297664 + } + ] + }, + "privateLinkScopeResourceId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/privateLinkScopeName", + "networkProfile": { + "networkInterfaces": [ + { + "name": "Wi-Fi", + "macAddress": "3c:49:6e:13:0e:73", + "id": "8", + "ipAddresses": [ + { + "address": "192.168.12.345", + "ipAddressVersion": "IPv4", + "subnet": { + "addressPrefix": "192.168.12.0/24" + } + } + ] + }, + { + "name": "Ethernet", + "macAddress": "10:15:5c:52:f9:b8", + "id": "23", + "ipAddresses": [ + { + "address": "1001:0:34aa:5000:1234:aaaa:bbbb:cccc", + "ipAddressVersion": "IPv6", + "subnet": { + "addressPrefix": "1001:0:34aa:5000::/64" + } + } + ] + } + ] + } + }, + "resources": [] + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/machine/Machines_Get_LicenseProfileInstanceView.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/machine/Machines_Get_LicenseProfileInstanceView.json new file mode 100644 index 000000000000..f047b9309322 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/machine/Machines_Get_LicenseProfileInstanceView.json @@ -0,0 +1,227 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "machineName": "myMachine", + "$expand": "instanceView", + "api-version": "2025-08-21-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/machines/myMachine", + "name": "myMachine", + "location": "eastus2euap", + "tags": null, + "identity": { + "type": "SystemAssigned", + "principalId": "string", + "tenantId": "string" + }, + "type": "Microsoft.HybridCompute/machines", + "kind": null, + "properties": { + "provisioningState": "Succeeded", + "agentVersion": null, + "status": null, + "lastStatusChange": null, + "errorDetails": null, + "displayName": null, + "machineFqdn": null, + "vmUuid": null, + "osSku": null, + "osEdition": "Standard", + "domainName": null, + "adFqdn": null, + "dnsFqdn": null, + "osVersion": null, + "osType": null, + "osProfile": { + "computerName": null, + "windowsConfiguration": { + "patchSettings": { + "assessmentMode": null, + "patchMode": null, + "enableHotpatching": true, + "status": { + "hotpatchEnablementStatus": "Enabled", + "error": null + } + } + }, + "linuxConfiguration": { + "patchSettings": { + "assessmentMode": null, + "patchMode": null + } + } + }, + "licenseProfile": { + "licenseStatus": "Licensed", + "licenseChannel": "PSG", + "softwareAssurance": { + "softwareAssuranceCustomer": true + }, + "esuProfile": { + "assignedLicense": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/Licenses/{licenseName}", + "name": "{licenseName}", + "type": "Microsoft.HybridCompute/licenses", + "location": "eastus2euap", + "tags": null, + "properties": { + "tenantId": "{tenandId}", + "licenseType": "ESU", + "licenseDetails": { + "state": "Activated", + "target": "Windows Server 2012", + "edition": "Datacenter", + "type": "pCore", + "processors": 6, + "assignedLicenses": 8, + "immutableId": "" + } + } + }, + "licenseAssignmentState": "Assigned", + "esuEligibility": "Ineligible", + "serverType": "Standard", + "esuKeyState": "Inactive", + "esuKeys": [ + { + "sku": "skuNumber1", + "licenseStatus": 1 + }, + { + "sku": "skuNumber2", + "licenseStatus": 1 + } + ] + }, + "productProfile": { + "subscriptionStatus": "Enabled", + "productType": "WindowsServer", + "enrollmentDate": "2023-10-05T20:36:49.745Z", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z", + "billingEndDate": "2023-11-05T20:36:49.745Z", + "productFeatures": [ + { + "name": "Hotpatch", + "subscriptionStatus": "Enabled", + "enrollmentDate": "2023-10-05T20:36:49.745Z", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z", + "billingEndDate": "2023-11-05T20:36:49.745Z" + } + ] + } + }, + "vmId": "b7a098cc-b0b8-46e8-a205-62f301a62a8f", + "locationData": { + "name": "Redmond", + "city": "redmond", + "district": null, + "countryOrRegion": "usa" + }, + "clientPublicKey": "string", + "parentClusterResourceId": "{AzureStackHCIResourceId}", + "hardwareResourceId": null, + "mssqlDiscovered": "false", + "detectedProperties": { + "cloudprovider": "N/A", + "manufacturer": "Microsoft Corporation", + "model": "Virtual Machine" + }, + "agentConfiguration": { + "proxyUrl": "https://test.test", + "incomingConnectionsPorts": [ + "22", + "23" + ], + "extensionsAllowList": null, + "extensionsBlockList": null, + "proxyBypass": [ + "proxy1", + "proxy2" + ], + "extensionsEnabled": "true", + "guestConfigurationEnabled": "true", + "configMode": "full" + }, + "serviceStatuses": { + "extensionService": { + "status": "Running", + "startupType": "Automatic" + }, + "guestConfigurationService": { + "status": "Running", + "startupType": "Automatic" + } + }, + "firmwareProfile": { + "serialNumber": "007f0232-1c2e-4978-8604-ea44e7a5f5a0", + "type": "BIOS" + }, + "hardwareProfile": { + "totalPhysicalMemoryInBytes": 34359738368, + "numberOfCpuSockets": 2, + "processors": [ + { + "name": "Intel(R) Core(TM) i7-10610U CPU @ 1.80GHz", + "numberOfCores": 4 + } + ] + }, + "storageProfile": { + "disks": [ + { + "path": "C:/", + "diskType": "Fixed", + "generatedId": "94318602-6e46-4eaa-997e-0e528afe3d17", + "id": "2", + "name": "Windows", + "maxSizeInBytes": 1022870155264, + "usedSpaceInBytes": 435501297664 + } + ] + }, + "privateLinkScopeResourceId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/privateLinkScopeName", + "networkProfile": { + "networkInterfaces": [ + { + "name": "Wi-Fi", + "macAddress": "3c:49:6e:13:0e:73", + "id": "8", + "ipAddresses": [ + { + "address": "192.168.12.345", + "ipAddressVersion": "IPv4", + "subnet": { + "addressPrefix": "192.168.12.0/24" + } + } + ] + }, + { + "name": "Ethernet", + "macAddress": "10:15:5c:52:f9:b8", + "id": "23", + "ipAddresses": [ + { + "address": "1001:0:34aa:5000:1234:aaaa:bbbb:cccc", + "ipAddressVersion": "IPv6", + "subnet": { + "addressPrefix": "1001:0:34aa:5000::/64" + } + } + ] + } + ] + } + }, + "resources": [] + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/machine/Machines_ListByResourceGroup.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/machine/Machines_ListByResourceGroup.json new file mode 100644 index 000000000000..db7aeb81a1ee --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/machine/Machines_ListByResourceGroup.json @@ -0,0 +1,253 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroup", + "api-version": "2025-08-21-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/machines/myMachine", + "name": "myMachine", + "location": "eastus2euap", + "tags": null, + "identity": { + "type": "SystemAssigned", + "principalId": "f7a068cc-b0b8-46e8-a203-22f301a62a8f", + "tenantId": "c4098cc-91b8-46c2-a205-d82ab1a62a8f" + }, + "type": "Microsoft.HybridCompute/machines", + "kind": null, + "properties": { + "provisioningState": "Succeeded", + "agentVersion": null, + "status": null, + "lastStatusChange": null, + "errorDetails": null, + "displayName": null, + "machineFqdn": null, + "vmUuid": null, + "osSku": null, + "osEdition": "Standard", + "domainName": null, + "adFqdn": null, + "dnsFqdn": null, + "osVersion": null, + "osType": null, + "osProfile": { + "computerName": null, + "windowsConfiguration": { + "patchSettings": { + "assessmentMode": null, + "patchMode": null, + "enableHotpatching": true, + "status": { + "hotpatchEnablementStatus": "Enabled", + "error": null + } + } + }, + "linuxConfiguration": { + "patchSettings": { + "assessmentMode": null, + "patchMode": null + } + } + }, + "licenseProfile": { + "licenseStatus": "Licensed", + "licenseChannel": "PSG", + "softwareAssurance": { + "softwareAssuranceCustomer": true + }, + "esuProfile": { + "licenseAssignmentState": "Assigned", + "esuEligibility": "Ineligible", + "serverType": "Standard", + "esuKeyState": "Inactive", + "esuKeys": [ + { + "sku": "skuNumber1", + "licenseStatus": 1 + }, + { + "sku": "skuNumber2", + "licenseStatus": 1 + } + ] + }, + "productProfile": { + "subscriptionStatus": "Enabled", + "productType": "WindowsServer", + "enrollmentDate": "2023-10-05T20:36:49.745Z", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z", + "billingEndDate": "2023-11-05T20:36:49.745Z", + "productFeatures": [ + { + "name": "Hotpatch", + "subscriptionStatus": "Enabled", + "enrollmentDate": "2023-10-05T20:36:49.745Z", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z", + "billingEndDate": "2023-11-05T20:36:49.745Z" + } + ] + } + }, + "vmId": "b7a098cc-b0b8-46e8-a205-62f301a62a8f", + "locationData": { + "name": "Redmond" + }, + "clientPublicKey": "string", + "parentClusterResourceId": null, + "hardwareResourceId": null, + "mssqlDiscovered": "false", + "detectedProperties": { + "cloudprovider": "N/A", + "manufacturer": "Microsoft Corporation", + "model": "Virtual Machine" + }, + "agentConfiguration": { + "proxyUrl": "https://test.test", + "incomingConnectionsPorts": [ + "22", + "23" + ], + "extensionsAllowList": null, + "extensionsBlockList": null, + "proxyBypass": [ + "proxy1", + "proxy2" + ], + "extensionsEnabled": "true", + "guestConfigurationEnabled": "true", + "configMode": "full" + }, + "privateLinkScopeResourceId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/privateLinkScopeName" + } + }, + { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/machines/myMachine2", + "name": "myMachine2", + "location": "westus2", + "tags": null, + "identity": { + "type": "SystemAssigned", + "principalId": "e7a068cc-b0b8-46e8-a203-22f301a62a8f", + "tenantId": "c4098cc-91b8-46c2-a205-d82ab1a62a8f" + }, + "type": "Microsoft.HybridCompute/machines", + "kind": null, + "properties": { + "provisioningState": "Succeeded", + "agentVersion": null, + "status": null, + "lastStatusChange": null, + "errorDetails": null, + "displayName": null, + "machineFqdn": null, + "osEdition": "Standard", + "osVersion": null, + "osType": null, + "osProfile": { + "computerName": null, + "windowsConfiguration": { + "patchSettings": { + "assessmentMode": null, + "patchMode": null, + "enableHotpatching": true, + "status": { + "hotpatchEnablementStatus": "Enabled", + "error": null + } + } + }, + "linuxConfiguration": { + "patchSettings": { + "assessmentMode": null, + "patchMode": null + } + } + }, + "licenseProfile": { + "licenseStatus": "Licensed", + "licenseChannel": "PSG", + "softwareAssurance": { + "softwareAssuranceCustomer": true + }, + "esuProfile": { + "licenseAssignmentState": "Assigned", + "esuEligibility": "Ineligible", + "serverType": "Standard", + "esuKeyState": "Inactive", + "esuKeys": [ + { + "sku": "skuNumber1", + "licenseStatus": 1 + }, + { + "sku": "skuNumber2", + "licenseStatus": 1 + } + ] + }, + "productProfile": { + "subscriptionStatus": "Enabled", + "productType": "WindowsServer", + "enrollmentDate": "2023-10-05T20:36:49.745Z", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z", + "billingEndDate": "2023-11-05T20:36:49.745Z", + "productFeatures": [ + { + "name": "Hotpatch", + "subscriptionStatus": "Enabled", + "enrollmentDate": "2023-10-05T20:36:49.745Z", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z", + "billingEndDate": "2023-11-05T20:36:49.745Z" + } + ] + } + }, + "vmId": "a4a098cc-b0b8-46e8-a205-62f301a62a8f", + "locationData": { + "name": "Redmond" + }, + "clientPublicKey": "string", + "parentClusterResourceId": "{AzureStackHCIResourceId}", + "hardwareResourceId": null, + "mssqlDiscovered": "true", + "detectedProperties": { + "cloudprovider": "N/A", + "manufacturer": "Microsoft Corporation", + "model": "Surfacebook" + }, + "agentConfiguration": { + "proxyUrl": "https://test.test", + "incomingConnectionsPorts": [ + "22", + "23" + ], + "extensionsAllowList": null, + "extensionsBlockList": null, + "proxyBypass": [ + "proxy1", + "proxy2" + ], + "extensionsEnabled": "true", + "guestConfigurationEnabled": "true", + "configMode": "full" + }, + "privateLinkScopeResourceId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/privateLinkScopeName" + } + } + ], + "nextLink": null + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/machine/Machines_ListBySubscription.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/machine/Machines_ListBySubscription.json new file mode 100644 index 000000000000..ece944626d59 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/machine/Machines_ListBySubscription.json @@ -0,0 +1,251 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "api-version": "2025-08-21-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/machines/myMachine", + "name": "myMachine", + "location": "eastus2euap", + "tags": null, + "identity": { + "type": "SystemAssigned", + "principalId": "string", + "tenantId": "string" + }, + "type": "Microsoft.HybridCompute/machines", + "kind": null, + "properties": { + "provisioningState": "Succeeded", + "agentVersion": null, + "status": null, + "lastStatusChange": null, + "errorDetails": null, + "displayName": null, + "machineFqdn": null, + "vmUuid": null, + "osSku": null, + "osEdition": "Standard", + "domainName": null, + "adFqdn": null, + "dnsFqdn": null, + "osVersion": null, + "osType": null, + "osProfile": { + "computerName": null, + "windowsConfiguration": { + "patchSettings": { + "assessmentMode": null, + "patchMode": null, + "enableHotpatching": true, + "status": { + "hotpatchEnablementStatus": "Enabled", + "error": null + } + } + }, + "linuxConfiguration": { + "patchSettings": { + "assessmentMode": null, + "patchMode": null + } + } + }, + "licenseProfile": { + "licenseStatus": "Licensed", + "licenseChannel": "PSG", + "softwareAssurance": { + "softwareAssuranceCustomer": true + }, + "esuProfile": { + "licenseAssignmentState": "Assigned", + "esuEligibility": "Ineligible", + "serverType": "Standard", + "esuKeyState": "Inactive", + "esuKeys": [ + { + "sku": "skuNumber1", + "licenseStatus": 1 + }, + { + "sku": "skuNumber2", + "licenseStatus": 1 + } + ] + }, + "productProfile": { + "subscriptionStatus": "Enabled", + "productType": "WindowsServer", + "enrollmentDate": "2023-10-05T20:36:49.745Z", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z", + "billingEndDate": "2023-11-05T20:36:49.745Z", + "productFeatures": [ + { + "name": "Hotpatch", + "subscriptionStatus": "Enabled", + "enrollmentDate": "2023-10-05T20:36:49.745Z", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z", + "billingEndDate": "2023-11-05T20:36:49.745Z" + } + ] + } + }, + "vmId": "b7a098cc-b0b8-46e8-a205-62f301a62a8f", + "locationData": { + "name": "Redmond" + }, + "clientPublicKey": "string", + "parentClusterResourceId": null, + "hardwareResourceId": null, + "mssqlDiscovered": "false", + "detectedProperties": { + "cloudprovider": "N/A", + "manufacturer": "Microsoft Corporation", + "model": "Virtual Machine" + }, + "agentConfiguration": { + "proxyUrl": "https://test.test", + "incomingConnectionsPorts": [ + "22", + "23" + ], + "extensionsAllowList": null, + "extensionsBlockList": null, + "proxyBypass": [ + "proxy1", + "proxy2" + ], + "extensionsEnabled": "true", + "guestConfigurationEnabled": "true", + "configMode": "full" + }, + "privateLinkScopeResourceId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/privateLinkScopeName" + } + }, + { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup2/providers/Microsoft.HybridCompute/machines/myMachine2", + "name": "myMachine2", + "location": "westus2", + "tags": null, + "identity": { + "type": "SystemAssigned", + "principalId": "e7a068cc-b0b8-46e8-a203-22f301a62a8f", + "tenantId": "c4098cc-91b8-46c2-a205-d82ab1a62a8f" + }, + "type": "Microsoft.HybridCompute/machines", + "kind": null, + "properties": { + "provisioningState": "Succeeded", + "agentVersion": null, + "status": null, + "lastStatusChange": null, + "errorDetails": null, + "displayName": null, + "machineFqdn": null, + "osEdition": "Standard", + "osVersion": null, + "osType": null, + "osProfile": { + "computerName": null, + "windowsConfiguration": { + "patchSettings": { + "assessmentMode": null, + "patchMode": null, + "enableHotpatching": true, + "status": { + "hotpatchEnablementStatus": "Enabled", + "error": null + } + } + }, + "linuxConfiguration": { + "patchSettings": { + "assessmentMode": null, + "patchMode": null + } + } + }, + "licenseProfile": { + "licenseStatus": "Licensed", + "licenseChannel": "PSG", + "softwareAssurance": { + "softwareAssuranceCustomer": true + }, + "esuProfile": { + "licenseAssignmentState": "Assigned", + "esuEligibility": "Ineligible", + "serverType": "Standard", + "esuKeyState": "Inactive", + "esuKeys": [ + { + "sku": "skuNumber1", + "licenseStatus": 1 + }, + { + "sku": "skuNumber2", + "licenseStatus": 1 + } + ] + }, + "productProfile": { + "subscriptionStatus": "Enabled", + "productType": "WindowsServer", + "enrollmentDate": "2023-10-05T20:36:49.745Z", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z", + "billingEndDate": "2023-11-05T20:36:49.745Z", + "productFeatures": [ + { + "name": "Hotpatch", + "subscriptionStatus": "Enabled", + "enrollmentDate": "2023-10-05T20:36:49.745Z", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z", + "billingEndDate": "2023-11-05T20:36:49.745Z" + } + ] + } + }, + "vmId": "a4a098cc-b0b8-46e8-a205-62f301a62a8f", + "locationData": { + "name": "Redmond" + }, + "clientPublicKey": "string", + "parentClusterResourceId": "{AzureStackHCIResourceId}", + "hardwareResourceId": null, + "mssqlDiscovered": "true", + "detectedProperties": { + "cloudprovider": "N/A", + "manufacturer": "Microsoft Corporation", + "model": "Surfacebook" + }, + "agentConfiguration": { + "proxyUrl": "https://test.test", + "incomingConnectionsPorts": [ + "22", + "23" + ], + "extensionsAllowList": null, + "extensionsBlockList": null, + "proxyBypass": [ + "proxy1", + "proxy2" + ], + "extensionsEnabled": "true", + "guestConfigurationEnabled": "true", + "configMode": "full" + } + } + } + ], + "nextLink": "string" + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/machine/Machines_Update.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/machine/Machines_Update.json new file mode 100644 index 000000000000..a4180da83f20 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/machine/Machines_Update.json @@ -0,0 +1,145 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroup", + "machineName": "myMachine", + "api-version": "2025-08-21-preview", + "location": "eastus2euap", + "kind": null, + "parameters": { + "properties": { + "locationData": { + "name": "Redmond" + }, + "osProfile": { + "windowsConfiguration": { + "patchSettings": { + "assessmentMode": "ImageDefault", + "patchMode": "AutomaticByPlatform", + "enableHotpatching": true + } + }, + "linuxConfiguration": { + "patchSettings": { + "assessmentMode": "ImageDefault", + "patchMode": "Manual" + } + } + }, + "identityKeyStore": "TPM", + "tpmEkCertificate": "string", + "parentClusterResourceId": "{AzureStackHCIResourceId}", + "privateLinkScopeResourceId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/privateLinkScopeName" + }, + "identity": { + "type": "SystemAssigned" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/machines/myMachine", + "name": "myMachine", + "location": "eastus2euap", + "tags": null, + "identity": { + "type": "SystemAssigned", + "principalId": "string", + "tenantId": "string" + }, + "type": "Microsoft.HybridCompute/machines", + "kind": null, + "properties": { + "provisioningState": "Succeeded", + "agentVersion": null, + "status": null, + "lastStatusChange": null, + "errorDetails": null, + "displayName": null, + "machineFqdn": null, + "vmUuid": null, + "osSku": null, + "osEdition": "Standard", + "domainName": null, + "adFqdn": null, + "dnsFqdn": null, + "osVersion": null, + "osType": null, + "osProfile": { + "computerName": null, + "windowsConfiguration": { + "patchSettings": { + "assessmentMode": "ImageDefault", + "patchMode": "AutomaticByPlatform", + "enableHotpatching": true, + "status": { + "hotpatchEnablementStatus": "PendingEvaluation", + "error": null + } + } + }, + "linuxConfiguration": { + "patchSettings": { + "assessmentMode": "ImageDefault", + "patchMode": "Manual" + } + } + }, + "licenseProfile": { + "licenseStatus": "Licensed", + "licenseChannel": "PSG", + "softwareAssurance": { + "softwareAssuranceCustomer": true + }, + "esuProfile": { + "licenseAssignmentState": "Assigned", + "esuEligibility": "Ineligible", + "serverType": "Standard", + "esuKeyState": "Inactive", + "esuKeys": [ + { + "sku": "skuNumber1", + "licenseStatus": 1 + }, + { + "sku": "skuNumber2", + "licenseStatus": 1 + } + ] + }, + "productProfile": { + "subscriptionStatus": "Enabled", + "productType": "WindowsServer", + "enrollmentDate": "2023-10-05T20:36:49.745Z", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z", + "billingEndDate": "2023-11-05T20:36:49.745Z", + "productFeatures": [ + { + "name": "Hotpatch", + "subscriptionStatus": "Enabled", + "enrollmentDate": "2023-10-05T20:36:49.745Z", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z", + "billingEndDate": "2023-11-05T20:36:49.745Z" + } + ] + } + }, + "vmId": "b7a098cc-b0b8-46e8-a205-62f301a62a8f", + "locationData": { + "name": "Redmond" + }, + "clientPublicKey": "string", + "identityKeyStore": "TPM", + "tpmEkCertificate": "string", + "parentClusterResourceId": "{AzureStackHCIResourceId}", + "hardwareResourceId": null, + "detectedProperties": null, + "privateLinkScopeResourceId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/privateLinkScopeName" + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/networkConfiguration/NetworkConfigurationsCreate.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/networkConfiguration/NetworkConfigurationsCreate.json new file mode 100644 index 000000000000..edf0ad461bc1 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/networkConfiguration/NetworkConfigurationsCreate.json @@ -0,0 +1,57 @@ +{ + "parameters": { + "api-version": "2025-08-21-preview", + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "hybridRG", + "machineName": "testMachine", + "name": "current", + "parameters": { + "properties": { + "location": "westus", + "networkConfigurationScopeResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/privateLinkScopes/testScope" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridCompute/networkConfigurations/current", + "name": "current", + "type": "Microsoft.HybridCompute/networkConfigurations", + "properties": { + "location": "westus", + "tenantId": "00000000-1111-2222-3333-444444444444", + "networkConfigurationScopeId": "00000000-1111-2222-3333-444444444444", + "networkConfigurationScopeResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/privateLinkScopes/testScope", + "keyProperties": { + "clientPublicKey": { + "publicKey": "62617365363420656e636f646564207075626c6963206b6579", + "notAfter": "2021-01-01T00:00:00Z", + "renewAfter": "2021-02-01T00:00:00Z" + } + } + } + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridCompute/networkConfigurations/current", + "name": "current", + "type": "Microsoft.HybridCompute/networkConfigurations", + "properties": { + "location": "westus", + "tenantId": "00000000-1111-2222-3333-444444444444", + "networkConfigurationScopeId": "00000000-1111-2222-3333-444444444444", + "networkConfigurationScopeResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/privateLinkScopes/testScope", + "keyProperties": { + "clientPublicKey": { + "publicKey": "62617365363420656e636f646564207075626c6963206b6579", + "notAfter": "2021-01-01T00:00:00Z", + "renewAfter": "2021-02-01T00:00:00Z" + } + } + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/networkConfiguration/NetworkConfigurationsGet.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/networkConfiguration/NetworkConfigurationsGet.json new file mode 100644 index 000000000000..4c2153b09a13 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/networkConfiguration/NetworkConfigurationsGet.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "api-version": "2025-08-21-preview", + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "hybridRG", + "machineName": "testMachine" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridCompute/networkConfigurations/current", + "name": "current", + "type": "Microsoft.HybridCompute/networkConfigurations", + "properties": { + "tenantId": "default", + "location": "westus", + "networkConfigurationScopeId": "00000000-1111-2222-3333-444444444444", + "networkConfigurationScopeResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/privateLinkScopes/testScope", + "keyProperties": { + "clientPublicKey": { + "publicKey": "62617365363420656e636f646564207075626c6963206b6579", + "notAfter": "2021-01-01T00:00:00Z", + "renewAfter": "2021-02-01T00:00:00Z" + } + } + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/networkConfiguration/NetworkConfigurationsPatch.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/networkConfiguration/NetworkConfigurationsPatch.json new file mode 100644 index 000000000000..18a83235dbc6 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/networkConfiguration/NetworkConfigurationsPatch.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "api-version": "2025-08-21-preview", + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "hybridRG", + "machineName": "testMachine", + "name": "current", + "parameters": { + "properties": { + "networkConfigurationScopeResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/privateLinkScopes/newScope" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridCompute/networkConfigurations/current", + "name": "current", + "type": "Microsoft.HybridCompute/networkConfigurations", + "properties": { + "location": "westus", + "tenantId": "00000000-1111-2222-3333-444444444444", + "networkConfigurationScopeId": "00000000-1111-2222-3333-444444444444", + "networkConfigurationScopeResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/privateLinkScopes/newScope", + "keyProperties": { + "clientPublicKey": { + "publicKey": "publickey", + "notAfter": "2021-01-01T00:00:00Z", + "renewAfter": "2021-02-01T00:00:00Z" + } + } + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/networkConfiguration/NetworkConfigurationsUpdate.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/networkConfiguration/NetworkConfigurationsUpdate.json new file mode 100644 index 000000000000..7735c63ffe85 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/networkConfiguration/NetworkConfigurationsUpdate.json @@ -0,0 +1,56 @@ +{ + "parameters": { + "api-version": "2025-08-21-preview", + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "hybridRG", + "machineName": "testMachine", + "name": "current", + "parameters": { + "properties": { + "networkConfigurationScopeResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/privateLinkScopes/newScope" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridCompute/networkConfigurations/current", + "name": "current", + "type": "Microsoft.HybridCompute/networkConfigurations", + "properties": { + "location": "westus", + "tenantId": "00000000-1111-2222-3333-444444444444", + "networkConfigurationScopeId": "00000000-1111-2222-3333-444444444444", + "networkConfigurationScopeResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/privateLinkScopes/newScope", + "keyProperties": { + "clientPublicKey": { + "publicKey": "publickey", + "notAfter": "2021-01-01T00:00:00Z", + "renewAfter": "2021-02-01T00:00:00Z" + } + } + } + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridCompute/networkConfigurations/current", + "name": "current", + "type": "Microsoft.HybridCompute/networkConfigurations", + "properties": { + "location": "westus", + "tenantId": "00000000-1111-2222-3333-444444444444", + "networkConfigurationScopeId": "00000000-1111-2222-3333-444444444444", + "networkConfigurationScopeResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/privateLinkScopes/newScope", + "keyProperties": { + "clientPublicKey": { + "publicKey": "publickey", + "notAfter": "2021-01-01T00:00:00Z", + "renewAfter": "2021-02-01T00:00:00Z" + } + } + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationGet.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationGet.json new file mode 100644 index 000000000000..311e93043a78 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationGet.json @@ -0,0 +1,50 @@ +{ + "parameters": { + "api-version": "2025-08-21-preview", + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "my-resource-group", + "scopeName": "my-privatelinkscope", + "perimeterName": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee.myAssociation" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/my-resource-group/providers/Microsoft.HybridCompute/privateLinkScopes/my-privatelinkscope/networkSecurityPerimeterConfigurations/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee.myAssociation", + "name": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee.myAssociation", + "type": "Microsoft.HybridCompute/privateLinkScopes/networkSecurityPerimeterConfigurations", + "properties": { + "provisioningState": "Accepted", + "provisioningIssues": [], + "networkSecurityPerimeter": { + "id": "/subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/networkSecurityPerimeters/myPerimeter", + "perimeterGuid": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", + "location": "westus" + }, + "resourceAssociation": { + "name": "myAssociation", + "accessMode": "enforced" + }, + "profile": { + "name": "myProfile", + "accessRulesVersion": 1, + "accessRules": [ + { + "name": "myAccessRule", + "properties": { + "direction": "Inbound", + "addressPrefixes": [ + "148.0.0.0/8", + "152.4.6.0/24", + "..." + ] + } + } + ], + "diagnosticSettingsVersion": 1, + "enabledLogCategories": [] + } + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationList.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationList.json new file mode 100644 index 000000000000..d28345899140 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationList.json @@ -0,0 +1,90 @@ +{ + "parameters": { + "api-version": "2025-08-21-preview", + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "my-resource-group", + "scopeName": "my-privatelinkscope" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/my-resource-group/providers/Microsoft.HybridCompute/privateLinkScopes/my-privatelinkscope/networkSecurityPerimeterConfigurations/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee.myAssociation", + "name": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee.myAssociation", + "type": "Microsoft.HybridCompute/privateLinkScopes/networkSecurityPerimeterConfigurations", + "properties": { + "provisioningState": "Accepted", + "provisioningIssues": [], + "networkSecurityPerimeter": { + "id": "/subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/networkSecurityPerimeters/myPerimeter", + "perimeterGuid": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", + "location": "westus" + }, + "resourceAssociation": { + "name": "myAssociation", + "accessMode": "enforced" + }, + "profile": { + "name": "myProfile", + "accessRulesVersion": 1, + "accessRules": [ + { + "name": "myAccessRule", + "properties": { + "direction": "Inbound", + "addressPrefixes": [ + "148.0.0.0/8", + "152.4.6.0/24", + "..." + ] + } + } + ], + "diagnosticSettingsVersion": 1, + "enabledLogCategories": [] + } + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/my-resource-group/providers/Microsoft.HybridCompute/privateLinkScopes/my-privatelinkscope/networkSecurityPerimeterConfigurations/37364608-77ea-4c2a-bdc3-4b0b1cdfab15.myAssociation2", + "name": "aaaaaaaa-0000-cccc-1111-eeeeeeeeeeee.myAssociation2", + "type": "Microsoft.HybridCompute/privateLinkScopes/networkSecurityPerimeterConfigurations", + "properties": { + "provisioningState": "Accepted", + "provisioningIssues": [], + "networkSecurityPerimeter": { + "id": "/subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/networkSecurityPerimeters/myOtherPerimeter", + "perimeterGuid": "aaaaaaaa-0000-cccc-1111-eeeeeeeeeeee", + "location": "westus" + }, + "resourceAssociation": { + "name": "myAssociation", + "accessMode": "learning" + }, + "profile": { + "name": "myProfile", + "accessRulesVersion": 1, + "accessRules": [ + { + "name": "myAccessRule", + "properties": { + "direction": "Inbound", + "addressPrefixes": [ + "122.0.0.0/8", + "144.4.6.0/24", + "..." + ] + } + } + ], + "diagnosticSettingsVersion": 1, + "enabledLogCategories": [] + } + } + } + ] + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationReconcile.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationReconcile.json new file mode 100644 index 000000000000..fc4de5a95201 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationReconcile.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "api-version": "2025-08-21-preview", + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "my-resource-group", + "scopeName": "my-privatelinkscope", + "perimeterName": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee.myAssociation" + }, + "responses": { + "200": { + "body": { + "location": "{callbackUrl}" + } + }, + "202": { + "headers": { + "Location": "{callbackUrl}", + "Retry-After": 200, + "Azure-AsyncOperation": "{callbackUri}" + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/privateEndpoint/PrivateEndpointConnection_Delete.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/privateEndpoint/PrivateEndpointConnection_Delete.json new file mode 100644 index 000000000000..9f54229d061a --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/privateEndpoint/PrivateEndpointConnection_Delete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "myResourceGroup", + "scopeName": "myPrivateLinkScope", + "privateEndpointConnectionName": "private-endpoint-connection-name", + "api-version": "2025-08-21-preview" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "{callbackUrl}", + "Retry-After": 200, + "Azure-AsyncOperation": "{callbackUri}" + } + }, + "204": {} + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/privateEndpoint/PrivateEndpointConnection_Get.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/privateEndpoint/PrivateEndpointConnection_Get.json new file mode 100644 index 000000000000..d610a0e04220 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/privateEndpoint/PrivateEndpointConnection_Get.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "myResourceGroup", + "scopeName": "myPrivateLinkScope", + "privateEndpointConnectionName": "private-endpoint-connection-name", + "api-version": "2025-08-21-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/myPrivateLinkScope/privateEndpointConnections/private-endpoint-connection-name", + "name": "private-endpoint-connection-name", + "type": "Microsoft.HybridCompute/privateLinkScopes/privateEndpointConnections", + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/privateEndpoints/private-endpoint-name" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-approved", + "actionsRequired": "None" + }, + "groupIds": [ + "hybridcompute" + ] + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/privateEndpoint/PrivateEndpointConnection_List.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/privateEndpoint/PrivateEndpointConnection_List.json new file mode 100644 index 000000000000..e2cbe7fe9eb0 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/privateEndpoint/PrivateEndpointConnection_List.json @@ -0,0 +1,54 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "myResourceGroup", + "scopeName": "myPrivateLinkScope", + "api-version": "2025-08-21-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/myPrivateLinkScope/privateEndpointConnections/private-endpoint-connection-name-2", + "name": "private-endpoint-connection-name", + "type": "Microsoft.HybridCompute/privateLinkScopes/privateEndpointConnections", + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/privateEndpoints/private-endpoint-name" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-approved", + "actionsRequired": "None" + }, + "groupIds": [ + "hybridcompute" + ] + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/myPrivateLinkScope/privateEndpointConnections/private-endpoint-connection-name-2", + "name": "private-endpoint-connection-name-2", + "type": "Microsoft.HybridCompute/privateLinkScopes/privateEndpointConnections", + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/privateEndpoints/private-endpoint-name-2" + }, + "privateLinkServiceConnectionState": { + "status": "Pending", + "description": "Please approve my connection.", + "actionsRequired": "None" + }, + "groupIds": [ + "hybridcompute" + ] + } + } + ] + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/privateEndpoint/PrivateEndpointConnection_Update.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/privateEndpoint/PrivateEndpointConnection_Update.json new file mode 100644 index 000000000000..507fb22989f3 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/privateEndpoint/PrivateEndpointConnection_Update.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "myResourceGroup", + "scopeName": "myPrivateLinkScope", + "privateEndpointConnectionName": "private-endpoint-connection-name", + "api-version": "2025-08-21-preview", + "parameters": { + "properties": { + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Approved by johndoe@contoso.com" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/myPrivateLinkScope/privateEndpointConnections/private-endpoint-connection-name", + "name": "private-endpoint-connection-name", + "type": "Microsoft.HybridCompute/privateLinkScopes/privateEndpointConnections", + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/privateEndpoints/private-endpoint-name" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Approved by johndoe@contoso.com", + "actionsRequired": "None" + }, + "groupIds": [ + "hybridcompute" + ] + } + } + }, + "202": {} + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/privateLinkScope/PrivateLinkScopePrivateLinkResource_Get.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/privateLinkScope/PrivateLinkScopePrivateLinkResource_Get.json new file mode 100644 index 000000000000..af364ddb1340 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/privateLinkScope/PrivateLinkScopePrivateLinkResource_Get.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "myResourceGroup", + "scopeName": "myPrivateLinkScope", + "api-version": "2025-08-21-preview", + "groupName": "hybridcompute" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/myPrivateLinkScope/privateLinkResources/hybridcompute", + "name": "hybridcompute", + "type": "Microsoft.HybridCompute/privateLinkScopes/privateLinkResources", + "properties": { + "groupId": "hybridcompute", + "requiredMembers": [ + "HybridCompute.Server", + "HybridCompute.K8sConfiguration", + "GuestConfig.DP" + ], + "requiredZoneNames": [ + "privatelink.his.arc.azure.com", + "privatelink.kubernetesconfiguration.azure.com", + "privatelink.Guestconfiguration.azure.com" + ] + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/privateLinkScope/PrivateLinkScopePrivateLinkResource_ListGet.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/privateLinkScope/PrivateLinkScopePrivateLinkResource_ListGet.json new file mode 100644 index 000000000000..6e7d9312c2fa --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/privateLinkScope/PrivateLinkScopePrivateLinkResource_ListGet.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "myResourceGroup", + "scopeName": "myPrivateLinkScope", + "api-version": "2025-08-21-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/myPrivateLinkScope/privateLinkResources/hybridcompute", + "name": "hybridcompute", + "type": "Microsoft.HybridCompute/privateLinkScopes/privateLinkResources", + "properties": { + "groupId": "hybridcompute", + "requiredMembers": [ + "HybridCompute.ServerDP", + "HybridCompute.K8sConfigurationDP", + "HybridCompute.GuestConfigDP" + ], + "requiredZoneNames": [ + "privatelink.his.arc.azure.com", + "privatelink.kubernetesconfiguration.azure.com", + "privatelink.Guestconfiguration.azure.com" + ] + } + } + ], + "nextLink": null + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/privateLinkScope/PrivateLinkScopes_Create.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/privateLinkScope/PrivateLinkScopes_Create.json new file mode 100644 index 000000000000..052d705936ee --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/privateLinkScope/PrivateLinkScopes_Create.json @@ -0,0 +1,77 @@ +{ + "parameters": { + "api-version": "2025-08-21-preview", + "subscriptionId": "86dc51d3-92ed-4d7e-947a-775ea79b4919", + "resourceGroupName": "my-resource-group", + "scopeName": "my-privatelinkscope", + "parameters": { + "location": "westus" + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4919/resourceGroups/my-resource-group/providers/microsoft.hybridcompute/privateLinkScopes/my-privatelinkscope", + "name": "my-privatelinkscope", + "type": "Microsoft.HybridCompute/privateLinkScopes", + "location": "westus", + "tags": {}, + "properties": { + "privateLinkScopeId": "e5dc51d3-92ed-4d7e-947a-775ea79b4919", + "provisioningState": "Succeeded", + "publicNetworkAccess": "Disabled", + "privateEndpointConnections": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/myPrivateLinkScope/privateEndpointConnections/private-endpoint-connection-name", + "name": "private-endpoint-connection-name", + "type": "Microsoft.HybridCompute/privateLinkScopes/privateEndpointConnections", + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/privateEndpoints/private-endpoint-name" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-approved", + "actionsRequired": "None" + } + } + } + ] + } + } + }, + "201": { + "body": { + "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4919/resourceGroups/my-resource-group/providers/microsoft.hybridcompute/privateLinkScopes/my-privatelinkscope", + "name": "my-privatelinkscope", + "type": "Microsoft.HybridCompute/privateLinkScopes", + "location": "westus", + "tags": {}, + "properties": { + "privateLinkScopeId": "e5dc51d3-92ed-4d7e-947a-775ea79b4919", + "provisioningState": "Succeeded", + "publicNetworkAccess": "Disabled", + "privateEndpointConnections": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/myPrivateLinkScope/privateEndpointConnections/private-endpoint-connection-name", + "name": "private-endpoint-connection-name", + "type": "Microsoft.HybridCompute/privateLinkScopes/privateEndpointConnections", + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/privateEndpoints/private-endpoint-name" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-approved", + "actionsRequired": "None" + } + } + } + ] + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/privateLinkScope/PrivateLinkScopes_Delete.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/privateLinkScope/PrivateLinkScopes_Delete.json new file mode 100644 index 000000000000..1c9747369f75 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/privateLinkScope/PrivateLinkScopes_Delete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2025-08-21-preview", + "subscriptionId": "86dc51d3-92ed-4d7e-947a-775ea79b4919", + "resourceGroupName": "my-resource-group", + "scopeName": "my-privatelinkscope" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Location": "{callbackUrl}", + "Retry-After": 200, + "Azure-AsyncOperation": "{callbackUri}" + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/privateLinkScope/PrivateLinkScopes_Get.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/privateLinkScope/PrivateLinkScopes_Get.json new file mode 100644 index 000000000000..b17d7b29d9ec --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/privateLinkScope/PrivateLinkScopes_Get.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "api-version": "2025-08-21-preview", + "subscriptionId": "86dc51d3-92ed-4d7e-947a-775ea79b4919", + "resourceGroupName": "my-resource-group", + "scopeName": "my-privatelinkscope" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4919/resourceGroups/my-resource-group/providers/microsoft.hybridcompute/privateLinkScopes/my-privatelinkscope", + "name": "my-privatelinkscope", + "type": "Microsoft.HybridCompute/privateLinkScopes", + "location": "westus", + "tags": {}, + "properties": { + "privateLinkScopeId": "f5dc51d3-92ed-4d7e-947a-775ea79b4919", + "provisioningState": "Succeeded", + "publicNetworkAccess": "Disabled", + "privateEndpointConnections": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/myPrivateLinkScope/privateEndpointConnections/private-endpoint-connection-name", + "name": "private-endpoint-connection-name", + "type": "Microsoft.HybridCompute/privateLinkScopes/privateEndpointConnections", + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/privateEndpoints/private-endpoint-name" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-approved", + "actionsRequired": "None" + } + } + } + ] + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/privateLinkScope/PrivateLinkScopes_GetValidation.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/privateLinkScope/PrivateLinkScopes_GetValidation.json new file mode 100644 index 000000000000..fd5048044ea5 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/privateLinkScope/PrivateLinkScopes_GetValidation.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2025-08-21-preview", + "location": "wus2", + "subscriptionId": "86dc51d3-92ed-4d7e-947a-775ea79b4919", + "privateLinkScopeId": "f5dc51d3-92ed-4d7e-947a-775ea79b4919" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4919/resourceGroups/my-resource-group/providers/microsoft.hybridcompute/privateLinkScopes/my-privatelinkscope", + "publicNetworkAccess": "Disabled", + "connectionDetails": [ + { + "id": "id", + "privateIpAddress": "ip", + "linkIdentifier": "linkId", + "groupId": "groupId", + "memberName": "memberName" + } + ] + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/privateLinkScope/PrivateLinkScopes_GetValidationForMachine.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/privateLinkScope/PrivateLinkScopes_GetValidationForMachine.json new file mode 100644 index 000000000000..449aed9e3c14 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/privateLinkScope/PrivateLinkScopes_GetValidationForMachine.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2025-08-21-preview", + "location": "wus2", + "subscriptionId": "86dc51d3-92ed-4d7e-947a-775ea79b4919", + "resourceGroupName": "my-resource-group", + "machineName": "machineName" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4919/resourceGroups/my-resource-group/providers/microsoft.hybridcompute/privateLinkScopes/my-privatelinkscope", + "publicNetworkAccess": "Disabled", + "connectionDetails": [ + { + "id": "id", + "privateIpAddress": "ip", + "linkIdentifier": "linkId", + "groupId": "groupId", + "memberName": "memberName" + } + ] + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/privateLinkScope/PrivateLinkScopes_List.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/privateLinkScope/PrivateLinkScopes_List.json new file mode 100644 index 000000000000..39a272680549 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/privateLinkScope/PrivateLinkScopes_List.json @@ -0,0 +1,57 @@ +{ + "parameters": { + "api-version": "2025-08-21-preview", + "subscriptionId": "86dc51d3-92ed-4d7e-947a-775ea79b4919" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4919/resourceGroups/my-resource-group/providers/microsoft.hybridcompute/privateLinkScopes/my-privatelinkscope", + "name": "my-privatelinkscope", + "type": "Microsoft.HybridCompute/privateLinkScopes", + "location": "westus", + "tags": {}, + "properties": { + "privateLinkScopeId": "e5dc51d3-92ed-4d7e-947a-775ea79b4919", + "provisioningState": "Succeeded", + "publicNetworkAccess": "Disabled" + } + }, + { + "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4919/resourceGroups/my-resource-group/providers/microsoft.hybridcompute/privateLinkScopes/my-other-privatelinkscope", + "name": "my-other-privatelinkscope", + "type": "Microsoft.HybridCompute/privateLinkScopes", + "location": "westus", + "tags": {}, + "properties": { + "privateLinkScopeId": "f5dc51d3-92ed-4d7e-947a-775ea79b4919", + "provisioningState": "Succeeded", + "publicNetworkAccess": "Disabled", + "privateEndpointConnections": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/myPrivateLinkScope/privateEndpointConnections/private-endpoint-connection-name", + "name": "private-endpoint-connection-name", + "type": "Microsoft.HybridCompute/privateLinkScopes/privateEndpointConnections", + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/privateEndpoints/private-endpoint-name" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-approved", + "actionsRequired": "None" + } + } + } + ] + } + } + ], + "nextLink": null + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/privateLinkScope/PrivateLinkScopes_ListByResourceGroup.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/privateLinkScope/PrivateLinkScopes_ListByResourceGroup.json new file mode 100644 index 000000000000..03f610c62044 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/privateLinkScope/PrivateLinkScopes_ListByResourceGroup.json @@ -0,0 +1,76 @@ +{ + "parameters": { + "api-version": "2025-08-21-preview", + "subscriptionId": "86dc51d3-92ed-4d7e-947a-775ea79b4919", + "resourceGroupName": "my-resource-group" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4919/resourceGroups/my-resource-group/providers/microsoft.hybridcompute/privateLinkScopes/my-privatelinkscope", + "name": "my-privatelinkscope", + "type": "Microsoft.HybridCompute/privateLinkScopes", + "location": "westus", + "tags": {}, + "properties": { + "privateLinkScopeId": "f5dc51d3-92ed-4d7e-947a-775ea79b4919", + "provisioningState": "Succeeded", + "publicNetworkAccess": "Disabled", + "privateEndpointConnections": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/myPrivateLinkScope/privateEndpointConnections/private-endpoint-connection-name", + "name": "private-endpoint-connection-name", + "type": "Microsoft.HybridCompute/privateLinkScopes/privateEndpointConnections", + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/privateEndpoints/private-endpoint-name" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-approved", + "actionsRequired": "None" + } + } + } + ] + } + }, + { + "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4919/resourceGroups/my-resource-group/providers/microsoft.hybridcompute/privateLinkScopes/my-other-privatelinkscope", + "name": "my-other-privatelinkscope", + "type": "Microsoft.HybridCompute/privateLinkScopes", + "location": "westus", + "tags": {}, + "properties": { + "privateLinkScopeId": "a5dc51d3-92ed-4d7e-947a-775ea79b4919", + "provisioningState": "Succeeded", + "publicNetworkAccess": "Disabled", + "privateEndpointConnections": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/myPrivateLinkScope/privateEndpointConnections/private-endpoint-connection-name", + "name": "private-endpoint-connection-name", + "type": "Microsoft.HybridCompute/privateLinkScopes/privateEndpointConnections", + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/privateEndpoints/private-endpoint-name" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-approved", + "actionsRequired": "None" + } + } + } + ] + } + } + ], + "nextLink": null + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/privateLinkScope/PrivateLinkScopes_Update.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/privateLinkScope/PrivateLinkScopes_Update.json new file mode 100644 index 000000000000..a9627115842e --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/privateLinkScope/PrivateLinkScopes_Update.json @@ -0,0 +1,84 @@ +{ + "parameters": { + "api-version": "2025-08-21-preview", + "subscriptionId": "86dc51d3-92ed-4d7e-947a-775ea79b4919", + "resourceGroupName": "my-resource-group", + "scopeName": "my-privatelinkscope", + "parameters": { + "location": "westus", + "tags": { + "Tag1": "Value1" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4919/resourceGroups/my-resource-group/providers/microsoft.hybridCompute/privateLinkScopes/my-privatelinkscope", + "name": "my-privatelinkscope", + "type": "Microsoft.HybridCompute/privateLinkScopes", + "location": "westus", + "tags": { + "Tag1": "Value1" + }, + "properties": { + "privateLinkScopeId": "e5dc51d3-92ed-4d7e-947a-775ea79b4919", + "provisioningState": "Succeeded", + "publicNetworkAccess": "Disabled", + "privateEndpointConnections": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/myPrivateLinkScope/privateEndpointConnections/private-endpoint-connection-name", + "name": "private-endpoint-connection-name", + "type": "Microsoft.HybridCompute/privateLinkScopes/privateEndpointConnections", + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/privateEndpoints/private-endpoint-name" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-approved", + "actionsRequired": "None" + } + } + } + ] + } + } + }, + "201": { + "body": { + "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4919/resourceGroups/my-resource-group/providers/microsoft.hybridCompute/privateLinkScopes/my-privatelinkscope", + "name": "my-privatelinkscope", + "type": "Microsoft.HybridCompute/privateLinkScopes", + "location": "westus", + "tags": { + "Tag1": "Value1" + }, + "properties": { + "privateLinkScopeId": "e5dc51d3-92ed-4d7e-947a-775ea79b4919", + "provisioningState": "Succeeded", + "publicNetworkAccess": "Disabled", + "privateEndpointConnections": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/myPrivateLinkScope/privateEndpointConnections/private-endpoint-connection-name", + "name": "private-endpoint-connection-name", + "type": "Microsoft.HybridCompute/privateLinkScopes/privateEndpointConnections", + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/privateEndpoints/private-endpoint-name" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-approved", + "actionsRequired": "None" + } + } + } + ] + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/privateLinkScope/PrivateLinkScopes_UpdateTagsOnly.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/privateLinkScope/PrivateLinkScopes_UpdateTagsOnly.json new file mode 100644 index 000000000000..125e5f4fef81 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/privateLinkScope/PrivateLinkScopes_UpdateTagsOnly.json @@ -0,0 +1,51 @@ +{ + "parameters": { + "api-version": "2025-08-21-preview", + "subscriptionId": "subid", + "resourceGroupName": "my-resource-group", + "scopeName": "my-privatelinkscope", + "PrivateLinkScopeTags": { + "tags": { + "Tag1": "Value1", + "Tag2": "Value2" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/my-resource-group/providers/microsoft.hybridcompute/privateLinkScopes/my-privatelinkscope", + "name": "my-privatelinkscope", + "type": "Microsoft.HybridCompute/privateLinkScopes", + "location": "westus", + "tags": { + "Tag1": "Value1", + "Tag2": "Value2" + }, + "properties": { + "privateLinkScopeId": "e5dc51d3-92ed-4d7e-947a-775ea79b4919", + "provisioningState": "Succeeded", + "publicNetworkAccess": "Disabled", + "privateEndpointConnections": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/myPrivateLinkScope/privateEndpointConnections/private-endpoint-connection-name", + "name": "private-endpoint-connection-name", + "type": "Microsoft.HybridCompute/privateLinkScopes/privateEndpointConnections", + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/privateEndpoints/private-endpoint-name" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-approved", + "actionsRequired": "None" + } + } + } + ] + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/runCommand/RunCommands_CreateOrUpdate.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/runCommand/RunCommands_CreateOrUpdate.json new file mode 100644 index 000000000000..6ad4499de2c3 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/runCommand/RunCommands_CreateOrUpdate.json @@ -0,0 +1,98 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "machineName": "myMachine", + "runCommandName": "myRunCommand", + "api-version": "2025-08-21-preview", + "runCommandProperties": { + "location": "eastus2", + "properties": { + "source": { + "script": "Write-Host Hello World!" + }, + "parameters": [ + { + "name": "param1", + "value": "value1" + }, + { + "name": "param2", + "value": "value2" + } + ], + "asyncExecution": false, + "runAsUser": "user1", + "runAsPassword": "", + "timeoutInSeconds": 3600, + "outputBlobUri": "https://mystorageaccount.blob.core.windows.net/myscriptoutputcontainer/MyScriptoutput.txt", + "errorBlobUri": "https://mystorageaccount.blob.core.windows.net/mycontainer/MyScriptError.txt" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/Machines/myMachine/runcommands/myRunCommand", + "name": "myRunCommand", + "type": "Microsoft.HybridCompute/machines/runcommands", + "location": "eastus2", + "properties": { + "source": { + "script": "Write-Host Hello World!" + }, + "parameters": [ + { + "name": "param1", + "value": "value1" + }, + { + "name": "param2", + "value": "value2" + } + ], + "asyncExecution": false, + "runAsUser": "user1", + "timeoutInSeconds": 3600, + "outputBlobUri": "https://mystorageaccount.blob.core.windows.net/myscriptoutputcontainer/MyScriptoutput.txt", + "errorBlobUri": "https://mystorageaccount.blob.core.windows.net/mycontainer/MyScriptError.txt", + "provisioningState": "Succeeded" + } + } + }, + "201": { + "headers": { + "Location": "{callbackUrl}", + "Retry-After": 200, + "Azure-AsyncOperation": "{callbackUri}" + }, + "body": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/Machines/myMachine/runcommands/myRunCommand", + "name": "myRunCommand", + "type": "Microsoft.HybridCompute/machines/runcommands", + "location": "eastus2", + "properties": { + "source": { + "script": "Write-Host Hello World!" + }, + "parameters": [ + { + "name": "param1", + "value": "value1" + }, + { + "name": "param2", + "value": "value2" + } + ], + "asyncExecution": false, + "runAsUser": "user1", + "timeoutInSeconds": 3600, + "outputBlobUri": "https://mystorageaccount.blob.core.windows.net/myscriptoutputcontainer/MyScriptoutput.txt", + "errorBlobUri": "https://mystorageaccount.blob.core.windows.net/mycontainer/MyScriptError.txt", + "provisioningState": "Creating" + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/runCommand/RunCommands_Delete.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/runCommand/RunCommands_Delete.json new file mode 100644 index 000000000000..99e1572f7fc3 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/runCommand/RunCommands_Delete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "machineName": "myMachine", + "runCommandName": "myRunCommand", + "api-version": "2025-08-21-preview" + }, + "responses": { + "202": { + "headers": { + "Location": "{callbackUrl}", + "Retry-After": 200, + "Azure-AsyncOperation": "{callbackUri}" + } + }, + "204": {} + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/runCommand/RunCommands_Get.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/runCommand/RunCommands_Get.json new file mode 100644 index 000000000000..3105e323c68f --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/runCommand/RunCommands_Get.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "machineName": "myMachine", + "runCommandName": "myRunCommand", + "api-version": "2025-08-21-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/Machines/myMachine/runcommands/myRunCommand", + "name": "myRunCommand", + "type": "Microsoft.HybridCompute/machines/runcommands", + "location": "eastus2", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "source": { + "script": "Write-Host Hello World!" + }, + "parameters": [ + { + "name": "param1", + "value": "value1" + }, + { + "name": "param2", + "value": "value2" + } + ], + "protectedParameters": [], + "asyncExecution": false, + "runAsUser": "user1", + "timeoutInSeconds": 3600, + "provisioningState": "Succeeded", + "instanceView": { + "executionState": "Succeeded", + "executionMessage": "", + "exitCode": 0, + "output": "Hello World", + "error": "", + "startTime": "2023-06-15T20:48:41.4641785+00:00", + "endTime": "2023-06-15T20:48:41.4641785+00:00" + } + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/runCommand/RunCommands_List.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/runCommand/RunCommands_List.json new file mode 100644 index 000000000000..aaac8f02da6b --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/runCommand/RunCommands_List.json @@ -0,0 +1,77 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "machineName": "myMachine", + "api-version": "2025-08-21-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/Machines/myMachine/runcommands/myRunCommand_1", + "name": "myRunCommand_1", + "location": "eastus2", + "type": "Microsoft.HybridCompute/machines/runcommands", + "properties": { + "source": { + "script": "Write-Host Hello World!" + }, + "parameters": [ + { + "name": "param1", + "value": "value1" + }, + { + "name": "param2", + "value": "value2" + } + ], + "protectedParameters": [], + "asyncExecution": false, + "runAsUser": "user1", + "timeoutInSeconds": 3600, + "provisioningState": "Succeeded", + "instanceView": { + "executionState": "Succeeded", + "executionMessage": "", + "exitCode": 0, + "output": "Hello World", + "error": "", + "startTime": "2023-06-15T20:48:41.4641785+00:00", + "endTime": "2023-06-15T20:48:41.4641785+00:00" + } + } + }, + { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/Machines/myMachine/runcommands/myRunCommand_2", + "name": "myRunCommand_2", + "location": "eastus2", + "type": "Microsoft.HybridCompute/machines/runcommands", + "properties": { + "source": { + "script": "Get-Process | Where-Object { $_.CPU -gt 10000 }" + }, + "parameters": [], + "protectedParameters": [], + "asyncExecution": false, + "runAsUser": "userA", + "timeoutInSeconds": 100, + "provisioningState": "Succeeded", + "instanceView": { + "executionState": "Succeeded", + "executionMessage": "", + "exitCode": 0, + "output": "", + "error": "", + "startTime": "2023-06-15T20:48:41.4641785+00:00", + "endTime": "2023-06-15T20:48:41.4641785+00:00" + } + } + } + ] + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/runCommand/RunCommands_Update.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/runCommand/RunCommands_Update.json new file mode 100644 index 000000000000..cbe3248183f5 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/runCommand/RunCommands_Update.json @@ -0,0 +1,62 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "machineName": "myMachine", + "runCommandName": "myRunCommand", + "api-version": "2025-08-21-preview", + "runCommandProperties": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/Machines/myMachine/runcommands/myRunCommand", + "name": "myRunCommand", + "type": "Microsoft.HybridCompute/machines/runcommands", + "location": "eastus2", + "properties": { + "source": { + "script": "Write-Host Hello World!" + }, + "parameters": [ + { + "name": "param1", + "value": "value1" + }, + { + "name": "param2", + "value": "value2" + } + ], + "asyncExecution": false, + "runAsUser": "user1", + "timeoutInSeconds": 3600, + "outputBlobUri": "https://mystorageaccount.blob.core.windows.net/myscriptoutputcontainer/MyScriptoutput.txt", + "errorBlobUri": "https://mystorageaccount.blob.core.windows.net/mycontainer/MyScriptError.txt", + "provisioningState": "Succeeded", + "instanceView": { + "executionState": "Succeeded", + "executionMessage": "", + "exitCode": 0, + "output": "Hello World", + "error": "", + "startTime": "2023-06-15T20:48:41.4641785+00:00", + "endTime": "2023-06-15T20:48:41.4641785+00:00" + } + } + } + }, + "202": { + "headers": { + "Location": "{callbackUrl}", + "Retry-After": 200, + "Azure-AsyncOperation": "{callbackUri}" + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/settings/SettingsGet.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/settings/SettingsGet.json new file mode 100644 index 000000000000..ae396baabc37 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/settings/SettingsGet.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "hybridRG", + "baseProvider": "Microsoft.HybridCompute", + "baseResourceType": "machines", + "baseResourceName": "testMachine", + "settingsResourceName": "default", + "api-version": "2025-08-21-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridCompute/settings/default", + "name": "current", + "type": "Microsoft.HybridCompute/settings", + "properties": { + "tenantId": "00000000-1111-2222-5555-444444444444", + "gatewayProperties": { + "gatewayResourceId": "/subscriptions/{subscriptionId}/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/gateways/newGateway" + } + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/settings/SettingsPatch.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/settings/SettingsPatch.json new file mode 100644 index 000000000000..db4745afdb90 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/settings/SettingsPatch.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "hybridRG", + "baseProvider": "Microsoft.HybridCompute", + "baseResourceType": "machines", + "baseResourceName": "testMachine", + "settingsResourceName": "default", + "api-version": "2025-08-21-preview", + "parameters": { + "properties": { + "gatewayProperties": { + "gatewayResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/gateways/newGateway" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridCompute/settings/default", + "name": "current", + "type": "Microsoft.HybridCompute/settings", + "properties": { + "tenantId": "00000000-1111-2222-5555-444444444444", + "gatewayProperties": { + "gatewayResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/gateways/newGateway" + } + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/settings/SettingsUpdate.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/settings/SettingsUpdate.json new file mode 100644 index 000000000000..f03e9d5448b9 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/examples/settings/SettingsUpdate.json @@ -0,0 +1,46 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "hybridRG", + "baseProvider": "Microsoft.HybridCompute", + "baseResourceType": "machines", + "baseResourceName": "testMachine", + "settingsResourceName": "default", + "api-version": "2025-08-21-preview", + "parameters": { + "properties": { + "gatewayProperties": { + "gatewayResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/gateways/newGateway" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridCompute/settings/default", + "name": "current", + "type": "Microsoft.HybridCompute/settings", + "properties": { + "tenantId": "00000000-1111-2222-5555-444444444444", + "gatewayProperties": { + "gatewayResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/gateways/newGateway" + } + } + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridCompute/settings/default", + "name": "current", + "type": "Microsoft.HybridCompute/settings", + "properties": { + "tenantId": "00000000-1111-2222-5555-444444444444", + "gatewayProperties": { + "gatewayResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/gateways/newGateway" + } + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/privateLinkScopes.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/privateLinkScopes.json new file mode 100644 index 000000000000..f1b6d4ca89d3 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-08-21-preview/privateLinkScopes.json @@ -0,0 +1,1931 @@ +{ + "swagger": "2.0", + "info": { + "title": "HybridComputeManagementClient", + "x-ms-code-generation-settings": { + "name": "HybridComputeManagementClient" + }, + "description": "Azure Arc( Servers and K8s Clusters) API reference for Private Link's Scopes management.", + "version": "2025-08-21-preview" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/privateLinkScopes": { + "get": { + "description": "Gets a list of all Azure Arc PrivateLinkScopes within a subscription.", + "operationId": "PrivateLinkScopes_List", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "A list containing 0 or more Azure Arc PrivateLinkScope definitions.", + "schema": { + "$ref": "#/definitions/HybridComputePrivateLinkScopeListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PrivateLinkScopesList.json": { + "$ref": "./examples/privateLinkScope/PrivateLinkScopes_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes": { + "get": { + "description": "Gets a list of Azure Arc PrivateLinkScopes within a resource group.", + "operationId": "PrivateLinkScopes_ListByResourceGroup", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "A list containing 0 or more Azure Arc PrivateLinkScope definitions.", + "schema": { + "$ref": "#/definitions/HybridComputePrivateLinkScopeListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PrivateLinkScopeListByResourceGroup": { + "$ref": "./examples/privateLinkScope/PrivateLinkScopes_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}": { + "delete": { + "description": "Deletes a Azure Arc PrivateLinkScope.", + "operationId": "PrivateLinkScopes_Delete", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/PrivateLinkScopeName" + } + ], + "responses": { + "200": { + "description": "Successful request when deleting an Azure Arc PrivateLinkScope." + }, + "202": { + "description": "Accepted.", + "headers": { + "Location": { + "description": "The URL of the resource used to check the status of the asynchronous operation.", + "type": "string" + }, + "Retry-After": { + "description": "The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation.", + "type": "integer", + "format": "int32" + }, + "Azure-AsyncOperation": { + "description": "The URI to poll for completion status.", + "type": "string" + } + } + }, + "204": { + "description": "The specified PrivateLinkScope does not exist." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "PrivateLinkScopesDelete": { + "$ref": "./examples/privateLinkScope/PrivateLinkScopes_Delete.json" + } + } + }, + "get": { + "description": "Returns a Azure Arc PrivateLinkScope.", + "operationId": "PrivateLinkScopes_Get", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/PrivateLinkScopeName" + } + ], + "responses": { + "200": { + "description": "Azure Arc PrivateLinkScope definition.", + "schema": { + "$ref": "#/definitions/HybridComputePrivateLinkScope" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PrivateLinkScopeGet": { + "$ref": "./examples/privateLinkScope/PrivateLinkScopes_Get.json" + } + } + }, + "put": { + "description": "Creates (or updates) a Azure Arc PrivateLinkScope. Note: You cannot specify a different value for InstrumentationKey nor AppId in the Put operation.", + "operationId": "PrivateLinkScopes_CreateOrUpdate", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/PrivateLinkScopeName" + }, + { + "name": "parameters", + "description": "Properties that need to be specified to create or update a Azure Arc for Servers and Clusters PrivateLinkScope.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/HybridComputePrivateLinkScope" + } + } + ], + "responses": { + "200": { + "description": "Successful request when creating or updating a Azure Arc PrivateLinkScope. The updated PrivateLinkScope is returned.", + "schema": { + "$ref": "#/definitions/HybridComputePrivateLinkScope" + } + }, + "201": { + "description": "Successful request when creating or updating a Azure Arc PrivateLinkScope. The updated PrivateLinkScope was created and is returned.", + "schema": { + "$ref": "#/definitions/HybridComputePrivateLinkScope" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PrivateLinkScopeCreate": { + "$ref": "./examples/privateLinkScope/PrivateLinkScopes_Create.json" + }, + "PrivateLinkScopeUpdate": { + "$ref": "./examples/privateLinkScope/PrivateLinkScopes_Update.json" + } + } + }, + "patch": { + "description": "Updates an existing PrivateLinkScope's tags. To update other fields use the CreateOrUpdate method.", + "operationId": "PrivateLinkScopes_UpdateTags", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/PrivateLinkScopeName" + }, + { + "name": "PrivateLinkScopeTags", + "description": "Updated tag information to set into the PrivateLinkScope instance.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/TagsResource" + } + } + ], + "responses": { + "200": { + "description": "Updating the Azure Arc PrivateLinkScope's tags was successful. PrivateLinkScope tags are updated and returned with the rest of the PrivateLinkScope's object properties.", + "schema": { + "$ref": "#/definitions/HybridComputePrivateLinkScope" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PrivateLinkScopeUpdateTagsOnly": { + "$ref": "./examples/privateLinkScope/PrivateLinkScopes_UpdateTagsOnly.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/privateLinkResources": { + "get": { + "tags": [ + "PrivateLinkResources" + ], + "description": "Gets the private link resources that need to be created for a Azure Monitor PrivateLinkScope.", + "operationId": "PrivateLinkResources_ListByPrivateLinkScope", + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/PrivateLinkScopeName" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved private link resources.", + "schema": { + "$ref": "#/definitions/PrivateLinkResourceListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Gets private endpoint connection.": { + "$ref": "./examples/privateLinkScope/PrivateLinkScopePrivateLinkResource_ListGet.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/privateLinkResources/{groupName}": { + "get": { + "tags": [ + "PrivateLinkResources" + ], + "description": "Gets the private link resources that need to be created for a Azure Monitor PrivateLinkScope.", + "operationId": "PrivateLinkResources_Get", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/PrivateLinkScopeName" + }, + { + "$ref": "#/parameters/GroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved a specified private link resource.", + "schema": { + "$ref": "#/definitions/PrivateLinkResource" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Gets private endpoint connection.": { + "$ref": "./examples/privateLinkScope/PrivateLinkScopePrivateLinkResource_Get.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/privateEndpointConnections/{privateEndpointConnectionName}": { + "get": { + "tags": [ + "PrivateEndpointConnections" + ], + "description": "Gets a private endpoint connection.", + "operationId": "PrivateEndpointConnections_Get", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/PrivateLinkScopeName" + }, + { + "name": "privateEndpointConnectionName", + "in": "path", + "description": "The name of the private endpoint connection.", + "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": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Gets private endpoint connection.": { + "$ref": "./examples/privateEndpoint/PrivateEndpointConnection_Get.json" + } + } + }, + "put": { + "tags": [ + "PrivateEndpointConnections" + ], + "description": "Approve or reject a private endpoint connection with a given name.", + "operationId": "PrivateEndpointConnections_CreateOrUpdate", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/PrivateLinkScopeName" + }, + { + "name": "privateEndpointConnectionName", + "in": "path", + "description": "The name of the private endpoint connection.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + } + ], + "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": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Approve or reject a private endpoint connection with a given name.": { + "$ref": "./examples/privateEndpoint/PrivateEndpointConnection_Update.json" + } + } + }, + "delete": { + "tags": [ + "PrivateEndpointConnections" + ], + "description": "Deletes a private endpoint connection with a given name.", + "operationId": "PrivateEndpointConnections_Delete", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/PrivateLinkScopeName" + }, + { + "name": "privateEndpointConnectionName", + "in": "path", + "description": "The name of the private endpoint connection.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Successfully deleted private endpoint connection." + }, + "202": { + "description": "Accepted", + "headers": { + "Location": { + "description": "The URL of the resource used to check the status of the asynchronous operation.", + "type": "string" + }, + "Retry-After": { + "description": "The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation.", + "type": "integer", + "format": "int32" + }, + "Azure-AsyncOperation": { + "description": "The URI to poll for completion status.", + "type": "string" + } + } + }, + "204": { + "description": "Private endpoint connection does not exist." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Deletes a private endpoint connection with a given name.": { + "$ref": "./examples/privateEndpoint/PrivateEndpointConnection_Delete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/privateEndpointConnections": { + "get": { + "tags": [ + "PrivateEndpointConnections" + ], + "description": "Gets all private endpoint connections on a private link scope.", + "operationId": "PrivateEndpointConnections_ListByPrivateLinkScope", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/PrivateLinkScopeName" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved private endpoint connections.", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnectionListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Gets list of private endpoint connections on a private link scope.": { + "$ref": "./examples/privateEndpoint/PrivateEndpointConnection_List.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/locations/{location}/privateLinkScopes/{privateLinkScopeId}": { + "get": { + "description": "Returns a Azure Arc PrivateLinkScope's validation details.", + "operationId": "PrivateLinkScopes_GetValidationDetails", + "parameters": [ + { + "$ref": "#/parameters/LocationParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/PrivateLinkScopeId" + } + ], + "responses": { + "200": { + "description": "Azure Arc PrivateLinkScope validation details definition.", + "schema": { + "$ref": "#/definitions/PrivateLinkScopeValidationDetails" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PrivateLinkScopeGet": { + "$ref": "./examples/privateLinkScope/PrivateLinkScopes_GetValidation.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/privateLinkScopes/current": { + "get": { + "description": "Returns a Azure Arc PrivateLinkScope's validation details for a given machine.", + "operationId": "PrivateLinkScopes_GetValidationDetailsForMachine", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/MachineNameParameter" + } + ], + "responses": { + "200": { + "description": "Azure Arc PrivateLinkScope validation details definition.", + "schema": { + "$ref": "#/definitions/PrivateLinkScopeValidationDetails" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PrivateLinkScopeGet": { + "$ref": "./examples/privateLinkScope/PrivateLinkScopes_GetValidationForMachine.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/providers/Microsoft.HybridCompute/networkConfigurations/current": { + "get": { + "tags": [ + "NetworkConfigurations" + ], + "description": "Returns a NetworkConfiguration for the target resource.", + "operationId": "NetworkConfigurations_Get", + "produces": [ + "application/json" + ], + "x-ms-examples": { + "NetworkConfigurationsGet": { + "$ref": "./examples/networkConfiguration/NetworkConfigurationsGet.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/MachineNameParameter" + } + ], + "responses": { + "200": { + "description": "Network Configuration information for the target resource.", + "schema": { + "$ref": "#/definitions/NetworkConfiguration" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "deprecated": false + }, + "put": { + "tags": [ + "NetworkConfigurations" + ], + "description": "Create or update the NetworkConfiguration of the target resource.", + "operationId": "NetworkConfigurations_CreateOrUpdate", + "produces": [ + "application/json" + ], + "x-ms-examples": { + "NetworkConfigurationsCreate": { + "$ref": "./examples/networkConfiguration/NetworkConfigurationsCreate.json" + }, + "NetworkConfigurationsUpdate": { + "$ref": "./examples/networkConfiguration/NetworkConfigurationsUpdate.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/MachineNameParameter" + }, + { + "name": "parameters", + "description": "Network Configuration details", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/NetworkConfiguration" + } + } + ], + "responses": { + "200": { + "description": "Successful request when creating or updating a NetworkConfiguration. The updated NetworkConfiguration is returned.", + "schema": { + "$ref": "#/definitions/NetworkConfiguration" + } + }, + "201": { + "description": "Successful request when creating or updating a NetworkConfiguration. The updated NetworkConfiguration was created and is returned.", + "schema": { + "$ref": "#/definitions/NetworkConfiguration" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + }, + "patch": { + "tags": [ + "NetworkConfigurations" + ], + "description": "Update the endpoint to the target resource.", + "operationId": "NetworkConfigurations_Update", + "produces": [ + "application/json" + ], + "x-ms-examples": { + "NetworkConfigurationsPatch": { + "$ref": "./examples/networkConfiguration/NetworkConfigurationsPatch.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/MachineNameParameter" + }, + { + "name": "parameters", + "description": "Network Configuration details", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/NetworkConfiguration" + } + } + ], + "responses": { + "200": { + "description": "Network Configuration information for the target resource.", + "schema": { + "$ref": "#/definitions/NetworkConfiguration" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/networkSecurityPerimeterConfigurations/{perimeterName}": { + "get": { + "tags": [ + "NetworkSecurityPerimeterConfiguration" + ], + "description": "Gets the network security perimeter configuration for a private link scope.", + "operationId": "NetworkSecurityPerimeterConfigurations_GetByPrivateLinkScope", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/PrivateLinkScopeName" + }, + { + "$ref": "#/parameters/PerimeterName" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved network security perimeter configuration details.", + "schema": { + "$ref": "#/definitions/NetworkSecurityPerimeterConfiguration" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Gets the network security perimeter configuration of the private link scope.": { + "$ref": "./examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationGet.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/networkSecurityPerimeterConfigurations": { + "get": { + "tags": [ + "NetworkSecurityPerimeterConfiguration" + ], + "description": "Lists the network security perimeter configurations for a private link scope.", + "operationId": "NetworkSecurityPerimeterConfigurations_ListByPrivateLinkScope", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/PrivateLinkScopeName" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved network security perimeter configuration details.", + "schema": { + "$ref": "#/definitions/NetworkSecurityPerimeterConfigurationListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Gets the list of network security perimeter configurations of the private link scope.": { + "$ref": "./examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/networkSecurityPerimeterConfigurations/{perimeterName}/reconcile": { + "post": { + "tags": [ + "NetworkSecurityPerimeterConfiguration" + ], + "description": "Forces the network security perimeter configuration to refresh for a private link scope.", + "operationId": "NetworkSecurityPerimeterConfigurations_ReconcileForPrivateLinkScope", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/PrivateLinkScopeName" + }, + { + "$ref": "#/parameters/PerimeterName" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/NetworkSecurityPerimeterConfigurationReconcileResult" + } + }, + "202": { + "description": "Accepted.", + "headers": { + "Location": { + "description": "The URL of the resource used to check the status of the asynchronous operation.", + "type": "string" + }, + "Retry-After": { + "description": "The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation.", + "type": "integer", + "format": "int32" + }, + "Azure-AsyncOperation": { + "description": "The URI to poll for completion status.", + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Reconciles the network security perimeter configuration of the private link scope.": { + "$ref": "./examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationReconcile.json" + } + } + } + } + }, + "definitions": { + "NetworkConfiguration": { + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/NetworkConfigurationProperties" + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ] + }, + "NetworkConfigurationProperties": { + "type": "object", + "description": "Network configuration properties", + "properties": { + "location": { + "type": "string", + "description": "Resource location", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "tenantId": { + "type": "string", + "readOnly": true, + "description": "Azure resource tenant Id" + }, + "networkConfigurationScopeId": { + "type": "string", + "description": "Associated Network Configuration Scope Id (GUID)" + }, + "networkConfigurationScopeResourceId": { + "type": "string", + "description": "Associated Network Configuration Scope Resource Id", + "format": "arm-id", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.HybridCompute/privateLinkScopes" + } + ] + } + }, + "keyProperties": { + "description": "Public key information for client authentication", + "readOnly": true, + "$ref": "#/definitions/KeyProperties" + } + } + }, + "KeyProperties": { + "type": "object", + "description": "Public key information for client authentication", + "properties": { + "clientPublicKey": { + "description": "Current public key details", + "readOnly": true, + "$ref": "#/definitions/KeyDetails" + }, + "candidatePublicKey": { + "description": "Candidate public key details", + "readOnly": true, + "$ref": "#/definitions/KeyDetails" + } + } + }, + "KeyDetails": { + "type": "object", + "description": "Public key details", + "properties": { + "publicKey": { + "type": "string", + "description": "Public key", + "readOnly": true + }, + "notAfter": { + "type": "string", + "format": "date-time", + "description": "Key expiration date", + "readOnly": true + }, + "renewAfter": { + "type": "string", + "format": "date-time", + "description": "Recommended key renewal date", + "readOnly": true + } + } + }, + "NetworkSecurityPerimeterConfiguration": { + "type": "object", + "description": "Properties that define a Network Security Perimeter resource.", + "properties": { + "id": { + "type": "string", + "readOnly": true, + "description": "Azure resource Id" + }, + "name": { + "type": "string", + "description": "Azure resource name", + "readOnly": true + }, + "type": { + "type": "string", + "readOnly": true, + "description": "Azure resource type" + }, + "properties": { + "x-ms-client-flatten": true, + "description": "Properties that define a Network Security Perimeter resource.", + "$ref": "#/definitions/NetworkSecurityPerimeterConfigurationProperties" + } + }, + "x-ms-azure-resource": true + }, + "NetworkSecurityPerimeterConfigurationProperties": { + "type": "object", + "description": "Properties that define a Network Security Perimeter resource.", + "properties": { + "provisioningState": { + "type": "string", + "description": "Current state of this NetworkSecurityPerimeter: 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 + }, + "provisioningIssues": { + "type": "array", + "description": "Provisioning issues.", + "readOnly": true, + "items": { + "$ref": "#/definitions/ProvisioningIssue" + }, + "x-ms-identifiers": [] + }, + "networkSecurityPerimeter": { + "description": "The Network Security Perimeter associated with this configuration.", + "$ref": "#/definitions/NetworkSecurityPerimeter" + }, + "resourceAssociation": { + "description": "The Resource Association.", + "$ref": "#/definitions/ResourceAssociation" + }, + "profile": { + "description": "Network Security Perimeter profile", + "$ref": "#/definitions/NetworkSecurityPerimeterProfile" + } + } + }, + "NetworkSecurityPerimeterProfile": { + "type": "object", + "description": "Network Security Perimeter profile", + "properties": { + "name": { + "type": "string", + "description": "Name of the resource", + "readOnly": true + }, + "accessRulesVersion": { + "type": "integer", + "format": "int32", + "description": "Access rules version number", + "readOnly": true + }, + "accessRules": { + "type": "array", + "description": "Collection of access rules for the profile", + "readOnly": true, + "items": { + "$ref": "#/definitions/AccessRule" + }, + "x-ms-identifiers": [] + }, + "diagnosticSettingsVersion": { + "type": "integer", + "format": "int32", + "description": "Diagnostic settings version number", + "readOnly": true + }, + "enabledLogCategories": { + "type": "array", + "description": "Collection of enabled log categories for the profile", + "readOnly": true, + "items": { + "type": "string" + } + } + } + }, + "ProvisioningIssue": { + "type": "object", + "description": "Details on issues that occurred during provisioning.", + "properties": { + "name": { + "type": "string", + "description": "Name of the provisioning issue.", + "readOnly": true + }, + "properties": { + "x-ms-client-flatten": true, + "description": "Provisioning issue properties", + "readOnly": true, + "$ref": "#/definitions/ProvisioningIssueProperties" + } + } + }, + "ProvisioningIssueProperties": { + "type": "object", + "description": "Properties of a provisioning issue.", + "properties": { + "issueType": { + "description": "Issue type", + "readOnly": true, + "$ref": "#/definitions/ProvisioningIssueType" + }, + "severity": { + "description": "Severity of the provisioning issue.", + "readOnly": true, + "$ref": "#/definitions/ProvisioningIssueSeverity" + }, + "description": { + "type": "string", + "description": "Description of the provisioning issue.", + "readOnly": true + }, + "suggestedResourceIds": { + "type": "array", + "description": "ARM Ids of the resources that can be associated to the same perimeter to remediate the issue", + "readOnly": true, + "items": { + "type": "string" + }, + "x-ms-identifiers": [] + }, + "suggestedAccessRules": { + "type": "array", + "description": "Access rules that can be added to the perimeter to remediate the issue", + "readOnly": true, + "items": { + "$ref": "#/definitions/AccessRule" + }, + "x-ms-identifiers": [] + } + } + }, + "ProvisioningIssueType": { + "type": "string", + "description": "Type of provisioning issue.", + "enum": [ + "MissingPerimeterConfiguration", + "MissingIdentityConfiguration", + "ConfigurationPropagationFailure", + "Other" + ], + "x-ms-enum": { + "name": "ProvisioningIssueType", + "modelAsString": true, + "values": [ + { + "value": "MissingPerimeterConfiguration", + "description": "Perimeter configuration is missing." + }, + { + "value": "MissingIdentityConfiguration", + "description": "Identity configuration is missing." + }, + { + "value": "ConfigurationPropagationFailure", + "description": "Configuration failed to propagate." + }, + { + "value": "Other", + "description": "Other failure." + } + ] + } + }, + "ProvisioningIssueSeverity": { + "type": "string", + "description": "Severity of the provisioning issue.", + "enum": [ + "Warning", + "Error" + ], + "x-ms-enum": { + "name": "ProvisioningIssueSeverity", + "modelAsString": true, + "values": [ + { + "value": "Warning", + "description": "Warnings can cause connectivity issues after provisioning succeeds." + }, + { + "value": "Error", + "description": "Errors will cause association provisioning to fail." + } + ] + } + }, + "AccessMode": { + "type": "string", + "description": "Property that impacts a resource's logging behavior and its connectivity with other resources and public networks.", + "enum": [ + "enforced", + "audit", + "learning" + ], + "x-ms-enum": { + "name": "AccessMode", + "modelAsString": true, + "values": [ + { + "value": "enforced", + "description": "Indicates that resource access is controlled by the NSP definition." + }, + { + "value": "audit", + "description": "Dry run mode, where traffic is evaluated against NSP Rules, logged but not enforced." + }, + { + "value": "learning", + "description": "Enables traffic evaluation to fall back to resource-specific firewall configurations." + } + ] + } + }, + "AccessRuleDirection": { + "type": "string", + "description": "Indicates direction of an access rule.", + "enum": [ + "Inbound", + "Outbound" + ], + "x-ms-enum": { + "name": "AccessRuleDirection", + "modelAsString": true, + "values": [ + { + "value": "Inbound", + "description": "Traffic originates outside of network." + }, + { + "value": "Outbound", + "description": "Traffic originates inside the network" + } + ] + } + }, + "AccessRule": { + "type": "object", + "description": "Access rule.", + "properties": { + "name": { + "type": "string", + "description": "Name of the access rule.", + "readOnly": true + }, + "properties": { + "x-ms-client-flatten": true, + "description": "Access rule properties", + "readOnly": true, + "$ref": "#/definitions/AccessRuleProperties" + } + } + }, + "AccessRuleProperties": { + "type": "object", + "description": "Properties of an access rule.", + "properties": { + "direction": { + "description": "Direction of the access rule.", + "readOnly": true, + "$ref": "#/definitions/AccessRuleDirection" + }, + "addressPrefixes": { + "type": "array", + "description": "Address prefixes that are allowed access.", + "readOnly": true, + "items": { + "type": "string" + } + } + } + }, + "NetworkSecurityPerimeter": { + "type": "object", + "description": "Properties that define a Network Security Perimeter resource.", + "properties": { + "id": { + "type": "string", + "readOnly": true, + "description": "Azure resource Id" + }, + "perimeterGuid": { + "type": "string", + "description": "Guid of the Network Security Perimeter", + "readOnly": true + }, + "location": { + "type": "string", + "readOnly": true, + "description": "Regional location of the perimeter" + } + } + }, + "NetworkSecurityPerimeterConfigurationListResult": { + "type": "object", + "description": "A list of network security perimeter configurations.", + "properties": { + "value": { + "description": "Array of results.", + "type": "array", + "items": { + "$ref": "#/definitions/NetworkSecurityPerimeterConfiguration" + }, + "readOnly": true + }, + "nextLink": { + "description": "Link to retrieve next page of results.", + "type": "string", + "readOnly": true + } + } + }, + "NetworkSecurityPerimeterConfigurationReconcileResult": { + "type": "object", + "description": "Result of network security perimeter configurations.", + "properties": { + "location": { + "description": "The URL of the resource used to check the status of the asynchronous operation.", + "type": "string", + "x-ms-mutability": [ + "read" + ] + } + } + }, + "ResourceAssociation": { + "type": "object", + "description": "Properties that define a Resource Association.", + "properties": { + "name": { + "type": "string", + "readOnly": true, + "description": "Name of the Resource Association" + }, + "accessMode": { + "description": "The access mode", + "readOnly": true, + "$ref": "#/definitions/AccessMode" + } + } + }, + "PrivateLinkScopesResource": { + "type": "object", + "properties": { + "id": { + "type": "string", + "readOnly": true, + "description": "Azure resource Id" + }, + "name": { + "type": "string", + "description": "Azure resource name", + "readOnly": true + }, + "type": { + "type": "string", + "readOnly": true, + "description": "Azure resource type" + }, + "location": { + "type": "string", + "description": "Resource location", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags" + } + }, + "required": [ + "location" + ], + "x-ms-azure-resource": true, + "description": "An azure resource object" + }, + "TagsResource": { + "type": "object", + "properties": { + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags" + } + }, + "description": "A container holding only the Tags for a resource, allowing the user to update the tags on a PrivateLinkScope instance." + }, + "HybridComputePrivateLinkScope": { + "type": "object", + "properties": { + "properties": { + "description": "Properties that define a Azure Arc PrivateLinkScope resource.", + "$ref": "#/definitions/HybridComputePrivateLinkScopeProperties" + }, + "systemData": { + "readOnly": true, + "description": "The system meta data relating to this resource.", + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/systemData" + } + }, + "allOf": [ + { + "$ref": "#/definitions/PrivateLinkScopesResource" + } + ], + "description": "An Azure Arc PrivateLinkScope definition." + }, + "PrivateLinkScopeValidationDetails": { + "type": "object", + "properties": { + "id": { + "type": "string", + "readOnly": true, + "description": "Azure resource Id" + }, + "publicNetworkAccess": { + "description": "Indicates whether machines associated with the private link scope can also use public Azure Arc service endpoints.", + "$ref": "#/definitions/PublicNetworkAccessType" + }, + "connectionDetails": { + "type": "array", + "description": "List of Private Endpoint Connection details.", + "items": { + "$ref": "#/definitions/ConnectionDetail" + } + } + } + }, + "ConnectionDetail": { + "type": "object", + "properties": { + "id": { + "type": "string", + "readOnly": true, + "description": "Azure resource Id" + }, + "privateIpAddress": { + "type": "string", + "readOnly": true, + "description": "The private endpoint connection private ip address" + }, + "linkIdentifier": { + "type": "string", + "readOnly": true, + "description": "The private endpoint connection link identifier" + }, + "groupId": { + "type": "string", + "readOnly": true, + "description": "The private endpoint connection group id" + }, + "memberName": { + "type": "string", + "readOnly": true, + "description": "The private endpoint connection member name" + } + } + }, + "HybridComputePrivateLinkScopeProperties": { + "type": "object", + "description": "Properties that define a Azure Arc PrivateLinkScope resource.", + "properties": { + "publicNetworkAccess": { + "description": "Indicates whether machines associated with the private link scope can also use public Azure Arc service endpoints.", + "$ref": "#/definitions/PublicNetworkAccessType" + }, + "provisioningState": { + "type": "string", + "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 + }, + "privateLinkScopeId": { + "readOnly": true, + "description": "The Guid id of the private link scope.", + "type": "string" + }, + "privateEndpointConnections": { + "readOnly": true, + "description": "The collection of associated Private Endpoint Connections.", + "type": "array", + "items": { + "$ref": "#/definitions/PrivateEndpointConnectionDataModel" + } + } + } + }, + "HybridComputePrivateLinkScopeListResult": { + "type": "object", + "description": "Describes the list of Azure Arc PrivateLinkScope resources.", + "required": [ + "value" + ], + "properties": { + "value": { + "type": "array", + "description": "List of Azure Arc PrivateLinkScope definitions.", + "items": { + "$ref": "#/definitions/HybridComputePrivateLinkScope" + } + }, + "nextLink": { + "type": "string", + "description": "The URI to get the next set of Azure Arc PrivateLinkScope definitions if too many PrivateLinkScopes where returned in the result set." + } + } + }, + "PrivateLinkResourceListResult": { + "type": "object", + "description": "A list of private link resources", + "properties": { + "value": { + "description": "Array of results.", + "type": "array", + "items": { + "$ref": "#/definitions/PrivateLinkResource" + }, + "readOnly": true + }, + "nextLink": { + "description": "Link to retrieve next page of results.", + "type": "string", + "readOnly": true + } + } + }, + "PrivateLinkResource": { + "type": "object", + "description": "A private link resource", + "properties": { + "properties": { + "$ref": "#/definitions/PrivateLinkResourceProperties", + "description": "Resource properties." + }, + "systemData": { + "readOnly": true, + "description": "The system meta data relating to this resource.", + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/systemData" + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ] + }, + "PrivateLinkResourceProperties": { + "type": "object", + "description": "Properties of a private link resource.", + "properties": { + "groupId": { + "description": "The private link resource group id.", + "type": "string", + "readOnly": true + }, + "requiredMembers": { + "description": "The private link resource required member names.", + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true + }, + "requiredZoneNames": { + "description": "Required DNS zone names of the the private link resource.", + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true + } + } + }, + "PrivateEndpointConnectionDataModel": { + "type": "object", + "description": "The Data Model for a Private Endpoint Connection associated with a Private Link Scope", + "properties": { + "id": { + "description": "The ARM Resource Id of the Private Endpoint.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "The Name of the Private Endpoint.", + "type": "string", + "readOnly": true + }, + "type": { + "type": "string", + "readOnly": true, + "description": "Azure resource type" + }, + "properties": { + "$ref": "#/definitions/PrivateEndpointConnectionProperties", + "description": "The Private Endpoint Connection properties." + } + } + }, + "PrivateEndpointConnectionProperties": { + "type": "object", + "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.", + "type": "string", + "readOnly": true + }, + "groupIds": { + "description": "List of group IDs.", + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true + } + } + }, + "PrivateEndpointProperty": { + "type": "object", + "description": "Private endpoint which the connection belongs to.", + "properties": { + "id": { + "description": "Resource id of the private endpoint.", + "type": "string" + } + } + }, + "PrivateLinkServiceConnectionStateProperty": { + "type": "object", + "description": "State of the private endpoint connection.", + "required": [ + "status", + "description" + ], + "properties": { + "status": { + "description": "The private link service connection status.", + "type": "string" + }, + "description": { + "description": "The private link service connection description.", + "type": "string" + }, + "actionsRequired": { + "description": "The actions required for private link service connection.", + "type": "string", + "readOnly": true + } + } + }, + "PrivateEndpointConnection": { + "type": "object", + "description": "A private endpoint connection", + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/PrivateEndpointConnectionProperties", + "description": "Resource properties." + }, + "systemData": { + "readOnly": true, + "description": "The system meta data relating to this resource.", + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/systemData" + } + } + }, + "PrivateEndpointConnectionListResult": { + "type": "object", + "description": "A list of private endpoint connections.", + "properties": { + "value": { + "description": "Array of results.", + "type": "array", + "items": { + "$ref": "#/definitions/PrivateEndpointConnection" + }, + "readOnly": true + }, + "nextLink": { + "description": "Link to retrieve next page of results.", + "type": "string", + "readOnly": true + } + } + }, + "PublicNetworkAccessType": { + "type": "string", + "description": "The network access policy to determine if Azure Arc agents can use public Azure Arc service endpoints. Defaults to disabled (access to Azure Arc services only via private link).", + "default": "Disabled", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "PublicNetworkAccessType", + "modelAsString": true, + "values": [ + { + "value": "Enabled", + "description": "Allows Azure Arc agents to communicate with Azure Arc services over both public (internet) and private endpoints." + }, + { + "value": "Disabled", + "description": "Does not allow Azure Arc agents to communicate with Azure Arc services over public (internet) endpoints. The agents must use the private link." + }, + { + "value": "SecuredByPerimeter", + "description": "Azure Arc agent communication with Azure Arc services over public (internet) is enforced by Network Security Perimeter (NSP)" + } + ] + } + } + }, + "parameters": { + "PrivateLinkScopeName": { + "name": "scopeName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Azure Arc PrivateLinkScope resource.", + "x-ms-parameter-location": "method", + "pattern": "[a-zA-Z0-9-_\\.]+" + }, + "PrivateLinkScopeId": { + "name": "privateLinkScopeId", + "in": "path", + "required": true, + "type": "string", + "description": "The id (Guid) of the Azure Arc PrivateLinkScope resource.", + "x-ms-parameter-location": "method" + }, + "GroupNameParameter": { + "name": "groupName", + "in": "path", + "description": "The name of the private link resource.", + "required": true, + "x-ms-parameter-location": "method", + "type": "string" + }, + "LocationParameter": { + "name": "location", + "in": "path", + "required": true, + "type": "string", + "x-ms-parameter-location": "method", + "description": "The location of the target resource.", + "minLength": 1 + }, + "MachineNameParameter": { + "name": "machineName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the target machine to get the private link scope validation details for.", + "minLength": 1, + "pattern": "^[a-zA-Z0-9-_\\.]{1,54}$", + "x-ms-parameter-location": "method" + }, + "ResourceUriParameter": { + "name": "resourceUri", + "in": "path", + "required": true, + "type": "string", + "description": "The fully qualified Azure Resource manager identifier of the resource to be connected.", + "x-ms-skip-url-encoding": true, + "x-ms-parameter-location": "method" + }, + "NetworkConfigurationScopeId": { + "name": "scopeId", + "in": "path", + "required": true, + "type": "string", + "description": "The id (Guid) of the Azure Arc Network Configuration Scope resource.", + "x-ms-parameter-location": "method" + }, + "PerimeterName": { + "name": "perimeterName", + "in": "path", + "required": true, + "type": "string", + "description": "The name, in the format {perimeterGuid}.{associationName}, of the Network Security Perimeter resource.", + "x-ms-parameter-location": "method", + "pattern": "^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}[.]{1}.+$" + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/HybridCompute.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/HybridCompute.json new file mode 100644 index 000000000000..5b31b1b97893 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/HybridCompute.json @@ -0,0 +1,6068 @@ +{ + "swagger": "2.0", + "info": { + "title": "HybridComputeManagementClient", + "description": "The Hybrid Compute Management Client.", + "version": "2025-09-16-preview" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/validateLicense": { + "post": { + "tags": [ + "licenses" + ], + "operationId": "Licenses_ValidateLicense", + "description": "The operation to validate a license.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/License" + }, + "description": "Parameters supplied to the license validation operation." + } + ], + "responses": { + "200": { + "description": "Updated Resource", + "schema": { + "$ref": "#/definitions/License" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Validate a License": { + "$ref": "./examples/license/License_ValidateLicense.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/licenses/{licenseName}": { + "put": { + "tags": [ + "licenses" + ], + "operationId": "Licenses_CreateOrUpdate", + "description": "The operation to create or update a license.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/licenseNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/License" + }, + "description": "Parameters supplied to the Create license operation." + } + ], + "responses": { + "200": { + "description": "Updated Resource", + "schema": { + "$ref": "#/definitions/License" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Create or Update a License": { + "$ref": "./examples/license/License_CreateOrUpdate.json" + } + } + }, + "patch": { + "tags": [ + "licenses" + ], + "operationId": "Licenses_Update", + "description": "The operation to update a license.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/licenseNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/LicenseUpdate" + }, + "description": "Parameters supplied to the Update license operation." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/License" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Update a License": { + "$ref": "./examples/license/License_Update.json" + } + } + }, + "get": { + "tags": [ + "licenses" + ], + "operationId": "Licenses_Get", + "description": "Retrieves information about the view of a license.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/licenseNameParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/License" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get License": { + "$ref": "./examples/license/License_Get.json" + } + } + }, + "delete": { + "tags": [ + "licenses" + ], + "operationId": "Licenses_Delete", + "description": "The operation to delete a license.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/licenseNameParameter" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Delete a License": { + "$ref": "./examples/license/License_Delete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/licenses": { + "get": { + "tags": [ + "licenses" + ], + "operationId": "Licenses_ListByResourceGroup", + "description": "The operation to get all licenses of a non-Azure machine", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/LicensesListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "GET all Machine Extensions": { + "$ref": "./examples/license/License_ListByResourceGroup.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/licenses": { + "get": { + "tags": [ + "licenses" + ], + "operationId": "Licenses_ListBySubscription", + "description": "The operation to get all licenses of a non-Azure machine", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/LicensesListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "List Licenses by Subscription": { + "$ref": "./examples/license/License_ListBySubscription.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}": { + "put": { + "tags": [ + "machines" + ], + "operationId": "Machines_CreateOrUpdate", + "description": "The operation to create or update a hybrid machine. Please note some properties can be set only during machine creation.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "machineName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9-_\\.]{1,54}$", + "minLength": 1, + "maxLength": 54, + "description": "The name of the hybrid machine." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Machine" + }, + "description": "Parameters supplied to the Create hybrid machine operation." + }, + { + "name": "$expand", + "in": "query", + "required": false, + "type": "string", + "description": "Expands referenced resources." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Machine" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Create or Update a Machine": { + "$ref": "./examples/machine/Machines_CreateOrUpdate.json" + } + } + }, + "patch": { + "tags": [ + "machines" + ], + "operationId": "Machines_Update", + "description": "The operation to update a hybrid machine.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "machineName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9-_\\.]{1,54}$", + "minLength": 1, + "maxLength": 54, + "description": "The name of the hybrid machine." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/MachineUpdate" + }, + "description": "Parameters supplied to the Update hybrid machine operation." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Machine" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Update a Machine": { + "$ref": "./examples/machine/Machines_Update.json" + } + } + }, + "delete": { + "tags": [ + "machines" + ], + "operationId": "Machines_Delete", + "description": "The operation to delete a hybrid machine.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "machineName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9-_\\.]{1,54}$", + "minLength": 1, + "maxLength": 54, + "description": "The name of the hybrid machine." + } + ], + "responses": { + "202": { + "description": "Accepted", + "headers": { + "Location": { + "description": "The URL of the resource used to check the status of the asynchronous operation.", + "type": "string" + }, + "Retry-After": { + "description": "The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation.", + "type": "integer", + "format": "int32" + }, + "Azure-AsyncOperation": { + "description": "The URI to poll for completion status.", + "type": "string" + } + } + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Delete a Machine": { + "$ref": "./examples/machine/Machines_Delete.json" + } + } + }, + "get": { + "tags": [ + "machines" + ], + "operationId": "Machines_Get", + "description": "Retrieves information about the model view or the instance view of a hybrid machine.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "machineName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9-_\\.]{1,54}$", + "minLength": 1, + "maxLength": 54, + "description": "The name of the hybrid machine." + }, + { + "name": "$expand", + "in": "query", + "required": false, + "type": "string", + "description": "The expand expression to apply on the operation.", + "enum": [ + "instanceView" + ], + "x-ms-enum": { + "name": "InstanceViewTypes", + "modelAsString": true + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Machine" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Machine": { + "$ref": "./examples/machine/Machines_Get.json" + }, + "Get Machine with License Profile Instance View": { + "$ref": "./examples/machine/Machines_Get_LicenseProfileInstanceView.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/licenseProfiles/{licenseProfileName}": { + "put": { + "tags": [ + "licenseProfiles" + ], + "operationId": "LicenseProfiles_CreateOrUpdate", + "description": "The operation to create or update a license profile.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/machineNameParameter" + }, + { + "$ref": "#/parameters/licenseProfileNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/LicenseProfile" + }, + "description": "Parameters supplied to the Create or Update license profile operation." + } + ], + "responses": { + "200": { + "description": "Updated Resource", + "schema": { + "$ref": "#/definitions/LicenseProfile" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/LicenseProfile" + }, + "headers": { + "Location": { + "description": "The URL of the resource used to check the status of the asynchronous operation.", + "type": "string" + }, + "Retry-After": { + "description": "The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation.", + "type": "integer", + "format": "int32" + }, + "Azure-AsyncOperation": { + "description": "The URI to poll for completion status.", + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Create or Update a License Profile": { + "$ref": "./examples/licenseProfile/LicenseProfile_CreateOrUpdate.json" + } + } + }, + "patch": { + "tags": [ + "licenseProfiles" + ], + "operationId": "LicenseProfiles_Update", + "description": "The operation to update a license profile.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/machineNameParameter" + }, + { + "$ref": "#/parameters/licenseProfileNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/LicenseProfileUpdate" + }, + "description": "Parameters supplied to the Update license profile operation." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/LicenseProfile" + } + }, + "202": { + "description": "Accepted", + "headers": { + "Location": { + "description": "The URL of the resource used to check the status of the asynchronous operation.", + "type": "string" + }, + "Retry-After": { + "description": "The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation.", + "type": "integer", + "format": "int32" + }, + "Azure-AsyncOperation": { + "description": "The URI to poll for completion status.", + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Update a License Profile": { + "$ref": "./examples/licenseProfile/LicenseProfile_Update.json" + } + } + }, + "get": { + "tags": [ + "licenseProfiles" + ], + "operationId": "LicenseProfiles_Get", + "description": "Retrieves information about the view of a license profile.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/machineNameParameter" + }, + { + "$ref": "#/parameters/licenseProfileNameParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/LicenseProfile" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get License Profile": { + "$ref": "./examples/licenseProfile/LicenseProfile_Get.json" + } + } + }, + "delete": { + "tags": [ + "licenseProfiles" + ], + "operationId": "LicenseProfiles_Delete", + "description": "The operation to delete a license profile.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/machineNameParameter" + }, + { + "$ref": "#/parameters/licenseProfileNameParameter" + } + ], + "responses": { + "202": { + "description": "Accepted", + "headers": { + "Location": { + "description": "The URL of the resource used to check the status of the asynchronous operation.", + "type": "string" + }, + "Retry-After": { + "description": "The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation.", + "type": "integer", + "format": "int32" + }, + "Azure-AsyncOperation": { + "description": "The URI to poll for completion status.", + "type": "string" + } + } + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Delete a License Profile": { + "$ref": "./examples/licenseProfile/LicenseProfile_Delete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/licenseProfiles": { + "get": { + "tags": [ + "licenseProfiles" + ], + "operationId": "LicenseProfiles_List", + "description": "The operation to get all license profiles of a non-Azure machine", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "machineName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9-_\\.]{1,54}$", + "minLength": 1, + "maxLength": 54, + "description": "The name of the machine." + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/LicenseProfilesListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "List all License Profiles": { + "$ref": "./examples/licenseProfile/LicenseProfile_List.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{name}/assessPatches": { + "post": { + "tags": [ + "machines" + ], + "operationId": "Machines_AssessPatches", + "x-ms-examples": { + "Assess patch state of a machine.": { + "$ref": "./examples/machine/Machine_AssessPatches.json" + } + }, + "description": "The operation to assess patches on a hybrid machine identity in Azure.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "name", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the hybrid machine." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/MachineAssessPatchesResult" + } + }, + "202": { + "description": "HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously.", + "headers": { + "Location": { + "description": "The URL of the resource used to check the status of the asynchronous operation.", + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{name}/installPatches": { + "post": { + "tags": [ + "machines" + ], + "operationId": "Machines_InstallPatches", + "description": "The operation to install patches on a hybrid machine identity in Azure.", + "x-ms-examples": { + "Install patch state of a machine.": { + "$ref": "./examples/machine/Machine_InstallPatches.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "name", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the hybrid machine." + }, + { + "name": "installPatchesInput", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/MachineInstallPatchesParameters" + }, + "description": "Input for InstallPatches as directly received by the API" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/MachineInstallPatchesResult" + } + }, + "202": { + "description": "HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously.", + "headers": { + "Location": { + "description": "The URL of the resource used to check the status of the asynchronous operation.", + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines": { + "get": { + "tags": [ + "machines" + ], + "operationId": "Machines_ListByResourceGroup", + "description": "Lists all the hybrid machines in the specified resource group. Use the nextLink property in the response to get the next page of hybrid machines.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "$expand", + "in": "query", + "required": false, + "type": "string", + "description": "Expands referenced resources." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/MachineListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List Machines by resource group": { + "$ref": "./examples/machine/Machines_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/machines": { + "get": { + "tags": [ + "machines" + ], + "operationId": "Machines_ListBySubscription", + "description": "Lists all the hybrid machines in the specified subscription. Use the nextLink property in the response to get the next page of hybrid machines.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/MachineListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List Machines by resource group": { + "$ref": "./examples/machine/Machines_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}": { + "put": { + "tags": [ + "MachineExtensions" + ], + "operationId": "MachineExtensions_CreateOrUpdate", + "description": "The operation to create or update the extension.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "machineName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9-_\\.]{1,54}$", + "minLength": 1, + "maxLength": 54, + "description": "The name of the machine where the extension should be created or updated." + }, + { + "name": "extensionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the machine extension." + }, + { + "name": "extensionParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/MachineExtension" + }, + "description": "Parameters supplied to the Create Machine Extension operation." + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/MachineExtension" + } + }, + "202": { + "description": "HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Create or Update a Machine Extension": { + "$ref": "./examples/extension/Extension_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation": true + }, + "patch": { + "tags": [ + "MachineExtensions" + ], + "operationId": "MachineExtensions_Update", + "description": "The operation to create or update the extension.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "machineName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9-_\\.]{1,54}$", + "minLength": 1, + "maxLength": 54, + "description": "The name of the machine where the extension should be created or updated." + }, + { + "name": "extensionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the machine extension." + }, + { + "name": "extensionParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/MachineExtensionUpdate" + }, + "description": "Parameters supplied to the Create Machine Extension operation." + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/MachineExtension" + } + }, + "202": { + "description": "Accepted", + "headers": { + "Location": { + "description": "The URL of the resource used to check the status of the asynchronous operation.", + "type": "string" + }, + "Retry-After": { + "description": "The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation.", + "type": "integer", + "format": "int32" + }, + "Azure-AsyncOperation": { + "description": "The URI to poll for completion status.", + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Create or Update a Machine Extension": { + "$ref": "./examples/extension/Extension_Update.json" + } + }, + "x-ms-long-running-operation": true + }, + "delete": { + "tags": [ + "MachineExtensions" + ], + "operationId": "MachineExtensions_Delete", + "description": "The operation to delete the extension.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "machineName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9-_\\.]{1,54}$", + "minLength": 1, + "maxLength": 54, + "description": "The name of the machine where the extension should be deleted." + }, + { + "name": "extensionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the machine extension." + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "202": { + "description": "Accepted", + "headers": { + "Location": { + "description": "The URL of the resource used to check the status of the asynchronous operation.", + "type": "string" + }, + "Retry-After": { + "description": "The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation.", + "type": "integer", + "format": "int32" + }, + "Azure-AsyncOperation": { + "description": "The URI to poll for completion status.", + "type": "string" + } + } + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Delete a Machine Extension": { + "$ref": "./examples/extension/Extension_Delete.json" + } + } + }, + "get": { + "tags": [ + "MachineExtensions" + ], + "operationId": "MachineExtensions_Get", + "description": "The operation to get the extension.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "machineName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9-_\\.]{1,54}$", + "minLength": 1, + "maxLength": 54, + "description": "The name of the machine containing the extension." + }, + { + "name": "extensionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the machine extension." + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/MachineExtension" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "GET Machine Extension": { + "$ref": "./examples/extension/Extension_Get.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions": { + "get": { + "tags": [ + "MachineExtensions" + ], + "operationId": "MachineExtensions_List", + "description": "The operation to get all extensions of a non-Azure machine", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "machineName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9-_\\.]{1,54}$", + "minLength": 1, + "maxLength": 54, + "description": "The name of the machine containing the extension." + }, + { + "name": "$expand", + "in": "query", + "required": false, + "type": "string", + "description": "The expand expression to apply on the operation." + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/MachineExtensionsListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "GET all Machine Extensions - List": { + "$ref": "./examples/extension/Extension_List.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/upgradeExtensions": { + "post": { + "tags": [ + "MachineExtensions Upgrade" + ], + "operationId": "UpgradeExtensions", + "description": "The operation to Upgrade Machine Extensions.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "machineName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9-_\\.]{1,54}$", + "minLength": 1, + "maxLength": 54, + "description": "The name of the hybrid machine." + }, + { + "name": "extensionUpgradeParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/MachineExtensionUpgrade" + }, + "description": "Parameters supplied to the Upgrade Extensions operation." + } + ], + "responses": { + "200": { + "description": "OK" + }, + "202": { + "description": "HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously.", + "headers": { + "Location": { + "description": "The URL of the resource used to check the status of the asynchronous operation.", + "type": "string" + }, + "Retry-After": { + "description": "The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation.", + "type": "integer", + "format": "int32" + }, + "Azure-AsyncOperation": { + "description": "The URI to poll for completion status.", + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Upgrade Machine Extensions": { + "$ref": "./examples/extension/Extensions_Upgrade.json" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/locations/{location}/publishers/{publisher}/extensionTypes/{extensionType}/versions/{version}": { + "get": { + "tags": [ + "extensions" + ], + "operationId": "ExtensionMetadata_Get", + "description": "Gets an Extension Metadata based on location, publisher, extensionType and version", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "location", + "in": "path", + "required": true, + "type": "string", + "description": "The location of the Extension being received." + }, + { + "name": "publisher", + "in": "path", + "required": true, + "type": "string", + "description": "The publisher of the Extension being received." + }, + { + "name": "extensionType", + "in": "path", + "required": true, + "type": "string", + "description": "The extensionType of the Extension being received." + }, + { + "name": "version", + "in": "path", + "required": true, + "type": "string", + "description": "The version of the Extension being received." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ExtensionValue" + } + }, + "default": { + "description": "Error in retrieving an extension metadata", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "GET an extensions metadata": { + "$ref": "./examples/extension/ExtensionMetadata_Get.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/locations/{location}/publishers/{publisher}/extensionTypes/{extensionType}/versions": { + "get": { + "tags": [ + "extensions" + ], + "operationId": "ExtensionMetadata_List", + "description": "Gets all Extension versions based on location, publisher, extensionType", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "location", + "in": "path", + "required": true, + "type": "string", + "description": "The location of the Extension being received." + }, + { + "name": "publisher", + "in": "path", + "required": true, + "type": "string", + "description": "The publisher of the Extension being received." + }, + { + "name": "extensionType", + "in": "path", + "required": true, + "type": "string", + "description": "The extensionType of the Extension being received." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ExtensionValueListResult" + } + }, + "default": { + "description": "Error in retrieving extension list", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + }, + "x-ms-examples": { + "GET a list of extensions": { + "$ref": "./examples/extension/ExtensionMetadata_List.json" + } + } + } + }, + "/providers/Microsoft.HybridCompute/locations/{location}/publishers/{publisher}/extensionTypes/{extensionType}/versions/{version}": { + "get": { + "tags": [ + "extensions" + ], + "operationId": "ExtensionMetadataV2_Get", + "description": "Gets an Extension Metadata based on location, publisher, extensionType and version", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" + }, + { + "name": "publisher", + "in": "path", + "required": true, + "type": "string", + "description": "The publisher of the Extension being received." + }, + { + "name": "extensionType", + "in": "path", + "required": true, + "type": "string", + "description": "The extensionType of the Extension being received." + }, + { + "name": "version", + "in": "path", + "required": true, + "type": "string", + "description": "The version of the Extension being received." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ExtensionValueV2" + } + }, + "default": { + "description": "Error in retrieving an extension metadata", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "GET an extension metadata": { + "$ref": "./examples/extension/ExtensionMetadataV2_Get.json" + } + } + } + }, + "/providers/Microsoft.HybridCompute/locations/{location}/publishers/{publisher}/extensionTypes/{extensionType}/versions": { + "get": { + "tags": [ + "extensions" + ], + "operationId": "ExtensionMetadataV2_List", + "description": "Gets all Extension versions based on location, publisher, extensionType", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" + }, + { + "name": "publisher", + "in": "path", + "required": true, + "type": "string", + "description": "The publisher of the Extension being received." + }, + { + "name": "extensionType", + "in": "path", + "required": true, + "type": "string", + "description": "The extensionType of the Extension being received." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ExtensionValueListResultV2" + } + }, + "default": { + "description": "Error in retrieving extension list", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "GET a list of extension metadata": { + "$ref": "./examples/extension/ExtensionMetadataV2_List.json" + } + } + } + }, + "/providers/Microsoft.HybridCompute/locations/{location}/publishers/{publisher}/extensionTypes": { + "get": { + "tags": [ + "extensions" + ], + "operationId": "ExtensionType_List", + "description": "Gets all Extension types based on location and publisher", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" + }, + { + "name": "publisher", + "in": "path", + "required": true, + "type": "string", + "description": "The publisher of the Extension being received." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ExtensionTypeListResult" + } + }, + "default": { + "description": "Error in retrieving extension list", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "GET a list of extension types": { + "$ref": "./examples/extension/ExtensionType_List.json" + } + } + } + }, + "/providers/Microsoft.HybridCompute/locations/{location}/publishers": { + "get": { + "tags": [ + "extensions" + ], + "operationId": "ExtensionPublisher_List", + "description": "Gets all Extension publishers based on the location", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ExtensionPublisherListResult" + } + }, + "default": { + "description": "Error in retrieving extension list", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "GET a list of extension publishers": { + "$ref": "./examples/extension/ExtensionPublisher_List.json" + } + } + } + }, + "/providers/Microsoft.HybridCompute/operations": { + "get": { + "tags": [ + "operations" + ], + "operationId": "Operations_List", + "description": "Gets a list of hybrid compute operations.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/OperationListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List Hybrid Compute Provider Operations": { + "$ref": "./examples/Operations_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": null + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/networkProfile": { + "get": { + "tags": [ + "MachineNetworkProfile" + ], + "operationId": "NetworkProfile_Get", + "description": "The operation to get network information of hybrid machine", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "machineName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9-_\\.]{1,54}$", + "minLength": 1, + "maxLength": 54, + "description": "The name of the hybrid machine." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/NetworkProfile" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "GET Network Profile": { + "$ref": "./examples/NetworkProfile_Get.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/hybridIdentityMetadata/{metadataName}": { + "get": { + "tags": [ + "HybridIdentityMetadata" + ], + "operationId": "HybridIdentityMetadata_Get", + "summary": "Gets HybridIdentityMetadata.", + "description": "Implements HybridIdentityMetadata GET method.", + "x-ms-examples": { + "GetHybridIdentityMetadata": { + "$ref": "./examples/HybridIdentityMetadata_Get.json" + } + }, + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "machineName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9-_\\.]{1,54}$", + "minLength": 1, + "maxLength": 54, + "description": "The name of the hybrid machine." + }, + { + "in": "path", + "name": "metadataName", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9-_\\.]{1,54}$", + "description": "Name of the HybridIdentityMetadata." + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/HybridIdentityMetadata" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/hybridIdentityMetadata": { + "get": { + "tags": [ + "HybridIdentityMetadata" + ], + "operationId": "HybridIdentityMetadata_ListByMachines", + "summary": "Implements GET HybridIdentityMetadata in a machine.", + "description": "Returns the list of HybridIdentityMetadata of the given machine.", + "x-ms-examples": { + "HybridIdentityMetadataListByVirtualMachines": { + "$ref": "./examples/HybridIdentityMetadata_ListByVirtualMachines.json" + } + }, + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "machineName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9-_\\.]{1,54}$", + "minLength": 1, + "maxLength": 54, + "description": "The name of the hybrid machine." + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/HybridIdentityMetadataList" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/providers/Microsoft.HybridCompute/osType/{osType}/agentVersions": { + "get": { + "tags": [ + "AgentVersions" + ], + "operationId": "AgentVersion_List", + "description": "Gets all Agent Versions along with the download link currently present.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "osType", + "in": "path", + "required": true, + "type": "string", + "description": "Defines the os type." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/AgentVersionsList" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "GET Agent Versions": { + "$ref": "./examples/AgentVersions_Get.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/providers/Microsoft.HybridCompute/osType/{osType}/agentVersions/{version}": { + "get": { + "tags": [ + "AgentVersions" + ], + "operationId": "AgentVersion_Get", + "description": "Gets an Agent Version along with the download link currently present.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "osType", + "in": "path", + "required": true, + "type": "string", + "description": "Defines the os type" + }, + { + "name": "version", + "in": "path", + "required": true, + "type": "string", + "description": "Defines the agent version. To get latest, use latest or else a specific agent version." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/AgentVersion" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "GET Agent Versions": { + "$ref": "./examples/AgentVersion_GetLatest.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/runCommands/{runCommandName}": { + "put": { + "tags": [ + "MachineRunCommands" + ], + "operationId": "MachineRunCommands_CreateOrUpdate", + "description": "The operation to create or update a run command.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/machineNameParameter" + }, + { + "$ref": "#/parameters/runCommandNameParameter" + }, + { + "name": "runCommandProperties", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/MachineRunCommand" + }, + "description": "Parameters supplied to the Create Run Command." + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Updated Resource", + "schema": { + "$ref": "#/definitions/MachineRunCommand" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/MachineRunCommand" + }, + "headers": { + "Location": { + "description": "The URL of the resource used to check the status of the asynchronous operation.", + "type": "string" + }, + "Retry-After": { + "description": "The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation.", + "type": "integer", + "format": "int32" + }, + "Azure-AsyncOperation": { + "description": "The URI to poll for completion status.", + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Create or Update a Run Command": { + "$ref": "./examples/runCommand/RunCommands_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + }, + "patch": { + "tags": [ + "MachineRunCommands" + ], + "operationId": "MachineRunCommands_Update", + "description": "The operation to update the run command.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/machineNameParameter" + }, + { + "$ref": "#/parameters/runCommandNameParameter" + }, + { + "name": "runCommandProperties", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/MachineRunCommandUpdate" + }, + "description": "Parameters supplied to the Create Run Command." + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/MachineRunCommand" + } + }, + "202": { + "description": "HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously.", + "headers": { + "Location": { + "description": "The URL of the resource used to check the status of the asynchronous operation.", + "type": "string" + }, + "Retry-After": { + "description": "The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation.", + "type": "integer", + "format": "int32" + }, + "Azure-AsyncOperation": { + "description": "The URI to poll for completion status.", + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Update a Run Command": { + "$ref": "./examples/runCommand/RunCommands_Update.json" + } + }, + "x-ms-long-running-operation": true + }, + "delete": { + "tags": [ + "MachineRunCommands" + ], + "operationId": "MachineRunCommands_Delete", + "description": "The operation to delete a run command.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/machineNameParameter" + }, + { + "$ref": "#/parameters/runCommandNameParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "202": { + "description": "Accepted", + "headers": { + "Location": { + "description": "The URL of the resource used to check the status of the asynchronous operation.", + "type": "string" + }, + "Retry-After": { + "description": "The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation.", + "type": "integer", + "format": "int32" + }, + "Azure-AsyncOperation": { + "description": "The URI to poll for completion status.", + "type": "string" + } + } + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "Delete a Machine Run Command": { + "$ref": "./examples/runCommand/RunCommands_Delete.json" + } + } + }, + "get": { + "tags": [ + "MachineRunCommands" + ], + "operationId": "MachineRunCommands_Get", + "description": "The operation to get a run command.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/machineNameParameter" + }, + { + "$ref": "#/parameters/runCommandNameParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/MachineRunCommand" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get a Run Command": { + "$ref": "./examples/runCommand/RunCommands_Get.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/runCommands": { + "get": { + "tags": [ + "MachineRunCommands" + ], + "operationId": "MachineRunCommands_List", + "description": "The operation to get all the run commands of a non-Azure machine.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/machineNameParameter" + }, + { + "name": "$expand", + "in": "query", + "required": false, + "type": "string", + "description": "The expand expression to apply on the operation." + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/MachineRunCommandsListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "GET all Machine Run Commands": { + "$ref": "./examples/runCommand/RunCommands_List.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/gateways/{gatewayName}": { + "put": { + "tags": [ + "gateways" + ], + "operationId": "Gateways_CreateOrUpdate", + "description": "The operation to create or update a gateway.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/gatewayNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Gateway" + }, + "description": "Parameters supplied to the Create gateway operation." + } + ], + "responses": { + "200": { + "description": "Updated Resource", + "schema": { + "$ref": "#/definitions/Gateway" + } + }, + "201": { + "description": "Updated Resource", + "schema": { + "$ref": "#/definitions/Gateway" + }, + "headers": { + "Location": { + "description": "The URL of the resource used to check the status of the asynchronous operation.", + "type": "string" + }, + "Retry-After": { + "description": "The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation.", + "type": "integer", + "format": "int32" + }, + "Azure-AsyncOperation": { + "description": "The URI to poll for completion status.", + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Create or Update a Gateway": { + "$ref": "./examples/gateway/Gateway_CreateOrUpdate.json" + } + } + }, + "patch": { + "tags": [ + "gateways" + ], + "operationId": "Gateways_Update", + "description": "The operation to update a gateway.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/gatewayNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/GatewayUpdate" + }, + "description": "Parameters supplied to the Update gateway operation." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Gateway" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": false, + "x-ms-examples": { + "Update a Gateway": { + "$ref": "./examples/gateway/Gateway_Update.json" + } + } + }, + "get": { + "tags": [ + "gateways" + ], + "operationId": "Gateways_Get", + "description": "Retrieves information about the view of a gateway.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/gatewayNameParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Gateway" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Gateway": { + "$ref": "./examples/gateway/Gateway_Get.json" + } + } + }, + "delete": { + "tags": [ + "gateways" + ], + "operationId": "Gateways_Delete", + "description": "The operation to delete a gateway.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/gatewayNameParameter" + } + ], + "responses": { + "202": { + "description": "Accepted", + "headers": { + "Location": { + "description": "The URL of the resource used to check the status of the asynchronous operation.", + "type": "string" + }, + "Retry-After": { + "description": "The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation.", + "type": "integer", + "format": "int32" + }, + "Azure-AsyncOperation": { + "description": "The URI to poll for completion status.", + "type": "string" + } + } + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Delete a Gateway": { + "$ref": "./examples/gateway/Gateway_Delete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/gateways": { + "get": { + "tags": [ + "gateways" + ], + "operationId": "Gateways_ListByResourceGroup", + "description": "The operation to get all gateways of a non-Azure machine", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/GatewaysListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "List Gateways by Resource Group": { + "$ref": "./examples/gateway/Gateway_ListByResourceGroup.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/gateways": { + "get": { + "tags": [ + "gateways" + ], + "operationId": "Gateways_ListBySubscription", + "description": "The operation to get all gateways of a non-Azure machine", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/GatewaysListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "List Gateways by Subscription": { + "$ref": "./examples/gateway/Gateway_ListBySubscription.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{baseProvider}/{baseResourceType}/{baseResourceName}/providers/Microsoft.HybridCompute/settings/{settingsResourceName}": { + "get": { + "tags": [ + "Settings" + ], + "description": "Returns the base Settings for the target resource.", + "operationId": "Settings_Get", + "produces": [ + "application/json" + ], + "x-ms-examples": { + "NetworkConfigurationsGet": { + "$ref": "./examples/settings/SettingsGet.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/baseProviderParameter" + }, + { + "$ref": "#/parameters/baseResourceTypeParameter" + }, + { + "$ref": "#/parameters/baseResourceNameParameter" + }, + { + "$ref": "#/parameters/settingsResourceNameParameter" + } + ], + "responses": { + "200": { + "description": "Settings information for the target resource.", + "schema": { + "$ref": "#/definitions/Settings" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "deprecated": false + }, + "put": { + "tags": [ + "Settings" + ], + "description": "Updates the base Settings of the target resource.", + "operationId": "Settings_Update", + "produces": [ + "application/json" + ], + "x-ms-examples": { + "SettingsUpdate": { + "$ref": "./examples/settings/SettingsUpdate.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/baseProviderParameter" + }, + { + "$ref": "#/parameters/baseResourceTypeParameter" + }, + { + "$ref": "#/parameters/baseResourceNameParameter" + }, + { + "$ref": "#/parameters/settingsResourceNameParameter" + }, + { + "name": "parameters", + "description": "Settings details", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Settings" + } + } + ], + "responses": { + "200": { + "description": "Successful request when updating a Settings resource. The updated Settings are returned.", + "schema": { + "$ref": "#/definitions/Settings" + } + }, + "201": { + "description": "Successful request when updating a Settings resource. The updated Settings are returned.", + "schema": { + "$ref": "#/definitions/Settings" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + }, + "patch": { + "tags": [ + "Settings" + ], + "description": "Update the base Settings of the target resource.", + "operationId": "Settings_Patch", + "produces": [ + "application/json" + ], + "x-ms-examples": { + "NetworkConfigurationsPatch": { + "$ref": "./examples/settings/SettingsPatch.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/baseProviderParameter" + }, + { + "$ref": "#/parameters/baseResourceTypeParameter" + }, + { + "$ref": "#/parameters/baseResourceNameParameter" + }, + { + "$ref": "#/parameters/settingsResourceNameParameter" + }, + { + "name": "parameters", + "description": "Settings details", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Settings" + } + } + ], + "responses": { + "200": { + "description": "Settings information for the target resource.", + "schema": { + "$ref": "#/definitions/Settings" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/addExtensions": { + "post": { + "tags": [ + "MachineExtensions Setup" + ], + "operationId": "SetupExtensions", + "description": "The operation to Setup Machine Extensions.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "machineName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9-_\\.]{1,54}$", + "minLength": 1, + "maxLength": 54, + "description": "The name of the hybrid machine." + }, + { + "name": "extensions", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/SetupExtensionRequest" + }, + "description": "Parameters supplied to the Setup Extensions operation." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/SetupExtensionRequest" + } + }, + "202": { + "description": "HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously.", + "headers": { + "Location": { + "description": "The URL of the resource used to check the status of the asynchronous operation.", + "type": "string" + }, + "Retry-After": { + "description": "The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation.", + "type": "integer", + "format": "int32" + }, + "Azure-AsyncOperation": { + "description": "The URI to poll for completion status.", + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Setup Machine Extensions": { + "$ref": "./examples/extension/Extension_Add.json" + } + }, + "x-ms-long-running-operation": true + } + } + }, + "definitions": { + "ExtensionValueListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/ExtensionValue" + }, + "description": "The list of extension metadata", + "x-ms-identifiers": [] + } + }, + "description": "The List Extension Metadata response." + }, + "ExtensionValue": { + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ExtensionValueProperties", + "description": "The single extension based on search criteria" + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ], + "description": "Describes a Extension Metadata" + }, + "ExtensionValueProperties": { + "type": "object", + "properties": { + "version": { + "type": "string", + "readOnly": true, + "description": "The version of the Extension being received." + }, + "extensionType": { + "type": "string", + "readOnly": true, + "description": "The type of the Extension being received." + }, + "publisher": { + "type": "string", + "readOnly": true, + "description": "The publisher of the Extension being received." + } + }, + "description": "Describes Extension Metadata properties" + }, + "ExtensionValueListResultV2": { + "type": "object", + "properties": { + "value": { + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/ExtensionValueV2" + }, + "description": "The list of extension metadata.", + "x-ms-identifiers": [] + }, + "nextLink": { + "type": "string", + "description": "The URI to fetch the next page of extension metadata." + } + }, + "description": "The List Extension Metadata response." + }, + "ExtensionValueV2": { + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ExtensionValueV2Properties", + "description": "The single extension based on search criteria." + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ], + "description": "Describes an Extension Metadata." + }, + "ExtensionValueV2Properties": { + "type": "object", + "properties": { + "extensionUris": { + "type": "array", + "readOnly": true, + "items": { + "type": "string", + "format": "uri" + }, + "description": "A list of locations where the extension packages can be found." + }, + "extensionSignatureUri": { + "type": "string", + "readOnly": true, + "format": "uri", + "description": "Location of the signature files for the extension." + }, + "operatingSystem": { + "type": "string", + "readOnly": true, + "description": "The operating system (Windows, Linux, etc.) this extension supports." + }, + "architecture": { + "type": "array", + "readOnly": true, + "items": { + "type": "string" + }, + "description": "Architectures (x64, arms64, etc.) that this extension supports." + } + }, + "allOf": [ + { + "$ref": "#/definitions/ExtensionValueProperties" + } + ], + "description": "Describes Extension Metadata properties." + }, + "ExtensionTypeListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/ExtensionType" + }, + "description": "The list of extension types.", + "x-ms-identifiers": [] + }, + "nextLink": { + "type": "string", + "description": "The URI to fetch the next page of extension types." + } + }, + "description": "The List of Extension Types." + }, + "ExtensionType": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "The ID of the extension type." + }, + "name": { + "type": "string", + "description": "The name of the extension type." + } + }, + "description": "Describes an Extension Type." + }, + "ExtensionPublisherListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/ExtensionPublisher" + }, + "description": "The list of extension publishers.", + "x-ms-identifiers": [] + }, + "nextLink": { + "type": "string", + "description": "The URI to fetch the next page of extension publishers." + } + }, + "description": "The List of Extension Publishers." + }, + "ExtensionPublisher": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "The ID of the extension publisher." + }, + "name": { + "type": "string", + "description": "The name of the extension publisher." + } + }, + "description": "Describes an Extension Publisher." + }, + "OperationListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/OperationValue" + }, + "description": "The list of compute operations", + "x-ms-identifiers": [] + } + }, + "description": "The List Compute Operation operation response." + }, + "OperationValue": { + "type": "object", + "properties": { + "origin": { + "type": "string", + "readOnly": true, + "description": "The origin of the compute operation." + }, + "name": { + "type": "string", + "readOnly": true, + "description": "The name of the compute operation." + }, + "display": { + "$ref": "#/definitions/OperationValueDisplay", + "description": "Display properties" + }, + "isDataAction": { + "type": "boolean", + "readOnly": true, + "description": "This property indicates if the operation is an action or a data action" + } + }, + "description": "Describes the properties of a Compute Operation value." + }, + "OperationValueDisplay": { + "type": "object", + "properties": { + "operation": { + "type": "string", + "readOnly": true, + "description": "The display name of the compute operation." + }, + "resource": { + "type": "string", + "readOnly": true, + "description": "The display name of the resource the operation applies to." + }, + "description": { + "type": "string", + "readOnly": true, + "description": "The description of the operation." + }, + "provider": { + "type": "string", + "readOnly": true, + "description": "The resource provider for the operation." + } + }, + "description": "Describes the properties of a Hybrid Compute Operation Value Display." + }, + "PatchSettings": { + "type": "object", + "properties": { + "assessmentMode": { + "type": "string", + "description": "Specifies the assessment mode.", + "enum": [ + "ImageDefault", + "AutomaticByPlatform" + ], + "x-ms-enum": { + "name": "AssessmentModeTypes", + "modelAsString": true + } + }, + "patchMode": { + "type": "string", + "description": "Specifies the patch mode.", + "enum": [ + "ImageDefault", + "AutomaticByPlatform", + "AutomaticByOS", + "Manual" + ], + "x-ms-enum": { + "name": "PatchModeTypes", + "modelAsString": true + } + }, + "enableHotpatching": { + "type": "boolean", + "description": "Captures the hotpatch capability enrollment intent of the customers, which enables customers to patch their Windows machines without requiring a reboot." + }, + "status": { + "readOnly": true, + "type": "object", + "properties": { + "hotpatchEnablementStatus": { + "$ref": "#/definitions/HotpatchEnablementStatus", + "description": "Indicates the current status of the hotpatch being enabled or disabled." + }, + "error": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorDetail", + "readOnly": true, + "description": "The errors that were encountered during the hotpatch capability enrollment or disenrollment." + } + }, + "description": "Status of the hotpatch capability enrollment or disenrollment." + } + }, + "description": "Specifies the patch settings." + }, + "AgentConfiguration": { + "type": "object", + "readOnly": true, + "properties": { + "proxyUrl": { + "type": "string", + "readOnly": true, + "description": "Specifies the URL of the proxy to be used." + }, + "incomingConnectionsPorts": { + "type": "array", + "readOnly": true, + "description": "Specifies the list of ports that the agent will be able to listen on.", + "items": { + "type": "string" + } + }, + "extensionsAllowList": { + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/ConfigurationExtension" + }, + "description": "Array of extensions that are allowed to be installed or updated.", + "x-ms-identifiers": [] + }, + "extensionsBlockList": { + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/ConfigurationExtension" + }, + "description": "Array of extensions that are blocked (cannot be installed or updated)", + "x-ms-identifiers": [] + }, + "proxyBypass": { + "type": "array", + "readOnly": true, + "description": "List of service names which should not use the specified proxy server.", + "items": { + "type": "string" + } + }, + "extensionsEnabled": { + "type": "string", + "readOnly": true, + "description": "Specifies whether the extension service is enabled or disabled." + }, + "guestConfigurationEnabled": { + "type": "string", + "readOnly": true, + "description": "Specified whether the guest configuration service is enabled or disabled." + }, + "configMode": { + "type": "string", + "readOnly": true, + "description": "Name of configuration mode to use. Modes are pre-defined configurations of security controls, extension allowlists and guest configuration, maintained by Microsoft.", + "enum": [ + "full", + "monitor" + ], + "x-ms-enum": { + "name": "agent configuration mode", + "modelAsString": true + } + } + }, + "description": "Configurable properties that the user can set locally via the azcmagent config command, or remotely via ARM." + }, + "ConfigurationExtension": { + "type": "object", + "properties": { + "publisher": { + "type": "string", + "readOnly": true, + "description": "Publisher of the extension." + }, + "type": { + "type": "string", + "readOnly": true, + "description": "Type of the extension." + } + }, + "description": "Describes properties that can identify extensions." + }, + "ServiceStatuses": { + "type": "object", + "properties": { + "extensionService": { + "$ref": "#/definitions/ServiceStatus", + "description": "The state of the extension service on the Arc-enabled machine." + }, + "guestConfigurationService": { + "$ref": "#/definitions/ServiceStatus", + "description": "The state of the guest configuration service on the Arc-enabled machine." + } + }, + "description": "Reports the state and behavior of dependent services." + }, + "ServiceStatus": { + "type": "object", + "properties": { + "status": { + "type": "string", + "description": "The current status of the service." + }, + "startupType": { + "type": "string", + "description": "The behavior of the service when the Arc-enabled machine starts up." + } + }, + "description": "Describes the status and behavior of a service." + }, + "FirmwareProfile": { + "type": "object", + "readOnly": true, + "properties": { + "serialNumber": { + "type": "string", + "readOnly": true, + "description": "The serial number of the firmware" + }, + "type": { + "type": "string", + "readOnly": true, + "description": "The type of the firmware" + } + }, + "description": "Describes the firmware of the machine" + }, + "HardwareProfile": { + "type": "object", + "readOnly": true, + "properties": { + "totalPhysicalMemoryInBytes": { + "type": "integer", + "format": "int64", + "readOnly": true, + "description": "The total physical memory on the machine" + }, + "numberOfCpuSockets": { + "type": "integer", + "format": "int32", + "readOnly": true, + "description": "The total number of CPU sockets available on the machine" + }, + "processors": { + "type": "array", + "items": { + "$ref": "#/definitions/Processor" + }, + "readOnly": true, + "description": "The physical processors of the machine." + } + }, + "description": "Describes the hardware of the machine" + }, + "Processor": { + "type": "object", + "readOnly": true, + "properties": { + "name": { + "type": "string", + "readOnly": true, + "description": "The name of the processor." + }, + "numberOfCores": { + "type": "integer", + "format": "int32", + "readOnly": true, + "description": "The total number of physical cores on the processor." + } + }, + "description": "Describes the firmware of the machine" + }, + "StorageProfile": { + "type": "object", + "properties": { + "disks": { + "type": "array", + "items": { + "$ref": "#/definitions/Disk" + }, + "description": "The disks on the machine." + } + }, + "readOnly": true, + "description": "Describes the storage configuration of the machine" + }, + "Disk": { + "type": "object", + "readOnly": true, + "properties": { + "path": { + "type": "string", + "description": "The path of the disk." + }, + "diskType": { + "type": "string", + "description": "The type of the disk." + }, + "generatedId": { + "type": "string", + "description": "The generated ID of the disk." + }, + "id": { + "type": "string", + "description": "The ID of the disk." + }, + "name": { + "type": "string", + "description": "The name of the disk." + }, + "maxSizeInBytes": { + "type": "integer", + "format": "int64", + "description": "The size of the disk, in bytes" + }, + "usedSpaceInBytes": { + "type": "integer", + "format": "int64", + "description": "The amount of space used on the disk, in bytes" + } + }, + "description": "Describes a disk on the machine" + }, + "CloudMetadata": { + "type": "object", + "properties": { + "provider": { + "type": "string", + "readOnly": true, + "description": "Specifies the cloud provider (Azure/AWS/GCP...)." + } + }, + "description": "The metadata of the cloud environment (Azure/GCP/AWS/OCI...)." + }, + "AgentUpgrade": { + "type": "object", + "properties": { + "desiredVersion": { + "type": "string", + "description": "Specifies the version info w.r.t AgentUpgrade for the machine." + }, + "correlationId": { + "type": "string", + "description": "The correlation ID associated with an agent upgrade operation." + }, + "enableAutomaticUpgrade": { + "type": "boolean", + "description": "Specifies if the machine's agent should be upgraded" + }, + "lastAttemptDesiredVersion": { + "type": "string", + "readOnly": true, + "description": "Specifies the version of the last attempt" + }, + "lastAttemptTimestamp": { + "type": "string", + "readOnly": true, + "description": "Timestamp of last upgrade attempt" + }, + "lastAttemptStatus": { + "type": "string", + "readOnly": true, + "enum": [ + "Success", + "Failed" + ], + "x-ms-enum": { + "name": "LastAttemptStatusEnum", + "modelAsString": true + }, + "description": "Specifies the status of Agent Upgrade." + }, + "lastAttemptMessage": { + "type": "string", + "readOnly": true, + "description": "Failure message of last upgrade attempt if any." + } + }, + "description": "The info w.r.t Agent Upgrade." + }, + "OSProfile": { + "type": "object", + "properties": { + "computerName": { + "type": "string", + "readOnly": true, + "description": "Specifies the host OS name of the hybrid machine." + }, + "windowsConfiguration": { + "type": "object", + "properties": { + "patchSettings": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/PatchSettings" + } + }, + "description": "Specifies the windows configuration for update management." + }, + "linuxConfiguration": { + "type": "object", + "properties": { + "patchSettings": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/PatchSettings" + } + }, + "description": "Specifies the linux configuration for update management." + } + }, + "description": "Specifies the operating system settings for the hybrid machine." + }, + "DetectedProperties": { + "readOnly": true, + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Detected properties from the machine." + }, + "MachineProperties": { + "type": "object", + "properties": { + "locationData": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/locationData" + }, + "agentConfiguration": { + "$ref": "#/definitions/AgentConfiguration", + "description": "Configurable properties that the user can set locally via the azcmagent config command, or remotely via ARM." + }, + "serviceStatuses": { + "$ref": "#/definitions/ServiceStatuses", + "description": "Statuses of dependent services that are reported back to ARM." + }, + "hardwareProfile": { + "$ref": "#/definitions/HardwareProfile", + "description": "Information about the machine's hardware" + }, + "storageProfile": { + "$ref": "#/definitions/StorageProfile", + "description": "Information about the machine's storage" + }, + "firmwareProfile": { + "$ref": "#/definitions/FirmwareProfile", + "description": "Information about the machine's firmware" + }, + "cloudMetadata": { + "$ref": "#/definitions/CloudMetadata", + "description": "The metadata of the cloud environment (Azure/GCP/AWS/OCI...)." + }, + "agentUpgrade": { + "$ref": "#/definitions/AgentUpgrade", + "description": "The info of the machine w.r.t Agent Upgrade" + }, + "osProfile": { + "$ref": "#/definitions/OSProfile", + "description": "Specifies the operating system settings for the hybrid machine." + }, + "licenseProfile": { + "$ref": "#/definitions/LicenseProfileMachineInstanceView", + "description": "Specifies the License related properties for a machine." + }, + "provisioningState": { + "readOnly": true, + "type": "string", + "description": "The provisioning state, which only appears in the response." + }, + "status": { + "readOnly": true, + "type": "string", + "description": "The status of the hybrid machine agent.", + "enum": [ + "Connected", + "Disconnected", + "Error", + "AwaitingConnection" + ], + "x-ms-enum": { + "name": "StatusTypes", + "modelAsString": true + } + }, + "lastStatusChange": { + "readOnly": true, + "type": "string", + "format": "date-time", + "description": "The time of the last status change." + }, + "errorDetails": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorDetail" + }, + "description": "Details about the error state.", + "x-ms-identifiers": [] + }, + "agentVersion": { + "readOnly": true, + "type": "string", + "description": "The hybrid machine agent full version." + }, + "vmId": { + "type": "string", + "x-ms-mutability": [ + "read", + "create" + ], + "description": "Specifies the hybrid machine unique ID." + }, + "displayName": { + "readOnly": true, + "type": "string", + "description": "Specifies the hybrid machine display name." + }, + "machineFqdn": { + "readOnly": true, + "type": "string", + "description": "Specifies the hybrid machine FQDN." + }, + "clientPublicKey": { + "type": "string", + "description": "Public Key that the client provides to be used during initial resource onboarding" + }, + "identityKeyStore": { + "description": "Specifies the identity key store a machine is using.", + "type": "string", + "enum": [ + "TPM", + "Default" + ], + "x-ms-enum": { + "name": "IdentityKeyStore", + "modelAsString": true + } + }, + "tpmEkCertificate": { + "type": "string", + "description": "Endorsement Key Certificate of the Trusted Platform Module (TPM) that the client provides to be used during initial resource onboarding." + }, + "osName": { + "readOnly": true, + "type": "string", + "description": "The Operating System running on the hybrid machine." + }, + "osVersion": { + "readOnly": true, + "type": "string", + "description": "The version of Operating System running on the hybrid machine." + }, + "osType": { + "type": "string", + "description": "The type of Operating System (windows/linux)." + }, + "vmUuid": { + "readOnly": true, + "type": "string", + "description": "Specifies the Arc Machine's unique SMBIOS ID" + }, + "extensions": { + "type": "array", + "items": { + "$ref": "#/definitions/MachineExtensionInstanceView" + }, + "description": "Machine Extensions information (deprecated field)", + "x-ms-identifiers": [] + }, + "osSku": { + "readOnly": true, + "type": "string", + "description": "Specifies the Operating System product SKU." + }, + "osEdition": { + "readOnly": true, + "type": "string", + "description": "The edition of the Operating System." + }, + "domainName": { + "readOnly": true, + "type": "string", + "description": "Specifies the Windows domain name." + }, + "adFqdn": { + "readOnly": true, + "type": "string", + "description": "Specifies the AD fully qualified display name." + }, + "dnsFqdn": { + "readOnly": true, + "type": "string", + "description": "Specifies the DNS fully qualified display name." + }, + "privateLinkScopeResourceId": { + "type": "string", + "description": "The resource id of the private link scope this machine is assigned to, if any." + }, + "parentClusterResourceId": { + "type": "string", + "description": "The resource id of the parent cluster (Azure HCI) this machine is assigned to, if any." + }, + "hardwareResourceId": { + "type": "string", + "description": "Specifies the resource ID of the associated hardware device. Only settable by HCI RP." + }, + "mssqlDiscovered": { + "type": "string", + "description": "Specifies whether any MS SQL instance is discovered on the machine." + }, + "detectedProperties": { + "$ref": "#/definitions/DetectedProperties", + "description": "Detected properties from the machine." + }, + "networkProfile": { + "$ref": "#/definitions/NetworkProfile", + "description": "Information about the network the machine is on." + } + }, + "description": "Describes the properties of a hybrid machine." + }, + "MachineUpdateProperties": { + "type": "object", + "properties": { + "locationData": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/locationData" + }, + "osProfile": { + "$ref": "#/definitions/OSProfile" + }, + "cloudMetadata": { + "$ref": "#/definitions/CloudMetadata", + "description": "The metadata of the cloud environment (Azure/GCP/AWS/OCI...)." + }, + "agentUpgrade": { + "$ref": "#/definitions/AgentUpgrade", + "description": "The info of the machine w.r.t Agent Upgrade" + }, + "parentClusterResourceId": { + "type": "string", + "description": "The resource id of the parent cluster (Azure HCI) this machine is assigned to, if any." + }, + "privateLinkScopeResourceId": { + "type": "string", + "description": "The resource id of the private link scope this machine is assigned to, if any." + }, + "identityKeyStore": { + "type": "string", + "description": "Identity key store type of the machine" + }, + "tpmEkCertificate": { + "type": "string", + "description": "Endorsement Key Certificate of the Trusted Platform Module (TPM) that the client provides to be used during initial resource onboarding." + } + }, + "description": "Describes the ARM updatable properties of a hybrid machine." + }, + "Machine": { + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/MachineProperties", + "description": "Hybrid Compute Machine properties" + }, + "resources": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "#/definitions/MachineExtension" + }, + "description": "The list of extensions affiliated to the machine" + }, + "identity": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/Identity" + }, + "kind": { + "$ref": "#/definitions/ArcKindEnum" + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ], + "description": "Describes a hybrid machine." + }, + "ArcKindEnum": { + "type": "string", + "description": "Indicates which kind of Arc machine placement on-premises, such as HCI, SCVMM or VMware etc.", + "enum": [ + "AVS", + "HCI", + "SCVMM", + "VMware", + "EPS", + "GCP", + "AWS" + ], + "x-ms-enum": { + "name": "ArcKindEnum ", + "modelAsString": true + } + }, + "MachineUpdate": { + "type": "object", + "properties": { + "identity": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/Identity" + }, + "kind": { + "$ref": "#/definitions/ArcKindEnum" + }, + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/MachineUpdateProperties", + "description": "Hybrid Compute Machine properties" + } + }, + "allOf": [ + { + "$ref": "#/definitions/ResourceUpdate" + } + ], + "description": "Describes a hybrid machine Update." + }, + "MachineListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Machine" + }, + "description": "The list of hybrid machines." + }, + "nextLink": { + "type": "string", + "description": "The URI to fetch the next page of Machines. Call ListNext() with this URI to fetch the next page of hybrid machines." + } + }, + "required": [ + "value" + ], + "description": "The List hybrid machine operation response." + }, + "ProvisioningState": { + "readOnly": true, + "type": "string", + "enum": [ + "Creating", + "Updating", + "Deleting", + "Succeeded", + "Failed", + "Accepted", + "Canceled", + "Deleted" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + }, + "description": "The provisioning state, which only appears in the response." + }, + "License": { + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/LicenseProperties", + "description": "Hybrid Compute License properties" + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ], + "description": "Describes a license in a hybrid machine." + }, + "LicenseProperties": { + "type": "object", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The provisioning state, which only appears in the response." + }, + "tenantId": { + "type": "string", + "description": "Describes the tenant id." + }, + "licenseType": { + "$ref": "#/definitions/LicenseType", + "description": "The type of the license resource." + }, + "licenseDetails": { + "$ref": "#/definitions/LicenseDetails", + "description": "Describes the properties of a License." + } + }, + "description": "Describes the properties of a License Profile." + }, + "LicenseUpdate": { + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/LicenseUpdateProperties", + "description": "License Update properties" + } + }, + "allOf": [ + { + "$ref": "#/definitions/ResourceUpdate" + } + ], + "description": "Describes a License Update." + }, + "LicenseUpdateProperties": { + "type": "object", + "properties": { + "licenseType": { + "$ref": "#/definitions/LicenseType", + "description": "The type of the license resource." + }, + "licenseDetails": { + "x-ms-client-flatten": true, + "type": "object", + "properties": { + "state": { + "$ref": "#/definitions/LicenseState" + }, + "target": { + "$ref": "#/definitions/LicenseTarget" + }, + "edition": { + "$ref": "#/definitions/LicenseEdition" + }, + "type": { + "$ref": "#/definitions/LicenseCoreType" + }, + "processors": { + "type": "integer", + "format": "int32", + "description": "Describes the number of processors." + } + } + } + }, + "description": "Describes the Update properties of a License Profile." + }, + "LicenseDetails": { + "type": "object", + "properties": { + "state": { + "$ref": "#/definitions/LicenseState" + }, + "target": { + "$ref": "#/definitions/LicenseTarget" + }, + "edition": { + "$ref": "#/definitions/LicenseEdition" + }, + "type": { + "$ref": "#/definitions/LicenseCoreType" + }, + "processors": { + "type": "integer", + "format": "int32", + "description": "Describes the number of processors." + }, + "assignedLicenses": { + "readOnly": true, + "type": "integer", + "format": "int32", + "description": "Describes the number of assigned licenses." + }, + "immutableId": { + "readOnly": true, + "type": "string", + "description": "Describes the immutable id." + }, + "volumeLicenseDetails": { + "type": "array", + "items": { + "$ref": "#/definitions/VolumeLicenseDetails" + }, + "description": "A list of volume license details." + } + }, + "description": "Describes the properties of a License." + }, + "VolumeLicenseDetails": { + "type": "object", + "properties": { + "programYear": { + "type": "string", + "description": "Describes the program year the volume license is for.", + "enum": [ + "Year 1", + "Year 2", + "Year 3" + ], + "x-ms-enum": { + "name": "ProgramYear", + "modelAsString": true + } + }, + "invoiceId": { + "type": "string", + "description": "The invoice id for the volume license." + } + } + }, + "LicenseType": { + "type": "string", + "enum": [ + "ESU" + ], + "x-ms-enum": { + "name": "LicenseType", + "modelAsString": true + }, + "description": "The type of the license resource." + }, + "LicenseState": { + "type": "string", + "enum": [ + "Activated", + "Deactivated" + ], + "x-ms-enum": { + "name": "LicenseState", + "modelAsString": true + }, + "description": "Describes the state of the license." + }, + "LicenseEdition": { + "type": "string", + "enum": [ + "Standard", + "Datacenter" + ], + "x-ms-enum": { + "name": "LicenseEdition", + "modelAsString": true + }, + "description": "Describes the edition of the license. The values are either Standard or Datacenter." + }, + "LicenseTarget": { + "type": "string", + "enum": [ + "Windows Server 2012", + "Windows Server 2012 R2" + ], + "x-ms-enum": { + "name": "LicenseTarget", + "modelAsString": true + }, + "description": "Describes the license target server." + }, + "LicenseCoreType": { + "type": "string", + "enum": [ + "pCore", + "vCore" + ], + "x-ms-enum": { + "name": "LicenseCoreType", + "modelAsString": true + }, + "description": "Describes the license core type (pCore or vCore)." + }, + "LicensesListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/License" + }, + "description": "The list of licenses." + }, + "nextLink": { + "type": "string", + "description": "The URI to fetch the next page of Machines. Call ListNext() with this URI to fetch the next page of license profile." + } + }, + "required": [ + "value" + ], + "description": "The List license operation response." + }, + "LicenseProfile": { + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "type": "object", + "properties": { + "softwareAssurance": { + "x-ms-client-flatten": true, + "type": "object", + "properties": { + "softwareAssuranceCustomer": { + "type": "boolean", + "description": "Specifies if this machine is licensed as part of a Software Assurance agreement." + } + } + }, + "esuProfile": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/LicenseProfileArmEsuProperties", + "description": "Hybrid Compute ESU Profile properties" + }, + "productProfile": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/LicenseProfileArmProductProfileProperties", + "description": "Hybrid Compute Product Profile properties" + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The provisioning state, which only appears in the response." + } + }, + "description": "Describe the properties of a license profile." + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ], + "description": "Describes a license profile in a hybrid machine." + }, + "LicenseProfileUpdate": { + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "type": "object", + "properties": { + "softwareAssurance": { + "x-ms-client-flatten": true, + "type": "object", + "properties": { + "softwareAssuranceCustomer": { + "type": "boolean", + "description": "Specifies if this machine is licensed as part of a Software Assurance agreement." + } + } + }, + "esuProfile": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/EsuProfileUpdateProperties", + "description": "Hybrid Compute ESU Profile Update properties" + }, + "productProfile": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ProductProfileUpdateProperties", + "description": "Hybrid Compute Product Profile Update properties" + } + }, + "description": "Describe the Update properties of a license profile." + } + }, + "allOf": [ + { + "$ref": "#/definitions/ResourceUpdate" + } + ], + "description": "Describes a License Profile Update." + }, + "LicenseProfilesListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/LicenseProfile" + }, + "description": "The list of license profiles." + }, + "nextLink": { + "type": "string", + "description": "The URI to fetch the next page of Machines. Call ListNext() with this URI to fetch the next page of license profile." + } + }, + "required": [ + "value" + ], + "description": "The List hybrid machine license profile operation response." + }, + "EsuServerType": { + "type": "string", + "enum": [ + "Standard", + "Datacenter" + ], + "x-ms-enum": { + "name": "EsuServerType", + "modelAsString": true + }, + "description": "The server types for Esu." + }, + "EsuEligibility": { + "type": "string", + "enum": [ + "Eligible", + "Ineligible", + "Unknown" + ], + "x-ms-enum": { + "name": "EsuEligibility", + "modelAsString": true + }, + "description": "The ESU eligibility." + }, + "EsuKey": { + "type": "object", + "properties": { + "sku": { + "type": "string", + "description": "SKU number." + }, + "licenseStatus": { + "type": "integer", + "format": "int32", + "description": "The current status of the license profile key. Represented by the same integer value that is presented on the machine itself when querying the license key status." + } + }, + "description": "ESU key" + }, + "EsuKeyState": { + "type": "string", + "enum": [ + "Inactive", + "Active" + ], + "x-ms-enum": { + "name": "EsuKeyState", + "modelAsString": true + }, + "description": "The ESU key state." + }, + "LicenseProfileStorageModelEsuProperties": { + "type": "object", + "properties": { + "assignedLicenseImmutableId": { + "readOnly": true, + "type": "string", + "description": "The guid id of the license." + }, + "esuKeys": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "#/definitions/EsuKey" + }, + "description": "The list of ESU keys.", + "x-ms-identifiers": [] + } + }, + "description": "License profile storage model for ESU properties." + }, + "LicenseProfileArmEsuProperties": { + "type": "object", + "properties": { + "assignedLicense": { + "type": "string", + "description": "The resource id of the license." + } + }, + "allOf": [ + { + "$ref": "#/definitions/LicenseProfileArmEsuPropertiesWithoutAssignedLicense" + } + ], + "description": "Describes the properties of a License Profile ARM model." + }, + "LicenseProfileArmEsuPropertiesWithoutAssignedLicense": { + "type": "object", + "properties": { + "serverType": { + "readOnly": true, + "$ref": "#/definitions/EsuServerType", + "description": "The type of the Esu servers." + }, + "esuEligibility": { + "readOnly": true, + "$ref": "#/definitions/EsuEligibility", + "description": "Indicates the eligibility state of Esu." + }, + "esuKeyState": { + "readOnly": true, + "$ref": "#/definitions/EsuKeyState", + "description": "Indicates whether there is an ESU Key currently active for the machine." + } + }, + "allOf": [ + { + "$ref": "#/definitions/LicenseProfileStorageModelEsuProperties" + } + ], + "description": "Describes the properties of a License Profile ARM model." + }, + "EsuProfileUpdateProperties": { + "type": "object", + "properties": { + "assignedLicense": { + "type": "string", + "description": "The resource id of the license." + } + }, + "description": "Describes the Update properties of a ESU License Profile." + }, + "LicenseProfileSubscriptionStatusUpdate": { + "type": "string", + "enum": [ + "Enable", + "Disable" + ], + "x-ms-enum": { + "name": "LicenseProfileSubscriptionStatusUpdate", + "modelAsString": true + }, + "description": "Indicates the new subscription status of the OS or Product Features." + }, + "ProductFeatureUpdate": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Product feature name." + }, + "subscriptionStatus": { + "$ref": "#/definitions/LicenseProfileSubscriptionStatusUpdate", + "description": "Indicates the new status of the product feature." + } + }, + "description": "Product Feature" + }, + "ProductProfileUpdateProperties": { + "type": "object", + "properties": { + "subscriptionStatus": { + "$ref": "#/definitions/LicenseProfileSubscriptionStatusUpdate", + "description": "Indicates the subscription status of the product." + }, + "productType": { + "$ref": "#/definitions/LicenseProfileProductType", + "description": "Indicates the product type of the license." + }, + "productFeatures": { + "type": "array", + "items": { + "$ref": "#/definitions/ProductFeatureUpdate" + }, + "description": "The list of product feature updates.", + "x-ms-identifiers": [] + } + }, + "description": "Describes the Update properties of a Product Profile." + }, + "LicenseProfileMachineInstanceView": { + "type": "object", + "properties": { + "licenseStatus": { + "$ref": "#/definitions/LicenseStatus", + "description": "Indicates the license status of the OS." + }, + "licenseChannel": { + "readOnly": true, + "type": "string", + "description": "Indicates the license channel." + }, + "softwareAssurance": { + "x-ms-client-flatten": true, + "type": "object", + "readOnly": true, + "properties": { + "softwareAssuranceCustomer": { + "type": "boolean", + "description": "Specifies if this machine is licensed as part of a Software Assurance agreement." + } + } + }, + "esuProfile": { + "$ref": "#/definitions/LicenseProfileMachineInstanceViewEsuProperties" + }, + "productProfile": { + "x-ms-client-flatten": true, + "readOnly": true, + "$ref": "#/definitions/LicenseProfileArmProductProfileProperties", + "description": "Hybrid Compute Product Profile properties" + } + }, + "description": "License Profile Instance View in Machine Properties." + }, + "LicenseProfileMachineInstanceViewEsuProperties": { + "type": "object", + "properties": { + "assignedLicense": { + "$ref": "#/definitions/License", + "description": "The assigned license resource." + }, + "licenseAssignmentState": { + "type": "string", + "enum": [ + "Assigned", + "NotAssigned" + ], + "description": "Describes the license assignment state (Assigned or NotAssigned).", + "x-ms-enum": { + "name": "licenseAssignmentState", + "modelAsString": true + } + } + }, + "allOf": [ + { + "$ref": "#/definitions/LicenseProfileArmEsuPropertiesWithoutAssignedLicense" + } + ], + "description": "Properties for the Machine ESU profile." + }, + "LicenseStatus": { + "readOnly": true, + "type": "string", + "enum": [ + "Unlicensed", + "Licensed", + "OOBGrace", + "OOTGrace", + "NonGenuineGrace", + "Notification", + "ExtendedGrace" + ], + "x-ms-enum": { + "name": "LicenseStatus", + "modelAsString": true + }, + "description": "The license status." + }, + "LicenseProfileSubscriptionStatus": { + "type": "string", + "enum": [ + "Unknown", + "Enabling", + "Enabled", + "Disabled", + "Disabling", + "Failed" + ], + "x-ms-enum": { + "name": "LicenseProfileSubscriptionStatus", + "modelAsString": true + }, + "description": "Subscription status of the OS or Product feature." + }, + "LicenseProfileProductType": { + "type": "string", + "enum": [ + "WindowsServer", + "WindowsIoTEnterprise" + ], + "x-ms-enum": { + "name": "LicenseProfileProductType", + "modelAsString": true + }, + "description": "The product type of the license." + }, + "ProductFeature": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Product feature name." + }, + "subscriptionStatus": { + "$ref": "#/definitions/LicenseProfileSubscriptionStatus", + "description": "Indicates the current status of the product features." + }, + "enrollmentDate": { + "type": "string", + "readOnly": true, + "format": "date-time", + "description": "The timestamp in UTC when the user enrolls the feature." + }, + "billingStartDate": { + "type": "string", + "readOnly": true, + "format": "date-time", + "description": "The timestamp in UTC when the billing starts." + }, + "disenrollmentDate": { + "type": "string", + "readOnly": true, + "format": "date-time", + "description": "The timestamp in UTC when the user disenrolled the feature." + }, + "billingEndDate": { + "type": "string", + "readOnly": true, + "format": "date-time", + "description": "The timestamp in UTC when the billing ends." + }, + "error": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorDetail", + "readOnly": true, + "description": "The errors that were encountered during the feature enrollment or disenrollment." + } + }, + "description": "Product Feature" + }, + "LicenseProfileArmProductProfileProperties": { + "type": "object", + "properties": { + "subscriptionStatus": { + "$ref": "#/definitions/LicenseProfileSubscriptionStatus", + "description": "Indicates the subscription status of the product." + }, + "productType": { + "$ref": "#/definitions/LicenseProfileProductType", + "description": "Indicates the product type of the license." + }, + "enrollmentDate": { + "type": "string", + "readOnly": true, + "format": "date-time", + "description": "The timestamp in UTC when the user enrolls the feature." + }, + "billingStartDate": { + "type": "string", + "readOnly": true, + "format": "date-time", + "description": "The timestamp in UTC when the billing starts." + }, + "disenrollmentDate": { + "type": "string", + "readOnly": true, + "format": "date-time", + "description": "The timestamp in UTC when the user disenrolled the feature." + }, + "billingEndDate": { + "type": "string", + "readOnly": true, + "format": "date-time", + "description": "The timestamp in UTC when the billing ends." + }, + "error": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorDetail", + "readOnly": true, + "description": "The errors that were encountered during the feature enrollment or disenrollment." + }, + "productFeatures": { + "type": "array", + "items": { + "$ref": "#/definitions/ProductFeature" + }, + "description": "The list of product features.", + "x-ms-identifiers": [] + } + }, + "description": "Describes the properties of a Product License Profile ARM model." + }, + "HotpatchEnablementStatus": { + "type": "string", + "enum": [ + "Unknown", + "PendingEvaluation", + "Disabled", + "ActionRequired", + "Enabled" + ], + "x-ms-enum": { + "name": "HotpatchEnablementStatus", + "modelAsString": true + }, + "description": "Status of hotpatch enablement or disablement." + }, + "ResourceUpdate": { + "type": "object", + "description": "The Update Resource model definition.", + "properties": { + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags" + } + } + }, + "MachineExtension": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/MachineExtensionProperties", + "description": "Describes Machine Extension Properties." + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ], + "description": "Describes a Machine Extension." + }, + "MachineExtensionUpdate": { + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/MachineExtensionUpdateProperties", + "description": "Describes Machine Extension Update Properties." + } + }, + "allOf": [ + { + "$ref": "#/definitions/ResourceUpdate" + } + ], + "description": "Describes a Machine Extension Update." + }, + "MachineExtensionProperties": { + "type": "object", + "properties": { + "forceUpdateTag": { + "type": "string", + "description": "How the extension handler should be forced to update even if the extension configuration has not changed." + }, + "publisher": { + "type": "string", + "description": "The name of the extension handler publisher." + }, + "type": { + "type": "string", + "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\"." + }, + "typeHandlerVersion": { + "type": "string", + "description": "Specifies the version of the script handler." + }, + "enableAutomaticUpgrade": { + "type": "boolean", + "description": "Indicates whether the extension should be automatically upgraded by the platform if there is a newer version available." + }, + "autoUpgradeMinorVersion": { + "type": "boolean", + "description": "Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true." + }, + "settings": { + "type": "object", + "additionalProperties": {}, + "description": "Json formatted public settings for the extension." + }, + "protectedSettings": { + "type": "object", + "additionalProperties": {}, + "description": "The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all." + }, + "provisioningState": { + "readOnly": true, + "type": "string", + "description": "The provisioning state, which only appears in the response." + }, + "instanceView": { + "$ref": "#/definitions/MachineExtensionInstanceView", + "description": "The machine extension instance view." + } + }, + "description": "Describes the properties of a Machine Extension." + }, + "MachineExtensionUpdateProperties": { + "type": "object", + "properties": { + "forceUpdateTag": { + "type": "string", + "description": "How the extension handler should be forced to update even if the extension configuration has not changed." + }, + "publisher": { + "type": "string", + "description": "The name of the extension handler publisher." + }, + "type": { + "type": "string", + "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\"." + }, + "typeHandlerVersion": { + "type": "string", + "description": "Specifies the version of the script handler." + }, + "enableAutomaticUpgrade": { + "type": "boolean", + "description": "Indicates whether the extension should be automatically upgraded by the platform if there is a newer version available." + }, + "autoUpgradeMinorVersion": { + "type": "boolean", + "description": "Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true." + }, + "settings": { + "type": "object", + "additionalProperties": {}, + "description": "Json formatted public settings for the extension." + }, + "protectedSettings": { + "type": "object", + "additionalProperties": {}, + "description": "The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all." + } + }, + "description": "Describes the properties of a Machine Extension." + }, + "MachineExtensionInstanceView": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The machine extension name." + }, + "type": { + "type": "string", + "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\"." + }, + "typeHandlerVersion": { + "type": "string", + "description": "Specifies the version of the script handler." + }, + "status": { + "type": "object", + "properties": { + "code": { + "type": "string", + "description": "The status code." + }, + "level": { + "type": "string", + "description": "The level code.", + "enum": [ + "Info", + "Warning", + "Error" + ], + "x-ms-enum": { + "name": "StatusLevelTypes", + "modelAsString": true + } + }, + "displayStatus": { + "type": "string", + "description": "The short localizable label for the status." + }, + "message": { + "type": "string", + "description": "The detailed status message, including for alerts and error messages." + }, + "time": { + "type": "string", + "format": "date-time", + "description": "The time of the status." + } + }, + "description": "Instance view status." + } + }, + "description": "Describes the Machine Extension Instance View." + }, + "MachineExtensionsListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/MachineExtension" + }, + "description": "The list of extensions" + }, + "nextLink": { + "type": "string", + "description": "The uri to fetch the next page of machine extensions. Call ListNext() with this to fetch the next page of extensions." + } + }, + "description": "Describes the Machine Extensions List Result." + }, + "TargetVersion": { + "type": "string", + "description": "Extension Upgrade Target Version." + }, + "ExtensionTargetProperties": { + "type": "object", + "properties": { + "targetVersion": { + "type": "object", + "$ref": "#/definitions/TargetVersion", + "description": "Properties for the specified Extension to Upgrade." + } + }, + "description": "Describes the Machine Extension Target Version Properties" + }, + "ExtensionTarget": { + "type": "object", + "additionalProperties": { + "type": "object", + "$ref": "#/definitions/ExtensionTargetProperties" + }, + "description": "Describes the Machine Extension Target Properties" + }, + "MachineExtensionUpgrade": { + "type": "object", + "properties": { + "extensionTargets": { + "$ref": "#/definitions/ExtensionTarget", + "description": "Describes the Extension Target Properties." + } + }, + "description": "Describes the Machine Extension Upgrade Properties." + }, + "NetworkProfile": { + "type": "object", + "readOnly": true, + "properties": { + "networkInterfaces": { + "type": "array", + "items": { + "$ref": "#/definitions/NetworkInterface" + }, + "description": "The list of network interfaces.", + "x-ms-identifiers": [] + } + }, + "description": "Describes the network information on this machine." + }, + "NetworkInterface": { + "type": "object", + "readOnly": true, + "properties": { + "macAddress": { + "type": "string", + "description": "Represents MAC address of the network interface." + }, + "id": { + "type": "string", + "description": "Represents the ID of the network interface." + }, + "name": { + "type": "string", + "description": "Represents the name of the network interface." + }, + "ipAddresses": { + "type": "array", + "items": { + "$ref": "#/definitions/IpAddress" + }, + "description": "The list of IP addresses in this interface.", + "x-ms-identifiers": [] + } + }, + "description": "Describes a network interface." + }, + "IpAddress": { + "type": "object", + "readOnly": true, + "properties": { + "address": { + "type": "string", + "description": "Represents the IP Address." + }, + "ipAddressVersion": { + "type": "string", + "description": "Represents the Ip Address Version." + }, + "subnet": { + "type": "object", + "$ref": "#/definitions/Subnet", + "description": "The subnet to which this IP address belongs." + } + }, + "description": "Describes properties of the IP address." + }, + "Subnet": { + "type": "object", + "readOnly": true, + "properties": { + "addressPrefix": { + "type": "string", + "description": "Represents address prefix." + } + }, + "description": "Describes the subnet." + }, + "HybridIdentityMetadataList": { + "description": "List of HybridIdentityMetadata.", + "type": "object", + "properties": { + "nextLink": { + "description": "Url to follow for getting next page of HybridIdentityMetadata.", + "type": "string" + }, + "value": { + "description": "Array of HybridIdentityMetadata", + "type": "array", + "items": { + "$ref": "#/definitions/HybridIdentityMetadata" + } + } + }, + "required": [ + "value" + ] + }, + "HybridIdentityMetadata": { + "description": "Defines the HybridIdentityMetadata.", + "required": [ + "properties" + ], + "type": "object", + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource", + "description": "The resource model definition for an Azure Resource Manager proxy resource. It will have everything other than required location and tags." + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "description": "Resource properties.", + "$ref": "#/definitions/HybridIdentityMetadataProperties" + }, + "systemData": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/systemData", + "description": "The system data." + } + }, + "x-ms-azure-resource": true + }, + "HybridIdentityMetadataProperties": { + "description": "Defines the resource properties.", + "type": "object", + "properties": { + "vmId": { + "description": "The unique identifier for the resource.", + "type": "string" + }, + "publicKey": { + "description": "The Public Key.", + "type": "string" + }, + "identity": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/Identity", + "readOnly": true + } + } + }, + "AgentVersionsList": { + "type": "object", + "readOnly": true, + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/AgentVersion" + }, + "description": "The list of available Agent Versions.", + "x-ms-identifiers": [ + "agentVersion" + ] + }, + "nextLink": { + "type": "string", + "description": "The URI to fetch the next 10 available Agent Versions." + } + }, + "description": "Describes AgentVersions List." + }, + "AgentVersion": { + "type": "object", + "readOnly": true, + "properties": { + "agentVersion": { + "type": "string", + "description": "Represents the agent version." + }, + "downloadLink": { + "type": "string", + "description": "Represents the download link of specific agent version." + }, + "osType": { + "type": "string", + "description": "Defines the os type." + } + }, + "description": "Describes properties of Agent Version." + }, + "MachineAssessPatchesResult": { + "type": "object", + "properties": { + "status": { + "type": "string", + "readOnly": true, + "description": "The overall success or failure status of the operation. It remains \"InProgress\" until the operation completes. At that point it will become \"Unknown\", \"Failed\", \"Succeeded\", or \"CompletedWithWarnings.\"", + "enum": [ + "Unknown", + "InProgress", + "Failed", + "Succeeded", + "CompletedWithWarnings" + ], + "x-ms-enum": { + "name": "PatchOperationStatus", + "modelAsString": true + } + }, + "assessmentActivityId": { + "type": "string", + "readOnly": true, + "description": "The activity ID of the operation that produced this result." + }, + "rebootPending": { + "type": "boolean", + "readOnly": true, + "description": "The overall reboot status of the VM. It will be true when partially installed patches require a reboot to complete installation but the reboot has not yet occurred." + }, + "availablePatchCountByClassification": { + "$ref": "#/definitions/AvailablePatchCountByClassification", + "description": "Summarization of patches available for installation on the machine by classification." + }, + "startDateTime": { + "type": "string", + "readOnly": true, + "format": "date-time", + "description": "The UTC timestamp when the operation began." + }, + "lastModifiedDateTime": { + "type": "string", + "readOnly": true, + "format": "date-time", + "description": "The UTC timestamp when the operation finished." + }, + "startedBy": { + "type": "string", + "readOnly": true, + "enum": [ + "User", + "Platform" + ], + "x-ms-enum": { + "name": "PatchOperationStartedBy", + "modelAsString": true + }, + "description": "Indicates if operation was triggered by user or by platform." + }, + "patchServiceUsed": { + "type": "string", + "readOnly": true, + "enum": [ + "Unknown", + "WU", + "WU_WSUS", + "YUM", + "APT", + "Zypper" + ], + "x-ms-enum": { + "name": "PatchServiceUsed", + "modelAsString": true + }, + "description": "Specifies the patch service used for the operation." + }, + "osType": { + "type": "string", + "readOnly": true, + "enum": [ + "Windows", + "Linux" + ], + "x-ms-enum": { + "name": "OsType", + "modelAsString": true + }, + "description": "The operating system type of the machine." + }, + "errorDetails": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorDetail", + "readOnly": true, + "description": "The errors that were encountered during execution of the operation. The details array contains the list of them." + } + }, + "description": "Describes the properties of an AssessPatches result." + }, + "AvailablePatchCountByClassification": { + "type": "object", + "properties": { + "security": { + "readOnly": true, + "type": "integer", + "format": "int32", + "description": "Number of security patches available for installation." + }, + "critical": { + "readOnly": true, + "type": "integer", + "format": "int32", + "description": "Number of critical patches available for installation." + }, + "definition": { + "readOnly": true, + "type": "integer", + "format": "int32", + "description": "Number of definition patches available for installation." + }, + "updateRollup": { + "readOnly": true, + "type": "integer", + "format": "int32", + "description": "Number of update Rollup patches available for installation." + }, + "featurePack": { + "readOnly": true, + "type": "integer", + "format": "int32", + "description": "Number of feature pack patches available for installation." + }, + "servicePack": { + "readOnly": true, + "type": "integer", + "format": "int32", + "description": "Number of service pack patches available for installation." + }, + "tools": { + "readOnly": true, + "type": "integer", + "format": "int32", + "description": "Number of tools patches available for installation." + }, + "updates": { + "readOnly": true, + "type": "integer", + "format": "int32", + "description": "Number of updates category patches available for installation." + }, + "other": { + "readOnly": true, + "type": "integer", + "format": "int32", + "description": "Number of other patches available for installation." + } + }, + "description": "Summarization of patches available for installation on the machine by classification." + }, + "MachineInstallPatchesParameters": { + "type": "object", + "properties": { + "maximumDuration": { + "type": "string", + "description": "Specifies the maximum amount of time that the operation will run. It must be an ISO 8601-compliant duration string such as PT4H (4 hours)" + }, + "rebootSetting": { + "type": "string", + "description": "Defines when it is acceptable to reboot a VM during a software update operation.", + "enum": [ + "IfRequired", + "Never", + "Always" + ], + "x-ms-enum": { + "name": "VMGuestPatchRebootSetting", + "modelAsString": true + } + }, + "windowsParameters": { + "$ref": "#/definitions/WindowsParameters", + "description": "Input for InstallPatches on a Windows VM, as directly received by the API" + }, + "linuxParameters": { + "$ref": "#/definitions/LinuxParameters", + "description": "Input for InstallPatches on a Linux VM, as directly received by the API" + } + }, + "required": [ + "maximumDuration", + "rebootSetting" + ], + "description": "Input for InstallPatches as directly received by the API" + }, + "WindowsParameters": { + "type": "object", + "properties": { + "classificationsToInclude": { + "type": "array", + "description": "The update classifications to select when installing patches for Windows.", + "items": { + "type": "string", + "enum": [ + "Critical", + "Security", + "UpdateRollUp", + "FeaturePack", + "ServicePack", + "Definition", + "Tools", + "Updates" + ], + "x-ms-enum": { + "name": "VMGuestPatchClassification_Windows", + "modelAsString": true + } + } + }, + "kbNumbersToInclude": { + "type": "array", + "description": "Kbs to include in the patch operation", + "items": { + "type": "string" + } + }, + "kbNumbersToExclude": { + "type": "array", + "description": "Kbs to exclude in the patch operation", + "items": { + "type": "string" + } + }, + "excludeKbsRequiringReboot": { + "type": "boolean", + "description": "Filters out Kbs that don't have an InstallationRebootBehavior of 'NeverReboots' when this is set to true." + }, + "maxPatchPublishDate": { + "type": "string", + "format": "date-time", + "description": "This is used to install patches that were published on or before this given max published date." + }, + "patchNameMasksToInclude": { + "type": "array", + "description": "This is used to include patches that match the given patch name masks. Alphanumeric strings and wildcard expressions consisting of * and ? are only supported as input values in the list. Null, empty and only whitespaces strings as inputs values are not supported.", + "items": { + "type": "string" + } + }, + "patchNameMasksToExclude": { + "type": "array", + "description": "This is used to exclude patches that match the given patch name masks. Alphanumeric strings and wildcard expressions consisting of * and ? are only supported as input values in the list. Null, empty and only whitespaces strings as inputs values are not supported.", + "items": { + "type": "string" + } + } + }, + "description": "Input for InstallPatches on a Windows VM, as directly received by the API" + }, + "LinuxParameters": { + "type": "object", + "properties": { + "classificationsToInclude": { + "type": "array", + "description": "The update classifications to select when installing patches for Linux.", + "items": { + "type": "string", + "enum": [ + "Critical", + "Security", + "Other" + ], + "x-ms-enum": { + "name": "VMGuestPatchClassification_Linux", + "modelAsString": true + } + } + }, + "packageNameMasksToInclude": { + "type": "array", + "description": "packages to include in the patch operation. Format: packageName_packageVersion", + "items": { + "type": "string" + } + }, + "packageNameMasksToExclude": { + "type": "array", + "description": "packages to exclude in the patch operation. Format: packageName_packageVersion", + "items": { + "type": "string" + } + } + }, + "description": "Input for InstallPatches on a Linux VM, as directly received by the API" + }, + "MachineInstallPatchesResult": { + "type": "object", + "properties": { + "status": { + "type": "string", + "readOnly": true, + "description": "The overall success or failure status of the operation. It remains \"InProgress\" until the operation completes. At that point it will become \"Failed\", \"Succeeded\", \"Unknown\" or \"CompletedWithWarnings.\"", + "enum": [ + "Unknown", + "InProgress", + "Failed", + "Succeeded", + "CompletedWithWarnings" + ], + "x-ms-enum": { + "name": "PatchOperationStatus", + "modelAsString": true + } + }, + "installationActivityId": { + "type": "string", + "readOnly": true, + "description": "The activity ID of the operation that produced this result." + }, + "rebootStatus": { + "type": "string", + "readOnly": true, + "description": "The reboot state of the VM following completion of the operation.", + "enum": [ + "Unknown", + "NotNeeded", + "Required", + "Started", + "Failed", + "Completed" + ], + "x-ms-enum": { + "name": "VMGuestPatchRebootStatus", + "modelAsString": true + } + }, + "maintenanceWindowExceeded": { + "type": "boolean", + "readOnly": true, + "description": "Whether the operation ran out of time before it completed all its intended actions." + }, + "excludedPatchCount": { + "type": "integer", + "readOnly": true, + "format": "int32", + "description": "The number of patches that were not installed due to the user blocking their installation." + }, + "notSelectedPatchCount": { + "type": "integer", + "readOnly": true, + "format": "int32", + "description": "The number of patches that were detected as available for install, but did not meet the operation's criteria." + }, + "pendingPatchCount": { + "type": "integer", + "readOnly": true, + "format": "int32", + "description": "The number of patches that were identified as meeting the installation criteria, but were not able to be installed. Typically this happens when maintenanceWindowExceeded == true." + }, + "installedPatchCount": { + "type": "integer", + "readOnly": true, + "format": "int32", + "description": "The number of patches successfully installed." + }, + "failedPatchCount": { + "type": "integer", + "readOnly": true, + "format": "int32", + "description": "The number of patches that could not be installed due to some issue. See errors for details." + }, + "startDateTime": { + "type": "string", + "readOnly": true, + "format": "date-time", + "description": "The UTC timestamp when the operation began." + }, + "lastModifiedDateTime": { + "type": "string", + "readOnly": true, + "format": "date-time", + "description": "The UTC timestamp when the operation finished." + }, + "startedBy": { + "type": "string", + "readOnly": true, + "enum": [ + "User", + "Platform" + ], + "x-ms-enum": { + "name": "PatchOperationStartedBy", + "modelAsString": true + }, + "description": "Indicates if operation was triggered by user or by platform." + }, + "patchServiceUsed": { + "type": "string", + "readOnly": true, + "enum": [ + "Unknown", + "WU", + "WU_WSUS", + "YUM", + "APT", + "Zypper" + ], + "x-ms-enum": { + "name": "PatchServiceUsed", + "modelAsString": true + }, + "description": "Specifies the patch service used for the operation." + }, + "osType": { + "type": "string", + "readOnly": true, + "enum": [ + "Windows", + "Linux" + ], + "x-ms-enum": { + "name": "OsType", + "modelAsString": true + }, + "description": "The operating system type of the machine." + }, + "errorDetails": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorDetail", + "readOnly": true, + "description": "The errors that were encountered during execution of the operation. The details array contains the list of them." + } + }, + "description": "The result summary of an installation operation." + }, + "MachineRunCommand": { + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/MachineRunCommandProperties", + "description": "Describes Run Command Properties" + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ], + "description": "Describes a Run Command" + }, + "MachineRunCommandProperties": { + "type": "object", + "properties": { + "source": { + "$ref": "#/definitions/MachineRunCommandScriptSource", + "description": "The source of the run command script." + }, + "parameters": { + "type": "array", + "items": { + "$ref": "#/definitions/RunCommandInputParameter" + }, + "x-ms-identifiers": [ + "name" + ], + "description": "The parameters used by the script." + }, + "protectedParameters": { + "type": "array", + "items": { + "$ref": "#/definitions/RunCommandInputParameter" + }, + "x-ms-identifiers": [ + "name" + ], + "description": "The parameters used by the script." + }, + "asyncExecution": { + "type": "boolean", + "default": false, + "description": "Optional. If set to true, provisioning will complete as soon as script starts and will not wait for script to complete." + }, + "runAsUser": { + "type": "string", + "description": "Specifies the user account on the machine when executing the run command." + }, + "runAsPassword": { + "type": "string", + "description": "Specifies the user account password on the machine when executing the run command.", + "x-ms-secret": true + }, + "timeoutInSeconds": { + "type": "integer", + "format": "int32", + "description": "The timeout in seconds to execute the run command." + }, + "outputBlobUri": { + "type": "string", + "description": "Specifies the Azure storage blob where script output stream will be uploaded. Use a SAS URI with read, append, create, write access OR use managed identity to provide the VM access to the blob. Refer outputBlobManagedIdentity parameter. " + }, + "errorBlobUri": { + "type": "string", + "description": "Specifies the Azure storage blob where script error stream will be uploaded. Use a SAS URI with read, append, create, write access OR use managed identity to provide the VM access to the blob. Refer errorBlobManagedIdentity parameter." + }, + "outputBlobManagedIdentity": { + "$ref": "#/definitions/RunCommandManagedIdentity", + "description": "User-assigned managed identity that has access to outputBlobUri storage blob. Use an empty object in case of system-assigned identity. Make sure managed identity has been given access to blob's container with 'Storage Blob Data Contributor' role assignment. In case of user-assigned identity, make sure you add it under VM's identity. For more info on managed identity and Run Command, refer https://aka.ms/ManagedIdentity and https://aka.ms/RunCommandManaged " + }, + "errorBlobManagedIdentity": { + "$ref": "#/definitions/RunCommandManagedIdentity", + "description": "User-assigned managed identity that has access to errorBlobUri storage blob. Use an empty object in case of system-assigned identity. Make sure managed identity has been given access to blob's container with 'Storage Blob Data Contributor' role assignment. In case of user-assigned identity, make sure you add it under VM's identity. For more info on managed identity and Run Command, refer https://aka.ms/ManagedIdentity and https://aka.ms/RunCommandManaged " + }, + "provisioningState": { + "readOnly": true, + "type": "string", + "description": "The provisioning state, which only appears in the response." + }, + "instanceView": { + "readOnly": true, + "$ref": "#/definitions/MachineRunCommandInstanceView", + "description": "The machine run command instance view." + } + }, + "description": "Describes the properties of a run command." + }, + "MachineRunCommandScriptSource": { + "type": "object", + "properties": { + "script": { + "type": "string", + "description": "Specifies the script content to be executed on the machine." + }, + "scriptUri": { + "type": "string", + "description": "Specifies the script download location. It can be either SAS URI of an Azure storage blob with read access or public URI." + }, + "commandId": { + "type": "string", + "description": "Specifies the commandId of predefined built-in script." + }, + "scriptUriManagedIdentity": { + "$ref": "#/definitions/RunCommandManagedIdentity", + "description": "User-assigned managed identity that has access to scriptUri in case of Azure storage blob. Use an empty object in case of system-assigned identity. Make sure the Azure storage blob exists, and managed identity has been given access to blob's container with 'Storage Blob Data Reader' role assignment. In case of user-assigned identity, make sure you add it under VM's identity. For more info on managed identity and Run Command, refer https://aka.ms/ManagedIdentity and https://aka.ms/RunCommandManaged." + } + }, + "description": "Describes the script sources for run command. Use only one of script, scriptUri, commandId." + }, + "MachineRunCommandInstanceView": { + "type": "object", + "properties": { + "executionState": { + "type": "string", + "description": "Script execution status.", + "enum": [ + "Unknown", + "Pending", + "Running", + "Failed", + "Succeeded", + "TimedOut", + "Canceled" + ], + "x-ms-enum": { + "name": "ExecutionState", + "modelAsString": true + } + }, + "executionMessage": { + "type": "string", + "description": "Communicate script configuration errors or execution messages." + }, + "exitCode": { + "type": "integer", + "format": "int32", + "description": "Exit code returned from script execution." + }, + "output": { + "type": "string", + "description": "Script output stream." + }, + "error": { + "type": "string", + "description": "Script error stream." + }, + "startTime": { + "type": "string", + "format": "date-time", + "description": "Script start time." + }, + "endTime": { + "type": "string", + "format": "date-time", + "description": "Script end time." + }, + "statuses": { + "type": "array", + "items": { + "$ref": "#/definitions/ExtensionsResourceStatus" + }, + "x-ms-identifiers": [], + "description": "The status information." + } + }, + "description": "The instance view of a machine run command." + }, + "MachineRunCommandsListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/MachineRunCommand" + }, + "description": "The list of run commands" + }, + "nextLink": { + "type": "string", + "description": "The uri to fetch the next page of run commands. Call ListNext() with this to fetch the next page of run commands." + } + }, + "description": "Describes the Run Commands List Result." + }, + "MachineRunCommandUpdate": { + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ResourceUpdate" + } + ], + "description": "Describes a Machine Extension Update." + }, + "RunCommandInputParameter": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The run command parameter name." + }, + "value": { + "type": "string", + "description": "The run command parameter value." + } + }, + "required": [ + "name", + "value" + ], + "description": "Describes the properties of a run command parameter." + }, + "RunCommandManagedIdentity": { + "type": "object", + "properties": { + "clientId": { + "type": "string", + "description": "Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided." + }, + "objectId": { + "type": "string", + "description": "Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided." + } + }, + "description": " Contains clientId or objectId (use only one, not both) of a user-assigned managed identity that has access to storage blob used in Run Command. Use an empty RunCommandManagedIdentity object in case of system-assigned identity. Make sure the Azure storage blob exists in case of scriptUri, and managed identity has been given access to blob's container with 'Storage Blob Data Reader' role assignment with scriptUri blob and 'Storage Blob Data Contributor' for Append blobs(outputBlobUri, errorBlobUri). In case of user assigned identity, make sure you add it under VM's identity. For more info on managed identity and Run Command, refer https://aka.ms/ManagedIdentity and https://aka.ms/RunCommandManaged." + }, + "ExtensionsResourceStatus": { + "properties": { + "code": { + "type": "string", + "description": "The status code." + }, + "level": { + "type": "string", + "description": "The level code.", + "enum": [ + "Info", + "Warning", + "Error" + ], + "x-ms-enum": { + "name": "ExtensionsStatusLevelTypes", + "modelAsString": false + } + }, + "displayStatus": { + "type": "string", + "description": "The short localizable label for the status." + }, + "message": { + "type": "string", + "description": "The detailed status message, including for alerts and error messages." + }, + "time": { + "type": "string", + "format": "date-time", + "description": "The time of the status." + } + }, + "type": "object", + "description": "Instance view status." + }, + "Gateway": { + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/GatewayProperties", + "description": "Hybrid Compute Gateway properties" + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ], + "description": "Describes an Arc Gateway." + }, + "GatewayProperties": { + "type": "object", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The provisioning state, which only appears in the response.", + "readOnly": true + }, + "gatewayId": { + "type": "string", + "description": "A unique, immutable, identifier for the Gateway.", + "readOnly": true + }, + "gatewayType": { + "$ref": "#/definitions/GatewayType", + "description": "The type of the Gateway resource." + }, + "gatewayEndpoint": { + "type": "string", + "description": "The endpoint fqdn for the Gateway.", + "readOnly": true + }, + "allowedFeatures": { + "type": "array", + "description": "Specifies the list of features that are enabled for this Gateway.", + "items": { + "type": "string" + } + } + }, + "description": "Describes the properties of a Gateway Profile." + }, + "GatewayType": { + "type": "string", + "enum": [ + "Public" + ], + "x-ms-enum": { + "name": "GatewayType", + "modelAsString": true + }, + "description": "The type of the Gateway resource." + }, + "GatewayUpdate": { + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/GatewayUpdateProperties", + "description": "Gateway Update properties" + } + }, + "allOf": [ + { + "$ref": "#/definitions/ResourceUpdate" + } + ], + "description": "Describes a License Update." + }, + "GatewayUpdateProperties": { + "type": "object", + "properties": { + "allowedFeatures": { + "type": "array", + "description": "Specifies the list of features that are enabled for this Gateway.", + "items": { + "type": "string" + } + } + }, + "description": "Describes the Update properties of a Gateway Profile." + }, + "GatewaysListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Gateway" + }, + "description": "The list of Gateways." + }, + "nextLink": { + "type": "string", + "description": "The URI to fetch the next page of Gateways. Call ListNext() with this URI to fetch the next page of Gateways." + } + }, + "required": [ + "value" + ], + "description": "The List license operation response." + }, + "Settings": { + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/SettingsProperties" + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ] + }, + "SettingsProperties": { + "type": "object", + "description": "Settings properties", + "properties": { + "tenantId": { + "type": "string", + "readOnly": true, + "description": "Azure resource tenant Id" + }, + "gatewayProperties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/SettingsGatewayProperties" + } + } + }, + "SettingsGatewayProperties": { + "type": "object", + "description": "Settings Gateway properties", + "properties": { + "gatewayResourceId": { + "type": "string", + "description": "Associated Gateway Resource Id", + "format": "arm-id", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.HybridCompute/gateways" + } + ] + } + } + } + }, + "SetupExtensionRequest": { + "type": "object", + "properties": { + "extensions": { + "type": "array", + "items": { + "$ref": "#/definitions/MachineExtensionProperties" + }, + "description": "The list of extensions" + } + } + } + }, + "parameters": { + "machineNameParameter": { + "name": "machineName", + "in": "path", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9-_\\.]+", + "description": "The name of the hybrid machine.", + "x-ms-parameter-location": "method" + }, + "licenseProfileNameParameter": { + "name": "licenseProfileName", + "in": "path", + "description": "The name of the license profile.", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9-_\\.]+", + "enum": [ + "default" + ], + "x-ms-parameter-location": "method", + "x-ms-enum": { + "name": "LicenseProfileName", + "modelAsString": false + } + }, + "licenseNameParameter": { + "name": "licenseName", + "in": "path", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9-_\\.]+", + "description": "The name of the license.", + "x-ms-parameter-location": "method" + }, + "gatewayNameParameter": { + "name": "gatewayName", + "in": "path", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9-_\\.]+", + "description": "The name of the Gateway.", + "x-ms-parameter-location": "method" + }, + "runCommandNameParameter": { + "name": "runCommandName", + "in": "path", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9-_\\.]+", + "description": "The name of the run command.", + "x-ms-parameter-location": "method" + }, + "baseProviderParameter": { + "name": "baseProvider", + "in": "path", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9-_\\.]+", + "description": "The name of the base Resource Provider.", + "x-ms-parameter-location": "method" + }, + "baseResourceTypeParameter": { + "name": "baseResourceType", + "in": "path", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9-_\\.]+", + "description": "The name of the base Resource Type.", + "x-ms-parameter-location": "method" + }, + "baseResourceNameParameter": { + "name": "baseResourceName", + "in": "path", + "required": true, + "type": "string", + "pattern": "[a-zA-Z0-9-_\\.]+", + "description": "The name of the base resource.", + "x-ms-parameter-location": "method" + }, + "settingsResourceNameParameter": { + "name": "settingsResourceName", + "in": "path", + "required": true, + "type": "string", + "pattern": "default", + "description": "The name of the settings resource.", + "x-ms-parameter-location": "method" + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/AgentVersion_GetLatest.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/AgentVersion_GetLatest.json new file mode 100644 index 000000000000..7a9ba9d37a0e --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/AgentVersion_GetLatest.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "osType": "myOsType", + "version": "1.27", + "api-version": "2025-09-16-preview" + }, + "responses": { + "200": { + "body": { + "agentVersion": "1.27", + "downloadLink": "https://download.microsoft.com/download/8/4/5/845d5e04-bb09-4ed2-9ca8-bb51184cddc9/AzureConnectedMachineAgent.msi", + "osType": "myOsType" + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/AgentVersions_Get.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/AgentVersions_Get.json new file mode 100644 index 000000000000..81447d217674 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/AgentVersions_Get.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "osType": "myOsType", + "api-version": "2025-09-16-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "agentVersion": "1.26", + "downloadLink": "https://download.microsoft.com/download/8/4/5/845d5e04-bb09-4ed2-9ca8-bb51184cddc9/AzureConnectedMachineAgent.msi", + "osType": "myOsType" + }, + { + "agentVersion": "1.27", + "downloadLink": "https://download.microsoft.com/download/8/4/5/845d5e04-bb09-4ed2-9ca8-bb51184cddc9/AzureConnectedMachineAgent.msi", + "osType": "myOsType" + } + ] + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/HybridIdentityMetadata_Get.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/HybridIdentityMetadata_Get.json new file mode 100644 index 000000000000..4ef73685db8f --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/HybridIdentityMetadata_Get.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "api-version": "2025-09-16-preview", + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "testrg", + "machineName": "ContosoVm", + "metadataName": "default" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.HybridCompute/machines/ContosoVm/hybridIdentityMetadata/default", + "name": "testItem", + "type": "Microsoft.HybridCompute/machines/hybridIdentityMetadata", + "properties": { + "vmId": "f8b82dff-38ef-4220-99ef-d3a3f86ddc6c", + "publicKey": "8ec7d60c-9700-40b1-8e6e-e5b2f6f477f2", + "identity": { + "principalId": "7b5129bc-8642-4a6a-95f8-63400ca6ec4d", + "tenantId": "ec46ca82-5d4a-4e3e-b4b7-e27f9318645d", + "type": "SystemAssigned" + } + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/HybridIdentityMetadata_ListByVirtualMachines.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/HybridIdentityMetadata_ListByVirtualMachines.json new file mode 100644 index 000000000000..bc6c3f86cece --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/HybridIdentityMetadata_ListByVirtualMachines.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "api-version": "2025-09-16-preview", + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "testrg", + "machineName": "ContosoVm" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.HybridCompute/machines/ContosoVm/hybridIdentityMetadata/default", + "name": "testItem", + "type": "Microsoft.HybridCompute/machines/hybridIdentityMetadata", + "properties": { + "vmId": "f8b82dff-38ef-4220-99ef-d3a3f86ddc6c", + "publicKey": "8ec7d60c-9700-40b1-8e6e-e5b2f6f477f2", + "identity": { + "principalId": "7b5129bc-8642-4a6a-95f8-63400ca6ec4d", + "tenantId": "ec46ca82-5d4a-4e3e-b4b7-e27f9318645d", + "type": "SystemAssigned" + } + } + } + ] + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/NetworkProfile_Get.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/NetworkProfile_Get.json new file mode 100644 index 000000000000..b1919e36917c --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/NetworkProfile_Get.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "myResourceGroup", + "machineName": "myMachine", + "api-version": "2025-09-16-preview" + }, + "responses": { + "200": { + "body": { + "networkInterfaces": [ + { + "name": "Wi-Fi", + "macAddress": "3c:49:6e:13:0e:73", + "id": "8", + "ipAddresses": [ + { + "address": "192.168.12.345", + "ipAddressVersion": "IPv4", + "subnet": { + "addressPrefix": "192.168.12.0/24" + } + } + ] + }, + { + "name": "Ethernet", + "macAddress": "10:15:5c:52:f9:b8", + "id": "23", + "ipAddresses": [ + { + "address": "1001:0:34aa:5000:1234:aaaa:bbbb:cccc", + "ipAddressVersion": "IPv6", + "subnet": { + "addressPrefix": "1001:0:34aa:5000::/64" + } + } + ] + } + ] + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/Operations_List.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/Operations_List.json new file mode 100644 index 000000000000..1d12271497db --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/Operations_List.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "api-version": "2025-09-16-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "origin": "user,system", + "name": "Microsoft.HybridCompute/operations/read", + "display": { + "operation": "Read all Operations", + "resource": "Microsoft.HybridCompute Resource Provider", + "description": "Read all Operations for Azure Arc for Servers", + "provider": "Microsoft HybridCompute" + }, + "isDataAction": true + }, + { + "origin": "user,system", + "name": "Microsoft.HybridCompute/register/action", + "display": { + "operation": "Register Subscription for Azure Arc for Servers", + "resource": "Microsoft.HybridCompute Resource Provider", + "description": "Registers the subscription for the Microsoft.HybridCompute Resource Provider", + "provider": "Microsoft HybridCompute" + }, + "isDataAction": true + } + ] + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/extension/ExtensionMetadataV2_Get.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/extension/ExtensionMetadataV2_Get.json new file mode 100644 index 000000000000..97382ad45deb --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/extension/ExtensionMetadataV2_Get.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "location": "EastUS", + "publisher": "microsoft.azure.monitor", + "extensionType": "azuremonitorlinuxagent", + "version": "1.33.0", + "api-version": "2025-09-16-preview" + }, + "responses": { + "200": { + "body": { + "id": "/providers/Microsoft.HybridCompute/locations/eastus/publishers/microsoft.azure.monitor/extensionTypes/azuremonitorlinuxagent/versions/1.33.0", + "properties": { + "version": "1.33.0", + "extensionType": "azuremonitorlinuxagent", + "publisher": "microsoft.azure.monitor", + "extensionSignatureUri": "https://eastus.his.arc.azure.com/extensions/extensionsignatures/azuremonitorlinuxagent__1.33.0.zip", + "extensionUris": [ + "https://aaaaaaaaaaaaaaaaaaaa.blob.core.windows.net/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa_1.33.0.zip", + "https://bbbbbbbbbbbbbbbbbbbb.blob.core.windows.net/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb_1.33.0.zip", + "https://cccccccccccccccccccc.blob.core.windows.net/cccccccccccccccccccccccccccccccccccc/cccccccccccccccccccccccccccccccccccc_1.33.0.zip" + ], + "operatingSystem": "Linux", + "architecture": [ + "x64" + ] + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/extension/ExtensionMetadataV2_List.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/extension/ExtensionMetadataV2_List.json new file mode 100644 index 000000000000..922c55eeef35 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/extension/ExtensionMetadataV2_List.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "location": "EastUS", + "publisher": "microsoft.azure.monitor", + "extensionType": "azuremonitorlinuxagent", + "api-version": "2025-09-16-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "version": "1.33.0", + "extensionType": "azuremonitorlinuxagent", + "publisher": "microsoft.azure.monitor", + "extensionSignatureUri": "https://eastus.his.arc.azure.com/extensions/extensionsignatures/azuremonitorlinuxagent__1.33.0.zip", + "extensionUris": [ + "https://aaaaaaaaaaaaaaaaaaaa.blob.core.windows.net/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa_1.33.0.zip", + "https://bbbbbbbbbbbbbbbbbbbb.blob.core.windows.net/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb_1.33.0.zip", + "https://cccccccccccccccccccc.blob.core.windows.net/cccccccccccccccccccccccccccccccccccc/cccccccccccccccccccccccccccccccccccc_1.33.0.zip" + ], + "operatingSystem": "Linux", + "architecture": [ + "x64" + ] + }, + "id": "/providers/Microsoft.HybridCompute/locations/eastus/publishers/microsoft.azure.monitor/extensionTypes/azuremonitorlinuxagent/versions/1.33.0" + }, + { + "properties": { + "version": "1.32.6", + "extensionType": "azuremonitorlinuxagent", + "publisher": "microsoft.azure.monitor", + "extensionSignatureUri": "https://eastus.his.arc.azure.com/extensions/extensionsignatures/azuremonitorlinuxagent__1.32.6.zip", + "extensionUris": [ + "https://aaaaaaaaaaaaaaaaaaaa.blob.core.windows.net/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa_1.32.6.zip", + "https://bbbbbbbbbbbbbbbbbbbb.blob.core.windows.net/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb_1.32.6.zip", + "https://cccccccccccccccccccc.blob.core.windows.net/cccccccccccccccccccccccccccccccccccc/cccccccccccccccccccccccccccccccccccc_1.32.6.zip" + ], + "operatingSystem": "Linux", + "architecture": [ + "x64" + ] + }, + "id": "/providers/Microsoft.HybridCompute/locations/eastus/publishers/microsoft.azure.monitor/extensionTypes/azuremonitorlinuxagent/versions/1.32.6" + } + ] + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/extension/ExtensionMetadata_Get.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/extension/ExtensionMetadata_Get.json new file mode 100644 index 000000000000..03b524ab0588 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/extension/ExtensionMetadata_Get.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "subscriptionId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", + "location": "EastUS", + "publisher": "microsoft.azure.monitor", + "extensionType": "azuremonitorlinuxagent", + "version": "1.9.1", + "api-version": "2025-09-16-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/Providers/Microsoft.HybridCompute/locations/eastus/publishers/microsoft.azure.monitor/extensionTypes/azuremonitorlinuxagent/versions/1.9.1", + "properties": { + "version": "1.9.1", + "extensionType": "azuremonitorlinuxagent", + "publisher": "microsoft.azure.monitor" + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/extension/ExtensionMetadata_List.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/extension/ExtensionMetadata_List.json new file mode 100644 index 000000000000..17aaab536e2b --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/extension/ExtensionMetadata_List.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "subscriptionId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", + "location": "EastUS", + "publisher": "microsoft.azure.monitor", + "extensionType": "azuremonitorlinuxagent", + "api-version": "2025-09-16-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "version": "1.9.1", + "extensionType": "azuremonitorlinuxagent", + "publisher": "microsoft.azure.monitor" + }, + "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/Providers/Microsoft.HybridCompute/locations/eastus/publishers/microsoft.azure.monitor/extensionTypes/azuremonitorlinuxagent/versions/1.9.1" + }, + { + "properties": { + "version": "1.9.2", + "extensionType": "azuremonitorlinuxagent", + "publisher": "microsoft.azure.monitor" + }, + "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/Providers/Microsoft.HybridCompute/locations/eastus/publishers/microsoft.azure.monitor/extensionTypes/azuremonitorlinuxagent/versions/1.9.2" + } + ] + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/extension/ExtensionPublisher_List.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/extension/ExtensionPublisher_List.json new file mode 100644 index 000000000000..dc4f2a87940e --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/extension/ExtensionPublisher_List.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "location": "EastUS", + "api-version": "2025-09-16-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/providers/Microsoft.HybridCompute/locations/eastus/publishers", + "name": "Microsoft.Compute" + }, + { + "id": "/providers/Microsoft.HybridCompute/locations/eastus/publishers", + "name": "Microsoft.Azure.Monitoring.DependencyAgent" + }, + { + "id": "/providers/Microsoft.HybridCompute/locations/eastus/publishers", + "name": "Microsoft.AzureData" + } + ] + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/extension/ExtensionType_List.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/extension/ExtensionType_List.json new file mode 100644 index 000000000000..c72aef058dec --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/extension/ExtensionType_List.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "location": "EastUS", + "publisher": "microsoft.azure.monitor", + "api-version": "2025-09-16-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/providers/Microsoft.HybridCompute/locations/eastus/publishers/microsoft.azure.monitor/extensionTypes", + "name": "AzureMonitorLinuxAgent" + }, + { + "id": "/providers/Microsoft.HybridCompute/locations/eastus/publishers/microsoft.azure.monitor/extensionTypes", + "name": "AzureMonitorWindowsAgent" + } + ] + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/extension/Extension_Add.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/extension/Extension_Add.json new file mode 100644 index 000000000000..b69ccfe55288 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/extension/Extension_Add.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "machineName": "myMachine", + "api-version": "2025-09-16-preview", + "extensions": { + "extensions": [ + { + "publisher": "Microsoft.Azure.Monitoring", + "type": "AzureMonitorAgentLinux" + }, + { + "publisher": "", + "type": "" + } + ] + } + }, + "responses": { + "200": { + "body": {} + }, + "202": { + "headers": { + "Location": "{callbackUrl}", + "Retry-After": 200, + "Azure-AsyncOperation": "{callbackUri}" + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/extension/Extension_CreateOrUpdate.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/extension/Extension_CreateOrUpdate.json new file mode 100644 index 000000000000..2bb0e1d07b0f --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/extension/Extension_CreateOrUpdate.json @@ -0,0 +1,53 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "machineName": "myMachine", + "extensionName": "CustomScriptExtension", + "api-version": "2025-09-16-preview", + "extensionParameters": { + "location": "eastus2euap", + "properties": { + "publisher": "Microsoft.Compute", + "typeHandlerVersion": "1.10", + "type": "CustomScriptExtension", + "settings": { + "commandToExecute": "powershell.exe -c \"Get-Process | Where-Object { $_.CPU -gt 10000 }\"" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/Machines/myMachine/Extensions/CustomScriptExtension", + "name": "CustomScriptExtension", + "type": "Microsoft.HybridCompute/machines/extensions", + "location": "eastus2euap", + "properties": { + "publisher": "Microsoft.Compute", + "type": "string", + "typeHandlerVersion": "1.10.3", + "autoUpgradeMinorVersion": false, + "settings": { + "commandToExecute": "powershell.exe -c \"Get-Process | Where-Object { $_.CPU -gt 10000 }\"" + }, + "protectedSettings": {}, + "provisioningState": "Succeeded", + "instanceView": { + "name": "CustomScriptExtension", + "type": "CustomScriptExtension", + "typeHandlerVersion": "1.10.3", + "status": { + "code": "success", + "level": "Information", + "message": "Finished executing command, StdOut: , StdErr:", + "time": "2020-08-08T20:42:10.999Z" + } + } + } + } + }, + "202": {} + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/extension/Extension_Delete.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/extension/Extension_Delete.json new file mode 100644 index 000000000000..b3602772a3bc --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/extension/Extension_Delete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "machineName": "myMachine", + "extensionName": "MMA", + "api-version": "2025-09-16-preview" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "{callbackUrl}", + "Retry-After": 200, + "Azure-AsyncOperation": "{callbackUri}" + } + }, + "204": {} + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/extension/Extension_Get.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/extension/Extension_Get.json new file mode 100644 index 000000000000..34ce8f9e8ce2 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/extension/Extension_Get.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "machineName": "myMachine", + "extensionName": "CustomScriptExtension", + "api-version": "2025-09-16-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/Machines/myMachine/Extensions/CustomScriptExtension", + "name": "CustomScriptExtension", + "type": "Microsoft.HybridCompute/machines/extensions", + "location": "eastus2euap", + "properties": { + "publisher": "Microsoft.Compute", + "type": "string", + "typeHandlerVersion": "1.10.3", + "autoUpgradeMinorVersion": false, + "settings": { + "commandToExecute": "powershell.exe -c \"Get-Process | Where-Object { $_.CPU -gt 10000 }\"" + }, + "protectedSettings": {}, + "provisioningState": "Succeeded", + "instanceView": { + "name": "CustomScriptExtension", + "type": "CustomScriptExtension", + "typeHandlerVersion": "1.10.3", + "status": { + "code": "success", + "level": "Information", + "displayStatus": "Provisioning succeeded", + "message": "Finished executing command, StdOut: , StdErr:", + "time": "2019-08-08T20:42:10.999Z" + } + } + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/extension/Extension_List.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/extension/Extension_List.json new file mode 100644 index 000000000000..868d24e41ba6 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/extension/Extension_List.json @@ -0,0 +1,64 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "machineName": "myMachine", + "api-version": "2025-09-16-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/Machines/myMachine/Extensions/CustomScriptExtension", + "name": "CustomScriptExtension", + "location": "eastus2euap", + "type": "Microsoft.HybridCompute/machines/extensions", + "properties": { + "publisher": "Microsoft.Compute", + "type": "CustomScriptExtension", + "typeHandlerVersion": "1.10.3", + "autoUpgradeMinorVersion": false, + "settings": { + "commandToExecute": "powershell.exe -c \"Get-Process | Where-Object { $_.CPU -gt 10000 }\"" + }, + "provisioningState": "Succeeded", + "instanceView": { + "name": "CustomScriptExtension", + "type": "CustomScriptExtension", + "typeHandlerVersion": "1.10.3", + "status": { + "code": "success", + "level": "Information", + "displayStatus": "Provisioning succeeded", + "message": "formattedMessage: Finished executing command, StdOut: , StdErr: ", + "time": "2020-08-13T17:18:57.405Z" + } + } + } + }, + { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/Machines/myMachine/Extensions/winosupdateextension", + "name": "winosupdateextension", + "location": "eastus2euap", + "type": "Microsoft.HybridCompute/machines/extensions", + "properties": { + "publisher": "microsoft.softwareupdatemanagement.test", + "type": "windowsosupdateextension", + "typeHandlerVersion": "1.0.0.0", + "autoUpgradeMinorVersion": false, + "settings": {}, + "provisioningState": "Creating", + "instanceView": { + "name": "winosupdateextension", + "type": "windowsosupdateextension", + "typeHandlerVersion": "1.0.0.0", + "status": {} + } + } + } + ] + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/extension/Extension_Update.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/extension/Extension_Update.json new file mode 100644 index 000000000000..34f6b474f518 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/extension/Extension_Update.json @@ -0,0 +1,60 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "machineName": "myMachine", + "extensionName": "CustomScriptExtension", + "api-version": "2025-09-16-preview", + "extensionParameters": { + "properties": { + "publisher": "Microsoft.Compute", + "typeHandlerVersion": "1.10", + "enableAutomaticUpgrade": true, + "type": "CustomScriptExtension", + "settings": { + "commandToExecute": "powershell.exe -c \"Get-Process | Where-Object { $_.CPU -lt 100 }\"" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/Machines/myMachine/Extensions/CustomScriptExtension", + "name": "CustomScriptExtension", + "type": "Microsoft.HybridCompute/machines/extensions", + "location": "eastus2euap", + "properties": { + "publisher": "Microsoft.Compute", + "type": "string", + "typeHandlerVersion": "1.10.3", + "enableAutomaticUpgrade": true, + "autoUpgradeMinorVersion": false, + "settings": { + "commandToExecute": "powershell.exe -c \"Get-Process | Where-Object { $_.CPU -gt 10000 }\"" + }, + "protectedSettings": {}, + "provisioningState": "Succeeded", + "instanceView": { + "name": "CustomScriptExtension", + "type": "CustomScriptExtension", + "typeHandlerVersion": "1.10.3", + "status": { + "code": "success", + "level": "Information", + "message": "Finished executing command, StdOut: , StdErr:", + "time": "2020-01-08T20:42:10.999Z" + } + } + } + } + }, + "202": { + "headers": { + "Location": "{callbackUrl}", + "Retry-After": 200, + "Azure-AsyncOperation": "{callbackUri}" + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/extension/Extensions_Upgrade.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/extension/Extensions_Upgrade.json new file mode 100644 index 000000000000..f06da09c96c1 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/extension/Extensions_Upgrade.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "machineName": "myMachine", + "api-version": "2025-09-16-preview", + "extensionUpgradeParameters": { + "extensionTargets": { + "Microsoft.Compute.CustomScriptExtension": { + "targetVersion": "1.10" + }, + "Microsoft.Azure.Monitoring": { + "targetVersion": "2.0" + } + } + } + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "{callbackUrl}", + "Retry-After": 200, + "Azure-AsyncOperation": "{callbackUri}" + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/gateway/Gateway_CreateOrUpdate.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/gateway/Gateway_CreateOrUpdate.json new file mode 100644 index 000000000000..91135a7150f8 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/gateway/Gateway_CreateOrUpdate.json @@ -0,0 +1,60 @@ +{ + "parameters": { + "subscriptionId": "ffd506c8-3415-42d3-9612-fdb423fb17df", + "resourceGroupName": "myResourceGroup", + "gatewayName": "{gatewayName}", + "api-version": "2025-09-16-preview", + "parameters": { + "location": "eastus2euap", + "properties": { + "gatewayType": "Public", + "allowedFeatures": [ + "*" + ] + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/ffd506c8-3415-42d3-9612-fdb423fb17df/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/gateways/{gatewayName}", + "name": "{gatewayName}", + "type": "Microsoft.HybridCompute/gateways", + "location": "eastus2euap", + "tags": null, + "properties": { + "provisioningState": "Succeeded", + "gatewayId": "", + "gatewayType": "Public", + "gatewayEndpoint": "https://uniqueValue.contoso.com", + "allowedFeatures": [ + "*" + ] + } + } + }, + "201": { + "headers": { + "Location": "{callbackUrl}", + "Retry-After": 200, + "Azure-AsyncOperation": "{callbackUri}" + }, + "body": { + "id": "/subscriptions/ffd506c8-3415-42d3-9612-fdb423fb17df/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/gateways/{gatewayName}", + "name": "{gatewayName}", + "type": "Microsoft.HybridCompute/gateways", + "location": "eastus2euap", + "tags": null, + "properties": { + "provisioningState": "Creating", + "gatewayId": "", + "gatewayType": "Public", + "gatewayEndpoint": "https://uniqueValue.contoso.com", + "allowedFeatures": [ + "*" + ] + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/gateway/Gateway_Delete.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/gateway/Gateway_Delete.json new file mode 100644 index 000000000000..7c5973523337 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/gateway/Gateway_Delete.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "subscriptionId": "ffd506c8-3415-42d3-9612-fdb423fb17df", + "resourceGroupName": "myResourceGroup", + "gatewayName": "{gatewayName}", + "api-version": "2025-09-16-preview" + }, + "responses": { + "202": { + "headers": { + "Location": "{callbackUrl}", + "Retry-After": 200, + "Azure-AsyncOperation": "{callbackUri}" + } + }, + "204": {} + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/gateway/Gateway_Get.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/gateway/Gateway_Get.json new file mode 100644 index 000000000000..e13cb5cf94d3 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/gateway/Gateway_Get.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "subscriptionId": "ffd506c8-3415-42d3-9612-fdb423fb17df", + "resourceGroupName": "myResourceGroup", + "gatewayName": "{gatewayName}", + "api-version": "2025-09-16-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/ffd506c8-3415-42d3-9612-fdb423fb17df/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/gateways/{gatewayName}", + "name": "{gatewayName}", + "type": "Microsoft.HybridCompute/gateways", + "location": "eastus2euap", + "tags": null, + "properties": { + "provisioningState": "Succeeded", + "gatewayId": "", + "gatewayType": "Public", + "gatewayEndpoint": "https://uniqueValue.contoso.com", + "allowedFeatures": [ + "*" + ] + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/gateway/Gateway_ListByResourceGroup.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/gateway/Gateway_ListByResourceGroup.json new file mode 100644 index 000000000000..17c812f94825 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/gateway/Gateway_ListByResourceGroup.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "subscriptionId": "ffd506c8-3415-42d3-9612-fdb423fb17df", + "resourceGroupName": "myResourceGroup", + "gatewayName": "{gatewayName}", + "api-version": "2025-09-16-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/ffd506c8-3415-42d3-9612-fdb423fb17df/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/gateways/{gatewayName}", + "name": "{gatewayName}", + "type": "Microsoft.HybridCompute/gateways", + "location": "eastus2euap", + "tags": null, + "properties": { + "provisioningState": "Succeeded", + "gatewayId": "", + "gatewayType": "Public", + "gatewayEndpoint": "https://uniqueValue.contoso.com", + "allowedFeatures": [ + "*" + ] + } + } + ] + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/gateway/Gateway_ListBySubscription.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/gateway/Gateway_ListBySubscription.json new file mode 100644 index 000000000000..7499740d598b --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/gateway/Gateway_ListBySubscription.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "subscriptionId": "ffd506c8-3415-42d3-9612-fdb423fb17df", + "gatewayName": "{gatewayName}", + "api-version": "2025-09-16-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/ffd506c8-3415-42d3-9612-fdb423fb17df/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/gateways/{gatewayName}", + "name": "{gatewayName}", + "type": "Microsoft.HybridCompute/gateways", + "location": "eastus2euap", + "tags": null, + "properties": { + "provisioningState": "Succeeded", + "gatewayId": "", + "gatewayType": "Public", + "gatewayEndpoint": "https://uniqueValue.contoso.com", + "allowedFeatures": [ + "*" + ] + } + } + ] + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/gateway/Gateway_Update.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/gateway/Gateway_Update.json new file mode 100644 index 000000000000..18bd8cbf62c7 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/gateway/Gateway_Update.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "subscriptionId": "ffd506c8-3415-42d3-9612-fdb423fb17df", + "resourceGroupName": "myResourceGroup", + "gatewayName": "{gatewayName}", + "api-version": "2025-09-16-preview", + "parameters": { + "properties": { + "allowedFeatures": [ + "*" + ] + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/ffd506c8-3415-42d3-9612-fdb423fb17df/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/gateways/{gatewayName}", + "name": "{gatewayName}", + "type": "Microsoft.HybridCompute/gateways", + "location": "eastus2euap", + "properties": { + "provisioningState": "Succeeded", + "gatewayId": "", + "gatewayType": "Public", + "gatewayEndpoint": "https://uniqueValue.contoso.com", + "allowedFeatures": [ + "*" + ] + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/license/License_CreateOrUpdate.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/license/License_CreateOrUpdate.json new file mode 100644 index 000000000000..37de3e48c8e0 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/license/License_CreateOrUpdate.json @@ -0,0 +1,45 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "licenseName": "{licenseName}", + "api-version": "2025-09-16-preview", + "parameters": { + "location": "eastus2euap", + "properties": { + "licenseType": "ESU", + "licenseDetails": { + "state": "Activated", + "target": "Windows Server 2012", + "edition": "Datacenter", + "type": "pCore", + "processors": 6 + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/Licenses/{licenseName}", + "name": "{licenseName}", + "type": "Microsoft.HybridCompute/licenses", + "location": "eastus2euap", + "tags": null, + "properties": { + "tenantId": "{tenandId}", + "licenseType": "ESU", + "licenseDetails": { + "state": "Activated", + "target": "Windows Server 2012", + "edition": "Datacenter", + "type": "pCore", + "processors": 6, + "assignedLicenses": 2, + "immutableId": "" + } + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/license/License_Delete.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/license/License_Delete.json new file mode 100644 index 000000000000..f45cc6a9edd3 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/license/License_Delete.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "licenseName": "{licenseName}", + "api-version": "2025-09-16-preview" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/license/License_Get.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/license/License_Get.json new file mode 100644 index 000000000000..a06ddac54626 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/license/License_Get.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "licenseName": "{licenseName}", + "api-version": "2025-09-16-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/Licenses/{licenseName}", + "name": "{licenseName}", + "type": "Microsoft.HybridCompute/licenses", + "location": "eastus2euap", + "tags": null, + "properties": { + "tenantId": "{tenandId}", + "licenseType": "ESU", + "licenseDetails": { + "state": "Activated", + "target": "Windows Server 2012", + "edition": "Datacenter", + "type": "pCore", + "processors": 6, + "assignedLicenses": 8, + "immutableId": "" + } + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/license/License_ListByResourceGroup.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/license/License_ListByResourceGroup.json new file mode 100644 index 000000000000..495cc144f99e --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/license/License_ListByResourceGroup.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "licenseName": "{licenseName}", + "api-version": "2025-09-16-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/Licenses/{licenseName}", + "name": "{licenseName}", + "type": "Microsoft.HybridCompute/licenses", + "location": "eastus2euap", + "tags": null, + "properties": { + "tenantId": "{tenandId}", + "licenseType": "ESU", + "licenseDetails": { + "state": "Activated", + "target": "Windows Server 2012", + "edition": "Datacenter", + "type": "pCore", + "processors": 6, + "assignedLicenses": 8, + "immutableId": "" + } + } + } + ] + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/license/License_ListBySubscription.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/license/License_ListBySubscription.json new file mode 100644 index 000000000000..1b9884262cfc --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/license/License_ListBySubscription.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "licenseName": "{licenseName}", + "api-version": "2025-09-16-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/Licenses/{licenseName}", + "name": "{licenseName}", + "type": "Microsoft.HybridCompute/licenses", + "location": "eastus2euap", + "tags": null, + "properties": { + "tenantId": "{tenandId}", + "licenseType": "ESU", + "licenseDetails": { + "state": "Activated", + "target": "Windows Server 2012", + "edition": "Datacenter", + "type": "pCore", + "processors": 6, + "assignedLicenses": 8, + "immutableId": "" + } + } + } + ] + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/license/License_Update.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/license/License_Update.json new file mode 100644 index 000000000000..5b5615ea028a --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/license/License_Update.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "licenseName": "{licenseName}", + "api-version": "2025-09-16-preview", + "parameters": { + "properties": { + "licenseType": "ESU", + "licenseDetails": { + "state": "Activated", + "target": "Windows Server 2012", + "edition": "Datacenter", + "type": "pCore", + "processors": 6 + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/licenses/{licenseName}", + "name": "{licenseName}", + "type": "Microsoft.HybridCompute/licenses", + "location": "eastus2euap", + "properties": { + "tenantId": "{tenandId}", + "licenseType": "ESU", + "licenseDetails": { + "state": "Activated", + "target": "Windows Server 2012", + "edition": "Datacenter", + "type": "pCore", + "processors": 6, + "assignedLicenses": 8, + "immutableId": "" + } + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/license/License_ValidateLicense.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/license/License_ValidateLicense.json new file mode 100644 index 000000000000..944d689ebf4b --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/license/License_ValidateLicense.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "licenseName": "{licenseName}", + "api-version": "2025-09-16-preview", + "parameters": { + "location": "eastus2euap", + "properties": { + "licenseType": "ESU", + "licenseDetails": { + "state": "Activated", + "target": "Windows Server 2012", + "edition": "Datacenter", + "type": "pCore", + "processors": 6 + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/Licenses/{licenseName}", + "name": "{licenseName}", + "type": "Microsoft.HybridCompute/licenses", + "location": "eastus2euap", + "tags": null, + "properties": { + "tenantId": "{tenandId}", + "licenseType": "ESU", + "licenseDetails": { + "state": "Activated", + "target": "Windows Server 2012", + "edition": "Datacenter", + "type": "pCore", + "processors": 6, + "assignedLicenses": 2, + "immutableId": "" + } + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/licenseProfile/LicenseProfile_CreateOrUpdate.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/licenseProfile/LicenseProfile_CreateOrUpdate.json new file mode 100644 index 000000000000..305070fe2297 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/licenseProfile/LicenseProfile_CreateOrUpdate.json @@ -0,0 +1,133 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "machineName": "myMachine", + "licenseProfileName": "default", + "api-version": "2025-09-16-preview", + "parameters": { + "location": "eastus2euap", + "properties": { + "softwareAssurance": { + "softwareAssuranceCustomer": true + }, + "esuProfile": { + "assignedLicense": "{LicenseResourceId}" + }, + "productProfile": { + "subscriptionStatus": "Enabled", + "productType": "WindowsServer", + "productFeatures": [ + { + "name": "Hotpatch", + "subscriptionStatus": "Enabled" + } + ] + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/Machines/myMachine/licenseProfiles/default", + "name": "default", + "type": "Microsoft.HybridCompute/machines/licenseProfiles", + "location": "eastus2euap", + "tags": null, + "properties": { + "softwareAssurance": { + "softwareAssuranceCustomer": true + }, + "esuProfile": { + "assignedLicense": "{LicenseResourceId}", + "assignedLicenseImmutableId": "{Guid}", + "esuEligibility": "Eligible", + "serverType": "Standard", + "esuKeyState": "Inactive", + "esuKeys": [ + { + "sku": "skuNumber1", + "licenseStatus": 1 + }, + { + "sku": "skuNumber2", + "licenseStatus": 1 + } + ] + }, + "productProfile": { + "subscriptionStatus": "Enabling", + "productType": "WindowsServer", + "enrollmentDate": "2023-10-05T20:36:49.745Z", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z", + "billingEndDate": "2023-11-05T20:36:49.745Z", + "productFeatures": [ + { + "name": "Hotpatch", + "subscriptionStatus": "Enabling", + "enrollmentDate": "2023-10-05T20:36:49.745Z", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z", + "billingEndDate": "2023-11-05T20:36:49.745Z" + } + ] + } + } + } + }, + "201": { + "headers": { + "Location": "{callbackUrl}", + "Retry-After": 200, + "Azure-AsyncOperation": "{callbackUri}" + }, + "body": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/Machines/myMachine/licenseProfiles/default", + "name": "default", + "type": "Microsoft.HybridCompute/machines/licenseProfiles", + "location": "eastus2euap", + "properties": { + "softwareAssurance": { + "softwareAssuranceCustomer": true + }, + "esuProfile": { + "assignedLicense": "{LicenseResourceId}", + "esuEligibility": "Eligible", + "serverType": "Standard", + "esuKeyState": "Inactive", + "esuKeys": [ + { + "sku": "skuNumber1", + "licenseStatus": 1 + }, + { + "sku": "skuNumber2", + "licenseStatus": 1 + } + ] + }, + "productProfile": { + "subscriptionStatus": "Enabling", + "productType": "WindowsServer", + "enrollmentDate": "2023-10-05T20:36:49.745Z", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z", + "billingEndDate": "2023-11-05T20:36:49.745Z", + "productFeatures": [ + { + "name": "Hotpatch", + "subscriptionStatus": "Enabling", + "enrollmentDate": "2023-10-05T20:36:49.745Z", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z", + "billingEndDate": "2023-11-05T20:36:49.745Z" + } + ] + } + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/licenseProfile/LicenseProfile_Delete.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/licenseProfile/LicenseProfile_Delete.json new file mode 100644 index 000000000000..4f3b9259be35 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/licenseProfile/LicenseProfile_Delete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "machineName": "myMachine", + "licenseProfileName": "default", + "api-version": "2025-09-16-preview" + }, + "responses": { + "202": { + "headers": { + "Location": "{callbackUrl}", + "Retry-After": 200, + "Azure-AsyncOperation": "{callbackUri}" + } + }, + "204": {} + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/licenseProfile/LicenseProfile_Get.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/licenseProfile/LicenseProfile_Get.json new file mode 100644 index 000000000000..47e3cbac0666 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/licenseProfile/LicenseProfile_Get.json @@ -0,0 +1,59 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "machineName": "myMachine", + "licenseProfileName": "default", + "api-version": "2025-09-16-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/Machines/myMachine/licenseProfiles/default", + "name": "default", + "type": "Microsoft.HybridCompute/machines/licenseProfiles", + "location": "eastus2euap", + "tags": null, + "properties": { + "softwareAssurance": { + "softwareAssuranceCustomer": true + }, + "esuProfile": { + "assignedLicense": "{LicenseResourceId}", + "esuEligibility": "Eligible", + "serverType": "Standard", + "esuKeyState": "Inactive", + "esuKeys": [ + { + "sku": "skuNumber1", + "licenseStatus": 1 + }, + { + "sku": "skuNumber2", + "licenseStatus": 1 + } + ] + }, + "productProfile": { + "subscriptionStatus": "Enabled", + "productType": "WindowsServer", + "enrollmentDate": "2023-10-05T20:36:49.745Z", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z", + "billingEndDate": "2023-11-05T20:36:49.745Z", + "productFeatures": [ + { + "name": "Hotpatch", + "subscriptionStatus": "Enabled", + "enrollmentDate": "2023-10-05T20:36:49.745Z", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z", + "billingEndDate": "2023-11-05T20:36:49.745Z" + } + ] + } + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/licenseProfile/LicenseProfile_List.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/licenseProfile/LicenseProfile_List.json new file mode 100644 index 000000000000..153a9c96da90 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/licenseProfile/LicenseProfile_List.json @@ -0,0 +1,63 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "machineName": "myMachine", + "licenseProfileName": "default", + "api-version": "2025-09-16-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/Machines/myMachine/licenseProfiles/default", + "name": "default", + "type": "Microsoft.HybridCompute/machines/licenseProfiles", + "location": "eastus2euap", + "tags": null, + "properties": { + "softwareAssurance": { + "softwareAssuranceCustomer": true + }, + "esuProfile": { + "assignedLicense": "{LicenseResourceId}", + "esuEligibility": "Eligible", + "serverType": "Standard", + "esuKeyState": "Inactive", + "esuKeys": [ + { + "sku": "skuNumber1", + "licenseStatus": 1 + }, + { + "sku": "skuNumber2", + "licenseStatus": 1 + } + ] + }, + "productProfile": { + "subscriptionStatus": "Enabled", + "productType": "WindowsServer", + "enrollmentDate": "2023-10-05T20:36:49.745Z", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z", + "billingEndDate": "2023-11-05T20:36:49.745Z", + "productFeatures": [ + { + "name": "Hotpatch", + "subscriptionStatus": "Enabled", + "enrollmentDate": "2023-10-05T20:36:49.745Z", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z", + "billingEndDate": "2023-11-05T20:36:49.745Z" + } + ] + } + } + } + ] + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/licenseProfile/LicenseProfile_Update.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/licenseProfile/LicenseProfile_Update.json new file mode 100644 index 000000000000..d85f5e31c75a --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/licenseProfile/LicenseProfile_Update.json @@ -0,0 +1,85 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "machineName": "myMachine", + "licenseProfileName": "default", + "api-version": "2025-09-16-preview", + "parameters": { + "properties": { + "softwareAssurance": { + "softwareAssuranceCustomer": true + }, + "esuProfile": { + "assignedLicense": "{LicenseResourceId}" + }, + "productProfile": { + "subscriptionStatus": "Enable", + "productType": "WindowsServer", + "productFeatures": [ + { + "name": "Hotpatch", + "subscriptionStatus": "Enable" + } + ] + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/Machines/myMachine/licenseProfiles/default", + "name": "default", + "type": "Microsoft.HybridCompute/machines/licenseProfiles", + "location": "eastus2euap", + "properties": { + "softwareAssurance": { + "softwareAssuranceCustomer": true + }, + "esuProfile": { + "assignedLicense": "{LicenseResourceId}", + "esuEligibility": "Eligible", + "serverType": "Standard", + "esuKeyState": "Inactive", + "esuKeys": [ + { + "sku": "skuNumber1", + "licenseStatus": 1 + }, + { + "sku": "skuNumber2", + "licenseStatus": 1 + } + ] + }, + "productProfile": { + "subscriptionStatus": "Enabling", + "productType": "WindowsServer", + "enrollmentDate": "2023-10-05T20:36:49.745Z", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z", + "billingEndDate": "2023-11-05T20:36:49.745Z", + "productFeatures": [ + { + "name": "Hotpatch", + "subscriptionStatus": "Enabling", + "enrollmentDate": "2023-10-05T20:36:49.745Z", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z", + "billingEndDate": "2023-11-05T20:36:49.745Z" + } + ] + } + } + } + }, + "202": { + "headers": { + "Location": "{callbackUrl}", + "Retry-After": 200, + "Azure-AsyncOperation": "{callbackUri}" + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/machine/Machine_AssessPatches.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/machine/Machine_AssessPatches.json new file mode 100644 index 000000000000..8615618d98a5 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/machine/Machine_AssessPatches.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroupName", + "name": "myMachineName", + "api-version": "2025-09-16-preview" + }, + "responses": { + "200": { + "body": { + "status": "Succeeded", + "assessmentActivityId": "68f8b292-dfc2-4646-9781-33cc88631968", + "rebootPending": true, + "startDateTime": "2021-08-22T02:15:20.9340000Z", + "lastModifiedDateTime": "2021-08-22T02:16:06.9740000Z", + "availablePatchCountByClassification": { + "security": 0, + "updateRollup": 1, + "featurePack": 0, + "servicePack": 0, + "definition": 0, + "critical": 0, + "updates": 1, + "tools": 0 + }, + "startedBy": "User", + "osType": "Windows", + "errorDetails": null + } + }, + "202": { + "headers": { + "Location": "eastus2euap" + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/machine/Machine_InstallPatches.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/machine/Machine_InstallPatches.json new file mode 100644 index 000000000000..5c681b87ba3b --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/machine/Machine_InstallPatches.json @@ -0,0 +1,50 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroupName", + "name": "myMachineName", + "api-version": "2025-09-16-preview", + "installPatchesInput": { + "maximumDuration": "PT4H", + "rebootSetting": "IfRequired", + "windowsParameters": { + "classificationsToInclude": [ + "Critical", + "Security" + ], + "maxPatchPublishDate": "2021-08-19T02:36:43.0539904+00:00", + "patchNameMasksToInclude": [ + "*SQL*" + ], + "patchNameMasksToExclude": [ + "*Windows*" + ] + } + } + }, + "responses": { + "200": { + "body": { + "status": "Succeeded", + "installationActivityId": "68f8b292-dfc2-4646-9781-33cc88631968", + "rebootStatus": "Completed", + "maintenanceWindowExceeded": false, + "excludedPatchCount": 0, + "notSelectedPatchCount": 0, + "pendingPatchCount": 2, + "installedPatchCount": 3, + "failedPatchCount": 0, + "startDateTime": "2021-08-22T02:15:06.9740000Z", + "lastModifiedDateTime": "2021-08-22T02:16:06.9740000Z", + "startedBy": "User", + "osType": "Windows", + "errorDetails": null + } + }, + "202": { + "headers": { + "Location": "eastus2euap" + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/machine/Machines_CreateOrUpdate.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/machine/Machines_CreateOrUpdate.json new file mode 100644 index 000000000000..e8af4e255cff --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/machine/Machines_CreateOrUpdate.json @@ -0,0 +1,146 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "machineName": "myMachine", + "api-version": "2025-09-16-preview", + "parameters": { + "location": "eastus2euap", + "properties": { + "vmId": "b7a098cc-b0b8-46e8-a205-62f301a62a8f", + "locationData": { + "name": "Redmond" + }, + "osProfile": { + "windowsConfiguration": { + "patchSettings": { + "enableHotpatching": true + } + } + }, + "clientPublicKey": "string", + "identityKeyStore": "TPM", + "tpmEkCertificate": "string", + "parentClusterResourceId": "{AzureStackHCIResourceId}", + "privateLinkScopeResourceId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/privateLinkScopeName" + }, + "identity": { + "type": "SystemAssigned" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/machines/myMachine", + "name": "myMachine", + "location": "eastus2euap", + "tags": null, + "identity": { + "type": "SystemAssigned", + "principalId": "string", + "tenantId": "string" + }, + "type": "Microsoft.HybridCompute/machines", + "kind": null, + "properties": { + "provisioningState": "Succeeded", + "agentVersion": null, + "status": null, + "lastStatusChange": null, + "errorDetails": null, + "displayName": null, + "machineFqdn": null, + "vmUuid": null, + "osSku": null, + "osEdition": "Standard", + "domainName": null, + "adFqdn": null, + "dnsFqdn": null, + "osVersion": null, + "osType": null, + "osProfile": { + "computerName": null, + "windowsConfiguration": { + "patchSettings": { + "assessmentMode": null, + "patchMode": null, + "enableHotpatching": true, + "status": { + "hotpatchEnablementStatus": "PendingEvaluation", + "error": null + } + } + }, + "linuxConfiguration": { + "patchSettings": { + "assessmentMode": null, + "patchMode": null + } + } + }, + "licenseProfile": { + "licenseStatus": "Licensed", + "licenseChannel": "PSG", + "softwareAssurance": { + "softwareAssuranceCustomer": true + }, + "esuProfile": { + "licenseAssignmentState": "Assigned", + "esuEligibility": "Ineligible", + "serverType": "Standard", + "esuKeyState": "Inactive", + "esuKeys": [ + { + "sku": "skuNumber1", + "licenseStatus": 1 + }, + { + "sku": "skuNumber2", + "licenseStatus": 1 + } + ] + }, + "productProfile": { + "subscriptionStatus": "Enabled", + "productType": "WindowsServer", + "enrollmentDate": "2023-10-05T20:36:49.745Z", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z", + "billingEndDate": "2023-11-05T20:36:49.745Z", + "productFeatures": [ + { + "name": "Hotpatch", + "subscriptionStatus": "Enabled", + "enrollmentDate": "2023-10-05T20:36:49.745Z", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z", + "billingEndDate": "2023-11-05T20:36:49.745Z" + } + ] + } + }, + "vmId": "b7a098cc-b0b8-46e8-a205-62f301a62a8f", + "locationData": { + "name": "Redmond", + "city": "redmond", + "district": null, + "countryOrRegion": "usa" + }, + "clientPublicKey": "string", + "identityKeyStore": "TPM", + "tpmEkCertificate": "string", + "parentClusterResourceId": "{AzureStackHCIResourceId}", + "hardwareResourceId": null, + "mssqlDiscovered": "false", + "detectedProperties": { + "cloudprovider": "N/A", + "manufacturer": "Microsoft Corporation", + "model": "Virtual Machine" + }, + "privateLinkScopeResourceId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/privateLinkScopeName" + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/machine/Machines_Delete.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/machine/Machines_Delete.json new file mode 100644 index 000000000000..df2cb05ceab1 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/machine/Machines_Delete.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "machineName": "myMachine", + "api-version": "2025-09-16-preview" + }, + "responses": { + "202": { + "headers": { + "Location": "{callbackUrl}", + "Retry-After": 200, + "Azure-AsyncOperation": "{callbackUri}" + } + }, + "204": {} + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/machine/Machines_Get.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/machine/Machines_Get.json new file mode 100644 index 000000000000..440336660104 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/machine/Machines_Get.json @@ -0,0 +1,208 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "machineName": "myMachine", + "api-version": "2025-09-16-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/machines/myMachine", + "name": "myMachine", + "location": "eastus2euap", + "tags": null, + "identity": { + "type": "SystemAssigned", + "principalId": "string", + "tenantId": "string" + }, + "type": "Microsoft.HybridCompute/machines", + "kind": null, + "properties": { + "provisioningState": "Succeeded", + "agentVersion": null, + "status": null, + "lastStatusChange": null, + "errorDetails": null, + "displayName": null, + "machineFqdn": null, + "vmUuid": null, + "osSku": null, + "osEdition": "Standard", + "domainName": null, + "adFqdn": null, + "dnsFqdn": null, + "osVersion": null, + "osType": null, + "osProfile": { + "computerName": null, + "windowsConfiguration": { + "patchSettings": { + "assessmentMode": null, + "patchMode": null, + "enableHotpatching": true, + "status": { + "hotpatchEnablementStatus": "Enabled", + "error": null + } + } + }, + "linuxConfiguration": { + "patchSettings": { + "assessmentMode": null, + "patchMode": null + } + } + }, + "licenseProfile": { + "licenseStatus": "Licensed", + "licenseChannel": "PSG", + "softwareAssurance": { + "softwareAssuranceCustomer": true + }, + "esuProfile": { + "licenseAssignmentState": "Assigned", + "esuEligibility": "Ineligible", + "serverType": "Standard", + "esuKeyState": "Inactive", + "esuKeys": [ + { + "sku": "skuNumber1", + "licenseStatus": 1 + }, + { + "sku": "skuNumber2", + "licenseStatus": 1 + } + ] + }, + "productProfile": { + "subscriptionStatus": "Enabled", + "productType": "WindowsServer", + "enrollmentDate": "2023-10-05T20:36:49.745Z", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z", + "billingEndDate": "2023-11-05T20:36:49.745Z", + "productFeatures": [ + { + "name": "Hotpatch", + "subscriptionStatus": "Enabled", + "enrollmentDate": "2023-10-05T20:36:49.745Z", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z", + "billingEndDate": "2023-11-05T20:36:49.745Z" + } + ] + } + }, + "vmId": "b7a098cc-b0b8-46e8-a205-62f301a62a8f", + "locationData": { + "name": "Redmond", + "city": "redmond", + "district": null, + "countryOrRegion": "usa" + }, + "clientPublicKey": "string", + "identityKeyStore": "TPM", + "tpmEkCertificate": "string", + "parentClusterResourceId": "{AzureStackHCIResourceId}", + "hardwareResourceId": null, + "mssqlDiscovered": "false", + "detectedProperties": { + "cloudprovider": "N/A", + "manufacturer": "Microsoft Corporation", + "model": "Virtual Machine" + }, + "agentConfiguration": { + "proxyUrl": "https://test.test", + "incomingConnectionsPorts": [ + "22", + "23" + ], + "extensionsAllowList": null, + "extensionsBlockList": null, + "proxyBypass": [ + "proxy1", + "proxy2" + ], + "extensionsEnabled": "true", + "guestConfigurationEnabled": "true", + "configMode": "full" + }, + "serviceStatuses": { + "extensionService": { + "status": "Running", + "startupType": "Automatic" + }, + "guestConfigurationService": { + "status": "Running", + "startupType": "Automatic" + } + }, + "firmwareProfile": { + "serialNumber": "007f0232-1c2e-4978-8604-ea44e7a5f5a0", + "type": "BIOS" + }, + "hardwareProfile": { + "totalPhysicalMemoryInBytes": 34359738368, + "numberOfCpuSockets": 2, + "processors": [ + { + "name": "Intel(R) Core(TM) i7-10610U CPU @ 1.80GHz", + "numberOfCores": 4 + } + ] + }, + "storageProfile": { + "disks": [ + { + "path": "C:/", + "diskType": "Fixed", + "generatedId": "94318602-6e46-4eaa-997e-0e528afe3d17", + "id": "2", + "name": "Windows", + "maxSizeInBytes": 1022870155264, + "usedSpaceInBytes": 435501297664 + } + ] + }, + "privateLinkScopeResourceId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/privateLinkScopeName", + "networkProfile": { + "networkInterfaces": [ + { + "name": "Wi-Fi", + "macAddress": "3c:49:6e:13:0e:73", + "id": "8", + "ipAddresses": [ + { + "address": "192.168.12.345", + "ipAddressVersion": "IPv4", + "subnet": { + "addressPrefix": "192.168.12.0/24" + } + } + ] + }, + { + "name": "Ethernet", + "macAddress": "10:15:5c:52:f9:b8", + "id": "23", + "ipAddresses": [ + { + "address": "1001:0:34aa:5000:1234:aaaa:bbbb:cccc", + "ipAddressVersion": "IPv6", + "subnet": { + "addressPrefix": "1001:0:34aa:5000::/64" + } + } + ] + } + ] + } + }, + "resources": [] + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/machine/Machines_Get_LicenseProfileInstanceView.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/machine/Machines_Get_LicenseProfileInstanceView.json new file mode 100644 index 000000000000..17b545cbfaf6 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/machine/Machines_Get_LicenseProfileInstanceView.json @@ -0,0 +1,227 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "machineName": "myMachine", + "$expand": "instanceView", + "api-version": "2025-09-16-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/machines/myMachine", + "name": "myMachine", + "location": "eastus2euap", + "tags": null, + "identity": { + "type": "SystemAssigned", + "principalId": "string", + "tenantId": "string" + }, + "type": "Microsoft.HybridCompute/machines", + "kind": null, + "properties": { + "provisioningState": "Succeeded", + "agentVersion": null, + "status": null, + "lastStatusChange": null, + "errorDetails": null, + "displayName": null, + "machineFqdn": null, + "vmUuid": null, + "osSku": null, + "osEdition": "Standard", + "domainName": null, + "adFqdn": null, + "dnsFqdn": null, + "osVersion": null, + "osType": null, + "osProfile": { + "computerName": null, + "windowsConfiguration": { + "patchSettings": { + "assessmentMode": null, + "patchMode": null, + "enableHotpatching": true, + "status": { + "hotpatchEnablementStatus": "Enabled", + "error": null + } + } + }, + "linuxConfiguration": { + "patchSettings": { + "assessmentMode": null, + "patchMode": null + } + } + }, + "licenseProfile": { + "licenseStatus": "Licensed", + "licenseChannel": "PSG", + "softwareAssurance": { + "softwareAssuranceCustomer": true + }, + "esuProfile": { + "assignedLicense": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/Licenses/{licenseName}", + "name": "{licenseName}", + "type": "Microsoft.HybridCompute/licenses", + "location": "eastus2euap", + "tags": null, + "properties": { + "tenantId": "{tenandId}", + "licenseType": "ESU", + "licenseDetails": { + "state": "Activated", + "target": "Windows Server 2012", + "edition": "Datacenter", + "type": "pCore", + "processors": 6, + "assignedLicenses": 8, + "immutableId": "" + } + } + }, + "licenseAssignmentState": "Assigned", + "esuEligibility": "Ineligible", + "serverType": "Standard", + "esuKeyState": "Inactive", + "esuKeys": [ + { + "sku": "skuNumber1", + "licenseStatus": 1 + }, + { + "sku": "skuNumber2", + "licenseStatus": 1 + } + ] + }, + "productProfile": { + "subscriptionStatus": "Enabled", + "productType": "WindowsServer", + "enrollmentDate": "2023-10-05T20:36:49.745Z", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z", + "billingEndDate": "2023-11-05T20:36:49.745Z", + "productFeatures": [ + { + "name": "Hotpatch", + "subscriptionStatus": "Enabled", + "enrollmentDate": "2023-10-05T20:36:49.745Z", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z", + "billingEndDate": "2023-11-05T20:36:49.745Z" + } + ] + } + }, + "vmId": "b7a098cc-b0b8-46e8-a205-62f301a62a8f", + "locationData": { + "name": "Redmond", + "city": "redmond", + "district": null, + "countryOrRegion": "usa" + }, + "clientPublicKey": "string", + "parentClusterResourceId": "{AzureStackHCIResourceId}", + "hardwareResourceId": null, + "mssqlDiscovered": "false", + "detectedProperties": { + "cloudprovider": "N/A", + "manufacturer": "Microsoft Corporation", + "model": "Virtual Machine" + }, + "agentConfiguration": { + "proxyUrl": "https://test.test", + "incomingConnectionsPorts": [ + "22", + "23" + ], + "extensionsAllowList": null, + "extensionsBlockList": null, + "proxyBypass": [ + "proxy1", + "proxy2" + ], + "extensionsEnabled": "true", + "guestConfigurationEnabled": "true", + "configMode": "full" + }, + "serviceStatuses": { + "extensionService": { + "status": "Running", + "startupType": "Automatic" + }, + "guestConfigurationService": { + "status": "Running", + "startupType": "Automatic" + } + }, + "firmwareProfile": { + "serialNumber": "007f0232-1c2e-4978-8604-ea44e7a5f5a0", + "type": "BIOS" + }, + "hardwareProfile": { + "totalPhysicalMemoryInBytes": 34359738368, + "numberOfCpuSockets": 2, + "processors": [ + { + "name": "Intel(R) Core(TM) i7-10610U CPU @ 1.80GHz", + "numberOfCores": 4 + } + ] + }, + "storageProfile": { + "disks": [ + { + "path": "C:/", + "diskType": "Fixed", + "generatedId": "94318602-6e46-4eaa-997e-0e528afe3d17", + "id": "2", + "name": "Windows", + "maxSizeInBytes": 1022870155264, + "usedSpaceInBytes": 435501297664 + } + ] + }, + "privateLinkScopeResourceId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/privateLinkScopeName", + "networkProfile": { + "networkInterfaces": [ + { + "name": "Wi-Fi", + "macAddress": "3c:49:6e:13:0e:73", + "id": "8", + "ipAddresses": [ + { + "address": "192.168.12.345", + "ipAddressVersion": "IPv4", + "subnet": { + "addressPrefix": "192.168.12.0/24" + } + } + ] + }, + { + "name": "Ethernet", + "macAddress": "10:15:5c:52:f9:b8", + "id": "23", + "ipAddresses": [ + { + "address": "1001:0:34aa:5000:1234:aaaa:bbbb:cccc", + "ipAddressVersion": "IPv6", + "subnet": { + "addressPrefix": "1001:0:34aa:5000::/64" + } + } + ] + } + ] + } + }, + "resources": [] + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/machine/Machines_ListByResourceGroup.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/machine/Machines_ListByResourceGroup.json new file mode 100644 index 000000000000..2e807f610b49 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/machine/Machines_ListByResourceGroup.json @@ -0,0 +1,253 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroup", + "api-version": "2025-09-16-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/machines/myMachine", + "name": "myMachine", + "location": "eastus2euap", + "tags": null, + "identity": { + "type": "SystemAssigned", + "principalId": "f7a068cc-b0b8-46e8-a203-22f301a62a8f", + "tenantId": "c4098cc-91b8-46c2-a205-d82ab1a62a8f" + }, + "type": "Microsoft.HybridCompute/machines", + "kind": null, + "properties": { + "provisioningState": "Succeeded", + "agentVersion": null, + "status": null, + "lastStatusChange": null, + "errorDetails": null, + "displayName": null, + "machineFqdn": null, + "vmUuid": null, + "osSku": null, + "osEdition": "Standard", + "domainName": null, + "adFqdn": null, + "dnsFqdn": null, + "osVersion": null, + "osType": null, + "osProfile": { + "computerName": null, + "windowsConfiguration": { + "patchSettings": { + "assessmentMode": null, + "patchMode": null, + "enableHotpatching": true, + "status": { + "hotpatchEnablementStatus": "Enabled", + "error": null + } + } + }, + "linuxConfiguration": { + "patchSettings": { + "assessmentMode": null, + "patchMode": null + } + } + }, + "licenseProfile": { + "licenseStatus": "Licensed", + "licenseChannel": "PSG", + "softwareAssurance": { + "softwareAssuranceCustomer": true + }, + "esuProfile": { + "licenseAssignmentState": "Assigned", + "esuEligibility": "Ineligible", + "serverType": "Standard", + "esuKeyState": "Inactive", + "esuKeys": [ + { + "sku": "skuNumber1", + "licenseStatus": 1 + }, + { + "sku": "skuNumber2", + "licenseStatus": 1 + } + ] + }, + "productProfile": { + "subscriptionStatus": "Enabled", + "productType": "WindowsServer", + "enrollmentDate": "2023-10-05T20:36:49.745Z", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z", + "billingEndDate": "2023-11-05T20:36:49.745Z", + "productFeatures": [ + { + "name": "Hotpatch", + "subscriptionStatus": "Enabled", + "enrollmentDate": "2023-10-05T20:36:49.745Z", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z", + "billingEndDate": "2023-11-05T20:36:49.745Z" + } + ] + } + }, + "vmId": "b7a098cc-b0b8-46e8-a205-62f301a62a8f", + "locationData": { + "name": "Redmond" + }, + "clientPublicKey": "string", + "parentClusterResourceId": null, + "hardwareResourceId": null, + "mssqlDiscovered": "false", + "detectedProperties": { + "cloudprovider": "N/A", + "manufacturer": "Microsoft Corporation", + "model": "Virtual Machine" + }, + "agentConfiguration": { + "proxyUrl": "https://test.test", + "incomingConnectionsPorts": [ + "22", + "23" + ], + "extensionsAllowList": null, + "extensionsBlockList": null, + "proxyBypass": [ + "proxy1", + "proxy2" + ], + "extensionsEnabled": "true", + "guestConfigurationEnabled": "true", + "configMode": "full" + }, + "privateLinkScopeResourceId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/privateLinkScopeName" + } + }, + { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/machines/myMachine2", + "name": "myMachine2", + "location": "westus2", + "tags": null, + "identity": { + "type": "SystemAssigned", + "principalId": "e7a068cc-b0b8-46e8-a203-22f301a62a8f", + "tenantId": "c4098cc-91b8-46c2-a205-d82ab1a62a8f" + }, + "type": "Microsoft.HybridCompute/machines", + "kind": null, + "properties": { + "provisioningState": "Succeeded", + "agentVersion": null, + "status": null, + "lastStatusChange": null, + "errorDetails": null, + "displayName": null, + "machineFqdn": null, + "osEdition": "Standard", + "osVersion": null, + "osType": null, + "osProfile": { + "computerName": null, + "windowsConfiguration": { + "patchSettings": { + "assessmentMode": null, + "patchMode": null, + "enableHotpatching": true, + "status": { + "hotpatchEnablementStatus": "Enabled", + "error": null + } + } + }, + "linuxConfiguration": { + "patchSettings": { + "assessmentMode": null, + "patchMode": null + } + } + }, + "licenseProfile": { + "licenseStatus": "Licensed", + "licenseChannel": "PSG", + "softwareAssurance": { + "softwareAssuranceCustomer": true + }, + "esuProfile": { + "licenseAssignmentState": "Assigned", + "esuEligibility": "Ineligible", + "serverType": "Standard", + "esuKeyState": "Inactive", + "esuKeys": [ + { + "sku": "skuNumber1", + "licenseStatus": 1 + }, + { + "sku": "skuNumber2", + "licenseStatus": 1 + } + ] + }, + "productProfile": { + "subscriptionStatus": "Enabled", + "productType": "WindowsServer", + "enrollmentDate": "2023-10-05T20:36:49.745Z", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z", + "billingEndDate": "2023-11-05T20:36:49.745Z", + "productFeatures": [ + { + "name": "Hotpatch", + "subscriptionStatus": "Enabled", + "enrollmentDate": "2023-10-05T20:36:49.745Z", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z", + "billingEndDate": "2023-11-05T20:36:49.745Z" + } + ] + } + }, + "vmId": "a4a098cc-b0b8-46e8-a205-62f301a62a8f", + "locationData": { + "name": "Redmond" + }, + "clientPublicKey": "string", + "parentClusterResourceId": "{AzureStackHCIResourceId}", + "hardwareResourceId": null, + "mssqlDiscovered": "true", + "detectedProperties": { + "cloudprovider": "N/A", + "manufacturer": "Microsoft Corporation", + "model": "Surfacebook" + }, + "agentConfiguration": { + "proxyUrl": "https://test.test", + "incomingConnectionsPorts": [ + "22", + "23" + ], + "extensionsAllowList": null, + "extensionsBlockList": null, + "proxyBypass": [ + "proxy1", + "proxy2" + ], + "extensionsEnabled": "true", + "guestConfigurationEnabled": "true", + "configMode": "full" + }, + "privateLinkScopeResourceId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/privateLinkScopeName" + } + } + ], + "nextLink": null + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/machine/Machines_ListBySubscription.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/machine/Machines_ListBySubscription.json new file mode 100644 index 000000000000..2d15d27c4967 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/machine/Machines_ListBySubscription.json @@ -0,0 +1,251 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "api-version": "2025-09-16-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/machines/myMachine", + "name": "myMachine", + "location": "eastus2euap", + "tags": null, + "identity": { + "type": "SystemAssigned", + "principalId": "string", + "tenantId": "string" + }, + "type": "Microsoft.HybridCompute/machines", + "kind": null, + "properties": { + "provisioningState": "Succeeded", + "agentVersion": null, + "status": null, + "lastStatusChange": null, + "errorDetails": null, + "displayName": null, + "machineFqdn": null, + "vmUuid": null, + "osSku": null, + "osEdition": "Standard", + "domainName": null, + "adFqdn": null, + "dnsFqdn": null, + "osVersion": null, + "osType": null, + "osProfile": { + "computerName": null, + "windowsConfiguration": { + "patchSettings": { + "assessmentMode": null, + "patchMode": null, + "enableHotpatching": true, + "status": { + "hotpatchEnablementStatus": "Enabled", + "error": null + } + } + }, + "linuxConfiguration": { + "patchSettings": { + "assessmentMode": null, + "patchMode": null + } + } + }, + "licenseProfile": { + "licenseStatus": "Licensed", + "licenseChannel": "PSG", + "softwareAssurance": { + "softwareAssuranceCustomer": true + }, + "esuProfile": { + "licenseAssignmentState": "Assigned", + "esuEligibility": "Ineligible", + "serverType": "Standard", + "esuKeyState": "Inactive", + "esuKeys": [ + { + "sku": "skuNumber1", + "licenseStatus": 1 + }, + { + "sku": "skuNumber2", + "licenseStatus": 1 + } + ] + }, + "productProfile": { + "subscriptionStatus": "Enabled", + "productType": "WindowsServer", + "enrollmentDate": "2023-10-05T20:36:49.745Z", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z", + "billingEndDate": "2023-11-05T20:36:49.745Z", + "productFeatures": [ + { + "name": "Hotpatch", + "subscriptionStatus": "Enabled", + "enrollmentDate": "2023-10-05T20:36:49.745Z", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z", + "billingEndDate": "2023-11-05T20:36:49.745Z" + } + ] + } + }, + "vmId": "b7a098cc-b0b8-46e8-a205-62f301a62a8f", + "locationData": { + "name": "Redmond" + }, + "clientPublicKey": "string", + "parentClusterResourceId": null, + "hardwareResourceId": null, + "mssqlDiscovered": "false", + "detectedProperties": { + "cloudprovider": "N/A", + "manufacturer": "Microsoft Corporation", + "model": "Virtual Machine" + }, + "agentConfiguration": { + "proxyUrl": "https://test.test", + "incomingConnectionsPorts": [ + "22", + "23" + ], + "extensionsAllowList": null, + "extensionsBlockList": null, + "proxyBypass": [ + "proxy1", + "proxy2" + ], + "extensionsEnabled": "true", + "guestConfigurationEnabled": "true", + "configMode": "full" + }, + "privateLinkScopeResourceId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/privateLinkScopeName" + } + }, + { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup2/providers/Microsoft.HybridCompute/machines/myMachine2", + "name": "myMachine2", + "location": "westus2", + "tags": null, + "identity": { + "type": "SystemAssigned", + "principalId": "e7a068cc-b0b8-46e8-a203-22f301a62a8f", + "tenantId": "c4098cc-91b8-46c2-a205-d82ab1a62a8f" + }, + "type": "Microsoft.HybridCompute/machines", + "kind": null, + "properties": { + "provisioningState": "Succeeded", + "agentVersion": null, + "status": null, + "lastStatusChange": null, + "errorDetails": null, + "displayName": null, + "machineFqdn": null, + "osEdition": "Standard", + "osVersion": null, + "osType": null, + "osProfile": { + "computerName": null, + "windowsConfiguration": { + "patchSettings": { + "assessmentMode": null, + "patchMode": null, + "enableHotpatching": true, + "status": { + "hotpatchEnablementStatus": "Enabled", + "error": null + } + } + }, + "linuxConfiguration": { + "patchSettings": { + "assessmentMode": null, + "patchMode": null + } + } + }, + "licenseProfile": { + "licenseStatus": "Licensed", + "licenseChannel": "PSG", + "softwareAssurance": { + "softwareAssuranceCustomer": true + }, + "esuProfile": { + "licenseAssignmentState": "Assigned", + "esuEligibility": "Ineligible", + "serverType": "Standard", + "esuKeyState": "Inactive", + "esuKeys": [ + { + "sku": "skuNumber1", + "licenseStatus": 1 + }, + { + "sku": "skuNumber2", + "licenseStatus": 1 + } + ] + }, + "productProfile": { + "subscriptionStatus": "Enabled", + "productType": "WindowsServer", + "enrollmentDate": "2023-10-05T20:36:49.745Z", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z", + "billingEndDate": "2023-11-05T20:36:49.745Z", + "productFeatures": [ + { + "name": "Hotpatch", + "subscriptionStatus": "Enabled", + "enrollmentDate": "2023-10-05T20:36:49.745Z", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z", + "billingEndDate": "2023-11-05T20:36:49.745Z" + } + ] + } + }, + "vmId": "a4a098cc-b0b8-46e8-a205-62f301a62a8f", + "locationData": { + "name": "Redmond" + }, + "clientPublicKey": "string", + "parentClusterResourceId": "{AzureStackHCIResourceId}", + "hardwareResourceId": null, + "mssqlDiscovered": "true", + "detectedProperties": { + "cloudprovider": "N/A", + "manufacturer": "Microsoft Corporation", + "model": "Surfacebook" + }, + "agentConfiguration": { + "proxyUrl": "https://test.test", + "incomingConnectionsPorts": [ + "22", + "23" + ], + "extensionsAllowList": null, + "extensionsBlockList": null, + "proxyBypass": [ + "proxy1", + "proxy2" + ], + "extensionsEnabled": "true", + "guestConfigurationEnabled": "true", + "configMode": "full" + } + } + } + ], + "nextLink": "string" + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/machine/Machines_Update.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/machine/Machines_Update.json new file mode 100644 index 000000000000..0da121d47f3d --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/machine/Machines_Update.json @@ -0,0 +1,145 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroup", + "machineName": "myMachine", + "api-version": "2025-09-16-preview", + "location": "eastus2euap", + "kind": null, + "parameters": { + "properties": { + "locationData": { + "name": "Redmond" + }, + "osProfile": { + "windowsConfiguration": { + "patchSettings": { + "assessmentMode": "ImageDefault", + "patchMode": "AutomaticByPlatform", + "enableHotpatching": true + } + }, + "linuxConfiguration": { + "patchSettings": { + "assessmentMode": "ImageDefault", + "patchMode": "Manual" + } + } + }, + "identityKeyStore": "TPM", + "tpmEkCertificate": "string", + "parentClusterResourceId": "{AzureStackHCIResourceId}", + "privateLinkScopeResourceId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/privateLinkScopeName" + }, + "identity": { + "type": "SystemAssigned" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/machines/myMachine", + "name": "myMachine", + "location": "eastus2euap", + "tags": null, + "identity": { + "type": "SystemAssigned", + "principalId": "string", + "tenantId": "string" + }, + "type": "Microsoft.HybridCompute/machines", + "kind": null, + "properties": { + "provisioningState": "Succeeded", + "agentVersion": null, + "status": null, + "lastStatusChange": null, + "errorDetails": null, + "displayName": null, + "machineFqdn": null, + "vmUuid": null, + "osSku": null, + "osEdition": "Standard", + "domainName": null, + "adFqdn": null, + "dnsFqdn": null, + "osVersion": null, + "osType": null, + "osProfile": { + "computerName": null, + "windowsConfiguration": { + "patchSettings": { + "assessmentMode": "ImageDefault", + "patchMode": "AutomaticByPlatform", + "enableHotpatching": true, + "status": { + "hotpatchEnablementStatus": "PendingEvaluation", + "error": null + } + } + }, + "linuxConfiguration": { + "patchSettings": { + "assessmentMode": "ImageDefault", + "patchMode": "Manual" + } + } + }, + "licenseProfile": { + "licenseStatus": "Licensed", + "licenseChannel": "PSG", + "softwareAssurance": { + "softwareAssuranceCustomer": true + }, + "esuProfile": { + "licenseAssignmentState": "Assigned", + "esuEligibility": "Ineligible", + "serverType": "Standard", + "esuKeyState": "Inactive", + "esuKeys": [ + { + "sku": "skuNumber1", + "licenseStatus": 1 + }, + { + "sku": "skuNumber2", + "licenseStatus": 1 + } + ] + }, + "productProfile": { + "subscriptionStatus": "Enabled", + "productType": "WindowsServer", + "enrollmentDate": "2023-10-05T20:36:49.745Z", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z", + "billingEndDate": "2023-11-05T20:36:49.745Z", + "productFeatures": [ + { + "name": "Hotpatch", + "subscriptionStatus": "Enabled", + "enrollmentDate": "2023-10-05T20:36:49.745Z", + "billingStartDate": "2023-10-05T20:36:49.745Z", + "disenrollmentDate": "2023-11-05T20:36:49.745Z", + "billingEndDate": "2023-11-05T20:36:49.745Z" + } + ] + } + }, + "vmId": "b7a098cc-b0b8-46e8-a205-62f301a62a8f", + "locationData": { + "name": "Redmond" + }, + "clientPublicKey": "string", + "identityKeyStore": "TPM", + "tpmEkCertificate": "string", + "parentClusterResourceId": "{AzureStackHCIResourceId}", + "hardwareResourceId": null, + "detectedProperties": null, + "privateLinkScopeResourceId": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/privateLinkScopeName" + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/networkConfiguration/NetworkConfigurationsCreate.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/networkConfiguration/NetworkConfigurationsCreate.json new file mode 100644 index 000000000000..595370d8551c --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/networkConfiguration/NetworkConfigurationsCreate.json @@ -0,0 +1,57 @@ +{ + "parameters": { + "api-version": "2025-09-16-preview", + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "hybridRG", + "machineName": "testMachine", + "name": "current", + "parameters": { + "properties": { + "location": "westus", + "networkConfigurationScopeResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/privateLinkScopes/testScope" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridCompute/networkConfigurations/current", + "name": "current", + "type": "Microsoft.HybridCompute/networkConfigurations", + "properties": { + "location": "westus", + "tenantId": "00000000-1111-2222-3333-444444444444", + "networkConfigurationScopeId": "00000000-1111-2222-3333-444444444444", + "networkConfigurationScopeResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/privateLinkScopes/testScope", + "keyProperties": { + "clientPublicKey": { + "publicKey": "62617365363420656e636f646564207075626c6963206b6579", + "notAfter": "2021-01-01T00:00:00Z", + "renewAfter": "2021-02-01T00:00:00Z" + } + } + } + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridCompute/networkConfigurations/current", + "name": "current", + "type": "Microsoft.HybridCompute/networkConfigurations", + "properties": { + "location": "westus", + "tenantId": "00000000-1111-2222-3333-444444444444", + "networkConfigurationScopeId": "00000000-1111-2222-3333-444444444444", + "networkConfigurationScopeResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/privateLinkScopes/testScope", + "keyProperties": { + "clientPublicKey": { + "publicKey": "62617365363420656e636f646564207075626c6963206b6579", + "notAfter": "2021-01-01T00:00:00Z", + "renewAfter": "2021-02-01T00:00:00Z" + } + } + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/networkConfiguration/NetworkConfigurationsGet.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/networkConfiguration/NetworkConfigurationsGet.json new file mode 100644 index 000000000000..78360200eb8c --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/networkConfiguration/NetworkConfigurationsGet.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "api-version": "2025-09-16-preview", + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "hybridRG", + "machineName": "testMachine" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridCompute/networkConfigurations/current", + "name": "current", + "type": "Microsoft.HybridCompute/networkConfigurations", + "properties": { + "tenantId": "default", + "location": "westus", + "networkConfigurationScopeId": "00000000-1111-2222-3333-444444444444", + "networkConfigurationScopeResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/privateLinkScopes/testScope", + "keyProperties": { + "clientPublicKey": { + "publicKey": "62617365363420656e636f646564207075626c6963206b6579", + "notAfter": "2021-01-01T00:00:00Z", + "renewAfter": "2021-02-01T00:00:00Z" + } + } + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/networkConfiguration/NetworkConfigurationsPatch.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/networkConfiguration/NetworkConfigurationsPatch.json new file mode 100644 index 000000000000..30d92e2b2791 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/networkConfiguration/NetworkConfigurationsPatch.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "api-version": "2025-09-16-preview", + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "hybridRG", + "machineName": "testMachine", + "name": "current", + "parameters": { + "properties": { + "networkConfigurationScopeResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/privateLinkScopes/newScope" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridCompute/networkConfigurations/current", + "name": "current", + "type": "Microsoft.HybridCompute/networkConfigurations", + "properties": { + "location": "westus", + "tenantId": "00000000-1111-2222-3333-444444444444", + "networkConfigurationScopeId": "00000000-1111-2222-3333-444444444444", + "networkConfigurationScopeResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/privateLinkScopes/newScope", + "keyProperties": { + "clientPublicKey": { + "publicKey": "publickey", + "notAfter": "2021-01-01T00:00:00Z", + "renewAfter": "2021-02-01T00:00:00Z" + } + } + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/networkConfiguration/NetworkConfigurationsUpdate.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/networkConfiguration/NetworkConfigurationsUpdate.json new file mode 100644 index 000000000000..15c4d237cf08 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/networkConfiguration/NetworkConfigurationsUpdate.json @@ -0,0 +1,56 @@ +{ + "parameters": { + "api-version": "2025-09-16-preview", + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "hybridRG", + "machineName": "testMachine", + "name": "current", + "parameters": { + "properties": { + "networkConfigurationScopeResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/privateLinkScopes/newScope" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridCompute/networkConfigurations/current", + "name": "current", + "type": "Microsoft.HybridCompute/networkConfigurations", + "properties": { + "location": "westus", + "tenantId": "00000000-1111-2222-3333-444444444444", + "networkConfigurationScopeId": "00000000-1111-2222-3333-444444444444", + "networkConfigurationScopeResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/privateLinkScopes/newScope", + "keyProperties": { + "clientPublicKey": { + "publicKey": "publickey", + "notAfter": "2021-01-01T00:00:00Z", + "renewAfter": "2021-02-01T00:00:00Z" + } + } + } + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridCompute/networkConfigurations/current", + "name": "current", + "type": "Microsoft.HybridCompute/networkConfigurations", + "properties": { + "location": "westus", + "tenantId": "00000000-1111-2222-3333-444444444444", + "networkConfigurationScopeId": "00000000-1111-2222-3333-444444444444", + "networkConfigurationScopeResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/privateLinkScopes/newScope", + "keyProperties": { + "clientPublicKey": { + "publicKey": "publickey", + "notAfter": "2021-01-01T00:00:00Z", + "renewAfter": "2021-02-01T00:00:00Z" + } + } + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationGet.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationGet.json new file mode 100644 index 000000000000..11c6576eecf9 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationGet.json @@ -0,0 +1,50 @@ +{ + "parameters": { + "api-version": "2025-09-16-preview", + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "my-resource-group", + "scopeName": "my-privatelinkscope", + "perimeterName": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee.myAssociation" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/my-resource-group/providers/Microsoft.HybridCompute/privateLinkScopes/my-privatelinkscope/networkSecurityPerimeterConfigurations/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee.myAssociation", + "name": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee.myAssociation", + "type": "Microsoft.HybridCompute/privateLinkScopes/networkSecurityPerimeterConfigurations", + "properties": { + "provisioningState": "Accepted", + "provisioningIssues": [], + "networkSecurityPerimeter": { + "id": "/subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/networkSecurityPerimeters/myPerimeter", + "perimeterGuid": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", + "location": "westus" + }, + "resourceAssociation": { + "name": "myAssociation", + "accessMode": "enforced" + }, + "profile": { + "name": "myProfile", + "accessRulesVersion": 1, + "accessRules": [ + { + "name": "myAccessRule", + "properties": { + "direction": "Inbound", + "addressPrefixes": [ + "148.0.0.0/8", + "152.4.6.0/24", + "..." + ] + } + } + ], + "diagnosticSettingsVersion": 1, + "enabledLogCategories": [] + } + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationList.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationList.json new file mode 100644 index 000000000000..5f7ff9a78a9c --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationList.json @@ -0,0 +1,90 @@ +{ + "parameters": { + "api-version": "2025-09-16-preview", + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "my-resource-group", + "scopeName": "my-privatelinkscope" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/my-resource-group/providers/Microsoft.HybridCompute/privateLinkScopes/my-privatelinkscope/networkSecurityPerimeterConfigurations/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee.myAssociation", + "name": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee.myAssociation", + "type": "Microsoft.HybridCompute/privateLinkScopes/networkSecurityPerimeterConfigurations", + "properties": { + "provisioningState": "Accepted", + "provisioningIssues": [], + "networkSecurityPerimeter": { + "id": "/subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/networkSecurityPerimeters/myPerimeter", + "perimeterGuid": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", + "location": "westus" + }, + "resourceAssociation": { + "name": "myAssociation", + "accessMode": "enforced" + }, + "profile": { + "name": "myProfile", + "accessRulesVersion": 1, + "accessRules": [ + { + "name": "myAccessRule", + "properties": { + "direction": "Inbound", + "addressPrefixes": [ + "148.0.0.0/8", + "152.4.6.0/24", + "..." + ] + } + } + ], + "diagnosticSettingsVersion": 1, + "enabledLogCategories": [] + } + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/my-resource-group/providers/Microsoft.HybridCompute/privateLinkScopes/my-privatelinkscope/networkSecurityPerimeterConfigurations/37364608-77ea-4c2a-bdc3-4b0b1cdfab15.myAssociation2", + "name": "aaaaaaaa-0000-cccc-1111-eeeeeeeeeeee.myAssociation2", + "type": "Microsoft.HybridCompute/privateLinkScopes/networkSecurityPerimeterConfigurations", + "properties": { + "provisioningState": "Accepted", + "provisioningIssues": [], + "networkSecurityPerimeter": { + "id": "/subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/networkSecurityPerimeters/myOtherPerimeter", + "perimeterGuid": "aaaaaaaa-0000-cccc-1111-eeeeeeeeeeee", + "location": "westus" + }, + "resourceAssociation": { + "name": "myAssociation", + "accessMode": "learning" + }, + "profile": { + "name": "myProfile", + "accessRulesVersion": 1, + "accessRules": [ + { + "name": "myAccessRule", + "properties": { + "direction": "Inbound", + "addressPrefixes": [ + "122.0.0.0/8", + "144.4.6.0/24", + "..." + ] + } + } + ], + "diagnosticSettingsVersion": 1, + "enabledLogCategories": [] + } + } + } + ] + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationReconcile.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationReconcile.json new file mode 100644 index 000000000000..2f8ee83788e4 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationReconcile.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "api-version": "2025-09-16-preview", + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "my-resource-group", + "scopeName": "my-privatelinkscope", + "perimeterName": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee.myAssociation" + }, + "responses": { + "200": { + "body": { + "location": "{callbackUrl}" + } + }, + "202": { + "headers": { + "Location": "{callbackUrl}", + "Retry-After": 200, + "Azure-AsyncOperation": "{callbackUri}" + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/privateEndpoint/PrivateEndpointConnection_Delete.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/privateEndpoint/PrivateEndpointConnection_Delete.json new file mode 100644 index 000000000000..a43e0c6ddfeb --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/privateEndpoint/PrivateEndpointConnection_Delete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "myResourceGroup", + "scopeName": "myPrivateLinkScope", + "privateEndpointConnectionName": "private-endpoint-connection-name", + "api-version": "2025-09-16-preview" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "{callbackUrl}", + "Retry-After": 200, + "Azure-AsyncOperation": "{callbackUri}" + } + }, + "204": {} + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/privateEndpoint/PrivateEndpointConnection_Get.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/privateEndpoint/PrivateEndpointConnection_Get.json new file mode 100644 index 000000000000..90541985559d --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/privateEndpoint/PrivateEndpointConnection_Get.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "myResourceGroup", + "scopeName": "myPrivateLinkScope", + "privateEndpointConnectionName": "private-endpoint-connection-name", + "api-version": "2025-09-16-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/myPrivateLinkScope/privateEndpointConnections/private-endpoint-connection-name", + "name": "private-endpoint-connection-name", + "type": "Microsoft.HybridCompute/privateLinkScopes/privateEndpointConnections", + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/privateEndpoints/private-endpoint-name" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-approved", + "actionsRequired": "None" + }, + "groupIds": [ + "hybridcompute" + ] + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/privateEndpoint/PrivateEndpointConnection_List.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/privateEndpoint/PrivateEndpointConnection_List.json new file mode 100644 index 000000000000..0bab3eb1bebd --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/privateEndpoint/PrivateEndpointConnection_List.json @@ -0,0 +1,54 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "myResourceGroup", + "scopeName": "myPrivateLinkScope", + "api-version": "2025-09-16-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/myPrivateLinkScope/privateEndpointConnections/private-endpoint-connection-name-2", + "name": "private-endpoint-connection-name", + "type": "Microsoft.HybridCompute/privateLinkScopes/privateEndpointConnections", + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/privateEndpoints/private-endpoint-name" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-approved", + "actionsRequired": "None" + }, + "groupIds": [ + "hybridcompute" + ] + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/myPrivateLinkScope/privateEndpointConnections/private-endpoint-connection-name-2", + "name": "private-endpoint-connection-name-2", + "type": "Microsoft.HybridCompute/privateLinkScopes/privateEndpointConnections", + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/privateEndpoints/private-endpoint-name-2" + }, + "privateLinkServiceConnectionState": { + "status": "Pending", + "description": "Please approve my connection.", + "actionsRequired": "None" + }, + "groupIds": [ + "hybridcompute" + ] + } + } + ] + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/privateEndpoint/PrivateEndpointConnection_Update.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/privateEndpoint/PrivateEndpointConnection_Update.json new file mode 100644 index 000000000000..d372d0e8809e --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/privateEndpoint/PrivateEndpointConnection_Update.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "myResourceGroup", + "scopeName": "myPrivateLinkScope", + "privateEndpointConnectionName": "private-endpoint-connection-name", + "api-version": "2025-09-16-preview", + "parameters": { + "properties": { + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Approved by johndoe@contoso.com" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/myPrivateLinkScope/privateEndpointConnections/private-endpoint-connection-name", + "name": "private-endpoint-connection-name", + "type": "Microsoft.HybridCompute/privateLinkScopes/privateEndpointConnections", + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/privateEndpoints/private-endpoint-name" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Approved by johndoe@contoso.com", + "actionsRequired": "None" + }, + "groupIds": [ + "hybridcompute" + ] + } + } + }, + "202": {} + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/privateLinkScope/PrivateLinkScopePrivateLinkResource_Get.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/privateLinkScope/PrivateLinkScopePrivateLinkResource_Get.json new file mode 100644 index 000000000000..47abf80f0f5a --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/privateLinkScope/PrivateLinkScopePrivateLinkResource_Get.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "myResourceGroup", + "scopeName": "myPrivateLinkScope", + "api-version": "2025-09-16-preview", + "groupName": "hybridcompute" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/myPrivateLinkScope/privateLinkResources/hybridcompute", + "name": "hybridcompute", + "type": "Microsoft.HybridCompute/privateLinkScopes/privateLinkResources", + "properties": { + "groupId": "hybridcompute", + "requiredMembers": [ + "HybridCompute.Server", + "HybridCompute.K8sConfiguration", + "GuestConfig.DP" + ], + "requiredZoneNames": [ + "privatelink.his.arc.azure.com", + "privatelink.kubernetesconfiguration.azure.com", + "privatelink.Guestconfiguration.azure.com" + ] + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/privateLinkScope/PrivateLinkScopePrivateLinkResource_ListGet.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/privateLinkScope/PrivateLinkScopePrivateLinkResource_ListGet.json new file mode 100644 index 000000000000..276a43f3b5b0 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/privateLinkScope/PrivateLinkScopePrivateLinkResource_ListGet.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "myResourceGroup", + "scopeName": "myPrivateLinkScope", + "api-version": "2025-09-16-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/myPrivateLinkScope/privateLinkResources/hybridcompute", + "name": "hybridcompute", + "type": "Microsoft.HybridCompute/privateLinkScopes/privateLinkResources", + "properties": { + "groupId": "hybridcompute", + "requiredMembers": [ + "HybridCompute.ServerDP", + "HybridCompute.K8sConfigurationDP", + "HybridCompute.GuestConfigDP" + ], + "requiredZoneNames": [ + "privatelink.his.arc.azure.com", + "privatelink.kubernetesconfiguration.azure.com", + "privatelink.Guestconfiguration.azure.com" + ] + } + } + ], + "nextLink": null + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/privateLinkScope/PrivateLinkScopes_Create.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/privateLinkScope/PrivateLinkScopes_Create.json new file mode 100644 index 000000000000..1da16801dff2 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/privateLinkScope/PrivateLinkScopes_Create.json @@ -0,0 +1,89 @@ +{ + "parameters": { + "api-version": "2025-09-16-preview", + "subscriptionId": "86dc51d3-92ed-4d7e-947a-775ea79b4919", + "resourceGroupName": "my-resource-group", + "scopeName": "my-privatelinkscope", + "parameters": { + "location": "westus" + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4919/resourceGroups/my-resource-group/providers/microsoft.hybridcompute/privateLinkScopes/my-privatelinkscope", + "name": "my-privatelinkscope", + "type": "Microsoft.HybridCompute/privateLinkScopes", + "location": "westus", + "tags": {}, + "properties": { + "privateLinkScopeId": "e5dc51d3-92ed-4d7e-947a-775ea79b4919", + "provisioningState": "Succeeded", + "publicNetworkAccess": "Disabled", + "privateEndpointConnections": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/myPrivateLinkScope/privateEndpointConnections/private-endpoint-connection-name", + "name": "private-endpoint-connection-name", + "type": "Microsoft.HybridCompute/privateLinkScopes/privateEndpointConnections", + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/privateEndpoints/private-endpoint-name" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-approved", + "actionsRequired": "None" + } + } + } + ], + "serviceExtensions": [ + { + "serviceExtensionType": "SQL", + "serviceExtensionPublicNetworkAccess": "Enabled" + } + ] + } + } + }, + "201": { + "body": { + "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4919/resourceGroups/my-resource-group/providers/microsoft.hybridcompute/privateLinkScopes/my-privatelinkscope", + "name": "my-privatelinkscope", + "type": "Microsoft.HybridCompute/privateLinkScopes", + "location": "westus", + "tags": {}, + "properties": { + "privateLinkScopeId": "e5dc51d3-92ed-4d7e-947a-775ea79b4919", + "provisioningState": "Succeeded", + "publicNetworkAccess": "Disabled", + "privateEndpointConnections": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/myPrivateLinkScope/privateEndpointConnections/private-endpoint-connection-name", + "name": "private-endpoint-connection-name", + "type": "Microsoft.HybridCompute/privateLinkScopes/privateEndpointConnections", + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/privateEndpoints/private-endpoint-name" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-approved", + "actionsRequired": "None" + } + } + } + ], + "serviceExtensions": [ + { + "serviceExtensionType": "SQL", + "serviceExtensionPublicNetworkAccess": "Enabled" + } + ] + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/privateLinkScope/PrivateLinkScopes_Delete.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/privateLinkScope/PrivateLinkScopes_Delete.json new file mode 100644 index 000000000000..084d331bcc7c --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/privateLinkScope/PrivateLinkScopes_Delete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2025-09-16-preview", + "subscriptionId": "86dc51d3-92ed-4d7e-947a-775ea79b4919", + "resourceGroupName": "my-resource-group", + "scopeName": "my-privatelinkscope" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Location": "{callbackUrl}", + "Retry-After": 200, + "Azure-AsyncOperation": "{callbackUri}" + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/privateLinkScope/PrivateLinkScopes_Get.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/privateLinkScope/PrivateLinkScopes_Get.json new file mode 100644 index 000000000000..395c43eef732 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/privateLinkScope/PrivateLinkScopes_Get.json @@ -0,0 +1,48 @@ +{ + "parameters": { + "api-version": "2025-09-16-preview", + "subscriptionId": "86dc51d3-92ed-4d7e-947a-775ea79b4919", + "resourceGroupName": "my-resource-group", + "scopeName": "my-privatelinkscope" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4919/resourceGroups/my-resource-group/providers/microsoft.hybridcompute/privateLinkScopes/my-privatelinkscope", + "name": "my-privatelinkscope", + "type": "Microsoft.HybridCompute/privateLinkScopes", + "location": "westus", + "tags": {}, + "properties": { + "privateLinkScopeId": "f5dc51d3-92ed-4d7e-947a-775ea79b4919", + "provisioningState": "Succeeded", + "publicNetworkAccess": "Disabled", + "privateEndpointConnections": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/myPrivateLinkScope/privateEndpointConnections/private-endpoint-connection-name", + "name": "private-endpoint-connection-name", + "type": "Microsoft.HybridCompute/privateLinkScopes/privateEndpointConnections", + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/privateEndpoints/private-endpoint-name" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-approved", + "actionsRequired": "None" + } + } + } + ], + "serviceExtensions": [ + { + "serviceExtensionType": "SQL", + "serviceExtensionPublicNetworkAccess": "Enabled" + } + ] + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/privateLinkScope/PrivateLinkScopes_GetValidation.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/privateLinkScope/PrivateLinkScopes_GetValidation.json new file mode 100644 index 000000000000..c193db009cbf --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/privateLinkScope/PrivateLinkScopes_GetValidation.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2025-09-16-preview", + "location": "wus2", + "subscriptionId": "86dc51d3-92ed-4d7e-947a-775ea79b4919", + "privateLinkScopeId": "f5dc51d3-92ed-4d7e-947a-775ea79b4919" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4919/resourceGroups/my-resource-group/providers/microsoft.hybridcompute/privateLinkScopes/my-privatelinkscope", + "publicNetworkAccess": "Disabled", + "connectionDetails": [ + { + "id": "id", + "privateIpAddress": "ip", + "linkIdentifier": "linkId", + "groupId": "groupId", + "memberName": "memberName" + } + ] + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/privateLinkScope/PrivateLinkScopes_GetValidationForMachine.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/privateLinkScope/PrivateLinkScopes_GetValidationForMachine.json new file mode 100644 index 000000000000..483810752dc9 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/privateLinkScope/PrivateLinkScopes_GetValidationForMachine.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2025-09-16-preview", + "location": "wus2", + "subscriptionId": "86dc51d3-92ed-4d7e-947a-775ea79b4919", + "resourceGroupName": "my-resource-group", + "machineName": "machineName" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4919/resourceGroups/my-resource-group/providers/microsoft.hybridcompute/privateLinkScopes/my-privatelinkscope", + "publicNetworkAccess": "Disabled", + "connectionDetails": [ + { + "id": "id", + "privateIpAddress": "ip", + "linkIdentifier": "linkId", + "groupId": "groupId", + "memberName": "memberName" + } + ] + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/privateLinkScope/PrivateLinkScopes_List.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/privateLinkScope/PrivateLinkScopes_List.json new file mode 100644 index 000000000000..79cf3584006e --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/privateLinkScope/PrivateLinkScopes_List.json @@ -0,0 +1,69 @@ +{ + "parameters": { + "api-version": "2025-09-16-preview", + "subscriptionId": "86dc51d3-92ed-4d7e-947a-775ea79b4919" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4919/resourceGroups/my-resource-group/providers/microsoft.hybridcompute/privateLinkScopes/my-privatelinkscope", + "name": "my-privatelinkscope", + "type": "Microsoft.HybridCompute/privateLinkScopes", + "location": "westus", + "tags": {}, + "properties": { + "privateLinkScopeId": "e5dc51d3-92ed-4d7e-947a-775ea79b4919", + "provisioningState": "Succeeded", + "publicNetworkAccess": "Disabled", + "serviceExtensions": [ + { + "serviceExtensionType": "SQL", + "serviceExtensionPublicNetworkAccess": "Enabled" + } + ] + } + }, + { + "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4919/resourceGroups/my-resource-group/providers/microsoft.hybridcompute/privateLinkScopes/my-other-privatelinkscope", + "name": "my-other-privatelinkscope", + "type": "Microsoft.HybridCompute/privateLinkScopes", + "location": "westus", + "tags": {}, + "properties": { + "privateLinkScopeId": "f5dc51d3-92ed-4d7e-947a-775ea79b4919", + "provisioningState": "Succeeded", + "publicNetworkAccess": "Disabled", + "privateEndpointConnections": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/myPrivateLinkScope/privateEndpointConnections/private-endpoint-connection-name", + "name": "private-endpoint-connection-name", + "type": "Microsoft.HybridCompute/privateLinkScopes/privateEndpointConnections", + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/privateEndpoints/private-endpoint-name" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-approved", + "actionsRequired": "None" + } + } + } + ], + "serviceExtensions": [ + { + "serviceExtensionType": "SQL", + "serviceExtensionPublicNetworkAccess": "Enabled" + } + ] + } + } + ], + "nextLink": null + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/privateLinkScope/PrivateLinkScopes_ListByResourceGroup.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/privateLinkScope/PrivateLinkScopes_ListByResourceGroup.json new file mode 100644 index 000000000000..daca6d8ac55f --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/privateLinkScope/PrivateLinkScopes_ListByResourceGroup.json @@ -0,0 +1,88 @@ +{ + "parameters": { + "api-version": "2025-09-16-preview", + "subscriptionId": "86dc51d3-92ed-4d7e-947a-775ea79b4919", + "resourceGroupName": "my-resource-group" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4919/resourceGroups/my-resource-group/providers/microsoft.hybridcompute/privateLinkScopes/my-privatelinkscope", + "name": "my-privatelinkscope", + "type": "Microsoft.HybridCompute/privateLinkScopes", + "location": "westus", + "tags": {}, + "properties": { + "privateLinkScopeId": "f5dc51d3-92ed-4d7e-947a-775ea79b4919", + "provisioningState": "Succeeded", + "publicNetworkAccess": "Disabled", + "privateEndpointConnections": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/myPrivateLinkScope/privateEndpointConnections/private-endpoint-connection-name", + "name": "private-endpoint-connection-name", + "type": "Microsoft.HybridCompute/privateLinkScopes/privateEndpointConnections", + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/privateEndpoints/private-endpoint-name" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-approved", + "actionsRequired": "None" + } + } + } + ], + "serviceExtensions": [ + { + "serviceExtensionType": "SQL", + "serviceExtensionPublicNetworkAccess": "Enabled" + } + ] + } + }, + { + "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4919/resourceGroups/my-resource-group/providers/microsoft.hybridcompute/privateLinkScopes/my-other-privatelinkscope", + "name": "my-other-privatelinkscope", + "type": "Microsoft.HybridCompute/privateLinkScopes", + "location": "westus", + "tags": {}, + "properties": { + "privateLinkScopeId": "a5dc51d3-92ed-4d7e-947a-775ea79b4919", + "provisioningState": "Succeeded", + "publicNetworkAccess": "Disabled", + "privateEndpointConnections": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/myPrivateLinkScope/privateEndpointConnections/private-endpoint-connection-name", + "name": "private-endpoint-connection-name", + "type": "Microsoft.HybridCompute/privateLinkScopes/privateEndpointConnections", + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/privateEndpoints/private-endpoint-name" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-approved", + "actionsRequired": "None" + } + } + } + ], + "serviceExtensions": [ + { + "serviceExtensionType": "SQL", + "serviceExtensionPublicNetworkAccess": "Enabled" + } + ] + } + } + ], + "nextLink": null + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/privateLinkScope/PrivateLinkScopes_Update.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/privateLinkScope/PrivateLinkScopes_Update.json new file mode 100644 index 000000000000..fc9580a9b7bd --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/privateLinkScope/PrivateLinkScopes_Update.json @@ -0,0 +1,96 @@ +{ + "parameters": { + "api-version": "2025-09-16-preview", + "subscriptionId": "86dc51d3-92ed-4d7e-947a-775ea79b4919", + "resourceGroupName": "my-resource-group", + "scopeName": "my-privatelinkscope", + "parameters": { + "location": "westus", + "tags": { + "Tag1": "Value1" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4919/resourceGroups/my-resource-group/providers/microsoft.hybridCompute/privateLinkScopes/my-privatelinkscope", + "name": "my-privatelinkscope", + "type": "Microsoft.HybridCompute/privateLinkScopes", + "location": "westus", + "tags": { + "Tag1": "Value1" + }, + "properties": { + "privateLinkScopeId": "e5dc51d3-92ed-4d7e-947a-775ea79b4919", + "provisioningState": "Succeeded", + "publicNetworkAccess": "Disabled", + "privateEndpointConnections": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/myPrivateLinkScope/privateEndpointConnections/private-endpoint-connection-name", + "name": "private-endpoint-connection-name", + "type": "Microsoft.HybridCompute/privateLinkScopes/privateEndpointConnections", + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/privateEndpoints/private-endpoint-name" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-approved", + "actionsRequired": "None" + } + } + } + ], + "serviceExtensions": [ + { + "serviceExtensionType": "SQL", + "serviceExtensionPublicNetworkAccess": "Enabled" + } + ] + } + } + }, + "201": { + "body": { + "id": "/subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4919/resourceGroups/my-resource-group/providers/microsoft.hybridCompute/privateLinkScopes/my-privatelinkscope", + "name": "my-privatelinkscope", + "type": "Microsoft.HybridCompute/privateLinkScopes", + "location": "westus", + "tags": { + "Tag1": "Value1" + }, + "properties": { + "privateLinkScopeId": "e5dc51d3-92ed-4d7e-947a-775ea79b4919", + "provisioningState": "Succeeded", + "publicNetworkAccess": "Disabled", + "privateEndpointConnections": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/myPrivateLinkScope/privateEndpointConnections/private-endpoint-connection-name", + "name": "private-endpoint-connection-name", + "type": "Microsoft.HybridCompute/privateLinkScopes/privateEndpointConnections", + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/privateEndpoints/private-endpoint-name" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-approved", + "actionsRequired": "None" + } + } + } + ], + "serviceExtensions": [ + { + "serviceExtensionType": "SQL", + "serviceExtensionPublicNetworkAccess": "Enabled" + } + ] + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/privateLinkScope/PrivateLinkScopes_UpdateTagsOnly.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/privateLinkScope/PrivateLinkScopes_UpdateTagsOnly.json new file mode 100644 index 000000000000..76470f7299c0 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/privateLinkScope/PrivateLinkScopes_UpdateTagsOnly.json @@ -0,0 +1,57 @@ +{ + "parameters": { + "api-version": "2025-09-16-preview", + "subscriptionId": "subid", + "resourceGroupName": "my-resource-group", + "scopeName": "my-privatelinkscope", + "PrivateLinkScopeTags": { + "tags": { + "Tag1": "Value1", + "Tag2": "Value2" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/my-resource-group/providers/microsoft.hybridcompute/privateLinkScopes/my-privatelinkscope", + "name": "my-privatelinkscope", + "type": "Microsoft.HybridCompute/privateLinkScopes", + "location": "westus", + "tags": { + "Tag1": "Value1", + "Tag2": "Value2" + }, + "properties": { + "privateLinkScopeId": "e5dc51d3-92ed-4d7e-947a-775ea79b4919", + "provisioningState": "Succeeded", + "publicNetworkAccess": "Disabled", + "privateEndpointConnections": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/privateLinkScopes/myPrivateLinkScope/privateEndpointConnections/private-endpoint-connection-name", + "name": "private-endpoint-connection-name", + "type": "Microsoft.HybridCompute/privateLinkScopes/privateEndpointConnections", + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/55555555-6666-7777-8888-999999999999/resourceGroups/Default-Network/providers/Microsoft.Network/privateEndpoints/private-endpoint-name" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-approved", + "actionsRequired": "None" + } + } + } + ], + "serviceExtensions": [ + { + "serviceExtensionType": "SQL", + "serviceExtensionPublicNetworkAccess": "Enabled" + } + ] + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/runCommand/RunCommands_CreateOrUpdate.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/runCommand/RunCommands_CreateOrUpdate.json new file mode 100644 index 000000000000..0091aaf51ec7 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/runCommand/RunCommands_CreateOrUpdate.json @@ -0,0 +1,98 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "machineName": "myMachine", + "runCommandName": "myRunCommand", + "api-version": "2025-09-16-preview", + "runCommandProperties": { + "location": "eastus2", + "properties": { + "source": { + "script": "Write-Host Hello World!" + }, + "parameters": [ + { + "name": "param1", + "value": "value1" + }, + { + "name": "param2", + "value": "value2" + } + ], + "asyncExecution": false, + "runAsUser": "user1", + "runAsPassword": "", + "timeoutInSeconds": 3600, + "outputBlobUri": "https://mystorageaccount.blob.core.windows.net/myscriptoutputcontainer/MyScriptoutput.txt", + "errorBlobUri": "https://mystorageaccount.blob.core.windows.net/mycontainer/MyScriptError.txt" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/Machines/myMachine/runcommands/myRunCommand", + "name": "myRunCommand", + "type": "Microsoft.HybridCompute/machines/runcommands", + "location": "eastus2", + "properties": { + "source": { + "script": "Write-Host Hello World!" + }, + "parameters": [ + { + "name": "param1", + "value": "value1" + }, + { + "name": "param2", + "value": "value2" + } + ], + "asyncExecution": false, + "runAsUser": "user1", + "timeoutInSeconds": 3600, + "outputBlobUri": "https://mystorageaccount.blob.core.windows.net/myscriptoutputcontainer/MyScriptoutput.txt", + "errorBlobUri": "https://mystorageaccount.blob.core.windows.net/mycontainer/MyScriptError.txt", + "provisioningState": "Succeeded" + } + } + }, + "201": { + "headers": { + "Location": "{callbackUrl}", + "Retry-After": 200, + "Azure-AsyncOperation": "{callbackUri}" + }, + "body": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/Machines/myMachine/runcommands/myRunCommand", + "name": "myRunCommand", + "type": "Microsoft.HybridCompute/machines/runcommands", + "location": "eastus2", + "properties": { + "source": { + "script": "Write-Host Hello World!" + }, + "parameters": [ + { + "name": "param1", + "value": "value1" + }, + { + "name": "param2", + "value": "value2" + } + ], + "asyncExecution": false, + "runAsUser": "user1", + "timeoutInSeconds": 3600, + "outputBlobUri": "https://mystorageaccount.blob.core.windows.net/myscriptoutputcontainer/MyScriptoutput.txt", + "errorBlobUri": "https://mystorageaccount.blob.core.windows.net/mycontainer/MyScriptError.txt", + "provisioningState": "Creating" + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/runCommand/RunCommands_Delete.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/runCommand/RunCommands_Delete.json new file mode 100644 index 000000000000..04062f5330ef --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/runCommand/RunCommands_Delete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "machineName": "myMachine", + "runCommandName": "myRunCommand", + "api-version": "2025-09-16-preview" + }, + "responses": { + "202": { + "headers": { + "Location": "{callbackUrl}", + "Retry-After": 200, + "Azure-AsyncOperation": "{callbackUri}" + } + }, + "204": {} + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/runCommand/RunCommands_Get.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/runCommand/RunCommands_Get.json new file mode 100644 index 000000000000..267338323a91 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/runCommand/RunCommands_Get.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "machineName": "myMachine", + "runCommandName": "myRunCommand", + "api-version": "2025-09-16-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/Machines/myMachine/runcommands/myRunCommand", + "name": "myRunCommand", + "type": "Microsoft.HybridCompute/machines/runcommands", + "location": "eastus2", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "source": { + "script": "Write-Host Hello World!" + }, + "parameters": [ + { + "name": "param1", + "value": "value1" + }, + { + "name": "param2", + "value": "value2" + } + ], + "protectedParameters": [], + "asyncExecution": false, + "runAsUser": "user1", + "timeoutInSeconds": 3600, + "provisioningState": "Succeeded", + "instanceView": { + "executionState": "Succeeded", + "executionMessage": "", + "exitCode": 0, + "output": "Hello World", + "error": "", + "startTime": "2023-06-15T20:48:41.4641785+00:00", + "endTime": "2023-06-15T20:48:41.4641785+00:00" + } + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/runCommand/RunCommands_List.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/runCommand/RunCommands_List.json new file mode 100644 index 000000000000..c2523b04e0e2 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/runCommand/RunCommands_List.json @@ -0,0 +1,77 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "machineName": "myMachine", + "api-version": "2025-09-16-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/Machines/myMachine/runcommands/myRunCommand_1", + "name": "myRunCommand_1", + "location": "eastus2", + "type": "Microsoft.HybridCompute/machines/runcommands", + "properties": { + "source": { + "script": "Write-Host Hello World!" + }, + "parameters": [ + { + "name": "param1", + "value": "value1" + }, + { + "name": "param2", + "value": "value2" + } + ], + "protectedParameters": [], + "asyncExecution": false, + "runAsUser": "user1", + "timeoutInSeconds": 3600, + "provisioningState": "Succeeded", + "instanceView": { + "executionState": "Succeeded", + "executionMessage": "", + "exitCode": 0, + "output": "Hello World", + "error": "", + "startTime": "2023-06-15T20:48:41.4641785+00:00", + "endTime": "2023-06-15T20:48:41.4641785+00:00" + } + } + }, + { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/Machines/myMachine/runcommands/myRunCommand_2", + "name": "myRunCommand_2", + "location": "eastus2", + "type": "Microsoft.HybridCompute/machines/runcommands", + "properties": { + "source": { + "script": "Get-Process | Where-Object { $_.CPU -gt 10000 }" + }, + "parameters": [], + "protectedParameters": [], + "asyncExecution": false, + "runAsUser": "userA", + "timeoutInSeconds": 100, + "provisioningState": "Succeeded", + "instanceView": { + "executionState": "Succeeded", + "executionMessage": "", + "exitCode": 0, + "output": "", + "error": "", + "startTime": "2023-06-15T20:48:41.4641785+00:00", + "endTime": "2023-06-15T20:48:41.4641785+00:00" + } + } + } + ] + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/runCommand/RunCommands_Update.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/runCommand/RunCommands_Update.json new file mode 100644 index 000000000000..a6b84db1f67b --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/runCommand/RunCommands_Update.json @@ -0,0 +1,62 @@ +{ + "parameters": { + "subscriptionId": "{subscriptionId}", + "resourceGroupName": "myResourceGroup", + "machineName": "myMachine", + "runCommandName": "myRunCommand", + "api-version": "2025-09-16-preview", + "runCommandProperties": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/Machines/myMachine/runcommands/myRunCommand", + "name": "myRunCommand", + "type": "Microsoft.HybridCompute/machines/runcommands", + "location": "eastus2", + "properties": { + "source": { + "script": "Write-Host Hello World!" + }, + "parameters": [ + { + "name": "param1", + "value": "value1" + }, + { + "name": "param2", + "value": "value2" + } + ], + "asyncExecution": false, + "runAsUser": "user1", + "timeoutInSeconds": 3600, + "outputBlobUri": "https://mystorageaccount.blob.core.windows.net/myscriptoutputcontainer/MyScriptoutput.txt", + "errorBlobUri": "https://mystorageaccount.blob.core.windows.net/mycontainer/MyScriptError.txt", + "provisioningState": "Succeeded", + "instanceView": { + "executionState": "Succeeded", + "executionMessage": "", + "exitCode": 0, + "output": "Hello World", + "error": "", + "startTime": "2023-06-15T20:48:41.4641785+00:00", + "endTime": "2023-06-15T20:48:41.4641785+00:00" + } + } + } + }, + "202": { + "headers": { + "Location": "{callbackUrl}", + "Retry-After": 200, + "Azure-AsyncOperation": "{callbackUri}" + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/settings/SettingsGet.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/settings/SettingsGet.json new file mode 100644 index 000000000000..ed1048f4fac4 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/settings/SettingsGet.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "hybridRG", + "baseProvider": "Microsoft.HybridCompute", + "baseResourceType": "machines", + "baseResourceName": "testMachine", + "settingsResourceName": "default", + "api-version": "2025-09-16-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridCompute/settings/default", + "name": "current", + "type": "Microsoft.HybridCompute/settings", + "properties": { + "tenantId": "00000000-1111-2222-5555-444444444444", + "gatewayProperties": { + "gatewayResourceId": "/subscriptions/{subscriptionId}/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/gateways/newGateway" + } + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/settings/SettingsPatch.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/settings/SettingsPatch.json new file mode 100644 index 000000000000..fc14f58afd29 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/settings/SettingsPatch.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "hybridRG", + "baseProvider": "Microsoft.HybridCompute", + "baseResourceType": "machines", + "baseResourceName": "testMachine", + "settingsResourceName": "default", + "api-version": "2025-09-16-preview", + "parameters": { + "properties": { + "gatewayProperties": { + "gatewayResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/gateways/newGateway" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridCompute/settings/default", + "name": "current", + "type": "Microsoft.HybridCompute/settings", + "properties": { + "tenantId": "00000000-1111-2222-5555-444444444444", + "gatewayProperties": { + "gatewayResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/gateways/newGateway" + } + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/settings/SettingsUpdate.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/settings/SettingsUpdate.json new file mode 100644 index 000000000000..44c7b495731d --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/examples/settings/SettingsUpdate.json @@ -0,0 +1,46 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "hybridRG", + "baseProvider": "Microsoft.HybridCompute", + "baseResourceType": "machines", + "baseResourceName": "testMachine", + "settingsResourceName": "default", + "api-version": "2025-09-16-preview", + "parameters": { + "properties": { + "gatewayProperties": { + "gatewayResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/gateways/newGateway" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridCompute/settings/default", + "name": "current", + "type": "Microsoft.HybridCompute/settings", + "properties": { + "tenantId": "00000000-1111-2222-5555-444444444444", + "gatewayProperties": { + "gatewayResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/gateways/newGateway" + } + } + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridCompute/settings/default", + "name": "current", + "type": "Microsoft.HybridCompute/settings", + "properties": { + "tenantId": "00000000-1111-2222-5555-444444444444", + "gatewayProperties": { + "gatewayResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/gateways/newGateway" + } + } + } + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/privateLinkScopes.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/privateLinkScopes.json new file mode 100644 index 000000000000..764f66dcdfd4 --- /dev/null +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/preview/2025-09-16-preview/privateLinkScopes.json @@ -0,0 +1,1982 @@ +{ + "swagger": "2.0", + "info": { + "title": "HybridComputeManagementClient", + "x-ms-code-generation-settings": { + "name": "HybridComputeManagementClient" + }, + "description": "Azure Arc( Servers and K8s Clusters) API reference for Private Link's Scopes management.", + "version": "2025-09-16-preview" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/privateLinkScopes": { + "get": { + "description": "Gets a list of all Azure Arc PrivateLinkScopes within a subscription.", + "operationId": "PrivateLinkScopes_List", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "A list containing 0 or more Azure Arc PrivateLinkScope definitions.", + "schema": { + "$ref": "#/definitions/HybridComputePrivateLinkScopeListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PrivateLinkScopesList.json": { + "$ref": "./examples/privateLinkScope/PrivateLinkScopes_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes": { + "get": { + "description": "Gets a list of Azure Arc PrivateLinkScopes within a resource group.", + "operationId": "PrivateLinkScopes_ListByResourceGroup", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "A list containing 0 or more Azure Arc PrivateLinkScope definitions.", + "schema": { + "$ref": "#/definitions/HybridComputePrivateLinkScopeListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PrivateLinkScopeListByResourceGroup": { + "$ref": "./examples/privateLinkScope/PrivateLinkScopes_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}": { + "delete": { + "description": "Deletes a Azure Arc PrivateLinkScope.", + "operationId": "PrivateLinkScopes_Delete", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/PrivateLinkScopeName" + } + ], + "responses": { + "200": { + "description": "Successful request when deleting an Azure Arc PrivateLinkScope." + }, + "202": { + "description": "Accepted.", + "headers": { + "Location": { + "description": "The URL of the resource used to check the status of the asynchronous operation.", + "type": "string" + }, + "Retry-After": { + "description": "The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation.", + "type": "integer", + "format": "int32" + }, + "Azure-AsyncOperation": { + "description": "The URI to poll for completion status.", + "type": "string" + } + } + }, + "204": { + "description": "The specified PrivateLinkScope does not exist." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "PrivateLinkScopesDelete": { + "$ref": "./examples/privateLinkScope/PrivateLinkScopes_Delete.json" + } + } + }, + "get": { + "description": "Returns a Azure Arc PrivateLinkScope.", + "operationId": "PrivateLinkScopes_Get", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/PrivateLinkScopeName" + } + ], + "responses": { + "200": { + "description": "Azure Arc PrivateLinkScope definition.", + "schema": { + "$ref": "#/definitions/HybridComputePrivateLinkScope" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PrivateLinkScopeGet": { + "$ref": "./examples/privateLinkScope/PrivateLinkScopes_Get.json" + } + } + }, + "put": { + "description": "Creates (or updates) a Azure Arc PrivateLinkScope. Note: You cannot specify a different value for InstrumentationKey nor AppId in the Put operation.", + "operationId": "PrivateLinkScopes_CreateOrUpdate", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/PrivateLinkScopeName" + }, + { + "name": "parameters", + "description": "Properties that need to be specified to create or update a Azure Arc for Servers and Clusters PrivateLinkScope.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/HybridComputePrivateLinkScope" + } + } + ], + "responses": { + "200": { + "description": "Successful request when creating or updating a Azure Arc PrivateLinkScope. The updated PrivateLinkScope is returned.", + "schema": { + "$ref": "#/definitions/HybridComputePrivateLinkScope" + } + }, + "201": { + "description": "Successful request when creating or updating a Azure Arc PrivateLinkScope. The updated PrivateLinkScope was created and is returned.", + "schema": { + "$ref": "#/definitions/HybridComputePrivateLinkScope" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PrivateLinkScopeCreate": { + "$ref": "./examples/privateLinkScope/PrivateLinkScopes_Create.json" + }, + "PrivateLinkScopeUpdate": { + "$ref": "./examples/privateLinkScope/PrivateLinkScopes_Update.json" + } + } + }, + "patch": { + "description": "Updates an existing PrivateLinkScope's tags. To update other fields use the CreateOrUpdate method.", + "operationId": "PrivateLinkScopes_UpdateTags", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/PrivateLinkScopeName" + }, + { + "name": "PrivateLinkScopeTags", + "description": "Updated tag information to set into the PrivateLinkScope instance.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/TagsResource" + } + } + ], + "responses": { + "200": { + "description": "Updating the Azure Arc PrivateLinkScope's tags was successful. PrivateLinkScope tags are updated and returned with the rest of the PrivateLinkScope's object properties.", + "schema": { + "$ref": "#/definitions/HybridComputePrivateLinkScope" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PrivateLinkScopeUpdateTagsOnly": { + "$ref": "./examples/privateLinkScope/PrivateLinkScopes_UpdateTagsOnly.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/privateLinkResources": { + "get": { + "tags": [ + "PrivateLinkResources" + ], + "description": "Gets the private link resources that need to be created for a Azure Monitor PrivateLinkScope.", + "operationId": "PrivateLinkResources_ListByPrivateLinkScope", + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/PrivateLinkScopeName" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved private link resources.", + "schema": { + "$ref": "#/definitions/PrivateLinkResourceListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Gets private endpoint connection.": { + "$ref": "./examples/privateLinkScope/PrivateLinkScopePrivateLinkResource_ListGet.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/privateLinkResources/{groupName}": { + "get": { + "tags": [ + "PrivateLinkResources" + ], + "description": "Gets the private link resources that need to be created for a Azure Monitor PrivateLinkScope.", + "operationId": "PrivateLinkResources_Get", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/PrivateLinkScopeName" + }, + { + "$ref": "#/parameters/GroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved a specified private link resource.", + "schema": { + "$ref": "#/definitions/PrivateLinkResource" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Gets private endpoint connection.": { + "$ref": "./examples/privateLinkScope/PrivateLinkScopePrivateLinkResource_Get.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/privateEndpointConnections/{privateEndpointConnectionName}": { + "get": { + "tags": [ + "PrivateEndpointConnections" + ], + "description": "Gets a private endpoint connection.", + "operationId": "PrivateEndpointConnections_Get", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/PrivateLinkScopeName" + }, + { + "name": "privateEndpointConnectionName", + "in": "path", + "description": "The name of the private endpoint connection.", + "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": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Gets private endpoint connection.": { + "$ref": "./examples/privateEndpoint/PrivateEndpointConnection_Get.json" + } + } + }, + "put": { + "tags": [ + "PrivateEndpointConnections" + ], + "description": "Approve or reject a private endpoint connection with a given name.", + "operationId": "PrivateEndpointConnections_CreateOrUpdate", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/PrivateLinkScopeName" + }, + { + "name": "privateEndpointConnectionName", + "in": "path", + "description": "The name of the private endpoint connection.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + } + ], + "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": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Approve or reject a private endpoint connection with a given name.": { + "$ref": "./examples/privateEndpoint/PrivateEndpointConnection_Update.json" + } + } + }, + "delete": { + "tags": [ + "PrivateEndpointConnections" + ], + "description": "Deletes a private endpoint connection with a given name.", + "operationId": "PrivateEndpointConnections_Delete", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/PrivateLinkScopeName" + }, + { + "name": "privateEndpointConnectionName", + "in": "path", + "description": "The name of the private endpoint connection.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Successfully deleted private endpoint connection." + }, + "202": { + "description": "Accepted", + "headers": { + "Location": { + "description": "The URL of the resource used to check the status of the asynchronous operation.", + "type": "string" + }, + "Retry-After": { + "description": "The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation.", + "type": "integer", + "format": "int32" + }, + "Azure-AsyncOperation": { + "description": "The URI to poll for completion status.", + "type": "string" + } + } + }, + "204": { + "description": "Private endpoint connection does not exist." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Deletes a private endpoint connection with a given name.": { + "$ref": "./examples/privateEndpoint/PrivateEndpointConnection_Delete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/privateEndpointConnections": { + "get": { + "tags": [ + "PrivateEndpointConnections" + ], + "description": "Gets all private endpoint connections on a private link scope.", + "operationId": "PrivateEndpointConnections_ListByPrivateLinkScope", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/PrivateLinkScopeName" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved private endpoint connections.", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnectionListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Gets list of private endpoint connections on a private link scope.": { + "$ref": "./examples/privateEndpoint/PrivateEndpointConnection_List.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/locations/{location}/privateLinkScopes/{privateLinkScopeId}": { + "get": { + "description": "Returns a Azure Arc PrivateLinkScope's validation details.", + "operationId": "PrivateLinkScopes_GetValidationDetails", + "parameters": [ + { + "$ref": "#/parameters/LocationParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/PrivateLinkScopeId" + } + ], + "responses": { + "200": { + "description": "Azure Arc PrivateLinkScope validation details definition.", + "schema": { + "$ref": "#/definitions/PrivateLinkScopeValidationDetails" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PrivateLinkScopeGet": { + "$ref": "./examples/privateLinkScope/PrivateLinkScopes_GetValidation.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/privateLinkScopes/current": { + "get": { + "description": "Returns a Azure Arc PrivateLinkScope's validation details for a given machine.", + "operationId": "PrivateLinkScopes_GetValidationDetailsForMachine", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/MachineNameParameter" + } + ], + "responses": { + "200": { + "description": "Azure Arc PrivateLinkScope validation details definition.", + "schema": { + "$ref": "#/definitions/PrivateLinkScopeValidationDetails" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PrivateLinkScopeGet": { + "$ref": "./examples/privateLinkScope/PrivateLinkScopes_GetValidationForMachine.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/providers/Microsoft.HybridCompute/networkConfigurations/current": { + "get": { + "tags": [ + "NetworkConfigurations" + ], + "description": "Returns a NetworkConfiguration for the target resource.", + "operationId": "NetworkConfigurations_Get", + "produces": [ + "application/json" + ], + "x-ms-examples": { + "NetworkConfigurationsGet": { + "$ref": "./examples/networkConfiguration/NetworkConfigurationsGet.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/MachineNameParameter" + } + ], + "responses": { + "200": { + "description": "Network Configuration information for the target resource.", + "schema": { + "$ref": "#/definitions/NetworkConfiguration" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "deprecated": false + }, + "put": { + "tags": [ + "NetworkConfigurations" + ], + "description": "Create or update the NetworkConfiguration of the target resource.", + "operationId": "NetworkConfigurations_CreateOrUpdate", + "produces": [ + "application/json" + ], + "x-ms-examples": { + "NetworkConfigurationsCreate": { + "$ref": "./examples/networkConfiguration/NetworkConfigurationsCreate.json" + }, + "NetworkConfigurationsUpdate": { + "$ref": "./examples/networkConfiguration/NetworkConfigurationsUpdate.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/MachineNameParameter" + }, + { + "name": "parameters", + "description": "Network Configuration details", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/NetworkConfiguration" + } + } + ], + "responses": { + "200": { + "description": "Successful request when creating or updating a NetworkConfiguration. The updated NetworkConfiguration is returned.", + "schema": { + "$ref": "#/definitions/NetworkConfiguration" + } + }, + "201": { + "description": "Successful request when creating or updating a NetworkConfiguration. The updated NetworkConfiguration was created and is returned.", + "schema": { + "$ref": "#/definitions/NetworkConfiguration" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + }, + "patch": { + "tags": [ + "NetworkConfigurations" + ], + "description": "Update the endpoint to the target resource.", + "operationId": "NetworkConfigurations_Update", + "produces": [ + "application/json" + ], + "x-ms-examples": { + "NetworkConfigurationsPatch": { + "$ref": "./examples/networkConfiguration/NetworkConfigurationsPatch.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/MachineNameParameter" + }, + { + "name": "parameters", + "description": "Network Configuration details", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/NetworkConfiguration" + } + } + ], + "responses": { + "200": { + "description": "Network Configuration information for the target resource.", + "schema": { + "$ref": "#/definitions/NetworkConfiguration" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/networkSecurityPerimeterConfigurations/{perimeterName}": { + "get": { + "tags": [ + "NetworkSecurityPerimeterConfiguration" + ], + "description": "Gets the network security perimeter configuration for a private link scope.", + "operationId": "NetworkSecurityPerimeterConfigurations_GetByPrivateLinkScope", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/PrivateLinkScopeName" + }, + { + "$ref": "#/parameters/PerimeterName" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved network security perimeter configuration details.", + "schema": { + "$ref": "#/definitions/NetworkSecurityPerimeterConfiguration" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Gets the network security perimeter configuration of the private link scope.": { + "$ref": "./examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationGet.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/networkSecurityPerimeterConfigurations": { + "get": { + "tags": [ + "NetworkSecurityPerimeterConfiguration" + ], + "description": "Lists the network security perimeter configurations for a private link scope.", + "operationId": "NetworkSecurityPerimeterConfigurations_ListByPrivateLinkScope", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/PrivateLinkScopeName" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved network security perimeter configuration details.", + "schema": { + "$ref": "#/definitions/NetworkSecurityPerimeterConfigurationListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Gets the list of network security perimeter configurations of the private link scope.": { + "$ref": "./examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/privateLinkScopes/{scopeName}/networkSecurityPerimeterConfigurations/{perimeterName}/reconcile": { + "post": { + "tags": [ + "NetworkSecurityPerimeterConfiguration" + ], + "description": "Forces the network security perimeter configuration to refresh for a private link scope.", + "operationId": "NetworkSecurityPerimeterConfigurations_ReconcileForPrivateLinkScope", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/PrivateLinkScopeName" + }, + { + "$ref": "#/parameters/PerimeterName" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/NetworkSecurityPerimeterConfigurationReconcileResult" + } + }, + "202": { + "description": "Accepted.", + "headers": { + "Location": { + "description": "The URL of the resource used to check the status of the asynchronous operation.", + "type": "string" + }, + "Retry-After": { + "description": "The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation.", + "type": "integer", + "format": "int32" + }, + "Azure-AsyncOperation": { + "description": "The URI to poll for completion status.", + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Reconciles the network security perimeter configuration of the private link scope.": { + "$ref": "./examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationReconcile.json" + } + } + } + } + }, + "definitions": { + "NetworkConfiguration": { + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/NetworkConfigurationProperties" + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ] + }, + "NetworkConfigurationProperties": { + "type": "object", + "description": "Network configuration properties", + "properties": { + "location": { + "type": "string", + "description": "Resource location", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "tenantId": { + "type": "string", + "readOnly": true, + "description": "Azure resource tenant Id" + }, + "networkConfigurationScopeId": { + "type": "string", + "description": "Associated Network Configuration Scope Id (GUID)" + }, + "networkConfigurationScopeResourceId": { + "type": "string", + "description": "Associated Network Configuration Scope Resource Id", + "format": "arm-id", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.HybridCompute/privateLinkScopes" + } + ] + } + }, + "keyProperties": { + "description": "Public key information for client authentication", + "readOnly": true, + "$ref": "#/definitions/KeyProperties" + } + } + }, + "KeyProperties": { + "type": "object", + "description": "Public key information for client authentication", + "properties": { + "clientPublicKey": { + "description": "Current public key details", + "readOnly": true, + "$ref": "#/definitions/KeyDetails" + }, + "candidatePublicKey": { + "description": "Candidate public key details", + "readOnly": true, + "$ref": "#/definitions/KeyDetails" + } + } + }, + "KeyDetails": { + "type": "object", + "description": "Public key details", + "properties": { + "publicKey": { + "type": "string", + "description": "Public key", + "readOnly": true + }, + "notAfter": { + "type": "string", + "format": "date-time", + "description": "Key expiration date", + "readOnly": true + }, + "renewAfter": { + "type": "string", + "format": "date-time", + "description": "Recommended key renewal date", + "readOnly": true + } + } + }, + "NetworkSecurityPerimeterConfiguration": { + "type": "object", + "description": "Properties that define a Network Security Perimeter resource.", + "properties": { + "id": { + "type": "string", + "readOnly": true, + "description": "Azure resource Id" + }, + "name": { + "type": "string", + "description": "Azure resource name", + "readOnly": true + }, + "type": { + "type": "string", + "readOnly": true, + "description": "Azure resource type" + }, + "properties": { + "x-ms-client-flatten": true, + "description": "Properties that define a Network Security Perimeter resource.", + "$ref": "#/definitions/NetworkSecurityPerimeterConfigurationProperties" + } + }, + "x-ms-azure-resource": true + }, + "NetworkSecurityPerimeterConfigurationProperties": { + "type": "object", + "description": "Properties that define a Network Security Perimeter resource.", + "properties": { + "provisioningState": { + "type": "string", + "description": "Current state of this NetworkSecurityPerimeter: 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 + }, + "provisioningIssues": { + "type": "array", + "description": "Provisioning issues.", + "readOnly": true, + "items": { + "$ref": "#/definitions/ProvisioningIssue" + }, + "x-ms-identifiers": [] + }, + "networkSecurityPerimeter": { + "description": "The Network Security Perimeter associated with this configuration.", + "$ref": "#/definitions/NetworkSecurityPerimeter" + }, + "resourceAssociation": { + "description": "The Resource Association.", + "$ref": "#/definitions/ResourceAssociation" + }, + "profile": { + "description": "Network Security Perimeter profile", + "$ref": "#/definitions/NetworkSecurityPerimeterProfile" + } + } + }, + "NetworkSecurityPerimeterProfile": { + "type": "object", + "description": "Network Security Perimeter profile", + "properties": { + "name": { + "type": "string", + "description": "Name of the resource", + "readOnly": true + }, + "accessRulesVersion": { + "type": "integer", + "format": "int32", + "description": "Access rules version number", + "readOnly": true + }, + "accessRules": { + "type": "array", + "description": "Collection of access rules for the profile", + "readOnly": true, + "items": { + "$ref": "#/definitions/AccessRule" + }, + "x-ms-identifiers": [] + }, + "diagnosticSettingsVersion": { + "type": "integer", + "format": "int32", + "description": "Diagnostic settings version number", + "readOnly": true + }, + "enabledLogCategories": { + "type": "array", + "description": "Collection of enabled log categories for the profile", + "readOnly": true, + "items": { + "type": "string" + } + } + } + }, + "ProvisioningIssue": { + "type": "object", + "description": "Details on issues that occurred during provisioning.", + "properties": { + "name": { + "type": "string", + "description": "Name of the provisioning issue.", + "readOnly": true + }, + "properties": { + "x-ms-client-flatten": true, + "description": "Provisioning issue properties", + "readOnly": true, + "$ref": "#/definitions/ProvisioningIssueProperties" + } + } + }, + "ProvisioningIssueProperties": { + "type": "object", + "description": "Properties of a provisioning issue.", + "properties": { + "issueType": { + "description": "Issue type", + "readOnly": true, + "$ref": "#/definitions/ProvisioningIssueType" + }, + "severity": { + "description": "Severity of the provisioning issue.", + "readOnly": true, + "$ref": "#/definitions/ProvisioningIssueSeverity" + }, + "description": { + "type": "string", + "description": "Description of the provisioning issue.", + "readOnly": true + }, + "suggestedResourceIds": { + "type": "array", + "description": "ARM Ids of the resources that can be associated to the same perimeter to remediate the issue", + "readOnly": true, + "items": { + "type": "string" + }, + "x-ms-identifiers": [] + }, + "suggestedAccessRules": { + "type": "array", + "description": "Access rules that can be added to the perimeter to remediate the issue", + "readOnly": true, + "items": { + "$ref": "#/definitions/AccessRule" + }, + "x-ms-identifiers": [] + } + } + }, + "ProvisioningIssueType": { + "type": "string", + "description": "Type of provisioning issue.", + "enum": [ + "MissingPerimeterConfiguration", + "MissingIdentityConfiguration", + "ConfigurationPropagationFailure", + "Other" + ], + "x-ms-enum": { + "name": "ProvisioningIssueType", + "modelAsString": true, + "values": [ + { + "value": "MissingPerimeterConfiguration", + "description": "Perimeter configuration is missing." + }, + { + "value": "MissingIdentityConfiguration", + "description": "Identity configuration is missing." + }, + { + "value": "ConfigurationPropagationFailure", + "description": "Configuration failed to propagate." + }, + { + "value": "Other", + "description": "Other failure." + } + ] + } + }, + "ProvisioningIssueSeverity": { + "type": "string", + "description": "Severity of the provisioning issue.", + "enum": [ + "Warning", + "Error" + ], + "x-ms-enum": { + "name": "ProvisioningIssueSeverity", + "modelAsString": true, + "values": [ + { + "value": "Warning", + "description": "Warnings can cause connectivity issues after provisioning succeeds." + }, + { + "value": "Error", + "description": "Errors will cause association provisioning to fail." + } + ] + } + }, + "AccessMode": { + "type": "string", + "description": "Property that impacts a resource's logging behavior and its connectivity with other resources and public networks.", + "enum": [ + "enforced", + "audit", + "learning" + ], + "x-ms-enum": { + "name": "AccessMode", + "modelAsString": true, + "values": [ + { + "value": "enforced", + "description": "Indicates that resource access is controlled by the NSP definition." + }, + { + "value": "audit", + "description": "Dry run mode, where traffic is evaluated against NSP Rules, logged but not enforced." + }, + { + "value": "learning", + "description": "Enables traffic evaluation to fall back to resource-specific firewall configurations." + } + ] + } + }, + "AccessRuleDirection": { + "type": "string", + "description": "Indicates direction of an access rule.", + "enum": [ + "Inbound", + "Outbound" + ], + "x-ms-enum": { + "name": "AccessRuleDirection", + "modelAsString": true, + "values": [ + { + "value": "Inbound", + "description": "Traffic originates outside of network." + }, + { + "value": "Outbound", + "description": "Traffic originates inside the network" + } + ] + } + }, + "AccessRule": { + "type": "object", + "description": "Access rule.", + "properties": { + "name": { + "type": "string", + "description": "Name of the access rule.", + "readOnly": true + }, + "properties": { + "x-ms-client-flatten": true, + "description": "Access rule properties", + "readOnly": true, + "$ref": "#/definitions/AccessRuleProperties" + } + } + }, + "AccessRuleProperties": { + "type": "object", + "description": "Properties of an access rule.", + "properties": { + "direction": { + "description": "Direction of the access rule.", + "readOnly": true, + "$ref": "#/definitions/AccessRuleDirection" + }, + "addressPrefixes": { + "type": "array", + "description": "Address prefixes that are allowed access.", + "readOnly": true, + "items": { + "type": "string" + } + } + } + }, + "NetworkSecurityPerimeter": { + "type": "object", + "description": "Properties that define a Network Security Perimeter resource.", + "properties": { + "id": { + "type": "string", + "readOnly": true, + "description": "Azure resource Id" + }, + "perimeterGuid": { + "type": "string", + "description": "Guid of the Network Security Perimeter", + "readOnly": true + }, + "location": { + "type": "string", + "readOnly": true, + "description": "Regional location of the perimeter" + } + } + }, + "NetworkSecurityPerimeterConfigurationListResult": { + "type": "object", + "description": "A list of network security perimeter configurations.", + "properties": { + "value": { + "description": "Array of results.", + "type": "array", + "items": { + "$ref": "#/definitions/NetworkSecurityPerimeterConfiguration" + }, + "readOnly": true + }, + "nextLink": { + "description": "Link to retrieve next page of results.", + "type": "string", + "readOnly": true + } + } + }, + "NetworkSecurityPerimeterConfigurationReconcileResult": { + "type": "object", + "description": "Result of network security perimeter configurations.", + "properties": { + "location": { + "description": "The URL of the resource used to check the status of the asynchronous operation.", + "type": "string", + "x-ms-mutability": [ + "read" + ] + } + } + }, + "ResourceAssociation": { + "type": "object", + "description": "Properties that define a Resource Association.", + "properties": { + "name": { + "type": "string", + "readOnly": true, + "description": "Name of the Resource Association" + }, + "accessMode": { + "description": "The access mode", + "readOnly": true, + "$ref": "#/definitions/AccessMode" + } + } + }, + "PrivateLinkScopesResource": { + "type": "object", + "properties": { + "id": { + "type": "string", + "readOnly": true, + "description": "Azure resource Id" + }, + "name": { + "type": "string", + "description": "Azure resource name", + "readOnly": true + }, + "type": { + "type": "string", + "readOnly": true, + "description": "Azure resource type" + }, + "location": { + "type": "string", + "description": "Resource location", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags" + } + }, + "required": [ + "location" + ], + "x-ms-azure-resource": true, + "description": "An azure resource object" + }, + "TagsResource": { + "type": "object", + "properties": { + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags" + } + }, + "description": "A container holding only the Tags for a resource, allowing the user to update the tags on a PrivateLinkScope instance." + }, + "HybridComputePrivateLinkScope": { + "type": "object", + "properties": { + "properties": { + "description": "Properties that define a Azure Arc PrivateLinkScope resource.", + "$ref": "#/definitions/HybridComputePrivateLinkScopeProperties" + }, + "systemData": { + "readOnly": true, + "description": "The system meta data relating to this resource.", + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/systemData" + } + }, + "allOf": [ + { + "$ref": "#/definitions/PrivateLinkScopesResource" + } + ], + "description": "An Azure Arc PrivateLinkScope definition." + }, + "PrivateLinkScopeValidationDetails": { + "type": "object", + "properties": { + "id": { + "type": "string", + "readOnly": true, + "description": "Azure resource Id" + }, + "publicNetworkAccess": { + "description": "Indicates whether machines associated with the private link scope can also use public Azure Arc service endpoints.", + "$ref": "#/definitions/PublicNetworkAccessType" + }, + "connectionDetails": { + "type": "array", + "description": "List of Private Endpoint Connection details.", + "items": { + "$ref": "#/definitions/ConnectionDetail" + } + } + } + }, + "ConnectionDetail": { + "type": "object", + "properties": { + "id": { + "type": "string", + "readOnly": true, + "description": "Azure resource Id" + }, + "privateIpAddress": { + "type": "string", + "readOnly": true, + "description": "The private endpoint connection private ip address" + }, + "linkIdentifier": { + "type": "string", + "readOnly": true, + "description": "The private endpoint connection link identifier" + }, + "groupId": { + "type": "string", + "readOnly": true, + "description": "The private endpoint connection group id" + }, + "memberName": { + "type": "string", + "readOnly": true, + "description": "The private endpoint connection member name" + } + } + }, + "HybridComputePrivateLinkScopeProperties": { + "type": "object", + "description": "Properties that define a Azure Arc PrivateLinkScope resource.", + "properties": { + "publicNetworkAccess": { + "description": "Indicates whether machines associated with the private link scope can also use public Azure Arc service endpoints.", + "$ref": "#/definitions/PublicNetworkAccessType" + }, + "provisioningState": { + "type": "string", + "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 + }, + "privateLinkScopeId": { + "readOnly": true, + "description": "The Guid id of the private link scope.", + "type": "string" + }, + "privateEndpointConnections": { + "readOnly": true, + "description": "The collection of associated Private Endpoint Connections.", + "type": "array", + "items": { + "$ref": "#/definitions/PrivateEndpointConnectionDataModel" + } + }, + "serviceExtensions": { + "description": "Enable private link validation for an Azure Arc Extension.", + "type": "array", + "items": { + "$ref": "#/definitions/ServiceExtension" + } + } + } + }, + "HybridComputePrivateLinkScopeListResult": { + "type": "object", + "description": "Describes the list of Azure Arc PrivateLinkScope resources.", + "required": [ + "value" + ], + "properties": { + "value": { + "type": "array", + "description": "List of Azure Arc PrivateLinkScope definitions.", + "items": { + "$ref": "#/definitions/HybridComputePrivateLinkScope" + } + }, + "nextLink": { + "type": "string", + "description": "The URI to get the next set of Azure Arc PrivateLinkScope definitions if too many PrivateLinkScopes where returned in the result set." + } + } + }, + "PrivateLinkResourceListResult": { + "type": "object", + "description": "A list of private link resources", + "properties": { + "value": { + "description": "Array of results.", + "type": "array", + "items": { + "$ref": "#/definitions/PrivateLinkResource" + }, + "readOnly": true + }, + "nextLink": { + "description": "Link to retrieve next page of results.", + "type": "string", + "readOnly": true + } + } + }, + "PrivateLinkResource": { + "type": "object", + "description": "A private link resource", + "properties": { + "properties": { + "$ref": "#/definitions/PrivateLinkResourceProperties", + "description": "Resource properties." + }, + "systemData": { + "readOnly": true, + "description": "The system meta data relating to this resource.", + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/systemData" + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ] + }, + "PrivateLinkResourceProperties": { + "type": "object", + "description": "Properties of a private link resource.", + "properties": { + "groupId": { + "description": "The private link resource group id.", + "type": "string", + "readOnly": true + }, + "requiredMembers": { + "description": "The private link resource required member names.", + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true + }, + "requiredZoneNames": { + "description": "Required DNS zone names of the the private link resource.", + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true + } + } + }, + "PrivateEndpointConnectionDataModel": { + "type": "object", + "description": "The Data Model for a Private Endpoint Connection associated with a Private Link Scope", + "properties": { + "id": { + "description": "The ARM Resource Id of the Private Endpoint.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "The Name of the Private Endpoint.", + "type": "string", + "readOnly": true + }, + "type": { + "type": "string", + "readOnly": true, + "description": "Azure resource type" + }, + "properties": { + "$ref": "#/definitions/PrivateEndpointConnectionProperties", + "description": "The Private Endpoint Connection properties." + } + } + }, + "ServiceExtension": { + "type": "object", + "description": "Enable private link validation for an Azure Arc Extension", + "properties": { + "serviceExtensionType": { + "description": "The name of the Azure Arc Extension.", + "$ref": "#/definitions/ServiceExtensionType" + }, + "serviceExtensionPublicNetworkAccess": { + "description": "The network access policy to determine if the specified Azure Arc Extension can use public Azure Arc Extension service endpoints.", + "$ref": "#/definitions/ServiceExtensionPublicNetworkAccess" + } + } + }, + "ServiceExtensionType": { + "type": "string", + "description": "The name of the Azure Arc Extension.", + "x-ms-enum": { + "name": "ServiceExtensionType", + "modelAsString": true + } + }, + "ServiceExtensionPublicNetworkAccess": { + "type": "string", + "description": "The network access policy to determine if the specified Azure Arc Extension can use public Azure Arc Extension service endpoints.", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "ServiceExtensionPublicNetworkAccess", + "modelAsString": true, + "values": [ + { + "value": "enabled", + "description": "Allows Azure Arc Extension agents to communicate with Azure Arc services over both public (internet) and private endpoints." + }, + { + "value": "disabled", + "description": "Does not allow Azure Arc Extension agents to communicate with Azure Arc services over public (internet) endpoints. The agents must use the private link." + } + ] + } + }, + "PrivateEndpointConnectionProperties": { + "type": "object", + "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.", + "type": "string", + "readOnly": true + }, + "groupIds": { + "description": "List of group IDs.", + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true + } + } + }, + "PrivateEndpointProperty": { + "type": "object", + "description": "Private endpoint which the connection belongs to.", + "properties": { + "id": { + "description": "Resource id of the private endpoint.", + "type": "string" + } + } + }, + "PrivateLinkServiceConnectionStateProperty": { + "type": "object", + "description": "State of the private endpoint connection.", + "required": [ + "status", + "description" + ], + "properties": { + "status": { + "description": "The private link service connection status.", + "type": "string" + }, + "description": { + "description": "The private link service connection description.", + "type": "string" + }, + "actionsRequired": { + "description": "The actions required for private link service connection.", + "type": "string", + "readOnly": true + } + } + }, + "PrivateEndpointConnection": { + "type": "object", + "description": "A private endpoint connection", + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/PrivateEndpointConnectionProperties", + "description": "Resource properties." + }, + "systemData": { + "readOnly": true, + "description": "The system meta data relating to this resource.", + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/systemData" + } + } + }, + "PrivateEndpointConnectionListResult": { + "type": "object", + "description": "A list of private endpoint connections.", + "properties": { + "value": { + "description": "Array of results.", + "type": "array", + "items": { + "$ref": "#/definitions/PrivateEndpointConnection" + }, + "readOnly": true + }, + "nextLink": { + "description": "Link to retrieve next page of results.", + "type": "string", + "readOnly": true + } + } + }, + "PublicNetworkAccessType": { + "type": "string", + "description": "The network access policy to determine if Azure Arc agents can use public Azure Arc service endpoints. Defaults to disabled (access to Azure Arc services only via private link).", + "default": "Disabled", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "PublicNetworkAccessType", + "modelAsString": true, + "values": [ + { + "value": "Enabled", + "description": "Allows Azure Arc agents to communicate with Azure Arc services over both public (internet) and private endpoints." + }, + { + "value": "Disabled", + "description": "Does not allow Azure Arc agents to communicate with Azure Arc services over public (internet) endpoints. The agents must use the private link." + }, + { + "value": "SecuredByPerimeter", + "description": "Azure Arc agent communication with Azure Arc services over public (internet) is enforced by Network Security Perimeter (NSP)" + } + ] + } + } + }, + "parameters": { + "PrivateLinkScopeName": { + "name": "scopeName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Azure Arc PrivateLinkScope resource.", + "x-ms-parameter-location": "method", + "pattern": "[a-zA-Z0-9-_\\.]+" + }, + "PrivateLinkScopeId": { + "name": "privateLinkScopeId", + "in": "path", + "required": true, + "type": "string", + "description": "The id (Guid) of the Azure Arc PrivateLinkScope resource.", + "x-ms-parameter-location": "method" + }, + "GroupNameParameter": { + "name": "groupName", + "in": "path", + "description": "The name of the private link resource.", + "required": true, + "x-ms-parameter-location": "method", + "type": "string" + }, + "LocationParameter": { + "name": "location", + "in": "path", + "required": true, + "type": "string", + "x-ms-parameter-location": "method", + "description": "The location of the target resource.", + "minLength": 1 + }, + "MachineNameParameter": { + "name": "machineName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the target machine to get the private link scope validation details for.", + "minLength": 1, + "pattern": "^[a-zA-Z0-9-_\\.]{1,54}$", + "x-ms-parameter-location": "method" + }, + "ResourceUriParameter": { + "name": "resourceUri", + "in": "path", + "required": true, + "type": "string", + "description": "The fully qualified Azure Resource manager identifier of the resource to be connected.", + "x-ms-skip-url-encoding": true, + "x-ms-parameter-location": "method" + }, + "NetworkConfigurationScopeId": { + "name": "scopeId", + "in": "path", + "required": true, + "type": "string", + "description": "The id (Guid) of the Azure Arc Network Configuration Scope resource.", + "x-ms-parameter-location": "method" + }, + "PerimeterName": { + "name": "perimeterName", + "in": "path", + "required": true, + "type": "string", + "description": "The name, in the format {perimeterGuid}.{associationName}, of the Network Security Perimeter resource.", + "x-ms-parameter-location": "method", + "pattern": "^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}[.]{1}.+$" + } + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/readme.md b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/readme.md index 282ca1180182..ce96489bcdaa 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/readme.md +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/readme.md @@ -26,7 +26,7 @@ These are the global settings for the HybridCompute API. ``` yaml openapi-type: arm -tag: package-preview-2025-02-19 +tag: package-preview-2025-09-16-preview directive: - from: HybridCompute.json where: $.definitions.MachineInstallPatchesParameters.properties.maximumDuration @@ -78,6 +78,36 @@ directive: ``` +### Tag: package-preview-2025-09-16-preview + +These settings apply only when `--tag=package-preview-2025-09-16-preview` is specified on the command line. + +```yaml $(tag) == 'package-preview-2025-09-16-preview' +input-file: + - preview/2025-09-16-preview/HybridCompute.json + - preview/2025-09-16-preview/privateLinkScopes.json +``` + +### Tag: package-preview-2025-08-21-preview + +These settings apply only when `--tag=package-preview-2025-08-21-preview` is specified on the command line. + +```yaml $(tag) == 'package-preview-2025-08-21-preview' +input-file: + - preview/2025-08-21-preview/HybridCompute.json + - preview/2025-08-21-preview/privateLinkScopes.json +``` + +### Tag: package-preview-2025-06-01 + +These settings apply only when `--tag=package-preview-2025-06-01` is specified on the command line. + +```yaml $(tag) == 'package-preview-2025-06-01' +input-file: + - preview/2025-06-01/HybridCompute.json + - preview/2025-06-01/privateLinkScopes.json +``` + ### Tag: package-preview-2025-02-19 These settings apply only when `--tag=package-preview-2025-02-19` is specified on the command line. diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/suppressions.yaml b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/suppressions.yaml index 91625fe07bf2..77841635fd88 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/suppressions.yaml +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/HybridCompute/suppressions.yaml @@ -66,6 +66,15 @@ - tool: TypeSpecRequirement path: ./preview/2025-02-19-preview/*.json reason: Brownfield service not ready to migrate +- tool: TypeSpecRequirement + path: ./preview/2025-06-01/*.json + reason: Brownfield service not ready to migrate +- tool: TypeSpecRequirement + path: ./preview/2025-08-21-preview/*.json + reason: Brownfield service not ready to migrate +- tool: TypeSpecRequirement + path: ./preview/2025-09-16-preview/*.json + reason: Brownfield service not ready to migrate # Stable versions - tool: TypeSpecRequirement path: ./stable/2019-12-12/*.json diff --git a/specification/keyvault/KeyVault.Management/client.tsp b/specification/keyvault/KeyVault.Management/client.tsp index 4cd834847fcc..ddb653bae640 100644 --- a/specification/keyvault/KeyVault.Management/client.tsp +++ b/specification/keyvault/KeyVault.Management/client.tsp @@ -205,5 +205,30 @@ using Azure.Core; ); @@clientName(ManagedHsms.listByMHSMResource, "listByMhsmResource", "java"); +// Mitigate Java breaking change of enum "Reason" now being expandable. +/** + * The reason that a vault name could not be used. The Reason element is only returned if NameAvailable is false. + */ +#suppress "@azure-tools/typespec-azure-core/no-enum" "Avoid breaking changes for Java" +enum NameAvailabilityReason { + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + AccountNameInvalid: "AccountNameInvalid", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + AlreadyExists: "AlreadyExists", +} + +@@clientName(NameAvailabilityReason, "Reason", "java"); + +@@clientName(Reason, "NameAvailabilityReason", "java"); + +@@alternateType(CheckNameAvailabilityResult.reason, + NameAvailabilityReason, + "java" +); +@@alternateType(CheckMhsmNameAvailabilityResult.reason, + NameAvailabilityReason, + "java" +); + @@clientName(Microsoft.KeyVault, "KeyVaultManagementClient", "javascript"); @@clientName(Microsoft.KeyVault, "KeyVaultManagementClient", "python"); diff --git a/specification/maps/data-plane/Route/stable/2025-01-01/route.json b/specification/maps/data-plane/Route/stable/2025-01-01/route.json index 521cc7ca81f1..04b138252c50 100644 --- a/specification/maps/data-plane/Route/stable/2025-01-01/route.json +++ b/specification/maps/data-plane/Route/stable/2025-01-01/route.json @@ -2853,7 +2853,7 @@ "format": "date-time" }, "isSimplifiedPolygon": { - "description": "Use this to specify whether simplified polygons are required, reducing the number of vertices while preserving the overall shape.\n\n Currently, `isSimplifiedPolygon` only supports `true`. Support for high-definition polygons will be available soon. For more information and to try high-definition polygons, see [Post Route Range](/rest/api/maps/route/post-route-range?view=rest-maps-2024-07-01-preview&tabs=HTTP#inputrouterangeproperties) in the Route service public preview.", + "description": "Use this to specify if you need simplified polygons that reduces the number of polygon vertices while preserving the shape. The API returns low definition polygon by default.", "type": "boolean", "default": true }, @@ -2895,14 +2895,14 @@ "$ref": "#/definitions/RouteRangeVehicleSpec" }, "distanceBudgetInMeters": { - "description": "The distance budget specifies the maximum range in meters which can be traveled from the origin waypoint. It cannot be set when `timeBudgetInSec` is specified.\n\nThe maximum distance supported is 500,000 meters.\n\nExample: \"distanceBudgetInMeters\":5000", + "description": "The distance budget specifies the maximum range in meters which can be traveled from the origin waypoint. It cannot be set when `timeBudgetInSec` is specified.\n\nWhen `isSimplifiedPolygon` is false, the maximum distance supported is 90000 meters; otherwise, it is 500,000 meters.\n\nExample: \"distanceBudgetInMeters\":5000", "type": "number", "format": "float", "minimum": 0, "maximum": 500000 }, "timeBudgetInSec": { - "description": "The time budget specifies the maximum time in seconds available for travel, defining how far one can go within this time constraint from the origin waypoint. It cannot be set when `distanceBudgetInMeters` is specified.\n\nThe maximum time supported is 21,600 seconds.\n\nExample: \"timeBudgetInSec\":3600", + "description": "The time budget specifies the maximum time in seconds available for travel, defining how far one can go within this time constraint from the origin waypoint. It cannot be set when `distanceBudgetInMeters` is specified.\n\nWhen `isSimplifiedPolygon` is false, the maximum time supported is 3600 seconds; otherwise, it is 21,600 seconds.\n\nExample: \"timeBudgetInSec\":3600", "type": "number", "format": "float", "minimum": 0, diff --git a/specification/monitor/resource-manager/readme.md b/specification/monitor/resource-manager/readme.md index 2859143d83f3..807c607bb261 100644 --- a/specification/monitor/resource-manager/readme.md +++ b/specification/monitor/resource-manager/readme.md @@ -58,7 +58,7 @@ input-file: - Microsoft.Insights/stable/2016-03-01/logProfiles_API.json - Microsoft.Insights/stable/2024-02-01/metrics_API.json - Microsoft.Insights/preview/2023-01-01-preview/activityLogAlerts_API.json - - Microsoft.Insights/stable/2018-03-01/metricAlert_API.json + - Microsoft.Insights/preview/2024-03-01-preview/metricAlert_API.json - Microsoft.Insights/preview/2025-01-01-preview/scheduledQueryRule_API.json - Microsoft.Insights/stable/2019-03-01/metricBaselines_API.json - Microsoft.Insights/preview/2024-10-01-preview/actionGroups_API.json diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/FlexibleServers/models.tsp b/specification/mysql/resource-manager/Microsoft.DBforMySQL/FlexibleServers/models.tsp index 58aa58bf5915..8a609f1fe561 100644 --- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/FlexibleServers/models.tsp +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/FlexibleServers/models.tsp @@ -167,6 +167,10 @@ union ServerVersion { `5.7`: "5.7", #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" `8.0.21`: "8.0.21", + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @added(Versions.v2025_06_01_preview) + `8.4`: "8.4", } /** diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/FlexibleServers/preview/2025-06-01-preview/openapi.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/FlexibleServers/preview/2025-06-01-preview/openapi.json index 7009ab375c09..a11b39e67554 100644 --- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/FlexibleServers/preview/2025-06-01-preview/openapi.json +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/FlexibleServers/preview/2025-06-01-preview/openapi.json @@ -6886,7 +6886,8 @@ "description": "The major version of a server. 8.0.21 stands for MySQL 8.0, 5.7.44 stands for MySQL 5.7", "enum": [ "5.7", - "8.0.21" + "8.0.21", + "8.4" ], "x-ms-enum": { "name": "ServerVersion", @@ -6899,6 +6900,10 @@ { "name": "8.0.21", "value": "8.0.21" + }, + { + "name": "8.4", + "value": "8.4" } ] } diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/ActiveDirectory.tsp b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/ActiveDirectory.tsp new file mode 100644 index 000000000000..a604cbe6515a --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/ActiveDirectory.tsp @@ -0,0 +1,187 @@ +import "@typespec/rest"; +import "@typespec/versioning"; +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "./models.tsp"; + +using TypeSpec.Rest; +using TypeSpec.Http; +using TypeSpec.Versioning; +using Azure.ResourceManager; +using Azure.Core; + +namespace Microsoft.NetApp; + +/** + * Active Directory Configuration resource + */ +@added(Versions.v2025_09_01_preview) +model ActiveDirectoryConfig + is TrackedResource { + ...ResourceNameParameter< + Resource = ActiveDirectoryConfig, + KeyName = "activeDirectoryConfigName", + SegmentName = "activeDirectoryConfigs", + NamePattern = "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + >; + ...Azure.ResourceManager.Legacy.EntityTagProperty; + ...Azure.ResourceManager.ManagedServiceIdentityProperty; +} + +/** + * Active Directory Configuration properties + */ +@added(Versions.v2025_09_01_preview) +model ActiveDirectoryConfigProperties { + ...ActiveDirectoryConfigCommonProperties; + + /** + * Azure lifecycle management. + */ + @visibility(Lifecycle.Read) + provisioningState?: NetAppProvisioningState; + + /** Name of the Active Directory domain */ + @maxLength(255) + domain: string; + + /** Access password from Azure KeyVault Secrets to connect Active Directory */ + secretPassword: SecretPassword; +} + +/** Active Directory Configuration common properties */ +@added(Versions.v2025_09_01_preview) +model ActiveDirectoryConfigCommonProperties { + /** A domain user account with permission to create machine accounts */ + @maxLength(255) + userName?: string; + + /** An array of DNS server IP addresses(IPv4 only) for the Active Directory */ + dns?: ipV4Address[]; + + /** NetBIOS name of the SMB server. This name will be registered as a computer account in the AD and used to mount volumes */ + @maxLength(10) + smbServerName?: string; + + /** The Organizational Unit (OU) within the Windows Active Directory */ + @maxLength(255) + organizationalUnit?: string; + + /** The Active Directory site the service will limit Domain Controller discovery to */ + @maxLength(63) + site?: string; + + /** Users to be added to the Built-in Backup Operator active directory group. A list of unique usernames without domain specifier */ + backupOperators?: string[]; + + /** Users to be added to the Built-in Administrators active directory group. A list of unique usernames without domain specifier */ + administrators?: string[]; + + /** Domain Users in the Active directory to be given SecurityPrivilege privilege (Needed for SMB Continuously available shares for SQL). A list of unique usernames without domain specifier */ + securityOperators?: string[]; + + /** Status of the Active Directory */ + @visibility(Lifecycle.Read) + activeDirectoryStatus?: ActiveDirectoryStatus; +} + +/** Access password from Azure KeyVault Secrets to connect Active Directory */ +@added(Versions.v2025_09_01_preview) +model SecretPassword { + /** Properties provided by KeyVault. */ + keyVaultProperties?: SecretPasswordKeyVaultProperties; + + /** Identity used to authenticate to KeyVault. Applicable if keySource is 'Microsoft.KeyVault'. */ + identity?: SecretPasswordIdentity; +} + +/** Properties of key vault to get the secrets for password. */ +@added(Versions.v2025_09_01_preview) +model SecretPasswordKeyVaultProperties { + /** The Uri of KeyVault. */ + @maxLength(255) + keyVaultUri: url; + + /** The name of KeyVault password secret. */ + @maxLength(127) + secretName: string; +} + +/** Identity used to authenticate with key vault. */ +@added(Versions.v2025_09_01_preview) +model SecretPasswordIdentity { + /** The principal ID (object ID) of the identity used to authenticate with key vault. Read-only. */ + @visibility(Lifecycle.Read) + principalId?: string; + + /** The Azure resource identifier of the user assigned identity used to authenticate with key vault. Applicable if identity.type has 'UserAssigned'. It should match key of identity.userAssignedIdentities. */ + userAssignedIdentity?: string; +} + +/** Active Directory Configuration patch properties */ +@added(Versions.v2025_09_01_preview) +model ActiveDirectoryConfigPatchProperties { + ...ActiveDirectoryConfigCommonProperties; + + /** Access Password from Azure KeyVault Secret to connect Active Directory on patch */ + secretPassword?: SecretPasswordPatch; +} + +/** Access Password from Azure KeyVault Secret to connect Active Directory on patch */ +@added(Versions.v2025_09_01_preview) +model SecretPasswordPatch { + /** Patch Properties provided by KeyVault. */ + keyVaultProperties?: SecretPasswordKeyVaultPatchProperties; + + /** Identity used to authenticate to KeyVault. Applicable if keySource is 'Microsoft.KeyVault'. */ + identity?: SecretPasswordIdentity; +} + +/** Patch Properties of key vault to get the secrets for password. */ +@added(Versions.v2025_09_01_preview) +model SecretPasswordKeyVaultPatchProperties { + /** The Uri of KeyVault. */ + @maxLength(255) + keyVaultUri?: url; + + /** The name of KeyVault password secret. */ + @maxLength(127) + secretName?: string; +} + +@armResourceOperations +interface ActiveDirectoryConfigs { + /** Get the details of the specified active directory configuration */ + @added(Versions.v2025_09_01_preview) + get is ArmResourceRead; + + /** Create or update the specified active directory configuration */ + @added(Versions.v2025_09_01_preview) + createOrUpdate is ArmResourceCreateOrUpdateAsync; + + /** Patch the specified active directory configuration */ + @added(Versions.v2025_09_01_preview) + @patch(#{ implicitOptionality: true }) + update is ArmCustomPatchAsync< + ActiveDirectoryConfig, + Azure.ResourceManager.Foundations.ResourceUpdateModel< + ActiveDirectoryConfig, + ActiveDirectoryConfigProperties + > + >; + + /** Delete the specified Active Directory configuration */ + @added(Versions.v2025_09_01_preview) + delete is ArmResourceDeleteWithoutOkAsync; + + /** List all active directory configurations within the resource group. */ + @added(Versions.v2025_09_01_preview) + listByResourceGroup is ArmResourceListByParent; + + /** List all active directory configurations within the subscription */ + @added(Versions.v2025_09_01_preview) + listBySubscription is ArmListBySubscription; +} + +@@maxLength(ActiveDirectoryConfig.name, 64); +@@minLength(ActiveDirectoryConfig.name, 1); diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/Backup.tsp b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/Backup.tsp index ea0cbc5d7d2b..47bb7bdd23be 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/Backup.tsp +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/Backup.tsp @@ -6,10 +6,9 @@ import "./models.tsp"; import "./BackupVault.tsp"; import "@azure-tools/typespec-client-generator-core"; -using TypeSpec.Rest; +using Rest; using Azure.ResourceManager; -using TypeSpec.Http; -using TypeSpec.OpenAPI; +using Http; using Azure.ClientGenerator.Core; namespace Microsoft.NetApp; diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/BackupPolicy.tsp b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/BackupPolicy.tsp index 79bb0f74e13d..81ea303b2ead 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/BackupPolicy.tsp +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/BackupPolicy.tsp @@ -5,10 +5,9 @@ import "@typespec/rest"; import "./models.tsp"; import "./NetAppAccount.tsp"; -using TypeSpec.Rest; +using Rest; using Azure.ResourceManager; -using TypeSpec.Http; -using TypeSpec.OpenAPI; +using Http; namespace Microsoft.NetApp; /** @@ -78,7 +77,7 @@ model BackupPolicyProperties { * A list of volumes assigned to this policy */ @visibility(Lifecycle.Read) - @OpenAPI.extension("x-ms-identifiers", #["volumeName"]) + @identifiers(#["volumeName"]) volumeBackups?: VolumeBackups[]; } diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/BackupVault.tsp b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/BackupVault.tsp index fbd19a99c4ac..86a39d023661 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/BackupVault.tsp +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/BackupVault.tsp @@ -5,10 +5,9 @@ import "@typespec/rest"; import "./models.tsp"; import "./NetAppAccount.tsp"; -using TypeSpec.Rest; +using Rest; using Azure.ResourceManager; -using TypeSpec.Http; -using TypeSpec.OpenAPI; +using Http; namespace Microsoft.NetApp; /** diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/Bucket.tsp b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/Bucket.tsp index fb2bbe066471..8ba020886a35 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/Bucket.tsp +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/Bucket.tsp @@ -5,10 +5,9 @@ import "@typespec/rest"; import "./models.tsp"; import "./Volume.tsp"; -using TypeSpec.Rest; +using Rest; using Azure.ResourceManager; -using TypeSpec.Http; -using TypeSpec.OpenAPI; +using Http; using TypeSpec.Versioning; namespace Microsoft.NetApp; @@ -18,6 +17,8 @@ namespace Microsoft.NetApp; @added(Versions.v2025_07_01_preview) @removed(Versions.v2025_08_01) @added(Versions.v2025_08_01_preview) +@removed(Versions.v2025_09_01) +@added(Versions.v2025_09_01_preview) @parentResource(Volume) model Bucket is Azure.ResourceManager.ProxyResource { ...ResourceNameParameter< @@ -34,6 +35,8 @@ model Bucket is Azure.ResourceManager.ProxyResource { @added(Versions.v2025_07_01_preview) @removed(Versions.v2025_08_01) @added(Versions.v2025_08_01_preview) +@removed(Versions.v2025_09_01) +@added(Versions.v2025_09_01_preview) model BucketList is Azure.Core.Page; /** @@ -42,6 +45,8 @@ model BucketList is Azure.Core.Page; @added(Versions.v2025_07_01_preview) @removed(Versions.v2025_08_01) @added(Versions.v2025_08_01_preview) +@removed(Versions.v2025_09_01) +@added(Versions.v2025_09_01_preview) model BucketProperties { /** * The volume path mounted inside the bucket. The default is the root path '/' if no value is provided when the bucket is created. @@ -86,6 +91,8 @@ model BucketProperties { @added(Versions.v2025_07_01_preview) @removed(Versions.v2025_08_01) @added(Versions.v2025_08_01_preview) +@removed(Versions.v2025_09_01) +@added(Versions.v2025_09_01_preview) model FileSystemUser { /** * The effective NFS User ID and Group ID when accessing the volume data. @@ -104,6 +111,8 @@ model FileSystemUser { @added(Versions.v2025_07_01_preview) @removed(Versions.v2025_08_01) @added(Versions.v2025_08_01_preview) +@removed(Versions.v2025_09_01) +@added(Versions.v2025_09_01_preview) model NfsUser { /** * The NFS user's UID @@ -122,6 +131,8 @@ model NfsUser { @added(Versions.v2025_07_01_preview) @removed(Versions.v2025_08_01) @added(Versions.v2025_08_01_preview) +@removed(Versions.v2025_09_01) +@added(Versions.v2025_09_01_preview) model CifsUser { /** * The CIFS user's username @@ -135,6 +146,8 @@ model CifsUser { @added(Versions.v2025_07_01_preview) @removed(Versions.v2025_08_01) @added(Versions.v2025_08_01_preview) +@removed(Versions.v2025_09_01) +@added(Versions.v2025_09_01_preview) model BucketServerProperties { /** * The host part of the bucket URL, resolving to the bucket IP address and allowed by the server certificate. @@ -178,6 +191,8 @@ model BucketServerProperties { @added(Versions.v2025_07_01_preview) @removed(Versions.v2025_08_01) @added(Versions.v2025_08_01_preview) +@removed(Versions.v2025_09_01) +@added(Versions.v2025_09_01_preview) model BucketPatch extends Azure.ResourceManager.CommonTypes.ProxyResource { /** * Bucket properties @@ -191,6 +206,8 @@ model BucketPatch extends Azure.ResourceManager.CommonTypes.ProxyResource { @added(Versions.v2025_07_01_preview) @removed(Versions.v2025_08_01) @added(Versions.v2025_08_01_preview) +@removed(Versions.v2025_09_01) +@added(Versions.v2025_09_01_preview) model BucketPatchProperties { /** * The volume path mounted inside the bucket. @@ -225,6 +242,8 @@ model BucketPatchProperties { @added(Versions.v2025_07_01_preview) @removed(Versions.v2025_08_01) @added(Versions.v2025_08_01_preview) +@removed(Versions.v2025_09_01) +@added(Versions.v2025_09_01_preview) model BucketServerPatchProperties { /** * The host part of the bucket URL, resolving to the bucket IP address and allowed by the server certificate. @@ -246,6 +265,8 @@ model BucketServerPatchProperties { @added(Versions.v2025_07_01_preview) @removed(Versions.v2025_08_01) @added(Versions.v2025_08_01_preview) +@removed(Versions.v2025_09_01) +@added(Versions.v2025_09_01_preview) model BucketCredentialsExpiry { /** * The number of days from now until the newly generated Access and Secret key pair will expire. @@ -260,16 +281,20 @@ model BucketCredentialsExpiry { @added(Versions.v2025_07_01_preview) @removed(Versions.v2025_08_01) @added(Versions.v2025_08_01_preview) +@removed(Versions.v2025_09_01) +@added(Versions.v2025_09_01_preview) model BucketGenerateCredentials { /** * The Access Key that is required along with the Secret Key to access the bucket. */ + #suppress "@azure-tools/typespec-azure-resource-manager/secret-prop" "FIXME: Mark this property as @secret if this value should be kept private" @visibility(Lifecycle.Read) accessKey?: string; /** * The Secret Key that is required along with the Access Key to access the bucket. */ + #suppress "@azure-tools/typespec-azure-resource-manager/secret-prop" "FIXME: Mark this property as @secret if this value should be kept private" @visibility(Lifecycle.Read) secretKey?: string; @@ -291,6 +316,8 @@ model BucketGenerateCredentials { @added(Versions.v2025_07_01_preview) @removed(Versions.v2025_08_01) @added(Versions.v2025_08_01_preview) +@removed(Versions.v2025_09_01) +@added(Versions.v2025_09_01_preview) union CredentialsStatus { string, @@ -316,6 +343,8 @@ union CredentialsStatus { @added(Versions.v2025_07_01_preview) @removed(Versions.v2025_08_01) @added(Versions.v2025_08_01_preview) +@removed(Versions.v2025_09_01) +@added(Versions.v2025_09_01_preview) union BucketPermissions { string, @@ -336,6 +365,8 @@ union BucketPermissions { @added(Versions.v2025_07_01_preview) @removed(Versions.v2025_08_01) @added(Versions.v2025_08_01_preview) +@removed(Versions.v2025_09_01) +@added(Versions.v2025_09_01_preview) union BucketPatchPermissions { string, @@ -353,6 +384,8 @@ union BucketPatchPermissions { @added(Versions.v2025_07_01_preview) @removed(Versions.v2025_08_01) @added(Versions.v2025_08_01_preview) +@removed(Versions.v2025_09_01) +@added(Versions.v2025_09_01_preview) @armResourceOperations interface Buckets { /** diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/Cache.tsp b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/Cache.tsp new file mode 100644 index 000000000000..55b001adadf3 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/Cache.tsp @@ -0,0 +1,581 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./Volume.tsp"; + +using Rest; +using Azure.Core; +using Azure.ResourceManager; +using Http; +using Versioning; + +namespace Microsoft.NetApp; +/** + * Cache resource + */ +@added(Versions.v2025_09_01_preview) +@parentResource(CapacityPool) +model Cache is Azure.ResourceManager.TrackedResource { + ...ResourceNameParameter< + Resource = Cache, + KeyName = "cacheName", + SegmentName = "caches", + NamePattern = "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + >; + ...Azure.ResourceManager.Legacy.EntityTagProperty; + ...Azure.ResourceManager.AvailabilityZonesProperty; +} + +/** + * List of Cache resources + */ +@added(Versions.v2025_09_01_preview) +model CacheList is Azure.Core.Page; + +/** + * Cache resource properties + */ +@added(Versions.v2025_09_01_preview) +model CacheProperties { + /** + * The file path of the Cache. + */ + @maxLength(80) + @minLength(1) + @pattern("^[a-zA-Z][a-zA-Z0-9\\-]{0,79}$") + @visibility(Lifecycle.Read, Lifecycle.Create) + filepath: string; + + /** + * Maximum storage quota allowed for a file system in bytes. Valid values are in the range 50GiB to 1PiB. Values expressed in bytes as multiples of 1GiB. + */ + @minValue(53687091200) + @maxValue(1125899906842624) + size: int64; + + /** + * Set of export policy rules + */ + @identifiers(#["ruleIndex"]) + exportPolicy?: ExportPolicyRule[]; + + /** + * Set of protocol types, default NFSv3, CIFS for SMB protocol + */ + protocolTypes?: ProtocolTypes[]; + + /** + * Azure lifecycle management + */ + @visibility(Lifecycle.Read) + provisioningState?: CacheProvisioningState; + + /** + * Azure NetApp Files Cache lifecycle management + */ + @visibility(Lifecycle.Read) + cacheState?: CacheLifeCycleState; + + /** + * The Azure Resource URI for a delegated cache subnet that will be used to allocate data IPs. + */ + @visibility(Lifecycle.Read, Lifecycle.Create) + cacheSubnetResourceId: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.Network/virtualNetworks/subnets"; + } + ]>; + + /** + * The Azure Resource URI for a delegated subnet that will be used for ANF Intercluster Interface IP addresses. + */ + @visibility(Lifecycle.Read, Lifecycle.Create) + peeringSubnetResourceId: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.Network/virtualNetworks/subnets"; + } + ]>; + + /** + * List of mount targets that can be used to mount this cache + */ + @visibility(Lifecycle.Read) + @identifiers(#["mountTargetId"]) + mountTargets?: CacheMountTargetProperties[]; + + /** + * Describe if a cache is Kerberos enabled. + */ + @visibility(Lifecycle.Read, Lifecycle.Create) + kerberos?: KerberosState; + + /** + * SMB information for the cache + */ + smbSettings?: SmbSettings; + + /** + * Maximum throughput in MiB/s that can be achieved by this cache volume and this will be accepted as input only for manual qosType cache + */ + throughputMibps?: float32; + + /** + * Actual throughput in MiB/s for auto qosType volumes calculated based on size and serviceLevel + */ + @visibility(Lifecycle.Read) + actualThroughputMibps?: float32; + + /** + * Source of key used to encrypt data in the cache. Applicable if NetApp account has encryption.keySource = 'Microsoft.KeyVault'. Possible values (case-insensitive) are: 'Microsoft.NetApp, Microsoft.KeyVault' + */ + @visibility(Lifecycle.Read, Lifecycle.Create) + encryptionKeySource: EncryptionKeySource; + + /** + * The resource ID of private endpoint for KeyVault. It must reside in the same VNET as the volume. Only applicable if encryptionKeySource = 'Microsoft.KeyVault'. + */ + keyVaultPrivateEndpointResourceId?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.Network/privateEndpoints"; + } + ]>; + + /** + * Maximum number of files allowed. + */ + @visibility(Lifecycle.Read) + maximumNumberOfFiles?: int64; + + /** + * Specifies if the cache is encryption or not. + */ + @visibility(Lifecycle.Read) + encryption?: EncryptionState; + + /** + * Language supported for volume. + */ + @visibility(Lifecycle.Read) + language?: VolumeLanguage; + + /** + * Specifies whether LDAP is enabled or not for flexcache volume. + */ + @visibility(Lifecycle.Read, Lifecycle.Create) + ldap?: LdapState; + + /** + * Specifies the type of LDAP server for flexcache volume. + */ + @visibility(Lifecycle.Read, Lifecycle.Create) + ldapServerType?: LdapServerType; + + /** + * Origin cluster information + */ + @visibility(Lifecycle.Read, Lifecycle.Create) + originClusterInformation: OriginClusterInformation; + + /** + * Flag indicating whether a CIFS change notification is enabled for the cache. + */ + cifsChangeNotifications?: CifsChangeNotifyState; + + /** + * Flag indicating whether the global file lock is enabled for the cache. + */ + @visibility(Lifecycle.Read, Lifecycle.Create) + globalFileLocking?: GlobalFileLockingState; + + /** + * Flag indicating whether writeback is enabled for the cache. + */ + writeBack?: EnableWriteBackState; +} + +/** + * SMB settings for the cache + */ +@added(Versions.v2025_09_01_preview) +model SmbSettings { + /** + * Enables encryption for in-flight smb3 data. Only applicable for SMB/DualProtocol cache. + */ + smbEncryption?: SmbEncryptionState; + + /** + * Enables access-based enumeration share property for SMB Shares. Only applicable for SMB/DualProtocol volume + */ + smbAccessBasedEnumerations?: SmbAccessBasedEnumeration; + + /** + * Enables non-browsable property for SMB Shares. Only applicable for SMB/DualProtocol volume + */ + smbNonBrowsable?: SmbNonBrowsable; +} + +/** + * Stores the origin cluster information associated to a cache. + */ +@added(Versions.v2025_09_01_preview) +model OriginClusterInformation { + /** + * ONTAP cluster name of external cluster hosting the origin volume + */ + peerClusterName: string; + + /** + * ONTAP Intercluster LIF IP addresses. One IP address per cluster node is required + */ + @minItems(1) + peerAddresses: string[]; + + /** + * External Vserver (SVM) name name of the SVM hosting the origin volume + */ + peerVserverName: string; + + /** + * External origin volume name associated to this cache + */ + peerVolumeName: string; +} + +/** + * The response containing peering passphrases and commands for cluster and vserver peering. + */ +@added(Versions.v2025_09_01_preview) +model PeeringPassphrases { + /** + * The cluster peering command. + */ + clusterPeeringCommand: string; + + /** + * The cluster peering passphrase. + */ + clusterPeeringPassphrase: string; + + /** + * The vserver peering command. + */ + vserverPeeringCommand: string; +} + +/** + * Contains all the information needed to mount a cache + */ +@added(Versions.v2025_09_01_preview) +model CacheMountTargetProperties { + /** + * UUID v4 used to identify the MountTarget + */ + @visibility(Lifecycle.Read) + @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}$") + mountTargetId?: string; + + /** + * The mount target's IPv4 address, used to mount the cache. + */ + @visibility(Lifecycle.Read) + ipAddress?: ipV4Address; + + /** + * The SMB server's Fully Qualified Domain Name, FQDN + */ + @visibility(Lifecycle.Read) + smbServerFqdn?: string; +} + +/** + * Flag indicating whether writeback is enabled for the cache. + */ +@added(Versions.v2025_09_01_preview) +union EnableWriteBackState { + string, + + /** + * Writeback cache is disabled + */ + Disabled: "Disabled", + + /** + * Writeback cache is enabled + */ + Enabled: "Enabled", +} + +/** + * Specifies whether LDAP is enabled or not. + */ +@added(Versions.v2025_09_01_preview) +union LdapState { + string, + + /** + * ldap is disabled. + */ + Disabled: "Disabled", + + /** + * ldap is enabled + */ + Enabled: "Enabled", +} + +/** + * Flag indicating whether the global file lock is enabled for the cache. + */ +@added(Versions.v2025_09_01_preview) +union GlobalFileLockingState { + string, + + /** + * Global file locking is disabled + */ + Disabled: "Disabled", + + /** + * Global file locking is enabled + */ + Enabled: "Enabled", +} + +/** + * Flag indicating whether a CIFS change notification is enabled for the cache. + */ +@added(Versions.v2025_09_01_preview) +union CifsChangeNotifyState { + string, + + /** + * CIFS change notification is disabled + */ + Disabled: "Disabled", + + /** + * CIFS change notification is enabled + */ + Enabled: "Enabled", +} + +/** + * Specifies if the cache is encryption or not. + */ +@added(Versions.v2025_09_01_preview) +union EncryptionState { + string, + + /** + * Encryption is disabled + */ + Disabled: "Disabled", + + /** + * Encryption is enabled + */ + Enabled: "Enabled", +} + +/** + * Describe if a cache is Kerberos enabled. + */ +@added(Versions.v2025_09_01_preview) +union KerberosState { + string, + + /** + * Kerberos is disabled + */ + Disabled: "Disabled", + + /** + * Kerberos is enabled + */ + Enabled: "Enabled", +} + +/** + * Azure NetApp Files Cache lifecycle management + */ +@added(Versions.v2025_09_01_preview) +union CacheLifeCycleState { + string, + + /** + * Cluster peering offer has been sent. + */ + ClusterPeeringOfferSent: "ClusterPeeringOfferSent", + + /** + * VServer peering offer has been sent. + */ + VserverPeeringOfferSent: "VserverPeeringOfferSent", + + /** + * Cache creation in progress. + */ + Creating: "Creating", + + /** + * Cache creation succeeded and is available for use. + */ + Succeeded: "Succeeded", + + /** + * Cache is in a failed state + */ + Failed: "Failed", +} + +/** + * Enables encryption for in-flight smb3 data. Only applicable for SMB/DualProtocol cache + */ +@added(Versions.v2025_09_01_preview) +union SmbEncryptionState { + string, + + /** + * SMB encryption is disabled + */ + Disabled: "Disabled", + + /** + * SMB encryption is enabled + */ + Enabled: "Enabled", +} + +/** + * Export policy rule + */ +@added(Versions.v2025_09_01_preview) +union ProtocolTypes { + string, + + /** + * NFSv3 protocol type + */ + NFSv3: "NFSv3", + + /** + * NFSv4 protocol type + */ + NFSv4: "NFSv4", + + /** + * SMB protocol type + */ + SMB: "SMB", +} + +/** + * Azure lifecycle management + */ +@added(Versions.v2025_09_01_preview) +union CacheProvisioningState { + string, + + /** + * The resource is being created. + */ + Creating: "Creating", + + /** + * The resource is being updated. + */ + Updating: "Updating", + + /** + * The resource is being deleted. + */ + Deleting: "Deleting", + + /** + * The resource is in a failed state. + */ + Failed: "Failed", + + /** + * The resource is succeeded. + */ + Succeeded: "Succeeded", + + /** + * Resource creation was canceled. + */ + Canceled: "Canceled", +} + +@armResourceOperations +@added(Versions.v2025_09_01_preview) +interface Caches { + /** + * Get the details of the specified Cache + */ + get is ArmResourceRead; + + /** + * Create or update the specified Cache within the Capacity Pool + */ + createOrUpdate is ArmResourceCreateOrReplaceAsync; + + /** + * Patch the specified Cache + */ + @patch(#{ implicitOptionality: true }) + update is ArmCustomPatchAsync< + Cache, + Azure.ResourceManager.Foundations.ResourceUpdateModel< + Cache, + CacheProperties + >, + Response = ArmResourceUpdatedResponse | ArmAcceptedLroResponse + >; + + /** + * Delete the specified cache + */ + delete is ArmResourceDeleteWithoutOkAsync; + + /** + * List all Caches within the Capacity Pool + */ + listByCapacityPools is ArmResourceListByParent< + Cache, + Response = ArmResponse + >; + + /** + * This operation will list the cluster peering command, cluster peering passphrase and the vserver peering command + */ + listPeeringPassphrases is ArmResourceActionSync< + Cache, + void, + ArmResponse + >; + + /** + * Moves Cache to another Capacity Pool + */ + poolChange is ArmResourceActionAsync< + Cache, + PoolChangeRequest, + Cache, + LroHeaders = ArmLroLocationHeader & + Azure.Core.Foundations.RetryAfterHeader + >; +} + +@@doc(Caches.poolChange::parameters.body, + "Move cache to the pool supplied in the body of the operation." +); + +@@maxLength(Cache.name, 64); +@@minLength(Cache.name, 3); +@@doc(Cache.name, "The name of the cache resource."); +@@doc(Cache.properties, "Cache properties"); diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/CapacityPool.tsp b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/CapacityPool.tsp index 3b510cf12a3c..5aaee79a3860 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/CapacityPool.tsp +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/CapacityPool.tsp @@ -6,10 +6,9 @@ import "./models.tsp"; import "./NetAppAccount.tsp"; import "@azure-tools/typespec-client-generator-core"; -using TypeSpec.Rest; +using Rest; using Azure.ResourceManager; -using TypeSpec.Http; -using TypeSpec.OpenAPI; +using Http; using Azure.ClientGenerator.Core; namespace Microsoft.NetApp; @@ -161,12 +160,14 @@ model PoolPatchProperties { * Maximum throughput in MiB/s that can be achieved by this pool and this will be accepted as input only for manual qosType pool with Flexible service level */ #suppress "@azure-tools/typespec-azure-core/no-nullable" "For backward compatibility" + @clientName("customThroughputMibpsInt", "csharp") customThroughputMibps?: int32 | null; } /** * Encryption type of the capacity pool, set encryption type for data at rest for this pool and all volumes in it. This value can only be set when creating new pool. */ +@clientName("CapacityPoolEncryptionType", "csharp") union EncryptionType { string, diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/Elastic/ElasticAccount.tsp b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/Elastic/ElasticAccount.tsp new file mode 100644 index 000000000000..7ded1dc4fbca --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/Elastic/ElasticAccount.tsp @@ -0,0 +1,163 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./../models.tsp"; +import "@azure-tools/typespec-client-generator-core"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; +using TypeSpec.Versioning; +using Azure.ClientGenerator.Core; + +namespace Microsoft.NetApp; + +/** + * NetApp elastic account resource + */ +@added(Versions.v2025_09_01_preview) +model ElasticAccount is TrackedResource { + ...ResourceNameParameter< + Resource = ElasticAccount, + KeyName = "accountName", + SegmentName = "elasticAccounts", + NamePattern = "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + >; + ...Azure.ResourceManager.EntityTagProperty; + ...Azure.ResourceManager.ManagedServiceIdentityProperty; +} + +/** + * NetApp elastic account properties + */ +@added(Versions.v2025_09_01_preview) +model ElasticAccountProperties { + /** + * Azure lifecycle management. + */ + @visibility(Lifecycle.Read) + provisioningState?: NetAppProvisioningState; + + /** Encryption settings */ + encryption?: ElasticEncryption; +} + +/** + * Encryption settings + */ +@added(Versions.v2025_09_01_preview) +model ElasticEncryption { + /** The encryption keySource (provider). Possible values (case-insensitive): Microsoft.NetApp, Microsoft.KeyVault */ + keySource?: KeySource; + + /** Properties provided by KeyVault. Applicable if keySource is 'Microsoft.KeyVault'. */ + keyVaultProperties?: ElasticKeyVaultProperties; + + /** Identity used to authenticate to KeyVault. Applicable if keySource is 'Microsoft.KeyVault'. */ + identity?: ElasticEncryptionIdentity; +} + +/** + * Properties of key vault. + */ +@added(Versions.v2025_09_01_preview) +model ElasticKeyVaultProperties { + /** The Uri of KeyVault. */ + keyVaultUri?: url; + + /** The name of KeyVault key. */ + @minLength(1) + @maxLength(127) + @pattern("^[a-zA-Z0-9-]{1,127}$") + keyName?: string; + + /** The resource ID of KeyVault. */ + keyVaultResourceId?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.KeyVault/vaults"; + } + ]>; + + /** Status of the KeyVault connection. */ + @visibility(Lifecycle.Read) + status?: ElasticKeyVaultStatus; +} + +/** + * KeyVault status + */ +@added(Versions.v2025_09_01_preview) +union ElasticKeyVaultStatus { + string, + + /** KeyVault connection created but not in use */ + Created: "Created", + + /** KeyVault connection in use by SMB Volume */ + InUse: "InUse", + + /** KeyVault connection Deleted */ + Deleted: "Deleted", + + /** Error with the KeyVault connection */ + Error: "Error", + + /** KeyVault connection Updating */ + Updating: "Updating", +} + +/** + * Identity used to authenticate with key vault. + */ +@added(Versions.v2025_09_01_preview) +model ElasticEncryptionIdentity { + /** The principal ID (object ID) of the identity used to authenticate with key vault. Read-only. */ + @visibility(Lifecycle.Read) + principalId?: string; + + /** The ARM resource identifier of the user assigned identity used to authenticate with key vault. Applicable if identity.type has 'UserAssigned'. It should match key of identity.userAssignedIdentities. */ + userAssignedIdentity?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.ManagedIdentity/userAssignedIdentities"; + } + ]>; +} + +@armResourceOperations +interface ElasticAccounts { + /** Get the NetApp Elastic Account */ + @added(Versions.v2025_09_01_preview) + get is ArmResourceRead; + + /** Create or update the specified NetApp Elastic Account within the resource group */ + @added(Versions.v2025_09_01_preview) + createOrUpdate is ArmResourceCreateOrUpdateAsync; + + /** Patch the specified NetApp Elastic Account */ + @added(Versions.v2025_09_01_preview) + @patch(#{ implicitOptionality: true }) + update is ArmCustomPatchAsync< + ElasticAccount, + Azure.ResourceManager.Foundations.ResourceUpdateModel< + ElasticAccount, + ElasticAccountProperties + > + >; + + /** Delete the specified NetApp elastic account */ + @added(Versions.v2025_09_01_preview) + delete is ArmResourceDeleteWithoutOkAsync; + + /** List and describe all NetApp elastic accounts in the resource group. */ + @added(Versions.v2025_09_01_preview) + listByResourceGroup is ArmResourceListByParent; + + /** List and describe all NetApp elastic accounts in the subscription. */ + @added(Versions.v2025_09_01_preview) + listBySubscription is ArmListBySubscription; +} + +@@clientName(ElasticAccounts.createOrUpdate::parameters.resource, "body"); +@@clientName(ElasticAccounts.update::parameters.properties, "body"); diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/Elastic/ElasticBackup.tsp b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/Elastic/ElasticBackup.tsp new file mode 100644 index 000000000000..cc3728a267aa --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/Elastic/ElasticBackup.tsp @@ -0,0 +1,176 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./../models.tsp"; +import "@azure-tools/typespec-client-generator-core"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; +using TypeSpec.Versioning; +using Azure.ClientGenerator.Core; + +namespace Microsoft.NetApp; + +/** + * NetApp Elastic Backup under an elastic Backup Vault + */ +@added(Versions.v2025_09_01_preview) +@parentResource(ElasticBackupVault) +model ElasticBackup is ProxyResource { + ...ResourceNameParameter< + Resource = ElasticBackup, + KeyName = "backupName", + SegmentName = "elasticBackups", + NamePattern = "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + >; +} + +/** + * Elastic Backup properties + */ +@added(Versions.v2025_09_01_preview) +model ElasticBackupProperties { + /** The creation date of the backup */ + @visibility(Lifecycle.Read) + creationDate?: utcDateTime; + + /** The snapshot creation date of the backup */ + @visibility(Lifecycle.Read) + snapshotCreationDate?: utcDateTime; + + /** The completion date of the backup */ + @visibility(Lifecycle.Read) + completionDate?: utcDateTime; + + /** Azure lifecycle management. */ + @visibility(Lifecycle.Read) + provisioningState?: NetAppProvisioningState; + + /** Size of backup in bytes */ + @visibility(Lifecycle.Read) + size?: int64; + + /** Label for backup */ + label?: string; + + /** Type of backup Manual or Scheduled */ + @visibility(Lifecycle.Read) + backupType?: ElasticBackupType; + + /** Failure reason */ + @visibility(Lifecycle.Read) + failureReason?: string; + + /** ResourceId used to identify the Elastic Volume */ + @visibility(Lifecycle.Read, Lifecycle.Create) + elasticVolumeResourceId: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.NetApp/elasticAccounts/elasticCapacityPools/elasticVolumes"; + } + ]>; + + /** Manual backup using an already existing snapshot. This will always be CreateNewSnapshot for scheduled backups and UseExistingSnapshot/CreateNewSnapshot for manual backups */ + @visibility(Lifecycle.Read, Lifecycle.Create) + snapshotUsage?: SnapshotUsage = SnapshotUsage.CreateNewSnapshot; + + /** ResourceId used to identify the elastic snapshot resource. This is required when an existing snapshot needs to be used for creating a manual backup */ + @visibility(Lifecycle.Read, Lifecycle.Create) + elasticSnapshotResourceId?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.NetApp/elasticAccounts/elasticCapacityPools/elasticVolumes/elasticSnapshots"; + } + ]>; + + /** ResourceId used to identify the elastic backup policy */ + @visibility(Lifecycle.Read) + elasticBackupPolicyResourceId?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.NetApp/elasticAccounts/elasticBackupPolicies"; + } + ]>; + + /** Specifies if the backup is for a large volume. */ + @visibility(Lifecycle.Read) + volumeSize?: VolumeSize; +} + +/** + * Type of backup + */ +@added(Versions.v2025_09_01_preview) +union ElasticBackupType { + string, + + /** Manual backup type */ + Manual: "Manual", + + /** Scheduled backup type */ + Scheduled: "Scheduled", +} + +/** + * Snapshot usage for backup + */ +@added(Versions.v2025_09_01_preview) +union SnapshotUsage { + string, + + /** Value indicating an existing snapshot is used */ + UseExistingSnapshot: "UseExistingSnapshot", + + /** Value indicating a new snapshot is created */ + CreateNewSnapshot: "CreateNewSnapshot", +} + +/** + * Volume size for backup + */ +@added(Versions.v2025_09_01_preview) +union VolumeSize { + string, + + /** Value indicating backup is for a large volume */ + Large: "Large", + + /** Value indicating backup is not for a large volume */ + Regular: "Regular", +} + +@armResourceOperations +interface ElasticBackups { + /** Get the specified Elastic Backup under Elastic Backup Vault. */ + @added(Versions.v2025_09_01_preview) + get is ArmResourceRead; + + /** Create an elastic backup under the elastic Backup Vault */ + @added(Versions.v2025_09_01_preview) + createOrUpdate is ArmResourceCreateOrUpdateAsync; + + /** Patch an elastic Backup under the Elastic Backup Vault */ + @added(Versions.v2025_09_01_preview) + update is ArmResourcePatchAsync< + ElasticBackup, + Azure.ResourceManager.Foundations.ResourceUpdateModel< + ElasticBackup, + ElasticBackupProperties + > + >; + + @added(Versions.v2025_09_01_preview) + delete is ArmResourceDeleteWithoutOkAsync; + + /** + * List all elastic backups Under an elastic Backup Vault + */ + @added(Versions.v2025_09_01_preview) + listByVault is ArmResourceListByParent; +} + +@@clientName(ElasticBackups.createOrUpdate::parameters.resource, "body"); +@@clientName(ElasticBackups.update::parameters.properties, "body"); + +@@maxLength(ElasticBackup.name, 256); +@@minLength(ElasticBackup.name, 1); diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/Elastic/ElasticBackupPolicy.tsp b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/Elastic/ElasticBackupPolicy.tsp new file mode 100644 index 000000000000..6c2d4883b291 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/Elastic/ElasticBackupPolicy.tsp @@ -0,0 +1,120 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./../models.tsp"; +import "@azure-tools/typespec-client-generator-core"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; +using TypeSpec.Versioning; +using Azure.ClientGenerator.Core; + +namespace Microsoft.NetApp; + +/** + * NetApp Elastic Backup Policy resource + */ +@added(Versions.v2025_09_01_preview) +@parentResource(ElasticAccount) +model ElasticBackupPolicy is TrackedResource { + ...ResourceNameParameter< + Resource = ElasticBackupPolicy, + KeyName = "backupPolicyName", + SegmentName = "elasticBackupPolicies", + NamePattern = "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + >; + ...Azure.ResourceManager.EntityTagProperty; +} + +/** + * Elastic Backup Policy properties + */ +@added(Versions.v2025_09_01_preview) +model ElasticBackupPolicyProperties { + /** Azure lifecycle management. */ + @visibility(Lifecycle.Read) + provisioningState?: NetAppProvisioningState; + + /** Daily backups count to keep */ + @minValue(2) + @maxValue(1017) + dailyBackupsToKeep?: int32; + + /** Weekly backups count to keep */ + @minValue(0) + @maxValue(1019) + weeklyBackupsToKeep?: int32; + + /** Monthly backups count to keep */ + @minValue(0) + @maxValue(1019) + monthlyBackupsToKeep?: int32; + + /** The number of volumes currently using this Backup Policy. */ + @visibility(Lifecycle.Read) + assignedVolumesCount?: int32; + + /** The property to identify whether Backup Policy is enabled or not */ + policyState?: ElasticBackupPolicyState; +} + +/** + * Elastic Backup Policy state + */ +@added(Versions.v2025_09_01_preview) +union ElasticBackupPolicyState { + string, + + /** Value indicating the policy is enabled */ + Enabled: "Enabled", + + /** Value indicating the policy is disabled */ + Disabled: "Disabled", +} + +@armResourceOperations +interface ElasticBackupPolicies { + /** + * Get the Elastic Backup Policy + */ + @added(Versions.v2025_09_01_preview) + get is ArmResourceRead; + + /** + * Create or update the specified Elastic Backup Policy in the NetApp account + */ + @added(Versions.v2025_09_01_preview) + createOrUpdate is ArmResourceCreateOrUpdateAsync; + + /** + * Patch the specified NetApp Elastic Backup Policy + */ + @added(Versions.v2025_09_01_preview) + update is ArmResourcePatchAsync< + ElasticBackupPolicy, + Azure.ResourceManager.Foundations.ResourceUpdateModel< + ElasticBackupPolicy, + ElasticBackupPolicyProperties + > + >; + + /** + * Delete the specified Elastic Policy + */ + @added(Versions.v2025_09_01_preview) + delete is ArmResourceDeleteWithoutOkAsync; + /** + * List and describe all Elastic Backup Policies in the elastic account. + */ + @added(Versions.v2025_09_01_preview) + listByElasticAccount is ArmResourceListByParent; +} + +@@clientName(ElasticBackupPolicies.createOrUpdate::parameters.resource, "body"); +@@clientName(ElasticBackupPolicies.update::parameters.properties, "body"); + +@@maxLength(ElasticBackupPolicy.name, 64); +@@minLength(ElasticBackupPolicy.name, 1); diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/Elastic/ElasticBackupVault.tsp b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/Elastic/ElasticBackupVault.tsp new file mode 100644 index 000000000000..10b011af21da --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/Elastic/ElasticBackupVault.tsp @@ -0,0 +1,86 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./../models.tsp"; +import "@azure-tools/typespec-client-generator-core"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; +using TypeSpec.Versioning; +using Azure.ClientGenerator.Core; + +namespace Microsoft.NetApp; + +/** + * NetApp elastic backup vault resource + */ +@added(Versions.v2025_09_01_preview) +@parentResource(ElasticAccount) +model ElasticBackupVault is TrackedResource { + ...ResourceNameParameter< + Resource = ElasticBackupVault, + KeyName = "backupVaultName", + SegmentName = "elasticBackupVaults", + NamePattern = "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + >; + ...Azure.ResourceManager.EntityTagProperty; +} + +/** + * Elastic Backup Vault properties + */ +@added(Versions.v2025_09_01_preview) +model ElasticBackupVaultProperties { + /** + * Azure lifecycle management. + */ + @visibility(Lifecycle.Read) + provisioningState?: NetAppProvisioningState; +} + +@armResourceOperations +interface ElasticBackupVaults { + /** + * Get the Elastic Backup Vault + */ + @added(Versions.v2025_09_01_preview) + get is ArmResourceRead; + + /** + * Create or update the specified Elastic Backup Vault in the Elastic NetApp account + */ + @added(Versions.v2025_09_01_preview) + createOrUpdate is ArmResourceCreateOrUpdateAsync; + + /** + * Patch the specified NetApp Elastic Backup Vault + */ + @added(Versions.v2025_09_01_preview) + update is ArmResourcePatchAsync< + ElasticBackupVault, + Azure.ResourceManager.Foundations.ResourceUpdateModel< + ElasticBackupVault, + ElasticBackupVaultProperties + > + >; + + /** + * Delete the specified Elastic Backup Vault + */ + @added(Versions.v2025_09_01_preview) + delete is ArmResourceDeleteWithoutOkAsync; + /** + * List and describe all Elastic Backup Vaults in the elastic account. + */ + @added(Versions.v2025_09_01_preview) + listByElasticAccount is ArmResourceListByParent; +} + +@@clientName(ElasticBackupVaults.createOrUpdate::parameters.resource, "body"); +@@clientName(ElasticBackupVaults.update::parameters.properties, "body"); + +@@maxLength(ElasticBackupVault.name, 64); +@@minLength(ElasticBackupVault.name, 1); diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/Elastic/ElasticCapacityPool.tsp b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/Elastic/ElasticCapacityPool.tsp new file mode 100644 index 000000000000..3c370680f2da --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/Elastic/ElasticCapacityPool.tsp @@ -0,0 +1,292 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./../models.tsp"; +import "@azure-tools/typespec-client-generator-core"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; +using TypeSpec.Versioning; +using Azure.ClientGenerator.Core; + +namespace Microsoft.NetApp; + +/** + * NetApp Elastic Capacity Pool resource + */ +@added(Versions.v2025_09_01_preview) +@parentResource(ElasticAccount) +model ElasticCapacityPool is TrackedResource { + ...ResourceNameParameter< + Resource = ElasticCapacityPool, + KeyName = "poolName", + SegmentName = "elasticCapacityPools", + NamePattern = "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + >; + ...Azure.ResourceManager.EntityTagProperty; + ...Azure.ResourceManager.AvailabilityZonesProperty; +} + +/** + * Elastic capacity pool properties + */ +@added(Versions.v2025_09_01_preview) +model ElasticCapacityPoolProperties { + /** + * Provisioned size of the pool (in bytes). For zoneRedundant service level pool, value must be in the range 1TiB to 16TiB or 1TiB to 128TiB for supported region. Values expressed in bytes as multiples of 1TiB till 16TiB and in multiples of 8TiB from 24TiB to 128TiB. Pool size can't be shrunk once it is created. + */ + @minValue(1099511627776) + @maxValue(140737488355330) + size: int64; + + /** + * The service level of the elastic capacity pool + */ + @visibility(Lifecycle.Read, Lifecycle.Create) + serviceLevel: ElasticServiceLevel; + + /** + * Azure lifecycle management. + */ + @visibility(Lifecycle.Read) + provisioningState?: NetAppProvisioningState; + + /** + * Encryption settings + */ + encryption?: ElasticEncryptionConfiguration; + + /** + * Total throughput of the pool in MiB/s + */ + @visibility(Lifecycle.Read) + totalThroughputMibps?: float64; + + /** + * The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/elasticVolumes, this is used by all the volumes within the pool + */ + @visibility(Lifecycle.Read, Lifecycle.Create) + subnetResourceId: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.Network/virtualNetworks/subnets"; + } + ]>; + + /** + * Indicates the current zone of the pool. This can be changed for zoneRedundant service level pool with the changeZone action + */ + @minLength(1) + @maxLength(1) + @visibility(Lifecycle.Read) + currentZone?: string; + + /** + * Current availability status of the resource. + */ + @visibility(Lifecycle.Read) + availabilityStatus?: ElasticResourceAvailabilityStatus; + + /** + * The Azure Resource URI for an Active Directory configuration. This is used by all the SMB volumes within the pool + */ + activeDirectoryConfigResourceId?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.Netapp/activeDirectoryConfigs"; + } + ]>; +} + +/** Service level for elastic capacity pool */ +@added(Versions.v2025_09_01_preview) +union ElasticServiceLevel { + string, + + /** Zone redundant storage service level. */ + ZoneRedundant: "ZoneRedundant", +} + +/** + * CMK Encryption Configuration + */ +@added(Versions.v2025_09_01_preview) +model ElasticEncryptionConfiguration { + /** + * Pool Encryption Key Source. + */ + elasticPoolEncryptionKeySource: ElasticPoolEncryptionKeySource; + + /** + * The resource ID of private endpoint for KeyVault. It must reside in the same VNET as the volume. Only applicable if encryptionKeySource = 'Microsoft.KeyVault'. + */ + keyVaultPrivateEndpointResourceId: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.Network/privateEndpoints"; + } + ]>; +} + +/** + * Pool Encryption Key Source. + */ +@added(Versions.v2025_09_01_preview) +union ElasticPoolEncryptionKeySource { + string, + + /** + * Represents the encryption key source of Elastic pool is Microsoft.NetApp + */ + NetApp: "NetApp", + + /** + * Represents the encryption key source of Elastic pool is Microsoft.KeyVault + */ + KeyVault: "KeyVault", +} + +/** + * Current availability status of the resource. + */ +@added(Versions.v2025_09_01_preview) +union ElasticResourceAvailabilityStatus { + string, + + /** + * The resource is currently Online and accessible + */ + Online: "Online", + + /** + * The resource is currently Offline and not accessible + */ + Offline: "Offline", +} + +/** + * Availability status + */ +@added(Versions.v2025_09_01_preview) +union CheckElasticResourceAvailabilityStatus { + string, + + /** Value indicating the name is valid and available */ + True: "True", + + /** Value indicating the the name is invalid, unavailable, or both. */ + False: "False", +} + +/** + * Availability reason + */ +@added(Versions.v2025_09_01_preview) +union CheckElasticResourceAvailabilityReason { + string, + + /** Value indicating the name provided does not match Azure NetApp Files naming requirements */ + Invalid: "Invalid", + + /** Value indicating the name is already in use and is therefore unavailable */ + AlreadyExists: "AlreadyExists", +} + +/** Changes the zone for the Zone Redundant elastic capacity pool */ +@added(Versions.v2025_09_01_preview) +model ChangeZoneRequest { + /** Availability zone to move Zone Redundant elastic capacity pool to */ + @minLength(1) + @maxLength(1) + newZone: string; +} + +/** + * File path availability request content - availability is based on the elastic volume filePath within the given elastic capacityPool. + */ +@added(Versions.v2025_09_01_preview) +model CheckElasticVolumeFilePathAvailabilityRequest { + /** + * A unique file path for the volume. Used when creating mount targets. This needs to be unique within the elastic capacity pool. + */ + @pattern("^[a-zA-Z][a-zA-Z0-9\\-]{0,79}$") + @minLength(1) + @maxLength(80) + filePath: string; +} + +/** + * Information regarding availability of a resource. + */ +@added(Versions.v2025_09_01_preview) +@clientName("CheckElasticResourceAvailabilityResult", "csharp") +model CheckElasticResourceAvailabilityResponse { + /** + * True indicates name is valid and available. False indicates the name is invalid, unavailable, or both. + */ + isAvailable?: CheckElasticResourceAvailabilityStatus; + + /** + * Invalid indicates the name provided does not match Azure NetApp Files naming requirements. AlreadyExists indicates that the name is already in use and is therefore unavailable. + */ + reason?: CheckElasticResourceAvailabilityReason; + + /** + * 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. + */ + message?: string; +} + +@armResourceOperations +interface ElasticCapacityPools { + /** Get the NetApp Elastic Capacity Pool */ + @added(Versions.v2025_09_01_preview) + get is ArmResourceRead; + + /** Create or update the specified NetApp Elastic Capacity Pool within the resource group and NetApp Elastic Account */ + @added(Versions.v2025_09_01_preview) + createOrUpdate is ArmResourceCreateOrUpdateAsync; + + /** Patch the specified NetApp Elastic Capacity Pool */ + @added(Versions.v2025_09_01_preview) + @patch(#{ implicitOptionality: true }) + update is ArmCustomPatchAsync< + ElasticCapacityPool, + Azure.ResourceManager.Foundations.ResourceUpdateModel< + ElasticCapacityPool, + ElasticCapacityPoolProperties + > + >; + + /** Delete the specified NetApp Elastic Capacity Pool */ + @added(Versions.v2025_09_01_preview) + delete is ArmResourceDeleteWithoutOkAsync; + + /** List and describe all NetApp Elastic Capacity Pools in the Elastic NetApp Account. */ + @added(Versions.v2025_09_01_preview) + listByElasticAccount is ArmResourceListByParent; + + /** + * Moves pool to another zone + */ + @added(Versions.v2025_09_01_preview) + changeZone is ArmResourceActionAsync< + ElasticCapacityPool, + ChangeZoneRequest, + ElasticCapacityPool + >; + + /** Check if an Elastic Volume file path is available within the given Elastic Capacity Pool. */ + @added(Versions.v2025_09_01_preview) + checkVolumeFilePathAvailability is ArmResourceActionSync< + ElasticCapacityPool, + CheckElasticVolumeFilePathAvailabilityRequest, + CheckElasticResourceAvailabilityResponse + >; +} + +@@maxLength(ElasticCapacityPool.name, 64); +@@minLength(ElasticCapacityPool.name, 1); + +@@clientName(ElasticCapacityPools.createOrUpdate::parameters.resource, "body"); +@@clientName(ElasticCapacityPools.update::parameters.properties, "body"); diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/Elastic/ElasticRegionInfoResource.tsp b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/Elastic/ElasticRegionInfoResource.tsp new file mode 100644 index 000000000000..3e87e78e8e60 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/Elastic/ElasticRegionInfoResource.tsp @@ -0,0 +1,91 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "@typespec/versioning"; +import "./../models.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; +using TypeSpec.Versioning; + +@armProviderNamespace("Microsoft.NetApp") +namespace Microsoft.NetApp; +/** + * Information regarding regionInfo Item. + */ +@singleton("default") +@added(Versions.v2025_09_01_preview) +@parentResource(SubscriptionLocationResource) +model ElasticRegionInfoResource + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = ElasticRegionInfoResource, + KeyName = "regionInfo", + SegmentName = "regionInfos", + NamePattern = "" + >; +} + +/** + * Contains information about the logical availability zones available within a specific Azure region for a given subscription, used to determine where elastic resources can be provisioned. + */ +@added(Versions.v2025_09_01_preview) +model ElasticRegionInfo { + /** Lists the logical availability zones in the specified region and indicates their current availability status for the subscription. This helps determine which zones can be used to deploy or elastic resources. */ + @OpenAPI.extension("x-ms-identifiers", #["availabilityZone"]) + availabilityZoneMappings?: AvailabilityZoneMapping[]; +} + +/** + * Lists the logical availability zones in the specified region and indicates their current availability status for the subscription. This helps determine which zones can be used to deploy or elastic resources. + */ +model AvailabilityZoneMapping { + /** The identifier of the logical availability zone within the region (e.g., '1', '2', '3') */ + availabilityZone?: string; + + /** Indicates whether the specified availability zone is currently available for provisioning elastic resources */ + availabilityStatus?: ZoneAvailabilityStatus; +} + +union ZoneAvailabilityStatus { + string, + + /** The availabilityZone is available */ + Available: "Available", + + /** The availabilityZone is unavailable */ + Unavailable: "Unavailable", +} + +/** + * List of regionInfo resources + */ +@added(Versions.v2025_09_01_preview) +model ElasticRegionInfosList is Azure.Core.Page; + +@armResourceOperations +@added(Versions.v2025_09_01_preview) +interface ElasticRegionInfoResources { + /** + * Provides storage to network proximity and logical zone mapping information. + */ + get is ArmResourceRead< + ElasticRegionInfoResource, + BaseParameters = Azure.ResourceManager.Foundations.SubscriptionBaseParameters + >; + + /** + * Provides region specific information. + */ + list is ArmResourceListByParent< + ElasticRegionInfoResource, + BaseParameters = Azure.ResourceManager.Foundations.SubscriptionBaseParameters, + Response = ArmResponse + >; +} + +@@doc(ElasticRegionInfoResource.name, ""); +@@doc(ElasticRegionInfoResource.properties, "regionInfo properties"); diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/Elastic/ElasticSnapshot.tsp b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/Elastic/ElasticSnapshot.tsp new file mode 100644 index 000000000000..4ccd548102aa --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/Elastic/ElasticSnapshot.tsp @@ -0,0 +1,56 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./../models.tsp"; +import "@azure-tools/typespec-client-generator-core"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; +using TypeSpec.Versioning; +using Azure.ClientGenerator.Core; + +namespace Microsoft.NetApp; + +/** + * NetApp Elastic Snapshot under an Elastic Volume + */ +@added(Versions.v2025_09_01_preview) +@parentResource(ElasticVolume) +model ElasticSnapshot is ProxyResource { + ...ResourceNameParameter< + Resource = ElasticSnapshot, + KeyName = "snapshotName", + SegmentName = "elasticSnapshots", + NamePattern = "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + >; +} + +/** + * Elastic Snapshot properties + */ +@added(Versions.v2025_09_01_preview) +model ElasticSnapshotProperties { + /** Azure lifecycle management. */ + @visibility(Lifecycle.Read) + provisioningState?: NetAppProvisioningState; +} + +@armResourceOperations +interface ElasticSnapshots { + @added(Versions.v2025_09_01_preview) + get is ArmResourceRead; + @added(Versions.v2025_09_01_preview) + createOrUpdate is ArmResourceCreateOrUpdateAsync; + @added(Versions.v2025_09_01_preview) + delete is ArmResourceDeleteWithoutOkAsync; + @added(Versions.v2025_09_01_preview) + listByElasticVolume is ArmResourceListByParent; +} + +@@maxLength(ElasticSnapshot.name, 64); +@@minLength(ElasticSnapshot.name, 1); + +@@clientName(ElasticSnapshots.createOrUpdate::parameters.resource, "body"); diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/Elastic/ElasticSnapshotPolicy.tsp b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/Elastic/ElasticSnapshotPolicy.tsp new file mode 100644 index 000000000000..acb3834eedcb --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/Elastic/ElasticSnapshotPolicy.tsp @@ -0,0 +1,239 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./../models.tsp"; +import "@azure-tools/typespec-client-generator-core"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; +using TypeSpec.Versioning; +using Azure.ClientGenerator.Core; + +namespace Microsoft.NetApp; + +/** + * NetApp Elastic Snapshot Policy under an Elastic Account + */ +@added(Versions.v2025_09_01_preview) +@parentResource(ElasticAccount) +model ElasticSnapshotPolicy + is TrackedResource { + ...ResourceNameParameter< + Resource = ElasticSnapshotPolicy, + KeyName = "snapshotPolicyName", + SegmentName = "elasticSnapshotPolicies", + NamePattern = "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + >; + ...Azure.ResourceManager.EntityTagProperty; +} + +/** + * Elastic Snapshot policy properties + */ +@added(Versions.v2025_09_01_preview) +model ElasticSnapshotPolicyProperties { + /** + * Schedule for hourly snapshots + */ + hourlySchedule?: ElasticSnapshotPolicyHourlySchedule; + + /** + * Schedule for daily snapshots + */ + dailySchedule?: ElasticSnapshotPolicyDailySchedule; + + /** + * Schedule for weekly snapshots + */ + weeklySchedule?: ElasticSnapshotPolicyWeeklySchedule; + + /** Schedule for monthly snapshots */ + monthlySchedule?: ElasticSnapshotPolicyMonthlySchedule; + + /** Configures if the snapshot policy is enabled on the volumes connected to the policy. */ + policyStatus?: PolicyStatus; + + /** Azure lifecycle management. */ + @visibility(Lifecycle.Read) + provisioningState?: NetAppProvisioningState; +} + +/** + * Policy status + */ +@added(Versions.v2025_09_01_preview) +union PolicyStatus { + string, + + /** Value indicating the policy is enabled */ + Enabled: "Enabled", + + /** Value indicating the policy is disabled */ + Disabled: "Disabled", +} + +/** Hourly Schedule properties used to create NetApp snapshot policy */ +@added(Versions.v2025_09_01_preview) +model ElasticSnapshotPolicyHourlySchedule { + /** Hourly snapshot count to keep */ + @minValue(0) + @maxValue(255) + snapshotsToKeep?: int32; + + /** Indicates which minute snapshot should be taken */ + @minValue(0) + @maxValue(59) + @example(30) + minute?: int32; +} + +/** Daily Schedule properties used to create NetApp snapshot policy */ +@added(Versions.v2025_09_01_preview) +model ElasticSnapshotPolicyDailySchedule { + /** Daily snapshot count to keep */ + @minValue(0) + @maxValue(255) + snapshotsToKeep?: int32; + + /** Indicates which hour in UTC timezone a snapshot should be taken */ + @minValue(0) + @maxValue(23) + @example(11) + hour?: int32; + + /** Indicates which minute snapshot should be taken */ + @minValue(0) + @maxValue(59) + @example(30) + minute?: int32; +} + +/** Weekly Schedule properties used to create NetApp snapshot policy */ +@added(Versions.v2025_09_01_preview) +model ElasticSnapshotPolicyWeeklySchedule { + /** Weekly snapshot count to keep */ + @minValue(0) + @maxValue(255) + snapshotsToKeep?: int32; + + /** Indicates which weekday(s) snapshot(s) should be taken, accepts a list of week day names in english */ + @example(#["Sunday", "Monday"]) + days?: DayOfWeek[]; + + /** Indicates which hour in UTC timezone a snapshot should be taken */ + @minValue(0) + @maxValue(23) + @example(11) + hour?: int32; + + /** Indicates which minute snapshot should be taken */ + @minValue(0) + @maxValue(59) + @example(30) + minute?: int32; +} + +/** Monthly Schedule properties used to create NetApp snapshot policy */ +@added(Versions.v2025_09_01_preview) +model ElasticSnapshotPolicyMonthlySchedule { + /** Monthly snapshot count to keep */ + @minValue(0) + @maxValue(255) + snapshotsToKeep?: int32; + + /** Indicates which days of the month snapshot (1-31) should be taken, accepts a list of integers */ + @example(#[1, 11, 21]) + daysOfMonth?: int32[]; + + /** Indicates which hour in UTC timezone a snapshot should be taken */ + @minValue(0) + @maxValue(23) + @example(11) + hour?: int32; + + /** Indicates which minute snapshot should be taken */ + @minValue(0) + @maxValue(59) + @example(30) + minute?: int32; +} + +/** + * Day of the week + */ +@added(Versions.v2025_09_01_preview) +union DayOfWeek { + string, + + /** Take a snapshot each Sunday */ + Sunday: "Sunday", + + /** Take a snapshot each Monday */ + Monday: "Monday", + + /** Take a snapshot each Tuesday */ + Tuesday: "Tuesday", + + /** Take a snapshot each Wednesday */ + Wednesday: "Wednesday", + + /** Take a snapshot each Thursday */ + Thursday: "Thursday", + + /** Take a snapshot each Friday */ + Friday: "Friday", + + /** Take a snapshot each Saturday */ + Saturday: "Saturday", +} +/** + * Elastic Volumes associated with Elastic Snapshot Policy + */ +model ElasticSnapshotPolicyVolumeList is Azure.Core.Page; + +@armResourceOperations +interface ElasticSnapshotPolicies { + @added(Versions.v2025_09_01_preview) + get is ArmResourceRead; + + @added(Versions.v2025_09_01_preview) + createOrUpdate is ArmResourceCreateOrUpdateAsync; + + @added(Versions.v2025_09_01_preview) + @patch(#{ implicitOptionality: true }) + update is ArmResourcePatchAsync< + ElasticSnapshotPolicy, + Azure.ResourceManager.Foundations.ResourceUpdateModel< + ElasticSnapshotPolicy, + ElasticSnapshotPolicyProperties + > + >; + @added(Versions.v2025_09_01_preview) + delete is ArmResourceDeleteWithoutOkAsync; + @added(Versions.v2025_09_01_preview) + listByElasticAccount is ArmResourceListByParent; + + /** + * Get elastic volumes associated with Elastic Snapshot Policy + */ + @list + @get + @action("elasticvolumes") + @added(Versions.v2025_09_01_preview) + listElasticVolumes is ArmResourceActionSync< + ElasticSnapshotPolicy, + void, + ElasticSnapshotPolicyVolumeList + >; +} + +@@maxLength(ElasticSnapshotPolicy.name, 64); +@@minLength(ElasticSnapshotPolicy.name, 1); + +@@clientName(ElasticSnapshotPolicies.createOrUpdate::parameters.resource, + "body" +); +@@clientName(ElasticSnapshotPolicies.update::parameters.properties, "body"); diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/Elastic/ElasticVolume.tsp b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/Elastic/ElasticVolume.tsp new file mode 100644 index 000000000000..c4c231eb82fe --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/Elastic/ElasticVolume.tsp @@ -0,0 +1,406 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./../models.tsp"; +import "@azure-tools/typespec-client-generator-core"; + +using Rest; +using Azure.Core; +using Azure.ResourceManager; +using Http; +using Versioning; +using Azure.ClientGenerator.Core; + +namespace Microsoft.NetApp; + +/** + * NetApp Elastic Volume resource + */ +@added(Versions.v2025_09_01_preview) +@parentResource(ElasticCapacityPool) +model ElasticVolume is TrackedResource { + ...ResourceNameParameter< + Resource = ElasticVolume, + KeyName = "volumeName", + SegmentName = "elasticVolumes", + NamePattern = "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + >; + ...Azure.ResourceManager.EntityTagProperty; + ...Azure.ResourceManager.AvailabilityZonesProperty; +} + +/** + * Elastic Volume properties + */ +@added(Versions.v2025_09_01_preview) +model ElasticVolumeProperties { + /** A unique file path for the volume. Used when creating mount targets. This needs to be unique within the elastic capacity pool. */ + @pattern("^[a-zA-Z][a-zA-Z0-9\\-]{0,79}$") + @minLength(1) + @maxLength(80) + @visibility(Lifecycle.Read, Lifecycle.Create) + filePath: string; + + /** Maximum size allowed for a volume in bytes. Valid values are in the range 1GiB to 16TiB. Values expressed in bytes as multiples of 1 GiB. */ + @minValue(1073741824) + @maxValue(17592186044416) + size: int64; + + /** Set of export policy rules */ + exportPolicy?: ElasticExportPolicy; + + /** Set of support protocol types for the elastic volume */ + protocolTypes: ElasticProtocolType[]; + + /** + * Azure lifecycle management. + */ + @visibility(Lifecycle.Read) + provisioningState?: NetAppProvisioningState; + + /** Current availability status of the resource. */ + @visibility(Lifecycle.Read) + availabilityStatus?: ElasticResourceAvailabilityStatus; + + /** Resource identifier used to identify the Elastic Snapshot. */ + @visibility(Lifecycle.Read, Lifecycle.Create) + snapshotResourceId?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.NetApp/elasticAccounts/elasticCapacityPools/elasticVolumes/elasticSnapshots"; + } + ]>; + + /** List of mount targets that can be used to mount this volume */ + @identifiers(#["ipAddress"]) + @visibility(Lifecycle.Read) + mountTargets?: ElasticMountTargetProperties[]; + + /** Data protection configuration option for the volume, including snapshot policies and backup. */ + dataProtection?: ElasticVolumeDataProtectionProperties; + + /** Controls the visibility of the volume's read-only snapshot directory, which provides access to each of the volume's snapshots. */ + snapshotDirectoryVisibility?: SnapshotDirectoryVisibility; + + /** SMB Properties */ + smbProperties?: ElasticSmbProperties; + + /** Resource identifier used to identify the Elastic Backup. */ + @visibility(Lifecycle.Read, Lifecycle.Create) + backupResourceId?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.NetApp/elasticAccounts/elasticBackupVaults/elasticBackups"; + } + ]>; + + /** The current state of the restoration process. */ + @visibility(Lifecycle.Read) + restorationState?: ElasticVolumeRestorationState; +} + +/** Data protection configuration option for the volume, including snapshot policies and backup. */ +@added(Versions.v2025_09_01_preview) +model ElasticVolumeDataProtectionProperties { + /** Used to apply a snapshot policy to a volume. */ + snapshot?: ElasticVolumeSnapshotProperties; + + /** Used to configure backups on an elastic volume. */ + backup?: ElasticVolumeBackupProperties; +} + +/** Data protection configuration option for updating the volume, including snapshot policies and backup. */ +@added(Versions.v2025_09_01_preview) +model ElasticVolumeDataProtectionPatchProperties { + /** Used to apply a snapshot policy to a volume. */ + snapshot?: ElasticVolumeSnapshotProperties; + + /** Used to configure backups on an elastic volume. */ + backup?: ElasticVolumeBackupProperties; +} + +/** Contains all the information needed to mount an elastic volume */ +@added(Versions.v2025_09_01_preview) +model ElasticMountTargetProperties { + /** The mount target's IPv4 address, used to mount the volume */ + @visibility(Lifecycle.Read) + ipAddress?: ipV4Address; + + /** The SMB server's Fully Qualified Domain Name, FQDN */ + @visibility(Lifecycle.Read) + smbServerFqdn?: string; +} + +/** + * Elastic Volume Patch properties + */ +@added(Versions.v2025_09_01_preview) +model ElasticVolumePatchProperties { + /** Maximum size allowed for a volume in bytes. Valid values are in the range 1GiB to 16TiB. Values expressed in bytes as multiples of 1 GiB. */ + @minValue(1073741824) + @maxValue(17592186044416) + size?: int64; + + /** Set of export policy rules */ + exportPolicy?: ElasticExportPolicy; + + /** Data protection configuration option for the volume, including snapshot policies and backup. */ + dataProtection?: ElasticVolumeDataProtectionPatchProperties; + + /** Controls the visibility of the volume's read-only snapshot directory, which provides access to each of the volume's snapshots. */ + snapshotDirectoryVisibility?: SnapshotDirectoryVisibility; + + /** SMB Properties */ + smbProperties?: ElasticSmbPatchProperties; +} + +/** Elastic Volume Snapshot Properties */ +@added(Versions.v2025_09_01_preview) +model ElasticVolumeSnapshotProperties { + /** Snapshot Policy ResourceId */ + snapshotPolicyResourceId?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.NetApp/elasticAccounts/elasticSnapshotPolicies"; + } + ]>; +} + +/** Elastic Volume Backup Properties */ +@added(Versions.v2025_09_01_preview) +model ElasticVolumeBackupProperties { + /** ResourceId used to identify Elastic Backup Policy */ + elasticBackupPolicyResourceId?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.NetApp/elasticAccounts/elasticBackupPolicies"; + } + ]>; + + /** The property to decide policy is enforced or not on the volume */ + policyEnforcement?: ElasticVolumePolicyEnforcement; + + /** ResourceId used to identify Elastic Backup Vault */ + elasticBackupVaultResourceId?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.NetApp/elasticAccounts/elasticBackupVaults"; + } + ]>; +} + +/** Policy enforcement */ +@added(Versions.v2025_09_01_preview) +union ElasticVolumePolicyEnforcement { + string, + + /** Value indicating the policy is enforced on the volume. */ + Enforced: "Enforced", + + /** Value indicating the policy is not enforced on the volume. */ + NotEnforced: "NotEnforced", +} + +/** SMB Properties */ +@added(Versions.v2025_09_01_preview) +model ElasticSmbProperties { + /** Used to enable or disable encryption for in-flight SMB data volume. This flag can be modified during Elastic volume update operation as well. Only applicable for SMB protocol Elastic volumes. */ + smbEncryption?: ElasticSmbEncryption = ElasticSmbEncryption.Disabled; +} + +/** SMB Patch Properties */ +@added(Versions.v2025_09_01_preview) +model ElasticSmbPatchProperties { + /** Used to enable or disable encryption for in-flight SMB data volume. This flag can be modified during Elastic volume update operation as well. Only applicable for SMB protocol Elastic volumes. */ + smbEncryption?: ElasticSmbEncryption; +} + +/** SMB encryption */ +@added(Versions.v2025_09_01_preview) +union ElasticSmbEncryption { + string, + + /** Value indicating the SMB encryption is enabled */ + Enabled: "Enabled", + + /** Value indicating the SMB encryption is disabled */ + Disabled: "Disabled", +} + +/** The current state of the restoration process. */ +@added(Versions.v2025_09_01_preview) +union ElasticVolumeRestorationState { + string, + + /** Value indicating that the volume is currently restoring. */ + Restoring: "Restoring", + + /** Value indicating that the volume is restored. */ + Restored: "Restored", + + /** Value indicating that the volume restore has failed. */ + Failed: "Failed", +} + +/** + * Set of export policy rules + */ +@added(Versions.v2025_09_01_preview) +model ElasticExportPolicy { + /** Export policy rule */ + @identifiers(#["ruleIndex"]) + rules?: ElasticExportPolicyRule[]; +} + +/** Elastic Volume Export Policy Rule */ +@added(Versions.v2025_09_01_preview) +model ElasticExportPolicyRule { + /** Controls the priority of the export policy rule. When connecting to the volume the rule with the lowest index that applies to the connecting client is used */ + @maxValue(5) + ruleIndex?: int32; + + /** Specifies the Unix file access level for the volume. It encompasses both read-only and read-write permissions. Additionally, NoAccess can be set to block all access to the volume */ + unixAccessRule?: ElasticUnixAccessRule = ElasticUnixAccessRule.NoAccess; + + /** Allows clients to access the volume with the NFSv3 protocol. Enable only for NFSv3 type volumes */ + nfsv3?: ElasticNfsv3Access = ElasticNfsv3Access.Disabled; + + /** Allows clients to access the volume with at least NFSv4.1 protocol. */ + nfsv4?: ElasticNfsv4Access = ElasticNfsv4Access.Disabled; + + /** Client ingress specification for the export policy as list of IPv4 CIDRs, IPv4 host addresses and host names. */ + allowedClients?: string[]; + + /** Indicates whether root access to the volume is granted to clients affected by this rule */ + rootAccess?: ElasticRootAccess = ElasticRootAccess.Disabled; +} + +/** Reverts the elastic volume to the specified snapshot. */ +@added(Versions.v2025_09_01_preview) +model ElasticVolumeRevert { + /** Resource identifier used to identify the Elastic Snapshot. */ + @visibility(Lifecycle.Read, Lifecycle.Create) + snapshotResourceId?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.NetApp/elasticAccounts/elasticCapacityPools/elasticVolumes/elasticSnapshots"; + } + ]>; +} + +/** Unix access rule */ +@added(Versions.v2025_09_01_preview) +union ElasticUnixAccessRule { + string, + + /** Clients connecting with this rule will only have read access to the volume */ + ReadOnly: "ReadOnly", + + /** Clients connecting with this rule will have full read and write access to the volume */ + ReadWrite: "ReadWrite", + + /** Clients connecting with this rule will have no access to the volume */ + NoAccess: "NoAccess", +} + +/** NFSv3 access */ +@added(Versions.v2025_09_01_preview) +union ElasticNfsv3Access { + string, + + /** Clients can connect to the volume using the NFSv3 protocol. */ + Enabled: "Enabled", + + /** Clients can't connect to the volume using the NFSv3 protocol. */ + Disabled: "Disabled", +} + +/** NFSv4 access */ +@added(Versions.v2025_09_01_preview) +union ElasticNfsv4Access { + string, + + /** Clients can connect to the volume using the NFSv4 protocol. */ + Enabled: "Enabled", + + /** Clients can't connect to the volume using the NFSv4 protocol. */ + Disabled: "Disabled", +} + +/** Root access */ +@added(Versions.v2025_09_01_preview) +union ElasticRootAccess { + string, + + /** Root user access is enabled for clients affected by this rule */ + Enabled: "Enabled", + + /** Root user access is disabled for clients affected by this rule */ + Disabled: "Disabled", +} + +/** Protocol types for elastic volume */ +@added(Versions.v2025_09_01_preview) +union ElasticProtocolType { + string, + + /** NFSv3 protocol type */ + NFSv3: "NFSv3", + + /** NFSv4 protocol type */ + NFSv4: "NFSv4", + + /** SMB/CIFS protocol type */ + SMB: "SMB", +} + +/** Controls the visibility of the Elastic Volume's read-only snapshot directory, which provides access to each of the volume's snapshots. */ +@added(Versions.v2025_09_01_preview) +union SnapshotDirectoryVisibility { + string, + + /** Value indicating the read-only snapshot directory is not visible */ + Hidden: "Hidden", + + /** Value indicating the read-only snapshot directory is visible */ + Visible: "Visible", +} + +@armResourceOperations +interface ElasticVolumes { + /** Get the details of the specified volume */ + @added(Versions.v2025_09_01_preview) + get is ArmResourceRead; + + /** Create or update the specified volume within the capacity pool */ + @added(Versions.v2025_09_01_preview) + createOrUpdate is ArmResourceCreateOrUpdateAsync; + + /** Patch the specified elastic volume */ + @added(Versions.v2025_09_01_preview) + @patch(#{ implicitOptionality: true }) + update is ArmCustomPatchAsync< + ElasticVolume, + Azure.ResourceManager.Foundations.ResourceUpdateModel< + ElasticVolume, + ElasticVolumePatchProperties + > + >; + + /** Delete the specified Elastic Volume */ + @added(Versions.v2025_09_01_preview) + delete is ArmResourceDeleteWithoutOkAsync; + + /** List all Elastic Volumes within the Elastic Capacity Pool */ + @added(Versions.v2025_09_01_preview) + listByElasticPool is ArmResourceListByParent; + + /** Revert an Elastic Volume to the snapshot specified in the body */ + @added(Versions.v2025_09_01_preview) + revert is ArmResourceActionAsync< + ElasticVolume, + ElasticVolumeRevert, + ElasticVolume + >; +} + +@@maxLength(ElasticVolume.name, 64); +@@minLength(ElasticVolume.name, 1); + +@@clientName(ElasticVolumes.createOrUpdate::parameters.resource, "body"); +@@clientName(ElasticVolumes.update::parameters.properties, "body"); diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/NetAppAccount.tsp b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/NetAppAccount.tsp index 6ccfdb7ddf24..df107c79d6b8 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/NetAppAccount.tsp +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/NetAppAccount.tsp @@ -5,11 +5,10 @@ import "@typespec/rest"; import "./models.tsp"; import "@azure-tools/typespec-client-generator-core"; -using TypeSpec.Rest; using Azure.ResourceManager; -using TypeSpec.Http; -using TypeSpec.OpenAPI; -using TypeSpec.Versioning; +using Http; +using Versioning; +using Rest; using Azure.ClientGenerator.Core; namespace Microsoft.NetApp; @@ -51,7 +50,7 @@ model AccountProperties { /** * Active Directories */ - @OpenAPI.extension("x-ms-identifiers", #["activeDirectoryId"]) + @identifiers(#["activeDirectoryId"]) activeDirectories?: ActiveDirectory[]; /** @@ -443,7 +442,7 @@ model ChangeKeyVault { /** * Pairs of virtual network ID and private endpoint ID. Every virtual network that has volumes encrypted with customer-managed keys needs its own key vault private endpoint. */ - @OpenAPI.extension("x-ms-identifiers", #["virtualNetworkId"]) + @identifiers(#["virtualNetworkId"]) keyVaultPrivateEndpoints: KeyVaultPrivateEndpoint[]; } diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/RansomwareReport.tsp b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/RansomwareReport.tsp new file mode 100644 index 000000000000..44d9b3ae652f --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/RansomwareReport.tsp @@ -0,0 +1,270 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "@typespec/versioning"; +import "./models.tsp"; +import "./Volume.tsp"; + +using Rest; +using Azure.ResourceManager; +using Versioning; + +namespace Microsoft.NetApp; + +/** + * File extension with length constraints + */ +@added(Versions.v2025_09_01_preview) +@maxLength(1024) +@minLength(1) +scalar Extensions extends string; + +/** + * Advanced Ransomware Protection (ARP) report + * Get details of the specified Advanced Ransomware Protection report (ARP). + * ARP reports are created with a list of suspected files when it detects any combination of high data entropy, abnormal volume activity with data encryption, and unusual file extensions. + * ARP creates snapshots named Anti_ransomware_backup when it detects a potential ransomware threat. You can use one of these ARP snapshots or another snapshot of your volume to restore data. + */ +@added(Versions.v2025_09_01_preview) +@parentResource(Volume) +model RansomwareReport + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = RansomwareReport, + KeyName = "ransomwareReportName", + SegmentName = "ransomwareReports", + NamePattern = "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + >; +} + +/** + * List of Advanced Ransomware Protection (ARP) reports + */ +@added(Versions.v2025_09_01_preview) +model RansomwareReportsList is Azure.Core.Page; + +/** + * Advanced Ransomware Protection (ARP) report properties. + * + * Evaluate the report to determine whether the activity is acceptable (false positive) or whether an attack seems malicious using the ClearSuspects operation. + * + * Advanced Ransomware Protection (ARP) creates snapshots named Anti_ransomware_backup when it detects a potential ransomware threat. You can use one of the ARP snapshots or another snapshot of your volume to restore data. + */ +@added(Versions.v2025_09_01_preview) +model RansomwareReportProperties { + /** + * The creation date and time of the report + */ + @visibility(Lifecycle.Read) + eventTime?: utcDateTime; + + /** + * State of the Advanced Ransomware Protection (ARP) report + */ + @visibility(Lifecycle.Read) + state?: RansomwareReportState; + + /** + * Severity of the Advanced Ransomware Protection (ARP) report + */ + @visibility(Lifecycle.Read) + severity?: RansomwareReportSeverity; + + /** + * The number of cleared suspects identified by the ARP report + */ + @visibility(Lifecycle.Read) + clearedCount?: int32; + + /** + * The number of suspects identified by the ARP report + */ + @visibility(Lifecycle.Read) + reportedCount?: int32; + + /** + * Suspects identified in an ARP report + */ + @visibility(Lifecycle.Read) + @identifiers(#["extension"]) + suspects?: RansomwareSuspects[]; + + /** + * Azure lifecycle management + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "For backward compatibility" + @visibility(Lifecycle.Read) + provisioningState?: string; +} + +/** + * Clear suspects for Advanced Ransomware Protection (ARP) report + */ +@added(Versions.v2025_09_01_preview) +model RansomwareSuspectsClearRequest { + /** + * ARP report suspect resolution + */ + resolution: RansomwareSuspectResolution; + + /** + * List of file extensions resolved (PotentialThreat or FalsePositive) + */ + @minItems(1) + extensions: Extensions[]; +} + +/** + * List of suspects identified in an Advanced Ransomware Protection (ARP) report + */ +@added(Versions.v2025_09_01_preview) +model RansomwareSuspects { + /** + * Suspect File extension + */ + @visibility(Lifecycle.Read) + extension?: string; + + /** + * ARP report suspect resolution + */ + @visibility(Lifecycle.Read) + resolution?: RansomwareSuspectResolution; + + /** + * The number of suspect files at the time of ARP report, this number can change as files get created and report status progresses + */ + @visibility(Lifecycle.Read) + fileCount?: int32; + + /** + * Suspect files + */ + @visibility(Lifecycle.Read) + @identifiers(#["suspectFileName"]) + suspectFiles?: SuspectFile[]; +} + +/** + * Suspect file information + */ +@added(Versions.v2025_09_01_preview) +model SuspectFile { + /** + * Suspect filename + */ + @visibility(Lifecycle.Read) + suspectFileName?: string; + + /** + * The creation date and time of the file + */ + @visibility(Lifecycle.Read) + fileTimestamp?: utcDateTime; +} + +/** + * Severity of the Advanced Ransomware Protection (ARP) report + */ +@added(Versions.v2025_09_01_preview) +union RansomwareReportSeverity { + string, + + /** + * No data is suspected for ransomware activity + */ + None: "None", + + /** + * Low attack probability + */ + Low: "Low", + + /** + * Moderate attack probability + */ + Moderate: "Moderate", + + /** + * High amount of data is suspected for ransomware activity + */ + High: "High", +} + +/** + * State of the Advanced Ransomware Protection (ARP) report + */ +@added(Versions.v2025_09_01_preview) +union RansomwareReportState { + string, + + /** + * The ARP report has been created. Take action by running clearsuspects marking suspects as FalsePositive or PotentialThreats + */ + Active: "Active", + + /** + * The ARP Report has been resolved + */ + Resolved: "Resolved", +} + +/** + * ARP report suspect resolution + */ +@added(Versions.v2025_09_01_preview) +union RansomwareSuspectResolution { + string, + + /** + * The identified file type is unexpected in your workload and should be treated as a potential attack + */ + PotentialThreat: "PotentialThreat", + + /** + * The identified file type is expected in your workload and can be ignored + */ + FalsePositive: "FalsePositive", +} + +@added(Versions.v2025_09_01_preview) +@armResourceOperations +interface RansomwareReports { + /** + * Get details of the specified ransomware report (ARP) + * ARP reports are created with a list of suspected files when it detects any combination of high data entropy, abnormal volume activity with data encryption, and unusual file extensions. + * ARP creates snapshots named Anti_ransomware_backup when it detects a potential ransomware threat. You can use one of these ARP snapshots or another snapshot of your volume to restore data. + */ + get is ArmResourceRead; + + /** + * List all ransomware reports for the volume + * Returns a list of the Advanced Ransomware Protection (ARP) reports for the volume. + * ARP reports are created with a list of suspected files when it detects any combination of high data entropy, abnormal volume activity with data encryption, and unusual file extensions. + * ARP creates snapshots named Anti_ransomware_backup when it detects a potential ransomware threat. You can use one of these ARP snapshots or another snapshot of your volume to restore data" + */ + list is ArmResourceListByParent< + RansomwareReport, + Response = ArmResponse + >; + + /** + * "Clear ransomware suspects for the given Advanced Ransomware Protection report. You should evaluate the report to determine whether the activity is acceptable (false positive) or whether an attack seems malicious. + * ARP creates snapshots named Anti_ransomware_backup when it detects a potential ransomware threat. You can use one of these ARP snapshots or another snapshot of your volume to restore data", + */ + clearSuspects is ArmResourceActionNoResponseContentAsync< + RansomwareReport, + RansomwareSuspectsClearRequest + >; +} + +@@maxLength(RansomwareReport.name, 64); +@@minLength(RansomwareReport.name, 1); +@@doc(RansomwareReport.name, "The name of the ransomware report"); +@@doc(RansomwareReport.properties, + "Advanced Ransomware Protection reports Properties" +); +@@doc(RansomwareReports.clearSuspects::parameters.body, + "Clear suspects request object supplied in the body of the operation." +); diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/RegionInfoResource.tsp b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/RegionInfoResource.tsp index 4f9d475560f6..49e5344b7106 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/RegionInfoResource.tsp +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/RegionInfoResource.tsp @@ -4,10 +4,8 @@ import "@typespec/openapi"; import "@typespec/rest"; import "./models.tsp"; -using TypeSpec.Rest; +using Rest; using Azure.ResourceManager; -using TypeSpec.Http; -using TypeSpec.OpenAPI; namespace Microsoft.NetApp; /** diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/Snapshot.tsp b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/Snapshot.tsp index 7bf351b39252..352b771979aa 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/Snapshot.tsp +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/Snapshot.tsp @@ -5,10 +5,9 @@ import "@typespec/rest"; import "./models.tsp"; import "./Volume.tsp"; -using TypeSpec.Rest; +using Rest; using Azure.ResourceManager; -using TypeSpec.Http; -using TypeSpec.OpenAPI; +using Http; namespace Microsoft.NetApp; /** diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/SnapshotPolicy.tsp b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/SnapshotPolicy.tsp index 81d7e5b6f22d..f5f4395dffb9 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/SnapshotPolicy.tsp +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/SnapshotPolicy.tsp @@ -5,10 +5,9 @@ import "@typespec/rest"; import "./models.tsp"; import "./NetAppAccount.tsp"; -using TypeSpec.Rest; +using Rest; using Azure.ResourceManager; -using TypeSpec.Http; -using TypeSpec.OpenAPI; +using Http; namespace Microsoft.NetApp; /** diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/SubscriptionQuotaItem.tsp b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/SubscriptionQuotaItem.tsp index a370c861bb4b..c73ff9ae902d 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/SubscriptionQuotaItem.tsp +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/SubscriptionQuotaItem.tsp @@ -3,18 +3,20 @@ import "@azure-tools/typespec-azure-resource-manager"; import "@typespec/openapi"; import "@typespec/rest"; import "./models.tsp"; +import "@azure-tools/typespec-client-generator-core"; -using TypeSpec.Rest; +using Rest; using Azure.ResourceManager; -using TypeSpec.Http; -using TypeSpec.OpenAPI; -using TypeSpec.Versioning; +using Http; +using Versioning; +using Azure.ClientGenerator.Core; namespace Microsoft.NetApp; /** * Information regarding Quota Item. */ @renamedFrom(Versions.v2025_07_01_preview, "SubscriptionQuotaItem") +@clientName("NetAppSubscriptionQuotaItem", "csharp") @parentResource(SubscriptionLocationResource) model QuotaItem is Azure.ResourceManager.ProxyResource { ...ResourceNameParameter< diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/SubvolumeInfo.tsp b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/SubvolumeInfo.tsp index ee1c879c21ba..e0cb124a4045 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/SubvolumeInfo.tsp +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/SubvolumeInfo.tsp @@ -5,10 +5,9 @@ import "@typespec/rest"; import "./models.tsp"; import "./Volume.tsp"; -using TypeSpec.Rest; +using Rest; using Azure.ResourceManager; -using TypeSpec.Http; -using TypeSpec.OpenAPI; +using Http; namespace Microsoft.NetApp; /** diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/Volume.tsp b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/Volume.tsp index 0637daaca1b9..ca4e7582f5a5 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/Volume.tsp +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/Volume.tsp @@ -6,11 +6,10 @@ import "@typespec/rest"; import "./models.tsp"; import "./CapacityPool.tsp"; -using TypeSpec.Rest; +using Rest; using Azure.ResourceManager; -using TypeSpec.Http; -using TypeSpec.OpenAPI; -using TypeSpec.Versioning; +using Http; +using Versioning; using Azure.ClientGenerator.Core; namespace Microsoft.NetApp; @@ -54,6 +53,7 @@ model VolumeProperties { /** * A unique file path for the volume. Used when creating mount targets */ + #suppress "@azure-tools/typespec-azure-resource-manager/secret-prop" "FIXME: Mark with @secret if this value should be kept private" @visibility(Lifecycle.Read, Lifecycle.Create) @maxLength(80) @minLength(1) @@ -68,8 +68,20 @@ model VolumeProperties { /** * Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. For regular volumes, valid values are in the range 50GiB to 100TiB. For large volumes, valid values are in the range 100TiB to 500TiB, and on an exceptional basis, from to 2400GiB to 2400TiB. Values expressed in bytes as multiples of 1 GiB. */ + @removed(Versions.v2025_09_01_preview) + @renamedFrom(Versions.v2025_09_01_preview, "usageThreshold") @maxValue(2638827906662400) @minValue(53687091200) + usageThresholdOld: int64 = 107374182400; + + /** + * Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. For regular volumes, valid values are in the range 50GiB to 100TiB. + * For large volumes, valid values are in the range 100TiB to 500TiB, and on an exceptional basis, from to 2400GiB to 2400TiB. + * For extra large volumes, valid values are in the range 2400GiB to 7200TiB. Values expressed in bytes as multiples of 1 GiB. + */ + @added(Versions.v2025_09_01_preview) + @maxValue(7916483719987200) + @minValue(53687091200) usageThreshold: int64 = 107374182400; /** @@ -159,7 +171,7 @@ model VolumeProperties { * List of mount targets */ @visibility(Lifecycle.Read) - @OpenAPI.extension("x-ms-identifiers", #["fileSystemId"]) + @identifiers(#["fileSystemId"]) mountTargets?: MountTargetProperties[]; /** @@ -371,7 +383,7 @@ model VolumeProperties { /** * Application specific placement rules for the particular volume */ - @OpenAPI.extension("x-ms-identifiers", #["key"]) + @identifiers(#["key"]) placementRules?: PlacementKeyValuePairs[]; /** @@ -392,6 +404,15 @@ model VolumeProperties { @visibility(Lifecycle.Read, Lifecycle.Create) isLargeVolume?: boolean = false; + /** + * Specifies the type of the Large Volume. When set to 'LargeVolume', the large volume is created with standard configuration. + * If it is set to 'ExtraLargeVolume7Dot2PiB', the extra large volume is created with higher capacity limit 7.2PiB with cool access enabled, + * delivering higher capacity limit with lower costs. + */ + @added(Versions.v2025_09_01_preview) + @visibility(Lifecycle.Read, Lifecycle.Create) + largeVolumeType?: LargeVolumeType; + /** * Id of the snapshot or backup that the volume is restored from. */ @@ -411,6 +432,12 @@ model VolumeProperties { */ @added(Versions.v2025_07_01_preview) language?: VolumeLanguage; + + /** + * Specifies whether the volume operates in Breakthrough Mode. + */ + @added(Versions.v2025_09_01_preview) + breakthroughMode?: BreakthroughMode; } /** @@ -790,7 +817,7 @@ model VolumePropertiesExportPolicy { /** * Export policy rule */ - @OpenAPI.extension("x-ms-identifiers", #["ruleIndex"]) + @identifiers(#["ruleIndex"]) rules?: ExportPolicyRule[]; } @@ -930,6 +957,12 @@ model VolumePropertiesDataProtection { * VolumeRelocation properties */ volumeRelocation?: VolumeRelocationProperties; + + /** + * Advanced Ransomware Protection settings + */ + @added(Versions.v2025_09_01_preview) + ransomwareProtection?: RansomwareProtectionSettings; } /** @@ -1002,7 +1035,7 @@ model ReplicationObject { * A list of destination replications */ @visibility(Lifecycle.Read) - @OpenAPI.extension("x-ms-identifiers", #["resourceId"]) + @identifiers(#["resourceId"]) destinationReplications?: DestinationReplication[]; /** @@ -1037,6 +1070,7 @@ model ReplicationObject { /** * Property that only applies to external replications. Provides a machine-readable value for the status of the external replication setup. */ +@added(Versions.v2025_07_01_preview) union ExternalReplicationSetupStatus { string, @@ -1208,8 +1242,20 @@ model VolumePatchProperties { /** * Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. For regular volumes, valid values are in the range 50GiB to 100TiB. For large volumes, valid values are in the range 100TiB to 500TiB, and on an exceptional basis, from to 2400GiB to 2400TiB. Values expressed in bytes as multiples of 1 GiB. */ + @removed(Versions.v2025_09_01_preview) + @renamedFrom(Versions.v2025_09_01_preview, "usageThreshold") @maxValue(2638827906662400) @minValue(53687091200) + usageThreshold20250901?: int64; + + /** + * Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. For regular volumes, valid values are in the range 50GiB to 100TiB. + * For large volumes, valid values are in the range 100TiB to 500TiB, and on an exceptional basis, from to 2400GiB to 2400TiB. + * For extra large volumes, valid values are in the range 2400GiB to 7200TiB. Values expressed in bytes as multiples of 1 GiB. + */ + @added(Versions.v2025_09_01_preview) + @maxValue(7916483719987200) + @minValue(53687091200) usageThreshold?: int64; /** @@ -1302,7 +1348,7 @@ model VolumePatchPropertiesExportPolicy { /** * Export policy rule */ - @OpenAPI.extension("x-ms-identifiers", #["ruleIndex"]) + @identifiers(#["ruleIndex"]) rules?: ExportPolicyRule[]; } @@ -1319,6 +1365,12 @@ model VolumePatchPropertiesDataProtection { * Snapshot properties. */ snapshot?: VolumeSnapshotProperties; + + /** + * Advanced Ransomware Protection updatable settings + */ + @added(Versions.v2025_09_01_preview) + ransomwareProtection?: RansomwareProtectionPatchSettings; } /** @@ -1976,6 +2028,7 @@ union EnableSubvolumes { /** * The status of the replication */ +@clientName("NetAppMirrorState", "csharp") union MirrorState { string, #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" @@ -1986,6 +2039,45 @@ union MirrorState { Broken: "Broken", } +/** + * Specifies the type of the Large Volume. When set to 'LargeVolume', the large volume is created with standard configuration. + * If it is set to 'ExtraLargeVolume7Dot2PiB', the extra large volume is created with higher capacity limit 7.2PiB with cool access enabled, + * delivering higher capacity limit with lower costs. + */ +union LargeVolumeType { + string, + + /** + * The large volume is created with standard configuration that provides standard performance and throughput. + */ + LargeVolume: "LargeVolume", + + /** + * The extra large volume is created with higher volume capacity limit 7.2PiB with cool access enabled, delivering higher capacity limit with lower costs + */ + ExtraLargeVolume7Dot2PiB: "PremExtraLargeVolume7Dot2PiB", +} + +/** + * Specifies whether the volume operates in Breakthrough Mode. When set to 'Enabled', the volume runs on the resources configured for this mode, + * delivering improved performance and higher throughput. If set to 'Disabled' or omitted, the volume uses the basic configuration. This feature + * is available only in regions where it’s been configured and first-time users must finish onboarding prior to using Breakthrough Mode. + */ +@added(Versions.v2025_09_01_preview) +union BreakthroughMode { + string, + + /** + * The volume runs on the resources configured for Breakthrough mode which ensures consistent high performance and a higher throughput. + */ + Enabled: "Enabled", + + /** + * The volume uses configuration that provides basic performance and throughput. + */ + Disabled: "Disabled", +} + /** * Quota Report for volume */ @@ -1994,7 +2086,7 @@ model ListQuotaReportResponse { /** * List of quota reports */ - @OpenAPI.extension("x-ms-identifiers", #[]) + @identifiers(#[]) value?: QuotaReport[]; } @@ -2034,6 +2126,80 @@ model QuotaReport { isDerivedQuota?: boolean; } +/** + * Advanced Ransomware Protection reports (ARP) settings + */ +@added(Versions.v2025_09_01_preview) +model RansomwareProtectionSettings { + /** + * The desired value of the Advanced Ransomware Protection feature state available to the volume + */ + desiredRansomwareProtectionState?: DesiredRansomwareProtectionState; + + /** + * The actual state of the Advanced Ransomware Protection feature currently active on the volume + */ + @visibility(Lifecycle.Read) + actualRansomwareProtectionState?: ActualRansomwareProtectionState; +} + +/** + * Advanced Ransomware Protection reports (ARP) updatable settings + */ +@added(Versions.v2025_09_01_preview) +model RansomwareProtectionPatchSettings { + /** + * The desired value of the ARP feature state available to the volume + */ + desiredRansomwareProtectionState?: DesiredRansomwareProtectionState; +} + +/** + * The desired state of the Advanced Ransomware Protection feature + */ +@added(Versions.v2025_09_01_preview) +union DesiredRansomwareProtectionState { + string, + + /** + * Advanced Ransomware Protection is disabled + */ + Disabled: "Disabled", + + /** + * Advanced Ransomware Protection is enabled + */ + Enabled: "Enabled", +} + +/** + * The actual state of the Advanced Ransomware Protection feature + */ +@added(Versions.v2025_09_01_preview) +union ActualRansomwareProtectionState { + string, + + /** + * Advanced Ransomware Protection is disabled + */ + Disabled: "Disabled", + + /** + * Advanced Ransomware Protection is enabled + */ + Enabled: "Enabled", + + /** + * Advanced Ransomware Protection is in learning mode + */ + Learning: "Learning", + + /** + * Advanced Ransomware Protection is in paused state + */ + Paused: "Paused", +} + @@visibility(Azure.ResourceManager.AvailabilityZonesProperty.zones, Lifecycle.Read, Lifecycle.Create diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/VolumeGroupDetails.tsp b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/VolumeGroupDetails.tsp index a93173385794..227ea51f2ae2 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/VolumeGroupDetails.tsp +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/VolumeGroupDetails.tsp @@ -8,8 +8,6 @@ import "./NetAppAccount.tsp"; using TypeSpec.Rest; using Azure.ResourceManager; -using TypeSpec.Http; -using TypeSpec.OpenAPI; using Azure.ClientGenerator.Core; namespace Microsoft.NetApp; @@ -111,7 +109,7 @@ model VolumeGroupMetaData { /** * Application specific placement rules for the volume group */ - @OpenAPI.extension("x-ms-identifiers", #["key"]) + @identifiers(#["key"]) globalPlacementRules?: PlacementKeyValuePairs[]; /** diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/VolumeQuotaRule.tsp b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/VolumeQuotaRule.tsp index b36cf4c22978..678d271e7de0 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/VolumeQuotaRule.tsp +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/VolumeQuotaRule.tsp @@ -5,10 +5,9 @@ import "@typespec/rest"; import "./models.tsp"; import "./Volume.tsp"; -using TypeSpec.Rest; +using Rest; using Azure.ResourceManager; -using TypeSpec.Http; -using TypeSpec.OpenAPI; +using Http; namespace Microsoft.NetApp; /** diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/back-compatible.tsp b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/back-compatible.tsp index b728c83a34d9..88df1c8fa864 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/back-compatible.tsp +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/back-compatible.tsp @@ -176,3 +176,11 @@ using Microsoft.NetApp; ); @@clientName(ApplicationType.`SAP-HANA`, "SAP_HANA", "python"); + +@@clientName(Caches.createOrUpdate::parameters.resource, "body"); +@@clientName(Caches.update::parameters.properties, "body"); + +@@clientName(ActiveDirectoryConfigs.createOrUpdate::parameters.resource, + "body" +); +@@clientName(ActiveDirectoryConfigs.update::parameters.properties, "body"); diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/client.tsp b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/client.tsp index dcd956a3f37f..1bfe96c920e7 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/client.tsp +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/client.tsp @@ -12,6 +12,9 @@ using Microsoft.NetApp; // Snapshot is not updatable @@scope(Microsoft.NetApp.Snapshots.update, "!java"); +// rename QuotaItem to SubscriptionQuotaItem, avoid break in SDK +@@clientName(QuotaItem, "SubscriptionQuotaItem", "java"); + // Fix property name case changes @@clientName(Microsoft.NetApp.AccountProperties.nfsV4IDDomain, "nfsV4IdDomain", @@ -46,6 +49,14 @@ using Microsoft.NetApp; "groupMetadata", "java" ); +@@clientName(Microsoft.NetApp.VolumeGroupProperties.groupMetaData, + "groupMetadata", + "java" +); +@@clientName(Microsoft.NetApp.NetAppProvisioningState, + "ProvisioningState", + "java" +); // Fix model name changes @@clientName(Microsoft.NetApp.VolumeGroupMetaData, @@ -72,3 +83,7 @@ using Microsoft.NetApp; "$DO_NOT_NORMALIZE$\"10Minutely\"", "javascript" ); + +@@clientName(QuotaItem, "SubscriptionQuotaItem", "go"); +@@clientName(QuotaItemList, "SubscriptionQuotaItemList", "go"); +@@clientName(QuotaItemProperties, "SubscriptionQuotaItemProperties", "go"); diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-06-01/SnapshotPolicies_ListVolumes.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-06-01/SnapshotPolicies_ListVolumes.json index adb52238dfcb..825279947691 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-06-01/SnapshotPolicies_ListVolumes.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-06-01/SnapshotPolicies_ListVolumes.json @@ -20,7 +20,7 @@ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1", "location": "eastus", "properties": { - "creationToken": "some-amazing-filepath", + "creationToken": "my-unique-file-path", "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca7778", "provisioningState": "Succeeded", "serviceLevel": "Premium", diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-06-01/Volumes_CreateOrUpdate.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-06-01/Volumes_CreateOrUpdate.json index 96e5bb807681..a33247e21f86 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-06-01/Volumes_CreateOrUpdate.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-06-01/Volumes_CreateOrUpdate.json @@ -24,7 +24,7 @@ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1", "location": "eastus", "properties": { - "creationToken": "some-amazing-filepath", + "creationToken": "my-unique-file-path", "encryptionKeySource": "Microsoft.NetApp", "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca7778", "provisioningState": "Succeeded", @@ -42,7 +42,7 @@ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1", "location": "eastus", "properties": { - "creationToken": "some-amazing-filepath", + "creationToken": "my-unique-file-path", "encryptionKeySource": "Microsoft.NetApp", "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca7778", "provisioningState": "Succeeded", diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-06-01/Volumes_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-06-01/Volumes_Get.json index fae0aec8fa4d..89ce9399eefd 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-06-01/Volumes_Get.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-06-01/Volumes_Get.json @@ -15,7 +15,7 @@ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1", "location": "eastus", "properties": { - "creationToken": "some-amazing-filepath", + "creationToken": "my-unique-file-path", "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca7778", "networkFeatures": "Standard", "networkSiblingSetId": "0f434a03-ce0b-4935-81af-d98652ffb1c4", diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-06-01/Volumes_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-06-01/Volumes_List.json index e1c42fb25394..664e6773bfde 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-06-01/Volumes_List.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-06-01/Volumes_List.json @@ -16,7 +16,7 @@ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1", "location": "eastus", "properties": { - "creationToken": "some-amazing-filepath", + "creationToken": "my-unique-file-path", "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca7778", "networkFeatures": "Standard", "networkSiblingSetId": "0f434a03-ce0b-4935-81af-d98652ffb1c4", diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-06-01/Volumes_PopulateAvailabilityZones.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-06-01/Volumes_PopulateAvailabilityZones.json index d5dc70c81bc6..0a03de36fbf0 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-06-01/Volumes_PopulateAvailabilityZones.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-06-01/Volumes_PopulateAvailabilityZones.json @@ -15,7 +15,7 @@ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1", "location": "eastus", "properties": { - "creationToken": "some-amazing-filepath", + "creationToken": "my-unique-file-path", "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca7778", "networkFeatures": "Standard", "networkSiblingSetId": "0f434a03-ce0b-4935-81af-d98652ffb1c4", diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-06-01/Volumes_SplitClone.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-06-01/Volumes_SplitClone.json index 5462fd13cfae..72f7ed7470ff 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-06-01/Volumes_SplitClone.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-06-01/Volumes_SplitClone.json @@ -16,7 +16,7 @@ "location": "eastus", "properties": { "acceptGrowCapacityPoolForShortTermCloneSplit": "Accepted", - "creationToken": "some-amazing-filepath", + "creationToken": "my-unique-file-path", "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca7778", "networkFeatures": "Standard", "networkSiblingSetId": "0f434a03-ce0b-4935-81af-d98652ffb1c4", diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-06-01/Volumes_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-06-01/Volumes_Update.json index dc0f544eb291..e4d6e6d73ac2 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-06-01/Volumes_Update.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-06-01/Volumes_Update.json @@ -16,7 +16,7 @@ "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroup/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1", "location": "eastus", "properties": { - "creationToken": "some-amazing-filepath", + "creationToken": "my-unique-file-path", "dataProtection": { "snapshot": { "snapshotPolicyId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.NetApp/netAppAccounts/account1/snapshotPolicies/snapshotPolicy1" diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-07-01-preview/SnapshotPolicies_ListVolumes.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-07-01-preview/SnapshotPolicies_ListVolumes.json index 967a000ba510..ea8ed8865df4 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-07-01-preview/SnapshotPolicies_ListVolumes.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-07-01-preview/SnapshotPolicies_ListVolumes.json @@ -20,7 +20,7 @@ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1", "location": "eastus", "properties": { - "creationToken": "some-amazing-filepath", + "creationToken": "my-unique-file-path", "fileSystemId": "00000000-0000-0000-0000-000000000000", "provisioningState": "Succeeded", "serviceLevel": "Premium", diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-07-01-preview/Volumes_CreateOrUpdate.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-07-01-preview/Volumes_CreateOrUpdate.json index 96569162bde5..853489056206 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-07-01-preview/Volumes_CreateOrUpdate.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-07-01-preview/Volumes_CreateOrUpdate.json @@ -24,7 +24,7 @@ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1", "location": "eastus", "properties": { - "creationToken": "some-amazing-filepath", + "creationToken": "my-unique-file-path", "encryptionKeySource": "Microsoft.NetApp", "fileSystemId": "00000000-0000-0000-0000-000000000000", "provisioningState": "Succeeded", @@ -42,7 +42,7 @@ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1", "location": "eastus", "properties": { - "creationToken": "some-amazing-filepath", + "creationToken": "my-unique-file-path", "encryptionKeySource": "Microsoft.NetApp", "fileSystemId": "00000000-0000-0000-0000-000000000000", "provisioningState": "Succeeded", diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-07-01-preview/Volumes_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-07-01-preview/Volumes_Get.json index 126732beefe7..bbd9a7f6d2d8 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-07-01-preview/Volumes_Get.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-07-01-preview/Volumes_Get.json @@ -15,7 +15,7 @@ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1", "location": "eastus", "properties": { - "creationToken": "some-amazing-filepath", + "creationToken": "my-unique-file-path", "fileSystemId": "00000000-0000-0000-0000-000000000000", "networkFeatures": "Standard", "networkSiblingSetId": "0f434a03-ce0b-4935-81af-d98652ffb1c4", diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-07-01-preview/Volumes_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-07-01-preview/Volumes_List.json index 6b9cc9237ba2..7365e482011d 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-07-01-preview/Volumes_List.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-07-01-preview/Volumes_List.json @@ -16,7 +16,7 @@ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1", "location": "eastus", "properties": { - "creationToken": "some-amazing-filepath", + "creationToken": "my-unique-file-path", "fileSystemId": "00000000-0000-0000-0000-000000000000", "networkFeatures": "Standard", "networkSiblingSetId": "0f434a03-ce0b-4935-81af-d98652ffb1c4", diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-07-01-preview/Volumes_PopulateAvailabilityZones.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-07-01-preview/Volumes_PopulateAvailabilityZones.json index f5d920238c2e..140def2328cd 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-07-01-preview/Volumes_PopulateAvailabilityZones.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-07-01-preview/Volumes_PopulateAvailabilityZones.json @@ -15,7 +15,7 @@ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1", "location": "eastus", "properties": { - "creationToken": "some-amazing-filepath", + "creationToken": "my-unique-file-path", "fileSystemId": "00000000-0000-0000-0000-000000000000", "networkFeatures": "Standard", "networkSiblingSetId": "0f434a03-ce0b-4935-81af-d98652ffb1c4", diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-07-01-preview/Volumes_SplitClone.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-07-01-preview/Volumes_SplitClone.json index bd28b581e950..ca329f72b315 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-07-01-preview/Volumes_SplitClone.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-07-01-preview/Volumes_SplitClone.json @@ -16,7 +16,7 @@ "location": "eastus", "properties": { "acceptGrowCapacityPoolForShortTermCloneSplit": "Accepted", - "creationToken": "some-amazing-filepath", + "creationToken": "my-unique-file-path", "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca7778", "networkFeatures": "Standard", "networkSiblingSetId": "0f434a03-ce0b-4935-81af-d98652ffb1c4", diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-07-01-preview/Volumes_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-07-01-preview/Volumes_Update.json index 172b20ba712e..e9803e7da170 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-07-01-preview/Volumes_Update.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-07-01-preview/Volumes_Update.json @@ -16,7 +16,7 @@ "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroup/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1", "location": "eastus", "properties": { - "creationToken": "some-amazing-filepath", + "creationToken": "my-unique-file-path", "dataProtection": { "snapshot": { "snapshotPolicyId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.NetApp/netAppAccounts/account1/snapshotPolicies/snapshotPolicy1" diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-08-01-preview/SnapshotPolicies_ListVolumes.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-08-01-preview/SnapshotPolicies_ListVolumes.json index ea0151a27d1d..80ff598432d6 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-08-01-preview/SnapshotPolicies_ListVolumes.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-08-01-preview/SnapshotPolicies_ListVolumes.json @@ -20,7 +20,7 @@ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1", "location": "eastus", "properties": { - "creationToken": "some-amazing-filepath", + "creationToken": "my-unique-file-path", "fileSystemId": "00000000-0000-0000-0000-000000000000", "provisioningState": "Succeeded", "serviceLevel": "Premium", diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-08-01-preview/Volumes_CreateOrUpdate.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-08-01-preview/Volumes_CreateOrUpdate.json index b4f5a64df749..4064c78e7d94 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-08-01-preview/Volumes_CreateOrUpdate.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-08-01-preview/Volumes_CreateOrUpdate.json @@ -24,7 +24,7 @@ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1", "location": "eastus", "properties": { - "creationToken": "some-amazing-filepath", + "creationToken": "my-unique-file-path", "encryptionKeySource": "Microsoft.NetApp", "fileSystemId": "00000000-0000-0000-0000-000000000000", "provisioningState": "Succeeded", @@ -42,7 +42,7 @@ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1", "location": "eastus", "properties": { - "creationToken": "some-amazing-filepath", + "creationToken": "my-unique-file-path", "encryptionKeySource": "Microsoft.NetApp", "fileSystemId": "00000000-0000-0000-0000-000000000000", "provisioningState": "Succeeded", diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-08-01-preview/Volumes_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-08-01-preview/Volumes_Get.json index 85fe90f0a19e..1ce5abf416c0 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-08-01-preview/Volumes_Get.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-08-01-preview/Volumes_Get.json @@ -15,7 +15,7 @@ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1", "location": "eastus", "properties": { - "creationToken": "some-amazing-filepath", + "creationToken": "my-unique-file-path", "fileSystemId": "00000000-0000-0000-0000-000000000000", "networkFeatures": "Standard", "networkSiblingSetId": "0f434a03-ce0b-4935-81af-d98652ffb1c4", diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-08-01-preview/Volumes_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-08-01-preview/Volumes_List.json index cf880c0c0ddb..6dccfefd637f 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-08-01-preview/Volumes_List.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-08-01-preview/Volumes_List.json @@ -16,7 +16,7 @@ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1", "location": "eastus", "properties": { - "creationToken": "some-amazing-filepath", + "creationToken": "my-unique-file-path", "fileSystemId": "00000000-0000-0000-0000-000000000000", "networkFeatures": "Standard", "networkSiblingSetId": "0f434a03-ce0b-4935-81af-d98652ffb1c4", diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-08-01-preview/Volumes_PopulateAvailabilityZones.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-08-01-preview/Volumes_PopulateAvailabilityZones.json index 35e5aa1d597a..19340f4b3bf9 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-08-01-preview/Volumes_PopulateAvailabilityZones.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-08-01-preview/Volumes_PopulateAvailabilityZones.json @@ -15,7 +15,7 @@ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1", "location": "eastus", "properties": { - "creationToken": "some-amazing-filepath", + "creationToken": "my-unique-file-path", "fileSystemId": "00000000-0000-0000-0000-000000000000", "networkFeatures": "Standard", "networkSiblingSetId": "0f434a03-ce0b-4935-81af-d98652ffb1c4", diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-08-01-preview/Volumes_SplitClone.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-08-01-preview/Volumes_SplitClone.json index 35e506b2f37c..049628e9cfb2 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-08-01-preview/Volumes_SplitClone.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-08-01-preview/Volumes_SplitClone.json @@ -16,7 +16,7 @@ "location": "eastus", "properties": { "acceptGrowCapacityPoolForShortTermCloneSplit": "Accepted", - "creationToken": "some-amazing-filepath", + "creationToken": "my-unique-file-path", "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca7778", "networkFeatures": "Standard", "networkSiblingSetId": "0f434a03-ce0b-4935-81af-d98652ffb1c4", diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-08-01-preview/Volumes_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-08-01-preview/Volumes_Update.json index 72d72ad784a5..10029fc5d1bd 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-08-01-preview/Volumes_Update.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-08-01-preview/Volumes_Update.json @@ -16,7 +16,7 @@ "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroup/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1", "location": "eastus", "properties": { - "creationToken": "some-amazing-filepath", + "creationToken": "my-unique-file-path", "dataProtection": { "snapshot": { "snapshotPolicyId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.NetApp/netAppAccounts/account1/snapshotPolicies/snapshotPolicy1" diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-08-01/SnapshotPolicies_ListVolumes.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-08-01/SnapshotPolicies_ListVolumes.json index 3db233a8405e..c19a639aba9e 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-08-01/SnapshotPolicies_ListVolumes.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-08-01/SnapshotPolicies_ListVolumes.json @@ -20,7 +20,7 @@ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1", "location": "eastus", "properties": { - "creationToken": "some-amazing-filepath", + "creationToken": "my-unique-file-path", "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca7778", "provisioningState": "Succeeded", "serviceLevel": "Premium", diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-08-01/Volumes_CreateOrUpdate.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-08-01/Volumes_CreateOrUpdate.json index 7a631a747092..d29216bc3d1c 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-08-01/Volumes_CreateOrUpdate.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-08-01/Volumes_CreateOrUpdate.json @@ -24,7 +24,7 @@ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1", "location": "eastus", "properties": { - "creationToken": "some-amazing-filepath", + "creationToken": "my-unique-file-path", "encryptionKeySource": "Microsoft.NetApp", "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca7778", "provisioningState": "Succeeded", @@ -42,7 +42,7 @@ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1", "location": "eastus", "properties": { - "creationToken": "some-amazing-filepath", + "creationToken": "my-unique-file-path", "encryptionKeySource": "Microsoft.NetApp", "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca7778", "provisioningState": "Succeeded", diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-08-01/Volumes_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-08-01/Volumes_Get.json index 0306afada3c9..966280f555bf 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-08-01/Volumes_Get.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-08-01/Volumes_Get.json @@ -15,7 +15,7 @@ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1", "location": "eastus", "properties": { - "creationToken": "some-amazing-filepath", + "creationToken": "my-unique-file-path", "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca7778", "networkFeatures": "Standard", "networkSiblingSetId": "0f434a03-ce0b-4935-81af-d98652ffb1c4", diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-08-01/Volumes_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-08-01/Volumes_List.json index aabee4d02a73..c98545230382 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-08-01/Volumes_List.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-08-01/Volumes_List.json @@ -16,7 +16,7 @@ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1", "location": "eastus", "properties": { - "creationToken": "some-amazing-filepath", + "creationToken": "my-unique-file-path", "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca7778", "networkFeatures": "Standard", "networkSiblingSetId": "0f434a03-ce0b-4935-81af-d98652ffb1c4", diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-08-01/Volumes_PopulateAvailabilityZones.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-08-01/Volumes_PopulateAvailabilityZones.json index c469d78730fb..a1e36934f54a 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-08-01/Volumes_PopulateAvailabilityZones.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-08-01/Volumes_PopulateAvailabilityZones.json @@ -15,7 +15,7 @@ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1", "location": "eastus", "properties": { - "creationToken": "some-amazing-filepath", + "creationToken": "my-unique-file-path", "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca7778", "networkFeatures": "Standard", "networkSiblingSetId": "0f434a03-ce0b-4935-81af-d98652ffb1c4", diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-08-01/Volumes_SplitClone.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-08-01/Volumes_SplitClone.json index 87a43ef5d0e6..00bc2383a499 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-08-01/Volumes_SplitClone.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-08-01/Volumes_SplitClone.json @@ -16,7 +16,7 @@ "location": "eastus", "properties": { "acceptGrowCapacityPoolForShortTermCloneSplit": "Accepted", - "creationToken": "some-amazing-filepath", + "creationToken": "my-unique-file-path", "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca7778", "networkFeatures": "Standard", "networkSiblingSetId": "0f434a03-ce0b-4935-81af-d98652ffb1c4", diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-08-01/Volumes_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-08-01/Volumes_Update.json index 2abdf270c805..4f7cbe4b7e3b 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-08-01/Volumes_Update.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-08-01/Volumes_Update.json @@ -16,7 +16,7 @@ "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroup/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1", "location": "eastus", "properties": { - "creationToken": "some-amazing-filepath", + "creationToken": "my-unique-file-path", "dataProtection": { "snapshot": { "snapshotPolicyId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.NetApp/netAppAccounts/account1/snapshotPolicies/snapshotPolicy1" diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Accounts_ChangeKeyVault.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Accounts_ChangeKeyVault.json new file mode 100644 index 000000000000..d273bc2af270 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Accounts_ChangeKeyVault.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "body": { + "keyName": "rsakey", + "keyVaultPrivateEndpoints": [ + { + "privateEndpointId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.Network/privateEndpoints/privip1", + "virtualNetworkId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.Network/virtualNetworks/vnet1" + } + ], + "keyVaultResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.KeyVault/managedHSMs/my-hsm", + "keyVaultUri": "https://my-key-vault.managedhsm.azure.net" + }, + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/a0216c17-f9d6-4b99-9faf-9ebd4883d0e4?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + } + }, + "operationId": "Accounts_ChangeKeyVault", + "title": "Accounts_ChangeKeyVault" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Accounts_CreateOrUpdate.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Accounts_CreateOrUpdate.json new file mode 100644 index 000000000000..acdca4ae5022 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Accounts_CreateOrUpdate.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "body": { + "location": "eastus", + "properties": {} + }, + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "account1", + "type": "Microsoft.NetApp/netAppAccounts", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "name": "account1", + "type": "Microsoft.NetApp/netAppAccounts", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1", + "location": "eastus", + "properties": { + "provisioningState": "Creating" + } + } + } + }, + "operationId": "Accounts_CreateOrUpdate", + "title": "Accounts_CreateOrUpdate" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Accounts_CreateOrUpdateAD.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Accounts_CreateOrUpdateAD.json new file mode 100644 index 000000000000..283fb1a47e8e --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Accounts_CreateOrUpdateAD.json @@ -0,0 +1,83 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "body": { + "location": "eastus", + "properties": { + "activeDirectories": [ + { + "aesEncryption": true, + "dns": "10.10.10.3", + "domain": "10.10.10.3", + "ldapOverTLS": false, + "ldapSigning": false, + "organizationalUnit": "OU=Engineering", + "password": "", + "site": "SiteName", + "smbServerName": "SMBServer", + "username": "ad_user_name" + } + ] + } + }, + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "account1", + "type": "Microsoft.NetApp/netAppAccounts", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1", + "location": "eastus", + "properties": { + "activeDirectories": [ + { + "activeDirectoryId": "503d38f9-f17c-f92d-ef26-b0d46374534b", + "aesEncryption": true, + "dns": "10.10.10.3", + "domain": "10.10.10.3", + "ldapOverTLS": false, + "ldapSigning": false, + "organizationalUnit": "OU=Engineering", + "password": null, + "site": "SiteName", + "smbServerName": "SMBServer", + "username": "ad_user_name" + } + ], + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "name": "account1", + "type": "Microsoft.NetApp/netAppAccounts", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1", + "location": "eastus", + "properties": { + "activeDirectories": [ + { + "activeDirectoryId": "503d38f9-f17c-f92d-ef26-b0d46374534b", + "aesEncryption": true, + "dns": "10.10.10.3", + "domain": "10.10.10.3", + "ldapOverTLS": false, + "ldapSigning": false, + "organizationalUnit": "OU=Engineering", + "password": null, + "site": "SiteName", + "smbServerName": "SMBServer", + "username": "ad_user_name" + } + ], + "provisioningState": "Creating" + } + } + } + }, + "operationId": "Accounts_CreateOrUpdate", + "title": "Accounts_CreateOrUpdateWithActiveDirectory" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Accounts_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Accounts_Delete.json new file mode 100644 index 000000000000..2d6154257827 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Accounts_Delete.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + }, + "204": {} + }, + "operationId": "Accounts_Delete", + "title": "Accounts_Delete" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Accounts_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Accounts_Get.json new file mode 100644 index 000000000000..a7a9b1230b35 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Accounts_Get.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "account1", + "type": "Microsoft.NetApp/netAppAccounts", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1", + "location": "eastus", + "properties": { + "activeDirectories": [ + { + "activeDirectoryId": "02da3711-6c58-2d64-098a-e3af7afaf936", + "aesEncryption": true, + "dns": "10.10.10.3", + "domain": "10.10.10.3", + "ldapSigning": true, + "organizationalUnit": "OU=Engineering", + "site": "SiteName", + "smbServerName": "SMBServer", + "status": "InUse", + "statusDetails": "Status Details", + "username": "ad_user_name" + } + ], + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "Accounts_Get", + "title": "Accounts_Get" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Accounts_GetChangeKeyVaultInformation.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Accounts_GetChangeKeyVaultInformation.json new file mode 100644 index 000000000000..d64ed6a2b1d9 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Accounts_GetChangeKeyVaultInformation.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "properties": { + "keyName": "rsakey", + "keyVaultPrivateEndpoints": [ + { + "privateEndpointId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.Network/privateEndpoints/privip1", + "virtualNetworkId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.Network/virtualNetworks/vnet1" + } + ], + "keyVaultResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.KeyVault/managedHSMs/my-hsm", + "keyVaultUri": "https://my-key-vault.managedhsm.azure.net" + } + } + }, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + } + }, + "operationId": "Accounts_GetChangeKeyVaultInformation", + "title": "Accounts_GetChangeKeyVaultInformation" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Accounts_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Accounts_List.json new file mode 100644 index 000000000000..b64a15d17186 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Accounts_List.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2025-09-01-preview", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "account1", + "type": "Microsoft.NetApp/netAppAccounts", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded" + } + } + ] + } + } + }, + "operationId": "Accounts_List", + "title": "Accounts_List" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Accounts_ListBySubscription.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Accounts_ListBySubscription.json new file mode 100644 index 000000000000..a59d183ead0e --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Accounts_ListBySubscription.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2025-09-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "account1", + "type": "Microsoft.NetApp/netAppAccounts", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded" + } + } + ] + } + } + }, + "operationId": "Accounts_ListBySubscription", + "title": "Accounts_ListBySubscription" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Accounts_RenewCredentials.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Accounts_RenewCredentials.json new file mode 100644 index 000000000000..b5786ccaad23 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Accounts_RenewCredentials.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "body": {}, + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/a0216c17-f9d6-4b99-9faf-9ebd4883d0e4?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + } + }, + "operationId": "Accounts_RenewCredentials", + "title": "Accounts_RenewCredentials" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Accounts_TransitionEncryptionKey.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Accounts_TransitionEncryptionKey.json new file mode 100644 index 000000000000..37e43dac2544 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Accounts_TransitionEncryptionKey.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "body": { + "privateEndpointId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.Network/privateEndpoints/privip1", + "virtualNetworkId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.Network/virtualNetworks/vnet1" + }, + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/a0216c17-f9d6-4b99-9faf-9ebd4883d0e4?api-version=2025-09-01-preview", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/a0216c17-f9d6-4b99-9faf-9ebd4883d0e4?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + } + }, + "operationId": "Accounts_TransitionToCmk", + "title": "Accounts_MigrateEncryptionKey" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Accounts_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Accounts_Update.json new file mode 100644 index 000000000000..d109ef906b82 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Accounts_Update.json @@ -0,0 +1,48 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "body": { + "tags": { + "Tag1": "Value1" + } + }, + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "account1", + "type": "Microsoft.NetApp/netAppAccounts", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded" + } + } + }, + "202": { + "body": { + "name": "account1", + "type": "Microsoft.NetApp/netAppAccounts", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1", + "location": "eastus", + "properties": { + "encryption": { + "keySource": "Microsoft.NetApp" + }, + "provisioningState": "Patching" + }, + "tags": { + "Tag1": "Value1" + } + }, + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/a0216c17-f9d6-4b99-9faf-9ebd4883d0e4?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + } + }, + "operationId": "Accounts_Update", + "title": "Accounts_Update" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ActiveDirectoryConfigs_CreateOrUpdate.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ActiveDirectoryConfigs_CreateOrUpdate.json new file mode 100644 index 000000000000..7131e9c4b767 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ActiveDirectoryConfigs_CreateOrUpdate.json @@ -0,0 +1,153 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "activeDirectoryConfigName": "adconfig1", + "api-version": "2025-09-01-preview", + "body": { + "location": "eastus", + "tags": { + "ac-tag1": "activeDirectoryConfig1" + }, + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/userAssignedIdentity1": {} + } + }, + "properties": { + "userName": "admin1", + "secretPassword": { + "keyVaultProperties": { + "keyVaultUri": "https://example.vault.azure.net/", + "secretName": "activeDirectoryPassword" + }, + "identity": { + "userAssignedIdentity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/userAssignedIdentity1" + } + }, + "domain": "example.net", + "dns": [ + "10.10.10.4", + "10.10.10.5" + ], + "smbServerName": "smbServer", + "organizationalUnit": "OU=Computers,DC=corp,DC=contoso,DC=com", + "site": "Default-First-Site-Name", + "backupOperators": [ + "backupOp1" + ], + "administrators": [ + "admin1" + ], + "securityOperators": [ + "secOp1" + ] + } + } + }, + "responses": { + "200": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/a0216c17-f9d6-4b99-9faf-9ebd4883d0e4?api-version=2025-09-01-preview" + }, + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/activeDirectoryConfigs/adconfig1", + "name": "adconfig1", + "type": "Microsoft.NetApp/activeDirectoryConfigs", + "location": "eastus", + "tags": { + "ac-tag1": "adconfig1" + }, + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/userAssignedIdentity1": { + "principalId": "abdb541c-5355-4c0b-be43-abab330dd983", + "clientId": "9e0b65a1-4132-466a-a7fb-d69a83eea08a" + } + } + }, + "properties": { + "userName": "admin1", + "secretPassword": { + "keyVaultProperties": { + "keyVaultUri": "https://example.vault.azure.net/", + "secretName": "activeDirectoryPassword" + }, + "identity": { + "userAssignedIdentity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/userAssignedIdentity1", + "principalId": "abdb541c-5355-4c0b-be43-abab330dd983" + } + }, + "domain": "example.net", + "dns": [ + "10.10.10.4", + "10.10.10.5" + ], + "smbServerName": "smbServer", + "organizationalUnit": "OU=Computers,DC=corp,DC=contoso,DC=com", + "site": "Default-First-Site-Name", + "backupOperators": [ + "backupOp1" + ], + "administrators": [ + "admin1" + ], + "securityOperators": [ + "secOp1" + ], + "activeDirectoryStatus": "Creating", + "provisioningState": "Succeeded" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/a0216c17-f9d6-4b99-9faf-9ebd4883d0e4?api-version=2025-09-01-preview" + }, + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/activeDirectoryConfigs/adconfig1", + "name": "adconfig1", + "type": "Microsoft.NetApp/activeDirectoryConfigs", + "location": "eastus", + "tags": { + "ac-tag1": "adconfig1" + }, + "properties": { + "userName": "admin1", + "secretPassword": { + "keyVaultProperties": { + "keyVaultUri": "https://example.vault.azure.net/", + "secretName": "activeDirectoryPassword" + }, + "identity": { + "userAssignedIdentity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/userAssignedIdentity1" + } + }, + "domain": "example.net", + "dns": [ + "10.10.10.4", + "10.10.10.5" + ], + "smbServerName": "smbServer", + "organizationalUnit": "OU=Computers,DC=corp,DC=contoso,DC=com", + "site": "Default-First-Site-Name", + "backupOperators": [ + "backupOp1" + ], + "administrators": [ + "admin1" + ], + "securityOperators": [ + "secOp1" + ], + "activeDirectoryStatus": "Creating", + "provisioningState": "Creating" + } + } + } + }, + "operationId": "ActiveDirectoryConfigs_CreateOrUpdate", + "title": "ActiveDirectoryConfigs_CreateOrUpdate" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ActiveDirectoryConfigs_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ActiveDirectoryConfigs_Delete.json new file mode 100644 index 000000000000..5e3934e5de68 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ActiveDirectoryConfigs_Delete.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "activeDirectoryConfigName": "adconfig1", + "api-version": "2025-09-01-preview" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview" + } + }, + "204": {} + }, + "operationId": "ActiveDirectoryConfigs_Delete", + "title": "ActiveDirectoryConfigs_Delete" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ActiveDirectoryConfigs_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ActiveDirectoryConfigs_Get.json new file mode 100644 index 000000000000..dc17d36eb351 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ActiveDirectoryConfigs_Get.json @@ -0,0 +1,64 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "activeDirectoryConfigName": "adconfig1", + "api-version": "2025-09-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/activeDirectoryConfigs/adconfig1", + "name": "adconfig1", + "type": "Microsoft.NetApp/activeDirectoryConfigs", + "location": "eastus", + "tags": { + "ac-tag1": "adconfig1" + }, + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/userAssignedIdentity1": { + "principalId": "abdb541c-5355-4c0b-be43-abab330dd983", + "clientId": "9e0b65a1-4132-466a-a7fb-d69a83eea08a" + } + } + }, + "properties": { + "userName": "admin1", + "secretPassword": { + "keyVaultProperties": { + "keyVaultUri": "https://example.vault.azure.net/", + "secretName": "activeDirectoryPassword" + }, + "identity": { + "userAssignedIdentity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/userAssignedIdentity1", + "principalId": "abdb541c-5355-4c0b-be43-abab330dd983" + } + }, + "domain": "example.net", + "dns": [ + "10.10.10.4", + "10.10.10.5" + ], + "smbServerName": "smbServer", + "organizationalUnit": "OU=Computers,DC=corp,DC=contoso,DC=com", + "site": "Default-First-Site-Name", + "backupOperators": [ + "backupOp1" + ], + "administrators": [ + "admin1" + ], + "securityOperators": [ + "secOp1" + ], + "activeDirectoryStatus": "InUse", + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "ActiveDirectoryConfigs_Get", + "title": "ActiveDirectoryConfigs_Get" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ActiveDirectoryConfigs_ListByResourceGroup.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ActiveDirectoryConfigs_ListByResourceGroup.json new file mode 100644 index 000000000000..d4b6fad39b7b --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ActiveDirectoryConfigs_ListByResourceGroup.json @@ -0,0 +1,67 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "api-version": "2025-09-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/activeDirectoryConfigs/adconfig1", + "name": "adconfig1", + "type": "Microsoft.NetApp/activeDirectoryConfigs", + "location": "eastus", + "tags": { + "ac-tag1": "adconfig1" + }, + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/userAssignedIdentity1": { + "principalId": "abdb541c-5355-4c0b-be43-abab330dd983", + "clientId": "9e0b65a1-4132-466a-a7fb-d69a83eea08a" + } + } + }, + "properties": { + "userName": "admin1", + "secretPassword": { + "keyVaultProperties": { + "keyVaultUri": "https://example.vault.azure.net/", + "secretName": "activeDirectoryPassword" + }, + "identity": { + "userAssignedIdentity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/userAssignedIdentity1", + "principalId": "abdb541c-5355-4c0b-be43-abab330dd983" + } + }, + "domain": "example.net", + "dns": [ + "10.10.10.4", + "10.10.10.5" + ], + "smbServerName": "smbServer", + "organizationalUnit": "OU=Computers,DC=corp,DC=contoso,DC=com", + "site": "Default-First-Site-Name", + "backupOperators": [ + "backupOp1" + ], + "administrators": [ + "admin1" + ], + "securityOperators": [ + "secOp1" + ], + "activeDirectoryStatus": "InUse", + "provisioningState": "Succeeded" + } + } + ] + } + } + }, + "operationId": "ActiveDirectoryConfigs_ListByResourceGroup", + "title": "ActiveDirectoryConfigs_ListByResourceGroup" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ActiveDirectoryConfigs_ListBySubscription.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ActiveDirectoryConfigs_ListBySubscription.json new file mode 100644 index 000000000000..bfb36e91deb1 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ActiveDirectoryConfigs_ListBySubscription.json @@ -0,0 +1,63 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "api-version": "2025-09-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/activeDirectoryConfigs/adconfig1", + "name": "adconfig1", + "type": "Microsoft.NetApp/activeDirectoryConfigs", + "location": "eastus", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/userAssignedIdentity1": { + "principalId": "abdb541c-5355-4c0b-be43-abab330dd983", + "clientId": "9e0b65a1-4132-466a-a7fb-d69a83eea08a" + } + } + }, + "properties": { + "userName": "admin1", + "secretPassword": { + "keyVaultProperties": { + "keyVaultUri": "https://example.vault.azure.net/", + "secretName": "activeDirectoryPassword" + }, + "identity": { + "userAssignedIdentity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/userAssignedIdentity1", + "principalId": "abdb541c-5355-4c0b-be43-abab330dd983" + } + }, + "domain": "example.net", + "dns": [ + "10.10.10.4", + "10.10.10.5" + ], + "smbServerName": "smbServer", + "organizationalUnit": "OU=Computers,DC=corp,DC=contoso,DC=com", + "site": "Default-First-Site-Name", + "backupOperators": [ + "backupOp1" + ], + "administrators": [ + "admin1" + ], + "securityOperators": [ + "secOp1" + ], + "activeDirectoryStatus": "InUse", + "provisioningState": "Succeeded" + } + } + ] + } + } + }, + "operationId": "ActiveDirectoryConfigs_ListBySubscription", + "title": "ActiveDirectoryConfigs_ListBySubscription" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ActiveDirectoryConfigs_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ActiveDirectoryConfigs_Update.json new file mode 100644 index 000000000000..d16a29e6f1ae --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ActiveDirectoryConfigs_Update.json @@ -0,0 +1,71 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "activeDirectoryConfigName": "adconfig1", + "api-version": "2025-09-01-preview", + "body": { + "properties": { + "smbServerName": "smbServer2" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/activeDirectoryConfigs/adconfig1", + "name": "adconfig1", + "type": "Microsoft.NetApp/activeDirectoryConfigs", + "location": "eastus", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/userAssignedIdentity1": { + "principalId": "abdb541c-5355-4c0b-be43-abab330dd983", + "clientId": "9e0b65a1-4132-466a-a7fb-d69a83eea08a" + } + } + }, + "properties": { + "userName": "admin1", + "secretPassword": { + "keyVaultProperties": { + "keyVaultUri": "https://example.vault.azure.net/", + "secretName": "activeDirectoryPassword" + }, + "identity": { + "userAssignedIdentity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/userAssignedIdentity1", + "principalId": "abdb541c-5355-4c0b-be43-abab330dd983" + } + }, + "domain": "example.net", + "dns": [ + "10.10.10.4", + "10.10.10.5" + ], + "smbServerName": "smbServer2", + "organizationalUnit": "OU=Computers,DC=corp,DC=contoso,DC=com", + "site": "Default-First-Site-Name", + "backupOperators": [ + "backupOp1" + ], + "administrators": [ + "admin1" + ], + "securityOperators": [ + "secOp1" + ], + "activeDirectoryStatus": "Updating", + "provisioningState": "Succeeded" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/a0216c17-f9d6-4b99-9faf-9ebd4883d0e4?api-version=2025-09-01-preview" + } + } + }, + "operationId": "ActiveDirectoryConfigs_Update", + "title": "ActiveDirectoryConfigs_Update" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/BackupPolicies_Create.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/BackupPolicies_Create.json new file mode 100644 index 000000000000..35f44084bb85 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/BackupPolicies_Create.json @@ -0,0 +1,53 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "backupPolicyName": "backupPolicyName", + "body": { + "location": "westus", + "properties": { + "dailyBackupsToKeep": 10, + "enabled": true, + "monthlyBackupsToKeep": 10, + "weeklyBackupsToKeep": 10 + } + }, + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "account1/backupPolicyName", + "type": "Microsoft.NetApp/netAppAccounts/backupPolicies", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupPolicies/backupPolicyName", + "location": "westus", + "properties": { + "dailyBackupsToKeep": 10, + "enabled": true, + "monthlyBackupsToKeep": 10, + "provisioningState": "creating", + "weeklyBackupsToKeep": 10 + } + } + }, + "201": { + "body": { + "name": "account1/backupPolicyName", + "type": "Microsoft.NetApp/netAppAccounts/backupPolicies", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupPolicies/backupPolicyName", + "location": "westus", + "properties": { + "dailyBackupsToKeep": 10, + "enabled": true, + "monthlyBackupsToKeep": 10, + "provisioningState": "creating", + "weeklyBackupsToKeep": 10 + } + } + }, + "202": {} + }, + "operationId": "BackupPolicies_Create", + "title": "BackupPolicies_Create" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/BackupPolicies_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/BackupPolicies_Delete.json new file mode 100644 index 000000000000..22b83d385f29 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/BackupPolicies_Delete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "accountName": "accountName", + "api-version": "2025-09-01-preview", + "backupPolicyName": "backupPolicyName", + "resourceGroupName": "resourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + }, + "204": {} + }, + "operationId": "BackupPolicies_Delete", + "title": "BackupPolicies_Delete" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/BackupPolicies_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/BackupPolicies_Get.json new file mode 100644 index 000000000000..0070ea394072 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/BackupPolicies_Get.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "backupPolicyName": "backupPolicyName", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "account1/backupPolicyName", + "type": "Microsoft.NetApp/netAppAccounts/backupPolicies", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupPolocies/backupPolicyName", + "location": "eastus", + "properties": { + "dailyBackupsToKeep": 10, + "enabled": true, + "monthlyBackupsToKeep": 10, + "volumeBackups": [ + { + "backupsCount": 5, + "policyEnabled": true, + "volumeName": "volume 1" + } + ], + "volumesAssigned": 0, + "weeklyBackupsToKeep": 10 + } + } + } + }, + "operationId": "BackupPolicies_Get", + "title": "Backups_Get" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/BackupPolicies_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/BackupPolicies_List.json new file mode 100644 index 000000000000..8204df2c2f91 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/BackupPolicies_List.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "account1/backupPolicy1", + "type": "Microsoft.NetApp/netAppAccounts/backupPolicies", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupPolocies/backupPolicy1", + "location": "eastus", + "properties": { + "dailyBackupsToKeep": 10, + "enabled": true, + "monthlyBackupsToKeep": 10, + "volumesAssigned": 0, + "weeklyBackupsToKeep": 10 + } + } + ] + } + } + }, + "operationId": "BackupPolicies_List", + "title": "BackupPolicies_List" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/BackupPolicies_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/BackupPolicies_Update.json new file mode 100644 index 000000000000..b1d8fc2d7cff --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/BackupPolicies_Update.json @@ -0,0 +1,72 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "backupPolicyName": "backupPolicyName", + "body": { + "location": "westus", + "properties": { + "dailyBackupsToKeep": 5, + "enabled": false, + "monthlyBackupsToKeep": 10, + "weeklyBackupsToKeep": 10 + } + }, + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "account1/backupPolicyName", + "type": "Microsoft.NetApp/netAppAccounts/backupPolicies", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupPolocies/backupPolicyName", + "location": "westus", + "properties": { + "dailyBackupsToKeep": 5, + "enabled": false, + "monthlyBackupsToKeep": 10, + "provisioningState": "Succeeded", + "volumeBackups": [ + { + "backupsCount": 5, + "policyEnabled": true, + "volumeName": "volume 1" + } + ], + "volumesAssigned": 1, + "weeklyBackupsToKeep": 10 + } + } + }, + "202": { + "body": { + "name": "account1/backupPolicyName", + "type": "Microsoft.NetApp/netAppAccounts/backupPolicies", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupPolocies/backupPolicyName", + "location": "westus", + "properties": { + "dailyBackupsToKeep": 5, + "enabled": false, + "monthlyBackupsToKeep": 10, + "provisioningState": "Succeeded", + "volumeBackups": [ + { + "backupsCount": 5, + "policyEnabled": true, + "volumeName": "volume 1" + } + ], + "volumesAssigned": 1, + "weeklyBackupsToKeep": 10 + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/18c499e1-2a3c-441c-950e-4b456c991c18?api-version=2025-09-01-preview", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/18c499e1-2a3c-441c-950e-4b456c991c18?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + } + }, + "operationId": "BackupPolicies_Update", + "title": "BackupPolicies_Update" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/BackupVaults_Create.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/BackupVaults_Create.json new file mode 100644 index 000000000000..949a611de657 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/BackupVaults_Create.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "backupVaultName": "backupVault1", + "body": { + "location": "eastus" + }, + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "account1/backupVault1", + "type": "Microsoft.NetApp/netAppAccounts/backupVaults", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupVaults/backupVault1", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "name": "account1/backupVault1", + "type": "Microsoft.NetApp/netAppAccounts/backupVaults", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupVaults/backupVault1", + "location": "eastus", + "properties": { + "provisioningState": "Creating" + } + } + } + }, + "operationId": "BackupVaults_CreateOrUpdate", + "title": "BackupVault_CreateOrUpdate" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/BackupVaults_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/BackupVaults_Delete.json new file mode 100644 index 000000000000..35d5f5d8fef1 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/BackupVaults_Delete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "backupVaultName": "backupVault1", + "resourceGroupName": "resourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + }, + "204": {} + }, + "operationId": "BackupVaults_Delete", + "title": "BackupVaults_Delete" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/BackupVaults_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/BackupVaults_Get.json new file mode 100644 index 000000000000..b45ed214c1b6 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/BackupVaults_Get.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "backupVaultName": "backupVault1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "account1/backupVault1", + "type": "Microsoft.NetApp/netAppAccounts/backupVaults", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupVaults/backupVault1", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded" + }, + "tags": { + "Tag1": "Value1" + } + } + } + }, + "operationId": "BackupVaults_Get", + "title": "BackupVaults_Get" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/BackupVaults_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/BackupVaults_List.json new file mode 100644 index 000000000000..c7c7924c3465 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/BackupVaults_List.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "account1/backupVault1", + "type": "Microsoft.NetApp/netAppAccounts/backupVaults", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupVaults/backupVault1", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded" + }, + "tags": { + "Tag1": "Value1" + } + } + ] + } + } + }, + "operationId": "BackupVaults_ListByNetAppAccount", + "title": "BackupVaults_List" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/BackupVaults_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/BackupVaults_Update.json new file mode 100644 index 000000000000..9f7538b36e91 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/BackupVaults_Update.json @@ -0,0 +1,50 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "backupVaultName": "backupVault1", + "body": { + "tags": { + "Tag1": "Value1" + } + }, + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "account1/backupVault1", + "type": "Microsoft.NetApp/netAppAccounts/backupVaults", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupVaults/backupVault1", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded" + }, + "tags": { + "Tag1": "Value1" + } + } + }, + "202": { + "body": { + "name": "account1/backupVault1", + "type": "Microsoft.NetApp/netAppAccounts/backupVaults", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupVaults/backupVault1", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded" + }, + "tags": { + "Tag1": "Value1" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/18c499e1-2a3c-441c-950e-4b456c991c18?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + } + }, + "operationId": "BackupVaults_Update", + "title": "BackupVaults_Update" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/BackupsUnderAccount_Migrate.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/BackupsUnderAccount_Migrate.json new file mode 100644 index 000000000000..62ded8fe554e --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/BackupsUnderAccount_Migrate.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "body": { + "backupVaultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupVaults/backupVault1" + }, + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + } + }, + "operationId": "BackupsUnderAccount_MigrateBackups", + "title": "BackupsUnderAccount_Migrate" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/BackupsUnderBackupVault_Create.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/BackupsUnderBackupVault_Create.json new file mode 100644 index 000000000000..f67e687f4158 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/BackupsUnderBackupVault_Create.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "backupName": "backup1", + "backupVaultName": "backupVault1", + "body": { + "properties": { + "label": "myLabel", + "volumeResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPool/pool1/volumes/volume1" + } + }, + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "account1/backupVault1/backup1", + "type": "Microsoft.NetApp/netAppAccounts/backupVaults/backups", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupVaults/backupVault1/backups/backup1", + "properties": { + "backupType": "Manual", + "creationDate": "2017-08-15T13:23:33Z", + "label": "myLabel", + "provisioningState": "Succeeded", + "size": 10011, + "snapshotName": "backup1", + "volumeResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPool/pool1/volumes/volume1" + } + } + }, + "201": { + "body": { + "name": "account1/backupVault1/backup1", + "type": "Microsoft.NetApp/netAppAccounts/backupVaults/backups", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupVaults/backupVault1/backups/backup1", + "properties": { + "backupType": "Manual", + "creationDate": "2017-08-15T13:23:33Z", + "label": "myLabel", + "provisioningState": "Succeeded", + "size": 10011, + "snapshotName": "backup1", + "volumeResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPool/pool1/volumes/volume1" + } + } + } + }, + "operationId": "Backups_Create", + "title": "BackupsUnderBackupVault_Create" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/BackupsUnderBackupVault_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/BackupsUnderBackupVault_Delete.json new file mode 100644 index 000000000000..f3b6c752eacf --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/BackupsUnderBackupVault_Delete.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "backupName": "backup1", + "backupVaultName": "backupVault1", + "resourceGroupName": "resourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + }, + "204": {} + }, + "operationId": "Backups_Delete", + "title": "BackupsUnderBackupVault_Delete" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/BackupsUnderBackupVault_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/BackupsUnderBackupVault_Get.json new file mode 100644 index 000000000000..b0286d329959 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/BackupsUnderBackupVault_Get.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "backupName": "backup1", + "backupVaultName": "backupVault1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "account1/backupVault1/backup1", + "type": "Microsoft.NetApp/netAppAccounts/backupVaults/backups", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupVaults/backupVault1/backups/backup1", + "properties": { + "backupPolicyResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupPolicies/policy1", + "backupType": "Manual", + "creationDate": "2017-08-15T13:23:33Z", + "label": "myLabel", + "provisioningState": "Succeeded", + "size": 10011, + "snapshotName": "backup1", + "volumeResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPool/pool1/volumes/volume1" + } + } + } + }, + "operationId": "Backups_Get", + "title": "BackupsUnderBackupVault_Get" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/BackupsUnderBackupVault_SingleFileRestore.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/BackupsUnderBackupVault_SingleFileRestore.json new file mode 100644 index 000000000000..625f918850a2 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/BackupsUnderBackupVault_SingleFileRestore.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "backupName": "backup1", + "backupVaultName": "backupVault1", + "body": { + "destinationVolumeId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1", + "fileList": [ + "/dir1/customer1.db", + "/dir1/customer2.db" + ] + }, + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + } + }, + "operationId": "BackupsUnderBackupVault_RestoreFiles", + "title": "Backups_SingleFileRestore" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/BackupsUnderBackupVault_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/BackupsUnderBackupVault_Update.json new file mode 100644 index 000000000000..0e6e04735cb9 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/BackupsUnderBackupVault_Update.json @@ -0,0 +1,51 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "backupName": "backup1", + "backupVaultName": "backupVault1", + "body": {}, + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "account1/backupVault1/backup1", + "type": "Microsoft.NetApp/netAppAccounts/backupVaults/backups", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupVaults/backupVault1/backups/backup1", + "properties": { + "backupType": "Manual", + "creationDate": "2017-08-15T13:23:33Z", + "label": "myLabel", + "provisioningState": "Succeeded", + "size": 10011, + "snapshotName": "backup1", + "volumeResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPool/pool1/volumes/volume1" + } + } + }, + "202": { + "body": { + "name": "account1/backupVault1/backup1", + "type": "Microsoft.NetApp/netAppAccounts/backupVaults/backups", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupVaults/backupVault1/backups/backup1", + "properties": { + "backupType": "Manual", + "creationDate": "2017-08-15T13:23:33Z", + "label": "myLabel", + "provisioningState": "Succeeded", + "size": 10011, + "snapshotName": "backup1", + "volumeResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPool/pool1/volumes/volume1" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/18c499e1-2a3c-441c-950e-4b456c991c18?api-version=2025-09-01-preview", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/18c499e1-2a3c-441c-950e-4b456c991c18?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + } + }, + "operationId": "Backups_Update", + "title": "BackupsUnderBackupVault_Update" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/BackupsUnderVolume_Migrate.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/BackupsUnderVolume_Migrate.json new file mode 100644 index 000000000000..d40ad2466d5c --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/BackupsUnderVolume_Migrate.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "body": { + "backupVaultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupVaults/backupVault1" + }, + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + } + }, + "operationId": "BackupsUnderVolume_MigrateBackups", + "title": "BackupsUnderVolume_Migrate" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Backups_ListByVault.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Backups_ListByVault.json new file mode 100644 index 000000000000..52ccdc98334a --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Backups_ListByVault.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "backupVaultName": "backupVault1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "account1/backupVault1/backup1", + "type": "Microsoft.NetApp/netAppAccounts/backupVaults/backups", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupVaults/backupVault1/backups/backup1", + "properties": { + "backupPolicyResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupPolicies/policy1", + "backupType": "Manual", + "creationDate": "2017-08-15T13:23:33Z", + "label": "myLabel", + "provisioningState": "Succeeded", + "size": 10011, + "snapshotName": "backup1", + "volumeResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPool/pool1/volumes/volume1" + } + } + ] + } + } + }, + "operationId": "Backups_ListByVault", + "title": "Backups_ListByVault" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Buckets_CreateOrUpdate.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Buckets_CreateOrUpdate.json new file mode 100644 index 000000000000..ade0472c753c --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Buckets_CreateOrUpdate.json @@ -0,0 +1,85 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "body": { + "properties": { + "path": "/path", + "fileSystemUser": { + "nfsUser": { + "groupId": 1000, + "userId": 1001 + } + }, + "permissions": "ReadOnly", + "server": { + "certificateObject": "", + "fqdn": "fullyqualified.domainname.com" + } + } + }, + "bucketName": "bucket1", + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": { + "body": { + "name": "account1/pool1/volume1/bucket1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/buckets", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/buckets/bucket1", + "properties": { + "path": "/path", + "fileSystemUser": { + "nfsUser": { + "groupId": 1000, + "userId": 1001 + } + }, + "permissions": "ReadOnly", + "provisioningState": "Succeeded", + "server": { + "certificateCommonName": "www.example.com", + "certificateExpiryDate": "2027-08-15T13:23:32Z", + "fqdn": "fullyqualified.domainname.com", + "ipAddress": "1.2.3.4" + }, + "status": "NoCredentialsSet" + } + } + }, + "201": { + "body": { + "name": "account1/pool1/volume1/bucket1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/buckets", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/buckets/bucket1", + "properties": { + "path": "/path", + "fileSystemUser": { + "nfsUser": { + "groupId": 1000, + "userId": 1001 + } + }, + "permissions": "ReadOnly", + "provisioningState": "Creating", + "server": { + "certificateCommonName": "www.example.com", + "certificateExpiryDate": "2027-08-15T13:23:32Z", + "fqdn": "fullyqualified.domainname.com", + "ipAddress": "1.2.3.4" + }, + "status": "NoCredentialsSet" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-09-01-preview", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + } + }, + "operationId": "Buckets_CreateOrUpdate", + "title": "Buckets_CreateOrUpdate" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Buckets_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Buckets_Delete.json new file mode 100644 index 000000000000..fdcadc130579 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Buckets_Delete.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "bucketName": "bucket1", + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9", + "volumeName": "volume1" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-09-01-preview", + "Location": "https://management.azure.com/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + }, + "204": {} + }, + "operationId": "Buckets_Delete", + "title": "Buckets_Delete" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Buckets_GenerateCredentials.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Buckets_GenerateCredentials.json new file mode 100644 index 000000000000..36d8e4c0ef53 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Buckets_GenerateCredentials.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "body": { + "keyPairExpiryDays": 3 + }, + "bucketName": "bucket1", + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": { + "body": { + "accessKey": "", + "keyPairExpiry": "2027-08-15T13:23:33Z", + "secretKey": "" + } + } + }, + "operationId": "Buckets_GenerateCredentials", + "title": "Buckets_GenerateCredentials" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Buckets_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Buckets_Get.json new file mode 100644 index 000000000000..90568ba32ae1 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Buckets_Get.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "bucketName": "bucket1", + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": { + "body": { + "name": "account1/pool1/volume1/bucket1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/buckets", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/buckets/bucket1", + "properties": { + "path": "/path", + "fileSystemUser": { + "nfsUser": { + "groupId": 1000, + "userId": 1001 + } + }, + "permissions": "ReadOnly", + "provisioningState": "Succeeded", + "server": { + "certificateCommonName": "www.example.com", + "certificateExpiryDate": "2027-08-15T13:23:32Z", + "fqdn": "fullyqualified.domainname.com", + "ipAddress": "1.2.3.4" + }, + "status": "CredentialsExpired" + } + } + } + }, + "operationId": "Buckets_Get", + "title": "Buckets_Get" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Buckets_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Buckets_List.json new file mode 100644 index 000000000000..939849f1bb80 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Buckets_List.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "account1/pool1/volume1/bucket1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/buckets", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/buckets/bucket1", + "properties": { + "path": "/path", + "fileSystemUser": { + "nfsUser": { + "groupId": 1000, + "userId": 1001 + } + }, + "permissions": "ReadOnly", + "provisioningState": "Succeeded", + "server": { + "certificateCommonName": "www.example.com", + "certificateExpiryDate": "2027-08-15T13:23:32Z", + "fqdn": "fullyqualified.domainname.com", + "ipAddress": "1.2.3.4" + }, + "status": "Active" + } + } + ] + } + } + }, + "operationId": "Buckets_List", + "title": "Buckets_List" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Buckets_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Buckets_Update.json new file mode 100644 index 000000000000..6e19061999b6 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Buckets_Update.json @@ -0,0 +1,55 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "body": { + "properties": { + "permissions": "ReadWrite", + "server": { + "certificateObject": "", + "fqdn": "fullyqualified.domainname.com" + } + } + }, + "bucketName": "bucket1", + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": { + "body": { + "name": "account1/pool1/volume1/bucket1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/buckets", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/buckets/bucket1", + "properties": { + "path": "/path", + "fileSystemUser": { + "nfsUser": { + "groupId": 1000, + "userId": 1001 + } + }, + "permissions": "ReadWrite", + "provisioningState": "Succeeded", + "server": { + "certificateCommonName": "www.example.com", + "certificateExpiryDate": "2027-08-15T13:23:32Z", + "fqdn": "fullyqualified.domainname.com", + "ipAddress": "1.2.3.4" + }, + "status": "Active" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-09-01-preview", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + } + }, + "operationId": "Buckets_Update", + "title": "Buckets_Update" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Caches_CreateOrUpdate.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Caches_CreateOrUpdate.json new file mode 100644 index 000000000000..04465831592a --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Caches_CreateOrUpdate.json @@ -0,0 +1,97 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "accountName": "account1", + "poolName": "pool1", + "cacheName": "cache1", + "api-version": "2025-09-01-preview", + "body": { + "location": "eastus", + "properties": { + "filepath": "cache-west-us2-01", + "size": 107374182400, + "ldap": "Enabled", + "ldapServerType": "OpenLDAP", + "cacheSubnetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/cacheVnet/subnets/cacheSubnet1", + "peeringSubnetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/icLifVnet/subnets/peeringSubnet1", + "encryptionKeySource": "Microsoft.NetApp", + "originClusterInformation": { + "peerClusterName": "cluster1", + "peerAddresses": [ + "192.0.2.10", + "192.0.2.11" + ], + "peerVserverName": "vserver1", + "peerVolumeName": "originvol1" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/caches/cache1", + "name": "account1/pool1/cache1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/caches", + "location": "eastus", + "properties": { + "filepath": "cache-west-us2-01", + "size": 214748364800, + "provisioningState": "Succeeded", + "cacheState": "Succeeded", + "cacheSubnetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/cacheVnet/subnets/cacheSubnet1", + "peeringSubnetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/icLifVnet/subnets/peeringSubnet1", + "encryptionKeySource": "Microsoft.NetApp", + "originClusterInformation": { + "peerClusterName": "cluster1", + "peerAddresses": [ + "192.0.2.10", + "192.0.2.11" + ], + "peerVserverName": "vserver1", + "peerVolumeName": "originvol1" + }, + "cifsChangeNotifications": "Disabled", + "globalFileLocking": "Disabled", + "writeBack": "Disabled", + "ldap": "Enabled", + "ldapServerType": "OpenLDAP" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/caches/cache1", + "name": "account1/pool1/cache1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/caches", + "location": "eastus", + "properties": { + "filepath": "cache-west-us2-01", + "size": 107374182400, + "provisioningState": "Succeeded", + "cacheState": "Creating", + "cacheSubnetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/cacheVnet/subnets/cacheSubnet1", + "peeringSubnetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/icLifVnet/subnets/peeringSubnet1", + "encryptionKeySource": "Microsoft.NetApp", + "originClusterInformation": { + "peerClusterName": "cluster1", + "peerAddresses": [ + "192.0.2.10", + "192.0.2.11" + ], + "peerVserverName": "vserver1", + "peerVolumeName": "originvol1" + }, + "cifsChangeNotifications": "Disabled", + "globalFileLocking": "Disabled", + "writeBack": "Disabled", + "ldap": "Enabled", + "ldapServerType": "OpenLDAP" + } + } + } + }, + "operationId": "Caches_CreateOrUpdate", + "title": "Caches_CreateOrUpdate" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Caches_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Caches_Delete.json new file mode 100644 index 000000000000..82b3068adc2a --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Caches_Delete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "accountName": "account1", + "poolName": "pool1", + "cacheName": "cache1", + "api-version": "2025-09-01-preview" + }, + "responses": { + "204": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + } + }, + "operationId": "Caches_Delete", + "title": "Caches_Delete" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Caches_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Caches_Get.json new file mode 100644 index 000000000000..b7e4317804f2 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Caches_Get.json @@ -0,0 +1,45 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "accountName": "account1", + "poolName": "pool1", + "cacheName": "cache1", + "api-version": "2025-09-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/caches/cache1", + "name": "account1/pool1/cache1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/caches", + "location": "eastus", + "properties": { + "filepath": "cache-west-us2-01", + "size": 107374182400, + "provisioningState": "Succeeded", + "cacheState": "Succeeded", + "cacheSubnetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/cacheVnet/subnets/cacheSubnet1", + "peeringSubnetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/icLifVnet/subnets/peeringSubnet1", + "encryptionKeySource": "Microsoft.NetApp", + "originClusterInformation": { + "peerClusterName": "cluster1", + "peerAddresses": [ + "192.0.2.10", + "192.0.2.11" + ], + "peerVserverName": "vserver1", + "peerVolumeName": "originvol1" + }, + "cifsChangeNotifications": "Disabled", + "globalFileLocking": "Disabled", + "writeBack": "Disabled", + "ldap": "Enabled", + "ldapServerType": "OpenLDAP" + } + } + } + }, + "operationId": "Caches_Get", + "title": "Caches_Get" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Caches_ListByCapacityPools.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Caches_ListByCapacityPools.json new file mode 100644 index 000000000000..a135a2bbd61a --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Caches_ListByCapacityPools.json @@ -0,0 +1,48 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "accountName": "account1", + "poolName": "pool1", + "api-version": "2025-09-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/caches/cache1", + "name": "account1/pool1/cache1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/caches", + "location": "eastus", + "properties": { + "filepath": "cache-west-us2-01", + "size": 107374182400, + "provisioningState": "Succeeded", + "cacheState": "Succeeded", + "cacheSubnetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/cacheVnet/subnets/cacheSubnet1", + "peeringSubnetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/icLifVnet/subnets/peeringSubnet1", + "encryptionKeySource": "Microsoft.NetApp", + "originClusterInformation": { + "peerClusterName": "cluster1", + "peerAddresses": [ + "192.0.2.10", + "192.0.2.11" + ], + "peerVserverName": "vserver1", + "peerVolumeName": "originvol1" + }, + "cifsChangeNotifications": "Disabled", + "globalFileLocking": "Disabled", + "writeBack": "Disabled", + "ldap": "Enabled", + "ldapServerType": "OpenLDAP" + } + } + ] + } + } + }, + "operationId": "Caches_ListByCapacityPools", + "title": "Caches_List" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Caches_ListPeeringPassphrases.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Caches_ListPeeringPassphrases.json new file mode 100644 index 000000000000..16acd26e7421 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Caches_ListPeeringPassphrases.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "accountName": "account1", + "poolName": "pool1", + "cacheName": "cache-1", + "api-version": "2025-09-01-preview" + }, + "responses": { + "200": { + "body": { + "clusterPeeringCommand": "cluster peer create -ipspace replication -encryption-protocol-proposed tls-psk -passphrase passphraseString -peer-addrs 192.0.2.10,192.0.2.11,192.0.2.12,192.0.2.13,192.0.2.14,192.0.2.15", + "clusterPeeringPassphrase": "f@&@B^#r!", + "vserverPeeringCommand": "vserver peer accept -vserver {onPremiseSVMName} -peer-vserver {anfSVMName}" + } + } + }, + "operationId": "Caches_ListPeeringPassphrases", + "title": "Caches_ListPeeringPassphrases" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Caches_PoolChange.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Caches_PoolChange.json new file mode 100644 index 000000000000..8a9f9854a57b --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Caches_PoolChange.json @@ -0,0 +1,51 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "accountName": "account1", + "poolName": "pool1", + "cacheName": "cache1", + "api-version": "2025-09-01-preview", + "body": { + "newPoolResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool2" + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/caches/cache1", + "name": "account1/pool1/cache1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/caches", + "location": "eastus", + "properties": { + "filepath": "cache-west-us2-01", + "size": 107374182400, + "provisioningState": "Succeeded", + "cacheState": "Succeeded", + "cacheSubnetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/cacheVnet/subnets/cacheSubnet1", + "peeringSubnetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/icLifVnet/subnets/peeringSubnet1", + "encryptionKeySource": "Microsoft.NetApp", + "originClusterInformation": { + "peerClusterName": "cluster1", + "peerAddresses": [ + "192.0.2.10", + "192.0.2.10" + ], + "peerVserverName": "vserver1", + "peerVolumeName": "originvol1" + }, + "cifsChangeNotifications": "Disabled", + "globalFileLocking": "Disabled", + "writeBack": "Disabled" + } + } + }, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + } + }, + "operationId": "Caches_PoolChange", + "title": "Caches_PoolChange" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Caches_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Caches_Update.json new file mode 100644 index 000000000000..36227affe063 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Caches_Update.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "accountName": "account1", + "poolName": "pool1", + "cacheName": "cache1", + "api-version": "2025-09-01-preview", + "body": { + "properties": { + "size": 214748364800 + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/caches/cache1", + "name": "account1/pool1/cache1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/caches", + "location": "eastus", + "properties": { + "filepath": "cache-west-us2-01", + "size": 107374182400, + "provisioningState": "Succeeded", + "cacheState": "Succeeded", + "cacheSubnetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/cacheVnet/subnets/cacheSubnet1", + "peeringSubnetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/icLifVnet/subnets/peeringSubnet1", + "throughputMibps": 128.223, + "encryptionKeySource": "Microsoft.NetApp", + "originClusterInformation": { + "peerClusterName": "cluster1", + "peerAddresses": [ + "192.0.2.10", + "192.0.2.10" + ], + "peerVserverName": "vserver1", + "peerVolumeName": "originvol1" + }, + "cifsChangeNotifications": "Disabled" + } + } + }, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + } + }, + "operationId": "Caches_Update", + "title": "Caches_Update" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/CheckFilePathAvailability.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/CheckFilePathAvailability.json new file mode 100644 index 000000000000..5fb7e47edc0a --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/CheckFilePathAvailability.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-09-01-preview", + "body": { + "name": "my-exact-filepth", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3" + }, + "location": "eastus", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "isAvailable": true + } + } + }, + "operationId": "NetAppResource_CheckFilePathAvailability", + "title": "CheckFilePathAvailability" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/CheckNameAvailability.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/CheckNameAvailability.json new file mode 100644 index 000000000000..dd5bc53e8a51 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/CheckNameAvailability.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2025-09-01-preview", + "body": { + "name": "accName", + "type": "Microsoft.NetApp/netAppAccounts", + "resourceGroup": "myRG" + }, + "location": "eastus", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "isAvailable": true + } + } + }, + "operationId": "NetAppResource_CheckNameAvailability", + "title": "CheckNameAvailability" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/CheckQuotaAvailability.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/CheckQuotaAvailability.json new file mode 100644 index 000000000000..5ce74b81a776 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/CheckQuotaAvailability.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2025-09-01-preview", + "body": { + "name": "resource1", + "type": "Microsoft.NetApp/netAppAccounts", + "resourceGroup": "myRG" + }, + "location": "eastus", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "isAvailable": true + } + } + }, + "operationId": "NetAppResource_CheckQuotaAvailability", + "title": "CheckQuotaAvailability" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticAccounts_CreateOrUpdate.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticAccounts_CreateOrUpdate.json new file mode 100644 index 000000000000..8932f4d86c23 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticAccounts_CreateOrUpdate.json @@ -0,0 +1,66 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "accountName": "account1", + "api-version": "2025-09-01-preview", + "body": { + "location": "eastus", + "tags": { + "ac-tag1": "account1" + }, + "properties": {} + } + }, + "responses": { + "200": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/a0216c17-f9d6-4b99-9faf-9ebd4883d0e4?api-version=2025-09-01-preview" + }, + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1", + "name": "account1", + "type": "Microsoft.NetApp/elasticAccounts", + "location": "eastus", + "tags": { + "ac-tag1": "account1" + }, + "properties": { + "provisioningState": "Succeeded", + "encryption": { + "keySource": "NetApp", + "keyVaultProperties": { + "keyVaultUri": "https://myVault.vault.azure.net/", + "keyName": "string", + "keyVaultResourceId": "/subscriptions/a1b2c3d4-e5f6-7890-1234-567890abcdef/resourceGroups/my-keyvault-rg/providers/Microsoft.KeyVault/vaults/my-prod-keyvault", + "status": "Created" + }, + "identity": { + "principalId": "70ab1774-1488-4f9c-a283-2db682f91b98", + "userAssignedIdentity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/snaebjor-rotterdam-westcentralus/providers/Microsoft.ManagedIdentity/userAssignedIdentities/snaebjor-wcu-identity" + } + } + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/a0216c17-f9d6-4b99-9faf-9ebd4883d0e4?api-version=2025-09-01-preview" + }, + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1", + "name": "account1", + "type": "Microsoft.NetApp/elasticAccounts", + "location": "eastus", + "tags": { + "ac-tag1": "account1" + }, + "properties": { + "provisioningState": "Creating" + } + } + } + }, + "operationId": "ElasticAccounts_CreateOrUpdate", + "title": "ElasticAccounts_CreateOrUpdate" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticAccounts_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticAccounts_Delete.json new file mode 100644 index 000000000000..286d8d1e6c43 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticAccounts_Delete.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "accountName": "account1", + "api-version": "2025-09-01-preview" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview" + } + }, + "204": {} + }, + "operationId": "ElasticAccounts_Delete", + "title": "ElasticAccounts_Delete" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticAccounts_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticAccounts_Get.json new file mode 100644 index 000000000000..fec471f6f8a6 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticAccounts_Get.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "accountName": "account1", + "api-version": "2025-09-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1", + "name": "account1", + "type": "Microsoft.NetApp/elasticAccounts", + "location": "eastus", + "tags": { + "ac-tag1": "account1" + }, + "properties": { + "provisioningState": "Succeeded", + "encryption": { + "keySource": "NetApp", + "keyVaultProperties": { + "keyVaultUri": "https://myVault.vault.azure.net/", + "keyName": "string", + "keyVaultResourceId": "/subscriptions/a1b2c3d4-e5f6-7890-1234-567890abcdef/resourceGroups/my-keyvault-rg/providers/Microsoft.KeyVault/vaults/my-prod-keyvault", + "status": "Created" + }, + "identity": { + "principalId": "70ab1774-1488-4f9c-a283-2db682f91b98", + "userAssignedIdentity": "/subscriptions/ccdce6ae-b7b3-4a53-b9c5-48e2caa01800/resourcegroups/snaebjor-rotterdam-westcentralus/providers/Microsoft.ManagedIdentity/userAssignedIdentities/snaebjor-wcu-identity" + } + } + } + } + } + }, + "operationId": "ElasticAccounts_Get", + "title": "ElasticAccounts_Get" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticAccounts_ListByResourceGroup.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticAccounts_ListByResourceGroup.json new file mode 100644 index 000000000000..1509f63c5d4d --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticAccounts_ListByResourceGroup.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "api-version": "2025-09-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1", + "name": "account1", + "type": "Microsoft.NetApp/elasticAccounts", + "location": "eastus", + "tags": { + "ac-tag1": "account1" + }, + "properties": { + "provisioningState": "Succeeded", + "encryption": { + "keySource": "NetApp", + "keyVaultProperties": { + "keyVaultUri": "https://myVault.vault.azure.net/", + "keyName": "string", + "keyVaultResourceId": "/subscriptions/a1b2c3d4-e5f6-7890-1234-567890abcdef/resourceGroups/my-keyvault-rg/providers/Microsoft.KeyVault/vaults/my-prod-keyvault", + "status": "Created" + }, + "identity": { + "principalId": "70ab1774-1488-4f9c-a283-2db682f91b98", + "userAssignedIdentity": "/subscriptions/ccdce6ae-b7b3-4a53-b9c5-48e2caa01800/resourcegroups/snaebjor-rotterdam-westcentralus/providers/Microsoft.ManagedIdentity/userAssignedIdentities/snaebjor-wcu-identity" + } + } + } + } + ] + } + } + }, + "operationId": "ElasticAccounts_ListByResourceGroup", + "title": "ElasticAccounts_ListByResourceGroup" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticAccounts_ListBySubscription.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticAccounts_ListBySubscription.json new file mode 100644 index 000000000000..6e2c1e39f8cb --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticAccounts_ListBySubscription.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "api-version": "2025-09-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1", + "name": "account1", + "type": "Microsoft.NetApp/elasticAccounts", + "location": "eastus", + "tags": { + "ac-tag1": "account1" + }, + "properties": { + "provisioningState": "Succeeded", + "encryption": { + "keySource": "NetApp", + "keyVaultProperties": { + "keyVaultUri": "https://myVault.vault.azure.net/", + "keyName": "string", + "keyVaultResourceId": "/subscriptions/a1b2c3d4-e5f6-7890-1234-567890abcdef/resourceGroups/my-keyvault-rg/providers/Microsoft.KeyVault/vaults/my-prod-keyvault", + "status": "Created" + }, + "identity": { + "principalId": "70ab1774-1488-4f9c-a283-2db682f91b98", + "userAssignedIdentity": "/subscriptions/ccdce6ae-b7b3-4a53-b9c5-48e2caa01800/resourcegroups/snaebjor-rotterdam-westcentralus/providers/Microsoft.ManagedIdentity/userAssignedIdentities/snaebjor-wcu-identity" + } + } + } + } + ] + } + } + }, + "operationId": "ElasticAccounts_ListBySubscription", + "title": "ElasticAccounts_ListBySubscription" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticAccounts_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticAccounts_Update.json new file mode 100644 index 000000000000..e1611bd77f16 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticAccounts_Update.json @@ -0,0 +1,46 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "accountName": "account1", + "api-version": "2025-09-01-preview", + "body": { + "tags": { + "Tag1": "Value1" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1", + "name": "account1", + "type": "Microsoft.NetApp/elasticAccounts", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "encryption": { + "keySource": "NetApp", + "keyVaultProperties": { + "keyVaultUri": "https://myVault.vault.azure.net/", + "keyName": "string", + "keyVaultResourceId": "/subscriptions/a1b2c3d4-e5f6-7890-1234-567890abcdef/resourceGroups/my-keyvault-rg/providers/Microsoft.KeyVault/vaults/my-prod-keyvault", + "status": "Created" + }, + "identity": { + "principalId": "70ab1774-1488-4f9c-a283-2db682f91b98", + "userAssignedIdentity": "/subscriptions/ccdce6ae-b7b3-4a53-b9c5-48e2caa01800/resourcegroups/snaebjor-rotterdam-westcentralus/providers/Microsoft.ManagedIdentity/userAssignedIdentities/snaebjor-wcu-identity" + } + } + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/a0216c17-f9d6-4b99-9faf-9ebd4883d0e4?api-version=2025-09-01-preview" + } + } + }, + "operationId": "ElasticAccounts_Update", + "title": "ElasticAccounts_Update" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticBackupPolicies_CreateOrUpdate.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticBackupPolicies_CreateOrUpdate.json new file mode 100644 index 000000000000..b659f8e9b115 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticBackupPolicies_CreateOrUpdate.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "accountName": "account1", + "backupPolicyName": "backupPolicyName", + "api-version": "2025-09-01-preview", + "body": { + "location": "westus", + "properties": { + "dailyBackupsToKeep": 10, + "weeklyBackupsToKeep": 10, + "monthlyBackupsToKeep": 10, + "policyState": "Enabled" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticBackupPolicies/backupPolicyName", + "name": "account1/backupPolicyName", + "type": "Microsoft.NetApp/elasticAccounts/elasticBackupPolicies", + "location": "westus", + "properties": { + "dailyBackupsToKeep": 10, + "weeklyBackupsToKeep": 10, + "monthlyBackupsToKeep": 10, + "policyState": "Enabled", + "provisioningState": "Creating" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticBackupPolicies/backupPolicyName", + "name": "account1/backupPolicyName", + "type": "Microsoft.NetApp/elasticAccounts/elasticBackupPolicies", + "location": "westus", + "properties": { + "dailyBackupsToKeep": 10, + "weeklyBackupsToKeep": 10, + "monthlyBackupsToKeep": 10, + "policyState": "Enabled", + "provisioningState": "Creating" + } + } + } + }, + "operationId": "ElasticBackupPolicies_CreateOrUpdate", + "title": "ElasticBackupPolicies_CreateOrUpdate" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticBackupPolicies_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticBackupPolicies_Delete.json new file mode 100644 index 000000000000..0a3fcb809303 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticBackupPolicies_Delete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "resourceGroup", + "accountName": "accountName", + "backupPolicyName": "backupPolicyName", + "api-version": "2025-09-01-preview" + }, + "responses": { + "204": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + } + }, + "operationId": "ElasticBackupPolicies_Delete", + "title": "ElasticBackupPolicies_Delete" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticBackupPolicies_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticBackupPolicies_Get.json new file mode 100644 index 000000000000..09f07e0a2675 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticBackupPolicies_Get.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "accountName": "account1", + "backupPolicyName": "backupPolicyName", + "api-version": "2025-09-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticBackupPolicies/backupPolicyName", + "name": "account1/backupPolicyName", + "type": "Microsoft.NetApp/elasticAccounts/elasticBackupPolicies", + "location": "eastus", + "properties": { + "dailyBackupsToKeep": 10, + "weeklyBackupsToKeep": 10, + "monthlyBackupsToKeep": 10, + "assignedVolumesCount": 1, + "policyState": "Enabled" + } + } + } + }, + "operationId": "ElasticBackupPolicies_Get", + "title": "ElasticBackupPolicies_Get" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticBackupPolicies_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticBackupPolicies_List.json new file mode 100644 index 000000000000..cc7f8d11672a --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticBackupPolicies_List.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "accountName": "account1", + "api-version": "2025-09-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticBackupPolicies/backupPolicyName", + "name": "account1/backupPolicy1", + "type": "Microsoft.NetApp/elasticAccounts/elasticBackupPolicies", + "location": "eastus", + "properties": { + "dailyBackupsToKeep": 10, + "weeklyBackupsToKeep": 10, + "monthlyBackupsToKeep": 10, + "assignedVolumesCount": 1, + "policyState": "Enabled" + } + } + ] + } + } + }, + "operationId": "ElasticBackupPolicies_ListByElasticAccount", + "title": "ElasticBackupPolicies_ListByElasticAccount" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticBackupPolicies_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticBackupPolicies_Update.json new file mode 100644 index 000000000000..6c07f239cd3e --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticBackupPolicies_Update.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "accountName": "account1", + "backupPolicyName": "backupPolicyName", + "api-version": "2025-09-01-preview", + "body": { + "properties": { + "dailyBackupsToKeep": 5, + "weeklyBackupsToKeep": 10, + "monthlyBackupsToKeep": 10, + "policyState": "Enabled" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticBackupPolicies/backupPolicyName", + "name": "account1/backupPolicyName", + "type": "Microsoft.NetApp/elasticAccounts/elasticBackupPolicies", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "dailyBackupsToKeep": 5, + "weeklyBackupsToKeep": 10, + "monthlyBackupsToKeep": 10, + "assignedVolumesCount": 1, + "policyState": "Enabled" + } + } + }, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/18c499e1-2a3c-441c-950e-4b456c991c18?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + } + }, + "operationId": "ElasticBackupPolicies_Update", + "title": "ElasticBackupPolicies_Update" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticBackupVaults_Create.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticBackupVaults_Create.json new file mode 100644 index 000000000000..37e030f2b5c0 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticBackupVaults_Create.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "accountName": "account1", + "backupVaultName": "backupVault1", + "api-version": "2025-09-01-preview", + "body": { + "location": "eastus" + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticBackupVaults/backupVault1", + "name": "account1/backupVault1", + "type": "Microsoft.NetApp/elasticAccounts/elasticBackupVaults", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticBackupVaults/backupVault1", + "name": "account1/backupVault1", + "type": "Microsoft.NetApp/elasticAccounts/elasticBackupVaults", + "location": "eastus", + "properties": { + "provisioningState": "Creating" + } + } + } + }, + "operationId": "ElasticBackupVaults_CreateOrUpdate", + "title": "ElasticBackupVaults_CreateOrUpdate" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticBackupVaults_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticBackupVaults_Delete.json new file mode 100644 index 000000000000..fd6d7977fd0a --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticBackupVaults_Delete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "resourceGroup", + "accountName": "account1", + "backupVaultName": "backupVault1", + "api-version": "2025-09-01-preview" + }, + "responses": { + "204": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview&operationResultResponseType=Location", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview" + } + } + }, + "operationId": "ElasticBackupVaults_Delete", + "title": "ElasticBackupVaults_Delete" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticBackupVaults_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticBackupVaults_Get.json new file mode 100644 index 000000000000..9583ae5a553d --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticBackupVaults_Get.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "accountName": "account1", + "backupVaultName": "backupVault1", + "api-version": "2025-09-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticBackupVaults/backupVault1", + "name": "account1/backupVault1", + "type": "Microsoft.NetApp/elasticAccounts/elasticBackupVaults", + "location": "eastus", + "tags": { + "Tag1": "Value1" + }, + "properties": { + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "ElasticBackupVaults_Get", + "title": "ElasticBackupVaults_Get" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticBackupVaults_ListByElasticAccount.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticBackupVaults_ListByElasticAccount.json new file mode 100644 index 000000000000..f0378bbc5599 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticBackupVaults_ListByElasticAccount.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "accountName": "account1", + "api-version": "2025-09-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticBackupVaults/backupVault1", + "name": "account1/backupVault1", + "type": "Microsoft.NetApp/elasticAccounts/elasticBackupVaults", + "location": "eastus", + "tags": { + "Tag1": "Value1" + }, + "properties": { + "provisioningState": "Succeeded" + } + } + ] + } + } + }, + "operationId": "ElasticBackupVaults_ListByElasticAccount", + "title": "ElasticBackupVaults_ListByElasticAccount" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticBackupVaults_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticBackupVaults_Update.json new file mode 100644 index 000000000000..b2974c43f104 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticBackupVaults_Update.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "accountName": "account1", + "backupVaultName": "backupVault1", + "api-version": "2025-09-01-preview", + "body": { + "tags": { + "Tag1": "Value1" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticBackupVaults/backupVault1", + "name": "account1/backupVault1", + "type": "Microsoft.NetApp/elasticAccounts/elasticBackupVaults", + "location": "eastus", + "tags": { + "Tag1": "Value1" + }, + "properties": { + "provisioningState": "Succeeded" + } + } + }, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/18c499e1-2a3c-441c-950e-4b456c991c18?api-version=2025-09-01-preview&operationResultResponseType=Location", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview" + } + } + }, + "operationId": "ElasticBackupVaults_Update", + "title": "ElasticBackupVaults_Update" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticBackups_CreateOrUpdate.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticBackups_CreateOrUpdate.json new file mode 100644 index 000000000000..980e59518351 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticBackups_CreateOrUpdate.json @@ -0,0 +1,56 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "accountName": "account1", + "backupVaultName": "backupVault1", + "backupName": "backup1", + "api-version": "2025-09-01-preview", + "body": { + "properties": { + "label": "myLabel", + "elasticVolumeResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticCapacityPools/pool1/elasticVolumes/volume1", + "snapshotUsage": "UseExistingSnapshot", + "elasticSnapshotResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticCapacityPools/pool1/elasticVolumes/volume1/elasticSnapshots/snap1" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticBackupVaults/backupVault1/elasticBackups/backup1", + "name": "account1/backupVault1/backup1", + "type": "Microsoft.NetApp/elasticAccounts/elasticBackupVaults/elasticBackups", + "properties": { + "creationDate": "2017-08-15T13:23:33Z", + "provisioningState": "Succeeded", + "size": 10011, + "label": "myLabel", + "backupType": "Manual", + "snapshotUsage": "UseExistingSnapshot", + "elasticSnapshotResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticCapacityPools/pool1/elasticVolumes/volume1/elasticSnapshots/snap1", + "elasticVolumeResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticCapacityPools/pool1/elasticVolumes/volume1" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticBackupVaults/backupVault1/elasticBackups/backup1", + "name": "account1/backupVault1/backup1", + "type": "Microsoft.NetApp/elasticAccounts/elasticBackupVaults/elasticBackups", + "properties": { + "creationDate": "2017-08-15T13:23:33Z", + "provisioningState": "Succeeded", + "size": 10011, + "label": "myLabel", + "backupType": "Manual", + "snapshotUsage": "UseExistingSnapshot", + "elasticSnapshotResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticCapacityPools/pool1/elasticVolumes/volume1/elasticSnapshots/snap1", + "elasticVolumeResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticCapacityPools/pool1/elasticVolumes/volume1" + } + } + } + }, + "operationId": "ElasticBackups_CreateOrUpdate", + "title": "ElasticBackups_CreateOrUpdate" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticBackups_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticBackups_Delete.json new file mode 100644 index 000000000000..3994c72f6b3f --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticBackups_Delete.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "resourceGroup", + "accountName": "account1", + "backupVaultName": "backupVault1", + "backupName": "backup1", + "api-version": "2025-09-01-preview" + }, + "responses": { + "204": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview&operationResultResponseType=Location", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview" + } + } + }, + "operationId": "ElasticBackups_Delete", + "title": "ElasticBackups_Delete" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticBackups_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticBackups_Get.json new file mode 100644 index 000000000000..d3e1f1668a1f --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticBackups_Get.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "accountName": "account1", + "backupVaultName": "backupVault1", + "backupName": "backup1", + "api-version": "2025-09-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticBackupVaults/backupVault1/elasticBackups/backup1", + "name": "account1/backupVault1/backup1", + "type": "Microsoft.NetApp/elasticAccounts/elasticBackupVaults/elasticBackups", + "properties": { + "creationDate": "2017-08-15T13:23:33Z", + "snapshotCreationDate": "2017-08-15T13:23:33Z", + "completionDate": "2017-08-15T13:23:33Z", + "provisioningState": "Succeeded", + "size": 10011, + "label": "myLabel", + "backupType": "Manual", + "snapshotUsage": "Existing", + "elasticSnapshotResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticCapacityPools/pool1/elasticVolumes/volume1/elasticSnapshots/snap1", + "elasticVolumeResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticCapacityPools/pool1/elasticVolumes/volume1", + "elasticBackupPolicyResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticBackupPolicies/policy1", + "volumeSize": "Large" + } + } + } + }, + "operationId": "ElasticBackups_Get", + "title": "ElasticBackups_Get" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticBackups_ListByVault.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticBackups_ListByVault.json new file mode 100644 index 000000000000..be64e6f44b07 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticBackups_ListByVault.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "accountName": "account1", + "backupVaultName": "backupVault1", + "api-version": "2025-09-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticBackupVaults/backupVault1/elasticBackups/backup1", + "name": "account1/backupVault1/backup1", + "type": "Microsoft.NetApp/elasticAccounts/elasticBackupVaults/elasticBackups", + "properties": { + "creationDate": "2017-08-15T13:23:33Z", + "snapshotCreationDate": "2017-08-15T13:23:33Z", + "completionDate": "2017-08-15T13:23:33Z", + "provisioningState": "Succeeded", + "size": 10011, + "label": "myLabel", + "backupType": "Manual", + "snapshotUsage": "Existing", + "elasticSnapshotResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticCapacityPools/pool1/elasticVolumes/volume1/elasticSnapshots/snap1", + "elasticVolumeResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticCapacityPools/pool1/elasticVolumes/volume1", + "elasticBackupPolicyResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticBackupPolicies/policy1", + "volumeSize": "Large" + } + } + ] + } + } + }, + "operationId": "ElasticBackups_ListByVault", + "title": "ElasticBackups_ListByVault" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticBackups_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticBackups_Update.json new file mode 100644 index 000000000000..e0c2c0ce4864 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticBackups_Update.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "accountName": "account1", + "backupVaultName": "backupVault1", + "backupName": "backup1", + "api-version": "2025-09-01-preview", + "body": {} + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticBackupVaults/backupVault1/elasticBackups/backup1", + "name": "account1/backupVault1/backup1", + "type": "Microsoft.NetApp/elasticAccounts/elasticBackupVaults/elasticBackups", + "properties": { + "creationDate": "2017-08-15T13:23:33Z", + "provisioningState": "Succeeded", + "size": 10011, + "label": "myLabel", + "backupType": "Manual", + "snapshotUsage": "Existing", + "elasticSnapshotResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticCapacityPools/pool1/elasticVolumes/volume1/elasticSnapshots/snap1", + "elasticVolumeResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticCapacityPools/pool1/elasticVolumes/volume1" + } + } + }, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/18c499e1-2a3c-441c-950e-4b456c991c18?api-version=2025-09-01-preview&operationResultResponseType=Location", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/18c499e1-2a3c-441c-950e-4b456c991c18?api-version=2025-09-01-preview" + } + } + }, + "operationId": "ElasticBackups_Update", + "title": "ElasticBackups_Update" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticCapacityPools_ChangeZone.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticCapacityPools_ChangeZone.json new file mode 100644 index 000000000000..03155f3a9bbe --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticCapacityPools_ChangeZone.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "accountName": "account1", + "poolName": "pool1", + "api-version": "2025-09-01-preview", + "body": { + "newZone": "3" + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticCapacityPools/pool1", + "name": "account1/pool1", + "type": "Microsoft.NetApp/elasticAccounts/elasticCapacityPools", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "serviceLevel": "ZoneRedundant", + "size": 4398046511104, + "totalThroughputMibps": 281.474, + "currentZone": "3", + "availabilityStatus": "Online", + "subnetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview" + } + } + }, + "operationId": "ElasticCapacityPools_ChangeZone", + "title": "ElasticCapacityPools_ChangeZone" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticCapacityPools_CheckVolumeFilePathAvailability.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticCapacityPools_CheckVolumeFilePathAvailability.json new file mode 100644 index 000000000000..3492791157ba --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticCapacityPools_CheckVolumeFilePathAvailability.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "accountName": "account1", + "poolName": "pool1", + "api-version": "2025-09-01-preview", + "body": { + "filePath": "my-exact-filepth" + } + }, + "responses": { + "200": { + "body": { + "isAvailable": "True" + } + } + }, + "operationId": "ElasticCapacityPools_CheckVolumeFilePathAvailability", + "title": "ElasticCapacityPools_CheckVolumeFilePathAvailability" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticCapacityPools_CreateOrUpdate.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticCapacityPools_CreateOrUpdate.json new file mode 100644 index 000000000000..f9d32b9b34dd --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticCapacityPools_CreateOrUpdate.json @@ -0,0 +1,76 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "accountName": "account1", + "poolName": "pool1", + "api-version": "2025-09-01-preview", + "body": { + "location": "eastus", + "zones": [ + "1", + "2", + "3" + ], + "properties": { + "size": 4398046511104, + "serviceLevel": "ZoneRedundant", + "subnetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "activeDirectoryConfigResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/activeDirectoryConfigs/activeDirectoryConfig1" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticCapacityPools/pool1", + "name": "account1/pool1", + "type": "Microsoft.NetApp/elasticAccounts/elasticCapacityPools", + "location": "eastus", + "zones": [ + "1", + "2", + "3" + ], + "properties": { + "provisioningState": "Succeeded", + "serviceLevel": "ZoneRedundant", + "size": 4398046511104, + "totalThroughputMibps": 281.474, + "currentZone": "1", + "availabilityStatus": "Online", + "subnetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "activeDirectoryConfigResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/activeDirectoryConfigs/activeDirectoryConfig1" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/a0216c17-f9d6-4b99-9faf-9ebd4883d0e4?api-version=2025-09-01-preview" + }, + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticCapacityPools/pool1", + "name": "account1/pool1", + "type": "Microsoft.NetApp/elasticAccounts/elasticCapacityPools", + "location": "eastus", + "zones": [ + "1", + "2", + "3" + ], + "properties": { + "provisioningState": "Creating", + "serviceLevel": "ZoneRedundant", + "size": 4398046511104, + "totalThroughputMibps": 281.474, + "currentZone": "1", + "availabilityStatus": "Online", + "subnetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "activeDirectoryConfigResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/activeDirectoryConfigs/activeDirectoryConfig1" + } + } + } + }, + "operationId": "ElasticCapacityPools_CreateOrUpdate", + "title": "ElasticCapacityPools_CreateOrUpdate" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticCapacityPools_CreateOrUpdateCMK.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticCapacityPools_CreateOrUpdateCMK.json new file mode 100644 index 000000000000..572351ea3c76 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticCapacityPools_CreateOrUpdateCMK.json @@ -0,0 +1,88 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "accountName": "account1", + "poolName": "pool1", + "api-version": "2025-09-01-preview", + "body": { + "location": "eastus", + "zones": [ + "1", + "2", + "3" + ], + "properties": { + "size": 4398046511104, + "serviceLevel": "ZoneRedundant", + "subnetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "activeDirectoryConfigResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/activeDirectoryConfigs/activeDirectoryConfig1", + "encryption": { + "elasticPoolEncryptionKeySource": "NetApp", + "keyVaultPrivateEndpointResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myKeyVault/privateEndpointConnections/myKeyVaultPec" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticCapacityPools/pool1", + "name": "account1/pool1", + "type": "Microsoft.NetApp/elasticAccounts/elasticCapacityPools", + "location": "eastus", + "zones": [ + "1", + "2", + "3" + ], + "properties": { + "provisioningState": "Succeeded", + "serviceLevel": "ZoneRedundant", + "size": 4398046511104, + "totalThroughputMibps": 281.474, + "currentZone": "1", + "availabilityStatus": "Online", + "subnetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "activeDirectoryConfigResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/activeDirectoryConfigs/activeDirectoryConfig1", + "encryption": { + "elasticPoolEncryptionKeySource": "NetApp", + "keyVaultPrivateEndpointResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myKeyVault/privateEndpointConnections/myKeyVaultPec" + } + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/a0216c17-f9d6-4b99-9faf-9ebd4883d0e4?api-version=2025-09-01-preview" + }, + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticCapacityPools/pool1", + "name": "account1/pool1", + "type": "Microsoft.NetApp/elasticAccounts/elasticCapacityPools", + "location": "eastus", + "zones": [ + "1", + "2", + "3" + ], + "properties": { + "provisioningState": "Creating", + "serviceLevel": "ZoneRedundant", + "size": 4398046511104, + "totalThroughputMibps": 281.474, + "currentZone": "1", + "availabilityStatus": "Online", + "subnetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "activeDirectoryConfigResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/activeDirectoryConfigs/activeDirectoryConfig1", + "encryption": { + "elasticPoolEncryptionKeySource": "NetApp", + "keyVaultPrivateEndpointResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myKeyVault/privateEndpointConnections/myKeyVaultPec" + } + } + } + } + }, + "operationId": "ElasticCapacityPools_CreateOrUpdate", + "title": "ElasticCapacityPools_CreateOrUpdateCMK" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticCapacityPools_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticCapacityPools_Delete.json new file mode 100644 index 000000000000..2d7d4f6a88fb --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticCapacityPools_Delete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "accountName": "account1", + "poolName": "pool1", + "api-version": "2025-09-01-preview" + }, + "responses": { + "204": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview" + } + } + }, + "operationId": "ElasticCapacityPools_Delete", + "title": "ElasticCapacityPools_Delete" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticCapacityPools_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticCapacityPools_Get.json new file mode 100644 index 000000000000..ff391a89b2b9 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticCapacityPools_Get.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "accountName": "account1", + "poolName": "pool1", + "api-version": "2025-09-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticCapacityPools/pool1", + "name": "account1/pool1", + "type": "Microsoft.NetApp/elasticAccounts/elasticCapacityPools", + "location": "eastus", + "zones": [ + "1", + "2", + "3" + ], + "properties": { + "provisioningState": "Succeeded", + "serviceLevel": "ZoneRedundant", + "size": 4398046511104, + "totalThroughputMibps": 281.474, + "currentZone": "1", + "availabilityStatus": "Online", + "subnetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "activeDirectoryConfigResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/activeDirectoryConfigs/activeDirectoryConfig1", + "encryption": { + "elasticPoolEncryptionKeySource": "NetApp", + "keyVaultPrivateEndpointResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myKeyVault/privateEndpointConnections/myKeyVaultPec" + } + } + } + } + }, + "operationId": "ElasticCapacityPools_Get", + "title": "ElasticCapacityPools_Get" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticCapacityPools_ListByElasticAccount.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticCapacityPools_ListByElasticAccount.json new file mode 100644 index 000000000000..8d3216bd88a3 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticCapacityPools_ListByElasticAccount.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "accountName": "account1", + "api-version": "2025-09-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticCapacityPools/pool1", + "name": "account1/pool1", + "type": "Microsoft.NetApp/elasticAccounts/elasticCapacityPools", + "location": "eastus", + "zones": [ + "1", + "2", + "3" + ], + "properties": { + "provisioningState": "Succeeded", + "serviceLevel": "ZoneRedundant", + "size": 4398046511104, + "totalThroughputMibps": 281.474, + "currentZone": "1", + "availabilityStatus": "Online", + "subnetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "activeDirectoryConfigResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/activeDirectoryConfigs/activeDirectoryConfig1", + "encryption": { + "elasticPoolEncryptionKeySource": "NetApp", + "keyVaultPrivateEndpointResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myKeyVault/privateEndpointConnections/myKeyVaultPec" + } + } + } + ] + } + } + }, + "operationId": "ElasticCapacityPools_ListByElasticAccount", + "title": "ElasticCapacityPools_ListByElasticAccount" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticCapacityPools_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticCapacityPools_Update.json new file mode 100644 index 000000000000..7575f1ac8ccc --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticCapacityPools_Update.json @@ -0,0 +1,51 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "accountName": "account1", + "poolName": "pool1", + "api-version": "2025-09-01-preview", + "body": { + "properties": { + "size": 4398046511104, + "activeDirectoryConfigResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/activeDirectoryConfigs/activeDirectoryConfig1" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticCapacityPools/pool1", + "name": "account1/pool1", + "type": "Microsoft.NetApp/elasticAccounts/elasticCapacityPools", + "location": "eastus", + "zones": [ + "1", + "2", + "3" + ], + "properties": { + "provisioningState": "Succeeded", + "serviceLevel": "ZoneRedundant", + "size": 4398046511104, + "totalThroughputMibps": 281.474, + "currentZone": "1", + "availabilityStatus": "Online", + "subnetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "activeDirectoryConfigResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/activeDirectoryConfigs/activeDirectoryConfig1", + "encryption": { + "elasticPoolEncryptionKeySource": "NetApp", + "keyVaultPrivateEndpointResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myKeyVault/privateEndpointConnections/myKeyVaultPec" + } + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview" + } + } + }, + "operationId": "ElasticCapacityPools_Update", + "title": "ElasticCapacityPools_Update" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticRegionInfos_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticRegionInfos_Get.json new file mode 100644 index 000000000000..0c5a16598f4e --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticRegionInfos_Get.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "location": "eastus", + "api-version": "2025-09-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/elasticRegionInfos/default", + "name": "eastus/default", + "type": "Microsoft.NetApp/locations/elasticRegionInfos", + "properties": { + "availabilityZoneMappings": [ + { + "availabilityZone": "1", + "availabilityStatus": "Available" + }, + { + "availabilityZone": "2", + "availabilityStatus": "Available" + }, + { + "availabilityZone": "3", + "availabilityStatus": "Unavailable" + } + ] + } + } + } + }, + "operationId": "ElasticRegionInfos_Get", + "title": "ElasticRegionInfos_Get" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticRegionInfos_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticRegionInfos_List.json new file mode 100644 index 000000000000..ac80620f0e22 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticRegionInfos_List.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "location": "eastus", + "api-version": "2025-09-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/elasticRegionInfos/default", + "name": "eastus/default", + "type": "Microsoft.NetApp/locations/elasticRegionInfos", + "properties": { + "availabilityZoneMappings": [ + { + "availabilityZone": "1", + "availabilityStatus": "Available" + }, + { + "availabilityZone": "2", + "availabilityStatus": "Available" + }, + { + "availabilityZone": "3", + "availabilityStatus": "Unavailable" + } + ] + } + } + ] + } + } + }, + "operationId": "ElasticRegionInfos_List", + "title": "ElasticRegionInfos_List" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticSnapshotPolicies_CreateOrUpdate.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticSnapshotPolicies_CreateOrUpdate.json new file mode 100644 index 000000000000..4867535f02f7 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticSnapshotPolicies_CreateOrUpdate.json @@ -0,0 +1,124 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "accountName": "account1", + "snapshotPolicyName": "snapshotPolicyName", + "api-version": "2025-09-01-preview", + "body": { + "location": "eastus", + "properties": { + "policyStatus": "Enabled", + "hourlySchedule": { + "snapshotsToKeep": 2, + "minute": 50 + }, + "dailySchedule": { + "snapshotsToKeep": 4, + "hour": 14, + "minute": 30 + }, + "weeklySchedule": { + "snapshotsToKeep": 3, + "days": [ + "Wednesday" + ], + "hour": 14, + "minute": 45 + }, + "monthlySchedule": { + "snapshotsToKeep": 5, + "daysOfMonth": [ + 10, + 11, + 12 + ], + "hour": 14, + "minute": 15 + } + } + } + }, + "responses": { + "200": { + "body": { + "location": "eastus", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticSnapshotPolicies/snapshotPolicy1", + "name": "account1/snapshotPolicy1", + "type": "Microsoft.NetApp/elasticAccounts/elasticSnapshotPolicies", + "properties": { + "policyStatus": "Enabled", + "hourlySchedule": { + "snapshotsToKeep": 2, + "minute": 50 + }, + "dailySchedule": { + "snapshotsToKeep": 4, + "hour": 14, + "minute": 30 + }, + "weeklySchedule": { + "snapshotsToKeep": 3, + "days": [ + "Wednesday" + ], + "hour": 14, + "minute": 45 + }, + "monthlySchedule": { + "snapshotsToKeep": 5, + "daysOfMonth": [ + 10, + 11, + 12 + ], + "hour": 14, + "minute": 15 + }, + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "location": "eastus", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticSnapshotPolicies/snapshotPolicy1", + "name": "account1/snapshotPolicy1", + "type": "Microsoft.NetApp/elasticAccounts/elasticSnapshotPolicies", + "properties": { + "policyStatus": "Enabled", + "hourlySchedule": { + "snapshotsToKeep": 2, + "minute": 50 + }, + "dailySchedule": { + "snapshotsToKeep": 4, + "hour": 14, + "minute": 30 + }, + "weeklySchedule": { + "snapshotsToKeep": 3, + "days": [ + "Wednesday" + ], + "hour": 14, + "minute": 45 + }, + "monthlySchedule": { + "snapshotsToKeep": 5, + "daysOfMonth": [ + 10, + 11, + 12 + ], + "hour": 14, + "minute": 15 + }, + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "ElasticSnapshotPolicies_CreateOrUpdate", + "title": "ElasticSnapshotPolicies_CreateOrUpdate" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticSnapshotPolicies_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticSnapshotPolicies_Delete.json new file mode 100644 index 000000000000..21ad056517f0 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticSnapshotPolicies_Delete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "resourceGroup", + "accountName": "accountName", + "snapshotPolicyName": "snapshotPolicyName", + "api-version": "2025-09-01-preview" + }, + "responses": { + "204": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview" + } + } + }, + "operationId": "ElasticSnapshotPolicies_Delete", + "title": "ElasticSnapshotPolicies_Delete" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticSnapshotPolicies_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticSnapshotPolicies_Get.json new file mode 100644 index 000000000000..200fb5a7ef78 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticSnapshotPolicies_Get.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "accountName": "account1", + "snapshotPolicyName": "snapshotPolicyName", + "api-version": "2025-09-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticSnapshotPolicies/snapshotPolicy1", + "name": "account1/snapshotPolicy1", + "type": "Microsoft.NetApp/elasticAccounts/elasticSnapshotPolicies", + "location": "eastus", + "properties": { + "policyStatus": "Enabled", + "hourlySchedule": { + "snapshotsToKeep": 2, + "minute": 50 + }, + "dailySchedule": { + "snapshotsToKeep": 4, + "hour": 14, + "minute": 30 + }, + "weeklySchedule": { + "snapshotsToKeep": 3, + "days": [ + "Wednesday" + ], + "hour": 14, + "minute": 45 + }, + "monthlySchedule": { + "snapshotsToKeep": 5, + "daysOfMonth": [ + 10, + 11, + 12 + ], + "hour": 14, + "minute": 15 + }, + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "ElasticSnapshotPolicies_Get", + "title": "ElasticSnapshotPolicies_Get" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticSnapshotPolicies_ListByElasticAccount.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticSnapshotPolicies_ListByElasticAccount.json new file mode 100644 index 000000000000..5b3a07e1355b --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticSnapshotPolicies_ListByElasticAccount.json @@ -0,0 +1,55 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "accountName": "account1", + "api-version": "2025-09-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticSnapshotPolicies/snapshotPolicy1", + "name": "account1/snapshotPolicy1", + "location": "eastus", + "type": "Microsoft.NetApp/elasticAccounts/elasticSnapshotPolicies", + "properties": { + "policyStatus": "Enabled", + "hourlySchedule": { + "snapshotsToKeep": 2, + "minute": 50 + }, + "dailySchedule": { + "snapshotsToKeep": 4, + "hour": 14, + "minute": 30 + }, + "weeklySchedule": { + "snapshotsToKeep": 3, + "days": [ + "Wednesday" + ], + "hour": 14, + "minute": 45 + }, + "monthlySchedule": { + "snapshotsToKeep": 5, + "daysOfMonth": [ + 10, + 11, + 12 + ], + "hour": 14, + "minute": 15 + }, + "provisioningState": "Succeeded" + } + } + ] + } + } + }, + "operationId": "ElasticSnapshotPolicies_ListByElasticAccount", + "title": "ElasticSnapshotPolicies_ListByElasticAccount" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticSnapshotPolicies_ListElasticVolumes.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticSnapshotPolicies_ListElasticVolumes.json new file mode 100644 index 000000000000..70b2c91d497c --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticSnapshotPolicies_ListElasticVolumes.json @@ -0,0 +1,56 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "accountName": "account1", + "snapshotPolicyName": "snapshotPolicyName", + "api-version": "2025-09-01-preview", + "body": { + "location": "eastus", + "properties": {} + } + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticCapacityPools/pool1/elasticVolumes/volume1", + "name": "account1/pool1/volume1", + "type": "Microsoft.NetApp/elasticAccounts/elasticCapacityPools/elasticVolumes", + "location": "eastus", + "properties": { + "filePath": "my-unique-file-path", + "size": 107374182400, + "provisioningState": "Succeeded", + "exportPolicy": { + "rules": [ + { + "ruleIndex": 1, + "unixAccessRule": "ReadOnly", + "nfsv3": "Enabled", + "nfsv4": "Disabled", + "allowedClients": [ + "0.0.0.0/0" + ], + "rootAccess": "Disabled" + } + ] + }, + "protocolTypes": [ + "NFSv3" + ], + "mountTargets": [ + { + "ipAddress": "10.1.0.9" + } + ] + } + } + ] + } + } + }, + "operationId": "ElasticSnapshotPolicies_ListElasticVolumes", + "title": "ElasticSnapshotPolicies_ListElasticVolumes" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticSnapshotPolicies_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticSnapshotPolicies_Update.json new file mode 100644 index 000000000000..f50802c7e7b2 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticSnapshotPolicies_Update.json @@ -0,0 +1,89 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "accountName": "account1", + "snapshotPolicyName": "snapshotPolicyName", + "api-version": "2025-09-01-preview", + "body": { + "properties": { + "policyStatus": "Enabled", + "hourlySchedule": { + "snapshotsToKeep": 2, + "minute": 50 + }, + "dailySchedule": { + "snapshotsToKeep": 4, + "hour": 14, + "minute": 30 + }, + "weeklySchedule": { + "snapshotsToKeep": 3, + "days": [ + "Wednesday" + ], + "hour": 14, + "minute": 45 + }, + "monthlySchedule": { + "snapshotsToKeep": 5, + "daysOfMonth": [ + 10, + 11, + 12 + ], + "hour": 14, + "minute": 15 + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticSnapshotPolicies/snapshotPolicy1", + "name": "account1/snapshotPolicy1", + "type": "Microsoft.NetApp/elasticAccounts/elasticSnapshotPolicies", + "location": "eastus", + "properties": { + "policyStatus": "Enabled", + "hourlySchedule": { + "snapshotsToKeep": 2, + "minute": 50 + }, + "dailySchedule": { + "snapshotsToKeep": 4, + "hour": 14, + "minute": 30 + }, + "weeklySchedule": { + "snapshotsToKeep": 3, + "days": [ + "Wednesday" + ], + "hour": 14, + "minute": 45 + }, + "monthlySchedule": { + "snapshotsToKeep": 5, + "daysOfMonth": [ + 10, + 11, + 12 + ], + "hour": 14, + "minute": 15 + }, + "provisioningState": "Succeeded" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/18c499e1-2a3c-441c-950e-4b456c991c18?api-version=2025-09-01-preview" + } + } + }, + "operationId": "ElasticSnapshotPolicies_Update", + "title": "ElasticSnapshotPolicies_Update" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticSnapshots_CreateOrUpdate.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticSnapshots_CreateOrUpdate.json new file mode 100644 index 000000000000..dc2c18c9599d --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticSnapshots_CreateOrUpdate.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "accountName": "account1", + "poolName": "pool1", + "volumeName": "volume1", + "snapshotName": "snapshot1", + "api-version": "2025-09-01-preview", + "body": {} + }, + "responses": { + "200": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/a0216c17-f9d6-4b99-9faf-9ebd4883d0e4?api-version=2025-09-01-preview" + }, + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticCapacityPools/pool1/elasticVolumes/volume1/elasticSnapshots/snapshot1", + "name": "account1/pool1/volume1/snapshot1", + "type": "Microsoft.NetApp/elasticAccounts/elasticCapacityPools/elasticVolumes/elasticSnapshots", + "properties": { + "provisioningState": "Succeeded" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/a0216c17-f9d6-4b99-9faf-9ebd4883d0e4?api-version=2025-09-01-preview" + }, + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticCapacityPools/pool1/elasticVolumes/volume1/elasticSnapshots/snapshot1", + "name": "account1/pool1/volume1/snapshot1", + "type": "Microsoft.NetApp/elasticAccounts/elasticCapacityPools/elasticVolumes/elasticSnapshots", + "properties": { + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "ElasticSnapshots_CreateOrUpdate", + "title": "ElasticSnapshots_CreateOrUpdate" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticSnapshots_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticSnapshots_Delete.json new file mode 100644 index 000000000000..ac3346fcd19b --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticSnapshots_Delete.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "accountName": "account1", + "poolName": "pool1", + "volumeName": "volume1", + "snapshotName": "snapshot1", + "api-version": "2025-09-01-preview" + }, + "responses": { + "204": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview" + } + } + }, + "operationId": "ElasticSnapshots_Delete", + "title": "ElasticSnapshots_Delete" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticSnapshots_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticSnapshots_Get.json new file mode 100644 index 000000000000..64b1e0903d76 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticSnapshots_Get.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "accountName": "account1", + "poolName": "pool1", + "volumeName": "volume1", + "snapshotName": "snapshot1", + "api-version": "2025-09-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticCapacityPools/pool1/elasticVolumes/volume1/elasticSnapshots/snapshot1", + "name": "account1/pool1/volume1/snapshot1", + "type": "Microsoft.NetApp/elasticAccounts/elasticCapacityPools/elasticVolumes/elasticSnapshots", + "properties": { + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "ElasticSnapshots_Get", + "title": "ElasticSnapshots_Get" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticSnapshots_ListByElasticVolume.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticSnapshots_ListByElasticVolume.json new file mode 100644 index 000000000000..3f892654e7ab --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticSnapshots_ListByElasticVolume.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "accountName": "account1", + "poolName": "pool1", + "volumeName": "volume1", + "api-version": "2025-09-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticCapacityPools/pool1/elasticVolumes/volume1/elasticSnapshots/snapshot1", + "name": "account1/pool1/volume1/snapshot1", + "type": "Microsoft.NetApp/elasticAccounts/elasticCapacityPools/elasticVolumes/elasticSnapshots", + "properties": { + "provisioningState": "Succeeded" + } + } + ] + } + } + }, + "operationId": "ElasticSnapshots_ListByElasticVolume", + "title": "ElasticSnapshots_ListByElasticVolume" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticVolumes_CreateOrUpdate.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticVolumes_CreateOrUpdate.json new file mode 100644 index 000000000000..632e259c4ab6 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticVolumes_CreateOrUpdate.json @@ -0,0 +1,141 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "accountName": "account1", + "poolName": "pool1", + "volumeName": "volume1", + "api-version": "2025-09-01-preview", + "body": { + "location": "eastus", + "properties": { + "filePath": "my-unique-file-path", + "size": 107374182400, + "exportPolicy": { + "rules": [ + { + "ruleIndex": 1, + "unixAccessRule": "ReadOnly", + "nfsv3": "Enabled", + "nfsv4": "Disabled", + "allowedClients": [ + "0.0.0.0/0" + ], + "rootAccess": "Disabled" + } + ] + }, + "protocolTypes": [ + "NFSv3" + ], + "dataProtection": { + "snapshot": { + "snapshotPolicyResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticSnapshotPolicies/policy1" + }, + "backup": { + "elasticBackupVaultResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticBackupVaults/elasticBackupVault1", + "elasticBackupPolicyResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticBackupPolicies/elasticBackupPolicy1", + "policyEnforcement": "Enforced" + } + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticCapacityPools/pool1/elasticVolumes/volume1", + "location": "eastus", + "name": "account1/pool1/volume1", + "properties": { + "filePath": "my-unique-file-path", + "size": 107374182400, + "provisioningState": "Succeeded", + "dataProtection": { + "snapshot": { + "snapshotPolicyResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticSnapshotPolicies/policy1" + }, + "backup": { + "elasticBackupVaultResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticBackupVaults/elasticBackupVault1", + "elasticBackupPolicyResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticBackupPolicies/elasticBackupPolicy1", + "policyEnforcement": "Enforced" + } + }, + "exportPolicy": { + "rules": [ + { + "ruleIndex": 1, + "unixAccessRule": "ReadOnly", + "nfsv3": "Enabled", + "nfsv4": "Disabled", + "allowedClients": [ + "0.0.0.0/0" + ], + "rootAccess": "Disabled" + } + ] + }, + "protocolTypes": [ + "NFSv3" + ], + "mountTargets": [ + { + "ipAddress": "10.1.0.9" + } + ] + }, + "type": "Microsoft.NetApp/elasticAccounts/elasticCapacityPools/elasticVolumes" + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/a0216c17-f9d6-4b99-9faf-9ebd4883d0e4?api-version=2025-09-01-preview" + }, + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticCapacityPools/pool1/elasticVolumes/volume1", + "location": "eastus", + "name": "account1/pool1/volume1", + "properties": { + "filePath": "my-unique-file-path", + "size": 107374182400, + "exportPolicy": { + "rules": [ + { + "ruleIndex": 1, + "unixAccessRule": "ReadOnly", + "nfsv3": "Enabled", + "nfsv4": "Disabled", + "allowedClients": [ + "0.0.0.0/0" + ], + "rootAccess": "Disabled" + } + ] + }, + "dataProtection": { + "snapshot": { + "snapshotPolicyResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticSnapshotPolicies/policy1" + }, + "backup": { + "elasticBackupVaultResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticBackupVaults/elasticBackupVault1", + "elasticBackupPolicyResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticBackupPolicies/elasticBackupPolicy1", + "policyEnforcement": "Enforced" + } + }, + "protocolTypes": [ + "NFSv3" + ], + "mountTargets": [ + { + "ipAddress": "10.1.0.9" + } + ], + "provisioningState": "Creating" + }, + "type": "Microsoft.NetApp/elasticAccounts/elasticCapacityPools/elasticVolumes" + } + } + }, + "operationId": "ElasticVolumes_CreateOrUpdate", + "title": "ElasticVolumes_CreateOrUpdate" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticVolumes_CreateOrUpdate_SMB.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticVolumes_CreateOrUpdate_SMB.json new file mode 100644 index 000000000000..e3976efd95cb --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticVolumes_CreateOrUpdate_SMB.json @@ -0,0 +1,77 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "accountName": "account1", + "poolName": "pool1", + "volumeName": "volume1", + "api-version": "2025-09-01-preview", + "body": { + "location": "eastus", + "properties": { + "filePath": "my-unique-file-path", + "size": 107374182400, + "protocolTypes": [ + "SMB" + ], + "smbProperties": { + "smbEncryption": "Enabled" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticCapacityPools/pool1/elasticVolumes/volume1", + "location": "eastus", + "name": "account1/pool1/volume1", + "properties": { + "filePath": "my-unique-file-path", + "size": 107374182400, + "provisioningState": "Succeeded", + "protocolTypes": [ + "SMB" + ], + "mountTargets": [ + { + "ipAddress": "10.1.0.9", + "smbServerFqdn": "fullyqualified.domainname.com" + } + ], + "smbProperties": { + "smbEncryption": "Enabled" + } + }, + "type": "Microsoft.NetApp/elasticAccounts/elasticCapacityPools/elasticVolumes" + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/a0216c17-f9d6-4b99-9faf-9ebd4883d0e4?api-version=2025-09-01-preview" + }, + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticCapacityPools/pool1/elasticVolumes/volume1", + "location": "eastus", + "name": "account1/pool1/volume1", + "properties": { + "filePath": "my-unique-file-path", + "size": 107374182400, + "protocolTypes": [ + "SMB" + ], + "mountTargets": [ + { + "ipAddress": "10.1.0.9", + "smbServerFqdn": "fullyqualified.domainname.com" + } + ], + "provisioningState": "Creating" + }, + "type": "Microsoft.NetApp/elasticAccounts/elasticCapacityPools/elasticVolumes" + } + } + }, + "operationId": "ElasticVolumes_CreateOrUpdate_SMB", + "title": "ElasticVolumes_CreateOrUpdate_SMB" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticVolumes_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticVolumes_Delete.json new file mode 100644 index 000000000000..1339afd7d249 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticVolumes_Delete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "accountName": "account1", + "poolName": "pool1", + "volumeName": "volume1", + "api-version": "2025-09-01-preview" + }, + "responses": { + "204": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview" + } + } + }, + "operationId": "ElasticVolumes_Delete", + "title": "ElasticVolumes_Delete" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticVolumes_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticVolumes_Get.json new file mode 100644 index 000000000000..2c549b8c2852 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticVolumes_Get.json @@ -0,0 +1,50 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "accountName": "account1", + "poolName": "pool1", + "volumeName": "volume1", + "api-version": "2025-09-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticCapacityPools/pool1/elasticVolumes/volume1", + "name": "account1/pool1/volume1", + "type": "Microsoft.NetApp/elasticAccounts/elasticCapacityPools/elasticVolumes", + "location": "eastus", + "properties": { + "filePath": "my-unique-file-path", + "size": 107374182400, + "provisioningState": "Succeeded", + "exportPolicy": { + "rules": [ + { + "ruleIndex": 1, + "unixAccessRule": "ReadOnly", + "nfsv3": "Enabled", + "nfsv4": "Disabled", + "allowedClients": [ + "0.0.0.0/0" + ], + "rootAccess": "Disabled" + } + ] + }, + "protocolTypes": [ + "NFSv3" + ], + "mountTargets": [ + { + "ipAddress": "10.1.0.9" + } + ], + "restorationState": "Restoring" + } + } + } + }, + "operationId": "ElasticVolumes_Get", + "title": "ElasticVolumes_Get" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticVolumes_Get_SMB.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticVolumes_Get_SMB.json new file mode 100644 index 000000000000..89a24e01bd72 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticVolumes_Get_SMB.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "accountName": "account1", + "poolName": "pool1", + "volumeName": "volume1", + "api-version": "2025-09-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticCapacityPools/pool1/elasticVolumes/volume1", + "name": "account1/pool1/volume1", + "type": "Microsoft.NetApp/elasticAccounts/elasticCapacityPools/elasticVolumes", + "location": "eastus", + "properties": { + "filePath": "my-unique-file-path", + "size": 107374182400, + "provisioningState": "Succeeded", + "protocolTypes": [ + "SMB" + ], + "mountTargets": [ + { + "ipAddress": "10.1.0.9", + "smbServerFqdn": "fullyqualified.domainname.com" + } + ], + "smbProperties": { + "smbEncryption": "Enabled" + } + } + } + } + }, + "operationId": "ElasticVolumes_Get_SMB", + "title": "ElasticVolumes_Get_SMB" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticVolumes_ListByElasticPool.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticVolumes_ListByElasticPool.json new file mode 100644 index 000000000000..98d4ddce400f --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticVolumes_ListByElasticPool.json @@ -0,0 +1,87 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "accountName": "account1", + "poolName": "pool1", + "api-version": "2025-09-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticCapacityPools/pool1/elasticVolumes/volume1", + "name": "account1/pool1/volume1", + "type": "Microsoft.NetApp/elasticAccounts/elasticCapacityPools/elasticVolumes", + "location": "eastus", + "properties": { + "filePath": "my-unique-file-path", + "size": 107374182400, + "exportPolicy": { + "rules": [ + { + "ruleIndex": 1, + "unixAccessRule": "ReadOnly", + "nfsv3": "Enabled", + "nfsv4": "Disabled", + "allowedClients": [ + "0.0.0.0/0" + ], + "rootAccess": "Disabled" + } + ] + }, + "protocolTypes": [ + "NFSv3" + ], + "mountTargets": [ + { + "ipAddress": "10.1.0.9" + } + ], + "provisioningState": "Succeeded", + "availabilityStatus": "Online" + } + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticCapacityPools/pool1/elasticVolumes/volume2", + "name": "account1/pool1/volume2", + "type": "Microsoft.NetApp/elasticAccounts/elasticCapacityPools/elasticVolumes", + "location": "eastus", + "properties": { + "filePath": "my-unique-file-path2", + "size": 107374182400, + "exportPolicy": { + "rules": [ + { + "ruleIndex": 1, + "unixAccessRule": "ReadOnly", + "nfsv3": "Disabled", + "nfsv4": "Enabled", + "allowedClients": [ + "0.0.0.0/0" + ], + "rootAccess": "Disabled" + } + ] + }, + "protocolTypes": [ + "NFSv4" + ], + "mountTargets": [ + { + "ipAddress": "10.1.0.9" + } + ], + "provisioningState": "Succeeded", + "availabilityStatus": "Online" + } + } + ] + } + } + }, + "operationId": "ElasticVolumes_ListByElasticPool", + "title": "ElasticVolumes_ListByElasticPool" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticVolumes_List_SMB.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticVolumes_List_SMB.json new file mode 100644 index 000000000000..086c9a78c6b5 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticVolumes_List_SMB.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "accountName": "account1", + "poolName": "pool1", + "api-version": "2025-09-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticCapacityPools/pool1/elasticVolumes/volume1", + "name": "account1/pool1/volume1", + "type": "Microsoft.NetApp/elasticAccounts/elasticCapacityPools/elasticVolumes", + "location": "eastus", + "properties": { + "filePath": "my-unique-file-path", + "size": 107374182400, + "protocolTypes": [ + "SMB" + ], + "mountTargets": [ + { + "ipAddress": "10.1.0.9", + "smbServerFqdn": "fullyqualified.domainname.com" + } + ], + "provisioningState": "Succeeded", + "smbProperties": { + "smbEncryption": "Enabled" + } + } + } + ] + } + } + }, + "operationId": "ElasticVolumes_List_SMB", + "title": "ElasticVolumes_List_SMB" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticVolumes_Revert.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticVolumes_Revert.json new file mode 100644 index 000000000000..fdc14c6bd889 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticVolumes_Revert.json @@ -0,0 +1,58 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "accountName": "account1", + "poolName": "pool1", + "volumeName": "volume1", + "api-version": "2025-09-01-preview", + "body": { + "snapshotResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticCapacityPools/pool1/elasticVolumes/volume1/elasticSnapshots/snapshot1" + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticCapacityPools/pool1/elasticVolumes/volume1", + "name": "account1/pool1/volume1", + "type": "Microsoft.NetApp/elasticAccounts/elasticCapacityPools/elasticVolumes", + "location": "eastus", + "properties": { + "filePath": "my-unique-file-path", + "size": 107374182400, + "exportPolicy": { + "rules": [ + { + "ruleIndex": 1, + "unixAccessRule": "ReadOnly", + "nfsv3": "Enabled", + "nfsv4": "Disabled", + "allowedClients": [ + "0.0.0.0/0" + ], + "rootAccess": "Disabled" + } + ] + }, + "protocolTypes": [ + "NFSv3" + ], + "mountTargets": [ + { + "ipAddress": "10.1.0.9" + } + ], + "provisioningState": "Succeeded", + "availabilityStatus": "Online" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview" + } + } + }, + "operationId": "ElasticVolumes_Revert", + "title": "ElasticVolumes_Revert" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticVolumes_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticVolumes_Update.json new file mode 100644 index 000000000000..dc48af25c71a --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticVolumes_Update.json @@ -0,0 +1,83 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "accountName": "account1", + "poolName": "pool1", + "volumeName": "volume1", + "api-version": "2025-09-01-preview", + "body": { + "properties": { + "exportPolicy": { + "rules": [ + { + "ruleIndex": 1, + "unixAccessRule": "ReadOnly", + "nfsv3": "Enabled", + "nfsv4": "Disabled", + "allowedClients": [ + "0.0.0.0/0" + ], + "rootAccess": "Disabled" + } + ] + }, + "dataProtection": { + "snapshot": { + "snapshotPolicyResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticSnapshotPolicies/policy1" + } + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticCapacityPools/pool1/elasticVolumes/volume1", + "name": "account1/pool1/volume1", + "type": "Microsoft.NetApp/elasticAccounts/elasticCapacityPools/elasticVolumes", + "location": "eastus", + "properties": { + "filePath": "my-unique-file-path", + "size": 107374182400, + "exportPolicy": { + "rules": [ + { + "ruleIndex": 1, + "unixAccessRule": "ReadOnly", + "nfsv3": "Enabled", + "nfsv4": "Disabled", + "allowedClients": [ + "0.0.0.0/0" + ], + "rootAccess": "Disabled" + } + ] + }, + "protocolTypes": [ + "NFSv3" + ], + "dataProtection": { + "snapshot": { + "snapshotPolicyResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticSnapshotPolicies/policy1" + } + }, + "mountTargets": [ + { + "ipAddress": "10.1.0.9" + } + ], + "availabilityStatus": "Online", + "provisioningState": "Succeeded" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview" + } + } + }, + "operationId": "ElasticVolumes_Update", + "title": "ElasticVolumes_Update" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticVolumes_Update_SMB.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticVolumes_Update_SMB.json new file mode 100644 index 000000000000..036677b5994f --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/ElasticVolumes_Update_SMB.json @@ -0,0 +1,49 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "accountName": "account1", + "poolName": "pool1", + "volumeName": "volume1", + "api-version": "2025-09-01-preview", + "body": { + "properties": { + "size": 107374182400 + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticCapacityPools/pool1/elasticVolumes/volume1", + "name": "account1/pool1/volume1", + "type": "Microsoft.NetApp/elasticAccounts/elasticCapacityPools/elasticVolumes", + "location": "eastus", + "properties": { + "filePath": "my-unique-file-path", + "size": 107374182400, + "protocolTypes": [ + "SMB" + ], + "mountTargets": [ + { + "ipAddress": "10.1.0.9", + "smbServerFqdn": "fullyqualified.domainname.com" + } + ], + "provisioningState": "Succeeded", + "smbProperties": { + "smbEncryption": "Enabled" + } + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview" + } + } + }, + "operationId": "ElasticVolumes_Update_SMB", + "title": "ElasticVolumes_Update_SMB" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/GroupIdListForLDAPUser.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/GroupIdListForLDAPUser.json new file mode 100644 index 000000000000..4648a92581b1 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/GroupIdListForLDAPUser.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "body": { + "username": "user1" + }, + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": { + "body": { + "groupIdsForLdapUser": [ + "123", + "224" + ] + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + } + }, + "operationId": "Volumes_ListGetGroupIdListForLdapUser", + "title": "GetGroupIdListForUser" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/NetAppResourceQuotaLimitsAccount_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/NetAppResourceQuotaLimitsAccount_Get.json new file mode 100644 index 000000000000..db74e8d48de2 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/NetAppResourceQuotaLimitsAccount_Get.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9", + "resourceGroupName": "myRG", + "accountName": "myAccount", + "quotaLimitName": "poolsPerAccount", + "api-version": "2025-09-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/myAccount/quotaLimits/poolsPerAccount", + "name": "myAccount/poolsPerAccount", + "type": "Microsoft.NetApp/netAppAccounts/quotaLimits", + "properties": { + "current": 10, + "default": 10, + "usage": 10 + } + } + } + }, + "operationId": "NetAppResourceQuotaLimitsAccount_Get", + "title": "QuotaLimits" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/NetAppResourceQuotaLimitsAccount_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/NetAppResourceQuotaLimitsAccount_List.json new file mode 100644 index 000000000000..0fa75ac88145 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/NetAppResourceQuotaLimitsAccount_List.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9", + "resourceGroupName": "myRG", + "accountName": "myAccount", + "api-version": "2025-09-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/myAccount/quotaLimits/poolsPerAccount", + "name": "myAccount/poolsPerAccount", + "type": "Microsoft.NetApp/netAppAccounts/quotaLimits", + "properties": { + "current": 10, + "default": 10, + "usage": 10 + } + } + ] + } + } + }, + "operationId": "NetAppResourceQuotaLimitsAccount_List", + "title": "QuotaLimits" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/NetAppResourceQuotaLimits_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/NetAppResourceQuotaLimits_Get.json new file mode 100644 index 000000000000..3e61a0171ce5 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/NetAppResourceQuotaLimits_Get.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "api-version": "2025-09-01-preview", + "location": "eastus", + "quotaLimitName": "totalCoolAccessVolumesPerSubscription", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "eastus/totalCoolAccessVolumesPerSubscription", + "type": "Microsoft.NetApp/locations/quotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/quotaLimits/totalCoolAccessVolumesPerSubscription", + "properties": { + "default": 10, + "current": 10 + } + } + } + }, + "operationId": "NetAppResourceQuotaLimits_Get", + "title": "QuotaLimits" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/NetAppResourceQuotaLimits_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/NetAppResourceQuotaLimits_List.json new file mode 100644 index 000000000000..f813d84e0626 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/NetAppResourceQuotaLimits_List.json @@ -0,0 +1,89 @@ +{ + "parameters": { + "api-version": "2025-09-01-preview", + "location": "eastus", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "eastus/accountsPerSubscription", + "type": "Microsoft.NetApp/locations/quotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/quotaLimits/accountsPerSubscription", + "properties": { + "default": 10, + "current": 10 + } + }, + { + "name": "eastus/poolsPerAccount", + "type": "Microsoft.NetApp/locations/quotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/quotaLimits/poolsPerAccount", + "properties": { + "default": 25, + "current": 25 + } + }, + { + "name": "eastus/volumesPerPool", + "type": "Microsoft.NetApp/locations/quotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/quotaLimits/volumesPerPool", + "properties": { + "default": 500, + "current": 500 + } + }, + { + "name": "eastus/snapshotsPerVolume", + "type": "Microsoft.NetApp/locations/quotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/quotaLimits/snapshotsPerVolume", + "properties": { + "default": 255, + "current": 255 + } + }, + { + "name": "eastus/totalTiBsPerSubscription", + "type": "Microsoft.NetApp/locations/quotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/quotaLimits/totalTiBsPerSubscription", + "properties": { + "default": 25, + "current": 1000 + } + }, + { + "name": "eastus/totalDPVolumesPerSubscription", + "type": "Microsoft.NetApp/locations/quotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/quotaLimits/totalDPVolumesPerSubscription", + "properties": { + "default": 10, + "current": 10 + } + }, + { + "name": "eastus/totalVolumesPerSubscription", + "type": "Microsoft.NetApp/locations/quotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/quotaLimits/totalVolumesPerSubscription", + "properties": { + "default": 500, + "current": 500 + } + }, + { + "name": "eastus/totalCoolAccessVolumesPerSubscription", + "type": "Microsoft.NetApp/locations/quotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/quotaLimits/totalCoolAccessVolumesPerSubscription", + "properties": { + "default": 10, + "current": 10 + } + } + ] + } + } + }, + "operationId": "NetAppResourceQuotaLimits_List", + "title": "QuotaLimits" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/NetworkSiblingSet_Query.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/NetworkSiblingSet_Query.json new file mode 100644 index 000000000000..59ac9d5d74bb --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/NetworkSiblingSet_Query.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "api-version": "2025-09-01-preview", + "body": { + "networkSiblingSetId": "9760acf5-4638-11e7-9bdb-020073ca3333", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testVnet/subnets/testSubnet" + }, + "location": "eastus", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "networkFeatures": "Standard", + "networkSiblingSetId": "9760acf5-4638-11e7-9bdb-020073ca3333", + "networkSiblingSetStateId": "12345_44420.8001578125", + "nicInfoList": [ + { + "ipAddress": "1.2.3.4", + "volumeResourceIds": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume10", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume11" + ] + }, + { + "ipAddress": "1.2.3.5", + "volumeResourceIds": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account2/capacityPools/pool2/volumes/volume20", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account2/capacityPools/pool2/volumes/volume21" + ] + }, + { + "ipAddress": "1.2.3.9", + "volumeResourceIds": [] + } + ], + "provisioningState": "Succeeded", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testVnet/subnets/testSubnet" + } + } + }, + "operationId": "NetAppResource_QueryNetworkSiblingSet", + "title": "NetworkSiblingSet_Query" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/NetworkSiblingSet_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/NetworkSiblingSet_Update.json new file mode 100644 index 000000000000..b20ada6d4069 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/NetworkSiblingSet_Update.json @@ -0,0 +1,51 @@ +{ + "parameters": { + "api-version": "2025-09-01-preview", + "body": { + "networkFeatures": "Standard", + "networkSiblingSetId": "9760acf5-4638-11e7-9bdb-020073ca3333", + "networkSiblingSetStateId": "12345_44420.8001578125", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testVnet/subnets/testSubnet" + }, + "location": "eastus", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "networkFeatures": "Standard", + "networkSiblingSetId": "9760acf5-4638-11e7-9bdb-020073ca3333", + "networkSiblingSetStateId": "12345_44420.8001578125", + "nicInfoList": [ + { + "ipAddress": "1.2.3.4", + "volumeResourceIds": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume10", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume11" + ] + }, + { + "ipAddress": "1.2.3.5", + "volumeResourceIds": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account2/capacityPools/pool2/volumes/volume20", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account2/capacityPools/pool2/volumes/volume21" + ] + }, + { + "ipAddress": "1.2.3.9", + "volumeResourceIds": [] + } + ], + "provisioningState": "Succeeded", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testVnet/subnets/testSubnet" + } + }, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/18c499e1-2a3c-441c-950e-4b456c991c18?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + } + }, + "operationId": "NetAppResource_UpdateNetworkSiblingSet", + "title": "NetworkFeatures_Update" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/OperationList.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/OperationList.json new file mode 100644 index 000000000000..05d013dc2e63 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/OperationList.json @@ -0,0 +1,1567 @@ +{ + "parameters": { + "api-version": "2025-09-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.NetApp/register/action", + "display": { + "description": "Subscription Registration Action", + "operation": "Subscription Registration Action", + "provider": "Microsoft.NetApp", + "resource": "Subscription" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/read", + "display": { + "description": "Reads a volume resource.", + "operation": "Read volume resource", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Volumes resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/write", + "display": { + "description": "Writes a volume resource.", + "operation": "Write volume resource", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Volumes resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/delete", + "display": { + "description": "Deletes a volume resource.", + "operation": "Delete volume resource", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Volumes resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/Revert/action", + "display": { + "description": "Revert volume to specific snapshot", + "operation": "Revert volume resource", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Volumes resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/BreakReplication/action", + "display": { + "description": "Break volume replication relations", + "operation": "Break volume replication resource", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Volumes resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/ReplicationStatus/action", + "display": { + "description": "Reads the statuses of the Volume Replication.", + "operation": "Read Volume Replication Status.", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Volumes resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/ListReplications/action", + "display": { + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Volumes resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/ReInitializeReplication/action", + "display": { + "description": "Attempts to re-initialize an uninitialized replication", + "operation": "Re-Initialize replication", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Volumes resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/providers/Microsoft.Insights/metricDefinitions/read", + "display": { + "description": "Gets the available metrics for Volume resource.", + "operation": "Read volume metric definitions.", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Volumes resource type" + }, + "origin": "system", + "properties": { + "serviceSpecification": { + "metricSpecifications": [ + { + "name": "AverageReadLatency", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Average read latency in milliseconds per operation", + "displayName": "Average read latency", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "AverageReadLatency", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "MilliSeconds" + }, + { + "name": "AverageWriteLatency", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Average write latency in milliseconds per operation", + "displayName": "Average write latency", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "AverageWriteLatency", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "MilliSeconds" + }, + { + "name": "VolumeLogicalSize", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Logical size of the volume (used bytes)", + "displayName": "Volume Consumed Size", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "VolumeLogicalSize", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "Bytes" + }, + { + "name": "VolumeSnapshotSize", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Size of all snapshots in volume", + "displayName": "Volume snapshot size", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "VolumeSnapshotSize", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "Bytes" + }, + { + "name": "ReadIops", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Read In/out operations per second", + "displayName": "Read iops", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "ReadIops", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "CountPerSecond" + }, + { + "name": "WriteIops", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Write In/out operations per second", + "displayName": "Write iops", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "WriteIops", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "CountPerSecond" + }, + { + "name": "VolumeAllocatedSize", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "The provisioned size of a volume", + "displayName": "Volume allocated size", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "VolumeAllocatedSize", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "Bytes" + }, + { + "name": "VolumeCoolTierSize", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Volume Footprint for Cool Tier", + "displayName": "Volume cool tier size", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "VolumeCoolTierSize", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "Bytes" + }, + { + "name": "VolumeCoolTierDataReadSize", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Data read in using GET per volume", + "displayName": "Volume cool tier data read size", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "VolumeCoolTierDataReadSize", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "Bytes" + }, + { + "name": "VolumeCoolTierDataWriteSize", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Data tiered out using PUT per volume", + "displayName": "Volume cool tier data write size", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "VolumeCoolTierDataWriteSize", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "Bytes" + }, + { + "name": "XregionReplicationLastTransferDuration", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "The amount of time in seconds it took for the last transfer to complete.", + "displayName": "Volume replication last transfer duration", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "XregionReplicationLastTransferDuration", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "Seconds" + }, + { + "name": "XregionReplicationLastTransferSize", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "The total number of bytes transferred as part of the last transfer.", + "displayName": "Volume replication last transfer size", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "XregionReplicationLastTransferSize", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "Bytes" + }, + { + "name": "XregionReplicationHealthy", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Condition of the relationship, 1 or 0.", + "displayName": "Is volume replication status healthy", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "XregionReplicationHealthy", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "Count" + }, + { + "name": "XregionReplicationLagTime", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "The amount of time in seconds by which the data on the mirror lags behind the source.", + "displayName": "Volume replication lag time", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "XregionReplicationLagTime", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "Seconds" + }, + { + "name": "XregionReplicationTotalTransferBytes", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Cumulative bytes transferred for the relationship.", + "displayName": "Volume replication total transfer", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "XregionReplicationTotalTransferBytes", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "Bytes" + }, + { + "name": "XregionReplicationRelationshipProgress", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Total amount of data transferred for the current transfer operation.", + "displayName": "Volume replication progress", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "XregionReplicationRelationshipProgress", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "Bytes" + }, + { + "name": "XregionReplicationRelationshipTransferring", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Whether the status of the Volume Replication is 'transferring'.", + "displayName": "Is volume replication transferring", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "XregionReplicationRelationshipTransferring", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "Count" + }, + { + "name": "CbsVolumeLogicalBackupBytes", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Total bytes backed up for this Volume.", + "displayName": "Volume Backup Bytes", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "CbsVolumeLogicalBackupBytes", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "Bytes" + }, + { + "name": "CbsVolumeProtected", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Is backup enabled for the volume? 1 if yes, 0 if no.", + "displayName": "Is Volume Backup Enabled", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "CbsVolumeProtected", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "Count" + }, + { + "name": "CbsVolumeBackupActive", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Is the backup policy suspended for the volume? 0 if yes, 1 if no.", + "displayName": "Is Volume Backup suspended", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "CbsVolumeBackupActive", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "Count" + }, + { + "name": "CbsVolumeOperationTransferredBytes", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Total bytes transferred for last backup or restore operation.", + "displayName": "Volume Backup Last Transferred Bytes", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "CbsVolumeOperationTransferredBytes", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "Bytes" + }, + { + "name": "CbsVolumeOperationComplete", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Did the last volume backup or restore operation complete successfully? 1 if yes, 0 if no.", + "displayName": "Is Volume Backup Operation Complete", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "CbsVolumeOperationComplete", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "Count" + }, + { + "name": "VolumeConsumedSizePercentage", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "The percentage of the volume consumed including snapshots.", + "displayName": "Percentage Volume Consumed Size", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "VolumeConsumedSizePercentage", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "Percent" + }, + { + "name": "OtherThroughput", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Other throughput (that is not read or write) in bytes per second", + "displayName": "Other throughput", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "OtherThroughput", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "BytesPerSecond" + }, + { + "name": "ReadThroughput", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Read throughput in bytes per second", + "displayName": "Read throughput", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "ReadThroughput", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "BytesPerSecond" + }, + { + "name": "TotalThroughput", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Sum of all throughput in bytes per second", + "displayName": "Total throughput", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "TotalThroughput", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "BytesPerSecond" + }, + { + "name": "WriteThroughput", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Write throughput in bytes per second", + "displayName": "Write throughput", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "WriteThroughput", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "BytesPerSecond" + } + ] + } + } + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/providers/Microsoft.Insights/diagnosticSettings/read", + "display": { + "description": "Gets the diagnostic setting for the resource.", + "operation": "Read diagnostic setting.", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Volumes resource type" + }, + "origin": "system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/providers/Microsoft.Insights/diagnosticSettings/write", + "display": { + "description": "Creates or updates the diagnostic setting for the resource.", + "operation": "Write diagnostic setting.", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Volumes resource type" + }, + "origin": "system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/AuthorizeReplication/action", + "display": { + "description": "Authorize the source volume replication", + "operation": "Authorize Replication", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Volumes resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/ResyncReplication/action", + "display": { + "description": "Resync the replication on the destination volume", + "operation": "Resync Replication", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Volumes resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/DeleteReplication/action", + "display": { + "description": "Delete the replication on the destination volume", + "operation": "Delete Replication", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Volumes resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/ReplicationStatus/read", + "display": { + "description": "Reads the statuses of the Volume Replication.", + "operation": "Read Volume Replication Status.", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Volumes resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/MountTargets/read", + "display": { + "description": "Reads a mount target resource.", + "operation": "Read mount target resource", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Volumes resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/BackupStatus/read", + "display": { + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Volumes resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/RestoreStatus/read", + "display": { + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Volumes resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/PoolChange/action", + "display": { + "description": "Moves volume to another pool.", + "operation": "Change pool for volume", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Volumes resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/RelocateVolume/action", + "display": { + "description": "Relocate volume to a new stamp.", + "operation": "Relocate volume to a new stamp.", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Volumes resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/FinalizeRelocation/action", + "display": { + "description": "Finalize relocation by cleaning up the old volume.", + "operation": "Finalize relocation of volume.", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Volumes resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/RevertRelocation/action", + "display": { + "description": "Revert the relocation and revert back to the old volume.", + "operation": "Revert the relocation of volume.", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Volumes resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/read", + "display": { + "description": "Reads an account resource.", + "operation": "Read account resource", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Accounts resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/write", + "display": { + "description": "Writes an account resource.", + "operation": "Write account resource", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Accounts resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/delete", + "display": { + "description": "Deletes a account resource.", + "operation": "Delete account resource", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Accounts resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/RenewCredentials/action", + "display": { + "description": "Renews MSI credentials of account, if account has MSI credentials that are due for renewal.", + "operation": "Renew MSI credentials, if possible.", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Accounts resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/read", + "display": { + "description": "Reads a pool resource.", + "operation": "Read pool resource", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Pools resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/write", + "display": { + "description": "Writes a pool resource.", + "operation": "Write pool resource", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Pools resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/delete", + "display": { + "description": "Deletes a pool resource.", + "operation": "Delete pool resource", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Pools resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/providers/Microsoft.Insights/metricDefinitions/read", + "display": { + "description": "Gets the available metrics for Volume resource.", + "operation": "Read volume metric definitions.", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Pools resource type" + }, + "origin": "system", + "properties": { + "serviceSpecification": { + "metricSpecifications": [ + { + "name": "VolumePoolAllocatedUsed", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Allocated used size of the pool", + "displayName": "Pool Allocated To Volume Size", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "VolumePoolAllocatedUsed", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "Bytes" + }, + { + "name": "VolumePoolTotalLogicalSize", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Sum of the logical size of all the volumes belonging to the pool", + "displayName": "Pool Consumed Size", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "VolumePoolTotalLogicalSize", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average", + "Total" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "Bytes" + }, + { + "name": "VolumePoolAllocatedSize", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Provisioned size of this pool", + "displayName": "Pool Allocated Size", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "VolumePoolAllocatedSize", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average", + "Total" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "Bytes" + }, + { + "name": "VolumePoolTotalSnapshotSize", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Sum of snapshot size of all volumes in this pool", + "displayName": "Total Snapshot size for the pool", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "VolumePoolTotalSnapshotSize", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "Bytes" + }, + { + "name": "VolumePoolProvisionedThroughput", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Provisioned throughput of this pool", + "displayName": "Provisioned throughput for the pool", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "VolumePoolProvisionedThroughput", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "BytesPerSecond" + }, + { + "name": "VolumePoolAllocatedToVolumeThroughput", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Sum of the throughput of all the volumes belonging to the pool", + "displayName": "Pool allocated throughput", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "VolumePoolAllocatedToVolumeThroughput", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "BytesPerSecond" + } + ] + } + } + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/providers/Microsoft.Insights/logDefinitions/read", + "display": { + "description": "Gets the log definitions for the resource.", + "operation": "Read log definitions.", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Pools resource type" + }, + "origin": "system", + "properties": { + "serviceSpecification": { + "logSpecifications": [ + { + "name": "Autoscale", + "displayName": "Capacity Pool Autoscaled" + } + ] + } + } + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/providers/Microsoft.Insights/diagnosticSettings/read", + "display": { + "description": "Gets the diagnostic setting for the resource.", + "operation": "Read diagnostic setting.", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Pools resource type" + }, + "origin": "system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/providers/Microsoft.Insights/diagnosticSettings/write", + "display": { + "description": "Creates or updates the diagnostic setting for the resource.", + "operation": "Write diagnostic setting.", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Pools resource type" + }, + "origin": "system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots/read", + "display": { + "description": "Reads a snapshot resource.", + "operation": "Read snapshot resource", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Snapshots resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots/write", + "display": { + "description": "Writes a snapshot resource.", + "operation": "Write snapshot resource", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Snapshots resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots/delete", + "display": { + "description": "Deletes a snapshot resource.", + "operation": "Delete snapshot resource", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Snapshots resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots/RestoreFiles/action", + "display": { + "description": "Restores files from a snapshot resource", + "operation": "Single File Snapshot Restore", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Snapshots resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/subvolumes/read", + "display": { + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Subvolume resource type." + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/subvolumes/write", + "display": { + "description": "Write a subvolume resource.", + "operation": "Write subvolume Resource", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Subvolume resource type." + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/subvolumes/delete", + "display": { + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Subvolume resource type." + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/subvolumes/GetMetadata/action", + "display": { + "description": "Read subvolume metadata resource.", + "operation": "Subvolume Metadata resource.", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Subvolume resource type." + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/snapshotPolicies/read", + "display": { + "description": "Reads a snapshot policy resource.", + "operation": "Read snapshot policy resource", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Snapshot Policies resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/snapshotPolicies/write", + "display": { + "description": "Writes a snapshot policy resource.", + "operation": "Write snapshot policy resource", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Snapshot Policies resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/snapshotPolicies/delete", + "display": { + "description": "Deletes a snapshot policy resource.", + "operation": "Delete snapshot policy resource", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Snapshot Policies resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/snapshotPolicies/Volumes/action", + "display": { + "description": "List volumes connected to snapshot policy", + "operation": "List connected volumes", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Snapshot Policies resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/snapshotPolicies/ListVolumes/action", + "display": { + "description": "List volumes connected to snapshot policy", + "operation": "List connected volumes", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Snapshot Policies resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups/read", + "display": { + "description": "Reads a backup resource.", + "operation": "Read backup resource.", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Backup resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups/write", + "display": { + "description": "Writes a backup resource.", + "operation": "Write backup resource.", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Backup resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups/delete", + "display": { + "description": "Deletes a backup resource.", + "operation": "Delete backup resource", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Backup resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/backupPolicies/read", + "display": { + "description": "Reads a backup policy resource.", + "operation": "Read backup policy resource.", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Backup Policy resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/backupPolicies/write", + "display": { + "description": "Writes a backup policy resource.", + "operation": "Write backup policy resource.", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Backup Policy resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/backupPolicies/delete", + "display": { + "description": "Deletes a backup policy resource.", + "operation": "Delete backup policy resource", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Backup Policy resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/vaults/read", + "display": { + "description": "Reads a vault resource.", + "operation": "Read vault resource.", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Vault resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/accountBackups/read", + "display": { + "description": "Reads an account backup resource.", + "operation": "Read an account backup resource.", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Account backup resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/accountBackups/write", + "display": { + "description": "Writes an account backup resource.", + "operation": "Write an account backup resource.", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Account backup resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/accountBackups/delete", + "display": { + "description": "Deletes an account backup resource.", + "operation": "Delete an account backup resource.", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Account backup resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/volumeGroups/read", + "display": { + "description": "Reads a volume group resource.", + "operation": "Read volume group resource", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Volume Group resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/volumeGroups/write", + "display": { + "description": "Writes a volume group resource.", + "operation": "Write volume group resource", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Volume Group resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/volumeGroups/delete", + "display": { + "description": "Deletes a volume group resource.", + "operation": "Delete volume group resource", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Volume Group resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/locations/quotaLimits/read", + "display": { + "description": "Reads a Quotalimit resource type.", + "operation": "Read QuotaLimit resource type", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "QuotaLimit resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/Operations/read", + "display": { + "description": "Reads an operation resources.", + "operation": "Read operation resource", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Operations resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/locations/operationresults/read", + "display": { + "description": "Reads an operation result resource.", + "operation": "Read operation result resource", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Operation results resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/locations/read", + "display": { + "description": "Reads a location wide operation.", + "operation": "Read location wide operation", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Location wide operation" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/locations/checknameavailability/action", + "display": { + "description": "Check if resource name is available", + "operation": "Check if resource name is available", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "NetApp resources" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/locations/checkfilepathavailability/action", + "display": { + "description": "Check if file path is available", + "operation": "Check if file path is available", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Volumes resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/unregister/action", + "display": { + "description": "Unregisters Subscription with Microsoft.NetApp resource provider", + "operation": "Unregister Subscription for Azure NetApp Files", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Subscription" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/locations/checkinventory/action", + "display": { + "description": "Checks ReservedCapacity inventory.", + "operation": "Checks ReservedCapacity inventory.", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "ReservedCapacity reservation resource." + }, + "origin": "user,system" + } + ] + } + } + }, + "operationId": "Operations_List", + "title": "OperationList" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Pools_CreateOrUpdate.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Pools_CreateOrUpdate.json new file mode 100644 index 000000000000..cc73eae49c9f --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Pools_CreateOrUpdate.json @@ -0,0 +1,53 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "body": { + "location": "eastus", + "properties": { + "qosType": "Auto", + "serviceLevel": "Premium", + "size": 4398046511104 + } + }, + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "account1/pool1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + "location": "eastus", + "properties": { + "poolId": "00000000-0000-0000-0000-000000000000", + "provisioningState": "Succeeded", + "qosType": "Auto", + "serviceLevel": "Premium", + "size": 4398046511104, + "totalThroughputMibps": 281.474 + } + } + }, + "201": { + "body": { + "name": "account1/pool1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + "location": "eastus", + "properties": { + "poolId": "00000000-0000-0000-0000-000000000000", + "provisioningState": "Succeeded", + "qosType": "Auto", + "serviceLevel": "Premium", + "size": 4398046511104, + "totalThroughputMibps": 281.474 + } + } + } + }, + "operationId": "Pools_CreateOrUpdate", + "title": "Pools_CreateOrUpdate" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Pools_CreateOrUpdate_CustomThroughput.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Pools_CreateOrUpdate_CustomThroughput.json new file mode 100644 index 000000000000..dd20d9e3bf35 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Pools_CreateOrUpdate_CustomThroughput.json @@ -0,0 +1,56 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "body": { + "location": "eastus", + "properties": { + "customThroughputMibps": 128, + "qosType": "Manual", + "serviceLevel": "Flexible", + "size": 4398046511104 + } + }, + "poolName": "customPool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "account1/customPool1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/customPool1", + "location": "eastus", + "properties": { + "customThroughputMibps": 128, + "poolId": "00000000-0000-0000-0000-000000000000", + "provisioningState": "Succeeded", + "qosType": "Manual", + "serviceLevel": "Flexible", + "size": 4398046511104, + "totalThroughputMibps": 128 + } + } + }, + "201": { + "body": { + "name": "account1/customPool1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/customPool1", + "location": "eastus", + "properties": { + "customThroughputMibps": 128, + "poolId": "00000000-0000-0000-0000-000000000000", + "provisioningState": "Creating", + "qosType": "Manual", + "serviceLevel": "Flexible", + "size": 4398046511104, + "totalThroughputMibps": 128 + } + } + } + }, + "operationId": "Pools_CreateOrUpdate", + "title": "Pools_CreateOrUpdate_CustomThroughput" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Pools_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Pools_Delete.json new file mode 100644 index 000000000000..6394bfb41d21 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Pools_Delete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + }, + "204": {} + }, + "operationId": "Pools_Delete", + "title": "Pools_Delete" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Pools_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Pools_Get.json new file mode 100644 index 000000000000..49465ef2659b --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Pools_Get.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "account1/pool1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + "location": "eastus", + "properties": { + "poolId": "00000000-0000-0000-0000-000000000000", + "provisioningState": "Succeeded", + "qosType": "Manual", + "serviceLevel": "Premium", + "size": 4398046511104, + "totalThroughputMibps": 281.474, + "utilizedThroughputMibps": 100.47 + } + } + } + }, + "operationId": "Pools_Get", + "title": "Pools_Get" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Pools_Get_CustomThroughput.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Pools_Get_CustomThroughput.json new file mode 100644 index 000000000000..449e5dafc6ea --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Pools_Get_CustomThroughput.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "poolName": "customPool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "account1/customPool1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/customPool1", + "location": "eastus", + "properties": { + "customThroughputMibps": 128, + "poolId": "00000000-0000-0000-0000-000000000000", + "provisioningState": "Succeeded", + "qosType": "Manual", + "serviceLevel": "Flexible", + "size": 4398046511104, + "totalThroughputMibps": 128, + "utilizedThroughputMibps": 100.47 + } + } + } + }, + "operationId": "Pools_Get", + "title": "Pools_Get_CustomThroughput" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Pools_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Pools_List.json new file mode 100644 index 000000000000..3dfd801ccf84 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Pools_List.json @@ -0,0 +1,49 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "account1/pool1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + "location": "eastus", + "properties": { + "poolId": "00000000-0000-0000-0000-000000000000", + "provisioningState": "Succeeded", + "qosType": "Auto", + "serviceLevel": "Premium", + "size": 4398046511104, + "totalThroughputMibps": 281.474, + "utilizedThroughputMibps": 100.47 + } + }, + { + "name": "account1/customPool1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/customPool1", + "location": "eastus", + "properties": { + "customThroughputMibps": 128, + "poolId": "00000000-0000-0000-0000-000000000000", + "provisioningState": "Succeeded", + "qosType": "Manual", + "serviceLevel": "Flexible", + "size": 4398046511104, + "totalThroughputMibps": 128, + "utilizedThroughputMibps": 100.47 + } + } + ] + } + } + }, + "operationId": "Pools_List", + "title": "Pools_List" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Pools_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Pools_Update.json new file mode 100644 index 000000000000..f1cfdef60363 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Pools_Update.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "body": {}, + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "account1/pool1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + "location": "eastus", + "properties": { + "poolId": "00000000-0000-0000-0000-000000000000", + "provisioningState": "Succeeded", + "qosType": "Manual", + "serviceLevel": "Premium", + "size": 4398046511104, + "totalThroughputMibps": 281.474, + "utilizedThroughputMibps": 100.47 + } + } + }, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + } + }, + "operationId": "Pools_Update", + "title": "Pools_Update" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Pools_Update_CustomThroughput.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Pools_Update_CustomThroughput.json new file mode 100644 index 000000000000..82909b5e6d47 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Pools_Update_CustomThroughput.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "body": {}, + "poolName": "customPool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "account1/customPool1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/customPool1", + "location": "eastus", + "properties": { + "customThroughputMibps": 128, + "poolId": "00000000-0000-0000-0000-000000000000", + "provisioningState": "Succeeded", + "qosType": "Manual", + "serviceLevel": "Flexible", + "size": 4398046511104, + "totalThroughputMibps": 128, + "utilizedThroughputMibps": 100.47 + } + } + }, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + } + }, + "operationId": "Pools_Update", + "title": "Pools_Update_CustomThroughput" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/RansomwareReports_ClearSuspects.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/RansomwareReports_ClearSuspects.json new file mode 100644 index 000000000000..8c9bd6c4c1f7 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/RansomwareReports_ClearSuspects.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "accountName": "account1", + "poolName": "pool1", + "volumeName": "volume1", + "ransomwareReportName": "ransomwareReport1", + "api-version": "2025-09-01-preview", + "body": { + "resolution": "PotentialThreat", + "extensions": [ + ".threat" + ] + } + }, + "responses": { + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + } + }, + "operationId": "RansomwareReports_ClearSuspects", + "title": "RansomwareReports_ClearSuspects" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/RansomwareReports_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/RansomwareReports_Get.json new file mode 100644 index 000000000000..fc4a26582103 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/RansomwareReports_Get.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "accountName": "account1", + "poolName": "pool1", + "volumeName": "volume1", + "ransomwareReportName": "ransomwareReport1", + "api-version": "2025-09-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/ransomwarereports/ransomwareReport1", + "name": "account1/pool1/volume1/ransomwareReport1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/ransomwarereports", + "properties": { + "eventTime": "2025-08-15T13:23:33Z", + "severity": "Moderate", + "state": "Active", + "clearedCount": 0, + "reportedCount": 1, + "suspects": [ + { + "extension": ".threat", + "resolution": "PotentialThreat", + "fileCount": 1, + "suspectFiles": [ + { + "suspectFileName": "file1.threat", + "fileTimestamp": "2025-08-15T13:23:33Z" + } + ] + } + ] + } + } + } + }, + "operationId": "RansomwareReports_Get", + "title": "RansomwareReports_Get" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/RansomwareReports_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/RansomwareReports_List.json new file mode 100644 index 000000000000..df9de3142875 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/RansomwareReports_List.json @@ -0,0 +1,70 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "accountName": "account1", + "poolName": "pool1", + "volumeName": "volume1", + "api-version": "2025-09-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/ransomwarereports/ransomwareReport1", + "name": "account1/pool1/volume1/ransomwareReport1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/ransomwarereports", + "properties": { + "eventTime": "2025-08-15T13:23:33Z", + "severity": "Moderate", + "state": "Active", + "clearedCount": 0, + "reportedCount": 1, + "suspects": [ + { + "extension": ".threat", + "resolution": "PotentialThreat", + "fileCount": 1, + "suspectFiles": [ + { + "suspectFileName": "file1.threat", + "fileTimestamp": "2025-08-15T13:23:33Z" + } + ] + } + ] + } + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/ransomwarereports/ransomwareReport2", + "name": "account1/pool1/volume1/ransomwareReport2", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/ransomwarereports", + "properties": { + "eventTime": "2025-08-15T14:24:33Z", + "severity": "Moderate", + "state": "Resolved", + "clearedCount": 0, + "reportedCount": 1, + "suspects": [ + { + "extension": ".txt", + "resolution": "FalsePositive", + "fileCount": 1, + "suspectFiles": [ + { + "suspectFileName": "file1.txt", + "fileTimestamp": "2025-08-15T13:23:33Z" + } + ] + } + ] + } + } + ] + } + } + }, + "operationId": "RansomwareReports_List", + "title": "RansomwareReports_List" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/RegionInfo.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/RegionInfo.json new file mode 100644 index 000000000000..f6f9c6fe1cf9 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/RegionInfo.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "api-version": "2025-09-01-preview", + "location": "eastus", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "availabilityZoneMappings": [ + { + "availabilityZone": "1", + "isAvailable": true + } + ], + "storageToNetworkProximity": "T2" + } + } + }, + "operationId": "NetAppResource_QueryRegionInfo", + "title": "RegionInfo_Query" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/RegionInfos_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/RegionInfos_Get.json new file mode 100644 index 000000000000..57ac886dd8da --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/RegionInfos_Get.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "api-version": "2025-09-01-preview", + "location": "eastus", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "eastus/default", + "type": "Microsoft.NetApp/locations/regionInfos", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/regionInfos/default", + "properties": { + "availabilityZoneMappings": [ + { + "availabilityZone": "1", + "isAvailable": true + }, + { + "availabilityZone": "2", + "isAvailable": true + }, + { + "availabilityZone": "3", + "isAvailable": true + } + ], + "storageToNetworkProximity": "T2" + } + } + } + }, + "operationId": "NetAppResourceRegionInfos_Get", + "title": "RegionInfos_Get" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/RegionInfos_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/RegionInfos_List.json new file mode 100644 index 000000000000..28865d25dbe0 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/RegionInfos_List.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "api-version": "2025-09-01-preview", + "location": "eastus", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "eastus/default", + "type": "Microsoft.NetApp/locations/regionInfos", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/regionInfos/default", + "properties": { + "availabilityZoneMappings": [ + { + "availabilityZone": "1", + "isAvailable": true + }, + { + "availabilityZone": "2", + "isAvailable": true + }, + { + "availabilityZone": "3", + "isAvailable": true + } + ], + "storageToNetworkProximity": "T2" + } + } + ] + } + } + }, + "operationId": "NetAppResourceRegionInfos_List", + "title": "RegionInfos_List" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/SnapshotPolicies_Create.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/SnapshotPolicies_Create.json new file mode 100644 index 000000000000..b1a2579b9597 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/SnapshotPolicies_Create.json @@ -0,0 +1,106 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "body": { + "location": "eastus", + "properties": { + "dailySchedule": { + "hour": 14, + "minute": 30, + "snapshotsToKeep": 4 + }, + "enabled": true, + "hourlySchedule": { + "minute": 50, + "snapshotsToKeep": 2 + }, + "monthlySchedule": { + "daysOfMonth": "10,11,12", + "hour": 14, + "minute": 15, + "snapshotsToKeep": 5 + }, + "weeklySchedule": { + "day": "Wednesday", + "hour": 14, + "minute": 45, + "snapshotsToKeep": 3 + } + } + }, + "resourceGroupName": "myRG", + "snapshotPolicyName": "snapshotPolicyName", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "account1/snapshotPolicy1", + "type": "Microsoft.NetApp/netAppAccounts/snapshotPolicies", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/snapshotPolicies/snapshotPolicy1", + "location": "eastus", + "properties": { + "dailySchedule": { + "hour": 14, + "minute": 30, + "snapshotsToKeep": 4 + }, + "enabled": true, + "hourlySchedule": { + "minute": 50, + "snapshotsToKeep": 2 + }, + "monthlySchedule": { + "daysOfMonth": "10,11,12", + "hour": 14, + "minute": 15, + "snapshotsToKeep": 5 + }, + "provisioningState": "Succeeded", + "weeklySchedule": { + "day": "Wednesday", + "hour": 14, + "minute": 45, + "snapshotsToKeep": 3 + } + } + } + }, + "201": { + "body": { + "name": "account1/snapshotPolicy1", + "type": "Microsoft.NetApp/netAppAccounts/snapshotPolicies", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/snapshotPolicies/snapshotPolicy1", + "location": "eastus", + "properties": { + "dailySchedule": { + "hour": 14, + "minute": 30, + "snapshotsToKeep": 4 + }, + "enabled": true, + "hourlySchedule": { + "minute": 50, + "snapshotsToKeep": 2 + }, + "monthlySchedule": { + "daysOfMonth": "10,11,12", + "hour": 14, + "minute": 15, + "snapshotsToKeep": 5 + }, + "provisioningState": "Succeeded", + "weeklySchedule": { + "day": "Wednesday", + "hour": 14, + "minute": 45, + "snapshotsToKeep": 3 + } + } + } + } + }, + "operationId": "SnapshotPolicies_Create", + "title": "SnapshotPolicies_Create" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/SnapshotPolicies_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/SnapshotPolicies_Delete.json new file mode 100644 index 000000000000..4ed06c5f8bca --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/SnapshotPolicies_Delete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "accountName": "accountName", + "api-version": "2025-09-01-preview", + "resourceGroupName": "resourceGroup", + "snapshotPolicyName": "snapshotPolicyName", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + }, + "204": {} + }, + "operationId": "SnapshotPolicies_Delete", + "title": "SnapshotPolicies_Delete" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/SnapshotPolicies_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/SnapshotPolicies_Get.json new file mode 100644 index 000000000000..e1cba3a63055 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/SnapshotPolicies_Get.json @@ -0,0 +1,46 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "resourceGroupName": "myRG", + "snapshotPolicyName": "snapshotPolicyName", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "account1/snapshotPolicy1", + "type": "Microsoft.NetApp/netAppAccounts/snapshotPolicies", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/snapshotPolicies/snapshotPolicy1", + "location": "eastus", + "properties": { + "dailySchedule": { + "hour": 14, + "minute": 30, + "snapshotsToKeep": 4 + }, + "enabled": true, + "hourlySchedule": { + "minute": 50, + "snapshotsToKeep": 2 + }, + "monthlySchedule": { + "daysOfMonth": "10,11,12", + "hour": 14, + "minute": 15, + "snapshotsToKeep": 5 + }, + "provisioningState": "Succeeded", + "weeklySchedule": { + "day": "Wednesday", + "hour": 14, + "minute": 45, + "snapshotsToKeep": 3 + } + } + } + } + }, + "operationId": "SnapshotPolicies_Get", + "title": "SnapshotPolicies_Get" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/SnapshotPolicies_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/SnapshotPolicies_List.json new file mode 100644 index 000000000000..111bf28d0575 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/SnapshotPolicies_List.json @@ -0,0 +1,49 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "account1/snapshotPolicy1", + "type": "Microsoft.NetApp/netAppAccounts/snapshotPolicies", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/snapshotPolicies/snapshotPolicy1", + "location": "eastus", + "properties": { + "dailySchedule": { + "hour": 14, + "minute": 30, + "snapshotsToKeep": 4 + }, + "enabled": true, + "hourlySchedule": { + "minute": 50, + "snapshotsToKeep": 2 + }, + "monthlySchedule": { + "daysOfMonth": "10,11,12", + "hour": 14, + "minute": 15, + "snapshotsToKeep": 5 + }, + "provisioningState": "Succeeded", + "weeklySchedule": { + "day": "Wednesday", + "hour": 14, + "minute": 45, + "snapshotsToKeep": 3 + } + } + } + ] + } + } + }, + "operationId": "SnapshotPolicies_List", + "title": "SnapshotPolicies_List" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/SnapshotPolicies_ListVolumes.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/SnapshotPolicies_ListVolumes.json new file mode 100644 index 000000000000..0c2cc0010b24 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/SnapshotPolicies_ListVolumes.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "body": { + "location": "eastus", + "properties": {} + }, + "resourceGroupName": "myRG", + "snapshotPolicyName": "snapshotPolicyName", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "account1/pool1/volume1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1", + "location": "eastus", + "properties": { + "creationToken": "my-unique-file-path", + "fileSystemId": "00000000-0000-0000-0000-000000000000", + "provisioningState": "Succeeded", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 128, + "usageThreshold": 107374182400 + } + } + ] + } + } + }, + "operationId": "SnapshotPolicies_ListVolumes", + "title": "SnapshotPolicies_ListVolumes" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/SnapshotPolicies_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/SnapshotPolicies_Update.json new file mode 100644 index 000000000000..dbb6c5a8432a --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/SnapshotPolicies_Update.json @@ -0,0 +1,109 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "body": { + "location": "eastus", + "properties": { + "dailySchedule": { + "hour": 14, + "minute": 30, + "snapshotsToKeep": 4 + }, + "enabled": true, + "hourlySchedule": { + "minute": 50, + "snapshotsToKeep": 2 + }, + "monthlySchedule": { + "daysOfMonth": "10,11,12", + "hour": 14, + "minute": 15, + "snapshotsToKeep": 5 + }, + "weeklySchedule": { + "day": "Wednesday", + "hour": 14, + "minute": 45, + "snapshotsToKeep": 3 + } + } + }, + "resourceGroupName": "myRG", + "snapshotPolicyName": "snapshotPolicyName", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "account1/snapshotPolicy1", + "type": "Microsoft.NetApp/netAppAccounts/snapshotPolicies", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/snapshotPolicies/snapshotPolicy1", + "location": "eastus", + "properties": { + "dailySchedule": { + "hour": 14, + "minute": 30, + "snapshotsToKeep": 4 + }, + "enabled": true, + "hourlySchedule": { + "minute": 50, + "snapshotsToKeep": 2 + }, + "monthlySchedule": { + "daysOfMonth": "10,11,12", + "hour": 14, + "minute": 15, + "snapshotsToKeep": 5 + }, + "provisioningState": "Succeeded", + "weeklySchedule": { + "day": "Wednesday", + "hour": 14, + "minute": 45, + "snapshotsToKeep": 3 + } + } + } + }, + "202": { + "body": { + "name": "account1/snapshotPolicy1", + "type": "Microsoft.NetApp/netAppAccounts/snapshotPolicies", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/snapshotPolicies/snapshotPolicy1", + "location": "eastus", + "properties": { + "dailySchedule": { + "hour": 14, + "minute": 30, + "snapshotsToKeep": 4 + }, + "enabled": true, + "hourlySchedule": { + "minute": 50, + "snapshotsToKeep": 2 + }, + "monthlySchedule": { + "daysOfMonth": "10,11,12", + "hour": 14, + "minute": 15, + "snapshotsToKeep": 5 + }, + "provisioningState": "Succeeded", + "weeklySchedule": { + "day": "Wednesday", + "hour": 14, + "minute": 45, + "snapshotsToKeep": 3 + } + } + }, + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/18c499e1-2a3c-441c-950e-4b456c991c18?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + } + }, + "operationId": "SnapshotPolicies_Update", + "title": "SnapshotPolicies_Update" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Snapshots_Create.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Snapshots_Create.json new file mode 100644 index 000000000000..29c8f81377a7 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Snapshots_Create.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "body": { + "location": "eastus" + }, + "location": "eastus", + "poolName": "pool1", + "resourceGroupName": "myRG", + "snapshotName": "snapshot1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "201": { + "body": { + "name": "account1/pool1/volume1/snapshot1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/snapshots/snapshot1", + "location": "eastus", + "properties": { + "created": "2017-08-15T13:23:33Z", + "provisioningState": "Succeeded", + "snapshotId": "9760acf5-4638-11e7-9bdb-020073ca3333" + } + } + }, + "202": {} + }, + "operationId": "Snapshots_Create", + "title": "Snapshots_Create" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Snapshots_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Snapshots_Delete.json new file mode 100644 index 000000000000..9832b1e2cde7 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Snapshots_Delete.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "poolName": "pool1", + "resourceGroupName": "myRG", + "snapshotName": "snapshot1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + }, + "204": {} + }, + "operationId": "Snapshots_Delete", + "title": "Snapshots_Delete" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Snapshots_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Snapshots_Get.json new file mode 100644 index 000000000000..5934f8d57cf3 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Snapshots_Get.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "poolName": "pool1", + "resourceGroupName": "myRG", + "snapshotName": "snapshot1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": { + "body": { + "name": "account1/pool1/volume1/snapshot1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/snapshots/snapshot1", + "location": "eastus", + "properties": { + "created": "2017-08-15T13:23:33Z", + "provisioningState": "Succeeded", + "snapshotId": "9760acf5-4638-11e7-9bdb-020073ca3333" + } + } + } + }, + "operationId": "Snapshots_Get", + "title": "Snapshots_Get" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Snapshots_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Snapshots_List.json new file mode 100644 index 000000000000..3b4dc1228930 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Snapshots_List.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "account1/pool1/volume1/snapshot1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/snapshots/snapshot1", + "location": "eastus", + "properties": { + "created": "2017-08-15T13:23:33Z", + "provisioningState": "Succeeded", + "snapshotId": "9760acf5-4638-11e7-9bdb-020073ca3333" + } + } + ] + } + } + }, + "operationId": "Snapshots_List", + "title": "Snapshots_List" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Snapshots_SingleFileRestore.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Snapshots_SingleFileRestore.json new file mode 100644 index 000000000000..47c150fce08f --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Snapshots_SingleFileRestore.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "body": { + "filePaths": [ + "/dir1/customer1.db", + "/dir1/customer2.db" + ] + }, + "poolName": "pool1", + "resourceGroupName": "myRG", + "snapshotName": "snapshot1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + } + }, + "operationId": "Snapshots_RestoreFiles", + "title": "Snapshots_SingleFileRestore" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Snapshots_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Snapshots_Update.json new file mode 100644 index 000000000000..c56f48468ed1 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Snapshots_Update.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "body": {}, + "poolName": "pool1", + "resourceGroupName": "myRG", + "snapshotName": "snapshot1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": { + "body": { + "name": "account1/pool1/volume1/snapshot1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/snapshots/snapshot1", + "location": "eastus", + "properties": { + "created": "2017-08-15T13:23:33Z", + "provisioningState": "Succeeded", + "snapshotId": "9760acf5-4638-11e7-9bdb-020073ca3333" + } + } + }, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + } + }, + "operationId": "Snapshots_Update", + "title": "Snapshots_Update" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Subvolumes_Create.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Subvolumes_Create.json new file mode 100644 index 000000000000..92a4d250061c --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Subvolumes_Create.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "body": { + "properties": { + "path": "/subvolumePath" + } + }, + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "subvolumeName": "subvolume1", + "volumeName": "volume1" + }, + "responses": { + "200": { + "body": { + "name": "account1/pool1/volume1/subvolume1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/subvolumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/subvolumes/subvolume1", + "properties": { + "path": "/subvolumePath", + "provisioningState": "Succeeded", + "size": 0 + } + } + }, + "201": { + "body": { + "name": "account1/pool1/volume1/subvolume1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/subvolumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/subvolumes/subvolume1", + "properties": { + "path": "/subvolumePath", + "provisioningState": "Creating" + } + } + }, + "202": {} + }, + "operationId": "Subvolumes_Create", + "title": "Subvolumes_Create" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Subvolumes_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Subvolumes_Delete.json new file mode 100644 index 000000000000..f6584663f014 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Subvolumes_Delete.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "subvolumeName": "subvolume1", + "volumeName": "volume1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + }, + "204": {} + }, + "operationId": "Subvolumes_Delete", + "title": "Subvolumes_Delete" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Subvolumes_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Subvolumes_Get.json new file mode 100644 index 000000000000..be1a9941eba1 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Subvolumes_Get.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "subvolumeName": "subvolume1", + "volumeName": "volume1" + }, + "responses": { + "200": { + "body": { + "name": "account1/pool1/volume1/subvolume1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/subvolumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/subvolumes/subvolume1", + "properties": { + "path": "/pathToSubvol", + "size": 0 + } + } + } + }, + "operationId": "Subvolumes_Get", + "title": "Subvolumes_Get" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Subvolumes_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Subvolumes_List.json new file mode 100644 index 000000000000..55d431d77b45 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Subvolumes_List.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "subvolumeName": "subvolume1", + "volumeName": "volume1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "account1/pool1/volume1/subvolume1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/subvolumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/subvolumes/subvolume1", + "properties": { + "path": "/pathToSubvol", + "size": 0 + } + } + ] + } + } + }, + "operationId": "Subvolumes_ListByVolume", + "title": "Subvolumes_List" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Subvolumes_Metadata.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Subvolumes_Metadata.json new file mode 100644 index 000000000000..7c49063be7f5 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Subvolumes_Metadata.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "subvolumeName": "subvolume1", + "volumeName": "volume1" + }, + "responses": { + "200": { + "body": { + "name": "account1/pool1/volume1/subvolume1/metadata", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/subvolumes/metadata", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/subvolumes/subvolume1/metadata", + "properties": { + "path": "/pathToSubvol", + "accessedTimeStamp": "2017-08-15T13:23:33Z", + "bytesUsed": 5, + "changedTimeStamp": "2017-08-15T13:23:33Z", + "creationTimeStamp": "2017-08-15T13:23:33Z", + "modifiedTimeStamp": "2017-08-15T13:23:33Z", + "permissions": "777", + "size": 5 + } + } + }, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + } + }, + "operationId": "Subvolumes_GetMetadata", + "title": "Subvolumes_Metadata" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Subvolumes_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Subvolumes_Update.json new file mode 100644 index 000000000000..b80f96d614eb --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Subvolumes_Update.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "body": { + "properties": { + "path": "/subvolumePath" + } + }, + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "subvolumeName": "subvolume1", + "volumeName": "volume1" + }, + "responses": { + "200": { + "body": { + "name": "account1/pool1/volume1/subvolume1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/subvolume1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/subvolumes/subvolume1", + "properties": { + "path": "/subvolumePath", + "size": 0 + } + } + }, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + } + }, + "operationId": "Subvolumes_Update", + "title": "Subvolumes_Update" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Usages_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Usages_Get.json new file mode 100644 index 000000000000..f63b7fc4e596 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Usages_Get.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2025-09-01-preview", + "location": "eastus", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "usageType": "totalTibsPerSubscription" + }, + "responses": { + "200": { + "body": { + "name": { + "localizedValue": "Total TiBs per subscription", + "value": "totalTibsPerSubscription" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/usages", + "properties": { + "currentValue": 75, + "limit": 100, + "unit": "count" + } + } + } + }, + "operationId": "NetAppResourceUsages_Get", + "title": "Usages_Get" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Usages_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Usages_List.json new file mode 100644 index 000000000000..c5d6c7a9c5bb --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Usages_List.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "api-version": "2025-09-01-preview", + "location": "eastus", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": { + "localizedValue": "Total TiBs per subscription", + "value": "totalTibsPerSubscription" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/usages", + "properties": { + "currentValue": 75, + "limit": 100, + "unit": "count" + } + } + ] + } + } + }, + "operationId": "NetAppResourceUsages_List", + "title": "Usages_List" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/VolumeGroups_Create_Oracle.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/VolumeGroups_Create_Oracle.json new file mode 100644 index 000000000000..d230014d961e --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/VolumeGroups_Create_Oracle.json @@ -0,0 +1,967 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "body": { + "location": "westus", + "properties": { + "groupMetaData": { + "applicationIdentifier": "OR2", + "applicationType": "ORACLE", + "groupDescription": "Volume group" + }, + "volumes": [ + { + "name": "test-ora-data1", + "properties": { + "capacityPoolResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + "creationToken": "test-ora-data1", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-data1" + }, + "zones": [ + "1" + ] + }, + { + "name": "test-ora-data2", + "properties": { + "capacityPoolResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + "creationToken": "test-ora-data2", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-data2" + }, + "zones": [ + "1" + ] + }, + { + "name": "test-ora-data3", + "properties": { + "capacityPoolResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + "creationToken": "test-ora-data3", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-data3" + }, + "zones": [ + "1" + ] + }, + { + "name": "test-ora-data4", + "properties": { + "capacityPoolResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + "creationToken": "test-ora-data4", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-data4" + }, + "zones": [ + "1" + ] + }, + { + "name": "test-ora-data5", + "properties": { + "capacityPoolResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + "creationToken": "test-ora-data5", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-data5" + }, + "zones": [ + "1" + ] + }, + { + "name": "test-ora-data6", + "properties": { + "capacityPoolResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + "creationToken": "test-ora-data6", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-data6" + }, + "zones": [ + "1" + ] + }, + { + "name": "test-ora-data7", + "properties": { + "capacityPoolResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + "creationToken": "test-ora-data7", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-data7" + }, + "zones": [ + "1" + ] + }, + { + "name": "test-ora-data8", + "properties": { + "capacityPoolResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + "creationToken": "test-ora-data8", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-data8" + }, + "zones": [ + "1" + ] + }, + { + "name": "test-ora-log", + "properties": { + "capacityPoolResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + "creationToken": "test-ora-log", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-log" + }, + "zones": [ + "1" + ] + }, + { + "name": "test-ora-log-mirror", + "properties": { + "capacityPoolResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + "creationToken": "test-ora-log-mirror", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-log-mirror" + }, + "zones": [ + "1" + ] + }, + { + "name": "test-ora-binary", + "properties": { + "capacityPoolResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + "creationToken": "test-ora-binary", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-binary" + }, + "zones": [ + "1" + ] + }, + { + "name": "test-ora-backup", + "properties": { + "capacityPoolResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + "creationToken": "test-ora-backup", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-backup" + }, + "zones": [ + "1" + ] + } + ] + } + }, + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeGroupName": "group1" + }, + "responses": { + "201": { + "body": { + "name": "group1", + "type": "Microsoft.NetApp/netAppAccounts/volumeGroups", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/volumeGroups/group1", + "location": "westus", + "properties": { + "groupMetaData": { + "applicationIdentifier": "OR2", + "applicationType": "ORACLE", + "groupDescription": "Volume group" + }, + "provisioningState": "Creating", + "volumes": [ + { + "name": "test-ora-data1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data1", + "properties": { + "creationToken": "test-ora-data1", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-data1" + }, + "zones": [ + "1" + ] + }, + { + "name": "test-ora-data2", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data2", + "properties": { + "creationToken": "test-ora-data2", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-data2" + }, + "zones": [ + "1" + ] + }, + { + "name": "test-ora-data3", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data3", + "properties": { + "creationToken": "test-ora-data3", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-data3" + }, + "zones": [ + "1" + ] + }, + { + "name": "test-ora-data4", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data4", + "properties": { + "creationToken": "test-ora-data4", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-data4" + }, + "zones": [ + "1" + ] + }, + { + "name": "test-ora-data5", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data5", + "properties": { + "creationToken": "test-ora-data5", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-data5" + }, + "zones": [ + "1" + ] + }, + { + "name": "test-ora-data6", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data6", + "properties": { + "creationToken": "test-ora-data6", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-data6" + }, + "zones": [ + "1" + ] + }, + { + "name": "test-ora-data7", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data7", + "properties": { + "creationToken": "test-ora-data7", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-data7" + }, + "zones": [ + "1" + ] + }, + { + "name": "test-ora-data8", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data8", + "properties": { + "creationToken": "test-ora-data8", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-data8" + }, + "zones": [ + "1" + ] + }, + { + "name": "test-ora-log", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-log", + "properties": { + "creationToken": "test-ora-log", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-log" + }, + "zones": [ + "1" + ] + }, + { + "name": "test-ora-log-mirror", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-log-mirror", + "properties": { + "creationToken": "test-ora-log-mirror", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-log-mirror" + }, + "zones": [ + "1" + ] + }, + { + "name": "test-ora-binary", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-binary", + "properties": { + "creationToken": "test-ora-binary", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-binary" + }, + "zones": [ + "1" + ] + }, + { + "name": "test-ora-backup", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-backup", + "properties": { + "creationToken": "test-ora-backup", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-backup" + }, + "zones": [ + "1" + ] + } + ] + } + } + } + }, + "operationId": "VolumeGroups_Create", + "title": "VolumeGroups_Create_Oracle" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/VolumeGroups_Create_SapHana.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/VolumeGroups_Create_SapHana.json new file mode 100644 index 000000000000..3683b82bf33e --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/VolumeGroups_Create_SapHana.json @@ -0,0 +1,408 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "body": { + "location": "westus", + "properties": { + "groupMetaData": { + "applicationIdentifier": "SH9", + "applicationType": "SAP-HANA", + "groupDescription": "Volume group" + }, + "volumes": [ + { + "name": "test-data-mnt00001", + "properties": { + "capacityPoolResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + "creationToken": "test-data-mnt00001", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "proximityPlacementGroup": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "data" + } + }, + { + "name": "test-log-mnt00001", + "properties": { + "capacityPoolResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + "creationToken": "test-log-mnt00001", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "proximityPlacementGroup": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "log" + } + }, + { + "name": "test-shared", + "properties": { + "capacityPoolResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + "creationToken": "test-shared", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "proximityPlacementGroup": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "shared" + } + }, + { + "name": "test-data-backup", + "properties": { + "capacityPoolResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + "creationToken": "test-data-backup", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "proximityPlacementGroup": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "data-backup" + } + }, + { + "name": "test-log-backup", + "properties": { + "capacityPoolResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + "creationToken": "test-log-backup", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "proximityPlacementGroup": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "log-backup" + } + } + ] + } + }, + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeGroupName": "group1" + }, + "responses": { + "201": { + "body": { + "name": "group1", + "type": "Microsoft.NetApp/netAppAccounts/volumeGroups", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/volumeGroups/group1", + "location": "westus", + "properties": { + "groupMetaData": { + "applicationIdentifier": "SH9", + "applicationType": "SAP-HANA", + "groupDescription": "Volume group" + }, + "provisioningState": "Creating", + "volumes": [ + { + "name": "test-data-mnt00001", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-data-mnt00001", + "properties": { + "creationToken": "test-data-mnt00001", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "proximityPlacementGroup": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "data" + } + }, + { + "name": "test-log-mnt00001", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-log-mnt00001", + "properties": { + "creationToken": "test-log-mnt00001", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "proximityPlacementGroup": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "log" + } + }, + { + "name": "test-shared", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-shared", + "properties": { + "creationToken": "test-shared", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "proximityPlacementGroup": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "shared" + } + }, + { + "name": "test-data-backup", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-data-backup", + "properties": { + "creationToken": "test-data-backup", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "proximityPlacementGroup": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "data-backup" + } + }, + { + "name": "test-log-backup", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-log-backup", + "properties": { + "creationToken": "test-log-backup", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "proximityPlacementGroup": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "log-backup" + } + } + ] + } + } + } + }, + "operationId": "VolumeGroups_Create", + "title": "VolumeGroups_Create_SapHana" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/VolumeGroups_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/VolumeGroups_Delete.json new file mode 100644 index 000000000000..4d8bba9f8b25 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/VolumeGroups_Delete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeGroupName": "group1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + }, + "204": {} + }, + "operationId": "VolumeGroups_Delete", + "title": "VolumeGroups_Delete" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/VolumeGroups_Get_Oracle.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/VolumeGroups_Get_Oracle.json new file mode 100644 index 000000000000..8940eda91c68 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/VolumeGroups_Get_Oracle.json @@ -0,0 +1,512 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeGroupName": "group1" + }, + "responses": { + "200": { + "body": { + "name": "group1", + "type": "Microsoft.NetApp/netAppAccounts/volumeGroups", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/volumeGroups/group1", + "location": "eastus", + "properties": { + "groupMetaData": { + "applicationIdentifier": "OR2", + "applicationType": "ORACLE", + "groupDescription": "Volume group", + "volumesCount": 12 + }, + "provisioningState": "Succeeded", + "volumes": [ + { + "name": "account1/pool1/test-ora-data1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data1", + "properties": { + "creationToken": "test-ora-data1", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "provisioningState": "Succeeded", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-data1" + }, + "zones": [ + "1" + ] + }, + { + "name": "account1/pool1/test-ora-data2", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data2", + "properties": { + "creationToken": "test-ora-data2", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "provisioningState": "Succeeded", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-data2" + }, + "zones": [ + "1" + ] + }, + { + "name": "account1/pool1/test-ora-data3", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data3", + "properties": { + "creationToken": "test-ora-data3", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "provisioningState": "Succeeded", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-data3" + }, + "zones": [ + "1" + ] + }, + { + "name": "account1/pool1/test-ora-data4", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data4", + "properties": { + "creationToken": "test-ora-data4", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "provisioningState": "Succeeded", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-data4" + }, + "zones": [ + "1" + ] + }, + { + "name": "account1/pool1/test-ora-data5", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data5", + "properties": { + "creationToken": "test-ora-data5", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "provisioningState": "Succeeded", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-data5" + }, + "zones": [ + "1" + ] + }, + { + "name": "account1/pool1/test-ora-data6", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data6", + "properties": { + "creationToken": "test-ora-data6", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "provisioningState": "Succeeded", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-data6" + }, + "zones": [ + "1" + ] + }, + { + "name": "account1/pool1/test-ora-data7", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data7", + "properties": { + "creationToken": "test-ora-data7", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "provisioningState": "Succeeded", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-data7" + }, + "zones": [ + "1" + ] + }, + { + "name": "account1/pool1/test-ora-data8", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data8", + "properties": { + "creationToken": "test-ora-data8", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "provisioningState": "Succeeded", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-data8" + }, + "zones": [ + "1" + ] + }, + { + "name": "account1/pool1/test-ora-log", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-log", + "properties": { + "creationToken": "test-ora-log", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "provisioningState": "Succeeded", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-log" + }, + "zones": [ + "1" + ] + }, + { + "name": "account1/pool1/test-ora-log-mirror", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-log-mirror", + "properties": { + "creationToken": "test-ora-log-mirror", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "provisioningState": "Succeeded", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-log-mirror" + }, + "zones": [ + "1" + ] + }, + { + "name": "account1/pool1/test-ora-binary", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-binary", + "properties": { + "creationToken": "test-ora-binary", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "provisioningState": "Succeeded", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-binary" + }, + "zones": [ + "1" + ] + }, + { + "name": "account1/pool1/test-ora-backup", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-backup", + "properties": { + "creationToken": "test-ora-backup", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "provisioningState": "Succeeded", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-backup" + }, + "zones": [ + "1" + ] + } + ] + } + } + } + }, + "operationId": "VolumeGroups_Get", + "title": "VolumeGroups_Get_Oracle" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/VolumeGroups_Get_SapHana.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/VolumeGroups_Get_SapHana.json new file mode 100644 index 000000000000..66eb0ddd9e47 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/VolumeGroups_Get_SapHana.json @@ -0,0 +1,222 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeGroupName": "group1" + }, + "responses": { + "200": { + "body": { + "name": "group1", + "type": "Microsoft.NetApp/netAppAccounts/volumeGroups", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/volumeGroups/group1", + "location": "eastus", + "properties": { + "groupMetaData": { + "applicationIdentifier": "SH9", + "applicationType": "SAP-HANA", + "groupDescription": "Volume group", + "volumesCount": 5 + }, + "provisioningState": "Succeeded", + "volumes": [ + { + "name": "account1/pool1/test-data-mnt00001", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-data-mnt00001", + "properties": { + "creationToken": "test-data-mnt00001", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "provisioningState": "Succeeded", + "proximityPlacementGroup": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "data" + } + }, + { + "name": "account1/pool1/test-log-mnt00001", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-log-mnt00001", + "properties": { + "creationToken": "test-log-mnt00001", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "provisioningState": "Succeeded", + "proximityPlacementGroup": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "log" + } + }, + { + "name": "account1/pool1/test-shared", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-shared", + "properties": { + "creationToken": "test-shared", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "provisioningState": "Succeeded", + "proximityPlacementGroup": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "shared" + } + }, + { + "name": "account1/pool1/test-data-backup", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-data-backup", + "properties": { + "creationToken": "test-data-backup", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "provisioningState": "Succeeded", + "proximityPlacementGroup": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "data-backup" + } + }, + { + "name": "account1/pool1/test-log-backup", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-log-backup", + "properties": { + "creationToken": "test-log-backup", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "provisioningState": "Succeeded", + "proximityPlacementGroup": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "log-backup" + } + } + ] + } + } + } + }, + "operationId": "VolumeGroups_Get", + "title": "VolumeGroups_Get_SapHana" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/VolumeGroups_List_Oracle.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/VolumeGroups_List_Oracle.json new file mode 100644 index 000000000000..98ffea0f0eb8 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/VolumeGroups_List_Oracle.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "group1", + "type": "Microsoft.NetApp/netAppAccounts/volumeGroups", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/volumeGroups/group1", + "location": "eastus", + "properties": { + "groupMetaData": { + "applicationIdentifier": "DEV", + "applicationType": "ORACLE", + "groupDescription": "Volume group", + "volumesCount": 12 + }, + "provisioningState": "Succeeded" + } + } + ] + } + } + }, + "operationId": "VolumeGroups_ListByNetAppAccount", + "title": "VolumeGroups_List_Oracle" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/VolumeGroups_List_SapHana.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/VolumeGroups_List_SapHana.json new file mode 100644 index 000000000000..458b84219148 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/VolumeGroups_List_SapHana.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "group1", + "type": "Microsoft.NetApp/netAppAccounts/volumeGroups", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/volumeGroups/group1", + "location": "eastus", + "properties": { + "groupMetaData": { + "applicationIdentifier": "SH9", + "applicationType": "SAP-HANA", + "groupDescription": "Volume group", + "volumesCount": 5 + }, + "provisioningState": "Succeeded" + } + } + ] + } + } + }, + "operationId": "VolumeGroups_ListByNetAppAccount", + "title": "VolumeGroups_List_SapHana" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/VolumeQuotaRules_Create.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/VolumeQuotaRules_Create.json new file mode 100644 index 000000000000..0724c55a6fca --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/VolumeQuotaRules_Create.json @@ -0,0 +1,54 @@ +{ + "parameters": { + "accountName": "account-9957", + "api-version": "2025-09-01-preview", + "body": { + "location": "westus", + "properties": { + "quotaSizeInKiBs": 100005, + "quotaTarget": "1821", + "quotaType": "IndividualUserQuota" + } + }, + "poolName": "pool-5210", + "resourceGroupName": "myRG", + "subscriptionId": "5275316f-a498-48d6-b324-2cbfdc4311b9", + "volumeName": "volume-6387", + "volumeQuotaRuleName": "rule-0004" + }, + "responses": { + "200": { + "body": { + "name": "account-9957/pool-5210/volume-6387/rule-0004", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/volumeQuotaRules", + "id": "/subscriptions/5275316f-a498-48d6-b324-2cbfdc4311b9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account-9957/capacityPools/pool-5210/volumes/volume-6387/volumeQuotaRules/rule-0004", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "quotaSizeInKiBs": 100005, + "quotaTarget": "1821", + "quotaType": "IndividualUserQuota" + } + } + }, + "201": { + "body": { + "name": "account-9957/pool-5210/volume-6387/rule-0004", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/volumeQuotaRules", + "id": "/subscriptions/5275316f-a498-48d6-b324-2cbfdc4311b9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account-9957/capacityPools/pool-5210/volumes/volume-6387/volumeQuotaRules/rule-0004", + "location": "westus", + "properties": { + "provisioningState": "Creating", + "quotaSizeInKiBs": 100005, + "quotaTarget": "1821", + "quotaType": "IndividualUserQuota" + } + }, + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + } + }, + "operationId": "VolumeQuotaRules_Create", + "title": "VolumeQuotaRules_Create" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/VolumeQuotaRules_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/VolumeQuotaRules_Delete.json new file mode 100644 index 000000000000..69bb681ed1fe --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/VolumeQuotaRules_Delete.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "accountName": "account-9957", + "api-version": "2025-09-01-preview", + "poolName": "pool-5210", + "resourceGroupName": "myRG", + "subscriptionId": "5275316f-a498-48d6-b324-2cbfdc4311b9", + "volumeName": "volume-6387", + "volumeQuotaRuleName": "rule-0004" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/5275316f-a498-48d6-b324-2cbfdc4311b9/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + }, + "204": {} + }, + "operationId": "VolumeQuotaRules_Delete", + "title": "VolumeQuotaRules_Delete" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/VolumeQuotaRules_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/VolumeQuotaRules_Get.json new file mode 100644 index 000000000000..f17dbc26616c --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/VolumeQuotaRules_Get.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "accountName": "account-9957", + "api-version": "2025-09-01-preview", + "poolName": "pool-5210", + "resourceGroupName": "myRG", + "subscriptionId": "5275316f-a498-48d6-b324-2cbfdc4311b9", + "volumeName": "volume-6387", + "volumeQuotaRuleName": "rule-0004" + }, + "responses": { + "200": { + "body": { + "name": "account-9957/pool-5210/volume-6387/rule-0004", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/volumeQuotaRules", + "id": "/subscriptions/5275316f-a498-48d6-b324-2cbfdc4311b9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account-9957/capacityPools/pool-5210/volumes/volume-6387/volumeQuotaRules/rule-0004", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "quotaSizeInKiBs": 100005, + "quotaTarget": "1821", + "quotaType": "IndividualUserQuota" + } + } + } + }, + "operationId": "VolumeQuotaRules_Get", + "title": "VolumeQuotaRules_Get" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/VolumeQuotaRules_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/VolumeQuotaRules_List.json new file mode 100644 index 000000000000..1f931729f642 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/VolumeQuotaRules_List.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "accountName": "account-9957", + "api-version": "2025-09-01-preview", + "poolName": "pool-5210", + "resourceGroupName": "myRG", + "subscriptionId": "5275316f-a498-48d6-b324-2cbfdc4311b9", + "volumeName": "volume-6387", + "volumeQuotaRuleName": "rule-0004" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "account-9957/pool-5210/volume-6387/rule-0004", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/volumeQuotaRules", + "id": "/subscriptions/5275316f-a498-48d6-b324-2cbfdc4311b9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account-9957/capacityPools/pool-5210/volumes/volume-6387/volumeQuotaRules/rule-0004", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "quotaSizeInKiBs": 100005, + "quotaTarget": "1821", + "quotaType": "IndividualUserQuota" + } + } + ] + } + } + }, + "operationId": "VolumeQuotaRules_ListByVolume", + "title": "VolumeQuotaRules_List" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/VolumeQuotaRules_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/VolumeQuotaRules_Update.json new file mode 100644 index 000000000000..1002c54df6b8 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/VolumeQuotaRules_Update.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "accountName": "account-9957", + "api-version": "2025-09-01-preview", + "body": { + "properties": { + "quotaSizeInKiBs": 100009 + } + }, + "poolName": "pool-5210", + "resourceGroupName": "myRG", + "subscriptionId": "5275316f-a498-48d6-b324-2cbfdc4311b9", + "volumeName": "volume-6387", + "volumeQuotaRuleName": "rule-0004" + }, + "responses": { + "200": { + "body": { + "name": "account-9957/pool-5210/volume-6387/rule-0004", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/volumeQuotaRules", + "id": "/subscriptions/5275316f-a498-48d6-b324-2cbfdc4311b9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account-9957/capacityPools/pool-5210/volumes/volume-6387/volumeQuotaRules/rule-0004", + "location": "westus", + "properties": { + "provisioningState": "Patching", + "quotaSizeInKiBs": 100005, + "quotaTarget": "1821", + "quotaType": "IndividualUserQuota" + } + } + }, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/5275316f-a498-48d6-b324-2cbfdc4311b9/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + } + }, + "operationId": "VolumeQuotaRules_Update", + "title": "VolumeQuotaRules_Update" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_AuthorizeExternalReplication.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_AuthorizeExternalReplication.json new file mode 100644 index 000000000000..12bd8bb711fe --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_AuthorizeExternalReplication.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": { + "body": { + "svmPeeringCommand": "vserver peer accept -vserver OnPremSvm -peer-vserver AnfSvm" + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + } + }, + "operationId": "Volumes_AuthorizeExternalReplication", + "title": "Volumes_AuthorizeExternalReplication" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_AuthorizeReplication.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_AuthorizeReplication.json new file mode 100644 index 000000000000..841f6302df37 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_AuthorizeReplication.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "body": { + "remoteVolumeResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRemoteRG/providers/Microsoft.NetApp/netAppAccounts/remoteAccount1/capacityPools/remotePool1/volumes/remoteVolume1" + }, + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + } + }, + "operationId": "Volumes_AuthorizeReplication", + "title": "Volumes_AuthorizeReplication" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_BreakFileLocks.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_BreakFileLocks.json new file mode 100644 index 000000000000..3982b6871d2e --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_BreakFileLocks.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "body": { + "clientIp": "101.102.103.104", + "confirmRunningDisruptiveOperation": true + }, + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + } + }, + "operationId": "Volumes_BreakFileLocks", + "title": "Volumes_BreakFileLocks" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_BreakReplication.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_BreakReplication.json new file mode 100644 index 000000000000..8ed991a395db --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_BreakReplication.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "body": { + "forceBreakReplication": false + }, + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + } + }, + "operationId": "Volumes_BreakReplication", + "title": "Volumes_BreakReplication" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_CreateOrUpdate.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_CreateOrUpdate.json new file mode 100644 index 000000000000..016a9208b2c1 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_CreateOrUpdate.json @@ -0,0 +1,60 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "body": { + "location": "eastus", + "properties": { + "creationToken": "my-unique-file-path", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "usageThreshold": 107374182400 + } + }, + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": { + "body": { + "name": "account1/pool1/volume1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1", + "location": "eastus", + "properties": { + "creationToken": "my-unique-file-path", + "encryptionKeySource": "Microsoft.NetApp", + "fileSystemId": "00000000-0000-0000-0000-000000000000", + "provisioningState": "Succeeded", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 128, + "usageThreshold": 107374182400 + } + } + }, + "201": { + "body": { + "name": "account1/pool1/volume1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1", + "location": "eastus", + "properties": { + "creationToken": "my-unique-file-path", + "encryptionKeySource": "Microsoft.NetApp", + "fileSystemId": "00000000-0000-0000-0000-000000000000", + "provisioningState": "Succeeded", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 128, + "usageThreshold": 107374182400 + } + } + }, + "202": {} + }, + "operationId": "Volumes_CreateOrUpdate", + "title": "Volumes_CreateOrUpdate" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_Delete.json new file mode 100644 index 000000000000..52c072828e8b --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_Delete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + }, + "204": {} + }, + "operationId": "Volumes_Delete", + "title": "Volumes_Delete" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_DeleteReplication.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_DeleteReplication.json new file mode 100644 index 000000000000..a69557c8b065 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_DeleteReplication.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "body": { + "location": "eastus", + "properties": {} + }, + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + } + }, + "operationId": "Volumes_DeleteReplication", + "title": "Volumes_DeleteReplication" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_ExtraLargeVolumes_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_ExtraLargeVolumes_Get.json new file mode 100644 index 000000000000..961c702c8f41 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_ExtraLargeVolumes_Get.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9", + "resourceGroupName": "myRG", + "accountName": "account1", + "poolName": "pool1", + "volumeName": "volume1", + "api-version": "2025-09-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1", + "name": "account1/pool1/volume1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "location": "eastus", + "properties": { + "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca7778", + "coolAccess": true, + "creationToken": "my-unique-file-path", + "isLargeVolume": true, + "largeVolumeType": "ExtraLargeVolume7Dot2PiB", + "usageThreshold": 109951162777600, + "serviceLevel": "Premium", + "provisioningState": "Succeeded", + "actualThroughputMibps": 128, + "subnetId": "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "networkFeatures": "Basic", + "effectiveNetworkFeatures": "Standard", + "networkSiblingSetId": "0f434a03-ce0b-4935-81af-d98652ffb1c4", + "storageToNetworkProximity": "T2", + "coolAccessTieringPolicy": "SnapshotOnly" + } + } + } + }, + "operationId": "Volumes_Get", + "title": "Volumes_ExtralargeVolumeGet" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_ExtraLargeVolumes_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_ExtraLargeVolumes_List.json new file mode 100644 index 000000000000..cac00413c856 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_ExtraLargeVolumes_List.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9", + "resourceGroupName": "myRG", + "accountName": "account1", + "poolName": "pool1", + "api-version": "2025-09-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1", + "name": "account1/pool1/volume1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "location": "eastus", + "properties": { + "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca7778", + "coolAccess": true, + "creationToken": "my-unique-file-path", + "isLargeVolume": true, + "largeVolumeType": "ExtraLargeVolume7Dot2PiB", + "usageThreshold": 109951162777600, + "serviceLevel": "Premium", + "provisioningState": "Succeeded", + "actualThroughputMibps": 128, + "subnetId": "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "networkFeatures": "Basic", + "effectiveNetworkFeatures": "Standard", + "networkSiblingSetId": "0f434a03-ce0b-4935-81af-d98652ffb1c4", + "storageToNetworkProximity": "T2", + "coolAccessTieringPolicy": "SnapshotOnly" + } + } + ] + } + } + }, + "operationId": "Volumes_List", + "title": "Volumes_ExtralargeVolumeList" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_FinalizeExternalReplication.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_FinalizeExternalReplication.json new file mode 100644 index 000000000000..f3288cd24c9d --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_FinalizeExternalReplication.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + } + }, + "operationId": "Volumes_FinalizeExternalReplication", + "title": "Volumes_FinalizeExternalReplication" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_FinalizeRelocation.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_FinalizeRelocation.json new file mode 100644 index 000000000000..76898c51bf4a --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_FinalizeRelocation.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "body": { + "location": "eastus", + "properties": {} + }, + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2024-03-01&operationResultResponseType=Location" + } + } + }, + "operationId": "Volumes_FinalizeRelocation", + "title": "Volumes_FinalizeRelocation" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_Get.json new file mode 100644 index 000000000000..44ca345be724 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_Get.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": { + "body": { + "name": "account1/pool1/volume1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1", + "location": "eastus", + "properties": { + "creationToken": "my-unique-file-path", + "fileSystemId": "00000000-0000-0000-0000-000000000000", + "networkFeatures": "Standard", + "networkSiblingSetId": "0f434a03-ce0b-4935-81af-d98652ffb1c4", + "provisioningState": "Succeeded", + "serviceLevel": "Premium", + "storageToNetworkProximity": "T2", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 128, + "usageThreshold": 107374182400 + } + } + } + }, + "operationId": "Volumes_Get", + "title": "Volumes_Get" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_LatestBackupStatus.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_LatestBackupStatus.json new file mode 100644 index 000000000000..9a75dc0cde57 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_LatestBackupStatus.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": { + "body": { + "errorMessage": "", + "healthy": true, + "lastTransferSize": 100000, + "lastTransferType": "", + "mirrorState": "Mirrored", + "relationshipStatus": "Idle", + "totalTransferBytes": 100000, + "unhealthyReason": "" + } + } + }, + "operationId": "Backups_GetLatestStatus", + "title": "Volumes_BackupStatus" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_LatestRestoreStatus.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_LatestRestoreStatus.json new file mode 100644 index 000000000000..bf9270b0e4bf --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_LatestRestoreStatus.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": { + "body": { + "errorMessage": "", + "healthy": true, + "mirrorState": "Uninitialized", + "relationshipStatus": "Idle", + "totalTransferBytes": 100000, + "unhealthyReason": "" + } + } + }, + "operationId": "Backups_GetVolumeLatestRestoreStatus", + "title": "Volumes_RestoreStatus" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_List.json new file mode 100644 index 000000000000..0b8226f4e7c9 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_List.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "account1/pool1/volume1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1", + "location": "eastus", + "properties": { + "creationToken": "my-unique-file-path", + "fileSystemId": "00000000-0000-0000-0000-000000000000", + "networkFeatures": "Standard", + "networkSiblingSetId": "0f434a03-ce0b-4935-81af-d98652ffb1c4", + "provisioningState": "Succeeded", + "serviceLevel": "Premium", + "storageToNetworkProximity": "T2", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 128, + "usageThreshold": 107374182400 + } + } + ] + } + } + }, + "operationId": "Volumes_List", + "title": "Volumes_List" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_ListQuotaReport.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_ListQuotaReport.json new file mode 100644 index 000000000000..73ffd0bbc08b --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_ListQuotaReport.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "isDerivedQuota": false, + "percentageUsed": 5, + "quotaLimitTotalInKiBs": 204914688, + "quotaLimitUsedInKiBs": 8192, + "quotaTarget": "1013", + "quotaType": "IndividualUserQuota" + }, + { + "isDerivedQuota": false, + "percentageUsed": 5, + "quotaLimitTotalInKiBs": 204914688, + "quotaLimitUsedInKiBs": 8192, + "quotaTarget": "1012", + "quotaType": "IndividualGroupQuota" + } + ] + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + } + }, + "operationId": "Volumes_ListQuotaReport", + "title": "ListQuotaReport" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_ListReplications.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_ListReplications.json new file mode 100644 index 000000000000..961d3f08256a --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_ListReplications.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "accountName": "account1", + "poolName": "pool1", + "volumeName": "volume1", + "api-version": "2025-09-01-preview", + "body": { + "exclude": "None" + } + }, + "responses": { + "200": { + "body": { + "value": [ + { + "replicationSchedule": "daily", + "remoteVolumeResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account-5999/capacityPools/pool-0977/volumes/volume-4508", + "remoteVolumeRegion": "westus", + "mirrorState": "Mirrored", + "replicationCreationTime": "2017-08-15T13:23:33Z", + "replicationDeletionTime": "2017-08-16T13:23:33Z" + } + ] + } + } + }, + "operationId": "Volumes_ListReplications", + "title": "Volumes_ListReplications" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_PeerExternalCluster.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_PeerExternalCluster.json new file mode 100644 index 000000000000..a81fc10ce5b3 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_PeerExternalCluster.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "body": { + "peerIpAddresses": [ + "0.0.0.1", + "0.0.0.2", + "0.0.0.3", + "0.0.0.4", + "0.0.0.5", + "0.0.0.6" + ] + }, + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": { + "body": { + "peerAcceptCommand": "cluster peer create -ipspace replication -encryption-protocol-proposed tls-psk -passphrase passphraseString -peer-addrs 1.1.1.1,1.1.1.2,1.1.1.3,1.1.1.4,1.1.1.5,1.1.1.6" + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + } + }, + "operationId": "Volumes_PeerExternalCluster", + "title": "Volumes_PeerExternalCluster" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_PerformReplicationTransfer.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_PerformReplicationTransfer.json new file mode 100644 index 000000000000..a55e0ad15013 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_PerformReplicationTransfer.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "body": { + "location": "eastus", + "properties": {} + }, + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + } + }, + "operationId": "Volumes_PerformReplicationTransfer", + "title": "Volumes_PerformReplicationTransfer" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_PoolChange.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_PoolChange.json new file mode 100644 index 000000000000..77c53fe3cb1b --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_PoolChange.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "body": { + "newPoolResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1" + }, + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + } + }, + "operationId": "Volumes_PoolChange", + "title": "Volumes_AuthorizeReplication" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_PopulateAvailabilityZones.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_PopulateAvailabilityZones.json new file mode 100644 index 000000000000..561189aaa848 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_PopulateAvailabilityZones.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": { + "body": { + "name": "account1/pool1/volume1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1", + "location": "eastus", + "properties": { + "creationToken": "my-unique-file-path", + "fileSystemId": "00000000-0000-0000-0000-000000000000", + "networkFeatures": "Standard", + "networkSiblingSetId": "0f434a03-ce0b-4935-81af-d98652ffb1c4", + "provisioningState": "Succeeded", + "serviceLevel": "Premium", + "storageToNetworkProximity": "T2", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 128, + "usageThreshold": 107374182400 + } + } + }, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + } + }, + "operationId": "Volumes_PopulateAvailabilityZone", + "title": "Volumes_PopulateAvailabilityZones" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_ReInitializeReplication.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_ReInitializeReplication.json new file mode 100644 index 000000000000..dada53b31824 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_ReInitializeReplication.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "body": { + "location": "eastus", + "properties": {} + }, + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + } + }, + "operationId": "Volumes_ReInitializeReplication", + "title": "Volumes_ReInitializeReplication" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_ReestablishReplication.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_ReestablishReplication.json new file mode 100644 index 000000000000..376e4695e781 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_ReestablishReplication.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "body": { + "sourceVolumeId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mySourceRG/providers/Microsoft.NetApp/netAppAccounts/sourceAccount1/capacityPools/sourcePool1/volumes/sourceVolume1" + }, + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + } + }, + "operationId": "Volumes_ReestablishReplication", + "title": "Volumes_ReestablishReplication" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_Relocate.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_Relocate.json new file mode 100644 index 000000000000..e00549640d79 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_Relocate.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "body": {}, + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + } + }, + "operationId": "Volumes_Relocate", + "title": "Volumes_Relocate" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_ReplicationStatus.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_ReplicationStatus.json new file mode 100644 index 000000000000..fd0b2d2a0158 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_ReplicationStatus.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "body": { + "location": "eastus", + "properties": {} + }, + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": { + "body": { + "errorMessage": "", + "healthy": true, + "mirrorState": "Mirrored", + "relationshipStatus": "Idle", + "totalProgress": "1048576" + } + } + }, + "operationId": "Volumes_ReplicationStatus", + "title": "Volumes_ReplicationStatus" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_ResetCifsPassword.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_ResetCifsPassword.json new file mode 100644 index 000000000000..349c135c862f --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_ResetCifsPassword.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "body": { + "location": "eastus", + "properties": {} + }, + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + } + }, + "operationId": "Volumes_ResetCifsPassword", + "title": "Volumes_ResetCifsPassword" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_ResyncReplication.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_ResyncReplication.json new file mode 100644 index 000000000000..1dd81e2e8bf9 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_ResyncReplication.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "body": { + "location": "eastus", + "properties": {} + }, + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + } + }, + "operationId": "Volumes_ResyncReplication", + "title": "Volumes_ResyncReplication" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_Revert.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_Revert.json new file mode 100644 index 000000000000..2f00e9d2c506 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_Revert.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "body": { + "snapshotId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/snapshots/snapshot1" + }, + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + } + }, + "operationId": "Volumes_Revert", + "title": "Volumes_Revert" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_RevertRelocation.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_RevertRelocation.json new file mode 100644 index 000000000000..60d4492216b2 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_RevertRelocation.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "body": { + "location": "eastus", + "properties": {} + }, + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + } + }, + "operationId": "Volumes_RevertRelocation", + "title": "Volumes_RevertRelocation" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_SplitClone.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_SplitClone.json new file mode 100644 index 000000000000..352063360670 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_SplitClone.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": { + "body": { + "name": "account1/pool1/volume1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1", + "location": "eastus", + "properties": { + "acceptGrowCapacityPoolForShortTermCloneSplit": "Accepted", + "creationToken": "my-unique-file-path", + "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca7778", + "networkFeatures": "Standard", + "networkSiblingSetId": "0f434a03-ce0b-4935-81af-d98652ffb1c4", + "provisioningState": "Succeeded", + "serviceLevel": "Premium", + "snapshotId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/snapshots/snap1", + "storageToNetworkProximity": "T2", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 128, + "usageThreshold": 107374182400 + } + } + }, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + } + }, + "operationId": "Volumes_SplitCloneFromParent", + "title": "Volumes_SplitClone" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_Update.json new file mode 100644 index 000000000000..d8fd97b3b0a4 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01-preview/Volumes_Update.json @@ -0,0 +1,45 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "body": {}, + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": { + "body": { + "name": "account1/pool1/volume1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroup/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1", + "location": "eastus", + "properties": { + "creationToken": "my-unique-file-path", + "dataProtection": { + "snapshot": { + "snapshotPolicyId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.NetApp/netAppAccounts/account1/snapshotPolicies/snapshotPolicy1" + } + }, + "fileSystemId": "00000000-0000-0000-0000-000000000000", + "networkFeatures": "Standard", + "networkSiblingSetId": "0f434a03-ce0b-4935-81af-d98652ffb1c4", + "provisioningState": "Succeeded", + "serviceLevel": "Premium", + "storageToNetworkProximity": "T2", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 128, + "usageThreshold": 107374182400 + } + } + }, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + } + }, + "operationId": "Volumes_Update", + "title": "Volumes_Update" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Accounts_ChangeKeyVault.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Accounts_ChangeKeyVault.json new file mode 100644 index 000000000000..f875e0996504 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Accounts_ChangeKeyVault.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "body": { + "keyName": "rsakey", + "keyVaultPrivateEndpoints": [ + { + "privateEndpointId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.Network/privateEndpoints/privip1", + "virtualNetworkId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.Network/virtualNetworks/vnet1" + } + ], + "keyVaultResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.KeyVault/managedHSMs/my-hsm", + "keyVaultUri": "https://my-key-vault.managedhsm.azure.net" + }, + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/a0216c17-f9d6-4b99-9faf-9ebd4883d0e4?api-version=2025-09-01&operationResultResponseType=Location" + } + } + }, + "operationId": "Accounts_ChangeKeyVault", + "title": "Accounts_ChangeKeyVault" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Accounts_CreateOrUpdate.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Accounts_CreateOrUpdate.json new file mode 100644 index 000000000000..299b5155598a --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Accounts_CreateOrUpdate.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "body": { + "location": "eastus", + "properties": {} + }, + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "account1", + "type": "Microsoft.NetApp/netAppAccounts", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "name": "account1", + "type": "Microsoft.NetApp/netAppAccounts", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1", + "location": "eastus", + "properties": { + "provisioningState": "Creating" + } + } + } + }, + "operationId": "Accounts_CreateOrUpdate", + "title": "Accounts_CreateOrUpdate" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Accounts_CreateOrUpdateAD.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Accounts_CreateOrUpdateAD.json new file mode 100644 index 000000000000..76dd7836b2ce --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Accounts_CreateOrUpdateAD.json @@ -0,0 +1,83 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "body": { + "location": "eastus", + "properties": { + "activeDirectories": [ + { + "aesEncryption": true, + "dns": "10.10.10.3", + "domain": "10.10.10.3", + "ldapOverTLS": false, + "ldapSigning": false, + "organizationalUnit": "OU=Engineering", + "password": "ad_password", + "site": "SiteName", + "smbServerName": "SMBServer", + "username": "ad_user_name" + } + ] + } + }, + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "account1", + "type": "Microsoft.NetApp/netAppAccounts", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1", + "location": "eastus", + "properties": { + "activeDirectories": [ + { + "activeDirectoryId": "503d38f9-f17c-f92d-ef26-b0d46374534b", + "aesEncryption": true, + "dns": "10.10.10.3", + "domain": "10.10.10.3", + "ldapOverTLS": false, + "ldapSigning": false, + "organizationalUnit": "OU=Engineering", + "password": null, + "site": "SiteName", + "smbServerName": "SMBServer", + "username": "ad_user_name" + } + ], + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "name": "account1", + "type": "Microsoft.NetApp/netAppAccounts", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1", + "location": "eastus", + "properties": { + "activeDirectories": [ + { + "activeDirectoryId": "503d38f9-f17c-f92d-ef26-b0d46374534b", + "aesEncryption": true, + "dns": "10.10.10.3", + "domain": "10.10.10.3", + "ldapOverTLS": false, + "ldapSigning": false, + "organizationalUnit": "OU=Engineering", + "password": null, + "site": "SiteName", + "smbServerName": "SMBServer", + "username": "ad_user_name" + } + ], + "provisioningState": "Creating" + } + } + } + }, + "operationId": "Accounts_CreateOrUpdate", + "title": "Accounts_CreateOrUpdateWithActiveDirectory" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Accounts_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Accounts_Delete.json new file mode 100644 index 000000000000..88ac921bf0a0 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Accounts_Delete.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01&operationResultResponseType=Location" + } + }, + "204": {} + }, + "operationId": "Accounts_Delete", + "title": "Accounts_Delete" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Accounts_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Accounts_Get.json new file mode 100644 index 000000000000..b94f5887b2b2 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Accounts_Get.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "account1", + "type": "Microsoft.NetApp/netAppAccounts", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1", + "location": "eastus", + "properties": { + "activeDirectories": [ + { + "activeDirectoryId": "02da3711-6c58-2d64-098a-e3af7afaf936", + "aesEncryption": true, + "dns": "10.10.10.3", + "domain": "10.10.10.3", + "ldapSigning": true, + "organizationalUnit": "OU=Engineering", + "site": "SiteName", + "smbServerName": "SMBServer", + "status": "InUse", + "statusDetails": "Status Details", + "username": "ad_user_name" + } + ], + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "Accounts_Get", + "title": "Accounts_Get" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Accounts_GetChangeKeyVaultInformation.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Accounts_GetChangeKeyVaultInformation.json new file mode 100644 index 000000000000..8a1a6d585fa0 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Accounts_GetChangeKeyVaultInformation.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "properties": { + "keyName": "rsakey", + "keyVaultPrivateEndpoints": [ + { + "privateEndpointId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.Network/privateEndpoints/privip1", + "virtualNetworkId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.Network/virtualNetworks/vnet1" + } + ], + "keyVaultResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.KeyVault/managedHSMs/my-hsm", + "keyVaultUri": "https://my-key-vault.managedhsm.azure.net" + } + } + }, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01&operationResultResponseType=Location" + } + } + }, + "operationId": "Accounts_GetChangeKeyVaultInformation", + "title": "Accounts_GetChangeKeyVaultInformation" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Accounts_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Accounts_List.json new file mode 100644 index 000000000000..9f7994f4cebc --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Accounts_List.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2025-09-01", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "account1", + "type": "Microsoft.NetApp/netAppAccounts", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded" + } + } + ] + } + } + }, + "operationId": "Accounts_List", + "title": "Accounts_List" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Accounts_ListBySubscription.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Accounts_ListBySubscription.json new file mode 100644 index 000000000000..e295e1bd0d36 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Accounts_ListBySubscription.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2025-09-01", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "account1", + "type": "Microsoft.NetApp/netAppAccounts", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded" + } + } + ] + } + } + }, + "operationId": "Accounts_ListBySubscription", + "title": "Accounts_ListBySubscription" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Accounts_RenewCredentials.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Accounts_RenewCredentials.json new file mode 100644 index 000000000000..5e745ee10c0c --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Accounts_RenewCredentials.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "body": {}, + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/a0216c17-f9d6-4b99-9faf-9ebd4883d0e4?api-version=2025-09-01&operationResultResponseType=Location" + } + } + }, + "operationId": "Accounts_RenewCredentials", + "title": "Accounts_RenewCredentials" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Accounts_TransitionEncryptionKey.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Accounts_TransitionEncryptionKey.json new file mode 100644 index 000000000000..48a56a917bd2 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Accounts_TransitionEncryptionKey.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "body": { + "privateEndpointId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.Network/privateEndpoints/privip1", + "virtualNetworkId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.Network/virtualNetworks/vnet1" + }, + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/a0216c17-f9d6-4b99-9faf-9ebd4883d0e4?api-version=2025-09-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/a0216c17-f9d6-4b99-9faf-9ebd4883d0e4?api-version=2025-09-01&operationResultResponseType=Location" + } + } + }, + "operationId": "Accounts_TransitionToCmk", + "title": "Accounts_MigrateEncryptionKey" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Accounts_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Accounts_Update.json new file mode 100644 index 000000000000..4428d6e377ec --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Accounts_Update.json @@ -0,0 +1,48 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "body": { + "tags": { + "Tag1": "Value1" + } + }, + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "account1", + "type": "Microsoft.NetApp/netAppAccounts", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded" + } + } + }, + "202": { + "body": { + "name": "account1", + "type": "Microsoft.NetApp/netAppAccounts", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1", + "location": "eastus", + "properties": { + "encryption": { + "keySource": "Microsoft.NetApp" + }, + "provisioningState": "Patching" + }, + "tags": { + "Tag1": "Value1" + } + }, + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/a0216c17-f9d6-4b99-9faf-9ebd4883d0e4?api-version=2025-09-01&operationResultResponseType=Location" + } + } + }, + "operationId": "Accounts_Update", + "title": "Accounts_Update" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/BackupPolicies_Create.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/BackupPolicies_Create.json new file mode 100644 index 000000000000..dc0866827776 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/BackupPolicies_Create.json @@ -0,0 +1,53 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "backupPolicyName": "backupPolicyName", + "body": { + "location": "westus", + "properties": { + "dailyBackupsToKeep": 10, + "enabled": true, + "monthlyBackupsToKeep": 10, + "weeklyBackupsToKeep": 10 + } + }, + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "account1/backupPolicyName", + "type": "Microsoft.NetApp/netAppAccounts/backupPolicies", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupPolicies/backupPolicyName", + "location": "westus", + "properties": { + "dailyBackupsToKeep": 10, + "enabled": true, + "monthlyBackupsToKeep": 10, + "provisioningState": "creating", + "weeklyBackupsToKeep": 10 + } + } + }, + "201": { + "body": { + "name": "account1/backupPolicyName", + "type": "Microsoft.NetApp/netAppAccounts/backupPolicies", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupPolicies/backupPolicyName", + "location": "westus", + "properties": { + "dailyBackupsToKeep": 10, + "enabled": true, + "monthlyBackupsToKeep": 10, + "provisioningState": "creating", + "weeklyBackupsToKeep": 10 + } + } + }, + "202": {} + }, + "operationId": "BackupPolicies_Create", + "title": "BackupPolicies_Create" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/BackupPolicies_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/BackupPolicies_Delete.json new file mode 100644 index 000000000000..45948dbc5250 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/BackupPolicies_Delete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "accountName": "accountName", + "api-version": "2025-09-01", + "backupPolicyName": "backupPolicyName", + "resourceGroupName": "resourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01&operationResultResponseType=Location" + } + }, + "204": {} + }, + "operationId": "BackupPolicies_Delete", + "title": "BackupPolicies_Delete" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/BackupPolicies_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/BackupPolicies_Get.json new file mode 100644 index 000000000000..c22fc93409e6 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/BackupPolicies_Get.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "backupPolicyName": "backupPolicyName", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "account1/backupPolicyName", + "type": "Microsoft.NetApp/netAppAccounts/backupPolicies", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupPolocies/backupPolicyName", + "location": "eastus", + "properties": { + "dailyBackupsToKeep": 10, + "enabled": true, + "monthlyBackupsToKeep": 10, + "volumeBackups": [ + { + "backupsCount": 5, + "policyEnabled": true, + "volumeName": "volume 1" + } + ], + "volumesAssigned": 0, + "weeklyBackupsToKeep": 10 + } + } + } + }, + "operationId": "BackupPolicies_Get", + "title": "Backups_Get" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/BackupPolicies_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/BackupPolicies_List.json new file mode 100644 index 000000000000..84a756f907c4 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/BackupPolicies_List.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "account1/backupPolicy1", + "type": "Microsoft.NetApp/netAppAccounts/backupPolicies", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupPolocies/backupPolicy1", + "location": "eastus", + "properties": { + "dailyBackupsToKeep": 10, + "enabled": true, + "monthlyBackupsToKeep": 10, + "volumesAssigned": 0, + "weeklyBackupsToKeep": 10 + } + } + ] + } + } + }, + "operationId": "BackupPolicies_List", + "title": "BackupPolicies_List" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/BackupPolicies_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/BackupPolicies_Update.json new file mode 100644 index 000000000000..28109f034e72 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/BackupPolicies_Update.json @@ -0,0 +1,72 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "backupPolicyName": "backupPolicyName", + "body": { + "location": "westus", + "properties": { + "dailyBackupsToKeep": 5, + "enabled": false, + "monthlyBackupsToKeep": 10, + "weeklyBackupsToKeep": 10 + } + }, + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "account1/backupPolicyName", + "type": "Microsoft.NetApp/netAppAccounts/backupPolicies", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupPolocies/backupPolicyName", + "location": "westus", + "properties": { + "dailyBackupsToKeep": 5, + "enabled": false, + "monthlyBackupsToKeep": 10, + "provisioningState": "Succeeded", + "volumeBackups": [ + { + "backupsCount": 5, + "policyEnabled": true, + "volumeName": "volume 1" + } + ], + "volumesAssigned": 1, + "weeklyBackupsToKeep": 10 + } + } + }, + "202": { + "body": { + "name": "account1/backupPolicyName", + "type": "Microsoft.NetApp/netAppAccounts/backupPolicies", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupPolocies/backupPolicyName", + "location": "westus", + "properties": { + "dailyBackupsToKeep": 5, + "enabled": false, + "monthlyBackupsToKeep": 10, + "provisioningState": "Succeeded", + "volumeBackups": [ + { + "backupsCount": 5, + "policyEnabled": true, + "volumeName": "volume 1" + } + ], + "volumesAssigned": 1, + "weeklyBackupsToKeep": 10 + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/18c499e1-2a3c-441c-950e-4b456c991c18?api-version=2025-09-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/18c499e1-2a3c-441c-950e-4b456c991c18?api-version=2025-09-01&operationResultResponseType=Location" + } + } + }, + "operationId": "BackupPolicies_Update", + "title": "BackupPolicies_Update" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/BackupVaults_Create.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/BackupVaults_Create.json new file mode 100644 index 000000000000..9b3d5175743a --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/BackupVaults_Create.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "backupVaultName": "backupVault1", + "body": { + "location": "eastus" + }, + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "account1/backupVault1", + "type": "Microsoft.NetApp/netAppAccounts/backupVaults", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupVaults/backupVault1", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "name": "account1/backupVault1", + "type": "Microsoft.NetApp/netAppAccounts/backupVaults", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupVaults/backupVault1", + "location": "eastus", + "properties": { + "provisioningState": "Creating" + } + } + } + }, + "operationId": "BackupVaults_CreateOrUpdate", + "title": "BackupVault_CreateOrUpdate" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/BackupVaults_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/BackupVaults_Delete.json new file mode 100644 index 000000000000..663b59a3a687 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/BackupVaults_Delete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "backupVaultName": "backupVault1", + "resourceGroupName": "resourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01&operationResultResponseType=Location" + } + }, + "204": {} + }, + "operationId": "BackupVaults_Delete", + "title": "BackupVaults_Delete" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/BackupVaults_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/BackupVaults_Get.json new file mode 100644 index 000000000000..fd2a788b9598 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/BackupVaults_Get.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "backupVaultName": "backupVault1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "account1/backupVault1", + "type": "Microsoft.NetApp/netAppAccounts/backupVaults", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupVaults/backupVault1", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded" + }, + "tags": { + "Tag1": "Value1" + } + } + } + }, + "operationId": "BackupVaults_Get", + "title": "BackupVaults_Get" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/BackupVaults_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/BackupVaults_List.json new file mode 100644 index 000000000000..8ad7ee06448c --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/BackupVaults_List.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "account1/backupVault1", + "type": "Microsoft.NetApp/netAppAccounts/backupVaults", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupVaults/backupVault1", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded" + }, + "tags": { + "Tag1": "Value1" + } + } + ] + } + } + }, + "operationId": "BackupVaults_ListByNetAppAccount", + "title": "BackupVaults_List" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/BackupVaults_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/BackupVaults_Update.json new file mode 100644 index 000000000000..0aa984ce4428 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/BackupVaults_Update.json @@ -0,0 +1,50 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "backupVaultName": "backupVault1", + "body": { + "tags": { + "Tag1": "Value1" + } + }, + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "account1/backupVault1", + "type": "Microsoft.NetApp/netAppAccounts/backupVaults", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupVaults/backupVault1", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded" + }, + "tags": { + "Tag1": "Value1" + } + } + }, + "202": { + "body": { + "name": "account1/backupVault1", + "type": "Microsoft.NetApp/netAppAccounts/backupVaults", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupVaults/backupVault1", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded" + }, + "tags": { + "Tag1": "Value1" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/18c499e1-2a3c-441c-950e-4b456c991c18?api-version=2025-09-01&operationResultResponseType=Location" + } + } + }, + "operationId": "BackupVaults_Update", + "title": "BackupVaults_Update" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/BackupsUnderAccount_Migrate.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/BackupsUnderAccount_Migrate.json new file mode 100644 index 000000000000..4070ad01b0b3 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/BackupsUnderAccount_Migrate.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "body": { + "backupVaultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupVaults/backupVault1" + }, + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01&operationResultResponseType=Location" + } + } + }, + "operationId": "BackupsUnderAccount_MigrateBackups", + "title": "BackupsUnderAccount_Migrate" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/BackupsUnderBackupVault_Create.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/BackupsUnderBackupVault_Create.json new file mode 100644 index 000000000000..9c52da72e6f4 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/BackupsUnderBackupVault_Create.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "backupName": "backup1", + "backupVaultName": "backupVault1", + "body": { + "properties": { + "label": "myLabel", + "volumeResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPool/pool1/volumes/volume1" + } + }, + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "account1/backupVault1/backup1", + "type": "Microsoft.NetApp/netAppAccounts/backupVaults/backups", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupVaults/backupVault1/backups/backup1", + "properties": { + "backupType": "Manual", + "creationDate": "2017-08-15T13:23:33Z", + "label": "myLabel", + "provisioningState": "Succeeded", + "size": 10011, + "snapshotName": "backup1", + "volumeResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPool/pool1/volumes/volume1" + } + } + }, + "201": { + "body": { + "name": "account1/backupVault1/backup1", + "type": "Microsoft.NetApp/netAppAccounts/backupVaults/backups", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupVaults/backupVault1/backups/backup1", + "properties": { + "backupType": "Manual", + "creationDate": "2017-08-15T13:23:33Z", + "label": "myLabel", + "provisioningState": "Succeeded", + "size": 10011, + "snapshotName": "backup1", + "volumeResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPool/pool1/volumes/volume1" + } + } + } + }, + "operationId": "Backups_Create", + "title": "BackupsUnderBackupVault_Create" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/BackupsUnderBackupVault_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/BackupsUnderBackupVault_Delete.json new file mode 100644 index 000000000000..dc44fc101cd0 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/BackupsUnderBackupVault_Delete.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "backupName": "backup1", + "backupVaultName": "backupVault1", + "resourceGroupName": "resourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01&operationResultResponseType=Location" + } + }, + "204": {} + }, + "operationId": "Backups_Delete", + "title": "BackupsUnderBackupVault_Delete" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/BackupsUnderBackupVault_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/BackupsUnderBackupVault_Get.json new file mode 100644 index 000000000000..879044026f77 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/BackupsUnderBackupVault_Get.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "backupName": "backup1", + "backupVaultName": "backupVault1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "account1/backupVault1/backup1", + "type": "Microsoft.NetApp/netAppAccounts/backupVaults/backups", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupVaults/backupVault1/backups/backup1", + "properties": { + "backupPolicyResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupPolicies/policy1", + "backupType": "Manual", + "completionDate": "2017-08-15T13:23:33Z", + "creationDate": "2017-08-15T13:23:33Z", + "label": "myLabel", + "provisioningState": "Succeeded", + "size": 10011, + "snapshotCreationDate": "2017-08-15T13:23:33Z", + "snapshotName": "backup1", + "volumeResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPool/pool1/volumes/volume1" + } + } + } + }, + "operationId": "Backups_Get", + "title": "BackupsUnderBackupVault_Get" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/BackupsUnderBackupVault_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/BackupsUnderBackupVault_List.json new file mode 100644 index 000000000000..117ed73b2793 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/BackupsUnderBackupVault_List.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "backupVaultName": "backupVault1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "account1/backupVault1/backup1", + "type": "Microsoft.NetApp/netAppAccounts/backupVaults/backups", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupVaults/backupVault1/backups/backup1", + "properties": { + "backupPolicyResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupPolicies/policy1", + "backupType": "Manual", + "completionDate": "2017-08-15T13:23:33Z", + "creationDate": "2017-08-15T13:23:33Z", + "label": "myLabel", + "provisioningState": "Succeeded", + "size": 10011, + "snapshotCreationDate": "2017-08-15T13:23:33Z", + "snapshotName": "backup1", + "volumeResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPool/pool1/volumes/volume1" + } + } + ] + } + } + }, + "operationId": "Backups_ListByVault", + "title": "Backups_List" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/BackupsUnderBackupVault_SingleFileRestore.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/BackupsUnderBackupVault_SingleFileRestore.json new file mode 100644 index 000000000000..15310bee15b0 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/BackupsUnderBackupVault_SingleFileRestore.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "backupName": "backup1", + "backupVaultName": "backupVault1", + "body": { + "destinationVolumeId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1", + "fileList": [ + "/dir1/customer1.db", + "/dir1/customer2.db" + ] + }, + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01&operationResultResponseType=Location" + } + } + }, + "operationId": "BackupsUnderBackupVault_RestoreFiles", + "title": "Backups_SingleFileRestore" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/BackupsUnderBackupVault_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/BackupsUnderBackupVault_Update.json new file mode 100644 index 000000000000..c0ee70eec0c7 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/BackupsUnderBackupVault_Update.json @@ -0,0 +1,51 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "backupName": "backup1", + "backupVaultName": "backupVault1", + "body": {}, + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "account1/backupVault1/backup1", + "type": "Microsoft.NetApp/netAppAccounts/backupVaults/backups", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupVaults/backupVault1/backups/backup1", + "properties": { + "backupType": "Manual", + "creationDate": "2017-08-15T13:23:33Z", + "label": "myLabel", + "provisioningState": "Succeeded", + "size": 10011, + "snapshotName": "backup1", + "volumeResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPool/pool1/volumes/volume1" + } + } + }, + "202": { + "body": { + "name": "account1/backupVault1/backup1", + "type": "Microsoft.NetApp/netAppAccounts/backupVaults/backups", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupVaults/backupVault1/backups/backup1", + "properties": { + "backupType": "Manual", + "creationDate": "2017-08-15T13:23:33Z", + "label": "myLabel", + "provisioningState": "Succeeded", + "size": 10011, + "snapshotName": "backup1", + "volumeResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPool/pool1/volumes/volume1" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/18c499e1-2a3c-441c-950e-4b456c991c18?api-version=2025-09-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/18c499e1-2a3c-441c-950e-4b456c991c18?api-version=2025-09-01&operationResultResponseType=Location" + } + } + }, + "operationId": "Backups_Update", + "title": "BackupsUnderBackupVault_Update" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/BackupsUnderVolume_Migrate.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/BackupsUnderVolume_Migrate.json new file mode 100644 index 000000000000..9028d6012594 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/BackupsUnderVolume_Migrate.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "body": { + "backupVaultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupVaults/backupVault1" + }, + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01&operationResultResponseType=Location" + } + } + }, + "operationId": "BackupsUnderVolume_MigrateBackups", + "title": "BackupsUnderVolume_Migrate" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/CheckFilePathAvailability.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/CheckFilePathAvailability.json new file mode 100644 index 000000000000..bbf1584d662d --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/CheckFilePathAvailability.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-09-01", + "body": { + "name": "my-exact-filepth", + "subnetId": "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3" + }, + "location": "eastus", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "isAvailable": true + } + } + }, + "operationId": "NetAppResource_CheckFilePathAvailability", + "title": "CheckFilePathAvailability" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/CheckNameAvailability.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/CheckNameAvailability.json new file mode 100644 index 000000000000..9680a30606cf --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/CheckNameAvailability.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2025-09-01", + "body": { + "name": "accName", + "type": "Microsoft.NetApp/netAppAccounts", + "resourceGroup": "myRG" + }, + "location": "eastus", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "isAvailable": true + } + } + }, + "operationId": "NetAppResource_CheckNameAvailability", + "title": "CheckNameAvailability" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/CheckQuotaAvailability.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/CheckQuotaAvailability.json new file mode 100644 index 000000000000..aedda922a6df --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/CheckQuotaAvailability.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2025-09-01", + "body": { + "name": "resource1", + "type": "Microsoft.NetApp/netAppAccounts", + "resourceGroup": "myRG" + }, + "location": "eastus", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "isAvailable": true + } + } + }, + "operationId": "NetAppResource_CheckQuotaAvailability", + "title": "CheckQuotaAvailability" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/GroupIdListForLDAPUser.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/GroupIdListForLDAPUser.json new file mode 100644 index 000000000000..dc1c268b19e4 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/GroupIdListForLDAPUser.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "body": { + "username": "user1" + }, + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": { + "body": { + "groupIdsForLdapUser": [ + "123", + "224" + ] + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01&operationResultResponseType=Location" + } + } + }, + "operationId": "Volumes_ListGetGroupIdListForLdapUser", + "title": "GetGroupIdListForUser" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/NetAppResourceQuotaLimitsAccount_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/NetAppResourceQuotaLimitsAccount_Get.json new file mode 100644 index 000000000000..0823f285ffa6 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/NetAppResourceQuotaLimitsAccount_Get.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9", + "resourceGroupName": "myRG", + "accountName": "myAccount", + "quotaLimitName": "poolsPerAccount", + "api-version": "2025-09-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/myAccount/quotaLimits/poolsPerAccount", + "name": "myAccount/poolsPerAccount", + "type": "Microsoft.NetApp/netAppAccounts/quotaLimits", + "properties": { + "current": 10, + "default": 10, + "usage": 10 + } + } + } + }, + "operationId": "NetAppResourceQuotaLimitsAccount_Get", + "title": "QuotaLimits" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/NetAppResourceQuotaLimitsAccount_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/NetAppResourceQuotaLimitsAccount_List.json new file mode 100644 index 000000000000..e42018596793 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/NetAppResourceQuotaLimitsAccount_List.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9", + "resourceGroupName": "myRG", + "accountName": "myAccount", + "api-version": "2025-09-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/myAccount/quotaLimits/poolsPerAccount", + "name": "myAccount/poolsPerAccount", + "type": "Microsoft.NetApp/netAppAccounts/quotaLimits", + "properties": { + "current": 10, + "default": 10, + "usage": 10 + } + } + ] + } + } + }, + "operationId": "NetAppResourceQuotaLimitsAccount_List", + "title": "QuotaLimits" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/NetAppResourceQuotaLimits_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/NetAppResourceQuotaLimits_Get.json new file mode 100644 index 000000000000..74472fc08fd8 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/NetAppResourceQuotaLimits_Get.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "api-version": "2025-09-01", + "location": "eastus", + "quotaLimitName": "totalCoolAccessVolumesPerSubscription", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "eastus/totalCoolAccessVolumesPerSubscription", + "type": "Microsoft.NetApp/locations/quotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/quotaLimits/totalCoolAccessVolumesPerSubscription", + "properties": { + "default": 10, + "current": 10 + } + } + } + }, + "operationId": "NetAppResourceQuotaLimits_Get", + "title": "QuotaLimits" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/NetAppResourceQuotaLimits_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/NetAppResourceQuotaLimits_List.json new file mode 100644 index 000000000000..acac1bfaf66e --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/NetAppResourceQuotaLimits_List.json @@ -0,0 +1,89 @@ +{ + "parameters": { + "api-version": "2025-09-01", + "location": "eastus", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "eastus/accountsPerSubscription", + "type": "Microsoft.NetApp/locations/quotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/quotaLimits/accountsPerSubscription", + "properties": { + "default": 10, + "current": 10 + } + }, + { + "name": "eastus/poolsPerAccount", + "type": "Microsoft.NetApp/locations/quotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/quotaLimits/poolsPerAccount", + "properties": { + "default": 25, + "current": 25 + } + }, + { + "name": "eastus/volumesPerPool", + "type": "Microsoft.NetApp/locations/quotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/quotaLimits/volumesPerPool", + "properties": { + "default": 500, + "current": 500 + } + }, + { + "name": "eastus/snapshotsPerVolume", + "type": "Microsoft.NetApp/locations/quotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/quotaLimits/snapshotsPerVolume", + "properties": { + "default": 255, + "current": 255 + } + }, + { + "name": "eastus/totalTiBsPerSubscription", + "type": "Microsoft.NetApp/locations/quotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/quotaLimits/totalTiBsPerSubscription", + "properties": { + "default": 25, + "current": 1000 + } + }, + { + "name": "eastus/totalDPVolumesPerSubscription", + "type": "Microsoft.NetApp/locations/quotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/quotaLimits/totalDPVolumesPerSubscription", + "properties": { + "default": 10, + "current": 10 + } + }, + { + "name": "eastus/totalVolumesPerSubscription", + "type": "Microsoft.NetApp/locations/quotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/quotaLimits/totalVolumesPerSubscription", + "properties": { + "default": 500, + "current": 500 + } + }, + { + "name": "eastus/totalCoolAccessVolumesPerSubscription", + "type": "Microsoft.NetApp/locations/quotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/quotaLimits/totalCoolAccessVolumesPerSubscription", + "properties": { + "default": 10, + "current": 10 + } + } + ] + } + } + }, + "operationId": "NetAppResourceQuotaLimits_List", + "title": "QuotaLimits" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/NetworkSiblingSet_Query.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/NetworkSiblingSet_Query.json new file mode 100644 index 000000000000..9459cc23af23 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/NetworkSiblingSet_Query.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "api-version": "2025-09-01", + "body": { + "networkSiblingSetId": "9760acf5-4638-11e7-9bdb-020073ca3333", + "subnetId": "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testVnet/subnets/testSubnet" + }, + "location": "eastus", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "networkFeatures": "Standard", + "networkSiblingSetId": "9760acf5-4638-11e7-9bdb-020073ca3333", + "networkSiblingSetStateId": "12345_44420.8001578125", + "nicInfoList": [ + { + "ipAddress": "1.2.3.4", + "volumeResourceIds": [ + "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume10", + "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume11" + ] + }, + { + "ipAddress": "1.2.3.5", + "volumeResourceIds": [ + "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account2/capacityPools/pool2/volumes/volume20", + "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account2/capacityPools/pool2/volumes/volume21" + ] + }, + { + "ipAddress": "1.2.3.9", + "volumeResourceIds": [] + } + ], + "provisioningState": "Succeeded", + "subnetId": "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testVnet/subnets/testSubnet" + } + } + }, + "operationId": "NetAppResource_QueryNetworkSiblingSet", + "title": "NetworkSiblingSet_Query" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/NetworkSiblingSet_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/NetworkSiblingSet_Update.json new file mode 100644 index 000000000000..b27b3b6a5341 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/NetworkSiblingSet_Update.json @@ -0,0 +1,51 @@ +{ + "parameters": { + "api-version": "2025-09-01", + "body": { + "networkFeatures": "Standard", + "networkSiblingSetId": "9760acf5-4638-11e7-9bdb-020073ca3333", + "networkSiblingSetStateId": "12345_44420.8001578125", + "subnetId": "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testVnet/subnets/testSubnet" + }, + "location": "eastus", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "networkFeatures": "Standard", + "networkSiblingSetId": "9760acf5-4638-11e7-9bdb-020073ca3333", + "networkSiblingSetStateId": "12345_44420.8001578125", + "nicInfoList": [ + { + "ipAddress": "1.2.3.4", + "volumeResourceIds": [ + "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume10", + "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume11" + ] + }, + { + "ipAddress": "1.2.3.5", + "volumeResourceIds": [ + "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account2/capacityPools/pool2/volumes/volume20", + "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account2/capacityPools/pool2/volumes/volume21" + ] + }, + { + "ipAddress": "1.2.3.9", + "volumeResourceIds": [] + } + ], + "provisioningState": "Succeeded", + "subnetId": "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testVnet/subnets/testSubnet" + } + }, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/18c499e1-2a3c-441c-950e-4b456c991c18?api-version=2025-09-01&operationResultResponseType=Location" + } + } + }, + "operationId": "NetAppResource_UpdateNetworkSiblingSet", + "title": "NetworkFeatures_Update" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/OperationList.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/OperationList.json new file mode 100644 index 000000000000..3b4348d10448 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/OperationList.json @@ -0,0 +1,1567 @@ +{ + "parameters": { + "api-version": "2025-09-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.NetApp/register/action", + "display": { + "description": "Subscription Registration Action", + "operation": "Subscription Registration Action", + "provider": "Microsoft.NetApp", + "resource": "Subscription" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/read", + "display": { + "description": "Reads a volume resource.", + "operation": "Read volume resource", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Volumes resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/write", + "display": { + "description": "Writes a volume resource.", + "operation": "Write volume resource", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Volumes resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/delete", + "display": { + "description": "Deletes a volume resource.", + "operation": "Delete volume resource", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Volumes resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/Revert/action", + "display": { + "description": "Revert volume to specific snapshot", + "operation": "Revert volume resource", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Volumes resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/BreakReplication/action", + "display": { + "description": "Break volume replication relations", + "operation": "Break volume replication resource", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Volumes resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/ReplicationStatus/action", + "display": { + "description": "Reads the statuses of the Volume Replication.", + "operation": "Read Volume Replication Status.", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Volumes resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/ListReplications/action", + "display": { + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Volumes resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/ReInitializeReplication/action", + "display": { + "description": "Attempts to re-initialize an uninitialized replication", + "operation": "Re-Initialize replication", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Volumes resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/providers/Microsoft.Insights/metricDefinitions/read", + "display": { + "description": "Gets the available metrics for Volume resource.", + "operation": "Read volume metric definitions.", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Volumes resource type" + }, + "origin": "system", + "properties": { + "serviceSpecification": { + "metricSpecifications": [ + { + "name": "AverageReadLatency", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Average read latency in milliseconds per operation", + "displayName": "Average read latency", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "AverageReadLatency", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "MilliSeconds" + }, + { + "name": "AverageWriteLatency", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Average write latency in milliseconds per operation", + "displayName": "Average write latency", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "AverageWriteLatency", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "MilliSeconds" + }, + { + "name": "VolumeLogicalSize", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Logical size of the volume (used bytes)", + "displayName": "Volume Consumed Size", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "VolumeLogicalSize", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "Bytes" + }, + { + "name": "VolumeSnapshotSize", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Size of all snapshots in volume", + "displayName": "Volume snapshot size", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "VolumeSnapshotSize", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "Bytes" + }, + { + "name": "ReadIops", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Read In/out operations per second", + "displayName": "Read iops", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "ReadIops", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "CountPerSecond" + }, + { + "name": "WriteIops", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Write In/out operations per second", + "displayName": "Write iops", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "WriteIops", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "CountPerSecond" + }, + { + "name": "VolumeAllocatedSize", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "The provisioned size of a volume", + "displayName": "Volume allocated size", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "VolumeAllocatedSize", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "Bytes" + }, + { + "name": "VolumeCoolTierSize", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Volume Footprint for Cool Tier", + "displayName": "Volume cool tier size", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "VolumeCoolTierSize", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "Bytes" + }, + { + "name": "VolumeCoolTierDataReadSize", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Data read in using GET per volume", + "displayName": "Volume cool tier data read size", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "VolumeCoolTierDataReadSize", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "Bytes" + }, + { + "name": "VolumeCoolTierDataWriteSize", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Data tiered out using PUT per volume", + "displayName": "Volume cool tier data write size", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "VolumeCoolTierDataWriteSize", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "Bytes" + }, + { + "name": "XregionReplicationLastTransferDuration", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "The amount of time in seconds it took for the last transfer to complete.", + "displayName": "Volume replication last transfer duration", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "XregionReplicationLastTransferDuration", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "Seconds" + }, + { + "name": "XregionReplicationLastTransferSize", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "The total number of bytes transferred as part of the last transfer.", + "displayName": "Volume replication last transfer size", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "XregionReplicationLastTransferSize", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "Bytes" + }, + { + "name": "XregionReplicationHealthy", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Condition of the relationship, 1 or 0.", + "displayName": "Is volume replication status healthy", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "XregionReplicationHealthy", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "Count" + }, + { + "name": "XregionReplicationLagTime", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "The amount of time in seconds by which the data on the mirror lags behind the source.", + "displayName": "Volume replication lag time", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "XregionReplicationLagTime", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "Seconds" + }, + { + "name": "XregionReplicationTotalTransferBytes", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Cumulative bytes transferred for the relationship.", + "displayName": "Volume replication total transfer", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "XregionReplicationTotalTransferBytes", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "Bytes" + }, + { + "name": "XregionReplicationRelationshipProgress", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Total amount of data transferred for the current transfer operation.", + "displayName": "Volume replication progress", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "XregionReplicationRelationshipProgress", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "Bytes" + }, + { + "name": "XregionReplicationRelationshipTransferring", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Whether the status of the Volume Replication is 'transferring'.", + "displayName": "Is volume replication transferring", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "XregionReplicationRelationshipTransferring", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "Count" + }, + { + "name": "CbsVolumeLogicalBackupBytes", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Total bytes backed up for this Volume.", + "displayName": "Volume Backup Bytes", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "CbsVolumeLogicalBackupBytes", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "Bytes" + }, + { + "name": "CbsVolumeProtected", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Is backup enabled for the volume? 1 if yes, 0 if no.", + "displayName": "Is Volume Backup Enabled", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "CbsVolumeProtected", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "Count" + }, + { + "name": "CbsVolumeBackupActive", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Is the backup policy suspended for the volume? 0 if yes, 1 if no.", + "displayName": "Is Volume Backup suspended", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "CbsVolumeBackupActive", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "Count" + }, + { + "name": "CbsVolumeOperationTransferredBytes", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Total bytes transferred for last backup or restore operation.", + "displayName": "Volume Backup Last Transferred Bytes", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "CbsVolumeOperationTransferredBytes", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "Bytes" + }, + { + "name": "CbsVolumeOperationComplete", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Did the last volume backup or restore operation complete successfully? 1 if yes, 0 if no.", + "displayName": "Is Volume Backup Operation Complete", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "CbsVolumeOperationComplete", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "Count" + }, + { + "name": "VolumeConsumedSizePercentage", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "The percentage of the volume consumed including snapshots.", + "displayName": "Percentage Volume Consumed Size", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "VolumeConsumedSizePercentage", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "Percent" + }, + { + "name": "OtherThroughput", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Other throughput (that is not read or write) in bytes per second", + "displayName": "Other throughput", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "OtherThroughput", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "BytesPerSecond" + }, + { + "name": "ReadThroughput", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Read throughput in bytes per second", + "displayName": "Read throughput", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "ReadThroughput", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "BytesPerSecond" + }, + { + "name": "TotalThroughput", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Sum of all throughput in bytes per second", + "displayName": "Total throughput", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "TotalThroughput", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "BytesPerSecond" + }, + { + "name": "WriteThroughput", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Write throughput in bytes per second", + "displayName": "Write throughput", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "WriteThroughput", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "BytesPerSecond" + } + ] + } + } + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/providers/Microsoft.Insights/diagnosticSettings/read", + "display": { + "description": "Gets the diagnostic setting for the resource.", + "operation": "Read diagnostic setting.", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Volumes resource type" + }, + "origin": "system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/providers/Microsoft.Insights/diagnosticSettings/write", + "display": { + "description": "Creates or updates the diagnostic setting for the resource.", + "operation": "Write diagnostic setting.", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Volumes resource type" + }, + "origin": "system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/AuthorizeReplication/action", + "display": { + "description": "Authorize the source volume replication", + "operation": "Authorize Replication", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Volumes resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/ResyncReplication/action", + "display": { + "description": "Resync the replication on the destination volume", + "operation": "Resync Replication", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Volumes resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/DeleteReplication/action", + "display": { + "description": "Delete the replication on the destination volume", + "operation": "Delete Replication", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Volumes resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/ReplicationStatus/read", + "display": { + "description": "Reads the statuses of the Volume Replication.", + "operation": "Read Volume Replication Status.", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Volumes resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/MountTargets/read", + "display": { + "description": "Reads a mount target resource.", + "operation": "Read mount target resource", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Volumes resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/BackupStatus/read", + "display": { + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Volumes resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/RestoreStatus/read", + "display": { + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Volumes resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/PoolChange/action", + "display": { + "description": "Moves volume to another pool.", + "operation": "Change pool for volume", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Volumes resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/RelocateVolume/action", + "display": { + "description": "Relocate volume to a new stamp.", + "operation": "Relocate volume to a new stamp.", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Volumes resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/FinalizeRelocation/action", + "display": { + "description": "Finalize relocation by cleaning up the old volume.", + "operation": "Finalize relocation of volume.", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Volumes resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/RevertRelocation/action", + "display": { + "description": "Revert the relocation and revert back to the old volume.", + "operation": "Revert the relocation of volume.", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Volumes resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/read", + "display": { + "description": "Reads an account resource.", + "operation": "Read account resource", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Accounts resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/write", + "display": { + "description": "Writes an account resource.", + "operation": "Write account resource", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Accounts resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/delete", + "display": { + "description": "Deletes a account resource.", + "operation": "Delete account resource", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Accounts resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/RenewCredentials/action", + "display": { + "description": "Renews MSI credentials of account, if account has MSI credentials that are due for renewal.", + "operation": "Renew MSI credentials, if possible.", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Accounts resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/read", + "display": { + "description": "Reads a pool resource.", + "operation": "Read pool resource", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Pools resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/write", + "display": { + "description": "Writes a pool resource.", + "operation": "Write pool resource", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Pools resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/delete", + "display": { + "description": "Deletes a pool resource.", + "operation": "Delete pool resource", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Pools resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/providers/Microsoft.Insights/metricDefinitions/read", + "display": { + "description": "Gets the available metrics for Volume resource.", + "operation": "Read volume metric definitions.", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Pools resource type" + }, + "origin": "system", + "properties": { + "serviceSpecification": { + "metricSpecifications": [ + { + "name": "VolumePoolAllocatedUsed", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Allocated used size of the pool", + "displayName": "Pool Allocated To Volume Size", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "VolumePoolAllocatedUsed", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "Bytes" + }, + { + "name": "VolumePoolTotalLogicalSize", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Sum of the logical size of all the volumes belonging to the pool", + "displayName": "Pool Consumed Size", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "VolumePoolTotalLogicalSize", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average", + "Total" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "Bytes" + }, + { + "name": "VolumePoolAllocatedSize", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Provisioned size of this pool", + "displayName": "Pool Allocated Size", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "VolumePoolAllocatedSize", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average", + "Total" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "Bytes" + }, + { + "name": "VolumePoolTotalSnapshotSize", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Sum of snapshot size of all volumes in this pool", + "displayName": "Total Snapshot size for the pool", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "VolumePoolTotalSnapshotSize", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "Bytes" + }, + { + "name": "VolumePoolProvisionedThroughput", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Provisioned throughput of this pool", + "displayName": "Provisioned throughput for the pool", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "VolumePoolProvisionedThroughput", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "BytesPerSecond" + }, + { + "name": "VolumePoolAllocatedToVolumeThroughput", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Sum of the throughput of all the volumes belonging to the pool", + "displayName": "Pool allocated throughput", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "VolumePoolAllocatedToVolumeThroughput", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "BytesPerSecond" + } + ] + } + } + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/providers/Microsoft.Insights/logDefinitions/read", + "display": { + "description": "Gets the log definitions for the resource.", + "operation": "Read log definitions.", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Pools resource type" + }, + "origin": "system", + "properties": { + "serviceSpecification": { + "logSpecifications": [ + { + "name": "Autoscale", + "displayName": "Capacity Pool Autoscaled" + } + ] + } + } + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/providers/Microsoft.Insights/diagnosticSettings/read", + "display": { + "description": "Gets the diagnostic setting for the resource.", + "operation": "Read diagnostic setting.", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Pools resource type" + }, + "origin": "system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/providers/Microsoft.Insights/diagnosticSettings/write", + "display": { + "description": "Creates or updates the diagnostic setting for the resource.", + "operation": "Write diagnostic setting.", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Pools resource type" + }, + "origin": "system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots/read", + "display": { + "description": "Reads a snapshot resource.", + "operation": "Read snapshot resource", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Snapshots resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots/write", + "display": { + "description": "Writes a snapshot resource.", + "operation": "Write snapshot resource", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Snapshots resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots/delete", + "display": { + "description": "Deletes a snapshot resource.", + "operation": "Delete snapshot resource", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Snapshots resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots/RestoreFiles/action", + "display": { + "description": "Restores files from a snapshot resource", + "operation": "Single File Snapshot Restore", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Snapshots resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/subvolumes/read", + "display": { + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Subvolume resource type." + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/subvolumes/write", + "display": { + "description": "Write a subvolume resource.", + "operation": "Write subvolume Resource", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Subvolume resource type." + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/subvolumes/delete", + "display": { + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Subvolume resource type." + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/subvolumes/GetMetadata/action", + "display": { + "description": "Read subvolume metadata resource.", + "operation": "Subvolume Metadata resource.", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Subvolume resource type." + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/snapshotPolicies/read", + "display": { + "description": "Reads a snapshot policy resource.", + "operation": "Read snapshot policy resource", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Snapshot Policies resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/snapshotPolicies/write", + "display": { + "description": "Writes a snapshot policy resource.", + "operation": "Write snapshot policy resource", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Snapshot Policies resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/snapshotPolicies/delete", + "display": { + "description": "Deletes a snapshot policy resource.", + "operation": "Delete snapshot policy resource", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Snapshot Policies resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/snapshotPolicies/Volumes/action", + "display": { + "description": "List volumes connected to snapshot policy", + "operation": "List connected volumes", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Snapshot Policies resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/snapshotPolicies/ListVolumes/action", + "display": { + "description": "List volumes connected to snapshot policy", + "operation": "List connected volumes", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Snapshot Policies resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups/read", + "display": { + "description": "Reads a backup resource.", + "operation": "Read backup resource.", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Backup resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups/write", + "display": { + "description": "Writes a backup resource.", + "operation": "Write backup resource.", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Backup resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups/delete", + "display": { + "description": "Deletes a backup resource.", + "operation": "Delete backup resource", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Backup resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/backupPolicies/read", + "display": { + "description": "Reads a backup policy resource.", + "operation": "Read backup policy resource.", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Backup Policy resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/backupPolicies/write", + "display": { + "description": "Writes a backup policy resource.", + "operation": "Write backup policy resource.", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Backup Policy resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/backupPolicies/delete", + "display": { + "description": "Deletes a backup policy resource.", + "operation": "Delete backup policy resource", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Backup Policy resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/vaults/read", + "display": { + "description": "Reads a vault resource.", + "operation": "Read vault resource.", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Vault resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/accountBackups/read", + "display": { + "description": "Reads an account backup resource.", + "operation": "Read an account backup resource.", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Account backup resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/accountBackups/write", + "display": { + "description": "Writes an account backup resource.", + "operation": "Write an account backup resource.", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Account backup resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/accountBackups/delete", + "display": { + "description": "Deletes an account backup resource.", + "operation": "Delete an account backup resource.", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Account backup resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/volumeGroups/read", + "display": { + "description": "Reads a volume group resource.", + "operation": "Read volume group resource", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Volume Group resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/volumeGroups/write", + "display": { + "description": "Writes a volume group resource.", + "operation": "Write volume group resource", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Volume Group resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/volumeGroups/delete", + "display": { + "description": "Deletes a volume group resource.", + "operation": "Delete volume group resource", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Volume Group resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/locations/quotaLimits/read", + "display": { + "description": "Reads a Quotalimit resource type.", + "operation": "Read QuotaLimit resource type", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "QuotaLimit resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/Operations/read", + "display": { + "description": "Reads an operation resources.", + "operation": "Read operation resource", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Operations resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/locations/operationresults/read", + "display": { + "description": "Reads an operation result resource.", + "operation": "Read operation result resource", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Operation results resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/locations/read", + "display": { + "description": "Reads a location wide operation.", + "operation": "Read location wide operation", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Location wide operation" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/locations/checknameavailability/action", + "display": { + "description": "Check if resource name is available", + "operation": "Check if resource name is available", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "NetApp resources" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/locations/checkfilepathavailability/action", + "display": { + "description": "Check if file path is available", + "operation": "Check if file path is available", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Volumes resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/unregister/action", + "display": { + "description": "Unregisters Subscription with Microsoft.NetApp resource provider", + "operation": "Unregister Subscription for Azure NetApp Files", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Subscription" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/locations/checkinventory/action", + "display": { + "description": "Checks ReservedCapacity inventory.", + "operation": "Checks ReservedCapacity inventory.", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "ReservedCapacity reservation resource." + }, + "origin": "user,system" + } + ] + } + } + }, + "operationId": "Operations_List", + "title": "OperationList" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Pools_CreateOrUpdate.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Pools_CreateOrUpdate.json new file mode 100644 index 000000000000..0581a2141d96 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Pools_CreateOrUpdate.json @@ -0,0 +1,53 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "body": { + "location": "eastus", + "properties": { + "qosType": "Auto", + "serviceLevel": "Premium", + "size": 4398046511104 + } + }, + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "account1/pool1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + "location": "eastus", + "properties": { + "poolId": "9760acf5-4638-11e7-9bdb-020073ca7778", + "provisioningState": "Succeeded", + "qosType": "Auto", + "serviceLevel": "Premium", + "size": 4398046511104, + "totalThroughputMibps": 281.474 + } + } + }, + "201": { + "body": { + "name": "account1/pool1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + "location": "eastus", + "properties": { + "poolId": "9760acf5-4638-11e7-9bdb-020073ca7778", + "provisioningState": "Succeeded", + "qosType": "Auto", + "serviceLevel": "Premium", + "size": 4398046511104, + "totalThroughputMibps": 281.474 + } + } + } + }, + "operationId": "Pools_CreateOrUpdate", + "title": "Pools_CreateOrUpdate" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Pools_CreateOrUpdate_CustomThroughput.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Pools_CreateOrUpdate_CustomThroughput.json new file mode 100644 index 000000000000..534e656a8731 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Pools_CreateOrUpdate_CustomThroughput.json @@ -0,0 +1,56 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "body": { + "location": "eastus", + "properties": { + "customThroughputMibps": 128, + "qosType": "Manual", + "serviceLevel": "Flexible", + "size": 4398046511104 + } + }, + "poolName": "customPool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "account1/customPool1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/customPool1", + "location": "eastus", + "properties": { + "customThroughputMibps": 128, + "poolId": "9760acf5-4638-11e7-9bdb-020073ca7778", + "provisioningState": "Succeeded", + "qosType": "Manual", + "serviceLevel": "Flexible", + "size": 4398046511104, + "totalThroughputMibps": 128 + } + } + }, + "201": { + "body": { + "name": "account1/customPool1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/customPool1", + "location": "eastus", + "properties": { + "customThroughputMibps": 128, + "poolId": "9760acf5-4638-11e7-9bdb-020073ca7778", + "provisioningState": "Creating", + "qosType": "Manual", + "serviceLevel": "Flexible", + "size": 4398046511104, + "totalThroughputMibps": 128 + } + } + } + }, + "operationId": "Pools_CreateOrUpdate", + "title": "Pools_CreateOrUpdate_CustomThroughput" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Pools_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Pools_Delete.json new file mode 100644 index 000000000000..1021bcd92e2c --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Pools_Delete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01&operationResultResponseType=Location" + } + }, + "204": {} + }, + "operationId": "Pools_Delete", + "title": "Pools_Delete" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Pools_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Pools_Get.json new file mode 100644 index 000000000000..45b8cc9bb8a6 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Pools_Get.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "account1/pool1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + "location": "eastus", + "properties": { + "poolId": "9760acf5-4638-11e7-9bdb-020073ca7778", + "provisioningState": "Succeeded", + "qosType": "Manual", + "serviceLevel": "Premium", + "size": 4398046511104, + "totalThroughputMibps": 281.474, + "utilizedThroughputMibps": 100.47 + } + } + } + }, + "operationId": "Pools_Get", + "title": "Pools_Get" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Pools_Get_CustomThroughput.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Pools_Get_CustomThroughput.json new file mode 100644 index 000000000000..1ac619f7a46f --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Pools_Get_CustomThroughput.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "poolName": "customPool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "account1/customPool1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/customPool1", + "location": "eastus", + "properties": { + "customThroughputMibps": 128, + "poolId": "9760acf5-4638-11e7-9bdb-020073ca7778", + "provisioningState": "Succeeded", + "qosType": "Manual", + "serviceLevel": "Flexible", + "size": 4398046511104, + "totalThroughputMibps": 128, + "utilizedThroughputMibps": 100.47 + } + } + } + }, + "operationId": "Pools_Get", + "title": "Pools_Get_CustomThroughput" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Pools_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Pools_List.json new file mode 100644 index 000000000000..344ca4b48b68 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Pools_List.json @@ -0,0 +1,49 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "account1/pool1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + "location": "eastus", + "properties": { + "poolId": "9760acf5-4638-11e7-9bdb-020073ca7778", + "provisioningState": "Succeeded", + "qosType": "Auto", + "serviceLevel": "Premium", + "size": 4398046511104, + "totalThroughputMibps": 281.474, + "utilizedThroughputMibps": 100.47 + } + }, + { + "name": "account1/customPool1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/customPool1", + "location": "eastus", + "properties": { + "customThroughputMibps": 128, + "poolId": "9760acf5-4638-11e7-9bdb-020073ca7778", + "provisioningState": "Succeeded", + "qosType": "Manual", + "serviceLevel": "Flexible", + "size": 4398046511104, + "totalThroughputMibps": 128, + "utilizedThroughputMibps": 100.47 + } + } + ] + } + } + }, + "operationId": "Pools_List", + "title": "Pools_List" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Pools_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Pools_Update.json new file mode 100644 index 000000000000..ded1e79f1d19 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Pools_Update.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "body": {}, + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "account1/pool1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + "location": "eastus", + "properties": { + "poolId": "9760acf5-4638-11e7-9bdb-020073ca7778", + "provisioningState": "Succeeded", + "qosType": "Manual", + "serviceLevel": "Premium", + "size": 4398046511104, + "totalThroughputMibps": 281.474, + "utilizedThroughputMibps": 100.47 + } + } + }, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01&operationResultResponseType=Location" + } + } + }, + "operationId": "Pools_Update", + "title": "Pools_Update" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Pools_Update_CustomThroughput.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Pools_Update_CustomThroughput.json new file mode 100644 index 000000000000..c821b447f49f --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Pools_Update_CustomThroughput.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "body": {}, + "poolName": "customPool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "account1/customPool1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/customPool1", + "location": "eastus", + "properties": { + "customThroughputMibps": 128, + "poolId": "9760acf5-4638-11e7-9bdb-020073ca7778", + "provisioningState": "Succeeded", + "qosType": "Manual", + "serviceLevel": "Flexible", + "size": 4398046511104, + "totalThroughputMibps": 128, + "utilizedThroughputMibps": 100.47 + } + } + }, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01&operationResultResponseType=Location" + } + } + }, + "operationId": "Pools_Update", + "title": "Pools_Update_CustomThroughput" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/RegionInfo.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/RegionInfo.json new file mode 100644 index 000000000000..154b7e15a3ae --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/RegionInfo.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "api-version": "2025-09-01", + "location": "eastus", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "availabilityZoneMappings": [ + { + "availabilityZone": "1", + "isAvailable": true + } + ], + "storageToNetworkProximity": "T2" + } + } + }, + "operationId": "NetAppResource_QueryRegionInfo", + "title": "RegionInfo_Query" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/RegionInfos_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/RegionInfos_Get.json new file mode 100644 index 000000000000..0b205f431220 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/RegionInfos_Get.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "api-version": "2025-09-01", + "location": "eastus", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "eastus/default", + "type": "Microsoft.NetApp/locations/regionInfos", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/regionInfos/default", + "properties": { + "availabilityZoneMappings": [ + { + "availabilityZone": "1", + "isAvailable": true + }, + { + "availabilityZone": "2", + "isAvailable": true + }, + { + "availabilityZone": "3", + "isAvailable": true + } + ], + "storageToNetworkProximity": "T2" + } + } + } + }, + "operationId": "NetAppResourceRegionInfos_Get", + "title": "RegionInfos_Get" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/RegionInfos_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/RegionInfos_List.json new file mode 100644 index 000000000000..11e0f922baac --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/RegionInfos_List.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "api-version": "2025-09-01", + "location": "eastus", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "eastus/default", + "type": "Microsoft.NetApp/locations/regionInfos", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/regionInfos/default", + "properties": { + "availabilityZoneMappings": [ + { + "availabilityZone": "1", + "isAvailable": true + }, + { + "availabilityZone": "2", + "isAvailable": true + }, + { + "availabilityZone": "3", + "isAvailable": true + } + ], + "storageToNetworkProximity": "T2" + } + } + ] + } + } + }, + "operationId": "NetAppResourceRegionInfos_List", + "title": "RegionInfos_List" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/SnapshotPolicies_Create.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/SnapshotPolicies_Create.json new file mode 100644 index 000000000000..a8950fc5bfb6 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/SnapshotPolicies_Create.json @@ -0,0 +1,106 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "body": { + "location": "eastus", + "properties": { + "dailySchedule": { + "hour": 14, + "minute": 30, + "snapshotsToKeep": 4 + }, + "enabled": true, + "hourlySchedule": { + "minute": 50, + "snapshotsToKeep": 2 + }, + "monthlySchedule": { + "daysOfMonth": "10,11,12", + "hour": 14, + "minute": 15, + "snapshotsToKeep": 5 + }, + "weeklySchedule": { + "day": "Wednesday", + "hour": 14, + "minute": 45, + "snapshotsToKeep": 3 + } + } + }, + "resourceGroupName": "myRG", + "snapshotPolicyName": "snapshotPolicyName", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "account1/snapshotPolicy1", + "type": "Microsoft.NetApp/netAppAccounts/snapshotPolicies", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/snapshotPolicies/snapshotPolicy1", + "location": "eastus", + "properties": { + "dailySchedule": { + "hour": 14, + "minute": 30, + "snapshotsToKeep": 4 + }, + "enabled": true, + "hourlySchedule": { + "minute": 50, + "snapshotsToKeep": 2 + }, + "monthlySchedule": { + "daysOfMonth": "10,11,12", + "hour": 14, + "minute": 15, + "snapshotsToKeep": 5 + }, + "provisioningState": "Succeeded", + "weeklySchedule": { + "day": "Wednesday", + "hour": 14, + "minute": 45, + "snapshotsToKeep": 3 + } + } + } + }, + "201": { + "body": { + "name": "account1/snapshotPolicy1", + "type": "Microsoft.NetApp/netAppAccounts/snapshotPolicies", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/snapshotPolicies/snapshotPolicy1", + "location": "eastus", + "properties": { + "dailySchedule": { + "hour": 14, + "minute": 30, + "snapshotsToKeep": 4 + }, + "enabled": true, + "hourlySchedule": { + "minute": 50, + "snapshotsToKeep": 2 + }, + "monthlySchedule": { + "daysOfMonth": "10,11,12", + "hour": 14, + "minute": 15, + "snapshotsToKeep": 5 + }, + "provisioningState": "Succeeded", + "weeklySchedule": { + "day": "Wednesday", + "hour": 14, + "minute": 45, + "snapshotsToKeep": 3 + } + } + } + } + }, + "operationId": "SnapshotPolicies_Create", + "title": "SnapshotPolicies_Create" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/SnapshotPolicies_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/SnapshotPolicies_Delete.json new file mode 100644 index 000000000000..248af9bb1d2e --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/SnapshotPolicies_Delete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "accountName": "accountName", + "api-version": "2025-09-01", + "resourceGroupName": "resourceGroup", + "snapshotPolicyName": "snapshotPolicyName", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01&operationResultResponseType=Location" + } + }, + "204": {} + }, + "operationId": "SnapshotPolicies_Delete", + "title": "SnapshotPolicies_Delete" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/SnapshotPolicies_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/SnapshotPolicies_Get.json new file mode 100644 index 000000000000..2ccc8095dc92 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/SnapshotPolicies_Get.json @@ -0,0 +1,46 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "resourceGroupName": "myRG", + "snapshotPolicyName": "snapshotPolicyName", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "account1/snapshotPolicy1", + "type": "Microsoft.NetApp/netAppAccounts/snapshotPolicies", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/snapshotPolicies/snapshotPolicy1", + "location": "eastus", + "properties": { + "dailySchedule": { + "hour": 14, + "minute": 30, + "snapshotsToKeep": 4 + }, + "enabled": true, + "hourlySchedule": { + "minute": 50, + "snapshotsToKeep": 2 + }, + "monthlySchedule": { + "daysOfMonth": "10,11,12", + "hour": 14, + "minute": 15, + "snapshotsToKeep": 5 + }, + "provisioningState": "Succeeded", + "weeklySchedule": { + "day": "Wednesday", + "hour": 14, + "minute": 45, + "snapshotsToKeep": 3 + } + } + } + } + }, + "operationId": "SnapshotPolicies_Get", + "title": "SnapshotPolicies_Get" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/SnapshotPolicies_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/SnapshotPolicies_List.json new file mode 100644 index 000000000000..fbecde641bdf --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/SnapshotPolicies_List.json @@ -0,0 +1,49 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "account1/snapshotPolicy1", + "type": "Microsoft.NetApp/netAppAccounts/snapshotPolicies", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/snapshotPolicies/snapshotPolicy1", + "location": "eastus", + "properties": { + "dailySchedule": { + "hour": 14, + "minute": 30, + "snapshotsToKeep": 4 + }, + "enabled": true, + "hourlySchedule": { + "minute": 50, + "snapshotsToKeep": 2 + }, + "monthlySchedule": { + "daysOfMonth": "10,11,12", + "hour": 14, + "minute": 15, + "snapshotsToKeep": 5 + }, + "provisioningState": "Succeeded", + "weeklySchedule": { + "day": "Wednesday", + "hour": 14, + "minute": 45, + "snapshotsToKeep": 3 + } + } + } + ] + } + } + }, + "operationId": "SnapshotPolicies_List", + "title": "SnapshotPolicies_List" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/SnapshotPolicies_ListVolumes.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/SnapshotPolicies_ListVolumes.json new file mode 100644 index 000000000000..77c0e6a6f457 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/SnapshotPolicies_ListVolumes.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "body": { + "location": "eastus", + "properties": {} + }, + "resourceGroupName": "myRG", + "snapshotPolicyName": "snapshotPolicyName", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "account1/pool1/volume1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1", + "location": "eastus", + "properties": { + "creationToken": "my-unique-file-path", + "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", + "throughputMibps": 128, + "usageThreshold": 107374182400 + } + } + ] + } + } + }, + "operationId": "SnapshotPolicies_ListVolumes", + "title": "SnapshotPolicies_ListVolumes" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/SnapshotPolicies_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/SnapshotPolicies_Update.json new file mode 100644 index 000000000000..d9af98c1cf05 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/SnapshotPolicies_Update.json @@ -0,0 +1,109 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "body": { + "location": "eastus", + "properties": { + "dailySchedule": { + "hour": 14, + "minute": 30, + "snapshotsToKeep": 4 + }, + "enabled": true, + "hourlySchedule": { + "minute": 50, + "snapshotsToKeep": 2 + }, + "monthlySchedule": { + "daysOfMonth": "10,11,12", + "hour": 14, + "minute": 15, + "snapshotsToKeep": 5 + }, + "weeklySchedule": { + "day": "Wednesday", + "hour": 14, + "minute": 45, + "snapshotsToKeep": 3 + } + } + }, + "resourceGroupName": "myRG", + "snapshotPolicyName": "snapshotPolicyName", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "account1/snapshotPolicy1", + "type": "Microsoft.NetApp/netAppAccounts/snapshotPolicies", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/snapshotPolicies/snapshotPolicy1", + "location": "eastus", + "properties": { + "dailySchedule": { + "hour": 14, + "minute": 30, + "snapshotsToKeep": 4 + }, + "enabled": true, + "hourlySchedule": { + "minute": 50, + "snapshotsToKeep": 2 + }, + "monthlySchedule": { + "daysOfMonth": "10,11,12", + "hour": 14, + "minute": 15, + "snapshotsToKeep": 5 + }, + "provisioningState": "Succeeded", + "weeklySchedule": { + "day": "Wednesday", + "hour": 14, + "minute": 45, + "snapshotsToKeep": 3 + } + } + } + }, + "202": { + "body": { + "name": "account1/snapshotPolicy1", + "type": "Microsoft.NetApp/netAppAccounts/snapshotPolicies", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/snapshotPolicies/snapshotPolicy1", + "location": "eastus", + "properties": { + "dailySchedule": { + "hour": 14, + "minute": 30, + "snapshotsToKeep": 4 + }, + "enabled": true, + "hourlySchedule": { + "minute": 50, + "snapshotsToKeep": 2 + }, + "monthlySchedule": { + "daysOfMonth": "10,11,12", + "hour": 14, + "minute": 15, + "snapshotsToKeep": 5 + }, + "provisioningState": "Succeeded", + "weeklySchedule": { + "day": "Wednesday", + "hour": 14, + "minute": 45, + "snapshotsToKeep": 3 + } + } + }, + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/18c499e1-2a3c-441c-950e-4b456c991c18?api-version=2025-09-01&operationResultResponseType=Location" + } + } + }, + "operationId": "SnapshotPolicies_Update", + "title": "SnapshotPolicies_Update" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Snapshots_Create.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Snapshots_Create.json new file mode 100644 index 000000000000..d87f48072983 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Snapshots_Create.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "body": { + "location": "eastus" + }, + "location": "eastus", + "poolName": "pool1", + "resourceGroupName": "myRG", + "snapshotName": "snapshot1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "201": { + "body": { + "name": "account1/pool1/volume1/snapshot1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/snapshots/snapshot1", + "location": "eastus", + "properties": { + "created": "2017-08-15T13:23:33Z", + "provisioningState": "Succeeded", + "snapshotId": "9760acf5-4638-11e7-9bdb-020073ca3333" + } + } + }, + "202": {} + }, + "operationId": "Snapshots_Create", + "title": "Snapshots_Create" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Snapshots_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Snapshots_Delete.json new file mode 100644 index 000000000000..899935325a98 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Snapshots_Delete.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "poolName": "pool1", + "resourceGroupName": "myRG", + "snapshotName": "snapshot1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01&operationResultResponseType=Location" + } + }, + "204": {} + }, + "operationId": "Snapshots_Delete", + "title": "Snapshots_Delete" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Snapshots_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Snapshots_Get.json new file mode 100644 index 000000000000..dcfa8f4616d9 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Snapshots_Get.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "poolName": "pool1", + "resourceGroupName": "myRG", + "snapshotName": "snapshot1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": { + "body": { + "name": "account1/pool1/volume1/snapshot1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/snapshots/snapshot1", + "location": "eastus", + "properties": { + "created": "2017-08-15T13:23:33Z", + "provisioningState": "Succeeded", + "snapshotId": "9760acf5-4638-11e7-9bdb-020073ca3333" + } + } + } + }, + "operationId": "Snapshots_Get", + "title": "Snapshots_Get" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Snapshots_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Snapshots_List.json new file mode 100644 index 000000000000..fd2e7f1c0a82 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Snapshots_List.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "account1/pool1/volume1/snapshot1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/snapshots/snapshot1", + "location": "eastus", + "properties": { + "created": "2017-08-15T13:23:33Z", + "provisioningState": "Succeeded", + "snapshotId": "9760acf5-4638-11e7-9bdb-020073ca3333" + } + } + ] + } + } + }, + "operationId": "Snapshots_List", + "title": "Snapshots_List" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Snapshots_SingleFileRestore.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Snapshots_SingleFileRestore.json new file mode 100644 index 000000000000..085a7dab9169 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Snapshots_SingleFileRestore.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "body": { + "filePaths": [ + "/dir1/customer1.db", + "/dir1/customer2.db" + ] + }, + "poolName": "pool1", + "resourceGroupName": "myRG", + "snapshotName": "snapshot1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01&operationResultResponseType=Location" + } + } + }, + "operationId": "Snapshots_RestoreFiles", + "title": "Snapshots_SingleFileRestore" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Snapshots_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Snapshots_Update.json new file mode 100644 index 000000000000..efe0979090d4 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Snapshots_Update.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "body": {}, + "poolName": "pool1", + "resourceGroupName": "myRG", + "snapshotName": "snapshot1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": { + "body": { + "name": "account1/pool1/volume1/snapshot1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/snapshots/snapshot1", + "location": "eastus", + "properties": { + "created": "2017-08-15T13:23:33Z", + "provisioningState": "Succeeded", + "snapshotId": "9760acf5-4638-11e7-9bdb-020073ca3333" + } + } + }, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01&operationResultResponseType=Location" + } + } + }, + "operationId": "Snapshots_Update", + "title": "Snapshots_Update" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Subvolumes_Create.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Subvolumes_Create.json new file mode 100644 index 000000000000..3a909196fded --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Subvolumes_Create.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "body": { + "properties": { + "path": "/subvolumePath" + } + }, + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "subvolumeName": "subvolume1", + "volumeName": "volume1" + }, + "responses": { + "200": { + "body": { + "name": "account1/pool1/volume1/subvolume1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/subvolumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/subvolumes/subvolume1", + "properties": { + "path": "/subvolumePath", + "provisioningState": "Succeeded", + "size": 0 + } + } + }, + "201": { + "body": { + "name": "account1/pool1/volume1/subvolume1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/subvolumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/subvolumes/subvolume1", + "properties": { + "path": "/subvolumePath", + "provisioningState": "Creating" + } + } + }, + "202": {} + }, + "operationId": "Subvolumes_Create", + "title": "Subvolumes_Create" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Subvolumes_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Subvolumes_Delete.json new file mode 100644 index 000000000000..4200e8157a93 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Subvolumes_Delete.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "subvolumeName": "subvolume1", + "volumeName": "volume1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01&operationResultResponseType=Location" + } + }, + "204": {} + }, + "operationId": "Subvolumes_Delete", + "title": "Subvolumes_Delete" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Subvolumes_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Subvolumes_Get.json new file mode 100644 index 000000000000..322de3ddaf17 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Subvolumes_Get.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "subvolumeName": "subvolume1", + "volumeName": "volume1" + }, + "responses": { + "200": { + "body": { + "name": "account1/pool1/volume1/subvolume1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/subvolumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/subvolumes/subvolume1", + "properties": { + "path": "/pathToSubvol", + "size": 0 + } + } + } + }, + "operationId": "Subvolumes_Get", + "title": "Subvolumes_Get" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Subvolumes_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Subvolumes_List.json new file mode 100644 index 000000000000..ca96a9d97f13 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Subvolumes_List.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "subvolumeName": "subvolume1", + "volumeName": "volume1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "account1/pool1/volume1/subvolume1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/subvolumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/subvolumes/subvolume1", + "properties": { + "path": "/pathToSubvol", + "size": 0 + } + } + ] + } + } + }, + "operationId": "Subvolumes_ListByVolume", + "title": "Subvolumes_List" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Subvolumes_Metadata.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Subvolumes_Metadata.json new file mode 100644 index 000000000000..b487ed1d27c5 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Subvolumes_Metadata.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "subvolumeName": "subvolume1", + "volumeName": "volume1" + }, + "responses": { + "200": { + "body": { + "name": "account1/pool1/volume1/subvolume1/metadata", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/subvolumes/metadata", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/subvolumes/subvolume1/metadata", + "properties": { + "path": "/pathToSubvol", + "accessedTimeStamp": "2017-08-15T13:23:33Z", + "bytesUsed": 5, + "changedTimeStamp": "2017-08-15T13:23:33Z", + "creationTimeStamp": "2017-08-15T13:23:33Z", + "modifiedTimeStamp": "2017-08-15T13:23:33Z", + "permissions": "777", + "size": 5 + } + } + }, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01&operationResultResponseType=Location" + } + } + }, + "operationId": "Subvolumes_GetMetadata", + "title": "Subvolumes_Metadata" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Subvolumes_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Subvolumes_Update.json new file mode 100644 index 000000000000..a3a7e35f3c57 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Subvolumes_Update.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "body": { + "properties": { + "path": "/subvolumePath" + } + }, + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "subvolumeName": "subvolume1", + "volumeName": "volume1" + }, + "responses": { + "200": { + "body": { + "name": "account1/pool1/volume1/subvolume1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/subvolume1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/subvolumes/subvolume1", + "properties": { + "path": "/subvolumePath", + "size": 0 + } + } + }, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01&operationResultResponseType=Location" + } + } + }, + "operationId": "Subvolumes_Update", + "title": "Subvolumes_Update" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Usages_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Usages_Get.json new file mode 100644 index 000000000000..bd3ae1ffd128 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Usages_Get.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2025-09-01", + "location": "eastus", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "usageType": "totalTibsPerSubscription" + }, + "responses": { + "200": { + "body": { + "name": { + "localizedValue": "Total TiBs per subscription", + "value": "totalTibsPerSubscription" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/usages", + "properties": { + "currentValue": 75, + "limit": 100, + "unit": "count" + } + } + } + }, + "operationId": "NetAppResourceUsages_Get", + "title": "Usages_Get" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Usages_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Usages_List.json new file mode 100644 index 000000000000..0973d8b22439 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Usages_List.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "api-version": "2025-09-01", + "location": "eastus", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": { + "localizedValue": "Total TiBs per subscription", + "value": "totalTibsPerSubscription" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/usages", + "properties": { + "currentValue": 75, + "limit": 100, + "unit": "count" + } + } + ] + } + } + }, + "operationId": "NetAppResourceUsages_List", + "title": "Usages_List" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/VolumeGroups_Create_Oracle.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/VolumeGroups_Create_Oracle.json new file mode 100644 index 000000000000..ade4e7709b1b --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/VolumeGroups_Create_Oracle.json @@ -0,0 +1,967 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "body": { + "location": "westus", + "properties": { + "groupMetaData": { + "applicationIdentifier": "OR2", + "applicationType": "ORACLE", + "groupDescription": "Volume group" + }, + "volumes": [ + { + "name": "test-ora-data1", + "properties": { + "capacityPoolResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + "creationToken": "test-ora-data1", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-data1" + }, + "zones": [ + "1" + ] + }, + { + "name": "test-ora-data2", + "properties": { + "capacityPoolResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + "creationToken": "test-ora-data2", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-data2" + }, + "zones": [ + "1" + ] + }, + { + "name": "test-ora-data3", + "properties": { + "capacityPoolResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + "creationToken": "test-ora-data3", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-data3" + }, + "zones": [ + "1" + ] + }, + { + "name": "test-ora-data4", + "properties": { + "capacityPoolResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + "creationToken": "test-ora-data4", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-data4" + }, + "zones": [ + "1" + ] + }, + { + "name": "test-ora-data5", + "properties": { + "capacityPoolResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + "creationToken": "test-ora-data5", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-data5" + }, + "zones": [ + "1" + ] + }, + { + "name": "test-ora-data6", + "properties": { + "capacityPoolResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + "creationToken": "test-ora-data6", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-data6" + }, + "zones": [ + "1" + ] + }, + { + "name": "test-ora-data7", + "properties": { + "capacityPoolResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + "creationToken": "test-ora-data7", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-data7" + }, + "zones": [ + "1" + ] + }, + { + "name": "test-ora-data8", + "properties": { + "capacityPoolResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + "creationToken": "test-ora-data8", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-data8" + }, + "zones": [ + "1" + ] + }, + { + "name": "test-ora-log", + "properties": { + "capacityPoolResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + "creationToken": "test-ora-log", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-log" + }, + "zones": [ + "1" + ] + }, + { + "name": "test-ora-log-mirror", + "properties": { + "capacityPoolResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + "creationToken": "test-ora-log-mirror", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-log-mirror" + }, + "zones": [ + "1" + ] + }, + { + "name": "test-ora-binary", + "properties": { + "capacityPoolResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + "creationToken": "test-ora-binary", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-binary" + }, + "zones": [ + "1" + ] + }, + { + "name": "test-ora-backup", + "properties": { + "capacityPoolResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + "creationToken": "test-ora-backup", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-backup" + }, + "zones": [ + "1" + ] + } + ] + } + }, + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeGroupName": "group1" + }, + "responses": { + "201": { + "body": { + "name": "group1", + "type": "Microsoft.NetApp/netAppAccounts/volumeGroups", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/volumeGroups/group1", + "location": "westus", + "properties": { + "groupMetaData": { + "applicationIdentifier": "OR2", + "applicationType": "ORACLE", + "groupDescription": "Volume group" + }, + "provisioningState": "Creating", + "volumes": [ + { + "name": "test-ora-data1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data1", + "properties": { + "creationToken": "test-ora-data1", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-data1" + }, + "zones": [ + "1" + ] + }, + { + "name": "test-ora-data2", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data2", + "properties": { + "creationToken": "test-ora-data2", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-data2" + }, + "zones": [ + "1" + ] + }, + { + "name": "test-ora-data3", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data3", + "properties": { + "creationToken": "test-ora-data3", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-data3" + }, + "zones": [ + "1" + ] + }, + { + "name": "test-ora-data4", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data4", + "properties": { + "creationToken": "test-ora-data4", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-data4" + }, + "zones": [ + "1" + ] + }, + { + "name": "test-ora-data5", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data5", + "properties": { + "creationToken": "test-ora-data5", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-data5" + }, + "zones": [ + "1" + ] + }, + { + "name": "test-ora-data6", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data6", + "properties": { + "creationToken": "test-ora-data6", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-data6" + }, + "zones": [ + "1" + ] + }, + { + "name": "test-ora-data7", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data7", + "properties": { + "creationToken": "test-ora-data7", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-data7" + }, + "zones": [ + "1" + ] + }, + { + "name": "test-ora-data8", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data8", + "properties": { + "creationToken": "test-ora-data8", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-data8" + }, + "zones": [ + "1" + ] + }, + { + "name": "test-ora-log", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-log", + "properties": { + "creationToken": "test-ora-log", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-log" + }, + "zones": [ + "1" + ] + }, + { + "name": "test-ora-log-mirror", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-log-mirror", + "properties": { + "creationToken": "test-ora-log-mirror", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-log-mirror" + }, + "zones": [ + "1" + ] + }, + { + "name": "test-ora-binary", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-binary", + "properties": { + "creationToken": "test-ora-binary", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-binary" + }, + "zones": [ + "1" + ] + }, + { + "name": "test-ora-backup", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-backup", + "properties": { + "creationToken": "test-ora-backup", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-backup" + }, + "zones": [ + "1" + ] + } + ] + } + } + } + }, + "operationId": "VolumeGroups_Create", + "title": "VolumeGroups_Create_Oracle" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/VolumeGroups_Create_SapHana.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/VolumeGroups_Create_SapHana.json new file mode 100644 index 000000000000..094b45c3ecb7 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/VolumeGroups_Create_SapHana.json @@ -0,0 +1,408 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "body": { + "location": "westus", + "properties": { + "groupMetaData": { + "applicationIdentifier": "SH9", + "applicationType": "SAP-HANA", + "groupDescription": "Volume group" + }, + "volumes": [ + { + "name": "test-data-mnt00001", + "properties": { + "capacityPoolResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + "creationToken": "test-data-mnt00001", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "proximityPlacementGroup": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "data" + } + }, + { + "name": "test-log-mnt00001", + "properties": { + "capacityPoolResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + "creationToken": "test-log-mnt00001", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "proximityPlacementGroup": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "log" + } + }, + { + "name": "test-shared", + "properties": { + "capacityPoolResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + "creationToken": "test-shared", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "proximityPlacementGroup": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "shared" + } + }, + { + "name": "test-data-backup", + "properties": { + "capacityPoolResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + "creationToken": "test-data-backup", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "proximityPlacementGroup": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "data-backup" + } + }, + { + "name": "test-log-backup", + "properties": { + "capacityPoolResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + "creationToken": "test-log-backup", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "proximityPlacementGroup": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "log-backup" + } + } + ] + } + }, + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeGroupName": "group1" + }, + "responses": { + "201": { + "body": { + "name": "group1", + "type": "Microsoft.NetApp/netAppAccounts/volumeGroups", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/volumeGroups/group1", + "location": "westus", + "properties": { + "groupMetaData": { + "applicationIdentifier": "SH9", + "applicationType": "SAP-HANA", + "groupDescription": "Volume group" + }, + "provisioningState": "Creating", + "volumes": [ + { + "name": "test-data-mnt00001", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-data-mnt00001", + "properties": { + "creationToken": "test-data-mnt00001", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "proximityPlacementGroup": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "data" + } + }, + { + "name": "test-log-mnt00001", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-log-mnt00001", + "properties": { + "creationToken": "test-log-mnt00001", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "proximityPlacementGroup": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "log" + } + }, + { + "name": "test-shared", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-shared", + "properties": { + "creationToken": "test-shared", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "proximityPlacementGroup": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "shared" + } + }, + { + "name": "test-data-backup", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-data-backup", + "properties": { + "creationToken": "test-data-backup", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "proximityPlacementGroup": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "data-backup" + } + }, + { + "name": "test-log-backup", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-log-backup", + "properties": { + "creationToken": "test-log-backup", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "proximityPlacementGroup": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "log-backup" + } + } + ] + } + } + } + }, + "operationId": "VolumeGroups_Create", + "title": "VolumeGroups_Create_SapHana" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/VolumeGroups_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/VolumeGroups_Delete.json new file mode 100644 index 000000000000..073d6a6a35fa --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/VolumeGroups_Delete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeGroupName": "group1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01&operationResultResponseType=Location" + } + }, + "204": {} + }, + "operationId": "VolumeGroups_Delete", + "title": "VolumeGroups_Delete" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/VolumeGroups_Get_Oracle.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/VolumeGroups_Get_Oracle.json new file mode 100644 index 000000000000..6c935b475526 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/VolumeGroups_Get_Oracle.json @@ -0,0 +1,512 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeGroupName": "group1" + }, + "responses": { + "200": { + "body": { + "name": "group1", + "type": "Microsoft.NetApp/netAppAccounts/volumeGroups", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/volumeGroups/group1", + "location": "eastus", + "properties": { + "groupMetaData": { + "applicationIdentifier": "OR2", + "applicationType": "ORACLE", + "groupDescription": "Volume group", + "volumesCount": 12 + }, + "provisioningState": "Succeeded", + "volumes": [ + { + "name": "account1/pool1/test-ora-data1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data1", + "properties": { + "creationToken": "test-ora-data1", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "provisioningState": "Succeeded", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-data1" + }, + "zones": [ + "1" + ] + }, + { + "name": "account1/pool1/test-ora-data2", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data2", + "properties": { + "creationToken": "test-ora-data2", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "provisioningState": "Succeeded", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-data2" + }, + "zones": [ + "1" + ] + }, + { + "name": "account1/pool1/test-ora-data3", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data3", + "properties": { + "creationToken": "test-ora-data3", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "provisioningState": "Succeeded", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-data3" + }, + "zones": [ + "1" + ] + }, + { + "name": "account1/pool1/test-ora-data4", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data4", + "properties": { + "creationToken": "test-ora-data4", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "provisioningState": "Succeeded", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-data4" + }, + "zones": [ + "1" + ] + }, + { + "name": "account1/pool1/test-ora-data5", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data5", + "properties": { + "creationToken": "test-ora-data5", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "provisioningState": "Succeeded", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-data5" + }, + "zones": [ + "1" + ] + }, + { + "name": "account1/pool1/test-ora-data6", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data6", + "properties": { + "creationToken": "test-ora-data6", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "provisioningState": "Succeeded", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-data6" + }, + "zones": [ + "1" + ] + }, + { + "name": "account1/pool1/test-ora-data7", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data7", + "properties": { + "creationToken": "test-ora-data7", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "provisioningState": "Succeeded", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-data7" + }, + "zones": [ + "1" + ] + }, + { + "name": "account1/pool1/test-ora-data8", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data8", + "properties": { + "creationToken": "test-ora-data8", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "provisioningState": "Succeeded", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-data8" + }, + "zones": [ + "1" + ] + }, + { + "name": "account1/pool1/test-ora-log", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-log", + "properties": { + "creationToken": "test-ora-log", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "provisioningState": "Succeeded", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-log" + }, + "zones": [ + "1" + ] + }, + { + "name": "account1/pool1/test-ora-log-mirror", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-log-mirror", + "properties": { + "creationToken": "test-ora-log-mirror", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "provisioningState": "Succeeded", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-log-mirror" + }, + "zones": [ + "1" + ] + }, + { + "name": "account1/pool1/test-ora-binary", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-binary", + "properties": { + "creationToken": "test-ora-binary", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "provisioningState": "Succeeded", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-binary" + }, + "zones": [ + "1" + ] + }, + { + "name": "account1/pool1/test-ora-backup", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-backup", + "properties": { + "creationToken": "test-ora-backup", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "provisioningState": "Succeeded", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-backup" + }, + "zones": [ + "1" + ] + } + ] + } + } + } + }, + "operationId": "VolumeGroups_Get", + "title": "VolumeGroups_Get_Oracle" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/VolumeGroups_Get_SapHana.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/VolumeGroups_Get_SapHana.json new file mode 100644 index 000000000000..9d80215375cd --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/VolumeGroups_Get_SapHana.json @@ -0,0 +1,222 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeGroupName": "group1" + }, + "responses": { + "200": { + "body": { + "name": "group1", + "type": "Microsoft.NetApp/netAppAccounts/volumeGroups", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/volumeGroups/group1", + "location": "eastus", + "properties": { + "groupMetaData": { + "applicationIdentifier": "SH9", + "applicationType": "SAP-HANA", + "groupDescription": "Volume group", + "volumesCount": 5 + }, + "provisioningState": "Succeeded", + "volumes": [ + { + "name": "account1/pool1/test-data-mnt00001", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-data-mnt00001", + "properties": { + "creationToken": "test-data-mnt00001", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "provisioningState": "Succeeded", + "proximityPlacementGroup": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "data" + } + }, + { + "name": "account1/pool1/test-log-mnt00001", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-log-mnt00001", + "properties": { + "creationToken": "test-log-mnt00001", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "provisioningState": "Succeeded", + "proximityPlacementGroup": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "log" + } + }, + { + "name": "account1/pool1/test-shared", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-shared", + "properties": { + "creationToken": "test-shared", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "provisioningState": "Succeeded", + "proximityPlacementGroup": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "shared" + } + }, + { + "name": "account1/pool1/test-data-backup", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-data-backup", + "properties": { + "creationToken": "test-data-backup", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "provisioningState": "Succeeded", + "proximityPlacementGroup": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "data-backup" + } + }, + { + "name": "account1/pool1/test-log-backup", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-log-backup", + "properties": { + "creationToken": "test-log-backup", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "provisioningState": "Succeeded", + "proximityPlacementGroup": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "log-backup" + } + } + ] + } + } + } + }, + "operationId": "VolumeGroups_Get", + "title": "VolumeGroups_Get_SapHana" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/VolumeGroups_List_Oracle.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/VolumeGroups_List_Oracle.json new file mode 100644 index 000000000000..9f2fd8e129f5 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/VolumeGroups_List_Oracle.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "group1", + "type": "Microsoft.NetApp/netAppAccounts/volumeGroups", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/volumeGroups/group1", + "location": "eastus", + "properties": { + "groupMetaData": { + "applicationIdentifier": "DEV", + "applicationType": "ORACLE", + "groupDescription": "Volume group", + "volumesCount": 12 + }, + "provisioningState": "Succeeded" + } + } + ] + } + } + }, + "operationId": "VolumeGroups_ListByNetAppAccount", + "title": "VolumeGroups_List_Oracle" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/VolumeGroups_List_SapHana.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/VolumeGroups_List_SapHana.json new file mode 100644 index 000000000000..c7e75d5e2080 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/VolumeGroups_List_SapHana.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "group1", + "type": "Microsoft.NetApp/netAppAccounts/volumeGroups", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/volumeGroups/group1", + "location": "eastus", + "properties": { + "groupMetaData": { + "applicationIdentifier": "SH9", + "applicationType": "SAP-HANA", + "groupDescription": "Volume group", + "volumesCount": 5 + }, + "provisioningState": "Succeeded" + } + } + ] + } + } + }, + "operationId": "VolumeGroups_ListByNetAppAccount", + "title": "VolumeGroups_List_SapHana" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/VolumeQuotaRules_Create.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/VolumeQuotaRules_Create.json new file mode 100644 index 000000000000..1d6217359920 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/VolumeQuotaRules_Create.json @@ -0,0 +1,54 @@ +{ + "parameters": { + "accountName": "account-9957", + "api-version": "2025-09-01", + "body": { + "location": "westus", + "properties": { + "quotaSizeInKiBs": 100005, + "quotaTarget": "1821", + "quotaType": "IndividualUserQuota" + } + }, + "poolName": "pool-5210", + "resourceGroupName": "myRG", + "subscriptionId": "5275316f-a498-48d6-b324-2cbfdc4311b9", + "volumeName": "volume-6387", + "volumeQuotaRuleName": "rule-0004" + }, + "responses": { + "200": { + "body": { + "name": "account-9957/pool-5210/volume-6387/rule-0004", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/volumeQuotaRules", + "id": "/subscriptions/5275316f-a498-48d6-b324-2cbfdc4311b9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account-9957/capacityPools/pool-5210/volumes/volume-6387/volumeQuotaRules/rule-0004", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "quotaSizeInKiBs": 100005, + "quotaTarget": "1821", + "quotaType": "IndividualUserQuota" + } + } + }, + "201": { + "body": { + "name": "account-9957/pool-5210/volume-6387/rule-0004", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/volumeQuotaRules", + "id": "/subscriptions/5275316f-a498-48d6-b324-2cbfdc4311b9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account-9957/capacityPools/pool-5210/volumes/volume-6387/volumeQuotaRules/rule-0004", + "location": "westus", + "properties": { + "provisioningState": "Creating", + "quotaSizeInKiBs": 100005, + "quotaTarget": "1821", + "quotaType": "IndividualUserQuota" + } + }, + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01&operationResultResponseType=Location" + } + } + }, + "operationId": "VolumeQuotaRules_Create", + "title": "VolumeQuotaRules_Create" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/VolumeQuotaRules_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/VolumeQuotaRules_Delete.json new file mode 100644 index 000000000000..029462b047fa --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/VolumeQuotaRules_Delete.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "accountName": "account-9957", + "api-version": "2025-09-01", + "poolName": "pool-5210", + "resourceGroupName": "myRG", + "subscriptionId": "5275316f-a498-48d6-b324-2cbfdc4311b9", + "volumeName": "volume-6387", + "volumeQuotaRuleName": "rule-0004" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/5275316f-a498-48d6-b324-2cbfdc4311b9/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01&operationResultResponseType=Location" + } + }, + "204": {} + }, + "operationId": "VolumeQuotaRules_Delete", + "title": "VolumeQuotaRules_Delete" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/VolumeQuotaRules_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/VolumeQuotaRules_Get.json new file mode 100644 index 000000000000..b395ce1c3c54 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/VolumeQuotaRules_Get.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "accountName": "account-9957", + "api-version": "2025-09-01", + "poolName": "pool-5210", + "resourceGroupName": "myRG", + "subscriptionId": "5275316f-a498-48d6-b324-2cbfdc4311b9", + "volumeName": "volume-6387", + "volumeQuotaRuleName": "rule-0004" + }, + "responses": { + "200": { + "body": { + "name": "account-9957/pool-5210/volume-6387/rule-0004", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/volumeQuotaRules", + "id": "/subscriptions/5275316f-a498-48d6-b324-2cbfdc4311b9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account-9957/capacityPools/pool-5210/volumes/volume-6387/volumeQuotaRules/rule-0004", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "quotaSizeInKiBs": 100005, + "quotaTarget": "1821", + "quotaType": "IndividualUserQuota" + } + } + } + }, + "operationId": "VolumeQuotaRules_Get", + "title": "VolumeQuotaRules_Get" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/VolumeQuotaRules_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/VolumeQuotaRules_List.json new file mode 100644 index 000000000000..80c3e3f28c63 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/VolumeQuotaRules_List.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "accountName": "account-9957", + "api-version": "2025-09-01", + "poolName": "pool-5210", + "resourceGroupName": "myRG", + "subscriptionId": "5275316f-a498-48d6-b324-2cbfdc4311b9", + "volumeName": "volume-6387", + "volumeQuotaRuleName": "rule-0004" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "account-9957/pool-5210/volume-6387/rule-0004", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/volumeQuotaRules", + "id": "/subscriptions/5275316f-a498-48d6-b324-2cbfdc4311b9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account-9957/capacityPools/pool-5210/volumes/volume-6387/volumeQuotaRules/rule-0004", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "quotaSizeInKiBs": 100005, + "quotaTarget": "1821", + "quotaType": "IndividualUserQuota" + } + } + ] + } + } + }, + "operationId": "VolumeQuotaRules_ListByVolume", + "title": "VolumeQuotaRules_List" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/VolumeQuotaRules_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/VolumeQuotaRules_Update.json new file mode 100644 index 000000000000..6a654a9dcb16 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/VolumeQuotaRules_Update.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "accountName": "account-9957", + "api-version": "2025-09-01", + "body": { + "properties": { + "quotaSizeInKiBs": 100009 + } + }, + "poolName": "pool-5210", + "resourceGroupName": "myRG", + "subscriptionId": "5275316f-a498-48d6-b324-2cbfdc4311b9", + "volumeName": "volume-6387", + "volumeQuotaRuleName": "rule-0004" + }, + "responses": { + "200": { + "body": { + "name": "account-9957/pool-5210/volume-6387/rule-0004", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/volumeQuotaRules", + "id": "/subscriptions/5275316f-a498-48d6-b324-2cbfdc4311b9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account-9957/capacityPools/pool-5210/volumes/volume-6387/volumeQuotaRules/rule-0004", + "location": "westus", + "properties": { + "provisioningState": "Patching", + "quotaSizeInKiBs": 100005, + "quotaTarget": "1821", + "quotaType": "IndividualUserQuota" + } + } + }, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/5275316f-a498-48d6-b324-2cbfdc4311b9/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01&operationResultResponseType=Location" + } + } + }, + "operationId": "VolumeQuotaRules_Update", + "title": "VolumeQuotaRules_Update" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_AuthorizeExternalReplication.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_AuthorizeExternalReplication.json new file mode 100644 index 000000000000..1e6ab31a7db9 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_AuthorizeExternalReplication.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": { + "body": { + "svmPeeringCommand": "vserver peer accept -vserver OnPremSvm -peer-vserver AnfSvm" + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01&operationResultResponseType=Location" + } + } + }, + "operationId": "Volumes_AuthorizeExternalReplication", + "title": "Volumes_AuthorizeExternalReplication" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_AuthorizeReplication.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_AuthorizeReplication.json new file mode 100644 index 000000000000..6173d6a31019 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_AuthorizeReplication.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "body": { + "remoteVolumeResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRemoteRG/providers/Microsoft.NetApp/netAppAccounts/remoteAccount1/capacityPools/remotePool1/volumes/remoteVolume1" + }, + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01&operationResultResponseType=Location" + } + } + }, + "operationId": "Volumes_AuthorizeReplication", + "title": "Volumes_AuthorizeReplication" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_BreakFileLocks.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_BreakFileLocks.json new file mode 100644 index 000000000000..d38fcf709a18 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_BreakFileLocks.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "body": { + "clientIp": "101.102.103.104", + "confirmRunningDisruptiveOperation": true + }, + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01&operationResultResponseType=Location" + } + } + }, + "operationId": "Volumes_BreakFileLocks", + "title": "Volumes_BreakFileLocks" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_BreakReplication.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_BreakReplication.json new file mode 100644 index 000000000000..3538520f4795 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_BreakReplication.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "body": { + "forceBreakReplication": false + }, + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01&operationResultResponseType=Location" + } + } + }, + "operationId": "Volumes_BreakReplication", + "title": "Volumes_BreakReplication" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_CreateOrUpdate.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_CreateOrUpdate.json new file mode 100644 index 000000000000..e3bf12c2deed --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_CreateOrUpdate.json @@ -0,0 +1,60 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-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": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": { + "body": { + "name": "account1/pool1/volume1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1", + "location": "eastus", + "properties": { + "creationToken": "my-unique-file-path", + "encryptionKeySource": "Microsoft.NetApp", + "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", + "throughputMibps": 128, + "usageThreshold": 107374182400 + } + } + }, + "201": { + "body": { + "name": "account1/pool1/volume1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1", + "location": "eastus", + "properties": { + "creationToken": "my-unique-file-path", + "encryptionKeySource": "Microsoft.NetApp", + "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", + "throughputMibps": 128, + "usageThreshold": 107374182400 + } + } + }, + "202": {} + }, + "operationId": "Volumes_CreateOrUpdate", + "title": "Volumes_CreateOrUpdate" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_Delete.json new file mode 100644 index 000000000000..421a1f6ff590 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_Delete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01&operationResultResponseType=Location" + } + }, + "204": {} + }, + "operationId": "Volumes_Delete", + "title": "Volumes_Delete" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_DeleteReplication.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_DeleteReplication.json new file mode 100644 index 000000000000..d72990e2672c --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_DeleteReplication.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "body": { + "location": "eastus", + "properties": {} + }, + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01&operationResultResponseType=Location" + } + } + }, + "operationId": "Volumes_DeleteReplication", + "title": "Volumes_DeleteReplication" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_FinalizeExternalReplication.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_FinalizeExternalReplication.json new file mode 100644 index 000000000000..63e15355cc59 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_FinalizeExternalReplication.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01&operationResultResponseType=Location" + } + } + }, + "operationId": "Volumes_FinalizeExternalReplication", + "title": "Volumes_FinalizeExternalReplication" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_FinalizeRelocation.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_FinalizeRelocation.json new file mode 100644 index 000000000000..602157a1ba91 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_FinalizeRelocation.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "body": { + "location": "eastus", + "properties": {} + }, + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01&operationResultResponseType=Location" + } + } + }, + "operationId": "Volumes_FinalizeRelocation", + "title": "Volumes_FinalizeRelocation" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_Get.json new file mode 100644 index 000000000000..5f27a038c53b --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_Get.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": { + "body": { + "name": "account1/pool1/volume1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1", + "location": "eastus", + "properties": { + "creationToken": "my-unique-file-path", + "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca7778", + "networkFeatures": "Standard", + "networkSiblingSetId": "0f434a03-ce0b-4935-81af-d98652ffb1c4", + "provisioningState": "Succeeded", + "serviceLevel": "Premium", + "storageToNetworkProximity": "T2", + "subnetId": "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 128, + "usageThreshold": 107374182400 + } + } + } + }, + "operationId": "Volumes_Get", + "title": "Volumes_Get" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_LatestBackupStatus.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_LatestBackupStatus.json new file mode 100644 index 000000000000..7499f0991a32 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_LatestBackupStatus.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": { + "body": { + "errorMessage": "", + "healthy": true, + "lastTransferSize": 100000, + "lastTransferType": "", + "mirrorState": "Mirrored", + "relationshipStatus": "Idle", + "totalTransferBytes": 100000, + "unhealthyReason": "" + } + } + }, + "operationId": "Backups_GetLatestStatus", + "title": "Volumes_BackupStatus" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_LatestRestoreStatus.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_LatestRestoreStatus.json new file mode 100644 index 000000000000..18fd0cce128f --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_LatestRestoreStatus.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": { + "body": { + "errorMessage": "", + "healthy": true, + "mirrorState": "Uninitialized", + "relationshipStatus": "Idle", + "totalTransferBytes": 100000, + "unhealthyReason": "" + } + } + }, + "operationId": "Backups_GetVolumeLatestRestoreStatus", + "title": "Volumes_RestoreStatus" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_List.json new file mode 100644 index 000000000000..f64b84a95c2f --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_List.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "account1/pool1/volume1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1", + "location": "eastus", + "properties": { + "creationToken": "my-unique-file-path", + "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca7778", + "networkFeatures": "Standard", + "networkSiblingSetId": "0f434a03-ce0b-4935-81af-d98652ffb1c4", + "provisioningState": "Succeeded", + "serviceLevel": "Premium", + "storageToNetworkProximity": "T2", + "subnetId": "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 128, + "usageThreshold": 107374182400 + } + } + ] + } + } + }, + "operationId": "Volumes_List", + "title": "Volumes_List" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_ListQuotaReport.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_ListQuotaReport.json new file mode 100644 index 000000000000..d7672ccbdfac --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_ListQuotaReport.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "isDerivedQuota": false, + "percentageUsed": 5, + "quotaLimitTotalInKiBs": 204914688, + "quotaLimitUsedInKiBs": 8192, + "quotaTarget": "1013", + "quotaType": "IndividualUserQuota" + }, + { + "isDerivedQuota": false, + "percentageUsed": 5, + "quotaLimitTotalInKiBs": 204914688, + "quotaLimitUsedInKiBs": 8192, + "quotaTarget": "1012", + "quotaType": "IndividualGroupQuota" + } + ] + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-07-01-preview", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-07-01-preview&operationResultResponseType=Location" + } + } + }, + "operationId": "Volumes_ListQuotaReport", + "title": "ListQuotaReport" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_ListReplications.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_ListReplications.json new file mode 100644 index 000000000000..e00073b9c3a0 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_ListReplications.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "accountName": "account1", + "poolName": "pool1", + "volumeName": "volume1", + "api-version": "2025-09-01", + "body": { + "exclude": "None" + } + }, + "responses": { + "200": { + "body": { + "value": [ + { + "replicationSchedule": "daily", + "remoteVolumeResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account-5999/capacityPools/pool-0977/volumes/volume-4508", + "remoteVolumeRegion": "westus", + "mirrorState": "Mirrored", + "replicationCreationTime": "2017-08-15T13:23:33Z", + "replicationDeletionTime": "2017-08-16T13:23:33Z" + } + ] + } + } + }, + "operationId": "Volumes_ListReplications", + "title": "Volumes_ListReplications" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_PeerExternalCluster.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_PeerExternalCluster.json new file mode 100644 index 000000000000..27a3402e1071 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_PeerExternalCluster.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "body": { + "peerIpAddresses": [ + "0.0.0.1", + "0.0.0.2", + "0.0.0.3", + "0.0.0.4", + "0.0.0.5", + "0.0.0.6" + ] + }, + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": { + "body": { + "peerAcceptCommand": "cluster peer create -ipspace replication -encryption-protocol-proposed tls-psk -passphrase passphraseString -peer-addrs 1.1.1.1,1.1.1.2,1.1.1.3,1.1.1.4,1.1.1.5,1.1.1.6" + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01&operationResultResponseType=Location" + } + } + }, + "operationId": "Volumes_PeerExternalCluster", + "title": "Volumes_PeerExternalCluster" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_PerformReplicationTransfer.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_PerformReplicationTransfer.json new file mode 100644 index 000000000000..7b257d890d92 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_PerformReplicationTransfer.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "body": { + "location": "eastus", + "properties": {} + }, + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01&operationResultResponseType=Location" + } + } + }, + "operationId": "Volumes_PerformReplicationTransfer", + "title": "Volumes_PerformReplicationTransfer" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_PoolChange.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_PoolChange.json new file mode 100644 index 000000000000..4cb939d04363 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_PoolChange.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "body": { + "newPoolResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1" + }, + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01&operationResultResponseType=Location" + } + } + }, + "operationId": "Volumes_PoolChange", + "title": "Volumes_AuthorizeReplication" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_PopulateAvailabilityZones.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_PopulateAvailabilityZones.json new file mode 100644 index 000000000000..9842ae26ec4e --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_PopulateAvailabilityZones.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": { + "body": { + "name": "account1/pool1/volume1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1", + "location": "eastus", + "properties": { + "creationToken": "my-unique-file-path", + "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca7778", + "networkFeatures": "Standard", + "networkSiblingSetId": "0f434a03-ce0b-4935-81af-d98652ffb1c4", + "provisioningState": "Succeeded", + "serviceLevel": "Premium", + "storageToNetworkProximity": "T2", + "subnetId": "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 128, + "usageThreshold": 107374182400 + } + } + }, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01&operationResultResponseType=Location" + } + } + }, + "operationId": "Volumes_PopulateAvailabilityZone", + "title": "Volumes_PopulateAvailabilityZones" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_ReInitializeReplication.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_ReInitializeReplication.json new file mode 100644 index 000000000000..6be130fcbe00 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_ReInitializeReplication.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "body": { + "location": "eastus", + "properties": {} + }, + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01&operationResultResponseType=Location" + } + } + }, + "operationId": "Volumes_ReInitializeReplication", + "title": "Volumes_ReInitializeReplication" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_ReestablishReplication.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_ReestablishReplication.json new file mode 100644 index 000000000000..e5e2143c196a --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_ReestablishReplication.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "body": { + "sourceVolumeId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mySourceRG/providers/Microsoft.NetApp/netAppAccounts/sourceAccount1/capacityPools/sourcePool1/volumes/sourceVolume1" + }, + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01&operationResultResponseType=Location" + } + } + }, + "operationId": "Volumes_ReestablishReplication", + "title": "Volumes_ReestablishReplication" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_Relocate.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_Relocate.json new file mode 100644 index 000000000000..e3e2dd81b01a --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_Relocate.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "body": {}, + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01&operationResultResponseType=Location" + } + } + }, + "operationId": "Volumes_Relocate", + "title": "Volumes_Relocate" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_ReplicationStatus.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_ReplicationStatus.json new file mode 100644 index 000000000000..f9d89627bbf0 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_ReplicationStatus.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "body": { + "location": "eastus", + "properties": {} + }, + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": { + "body": { + "errorMessage": "", + "healthy": true, + "mirrorState": "Mirrored", + "relationshipStatus": "Idle", + "totalProgress": "1048576" + } + } + }, + "operationId": "Volumes_ReplicationStatus", + "title": "Volumes_ReplicationStatus" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_ResetCifsPassword.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_ResetCifsPassword.json new file mode 100644 index 000000000000..720f2c0eceeb --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_ResetCifsPassword.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "body": { + "location": "eastus", + "properties": {} + }, + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01&operationResultResponseType=Location" + } + } + }, + "operationId": "Volumes_ResetCifsPassword", + "title": "Volumes_ResetCifsPassword" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_ResyncReplication.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_ResyncReplication.json new file mode 100644 index 000000000000..bc3bb139b7f1 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_ResyncReplication.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "body": { + "location": "eastus", + "properties": {} + }, + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01&operationResultResponseType=Location" + } + } + }, + "operationId": "Volumes_ResyncReplication", + "title": "Volumes_ResyncReplication" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_Revert.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_Revert.json new file mode 100644 index 000000000000..0f8f93a8d296 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_Revert.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "body": { + "snapshotId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/snapshots/snapshot1" + }, + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01&operationResultResponseType=Location" + } + } + }, + "operationId": "Volumes_Revert", + "title": "Volumes_Revert" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_RevertRelocation.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_RevertRelocation.json new file mode 100644 index 000000000000..07834daa1c95 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_RevertRelocation.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "body": { + "location": "eastus", + "properties": {} + }, + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01&operationResultResponseType=Location" + } + } + }, + "operationId": "Volumes_RevertRelocation", + "title": "Volumes_RevertRelocation" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_SplitClone.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_SplitClone.json new file mode 100644 index 000000000000..4902cfe58169 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_SplitClone.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": { + "body": { + "name": "account1/pool1/volume1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1", + "location": "eastus", + "properties": { + "acceptGrowCapacityPoolForShortTermCloneSplit": "Accepted", + "creationToken": "my-unique-file-path", + "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca7778", + "networkFeatures": "Standard", + "networkSiblingSetId": "0f434a03-ce0b-4935-81af-d98652ffb1c4", + "provisioningState": "Succeeded", + "serviceLevel": "Premium", + "snapshotId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/snapshots/snap1", + "storageToNetworkProximity": "T2", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 128, + "usageThreshold": 107374182400 + } + } + }, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01&operationResultResponseType=Location" + } + } + }, + "operationId": "Volumes_SplitCloneFromParent", + "title": "Volumes_SplitClone" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_Update.json new file mode 100644 index 000000000000..780433576e19 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/examples/2025-09-01/Volumes_Update.json @@ -0,0 +1,45 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "body": {}, + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": { + "body": { + "name": "account1/pool1/volume1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroup/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1", + "location": "eastus", + "properties": { + "creationToken": "my-unique-file-path", + "dataProtection": { + "snapshot": { + "snapshotPolicyId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.NetApp/netAppAccounts/account1/snapshotPolicies/snapshotPolicy1" + } + }, + "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca7778", + "networkFeatures": "Standard", + "networkSiblingSetId": "0f434a03-ce0b-4935-81af-d98652ffb1c4", + "provisioningState": "Succeeded", + "serviceLevel": "Premium", + "storageToNetworkProximity": "T2", + "subnetId": "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 128, + "usageThreshold": 107374182400 + } + } + }, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01&operationResultResponseType=Location" + } + } + }, + "operationId": "Volumes_Update", + "title": "Volumes_Update" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/main.tsp b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/main.tsp index 5c3d460841b1..18c6bcb97ae0 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/main.tsp +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/main.tsp @@ -24,9 +24,20 @@ import "./BackupPolicy.tsp"; import "./VolumeQuotaRule.tsp"; import "./VolumeGroupDetails.tsp"; import "./SubvolumeInfo.tsp"; +import "./RansomwareReport.tsp"; import "./Backup.tsp"; import "./BackupVault.tsp"; import "./Bucket.tsp"; +import "./Cache.tsp"; +import "./Elastic/ElasticAccount.tsp"; +import "./Elastic/ElasticCapacityPool.tsp"; +import "./Elastic/ElasticVolume.tsp"; +import "./Elastic/ElasticSnapshot.tsp"; +import "./Elastic/ElasticSnapshotPolicy.tsp"; +import "./Elastic/ElasticBackupVault.tsp"; +import "./Elastic/ElasticBackupPolicy.tsp"; +import "./Elastic/ElasticBackup.tsp"; +import "./ActiveDirectory.tsp"; import "./routes.tsp"; using TypeSpec.Rest; @@ -66,8 +77,18 @@ enum Versions { /** * The 2025-08-01-preview API version. */ - @previewVersion v2025_08_01_preview: "2025-08-01-preview", + + /** + * The 2025-09-01 API version. + */ + v2025_09_01: "2025-09-01", + + /** + * The 2025-09-01-preview API version. + */ + @previewVersion + v2025_09_01_preview: "2025-09-01-preview", } interface Operations diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/models.tsp b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/models.tsp index f6a7980372d8..d2d7786a358c 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/models.tsp +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/models.tsp @@ -4,11 +4,8 @@ import "@azure-tools/typespec-azure-core"; import "@azure-tools/typespec-azure-resource-manager"; import "@azure-tools/typespec-client-generator-core"; -using TypeSpec.Rest; -using TypeSpec.Http; using Azure.Core; using Azure.ResourceManager; -using Azure.ResourceManager.Foundations; using TypeSpec.Versioning; using Azure.ClientGenerator.Core; @@ -38,6 +35,18 @@ union CheckNameResourceTypes { `Microsoft.NetApp/netAppAccounts/capacityPools/volumes`: "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" `Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots`: "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots", + + /** + * ANF Backup under a volume , deprecated, use `Microsoft.NetApp/netAppAccounts/backupVaults/backups` instead. + */ + @added(Versions.v2025_09_01) + `Microsoft.NetApp/netAppAccounts/backupVaults/backups`: "Microsoft.NetApp/netAppAccounts/backupVaults/backups", + + /** + * ANF Backup under a Backup Vault + */ + @added(Versions.v2025_09_01) + `Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups`: "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups", } /** @@ -64,6 +73,18 @@ union CheckQuotaNameResourceTypes { `Microsoft.NetApp/netAppAccounts/capacityPools/volumes`: "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", #suppress "@azure-tools/typespec-azure-core/documentation-required" "For backward compatibility" `Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots`: "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots", + + /** + * ANF Backup under a volume , deprecated, use `Microsoft.NetApp/netAppAccounts/backupVaults/backups` instead. + */ + @added(Versions.v2025_09_01) + `Microsoft.NetApp/netAppAccounts/backupVaults/backups`: "Microsoft.NetApp/netAppAccounts/backupVaults/backups", + + /** + * ANF Backup under a Backup Vault + */ + @added(Versions.v2025_09_01) + `Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups`: "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups", } /** @@ -219,46 +240,69 @@ union KeySource { `Microsoft.KeyVault`: "Microsoft.KeyVault", } +/** + * The encryption keySource (provider) for ANF Elastic resources. Possible values (case-insensitive): Microsoft.NetApp, Microsoft.KeyVault + */ +@added(Versions.v2025_09_01_preview) +union ElasticKeySource { + string, + + /** + * Microsoft-managed key encryption + */ + `Microsoft.NetApp`: "Microsoft.NetApp", + + /** + * Customer-managed key encryption + */ + `Microsoft.KeyVault`: "Microsoft.KeyVault", +} + /** * Gets the status of the VolumeQuotaRule at the time the operation was called. */ #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "For backward compatibility" -@renamedFrom(Versions.v2025_07_01_preview, "ProvisioningState") union NetAppProvisioningState { string, /** - * Accepted + * Resource has been Accepted */ Accepted: "Accepted", /** - * Creating + * Resource is being Created */ Creating: "Creating", /** - * Patching + * Resource is being Patched */ Patching: "Patching", /** - * Deleting + * Resource is updating + */ + @added(Versions.v2025_09_01) + Updating: "Updating", + + /** + * Resource is being Deleted */ Deleting: "Deleting", /** - * Moving + * Resource is being Moved */ Moving: "Moving", /** - * Failed + * Resource has Failed */ Failed: "Failed", /** - * Succeeded + * Resource has Succeeded */ Succeeded: "Succeeded", } @@ -330,13 +374,13 @@ model ServiceSpecification { /** * Metric specifications of operation. */ - @OpenAPI.extension("x-ms-identifiers", #["name"]) + @identifiers(#["name"]) metricSpecifications?: MetricSpecification[]; /** * Log specification of operation. */ - @OpenAPI.extension("x-ms-identifiers", #["name"]) + @identifiers(#["name"]) logSpecifications?: LogSpecification[]; } @@ -397,7 +441,7 @@ model MetricSpecification { /** * Dimensions of blobs, including blob type and access tier. */ - @OpenAPI.extension("x-ms-identifiers", #["name"]) + @identifiers(#["name"]) dimensions?: Dimension[]; /** @@ -615,7 +659,7 @@ model RegionInfo { /** * Provides logical availability zone mappings for the subscription for a region. */ - @OpenAPI.extension("x-ms-identifiers", #["availabilityZone"]) + @identifiers(#["availabilityZone"]) availabilityZoneMappings?: RegionInfoAvailabilityZoneMappingsItem[]; } @@ -697,7 +741,7 @@ model NetworkSiblingSet { /** * List of NIC information */ - @OpenAPI.extension("x-ms-identifiers", #[]) + @identifiers(#[]) nicInfoList?: NicInfo[]; } @@ -813,7 +857,7 @@ model GetKeyVaultStatusResponseProperties { /** * Pairs of virtual network ID and private endpoint ID. Every virtual network that has volumes encrypted with customer-managed keys needs its own key vault private endpoint. */ - @OpenAPI.extension("x-ms-identifiers", #["virtualNetworkId"]) + @identifiers(#["virtualNetworkId"]) keyVaultPrivateEndpoints?: KeyVaultPrivateEndpoint[]; } diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-07-01-preview/examples/SnapshotPolicies_ListVolumes.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-07-01-preview/examples/SnapshotPolicies_ListVolumes.json index 967a000ba510..ea8ed8865df4 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-07-01-preview/examples/SnapshotPolicies_ListVolumes.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-07-01-preview/examples/SnapshotPolicies_ListVolumes.json @@ -20,7 +20,7 @@ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1", "location": "eastus", "properties": { - "creationToken": "some-amazing-filepath", + "creationToken": "my-unique-file-path", "fileSystemId": "00000000-0000-0000-0000-000000000000", "provisioningState": "Succeeded", "serviceLevel": "Premium", diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-07-01-preview/examples/Volumes_CreateOrUpdate.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-07-01-preview/examples/Volumes_CreateOrUpdate.json index 96569162bde5..853489056206 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-07-01-preview/examples/Volumes_CreateOrUpdate.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-07-01-preview/examples/Volumes_CreateOrUpdate.json @@ -24,7 +24,7 @@ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1", "location": "eastus", "properties": { - "creationToken": "some-amazing-filepath", + "creationToken": "my-unique-file-path", "encryptionKeySource": "Microsoft.NetApp", "fileSystemId": "00000000-0000-0000-0000-000000000000", "provisioningState": "Succeeded", @@ -42,7 +42,7 @@ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1", "location": "eastus", "properties": { - "creationToken": "some-amazing-filepath", + "creationToken": "my-unique-file-path", "encryptionKeySource": "Microsoft.NetApp", "fileSystemId": "00000000-0000-0000-0000-000000000000", "provisioningState": "Succeeded", diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-07-01-preview/examples/Volumes_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-07-01-preview/examples/Volumes_Get.json index 126732beefe7..bbd9a7f6d2d8 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-07-01-preview/examples/Volumes_Get.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-07-01-preview/examples/Volumes_Get.json @@ -15,7 +15,7 @@ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1", "location": "eastus", "properties": { - "creationToken": "some-amazing-filepath", + "creationToken": "my-unique-file-path", "fileSystemId": "00000000-0000-0000-0000-000000000000", "networkFeatures": "Standard", "networkSiblingSetId": "0f434a03-ce0b-4935-81af-d98652ffb1c4", diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-07-01-preview/examples/Volumes_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-07-01-preview/examples/Volumes_List.json index 6b9cc9237ba2..7365e482011d 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-07-01-preview/examples/Volumes_List.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-07-01-preview/examples/Volumes_List.json @@ -16,7 +16,7 @@ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1", "location": "eastus", "properties": { - "creationToken": "some-amazing-filepath", + "creationToken": "my-unique-file-path", "fileSystemId": "00000000-0000-0000-0000-000000000000", "networkFeatures": "Standard", "networkSiblingSetId": "0f434a03-ce0b-4935-81af-d98652ffb1c4", diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-07-01-preview/examples/Volumes_PopulateAvailabilityZones.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-07-01-preview/examples/Volumes_PopulateAvailabilityZones.json index f5d920238c2e..140def2328cd 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-07-01-preview/examples/Volumes_PopulateAvailabilityZones.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-07-01-preview/examples/Volumes_PopulateAvailabilityZones.json @@ -15,7 +15,7 @@ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1", "location": "eastus", "properties": { - "creationToken": "some-amazing-filepath", + "creationToken": "my-unique-file-path", "fileSystemId": "00000000-0000-0000-0000-000000000000", "networkFeatures": "Standard", "networkSiblingSetId": "0f434a03-ce0b-4935-81af-d98652ffb1c4", diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-07-01-preview/examples/Volumes_SplitClone.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-07-01-preview/examples/Volumes_SplitClone.json index bd28b581e950..ca329f72b315 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-07-01-preview/examples/Volumes_SplitClone.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-07-01-preview/examples/Volumes_SplitClone.json @@ -16,7 +16,7 @@ "location": "eastus", "properties": { "acceptGrowCapacityPoolForShortTermCloneSplit": "Accepted", - "creationToken": "some-amazing-filepath", + "creationToken": "my-unique-file-path", "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca7778", "networkFeatures": "Standard", "networkSiblingSetId": "0f434a03-ce0b-4935-81af-d98652ffb1c4", diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-07-01-preview/examples/Volumes_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-07-01-preview/examples/Volumes_Update.json index 172b20ba712e..e9803e7da170 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-07-01-preview/examples/Volumes_Update.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-07-01-preview/examples/Volumes_Update.json @@ -16,7 +16,7 @@ "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroup/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1", "location": "eastus", "properties": { - "creationToken": "some-amazing-filepath", + "creationToken": "my-unique-file-path", "dataProtection": { "snapshot": { "snapshotPolicyId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.NetApp/netAppAccounts/account1/snapshotPolicies/snapshotPolicy1" diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-07-01-preview/netapp.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-07-01-preview/netapp.json index f137c8ed9420..68dcafff2474 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-07-01-preview/netapp.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-07-01-preview/netapp.json @@ -10694,37 +10694,37 @@ { "name": "Accepted", "value": "Accepted", - "description": "Accepted" + "description": "Resource has been Accepted" }, { "name": "Creating", "value": "Creating", - "description": "Creating" + "description": "Resource is being Created" }, { "name": "Patching", "value": "Patching", - "description": "Patching" + "description": "Resource is being Patched" }, { "name": "Deleting", "value": "Deleting", - "description": "Deleting" + "description": "Resource is being Deleted" }, { "name": "Moving", "value": "Moving", - "description": "Moving" + "description": "Resource is being Moved" }, { "name": "Failed", "value": "Failed", - "description": "Failed" + "description": "Resource has Failed" }, { "name": "Succeeded", "value": "Succeeded", - "description": "Succeeded" + "description": "Resource has Succeeded" } ] }, diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-08-01-preview/examples/SnapshotPolicies_ListVolumes.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-08-01-preview/examples/SnapshotPolicies_ListVolumes.json index ea0151a27d1d..80ff598432d6 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-08-01-preview/examples/SnapshotPolicies_ListVolumes.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-08-01-preview/examples/SnapshotPolicies_ListVolumes.json @@ -20,7 +20,7 @@ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1", "location": "eastus", "properties": { - "creationToken": "some-amazing-filepath", + "creationToken": "my-unique-file-path", "fileSystemId": "00000000-0000-0000-0000-000000000000", "provisioningState": "Succeeded", "serviceLevel": "Premium", diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-08-01-preview/examples/Volumes_CreateOrUpdate.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-08-01-preview/examples/Volumes_CreateOrUpdate.json index b4f5a64df749..4064c78e7d94 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-08-01-preview/examples/Volumes_CreateOrUpdate.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-08-01-preview/examples/Volumes_CreateOrUpdate.json @@ -24,7 +24,7 @@ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1", "location": "eastus", "properties": { - "creationToken": "some-amazing-filepath", + "creationToken": "my-unique-file-path", "encryptionKeySource": "Microsoft.NetApp", "fileSystemId": "00000000-0000-0000-0000-000000000000", "provisioningState": "Succeeded", @@ -42,7 +42,7 @@ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1", "location": "eastus", "properties": { - "creationToken": "some-amazing-filepath", + "creationToken": "my-unique-file-path", "encryptionKeySource": "Microsoft.NetApp", "fileSystemId": "00000000-0000-0000-0000-000000000000", "provisioningState": "Succeeded", diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-08-01-preview/examples/Volumes_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-08-01-preview/examples/Volumes_Get.json index 85fe90f0a19e..1ce5abf416c0 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-08-01-preview/examples/Volumes_Get.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-08-01-preview/examples/Volumes_Get.json @@ -15,7 +15,7 @@ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1", "location": "eastus", "properties": { - "creationToken": "some-amazing-filepath", + "creationToken": "my-unique-file-path", "fileSystemId": "00000000-0000-0000-0000-000000000000", "networkFeatures": "Standard", "networkSiblingSetId": "0f434a03-ce0b-4935-81af-d98652ffb1c4", diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-08-01-preview/examples/Volumes_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-08-01-preview/examples/Volumes_List.json index cf880c0c0ddb..6dccfefd637f 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-08-01-preview/examples/Volumes_List.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-08-01-preview/examples/Volumes_List.json @@ -16,7 +16,7 @@ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1", "location": "eastus", "properties": { - "creationToken": "some-amazing-filepath", + "creationToken": "my-unique-file-path", "fileSystemId": "00000000-0000-0000-0000-000000000000", "networkFeatures": "Standard", "networkSiblingSetId": "0f434a03-ce0b-4935-81af-d98652ffb1c4", diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-08-01-preview/examples/Volumes_PopulateAvailabilityZones.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-08-01-preview/examples/Volumes_PopulateAvailabilityZones.json index 35e5aa1d597a..19340f4b3bf9 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-08-01-preview/examples/Volumes_PopulateAvailabilityZones.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-08-01-preview/examples/Volumes_PopulateAvailabilityZones.json @@ -15,7 +15,7 @@ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1", "location": "eastus", "properties": { - "creationToken": "some-amazing-filepath", + "creationToken": "my-unique-file-path", "fileSystemId": "00000000-0000-0000-0000-000000000000", "networkFeatures": "Standard", "networkSiblingSetId": "0f434a03-ce0b-4935-81af-d98652ffb1c4", diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-08-01-preview/examples/Volumes_SplitClone.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-08-01-preview/examples/Volumes_SplitClone.json index 35e506b2f37c..049628e9cfb2 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-08-01-preview/examples/Volumes_SplitClone.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-08-01-preview/examples/Volumes_SplitClone.json @@ -16,7 +16,7 @@ "location": "eastus", "properties": { "acceptGrowCapacityPoolForShortTermCloneSplit": "Accepted", - "creationToken": "some-amazing-filepath", + "creationToken": "my-unique-file-path", "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca7778", "networkFeatures": "Standard", "networkSiblingSetId": "0f434a03-ce0b-4935-81af-d98652ffb1c4", diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-08-01-preview/examples/Volumes_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-08-01-preview/examples/Volumes_Update.json index 72d72ad784a5..10029fc5d1bd 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-08-01-preview/examples/Volumes_Update.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-08-01-preview/examples/Volumes_Update.json @@ -16,7 +16,7 @@ "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroup/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1", "location": "eastus", "properties": { - "creationToken": "some-amazing-filepath", + "creationToken": "my-unique-file-path", "dataProtection": { "snapshot": { "snapshotPolicyId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.NetApp/netAppAccounts/account1/snapshotPolicies/snapshotPolicy1" diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-08-01-preview/netapp.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-08-01-preview/netapp.json index 360336e84df3..fbd7f405acde 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-08-01-preview/netapp.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-08-01-preview/netapp.json @@ -10739,37 +10739,37 @@ { "name": "Accepted", "value": "Accepted", - "description": "Accepted" + "description": "Resource has been Accepted" }, { "name": "Creating", "value": "Creating", - "description": "Creating" + "description": "Resource is being Created" }, { "name": "Patching", "value": "Patching", - "description": "Patching" + "description": "Resource is being Patched" }, { "name": "Deleting", "value": "Deleting", - "description": "Deleting" + "description": "Resource is being Deleted" }, { "name": "Moving", "value": "Moving", - "description": "Moving" + "description": "Resource is being Moved" }, { "name": "Failed", "value": "Failed", - "description": "Failed" + "description": "Resource has Failed" }, { "name": "Succeeded", "value": "Succeeded", - "description": "Succeeded" + "description": "Resource has Succeeded" } ] }, diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Accounts_ChangeKeyVault.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Accounts_ChangeKeyVault.json new file mode 100644 index 000000000000..d273bc2af270 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Accounts_ChangeKeyVault.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "body": { + "keyName": "rsakey", + "keyVaultPrivateEndpoints": [ + { + "privateEndpointId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.Network/privateEndpoints/privip1", + "virtualNetworkId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.Network/virtualNetworks/vnet1" + } + ], + "keyVaultResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.KeyVault/managedHSMs/my-hsm", + "keyVaultUri": "https://my-key-vault.managedhsm.azure.net" + }, + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/a0216c17-f9d6-4b99-9faf-9ebd4883d0e4?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + } + }, + "operationId": "Accounts_ChangeKeyVault", + "title": "Accounts_ChangeKeyVault" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Accounts_CreateOrUpdate.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Accounts_CreateOrUpdate.json new file mode 100644 index 000000000000..acdca4ae5022 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Accounts_CreateOrUpdate.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "body": { + "location": "eastus", + "properties": {} + }, + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "account1", + "type": "Microsoft.NetApp/netAppAccounts", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "name": "account1", + "type": "Microsoft.NetApp/netAppAccounts", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1", + "location": "eastus", + "properties": { + "provisioningState": "Creating" + } + } + } + }, + "operationId": "Accounts_CreateOrUpdate", + "title": "Accounts_CreateOrUpdate" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Accounts_CreateOrUpdateAD.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Accounts_CreateOrUpdateAD.json new file mode 100644 index 000000000000..283fb1a47e8e --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Accounts_CreateOrUpdateAD.json @@ -0,0 +1,83 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "body": { + "location": "eastus", + "properties": { + "activeDirectories": [ + { + "aesEncryption": true, + "dns": "10.10.10.3", + "domain": "10.10.10.3", + "ldapOverTLS": false, + "ldapSigning": false, + "organizationalUnit": "OU=Engineering", + "password": "", + "site": "SiteName", + "smbServerName": "SMBServer", + "username": "ad_user_name" + } + ] + } + }, + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "account1", + "type": "Microsoft.NetApp/netAppAccounts", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1", + "location": "eastus", + "properties": { + "activeDirectories": [ + { + "activeDirectoryId": "503d38f9-f17c-f92d-ef26-b0d46374534b", + "aesEncryption": true, + "dns": "10.10.10.3", + "domain": "10.10.10.3", + "ldapOverTLS": false, + "ldapSigning": false, + "organizationalUnit": "OU=Engineering", + "password": null, + "site": "SiteName", + "smbServerName": "SMBServer", + "username": "ad_user_name" + } + ], + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "name": "account1", + "type": "Microsoft.NetApp/netAppAccounts", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1", + "location": "eastus", + "properties": { + "activeDirectories": [ + { + "activeDirectoryId": "503d38f9-f17c-f92d-ef26-b0d46374534b", + "aesEncryption": true, + "dns": "10.10.10.3", + "domain": "10.10.10.3", + "ldapOverTLS": false, + "ldapSigning": false, + "organizationalUnit": "OU=Engineering", + "password": null, + "site": "SiteName", + "smbServerName": "SMBServer", + "username": "ad_user_name" + } + ], + "provisioningState": "Creating" + } + } + } + }, + "operationId": "Accounts_CreateOrUpdate", + "title": "Accounts_CreateOrUpdateWithActiveDirectory" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Accounts_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Accounts_Delete.json new file mode 100644 index 000000000000..2d6154257827 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Accounts_Delete.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + }, + "204": {} + }, + "operationId": "Accounts_Delete", + "title": "Accounts_Delete" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Accounts_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Accounts_Get.json new file mode 100644 index 000000000000..a7a9b1230b35 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Accounts_Get.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "account1", + "type": "Microsoft.NetApp/netAppAccounts", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1", + "location": "eastus", + "properties": { + "activeDirectories": [ + { + "activeDirectoryId": "02da3711-6c58-2d64-098a-e3af7afaf936", + "aesEncryption": true, + "dns": "10.10.10.3", + "domain": "10.10.10.3", + "ldapSigning": true, + "organizationalUnit": "OU=Engineering", + "site": "SiteName", + "smbServerName": "SMBServer", + "status": "InUse", + "statusDetails": "Status Details", + "username": "ad_user_name" + } + ], + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "Accounts_Get", + "title": "Accounts_Get" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Accounts_GetChangeKeyVaultInformation.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Accounts_GetChangeKeyVaultInformation.json new file mode 100644 index 000000000000..d64ed6a2b1d9 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Accounts_GetChangeKeyVaultInformation.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "properties": { + "keyName": "rsakey", + "keyVaultPrivateEndpoints": [ + { + "privateEndpointId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.Network/privateEndpoints/privip1", + "virtualNetworkId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.Network/virtualNetworks/vnet1" + } + ], + "keyVaultResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.KeyVault/managedHSMs/my-hsm", + "keyVaultUri": "https://my-key-vault.managedhsm.azure.net" + } + } + }, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + } + }, + "operationId": "Accounts_GetChangeKeyVaultInformation", + "title": "Accounts_GetChangeKeyVaultInformation" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Accounts_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Accounts_List.json new file mode 100644 index 000000000000..b64a15d17186 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Accounts_List.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2025-09-01-preview", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "account1", + "type": "Microsoft.NetApp/netAppAccounts", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded" + } + } + ] + } + } + }, + "operationId": "Accounts_List", + "title": "Accounts_List" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Accounts_ListBySubscription.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Accounts_ListBySubscription.json new file mode 100644 index 000000000000..a59d183ead0e --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Accounts_ListBySubscription.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2025-09-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "account1", + "type": "Microsoft.NetApp/netAppAccounts", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded" + } + } + ] + } + } + }, + "operationId": "Accounts_ListBySubscription", + "title": "Accounts_ListBySubscription" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Accounts_RenewCredentials.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Accounts_RenewCredentials.json new file mode 100644 index 000000000000..b5786ccaad23 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Accounts_RenewCredentials.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "body": {}, + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/a0216c17-f9d6-4b99-9faf-9ebd4883d0e4?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + } + }, + "operationId": "Accounts_RenewCredentials", + "title": "Accounts_RenewCredentials" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Accounts_TransitionEncryptionKey.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Accounts_TransitionEncryptionKey.json new file mode 100644 index 000000000000..37e43dac2544 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Accounts_TransitionEncryptionKey.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "body": { + "privateEndpointId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.Network/privateEndpoints/privip1", + "virtualNetworkId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.Network/virtualNetworks/vnet1" + }, + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/a0216c17-f9d6-4b99-9faf-9ebd4883d0e4?api-version=2025-09-01-preview", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/a0216c17-f9d6-4b99-9faf-9ebd4883d0e4?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + } + }, + "operationId": "Accounts_TransitionToCmk", + "title": "Accounts_MigrateEncryptionKey" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Accounts_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Accounts_Update.json new file mode 100644 index 000000000000..d109ef906b82 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Accounts_Update.json @@ -0,0 +1,48 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "body": { + "tags": { + "Tag1": "Value1" + } + }, + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "account1", + "type": "Microsoft.NetApp/netAppAccounts", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded" + } + } + }, + "202": { + "body": { + "name": "account1", + "type": "Microsoft.NetApp/netAppAccounts", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1", + "location": "eastus", + "properties": { + "encryption": { + "keySource": "Microsoft.NetApp" + }, + "provisioningState": "Patching" + }, + "tags": { + "Tag1": "Value1" + } + }, + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/a0216c17-f9d6-4b99-9faf-9ebd4883d0e4?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + } + }, + "operationId": "Accounts_Update", + "title": "Accounts_Update" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ActiveDirectoryConfigs_CreateOrUpdate.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ActiveDirectoryConfigs_CreateOrUpdate.json new file mode 100644 index 000000000000..7131e9c4b767 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ActiveDirectoryConfigs_CreateOrUpdate.json @@ -0,0 +1,153 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "activeDirectoryConfigName": "adconfig1", + "api-version": "2025-09-01-preview", + "body": { + "location": "eastus", + "tags": { + "ac-tag1": "activeDirectoryConfig1" + }, + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/userAssignedIdentity1": {} + } + }, + "properties": { + "userName": "admin1", + "secretPassword": { + "keyVaultProperties": { + "keyVaultUri": "https://example.vault.azure.net/", + "secretName": "activeDirectoryPassword" + }, + "identity": { + "userAssignedIdentity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/userAssignedIdentity1" + } + }, + "domain": "example.net", + "dns": [ + "10.10.10.4", + "10.10.10.5" + ], + "smbServerName": "smbServer", + "organizationalUnit": "OU=Computers,DC=corp,DC=contoso,DC=com", + "site": "Default-First-Site-Name", + "backupOperators": [ + "backupOp1" + ], + "administrators": [ + "admin1" + ], + "securityOperators": [ + "secOp1" + ] + } + } + }, + "responses": { + "200": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/a0216c17-f9d6-4b99-9faf-9ebd4883d0e4?api-version=2025-09-01-preview" + }, + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/activeDirectoryConfigs/adconfig1", + "name": "adconfig1", + "type": "Microsoft.NetApp/activeDirectoryConfigs", + "location": "eastus", + "tags": { + "ac-tag1": "adconfig1" + }, + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/userAssignedIdentity1": { + "principalId": "abdb541c-5355-4c0b-be43-abab330dd983", + "clientId": "9e0b65a1-4132-466a-a7fb-d69a83eea08a" + } + } + }, + "properties": { + "userName": "admin1", + "secretPassword": { + "keyVaultProperties": { + "keyVaultUri": "https://example.vault.azure.net/", + "secretName": "activeDirectoryPassword" + }, + "identity": { + "userAssignedIdentity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/userAssignedIdentity1", + "principalId": "abdb541c-5355-4c0b-be43-abab330dd983" + } + }, + "domain": "example.net", + "dns": [ + "10.10.10.4", + "10.10.10.5" + ], + "smbServerName": "smbServer", + "organizationalUnit": "OU=Computers,DC=corp,DC=contoso,DC=com", + "site": "Default-First-Site-Name", + "backupOperators": [ + "backupOp1" + ], + "administrators": [ + "admin1" + ], + "securityOperators": [ + "secOp1" + ], + "activeDirectoryStatus": "Creating", + "provisioningState": "Succeeded" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/a0216c17-f9d6-4b99-9faf-9ebd4883d0e4?api-version=2025-09-01-preview" + }, + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/activeDirectoryConfigs/adconfig1", + "name": "adconfig1", + "type": "Microsoft.NetApp/activeDirectoryConfigs", + "location": "eastus", + "tags": { + "ac-tag1": "adconfig1" + }, + "properties": { + "userName": "admin1", + "secretPassword": { + "keyVaultProperties": { + "keyVaultUri": "https://example.vault.azure.net/", + "secretName": "activeDirectoryPassword" + }, + "identity": { + "userAssignedIdentity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/userAssignedIdentity1" + } + }, + "domain": "example.net", + "dns": [ + "10.10.10.4", + "10.10.10.5" + ], + "smbServerName": "smbServer", + "organizationalUnit": "OU=Computers,DC=corp,DC=contoso,DC=com", + "site": "Default-First-Site-Name", + "backupOperators": [ + "backupOp1" + ], + "administrators": [ + "admin1" + ], + "securityOperators": [ + "secOp1" + ], + "activeDirectoryStatus": "Creating", + "provisioningState": "Creating" + } + } + } + }, + "operationId": "ActiveDirectoryConfigs_CreateOrUpdate", + "title": "ActiveDirectoryConfigs_CreateOrUpdate" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ActiveDirectoryConfigs_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ActiveDirectoryConfigs_Delete.json new file mode 100644 index 000000000000..5e3934e5de68 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ActiveDirectoryConfigs_Delete.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "activeDirectoryConfigName": "adconfig1", + "api-version": "2025-09-01-preview" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview" + } + }, + "204": {} + }, + "operationId": "ActiveDirectoryConfigs_Delete", + "title": "ActiveDirectoryConfigs_Delete" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ActiveDirectoryConfigs_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ActiveDirectoryConfigs_Get.json new file mode 100644 index 000000000000..dc17d36eb351 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ActiveDirectoryConfigs_Get.json @@ -0,0 +1,64 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "activeDirectoryConfigName": "adconfig1", + "api-version": "2025-09-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/activeDirectoryConfigs/adconfig1", + "name": "adconfig1", + "type": "Microsoft.NetApp/activeDirectoryConfigs", + "location": "eastus", + "tags": { + "ac-tag1": "adconfig1" + }, + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/userAssignedIdentity1": { + "principalId": "abdb541c-5355-4c0b-be43-abab330dd983", + "clientId": "9e0b65a1-4132-466a-a7fb-d69a83eea08a" + } + } + }, + "properties": { + "userName": "admin1", + "secretPassword": { + "keyVaultProperties": { + "keyVaultUri": "https://example.vault.azure.net/", + "secretName": "activeDirectoryPassword" + }, + "identity": { + "userAssignedIdentity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/userAssignedIdentity1", + "principalId": "abdb541c-5355-4c0b-be43-abab330dd983" + } + }, + "domain": "example.net", + "dns": [ + "10.10.10.4", + "10.10.10.5" + ], + "smbServerName": "smbServer", + "organizationalUnit": "OU=Computers,DC=corp,DC=contoso,DC=com", + "site": "Default-First-Site-Name", + "backupOperators": [ + "backupOp1" + ], + "administrators": [ + "admin1" + ], + "securityOperators": [ + "secOp1" + ], + "activeDirectoryStatus": "InUse", + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "ActiveDirectoryConfigs_Get", + "title": "ActiveDirectoryConfigs_Get" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ActiveDirectoryConfigs_ListByResourceGroup.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ActiveDirectoryConfigs_ListByResourceGroup.json new file mode 100644 index 000000000000..d4b6fad39b7b --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ActiveDirectoryConfigs_ListByResourceGroup.json @@ -0,0 +1,67 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "api-version": "2025-09-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/activeDirectoryConfigs/adconfig1", + "name": "adconfig1", + "type": "Microsoft.NetApp/activeDirectoryConfigs", + "location": "eastus", + "tags": { + "ac-tag1": "adconfig1" + }, + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/userAssignedIdentity1": { + "principalId": "abdb541c-5355-4c0b-be43-abab330dd983", + "clientId": "9e0b65a1-4132-466a-a7fb-d69a83eea08a" + } + } + }, + "properties": { + "userName": "admin1", + "secretPassword": { + "keyVaultProperties": { + "keyVaultUri": "https://example.vault.azure.net/", + "secretName": "activeDirectoryPassword" + }, + "identity": { + "userAssignedIdentity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/userAssignedIdentity1", + "principalId": "abdb541c-5355-4c0b-be43-abab330dd983" + } + }, + "domain": "example.net", + "dns": [ + "10.10.10.4", + "10.10.10.5" + ], + "smbServerName": "smbServer", + "organizationalUnit": "OU=Computers,DC=corp,DC=contoso,DC=com", + "site": "Default-First-Site-Name", + "backupOperators": [ + "backupOp1" + ], + "administrators": [ + "admin1" + ], + "securityOperators": [ + "secOp1" + ], + "activeDirectoryStatus": "InUse", + "provisioningState": "Succeeded" + } + } + ] + } + } + }, + "operationId": "ActiveDirectoryConfigs_ListByResourceGroup", + "title": "ActiveDirectoryConfigs_ListByResourceGroup" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ActiveDirectoryConfigs_ListBySubscription.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ActiveDirectoryConfigs_ListBySubscription.json new file mode 100644 index 000000000000..bfb36e91deb1 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ActiveDirectoryConfigs_ListBySubscription.json @@ -0,0 +1,63 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "api-version": "2025-09-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/activeDirectoryConfigs/adconfig1", + "name": "adconfig1", + "type": "Microsoft.NetApp/activeDirectoryConfigs", + "location": "eastus", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/userAssignedIdentity1": { + "principalId": "abdb541c-5355-4c0b-be43-abab330dd983", + "clientId": "9e0b65a1-4132-466a-a7fb-d69a83eea08a" + } + } + }, + "properties": { + "userName": "admin1", + "secretPassword": { + "keyVaultProperties": { + "keyVaultUri": "https://example.vault.azure.net/", + "secretName": "activeDirectoryPassword" + }, + "identity": { + "userAssignedIdentity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/userAssignedIdentity1", + "principalId": "abdb541c-5355-4c0b-be43-abab330dd983" + } + }, + "domain": "example.net", + "dns": [ + "10.10.10.4", + "10.10.10.5" + ], + "smbServerName": "smbServer", + "organizationalUnit": "OU=Computers,DC=corp,DC=contoso,DC=com", + "site": "Default-First-Site-Name", + "backupOperators": [ + "backupOp1" + ], + "administrators": [ + "admin1" + ], + "securityOperators": [ + "secOp1" + ], + "activeDirectoryStatus": "InUse", + "provisioningState": "Succeeded" + } + } + ] + } + } + }, + "operationId": "ActiveDirectoryConfigs_ListBySubscription", + "title": "ActiveDirectoryConfigs_ListBySubscription" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ActiveDirectoryConfigs_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ActiveDirectoryConfigs_Update.json new file mode 100644 index 000000000000..d16a29e6f1ae --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ActiveDirectoryConfigs_Update.json @@ -0,0 +1,71 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "activeDirectoryConfigName": "adconfig1", + "api-version": "2025-09-01-preview", + "body": { + "properties": { + "smbServerName": "smbServer2" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/activeDirectoryConfigs/adconfig1", + "name": "adconfig1", + "type": "Microsoft.NetApp/activeDirectoryConfigs", + "location": "eastus", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/userAssignedIdentity1": { + "principalId": "abdb541c-5355-4c0b-be43-abab330dd983", + "clientId": "9e0b65a1-4132-466a-a7fb-d69a83eea08a" + } + } + }, + "properties": { + "userName": "admin1", + "secretPassword": { + "keyVaultProperties": { + "keyVaultUri": "https://example.vault.azure.net/", + "secretName": "activeDirectoryPassword" + }, + "identity": { + "userAssignedIdentity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/userAssignedIdentity1", + "principalId": "abdb541c-5355-4c0b-be43-abab330dd983" + } + }, + "domain": "example.net", + "dns": [ + "10.10.10.4", + "10.10.10.5" + ], + "smbServerName": "smbServer2", + "organizationalUnit": "OU=Computers,DC=corp,DC=contoso,DC=com", + "site": "Default-First-Site-Name", + "backupOperators": [ + "backupOp1" + ], + "administrators": [ + "admin1" + ], + "securityOperators": [ + "secOp1" + ], + "activeDirectoryStatus": "Updating", + "provisioningState": "Succeeded" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/a0216c17-f9d6-4b99-9faf-9ebd4883d0e4?api-version=2025-09-01-preview" + } + } + }, + "operationId": "ActiveDirectoryConfigs_Update", + "title": "ActiveDirectoryConfigs_Update" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/BackupPolicies_Create.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/BackupPolicies_Create.json new file mode 100644 index 000000000000..35f44084bb85 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/BackupPolicies_Create.json @@ -0,0 +1,53 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "backupPolicyName": "backupPolicyName", + "body": { + "location": "westus", + "properties": { + "dailyBackupsToKeep": 10, + "enabled": true, + "monthlyBackupsToKeep": 10, + "weeklyBackupsToKeep": 10 + } + }, + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "account1/backupPolicyName", + "type": "Microsoft.NetApp/netAppAccounts/backupPolicies", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupPolicies/backupPolicyName", + "location": "westus", + "properties": { + "dailyBackupsToKeep": 10, + "enabled": true, + "monthlyBackupsToKeep": 10, + "provisioningState": "creating", + "weeklyBackupsToKeep": 10 + } + } + }, + "201": { + "body": { + "name": "account1/backupPolicyName", + "type": "Microsoft.NetApp/netAppAccounts/backupPolicies", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupPolicies/backupPolicyName", + "location": "westus", + "properties": { + "dailyBackupsToKeep": 10, + "enabled": true, + "monthlyBackupsToKeep": 10, + "provisioningState": "creating", + "weeklyBackupsToKeep": 10 + } + } + }, + "202": {} + }, + "operationId": "BackupPolicies_Create", + "title": "BackupPolicies_Create" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/BackupPolicies_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/BackupPolicies_Delete.json new file mode 100644 index 000000000000..22b83d385f29 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/BackupPolicies_Delete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "accountName": "accountName", + "api-version": "2025-09-01-preview", + "backupPolicyName": "backupPolicyName", + "resourceGroupName": "resourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + }, + "204": {} + }, + "operationId": "BackupPolicies_Delete", + "title": "BackupPolicies_Delete" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/BackupPolicies_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/BackupPolicies_Get.json new file mode 100644 index 000000000000..0070ea394072 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/BackupPolicies_Get.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "backupPolicyName": "backupPolicyName", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "account1/backupPolicyName", + "type": "Microsoft.NetApp/netAppAccounts/backupPolicies", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupPolocies/backupPolicyName", + "location": "eastus", + "properties": { + "dailyBackupsToKeep": 10, + "enabled": true, + "monthlyBackupsToKeep": 10, + "volumeBackups": [ + { + "backupsCount": 5, + "policyEnabled": true, + "volumeName": "volume 1" + } + ], + "volumesAssigned": 0, + "weeklyBackupsToKeep": 10 + } + } + } + }, + "operationId": "BackupPolicies_Get", + "title": "Backups_Get" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/BackupPolicies_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/BackupPolicies_List.json new file mode 100644 index 000000000000..8204df2c2f91 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/BackupPolicies_List.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "account1/backupPolicy1", + "type": "Microsoft.NetApp/netAppAccounts/backupPolicies", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupPolocies/backupPolicy1", + "location": "eastus", + "properties": { + "dailyBackupsToKeep": 10, + "enabled": true, + "monthlyBackupsToKeep": 10, + "volumesAssigned": 0, + "weeklyBackupsToKeep": 10 + } + } + ] + } + } + }, + "operationId": "BackupPolicies_List", + "title": "BackupPolicies_List" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/BackupPolicies_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/BackupPolicies_Update.json new file mode 100644 index 000000000000..b1d8fc2d7cff --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/BackupPolicies_Update.json @@ -0,0 +1,72 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "backupPolicyName": "backupPolicyName", + "body": { + "location": "westus", + "properties": { + "dailyBackupsToKeep": 5, + "enabled": false, + "monthlyBackupsToKeep": 10, + "weeklyBackupsToKeep": 10 + } + }, + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "account1/backupPolicyName", + "type": "Microsoft.NetApp/netAppAccounts/backupPolicies", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupPolocies/backupPolicyName", + "location": "westus", + "properties": { + "dailyBackupsToKeep": 5, + "enabled": false, + "monthlyBackupsToKeep": 10, + "provisioningState": "Succeeded", + "volumeBackups": [ + { + "backupsCount": 5, + "policyEnabled": true, + "volumeName": "volume 1" + } + ], + "volumesAssigned": 1, + "weeklyBackupsToKeep": 10 + } + } + }, + "202": { + "body": { + "name": "account1/backupPolicyName", + "type": "Microsoft.NetApp/netAppAccounts/backupPolicies", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupPolocies/backupPolicyName", + "location": "westus", + "properties": { + "dailyBackupsToKeep": 5, + "enabled": false, + "monthlyBackupsToKeep": 10, + "provisioningState": "Succeeded", + "volumeBackups": [ + { + "backupsCount": 5, + "policyEnabled": true, + "volumeName": "volume 1" + } + ], + "volumesAssigned": 1, + "weeklyBackupsToKeep": 10 + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/18c499e1-2a3c-441c-950e-4b456c991c18?api-version=2025-09-01-preview", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/18c499e1-2a3c-441c-950e-4b456c991c18?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + } + }, + "operationId": "BackupPolicies_Update", + "title": "BackupPolicies_Update" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/BackupVaults_Create.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/BackupVaults_Create.json new file mode 100644 index 000000000000..949a611de657 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/BackupVaults_Create.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "backupVaultName": "backupVault1", + "body": { + "location": "eastus" + }, + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "account1/backupVault1", + "type": "Microsoft.NetApp/netAppAccounts/backupVaults", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupVaults/backupVault1", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "name": "account1/backupVault1", + "type": "Microsoft.NetApp/netAppAccounts/backupVaults", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupVaults/backupVault1", + "location": "eastus", + "properties": { + "provisioningState": "Creating" + } + } + } + }, + "operationId": "BackupVaults_CreateOrUpdate", + "title": "BackupVault_CreateOrUpdate" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/BackupVaults_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/BackupVaults_Delete.json new file mode 100644 index 000000000000..35d5f5d8fef1 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/BackupVaults_Delete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "backupVaultName": "backupVault1", + "resourceGroupName": "resourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + }, + "204": {} + }, + "operationId": "BackupVaults_Delete", + "title": "BackupVaults_Delete" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/BackupVaults_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/BackupVaults_Get.json new file mode 100644 index 000000000000..b45ed214c1b6 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/BackupVaults_Get.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "backupVaultName": "backupVault1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "account1/backupVault1", + "type": "Microsoft.NetApp/netAppAccounts/backupVaults", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupVaults/backupVault1", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded" + }, + "tags": { + "Tag1": "Value1" + } + } + } + }, + "operationId": "BackupVaults_Get", + "title": "BackupVaults_Get" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/BackupVaults_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/BackupVaults_List.json new file mode 100644 index 000000000000..c7c7924c3465 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/BackupVaults_List.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "account1/backupVault1", + "type": "Microsoft.NetApp/netAppAccounts/backupVaults", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupVaults/backupVault1", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded" + }, + "tags": { + "Tag1": "Value1" + } + } + ] + } + } + }, + "operationId": "BackupVaults_ListByNetAppAccount", + "title": "BackupVaults_List" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/BackupVaults_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/BackupVaults_Update.json new file mode 100644 index 000000000000..9f7538b36e91 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/BackupVaults_Update.json @@ -0,0 +1,50 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "backupVaultName": "backupVault1", + "body": { + "tags": { + "Tag1": "Value1" + } + }, + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "account1/backupVault1", + "type": "Microsoft.NetApp/netAppAccounts/backupVaults", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupVaults/backupVault1", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded" + }, + "tags": { + "Tag1": "Value1" + } + } + }, + "202": { + "body": { + "name": "account1/backupVault1", + "type": "Microsoft.NetApp/netAppAccounts/backupVaults", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupVaults/backupVault1", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded" + }, + "tags": { + "Tag1": "Value1" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/18c499e1-2a3c-441c-950e-4b456c991c18?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + } + }, + "operationId": "BackupVaults_Update", + "title": "BackupVaults_Update" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/BackupsUnderAccount_Migrate.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/BackupsUnderAccount_Migrate.json new file mode 100644 index 000000000000..62ded8fe554e --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/BackupsUnderAccount_Migrate.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "body": { + "backupVaultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupVaults/backupVault1" + }, + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + } + }, + "operationId": "BackupsUnderAccount_MigrateBackups", + "title": "BackupsUnderAccount_Migrate" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/BackupsUnderBackupVault_Create.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/BackupsUnderBackupVault_Create.json new file mode 100644 index 000000000000..f67e687f4158 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/BackupsUnderBackupVault_Create.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "backupName": "backup1", + "backupVaultName": "backupVault1", + "body": { + "properties": { + "label": "myLabel", + "volumeResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPool/pool1/volumes/volume1" + } + }, + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "account1/backupVault1/backup1", + "type": "Microsoft.NetApp/netAppAccounts/backupVaults/backups", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupVaults/backupVault1/backups/backup1", + "properties": { + "backupType": "Manual", + "creationDate": "2017-08-15T13:23:33Z", + "label": "myLabel", + "provisioningState": "Succeeded", + "size": 10011, + "snapshotName": "backup1", + "volumeResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPool/pool1/volumes/volume1" + } + } + }, + "201": { + "body": { + "name": "account1/backupVault1/backup1", + "type": "Microsoft.NetApp/netAppAccounts/backupVaults/backups", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupVaults/backupVault1/backups/backup1", + "properties": { + "backupType": "Manual", + "creationDate": "2017-08-15T13:23:33Z", + "label": "myLabel", + "provisioningState": "Succeeded", + "size": 10011, + "snapshotName": "backup1", + "volumeResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPool/pool1/volumes/volume1" + } + } + } + }, + "operationId": "Backups_Create", + "title": "BackupsUnderBackupVault_Create" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/BackupsUnderBackupVault_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/BackupsUnderBackupVault_Delete.json new file mode 100644 index 000000000000..f3b6c752eacf --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/BackupsUnderBackupVault_Delete.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "backupName": "backup1", + "backupVaultName": "backupVault1", + "resourceGroupName": "resourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + }, + "204": {} + }, + "operationId": "Backups_Delete", + "title": "BackupsUnderBackupVault_Delete" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/BackupsUnderBackupVault_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/BackupsUnderBackupVault_Get.json new file mode 100644 index 000000000000..b0286d329959 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/BackupsUnderBackupVault_Get.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "backupName": "backup1", + "backupVaultName": "backupVault1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "account1/backupVault1/backup1", + "type": "Microsoft.NetApp/netAppAccounts/backupVaults/backups", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupVaults/backupVault1/backups/backup1", + "properties": { + "backupPolicyResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupPolicies/policy1", + "backupType": "Manual", + "creationDate": "2017-08-15T13:23:33Z", + "label": "myLabel", + "provisioningState": "Succeeded", + "size": 10011, + "snapshotName": "backup1", + "volumeResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPool/pool1/volumes/volume1" + } + } + } + }, + "operationId": "Backups_Get", + "title": "BackupsUnderBackupVault_Get" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/BackupsUnderBackupVault_SingleFileRestore.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/BackupsUnderBackupVault_SingleFileRestore.json new file mode 100644 index 000000000000..625f918850a2 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/BackupsUnderBackupVault_SingleFileRestore.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "backupName": "backup1", + "backupVaultName": "backupVault1", + "body": { + "destinationVolumeId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1", + "fileList": [ + "/dir1/customer1.db", + "/dir1/customer2.db" + ] + }, + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + } + }, + "operationId": "BackupsUnderBackupVault_RestoreFiles", + "title": "Backups_SingleFileRestore" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/BackupsUnderBackupVault_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/BackupsUnderBackupVault_Update.json new file mode 100644 index 000000000000..0e6e04735cb9 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/BackupsUnderBackupVault_Update.json @@ -0,0 +1,51 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "backupName": "backup1", + "backupVaultName": "backupVault1", + "body": {}, + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "account1/backupVault1/backup1", + "type": "Microsoft.NetApp/netAppAccounts/backupVaults/backups", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupVaults/backupVault1/backups/backup1", + "properties": { + "backupType": "Manual", + "creationDate": "2017-08-15T13:23:33Z", + "label": "myLabel", + "provisioningState": "Succeeded", + "size": 10011, + "snapshotName": "backup1", + "volumeResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPool/pool1/volumes/volume1" + } + } + }, + "202": { + "body": { + "name": "account1/backupVault1/backup1", + "type": "Microsoft.NetApp/netAppAccounts/backupVaults/backups", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupVaults/backupVault1/backups/backup1", + "properties": { + "backupType": "Manual", + "creationDate": "2017-08-15T13:23:33Z", + "label": "myLabel", + "provisioningState": "Succeeded", + "size": 10011, + "snapshotName": "backup1", + "volumeResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPool/pool1/volumes/volume1" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/18c499e1-2a3c-441c-950e-4b456c991c18?api-version=2025-09-01-preview", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/18c499e1-2a3c-441c-950e-4b456c991c18?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + } + }, + "operationId": "Backups_Update", + "title": "BackupsUnderBackupVault_Update" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/BackupsUnderVolume_Migrate.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/BackupsUnderVolume_Migrate.json new file mode 100644 index 000000000000..d40ad2466d5c --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/BackupsUnderVolume_Migrate.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "body": { + "backupVaultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupVaults/backupVault1" + }, + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + } + }, + "operationId": "BackupsUnderVolume_MigrateBackups", + "title": "BackupsUnderVolume_Migrate" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Backups_ListByVault.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Backups_ListByVault.json new file mode 100644 index 000000000000..52ccdc98334a --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Backups_ListByVault.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "backupVaultName": "backupVault1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "account1/backupVault1/backup1", + "type": "Microsoft.NetApp/netAppAccounts/backupVaults/backups", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupVaults/backupVault1/backups/backup1", + "properties": { + "backupPolicyResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupPolicies/policy1", + "backupType": "Manual", + "creationDate": "2017-08-15T13:23:33Z", + "label": "myLabel", + "provisioningState": "Succeeded", + "size": 10011, + "snapshotName": "backup1", + "volumeResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPool/pool1/volumes/volume1" + } + } + ] + } + } + }, + "operationId": "Backups_ListByVault", + "title": "Backups_ListByVault" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Buckets_CreateOrUpdate.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Buckets_CreateOrUpdate.json new file mode 100644 index 000000000000..ade0472c753c --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Buckets_CreateOrUpdate.json @@ -0,0 +1,85 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "body": { + "properties": { + "path": "/path", + "fileSystemUser": { + "nfsUser": { + "groupId": 1000, + "userId": 1001 + } + }, + "permissions": "ReadOnly", + "server": { + "certificateObject": "", + "fqdn": "fullyqualified.domainname.com" + } + } + }, + "bucketName": "bucket1", + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": { + "body": { + "name": "account1/pool1/volume1/bucket1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/buckets", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/buckets/bucket1", + "properties": { + "path": "/path", + "fileSystemUser": { + "nfsUser": { + "groupId": 1000, + "userId": 1001 + } + }, + "permissions": "ReadOnly", + "provisioningState": "Succeeded", + "server": { + "certificateCommonName": "www.example.com", + "certificateExpiryDate": "2027-08-15T13:23:32Z", + "fqdn": "fullyqualified.domainname.com", + "ipAddress": "1.2.3.4" + }, + "status": "NoCredentialsSet" + } + } + }, + "201": { + "body": { + "name": "account1/pool1/volume1/bucket1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/buckets", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/buckets/bucket1", + "properties": { + "path": "/path", + "fileSystemUser": { + "nfsUser": { + "groupId": 1000, + "userId": 1001 + } + }, + "permissions": "ReadOnly", + "provisioningState": "Creating", + "server": { + "certificateCommonName": "www.example.com", + "certificateExpiryDate": "2027-08-15T13:23:32Z", + "fqdn": "fullyqualified.domainname.com", + "ipAddress": "1.2.3.4" + }, + "status": "NoCredentialsSet" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-09-01-preview", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + } + }, + "operationId": "Buckets_CreateOrUpdate", + "title": "Buckets_CreateOrUpdate" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Buckets_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Buckets_Delete.json new file mode 100644 index 000000000000..fdcadc130579 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Buckets_Delete.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "bucketName": "bucket1", + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9", + "volumeName": "volume1" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-09-01-preview", + "Location": "https://management.azure.com/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/providers/Microsoft.NetApp/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + }, + "204": {} + }, + "operationId": "Buckets_Delete", + "title": "Buckets_Delete" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Buckets_GenerateCredentials.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Buckets_GenerateCredentials.json new file mode 100644 index 000000000000..36d8e4c0ef53 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Buckets_GenerateCredentials.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "body": { + "keyPairExpiryDays": 3 + }, + "bucketName": "bucket1", + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": { + "body": { + "accessKey": "", + "keyPairExpiry": "2027-08-15T13:23:33Z", + "secretKey": "" + } + } + }, + "operationId": "Buckets_GenerateCredentials", + "title": "Buckets_GenerateCredentials" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Buckets_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Buckets_Get.json new file mode 100644 index 000000000000..90568ba32ae1 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Buckets_Get.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "bucketName": "bucket1", + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": { + "body": { + "name": "account1/pool1/volume1/bucket1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/buckets", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/buckets/bucket1", + "properties": { + "path": "/path", + "fileSystemUser": { + "nfsUser": { + "groupId": 1000, + "userId": 1001 + } + }, + "permissions": "ReadOnly", + "provisioningState": "Succeeded", + "server": { + "certificateCommonName": "www.example.com", + "certificateExpiryDate": "2027-08-15T13:23:32Z", + "fqdn": "fullyqualified.domainname.com", + "ipAddress": "1.2.3.4" + }, + "status": "CredentialsExpired" + } + } + } + }, + "operationId": "Buckets_Get", + "title": "Buckets_Get" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Buckets_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Buckets_List.json new file mode 100644 index 000000000000..939849f1bb80 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Buckets_List.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "account1/pool1/volume1/bucket1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/buckets", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/buckets/bucket1", + "properties": { + "path": "/path", + "fileSystemUser": { + "nfsUser": { + "groupId": 1000, + "userId": 1001 + } + }, + "permissions": "ReadOnly", + "provisioningState": "Succeeded", + "server": { + "certificateCommonName": "www.example.com", + "certificateExpiryDate": "2027-08-15T13:23:32Z", + "fqdn": "fullyqualified.domainname.com", + "ipAddress": "1.2.3.4" + }, + "status": "Active" + } + } + ] + } + } + }, + "operationId": "Buckets_List", + "title": "Buckets_List" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Buckets_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Buckets_Update.json new file mode 100644 index 000000000000..6e19061999b6 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Buckets_Update.json @@ -0,0 +1,55 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "body": { + "properties": { + "permissions": "ReadWrite", + "server": { + "certificateObject": "", + "fqdn": "fullyqualified.domainname.com" + } + } + }, + "bucketName": "bucket1", + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": { + "body": { + "name": "account1/pool1/volume1/bucket1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/buckets", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/buckets/bucket1", + "properties": { + "path": "/path", + "fileSystemUser": { + "nfsUser": { + "groupId": 1000, + "userId": 1001 + } + }, + "permissions": "ReadWrite", + "provisioningState": "Succeeded", + "server": { + "certificateCommonName": "www.example.com", + "certificateExpiryDate": "2027-08-15T13:23:32Z", + "fqdn": "fullyqualified.domainname.com", + "ipAddress": "1.2.3.4" + }, + "status": "Active" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-09-01-preview", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + } + }, + "operationId": "Buckets_Update", + "title": "Buckets_Update" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Caches_CreateOrUpdate.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Caches_CreateOrUpdate.json new file mode 100644 index 000000000000..04465831592a --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Caches_CreateOrUpdate.json @@ -0,0 +1,97 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "accountName": "account1", + "poolName": "pool1", + "cacheName": "cache1", + "api-version": "2025-09-01-preview", + "body": { + "location": "eastus", + "properties": { + "filepath": "cache-west-us2-01", + "size": 107374182400, + "ldap": "Enabled", + "ldapServerType": "OpenLDAP", + "cacheSubnetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/cacheVnet/subnets/cacheSubnet1", + "peeringSubnetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/icLifVnet/subnets/peeringSubnet1", + "encryptionKeySource": "Microsoft.NetApp", + "originClusterInformation": { + "peerClusterName": "cluster1", + "peerAddresses": [ + "192.0.2.10", + "192.0.2.11" + ], + "peerVserverName": "vserver1", + "peerVolumeName": "originvol1" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/caches/cache1", + "name": "account1/pool1/cache1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/caches", + "location": "eastus", + "properties": { + "filepath": "cache-west-us2-01", + "size": 214748364800, + "provisioningState": "Succeeded", + "cacheState": "Succeeded", + "cacheSubnetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/cacheVnet/subnets/cacheSubnet1", + "peeringSubnetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/icLifVnet/subnets/peeringSubnet1", + "encryptionKeySource": "Microsoft.NetApp", + "originClusterInformation": { + "peerClusterName": "cluster1", + "peerAddresses": [ + "192.0.2.10", + "192.0.2.11" + ], + "peerVserverName": "vserver1", + "peerVolumeName": "originvol1" + }, + "cifsChangeNotifications": "Disabled", + "globalFileLocking": "Disabled", + "writeBack": "Disabled", + "ldap": "Enabled", + "ldapServerType": "OpenLDAP" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/caches/cache1", + "name": "account1/pool1/cache1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/caches", + "location": "eastus", + "properties": { + "filepath": "cache-west-us2-01", + "size": 107374182400, + "provisioningState": "Succeeded", + "cacheState": "Creating", + "cacheSubnetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/cacheVnet/subnets/cacheSubnet1", + "peeringSubnetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/icLifVnet/subnets/peeringSubnet1", + "encryptionKeySource": "Microsoft.NetApp", + "originClusterInformation": { + "peerClusterName": "cluster1", + "peerAddresses": [ + "192.0.2.10", + "192.0.2.11" + ], + "peerVserverName": "vserver1", + "peerVolumeName": "originvol1" + }, + "cifsChangeNotifications": "Disabled", + "globalFileLocking": "Disabled", + "writeBack": "Disabled", + "ldap": "Enabled", + "ldapServerType": "OpenLDAP" + } + } + } + }, + "operationId": "Caches_CreateOrUpdate", + "title": "Caches_CreateOrUpdate" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Caches_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Caches_Delete.json new file mode 100644 index 000000000000..82b3068adc2a --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Caches_Delete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "accountName": "account1", + "poolName": "pool1", + "cacheName": "cache1", + "api-version": "2025-09-01-preview" + }, + "responses": { + "204": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + } + }, + "operationId": "Caches_Delete", + "title": "Caches_Delete" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Caches_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Caches_Get.json new file mode 100644 index 000000000000..b7e4317804f2 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Caches_Get.json @@ -0,0 +1,45 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "accountName": "account1", + "poolName": "pool1", + "cacheName": "cache1", + "api-version": "2025-09-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/caches/cache1", + "name": "account1/pool1/cache1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/caches", + "location": "eastus", + "properties": { + "filepath": "cache-west-us2-01", + "size": 107374182400, + "provisioningState": "Succeeded", + "cacheState": "Succeeded", + "cacheSubnetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/cacheVnet/subnets/cacheSubnet1", + "peeringSubnetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/icLifVnet/subnets/peeringSubnet1", + "encryptionKeySource": "Microsoft.NetApp", + "originClusterInformation": { + "peerClusterName": "cluster1", + "peerAddresses": [ + "192.0.2.10", + "192.0.2.11" + ], + "peerVserverName": "vserver1", + "peerVolumeName": "originvol1" + }, + "cifsChangeNotifications": "Disabled", + "globalFileLocking": "Disabled", + "writeBack": "Disabled", + "ldap": "Enabled", + "ldapServerType": "OpenLDAP" + } + } + } + }, + "operationId": "Caches_Get", + "title": "Caches_Get" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Caches_ListByCapacityPools.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Caches_ListByCapacityPools.json new file mode 100644 index 000000000000..a135a2bbd61a --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Caches_ListByCapacityPools.json @@ -0,0 +1,48 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "accountName": "account1", + "poolName": "pool1", + "api-version": "2025-09-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/caches/cache1", + "name": "account1/pool1/cache1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/caches", + "location": "eastus", + "properties": { + "filepath": "cache-west-us2-01", + "size": 107374182400, + "provisioningState": "Succeeded", + "cacheState": "Succeeded", + "cacheSubnetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/cacheVnet/subnets/cacheSubnet1", + "peeringSubnetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/icLifVnet/subnets/peeringSubnet1", + "encryptionKeySource": "Microsoft.NetApp", + "originClusterInformation": { + "peerClusterName": "cluster1", + "peerAddresses": [ + "192.0.2.10", + "192.0.2.11" + ], + "peerVserverName": "vserver1", + "peerVolumeName": "originvol1" + }, + "cifsChangeNotifications": "Disabled", + "globalFileLocking": "Disabled", + "writeBack": "Disabled", + "ldap": "Enabled", + "ldapServerType": "OpenLDAP" + } + } + ] + } + } + }, + "operationId": "Caches_ListByCapacityPools", + "title": "Caches_List" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Caches_ListPeeringPassphrases.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Caches_ListPeeringPassphrases.json new file mode 100644 index 000000000000..16acd26e7421 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Caches_ListPeeringPassphrases.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "accountName": "account1", + "poolName": "pool1", + "cacheName": "cache-1", + "api-version": "2025-09-01-preview" + }, + "responses": { + "200": { + "body": { + "clusterPeeringCommand": "cluster peer create -ipspace replication -encryption-protocol-proposed tls-psk -passphrase passphraseString -peer-addrs 192.0.2.10,192.0.2.11,192.0.2.12,192.0.2.13,192.0.2.14,192.0.2.15", + "clusterPeeringPassphrase": "f@&@B^#r!", + "vserverPeeringCommand": "vserver peer accept -vserver {onPremiseSVMName} -peer-vserver {anfSVMName}" + } + } + }, + "operationId": "Caches_ListPeeringPassphrases", + "title": "Caches_ListPeeringPassphrases" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Caches_PoolChange.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Caches_PoolChange.json new file mode 100644 index 000000000000..8a9f9854a57b --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Caches_PoolChange.json @@ -0,0 +1,51 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "accountName": "account1", + "poolName": "pool1", + "cacheName": "cache1", + "api-version": "2025-09-01-preview", + "body": { + "newPoolResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool2" + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/caches/cache1", + "name": "account1/pool1/cache1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/caches", + "location": "eastus", + "properties": { + "filepath": "cache-west-us2-01", + "size": 107374182400, + "provisioningState": "Succeeded", + "cacheState": "Succeeded", + "cacheSubnetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/cacheVnet/subnets/cacheSubnet1", + "peeringSubnetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/icLifVnet/subnets/peeringSubnet1", + "encryptionKeySource": "Microsoft.NetApp", + "originClusterInformation": { + "peerClusterName": "cluster1", + "peerAddresses": [ + "192.0.2.10", + "192.0.2.10" + ], + "peerVserverName": "vserver1", + "peerVolumeName": "originvol1" + }, + "cifsChangeNotifications": "Disabled", + "globalFileLocking": "Disabled", + "writeBack": "Disabled" + } + } + }, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + } + }, + "operationId": "Caches_PoolChange", + "title": "Caches_PoolChange" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Caches_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Caches_Update.json new file mode 100644 index 000000000000..36227affe063 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Caches_Update.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "accountName": "account1", + "poolName": "pool1", + "cacheName": "cache1", + "api-version": "2025-09-01-preview", + "body": { + "properties": { + "size": 214748364800 + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/caches/cache1", + "name": "account1/pool1/cache1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/caches", + "location": "eastus", + "properties": { + "filepath": "cache-west-us2-01", + "size": 107374182400, + "provisioningState": "Succeeded", + "cacheState": "Succeeded", + "cacheSubnetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/cacheVnet/subnets/cacheSubnet1", + "peeringSubnetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/icLifVnet/subnets/peeringSubnet1", + "throughputMibps": 128.223, + "encryptionKeySource": "Microsoft.NetApp", + "originClusterInformation": { + "peerClusterName": "cluster1", + "peerAddresses": [ + "192.0.2.10", + "192.0.2.10" + ], + "peerVserverName": "vserver1", + "peerVolumeName": "originvol1" + }, + "cifsChangeNotifications": "Disabled" + } + } + }, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + } + }, + "operationId": "Caches_Update", + "title": "Caches_Update" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/CheckFilePathAvailability.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/CheckFilePathAvailability.json new file mode 100644 index 000000000000..5fb7e47edc0a --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/CheckFilePathAvailability.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-09-01-preview", + "body": { + "name": "my-exact-filepth", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3" + }, + "location": "eastus", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "isAvailable": true + } + } + }, + "operationId": "NetAppResource_CheckFilePathAvailability", + "title": "CheckFilePathAvailability" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/CheckNameAvailability.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/CheckNameAvailability.json new file mode 100644 index 000000000000..dd5bc53e8a51 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/CheckNameAvailability.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2025-09-01-preview", + "body": { + "name": "accName", + "type": "Microsoft.NetApp/netAppAccounts", + "resourceGroup": "myRG" + }, + "location": "eastus", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "isAvailable": true + } + } + }, + "operationId": "NetAppResource_CheckNameAvailability", + "title": "CheckNameAvailability" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/CheckQuotaAvailability.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/CheckQuotaAvailability.json new file mode 100644 index 000000000000..5ce74b81a776 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/CheckQuotaAvailability.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2025-09-01-preview", + "body": { + "name": "resource1", + "type": "Microsoft.NetApp/netAppAccounts", + "resourceGroup": "myRG" + }, + "location": "eastus", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "isAvailable": true + } + } + }, + "operationId": "NetAppResource_CheckQuotaAvailability", + "title": "CheckQuotaAvailability" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticAccounts_CreateOrUpdate.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticAccounts_CreateOrUpdate.json new file mode 100644 index 000000000000..8932f4d86c23 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticAccounts_CreateOrUpdate.json @@ -0,0 +1,66 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "accountName": "account1", + "api-version": "2025-09-01-preview", + "body": { + "location": "eastus", + "tags": { + "ac-tag1": "account1" + }, + "properties": {} + } + }, + "responses": { + "200": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/a0216c17-f9d6-4b99-9faf-9ebd4883d0e4?api-version=2025-09-01-preview" + }, + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1", + "name": "account1", + "type": "Microsoft.NetApp/elasticAccounts", + "location": "eastus", + "tags": { + "ac-tag1": "account1" + }, + "properties": { + "provisioningState": "Succeeded", + "encryption": { + "keySource": "NetApp", + "keyVaultProperties": { + "keyVaultUri": "https://myVault.vault.azure.net/", + "keyName": "string", + "keyVaultResourceId": "/subscriptions/a1b2c3d4-e5f6-7890-1234-567890abcdef/resourceGroups/my-keyvault-rg/providers/Microsoft.KeyVault/vaults/my-prod-keyvault", + "status": "Created" + }, + "identity": { + "principalId": "70ab1774-1488-4f9c-a283-2db682f91b98", + "userAssignedIdentity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/snaebjor-rotterdam-westcentralus/providers/Microsoft.ManagedIdentity/userAssignedIdentities/snaebjor-wcu-identity" + } + } + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/a0216c17-f9d6-4b99-9faf-9ebd4883d0e4?api-version=2025-09-01-preview" + }, + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1", + "name": "account1", + "type": "Microsoft.NetApp/elasticAccounts", + "location": "eastus", + "tags": { + "ac-tag1": "account1" + }, + "properties": { + "provisioningState": "Creating" + } + } + } + }, + "operationId": "ElasticAccounts_CreateOrUpdate", + "title": "ElasticAccounts_CreateOrUpdate" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticAccounts_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticAccounts_Delete.json new file mode 100644 index 000000000000..286d8d1e6c43 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticAccounts_Delete.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "accountName": "account1", + "api-version": "2025-09-01-preview" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview" + } + }, + "204": {} + }, + "operationId": "ElasticAccounts_Delete", + "title": "ElasticAccounts_Delete" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticAccounts_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticAccounts_Get.json new file mode 100644 index 000000000000..fec471f6f8a6 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticAccounts_Get.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "accountName": "account1", + "api-version": "2025-09-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1", + "name": "account1", + "type": "Microsoft.NetApp/elasticAccounts", + "location": "eastus", + "tags": { + "ac-tag1": "account1" + }, + "properties": { + "provisioningState": "Succeeded", + "encryption": { + "keySource": "NetApp", + "keyVaultProperties": { + "keyVaultUri": "https://myVault.vault.azure.net/", + "keyName": "string", + "keyVaultResourceId": "/subscriptions/a1b2c3d4-e5f6-7890-1234-567890abcdef/resourceGroups/my-keyvault-rg/providers/Microsoft.KeyVault/vaults/my-prod-keyvault", + "status": "Created" + }, + "identity": { + "principalId": "70ab1774-1488-4f9c-a283-2db682f91b98", + "userAssignedIdentity": "/subscriptions/ccdce6ae-b7b3-4a53-b9c5-48e2caa01800/resourcegroups/snaebjor-rotterdam-westcentralus/providers/Microsoft.ManagedIdentity/userAssignedIdentities/snaebjor-wcu-identity" + } + } + } + } + } + }, + "operationId": "ElasticAccounts_Get", + "title": "ElasticAccounts_Get" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticAccounts_ListByResourceGroup.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticAccounts_ListByResourceGroup.json new file mode 100644 index 000000000000..1509f63c5d4d --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticAccounts_ListByResourceGroup.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "api-version": "2025-09-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1", + "name": "account1", + "type": "Microsoft.NetApp/elasticAccounts", + "location": "eastus", + "tags": { + "ac-tag1": "account1" + }, + "properties": { + "provisioningState": "Succeeded", + "encryption": { + "keySource": "NetApp", + "keyVaultProperties": { + "keyVaultUri": "https://myVault.vault.azure.net/", + "keyName": "string", + "keyVaultResourceId": "/subscriptions/a1b2c3d4-e5f6-7890-1234-567890abcdef/resourceGroups/my-keyvault-rg/providers/Microsoft.KeyVault/vaults/my-prod-keyvault", + "status": "Created" + }, + "identity": { + "principalId": "70ab1774-1488-4f9c-a283-2db682f91b98", + "userAssignedIdentity": "/subscriptions/ccdce6ae-b7b3-4a53-b9c5-48e2caa01800/resourcegroups/snaebjor-rotterdam-westcentralus/providers/Microsoft.ManagedIdentity/userAssignedIdentities/snaebjor-wcu-identity" + } + } + } + } + ] + } + } + }, + "operationId": "ElasticAccounts_ListByResourceGroup", + "title": "ElasticAccounts_ListByResourceGroup" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticAccounts_ListBySubscription.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticAccounts_ListBySubscription.json new file mode 100644 index 000000000000..6e2c1e39f8cb --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticAccounts_ListBySubscription.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "api-version": "2025-09-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1", + "name": "account1", + "type": "Microsoft.NetApp/elasticAccounts", + "location": "eastus", + "tags": { + "ac-tag1": "account1" + }, + "properties": { + "provisioningState": "Succeeded", + "encryption": { + "keySource": "NetApp", + "keyVaultProperties": { + "keyVaultUri": "https://myVault.vault.azure.net/", + "keyName": "string", + "keyVaultResourceId": "/subscriptions/a1b2c3d4-e5f6-7890-1234-567890abcdef/resourceGroups/my-keyvault-rg/providers/Microsoft.KeyVault/vaults/my-prod-keyvault", + "status": "Created" + }, + "identity": { + "principalId": "70ab1774-1488-4f9c-a283-2db682f91b98", + "userAssignedIdentity": "/subscriptions/ccdce6ae-b7b3-4a53-b9c5-48e2caa01800/resourcegroups/snaebjor-rotterdam-westcentralus/providers/Microsoft.ManagedIdentity/userAssignedIdentities/snaebjor-wcu-identity" + } + } + } + } + ] + } + } + }, + "operationId": "ElasticAccounts_ListBySubscription", + "title": "ElasticAccounts_ListBySubscription" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticAccounts_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticAccounts_Update.json new file mode 100644 index 000000000000..e1611bd77f16 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticAccounts_Update.json @@ -0,0 +1,46 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "accountName": "account1", + "api-version": "2025-09-01-preview", + "body": { + "tags": { + "Tag1": "Value1" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1", + "name": "account1", + "type": "Microsoft.NetApp/elasticAccounts", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "encryption": { + "keySource": "NetApp", + "keyVaultProperties": { + "keyVaultUri": "https://myVault.vault.azure.net/", + "keyName": "string", + "keyVaultResourceId": "/subscriptions/a1b2c3d4-e5f6-7890-1234-567890abcdef/resourceGroups/my-keyvault-rg/providers/Microsoft.KeyVault/vaults/my-prod-keyvault", + "status": "Created" + }, + "identity": { + "principalId": "70ab1774-1488-4f9c-a283-2db682f91b98", + "userAssignedIdentity": "/subscriptions/ccdce6ae-b7b3-4a53-b9c5-48e2caa01800/resourcegroups/snaebjor-rotterdam-westcentralus/providers/Microsoft.ManagedIdentity/userAssignedIdentities/snaebjor-wcu-identity" + } + } + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/a0216c17-f9d6-4b99-9faf-9ebd4883d0e4?api-version=2025-09-01-preview" + } + } + }, + "operationId": "ElasticAccounts_Update", + "title": "ElasticAccounts_Update" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticBackupPolicies_CreateOrUpdate.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticBackupPolicies_CreateOrUpdate.json new file mode 100644 index 000000000000..b659f8e9b115 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticBackupPolicies_CreateOrUpdate.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "accountName": "account1", + "backupPolicyName": "backupPolicyName", + "api-version": "2025-09-01-preview", + "body": { + "location": "westus", + "properties": { + "dailyBackupsToKeep": 10, + "weeklyBackupsToKeep": 10, + "monthlyBackupsToKeep": 10, + "policyState": "Enabled" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticBackupPolicies/backupPolicyName", + "name": "account1/backupPolicyName", + "type": "Microsoft.NetApp/elasticAccounts/elasticBackupPolicies", + "location": "westus", + "properties": { + "dailyBackupsToKeep": 10, + "weeklyBackupsToKeep": 10, + "monthlyBackupsToKeep": 10, + "policyState": "Enabled", + "provisioningState": "Creating" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticBackupPolicies/backupPolicyName", + "name": "account1/backupPolicyName", + "type": "Microsoft.NetApp/elasticAccounts/elasticBackupPolicies", + "location": "westus", + "properties": { + "dailyBackupsToKeep": 10, + "weeklyBackupsToKeep": 10, + "monthlyBackupsToKeep": 10, + "policyState": "Enabled", + "provisioningState": "Creating" + } + } + } + }, + "operationId": "ElasticBackupPolicies_CreateOrUpdate", + "title": "ElasticBackupPolicies_CreateOrUpdate" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticBackupPolicies_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticBackupPolicies_Delete.json new file mode 100644 index 000000000000..0a3fcb809303 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticBackupPolicies_Delete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "resourceGroup", + "accountName": "accountName", + "backupPolicyName": "backupPolicyName", + "api-version": "2025-09-01-preview" + }, + "responses": { + "204": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + } + }, + "operationId": "ElasticBackupPolicies_Delete", + "title": "ElasticBackupPolicies_Delete" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticBackupPolicies_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticBackupPolicies_Get.json new file mode 100644 index 000000000000..09f07e0a2675 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticBackupPolicies_Get.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "accountName": "account1", + "backupPolicyName": "backupPolicyName", + "api-version": "2025-09-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticBackupPolicies/backupPolicyName", + "name": "account1/backupPolicyName", + "type": "Microsoft.NetApp/elasticAccounts/elasticBackupPolicies", + "location": "eastus", + "properties": { + "dailyBackupsToKeep": 10, + "weeklyBackupsToKeep": 10, + "monthlyBackupsToKeep": 10, + "assignedVolumesCount": 1, + "policyState": "Enabled" + } + } + } + }, + "operationId": "ElasticBackupPolicies_Get", + "title": "ElasticBackupPolicies_Get" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticBackupPolicies_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticBackupPolicies_List.json new file mode 100644 index 000000000000..cc7f8d11672a --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticBackupPolicies_List.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "accountName": "account1", + "api-version": "2025-09-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticBackupPolicies/backupPolicyName", + "name": "account1/backupPolicy1", + "type": "Microsoft.NetApp/elasticAccounts/elasticBackupPolicies", + "location": "eastus", + "properties": { + "dailyBackupsToKeep": 10, + "weeklyBackupsToKeep": 10, + "monthlyBackupsToKeep": 10, + "assignedVolumesCount": 1, + "policyState": "Enabled" + } + } + ] + } + } + }, + "operationId": "ElasticBackupPolicies_ListByElasticAccount", + "title": "ElasticBackupPolicies_ListByElasticAccount" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticBackupPolicies_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticBackupPolicies_Update.json new file mode 100644 index 000000000000..6c07f239cd3e --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticBackupPolicies_Update.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "accountName": "account1", + "backupPolicyName": "backupPolicyName", + "api-version": "2025-09-01-preview", + "body": { + "properties": { + "dailyBackupsToKeep": 5, + "weeklyBackupsToKeep": 10, + "monthlyBackupsToKeep": 10, + "policyState": "Enabled" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticBackupPolicies/backupPolicyName", + "name": "account1/backupPolicyName", + "type": "Microsoft.NetApp/elasticAccounts/elasticBackupPolicies", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "dailyBackupsToKeep": 5, + "weeklyBackupsToKeep": 10, + "monthlyBackupsToKeep": 10, + "assignedVolumesCount": 1, + "policyState": "Enabled" + } + } + }, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/18c499e1-2a3c-441c-950e-4b456c991c18?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + } + }, + "operationId": "ElasticBackupPolicies_Update", + "title": "ElasticBackupPolicies_Update" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticBackupVaults_Create.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticBackupVaults_Create.json new file mode 100644 index 000000000000..37e030f2b5c0 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticBackupVaults_Create.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "accountName": "account1", + "backupVaultName": "backupVault1", + "api-version": "2025-09-01-preview", + "body": { + "location": "eastus" + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticBackupVaults/backupVault1", + "name": "account1/backupVault1", + "type": "Microsoft.NetApp/elasticAccounts/elasticBackupVaults", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticBackupVaults/backupVault1", + "name": "account1/backupVault1", + "type": "Microsoft.NetApp/elasticAccounts/elasticBackupVaults", + "location": "eastus", + "properties": { + "provisioningState": "Creating" + } + } + } + }, + "operationId": "ElasticBackupVaults_CreateOrUpdate", + "title": "ElasticBackupVaults_CreateOrUpdate" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticBackupVaults_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticBackupVaults_Delete.json new file mode 100644 index 000000000000..fd6d7977fd0a --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticBackupVaults_Delete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "resourceGroup", + "accountName": "account1", + "backupVaultName": "backupVault1", + "api-version": "2025-09-01-preview" + }, + "responses": { + "204": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview&operationResultResponseType=Location", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview" + } + } + }, + "operationId": "ElasticBackupVaults_Delete", + "title": "ElasticBackupVaults_Delete" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticBackupVaults_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticBackupVaults_Get.json new file mode 100644 index 000000000000..9583ae5a553d --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticBackupVaults_Get.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "accountName": "account1", + "backupVaultName": "backupVault1", + "api-version": "2025-09-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticBackupVaults/backupVault1", + "name": "account1/backupVault1", + "type": "Microsoft.NetApp/elasticAccounts/elasticBackupVaults", + "location": "eastus", + "tags": { + "Tag1": "Value1" + }, + "properties": { + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "ElasticBackupVaults_Get", + "title": "ElasticBackupVaults_Get" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticBackupVaults_ListByElasticAccount.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticBackupVaults_ListByElasticAccount.json new file mode 100644 index 000000000000..f0378bbc5599 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticBackupVaults_ListByElasticAccount.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "accountName": "account1", + "api-version": "2025-09-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticBackupVaults/backupVault1", + "name": "account1/backupVault1", + "type": "Microsoft.NetApp/elasticAccounts/elasticBackupVaults", + "location": "eastus", + "tags": { + "Tag1": "Value1" + }, + "properties": { + "provisioningState": "Succeeded" + } + } + ] + } + } + }, + "operationId": "ElasticBackupVaults_ListByElasticAccount", + "title": "ElasticBackupVaults_ListByElasticAccount" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticBackupVaults_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticBackupVaults_Update.json new file mode 100644 index 000000000000..b2974c43f104 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticBackupVaults_Update.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "accountName": "account1", + "backupVaultName": "backupVault1", + "api-version": "2025-09-01-preview", + "body": { + "tags": { + "Tag1": "Value1" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticBackupVaults/backupVault1", + "name": "account1/backupVault1", + "type": "Microsoft.NetApp/elasticAccounts/elasticBackupVaults", + "location": "eastus", + "tags": { + "Tag1": "Value1" + }, + "properties": { + "provisioningState": "Succeeded" + } + } + }, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/18c499e1-2a3c-441c-950e-4b456c991c18?api-version=2025-09-01-preview&operationResultResponseType=Location", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview" + } + } + }, + "operationId": "ElasticBackupVaults_Update", + "title": "ElasticBackupVaults_Update" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticBackups_CreateOrUpdate.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticBackups_CreateOrUpdate.json new file mode 100644 index 000000000000..980e59518351 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticBackups_CreateOrUpdate.json @@ -0,0 +1,56 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "accountName": "account1", + "backupVaultName": "backupVault1", + "backupName": "backup1", + "api-version": "2025-09-01-preview", + "body": { + "properties": { + "label": "myLabel", + "elasticVolumeResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticCapacityPools/pool1/elasticVolumes/volume1", + "snapshotUsage": "UseExistingSnapshot", + "elasticSnapshotResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticCapacityPools/pool1/elasticVolumes/volume1/elasticSnapshots/snap1" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticBackupVaults/backupVault1/elasticBackups/backup1", + "name": "account1/backupVault1/backup1", + "type": "Microsoft.NetApp/elasticAccounts/elasticBackupVaults/elasticBackups", + "properties": { + "creationDate": "2017-08-15T13:23:33Z", + "provisioningState": "Succeeded", + "size": 10011, + "label": "myLabel", + "backupType": "Manual", + "snapshotUsage": "UseExistingSnapshot", + "elasticSnapshotResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticCapacityPools/pool1/elasticVolumes/volume1/elasticSnapshots/snap1", + "elasticVolumeResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticCapacityPools/pool1/elasticVolumes/volume1" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticBackupVaults/backupVault1/elasticBackups/backup1", + "name": "account1/backupVault1/backup1", + "type": "Microsoft.NetApp/elasticAccounts/elasticBackupVaults/elasticBackups", + "properties": { + "creationDate": "2017-08-15T13:23:33Z", + "provisioningState": "Succeeded", + "size": 10011, + "label": "myLabel", + "backupType": "Manual", + "snapshotUsage": "UseExistingSnapshot", + "elasticSnapshotResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticCapacityPools/pool1/elasticVolumes/volume1/elasticSnapshots/snap1", + "elasticVolumeResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticCapacityPools/pool1/elasticVolumes/volume1" + } + } + } + }, + "operationId": "ElasticBackups_CreateOrUpdate", + "title": "ElasticBackups_CreateOrUpdate" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticBackups_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticBackups_Delete.json new file mode 100644 index 000000000000..3994c72f6b3f --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticBackups_Delete.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "resourceGroup", + "accountName": "account1", + "backupVaultName": "backupVault1", + "backupName": "backup1", + "api-version": "2025-09-01-preview" + }, + "responses": { + "204": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview&operationResultResponseType=Location", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview" + } + } + }, + "operationId": "ElasticBackups_Delete", + "title": "ElasticBackups_Delete" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticBackups_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticBackups_Get.json new file mode 100644 index 000000000000..d3e1f1668a1f --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticBackups_Get.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "accountName": "account1", + "backupVaultName": "backupVault1", + "backupName": "backup1", + "api-version": "2025-09-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticBackupVaults/backupVault1/elasticBackups/backup1", + "name": "account1/backupVault1/backup1", + "type": "Microsoft.NetApp/elasticAccounts/elasticBackupVaults/elasticBackups", + "properties": { + "creationDate": "2017-08-15T13:23:33Z", + "snapshotCreationDate": "2017-08-15T13:23:33Z", + "completionDate": "2017-08-15T13:23:33Z", + "provisioningState": "Succeeded", + "size": 10011, + "label": "myLabel", + "backupType": "Manual", + "snapshotUsage": "Existing", + "elasticSnapshotResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticCapacityPools/pool1/elasticVolumes/volume1/elasticSnapshots/snap1", + "elasticVolumeResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticCapacityPools/pool1/elasticVolumes/volume1", + "elasticBackupPolicyResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticBackupPolicies/policy1", + "volumeSize": "Large" + } + } + } + }, + "operationId": "ElasticBackups_Get", + "title": "ElasticBackups_Get" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticBackups_ListByVault.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticBackups_ListByVault.json new file mode 100644 index 000000000000..be64e6f44b07 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticBackups_ListByVault.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "accountName": "account1", + "backupVaultName": "backupVault1", + "api-version": "2025-09-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticBackupVaults/backupVault1/elasticBackups/backup1", + "name": "account1/backupVault1/backup1", + "type": "Microsoft.NetApp/elasticAccounts/elasticBackupVaults/elasticBackups", + "properties": { + "creationDate": "2017-08-15T13:23:33Z", + "snapshotCreationDate": "2017-08-15T13:23:33Z", + "completionDate": "2017-08-15T13:23:33Z", + "provisioningState": "Succeeded", + "size": 10011, + "label": "myLabel", + "backupType": "Manual", + "snapshotUsage": "Existing", + "elasticSnapshotResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticCapacityPools/pool1/elasticVolumes/volume1/elasticSnapshots/snap1", + "elasticVolumeResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticCapacityPools/pool1/elasticVolumes/volume1", + "elasticBackupPolicyResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticBackupPolicies/policy1", + "volumeSize": "Large" + } + } + ] + } + } + }, + "operationId": "ElasticBackups_ListByVault", + "title": "ElasticBackups_ListByVault" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticBackups_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticBackups_Update.json new file mode 100644 index 000000000000..e0c2c0ce4864 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticBackups_Update.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "accountName": "account1", + "backupVaultName": "backupVault1", + "backupName": "backup1", + "api-version": "2025-09-01-preview", + "body": {} + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticBackupVaults/backupVault1/elasticBackups/backup1", + "name": "account1/backupVault1/backup1", + "type": "Microsoft.NetApp/elasticAccounts/elasticBackupVaults/elasticBackups", + "properties": { + "creationDate": "2017-08-15T13:23:33Z", + "provisioningState": "Succeeded", + "size": 10011, + "label": "myLabel", + "backupType": "Manual", + "snapshotUsage": "Existing", + "elasticSnapshotResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticCapacityPools/pool1/elasticVolumes/volume1/elasticSnapshots/snap1", + "elasticVolumeResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticCapacityPools/pool1/elasticVolumes/volume1" + } + } + }, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/18c499e1-2a3c-441c-950e-4b456c991c18?api-version=2025-09-01-preview&operationResultResponseType=Location", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/18c499e1-2a3c-441c-950e-4b456c991c18?api-version=2025-09-01-preview" + } + } + }, + "operationId": "ElasticBackups_Update", + "title": "ElasticBackups_Update" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticCapacityPools_ChangeZone.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticCapacityPools_ChangeZone.json new file mode 100644 index 000000000000..03155f3a9bbe --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticCapacityPools_ChangeZone.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "accountName": "account1", + "poolName": "pool1", + "api-version": "2025-09-01-preview", + "body": { + "newZone": "3" + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticCapacityPools/pool1", + "name": "account1/pool1", + "type": "Microsoft.NetApp/elasticAccounts/elasticCapacityPools", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "serviceLevel": "ZoneRedundant", + "size": 4398046511104, + "totalThroughputMibps": 281.474, + "currentZone": "3", + "availabilityStatus": "Online", + "subnetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview" + } + } + }, + "operationId": "ElasticCapacityPools_ChangeZone", + "title": "ElasticCapacityPools_ChangeZone" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticCapacityPools_CheckVolumeFilePathAvailability.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticCapacityPools_CheckVolumeFilePathAvailability.json new file mode 100644 index 000000000000..3492791157ba --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticCapacityPools_CheckVolumeFilePathAvailability.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "accountName": "account1", + "poolName": "pool1", + "api-version": "2025-09-01-preview", + "body": { + "filePath": "my-exact-filepth" + } + }, + "responses": { + "200": { + "body": { + "isAvailable": "True" + } + } + }, + "operationId": "ElasticCapacityPools_CheckVolumeFilePathAvailability", + "title": "ElasticCapacityPools_CheckVolumeFilePathAvailability" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticCapacityPools_CreateOrUpdate.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticCapacityPools_CreateOrUpdate.json new file mode 100644 index 000000000000..f9d32b9b34dd --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticCapacityPools_CreateOrUpdate.json @@ -0,0 +1,76 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "accountName": "account1", + "poolName": "pool1", + "api-version": "2025-09-01-preview", + "body": { + "location": "eastus", + "zones": [ + "1", + "2", + "3" + ], + "properties": { + "size": 4398046511104, + "serviceLevel": "ZoneRedundant", + "subnetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "activeDirectoryConfigResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/activeDirectoryConfigs/activeDirectoryConfig1" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticCapacityPools/pool1", + "name": "account1/pool1", + "type": "Microsoft.NetApp/elasticAccounts/elasticCapacityPools", + "location": "eastus", + "zones": [ + "1", + "2", + "3" + ], + "properties": { + "provisioningState": "Succeeded", + "serviceLevel": "ZoneRedundant", + "size": 4398046511104, + "totalThroughputMibps": 281.474, + "currentZone": "1", + "availabilityStatus": "Online", + "subnetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "activeDirectoryConfigResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/activeDirectoryConfigs/activeDirectoryConfig1" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/a0216c17-f9d6-4b99-9faf-9ebd4883d0e4?api-version=2025-09-01-preview" + }, + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticCapacityPools/pool1", + "name": "account1/pool1", + "type": "Microsoft.NetApp/elasticAccounts/elasticCapacityPools", + "location": "eastus", + "zones": [ + "1", + "2", + "3" + ], + "properties": { + "provisioningState": "Creating", + "serviceLevel": "ZoneRedundant", + "size": 4398046511104, + "totalThroughputMibps": 281.474, + "currentZone": "1", + "availabilityStatus": "Online", + "subnetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "activeDirectoryConfigResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/activeDirectoryConfigs/activeDirectoryConfig1" + } + } + } + }, + "operationId": "ElasticCapacityPools_CreateOrUpdate", + "title": "ElasticCapacityPools_CreateOrUpdate" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticCapacityPools_CreateOrUpdateCMK.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticCapacityPools_CreateOrUpdateCMK.json new file mode 100644 index 000000000000..572351ea3c76 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticCapacityPools_CreateOrUpdateCMK.json @@ -0,0 +1,88 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "accountName": "account1", + "poolName": "pool1", + "api-version": "2025-09-01-preview", + "body": { + "location": "eastus", + "zones": [ + "1", + "2", + "3" + ], + "properties": { + "size": 4398046511104, + "serviceLevel": "ZoneRedundant", + "subnetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "activeDirectoryConfigResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/activeDirectoryConfigs/activeDirectoryConfig1", + "encryption": { + "elasticPoolEncryptionKeySource": "NetApp", + "keyVaultPrivateEndpointResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myKeyVault/privateEndpointConnections/myKeyVaultPec" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticCapacityPools/pool1", + "name": "account1/pool1", + "type": "Microsoft.NetApp/elasticAccounts/elasticCapacityPools", + "location": "eastus", + "zones": [ + "1", + "2", + "3" + ], + "properties": { + "provisioningState": "Succeeded", + "serviceLevel": "ZoneRedundant", + "size": 4398046511104, + "totalThroughputMibps": 281.474, + "currentZone": "1", + "availabilityStatus": "Online", + "subnetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "activeDirectoryConfigResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/activeDirectoryConfigs/activeDirectoryConfig1", + "encryption": { + "elasticPoolEncryptionKeySource": "NetApp", + "keyVaultPrivateEndpointResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myKeyVault/privateEndpointConnections/myKeyVaultPec" + } + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/a0216c17-f9d6-4b99-9faf-9ebd4883d0e4?api-version=2025-09-01-preview" + }, + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticCapacityPools/pool1", + "name": "account1/pool1", + "type": "Microsoft.NetApp/elasticAccounts/elasticCapacityPools", + "location": "eastus", + "zones": [ + "1", + "2", + "3" + ], + "properties": { + "provisioningState": "Creating", + "serviceLevel": "ZoneRedundant", + "size": 4398046511104, + "totalThroughputMibps": 281.474, + "currentZone": "1", + "availabilityStatus": "Online", + "subnetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "activeDirectoryConfigResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/activeDirectoryConfigs/activeDirectoryConfig1", + "encryption": { + "elasticPoolEncryptionKeySource": "NetApp", + "keyVaultPrivateEndpointResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myKeyVault/privateEndpointConnections/myKeyVaultPec" + } + } + } + } + }, + "operationId": "ElasticCapacityPools_CreateOrUpdate", + "title": "ElasticCapacityPools_CreateOrUpdateCMK" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticCapacityPools_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticCapacityPools_Delete.json new file mode 100644 index 000000000000..2d7d4f6a88fb --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticCapacityPools_Delete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "accountName": "account1", + "poolName": "pool1", + "api-version": "2025-09-01-preview" + }, + "responses": { + "204": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview" + } + } + }, + "operationId": "ElasticCapacityPools_Delete", + "title": "ElasticCapacityPools_Delete" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticCapacityPools_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticCapacityPools_Get.json new file mode 100644 index 000000000000..ff391a89b2b9 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticCapacityPools_Get.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "accountName": "account1", + "poolName": "pool1", + "api-version": "2025-09-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticCapacityPools/pool1", + "name": "account1/pool1", + "type": "Microsoft.NetApp/elasticAccounts/elasticCapacityPools", + "location": "eastus", + "zones": [ + "1", + "2", + "3" + ], + "properties": { + "provisioningState": "Succeeded", + "serviceLevel": "ZoneRedundant", + "size": 4398046511104, + "totalThroughputMibps": 281.474, + "currentZone": "1", + "availabilityStatus": "Online", + "subnetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "activeDirectoryConfigResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/activeDirectoryConfigs/activeDirectoryConfig1", + "encryption": { + "elasticPoolEncryptionKeySource": "NetApp", + "keyVaultPrivateEndpointResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myKeyVault/privateEndpointConnections/myKeyVaultPec" + } + } + } + } + }, + "operationId": "ElasticCapacityPools_Get", + "title": "ElasticCapacityPools_Get" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticCapacityPools_ListByElasticAccount.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticCapacityPools_ListByElasticAccount.json new file mode 100644 index 000000000000..8d3216bd88a3 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticCapacityPools_ListByElasticAccount.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "accountName": "account1", + "api-version": "2025-09-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticCapacityPools/pool1", + "name": "account1/pool1", + "type": "Microsoft.NetApp/elasticAccounts/elasticCapacityPools", + "location": "eastus", + "zones": [ + "1", + "2", + "3" + ], + "properties": { + "provisioningState": "Succeeded", + "serviceLevel": "ZoneRedundant", + "size": 4398046511104, + "totalThroughputMibps": 281.474, + "currentZone": "1", + "availabilityStatus": "Online", + "subnetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "activeDirectoryConfigResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/activeDirectoryConfigs/activeDirectoryConfig1", + "encryption": { + "elasticPoolEncryptionKeySource": "NetApp", + "keyVaultPrivateEndpointResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myKeyVault/privateEndpointConnections/myKeyVaultPec" + } + } + } + ] + } + } + }, + "operationId": "ElasticCapacityPools_ListByElasticAccount", + "title": "ElasticCapacityPools_ListByElasticAccount" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticCapacityPools_ListByNetAppAccount.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticCapacityPools_ListByNetAppAccount.json new file mode 100644 index 000000000000..2118caa8dd4d --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticCapacityPools_ListByNetAppAccount.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "accountName": "account1", + "api-version": "2025-09-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticCapacityPools/pool1", + "name": "account1/pool1", + "type": "Microsoft.NetApp/elasticAccounts/elasticCapacityPools", + "location": "eastus", + "zones": [ + "1", + "2", + "3" + ], + "properties": { + "provisioningState": "Succeeded", + "serviceLevel": "ZoneRedundant", + "size": 4398046511104, + "totalThroughputMibps": 281.474, + "currentZone": "1", + "availabilityStatus": "Online", + "subnetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "activeDirectoryConfigResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/activeDirectoryConfigs/activeDirectoryConfig1", + "encryption": { + "elasticPoolEncryptionKeySource": "NetApp", + "keyVaultPrivateEndpointResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myKeyVault/privateEndpointConnections/myKeyVaultPec" + } + } + } + ] + } + } + }, + "operationId": "ElasticCapacityPools_ListByNetAppAccount", + "title": "ElasticCapacityPools_ListByNetAppAccount" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticCapacityPools_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticCapacityPools_Update.json new file mode 100644 index 000000000000..7575f1ac8ccc --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticCapacityPools_Update.json @@ -0,0 +1,51 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "accountName": "account1", + "poolName": "pool1", + "api-version": "2025-09-01-preview", + "body": { + "properties": { + "size": 4398046511104, + "activeDirectoryConfigResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/activeDirectoryConfigs/activeDirectoryConfig1" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticCapacityPools/pool1", + "name": "account1/pool1", + "type": "Microsoft.NetApp/elasticAccounts/elasticCapacityPools", + "location": "eastus", + "zones": [ + "1", + "2", + "3" + ], + "properties": { + "provisioningState": "Succeeded", + "serviceLevel": "ZoneRedundant", + "size": 4398046511104, + "totalThroughputMibps": 281.474, + "currentZone": "1", + "availabilityStatus": "Online", + "subnetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "activeDirectoryConfigResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/activeDirectoryConfigs/activeDirectoryConfig1", + "encryption": { + "elasticPoolEncryptionKeySource": "NetApp", + "keyVaultPrivateEndpointResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myKeyVault/privateEndpointConnections/myKeyVaultPec" + } + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview" + } + } + }, + "operationId": "ElasticCapacityPools_Update", + "title": "ElasticCapacityPools_Update" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticSnapshotPolicies_CreateOrUpdate.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticSnapshotPolicies_CreateOrUpdate.json new file mode 100644 index 000000000000..4867535f02f7 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticSnapshotPolicies_CreateOrUpdate.json @@ -0,0 +1,124 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "accountName": "account1", + "snapshotPolicyName": "snapshotPolicyName", + "api-version": "2025-09-01-preview", + "body": { + "location": "eastus", + "properties": { + "policyStatus": "Enabled", + "hourlySchedule": { + "snapshotsToKeep": 2, + "minute": 50 + }, + "dailySchedule": { + "snapshotsToKeep": 4, + "hour": 14, + "minute": 30 + }, + "weeklySchedule": { + "snapshotsToKeep": 3, + "days": [ + "Wednesday" + ], + "hour": 14, + "minute": 45 + }, + "monthlySchedule": { + "snapshotsToKeep": 5, + "daysOfMonth": [ + 10, + 11, + 12 + ], + "hour": 14, + "minute": 15 + } + } + } + }, + "responses": { + "200": { + "body": { + "location": "eastus", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticSnapshotPolicies/snapshotPolicy1", + "name": "account1/snapshotPolicy1", + "type": "Microsoft.NetApp/elasticAccounts/elasticSnapshotPolicies", + "properties": { + "policyStatus": "Enabled", + "hourlySchedule": { + "snapshotsToKeep": 2, + "minute": 50 + }, + "dailySchedule": { + "snapshotsToKeep": 4, + "hour": 14, + "minute": 30 + }, + "weeklySchedule": { + "snapshotsToKeep": 3, + "days": [ + "Wednesday" + ], + "hour": 14, + "minute": 45 + }, + "monthlySchedule": { + "snapshotsToKeep": 5, + "daysOfMonth": [ + 10, + 11, + 12 + ], + "hour": 14, + "minute": 15 + }, + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "location": "eastus", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticSnapshotPolicies/snapshotPolicy1", + "name": "account1/snapshotPolicy1", + "type": "Microsoft.NetApp/elasticAccounts/elasticSnapshotPolicies", + "properties": { + "policyStatus": "Enabled", + "hourlySchedule": { + "snapshotsToKeep": 2, + "minute": 50 + }, + "dailySchedule": { + "snapshotsToKeep": 4, + "hour": 14, + "minute": 30 + }, + "weeklySchedule": { + "snapshotsToKeep": 3, + "days": [ + "Wednesday" + ], + "hour": 14, + "minute": 45 + }, + "monthlySchedule": { + "snapshotsToKeep": 5, + "daysOfMonth": [ + 10, + 11, + 12 + ], + "hour": 14, + "minute": 15 + }, + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "ElasticSnapshotPolicies_CreateOrUpdate", + "title": "ElasticSnapshotPolicies_CreateOrUpdate" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticSnapshotPolicies_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticSnapshotPolicies_Delete.json new file mode 100644 index 000000000000..21ad056517f0 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticSnapshotPolicies_Delete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "resourceGroup", + "accountName": "accountName", + "snapshotPolicyName": "snapshotPolicyName", + "api-version": "2025-09-01-preview" + }, + "responses": { + "204": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview" + } + } + }, + "operationId": "ElasticSnapshotPolicies_Delete", + "title": "ElasticSnapshotPolicies_Delete" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticSnapshotPolicies_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticSnapshotPolicies_Get.json new file mode 100644 index 000000000000..200fb5a7ef78 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticSnapshotPolicies_Get.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "accountName": "account1", + "snapshotPolicyName": "snapshotPolicyName", + "api-version": "2025-09-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticSnapshotPolicies/snapshotPolicy1", + "name": "account1/snapshotPolicy1", + "type": "Microsoft.NetApp/elasticAccounts/elasticSnapshotPolicies", + "location": "eastus", + "properties": { + "policyStatus": "Enabled", + "hourlySchedule": { + "snapshotsToKeep": 2, + "minute": 50 + }, + "dailySchedule": { + "snapshotsToKeep": 4, + "hour": 14, + "minute": 30 + }, + "weeklySchedule": { + "snapshotsToKeep": 3, + "days": [ + "Wednesday" + ], + "hour": 14, + "minute": 45 + }, + "monthlySchedule": { + "snapshotsToKeep": 5, + "daysOfMonth": [ + 10, + 11, + 12 + ], + "hour": 14, + "minute": 15 + }, + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "ElasticSnapshotPolicies_Get", + "title": "ElasticSnapshotPolicies_Get" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticSnapshotPolicies_ListByElasticAccount.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticSnapshotPolicies_ListByElasticAccount.json new file mode 100644 index 000000000000..5b3a07e1355b --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticSnapshotPolicies_ListByElasticAccount.json @@ -0,0 +1,55 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "accountName": "account1", + "api-version": "2025-09-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticSnapshotPolicies/snapshotPolicy1", + "name": "account1/snapshotPolicy1", + "location": "eastus", + "type": "Microsoft.NetApp/elasticAccounts/elasticSnapshotPolicies", + "properties": { + "policyStatus": "Enabled", + "hourlySchedule": { + "snapshotsToKeep": 2, + "minute": 50 + }, + "dailySchedule": { + "snapshotsToKeep": 4, + "hour": 14, + "minute": 30 + }, + "weeklySchedule": { + "snapshotsToKeep": 3, + "days": [ + "Wednesday" + ], + "hour": 14, + "minute": 45 + }, + "monthlySchedule": { + "snapshotsToKeep": 5, + "daysOfMonth": [ + 10, + 11, + 12 + ], + "hour": 14, + "minute": 15 + }, + "provisioningState": "Succeeded" + } + } + ] + } + } + }, + "operationId": "ElasticSnapshotPolicies_ListByElasticAccount", + "title": "ElasticSnapshotPolicies_ListByElasticAccount" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticSnapshotPolicies_ListElasticVolumes.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticSnapshotPolicies_ListElasticVolumes.json new file mode 100644 index 000000000000..70b2c91d497c --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticSnapshotPolicies_ListElasticVolumes.json @@ -0,0 +1,56 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "accountName": "account1", + "snapshotPolicyName": "snapshotPolicyName", + "api-version": "2025-09-01-preview", + "body": { + "location": "eastus", + "properties": {} + } + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticCapacityPools/pool1/elasticVolumes/volume1", + "name": "account1/pool1/volume1", + "type": "Microsoft.NetApp/elasticAccounts/elasticCapacityPools/elasticVolumes", + "location": "eastus", + "properties": { + "filePath": "my-unique-file-path", + "size": 107374182400, + "provisioningState": "Succeeded", + "exportPolicy": { + "rules": [ + { + "ruleIndex": 1, + "unixAccessRule": "ReadOnly", + "nfsv3": "Enabled", + "nfsv4": "Disabled", + "allowedClients": [ + "0.0.0.0/0" + ], + "rootAccess": "Disabled" + } + ] + }, + "protocolTypes": [ + "NFSv3" + ], + "mountTargets": [ + { + "ipAddress": "10.1.0.9" + } + ] + } + } + ] + } + } + }, + "operationId": "ElasticSnapshotPolicies_ListElasticVolumes", + "title": "ElasticSnapshotPolicies_ListElasticVolumes" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticSnapshotPolicies_ListVolumes.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticSnapshotPolicies_ListVolumes.json new file mode 100644 index 000000000000..879f2630359b --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticSnapshotPolicies_ListVolumes.json @@ -0,0 +1,56 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "accountName": "account1", + "snapshotPolicyName": "snapshotPolicyName", + "api-version": "2025-09-01-preview", + "body": { + "location": "eastus", + "properties": {} + } + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticCapacityPools/pool1/elasticVolumes/volume1", + "name": "account1/pool1/volume1", + "type": "Microsoft.NetApp/elasticAccounts/elasticCapacityPools/elasticVolumes", + "location": "eastus", + "properties": { + "filePath": "my-unique-file-path", + "size": 107374182400, + "provisioningState": "Succeeded", + "exportPolicy": { + "rules": [ + { + "ruleIndex": 1, + "unixAccessRule": "ReadOnly", + "nfsv3": "Enabled", + "nfsv4": "Disabled", + "allowedClients": [ + "0.0.0.0/0" + ], + "rootAccess": "Disabled" + } + ] + }, + "protocolTypes": [ + "NFSv3" + ], + "mountTargets": [ + { + "ipAddress": "10.1.0.9" + } + ] + } + } + ] + } + } + }, + "operationId": "ElasticSnapshotPolicies_ListVolumes", + "title": "ElasticSnapshotPolicies_ListVolumes" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticSnapshotPolicies_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticSnapshotPolicies_Update.json new file mode 100644 index 000000000000..f50802c7e7b2 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticSnapshotPolicies_Update.json @@ -0,0 +1,89 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "accountName": "account1", + "snapshotPolicyName": "snapshotPolicyName", + "api-version": "2025-09-01-preview", + "body": { + "properties": { + "policyStatus": "Enabled", + "hourlySchedule": { + "snapshotsToKeep": 2, + "minute": 50 + }, + "dailySchedule": { + "snapshotsToKeep": 4, + "hour": 14, + "minute": 30 + }, + "weeklySchedule": { + "snapshotsToKeep": 3, + "days": [ + "Wednesday" + ], + "hour": 14, + "minute": 45 + }, + "monthlySchedule": { + "snapshotsToKeep": 5, + "daysOfMonth": [ + 10, + 11, + 12 + ], + "hour": 14, + "minute": 15 + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticSnapshotPolicies/snapshotPolicy1", + "name": "account1/snapshotPolicy1", + "type": "Microsoft.NetApp/elasticAccounts/elasticSnapshotPolicies", + "location": "eastus", + "properties": { + "policyStatus": "Enabled", + "hourlySchedule": { + "snapshotsToKeep": 2, + "minute": 50 + }, + "dailySchedule": { + "snapshotsToKeep": 4, + "hour": 14, + "minute": 30 + }, + "weeklySchedule": { + "snapshotsToKeep": 3, + "days": [ + "Wednesday" + ], + "hour": 14, + "minute": 45 + }, + "monthlySchedule": { + "snapshotsToKeep": 5, + "daysOfMonth": [ + 10, + 11, + 12 + ], + "hour": 14, + "minute": 15 + }, + "provisioningState": "Succeeded" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/18c499e1-2a3c-441c-950e-4b456c991c18?api-version=2025-09-01-preview" + } + } + }, + "operationId": "ElasticSnapshotPolicies_Update", + "title": "ElasticSnapshotPolicies_Update" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticSnapshots_CreateOrUpdate.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticSnapshots_CreateOrUpdate.json new file mode 100644 index 000000000000..dc2c18c9599d --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticSnapshots_CreateOrUpdate.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "accountName": "account1", + "poolName": "pool1", + "volumeName": "volume1", + "snapshotName": "snapshot1", + "api-version": "2025-09-01-preview", + "body": {} + }, + "responses": { + "200": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/a0216c17-f9d6-4b99-9faf-9ebd4883d0e4?api-version=2025-09-01-preview" + }, + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticCapacityPools/pool1/elasticVolumes/volume1/elasticSnapshots/snapshot1", + "name": "account1/pool1/volume1/snapshot1", + "type": "Microsoft.NetApp/elasticAccounts/elasticCapacityPools/elasticVolumes/elasticSnapshots", + "properties": { + "provisioningState": "Succeeded" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/a0216c17-f9d6-4b99-9faf-9ebd4883d0e4?api-version=2025-09-01-preview" + }, + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticCapacityPools/pool1/elasticVolumes/volume1/elasticSnapshots/snapshot1", + "name": "account1/pool1/volume1/snapshot1", + "type": "Microsoft.NetApp/elasticAccounts/elasticCapacityPools/elasticVolumes/elasticSnapshots", + "properties": { + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "ElasticSnapshots_CreateOrUpdate", + "title": "ElasticSnapshots_CreateOrUpdate" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticSnapshots_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticSnapshots_Delete.json new file mode 100644 index 000000000000..ac3346fcd19b --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticSnapshots_Delete.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "accountName": "account1", + "poolName": "pool1", + "volumeName": "volume1", + "snapshotName": "snapshot1", + "api-version": "2025-09-01-preview" + }, + "responses": { + "204": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview" + } + } + }, + "operationId": "ElasticSnapshots_Delete", + "title": "ElasticSnapshots_Delete" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticSnapshots_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticSnapshots_Get.json new file mode 100644 index 000000000000..64b1e0903d76 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticSnapshots_Get.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "accountName": "account1", + "poolName": "pool1", + "volumeName": "volume1", + "snapshotName": "snapshot1", + "api-version": "2025-09-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticCapacityPools/pool1/elasticVolumes/volume1/elasticSnapshots/snapshot1", + "name": "account1/pool1/volume1/snapshot1", + "type": "Microsoft.NetApp/elasticAccounts/elasticCapacityPools/elasticVolumes/elasticSnapshots", + "properties": { + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "ElasticSnapshots_Get", + "title": "ElasticSnapshots_Get" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticSnapshots_ListByElasticVolume.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticSnapshots_ListByElasticVolume.json new file mode 100644 index 000000000000..3f892654e7ab --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticSnapshots_ListByElasticVolume.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "accountName": "account1", + "poolName": "pool1", + "volumeName": "volume1", + "api-version": "2025-09-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticCapacityPools/pool1/elasticVolumes/volume1/elasticSnapshots/snapshot1", + "name": "account1/pool1/volume1/snapshot1", + "type": "Microsoft.NetApp/elasticAccounts/elasticCapacityPools/elasticVolumes/elasticSnapshots", + "properties": { + "provisioningState": "Succeeded" + } + } + ] + } + } + }, + "operationId": "ElasticSnapshots_ListByElasticVolume", + "title": "ElasticSnapshots_ListByElasticVolume" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticVolumes_CreateOrUpdate.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticVolumes_CreateOrUpdate.json new file mode 100644 index 000000000000..632e259c4ab6 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticVolumes_CreateOrUpdate.json @@ -0,0 +1,141 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "accountName": "account1", + "poolName": "pool1", + "volumeName": "volume1", + "api-version": "2025-09-01-preview", + "body": { + "location": "eastus", + "properties": { + "filePath": "my-unique-file-path", + "size": 107374182400, + "exportPolicy": { + "rules": [ + { + "ruleIndex": 1, + "unixAccessRule": "ReadOnly", + "nfsv3": "Enabled", + "nfsv4": "Disabled", + "allowedClients": [ + "0.0.0.0/0" + ], + "rootAccess": "Disabled" + } + ] + }, + "protocolTypes": [ + "NFSv3" + ], + "dataProtection": { + "snapshot": { + "snapshotPolicyResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticSnapshotPolicies/policy1" + }, + "backup": { + "elasticBackupVaultResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticBackupVaults/elasticBackupVault1", + "elasticBackupPolicyResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticBackupPolicies/elasticBackupPolicy1", + "policyEnforcement": "Enforced" + } + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticCapacityPools/pool1/elasticVolumes/volume1", + "location": "eastus", + "name": "account1/pool1/volume1", + "properties": { + "filePath": "my-unique-file-path", + "size": 107374182400, + "provisioningState": "Succeeded", + "dataProtection": { + "snapshot": { + "snapshotPolicyResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticSnapshotPolicies/policy1" + }, + "backup": { + "elasticBackupVaultResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticBackupVaults/elasticBackupVault1", + "elasticBackupPolicyResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticBackupPolicies/elasticBackupPolicy1", + "policyEnforcement": "Enforced" + } + }, + "exportPolicy": { + "rules": [ + { + "ruleIndex": 1, + "unixAccessRule": "ReadOnly", + "nfsv3": "Enabled", + "nfsv4": "Disabled", + "allowedClients": [ + "0.0.0.0/0" + ], + "rootAccess": "Disabled" + } + ] + }, + "protocolTypes": [ + "NFSv3" + ], + "mountTargets": [ + { + "ipAddress": "10.1.0.9" + } + ] + }, + "type": "Microsoft.NetApp/elasticAccounts/elasticCapacityPools/elasticVolumes" + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/a0216c17-f9d6-4b99-9faf-9ebd4883d0e4?api-version=2025-09-01-preview" + }, + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticCapacityPools/pool1/elasticVolumes/volume1", + "location": "eastus", + "name": "account1/pool1/volume1", + "properties": { + "filePath": "my-unique-file-path", + "size": 107374182400, + "exportPolicy": { + "rules": [ + { + "ruleIndex": 1, + "unixAccessRule": "ReadOnly", + "nfsv3": "Enabled", + "nfsv4": "Disabled", + "allowedClients": [ + "0.0.0.0/0" + ], + "rootAccess": "Disabled" + } + ] + }, + "dataProtection": { + "snapshot": { + "snapshotPolicyResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticSnapshotPolicies/policy1" + }, + "backup": { + "elasticBackupVaultResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticBackupVaults/elasticBackupVault1", + "elasticBackupPolicyResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticBackupPolicies/elasticBackupPolicy1", + "policyEnforcement": "Enforced" + } + }, + "protocolTypes": [ + "NFSv3" + ], + "mountTargets": [ + { + "ipAddress": "10.1.0.9" + } + ], + "provisioningState": "Creating" + }, + "type": "Microsoft.NetApp/elasticAccounts/elasticCapacityPools/elasticVolumes" + } + } + }, + "operationId": "ElasticVolumes_CreateOrUpdate", + "title": "ElasticVolumes_CreateOrUpdate" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticVolumes_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticVolumes_Delete.json new file mode 100644 index 000000000000..1339afd7d249 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticVolumes_Delete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "accountName": "account1", + "poolName": "pool1", + "volumeName": "volume1", + "api-version": "2025-09-01-preview" + }, + "responses": { + "204": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview" + } + } + }, + "operationId": "ElasticVolumes_Delete", + "title": "ElasticVolumes_Delete" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticVolumes_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticVolumes_Get.json new file mode 100644 index 000000000000..2c549b8c2852 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticVolumes_Get.json @@ -0,0 +1,50 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "accountName": "account1", + "poolName": "pool1", + "volumeName": "volume1", + "api-version": "2025-09-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticCapacityPools/pool1/elasticVolumes/volume1", + "name": "account1/pool1/volume1", + "type": "Microsoft.NetApp/elasticAccounts/elasticCapacityPools/elasticVolumes", + "location": "eastus", + "properties": { + "filePath": "my-unique-file-path", + "size": 107374182400, + "provisioningState": "Succeeded", + "exportPolicy": { + "rules": [ + { + "ruleIndex": 1, + "unixAccessRule": "ReadOnly", + "nfsv3": "Enabled", + "nfsv4": "Disabled", + "allowedClients": [ + "0.0.0.0/0" + ], + "rootAccess": "Disabled" + } + ] + }, + "protocolTypes": [ + "NFSv3" + ], + "mountTargets": [ + { + "ipAddress": "10.1.0.9" + } + ], + "restorationState": "Restoring" + } + } + } + }, + "operationId": "ElasticVolumes_Get", + "title": "ElasticVolumes_Get" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticVolumes_ListByElasticPool.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticVolumes_ListByElasticPool.json new file mode 100644 index 000000000000..98d4ddce400f --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticVolumes_ListByElasticPool.json @@ -0,0 +1,87 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "accountName": "account1", + "poolName": "pool1", + "api-version": "2025-09-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticCapacityPools/pool1/elasticVolumes/volume1", + "name": "account1/pool1/volume1", + "type": "Microsoft.NetApp/elasticAccounts/elasticCapacityPools/elasticVolumes", + "location": "eastus", + "properties": { + "filePath": "my-unique-file-path", + "size": 107374182400, + "exportPolicy": { + "rules": [ + { + "ruleIndex": 1, + "unixAccessRule": "ReadOnly", + "nfsv3": "Enabled", + "nfsv4": "Disabled", + "allowedClients": [ + "0.0.0.0/0" + ], + "rootAccess": "Disabled" + } + ] + }, + "protocolTypes": [ + "NFSv3" + ], + "mountTargets": [ + { + "ipAddress": "10.1.0.9" + } + ], + "provisioningState": "Succeeded", + "availabilityStatus": "Online" + } + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticCapacityPools/pool1/elasticVolumes/volume2", + "name": "account1/pool1/volume2", + "type": "Microsoft.NetApp/elasticAccounts/elasticCapacityPools/elasticVolumes", + "location": "eastus", + "properties": { + "filePath": "my-unique-file-path2", + "size": 107374182400, + "exportPolicy": { + "rules": [ + { + "ruleIndex": 1, + "unixAccessRule": "ReadOnly", + "nfsv3": "Disabled", + "nfsv4": "Enabled", + "allowedClients": [ + "0.0.0.0/0" + ], + "rootAccess": "Disabled" + } + ] + }, + "protocolTypes": [ + "NFSv4" + ], + "mountTargets": [ + { + "ipAddress": "10.1.0.9" + } + ], + "provisioningState": "Succeeded", + "availabilityStatus": "Online" + } + } + ] + } + } + }, + "operationId": "ElasticVolumes_ListByElasticPool", + "title": "ElasticVolumes_ListByElasticPool" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticVolumes_Revert.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticVolumes_Revert.json new file mode 100644 index 000000000000..fdc14c6bd889 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticVolumes_Revert.json @@ -0,0 +1,58 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "accountName": "account1", + "poolName": "pool1", + "volumeName": "volume1", + "api-version": "2025-09-01-preview", + "body": { + "snapshotResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticCapacityPools/pool1/elasticVolumes/volume1/elasticSnapshots/snapshot1" + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticCapacityPools/pool1/elasticVolumes/volume1", + "name": "account1/pool1/volume1", + "type": "Microsoft.NetApp/elasticAccounts/elasticCapacityPools/elasticVolumes", + "location": "eastus", + "properties": { + "filePath": "my-unique-file-path", + "size": 107374182400, + "exportPolicy": { + "rules": [ + { + "ruleIndex": 1, + "unixAccessRule": "ReadOnly", + "nfsv3": "Enabled", + "nfsv4": "Disabled", + "allowedClients": [ + "0.0.0.0/0" + ], + "rootAccess": "Disabled" + } + ] + }, + "protocolTypes": [ + "NFSv3" + ], + "mountTargets": [ + { + "ipAddress": "10.1.0.9" + } + ], + "provisioningState": "Succeeded", + "availabilityStatus": "Online" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview" + } + } + }, + "operationId": "ElasticVolumes_Revert", + "title": "ElasticVolumes_Revert" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticVolumes_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticVolumes_Update.json new file mode 100644 index 000000000000..dc48af25c71a --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/ElasticVolumes_Update.json @@ -0,0 +1,83 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "accountName": "account1", + "poolName": "pool1", + "volumeName": "volume1", + "api-version": "2025-09-01-preview", + "body": { + "properties": { + "exportPolicy": { + "rules": [ + { + "ruleIndex": 1, + "unixAccessRule": "ReadOnly", + "nfsv3": "Enabled", + "nfsv4": "Disabled", + "allowedClients": [ + "0.0.0.0/0" + ], + "rootAccess": "Disabled" + } + ] + }, + "dataProtection": { + "snapshot": { + "snapshotPolicyResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticSnapshotPolicies/policy1" + } + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticCapacityPools/pool1/elasticVolumes/volume1", + "name": "account1/pool1/volume1", + "type": "Microsoft.NetApp/elasticAccounts/elasticCapacityPools/elasticVolumes", + "location": "eastus", + "properties": { + "filePath": "my-unique-file-path", + "size": 107374182400, + "exportPolicy": { + "rules": [ + { + "ruleIndex": 1, + "unixAccessRule": "ReadOnly", + "nfsv3": "Enabled", + "nfsv4": "Disabled", + "allowedClients": [ + "0.0.0.0/0" + ], + "rootAccess": "Disabled" + } + ] + }, + "protocolTypes": [ + "NFSv3" + ], + "dataProtection": { + "snapshot": { + "snapshotPolicyResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/elasticAccounts/account1/elasticSnapshotPolicies/policy1" + } + }, + "mountTargets": [ + { + "ipAddress": "10.1.0.9" + } + ], + "availabilityStatus": "Online", + "provisioningState": "Succeeded" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview" + } + } + }, + "operationId": "ElasticVolumes_Update", + "title": "ElasticVolumes_Update" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/GroupIdListForLDAPUser.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/GroupIdListForLDAPUser.json new file mode 100644 index 000000000000..4648a92581b1 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/GroupIdListForLDAPUser.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "body": { + "username": "user1" + }, + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": { + "body": { + "groupIdsForLdapUser": [ + "123", + "224" + ] + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + } + }, + "operationId": "Volumes_ListGetGroupIdListForLdapUser", + "title": "GetGroupIdListForUser" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/NetAppResourceQuotaLimitsAccount_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/NetAppResourceQuotaLimitsAccount_Get.json new file mode 100644 index 000000000000..db74e8d48de2 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/NetAppResourceQuotaLimitsAccount_Get.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9", + "resourceGroupName": "myRG", + "accountName": "myAccount", + "quotaLimitName": "poolsPerAccount", + "api-version": "2025-09-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/myAccount/quotaLimits/poolsPerAccount", + "name": "myAccount/poolsPerAccount", + "type": "Microsoft.NetApp/netAppAccounts/quotaLimits", + "properties": { + "current": 10, + "default": 10, + "usage": 10 + } + } + } + }, + "operationId": "NetAppResourceQuotaLimitsAccount_Get", + "title": "QuotaLimits" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/NetAppResourceQuotaLimitsAccount_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/NetAppResourceQuotaLimitsAccount_List.json new file mode 100644 index 000000000000..0fa75ac88145 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/NetAppResourceQuotaLimitsAccount_List.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9", + "resourceGroupName": "myRG", + "accountName": "myAccount", + "api-version": "2025-09-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/myAccount/quotaLimits/poolsPerAccount", + "name": "myAccount/poolsPerAccount", + "type": "Microsoft.NetApp/netAppAccounts/quotaLimits", + "properties": { + "current": 10, + "default": 10, + "usage": 10 + } + } + ] + } + } + }, + "operationId": "NetAppResourceQuotaLimitsAccount_List", + "title": "QuotaLimits" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/NetAppResourceQuotaLimits_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/NetAppResourceQuotaLimits_Get.json new file mode 100644 index 000000000000..3e61a0171ce5 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/NetAppResourceQuotaLimits_Get.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "api-version": "2025-09-01-preview", + "location": "eastus", + "quotaLimitName": "totalCoolAccessVolumesPerSubscription", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "eastus/totalCoolAccessVolumesPerSubscription", + "type": "Microsoft.NetApp/locations/quotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/quotaLimits/totalCoolAccessVolumesPerSubscription", + "properties": { + "default": 10, + "current": 10 + } + } + } + }, + "operationId": "NetAppResourceQuotaLimits_Get", + "title": "QuotaLimits" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/NetAppResourceQuotaLimits_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/NetAppResourceQuotaLimits_List.json new file mode 100644 index 000000000000..f813d84e0626 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/NetAppResourceQuotaLimits_List.json @@ -0,0 +1,89 @@ +{ + "parameters": { + "api-version": "2025-09-01-preview", + "location": "eastus", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "eastus/accountsPerSubscription", + "type": "Microsoft.NetApp/locations/quotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/quotaLimits/accountsPerSubscription", + "properties": { + "default": 10, + "current": 10 + } + }, + { + "name": "eastus/poolsPerAccount", + "type": "Microsoft.NetApp/locations/quotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/quotaLimits/poolsPerAccount", + "properties": { + "default": 25, + "current": 25 + } + }, + { + "name": "eastus/volumesPerPool", + "type": "Microsoft.NetApp/locations/quotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/quotaLimits/volumesPerPool", + "properties": { + "default": 500, + "current": 500 + } + }, + { + "name": "eastus/snapshotsPerVolume", + "type": "Microsoft.NetApp/locations/quotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/quotaLimits/snapshotsPerVolume", + "properties": { + "default": 255, + "current": 255 + } + }, + { + "name": "eastus/totalTiBsPerSubscription", + "type": "Microsoft.NetApp/locations/quotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/quotaLimits/totalTiBsPerSubscription", + "properties": { + "default": 25, + "current": 1000 + } + }, + { + "name": "eastus/totalDPVolumesPerSubscription", + "type": "Microsoft.NetApp/locations/quotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/quotaLimits/totalDPVolumesPerSubscription", + "properties": { + "default": 10, + "current": 10 + } + }, + { + "name": "eastus/totalVolumesPerSubscription", + "type": "Microsoft.NetApp/locations/quotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/quotaLimits/totalVolumesPerSubscription", + "properties": { + "default": 500, + "current": 500 + } + }, + { + "name": "eastus/totalCoolAccessVolumesPerSubscription", + "type": "Microsoft.NetApp/locations/quotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/quotaLimits/totalCoolAccessVolumesPerSubscription", + "properties": { + "default": 10, + "current": 10 + } + } + ] + } + } + }, + "operationId": "NetAppResourceQuotaLimits_List", + "title": "QuotaLimits" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/NetworkSiblingSet_Query.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/NetworkSiblingSet_Query.json new file mode 100644 index 000000000000..59ac9d5d74bb --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/NetworkSiblingSet_Query.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "api-version": "2025-09-01-preview", + "body": { + "networkSiblingSetId": "9760acf5-4638-11e7-9bdb-020073ca3333", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testVnet/subnets/testSubnet" + }, + "location": "eastus", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "networkFeatures": "Standard", + "networkSiblingSetId": "9760acf5-4638-11e7-9bdb-020073ca3333", + "networkSiblingSetStateId": "12345_44420.8001578125", + "nicInfoList": [ + { + "ipAddress": "1.2.3.4", + "volumeResourceIds": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume10", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume11" + ] + }, + { + "ipAddress": "1.2.3.5", + "volumeResourceIds": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account2/capacityPools/pool2/volumes/volume20", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account2/capacityPools/pool2/volumes/volume21" + ] + }, + { + "ipAddress": "1.2.3.9", + "volumeResourceIds": [] + } + ], + "provisioningState": "Succeeded", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testVnet/subnets/testSubnet" + } + } + }, + "operationId": "NetAppResource_QueryNetworkSiblingSet", + "title": "NetworkSiblingSet_Query" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/NetworkSiblingSet_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/NetworkSiblingSet_Update.json new file mode 100644 index 000000000000..b20ada6d4069 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/NetworkSiblingSet_Update.json @@ -0,0 +1,51 @@ +{ + "parameters": { + "api-version": "2025-09-01-preview", + "body": { + "networkFeatures": "Standard", + "networkSiblingSetId": "9760acf5-4638-11e7-9bdb-020073ca3333", + "networkSiblingSetStateId": "12345_44420.8001578125", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testVnet/subnets/testSubnet" + }, + "location": "eastus", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "networkFeatures": "Standard", + "networkSiblingSetId": "9760acf5-4638-11e7-9bdb-020073ca3333", + "networkSiblingSetStateId": "12345_44420.8001578125", + "nicInfoList": [ + { + "ipAddress": "1.2.3.4", + "volumeResourceIds": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume10", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume11" + ] + }, + { + "ipAddress": "1.2.3.5", + "volumeResourceIds": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account2/capacityPools/pool2/volumes/volume20", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account2/capacityPools/pool2/volumes/volume21" + ] + }, + { + "ipAddress": "1.2.3.9", + "volumeResourceIds": [] + } + ], + "provisioningState": "Succeeded", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testVnet/subnets/testSubnet" + } + }, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/18c499e1-2a3c-441c-950e-4b456c991c18?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + } + }, + "operationId": "NetAppResource_UpdateNetworkSiblingSet", + "title": "NetworkFeatures_Update" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/OperationList.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/OperationList.json new file mode 100644 index 000000000000..05d013dc2e63 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/OperationList.json @@ -0,0 +1,1567 @@ +{ + "parameters": { + "api-version": "2025-09-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.NetApp/register/action", + "display": { + "description": "Subscription Registration Action", + "operation": "Subscription Registration Action", + "provider": "Microsoft.NetApp", + "resource": "Subscription" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/read", + "display": { + "description": "Reads a volume resource.", + "operation": "Read volume resource", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Volumes resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/write", + "display": { + "description": "Writes a volume resource.", + "operation": "Write volume resource", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Volumes resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/delete", + "display": { + "description": "Deletes a volume resource.", + "operation": "Delete volume resource", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Volumes resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/Revert/action", + "display": { + "description": "Revert volume to specific snapshot", + "operation": "Revert volume resource", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Volumes resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/BreakReplication/action", + "display": { + "description": "Break volume replication relations", + "operation": "Break volume replication resource", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Volumes resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/ReplicationStatus/action", + "display": { + "description": "Reads the statuses of the Volume Replication.", + "operation": "Read Volume Replication Status.", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Volumes resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/ListReplications/action", + "display": { + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Volumes resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/ReInitializeReplication/action", + "display": { + "description": "Attempts to re-initialize an uninitialized replication", + "operation": "Re-Initialize replication", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Volumes resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/providers/Microsoft.Insights/metricDefinitions/read", + "display": { + "description": "Gets the available metrics for Volume resource.", + "operation": "Read volume metric definitions.", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Volumes resource type" + }, + "origin": "system", + "properties": { + "serviceSpecification": { + "metricSpecifications": [ + { + "name": "AverageReadLatency", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Average read latency in milliseconds per operation", + "displayName": "Average read latency", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "AverageReadLatency", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "MilliSeconds" + }, + { + "name": "AverageWriteLatency", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Average write latency in milliseconds per operation", + "displayName": "Average write latency", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "AverageWriteLatency", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "MilliSeconds" + }, + { + "name": "VolumeLogicalSize", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Logical size of the volume (used bytes)", + "displayName": "Volume Consumed Size", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "VolumeLogicalSize", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "Bytes" + }, + { + "name": "VolumeSnapshotSize", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Size of all snapshots in volume", + "displayName": "Volume snapshot size", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "VolumeSnapshotSize", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "Bytes" + }, + { + "name": "ReadIops", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Read In/out operations per second", + "displayName": "Read iops", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "ReadIops", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "CountPerSecond" + }, + { + "name": "WriteIops", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Write In/out operations per second", + "displayName": "Write iops", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "WriteIops", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "CountPerSecond" + }, + { + "name": "VolumeAllocatedSize", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "The provisioned size of a volume", + "displayName": "Volume allocated size", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "VolumeAllocatedSize", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "Bytes" + }, + { + "name": "VolumeCoolTierSize", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Volume Footprint for Cool Tier", + "displayName": "Volume cool tier size", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "VolumeCoolTierSize", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "Bytes" + }, + { + "name": "VolumeCoolTierDataReadSize", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Data read in using GET per volume", + "displayName": "Volume cool tier data read size", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "VolumeCoolTierDataReadSize", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "Bytes" + }, + { + "name": "VolumeCoolTierDataWriteSize", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Data tiered out using PUT per volume", + "displayName": "Volume cool tier data write size", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "VolumeCoolTierDataWriteSize", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "Bytes" + }, + { + "name": "XregionReplicationLastTransferDuration", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "The amount of time in seconds it took for the last transfer to complete.", + "displayName": "Volume replication last transfer duration", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "XregionReplicationLastTransferDuration", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "Seconds" + }, + { + "name": "XregionReplicationLastTransferSize", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "The total number of bytes transferred as part of the last transfer.", + "displayName": "Volume replication last transfer size", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "XregionReplicationLastTransferSize", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "Bytes" + }, + { + "name": "XregionReplicationHealthy", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Condition of the relationship, 1 or 0.", + "displayName": "Is volume replication status healthy", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "XregionReplicationHealthy", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "Count" + }, + { + "name": "XregionReplicationLagTime", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "The amount of time in seconds by which the data on the mirror lags behind the source.", + "displayName": "Volume replication lag time", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "XregionReplicationLagTime", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "Seconds" + }, + { + "name": "XregionReplicationTotalTransferBytes", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Cumulative bytes transferred for the relationship.", + "displayName": "Volume replication total transfer", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "XregionReplicationTotalTransferBytes", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "Bytes" + }, + { + "name": "XregionReplicationRelationshipProgress", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Total amount of data transferred for the current transfer operation.", + "displayName": "Volume replication progress", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "XregionReplicationRelationshipProgress", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "Bytes" + }, + { + "name": "XregionReplicationRelationshipTransferring", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Whether the status of the Volume Replication is 'transferring'.", + "displayName": "Is volume replication transferring", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "XregionReplicationRelationshipTransferring", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "Count" + }, + { + "name": "CbsVolumeLogicalBackupBytes", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Total bytes backed up for this Volume.", + "displayName": "Volume Backup Bytes", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "CbsVolumeLogicalBackupBytes", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "Bytes" + }, + { + "name": "CbsVolumeProtected", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Is backup enabled for the volume? 1 if yes, 0 if no.", + "displayName": "Is Volume Backup Enabled", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "CbsVolumeProtected", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "Count" + }, + { + "name": "CbsVolumeBackupActive", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Is the backup policy suspended for the volume? 0 if yes, 1 if no.", + "displayName": "Is Volume Backup suspended", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "CbsVolumeBackupActive", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "Count" + }, + { + "name": "CbsVolumeOperationTransferredBytes", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Total bytes transferred for last backup or restore operation.", + "displayName": "Volume Backup Last Transferred Bytes", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "CbsVolumeOperationTransferredBytes", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "Bytes" + }, + { + "name": "CbsVolumeOperationComplete", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Did the last volume backup or restore operation complete successfully? 1 if yes, 0 if no.", + "displayName": "Is Volume Backup Operation Complete", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "CbsVolumeOperationComplete", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "Count" + }, + { + "name": "VolumeConsumedSizePercentage", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "The percentage of the volume consumed including snapshots.", + "displayName": "Percentage Volume Consumed Size", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "VolumeConsumedSizePercentage", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "Percent" + }, + { + "name": "OtherThroughput", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Other throughput (that is not read or write) in bytes per second", + "displayName": "Other throughput", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "OtherThroughput", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "BytesPerSecond" + }, + { + "name": "ReadThroughput", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Read throughput in bytes per second", + "displayName": "Read throughput", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "ReadThroughput", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "BytesPerSecond" + }, + { + "name": "TotalThroughput", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Sum of all throughput in bytes per second", + "displayName": "Total throughput", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "TotalThroughput", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "BytesPerSecond" + }, + { + "name": "WriteThroughput", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Write throughput in bytes per second", + "displayName": "Write throughput", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "WriteThroughput", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "BytesPerSecond" + } + ] + } + } + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/providers/Microsoft.Insights/diagnosticSettings/read", + "display": { + "description": "Gets the diagnostic setting for the resource.", + "operation": "Read diagnostic setting.", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Volumes resource type" + }, + "origin": "system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/providers/Microsoft.Insights/diagnosticSettings/write", + "display": { + "description": "Creates or updates the diagnostic setting for the resource.", + "operation": "Write diagnostic setting.", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Volumes resource type" + }, + "origin": "system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/AuthorizeReplication/action", + "display": { + "description": "Authorize the source volume replication", + "operation": "Authorize Replication", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Volumes resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/ResyncReplication/action", + "display": { + "description": "Resync the replication on the destination volume", + "operation": "Resync Replication", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Volumes resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/DeleteReplication/action", + "display": { + "description": "Delete the replication on the destination volume", + "operation": "Delete Replication", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Volumes resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/ReplicationStatus/read", + "display": { + "description": "Reads the statuses of the Volume Replication.", + "operation": "Read Volume Replication Status.", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Volumes resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/MountTargets/read", + "display": { + "description": "Reads a mount target resource.", + "operation": "Read mount target resource", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Volumes resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/BackupStatus/read", + "display": { + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Volumes resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/RestoreStatus/read", + "display": { + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Volumes resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/PoolChange/action", + "display": { + "description": "Moves volume to another pool.", + "operation": "Change pool for volume", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Volumes resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/RelocateVolume/action", + "display": { + "description": "Relocate volume to a new stamp.", + "operation": "Relocate volume to a new stamp.", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Volumes resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/FinalizeRelocation/action", + "display": { + "description": "Finalize relocation by cleaning up the old volume.", + "operation": "Finalize relocation of volume.", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Volumes resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/RevertRelocation/action", + "display": { + "description": "Revert the relocation and revert back to the old volume.", + "operation": "Revert the relocation of volume.", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Volumes resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/read", + "display": { + "description": "Reads an account resource.", + "operation": "Read account resource", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Accounts resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/write", + "display": { + "description": "Writes an account resource.", + "operation": "Write account resource", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Accounts resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/delete", + "display": { + "description": "Deletes a account resource.", + "operation": "Delete account resource", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Accounts resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/RenewCredentials/action", + "display": { + "description": "Renews MSI credentials of account, if account has MSI credentials that are due for renewal.", + "operation": "Renew MSI credentials, if possible.", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Accounts resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/read", + "display": { + "description": "Reads a pool resource.", + "operation": "Read pool resource", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Pools resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/write", + "display": { + "description": "Writes a pool resource.", + "operation": "Write pool resource", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Pools resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/delete", + "display": { + "description": "Deletes a pool resource.", + "operation": "Delete pool resource", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Pools resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/providers/Microsoft.Insights/metricDefinitions/read", + "display": { + "description": "Gets the available metrics for Volume resource.", + "operation": "Read volume metric definitions.", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Pools resource type" + }, + "origin": "system", + "properties": { + "serviceSpecification": { + "metricSpecifications": [ + { + "name": "VolumePoolAllocatedUsed", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Allocated used size of the pool", + "displayName": "Pool Allocated To Volume Size", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "VolumePoolAllocatedUsed", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "Bytes" + }, + { + "name": "VolumePoolTotalLogicalSize", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Sum of the logical size of all the volumes belonging to the pool", + "displayName": "Pool Consumed Size", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "VolumePoolTotalLogicalSize", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average", + "Total" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "Bytes" + }, + { + "name": "VolumePoolAllocatedSize", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Provisioned size of this pool", + "displayName": "Pool Allocated Size", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "VolumePoolAllocatedSize", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average", + "Total" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "Bytes" + }, + { + "name": "VolumePoolTotalSnapshotSize", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Sum of snapshot size of all volumes in this pool", + "displayName": "Total Snapshot size for the pool", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "VolumePoolTotalSnapshotSize", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "Bytes" + }, + { + "name": "VolumePoolProvisionedThroughput", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Provisioned throughput of this pool", + "displayName": "Provisioned throughput for the pool", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "VolumePoolProvisionedThroughput", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "BytesPerSecond" + }, + { + "name": "VolumePoolAllocatedToVolumeThroughput", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Sum of the throughput of all the volumes belonging to the pool", + "displayName": "Pool allocated throughput", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "VolumePoolAllocatedToVolumeThroughput", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "BytesPerSecond" + } + ] + } + } + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/providers/Microsoft.Insights/logDefinitions/read", + "display": { + "description": "Gets the log definitions for the resource.", + "operation": "Read log definitions.", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Pools resource type" + }, + "origin": "system", + "properties": { + "serviceSpecification": { + "logSpecifications": [ + { + "name": "Autoscale", + "displayName": "Capacity Pool Autoscaled" + } + ] + } + } + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/providers/Microsoft.Insights/diagnosticSettings/read", + "display": { + "description": "Gets the diagnostic setting for the resource.", + "operation": "Read diagnostic setting.", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Pools resource type" + }, + "origin": "system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/providers/Microsoft.Insights/diagnosticSettings/write", + "display": { + "description": "Creates or updates the diagnostic setting for the resource.", + "operation": "Write diagnostic setting.", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Pools resource type" + }, + "origin": "system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots/read", + "display": { + "description": "Reads a snapshot resource.", + "operation": "Read snapshot resource", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Snapshots resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots/write", + "display": { + "description": "Writes a snapshot resource.", + "operation": "Write snapshot resource", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Snapshots resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots/delete", + "display": { + "description": "Deletes a snapshot resource.", + "operation": "Delete snapshot resource", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Snapshots resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots/RestoreFiles/action", + "display": { + "description": "Restores files from a snapshot resource", + "operation": "Single File Snapshot Restore", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Snapshots resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/subvolumes/read", + "display": { + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Subvolume resource type." + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/subvolumes/write", + "display": { + "description": "Write a subvolume resource.", + "operation": "Write subvolume Resource", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Subvolume resource type." + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/subvolumes/delete", + "display": { + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Subvolume resource type." + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/subvolumes/GetMetadata/action", + "display": { + "description": "Read subvolume metadata resource.", + "operation": "Subvolume Metadata resource.", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Subvolume resource type." + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/snapshotPolicies/read", + "display": { + "description": "Reads a snapshot policy resource.", + "operation": "Read snapshot policy resource", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Snapshot Policies resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/snapshotPolicies/write", + "display": { + "description": "Writes a snapshot policy resource.", + "operation": "Write snapshot policy resource", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Snapshot Policies resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/snapshotPolicies/delete", + "display": { + "description": "Deletes a snapshot policy resource.", + "operation": "Delete snapshot policy resource", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Snapshot Policies resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/snapshotPolicies/Volumes/action", + "display": { + "description": "List volumes connected to snapshot policy", + "operation": "List connected volumes", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Snapshot Policies resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/snapshotPolicies/ListVolumes/action", + "display": { + "description": "List volumes connected to snapshot policy", + "operation": "List connected volumes", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Snapshot Policies resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups/read", + "display": { + "description": "Reads a backup resource.", + "operation": "Read backup resource.", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Backup resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups/write", + "display": { + "description": "Writes a backup resource.", + "operation": "Write backup resource.", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Backup resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups/delete", + "display": { + "description": "Deletes a backup resource.", + "operation": "Delete backup resource", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Backup resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/backupPolicies/read", + "display": { + "description": "Reads a backup policy resource.", + "operation": "Read backup policy resource.", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Backup Policy resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/backupPolicies/write", + "display": { + "description": "Writes a backup policy resource.", + "operation": "Write backup policy resource.", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Backup Policy resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/backupPolicies/delete", + "display": { + "description": "Deletes a backup policy resource.", + "operation": "Delete backup policy resource", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Backup Policy resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/vaults/read", + "display": { + "description": "Reads a vault resource.", + "operation": "Read vault resource.", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Vault resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/accountBackups/read", + "display": { + "description": "Reads an account backup resource.", + "operation": "Read an account backup resource.", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Account backup resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/accountBackups/write", + "display": { + "description": "Writes an account backup resource.", + "operation": "Write an account backup resource.", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Account backup resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/accountBackups/delete", + "display": { + "description": "Deletes an account backup resource.", + "operation": "Delete an account backup resource.", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Account backup resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/volumeGroups/read", + "display": { + "description": "Reads a volume group resource.", + "operation": "Read volume group resource", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Volume Group resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/volumeGroups/write", + "display": { + "description": "Writes a volume group resource.", + "operation": "Write volume group resource", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Volume Group resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/volumeGroups/delete", + "display": { + "description": "Deletes a volume group resource.", + "operation": "Delete volume group resource", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Volume Group resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/locations/quotaLimits/read", + "display": { + "description": "Reads a Quotalimit resource type.", + "operation": "Read QuotaLimit resource type", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "QuotaLimit resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/Operations/read", + "display": { + "description": "Reads an operation resources.", + "operation": "Read operation resource", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Operations resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/locations/operationresults/read", + "display": { + "description": "Reads an operation result resource.", + "operation": "Read operation result resource", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Operation results resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/locations/read", + "display": { + "description": "Reads a location wide operation.", + "operation": "Read location wide operation", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Location wide operation" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/locations/checknameavailability/action", + "display": { + "description": "Check if resource name is available", + "operation": "Check if resource name is available", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "NetApp resources" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/locations/checkfilepathavailability/action", + "display": { + "description": "Check if file path is available", + "operation": "Check if file path is available", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Volumes resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/unregister/action", + "display": { + "description": "Unregisters Subscription with Microsoft.NetApp resource provider", + "operation": "Unregister Subscription for Azure NetApp Files", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Subscription" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/locations/checkinventory/action", + "display": { + "description": "Checks ReservedCapacity inventory.", + "operation": "Checks ReservedCapacity inventory.", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "ReservedCapacity reservation resource." + }, + "origin": "user,system" + } + ] + } + } + }, + "operationId": "Operations_List", + "title": "OperationList" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Pools_CreateOrUpdate.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Pools_CreateOrUpdate.json new file mode 100644 index 000000000000..cc73eae49c9f --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Pools_CreateOrUpdate.json @@ -0,0 +1,53 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "body": { + "location": "eastus", + "properties": { + "qosType": "Auto", + "serviceLevel": "Premium", + "size": 4398046511104 + } + }, + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "account1/pool1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + "location": "eastus", + "properties": { + "poolId": "00000000-0000-0000-0000-000000000000", + "provisioningState": "Succeeded", + "qosType": "Auto", + "serviceLevel": "Premium", + "size": 4398046511104, + "totalThroughputMibps": 281.474 + } + } + }, + "201": { + "body": { + "name": "account1/pool1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + "location": "eastus", + "properties": { + "poolId": "00000000-0000-0000-0000-000000000000", + "provisioningState": "Succeeded", + "qosType": "Auto", + "serviceLevel": "Premium", + "size": 4398046511104, + "totalThroughputMibps": 281.474 + } + } + } + }, + "operationId": "Pools_CreateOrUpdate", + "title": "Pools_CreateOrUpdate" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Pools_CreateOrUpdate_CustomThroughput.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Pools_CreateOrUpdate_CustomThroughput.json new file mode 100644 index 000000000000..dd20d9e3bf35 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Pools_CreateOrUpdate_CustomThroughput.json @@ -0,0 +1,56 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "body": { + "location": "eastus", + "properties": { + "customThroughputMibps": 128, + "qosType": "Manual", + "serviceLevel": "Flexible", + "size": 4398046511104 + } + }, + "poolName": "customPool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "account1/customPool1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/customPool1", + "location": "eastus", + "properties": { + "customThroughputMibps": 128, + "poolId": "00000000-0000-0000-0000-000000000000", + "provisioningState": "Succeeded", + "qosType": "Manual", + "serviceLevel": "Flexible", + "size": 4398046511104, + "totalThroughputMibps": 128 + } + } + }, + "201": { + "body": { + "name": "account1/customPool1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/customPool1", + "location": "eastus", + "properties": { + "customThroughputMibps": 128, + "poolId": "00000000-0000-0000-0000-000000000000", + "provisioningState": "Creating", + "qosType": "Manual", + "serviceLevel": "Flexible", + "size": 4398046511104, + "totalThroughputMibps": 128 + } + } + } + }, + "operationId": "Pools_CreateOrUpdate", + "title": "Pools_CreateOrUpdate_CustomThroughput" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Pools_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Pools_Delete.json new file mode 100644 index 000000000000..6394bfb41d21 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Pools_Delete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + }, + "204": {} + }, + "operationId": "Pools_Delete", + "title": "Pools_Delete" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Pools_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Pools_Get.json new file mode 100644 index 000000000000..49465ef2659b --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Pools_Get.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "account1/pool1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + "location": "eastus", + "properties": { + "poolId": "00000000-0000-0000-0000-000000000000", + "provisioningState": "Succeeded", + "qosType": "Manual", + "serviceLevel": "Premium", + "size": 4398046511104, + "totalThroughputMibps": 281.474, + "utilizedThroughputMibps": 100.47 + } + } + } + }, + "operationId": "Pools_Get", + "title": "Pools_Get" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Pools_Get_CustomThroughput.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Pools_Get_CustomThroughput.json new file mode 100644 index 000000000000..449e5dafc6ea --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Pools_Get_CustomThroughput.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "poolName": "customPool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "account1/customPool1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/customPool1", + "location": "eastus", + "properties": { + "customThroughputMibps": 128, + "poolId": "00000000-0000-0000-0000-000000000000", + "provisioningState": "Succeeded", + "qosType": "Manual", + "serviceLevel": "Flexible", + "size": 4398046511104, + "totalThroughputMibps": 128, + "utilizedThroughputMibps": 100.47 + } + } + } + }, + "operationId": "Pools_Get", + "title": "Pools_Get_CustomThroughput" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Pools_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Pools_List.json new file mode 100644 index 000000000000..3dfd801ccf84 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Pools_List.json @@ -0,0 +1,49 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "account1/pool1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + "location": "eastus", + "properties": { + "poolId": "00000000-0000-0000-0000-000000000000", + "provisioningState": "Succeeded", + "qosType": "Auto", + "serviceLevel": "Premium", + "size": 4398046511104, + "totalThroughputMibps": 281.474, + "utilizedThroughputMibps": 100.47 + } + }, + { + "name": "account1/customPool1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/customPool1", + "location": "eastus", + "properties": { + "customThroughputMibps": 128, + "poolId": "00000000-0000-0000-0000-000000000000", + "provisioningState": "Succeeded", + "qosType": "Manual", + "serviceLevel": "Flexible", + "size": 4398046511104, + "totalThroughputMibps": 128, + "utilizedThroughputMibps": 100.47 + } + } + ] + } + } + }, + "operationId": "Pools_List", + "title": "Pools_List" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Pools_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Pools_Update.json new file mode 100644 index 000000000000..f1cfdef60363 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Pools_Update.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "body": {}, + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "account1/pool1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + "location": "eastus", + "properties": { + "poolId": "00000000-0000-0000-0000-000000000000", + "provisioningState": "Succeeded", + "qosType": "Manual", + "serviceLevel": "Premium", + "size": 4398046511104, + "totalThroughputMibps": 281.474, + "utilizedThroughputMibps": 100.47 + } + } + }, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + } + }, + "operationId": "Pools_Update", + "title": "Pools_Update" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Pools_Update_CustomThroughput.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Pools_Update_CustomThroughput.json new file mode 100644 index 000000000000..82909b5e6d47 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Pools_Update_CustomThroughput.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "body": {}, + "poolName": "customPool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "account1/customPool1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/customPool1", + "location": "eastus", + "properties": { + "customThroughputMibps": 128, + "poolId": "00000000-0000-0000-0000-000000000000", + "provisioningState": "Succeeded", + "qosType": "Manual", + "serviceLevel": "Flexible", + "size": 4398046511104, + "totalThroughputMibps": 128, + "utilizedThroughputMibps": 100.47 + } + } + }, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + } + }, + "operationId": "Pools_Update", + "title": "Pools_Update_CustomThroughput" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/RansomwareReports_ClearSuspects.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/RansomwareReports_ClearSuspects.json new file mode 100644 index 000000000000..8c9bd6c4c1f7 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/RansomwareReports_ClearSuspects.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "accountName": "account1", + "poolName": "pool1", + "volumeName": "volume1", + "ransomwareReportName": "ransomwareReport1", + "api-version": "2025-09-01-preview", + "body": { + "resolution": "PotentialThreat", + "extensions": [ + ".threat" + ] + } + }, + "responses": { + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + } + }, + "operationId": "RansomwareReports_ClearSuspects", + "title": "RansomwareReports_ClearSuspects" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/RansomwareReports_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/RansomwareReports_Get.json new file mode 100644 index 000000000000..fc4a26582103 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/RansomwareReports_Get.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "accountName": "account1", + "poolName": "pool1", + "volumeName": "volume1", + "ransomwareReportName": "ransomwareReport1", + "api-version": "2025-09-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/ransomwarereports/ransomwareReport1", + "name": "account1/pool1/volume1/ransomwareReport1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/ransomwarereports", + "properties": { + "eventTime": "2025-08-15T13:23:33Z", + "severity": "Moderate", + "state": "Active", + "clearedCount": 0, + "reportedCount": 1, + "suspects": [ + { + "extension": ".threat", + "resolution": "PotentialThreat", + "fileCount": 1, + "suspectFiles": [ + { + "suspectFileName": "file1.threat", + "fileTimestamp": "2025-08-15T13:23:33Z" + } + ] + } + ] + } + } + } + }, + "operationId": "RansomwareReports_Get", + "title": "RansomwareReports_Get" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/RansomwareReports_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/RansomwareReports_List.json new file mode 100644 index 000000000000..df9de3142875 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/RansomwareReports_List.json @@ -0,0 +1,70 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "accountName": "account1", + "poolName": "pool1", + "volumeName": "volume1", + "api-version": "2025-09-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/ransomwarereports/ransomwareReport1", + "name": "account1/pool1/volume1/ransomwareReport1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/ransomwarereports", + "properties": { + "eventTime": "2025-08-15T13:23:33Z", + "severity": "Moderate", + "state": "Active", + "clearedCount": 0, + "reportedCount": 1, + "suspects": [ + { + "extension": ".threat", + "resolution": "PotentialThreat", + "fileCount": 1, + "suspectFiles": [ + { + "suspectFileName": "file1.threat", + "fileTimestamp": "2025-08-15T13:23:33Z" + } + ] + } + ] + } + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/ransomwarereports/ransomwareReport2", + "name": "account1/pool1/volume1/ransomwareReport2", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/ransomwarereports", + "properties": { + "eventTime": "2025-08-15T14:24:33Z", + "severity": "Moderate", + "state": "Resolved", + "clearedCount": 0, + "reportedCount": 1, + "suspects": [ + { + "extension": ".txt", + "resolution": "FalsePositive", + "fileCount": 1, + "suspectFiles": [ + { + "suspectFileName": "file1.txt", + "fileTimestamp": "2025-08-15T13:23:33Z" + } + ] + } + ] + } + } + ] + } + } + }, + "operationId": "RansomwareReports_List", + "title": "RansomwareReports_List" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/RegionInfo.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/RegionInfo.json new file mode 100644 index 000000000000..f6f9c6fe1cf9 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/RegionInfo.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "api-version": "2025-09-01-preview", + "location": "eastus", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "availabilityZoneMappings": [ + { + "availabilityZone": "1", + "isAvailable": true + } + ], + "storageToNetworkProximity": "T2" + } + } + }, + "operationId": "NetAppResource_QueryRegionInfo", + "title": "RegionInfo_Query" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/RegionInfos_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/RegionInfos_Get.json new file mode 100644 index 000000000000..57ac886dd8da --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/RegionInfos_Get.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "api-version": "2025-09-01-preview", + "location": "eastus", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "eastus/default", + "type": "Microsoft.NetApp/locations/regionInfos", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/regionInfos/default", + "properties": { + "availabilityZoneMappings": [ + { + "availabilityZone": "1", + "isAvailable": true + }, + { + "availabilityZone": "2", + "isAvailable": true + }, + { + "availabilityZone": "3", + "isAvailable": true + } + ], + "storageToNetworkProximity": "T2" + } + } + } + }, + "operationId": "NetAppResourceRegionInfos_Get", + "title": "RegionInfos_Get" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/RegionInfos_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/RegionInfos_List.json new file mode 100644 index 000000000000..28865d25dbe0 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/RegionInfos_List.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "api-version": "2025-09-01-preview", + "location": "eastus", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "eastus/default", + "type": "Microsoft.NetApp/locations/regionInfos", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/regionInfos/default", + "properties": { + "availabilityZoneMappings": [ + { + "availabilityZone": "1", + "isAvailable": true + }, + { + "availabilityZone": "2", + "isAvailable": true + }, + { + "availabilityZone": "3", + "isAvailable": true + } + ], + "storageToNetworkProximity": "T2" + } + } + ] + } + } + }, + "operationId": "NetAppResourceRegionInfos_List", + "title": "RegionInfos_List" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/SnapshotPolicies_Create.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/SnapshotPolicies_Create.json new file mode 100644 index 000000000000..b1a2579b9597 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/SnapshotPolicies_Create.json @@ -0,0 +1,106 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "body": { + "location": "eastus", + "properties": { + "dailySchedule": { + "hour": 14, + "minute": 30, + "snapshotsToKeep": 4 + }, + "enabled": true, + "hourlySchedule": { + "minute": 50, + "snapshotsToKeep": 2 + }, + "monthlySchedule": { + "daysOfMonth": "10,11,12", + "hour": 14, + "minute": 15, + "snapshotsToKeep": 5 + }, + "weeklySchedule": { + "day": "Wednesday", + "hour": 14, + "minute": 45, + "snapshotsToKeep": 3 + } + } + }, + "resourceGroupName": "myRG", + "snapshotPolicyName": "snapshotPolicyName", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "account1/snapshotPolicy1", + "type": "Microsoft.NetApp/netAppAccounts/snapshotPolicies", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/snapshotPolicies/snapshotPolicy1", + "location": "eastus", + "properties": { + "dailySchedule": { + "hour": 14, + "minute": 30, + "snapshotsToKeep": 4 + }, + "enabled": true, + "hourlySchedule": { + "minute": 50, + "snapshotsToKeep": 2 + }, + "monthlySchedule": { + "daysOfMonth": "10,11,12", + "hour": 14, + "minute": 15, + "snapshotsToKeep": 5 + }, + "provisioningState": "Succeeded", + "weeklySchedule": { + "day": "Wednesday", + "hour": 14, + "minute": 45, + "snapshotsToKeep": 3 + } + } + } + }, + "201": { + "body": { + "name": "account1/snapshotPolicy1", + "type": "Microsoft.NetApp/netAppAccounts/snapshotPolicies", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/snapshotPolicies/snapshotPolicy1", + "location": "eastus", + "properties": { + "dailySchedule": { + "hour": 14, + "minute": 30, + "snapshotsToKeep": 4 + }, + "enabled": true, + "hourlySchedule": { + "minute": 50, + "snapshotsToKeep": 2 + }, + "monthlySchedule": { + "daysOfMonth": "10,11,12", + "hour": 14, + "minute": 15, + "snapshotsToKeep": 5 + }, + "provisioningState": "Succeeded", + "weeklySchedule": { + "day": "Wednesday", + "hour": 14, + "minute": 45, + "snapshotsToKeep": 3 + } + } + } + } + }, + "operationId": "SnapshotPolicies_Create", + "title": "SnapshotPolicies_Create" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/SnapshotPolicies_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/SnapshotPolicies_Delete.json new file mode 100644 index 000000000000..4ed06c5f8bca --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/SnapshotPolicies_Delete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "accountName": "accountName", + "api-version": "2025-09-01-preview", + "resourceGroupName": "resourceGroup", + "snapshotPolicyName": "snapshotPolicyName", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + }, + "204": {} + }, + "operationId": "SnapshotPolicies_Delete", + "title": "SnapshotPolicies_Delete" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/SnapshotPolicies_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/SnapshotPolicies_Get.json new file mode 100644 index 000000000000..e1cba3a63055 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/SnapshotPolicies_Get.json @@ -0,0 +1,46 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "resourceGroupName": "myRG", + "snapshotPolicyName": "snapshotPolicyName", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "account1/snapshotPolicy1", + "type": "Microsoft.NetApp/netAppAccounts/snapshotPolicies", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/snapshotPolicies/snapshotPolicy1", + "location": "eastus", + "properties": { + "dailySchedule": { + "hour": 14, + "minute": 30, + "snapshotsToKeep": 4 + }, + "enabled": true, + "hourlySchedule": { + "minute": 50, + "snapshotsToKeep": 2 + }, + "monthlySchedule": { + "daysOfMonth": "10,11,12", + "hour": 14, + "minute": 15, + "snapshotsToKeep": 5 + }, + "provisioningState": "Succeeded", + "weeklySchedule": { + "day": "Wednesday", + "hour": 14, + "minute": 45, + "snapshotsToKeep": 3 + } + } + } + } + }, + "operationId": "SnapshotPolicies_Get", + "title": "SnapshotPolicies_Get" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/SnapshotPolicies_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/SnapshotPolicies_List.json new file mode 100644 index 000000000000..111bf28d0575 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/SnapshotPolicies_List.json @@ -0,0 +1,49 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "account1/snapshotPolicy1", + "type": "Microsoft.NetApp/netAppAccounts/snapshotPolicies", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/snapshotPolicies/snapshotPolicy1", + "location": "eastus", + "properties": { + "dailySchedule": { + "hour": 14, + "minute": 30, + "snapshotsToKeep": 4 + }, + "enabled": true, + "hourlySchedule": { + "minute": 50, + "snapshotsToKeep": 2 + }, + "monthlySchedule": { + "daysOfMonth": "10,11,12", + "hour": 14, + "minute": 15, + "snapshotsToKeep": 5 + }, + "provisioningState": "Succeeded", + "weeklySchedule": { + "day": "Wednesday", + "hour": 14, + "minute": 45, + "snapshotsToKeep": 3 + } + } + } + ] + } + } + }, + "operationId": "SnapshotPolicies_List", + "title": "SnapshotPolicies_List" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/SnapshotPolicies_ListVolumes.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/SnapshotPolicies_ListVolumes.json new file mode 100644 index 000000000000..0c2cc0010b24 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/SnapshotPolicies_ListVolumes.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "body": { + "location": "eastus", + "properties": {} + }, + "resourceGroupName": "myRG", + "snapshotPolicyName": "snapshotPolicyName", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "account1/pool1/volume1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1", + "location": "eastus", + "properties": { + "creationToken": "my-unique-file-path", + "fileSystemId": "00000000-0000-0000-0000-000000000000", + "provisioningState": "Succeeded", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 128, + "usageThreshold": 107374182400 + } + } + ] + } + } + }, + "operationId": "SnapshotPolicies_ListVolumes", + "title": "SnapshotPolicies_ListVolumes" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/SnapshotPolicies_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/SnapshotPolicies_Update.json new file mode 100644 index 000000000000..dbb6c5a8432a --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/SnapshotPolicies_Update.json @@ -0,0 +1,109 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "body": { + "location": "eastus", + "properties": { + "dailySchedule": { + "hour": 14, + "minute": 30, + "snapshotsToKeep": 4 + }, + "enabled": true, + "hourlySchedule": { + "minute": 50, + "snapshotsToKeep": 2 + }, + "monthlySchedule": { + "daysOfMonth": "10,11,12", + "hour": 14, + "minute": 15, + "snapshotsToKeep": 5 + }, + "weeklySchedule": { + "day": "Wednesday", + "hour": 14, + "minute": 45, + "snapshotsToKeep": 3 + } + } + }, + "resourceGroupName": "myRG", + "snapshotPolicyName": "snapshotPolicyName", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "account1/snapshotPolicy1", + "type": "Microsoft.NetApp/netAppAccounts/snapshotPolicies", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/snapshotPolicies/snapshotPolicy1", + "location": "eastus", + "properties": { + "dailySchedule": { + "hour": 14, + "minute": 30, + "snapshotsToKeep": 4 + }, + "enabled": true, + "hourlySchedule": { + "minute": 50, + "snapshotsToKeep": 2 + }, + "monthlySchedule": { + "daysOfMonth": "10,11,12", + "hour": 14, + "minute": 15, + "snapshotsToKeep": 5 + }, + "provisioningState": "Succeeded", + "weeklySchedule": { + "day": "Wednesday", + "hour": 14, + "minute": 45, + "snapshotsToKeep": 3 + } + } + } + }, + "202": { + "body": { + "name": "account1/snapshotPolicy1", + "type": "Microsoft.NetApp/netAppAccounts/snapshotPolicies", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/snapshotPolicies/snapshotPolicy1", + "location": "eastus", + "properties": { + "dailySchedule": { + "hour": 14, + "minute": 30, + "snapshotsToKeep": 4 + }, + "enabled": true, + "hourlySchedule": { + "minute": 50, + "snapshotsToKeep": 2 + }, + "monthlySchedule": { + "daysOfMonth": "10,11,12", + "hour": 14, + "minute": 15, + "snapshotsToKeep": 5 + }, + "provisioningState": "Succeeded", + "weeklySchedule": { + "day": "Wednesday", + "hour": 14, + "minute": 45, + "snapshotsToKeep": 3 + } + } + }, + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/18c499e1-2a3c-441c-950e-4b456c991c18?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + } + }, + "operationId": "SnapshotPolicies_Update", + "title": "SnapshotPolicies_Update" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Snapshots_Create.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Snapshots_Create.json new file mode 100644 index 000000000000..29c8f81377a7 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Snapshots_Create.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "body": { + "location": "eastus" + }, + "location": "eastus", + "poolName": "pool1", + "resourceGroupName": "myRG", + "snapshotName": "snapshot1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "201": { + "body": { + "name": "account1/pool1/volume1/snapshot1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/snapshots/snapshot1", + "location": "eastus", + "properties": { + "created": "2017-08-15T13:23:33Z", + "provisioningState": "Succeeded", + "snapshotId": "9760acf5-4638-11e7-9bdb-020073ca3333" + } + } + }, + "202": {} + }, + "operationId": "Snapshots_Create", + "title": "Snapshots_Create" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Snapshots_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Snapshots_Delete.json new file mode 100644 index 000000000000..9832b1e2cde7 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Snapshots_Delete.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "poolName": "pool1", + "resourceGroupName": "myRG", + "snapshotName": "snapshot1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + }, + "204": {} + }, + "operationId": "Snapshots_Delete", + "title": "Snapshots_Delete" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Snapshots_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Snapshots_Get.json new file mode 100644 index 000000000000..5934f8d57cf3 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Snapshots_Get.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "poolName": "pool1", + "resourceGroupName": "myRG", + "snapshotName": "snapshot1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": { + "body": { + "name": "account1/pool1/volume1/snapshot1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/snapshots/snapshot1", + "location": "eastus", + "properties": { + "created": "2017-08-15T13:23:33Z", + "provisioningState": "Succeeded", + "snapshotId": "9760acf5-4638-11e7-9bdb-020073ca3333" + } + } + } + }, + "operationId": "Snapshots_Get", + "title": "Snapshots_Get" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Snapshots_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Snapshots_List.json new file mode 100644 index 000000000000..3b4dc1228930 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Snapshots_List.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "account1/pool1/volume1/snapshot1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/snapshots/snapshot1", + "location": "eastus", + "properties": { + "created": "2017-08-15T13:23:33Z", + "provisioningState": "Succeeded", + "snapshotId": "9760acf5-4638-11e7-9bdb-020073ca3333" + } + } + ] + } + } + }, + "operationId": "Snapshots_List", + "title": "Snapshots_List" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Snapshots_SingleFileRestore.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Snapshots_SingleFileRestore.json new file mode 100644 index 000000000000..47c150fce08f --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Snapshots_SingleFileRestore.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "body": { + "filePaths": [ + "/dir1/customer1.db", + "/dir1/customer2.db" + ] + }, + "poolName": "pool1", + "resourceGroupName": "myRG", + "snapshotName": "snapshot1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + } + }, + "operationId": "Snapshots_RestoreFiles", + "title": "Snapshots_SingleFileRestore" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Snapshots_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Snapshots_Update.json new file mode 100644 index 000000000000..c56f48468ed1 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Snapshots_Update.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "body": {}, + "poolName": "pool1", + "resourceGroupName": "myRG", + "snapshotName": "snapshot1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": { + "body": { + "name": "account1/pool1/volume1/snapshot1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/snapshots/snapshot1", + "location": "eastus", + "properties": { + "created": "2017-08-15T13:23:33Z", + "provisioningState": "Succeeded", + "snapshotId": "9760acf5-4638-11e7-9bdb-020073ca3333" + } + } + }, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + } + }, + "operationId": "Snapshots_Update", + "title": "Snapshots_Update" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Subvolumes_Create.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Subvolumes_Create.json new file mode 100644 index 000000000000..92a4d250061c --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Subvolumes_Create.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "body": { + "properties": { + "path": "/subvolumePath" + } + }, + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "subvolumeName": "subvolume1", + "volumeName": "volume1" + }, + "responses": { + "200": { + "body": { + "name": "account1/pool1/volume1/subvolume1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/subvolumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/subvolumes/subvolume1", + "properties": { + "path": "/subvolumePath", + "provisioningState": "Succeeded", + "size": 0 + } + } + }, + "201": { + "body": { + "name": "account1/pool1/volume1/subvolume1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/subvolumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/subvolumes/subvolume1", + "properties": { + "path": "/subvolumePath", + "provisioningState": "Creating" + } + } + }, + "202": {} + }, + "operationId": "Subvolumes_Create", + "title": "Subvolumes_Create" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Subvolumes_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Subvolumes_Delete.json new file mode 100644 index 000000000000..f6584663f014 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Subvolumes_Delete.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "subvolumeName": "subvolume1", + "volumeName": "volume1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + }, + "204": {} + }, + "operationId": "Subvolumes_Delete", + "title": "Subvolumes_Delete" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Subvolumes_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Subvolumes_Get.json new file mode 100644 index 000000000000..be1a9941eba1 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Subvolumes_Get.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "subvolumeName": "subvolume1", + "volumeName": "volume1" + }, + "responses": { + "200": { + "body": { + "name": "account1/pool1/volume1/subvolume1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/subvolumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/subvolumes/subvolume1", + "properties": { + "path": "/pathToSubvol", + "size": 0 + } + } + } + }, + "operationId": "Subvolumes_Get", + "title": "Subvolumes_Get" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Subvolumes_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Subvolumes_List.json new file mode 100644 index 000000000000..55d431d77b45 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Subvolumes_List.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "subvolumeName": "subvolume1", + "volumeName": "volume1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "account1/pool1/volume1/subvolume1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/subvolumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/subvolumes/subvolume1", + "properties": { + "path": "/pathToSubvol", + "size": 0 + } + } + ] + } + } + }, + "operationId": "Subvolumes_ListByVolume", + "title": "Subvolumes_List" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Subvolumes_Metadata.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Subvolumes_Metadata.json new file mode 100644 index 000000000000..7c49063be7f5 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Subvolumes_Metadata.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "subvolumeName": "subvolume1", + "volumeName": "volume1" + }, + "responses": { + "200": { + "body": { + "name": "account1/pool1/volume1/subvolume1/metadata", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/subvolumes/metadata", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/subvolumes/subvolume1/metadata", + "properties": { + "path": "/pathToSubvol", + "accessedTimeStamp": "2017-08-15T13:23:33Z", + "bytesUsed": 5, + "changedTimeStamp": "2017-08-15T13:23:33Z", + "creationTimeStamp": "2017-08-15T13:23:33Z", + "modifiedTimeStamp": "2017-08-15T13:23:33Z", + "permissions": "777", + "size": 5 + } + } + }, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + } + }, + "operationId": "Subvolumes_GetMetadata", + "title": "Subvolumes_Metadata" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Subvolumes_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Subvolumes_Update.json new file mode 100644 index 000000000000..b80f96d614eb --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Subvolumes_Update.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "body": { + "properties": { + "path": "/subvolumePath" + } + }, + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "subvolumeName": "subvolume1", + "volumeName": "volume1" + }, + "responses": { + "200": { + "body": { + "name": "account1/pool1/volume1/subvolume1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/subvolume1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/subvolumes/subvolume1", + "properties": { + "path": "/subvolumePath", + "size": 0 + } + } + }, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + } + }, + "operationId": "Subvolumes_Update", + "title": "Subvolumes_Update" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Usages_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Usages_Get.json new file mode 100644 index 000000000000..f63b7fc4e596 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Usages_Get.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2025-09-01-preview", + "location": "eastus", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "usageType": "totalTibsPerSubscription" + }, + "responses": { + "200": { + "body": { + "name": { + "localizedValue": "Total TiBs per subscription", + "value": "totalTibsPerSubscription" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/usages", + "properties": { + "currentValue": 75, + "limit": 100, + "unit": "count" + } + } + } + }, + "operationId": "NetAppResourceUsages_Get", + "title": "Usages_Get" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Usages_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Usages_List.json new file mode 100644 index 000000000000..c5d6c7a9c5bb --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Usages_List.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "api-version": "2025-09-01-preview", + "location": "eastus", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": { + "localizedValue": "Total TiBs per subscription", + "value": "totalTibsPerSubscription" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/usages", + "properties": { + "currentValue": 75, + "limit": 100, + "unit": "count" + } + } + ] + } + } + }, + "operationId": "NetAppResourceUsages_List", + "title": "Usages_List" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/VolumeGroups_Create_Oracle.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/VolumeGroups_Create_Oracle.json new file mode 100644 index 000000000000..d230014d961e --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/VolumeGroups_Create_Oracle.json @@ -0,0 +1,967 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "body": { + "location": "westus", + "properties": { + "groupMetaData": { + "applicationIdentifier": "OR2", + "applicationType": "ORACLE", + "groupDescription": "Volume group" + }, + "volumes": [ + { + "name": "test-ora-data1", + "properties": { + "capacityPoolResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + "creationToken": "test-ora-data1", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-data1" + }, + "zones": [ + "1" + ] + }, + { + "name": "test-ora-data2", + "properties": { + "capacityPoolResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + "creationToken": "test-ora-data2", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-data2" + }, + "zones": [ + "1" + ] + }, + { + "name": "test-ora-data3", + "properties": { + "capacityPoolResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + "creationToken": "test-ora-data3", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-data3" + }, + "zones": [ + "1" + ] + }, + { + "name": "test-ora-data4", + "properties": { + "capacityPoolResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + "creationToken": "test-ora-data4", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-data4" + }, + "zones": [ + "1" + ] + }, + { + "name": "test-ora-data5", + "properties": { + "capacityPoolResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + "creationToken": "test-ora-data5", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-data5" + }, + "zones": [ + "1" + ] + }, + { + "name": "test-ora-data6", + "properties": { + "capacityPoolResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + "creationToken": "test-ora-data6", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-data6" + }, + "zones": [ + "1" + ] + }, + { + "name": "test-ora-data7", + "properties": { + "capacityPoolResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + "creationToken": "test-ora-data7", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-data7" + }, + "zones": [ + "1" + ] + }, + { + "name": "test-ora-data8", + "properties": { + "capacityPoolResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + "creationToken": "test-ora-data8", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-data8" + }, + "zones": [ + "1" + ] + }, + { + "name": "test-ora-log", + "properties": { + "capacityPoolResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + "creationToken": "test-ora-log", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-log" + }, + "zones": [ + "1" + ] + }, + { + "name": "test-ora-log-mirror", + "properties": { + "capacityPoolResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + "creationToken": "test-ora-log-mirror", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-log-mirror" + }, + "zones": [ + "1" + ] + }, + { + "name": "test-ora-binary", + "properties": { + "capacityPoolResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + "creationToken": "test-ora-binary", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-binary" + }, + "zones": [ + "1" + ] + }, + { + "name": "test-ora-backup", + "properties": { + "capacityPoolResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + "creationToken": "test-ora-backup", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-backup" + }, + "zones": [ + "1" + ] + } + ] + } + }, + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeGroupName": "group1" + }, + "responses": { + "201": { + "body": { + "name": "group1", + "type": "Microsoft.NetApp/netAppAccounts/volumeGroups", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/volumeGroups/group1", + "location": "westus", + "properties": { + "groupMetaData": { + "applicationIdentifier": "OR2", + "applicationType": "ORACLE", + "groupDescription": "Volume group" + }, + "provisioningState": "Creating", + "volumes": [ + { + "name": "test-ora-data1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data1", + "properties": { + "creationToken": "test-ora-data1", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-data1" + }, + "zones": [ + "1" + ] + }, + { + "name": "test-ora-data2", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data2", + "properties": { + "creationToken": "test-ora-data2", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-data2" + }, + "zones": [ + "1" + ] + }, + { + "name": "test-ora-data3", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data3", + "properties": { + "creationToken": "test-ora-data3", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-data3" + }, + "zones": [ + "1" + ] + }, + { + "name": "test-ora-data4", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data4", + "properties": { + "creationToken": "test-ora-data4", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-data4" + }, + "zones": [ + "1" + ] + }, + { + "name": "test-ora-data5", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data5", + "properties": { + "creationToken": "test-ora-data5", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-data5" + }, + "zones": [ + "1" + ] + }, + { + "name": "test-ora-data6", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data6", + "properties": { + "creationToken": "test-ora-data6", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-data6" + }, + "zones": [ + "1" + ] + }, + { + "name": "test-ora-data7", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data7", + "properties": { + "creationToken": "test-ora-data7", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-data7" + }, + "zones": [ + "1" + ] + }, + { + "name": "test-ora-data8", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data8", + "properties": { + "creationToken": "test-ora-data8", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-data8" + }, + "zones": [ + "1" + ] + }, + { + "name": "test-ora-log", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-log", + "properties": { + "creationToken": "test-ora-log", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-log" + }, + "zones": [ + "1" + ] + }, + { + "name": "test-ora-log-mirror", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-log-mirror", + "properties": { + "creationToken": "test-ora-log-mirror", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-log-mirror" + }, + "zones": [ + "1" + ] + }, + { + "name": "test-ora-binary", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-binary", + "properties": { + "creationToken": "test-ora-binary", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-binary" + }, + "zones": [ + "1" + ] + }, + { + "name": "test-ora-backup", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-backup", + "properties": { + "creationToken": "test-ora-backup", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-backup" + }, + "zones": [ + "1" + ] + } + ] + } + } + } + }, + "operationId": "VolumeGroups_Create", + "title": "VolumeGroups_Create_Oracle" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/VolumeGroups_Create_SapHana.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/VolumeGroups_Create_SapHana.json new file mode 100644 index 000000000000..3683b82bf33e --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/VolumeGroups_Create_SapHana.json @@ -0,0 +1,408 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "body": { + "location": "westus", + "properties": { + "groupMetaData": { + "applicationIdentifier": "SH9", + "applicationType": "SAP-HANA", + "groupDescription": "Volume group" + }, + "volumes": [ + { + "name": "test-data-mnt00001", + "properties": { + "capacityPoolResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + "creationToken": "test-data-mnt00001", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "proximityPlacementGroup": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "data" + } + }, + { + "name": "test-log-mnt00001", + "properties": { + "capacityPoolResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + "creationToken": "test-log-mnt00001", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "proximityPlacementGroup": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "log" + } + }, + { + "name": "test-shared", + "properties": { + "capacityPoolResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + "creationToken": "test-shared", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "proximityPlacementGroup": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "shared" + } + }, + { + "name": "test-data-backup", + "properties": { + "capacityPoolResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + "creationToken": "test-data-backup", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "proximityPlacementGroup": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "data-backup" + } + }, + { + "name": "test-log-backup", + "properties": { + "capacityPoolResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + "creationToken": "test-log-backup", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "proximityPlacementGroup": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "log-backup" + } + } + ] + } + }, + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeGroupName": "group1" + }, + "responses": { + "201": { + "body": { + "name": "group1", + "type": "Microsoft.NetApp/netAppAccounts/volumeGroups", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/volumeGroups/group1", + "location": "westus", + "properties": { + "groupMetaData": { + "applicationIdentifier": "SH9", + "applicationType": "SAP-HANA", + "groupDescription": "Volume group" + }, + "provisioningState": "Creating", + "volumes": [ + { + "name": "test-data-mnt00001", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-data-mnt00001", + "properties": { + "creationToken": "test-data-mnt00001", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "proximityPlacementGroup": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "data" + } + }, + { + "name": "test-log-mnt00001", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-log-mnt00001", + "properties": { + "creationToken": "test-log-mnt00001", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "proximityPlacementGroup": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "log" + } + }, + { + "name": "test-shared", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-shared", + "properties": { + "creationToken": "test-shared", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "proximityPlacementGroup": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "shared" + } + }, + { + "name": "test-data-backup", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-data-backup", + "properties": { + "creationToken": "test-data-backup", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "proximityPlacementGroup": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "data-backup" + } + }, + { + "name": "test-log-backup", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-log-backup", + "properties": { + "creationToken": "test-log-backup", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "proximityPlacementGroup": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "log-backup" + } + } + ] + } + } + } + }, + "operationId": "VolumeGroups_Create", + "title": "VolumeGroups_Create_SapHana" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/VolumeGroups_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/VolumeGroups_Delete.json new file mode 100644 index 000000000000..4d8bba9f8b25 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/VolumeGroups_Delete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeGroupName": "group1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + }, + "204": {} + }, + "operationId": "VolumeGroups_Delete", + "title": "VolumeGroups_Delete" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/VolumeGroups_Get_Oracle.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/VolumeGroups_Get_Oracle.json new file mode 100644 index 000000000000..8940eda91c68 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/VolumeGroups_Get_Oracle.json @@ -0,0 +1,512 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeGroupName": "group1" + }, + "responses": { + "200": { + "body": { + "name": "group1", + "type": "Microsoft.NetApp/netAppAccounts/volumeGroups", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/volumeGroups/group1", + "location": "eastus", + "properties": { + "groupMetaData": { + "applicationIdentifier": "OR2", + "applicationType": "ORACLE", + "groupDescription": "Volume group", + "volumesCount": 12 + }, + "provisioningState": "Succeeded", + "volumes": [ + { + "name": "account1/pool1/test-ora-data1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data1", + "properties": { + "creationToken": "test-ora-data1", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "provisioningState": "Succeeded", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-data1" + }, + "zones": [ + "1" + ] + }, + { + "name": "account1/pool1/test-ora-data2", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data2", + "properties": { + "creationToken": "test-ora-data2", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "provisioningState": "Succeeded", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-data2" + }, + "zones": [ + "1" + ] + }, + { + "name": "account1/pool1/test-ora-data3", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data3", + "properties": { + "creationToken": "test-ora-data3", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "provisioningState": "Succeeded", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-data3" + }, + "zones": [ + "1" + ] + }, + { + "name": "account1/pool1/test-ora-data4", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data4", + "properties": { + "creationToken": "test-ora-data4", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "provisioningState": "Succeeded", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-data4" + }, + "zones": [ + "1" + ] + }, + { + "name": "account1/pool1/test-ora-data5", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data5", + "properties": { + "creationToken": "test-ora-data5", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "provisioningState": "Succeeded", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-data5" + }, + "zones": [ + "1" + ] + }, + { + "name": "account1/pool1/test-ora-data6", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data6", + "properties": { + "creationToken": "test-ora-data6", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "provisioningState": "Succeeded", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-data6" + }, + "zones": [ + "1" + ] + }, + { + "name": "account1/pool1/test-ora-data7", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data7", + "properties": { + "creationToken": "test-ora-data7", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "provisioningState": "Succeeded", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-data7" + }, + "zones": [ + "1" + ] + }, + { + "name": "account1/pool1/test-ora-data8", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data8", + "properties": { + "creationToken": "test-ora-data8", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "provisioningState": "Succeeded", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-data8" + }, + "zones": [ + "1" + ] + }, + { + "name": "account1/pool1/test-ora-log", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-log", + "properties": { + "creationToken": "test-ora-log", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "provisioningState": "Succeeded", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-log" + }, + "zones": [ + "1" + ] + }, + { + "name": "account1/pool1/test-ora-log-mirror", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-log-mirror", + "properties": { + "creationToken": "test-ora-log-mirror", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "provisioningState": "Succeeded", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-log-mirror" + }, + "zones": [ + "1" + ] + }, + { + "name": "account1/pool1/test-ora-binary", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-binary", + "properties": { + "creationToken": "test-ora-binary", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "provisioningState": "Succeeded", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-binary" + }, + "zones": [ + "1" + ] + }, + { + "name": "account1/pool1/test-ora-backup", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-backup", + "properties": { + "creationToken": "test-ora-backup", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "provisioningState": "Succeeded", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-backup" + }, + "zones": [ + "1" + ] + } + ] + } + } + } + }, + "operationId": "VolumeGroups_Get", + "title": "VolumeGroups_Get_Oracle" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/VolumeGroups_Get_SapHana.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/VolumeGroups_Get_SapHana.json new file mode 100644 index 000000000000..66eb0ddd9e47 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/VolumeGroups_Get_SapHana.json @@ -0,0 +1,222 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeGroupName": "group1" + }, + "responses": { + "200": { + "body": { + "name": "group1", + "type": "Microsoft.NetApp/netAppAccounts/volumeGroups", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/volumeGroups/group1", + "location": "eastus", + "properties": { + "groupMetaData": { + "applicationIdentifier": "SH9", + "applicationType": "SAP-HANA", + "groupDescription": "Volume group", + "volumesCount": 5 + }, + "provisioningState": "Succeeded", + "volumes": [ + { + "name": "account1/pool1/test-data-mnt00001", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-data-mnt00001", + "properties": { + "creationToken": "test-data-mnt00001", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "provisioningState": "Succeeded", + "proximityPlacementGroup": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "data" + } + }, + { + "name": "account1/pool1/test-log-mnt00001", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-log-mnt00001", + "properties": { + "creationToken": "test-log-mnt00001", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "provisioningState": "Succeeded", + "proximityPlacementGroup": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "log" + } + }, + { + "name": "account1/pool1/test-shared", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-shared", + "properties": { + "creationToken": "test-shared", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "provisioningState": "Succeeded", + "proximityPlacementGroup": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "shared" + } + }, + { + "name": "account1/pool1/test-data-backup", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-data-backup", + "properties": { + "creationToken": "test-data-backup", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "provisioningState": "Succeeded", + "proximityPlacementGroup": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "data-backup" + } + }, + { + "name": "account1/pool1/test-log-backup", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-log-backup", + "properties": { + "creationToken": "test-log-backup", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "provisioningState": "Succeeded", + "proximityPlacementGroup": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "log-backup" + } + } + ] + } + } + } + }, + "operationId": "VolumeGroups_Get", + "title": "VolumeGroups_Get_SapHana" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/VolumeGroups_List_Oracle.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/VolumeGroups_List_Oracle.json new file mode 100644 index 000000000000..98ffea0f0eb8 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/VolumeGroups_List_Oracle.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "group1", + "type": "Microsoft.NetApp/netAppAccounts/volumeGroups", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/volumeGroups/group1", + "location": "eastus", + "properties": { + "groupMetaData": { + "applicationIdentifier": "DEV", + "applicationType": "ORACLE", + "groupDescription": "Volume group", + "volumesCount": 12 + }, + "provisioningState": "Succeeded" + } + } + ] + } + } + }, + "operationId": "VolumeGroups_ListByNetAppAccount", + "title": "VolumeGroups_List_Oracle" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/VolumeGroups_List_SapHana.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/VolumeGroups_List_SapHana.json new file mode 100644 index 000000000000..458b84219148 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/VolumeGroups_List_SapHana.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "group1", + "type": "Microsoft.NetApp/netAppAccounts/volumeGroups", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/volumeGroups/group1", + "location": "eastus", + "properties": { + "groupMetaData": { + "applicationIdentifier": "SH9", + "applicationType": "SAP-HANA", + "groupDescription": "Volume group", + "volumesCount": 5 + }, + "provisioningState": "Succeeded" + } + } + ] + } + } + }, + "operationId": "VolumeGroups_ListByNetAppAccount", + "title": "VolumeGroups_List_SapHana" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/VolumeQuotaRules_Create.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/VolumeQuotaRules_Create.json new file mode 100644 index 000000000000..0724c55a6fca --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/VolumeQuotaRules_Create.json @@ -0,0 +1,54 @@ +{ + "parameters": { + "accountName": "account-9957", + "api-version": "2025-09-01-preview", + "body": { + "location": "westus", + "properties": { + "quotaSizeInKiBs": 100005, + "quotaTarget": "1821", + "quotaType": "IndividualUserQuota" + } + }, + "poolName": "pool-5210", + "resourceGroupName": "myRG", + "subscriptionId": "5275316f-a498-48d6-b324-2cbfdc4311b9", + "volumeName": "volume-6387", + "volumeQuotaRuleName": "rule-0004" + }, + "responses": { + "200": { + "body": { + "name": "account-9957/pool-5210/volume-6387/rule-0004", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/volumeQuotaRules", + "id": "/subscriptions/5275316f-a498-48d6-b324-2cbfdc4311b9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account-9957/capacityPools/pool-5210/volumes/volume-6387/volumeQuotaRules/rule-0004", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "quotaSizeInKiBs": 100005, + "quotaTarget": "1821", + "quotaType": "IndividualUserQuota" + } + } + }, + "201": { + "body": { + "name": "account-9957/pool-5210/volume-6387/rule-0004", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/volumeQuotaRules", + "id": "/subscriptions/5275316f-a498-48d6-b324-2cbfdc4311b9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account-9957/capacityPools/pool-5210/volumes/volume-6387/volumeQuotaRules/rule-0004", + "location": "westus", + "properties": { + "provisioningState": "Creating", + "quotaSizeInKiBs": 100005, + "quotaTarget": "1821", + "quotaType": "IndividualUserQuota" + } + }, + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + } + }, + "operationId": "VolumeQuotaRules_Create", + "title": "VolumeQuotaRules_Create" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/VolumeQuotaRules_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/VolumeQuotaRules_Delete.json new file mode 100644 index 000000000000..69bb681ed1fe --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/VolumeQuotaRules_Delete.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "accountName": "account-9957", + "api-version": "2025-09-01-preview", + "poolName": "pool-5210", + "resourceGroupName": "myRG", + "subscriptionId": "5275316f-a498-48d6-b324-2cbfdc4311b9", + "volumeName": "volume-6387", + "volumeQuotaRuleName": "rule-0004" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/5275316f-a498-48d6-b324-2cbfdc4311b9/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + }, + "204": {} + }, + "operationId": "VolumeQuotaRules_Delete", + "title": "VolumeQuotaRules_Delete" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/VolumeQuotaRules_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/VolumeQuotaRules_Get.json new file mode 100644 index 000000000000..f17dbc26616c --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/VolumeQuotaRules_Get.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "accountName": "account-9957", + "api-version": "2025-09-01-preview", + "poolName": "pool-5210", + "resourceGroupName": "myRG", + "subscriptionId": "5275316f-a498-48d6-b324-2cbfdc4311b9", + "volumeName": "volume-6387", + "volumeQuotaRuleName": "rule-0004" + }, + "responses": { + "200": { + "body": { + "name": "account-9957/pool-5210/volume-6387/rule-0004", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/volumeQuotaRules", + "id": "/subscriptions/5275316f-a498-48d6-b324-2cbfdc4311b9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account-9957/capacityPools/pool-5210/volumes/volume-6387/volumeQuotaRules/rule-0004", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "quotaSizeInKiBs": 100005, + "quotaTarget": "1821", + "quotaType": "IndividualUserQuota" + } + } + } + }, + "operationId": "VolumeQuotaRules_Get", + "title": "VolumeQuotaRules_Get" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/VolumeQuotaRules_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/VolumeQuotaRules_List.json new file mode 100644 index 000000000000..1f931729f642 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/VolumeQuotaRules_List.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "accountName": "account-9957", + "api-version": "2025-09-01-preview", + "poolName": "pool-5210", + "resourceGroupName": "myRG", + "subscriptionId": "5275316f-a498-48d6-b324-2cbfdc4311b9", + "volumeName": "volume-6387", + "volumeQuotaRuleName": "rule-0004" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "account-9957/pool-5210/volume-6387/rule-0004", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/volumeQuotaRules", + "id": "/subscriptions/5275316f-a498-48d6-b324-2cbfdc4311b9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account-9957/capacityPools/pool-5210/volumes/volume-6387/volumeQuotaRules/rule-0004", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "quotaSizeInKiBs": 100005, + "quotaTarget": "1821", + "quotaType": "IndividualUserQuota" + } + } + ] + } + } + }, + "operationId": "VolumeQuotaRules_ListByVolume", + "title": "VolumeQuotaRules_List" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/VolumeQuotaRules_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/VolumeQuotaRules_Update.json new file mode 100644 index 000000000000..1002c54df6b8 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/VolumeQuotaRules_Update.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "accountName": "account-9957", + "api-version": "2025-09-01-preview", + "body": { + "properties": { + "quotaSizeInKiBs": 100009 + } + }, + "poolName": "pool-5210", + "resourceGroupName": "myRG", + "subscriptionId": "5275316f-a498-48d6-b324-2cbfdc4311b9", + "volumeName": "volume-6387", + "volumeQuotaRuleName": "rule-0004" + }, + "responses": { + "200": { + "body": { + "name": "account-9957/pool-5210/volume-6387/rule-0004", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/volumeQuotaRules", + "id": "/subscriptions/5275316f-a498-48d6-b324-2cbfdc4311b9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account-9957/capacityPools/pool-5210/volumes/volume-6387/volumeQuotaRules/rule-0004", + "location": "westus", + "properties": { + "provisioningState": "Patching", + "quotaSizeInKiBs": 100005, + "quotaTarget": "1821", + "quotaType": "IndividualUserQuota" + } + } + }, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/5275316f-a498-48d6-b324-2cbfdc4311b9/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + } + }, + "operationId": "VolumeQuotaRules_Update", + "title": "VolumeQuotaRules_Update" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_AuthorizeExternalReplication.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_AuthorizeExternalReplication.json new file mode 100644 index 000000000000..12bd8bb711fe --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_AuthorizeExternalReplication.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": { + "body": { + "svmPeeringCommand": "vserver peer accept -vserver OnPremSvm -peer-vserver AnfSvm" + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + } + }, + "operationId": "Volumes_AuthorizeExternalReplication", + "title": "Volumes_AuthorizeExternalReplication" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_AuthorizeReplication.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_AuthorizeReplication.json new file mode 100644 index 000000000000..841f6302df37 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_AuthorizeReplication.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "body": { + "remoteVolumeResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRemoteRG/providers/Microsoft.NetApp/netAppAccounts/remoteAccount1/capacityPools/remotePool1/volumes/remoteVolume1" + }, + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + } + }, + "operationId": "Volumes_AuthorizeReplication", + "title": "Volumes_AuthorizeReplication" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_BreakFileLocks.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_BreakFileLocks.json new file mode 100644 index 000000000000..3982b6871d2e --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_BreakFileLocks.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "body": { + "clientIp": "101.102.103.104", + "confirmRunningDisruptiveOperation": true + }, + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + } + }, + "operationId": "Volumes_BreakFileLocks", + "title": "Volumes_BreakFileLocks" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_BreakReplication.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_BreakReplication.json new file mode 100644 index 000000000000..8ed991a395db --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_BreakReplication.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "body": { + "forceBreakReplication": false + }, + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + } + }, + "operationId": "Volumes_BreakReplication", + "title": "Volumes_BreakReplication" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_CreateOrUpdate.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_CreateOrUpdate.json new file mode 100644 index 000000000000..016a9208b2c1 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_CreateOrUpdate.json @@ -0,0 +1,60 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "body": { + "location": "eastus", + "properties": { + "creationToken": "my-unique-file-path", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "usageThreshold": 107374182400 + } + }, + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": { + "body": { + "name": "account1/pool1/volume1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1", + "location": "eastus", + "properties": { + "creationToken": "my-unique-file-path", + "encryptionKeySource": "Microsoft.NetApp", + "fileSystemId": "00000000-0000-0000-0000-000000000000", + "provisioningState": "Succeeded", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 128, + "usageThreshold": 107374182400 + } + } + }, + "201": { + "body": { + "name": "account1/pool1/volume1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1", + "location": "eastus", + "properties": { + "creationToken": "my-unique-file-path", + "encryptionKeySource": "Microsoft.NetApp", + "fileSystemId": "00000000-0000-0000-0000-000000000000", + "provisioningState": "Succeeded", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 128, + "usageThreshold": 107374182400 + } + } + }, + "202": {} + }, + "operationId": "Volumes_CreateOrUpdate", + "title": "Volumes_CreateOrUpdate" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_Delete.json new file mode 100644 index 000000000000..52c072828e8b --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_Delete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + }, + "204": {} + }, + "operationId": "Volumes_Delete", + "title": "Volumes_Delete" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_DeleteReplication.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_DeleteReplication.json new file mode 100644 index 000000000000..a69557c8b065 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_DeleteReplication.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "body": { + "location": "eastus", + "properties": {} + }, + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + } + }, + "operationId": "Volumes_DeleteReplication", + "title": "Volumes_DeleteReplication" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_ExtraLargeVolumes_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_ExtraLargeVolumes_Get.json new file mode 100644 index 000000000000..961c702c8f41 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_ExtraLargeVolumes_Get.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9", + "resourceGroupName": "myRG", + "accountName": "account1", + "poolName": "pool1", + "volumeName": "volume1", + "api-version": "2025-09-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1", + "name": "account1/pool1/volume1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "location": "eastus", + "properties": { + "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca7778", + "coolAccess": true, + "creationToken": "my-unique-file-path", + "isLargeVolume": true, + "largeVolumeType": "ExtraLargeVolume7Dot2PiB", + "usageThreshold": 109951162777600, + "serviceLevel": "Premium", + "provisioningState": "Succeeded", + "actualThroughputMibps": 128, + "subnetId": "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "networkFeatures": "Basic", + "effectiveNetworkFeatures": "Standard", + "networkSiblingSetId": "0f434a03-ce0b-4935-81af-d98652ffb1c4", + "storageToNetworkProximity": "T2", + "coolAccessTieringPolicy": "SnapshotOnly" + } + } + } + }, + "operationId": "Volumes_Get", + "title": "Volumes_ExtralargeVolumeGet" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_ExtraLargeVolumes_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_ExtraLargeVolumes_List.json new file mode 100644 index 000000000000..cac00413c856 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_ExtraLargeVolumes_List.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9", + "resourceGroupName": "myRG", + "accountName": "account1", + "poolName": "pool1", + "api-version": "2025-09-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1", + "name": "account1/pool1/volume1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "location": "eastus", + "properties": { + "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca7778", + "coolAccess": true, + "creationToken": "my-unique-file-path", + "isLargeVolume": true, + "largeVolumeType": "ExtraLargeVolume7Dot2PiB", + "usageThreshold": 109951162777600, + "serviceLevel": "Premium", + "provisioningState": "Succeeded", + "actualThroughputMibps": 128, + "subnetId": "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "networkFeatures": "Basic", + "effectiveNetworkFeatures": "Standard", + "networkSiblingSetId": "0f434a03-ce0b-4935-81af-d98652ffb1c4", + "storageToNetworkProximity": "T2", + "coolAccessTieringPolicy": "SnapshotOnly" + } + } + ] + } + } + }, + "operationId": "Volumes_List", + "title": "Volumes_ExtralargeVolumeList" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_FinalizeExternalReplication.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_FinalizeExternalReplication.json new file mode 100644 index 000000000000..f3288cd24c9d --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_FinalizeExternalReplication.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + } + }, + "operationId": "Volumes_FinalizeExternalReplication", + "title": "Volumes_FinalizeExternalReplication" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_FinalizeRelocation.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_FinalizeRelocation.json new file mode 100644 index 000000000000..76898c51bf4a --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_FinalizeRelocation.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "body": { + "location": "eastus", + "properties": {} + }, + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2024-03-01&operationResultResponseType=Location" + } + } + }, + "operationId": "Volumes_FinalizeRelocation", + "title": "Volumes_FinalizeRelocation" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_Get.json new file mode 100644 index 000000000000..44ca345be724 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_Get.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": { + "body": { + "name": "account1/pool1/volume1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1", + "location": "eastus", + "properties": { + "creationToken": "my-unique-file-path", + "fileSystemId": "00000000-0000-0000-0000-000000000000", + "networkFeatures": "Standard", + "networkSiblingSetId": "0f434a03-ce0b-4935-81af-d98652ffb1c4", + "provisioningState": "Succeeded", + "serviceLevel": "Premium", + "storageToNetworkProximity": "T2", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 128, + "usageThreshold": 107374182400 + } + } + } + }, + "operationId": "Volumes_Get", + "title": "Volumes_Get" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_LatestBackupStatus.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_LatestBackupStatus.json new file mode 100644 index 000000000000..9a75dc0cde57 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_LatestBackupStatus.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": { + "body": { + "errorMessage": "", + "healthy": true, + "lastTransferSize": 100000, + "lastTransferType": "", + "mirrorState": "Mirrored", + "relationshipStatus": "Idle", + "totalTransferBytes": 100000, + "unhealthyReason": "" + } + } + }, + "operationId": "Backups_GetLatestStatus", + "title": "Volumes_BackupStatus" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_LatestRestoreStatus.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_LatestRestoreStatus.json new file mode 100644 index 000000000000..bf9270b0e4bf --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_LatestRestoreStatus.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": { + "body": { + "errorMessage": "", + "healthy": true, + "mirrorState": "Uninitialized", + "relationshipStatus": "Idle", + "totalTransferBytes": 100000, + "unhealthyReason": "" + } + } + }, + "operationId": "Backups_GetVolumeLatestRestoreStatus", + "title": "Volumes_RestoreStatus" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_List.json new file mode 100644 index 000000000000..0b8226f4e7c9 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_List.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "account1/pool1/volume1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1", + "location": "eastus", + "properties": { + "creationToken": "my-unique-file-path", + "fileSystemId": "00000000-0000-0000-0000-000000000000", + "networkFeatures": "Standard", + "networkSiblingSetId": "0f434a03-ce0b-4935-81af-d98652ffb1c4", + "provisioningState": "Succeeded", + "serviceLevel": "Premium", + "storageToNetworkProximity": "T2", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 128, + "usageThreshold": 107374182400 + } + } + ] + } + } + }, + "operationId": "Volumes_List", + "title": "Volumes_List" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_ListQuotaReport.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_ListQuotaReport.json new file mode 100644 index 000000000000..73ffd0bbc08b --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_ListQuotaReport.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "isDerivedQuota": false, + "percentageUsed": 5, + "quotaLimitTotalInKiBs": 204914688, + "quotaLimitUsedInKiBs": 8192, + "quotaTarget": "1013", + "quotaType": "IndividualUserQuota" + }, + { + "isDerivedQuota": false, + "percentageUsed": 5, + "quotaLimitTotalInKiBs": 204914688, + "quotaLimitUsedInKiBs": 8192, + "quotaTarget": "1012", + "quotaType": "IndividualGroupQuota" + } + ] + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + } + }, + "operationId": "Volumes_ListQuotaReport", + "title": "ListQuotaReport" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_ListReplications.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_ListReplications.json new file mode 100644 index 000000000000..961d3f08256a --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_ListReplications.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "accountName": "account1", + "poolName": "pool1", + "volumeName": "volume1", + "api-version": "2025-09-01-preview", + "body": { + "exclude": "None" + } + }, + "responses": { + "200": { + "body": { + "value": [ + { + "replicationSchedule": "daily", + "remoteVolumeResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account-5999/capacityPools/pool-0977/volumes/volume-4508", + "remoteVolumeRegion": "westus", + "mirrorState": "Mirrored", + "replicationCreationTime": "2017-08-15T13:23:33Z", + "replicationDeletionTime": "2017-08-16T13:23:33Z" + } + ] + } + } + }, + "operationId": "Volumes_ListReplications", + "title": "Volumes_ListReplications" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_PeerExternalCluster.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_PeerExternalCluster.json new file mode 100644 index 000000000000..a81fc10ce5b3 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_PeerExternalCluster.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "body": { + "peerIpAddresses": [ + "0.0.0.1", + "0.0.0.2", + "0.0.0.3", + "0.0.0.4", + "0.0.0.5", + "0.0.0.6" + ] + }, + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": { + "body": { + "peerAcceptCommand": "cluster peer create -ipspace replication -encryption-protocol-proposed tls-psk -passphrase passphraseString -peer-addrs 1.1.1.1,1.1.1.2,1.1.1.3,1.1.1.4,1.1.1.5,1.1.1.6" + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + } + }, + "operationId": "Volumes_PeerExternalCluster", + "title": "Volumes_PeerExternalCluster" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_PerformReplicationTransfer.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_PerformReplicationTransfer.json new file mode 100644 index 000000000000..a55e0ad15013 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_PerformReplicationTransfer.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "body": { + "location": "eastus", + "properties": {} + }, + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + } + }, + "operationId": "Volumes_PerformReplicationTransfer", + "title": "Volumes_PerformReplicationTransfer" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_PoolChange.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_PoolChange.json new file mode 100644 index 000000000000..77c53fe3cb1b --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_PoolChange.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "body": { + "newPoolResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1" + }, + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + } + }, + "operationId": "Volumes_PoolChange", + "title": "Volumes_AuthorizeReplication" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_PopulateAvailabilityZones.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_PopulateAvailabilityZones.json new file mode 100644 index 000000000000..561189aaa848 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_PopulateAvailabilityZones.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": { + "body": { + "name": "account1/pool1/volume1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1", + "location": "eastus", + "properties": { + "creationToken": "my-unique-file-path", + "fileSystemId": "00000000-0000-0000-0000-000000000000", + "networkFeatures": "Standard", + "networkSiblingSetId": "0f434a03-ce0b-4935-81af-d98652ffb1c4", + "provisioningState": "Succeeded", + "serviceLevel": "Premium", + "storageToNetworkProximity": "T2", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 128, + "usageThreshold": 107374182400 + } + } + }, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + } + }, + "operationId": "Volumes_PopulateAvailabilityZone", + "title": "Volumes_PopulateAvailabilityZones" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_ReInitializeReplication.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_ReInitializeReplication.json new file mode 100644 index 000000000000..dada53b31824 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_ReInitializeReplication.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "body": { + "location": "eastus", + "properties": {} + }, + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + } + }, + "operationId": "Volumes_ReInitializeReplication", + "title": "Volumes_ReInitializeReplication" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_ReestablishReplication.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_ReestablishReplication.json new file mode 100644 index 000000000000..376e4695e781 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_ReestablishReplication.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "body": { + "sourceVolumeId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mySourceRG/providers/Microsoft.NetApp/netAppAccounts/sourceAccount1/capacityPools/sourcePool1/volumes/sourceVolume1" + }, + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + } + }, + "operationId": "Volumes_ReestablishReplication", + "title": "Volumes_ReestablishReplication" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_Relocate.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_Relocate.json new file mode 100644 index 000000000000..e00549640d79 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_Relocate.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "body": {}, + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + } + }, + "operationId": "Volumes_Relocate", + "title": "Volumes_Relocate" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_ReplicationStatus.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_ReplicationStatus.json new file mode 100644 index 000000000000..fd0b2d2a0158 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_ReplicationStatus.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "body": { + "location": "eastus", + "properties": {} + }, + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": { + "body": { + "errorMessage": "", + "healthy": true, + "mirrorState": "Mirrored", + "relationshipStatus": "Idle", + "totalProgress": "1048576" + } + } + }, + "operationId": "Volumes_ReplicationStatus", + "title": "Volumes_ReplicationStatus" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_ResetCifsPassword.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_ResetCifsPassword.json new file mode 100644 index 000000000000..349c135c862f --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_ResetCifsPassword.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "body": { + "location": "eastus", + "properties": {} + }, + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + } + }, + "operationId": "Volumes_ResetCifsPassword", + "title": "Volumes_ResetCifsPassword" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_ResyncReplication.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_ResyncReplication.json new file mode 100644 index 000000000000..1dd81e2e8bf9 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_ResyncReplication.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "body": { + "location": "eastus", + "properties": {} + }, + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + } + }, + "operationId": "Volumes_ResyncReplication", + "title": "Volumes_ResyncReplication" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_Revert.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_Revert.json new file mode 100644 index 000000000000..2f00e9d2c506 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_Revert.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "body": { + "snapshotId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/snapshots/snapshot1" + }, + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + } + }, + "operationId": "Volumes_Revert", + "title": "Volumes_Revert" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_RevertRelocation.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_RevertRelocation.json new file mode 100644 index 000000000000..60d4492216b2 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_RevertRelocation.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "body": { + "location": "eastus", + "properties": {} + }, + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + } + }, + "operationId": "Volumes_RevertRelocation", + "title": "Volumes_RevertRelocation" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_SplitClone.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_SplitClone.json new file mode 100644 index 000000000000..352063360670 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_SplitClone.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": { + "body": { + "name": "account1/pool1/volume1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1", + "location": "eastus", + "properties": { + "acceptGrowCapacityPoolForShortTermCloneSplit": "Accepted", + "creationToken": "my-unique-file-path", + "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca7778", + "networkFeatures": "Standard", + "networkSiblingSetId": "0f434a03-ce0b-4935-81af-d98652ffb1c4", + "provisioningState": "Succeeded", + "serviceLevel": "Premium", + "snapshotId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/snapshots/snap1", + "storageToNetworkProximity": "T2", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 128, + "usageThreshold": 107374182400 + } + } + }, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + } + }, + "operationId": "Volumes_SplitCloneFromParent", + "title": "Volumes_SplitClone" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_Update.json new file mode 100644 index 000000000000..d8fd97b3b0a4 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/examples/Volumes_Update.json @@ -0,0 +1,45 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01-preview", + "body": {}, + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": { + "body": { + "name": "account1/pool1/volume1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroup/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1", + "location": "eastus", + "properties": { + "creationToken": "my-unique-file-path", + "dataProtection": { + "snapshot": { + "snapshotPolicyId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.NetApp/netAppAccounts/account1/snapshotPolicies/snapshotPolicy1" + } + }, + "fileSystemId": "00000000-0000-0000-0000-000000000000", + "networkFeatures": "Standard", + "networkSiblingSetId": "0f434a03-ce0b-4935-81af-d98652ffb1c4", + "provisioningState": "Succeeded", + "serviceLevel": "Premium", + "storageToNetworkProximity": "T2", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 128, + "usageThreshold": 107374182400 + } + } + }, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01-preview&operationResultResponseType=Location" + } + } + }, + "operationId": "Volumes_Update", + "title": "Volumes_Update" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/netapp.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/netapp.json new file mode 100644 index 000000000000..297a6b8e86a1 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/preview/2025-09-01-preview/netapp.json @@ -0,0 +1,22319 @@ +{ + "swagger": "2.0", + "info": { + "title": "Microsoft NetApp", + "version": "2025-09-01-preview", + "description": "Microsoft NetApp Files Azure Resource Provider specification", + "x-typespec-generated": [ + { + "emitter": "@azure-tools/typespec-autorest" + } + ] + }, + "schemes": [ + "https" + ], + "host": "management.azure.com", + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "description": "Azure Active Directory OAuth2 Flow.", + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "tags": [ + { + "name": "Operations" + }, + { + "name": "SubscriptionQuotaItems" + }, + { + "name": "NetAppResourceQuotaLimitsAccount" + }, + { + "name": "RegionInfoResources" + }, + { + "name": "VolumeGroups" + }, + { + "name": "NetAppAccounts" + }, + { + "name": "CapacityPools" + }, + { + "name": "Backups" + }, + { + "name": "Volumes" + }, + { + "name": "Snapshots" + }, + { + "name": "SnapshotPolicies" + }, + { + "name": "BackupPolicies" + }, + { + "name": "VolumeQuotaRules" + }, + { + "name": "SubvolumeInfos" + }, + { + "name": "RansomwareReports" + }, + { + "name": "BackupVaults" + }, + { + "name": "Buckets" + }, + { + "name": "Caches" + }, + { + "name": "ElasticAccounts" + }, + { + "name": "ElasticCapacityPools" + }, + { + "name": "ElasticVolumes" + }, + { + "name": "ElasticSnapshots" + }, + { + "name": "ElasticSnapshotPolicies" + }, + { + "name": "ElasticBackupVaults" + }, + { + "name": "ElasticBackupPolicies" + }, + { + "name": "ElasticBackups" + }, + { + "name": "ActiveDirectoryConfigs" + } + ], + "paths": { + "/providers/Microsoft.NetApp/operations": { + "get": { + "operationId": "Operations_List", + "tags": [ + "Operations" + ], + "description": "List the operations for the provider", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/OperationListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "OperationList": { + "$ref": "./examples/OperationList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/activeDirectoryConfigs": { + "get": { + "operationId": "ActiveDirectoryConfigs_ListBySubscription", + "tags": [ + "ActiveDirectoryConfigs" + ], + "description": "List all active directory configurations within the subscription", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ActiveDirectoryConfigListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ActiveDirectoryConfigs_ListBySubscription": { + "$ref": "./examples/ActiveDirectoryConfigs_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/elasticAccounts": { + "get": { + "operationId": "ElasticAccounts_ListBySubscription", + "tags": [ + "ElasticAccounts" + ], + "description": "List and describe all NetApp elastic accounts in the subscription.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ElasticAccountListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ElasticAccounts_ListBySubscription": { + "$ref": "./examples/ElasticAccounts_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/checkFilePathAvailability": { + "post": { + "operationId": "NetAppResource_CheckFilePathAvailability", + "summary": "Check file path availability", + "description": "Check if a file path is available.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter" + }, + { + "name": "body", + "in": "body", + "description": "The request body", + "required": true, + "schema": { + "$ref": "#/definitions/FilePathAvailabilityRequest" + } + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/CheckAvailabilityResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CheckFilePathAvailability": { + "$ref": "./examples/CheckFilePathAvailability.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/checkNameAvailability": { + "post": { + "operationId": "NetAppResource_CheckNameAvailability", + "summary": "Check resource name availability", + "description": "Check if a resource name is available.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter" + }, + { + "name": "body", + "in": "body", + "description": "The request body", + "required": true, + "schema": { + "$ref": "#/definitions/ResourceNameAvailabilityRequest" + } + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/CheckAvailabilityResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CheckNameAvailability": { + "$ref": "./examples/CheckNameAvailability.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/checkQuotaAvailability": { + "post": { + "operationId": "NetAppResource_CheckQuotaAvailability", + "summary": "Check quota availability", + "description": "Check if a quota is available.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter" + }, + { + "name": "body", + "in": "body", + "description": "The request body", + "required": true, + "schema": { + "$ref": "#/definitions/QuotaAvailabilityRequest" + } + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/CheckAvailabilityResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CheckQuotaAvailability": { + "$ref": "./examples/CheckQuotaAvailability.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/queryNetworkSiblingSet": { + "post": { + "operationId": "NetAppResource_QueryNetworkSiblingSet", + "summary": "Describe a network sibling set", + "description": "Get details of the specified network sibling set.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter" + }, + { + "name": "body", + "in": "body", + "description": "The request body", + "required": true, + "schema": { + "$ref": "#/definitions/QueryNetworkSiblingSetRequest" + } + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/NetworkSiblingSet" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkSiblingSet_Query": { + "$ref": "./examples/NetworkSiblingSet_Query.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/quotaLimits": { + "get": { + "operationId": "NetAppResourceQuotaLimits_List", + "tags": [ + "SubscriptionQuotaItems" + ], + "description": "Get the default and current limits for quotas", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/LocationParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/QuotaItemList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "QuotaLimits": { + "$ref": "./examples/NetAppResourceQuotaLimits_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/quotaLimits/{quotaLimitName}": { + "get": { + "operationId": "NetAppResourceQuotaLimits_Get", + "tags": [ + "SubscriptionQuotaItems" + ], + "description": "Get the default and current quota limit", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/LocationParameter" + }, + { + "name": "quotaLimitName", + "in": "path", + "description": "The name of the Quota Limit", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-]{0,62}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/QuotaItem" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "QuotaLimits": { + "$ref": "./examples/NetAppResourceQuotaLimits_Get.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/regionInfo": { + "get": { + "operationId": "NetAppResource_QueryRegionInfo", + "summary": "Describes region specific information.", + "description": "Provides storage to network proximity and logical zone mapping information.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/RegionInfo" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "RegionInfo_Query": { + "$ref": "./examples/RegionInfo.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/regionInfos": { + "get": { + "operationId": "NetAppResourceRegionInfos_List", + "tags": [ + "RegionInfoResources" + ], + "description": "Provides region specific information.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/LocationParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/RegionInfosList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "RegionInfos_List": { + "$ref": "./examples/RegionInfos_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/regionInfos/default": { + "get": { + "operationId": "NetAppResourceRegionInfos_Get", + "tags": [ + "RegionInfoResources" + ], + "description": "Provides storage to network proximity and logical zone mapping information.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/LocationParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/RegionInfoResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "RegionInfos_Get": { + "$ref": "./examples/RegionInfos_Get.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/updateNetworkSiblingSet": { + "post": { + "operationId": "NetAppResource_UpdateNetworkSiblingSet", + "summary": "Update the network features of a network sibling set", + "description": "Update the network features of the specified network sibling set.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter" + }, + { + "name": "body", + "in": "body", + "description": "The request body", + "required": true, + "schema": { + "$ref": "#/definitions/UpdateNetworkSiblingSetRequest" + } + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/NetworkSiblingSet" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkFeatures_Update": { + "$ref": "./examples/NetworkSiblingSet_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/NetworkSiblingSet" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/usages": { + "get": { + "operationId": "NetAppResourceUsages_List", + "summary": "Get usages", + "description": "Get current subscription usages", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/UsagesListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Usages_List": { + "$ref": "./examples/Usages_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/usages/{usageType}": { + "get": { + "operationId": "NetAppResourceUsages_Get", + "summary": "Get specific type of usage", + "description": "Get current subscription usage of the specific type", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/LocationParameter" + }, + { + "name": "usageType", + "in": "path", + "description": "The type of usage", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/UsageResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Usages_Get": { + "$ref": "./examples/Usages_Get.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/netAppAccounts": { + "get": { + "operationId": "Accounts_ListBySubscription", + "tags": [ + "NetAppAccounts" + ], + "description": "List and describe all NetApp accounts in the subscription.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetAppAccountList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Accounts_ListBySubscription": { + "$ref": "./examples/Accounts_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/activeDirectoryConfigs": { + "get": { + "operationId": "ActiveDirectoryConfigs_ListByResourceGroup", + "tags": [ + "ActiveDirectoryConfigs" + ], + "description": "List all active directory configurations within the resource group.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ActiveDirectoryConfigListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ActiveDirectoryConfigs_ListByResourceGroup": { + "$ref": "./examples/ActiveDirectoryConfigs_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/activeDirectoryConfigs/{activeDirectoryConfigName}": { + "get": { + "operationId": "ActiveDirectoryConfigs_Get", + "tags": [ + "ActiveDirectoryConfigs" + ], + "description": "Get the details of the specified active directory configuration", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "activeDirectoryConfigName", + "in": "path", + "description": "The name of the ActiveDirectoryConfig", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ActiveDirectoryConfig" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ActiveDirectoryConfigs_Get": { + "$ref": "./examples/ActiveDirectoryConfigs_Get.json" + } + } + }, + "put": { + "operationId": "ActiveDirectoryConfigs_CreateOrUpdate", + "tags": [ + "ActiveDirectoryConfigs" + ], + "description": "Create or update the specified active directory configuration", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "activeDirectoryConfigName", + "in": "path", + "description": "The name of the ActiveDirectoryConfig", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "body", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/ActiveDirectoryConfig" + } + } + ], + "responses": { + "200": { + "description": "Resource 'ActiveDirectoryConfig' update operation succeeded", + "schema": { + "$ref": "#/definitions/ActiveDirectoryConfig" + } + }, + "201": { + "description": "Resource 'ActiveDirectoryConfig' create operation succeeded", + "schema": { + "$ref": "#/definitions/ActiveDirectoryConfig" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ActiveDirectoryConfigs_CreateOrUpdate": { + "$ref": "./examples/ActiveDirectoryConfigs_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/ActiveDirectoryConfig" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "ActiveDirectoryConfigs_Update", + "tags": [ + "ActiveDirectoryConfigs" + ], + "description": "Patch the specified active directory configuration", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "activeDirectoryConfigName", + "in": "path", + "description": "The name of the ActiveDirectoryConfig", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "body", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/ActiveDirectoryConfigUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ActiveDirectoryConfig" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ActiveDirectoryConfigs_Update": { + "$ref": "./examples/ActiveDirectoryConfigs_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/ActiveDirectoryConfig" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "ActiveDirectoryConfigs_Delete", + "tags": [ + "ActiveDirectoryConfigs" + ], + "description": "Delete the specified Active Directory configuration", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "activeDirectoryConfigName", + "in": "path", + "description": "The name of the ActiveDirectoryConfig", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ActiveDirectoryConfigs_Delete": { + "$ref": "./examples/ActiveDirectoryConfigs_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/elasticAccounts": { + "get": { + "operationId": "ElasticAccounts_ListByResourceGroup", + "tags": [ + "ElasticAccounts" + ], + "description": "List and describe all NetApp elastic accounts in the resource group.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ElasticAccountListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ElasticAccounts_ListByResourceGroup": { + "$ref": "./examples/ElasticAccounts_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/elasticAccounts/{accountName}": { + "get": { + "operationId": "ElasticAccounts_Get", + "tags": [ + "ElasticAccounts" + ], + "description": "Get the NetApp Elastic Account", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the ElasticAccount", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ElasticAccount" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ElasticAccounts_Get": { + "$ref": "./examples/ElasticAccounts_Get.json" + } + } + }, + "put": { + "operationId": "ElasticAccounts_CreateOrUpdate", + "tags": [ + "ElasticAccounts" + ], + "description": "Create or update the specified NetApp Elastic Account within the resource group", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the ElasticAccount", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "body", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/ElasticAccount" + } + } + ], + "responses": { + "200": { + "description": "Resource 'ElasticAccount' update operation succeeded", + "schema": { + "$ref": "#/definitions/ElasticAccount" + } + }, + "201": { + "description": "Resource 'ElasticAccount' create operation succeeded", + "schema": { + "$ref": "#/definitions/ElasticAccount" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ElasticAccounts_CreateOrUpdate": { + "$ref": "./examples/ElasticAccounts_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/ElasticAccount" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "ElasticAccounts_Update", + "tags": [ + "ElasticAccounts" + ], + "description": "Patch the specified NetApp Elastic Account", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the ElasticAccount", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "body", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/ElasticAccountUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ElasticAccount" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ElasticAccounts_Update": { + "$ref": "./examples/ElasticAccounts_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/ElasticAccount" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "ElasticAccounts_Delete", + "tags": [ + "ElasticAccounts" + ], + "description": "Delete the specified NetApp elastic account", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the ElasticAccount", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ElasticAccounts_Delete": { + "$ref": "./examples/ElasticAccounts_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/elasticAccounts/{accountName}/elasticBackupPolicies": { + "get": { + "operationId": "ElasticBackupPolicies_ListByElasticAccount", + "tags": [ + "ElasticBackupPolicies" + ], + "description": "List and describe all Elastic Backup Policies in the elastic account.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the ElasticAccount", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ElasticBackupPolicyListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ElasticBackupPolicies_ListByElasticAccount": { + "$ref": "./examples/ElasticBackupPolicies_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/elasticAccounts/{accountName}/elasticBackupPolicies/{backupPolicyName}": { + "get": { + "operationId": "ElasticBackupPolicies_Get", + "tags": [ + "ElasticBackupPolicies" + ], + "description": "Get the Elastic Backup Policy", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the ElasticAccount", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "backupPolicyName", + "in": "path", + "description": "The name of the ElasticBackupPolicy", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ElasticBackupPolicy" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ElasticBackupPolicies_Get": { + "$ref": "./examples/ElasticBackupPolicies_Get.json" + } + } + }, + "put": { + "operationId": "ElasticBackupPolicies_CreateOrUpdate", + "tags": [ + "ElasticBackupPolicies" + ], + "description": "Create or update the specified Elastic Backup Policy in the NetApp account", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the ElasticAccount", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "backupPolicyName", + "in": "path", + "description": "The name of the ElasticBackupPolicy", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "body", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/ElasticBackupPolicy" + } + } + ], + "responses": { + "200": { + "description": "Resource 'ElasticBackupPolicy' update operation succeeded", + "schema": { + "$ref": "#/definitions/ElasticBackupPolicy" + } + }, + "201": { + "description": "Resource 'ElasticBackupPolicy' create operation succeeded", + "schema": { + "$ref": "#/definitions/ElasticBackupPolicy" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ElasticBackupPolicies_CreateOrUpdate": { + "$ref": "./examples/ElasticBackupPolicies_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/ElasticBackupPolicy" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "ElasticBackupPolicies_Update", + "tags": [ + "ElasticBackupPolicies" + ], + "description": "Patch the specified NetApp Elastic Backup Policy", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the ElasticAccount", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "backupPolicyName", + "in": "path", + "description": "The name of the ElasticBackupPolicy", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "body", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/ElasticBackupPolicyUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ElasticBackupPolicy" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ElasticBackupPolicies_Update": { + "$ref": "./examples/ElasticBackupPolicies_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/ElasticBackupPolicy" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "ElasticBackupPolicies_Delete", + "tags": [ + "ElasticBackupPolicies" + ], + "description": "Delete the specified Elastic Policy", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the ElasticAccount", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "backupPolicyName", + "in": "path", + "description": "The name of the ElasticBackupPolicy", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ElasticBackupPolicies_Delete": { + "$ref": "./examples/ElasticBackupPolicies_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/elasticAccounts/{accountName}/elasticBackupVaults": { + "get": { + "operationId": "ElasticBackupVaults_ListByElasticAccount", + "tags": [ + "ElasticBackupVaults" + ], + "description": "List and describe all Elastic Backup Vaults in the elastic account.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the ElasticAccount", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ElasticBackupVaultListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ElasticBackupVaults_ListByElasticAccount": { + "$ref": "./examples/ElasticBackupVaults_ListByElasticAccount.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/elasticAccounts/{accountName}/elasticBackupVaults/{backupVaultName}": { + "get": { + "operationId": "ElasticBackupVaults_Get", + "tags": [ + "ElasticBackupVaults" + ], + "description": "Get the Elastic Backup Vault", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the ElasticAccount", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "backupVaultName", + "in": "path", + "description": "The name of the ElasticBackupVault", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ElasticBackupVault" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ElasticBackupVaults_Get": { + "$ref": "./examples/ElasticBackupVaults_Get.json" + } + } + }, + "put": { + "operationId": "ElasticBackupVaults_CreateOrUpdate", + "tags": [ + "ElasticBackupVaults" + ], + "description": "Create or update the specified Elastic Backup Vault in the Elastic NetApp account", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the ElasticAccount", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "backupVaultName", + "in": "path", + "description": "The name of the ElasticBackupVault", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "body", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/ElasticBackupVault" + } + } + ], + "responses": { + "200": { + "description": "Resource 'ElasticBackupVault' update operation succeeded", + "schema": { + "$ref": "#/definitions/ElasticBackupVault" + } + }, + "201": { + "description": "Resource 'ElasticBackupVault' create operation succeeded", + "schema": { + "$ref": "#/definitions/ElasticBackupVault" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ElasticBackupVaults_CreateOrUpdate": { + "$ref": "./examples/ElasticBackupVaults_Create.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/ElasticBackupVault" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "ElasticBackupVaults_Update", + "tags": [ + "ElasticBackupVaults" + ], + "description": "Patch the specified NetApp Elastic Backup Vault", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the ElasticAccount", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "backupVaultName", + "in": "path", + "description": "The name of the ElasticBackupVault", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "body", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/ElasticBackupVaultUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ElasticBackupVault" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ElasticBackupVaults_Update": { + "$ref": "./examples/ElasticBackupVaults_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/ElasticBackupVault" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "ElasticBackupVaults_Delete", + "tags": [ + "ElasticBackupVaults" + ], + "description": "Delete the specified Elastic Backup Vault", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the ElasticAccount", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "backupVaultName", + "in": "path", + "description": "The name of the ElasticBackupVault", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ElasticBackupVaults_Delete": { + "$ref": "./examples/ElasticBackupVaults_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/elasticAccounts/{accountName}/elasticBackupVaults/{backupVaultName}/elasticBackups": { + "get": { + "operationId": "ElasticBackups_ListByVault", + "tags": [ + "ElasticBackups" + ], + "description": "List all elastic backups Under an elastic Backup Vault", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the ElasticAccount", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "backupVaultName", + "in": "path", + "description": "The name of the ElasticBackupVault", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ElasticBackupListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ElasticBackups_ListByVault": { + "$ref": "./examples/ElasticBackups_ListByVault.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/elasticAccounts/{accountName}/elasticBackupVaults/{backupVaultName}/elasticBackups/{backupName}": { + "get": { + "operationId": "ElasticBackups_Get", + "tags": [ + "ElasticBackups" + ], + "description": "Get the specified Elastic Backup under Elastic Backup Vault.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the ElasticAccount", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "backupVaultName", + "in": "path", + "description": "The name of the ElasticBackupVault", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "backupName", + "in": "path", + "description": "The name of the ElasticBackup", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 256, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ElasticBackup" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ElasticBackups_Get": { + "$ref": "./examples/ElasticBackups_Get.json" + } + } + }, + "put": { + "operationId": "ElasticBackups_CreateOrUpdate", + "tags": [ + "ElasticBackups" + ], + "description": "Create an elastic backup under the elastic Backup Vault", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the ElasticAccount", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "backupVaultName", + "in": "path", + "description": "The name of the ElasticBackupVault", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "backupName", + "in": "path", + "description": "The name of the ElasticBackup", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 256, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "body", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/ElasticBackup" + } + } + ], + "responses": { + "200": { + "description": "Resource 'ElasticBackup' update operation succeeded", + "schema": { + "$ref": "#/definitions/ElasticBackup" + } + }, + "201": { + "description": "Resource 'ElasticBackup' create operation succeeded", + "schema": { + "$ref": "#/definitions/ElasticBackup" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ElasticBackups_CreateOrUpdate": { + "$ref": "./examples/ElasticBackups_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/ElasticBackup" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "ElasticBackups_Update", + "tags": [ + "ElasticBackups" + ], + "description": "Patch an elastic Backup under the Elastic Backup Vault", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the ElasticAccount", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "backupVaultName", + "in": "path", + "description": "The name of the ElasticBackupVault", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "backupName", + "in": "path", + "description": "The name of the ElasticBackup", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 256, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "body", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/ElasticBackupUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ElasticBackup" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ElasticBackups_Update": { + "$ref": "./examples/ElasticBackups_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/ElasticBackup" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "ElasticBackups_Delete", + "tags": [ + "ElasticBackups" + ], + "description": "Delete a ElasticBackup", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the ElasticAccount", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "backupVaultName", + "in": "path", + "description": "The name of the ElasticBackupVault", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "backupName", + "in": "path", + "description": "The name of the ElasticBackup", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 256, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ElasticBackups_Delete": { + "$ref": "./examples/ElasticBackups_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/elasticAccounts/{accountName}/elasticCapacityPools": { + "get": { + "operationId": "ElasticCapacityPools_ListByElasticAccount", + "tags": [ + "ElasticCapacityPools" + ], + "description": "List and describe all NetApp Elastic Capacity Pools in the Elastic NetApp Account.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the ElasticAccount", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ElasticCapacityPoolListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ElasticCapacityPools_ListByElasticAccount": { + "$ref": "./examples/ElasticCapacityPools_ListByElasticAccount.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/elasticAccounts/{accountName}/elasticCapacityPools/{poolName}": { + "get": { + "operationId": "ElasticCapacityPools_Get", + "tags": [ + "ElasticCapacityPools" + ], + "description": "Get the NetApp Elastic Capacity Pool", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the ElasticAccount", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the ElasticCapacityPool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ElasticCapacityPool" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ElasticCapacityPools_Get": { + "$ref": "./examples/ElasticCapacityPools_Get.json" + } + } + }, + "put": { + "operationId": "ElasticCapacityPools_CreateOrUpdate", + "tags": [ + "ElasticCapacityPools" + ], + "description": "Create or update the specified NetApp Elastic Capacity Pool within the resource group and NetApp Elastic Account", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the ElasticAccount", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the ElasticCapacityPool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "body", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/ElasticCapacityPool" + } + } + ], + "responses": { + "200": { + "description": "Resource 'ElasticCapacityPool' update operation succeeded", + "schema": { + "$ref": "#/definitions/ElasticCapacityPool" + } + }, + "201": { + "description": "Resource 'ElasticCapacityPool' create operation succeeded", + "schema": { + "$ref": "#/definitions/ElasticCapacityPool" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ElasticCapacityPools_CreateOrUpdate": { + "$ref": "./examples/ElasticCapacityPools_CreateOrUpdate.json" + }, + "ElasticCapacityPools_CreateOrUpdateCMK": { + "$ref": "./examples/ElasticCapacityPools_CreateOrUpdateCMK.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/ElasticCapacityPool" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "ElasticCapacityPools_Update", + "tags": [ + "ElasticCapacityPools" + ], + "description": "Patch the specified NetApp Elastic Capacity Pool", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the ElasticAccount", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the ElasticCapacityPool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "body", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/ElasticCapacityPoolUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ElasticCapacityPool" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ElasticCapacityPools_Update": { + "$ref": "./examples/ElasticCapacityPools_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/ElasticCapacityPool" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "ElasticCapacityPools_Delete", + "tags": [ + "ElasticCapacityPools" + ], + "description": "Delete the specified NetApp Elastic Capacity Pool", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the ElasticAccount", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the ElasticCapacityPool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ElasticCapacityPools_Delete": { + "$ref": "./examples/ElasticCapacityPools_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/elasticAccounts/{accountName}/elasticCapacityPools/{poolName}/changeZone": { + "post": { + "operationId": "ElasticCapacityPools_ChangeZone", + "tags": [ + "ElasticCapacityPools" + ], + "description": "Moves pool to another zone", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the ElasticAccount", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the ElasticCapacityPool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "body", + "in": "body", + "description": "The content of the action request", + "required": true, + "schema": { + "$ref": "#/definitions/ChangeZoneRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ElasticCapacityPool" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ElasticCapacityPools_ChangeZone": { + "$ref": "./examples/ElasticCapacityPools_ChangeZone.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/ElasticCapacityPool" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/elasticAccounts/{accountName}/elasticCapacityPools/{poolName}/checkVolumeFilePathAvailability": { + "post": { + "operationId": "ElasticCapacityPools_CheckVolumeFilePathAvailability", + "tags": [ + "ElasticCapacityPools" + ], + "description": "Check if an Elastic Volume file path is available within the given Elastic Capacity Pool.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the ElasticAccount", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the ElasticCapacityPool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "body", + "in": "body", + "description": "The content of the action request", + "required": true, + "schema": { + "$ref": "#/definitions/CheckElasticVolumeFilePathAvailabilityRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CheckElasticResourceAvailabilityResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ElasticCapacityPools_CheckVolumeFilePathAvailability": { + "$ref": "./examples/ElasticCapacityPools_CheckVolumeFilePathAvailability.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/elasticAccounts/{accountName}/elasticCapacityPools/{poolName}/elasticVolumes": { + "get": { + "operationId": "ElasticVolumes_ListByElasticPool", + "tags": [ + "ElasticVolumes" + ], + "description": "List all Elastic Volumes within the Elastic Capacity Pool", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the ElasticAccount", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the ElasticCapacityPool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ElasticVolumeListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ElasticVolumes_ListByElasticPool": { + "$ref": "./examples/ElasticVolumes_ListByElasticPool.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/elasticAccounts/{accountName}/elasticCapacityPools/{poolName}/elasticVolumes/{volumeName}": { + "get": { + "operationId": "ElasticVolumes_Get", + "tags": [ + "ElasticVolumes" + ], + "description": "Get the details of the specified volume", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the ElasticAccount", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the ElasticCapacityPool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the ElasticVolume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ElasticVolume" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ElasticVolumes_Get": { + "$ref": "./examples/ElasticVolumes_Get.json" + } + } + }, + "put": { + "operationId": "ElasticVolumes_CreateOrUpdate", + "tags": [ + "ElasticVolumes" + ], + "description": "Create or update the specified volume within the capacity pool", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the ElasticAccount", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the ElasticCapacityPool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the ElasticVolume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "body", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/ElasticVolume" + } + } + ], + "responses": { + "200": { + "description": "Resource 'ElasticVolume' update operation succeeded", + "schema": { + "$ref": "#/definitions/ElasticVolume" + } + }, + "201": { + "description": "Resource 'ElasticVolume' create operation succeeded", + "schema": { + "$ref": "#/definitions/ElasticVolume" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ElasticVolumes_CreateOrUpdate": { + "$ref": "./examples/ElasticVolumes_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/ElasticVolume" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "ElasticVolumes_Update", + "tags": [ + "ElasticVolumes" + ], + "description": "Patch the specified elastic volume", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the ElasticAccount", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the ElasticCapacityPool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the ElasticVolume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "body", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/ElasticVolumeUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ElasticVolume" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ElasticVolumes_Update": { + "$ref": "./examples/ElasticVolumes_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/ElasticVolume" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "ElasticVolumes_Delete", + "tags": [ + "ElasticVolumes" + ], + "description": "Delete the specified Elastic Volume", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the ElasticAccount", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the ElasticCapacityPool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the ElasticVolume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ElasticVolumes_Delete": { + "$ref": "./examples/ElasticVolumes_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/elasticAccounts/{accountName}/elasticCapacityPools/{poolName}/elasticVolumes/{volumeName}/elasticSnapshots": { + "get": { + "operationId": "ElasticSnapshots_ListByElasticVolume", + "tags": [ + "ElasticSnapshots" + ], + "description": "List ElasticSnapshot resources by ElasticVolume", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the ElasticAccount", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the ElasticCapacityPool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the ElasticVolume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ElasticSnapshotListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ElasticSnapshots_ListByElasticVolume": { + "$ref": "./examples/ElasticSnapshots_ListByElasticVolume.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/elasticAccounts/{accountName}/elasticCapacityPools/{poolName}/elasticVolumes/{volumeName}/elasticSnapshots/{snapshotName}": { + "get": { + "operationId": "ElasticSnapshots_Get", + "tags": [ + "ElasticSnapshots" + ], + "description": "Get a ElasticSnapshot", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the ElasticAccount", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the ElasticCapacityPool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the ElasticVolume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "snapshotName", + "in": "path", + "description": "The name of the ElasticSnapshot", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ElasticSnapshot" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ElasticSnapshots_Get": { + "$ref": "./examples/ElasticSnapshots_Get.json" + } + } + }, + "put": { + "operationId": "ElasticSnapshots_CreateOrUpdate", + "tags": [ + "ElasticSnapshots" + ], + "description": "Create a ElasticSnapshot", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the ElasticAccount", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the ElasticCapacityPool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the ElasticVolume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "snapshotName", + "in": "path", + "description": "The name of the ElasticSnapshot", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "body", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/ElasticSnapshot" + } + } + ], + "responses": { + "200": { + "description": "Resource 'ElasticSnapshot' update operation succeeded", + "schema": { + "$ref": "#/definitions/ElasticSnapshot" + } + }, + "201": { + "description": "Resource 'ElasticSnapshot' create operation succeeded", + "schema": { + "$ref": "#/definitions/ElasticSnapshot" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ElasticSnapshots_CreateOrUpdate": { + "$ref": "./examples/ElasticSnapshots_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/ElasticSnapshot" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "ElasticSnapshots_Delete", + "tags": [ + "ElasticSnapshots" + ], + "description": "Delete a ElasticSnapshot", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the ElasticAccount", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the ElasticCapacityPool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the ElasticVolume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "snapshotName", + "in": "path", + "description": "The name of the ElasticSnapshot", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ElasticSnapshots_Delete": { + "$ref": "./examples/ElasticSnapshots_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/elasticAccounts/{accountName}/elasticCapacityPools/{poolName}/elasticVolumes/{volumeName}/revert": { + "post": { + "operationId": "ElasticVolumes_Revert", + "tags": [ + "ElasticVolumes" + ], + "description": "Revert an Elastic Volume to the snapshot specified in the body", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the ElasticAccount", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the ElasticCapacityPool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the ElasticVolume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "body", + "in": "body", + "description": "The content of the action request", + "required": true, + "schema": { + "$ref": "#/definitions/ElasticVolumeRevert" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ElasticVolume" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ElasticVolumes_Revert": { + "$ref": "./examples/ElasticVolumes_Revert.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/ElasticVolume" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/elasticAccounts/{accountName}/elasticSnapshotPolicies": { + "get": { + "operationId": "ElasticSnapshotPolicies_ListByElasticAccount", + "tags": [ + "ElasticSnapshotPolicies" + ], + "description": "List ElasticSnapshotPolicy resources by ElasticAccount", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the ElasticAccount", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ElasticSnapshotPolicyListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ElasticSnapshotPolicies_ListByElasticAccount": { + "$ref": "./examples/ElasticSnapshotPolicies_ListByElasticAccount.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/elasticAccounts/{accountName}/elasticSnapshotPolicies/{snapshotPolicyName}": { + "get": { + "operationId": "ElasticSnapshotPolicies_Get", + "tags": [ + "ElasticSnapshotPolicies" + ], + "description": "Get a ElasticSnapshotPolicy", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the ElasticAccount", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "snapshotPolicyName", + "in": "path", + "description": "The name of the ElasticSnapshotPolicy", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ElasticSnapshotPolicy" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ElasticSnapshotPolicies_Get": { + "$ref": "./examples/ElasticSnapshotPolicies_Get.json" + } + } + }, + "put": { + "operationId": "ElasticSnapshotPolicies_CreateOrUpdate", + "tags": [ + "ElasticSnapshotPolicies" + ], + "description": "Create a ElasticSnapshotPolicy", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the ElasticAccount", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "snapshotPolicyName", + "in": "path", + "description": "The name of the ElasticSnapshotPolicy", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "body", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/ElasticSnapshotPolicy" + } + } + ], + "responses": { + "200": { + "description": "Resource 'ElasticSnapshotPolicy' update operation succeeded", + "schema": { + "$ref": "#/definitions/ElasticSnapshotPolicy" + } + }, + "201": { + "description": "Resource 'ElasticSnapshotPolicy' create operation succeeded", + "schema": { + "$ref": "#/definitions/ElasticSnapshotPolicy" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ElasticSnapshotPolicies_CreateOrUpdate": { + "$ref": "./examples/ElasticSnapshotPolicies_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/ElasticSnapshotPolicy" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "ElasticSnapshotPolicies_Update", + "tags": [ + "ElasticSnapshotPolicies" + ], + "description": "Update a ElasticSnapshotPolicy", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the ElasticAccount", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "snapshotPolicyName", + "in": "path", + "description": "The name of the ElasticSnapshotPolicy", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "body", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/ElasticSnapshotPolicyUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ElasticSnapshotPolicy" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ElasticSnapshotPolicies_Update": { + "$ref": "./examples/ElasticSnapshotPolicies_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/ElasticSnapshotPolicy" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "ElasticSnapshotPolicies_Delete", + "tags": [ + "ElasticSnapshotPolicies" + ], + "description": "Delete a ElasticSnapshotPolicy", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the ElasticAccount", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "snapshotPolicyName", + "in": "path", + "description": "The name of the ElasticSnapshotPolicy", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ElasticSnapshotPolicies_Delete": { + "$ref": "./examples/ElasticSnapshotPolicies_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/elasticAccounts/{accountName}/elasticSnapshotPolicies/{snapshotPolicyName}/elasticvolumes": { + "get": { + "operationId": "ElasticSnapshotPolicies_ListElasticVolumes", + "tags": [ + "ElasticSnapshotPolicies" + ], + "description": "Get elastic volumes associated with Elastic Snapshot Policy", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the ElasticAccount", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "snapshotPolicyName", + "in": "path", + "description": "The name of the ElasticSnapshotPolicy", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ElasticSnapshotPolicyVolumeList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ElasticSnapshotPolicies_ListElasticVolumes": { + "$ref": "./examples/ElasticSnapshotPolicies_ListElasticVolumes.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts": { + "get": { + "operationId": "Accounts_List", + "tags": [ + "NetAppAccounts" + ], + "description": "List and describe all NetApp accounts in the resource group.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetAppAccountList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Accounts_List": { + "$ref": "./examples/Accounts_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}": { + "get": { + "operationId": "Accounts_Get", + "tags": [ + "NetAppAccounts" + ], + "description": "Get the NetApp account", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetAppAccount" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Accounts_Get": { + "$ref": "./examples/Accounts_Get.json" + } + } + }, + "put": { + "operationId": "Accounts_CreateOrUpdate", + "tags": [ + "NetAppAccounts" + ], + "description": "Create or update the specified NetApp account within the resource group", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "body", + "in": "body", + "description": "NetApp Account object supplied in the body of the operation.", + "required": true, + "schema": { + "$ref": "#/definitions/NetAppAccount" + } + } + ], + "responses": { + "200": { + "description": "Resource 'NetAppAccount' update operation succeeded", + "schema": { + "$ref": "#/definitions/NetAppAccount" + } + }, + "201": { + "description": "Resource 'NetAppAccount' create operation succeeded", + "schema": { + "$ref": "#/definitions/NetAppAccount" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Accounts_CreateOrUpdate": { + "$ref": "./examples/Accounts_CreateOrUpdate.json" + }, + "Accounts_CreateOrUpdateWithActiveDirectory": { + "$ref": "./examples/Accounts_CreateOrUpdateAD.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/NetAppAccount" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Accounts_Update", + "tags": [ + "NetAppAccounts" + ], + "description": "Patch the specified NetApp account", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "body", + "in": "body", + "description": "NetApp Account object supplied in the body of the operation.", + "required": true, + "schema": { + "$ref": "#/definitions/NetAppAccountPatch" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetAppAccount" + } + }, + "202": { + "description": "The request has been accepted for processing, but processing has not yet completed.", + "schema": { + "$ref": "#/definitions/NetAppAccount" + }, + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Accounts_Update": { + "$ref": "./examples/Accounts_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/NetAppAccount" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Accounts_Delete", + "tags": [ + "NetAppAccounts" + ], + "description": "Delete the specified NetApp account", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Accounts_Delete": { + "$ref": "./examples/Accounts_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupPolicies": { + "get": { + "operationId": "BackupPolicies_List", + "tags": [ + "BackupPolicies" + ], + "description": "List backup policies for Netapp Account", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/BackupPoliciesList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "BackupPolicies_List": { + "$ref": "./examples/BackupPolicies_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupPolicies/{backupPolicyName}": { + "get": { + "operationId": "BackupPolicies_Get", + "tags": [ + "BackupPolicies" + ], + "description": "Get a particular backup Policy", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "backupPolicyName", + "in": "path", + "description": "Backup policy Name which uniquely identify backup policy.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/BackupPolicy" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Backups_Get": { + "$ref": "./examples/BackupPolicies_Get.json" + } + } + }, + "put": { + "operationId": "BackupPolicies_Create", + "tags": [ + "BackupPolicies" + ], + "description": "Create a backup policy for Netapp Account", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "backupPolicyName", + "in": "path", + "description": "Backup policy Name which uniquely identify backup policy.", + "required": true, + "type": "string" + }, + { + "name": "body", + "in": "body", + "description": "Backup policy object supplied in the body of the operation.", + "required": true, + "schema": { + "$ref": "#/definitions/BackupPolicy" + } + } + ], + "responses": { + "200": { + "description": "Resource 'BackupPolicy' update operation succeeded", + "schema": { + "$ref": "#/definitions/BackupPolicy" + } + }, + "201": { + "description": "Resource 'BackupPolicy' create operation succeeded", + "schema": { + "$ref": "#/definitions/BackupPolicy" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "BackupPolicies_Create": { + "$ref": "./examples/BackupPolicies_Create.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/BackupPolicy" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "BackupPolicies_Update", + "tags": [ + "BackupPolicies" + ], + "description": "Patch a backup policy for Netapp Account", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "backupPolicyName", + "in": "path", + "description": "Backup policy Name which uniquely identify backup policy.", + "required": true, + "type": "string" + }, + { + "name": "body", + "in": "body", + "description": "Backup policy object supplied in the body of the operation.", + "required": true, + "schema": { + "$ref": "#/definitions/BackupPolicyPatch" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/BackupPolicy" + } + }, + "202": { + "description": "The request has been accepted for processing, but processing has not yet completed.", + "schema": { + "$ref": "#/definitions/BackupPolicy" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "BackupPolicies_Update": { + "$ref": "./examples/BackupPolicies_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/BackupPolicy" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "BackupPolicies_Delete", + "tags": [ + "BackupPolicies" + ], + "description": "Delete backup policy", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "backupPolicyName", + "in": "path", + "description": "Backup policy Name which uniquely identify backup policy.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "BackupPolicies_Delete": { + "$ref": "./examples/BackupPolicies_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupVaults": { + "get": { + "operationId": "BackupVaults_ListByNetAppAccount", + "tags": [ + "BackupVaults" + ], + "description": "List and describe all Backup Vaults in the NetApp account.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/BackupVaultsList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "BackupVaults_List": { + "$ref": "./examples/BackupVaults_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupVaults/{backupVaultName}": { + "get": { + "operationId": "BackupVaults_Get", + "tags": [ + "BackupVaults" + ], + "description": "Get the Backup Vault", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "backupVaultName", + "in": "path", + "description": "The name of the Backup Vault", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/BackupVault" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "BackupVaults_Get": { + "$ref": "./examples/BackupVaults_Get.json" + } + } + }, + "put": { + "operationId": "BackupVaults_CreateOrUpdate", + "tags": [ + "BackupVaults" + ], + "description": "Create or update the specified Backup Vault in the NetApp account", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "backupVaultName", + "in": "path", + "description": "The name of the Backup Vault", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "body", + "in": "body", + "description": "BackupVault object supplied in the body of the operation.", + "required": true, + "schema": { + "$ref": "#/definitions/BackupVault" + } + } + ], + "responses": { + "200": { + "description": "Resource 'BackupVault' update operation succeeded", + "schema": { + "$ref": "#/definitions/BackupVault" + } + }, + "201": { + "description": "Resource 'BackupVault' create operation succeeded", + "schema": { + "$ref": "#/definitions/BackupVault" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "BackupVault_CreateOrUpdate": { + "$ref": "./examples/BackupVaults_Create.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/BackupVault" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "BackupVaults_Update", + "tags": [ + "BackupVaults" + ], + "description": "Patch the specified NetApp Backup Vault", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "backupVaultName", + "in": "path", + "description": "The name of the Backup Vault", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "body", + "in": "body", + "description": "Backup Vault object supplied in the body of the operation.", + "required": true, + "schema": { + "$ref": "#/definitions/BackupVaultPatch" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/BackupVault" + } + }, + "202": { + "description": "The request has been accepted for processing, but processing has not yet completed.", + "schema": { + "$ref": "#/definitions/BackupVault" + }, + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "BackupVaults_Update": { + "$ref": "./examples/BackupVaults_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/BackupVault" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "BackupVaults_Delete", + "tags": [ + "BackupVaults" + ], + "description": "Delete the specified Backup Vault", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "backupVaultName", + "in": "path", + "description": "The name of the Backup Vault", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "BackupVaults_Delete": { + "$ref": "./examples/BackupVaults_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupVaults/{backupVaultName}/backups": { + "get": { + "operationId": "Backups_ListByVault", + "tags": [ + "Backups" + ], + "description": "List all backups Under a Backup Vault", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "backupVaultName", + "in": "path", + "description": "The name of the Backup Vault", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "$filter", + "in": "query", + "description": "An option to specify the VolumeResourceId. If present, then only returns the backups under the specified volume", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/BackupsList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Backups_ListByVault": { + "$ref": "./examples/Backups_ListByVault.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupVaults/{backupVaultName}/backups/{backupName}": { + "get": { + "operationId": "Backups_Get", + "tags": [ + "Backups" + ], + "description": "Get the specified Backup under Backup Vault.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "backupVaultName", + "in": "path", + "description": "The name of the Backup Vault", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "backupName", + "in": "path", + "description": "The name of the backup", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_.]{0,255}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Backup" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "BackupsUnderBackupVault_Get": { + "$ref": "./examples/BackupsUnderBackupVault_Get.json" + } + } + }, + "put": { + "operationId": "Backups_Create", + "tags": [ + "Backups" + ], + "description": "Create a backup under the Backup Vault", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "backupVaultName", + "in": "path", + "description": "The name of the Backup Vault", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "backupName", + "in": "path", + "description": "The name of the backup", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_.]{0,255}$" + }, + { + "name": "body", + "in": "body", + "description": "Backup object supplied in the body of the operation.", + "required": true, + "schema": { + "$ref": "#/definitions/Backup" + } + } + ], + "responses": { + "200": { + "description": "Resource 'Backup' update operation succeeded", + "schema": { + "$ref": "#/definitions/Backup" + } + }, + "201": { + "description": "Resource 'Backup' create operation succeeded", + "schema": { + "$ref": "#/definitions/Backup" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "BackupsUnderBackupVault_Create": { + "$ref": "./examples/BackupsUnderBackupVault_Create.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/Backup" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Backups_Update", + "tags": [ + "Backups" + ], + "description": "Patch a Backup under the Backup Vault", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "backupVaultName", + "in": "path", + "description": "The name of the Backup Vault", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "backupName", + "in": "path", + "description": "The name of the backup", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_.]{0,255}$" + }, + { + "name": "body", + "in": "body", + "description": "Backup object supplied in the body of the operation.", + "required": false, + "schema": { + "$ref": "#/definitions/BackupPatch" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Backup" + } + }, + "202": { + "description": "The request has been accepted for processing, but processing has not yet completed.", + "schema": { + "$ref": "#/definitions/Backup" + }, + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "BackupsUnderBackupVault_Update": { + "$ref": "./examples/BackupsUnderBackupVault_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/Backup" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Backups_Delete", + "tags": [ + "Backups" + ], + "description": "Delete a Backup under the Backup Vault", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "backupVaultName", + "in": "path", + "description": "The name of the Backup Vault", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "backupName", + "in": "path", + "description": "The name of the backup", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_.]{0,255}$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "BackupsUnderBackupVault_Delete": { + "$ref": "./examples/BackupsUnderBackupVault_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupVaults/{backupVaultName}/backups/{backupName}/restoreFiles": { + "post": { + "operationId": "BackupsUnderBackupVault_RestoreFiles", + "tags": [ + "Backups" + ], + "description": "Restore the specified files from the specified backup to the active filesystem", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "backupVaultName", + "in": "path", + "description": "The name of the Backup Vault", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "backupName", + "in": "path", + "description": "The name of the backup", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_.]{0,255}$" + }, + { + "name": "body", + "in": "body", + "description": "Restore payload supplied in the body of the operation.", + "required": true, + "schema": { + "$ref": "#/definitions/BackupRestoreFiles" + } + } + ], + "responses": { + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Backups_SingleFileRestore": { + "$ref": "./examples/BackupsUnderBackupVault_SingleFileRestore.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools": { + "get": { + "operationId": "Pools_List", + "tags": [ + "CapacityPools" + ], + "description": "List all capacity pools in the NetApp Account", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CapacityPoolList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Pools_List": { + "$ref": "./examples/Pools_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}": { + "get": { + "operationId": "Pools_Get", + "tags": [ + "CapacityPools" + ], + "description": "Get details of the specified capacity pool", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CapacityPool" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Pools_Get": { + "$ref": "./examples/Pools_Get.json" + }, + "Pools_Get_CustomThroughput": { + "$ref": "./examples/Pools_Get_CustomThroughput.json" + } + } + }, + "put": { + "operationId": "Pools_CreateOrUpdate", + "tags": [ + "CapacityPools" + ], + "description": "Create or Update a capacity pool", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "body", + "in": "body", + "description": "Capacity pool object supplied in the body of the operation.", + "required": true, + "schema": { + "$ref": "#/definitions/CapacityPool" + } + } + ], + "responses": { + "200": { + "description": "Resource 'CapacityPool' update operation succeeded", + "schema": { + "$ref": "#/definitions/CapacityPool" + } + }, + "201": { + "description": "Resource 'CapacityPool' create operation succeeded", + "schema": { + "$ref": "#/definitions/CapacityPool" + }, + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Pools_CreateOrUpdate": { + "$ref": "./examples/Pools_CreateOrUpdate.json" + }, + "Pools_CreateOrUpdate_CustomThroughput": { + "$ref": "./examples/Pools_CreateOrUpdate_CustomThroughput.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/CapacityPool" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Pools_Update", + "tags": [ + "CapacityPools" + ], + "description": "Patch the specified capacity pool", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "body", + "in": "body", + "description": "Capacity pool object supplied in the body of the operation.", + "required": true, + "schema": { + "$ref": "#/definitions/CapacityPoolPatch" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CapacityPool" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Pools_Update": { + "$ref": "./examples/Pools_Update.json" + }, + "Pools_Update_CustomThroughput": { + "$ref": "./examples/Pools_Update_CustomThroughput.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/CapacityPool" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Pools_Delete", + "tags": [ + "CapacityPools" + ], + "description": "Delete the specified capacity pool", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Pools_Delete": { + "$ref": "./examples/Pools_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/caches": { + "get": { + "operationId": "Caches_ListByCapacityPools", + "tags": [ + "Caches" + ], + "description": "List all Caches within the Capacity Pool", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CacheList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Caches_List": { + "$ref": "./examples/Caches_ListByCapacityPools.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/caches/{cacheName}": { + "get": { + "operationId": "Caches_Get", + "tags": [ + "Caches" + ], + "description": "Get the details of the specified Cache", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "cacheName", + "in": "path", + "description": "The name of the cache resource.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Cache" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Caches_Get": { + "$ref": "./examples/Caches_Get.json" + } + } + }, + "put": { + "operationId": "Caches_CreateOrUpdate", + "tags": [ + "Caches" + ], + "description": "Create or update the specified Cache within the Capacity Pool", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "cacheName", + "in": "path", + "description": "The name of the cache resource.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "body", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/Cache" + } + } + ], + "responses": { + "200": { + "description": "Resource 'Cache' update operation succeeded", + "schema": { + "$ref": "#/definitions/Cache" + } + }, + "201": { + "description": "Resource 'Cache' create operation succeeded", + "schema": { + "$ref": "#/definitions/Cache" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Caches_CreateOrUpdate": { + "$ref": "./examples/Caches_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/Cache" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Caches_Update", + "tags": [ + "Caches" + ], + "description": "Patch the specified Cache", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "cacheName", + "in": "path", + "description": "The name of the cache resource.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "body", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/CacheUpdate" + } + } + ], + "responses": { + "200": { + "description": "Resource 'Cache' update operation succeeded", + "schema": { + "$ref": "#/definitions/Cache" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Caches_Update": { + "$ref": "./examples/Caches_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Caches_Delete", + "tags": [ + "Caches" + ], + "description": "Delete the specified cache", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "cacheName", + "in": "path", + "description": "The name of the cache resource.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Caches_Delete": { + "$ref": "./examples/Caches_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/caches/{cacheName}/listPeeringPassphrases": { + "post": { + "operationId": "Caches_ListPeeringPassphrases", + "tags": [ + "Caches" + ], + "description": "This operation will list the cluster peering command, cluster peering passphrase and the vserver peering command", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "cacheName", + "in": "path", + "description": "The name of the cache resource.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/PeeringPassphrases" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Caches_ListPeeringPassphrases": { + "$ref": "./examples/Caches_ListPeeringPassphrases.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/caches/{cacheName}/poolChange": { + "post": { + "operationId": "Caches_PoolChange", + "tags": [ + "Caches" + ], + "description": "Moves Cache to another Capacity Pool", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "cacheName", + "in": "path", + "description": "The name of the cache resource.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "body", + "in": "body", + "description": "Move cache to the pool supplied in the body of the operation.", + "required": true, + "schema": { + "$ref": "#/definitions/PoolChangeRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Cache" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Caches_PoolChange": { + "$ref": "./examples/Caches_PoolChange.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes": { + "get": { + "operationId": "Volumes_List", + "tags": [ + "Volumes" + ], + "description": "List all volumes within the capacity pool", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/VolumeList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Volumes_ExtralargeVolumeList": { + "$ref": "./examples/Volumes_ExtraLargeVolumes_List.json" + }, + "Volumes_List": { + "$ref": "./examples/Volumes_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}": { + "get": { + "operationId": "Volumes_Get", + "tags": [ + "Volumes" + ], + "description": "Get the details of the specified volume", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the volume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Volume" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Volumes_ExtralargeVolumeGet": { + "$ref": "./examples/Volumes_ExtraLargeVolumes_Get.json" + }, + "Volumes_Get": { + "$ref": "./examples/Volumes_Get.json" + } + } + }, + "put": { + "operationId": "Volumes_CreateOrUpdate", + "tags": [ + "Volumes" + ], + "description": "Create or update the specified volume within the capacity pool", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the volume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "body", + "in": "body", + "description": "Volume object supplied in the body of the operation.", + "required": true, + "schema": { + "$ref": "#/definitions/Volume" + } + } + ], + "responses": { + "200": { + "description": "Resource 'Volume' update operation succeeded", + "schema": { + "$ref": "#/definitions/Volume" + } + }, + "201": { + "description": "Resource 'Volume' create operation succeeded", + "schema": { + "$ref": "#/definitions/Volume" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Volumes_CreateOrUpdate": { + "$ref": "./examples/Volumes_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/Volume" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Volumes_Update", + "tags": [ + "Volumes" + ], + "description": "Patch the specified volume", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the volume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "body", + "in": "body", + "description": "Volume object supplied in the body of the operation.", + "required": true, + "schema": { + "$ref": "#/definitions/VolumePatch" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Volume" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Volumes_Update": { + "$ref": "./examples/Volumes_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/Volume" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Volumes_Delete", + "tags": [ + "Volumes" + ], + "description": "Delete the specified volume", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the volume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "forceDelete", + "in": "query", + "description": "An option to force delete the volume. Will cleanup resources connected to the particular volume", + "required": false, + "type": "boolean" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Volumes_Delete": { + "$ref": "./examples/Volumes_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/authorizeExternalReplication": { + "post": { + "operationId": "Volumes_AuthorizeExternalReplication", + "tags": [ + "Volumes" + ], + "description": "Starts SVM peering and returns a command to be run on the external ONTAP to accept it. Once the SVM have been peered a SnapMirror will be created", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the volume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SvmPeerCommandResponse" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Volumes_AuthorizeExternalReplication": { + "$ref": "./examples/Volumes_AuthorizeExternalReplication.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/SvmPeerCommandResponse" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/authorizeReplication": { + "post": { + "operationId": "Volumes_AuthorizeReplication", + "tags": [ + "Volumes" + ], + "description": "Authorize the replication connection on the source volume", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the volume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "body", + "in": "body", + "description": "Authorize request object supplied in the body of the operation.", + "required": true, + "schema": { + "$ref": "#/definitions/AuthorizeRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully." + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Volumes_AuthorizeReplication": { + "$ref": "./examples/Volumes_AuthorizeReplication.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/breakFileLocks": { + "post": { + "operationId": "Volumes_BreakFileLocks", + "tags": [ + "Volumes" + ], + "description": "Break all the file locks on a volume", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the volume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "body", + "in": "body", + "description": "Optional body to provide the ability to clear file locks with selected options", + "required": false, + "schema": { + "$ref": "#/definitions/BreakFileLocksRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully." + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Volumes_BreakFileLocks": { + "$ref": "./examples/Volumes_BreakFileLocks.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/breakReplication": { + "post": { + "operationId": "Volumes_BreakReplication", + "tags": [ + "Volumes" + ], + "description": "Break the replication connection on the destination volume", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the volume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "body", + "in": "body", + "description": "Optional body to force break the replication.", + "required": false, + "schema": { + "$ref": "#/definitions/BreakReplicationRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully." + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Volumes_BreakReplication": { + "$ref": "./examples/Volumes_BreakReplication.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/buckets": { + "get": { + "operationId": "Buckets_List", + "tags": [ + "Buckets" + ], + "description": "Describes all buckets belonging to a volume. Buckets allow additional services, such as AI services, connect to the volume data contained in those buckets.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the volume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/BucketList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Buckets_List": { + "$ref": "./examples/Buckets_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/buckets/{bucketName}": { + "get": { + "operationId": "Buckets_Get", + "tags": [ + "Buckets" + ], + "description": "Get the details of the specified volume's bucket. A bucket allows additional services, such as AI services, connect to the volume data contained in those buckets.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the volume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "bucketName", + "in": "path", + "description": "The name of the bucket", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^([a-z]|(\\d(?!\\d{0,2}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3})))([a-z\\d]|(\\.(?!(\\.|-)))|(-(?!\\.))){1,61}[a-z\\d]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Bucket" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Buckets_Get": { + "$ref": "./examples/Buckets_Get.json" + } + } + }, + "put": { + "operationId": "Buckets_CreateOrUpdate", + "tags": [ + "Buckets" + ], + "description": "Creates or updates a bucket for a volume. A bucket allows additional services, such as AI services, connect to the volume data contained in those buckets.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the volume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "bucketName", + "in": "path", + "description": "The name of the bucket", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^([a-z]|(\\d(?!\\d{0,2}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3})))([a-z\\d]|(\\.(?!(\\.|-)))|(-(?!\\.))){1,61}[a-z\\d]$" + }, + { + "name": "body", + "in": "body", + "description": "The bucket details including user details, and the volume path that should be mounted inside the bucket.", + "required": true, + "schema": { + "$ref": "#/definitions/Bucket" + } + } + ], + "responses": { + "200": { + "description": "Resource 'Bucket' update operation succeeded", + "schema": { + "$ref": "#/definitions/Bucket" + } + }, + "201": { + "description": "Resource 'Bucket' create operation succeeded", + "schema": { + "$ref": "#/definitions/Bucket" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Buckets_CreateOrUpdate": { + "$ref": "./examples/Buckets_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/Bucket" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Buckets_Update", + "tags": [ + "Buckets" + ], + "description": "Updates the details of a volume bucket.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the volume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "bucketName", + "in": "path", + "description": "The name of the bucket", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^([a-z]|(\\d(?!\\d{0,2}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3})))([a-z\\d]|(\\.(?!(\\.|-)))|(-(?!\\.))){1,61}[a-z\\d]$" + }, + { + "name": "body", + "in": "body", + "description": "The bucket details including user details, and the volume path that should be mounted inside the bucket.", + "required": true, + "schema": { + "$ref": "#/definitions/BucketPatch" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Bucket" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "format": "uri", + "description": "A link to the status monitor" + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Buckets_Update": { + "$ref": "./examples/Buckets_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/Bucket" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Buckets_Delete", + "tags": [ + "Buckets" + ], + "description": "Delete a volume's bucket.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the volume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "bucketName", + "in": "path", + "description": "The name of the bucket", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^([a-z]|(\\d(?!\\d{0,2}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3})))([a-z\\d]|(\\.(?!(\\.|-)))|(-(?!\\.))){1,61}[a-z\\d]$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "format": "uri", + "description": "A link to the status monitor" + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Buckets_Delete": { + "$ref": "./examples/Buckets_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/buckets/{bucketName}/generateCredentials": { + "post": { + "operationId": "Buckets_GenerateCredentials", + "tags": [ + "Buckets" + ], + "description": "Generate the access key and secret key used for accessing the specified volume bucket. Also return expiry date and time of key pair (in UTC).", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the volume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "bucketName", + "in": "path", + "description": "The name of the bucket", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^([a-z]|(\\d(?!\\d{0,2}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3})))([a-z\\d]|(\\.(?!(\\.|-)))|(-(?!\\.))){1,61}[a-z\\d]$" + }, + { + "name": "body", + "in": "body", + "description": "The bucket's Access and Secret key pair expiry time expressed as the number of days from now.", + "required": true, + "schema": { + "$ref": "#/definitions/BucketCredentialsExpiry" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/BucketGenerateCredentials" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Buckets_GenerateCredentials": { + "$ref": "./examples/Buckets_GenerateCredentials.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/deleteReplication": { + "post": { + "operationId": "Volumes_DeleteReplication", + "tags": [ + "Volumes" + ], + "description": "Delete the replication connection on the destination volume, and send release to the source replication", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the volume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully." + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Volumes_DeleteReplication": { + "$ref": "./examples/Volumes_DeleteReplication.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/finalizeExternalReplication": { + "post": { + "operationId": "Volumes_FinalizeExternalReplication", + "tags": [ + "Volumes" + ], + "description": "Finalizes the migration of an external volume by releasing the replication and breaking the external cluster peering if no other migration is active.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the volume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + } + ], + "responses": { + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Volumes_FinalizeExternalReplication": { + "$ref": "./examples/Volumes_FinalizeExternalReplication.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/finalizeRelocation": { + "post": { + "operationId": "Volumes_FinalizeRelocation", + "tags": [ + "Volumes" + ], + "description": "Finalizes the relocation of the volume and cleans up the old volume.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the volume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully." + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Volumes_FinalizeRelocation": { + "$ref": "./examples/Volumes_FinalizeRelocation.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/getGroupIdListForLdapUser": { + "post": { + "operationId": "Volumes_ListGetGroupIdListForLdapUser", + "tags": [ + "Volumes" + ], + "description": "Returns the list of group Ids for a specific LDAP User", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the volume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "body", + "in": "body", + "description": "Returns group Id list for a specific LDAP user", + "required": true, + "schema": { + "$ref": "#/definitions/GetGroupIdListForLdapUserRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/GetGroupIdListForLdapUserResponse" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "format": "uri", + "description": "A link to the status monitor" + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "GetGroupIdListForUser": { + "$ref": "./examples/GroupIdListForLDAPUser.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/GetGroupIdListForLdapUserResponse" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/latestBackupStatus/current": { + "get": { + "operationId": "Backups_GetLatestStatus", + "tags": [ + "Volumes" + ], + "description": "Get the latest status of the backup for a volume", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the volume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/BackupStatus" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Volumes_BackupStatus": { + "$ref": "./examples/Volumes_LatestBackupStatus.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/latestRestoreStatus/current": { + "get": { + "operationId": "Backups_GetVolumeLatestRestoreStatus", + "tags": [ + "Volumes" + ], + "description": "Get the latest status of the restore for a volume", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the volume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/RestoreStatus" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Volumes_RestoreStatus": { + "$ref": "./examples/Volumes_LatestRestoreStatus.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/listQuotaReport": { + "post": { + "operationId": "Volumes_ListQuotaReport", + "tags": [ + "Volumes" + ], + "description": "A long-running resource action.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the volume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ListQuotaReportResponse" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "format": "uri", + "description": "A link to the status monitor" + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ListQuotaReport": { + "$ref": "./examples/Volumes_ListQuotaReport.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/ListQuotaReportResponse" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/listReplications": { + "post": { + "operationId": "Volumes_ListReplications", + "tags": [ + "Volumes" + ], + "description": "List all replications for a specified volume", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the volume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "body", + "in": "body", + "description": "The content of the action request", + "required": false, + "schema": { + "$ref": "#/definitions/ListReplicationsRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ListReplications" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Volumes_ListReplications": { + "$ref": "./examples/Volumes_ListReplications.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/migrateBackups": { + "post": { + "operationId": "BackupsUnderVolume_MigrateBackups", + "tags": [ + "Volumes" + ], + "description": "Migrate the backups under volume to backup vault", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the volume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "body", + "in": "body", + "description": "Migrate backups under volume payload supplied in the body of the operation.", + "required": true, + "schema": { + "$ref": "#/definitions/BackupsMigrationRequest" + } + } + ], + "responses": { + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "BackupsUnderVolume_Migrate": { + "$ref": "./examples/BackupsUnderVolume_Migrate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/peerExternalCluster": { + "post": { + "operationId": "Volumes_PeerExternalCluster", + "tags": [ + "Volumes" + ], + "description": "Starts peering the external cluster for this migration volume", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the volume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "body", + "in": "body", + "description": "Cluster peer request object supplied in the body of the operation.", + "required": true, + "schema": { + "$ref": "#/definitions/PeerClusterForVolumeMigrationRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ClusterPeerCommandResponse" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Volumes_PeerExternalCluster": { + "$ref": "./examples/Volumes_PeerExternalCluster.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/ClusterPeerCommandResponse" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/performReplicationTransfer": { + "post": { + "operationId": "Volumes_PerformReplicationTransfer", + "tags": [ + "Volumes" + ], + "description": "Performs an adhoc replication transfer on a volume with volumeType Migration", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the volume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + } + ], + "responses": { + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Volumes_PerformReplicationTransfer": { + "$ref": "./examples/Volumes_PerformReplicationTransfer.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/poolChange": { + "post": { + "operationId": "Volumes_PoolChange", + "tags": [ + "Volumes" + ], + "description": "Moves volume to another pool", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the volume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "body", + "in": "body", + "description": "Move volume to the pool supplied in the body of the operation.", + "required": true, + "schema": { + "$ref": "#/definitions/PoolChangeRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully." + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Volumes_AuthorizeReplication": { + "$ref": "./examples/Volumes_PoolChange.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/populateAvailabilityZone": { + "post": { + "operationId": "Volumes_PopulateAvailabilityZone", + "tags": [ + "Volumes" + ], + "description": "This operation will populate availability zone information for a volume", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the volume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Volume" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Volumes_PopulateAvailabilityZones": { + "$ref": "./examples/Volumes_PopulateAvailabilityZones.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/Volume" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/ransomwareReports": { + "get": { + "operationId": "RansomwareReports_List", + "tags": [ + "RansomwareReports" + ], + "description": "List all ransomware reports for the volume\nReturns a list of the Advanced Ransomware Protection (ARP) reports for the volume.\nARP reports are created with a list of suspected files when it detects any combination of high data entropy, abnormal volume activity with data encryption, and unusual file extensions.\nARP creates snapshots named Anti_ransomware_backup when it detects a potential ransomware threat. You can use one of these ARP snapshots or another snapshot of your volume to restore data\"", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the volume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/RansomwareReportsList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "RansomwareReports_List": { + "$ref": "./examples/RansomwareReports_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/ransomwareReports/{ransomwareReportName}": { + "get": { + "operationId": "RansomwareReports_Get", + "tags": [ + "RansomwareReports" + ], + "description": "Get details of the specified ransomware report (ARP)\nARP reports are created with a list of suspected files when it detects any combination of high data entropy, abnormal volume activity with data encryption, and unusual file extensions.\nARP creates snapshots named Anti_ransomware_backup when it detects a potential ransomware threat. You can use one of these ARP snapshots or another snapshot of your volume to restore data.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the volume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "ransomwareReportName", + "in": "path", + "description": "The name of the ransomware report", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/RansomwareReport" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "RansomwareReports_Get": { + "$ref": "./examples/RansomwareReports_Get.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/ransomwareReports/{ransomwareReportName}/clearSuspects": { + "post": { + "operationId": "RansomwareReports_ClearSuspects", + "tags": [ + "RansomwareReports" + ], + "description": "\"Clear ransomware suspects for the given Advanced Ransomware Protection report. You should evaluate the report to determine whether the activity is acceptable (false positive) or whether an attack seems malicious.\nARP creates snapshots named Anti_ransomware_backup when it detects a potential ransomware threat. You can use one of these ARP snapshots or another snapshot of your volume to restore data\",", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the volume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "ransomwareReportName", + "in": "path", + "description": "The name of the ransomware report", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "body", + "in": "body", + "description": "Clear suspects request object supplied in the body of the operation.", + "required": true, + "schema": { + "$ref": "#/definitions/RansomwareSuspectsClearRequest" + } + } + ], + "responses": { + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "RansomwareReports_ClearSuspects": { + "$ref": "./examples/RansomwareReports_ClearSuspects.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/reestablishReplication": { + "post": { + "operationId": "Volumes_ReestablishReplication", + "tags": [ + "Volumes" + ], + "description": "Re-establish a previously deleted replication between 2 volumes that have a common ad-hoc or policy-based snapshots", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the volume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "body", + "in": "body", + "description": "body for the id of the source volume.", + "required": true, + "schema": { + "$ref": "#/definitions/ReestablishReplicationRequest" + } + } + ], + "responses": { + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Volumes_ReestablishReplication": { + "$ref": "./examples/Volumes_ReestablishReplication.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/reinitializeReplication": { + "post": { + "operationId": "Volumes_ReInitializeReplication", + "tags": [ + "Volumes" + ], + "description": "Re-Initializes the replication connection on the destination volume", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the volume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully." + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Volumes_ReInitializeReplication": { + "$ref": "./examples/Volumes_ReInitializeReplication.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/relocate": { + "post": { + "operationId": "Volumes_Relocate", + "tags": [ + "Volumes" + ], + "description": "Relocates volume to a new stamp", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the volume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "body", + "in": "body", + "description": "Relocate volume request", + "required": false, + "schema": { + "$ref": "#/definitions/RelocateVolumeRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully." + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Volumes_Relocate": { + "$ref": "./examples/Volumes_Relocate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/replicationStatus": { + "get": { + "operationId": "Volumes_ReplicationStatus", + "tags": [ + "Volumes" + ], + "description": "Get the status of the replication", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the volume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ReplicationStatus" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Volumes_ReplicationStatus": { + "$ref": "./examples/Volumes_ReplicationStatus.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/resetCifsPassword": { + "post": { + "operationId": "Volumes_ResetCifsPassword", + "tags": [ + "Volumes" + ], + "description": "Reset cifs password from volume", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the volume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + } + ], + "responses": { + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Volumes_ResetCifsPassword": { + "$ref": "./examples/Volumes_ResetCifsPassword.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/resyncReplication": { + "post": { + "operationId": "Volumes_ResyncReplication", + "tags": [ + "Volumes" + ], + "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 destination to source.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the volume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully." + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Volumes_ResyncReplication": { + "$ref": "./examples/Volumes_ResyncReplication.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/revert": { + "post": { + "operationId": "Volumes_Revert", + "tags": [ + "Volumes" + ], + "description": "Revert a volume to the snapshot specified in the body", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the volume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "body", + "in": "body", + "description": "Object for snapshot to revert supplied in the body of the operation.", + "required": true, + "schema": { + "$ref": "#/definitions/VolumeRevert" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully." + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Volumes_Revert": { + "$ref": "./examples/Volumes_Revert.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/revertRelocation": { + "post": { + "operationId": "Volumes_RevertRelocation", + "tags": [ + "Volumes" + ], + "description": "Reverts the volume relocation process, cleans up the new volume and starts using the former-existing volume.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the volume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully." + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Volumes_RevertRelocation": { + "$ref": "./examples/Volumes_RevertRelocation.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots": { + "get": { + "operationId": "Snapshots_List", + "tags": [ + "Snapshots" + ], + "description": "List all snapshots associated with the volume", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the volume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SnapshotsList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Snapshots_List": { + "$ref": "./examples/Snapshots_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots/{snapshotName}": { + "get": { + "operationId": "Snapshots_Get", + "tags": [ + "Snapshots" + ], + "description": "Get details of the specified snapshot", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the volume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "snapshotName", + "in": "path", + "description": "The name of the snapshot", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Snapshot" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Snapshots_Get": { + "$ref": "./examples/Snapshots_Get.json" + } + } + }, + "put": { + "operationId": "Snapshots_Create", + "tags": [ + "Snapshots" + ], + "description": "Create the specified snapshot within the given volume", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the volume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "snapshotName", + "in": "path", + "description": "The name of the snapshot", + "required": true, + "type": "string" + }, + { + "name": "body", + "in": "body", + "description": "Snapshot object supplied in the body of the operation.", + "required": true, + "schema": { + "$ref": "#/definitions/Snapshot" + } + } + ], + "responses": { + "201": { + "description": "Resource 'Snapshot' create operation succeeded", + "schema": { + "$ref": "#/definitions/Snapshot" + }, + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Snapshots_Create": { + "$ref": "./examples/Snapshots_Create.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/Snapshot" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Snapshots_Update", + "tags": [ + "Snapshots" + ], + "description": "Patch a snapshot", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the volume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "snapshotName", + "in": "path", + "description": "The name of the snapshot", + "required": true, + "type": "string" + }, + { + "name": "body", + "in": "body", + "description": "Snapshot object supplied in the body of the operation.", + "required": true, + "schema": { + "$ref": "#/definitions/SnapshotPatch" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Snapshot" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Snapshots_Update": { + "$ref": "./examples/Snapshots_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/Snapshot" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Snapshots_Delete", + "tags": [ + "Snapshots" + ], + "description": "Delete snapshot", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the volume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "snapshotName", + "in": "path", + "description": "The name of the snapshot", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Snapshots_Delete": { + "$ref": "./examples/Snapshots_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots/{snapshotName}/restoreFiles": { + "post": { + "operationId": "Snapshots_RestoreFiles", + "tags": [ + "Snapshots" + ], + "description": "Restore the specified files from the specified snapshot to the active filesystem", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the volume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "snapshotName", + "in": "path", + "description": "The name of the snapshot", + "required": true, + "type": "string" + }, + { + "name": "body", + "in": "body", + "description": "Restore payload supplied in the body of the operation.", + "required": true, + "schema": { + "$ref": "#/definitions/SnapshotRestoreFiles" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully." + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Snapshots_SingleFileRestore": { + "$ref": "./examples/Snapshots_SingleFileRestore.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/splitCloneFromParent": { + "post": { + "operationId": "Volumes_SplitCloneFromParent", + "tags": [ + "Volumes" + ], + "description": "Split operation to convert clone volume to an independent volume.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the volume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Volume" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Volumes_SplitClone": { + "$ref": "./examples/Volumes_SplitClone.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/Volume" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/subvolumes": { + "get": { + "operationId": "Subvolumes_ListByVolume", + "tags": [ + "SubvolumeInfos" + ], + "description": "Returns a list of the subvolumes in the volume", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the volume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SubvolumesList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Subvolumes_List": { + "$ref": "./examples/Subvolumes_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/subvolumes/{subvolumeName}": { + "get": { + "operationId": "Subvolumes_Get", + "tags": [ + "SubvolumeInfos" + ], + "description": "Returns the path associated with the subvolumeName provided", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the volume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "subvolumeName", + "in": "path", + "description": "The name of the subvolume.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SubvolumeInfo" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Subvolumes_Get": { + "$ref": "./examples/Subvolumes_Get.json" + } + } + }, + "put": { + "operationId": "Subvolumes_Create", + "tags": [ + "SubvolumeInfos" + ], + "description": "Creates a subvolume in the path or clones the subvolume mentioned in the parentPath", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the volume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "subvolumeName", + "in": "path", + "description": "The name of the subvolume.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "body", + "in": "body", + "description": "Subvolume object supplied in the body of the operation.", + "required": true, + "schema": { + "$ref": "#/definitions/SubvolumeInfo" + } + } + ], + "responses": { + "200": { + "description": "Resource 'SubvolumeInfo' update operation succeeded", + "schema": { + "$ref": "#/definitions/SubvolumeInfo" + } + }, + "201": { + "description": "Resource 'SubvolumeInfo' create operation succeeded", + "schema": { + "$ref": "#/definitions/SubvolumeInfo" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Subvolumes_Create": { + "$ref": "./examples/Subvolumes_Create.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/SubvolumeInfo" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Subvolumes_Update", + "tags": [ + "SubvolumeInfos" + ], + "description": "Patch a subvolume", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the volume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "subvolumeName", + "in": "path", + "description": "The name of the subvolume.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "body", + "in": "body", + "description": "Subvolume object supplied in the body of the operation.", + "required": true, + "schema": { + "$ref": "#/definitions/SubvolumePatchRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SubvolumeInfo" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Subvolumes_Update": { + "$ref": "./examples/Subvolumes_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/SubvolumeInfo" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Subvolumes_Delete", + "tags": [ + "SubvolumeInfos" + ], + "description": "Delete subvolume", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the volume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "subvolumeName", + "in": "path", + "description": "The name of the subvolume.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Subvolumes_Delete": { + "$ref": "./examples/Subvolumes_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/subvolumes/{subvolumeName}/getMetadata": { + "post": { + "operationId": "Subvolumes_GetMetadata", + "tags": [ + "SubvolumeInfos" + ], + "description": "Get details of the specified subvolume", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the volume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "subvolumeName", + "in": "path", + "description": "The name of the subvolume.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SubvolumeModel" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Subvolumes_Metadata": { + "$ref": "./examples/Subvolumes_Metadata.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/SubvolumeModel" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/volumeQuotaRules": { + "get": { + "operationId": "VolumeQuotaRules_ListByVolume", + "tags": [ + "VolumeQuotaRules" + ], + "description": "List all quota rules associated with the volume", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the volume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/VolumeQuotaRulesList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VolumeQuotaRules_List": { + "$ref": "./examples/VolumeQuotaRules_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/volumeQuotaRules/{volumeQuotaRuleName}": { + "get": { + "operationId": "VolumeQuotaRules_Get", + "tags": [ + "VolumeQuotaRules" + ], + "description": "Get details of the specified quota rule", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the volume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeQuotaRuleName", + "in": "path", + "description": "The name of volume quota rule", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/VolumeQuotaRule" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VolumeQuotaRules_Get": { + "$ref": "./examples/VolumeQuotaRules_Get.json" + } + } + }, + "put": { + "operationId": "VolumeQuotaRules_Create", + "tags": [ + "VolumeQuotaRules" + ], + "description": "Create the specified quota rule within the given volume", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the volume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeQuotaRuleName", + "in": "path", + "description": "The name of volume quota rule", + "required": true, + "type": "string" + }, + { + "name": "body", + "in": "body", + "description": "Quota rule object supplied in the body of the operation.", + "required": true, + "schema": { + "$ref": "#/definitions/VolumeQuotaRule" + } + } + ], + "responses": { + "200": { + "description": "Resource 'VolumeQuotaRule' update operation succeeded", + "schema": { + "$ref": "#/definitions/VolumeQuotaRule" + } + }, + "201": { + "description": "Resource 'VolumeQuotaRule' create operation succeeded", + "schema": { + "$ref": "#/definitions/VolumeQuotaRule" + }, + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VolumeQuotaRules_Create": { + "$ref": "./examples/VolumeQuotaRules_Create.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/VolumeQuotaRule" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "VolumeQuotaRules_Update", + "tags": [ + "VolumeQuotaRules" + ], + "description": "Patch a quota rule", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the volume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeQuotaRuleName", + "in": "path", + "description": "The name of volume quota rule", + "required": true, + "type": "string" + }, + { + "name": "body", + "in": "body", + "description": "Quota rule object supplied in the body of the operation.", + "required": true, + "schema": { + "$ref": "#/definitions/VolumeQuotaRulePatch" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/VolumeQuotaRule" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VolumeQuotaRules_Update": { + "$ref": "./examples/VolumeQuotaRules_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/VolumeQuotaRule" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "VolumeQuotaRules_Delete", + "tags": [ + "VolumeQuotaRules" + ], + "description": "Delete quota rule", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the volume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeQuotaRuleName", + "in": "path", + "description": "The name of volume quota rule", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VolumeQuotaRules_Delete": { + "$ref": "./examples/VolumeQuotaRules_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/changeKeyVault": { + "post": { + "operationId": "Accounts_ChangeKeyVault", + "tags": [ + "NetAppAccounts" + ], + "description": "Affects existing volumes that are encrypted with Key Vault/Managed HSM, and new volumes. Supports HSM to Key Vault, Key Vault to HSM, HSM to HSM and Key Vault to Key Vault.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "body", + "in": "body", + "description": "The required parameters to perform encryption migration.", + "required": false, + "schema": { + "$ref": "#/definitions/ChangeKeyVault" + } + } + ], + "responses": { + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Accounts_ChangeKeyVault": { + "$ref": "./examples/Accounts_ChangeKeyVault.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/getKeyVaultStatus": { + "post": { + "operationId": "Accounts_GetChangeKeyVaultInformation", + "tags": [ + "NetAppAccounts" + ], + "description": "Contains data from encryption.keyVaultProperties as well as information about which private endpoint is used by each encryption sibling set. Response from this endpoint can be modified and used as request body for POST request.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/GetKeyVaultStatusResponse" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "format": "uri", + "description": "A link to the status monitor" + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Accounts_GetChangeKeyVaultInformation": { + "$ref": "./examples/Accounts_GetChangeKeyVaultInformation.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/GetKeyVaultStatusResponse" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/migrateBackups": { + "post": { + "operationId": "BackupsUnderAccount_MigrateBackups", + "tags": [ + "NetAppAccounts" + ], + "description": "Migrate the backups under a NetApp account to backup vault", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "body", + "in": "body", + "description": "Migrate backups under an account payload supplied in the body of the operation.", + "required": true, + "schema": { + "$ref": "#/definitions/BackupsMigrationRequest" + } + } + ], + "responses": { + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "BackupsUnderAccount_Migrate": { + "$ref": "./examples/BackupsUnderAccount_Migrate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/quotaLimits": { + "get": { + "operationId": "NetAppResourceQuotaLimitsAccount_List", + "tags": [ + "NetAppResourceQuotaLimitsAccount" + ], + "description": "Gets a list of quota limits for all quotas that are under account. Currently PoolsPerAccount is the only one.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/QuotaItemList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "QuotaLimits": { + "$ref": "./examples/NetAppResourceQuotaLimitsAccount_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/quotaLimits/{quotaLimitName}": { + "get": { + "operationId": "NetAppResourceQuotaLimitsAccount_Get", + "tags": [ + "NetAppResourceQuotaLimitsAccount" + ], + "description": "Get the default, current and usages account quota limit", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "quotaLimitName", + "in": "path", + "description": "The name of the Quota Limit", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-]{0,62}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/QuotaItem" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "QuotaLimits": { + "$ref": "./examples/NetAppResourceQuotaLimitsAccount_Get.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/renewCredentials": { + "post": { + "operationId": "Accounts_RenewCredentials", + "tags": [ + "NetAppAccounts" + ], + "description": "Renew identity credentials that are used to authenticate to key vault, for customer-managed key encryption. If encryption.identity.principalId does not match identity.principalId, running this operation will fix it.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully." + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Accounts_RenewCredentials": { + "$ref": "./examples/Accounts_RenewCredentials.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/snapshotPolicies": { + "get": { + "operationId": "SnapshotPolicies_List", + "tags": [ + "SnapshotPolicies" + ], + "description": "List snapshot policy", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SnapshotPoliciesList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "SnapshotPolicies_List": { + "$ref": "./examples/SnapshotPolicies_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/snapshotPolicies/{snapshotPolicyName}": { + "get": { + "operationId": "SnapshotPolicies_Get", + "tags": [ + "SnapshotPolicies" + ], + "description": "Get a snapshot Policy", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "snapshotPolicyName", + "in": "path", + "description": "The name of the snapshot policy", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SnapshotPolicy" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "SnapshotPolicies_Get": { + "$ref": "./examples/SnapshotPolicies_Get.json" + } + } + }, + "put": { + "operationId": "SnapshotPolicies_Create", + "tags": [ + "SnapshotPolicies" + ], + "description": "Create a snapshot policy", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "snapshotPolicyName", + "in": "path", + "description": "The name of the snapshot policy", + "required": true, + "type": "string" + }, + { + "name": "body", + "in": "body", + "description": "Snapshot policy object supplied in the body of the operation.", + "required": true, + "schema": { + "$ref": "#/definitions/SnapshotPolicy" + } + } + ], + "responses": { + "200": { + "description": "Resource 'SnapshotPolicy' update operation succeeded", + "schema": { + "$ref": "#/definitions/SnapshotPolicy" + } + }, + "201": { + "description": "Resource 'SnapshotPolicy' create operation succeeded", + "schema": { + "$ref": "#/definitions/SnapshotPolicy" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "SnapshotPolicies_Create": { + "$ref": "./examples/SnapshotPolicies_Create.json" + } + } + }, + "patch": { + "operationId": "SnapshotPolicies_Update", + "tags": [ + "SnapshotPolicies" + ], + "description": "Patch a snapshot policy", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "snapshotPolicyName", + "in": "path", + "description": "The name of the snapshot policy", + "required": true, + "type": "string" + }, + { + "name": "body", + "in": "body", + "description": "Snapshot policy object supplied in the body of the operation.", + "required": true, + "schema": { + "$ref": "#/definitions/SnapshotPolicyPatch" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SnapshotPolicy" + } + }, + "202": { + "description": "The request has been accepted for processing, but processing has not yet completed.", + "schema": { + "$ref": "#/definitions/SnapshotPolicy" + }, + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "SnapshotPolicies_Update": { + "$ref": "./examples/SnapshotPolicies_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/SnapshotPolicy" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "SnapshotPolicies_Delete", + "tags": [ + "SnapshotPolicies" + ], + "description": "Delete snapshot policy", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "snapshotPolicyName", + "in": "path", + "description": "The name of the snapshot policy", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "SnapshotPolicies_Delete": { + "$ref": "./examples/SnapshotPolicies_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/snapshotPolicies/{snapshotPolicyName}/volumes": { + "get": { + "operationId": "SnapshotPolicies_ListVolumes", + "tags": [ + "SnapshotPolicies" + ], + "description": "Get volumes associated with snapshot policy", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "snapshotPolicyName", + "in": "path", + "description": "The name of the snapshot policy", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SnapshotPolicyVolumeList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "SnapshotPolicies_ListVolumes": { + "$ref": "./examples/SnapshotPolicies_ListVolumes.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/transitiontocmk": { + "post": { + "operationId": "Accounts_TransitionToCmk", + "tags": [ + "NetAppAccounts" + ], + "description": "Transitions all volumes in a VNet to a different encryption key source (Microsoft-managed key or Azure Key Vault). Operation fails if targeted volumes share encryption sibling set with volumes from another account.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "body", + "in": "body", + "description": "The required parameters to perform encryption transition.", + "required": false, + "schema": { + "$ref": "#/definitions/EncryptionTransitionRequest" + } + } + ], + "responses": { + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Accounts_MigrateEncryptionKey": { + "$ref": "./examples/Accounts_TransitionEncryptionKey.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/volumeGroups": { + "get": { + "operationId": "VolumeGroups_ListByNetAppAccount", + "tags": [ + "NetAppAccounts" + ], + "description": "List all volume groups for given account", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/VolumeGroupList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VolumeGroups_List_Oracle": { + "$ref": "./examples/VolumeGroups_List_Oracle.json" + }, + "VolumeGroups_List_SapHana": { + "$ref": "./examples/VolumeGroups_List_SapHana.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/volumeGroups/{volumeGroupName}": { + "get": { + "operationId": "VolumeGroups_Get", + "tags": [ + "VolumeGroups" + ], + "description": "Get details of the specified volume group", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "volumeGroupName", + "in": "path", + "description": "The name of the volumeGroup", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/VolumeGroupDetails" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VolumeGroups_Get_Oracle": { + "$ref": "./examples/VolumeGroups_Get_Oracle.json" + }, + "VolumeGroups_Get_SapHana": { + "$ref": "./examples/VolumeGroups_Get_SapHana.json" + } + } + }, + "put": { + "operationId": "VolumeGroups_Create", + "tags": [ + "VolumeGroups" + ], + "description": "Create a volume group along with specified volumes", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "volumeGroupName", + "in": "path", + "description": "The name of the volumeGroup", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "body", + "in": "body", + "description": "Volume Group object supplied in the body of the operation.", + "required": true, + "schema": { + "$ref": "#/definitions/VolumeGroupDetails" + } + } + ], + "responses": { + "201": { + "description": "Resource 'VolumeGroupDetails' create operation succeeded", + "schema": { + "$ref": "#/definitions/VolumeGroupDetails" + }, + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VolumeGroups_Create_Oracle": { + "$ref": "./examples/VolumeGroups_Create_Oracle.json" + }, + "VolumeGroups_Create_SapHana": { + "$ref": "./examples/VolumeGroups_Create_SapHana.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/VolumeGroupDetails" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "VolumeGroups_Delete", + "tags": [ + "VolumeGroups" + ], + "description": "Delete the specified volume group only if there are no volumes under volume group.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "volumeGroupName", + "in": "path", + "description": "The name of the volumeGroup", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VolumeGroups_Delete": { + "$ref": "./examples/VolumeGroups_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + } + }, + "definitions": { + "AcceptGrowCapacityPoolForShortTermCloneSplit": { + "type": "string", + "description": "While auto splitting the short term clone volume, if the parent pool does not have enough space to accommodate the volume after split, it will be automatically resized, which will lead to increased billing. To accept capacity pool size auto grow and create a short term clone volume, set the property as accepted.", + "enum": [ + "Accepted", + "Declined" + ], + "x-ms-enum": { + "name": "AcceptGrowCapacityPoolForShortTermCloneSplit", + "modelAsString": true, + "values": [ + { + "name": "Accepted", + "value": "Accepted", + "description": "Auto grow capacity pool for short term clone split is accepted." + }, + { + "name": "Declined", + "value": "Declined", + "description": "Auto grow capacity pool for short term clone split is declined. Short term clone volume creation will not be allowed, to create short term clone volume accept auto grow capacity pool." + } + ] + } + }, + "AccountEncryption": { + "type": "object", + "description": "Encryption settings", + "properties": { + "keySource": { + "type": "string", + "description": "The encryption keySource (provider). Possible values (case-insensitive): Microsoft.NetApp, Microsoft.KeyVault", + "default": "Microsoft.NetApp", + "enum": [ + "Microsoft.NetApp", + "Microsoft.KeyVault" + ], + "x-ms-enum": { + "name": "KeySource", + "modelAsString": true, + "values": [ + { + "name": "Microsoft.NetApp", + "value": "Microsoft.NetApp", + "description": "Microsoft-managed key encryption" + }, + { + "name": "Microsoft.KeyVault", + "value": "Microsoft.KeyVault", + "description": "Customer-managed key encryption" + } + ] + } + }, + "keyVaultProperties": { + "$ref": "#/definitions/KeyVaultProperties", + "description": "Properties provided by KeVault. Applicable if keySource is 'Microsoft.KeyVault'." + }, + "identity": { + "$ref": "#/definitions/EncryptionIdentity", + "description": "Identity used to authenticate to KeyVault. Applicable if keySource is 'Microsoft.KeyVault'." + } + } + }, + "AccountProperties": { + "type": "object", + "description": "NetApp account properties", + "properties": { + "provisioningState": { + "type": "string", + "description": "Azure lifecycle management", + "readOnly": true + }, + "activeDirectories": { + "type": "array", + "description": "Active Directories", + "items": { + "$ref": "#/definitions/ActiveDirectory" + }, + "x-ms-identifiers": [ + "activeDirectoryId" + ] + }, + "encryption": { + "$ref": "#/definitions/AccountEncryption", + "description": "Encryption settings" + }, + "disableShowmount": { + "type": "boolean", + "description": "Shows the status of disableShowmount for all volumes under the subscription, null equals false", + "x-nullable": true, + "readOnly": true + }, + "nfsV4IDDomain": { + "$ref": "#/definitions/VfsV4IDDomain", + "description": "Domain for NFSv4 user ID mapping. This property will be set for all NetApp accounts in the subscription and region and only affect non ldap NFSv4 volumes.", + "x-nullable": true + }, + "multiAdStatus": { + "$ref": "#/definitions/MultiAdStatus", + "description": "MultiAD Status for the account", + "readOnly": true + }, + "ldapConfiguration": { + "$ref": "#/definitions/LdapConfiguration", + "description": "LDAP Configuration for the account." + } + } + }, + "ActiveDirectory": { + "type": "object", + "description": "Active Directory", + "properties": { + "activeDirectoryId": { + "type": "string", + "description": "Id of the Active Directory", + "x-nullable": true + }, + "username": { + "type": "string", + "description": "A domain user account with permission to create machine accounts" + }, + "password": { + "type": "string", + "format": "password", + "description": "Plain text password of Active Directory domain administrator, value is masked in the response", + "maxLength": 64, + "x-ms-secret": true + }, + "domain": { + "type": "string", + "description": "Name of the Active Directory domain" + }, + "dns": { + "type": "string", + "description": "Comma separated list of DNS server IP addresses (IPv4 only) for the Active Directory domain", + "pattern": "^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)((, ?)(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?))*$" + }, + "status": { + "$ref": "#/definitions/ActiveDirectoryStatus", + "description": "Status of the Active Directory", + "readOnly": true + }, + "statusDetails": { + "type": "string", + "description": "Any details in regards to the Status of the Active Directory", + "readOnly": true + }, + "smbServerName": { + "type": "string", + "description": "NetBIOS name of the SMB server. This name will be registered as a computer account in the AD and used to mount volumes" + }, + "organizationalUnit": { + "type": "string", + "description": "The Organizational Unit (OU) within the Windows Active Directory", + "default": "CN=Computers" + }, + "site": { + "type": "string", + "description": "The Active Directory site the service will limit Domain Controller discovery to" + }, + "backupOperators": { + "type": "array", + "description": "Users to be added to the Built-in Backup Operator active directory group. A list of unique usernames without domain specifier", + "items": { + "$ref": "#/definitions/UserName" + } + }, + "administrators": { + "type": "array", + "description": "Users to be added to the Built-in Administrators active directory group. A list of unique usernames without domain specifier", + "items": { + "$ref": "#/definitions/UserName" + } + }, + "kdcIP": { + "type": "string", + "description": "kdc server IP address for the active directory machine. This optional parameter is used only while creating kerberos volume.", + "pattern": "^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$" + }, + "adName": { + "type": "string", + "description": "Name of the active directory machine. This optional parameter is used only while creating kerberos volume", + "minLength": 1, + "maxLength": 64 + }, + "serverRootCACertificate": { + "type": "string", + "format": "password", + "description": "When LDAP over SSL/TLS is enabled, the LDAP client is required to have base64 encoded Active Directory Certificate Service's self-signed root CA certificate, this optional parameter is used only for dual protocol with LDAP user-mapping volumes.", + "minLength": 1, + "maxLength": 10240, + "x-ms-secret": true + }, + "aesEncryption": { + "type": "boolean", + "description": "If enabled, AES encryption will be enabled for SMB communication." + }, + "ldapSigning": { + "type": "boolean", + "description": "Specifies whether or not the LDAP traffic needs to be signed." + }, + "securityOperators": { + "type": "array", + "description": "Domain Users in the Active directory to be given SeSecurityPrivilege privilege (Needed for SMB Continuously available shares for SQL). A list of unique usernames without domain specifier", + "items": { + "$ref": "#/definitions/UserName" + } + }, + "ldapOverTLS": { + "type": "boolean", + "description": "Specifies whether or not the LDAP traffic needs to be secured via TLS." + }, + "allowLocalNfsUsersWithLdap": { + "type": "boolean", + "description": "If enabled, NFS client local users can also (in addition to LDAP users) access the NFS volumes." + }, + "encryptDCConnections": { + "type": "boolean", + "description": "If enabled, Traffic between the SMB server to Domain Controller (DC) will be encrypted." + }, + "ldapSearchScope": { + "$ref": "#/definitions/LdapSearchScopeOpt", + "description": "LDAP Search scope options" + }, + "preferredServersForLdapClient": { + "type": "string", + "description": "Comma separated list of IPv4 addresses of preferred servers for LDAP client. At most two comma separated IPv4 addresses can be passed.", + "maxLength": 32, + "pattern": "^((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)((, ?)(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?))?)?$" + } + } + }, + "ActiveDirectoryConfig": { + "type": "object", + "description": "Active Directory Configuration resource", + "properties": { + "properties": { + "$ref": "#/definitions/ActiveDirectoryConfigProperties", + "description": "The resource-specific properties for this resource." + }, + "etag": { + "type": "string", + "description": "\"If etag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.\")", + "readOnly": true + }, + "identity": { + "$ref": "../../../../../../common-types/resource-management/v6/managedidentity.json#/definitions/ManagedServiceIdentity", + "description": "The managed service identities assigned to this resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" + } + ] + }, + "ActiveDirectoryConfigListResult": { + "type": "object", + "description": "The response of a ActiveDirectoryConfig list operation.", + "properties": { + "value": { + "type": "array", + "description": "The ActiveDirectoryConfig items on this page", + "items": { + "$ref": "#/definitions/ActiveDirectoryConfig" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ActiveDirectoryConfigProperties": { + "type": "object", + "description": "Active Directory Configuration properties", + "properties": { + "userName": { + "type": "string", + "description": "A domain user account with permission to create machine accounts", + "maxLength": 255 + }, + "dns": { + "type": "array", + "description": "An array of DNS server IP addresses(IPv4 only) for the Active Directory", + "items": { + "$ref": "#/definitions/Azure.Core.ipV4Address" + } + }, + "smbServerName": { + "type": "string", + "description": "NetBIOS name of the SMB server. This name will be registered as a computer account in the AD and used to mount volumes", + "maxLength": 10 + }, + "organizationalUnit": { + "type": "string", + "description": "The Organizational Unit (OU) within the Windows Active Directory", + "maxLength": 255 + }, + "site": { + "type": "string", + "description": "The Active Directory site the service will limit Domain Controller discovery to", + "maxLength": 63 + }, + "backupOperators": { + "type": "array", + "description": "Users to be added to the Built-in Backup Operator active directory group. A list of unique usernames without domain specifier", + "items": { + "type": "string" + } + }, + "administrators": { + "type": "array", + "description": "Users to be added to the Built-in Administrators active directory group. A list of unique usernames without domain specifier", + "items": { + "type": "string" + } + }, + "securityOperators": { + "type": "array", + "description": "Domain Users in the Active directory to be given SecurityPrivilege privilege (Needed for SMB Continuously available shares for SQL). A list of unique usernames without domain specifier", + "items": { + "type": "string" + } + }, + "activeDirectoryStatus": { + "$ref": "#/definitions/ActiveDirectoryStatus", + "description": "Status of the Active Directory", + "readOnly": true + }, + "provisioningState": { + "$ref": "#/definitions/NetAppProvisioningState", + "description": "Azure lifecycle management.", + "readOnly": true + }, + "domain": { + "type": "string", + "description": "Name of the Active Directory domain", + "maxLength": 255 + }, + "secretPassword": { + "$ref": "#/definitions/SecretPassword", + "description": "Access password from Azure KeyVault Secrets to connect Active Directory" + } + }, + "required": [ + "domain", + "secretPassword" + ] + }, + "ActiveDirectoryConfigUpdate": { + "type": "object", + "description": "The type used for update operations of the ActiveDirectoryConfig.", + "properties": { + "identity": { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.ManagedServiceIdentityUpdate", + "description": "The managed service identities assigned to this resource." + }, + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + }, + "properties": { + "$ref": "#/definitions/ActiveDirectoryConfigUpdateProperties", + "description": "The resource-specific properties for this resource." + } + } + }, + "ActiveDirectoryConfigUpdateProperties": { + "type": "object", + "description": "The updatable properties of the ActiveDirectoryConfig.", + "properties": { + "userName": { + "type": "string", + "description": "A domain user account with permission to create machine accounts", + "maxLength": 255 + }, + "dns": { + "type": "array", + "description": "An array of DNS server IP addresses(IPv4 only) for the Active Directory", + "items": { + "$ref": "#/definitions/Azure.Core.ipV4Address" + } + }, + "smbServerName": { + "type": "string", + "description": "NetBIOS name of the SMB server. This name will be registered as a computer account in the AD and used to mount volumes", + "maxLength": 10 + }, + "organizationalUnit": { + "type": "string", + "description": "The Organizational Unit (OU) within the Windows Active Directory", + "maxLength": 255 + }, + "site": { + "type": "string", + "description": "The Active Directory site the service will limit Domain Controller discovery to", + "maxLength": 63 + }, + "backupOperators": { + "type": "array", + "description": "Users to be added to the Built-in Backup Operator active directory group. A list of unique usernames without domain specifier", + "items": { + "type": "string" + } + }, + "administrators": { + "type": "array", + "description": "Users to be added to the Built-in Administrators active directory group. A list of unique usernames without domain specifier", + "items": { + "type": "string" + } + }, + "securityOperators": { + "type": "array", + "description": "Domain Users in the Active directory to be given SecurityPrivilege privilege (Needed for SMB Continuously available shares for SQL). A list of unique usernames without domain specifier", + "items": { + "type": "string" + } + }, + "domain": { + "type": "string", + "description": "Name of the Active Directory domain", + "maxLength": 255 + }, + "secretPassword": { + "$ref": "#/definitions/SecretPasswordUpdate", + "description": "Access password from Azure KeyVault Secrets to connect Active Directory" + } + } + }, + "ActiveDirectoryStatus": { + "type": "string", + "description": "Status of the Active Directory", + "enum": [ + "Created", + "InUse", + "Deleted", + "Error", + "Updating" + ], + "x-ms-enum": { + "name": "ActiveDirectoryStatus", + "modelAsString": true, + "values": [ + { + "name": "Created", + "value": "Created", + "description": "Active Directory created but not in use" + }, + { + "name": "InUse", + "value": "InUse", + "description": "Active Directory in use by SMB Volume" + }, + { + "name": "Deleted", + "value": "Deleted", + "description": "Active Directory Deleted" + }, + { + "name": "Error", + "value": "Error", + "description": "Error with the Active Directory" + }, + { + "name": "Updating", + "value": "Updating", + "description": "Active Directory Updating" + } + ] + } + }, + "ActualRansomwareProtectionState": { + "type": "string", + "description": "The actual state of the Advanced Ransomware Protection feature", + "enum": [ + "Disabled", + "Enabled", + "Learning", + "Paused" + ], + "x-ms-enum": { + "name": "ActualRansomwareProtectionState", + "modelAsString": true, + "values": [ + { + "name": "Disabled", + "value": "Disabled", + "description": "Advanced Ransomware Protection is disabled" + }, + { + "name": "Enabled", + "value": "Enabled", + "description": "Advanced Ransomware Protection is enabled" + }, + { + "name": "Learning", + "value": "Learning", + "description": "Advanced Ransomware Protection is in learning mode" + }, + { + "name": "Paused", + "value": "Paused", + "description": "Advanced Ransomware Protection is in paused state" + } + ] + } + }, + "ApplicationType": { + "type": "string", + "description": "Application Type", + "enum": [ + "SAP-HANA", + "ORACLE" + ], + "x-ms-enum": { + "name": "ApplicationType", + "modelAsString": true, + "values": [ + { + "name": "SAP-HANA", + "value": "SAP-HANA" + }, + { + "name": "ORACLE", + "value": "ORACLE" + } + ] + } + }, + "AuthorizeRequest": { + "type": "object", + "description": "Authorize request", + "properties": { + "remoteVolumeResourceId": { + "type": "string", + "description": "Resource id of the remote volume" + } + } + }, + "Azure.Core.ipV4Address": { + "type": "string", + "description": "Represent an IP V4 address serialized as a string.\n\nIt is formatted as four 8-bit fields separated by periods." + }, + "Azure.ResourceManager.CommonTypes.ManagedServiceIdentityUpdate": { + "type": "object", + "description": "Managed service identity (system assigned and/or user assigned identities)", + "properties": { + "type": { + "$ref": "../../../../../../common-types/resource-management/v6/managedidentity.json#/definitions/ManagedServiceIdentityType", + "description": "The type of managed identity assigned to this resource." + }, + "userAssignedIdentities": { + "type": "object", + "description": "The identities assigned to this resource by the user.", + "additionalProperties": { + "$ref": "../../../../../../common-types/resource-management/v6/managedidentity.json#/definitions/UserAssignedIdentity", + "x-nullable": true + } + } + } + }, + "Azure.ResourceManager.CommonTypes.TrackedResourceUpdate": { + "type": "object", + "title": "Tracked Resource", + "description": "The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'", + "properties": { + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/Resource" + } + ] + }, + "Backup": { + "type": "object", + "description": "Backup under a Backup Vault", + "properties": { + "properties": { + "$ref": "#/definitions/BackupProperties", + "description": "Backup Properties", + "x-ms-client-flatten": true + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + ] + }, + "BackupPatch": { + "type": "object", + "description": "Backup patch", + "properties": { + "properties": { + "$ref": "#/definitions/BackupPatchProperties", + "description": "Backup Patch Properties", + "x-ms-client-flatten": true + } + } + }, + "BackupPatchProperties": { + "type": "object", + "description": "Backup patch properties", + "properties": { + "label": { + "type": "string", + "description": "Label for backup" + } + } + }, + "BackupPoliciesList": { + "type": "object", + "description": "List of Backup Policies", + "properties": { + "value": { + "type": "array", + "description": "The BackupPolicy items on this page", + "items": { + "$ref": "#/definitions/BackupPolicy" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "BackupPolicy": { + "type": "object", + "description": "Backup policy information", + "properties": { + "properties": { + "$ref": "#/definitions/BackupPolicyProperties", + "description": "Backup policy Properties", + "x-ms-client-flatten": true + }, + "etag": { + "type": "string", + "description": "\"If etag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.\")", + "readOnly": true + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" + } + ] + }, + "BackupPolicyPatch": { + "type": "object", + "description": "Backup policy Details for create and update", + "properties": { + "location": { + "type": "string", + "description": "Resource location", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "id": { + "type": "string", + "description": "Resource Id", + "readOnly": true + }, + "name": { + "type": "string", + "description": "Resource name", + "readOnly": true + }, + "type": { + "type": "string", + "description": "Resource type", + "readOnly": true + }, + "tags": { + "type": "object", + "description": "Resource tags", + "additionalProperties": { + "type": "string" + } + }, + "properties": { + "$ref": "#/definitions/BackupPolicyProperties", + "description": "Backup policy Properties", + "x-ms-client-flatten": true + } + } + }, + "BackupPolicyProperties": { + "type": "object", + "description": "Backup policy properties", + "properties": { + "backupPolicyId": { + "type": "string", + "description": "Backup Policy GUID ID", + "readOnly": true + }, + "provisioningState": { + "type": "string", + "description": "Azure lifecycle management", + "readOnly": true + }, + "dailyBackupsToKeep": { + "type": "integer", + "format": "int32", + "description": "Daily backups count to keep" + }, + "weeklyBackupsToKeep": { + "type": "integer", + "format": "int32", + "description": "Weekly backups count to keep" + }, + "monthlyBackupsToKeep": { + "type": "integer", + "format": "int32", + "description": "Monthly backups count to keep" + }, + "volumesAssigned": { + "type": "integer", + "format": "int32", + "description": "Volumes using current backup policy", + "readOnly": true + }, + "enabled": { + "type": "boolean", + "description": "The property to decide policy is enabled or not" + }, + "volumeBackups": { + "type": "array", + "description": "A list of volumes assigned to this policy", + "items": { + "$ref": "#/definitions/VolumeBackups" + }, + "readOnly": true, + "x-ms-identifiers": [ + "volumeName" + ] + } + } + }, + "BackupProperties": { + "type": "object", + "description": "Backup properties", + "properties": { + "backupId": { + "type": "string", + "description": "UUID v4 used to identify the Backup", + "minLength": 36, + "maxLength": 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 + }, + "creationDate": { + "type": "string", + "format": "date-time", + "description": "The creation date of the backup", + "readOnly": true + }, + "snapshotCreationDate": { + "type": "string", + "format": "date-time", + "description": "The snapshot creation date of the backup", + "x-nullable": true, + "readOnly": true + }, + "completionDate": { + "type": "string", + "format": "date-time", + "description": "The completion date of the backup", + "x-nullable": true, + "readOnly": true + }, + "provisioningState": { + "type": "string", + "description": "Azure lifecycle management", + "readOnly": true + }, + "size": { + "type": "integer", + "format": "int64", + "description": "Size of backup in bytes", + "readOnly": true + }, + "label": { + "type": "string", + "description": "Label for backup" + }, + "backupType": { + "$ref": "#/definitions/BackupType", + "description": "Type of backup Manual or Scheduled", + "readOnly": true + }, + "failureReason": { + "type": "string", + "description": "Failure reason", + "readOnly": true + }, + "volumeResourceId": { + "type": "string", + "format": "arm-id", + "description": "ResourceId used to identify the Volume", + "x-ms-mutability": [ + "read", + "create" + ], + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes" + } + ] + } + }, + "useExistingSnapshot": { + "type": "boolean", + "description": "Manual backup an already existing snapshot. This will always be false for scheduled backups and true/false for manual backups", + "default": false, + "x-ms-mutability": [ + "read", + "create" + ] + }, + "snapshotName": { + "type": "string", + "description": "The name of the snapshot", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "backupPolicyResourceId": { + "type": "string", + "format": "arm-id", + "description": "ResourceId used to identify the backup policy", + "readOnly": true, + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.NetApp/netAppAccounts/backupPolicies" + } + ] + } + }, + "isLargeVolume": { + "type": "boolean", + "description": "Specifies if the backup is for a large volume.", + "readOnly": true + } + }, + "required": [ + "volumeResourceId" + ] + }, + "BackupRestoreFiles": { + "type": "object", + "description": "Restore payload for Single File Backup Restore", + "properties": { + "fileList": { + "type": "array", + "description": "List of files to be restored", + "minItems": 1, + "maxItems": 8, + "items": { + "$ref": "#/definitions/FileName" + } + }, + "restoreFilePath": { + "type": "string", + "description": "Destination folder where the files will be restored. The path name should start with a forward slash. If it is omitted from request then restore is done at the root folder of the destination volume by default", + "pattern": "^\\/.*$" + }, + "destinationVolumeId": { + "type": "string", + "description": "Resource Id of the destination volume on which the files need to be restored" + } + }, + "required": [ + "fileList", + "destinationVolumeId" + ] + }, + "BackupStatus": { + "type": "object", + "description": "Backup status", + "properties": { + "healthy": { + "type": "boolean", + "description": "Backup health status", + "readOnly": true + }, + "relationshipStatus": { + "$ref": "#/definitions/VolumeBackupRelationshipStatus", + "description": "Status of the backup mirror relationship", + "readOnly": true + }, + "mirrorState": { + "$ref": "#/definitions/MirrorState", + "description": "The status of the backup", + "readOnly": true + }, + "unhealthyReason": { + "type": "string", + "description": "Reason for the unhealthy backup relationship", + "readOnly": true + }, + "errorMessage": { + "type": "string", + "description": "Displays error message if the backup is in an error state", + "readOnly": true + }, + "lastTransferSize": { + "type": "integer", + "format": "int64", + "description": "Displays the last transfer size", + "readOnly": true + }, + "lastTransferType": { + "type": "string", + "description": "Displays the last transfer type", + "readOnly": true + }, + "totalTransferBytes": { + "type": "integer", + "format": "int64", + "description": "Displays the total bytes transferred", + "readOnly": true + }, + "transferProgressBytes": { + "type": "integer", + "format": "int64", + "description": "Displays the total number of bytes transferred for the ongoing operation", + "readOnly": true + } + } + }, + "BackupType": { + "type": "string", + "description": "Type of backup Manual or Scheduled", + "enum": [ + "Manual", + "Scheduled" + ], + "x-ms-enum": { + "name": "BackupType", + "modelAsString": true, + "values": [ + { + "name": "Manual", + "value": "Manual", + "description": "Manual backup" + }, + { + "name": "Scheduled", + "value": "Scheduled", + "description": "Scheduled backup" + } + ] + } + }, + "BackupVault": { + "type": "object", + "description": "Backup Vault information", + "properties": { + "properties": { + "$ref": "#/definitions/BackupVaultProperties", + "description": "Backup Vault Properties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" + } + ] + }, + "BackupVaultPatch": { + "type": "object", + "description": "Backup Vault information", + "properties": { + "tags": { + "type": "object", + "description": "Resource tags", + "additionalProperties": { + "type": "string" + } + } + } + }, + "BackupVaultProperties": { + "type": "object", + "description": "Backup Vault properties", + "properties": { + "provisioningState": { + "type": "string", + "description": "Azure lifecycle management", + "readOnly": true + } + } + }, + "BackupVaultsList": { + "type": "object", + "description": "List of Backup Vaults", + "properties": { + "value": { + "type": "array", + "description": "The BackupVault items on this page", + "items": { + "$ref": "#/definitions/BackupVault" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "BackupsList": { + "type": "object", + "description": "List of Backups", + "properties": { + "value": { + "type": "array", + "description": "The Backup items on this page", + "items": { + "$ref": "#/definitions/Backup" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "BackupsMigrationRequest": { + "type": "object", + "description": "Migrate Backups Request", + "properties": { + "backupVaultId": { + "type": "string", + "format": "arm-id", + "description": "The ResourceId of the Backup Vault", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.NetApp/netAppAccounts/backupVaults" + } + ] + } + } + }, + "required": [ + "backupVaultId" + ] + }, + "BreakFileLocksRequest": { + "type": "object", + "description": "Break file locks request", + "properties": { + "clientIp": { + "type": "string", + "description": "To clear file locks on a volume for a particular client", + "pattern": "^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$" + }, + "confirmRunningDisruptiveOperation": { + "type": "boolean", + "description": "Break File locks could be a disruptive operation for application as locks on the volume will be broken, if want to process, set to true.", + "default": false + } + } + }, + "BreakReplicationRequest": { + "type": "object", + "description": "Break replication request", + "properties": { + "forceBreakReplication": { + "type": "boolean", + "description": "If replication is in status transferring and you want to force break the replication, set to true" + } + } + }, + "BreakthroughMode": { + "type": "string", + "description": "Specifies whether the volume operates in Breakthrough Mode. When set to 'Enabled', the volume runs on the resources configured for this mode,\ndelivering improved performance and higher throughput. If set to 'Disabled' or omitted, the volume uses the basic configuration. This feature\nis available only in regions where it’s been configured and first-time users must finish onboarding prior to using Breakthrough Mode.", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "BreakthroughMode", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled", + "description": "The volume runs on the resources configured for Breakthrough mode which ensures consistent high performance and a higher throughput." + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "The volume uses configuration that provides basic performance and throughput." + } + ] + } + }, + "Bucket": { + "type": "object", + "description": "Bucket resource", + "properties": { + "properties": { + "$ref": "#/definitions/BucketProperties", + "description": "Bucket properties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + ] + }, + "BucketCredentialsExpiry": { + "type": "object", + "description": "The bucket's Access and Secret key pair Expiry Time expressed as the number of days from now.", + "properties": { + "keyPairExpiryDays": { + "type": "integer", + "format": "int32", + "description": "The number of days from now until the newly generated Access and Secret key pair will expire.", + "minimum": 1 + } + } + }, + "BucketGenerateCredentials": { + "type": "object", + "description": "Bucket Access Key, Secret Key, and Expiry date and time of the key pair", + "properties": { + "accessKey": { + "type": "string", + "description": "The Access Key that is required along with the Secret Key to access the bucket.", + "readOnly": true + }, + "secretKey": { + "type": "string", + "description": "The Secret Key that is required along with the Access Key to access the bucket.", + "readOnly": true + }, + "keyPairExpiry": { + "type": "string", + "format": "date-time", + "description": "The bucket's Access and Secret key pair expiry date and time (in UTC).", + "readOnly": true + } + } + }, + "BucketList": { + "type": "object", + "description": "List of volume bucket resources", + "properties": { + "value": { + "type": "array", + "description": "The Bucket items on this page", + "items": { + "$ref": "#/definitions/Bucket" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "BucketPatch": { + "type": "object", + "description": "Bucket resource", + "properties": { + "properties": { + "$ref": "#/definitions/BucketPatchProperties", + "description": "Bucket properties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + ] + }, + "BucketPatchPermissions": { + "type": "string", + "description": "Access permissions for the bucket. Either ReadOnly or ReadWrite.", + "enum": [ + "ReadOnly", + "ReadWrite" + ], + "x-ms-enum": { + "name": "BucketPatchPermissions", + "modelAsString": true, + "values": [ + { + "name": "ReadOnly", + "value": "ReadOnly", + "description": "Read-only access to bucket." + }, + { + "name": "ReadWrite", + "value": "ReadWrite", + "description": "Read-write access to bucket." + } + ] + } + }, + "BucketPatchProperties": { + "type": "object", + "description": "Bucket resource properties for a Patch operation", + "properties": { + "path": { + "type": "string", + "description": "The volume path mounted inside the bucket." + }, + "fileSystemUser": { + "$ref": "#/definitions/FileSystemUser", + "description": "File System user having access to volume data. For Unix, this is the user's uid and gid. For Windows, this is the user's username. Note that the Unix and Windows user details are mutually exclusive, meaning one or other must be supplied, but not both." + }, + "provisioningState": { + "$ref": "#/definitions/NetAppProvisioningState", + "description": "Provisioning state of the resource", + "readOnly": true + }, + "server": { + "$ref": "#/definitions/BucketServerPatchProperties", + "description": "Properties of the server managing the lifecycle of volume buckets" + }, + "permissions": { + "$ref": "#/definitions/BucketPatchPermissions", + "description": "Access permissions for the bucket. Either ReadOnly or ReadWrite." + } + } + }, + "BucketProperties": { + "type": "object", + "description": "Bucket resource properties", + "properties": { + "path": { + "type": "string", + "description": "The volume path mounted inside the bucket. The default is the root path '/' if no value is provided when the bucket is created.", + "default": "/" + }, + "fileSystemUser": { + "$ref": "#/definitions/FileSystemUser", + "description": "File System user having access to volume data. For Unix, this is the user's uid and gid. For Windows, this is the user's username. Note that the Unix and Windows user details are mutually exclusive, meaning one or other must be supplied, but not both." + }, + "provisioningState": { + "$ref": "#/definitions/NetAppProvisioningState", + "description": "Provisioning state of the resource", + "readOnly": true + }, + "status": { + "$ref": "#/definitions/CredentialsStatus", + "description": "The bucket credentials status. There states:\n\n\"NoCredentialsSet\": Access and Secret key pair have not been generated.\n\"CredentialsExpired\": Access and Secret key pair have expired.\n\"Active\": The certificate has been installed and credentials are unexpired.", + "readOnly": true + }, + "server": { + "$ref": "#/definitions/BucketServerProperties", + "description": "Properties of the server managing the lifecycle of volume buckets" + }, + "permissions": { + "type": "string", + "description": "Access permissions for the bucket. Either ReadOnly or ReadWrite. The default is ReadOnly if no value is provided during bucket creation.", + "default": "ReadOnly", + "enum": [ + "ReadOnly", + "ReadWrite" + ], + "x-ms-enum": { + "name": "BucketPermissions", + "modelAsString": true, + "values": [ + { + "name": "ReadOnly", + "value": "ReadOnly", + "description": "Read-only access to bucket." + }, + { + "name": "ReadWrite", + "value": "ReadWrite", + "description": "Read-write access to bucket." + } + ] + } + } + } + }, + "BucketServerPatchProperties": { + "type": "object", + "description": "Properties of the server managing the lifecycle of volume buckets", + "properties": { + "fqdn": { + "type": "string", + "description": "The host part of the bucket URL, resolving to the bucket IP address and allowed by the server certificate." + }, + "certificateObject": { + "type": "string", + "description": "A base64-encoded PEM file, which includes both the bucket server's certificate and private key. It is used to authenticate the user and allows access to volume data in a read-only manner.", + "minLength": 1, + "maxLength": 10240, + "x-ms-mutability": [ + "update", + "create" + ] + } + } + }, + "BucketServerProperties": { + "type": "object", + "description": "Properties of the server managing the lifecycle of volume buckets", + "properties": { + "fqdn": { + "type": "string", + "description": "The host part of the bucket URL, resolving to the bucket IP address and allowed by the server certificate." + }, + "certificateCommonName": { + "type": "string", + "description": "Certificate Common Name taken from the certificate installed on the bucket server", + "minLength": 1, + "maxLength": 64, + "readOnly": true + }, + "certificateExpiryDate": { + "type": "string", + "format": "date-time", + "description": "The bucket server's certificate expiry date.", + "readOnly": true + }, + "ipAddress": { + "type": "string", + "description": "The bucket server's IPv4 address", + "readOnly": true + }, + "certificateObject": { + "type": "string", + "description": "A base64-encoded PEM file, which includes both the bucket server's certificate and private key. It is used to authenticate the user and allows access to volume data in a read-only manner.", + "minLength": 1, + "maxLength": 10240, + "x-ms-mutability": [ + "update", + "create" + ] + } + } + }, + "Cache": { + "type": "object", + "description": "Cache resource", + "properties": { + "properties": { + "$ref": "#/definitions/CacheProperties", + "description": "Cache properties" + }, + "etag": { + "type": "string", + "description": "\"If etag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.\")", + "readOnly": true + }, + "zones": { + "type": "array", + "description": "The availability zones.", + "items": { + "type": "string" + }, + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" + } + ] + }, + "CacheLifeCycleState": { + "type": "string", + "description": "Azure NetApp Files Cache lifecycle management", + "enum": [ + "ClusterPeeringOfferSent", + "VserverPeeringOfferSent", + "Creating", + "Succeeded", + "Failed" + ], + "x-ms-enum": { + "name": "CacheLifeCycleState", + "modelAsString": true, + "values": [ + { + "name": "ClusterPeeringOfferSent", + "value": "ClusterPeeringOfferSent", + "description": "Cluster peering offer has been sent." + }, + { + "name": "VserverPeeringOfferSent", + "value": "VserverPeeringOfferSent", + "description": "VServer peering offer has been sent." + }, + { + "name": "Creating", + "value": "Creating", + "description": "Cache creation in progress." + }, + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Cache creation succeeded and is available for use." + }, + { + "name": "Failed", + "value": "Failed", + "description": "Cache is in a failed state" + } + ] + }, + "readOnly": true + }, + "CacheList": { + "type": "object", + "description": "List of Cache resources", + "properties": { + "value": { + "type": "array", + "description": "The Cache items on this page", + "items": { + "$ref": "#/definitions/Cache" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "CacheMountTargetProperties": { + "type": "object", + "description": "Contains all the information needed to mount a cache", + "properties": { + "mountTargetId": { + "type": "string", + "description": "UUID v4 used to identify the MountTarget", + "minLength": 36, + "maxLength": 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 + }, + "ipAddress": { + "$ref": "#/definitions/Azure.Core.ipV4Address", + "description": "The mount target's IPv4 address, used to mount the cache.", + "readOnly": true + }, + "smbServerFqdn": { + "type": "string", + "description": "The SMB server's Fully Qualified Domain Name, FQDN", + "readOnly": true + } + } + }, + "CacheProperties": { + "type": "object", + "description": "Cache resource properties", + "properties": { + "filepath": { + "type": "string", + "description": "The file path of the Cache.", + "minLength": 1, + "maxLength": 80, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-]{0,79}$", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "size": { + "type": "integer", + "format": "int64", + "description": "Maximum storage quota allowed for a file system in bytes. Valid values are in the range 50GiB to 1PiB. Values expressed in bytes as multiples of 1GiB.", + "minimum": 53687091200, + "maximum": 1125899906842624 + }, + "exportPolicy": { + "type": "array", + "description": "Set of export policy rules", + "items": { + "$ref": "#/definitions/ExportPolicyRule" + }, + "x-ms-identifiers": [ + "ruleIndex" + ] + }, + "protocolTypes": { + "type": "array", + "description": "Set of protocol types, default NFSv3, CIFS for SMB protocol", + "items": { + "$ref": "#/definitions/ProtocolTypes" + } + }, + "provisioningState": { + "$ref": "#/definitions/CacheProvisioningState", + "description": "Azure lifecycle management", + "readOnly": true + }, + "cacheState": { + "$ref": "#/definitions/CacheLifeCycleState", + "description": "Azure NetApp Files Cache lifecycle management", + "readOnly": true + }, + "cacheSubnetResourceId": { + "type": "string", + "format": "arm-id", + "description": "The Azure Resource URI for a delegated cache subnet that will be used to allocate data IPs.", + "x-ms-mutability": [ + "read", + "create" + ], + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Network/virtualNetworks/subnets" + } + ] + } + }, + "peeringSubnetResourceId": { + "type": "string", + "format": "arm-id", + "description": "The Azure Resource URI for a delegated subnet that will be used for ANF Intercluster Interface IP addresses.", + "x-ms-mutability": [ + "read", + "create" + ], + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Network/virtualNetworks/subnets" + } + ] + } + }, + "mountTargets": { + "type": "array", + "description": "List of mount targets that can be used to mount this cache", + "items": { + "$ref": "#/definitions/CacheMountTargetProperties" + }, + "readOnly": true, + "x-ms-identifiers": [ + "mountTargetId" + ] + }, + "kerberos": { + "$ref": "#/definitions/KerberosState", + "description": "Describe if a cache is Kerberos enabled.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "smbSettings": { + "$ref": "#/definitions/SmbSettings", + "description": "SMB information for the cache" + }, + "throughputMibps": { + "type": "number", + "format": "float", + "description": "Maximum throughput in MiB/s that can be achieved by this cache volume and this will be accepted as input only for manual qosType cache" + }, + "actualThroughputMibps": { + "type": "number", + "format": "float", + "description": "Actual throughput in MiB/s for auto qosType volumes calculated based on size and serviceLevel", + "readOnly": true + }, + "encryptionKeySource": { + "$ref": "#/definitions/EncryptionKeySource", + "description": "Source of key used to encrypt data in the cache. Applicable if NetApp account has encryption.keySource = 'Microsoft.KeyVault'. Possible values (case-insensitive) are: 'Microsoft.NetApp, Microsoft.KeyVault'", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "keyVaultPrivateEndpointResourceId": { + "type": "string", + "format": "arm-id", + "description": "The resource ID of private endpoint for KeyVault. It must reside in the same VNET as the volume. Only applicable if encryptionKeySource = 'Microsoft.KeyVault'.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Network/privateEndpoints" + } + ] + } + }, + "maximumNumberOfFiles": { + "type": "integer", + "format": "int64", + "description": "Maximum number of files allowed.", + "readOnly": true + }, + "encryption": { + "$ref": "#/definitions/EncryptionState", + "description": "Specifies if the cache is encryption or not.", + "readOnly": true + }, + "language": { + "$ref": "#/definitions/VolumeLanguage", + "description": "Language supported for volume.", + "readOnly": true + }, + "ldap": { + "$ref": "#/definitions/LdapState", + "description": "Specifies whether LDAP is enabled or not for flexcache volume.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "ldapServerType": { + "$ref": "#/definitions/LdapServerType", + "description": "Specifies the type of LDAP server for flexcache volume.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "originClusterInformation": { + "$ref": "#/definitions/OriginClusterInformation", + "description": "Origin cluster information", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "cifsChangeNotifications": { + "$ref": "#/definitions/CifsChangeNotifyState", + "description": "Flag indicating whether a CIFS change notification is enabled for the cache." + }, + "globalFileLocking": { + "$ref": "#/definitions/GlobalFileLockingState", + "description": "Flag indicating whether the global file lock is enabled for the cache.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "writeBack": { + "$ref": "#/definitions/EnableWriteBackState", + "description": "Flag indicating whether writeback is enabled for the cache." + } + }, + "required": [ + "filepath", + "size", + "cacheSubnetResourceId", + "peeringSubnetResourceId", + "encryptionKeySource", + "originClusterInformation" + ] + }, + "CacheProvisioningState": { + "type": "string", + "description": "Azure lifecycle management", + "enum": [ + "Creating", + "Updating", + "Deleting", + "Failed", + "Succeeded", + "Canceled" + ], + "x-ms-enum": { + "name": "CacheProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Creating", + "value": "Creating", + "description": "The resource is being created." + }, + { + "name": "Updating", + "value": "Updating", + "description": "The resource is being updated." + }, + { + "name": "Deleting", + "value": "Deleting", + "description": "The resource is being deleted." + }, + { + "name": "Failed", + "value": "Failed", + "description": "The resource is in a failed state." + }, + { + "name": "Succeeded", + "value": "Succeeded", + "description": "The resource is succeeded." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Resource creation was canceled." + } + ] + }, + "readOnly": true + }, + "CacheUpdate": { + "type": "object", + "description": "The type used for update operations of the Cache.", + "properties": { + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + }, + "properties": { + "$ref": "#/definitions/CacheUpdateProperties", + "description": "The resource-specific properties for this resource." + } + } + }, + "CacheUpdateProperties": { + "type": "object", + "description": "The updatable properties of the Cache.", + "properties": { + "size": { + "type": "integer", + "format": "int64", + "description": "Maximum storage quota allowed for a file system in bytes. Valid values are in the range 50GiB to 1PiB. Values expressed in bytes as multiples of 1GiB.", + "minimum": 53687091200, + "maximum": 1125899906842624 + }, + "exportPolicy": { + "type": "array", + "description": "Set of export policy rules", + "items": { + "$ref": "#/definitions/ExportPolicyRule" + }, + "x-ms-identifiers": [ + "ruleIndex" + ] + }, + "protocolTypes": { + "type": "array", + "description": "Set of protocol types, default NFSv3, CIFS for SMB protocol", + "items": { + "$ref": "#/definitions/ProtocolTypes" + } + }, + "smbSettings": { + "$ref": "#/definitions/SmbSettings", + "description": "SMB information for the cache" + }, + "throughputMibps": { + "type": "number", + "format": "float", + "description": "Maximum throughput in MiB/s that can be achieved by this cache volume and this will be accepted as input only for manual qosType cache" + }, + "keyVaultPrivateEndpointResourceId": { + "type": "string", + "format": "arm-id", + "description": "The resource ID of private endpoint for KeyVault. It must reside in the same VNET as the volume. Only applicable if encryptionKeySource = 'Microsoft.KeyVault'.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Network/privateEndpoints" + } + ] + } + }, + "cifsChangeNotifications": { + "$ref": "#/definitions/CifsChangeNotifyState", + "description": "Flag indicating whether a CIFS change notification is enabled for the cache." + }, + "writeBack": { + "$ref": "#/definitions/EnableWriteBackState", + "description": "Flag indicating whether writeback is enabled for the cache." + } + } + }, + "CapacityPool": { + "type": "object", + "description": "Capacity pool resource", + "properties": { + "properties": { + "$ref": "#/definitions/PoolProperties", + "description": "Capacity pool properties", + "x-ms-client-flatten": true + }, + "etag": { + "type": "string", + "description": "\"If etag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.\")", + "readOnly": true + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" + } + ] + }, + "CapacityPoolList": { + "type": "object", + "description": "List of capacity pool resources", + "properties": { + "value": { + "type": "array", + "description": "The CapacityPool items on this page", + "items": { + "$ref": "#/definitions/CapacityPool" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "CapacityPoolPatch": { + "type": "object", + "description": "Capacity pool patch resource", + "properties": { + "location": { + "type": "string", + "description": "Resource location" + }, + "id": { + "type": "string", + "description": "Resource Id", + "readOnly": true + }, + "name": { + "type": "string", + "description": "Resource name", + "readOnly": true + }, + "type": { + "type": "string", + "description": "Resource type", + "readOnly": true + }, + "tags": { + "type": "object", + "description": "Resource tags", + "additionalProperties": { + "type": "string" + } + }, + "properties": { + "$ref": "#/definitions/PoolPatchProperties", + "description": "Capacity pool properties", + "x-ms-client-flatten": true + } + } + }, + "ChangeKeyVault": { + "type": "object", + "description": "Change key vault request", + "properties": { + "keyVaultUri": { + "type": "string", + "format": "uri", + "description": "The URI of the key vault/managed HSM that should be used for encryption." + }, + "keyName": { + "type": "string", + "description": "The name of the key that should be used for encryption." + }, + "keyVaultResourceId": { + "type": "string", + "format": "arm-id", + "description": "Azure resource ID of the key vault/managed HSM that should be used for encryption.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.KeyVault/vaults" + } + ] + } + }, + "keyVaultPrivateEndpoints": { + "type": "array", + "description": "Pairs of virtual network ID and private endpoint ID. Every virtual network that has volumes encrypted with customer-managed keys needs its own key vault private endpoint.", + "items": { + "$ref": "#/definitions/KeyVaultPrivateEndpoint" + }, + "x-ms-identifiers": [ + "virtualNetworkId" + ] + } + }, + "required": [ + "keyVaultUri", + "keyName", + "keyVaultPrivateEndpoints" + ] + }, + "ChangeZoneRequest": { + "type": "object", + "description": "Changes the zone for the Zone Redundant elastic capacity pool", + "properties": { + "newZone": { + "type": "string", + "description": "Availability zone to move Zone Redundant elastic capacity pool to", + "minLength": 1, + "maxLength": 1 + } + }, + "required": [ + "newZone" + ] + }, + "CheckAvailabilityResponse": { + "type": "object", + "description": "Information regarding availability of a resource.", + "properties": { + "isAvailable": { + "type": "boolean", + "description": "true indicates name is valid and available. false indicates the name is invalid, unavailable, or both." + }, + "reason": { + "$ref": "#/definitions/InAvailabilityReasonType", + "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." + }, + "message": { + "type": "string", + "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." + } + } + }, + "CheckElasticResourceAvailabilityReason": { + "type": "string", + "description": "Availability reason", + "enum": [ + "Invalid", + "AlreadyExists" + ], + "x-ms-enum": { + "name": "CheckElasticResourceAvailabilityReason", + "modelAsString": true, + "values": [ + { + "name": "Invalid", + "value": "Invalid", + "description": "Value indicating the name provided does not match Azure NetApp Files naming requirements" + }, + { + "name": "AlreadyExists", + "value": "AlreadyExists", + "description": "Value indicating the name is already in use and is therefore unavailable" + } + ] + } + }, + "CheckElasticResourceAvailabilityResponse": { + "type": "object", + "description": "Information regarding availability of a resource.", + "properties": { + "isAvailable": { + "$ref": "#/definitions/CheckElasticResourceAvailabilityStatus", + "description": "True indicates name is valid and available. False indicates the name is invalid, unavailable, or both." + }, + "reason": { + "$ref": "#/definitions/CheckElasticResourceAvailabilityReason", + "description": "Invalid indicates the name provided does not match Azure NetApp Files naming requirements. AlreadyExists indicates that the name is already in use and is therefore unavailable." + }, + "message": { + "type": "string", + "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." + } + } + }, + "CheckElasticResourceAvailabilityStatus": { + "type": "string", + "description": "Availability status", + "enum": [ + "True", + "False" + ], + "x-ms-enum": { + "name": "CheckElasticResourceAvailabilityStatus", + "modelAsString": true, + "values": [ + { + "name": "True", + "value": "True", + "description": "Value indicating the name is valid and available" + }, + { + "name": "False", + "value": "False", + "description": "Value indicating the the name is invalid, unavailable, or both." + } + ] + } + }, + "CheckElasticVolumeFilePathAvailabilityRequest": { + "type": "object", + "description": "File path availability request content - availability is based on the elastic volume filePath within the given elastic capacityPool.", + "properties": { + "filePath": { + "type": "string", + "description": "A unique file path for the volume. Used when creating mount targets. This needs to be unique within the elastic capacity pool.", + "minLength": 1, + "maxLength": 80, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-]{0,79}$" + } + }, + "required": [ + "filePath" + ] + }, + "CheckNameResourceTypes": { + "type": "string", + "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", + "Microsoft.NetApp/netAppAccounts/backupVaults/backups", + "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups" + ], + "x-ms-enum": { + "name": "CheckNameResourceTypes", + "modelAsString": true, + "values": [ + { + "name": "Microsoft.NetApp/netAppAccounts", + "value": "Microsoft.NetApp/netAppAccounts" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools", + "value": "Microsoft.NetApp/netAppAccounts/capacityPools" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "value": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots", + "value": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/backupVaults/backups", + "value": "Microsoft.NetApp/netAppAccounts/backupVaults/backups", + "description": "ANF Backup under a volume , deprecated, use `Microsoft.NetApp/netAppAccounts/backupVaults/backups` instead." + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups", + "value": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups", + "description": "ANF Backup under a Backup Vault" + } + ] + } + }, + "CheckQuotaNameResourceTypes": { + "type": "string", + "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", + "Microsoft.NetApp/netAppAccounts/backupVaults/backups", + "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups" + ], + "x-ms-enum": { + "name": "CheckQuotaNameResourceTypes", + "modelAsString": true, + "values": [ + { + "name": "Microsoft.NetApp/netAppAccounts", + "value": "Microsoft.NetApp/netAppAccounts" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools", + "value": "Microsoft.NetApp/netAppAccounts/capacityPools" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "value": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots", + "value": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/backupVaults/backups", + "value": "Microsoft.NetApp/netAppAccounts/backupVaults/backups", + "description": "ANF Backup under a volume , deprecated, use `Microsoft.NetApp/netAppAccounts/backupVaults/backups` instead." + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups", + "value": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups", + "description": "ANF Backup under a Backup Vault" + } + ] + } + }, + "CifsChangeNotifyState": { + "type": "string", + "description": "Flag indicating whether a CIFS change notification is enabled for the cache.", + "enum": [ + "Disabled", + "Enabled" + ], + "x-ms-enum": { + "name": "CifsChangeNotifyState", + "modelAsString": true, + "values": [ + { + "name": "Disabled", + "value": "Disabled", + "description": "CIFS change notification is disabled" + }, + { + "name": "Enabled", + "value": "Enabled", + "description": "CIFS change notification is enabled" + } + ] + } + }, + "CifsUser": { + "type": "object", + "description": "The effective CIFS username when accessing the volume data.", + "properties": { + "username": { + "type": "string", + "description": "The CIFS user's username" + } + } + }, + "ClusterPeerCommandResponse": { + "type": "object", + "description": "Information about cluster peering process", + "properties": { + "peerAcceptCommand": { + "type": "string", + "description": "A command that needs to be run on the external ONTAP to accept cluster peering. Will only be present if clusterPeeringStatus is pending" + } + } + }, + "CoolAccessRetrievalPolicy": { + "type": "string", + "description": "coolAccessRetrievalPolicy determines the data retrieval behavior from the cool tier to standard storage based on the read pattern for cool access enabled volumes. The possible values for this field are:\nDefault - Data will be pulled from cool tier to standard storage on random reads. This policy is the default.\nOnRead - All client-driven data read is pulled from cool tier to standard storage on both sequential and random reads.\nNever - No client-driven data is pulled from cool tier to standard storage.", + "enum": [ + "Default", + "OnRead", + "Never" + ], + "x-ms-enum": { + "name": "CoolAccessRetrievalPolicy", + "modelAsString": true, + "values": [ + { + "name": "Default", + "value": "Default" + }, + { + "name": "OnRead", + "value": "OnRead" + }, + { + "name": "Never", + "value": "Never" + } + ] + } + }, + "CoolAccessTieringPolicy": { + "type": "string", + "description": "coolAccessTieringPolicy determines which cold data blocks are moved to cool tier. The possible values for this field are: Auto - Moves cold user data blocks in both the Snapshot copies and the active file system to the cool tier tier. This policy is the default. SnapshotOnly - Moves user data blocks of the Volume Snapshot copies that are not associated with the active file system to the cool tier.", + "enum": [ + "Auto", + "SnapshotOnly" + ], + "x-ms-enum": { + "name": "CoolAccessTieringPolicy", + "modelAsString": true, + "values": [ + { + "name": "Auto", + "value": "Auto" + }, + { + "name": "SnapshotOnly", + "value": "SnapshotOnly" + } + ] + } + }, + "CredentialsStatus": { + "type": "string", + "description": "The bucket credentials status. There states:\n\n\"NoCredentialsSet\": Access and Secret key pair have not been generated.\n\"CredentialsExpired\": Access and Secret key pair have expired.\n\"Active\": The certificate has been installed and credentials are unexpired.", + "enum": [ + "NoCredentialsSet", + "CredentialsExpired", + "Active" + ], + "x-ms-enum": { + "name": "CredentialsStatus", + "modelAsString": true, + "values": [ + { + "name": "NoCredentialsSet", + "value": "NoCredentialsSet", + "description": "Access and Secret key pair have not been generated." + }, + { + "name": "CredentialsExpired", + "value": "CredentialsExpired", + "description": "Access and Secret key pair have expired." + }, + { + "name": "Active", + "value": "Active", + "description": "The certificate has been installed on the bucket server and the bucket credentials are unexpired." + } + ] + } + }, + "DailySchedule": { + "type": "object", + "description": "Daily Schedule properties", + "properties": { + "snapshotsToKeep": { + "type": "integer", + "format": "int32", + "description": "Daily snapshot count to keep" + }, + "hour": { + "type": "integer", + "format": "int32", + "description": "Indicates which hour in UTC timezone a snapshot should be taken" + }, + "minute": { + "type": "integer", + "format": "int32", + "description": "Indicates which minute snapshot should be taken" + }, + "usedBytes": { + "type": "integer", + "format": "int64", + "description": "Resource size in bytes, current storage usage for the volume in bytes" + } + } + }, + "DayOfWeek": { + "type": "string", + "description": "Day of the week", + "enum": [ + "Sunday", + "Monday", + "Tuesday", + "Wednesday", + "Thursday", + "Friday", + "Saturday" + ], + "x-ms-enum": { + "name": "DayOfWeek", + "modelAsString": true, + "values": [ + { + "name": "Sunday", + "value": "Sunday", + "description": "Take a snapshot each Sunday" + }, + { + "name": "Monday", + "value": "Monday", + "description": "Take a snapshot each Monday" + }, + { + "name": "Tuesday", + "value": "Tuesday", + "description": "Take a snapshot each Tuesday" + }, + { + "name": "Wednesday", + "value": "Wednesday", + "description": "Take a snapshot each Wednesday" + }, + { + "name": "Thursday", + "value": "Thursday", + "description": "Take a snapshot each Thursday" + }, + { + "name": "Friday", + "value": "Friday", + "description": "Take a snapshot each Friday" + }, + { + "name": "Saturday", + "value": "Saturday", + "description": "Take a snapshot each Saturday" + } + ] + } + }, + "DesiredRansomwareProtectionState": { + "type": "string", + "description": "The desired state of the Advanced Ransomware Protection feature", + "enum": [ + "Disabled", + "Enabled" + ], + "x-ms-enum": { + "name": "DesiredRansomwareProtectionState", + "modelAsString": true, + "values": [ + { + "name": "Disabled", + "value": "Disabled", + "description": "Advanced Ransomware Protection is disabled" + }, + { + "name": "Enabled", + "value": "Enabled", + "description": "Advanced Ransomware Protection is enabled" + } + ] + } + }, + "DestinationReplication": { + "type": "object", + "description": "Destination replication properties", + "properties": { + "resourceId": { + "type": "string", + "format": "arm-id", + "description": "The resource ID of the remote volume", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes" + } + ] + } + }, + "replicationType": { + "$ref": "#/definitions/ReplicationType", + "description": "Indicates whether the replication is cross zone or cross region." + }, + "region": { + "type": "string", + "description": "The remote region for the destination volume." + }, + "zone": { + "type": "string", + "description": "The remote zone for the destination volume." + } + } + }, + "Dimension": { + "type": "object", + "description": "Dimension of blobs, possibly be blob type or access tier.", + "properties": { + "name": { + "type": "string", + "description": "Display name of dimension." + }, + "displayName": { + "type": "string", + "description": "Display name of dimension." + } + } + }, + "ElasticAccount": { + "type": "object", + "description": "NetApp elastic account resource", + "properties": { + "properties": { + "$ref": "#/definitions/ElasticAccountProperties", + "description": "The resource-specific properties for this resource." + }, + "eTag": { + "type": "string", + "description": "If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.", + "readOnly": true + }, + "identity": { + "$ref": "../../../../../../common-types/resource-management/v6/managedidentity.json#/definitions/ManagedServiceIdentity", + "description": "The managed service identities assigned to this resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" + } + ] + }, + "ElasticAccountListResult": { + "type": "object", + "description": "The response of a ElasticAccount list operation.", + "properties": { + "value": { + "type": "array", + "description": "The ElasticAccount items on this page", + "items": { + "$ref": "#/definitions/ElasticAccount" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ElasticAccountProperties": { + "type": "object", + "description": "NetApp elastic account properties", + "properties": { + "provisioningState": { + "$ref": "#/definitions/NetAppProvisioningState", + "description": "Azure lifecycle management.", + "readOnly": true + }, + "encryption": { + "$ref": "#/definitions/ElasticEncryption", + "description": "Encryption settings" + } + } + }, + "ElasticAccountUpdate": { + "type": "object", + "description": "The type used for update operations of the ElasticAccount.", + "properties": { + "identity": { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.ManagedServiceIdentityUpdate", + "description": "The managed service identities assigned to this resource." + }, + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + }, + "properties": { + "$ref": "#/definitions/ElasticAccountUpdateProperties", + "description": "The resource-specific properties for this resource." + } + } + }, + "ElasticAccountUpdateProperties": { + "type": "object", + "description": "The updatable properties of the ElasticAccount.", + "properties": { + "encryption": { + "$ref": "#/definitions/ElasticEncryption", + "description": "Encryption settings" + } + } + }, + "ElasticBackup": { + "type": "object", + "description": "NetApp Elastic Backup under an elastic Backup Vault", + "properties": { + "properties": { + "$ref": "#/definitions/ElasticBackupProperties", + "description": "The resource-specific properties for this resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + ] + }, + "ElasticBackupListResult": { + "type": "object", + "description": "The response of a ElasticBackup list operation.", + "properties": { + "value": { + "type": "array", + "description": "The ElasticBackup items on this page", + "items": { + "$ref": "#/definitions/ElasticBackup" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ElasticBackupPolicy": { + "type": "object", + "description": "NetApp Elastic Backup Policy resource", + "properties": { + "properties": { + "$ref": "#/definitions/ElasticBackupPolicyProperties", + "description": "The resource-specific properties for this resource." + }, + "eTag": { + "type": "string", + "description": "If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" + } + ] + }, + "ElasticBackupPolicyListResult": { + "type": "object", + "description": "The response of a ElasticBackupPolicy list operation.", + "properties": { + "value": { + "type": "array", + "description": "The ElasticBackupPolicy items on this page", + "items": { + "$ref": "#/definitions/ElasticBackupPolicy" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ElasticBackupPolicyProperties": { + "type": "object", + "description": "Elastic Backup Policy properties", + "properties": { + "provisioningState": { + "$ref": "#/definitions/NetAppProvisioningState", + "description": "Azure lifecycle management.", + "readOnly": true + }, + "dailyBackupsToKeep": { + "type": "integer", + "format": "int32", + "description": "Daily backups count to keep", + "minimum": 2, + "maximum": 1017 + }, + "weeklyBackupsToKeep": { + "type": "integer", + "format": "int32", + "description": "Weekly backups count to keep", + "minimum": 0, + "maximum": 1019 + }, + "monthlyBackupsToKeep": { + "type": "integer", + "format": "int32", + "description": "Monthly backups count to keep", + "minimum": 0, + "maximum": 1019 + }, + "assignedVolumesCount": { + "type": "integer", + "format": "int32", + "description": "The number of volumes currently using this Backup Policy.", + "readOnly": true + }, + "policyState": { + "$ref": "#/definitions/ElasticBackupPolicyState", + "description": "The property to identify whether Backup Policy is enabled or not" + } + } + }, + "ElasticBackupPolicyState": { + "type": "string", + "description": "Elastic Backup Policy state", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "ElasticBackupPolicyState", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled", + "description": "Value indicating the policy is enabled" + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "Value indicating the policy is disabled" + } + ] + } + }, + "ElasticBackupPolicyUpdate": { + "type": "object", + "description": "NetApp Elastic Backup Policy resource", + "properties": { + "properties": { + "$ref": "#/definitions/ElasticBackupPolicyProperties", + "description": "The resource-specific properties for this resource." + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, + "ElasticBackupProperties": { + "type": "object", + "description": "Elastic Backup properties", + "properties": { + "creationDate": { + "type": "string", + "format": "date-time", + "description": "The creation date of the backup", + "readOnly": true + }, + "snapshotCreationDate": { + "type": "string", + "format": "date-time", + "description": "The snapshot creation date of the backup", + "readOnly": true + }, + "completionDate": { + "type": "string", + "format": "date-time", + "description": "The completion date of the backup", + "readOnly": true + }, + "provisioningState": { + "$ref": "#/definitions/NetAppProvisioningState", + "description": "Azure lifecycle management.", + "readOnly": true + }, + "size": { + "type": "integer", + "format": "int64", + "description": "Size of backup in bytes", + "readOnly": true + }, + "label": { + "type": "string", + "description": "Label for backup" + }, + "backupType": { + "$ref": "#/definitions/ElasticBackupType", + "description": "Type of backup Manual or Scheduled", + "readOnly": true + }, + "failureReason": { + "type": "string", + "description": "Failure reason", + "readOnly": true + }, + "elasticVolumeResourceId": { + "type": "string", + "format": "arm-id", + "description": "ResourceId used to identify the Elastic Volume", + "x-ms-mutability": [ + "read", + "create" + ], + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.NetApp/elasticAccounts/elasticCapacityPools/elasticVolumes" + } + ] + } + }, + "snapshotUsage": { + "type": "string", + "description": "Manual backup using an already existing snapshot. This will always be CreateNewSnapshot for scheduled backups and UseExistingSnapshot/CreateNewSnapshot for manual backups", + "default": "CreateNewSnapshot", + "enum": [ + "UseExistingSnapshot", + "CreateNewSnapshot" + ], + "x-ms-enum": { + "name": "SnapshotUsage", + "modelAsString": true, + "values": [ + { + "name": "UseExistingSnapshot", + "value": "UseExistingSnapshot", + "description": "Value indicating an existing snapshot is used" + }, + { + "name": "CreateNewSnapshot", + "value": "CreateNewSnapshot", + "description": "Value indicating a new snapshot is created" + } + ] + }, + "x-ms-mutability": [ + "read", + "create" + ] + }, + "elasticSnapshotResourceId": { + "type": "string", + "format": "arm-id", + "description": "ResourceId used to identify the elastic snapshot resource. This is required when an existing snapshot needs to be used for creating a manual backup", + "x-ms-mutability": [ + "read", + "create" + ], + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.NetApp/elasticAccounts/elasticCapacityPools/elasticVolumes/elasticSnapshots" + } + ] + } + }, + "elasticBackupPolicyResourceId": { + "type": "string", + "format": "arm-id", + "description": "ResourceId used to identify the elastic backup policy", + "readOnly": true, + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.NetApp/elasticAccounts/elasticBackupPolicies" + } + ] + } + }, + "volumeSize": { + "$ref": "#/definitions/VolumeSize", + "description": "Specifies if the backup is for a large volume.", + "readOnly": true + } + }, + "required": [ + "elasticVolumeResourceId" + ] + }, + "ElasticBackupPropertiesUpdate": { + "type": "object", + "description": "Elastic Backup properties", + "properties": { + "label": { + "type": "string", + "description": "Label for backup" + } + } + }, + "ElasticBackupType": { + "type": "string", + "description": "Type of backup", + "enum": [ + "Manual", + "Scheduled" + ], + "x-ms-enum": { + "name": "ElasticBackupType", + "modelAsString": true, + "values": [ + { + "name": "Manual", + "value": "Manual", + "description": "Manual backup type" + }, + { + "name": "Scheduled", + "value": "Scheduled", + "description": "Scheduled backup type" + } + ] + } + }, + "ElasticBackupUpdate": { + "type": "object", + "description": "NetApp Elastic Backup under an elastic Backup Vault", + "properties": { + "properties": { + "$ref": "#/definitions/ElasticBackupPropertiesUpdate", + "description": "The resource-specific properties for this resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + ] + }, + "ElasticBackupVault": { + "type": "object", + "description": "NetApp elastic backup vault resource", + "properties": { + "properties": { + "$ref": "#/definitions/ElasticBackupVaultProperties", + "description": "The resource-specific properties for this resource." + }, + "eTag": { + "type": "string", + "description": "If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" + } + ] + }, + "ElasticBackupVaultListResult": { + "type": "object", + "description": "The response of a ElasticBackupVault list operation.", + "properties": { + "value": { + "type": "array", + "description": "The ElasticBackupVault items on this page", + "items": { + "$ref": "#/definitions/ElasticBackupVault" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ElasticBackupVaultProperties": { + "type": "object", + "description": "Elastic Backup Vault properties", + "properties": { + "provisioningState": { + "$ref": "#/definitions/NetAppProvisioningState", + "description": "Azure lifecycle management.", + "readOnly": true + } + } + }, + "ElasticBackupVaultUpdate": { + "type": "object", + "description": "NetApp elastic backup vault resource", + "properties": { + "properties": { + "$ref": "#/definitions/ElasticBackupVaultProperties", + "description": "The resource-specific properties for this resource." + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, + "ElasticCapacityPool": { + "type": "object", + "description": "NetApp Elastic Capacity Pool resource", + "properties": { + "properties": { + "$ref": "#/definitions/ElasticCapacityPoolProperties", + "description": "The resource-specific properties for this resource." + }, + "eTag": { + "type": "string", + "description": "If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.", + "readOnly": true + }, + "zones": { + "type": "array", + "description": "The availability zones.", + "items": { + "type": "string" + }, + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" + } + ] + }, + "ElasticCapacityPoolListResult": { + "type": "object", + "description": "The response of a ElasticCapacityPool list operation.", + "properties": { + "value": { + "type": "array", + "description": "The ElasticCapacityPool items on this page", + "items": { + "$ref": "#/definitions/ElasticCapacityPool" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ElasticCapacityPoolProperties": { + "type": "object", + "description": "Elastic capacity pool properties", + "properties": { + "size": { + "type": "integer", + "format": "int64", + "description": "Provisioned size of the pool (in bytes). For zoneRedundant service level pool, value must be in the range 1TiB to 16TiB or 1TiB to 128TiB for supported region. Values expressed in bytes as multiples of 1TiB till 16TiB and in multiples of 8TiB from 24TiB to 128TiB. Pool size can't be shrunk once it is created.", + "minimum": 1099511627776, + "maximum": 140737488355330 + }, + "serviceLevel": { + "$ref": "#/definitions/ElasticServiceLevel", + "description": "The service level of the elastic capacity pool", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "provisioningState": { + "$ref": "#/definitions/NetAppProvisioningState", + "description": "Azure lifecycle management.", + "readOnly": true + }, + "encryption": { + "$ref": "#/definitions/ElasticEncryptionConfiguration", + "description": "Encryption settings" + }, + "totalThroughputMibps": { + "type": "number", + "format": "double", + "description": "Total throughput of the pool in MiB/s", + "readOnly": true + }, + "subnetResourceId": { + "type": "string", + "format": "arm-id", + "description": "The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/elasticVolumes, this is used by all the volumes within the pool", + "x-ms-mutability": [ + "read", + "create" + ], + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Network/virtualNetworks/subnets" + } + ] + } + }, + "currentZone": { + "type": "string", + "description": "Indicates the current zone of the pool. This can be changed for zoneRedundant service level pool with the changeZone action", + "minLength": 1, + "maxLength": 1, + "readOnly": true + }, + "availabilityStatus": { + "$ref": "#/definitions/ElasticResourceAvailabilityStatus", + "description": "Current availability status of the resource.", + "readOnly": true + }, + "activeDirectoryConfigResourceId": { + "type": "string", + "format": "arm-id", + "description": "The Azure Resource URI for an Active Directory configuration. This is used by all the SMB volumes within the pool", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Netapp/activeDirectoryConfigs" + } + ] + } + } + }, + "required": [ + "size", + "serviceLevel", + "subnetResourceId" + ] + }, + "ElasticCapacityPoolUpdate": { + "type": "object", + "description": "The type used for update operations of the ElasticCapacityPool.", + "properties": { + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + }, + "properties": { + "$ref": "#/definitions/ElasticCapacityPoolUpdateProperties", + "description": "The resource-specific properties for this resource." + } + } + }, + "ElasticCapacityPoolUpdateProperties": { + "type": "object", + "description": "The updatable properties of the ElasticCapacityPool.", + "properties": { + "size": { + "type": "integer", + "format": "int64", + "description": "Provisioned size of the pool (in bytes). For zoneRedundant service level pool, value must be in the range 1TiB to 16TiB or 1TiB to 128TiB for supported region. Values expressed in bytes as multiples of 1TiB till 16TiB and in multiples of 8TiB from 24TiB to 128TiB. Pool size can't be shrunk once it is created.", + "minimum": 1099511627776, + "maximum": 140737488355330 + }, + "encryption": { + "$ref": "#/definitions/ElasticEncryptionConfigurationUpdate", + "description": "Encryption settings" + }, + "activeDirectoryConfigResourceId": { + "type": "string", + "format": "arm-id", + "description": "The Azure Resource URI for an Active Directory configuration. This is used by all the SMB volumes within the pool", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Netapp/activeDirectoryConfigs" + } + ] + } + } + } + }, + "ElasticEncryption": { + "type": "object", + "description": "Encryption settings", + "properties": { + "keySource": { + "$ref": "#/definitions/KeySource", + "description": "The encryption keySource (provider). Possible values (case-insensitive): Microsoft.NetApp, Microsoft.KeyVault" + }, + "keyVaultProperties": { + "$ref": "#/definitions/ElasticKeyVaultProperties", + "description": "Properties provided by KeyVault. Applicable if keySource is 'Microsoft.KeyVault'." + }, + "identity": { + "$ref": "#/definitions/ElasticEncryptionIdentity", + "description": "Identity used to authenticate to KeyVault. Applicable if keySource is 'Microsoft.KeyVault'." + } + } + }, + "ElasticEncryptionConfiguration": { + "type": "object", + "description": "CMK Encryption Configuration", + "properties": { + "elasticPoolEncryptionKeySource": { + "$ref": "#/definitions/ElasticPoolEncryptionKeySource", + "description": "Pool Encryption Key Source." + }, + "keyVaultPrivateEndpointResourceId": { + "type": "string", + "format": "arm-id", + "description": "The resource ID of private endpoint for KeyVault. It must reside in the same VNET as the volume. Only applicable if encryptionKeySource = 'Microsoft.KeyVault'.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Network/privateEndpoints" + } + ] + } + } + }, + "required": [ + "elasticPoolEncryptionKeySource", + "keyVaultPrivateEndpointResourceId" + ] + }, + "ElasticEncryptionConfigurationUpdate": { + "type": "object", + "description": "CMK Encryption Configuration", + "properties": { + "elasticPoolEncryptionKeySource": { + "$ref": "#/definitions/ElasticPoolEncryptionKeySource", + "description": "Pool Encryption Key Source." + }, + "keyVaultPrivateEndpointResourceId": { + "type": "string", + "format": "arm-id", + "description": "The resource ID of private endpoint for KeyVault. It must reside in the same VNET as the volume. Only applicable if encryptionKeySource = 'Microsoft.KeyVault'.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Network/privateEndpoints" + } + ] + } + } + } + }, + "ElasticEncryptionIdentity": { + "type": "object", + "description": "Identity used to authenticate with key vault.", + "properties": { + "principalId": { + "type": "string", + "description": "The principal ID (object ID) of the identity used to authenticate with key vault. Read-only.", + "readOnly": true + }, + "userAssignedIdentity": { + "type": "string", + "format": "arm-id", + "description": "The ARM resource identifier of the user assigned identity used to authenticate with key vault. Applicable if identity.type has 'UserAssigned'. It should match key of identity.userAssignedIdentities.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedIdentity/userAssignedIdentities" + } + ] + } + } + } + }, + "ElasticExportPolicy": { + "type": "object", + "description": "Set of export policy rules", + "properties": { + "rules": { + "type": "array", + "description": "Export policy rule", + "items": { + "$ref": "#/definitions/ElasticExportPolicyRule" + }, + "x-ms-identifiers": [ + "ruleIndex" + ] + } + } + }, + "ElasticExportPolicyRule": { + "type": "object", + "description": "Elastic Volume Export Policy Rule", + "properties": { + "ruleIndex": { + "type": "integer", + "format": "int32", + "description": "Controls the priority of the export policy rule. When connecting to the volume the rule with the lowest index that applies to the connecting client is used", + "maximum": 5 + }, + "unixAccessRule": { + "type": "string", + "description": "Specifies the Unix file access level for the volume. It encompasses both read-only and read-write permissions. Additionally, NoAccess can be set to block all access to the volume", + "default": "NoAccess", + "enum": [ + "ReadOnly", + "ReadWrite", + "NoAccess" + ], + "x-ms-enum": { + "name": "ElasticUnixAccessRule", + "modelAsString": true, + "values": [ + { + "name": "ReadOnly", + "value": "ReadOnly", + "description": "Clients connecting with this rule will only have read access to the volume" + }, + { + "name": "ReadWrite", + "value": "ReadWrite", + "description": "Clients connecting with this rule will have full read and write access to the volume" + }, + { + "name": "NoAccess", + "value": "NoAccess", + "description": "Clients connecting with this rule will have no access to the volume" + } + ] + } + }, + "nfsv3": { + "type": "string", + "description": "Allows clients to access the volume with the NFSv3 protocol. Enable only for NFSv3 type volumes", + "default": "Disabled", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "ElasticNfsv3Access", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled", + "description": "Clients can connect to the volume using the NFSv3 protocol." + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "Clients can't connect to the volume using the NFSv3 protocol." + } + ] + } + }, + "nfsv4": { + "type": "string", + "description": "Allows clients to access the volume with at least NFSv4.1 protocol.", + "default": "Disabled", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "ElasticNfsv4Access", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled", + "description": "Clients can connect to the volume using the NFSv4 protocol." + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "Clients can't connect to the volume using the NFSv4 protocol." + } + ] + } + }, + "allowedClients": { + "type": "array", + "description": "Client ingress specification for the export policy as list of IPv4 CIDRs, IPv4 host addresses and host names.", + "items": { + "type": "string" + } + }, + "rootAccess": { + "type": "string", + "description": "Indicates whether root access to the volume is granted to clients affected by this rule", + "default": "Disabled", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "ElasticRootAccess", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled", + "description": "Root user access is enabled for clients affected by this rule" + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "Root user access is disabled for clients affected by this rule" + } + ] + } + } + } + }, + "ElasticKeyVaultProperties": { + "type": "object", + "description": "Properties of key vault.", + "properties": { + "keyVaultUri": { + "type": "string", + "format": "uri", + "description": "The Uri of KeyVault." + }, + "keyName": { + "type": "string", + "description": "The name of KeyVault key.", + "minLength": 1, + "maxLength": 127, + "pattern": "^[a-zA-Z0-9-]{1,127}$" + }, + "keyVaultResourceId": { + "type": "string", + "format": "arm-id", + "description": "The resource ID of KeyVault.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.KeyVault/vaults" + } + ] + } + }, + "status": { + "$ref": "#/definitions/ElasticKeyVaultStatus", + "description": "Status of the KeyVault connection.", + "readOnly": true + } + } + }, + "ElasticKeyVaultStatus": { + "type": "string", + "description": "KeyVault status", + "enum": [ + "Created", + "InUse", + "Deleted", + "Error", + "Updating" + ], + "x-ms-enum": { + "name": "ElasticKeyVaultStatus", + "modelAsString": true, + "values": [ + { + "name": "Created", + "value": "Created", + "description": "KeyVault connection created but not in use" + }, + { + "name": "InUse", + "value": "InUse", + "description": "KeyVault connection in use by SMB Volume" + }, + { + "name": "Deleted", + "value": "Deleted", + "description": "KeyVault connection Deleted" + }, + { + "name": "Error", + "value": "Error", + "description": "Error with the KeyVault connection" + }, + { + "name": "Updating", + "value": "Updating", + "description": "KeyVault connection Updating" + } + ] + } + }, + "ElasticMountTargetProperties": { + "type": "object", + "description": "Contains all the information needed to mount an elastic volume", + "properties": { + "ipAddress": { + "$ref": "#/definitions/Azure.Core.ipV4Address", + "description": "The mount target's IPv4 address, used to mount the volume", + "readOnly": true + }, + "smbServerFqdn": { + "type": "string", + "description": "The SMB server's Fully Qualified Domain Name, FQDN", + "readOnly": true + } + } + }, + "ElasticPoolEncryptionKeySource": { + "type": "string", + "description": "Pool Encryption Key Source.", + "enum": [ + "NetApp", + "KeyVault" + ], + "x-ms-enum": { + "name": "ElasticPoolEncryptionKeySource", + "modelAsString": true, + "values": [ + { + "name": "NetApp", + "value": "NetApp", + "description": "Represents the encryption key source of Elastic pool is Microsoft.NetApp" + }, + { + "name": "KeyVault", + "value": "KeyVault", + "description": "Represents the encryption key source of Elastic pool is Microsoft.KeyVault" + } + ] + } + }, + "ElasticProtocolType": { + "type": "string", + "description": "Protocol types for elastic volume", + "enum": [ + "NFSv3", + "NFSv4", + "SMB" + ], + "x-ms-enum": { + "name": "ElasticProtocolType", + "modelAsString": true, + "values": [ + { + "name": "NFSv3", + "value": "NFSv3", + "description": "NFSv3 protocol type" + }, + { + "name": "NFSv4", + "value": "NFSv4", + "description": "NFSv4 protocol type" + }, + { + "name": "SMB", + "value": "SMB", + "description": "SMB/CIFS protocol type" + } + ] + } + }, + "ElasticResourceAvailabilityStatus": { + "type": "string", + "description": "Current availability status of the resource.", + "enum": [ + "Online", + "Offline" + ], + "x-ms-enum": { + "name": "ElasticResourceAvailabilityStatus", + "modelAsString": true, + "values": [ + { + "name": "Online", + "value": "Online", + "description": "The resource is currently Online and accessible" + }, + { + "name": "Offline", + "value": "Offline", + "description": "The resource is currently Offline and not accessible" + } + ] + } + }, + "ElasticServiceLevel": { + "type": "string", + "description": "Service level for elastic capacity pool", + "enum": [ + "ZoneRedundant" + ], + "x-ms-enum": { + "name": "ElasticServiceLevel", + "modelAsString": true, + "values": [ + { + "name": "ZoneRedundant", + "value": "ZoneRedundant", + "description": "Zone redundant storage service level." + } + ] + } + }, + "ElasticSmbEncryption": { + "type": "string", + "description": "SMB encryption", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "ElasticSmbEncryption", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled", + "description": "Value indicating the SMB encryption is enabled" + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "Value indicating the SMB encryption is disabled" + } + ] + } + }, + "ElasticSmbPatchProperties": { + "type": "object", + "description": "SMB Patch Properties", + "properties": { + "smbEncryption": { + "$ref": "#/definitions/ElasticSmbEncryption", + "description": "Used to enable or disable encryption for in-flight SMB data volume. This flag can be modified during Elastic volume update operation as well. Only applicable for SMB protocol Elastic volumes." + } + } + }, + "ElasticSmbProperties": { + "type": "object", + "description": "SMB Properties", + "properties": { + "smbEncryption": { + "type": "string", + "description": "Used to enable or disable encryption for in-flight SMB data volume. This flag can be modified during Elastic volume update operation as well. Only applicable for SMB protocol Elastic volumes.", + "default": "Disabled", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "ElasticSmbEncryption", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled", + "description": "Value indicating the SMB encryption is enabled" + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "Value indicating the SMB encryption is disabled" + } + ] + } + } + } + }, + "ElasticSnapshot": { + "type": "object", + "description": "NetApp Elastic Snapshot under an Elastic Volume", + "properties": { + "properties": { + "$ref": "#/definitions/ElasticSnapshotProperties", + "description": "The resource-specific properties for this resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + ] + }, + "ElasticSnapshotListResult": { + "type": "object", + "description": "The response of a ElasticSnapshot list operation.", + "properties": { + "value": { + "type": "array", + "description": "The ElasticSnapshot items on this page", + "items": { + "$ref": "#/definitions/ElasticSnapshot" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ElasticSnapshotPolicy": { + "type": "object", + "description": "NetApp Elastic Snapshot Policy under an Elastic Account", + "properties": { + "properties": { + "$ref": "#/definitions/ElasticSnapshotPolicyProperties", + "description": "The resource-specific properties for this resource." + }, + "eTag": { + "type": "string", + "description": "If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" + } + ] + }, + "ElasticSnapshotPolicyDailySchedule": { + "type": "object", + "description": "Daily Schedule properties used to create NetApp snapshot policy", + "properties": { + "snapshotsToKeep": { + "type": "integer", + "format": "int32", + "description": "Daily snapshot count to keep", + "minimum": 0, + "maximum": 255 + }, + "hour": { + "type": "integer", + "format": "int32", + "description": "Indicates which hour in UTC timezone a snapshot should be taken", + "minimum": 0, + "maximum": 23 + }, + "minute": { + "type": "integer", + "format": "int32", + "description": "Indicates which minute snapshot should be taken", + "minimum": 0, + "maximum": 59 + } + } + }, + "ElasticSnapshotPolicyHourlySchedule": { + "type": "object", + "description": "Hourly Schedule properties used to create NetApp snapshot policy", + "properties": { + "snapshotsToKeep": { + "type": "integer", + "format": "int32", + "description": "Hourly snapshot count to keep", + "minimum": 0, + "maximum": 255 + }, + "minute": { + "type": "integer", + "format": "int32", + "description": "Indicates which minute snapshot should be taken", + "minimum": 0, + "maximum": 59 + } + } + }, + "ElasticSnapshotPolicyListResult": { + "type": "object", + "description": "The response of a ElasticSnapshotPolicy list operation.", + "properties": { + "value": { + "type": "array", + "description": "The ElasticSnapshotPolicy items on this page", + "items": { + "$ref": "#/definitions/ElasticSnapshotPolicy" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ElasticSnapshotPolicyMonthlySchedule": { + "type": "object", + "description": "Monthly Schedule properties used to create NetApp snapshot policy", + "properties": { + "snapshotsToKeep": { + "type": "integer", + "format": "int32", + "description": "Monthly snapshot count to keep", + "minimum": 0, + "maximum": 255 + }, + "daysOfMonth": { + "type": "array", + "description": "Indicates which days of the month snapshot (1-31) should be taken, accepts a list of integers", + "items": { + "type": "integer", + "format": "int32" + } + }, + "hour": { + "type": "integer", + "format": "int32", + "description": "Indicates which hour in UTC timezone a snapshot should be taken", + "minimum": 0, + "maximum": 23 + }, + "minute": { + "type": "integer", + "format": "int32", + "description": "Indicates which minute snapshot should be taken", + "minimum": 0, + "maximum": 59 + } + } + }, + "ElasticSnapshotPolicyProperties": { + "type": "object", + "description": "Elastic Snapshot policy properties", + "properties": { + "hourlySchedule": { + "$ref": "#/definitions/ElasticSnapshotPolicyHourlySchedule", + "description": "Schedule for hourly snapshots" + }, + "dailySchedule": { + "$ref": "#/definitions/ElasticSnapshotPolicyDailySchedule", + "description": "Schedule for daily snapshots" + }, + "weeklySchedule": { + "$ref": "#/definitions/ElasticSnapshotPolicyWeeklySchedule", + "description": "Schedule for weekly snapshots" + }, + "monthlySchedule": { + "$ref": "#/definitions/ElasticSnapshotPolicyMonthlySchedule", + "description": "Schedule for monthly snapshots" + }, + "policyStatus": { + "$ref": "#/definitions/PolicyStatus", + "description": "Configures if the snapshot policy is enabled on the volumes connected to the policy." + }, + "provisioningState": { + "$ref": "#/definitions/NetAppProvisioningState", + "description": "Azure lifecycle management.", + "readOnly": true + } + } + }, + "ElasticSnapshotPolicyUpdate": { + "type": "object", + "description": "NetApp Elastic Snapshot Policy under an Elastic Account", + "properties": { + "properties": { + "$ref": "#/definitions/ElasticSnapshotPolicyProperties", + "description": "The resource-specific properties for this resource." + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, + "ElasticSnapshotPolicyVolumeList": { + "type": "object", + "description": "Elastic Volumes associated with Elastic Snapshot Policy", + "properties": { + "value": { + "type": "array", + "description": "The ElasticVolume items on this page", + "items": { + "$ref": "#/definitions/ElasticVolume" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ElasticSnapshotPolicyWeeklySchedule": { + "type": "object", + "description": "Weekly Schedule properties used to create NetApp snapshot policy", + "properties": { + "snapshotsToKeep": { + "type": "integer", + "format": "int32", + "description": "Weekly snapshot count to keep", + "minimum": 0, + "maximum": 255 + }, + "days": { + "type": "array", + "description": "Indicates which weekday(s) snapshot(s) should be taken, accepts a list of week day names in english", + "items": { + "$ref": "#/definitions/DayOfWeek" + } + }, + "hour": { + "type": "integer", + "format": "int32", + "description": "Indicates which hour in UTC timezone a snapshot should be taken", + "minimum": 0, + "maximum": 23 + }, + "minute": { + "type": "integer", + "format": "int32", + "description": "Indicates which minute snapshot should be taken", + "minimum": 0, + "maximum": 59 + } + } + }, + "ElasticSnapshotProperties": { + "type": "object", + "description": "Elastic Snapshot properties", + "properties": { + "provisioningState": { + "$ref": "#/definitions/NetAppProvisioningState", + "description": "Azure lifecycle management.", + "readOnly": true + } + } + }, + "ElasticVolume": { + "type": "object", + "description": "NetApp Elastic Volume resource", + "properties": { + "properties": { + "$ref": "#/definitions/ElasticVolumeProperties", + "description": "The resource-specific properties for this resource." + }, + "eTag": { + "type": "string", + "description": "If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.", + "readOnly": true + }, + "zones": { + "type": "array", + "description": "The availability zones.", + "items": { + "type": "string" + }, + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" + } + ] + }, + "ElasticVolumeBackupProperties": { + "type": "object", + "description": "Elastic Volume Backup Properties", + "properties": { + "elasticBackupPolicyResourceId": { + "type": "string", + "format": "arm-id", + "description": "ResourceId used to identify Elastic Backup Policy", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.NetApp/elasticAccounts/elasticBackupPolicies" + } + ] + } + }, + "policyEnforcement": { + "$ref": "#/definitions/ElasticVolumePolicyEnforcement", + "description": "The property to decide policy is enforced or not on the volume" + }, + "elasticBackupVaultResourceId": { + "type": "string", + "format": "arm-id", + "description": "ResourceId used to identify Elastic Backup Vault", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.NetApp/elasticAccounts/elasticBackupVaults" + } + ] + } + } + } + }, + "ElasticVolumeDataProtectionPatchProperties": { + "type": "object", + "description": "Data protection configuration option for updating the volume, including snapshot policies and backup.", + "properties": { + "snapshot": { + "$ref": "#/definitions/ElasticVolumeSnapshotProperties", + "description": "Used to apply a snapshot policy to a volume." + }, + "backup": { + "$ref": "#/definitions/ElasticVolumeBackupProperties", + "description": "Used to configure backups on an elastic volume." + } + } + }, + "ElasticVolumeDataProtectionProperties": { + "type": "object", + "description": "Data protection configuration option for the volume, including snapshot policies and backup.", + "properties": { + "snapshot": { + "$ref": "#/definitions/ElasticVolumeSnapshotProperties", + "description": "Used to apply a snapshot policy to a volume." + }, + "backup": { + "$ref": "#/definitions/ElasticVolumeBackupProperties", + "description": "Used to configure backups on an elastic volume." + } + } + }, + "ElasticVolumeListResult": { + "type": "object", + "description": "The response of a ElasticVolume list operation.", + "properties": { + "value": { + "type": "array", + "description": "The ElasticVolume items on this page", + "items": { + "$ref": "#/definitions/ElasticVolume" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ElasticVolumePolicyEnforcement": { + "type": "string", + "description": "Policy enforcement", + "enum": [ + "Enforced", + "NotEnforced" + ], + "x-ms-enum": { + "name": "ElasticVolumePolicyEnforcement", + "modelAsString": true, + "values": [ + { + "name": "Enforced", + "value": "Enforced", + "description": "Value indicating the policy is enforced on the volume." + }, + { + "name": "NotEnforced", + "value": "NotEnforced", + "description": "Value indicating the policy is not enforced on the volume." + } + ] + } + }, + "ElasticVolumeProperties": { + "type": "object", + "description": "Elastic Volume properties", + "properties": { + "filePath": { + "type": "string", + "description": "A unique file path for the volume. Used when creating mount targets. This needs to be unique within the elastic capacity pool.", + "minLength": 1, + "maxLength": 80, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-]{0,79}$", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "size": { + "type": "integer", + "format": "int64", + "description": "Maximum size allowed for a volume in bytes. Valid values are in the range 1GiB to 16TiB. Values expressed in bytes as multiples of 1 GiB.", + "minimum": 1073741824, + "maximum": 17592186044416 + }, + "exportPolicy": { + "$ref": "#/definitions/ElasticExportPolicy", + "description": "Set of export policy rules" + }, + "protocolTypes": { + "type": "array", + "description": "Set of support protocol types for the elastic volume", + "items": { + "$ref": "#/definitions/ElasticProtocolType" + } + }, + "provisioningState": { + "$ref": "#/definitions/NetAppProvisioningState", + "description": "Azure lifecycle management.", + "readOnly": true + }, + "availabilityStatus": { + "$ref": "#/definitions/ElasticResourceAvailabilityStatus", + "description": "Current availability status of the resource.", + "readOnly": true + }, + "snapshotResourceId": { + "type": "string", + "format": "arm-id", + "description": "Resource identifier used to identify the Elastic Snapshot.", + "x-ms-mutability": [ + "read", + "create" + ], + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.NetApp/elasticAccounts/elasticCapacityPools/elasticVolumes/elasticSnapshots" + } + ] + } + }, + "mountTargets": { + "type": "array", + "description": "List of mount targets that can be used to mount this volume", + "items": { + "$ref": "#/definitions/ElasticMountTargetProperties" + }, + "readOnly": true, + "x-ms-identifiers": [ + "ipAddress" + ] + }, + "dataProtection": { + "$ref": "#/definitions/ElasticVolumeDataProtectionProperties", + "description": "Data protection configuration option for the volume, including snapshot policies and backup." + }, + "snapshotDirectoryVisibility": { + "$ref": "#/definitions/SnapshotDirectoryVisibility", + "description": "Controls the visibility of the volume's read-only snapshot directory, which provides access to each of the volume's snapshots." + }, + "smbProperties": { + "$ref": "#/definitions/ElasticSmbProperties", + "description": "SMB Properties" + }, + "backupResourceId": { + "type": "string", + "format": "arm-id", + "description": "Resource identifier used to identify the Elastic Backup.", + "x-ms-mutability": [ + "read", + "create" + ], + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.NetApp/elasticAccounts/elasticBackupVaults/elasticBackups" + } + ] + } + }, + "restorationState": { + "$ref": "#/definitions/ElasticVolumeRestorationState", + "description": "The current state of the restoration process.", + "readOnly": true + } + }, + "required": [ + "filePath", + "size", + "protocolTypes" + ] + }, + "ElasticVolumeRestorationState": { + "type": "string", + "description": "The current state of the restoration process.", + "enum": [ + "Restoring", + "Restored", + "Failed" + ], + "x-ms-enum": { + "name": "ElasticVolumeRestorationState", + "modelAsString": true, + "values": [ + { + "name": "Restoring", + "value": "Restoring", + "description": "Value indicating that the volume is currently restoring." + }, + { + "name": "Restored", + "value": "Restored", + "description": "Value indicating that the volume is restored." + }, + { + "name": "Failed", + "value": "Failed", + "description": "Value indicating that the volume restore has failed." + } + ] + } + }, + "ElasticVolumeRevert": { + "type": "object", + "description": "Reverts the elastic volume to the specified snapshot.", + "properties": { + "snapshotResourceId": { + "type": "string", + "format": "arm-id", + "description": "Resource identifier used to identify the Elastic Snapshot.", + "x-ms-mutability": [ + "read", + "create" + ], + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.NetApp/elasticAccounts/elasticCapacityPools/elasticVolumes/elasticSnapshots" + } + ] + } + } + } + }, + "ElasticVolumeSnapshotProperties": { + "type": "object", + "description": "Elastic Volume Snapshot Properties", + "properties": { + "snapshotPolicyResourceId": { + "type": "string", + "format": "arm-id", + "description": "Snapshot Policy ResourceId", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.NetApp/elasticAccounts/elasticSnapshotPolicies" + } + ] + } + } + } + }, + "ElasticVolumeUpdate": { + "type": "object", + "description": "The type used for update operations of the ElasticVolume.", + "properties": { + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + }, + "properties": { + "$ref": "#/definitions/ElasticVolumeUpdateProperties", + "description": "The resource-specific properties for this resource." + } + } + }, + "ElasticVolumeUpdateProperties": { + "type": "object", + "description": "The updatable properties of the ElasticVolume.", + "properties": { + "size": { + "type": "integer", + "format": "int64", + "description": "Maximum size allowed for a volume in bytes. Valid values are in the range 1GiB to 16TiB. Values expressed in bytes as multiples of 1 GiB.", + "minimum": 1073741824, + "maximum": 17592186044416 + }, + "exportPolicy": { + "$ref": "#/definitions/ElasticExportPolicy", + "description": "Set of export policy rules" + }, + "dataProtection": { + "$ref": "#/definitions/ElasticVolumeDataProtectionPatchProperties", + "description": "Data protection configuration option for the volume, including snapshot policies and backup." + }, + "snapshotDirectoryVisibility": { + "$ref": "#/definitions/SnapshotDirectoryVisibility", + "description": "Controls the visibility of the volume's read-only snapshot directory, which provides access to each of the volume's snapshots." + }, + "smbProperties": { + "$ref": "#/definitions/ElasticSmbPatchProperties", + "description": "SMB Properties" + } + } + }, + "EnableWriteBackState": { + "type": "string", + "description": "Flag indicating whether writeback is enabled for the cache.", + "enum": [ + "Disabled", + "Enabled" + ], + "x-ms-enum": { + "name": "EnableWriteBackState", + "modelAsString": true, + "values": [ + { + "name": "Disabled", + "value": "Disabled", + "description": "Writeback cache is disabled" + }, + { + "name": "Enabled", + "value": "Enabled", + "description": "Writeback cache is enabled" + } + ] + } + }, + "EncryptionIdentity": { + "type": "object", + "description": "Identity used to authenticate with key vault.", + "properties": { + "principalId": { + "type": "string", + "description": "The principal ID (object ID) of the identity used to authenticate with key vault. Read-only.", + "readOnly": true + }, + "userAssignedIdentity": { + "type": "string", + "description": "The ARM resource identifier of the user assigned identity used to authenticate with key vault. Applicable if identity.type has 'UserAssigned'. It should match key of identity.userAssignedIdentities." + }, + "federatedClientId": { + "type": "string", + "description": "ClientId of the multi-tenant AAD Application. Used to access cross-tenant keyvaults." + } + } + }, + "EncryptionKeySource": { + "type": "string", + "description": "Source of key used to encrypt data in volume. Applicable if NetApp account has encryption.keySource = 'Microsoft.KeyVault'. Possible values (case-insensitive) are: 'Microsoft.NetApp, Microsoft.KeyVault'", + "enum": [ + "Microsoft.NetApp", + "Microsoft.KeyVault" + ], + "x-ms-enum": { + "name": "EncryptionKeySource", + "modelAsString": true, + "values": [ + { + "name": "Microsoft.NetApp", + "value": "Microsoft.NetApp", + "description": "Microsoft-managed key encryption" + }, + { + "name": "Microsoft.KeyVault", + "value": "Microsoft.KeyVault", + "description": "Customer-managed key encryption" + } + ] + } + }, + "EncryptionState": { + "type": "string", + "description": "Specifies if the cache is encryption or not.", + "enum": [ + "Disabled", + "Enabled" + ], + "x-ms-enum": { + "name": "EncryptionState", + "modelAsString": true, + "values": [ + { + "name": "Disabled", + "value": "Disabled", + "description": "Encryption is disabled" + }, + { + "name": "Enabled", + "value": "Enabled", + "description": "Encryption is enabled" + } + ] + } + }, + "EncryptionTransitionRequest": { + "type": "object", + "description": "Encryption transition request", + "properties": { + "virtualNetworkId": { + "type": "string", + "format": "arm-id", + "description": "Identifier for the virtual network", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Network/virtualNetworks" + } + ] + } + }, + "privateEndpointId": { + "type": "string", + "format": "arm-id", + "description": "Identifier of the private endpoint to reach the Azure Key Vault", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Network/privateEndpoints" + } + ] + } + } + }, + "required": [ + "virtualNetworkId", + "privateEndpointId" + ] + }, + "EndpointType": { + "type": "string", + "description": "Indicates whether the local volume is the source or destination for the Volume Replication", + "enum": [ + "src", + "dst" + ], + "x-ms-enum": { + "name": "EndpointType", + "modelAsString": true, + "values": [ + { + "name": "src", + "value": "src" + }, + { + "name": "dst", + "value": "dst" + } + ] + } + }, + "ExportPolicyRule": { + "type": "object", + "description": "Volume Export Policy Rule", + "properties": { + "ruleIndex": { + "type": "integer", + "format": "int32", + "description": "Order index" + }, + "unixReadOnly": { + "type": "boolean", + "description": "Read only access" + }, + "unixReadWrite": { + "type": "boolean", + "description": "Read and write access" + }, + "kerberos5ReadOnly": { + "type": "boolean", + "description": "Kerberos5 Read only access. To be use with swagger version 2020-05-01 or later", + "default": false + }, + "kerberos5ReadWrite": { + "type": "boolean", + "description": "Kerberos5 Read and write access. To be use with swagger version 2020-05-01 or later", + "default": false + }, + "kerberos5iReadOnly": { + "type": "boolean", + "description": "Kerberos5i Read only access. To be use with swagger version 2020-05-01 or later", + "default": false, + "x-ms-client-name": "kerberos5IReadOnly" + }, + "kerberos5iReadWrite": { + "type": "boolean", + "description": "Kerberos5i Read and write access. To be use with swagger version 2020-05-01 or later", + "default": false, + "x-ms-client-name": "kerberos5IReadWrite" + }, + "kerberos5pReadOnly": { + "type": "boolean", + "description": "Kerberos5p Read only access. To be use with swagger version 2020-05-01 or later", + "default": false, + "x-ms-client-name": "kerberos5PReadOnly" + }, + "kerberos5pReadWrite": { + "type": "boolean", + "description": "Kerberos5p Read and write access. To be use with swagger version 2020-05-01 or later", + "default": false, + "x-ms-client-name": "kerberos5PReadWrite" + }, + "cifs": { + "type": "boolean", + "description": "Allows CIFS protocol" + }, + "nfsv3": { + "type": "boolean", + "description": "Allows NFSv3 protocol. Enable only for NFSv3 type volumes" + }, + "nfsv41": { + "type": "boolean", + "description": "Allows NFSv4.1 protocol. Enable only for NFSv4.1 type volumes" + }, + "allowedClients": { + "type": "string", + "description": "Client ingress specification as comma separated string with IPv4 CIDRs, IPv4 host addresses and host names" + }, + "hasRootAccess": { + "type": "boolean", + "description": "Has root access to volume", + "default": true + }, + "chownMode": { + "type": "string", + "description": "This parameter specifies who is authorized to change the ownership of a file. restricted - Only root user can change the ownership of the file. unrestricted - Non-root users can change ownership of files that they own.", + "default": "Restricted", + "enum": [ + "Restricted", + "Unrestricted" + ], + "x-ms-enum": { + "name": "ChownMode", + "modelAsString": true, + "values": [ + { + "name": "Restricted", + "value": "Restricted" + }, + { + "name": "Unrestricted", + "value": "Unrestricted" + } + ] + } + } + } + }, + "Extensions": { + "type": "string", + "description": "File extension with length constraints", + "minLength": 1, + "maxLength": 1024 + }, + "ExternalReplicationSetupStatus": { + "type": "string", + "description": "Property that only applies to external replications. Provides a machine-readable value for the status of the external replication setup.", + "enum": [ + "ClusterPeerRequired", + "ClusterPeerPending", + "VServerPeerRequired", + "ReplicationCreateRequired", + "NoActionRequired" + ], + "x-ms-enum": { + "name": "ExternalReplicationSetupStatus", + "modelAsString": true, + "values": [ + { + "name": "ClusterPeerRequired", + "value": "ClusterPeerRequired", + "description": "Your cluster needs to be peered by using the 'peerExternalCluster' action" + }, + { + "name": "ClusterPeerPending", + "value": "ClusterPeerPending", + "description": "The peering needs to be accepted on your cluster before the setup can proceed" + }, + { + "name": "VServerPeerRequired", + "value": "VServerPeerRequired", + "description": "Need to call 'authorizeExternalReplication' and accept the returned 'vserver peer accept' command on your cluster to finish setting up the external replication" + }, + { + "name": "ReplicationCreateRequired", + "value": "ReplicationCreateRequired", + "description": "Need to call 'authorizeExternalReplication' to finish setting up the external replication" + }, + { + "name": "NoActionRequired", + "value": "NoActionRequired", + "description": "External Replication setup is complete, you can now monitor the 'mirrorState' in the replication status for the health of the replication" + } + ] + } + }, + "FileName": { + "type": "string", + "minLength": 1, + "maxLength": 1024 + }, + "FilePathAvailabilityRequest": { + "type": "object", + "description": "File path availability request content - availability is based on the name and the subnetId.", + "properties": { + "name": { + "type": "string", + "description": "File path to verify." + }, + "subnetId": { + "type": "string", + "description": "The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes" + }, + "availabilityZone": { + "type": "string", + "description": "The Azure Resource logical availability zone which is used within zone mapping lookup for the subscription and region. The lookup will retrieve the physical zone where volume is placed.", + "x-nullable": true + } + }, + "required": [ + "name", + "subnetId" + ] + }, + "FileSystemUser": { + "type": "object", + "description": "File System user having access to volume data. For Unix, this is the user's uid and gid. For Windows, this is the user's username. Note that the Unix and Windows user details are mutually exclusive, meaning one or other must be supplied, but not both.", + "properties": { + "nfsUser": { + "$ref": "#/definitions/NfsUser", + "description": "The effective NFS User ID and Group ID when accessing the volume data." + }, + "cifsUser": { + "$ref": "#/definitions/CifsUser", + "description": "The effective CIFS username when accessing the volume data." + } + } + }, + "GetGroupIdListForLdapUserRequest": { + "type": "object", + "description": "Get group Id list for LDAP User request", + "properties": { + "username": { + "type": "string", + "description": "username is required to fetch the group to which user is part of", + "minLength": 1, + "maxLength": 255 + } + }, + "required": [ + "username" + ] + }, + "GetGroupIdListForLdapUserResponse": { + "type": "object", + "description": "Group Id list for Ldap user", + "properties": { + "groupIdsForLdapUser": { + "type": "array", + "description": "Group Id list", + "items": { + "type": "string" + } + } + } + }, + "GetKeyVaultStatusResponse": { + "type": "object", + "description": "Result of getKeyVaultStatus with information about how volumes under NetApp account are encrypted.", + "properties": { + "properties": { + "$ref": "#/definitions/GetKeyVaultStatusResponseProperties", + "description": "Represents the properties of the getKeyVaultStatus.", + "x-ms-client-flatten": true + } + } + }, + "GetKeyVaultStatusResponseProperties": { + "type": "object", + "description": "Properties which represents Change key vault status.", + "properties": { + "keyVaultUri": { + "type": "string", + "format": "uri", + "description": "The URI of the key vault/managed HSM that should be used for encryption." + }, + "keyName": { + "type": "string", + "description": "The name of the key that should be used for encryption." + }, + "keyVaultResourceId": { + "type": "string", + "format": "arm-id", + "description": "Azure resource ID of the key vault/managed HSM that should be used for encryption.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.KeyVault/vaults" + } + ] + } + }, + "keyVaultPrivateEndpoints": { + "type": "array", + "description": "Pairs of virtual network ID and private endpoint ID. Every virtual network that has volumes encrypted with customer-managed keys needs its own key vault private endpoint.", + "items": { + "$ref": "#/definitions/KeyVaultPrivateEndpoint" + }, + "x-ms-identifiers": [ + "virtualNetworkId" + ] + } + } + }, + "GlobalFileLockingState": { + "type": "string", + "description": "Flag indicating whether the global file lock is enabled for the cache.", + "enum": [ + "Disabled", + "Enabled" + ], + "x-ms-enum": { + "name": "GlobalFileLockingState", + "modelAsString": true, + "values": [ + { + "name": "Disabled", + "value": "Disabled", + "description": "Global file locking is disabled" + }, + { + "name": "Enabled", + "value": "Enabled", + "description": "Global file locking is enabled" + } + ] + } + }, + "HourlySchedule": { + "type": "object", + "description": "Hourly Schedule properties", + "properties": { + "snapshotsToKeep": { + "type": "integer", + "format": "int32", + "description": "Hourly snapshot count to keep" + }, + "minute": { + "type": "integer", + "format": "int32", + "description": "Indicates which minute snapshot should be taken" + }, + "usedBytes": { + "type": "integer", + "format": "int64", + "description": "Resource size in bytes, current storage usage for the volume in bytes" + } + } + }, + "InAvailabilityReasonType": { + "type": "string", + "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" + ], + "x-ms-enum": { + "name": "InAvailabilityReasonType", + "modelAsString": true, + "values": [ + { + "name": "Invalid", + "value": "Invalid" + }, + { + "name": "AlreadyExists", + "value": "AlreadyExists" + } + ] + } + }, + "KerberosState": { + "type": "string", + "description": "Describe if a cache is Kerberos enabled.", + "enum": [ + "Disabled", + "Enabled" + ], + "x-ms-enum": { + "name": "KerberosState", + "modelAsString": true, + "values": [ + { + "name": "Disabled", + "value": "Disabled", + "description": "Kerberos is disabled" + }, + { + "name": "Enabled", + "value": "Enabled", + "description": "Kerberos is enabled" + } + ] + } + }, + "KeySource": { + "type": "string", + "description": "The encryption keySource (provider). Possible values (case-insensitive): Microsoft.NetApp, Microsoft.KeyVault", + "enum": [ + "Microsoft.NetApp", + "Microsoft.KeyVault" + ], + "x-ms-enum": { + "name": "KeySource", + "modelAsString": true, + "values": [ + { + "name": "Microsoft.NetApp", + "value": "Microsoft.NetApp", + "description": "Microsoft-managed key encryption" + }, + { + "name": "Microsoft.KeyVault", + "value": "Microsoft.KeyVault", + "description": "Customer-managed key encryption" + } + ] + } + }, + "KeyVaultPrivateEndpoint": { + "type": "object", + "description": "Pairs of virtual network ID and private endpoint ID. Every virtual network that has volumes encrypted with customer-managed keys needs its own key vault private endpoint.", + "properties": { + "virtualNetworkId": { + "type": "string", + "format": "arm-id", + "description": "Identifier for the virtual network id", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Network/virtualNetworks" + } + ] + } + }, + "privateEndpointId": { + "type": "string", + "format": "arm-id", + "description": "Identifier of the private endpoint to reach the Azure Key Vault", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Network/privateEndpoints" + } + ] + } + } + } + }, + "KeyVaultProperties": { + "type": "object", + "description": "Properties of key vault.", + "properties": { + "keyVaultId": { + "type": "string", + "description": "UUID v4 used to identify the Azure Key Vault configuration", + "minLength": 36, + "maxLength": 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 + }, + "keyVaultUri": { + "type": "string", + "format": "uri", + "description": "The Uri of KeyVault." + }, + "keyName": { + "type": "string", + "description": "The name of KeyVault key." + }, + "keyVaultResourceId": { + "type": "string", + "format": "arm-id", + "description": "The resource ID of KeyVault.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.KeyVault/vaults" + } + ] + } + }, + "status": { + "$ref": "#/definitions/KeyVaultStatus", + "description": "Status of the KeyVault connection.", + "readOnly": true + } + }, + "required": [ + "keyVaultUri", + "keyName" + ] + }, + "KeyVaultStatus": { + "type": "string", + "description": "Status of the KeyVault connection.", + "enum": [ + "Created", + "InUse", + "Deleted", + "Error", + "Updating" + ], + "x-ms-enum": { + "name": "KeyVaultStatus", + "modelAsString": true, + "values": [ + { + "name": "Created", + "value": "Created", + "description": "KeyVault connection created but not in use" + }, + { + "name": "InUse", + "value": "InUse", + "description": "KeyVault connection in use by SMB Volume" + }, + { + "name": "Deleted", + "value": "Deleted", + "description": "KeyVault connection Deleted" + }, + { + "name": "Error", + "value": "Error", + "description": "Error with the KeyVault connection" + }, + { + "name": "Updating", + "value": "Updating", + "description": "KeyVault connection Updating" + } + ] + } + }, + "LargeVolumeType": { + "type": "string", + "description": "Specifies the type of the Large Volume. When set to 'LargeVolume', the large volume is created with standard configuration.\nIf it is set to 'ExtraLargeVolume7Dot2PiB', the extra large volume is created with higher capacity limit 7.2PiB with cool access enabled,\ndelivering higher capacity limit with lower costs.", + "enum": [ + "LargeVolume", + "PremExtraLargeVolume7Dot2PiB" + ], + "x-ms-enum": { + "name": "LargeVolumeType", + "modelAsString": true, + "values": [ + { + "name": "LargeVolume", + "value": "LargeVolume", + "description": "The large volume is created with standard configuration that provides standard performance and throughput." + }, + { + "name": "ExtraLargeVolume7Dot2PiB", + "value": "PremExtraLargeVolume7Dot2PiB", + "description": "The extra large volume is created with higher volume capacity limit 7.2PiB with cool access enabled, delivering higher capacity limit with lower costs" + } + ] + } + }, + "LdapConfiguration": { + "type": "object", + "description": "LDAP configuration", + "properties": { + "domain": { + "type": "string", + "description": "Name of the LDAP configuration domain", + "maxLength": 255, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9.-]{0,253}[a-zA-Z0-9]$" + }, + "ldapServers": { + "type": "array", + "description": "List of LDAP server IP addresses (IPv4 only) for the LDAP domain.", + "items": { + "type": "string" + } + }, + "ldapOverTLS": { + "type": "boolean", + "description": "Specifies whether or not the LDAP traffic needs to be secured via TLS." + }, + "serverCACertificate": { + "type": "string", + "format": "password", + "description": "When LDAP over SSL/TLS is enabled, the LDAP client is required to have base64 encoded ldap servers CA certificate.", + "minLength": 1, + "maxLength": 10240, + "x-ms-secret": true + }, + "certificateCNHost": { + "type": "string", + "description": "The CN host name used while generating the certificate, LDAP Over TLS requires the CN host name to create DNS host entry.", + "x-nullable": true + } + } + }, + "LdapSearchScopeOpt": { + "type": "object", + "description": "LDAP search scope", + "properties": { + "userDN": { + "type": "string", + "description": "This specifies the user DN, which overrides the base DN for user lookups.", + "maxLength": 255 + }, + "groupDN": { + "type": "string", + "description": "This specifies the group DN, which overrides the base DN for group lookups.", + "maxLength": 255 + }, + "groupMembershipFilter": { + "type": "string", + "description": "This specifies the custom LDAP search filter to be used when looking up group membership from LDAP server.", + "maxLength": 255 + } + } + }, + "LdapServerType": { + "type": "string", + "description": "The type of the LDAP server", + "enum": [ + "ActiveDirectory", + "OpenLDAP" + ], + "x-ms-enum": { + "name": "LdapServerType", + "modelAsString": true, + "values": [ + { + "name": "ActiveDirectory", + "value": "ActiveDirectory", + "description": "The volume should use Active Directory for LDAP connections." + }, + { + "name": "OpenLDAP", + "value": "OpenLDAP", + "description": "The volume should use OpenLDAP for LDAP connections." + } + ] + } + }, + "LdapState": { + "type": "string", + "description": "Specifies whether LDAP is enabled or not.", + "enum": [ + "Disabled", + "Enabled" + ], + "x-ms-enum": { + "name": "LdapState", + "modelAsString": true, + "values": [ + { + "name": "Disabled", + "value": "Disabled", + "description": "ldap is disabled." + }, + { + "name": "Enabled", + "value": "Enabled", + "description": "ldap is enabled" + } + ] + } + }, + "ListQuotaReportResponse": { + "type": "object", + "description": "Quota Report for volume", + "properties": { + "value": { + "type": "array", + "description": "List of quota reports", + "items": { + "$ref": "#/definitions/QuotaReport" + }, + "x-ms-identifiers": [] + } + } + }, + "ListReplications": { + "type": "object", + "description": "List Replications", + "properties": { + "value": { + "type": "array", + "description": "The Replication items on this page", + "items": { + "$ref": "#/definitions/Replication" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ListReplicationsRequest": { + "type": "object", + "description": "Body for the list replications endpoint. If supplied, the body will be used as a filter for example to exclude deleted replications. If omitted, the endpoint returns all replications", + "properties": { + "exclude": { + "type": "string", + "description": "Exclude Replications filter. 'None' returns all replications, 'Deleted' excludes deleted replications. Default is 'None'", + "default": "None", + "enum": [ + "None", + "Deleted" + ], + "x-ms-enum": { + "name": "Exclude", + "modelAsString": true, + "values": [ + { + "name": "None", + "value": "None", + "description": "'None' returns all replications" + }, + { + "name": "Deleted", + "value": "Deleted", + "description": "'Deleted' excludes deleted replications" + } + ] + } + } + } + }, + "LogSpecification": { + "type": "object", + "description": "Log Definition of a single resource metric.", + "properties": { + "name": { + "type": "string", + "description": "Name of log specification." + }, + "displayName": { + "type": "string", + "description": "Display name of log specification." + } + } + }, + "MetricAggregationType": { + "type": "string", + "enum": [ + "Average" + ], + "x-ms-enum": { + "name": "MetricAggregationType", + "modelAsString": true, + "values": [ + { + "name": "Average", + "value": "Average" + } + ] + } + }, + "MetricSpecification": { + "type": "object", + "description": "Metric specification of operation.", + "properties": { + "name": { + "type": "string", + "description": "Name of metric specification." + }, + "displayName": { + "type": "string", + "description": "Display name of metric specification." + }, + "displayDescription": { + "type": "string", + "description": "Display description of metric specification." + }, + "unit": { + "type": "string", + "description": "Unit could be Bytes or Count." + }, + "supportedAggregationTypes": { + "type": "array", + "description": "Support metric aggregation type.", + "items": { + "$ref": "#/definitions/MetricAggregationType" + } + }, + "supportedTimeGrainTypes": { + "type": "array", + "description": "The supported time grain types for the metrics.", + "items": { + "type": "string" + } + }, + "internalMetricName": { + "type": "string", + "description": "The internal metric name." + }, + "enableRegionalMdmAccount": { + "type": "boolean", + "description": "Whether or not the service is using regional MDM accounts." + }, + "sourceMdmAccount": { + "type": "string", + "description": "The source MDM account." + }, + "sourceMdmNamespace": { + "type": "string", + "description": "The source MDM namespace." + }, + "dimensions": { + "type": "array", + "description": "Dimensions of blobs, including blob type and access tier.", + "items": { + "$ref": "#/definitions/Dimension" + }, + "x-ms-identifiers": [ + "name" + ] + }, + "aggregationType": { + "type": "string", + "description": "Aggregation type could be Average." + }, + "fillGapWithZero": { + "type": "boolean", + "description": "The property to decide fill gap with zero or not." + }, + "category": { + "type": "string", + "description": "The category this metric specification belong to, could be Capacity." + }, + "resourceIdDimensionNameOverride": { + "type": "string", + "description": "Account Resource Id." + }, + "isInternal": { + "type": "boolean", + "description": "Whether the metric is internal." + } + } + }, + "MirrorState": { + "type": "string", + "description": "The status of the replication", + "enum": [ + "Uninitialized", + "Mirrored", + "Broken" + ], + "x-ms-enum": { + "name": "MirrorState", + "modelAsString": true, + "values": [ + { + "name": "Uninitialized", + "value": "Uninitialized" + }, + { + "name": "Mirrored", + "value": "Mirrored" + }, + { + "name": "Broken", + "value": "Broken" + } + ] + } + }, + "MonthlySchedule": { + "type": "object", + "description": "Monthly Schedule properties", + "properties": { + "snapshotsToKeep": { + "type": "integer", + "format": "int32", + "description": "Monthly snapshot count to keep" + }, + "daysOfMonth": { + "type": "string", + "description": "Indicates which days of the month snapshot should be taken. A comma delimited string." + }, + "hour": { + "type": "integer", + "format": "int32", + "description": "Indicates which hour in UTC timezone a snapshot should be taken" + }, + "minute": { + "type": "integer", + "format": "int32", + "description": "Indicates which minute snapshot should be taken" + }, + "usedBytes": { + "type": "integer", + "format": "int64", + "description": "Resource size in bytes, current storage usage for the volume in bytes" + } + } + }, + "MountTargetProperties": { + "type": "object", + "description": "Mount target properties", + "properties": { + "mountTargetId": { + "type": "string", + "description": "UUID v4 used to identify the MountTarget", + "minLength": 36, + "maxLength": 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 + }, + "fileSystemId": { + "type": "string", + "description": "UUID v4 used to identify the MountTarget", + "minLength": 36, + "maxLength": 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}$" + }, + "ipAddress": { + "type": "string", + "description": "The mount target's IPv4 address", + "readOnly": true + }, + "smbServerFqdn": { + "type": "string", + "description": "The SMB server's Fully Qualified Domain Name, FQDN" + } + }, + "required": [ + "fileSystemId" + ] + }, + "MultiAdStatus": { + "type": "string", + "description": "MultiAD Status for the account", + "enum": [ + "Disabled", + "Enabled" + ], + "x-ms-enum": { + "name": "MultiAdStatus", + "modelAsString": true, + "values": [ + { + "name": "Disabled", + "value": "Disabled", + "description": "Account is MultiAD disabled, Means its a SharedAD or SingleAD account." + }, + { + "name": "Enabled", + "value": "Enabled", + "description": "Account is MultiAD enabled" + } + ] + } + }, + "NetAppAccount": { + "type": "object", + "description": "NetApp account resource", + "properties": { + "properties": { + "$ref": "#/definitions/AccountProperties", + "description": "NetApp Account properties", + "x-ms-client-flatten": true + }, + "etag": { + "type": "string", + "description": "\"If etag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.\")", + "readOnly": true + }, + "identity": { + "$ref": "../../../../../../common-types/resource-management/v6/managedidentity.json#/definitions/ManagedServiceIdentity", + "description": "The managed service identities assigned to this resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" + } + ] + }, + "NetAppAccountList": { + "type": "object", + "description": "List of NetApp account resources", + "properties": { + "value": { + "type": "array", + "description": "The NetAppAccount items on this page", + "items": { + "$ref": "#/definitions/NetAppAccount" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "NetAppAccountPatch": { + "type": "object", + "description": "NetApp account patch resource", + "properties": { + "location": { + "type": "string", + "description": "Resource location" + }, + "id": { + "type": "string", + "description": "Resource Id", + "readOnly": true + }, + "name": { + "type": "string", + "description": "Resource name", + "readOnly": true + }, + "type": { + "type": "string", + "description": "Resource type", + "readOnly": true + }, + "tags": { + "type": "object", + "description": "Resource tags", + "additionalProperties": { + "type": "string" + } + }, + "properties": { + "$ref": "#/definitions/AccountProperties", + "description": "NetApp Account properties", + "x-ms-client-flatten": true + }, + "identity": { + "$ref": "../../../../../../common-types/resource-management/v6/managedidentity.json#/definitions/ManagedServiceIdentity", + "description": "The identity used for the resource." + } + } + }, + "NetAppProvisioningState": { + "type": "string", + "description": "Gets the status of the VolumeQuotaRule at the time the operation was called.", + "enum": [ + "Accepted", + "Creating", + "Patching", + "Updating", + "Deleting", + "Moving", + "Failed", + "Succeeded" + ], + "x-ms-enum": { + "name": "NetAppProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Accepted", + "value": "Accepted", + "description": "Resource has been Accepted" + }, + { + "name": "Creating", + "value": "Creating", + "description": "Resource is being Created" + }, + { + "name": "Patching", + "value": "Patching", + "description": "Resource is being Patched" + }, + { + "name": "Updating", + "value": "Updating", + "description": "Resource is updating" + }, + { + "name": "Deleting", + "value": "Deleting", + "description": "Resource is being Deleted" + }, + { + "name": "Moving", + "value": "Moving", + "description": "Resource is being Moved" + }, + { + "name": "Failed", + "value": "Failed", + "description": "Resource has Failed" + }, + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Resource has Succeeded" + } + ] + }, + "readOnly": true + }, + "NetworkSiblingSet": { + "type": "object", + "description": "Describes the contents of a network sibling set.", + "properties": { + "networkSiblingSetId": { + "type": "string", + "description": "Network Sibling Set ID for a group of volumes sharing networking resources in a subnet.", + "minLength": 36, + "maxLength": 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}$" + }, + "subnetId": { + "type": "string", + "format": "arm-id", + "description": "The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes. Example /subscriptions/subscriptionId/resourceGroups/resourceGroup/providers/Microsoft.Network/virtualNetworks/testVnet/subnets/{mySubnet}", + "x-ms-mutability": [ + "read", + "create" + ], + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Network/virtualNetworks/subnets" + } + ] + } + }, + "networkSiblingSetStateId": { + "type": "string", + "description": "Network sibling set state Id identifying the current state of the sibling set." + }, + "networkFeatures": { + "type": "string", + "description": "Network features available to the volume, or current state of update.", + "default": "Basic", + "enum": [ + "Basic", + "Standard", + "Basic_Standard", + "Standard_Basic" + ], + "x-ms-enum": { + "name": "NetworkFeatures", + "modelAsString": true, + "values": [ + { + "name": "Basic", + "value": "Basic", + "description": "Basic network features." + }, + { + "name": "Standard", + "value": "Standard", + "description": "Standard network features." + }, + { + "name": "Basic_Standard", + "value": "Basic_Standard", + "description": "Updating from Basic to Standard network features." + }, + { + "name": "Standard_Basic", + "value": "Standard_Basic", + "description": "Updating from Standard to Basic network features." + } + ] + } + }, + "provisioningState": { + "$ref": "#/definitions/NetworkSiblingSetProvisioningState", + "description": "Gets the status of the NetworkSiblingSet at the time the operation was called.", + "readOnly": true + }, + "nicInfoList": { + "type": "array", + "description": "List of NIC information", + "items": { + "$ref": "#/definitions/NicInfo" + }, + "x-ms-identifiers": [] + } + } + }, + "NetworkSiblingSetProvisioningState": { + "type": "string", + "description": "Gets the status of the NetworkSiblingSet at the time the operation was called.", + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "Updating" + ], + "x-ms-enum": { + "name": "NetworkSiblingSetProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded" + }, + { + "name": "Failed", + "value": "Failed" + }, + { + "name": "Canceled", + "value": "Canceled" + }, + { + "name": "Updating", + "value": "Updating" + } + ] + }, + "readOnly": true + }, + "NfsUser": { + "type": "object", + "description": "The effective NFS User ID and Group ID when accessing the volume data.", + "properties": { + "userId": { + "type": "integer", + "format": "int64", + "description": "The NFS user's UID" + }, + "groupId": { + "type": "integer", + "format": "int64", + "description": "The NFS user's GID" + } + } + }, + "NicInfo": { + "type": "object", + "description": "NIC information and list of volumes for which the NIC has the primary mount ip address.", + "properties": { + "ipAddress": { + "type": "string", + "description": "ipAddress", + "readOnly": true + }, + "volumeResourceIds": { + "type": "array", + "description": "Volume resource Ids", + "items": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes" + } + ] + } + } + } + } + }, + "Operation": { + "type": "object", + "description": "Microsoft.NetApp REST API operation definition.", + "properties": { + "name": { + "type": "string", + "description": "Operation name: {provider}/{resource}/{operation}" + }, + "display": { + "$ref": "#/definitions/OperationDisplay", + "description": "Display metadata associated with the operation." + }, + "origin": { + "type": "string", + "description": "The origin of operations." + }, + "properties": { + "$ref": "#/definitions/OperationProperties", + "description": "Properties of operation, include metric specifications.", + "x-ms-client-flatten": true + } + } + }, + "OperationDisplay": { + "type": "object", + "description": "Display metadata associated with the operation.", + "properties": { + "provider": { + "type": "string", + "description": "Service provider: Microsoft NetApp." + }, + "resource": { + "type": "string", + "description": "Resource on which the operation is performed etc." + }, + "operation": { + "type": "string", + "description": "Type of operation: get, read, delete, etc." + }, + "description": { + "type": "string", + "description": "Operation description." + } + } + }, + "OperationListResult": { + "type": "object", + "description": "A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results.", + "properties": { + "value": { + "type": "array", + "description": "The Operation items on this page", + "items": { + "$ref": "#/definitions/Operation" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "OperationProperties": { + "type": "object", + "description": "Properties of operation, include metric specifications.", + "properties": { + "serviceSpecification": { + "$ref": "#/definitions/ServiceSpecification", + "description": "One property of operation, include metric specifications." + } + } + }, + "OriginClusterInformation": { + "type": "object", + "description": "Stores the origin cluster information associated to a cache.", + "properties": { + "peerClusterName": { + "type": "string", + "description": "ONTAP cluster name of external cluster hosting the origin volume" + }, + "peerAddresses": { + "type": "array", + "description": "ONTAP Intercluster LIF IP addresses. One IP address per cluster node is required", + "minItems": 1, + "items": { + "type": "string" + } + }, + "peerVserverName": { + "type": "string", + "description": "External Vserver (SVM) name name of the SVM hosting the origin volume" + }, + "peerVolumeName": { + "type": "string", + "description": "External origin volume name associated to this cache" + } + }, + "required": [ + "peerClusterName", + "peerAddresses", + "peerVserverName", + "peerVolumeName" + ] + }, + "PeerClusterForVolumeMigrationRequest": { + "type": "object", + "description": "Source Cluster properties for a cluster peer request", + "properties": { + "peerIpAddresses": { + "type": "array", + "description": "A list of IC-LIF IPs that can be used to connect to the On-prem cluster", + "minItems": 1, + "items": { + "type": "string" + } + } + }, + "required": [ + "peerIpAddresses" + ] + }, + "PeeringPassphrases": { + "type": "object", + "description": "The response containing peering passphrases and commands for cluster and vserver peering.", + "properties": { + "clusterPeeringCommand": { + "type": "string", + "description": "The cluster peering command." + }, + "clusterPeeringPassphrase": { + "type": "string", + "description": "The cluster peering passphrase." + }, + "vserverPeeringCommand": { + "type": "string", + "description": "The vserver peering command." + } + }, + "required": [ + "clusterPeeringCommand", + "clusterPeeringPassphrase", + "vserverPeeringCommand" + ] + }, + "PlacementKeyValuePairs": { + "type": "object", + "description": "Application specific parameters for the placement of volumes in the volume group", + "properties": { + "key": { + "type": "string", + "description": "Key for an application specific parameter for the placement of volumes in the volume group" + }, + "value": { + "type": "string", + "description": "Value for an application specific parameter for the placement of volumes in the volume group" + } + }, + "required": [ + "key", + "value" + ] + }, + "PolicyStatus": { + "type": "string", + "description": "Policy status", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "PolicyStatus", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled", + "description": "Value indicating the policy is enabled" + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "Value indicating the policy is disabled" + } + ] + } + }, + "PoolChangeRequest": { + "type": "object", + "description": "Pool change request", + "properties": { + "newPoolResourceId": { + "type": "string", + "description": "Resource id of the pool to move volume to" + } + }, + "required": [ + "newPoolResourceId" + ] + }, + "PoolPatchProperties": { + "type": "object", + "description": "Patchable pool properties", + "properties": { + "size": { + "type": "integer", + "format": "int64", + "description": "Provisioned size of the pool (in bytes). Allowed values are in 1TiB chunks (value must be multiple of 1099511627776)." + }, + "qosType": { + "$ref": "#/definitions/QosType", + "description": "The qos type of the pool" + }, + "coolAccess": { + "type": "boolean", + "description": "If enabled (true) the pool can contain cool Access enabled volumes." + }, + "customThroughputMibps": { + "type": "integer", + "format": "int32", + "description": "Maximum throughput in MiB/s that can be achieved by this pool and this will be accepted as input only for manual qosType pool with Flexible service level", + "x-nullable": true + } + } + }, + "PoolProperties": { + "type": "object", + "description": "Pool properties", + "properties": { + "poolId": { + "type": "string", + "description": "UUID v4 used to identify the Pool", + "minLength": 36, + "maxLength": 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 + }, + "size": { + "type": "integer", + "format": "int64", + "description": "Provisioned size of the pool (in bytes). Allowed values are in 1TiB chunks (value must be multiple of 1099511627776).", + "default": 4398046511104 + }, + "serviceLevel": { + "type": "string", + "description": "The service level of the file system", + "default": "Premium", + "enum": [ + "Standard", + "Premium", + "Ultra", + "StandardZRS", + "Flexible" + ], + "x-ms-enum": { + "name": "ServiceLevel", + "modelAsString": true, + "values": [ + { + "name": "Standard", + "value": "Standard", + "description": "Standard service level" + }, + { + "name": "Premium", + "value": "Premium", + "description": "Premium service level" + }, + { + "name": "Ultra", + "value": "Ultra", + "description": "Ultra service level" + }, + { + "name": "StandardZRS", + "value": "StandardZRS", + "description": "Zone redundant storage service level. This will be deprecated soon." + }, + { + "name": "Flexible", + "value": "Flexible", + "description": "Flexible service level" + } + ] + } + }, + "provisioningState": { + "type": "string", + "description": "Azure lifecycle management", + "readOnly": true + }, + "totalThroughputMibps": { + "type": "number", + "format": "float", + "description": "Total throughput of pool in MiB/s", + "readOnly": true + }, + "utilizedThroughputMibps": { + "type": "number", + "format": "float", + "description": "Utilized throughput of pool in MiB/s", + "readOnly": true + }, + "customThroughputMibps": { + "type": "integer", + "format": "int32", + "description": "Maximum throughput in MiB/s that can be achieved by this pool and this will be accepted as input only for manual qosType pool with Flexible service level", + "x-nullable": true + }, + "qosType": { + "type": "string", + "description": "The qos type of the pool", + "default": "Auto", + "enum": [ + "Auto", + "Manual" + ], + "x-ms-enum": { + "name": "QosType", + "modelAsString": true, + "values": [ + { + "name": "Auto", + "value": "Auto", + "description": "qos type Auto" + }, + { + "name": "Manual", + "value": "Manual", + "description": "qos type Manual" + } + ] + } + }, + "coolAccess": { + "type": "boolean", + "description": "If enabled (true) the pool can contain cool Access enabled volumes.", + "default": false + }, + "encryptionType": { + "type": "string", + "description": "Encryption type of the capacity pool, set encryption type for data at rest for this pool and all volumes in it. This value can only be set when creating new pool.", + "default": "Single", + "enum": [ + "Single", + "Double" + ], + "x-ms-enum": { + "modelAsString": true, + "values": [ + { + "name": "Single", + "value": "Single", + "description": "EncryptionType Single, volumes will use single encryption at rest" + }, + { + "name": "Double", + "value": "Double", + "description": "EncryptionType Double, volumes will use double encryption at rest" + } + ] + }, + "x-nullable": true, + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "required": [ + "size", + "serviceLevel" + ] + }, + "ProtocolTypes": { + "type": "string", + "description": "Export policy rule", + "enum": [ + "NFSv3", + "NFSv4", + "SMB" + ], + "x-ms-enum": { + "name": "ProtocolTypes", + "modelAsString": true, + "values": [ + { + "name": "NFSv3", + "value": "NFSv3", + "description": "NFSv3 protocol type" + }, + { + "name": "NFSv4", + "value": "NFSv4", + "description": "NFSv4 protocol type" + }, + { + "name": "SMB", + "value": "SMB", + "description": "SMB protocol type" + } + ] + } + }, + "QosType": { + "type": "string", + "description": "The qos type of the pool", + "enum": [ + "Auto", + "Manual" + ], + "x-ms-enum": { + "name": "QosType", + "modelAsString": true, + "values": [ + { + "name": "Auto", + "value": "Auto", + "description": "qos type Auto" + }, + { + "name": "Manual", + "value": "Manual", + "description": "qos type Manual" + } + ] + } + }, + "QueryNetworkSiblingSetRequest": { + "type": "object", + "description": "Network sibling set query.", + "properties": { + "networkSiblingSetId": { + "type": "string", + "description": "Network Sibling Set ID for a group of volumes sharing networking resources in a subnet.", + "minLength": 36, + "maxLength": 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}$" + }, + "subnetId": { + "type": "string", + "format": "arm-id", + "description": "The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes. Example /subscriptions/subscriptionId/resourceGroups/resourceGroup/providers/Microsoft.Network/virtualNetworks/testVnet/subnets/{mySubnet}", + "x-ms-mutability": [ + "read", + "create" + ], + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Network/virtualNetworks/subnets" + } + ] + } + } + }, + "required": [ + "networkSiblingSetId", + "subnetId" + ] + }, + "QuotaAvailabilityRequest": { + "type": "object", + "description": "Quota availability request content.", + "properties": { + "name": { + "type": "string", + "description": "Name of the resource to verify." + }, + "type": { + "$ref": "#/definitions/CheckQuotaNameResourceTypes", + "description": "Resource type used for verification." + }, + "resourceGroup": { + "type": "string", + "description": "Resource group name." + } + }, + "required": [ + "name", + "type", + "resourceGroup" + ] + }, + "QuotaItem": { + "type": "object", + "description": "Information regarding Quota Item.", + "properties": { + "properties": { + "$ref": "#/definitions/QuotaItemProperties", + "description": "QuotaItem properties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + ] + }, + "QuotaItemList": { + "type": "object", + "description": "List of Quota Items", + "properties": { + "value": { + "type": "array", + "description": "The QuotaItem items on this page", + "items": { + "$ref": "#/definitions/QuotaItem" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "QuotaItemProperties": { + "type": "object", + "description": "QuotaItem Properties", + "properties": { + "current": { + "type": "integer", + "format": "int32", + "description": "The current quota value.", + "readOnly": true + }, + "default": { + "type": "integer", + "format": "int32", + "description": "The default quota value.", + "readOnly": true + }, + "usage": { + "type": "integer", + "format": "int32", + "description": "The usage quota value.", + "x-nullable": true, + "readOnly": true + } + } + }, + "QuotaReport": { + "type": "object", + "description": "Quota report record properties", + "properties": { + "quotaType": { + "$ref": "#/definitions/Type", + "description": "Type of quota" + }, + "quotaTarget": { + "type": "string", + "description": "UserID/GroupID/SID based on the quota target type. UserID and groupID can be found by running ‘id’ or ‘getent’ command for the user or group and SID can be found by running " + }, + "quotaLimitUsedInKiBs": { + "type": "integer", + "format": "int64", + "description": "Specifies the current usage in kibibytes for the user/group quota." + }, + "quotaLimitTotalInKiBs": { + "type": "integer", + "format": "int64", + "description": "Specifies the total size limit in kibibytes for the user/group quota." + }, + "percentageUsed": { + "type": "number", + "format": "float", + "description": "Percentage of used size compared to total size." + }, + "isDerivedQuota": { + "type": "boolean", + "description": "Flag to indicate whether the quota is derived from default quota." + } + } + }, + "RansomwareProtectionPatchSettings": { + "type": "object", + "description": "Advanced Ransomware Protection reports (ARP) updatable settings", + "properties": { + "desiredRansomwareProtectionState": { + "$ref": "#/definitions/DesiredRansomwareProtectionState", + "description": "The desired value of the ARP feature state available to the volume" + } + } + }, + "RansomwareProtectionSettings": { + "type": "object", + "description": "Advanced Ransomware Protection reports (ARP) settings", + "properties": { + "desiredRansomwareProtectionState": { + "$ref": "#/definitions/DesiredRansomwareProtectionState", + "description": "The desired value of the Advanced Ransomware Protection feature state available to the volume" + }, + "actualRansomwareProtectionState": { + "$ref": "#/definitions/ActualRansomwareProtectionState", + "description": "The actual state of the Advanced Ransomware Protection feature currently active on the volume", + "readOnly": true + } + } + }, + "RansomwareReport": { + "type": "object", + "description": "Advanced Ransomware Protection (ARP) report\nGet details of the specified Advanced Ransomware Protection report (ARP).\nARP reports are created with a list of suspected files when it detects any combination of high data entropy, abnormal volume activity with data encryption, and unusual file extensions.\nARP creates snapshots named Anti_ransomware_backup when it detects a potential ransomware threat. You can use one of these ARP snapshots or another snapshot of your volume to restore data.", + "properties": { + "properties": { + "$ref": "#/definitions/RansomwareReportProperties", + "description": "Advanced Ransomware Protection reports Properties" + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + ] + }, + "RansomwareReportProperties": { + "type": "object", + "description": "Advanced Ransomware Protection (ARP) report properties.\n\nEvaluate the report to determine whether the activity is acceptable (false positive) or whether an attack seems malicious using the ClearSuspects operation.\n\nAdvanced Ransomware Protection (ARP) creates snapshots named Anti_ransomware_backup when it detects a potential ransomware threat. You can use one of the ARP snapshots or another snapshot of your volume to restore data.", + "properties": { + "eventTime": { + "type": "string", + "format": "date-time", + "description": "The creation date and time of the report", + "readOnly": true + }, + "state": { + "$ref": "#/definitions/RansomwareReportState", + "description": "State of the Advanced Ransomware Protection (ARP) report", + "readOnly": true + }, + "severity": { + "$ref": "#/definitions/RansomwareReportSeverity", + "description": "Severity of the Advanced Ransomware Protection (ARP) report", + "readOnly": true + }, + "clearedCount": { + "type": "integer", + "format": "int32", + "description": "The number of cleared suspects identified by the ARP report", + "readOnly": true + }, + "reportedCount": { + "type": "integer", + "format": "int32", + "description": "The number of suspects identified by the ARP report", + "readOnly": true + }, + "suspects": { + "type": "array", + "description": "Suspects identified in an ARP report", + "items": { + "$ref": "#/definitions/RansomwareSuspects" + }, + "readOnly": true, + "x-ms-identifiers": [ + "extension" + ] + }, + "provisioningState": { + "type": "string", + "description": "Azure lifecycle management", + "readOnly": true + } + } + }, + "RansomwareReportSeverity": { + "type": "string", + "description": "Severity of the Advanced Ransomware Protection (ARP) report", + "enum": [ + "None", + "Low", + "Moderate", + "High" + ], + "x-ms-enum": { + "name": "RansomwareReportSeverity", + "modelAsString": true, + "values": [ + { + "name": "None", + "value": "None", + "description": "No data is suspected for ransomware activity" + }, + { + "name": "Low", + "value": "Low", + "description": "Low attack probability" + }, + { + "name": "Moderate", + "value": "Moderate", + "description": "Moderate attack probability" + }, + { + "name": "High", + "value": "High", + "description": "High amount of data is suspected for ransomware activity" + } + ] + } + }, + "RansomwareReportState": { + "type": "string", + "description": "State of the Advanced Ransomware Protection (ARP) report", + "enum": [ + "Active", + "Resolved" + ], + "x-ms-enum": { + "name": "RansomwareReportState", + "modelAsString": true, + "values": [ + { + "name": "Active", + "value": "Active", + "description": "The ARP report has been created. Take action by running clearsuspects marking suspects as FalsePositive or PotentialThreats" + }, + { + "name": "Resolved", + "value": "Resolved", + "description": "The ARP Report has been resolved" + } + ] + } + }, + "RansomwareReportsList": { + "type": "object", + "description": "List of Advanced Ransomware Protection (ARP) reports", + "properties": { + "value": { + "type": "array", + "description": "The RansomwareReport items on this page", + "items": { + "$ref": "#/definitions/RansomwareReport" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "RansomwareSuspectResolution": { + "type": "string", + "description": "ARP report suspect resolution", + "enum": [ + "PotentialThreat", + "FalsePositive" + ], + "x-ms-enum": { + "name": "RansomwareSuspectResolution", + "modelAsString": true, + "values": [ + { + "name": "PotentialThreat", + "value": "PotentialThreat", + "description": "The identified file type is unexpected in your workload and should be treated as a potential attack" + }, + { + "name": "FalsePositive", + "value": "FalsePositive", + "description": "The identified file type is expected in your workload and can be ignored" + } + ] + } + }, + "RansomwareSuspects": { + "type": "object", + "description": "List of suspects identified in an Advanced Ransomware Protection (ARP) report", + "properties": { + "extension": { + "type": "string", + "description": "Suspect File extension", + "readOnly": true + }, + "resolution": { + "$ref": "#/definitions/RansomwareSuspectResolution", + "description": "ARP report suspect resolution", + "readOnly": true + }, + "fileCount": { + "type": "integer", + "format": "int32", + "description": "The number of suspect files at the time of ARP report, this number can change as files get created and report status progresses", + "readOnly": true + }, + "suspectFiles": { + "type": "array", + "description": "Suspect files", + "items": { + "$ref": "#/definitions/SuspectFile" + }, + "readOnly": true, + "x-ms-identifiers": [ + "suspectFileName" + ] + } + } + }, + "RansomwareSuspectsClearRequest": { + "type": "object", + "description": "Clear suspects for Advanced Ransomware Protection (ARP) report", + "properties": { + "resolution": { + "$ref": "#/definitions/RansomwareSuspectResolution", + "description": "ARP report suspect resolution" + }, + "extensions": { + "type": "array", + "description": "List of file extensions resolved (PotentialThreat or FalsePositive)", + "minItems": 1, + "items": { + "$ref": "#/definitions/Extensions" + } + } + }, + "required": [ + "resolution", + "extensions" + ] + }, + "ReestablishReplicationRequest": { + "type": "object", + "description": "Re-establish request object supplied in the body of the operation.", + "properties": { + "sourceVolumeId": { + "type": "string", + "description": "Resource id of the source volume for the replication" + } + } + }, + "RegionInfo": { + "type": "object", + "description": "Provides region specific information.", + "properties": { + "storageToNetworkProximity": { + "$ref": "#/definitions/RegionStorageToNetworkProximity", + "description": "Provides storage to network proximity information in the region." + }, + "availabilityZoneMappings": { + "type": "array", + "description": "Provides logical availability zone mappings for the subscription for a region.", + "items": { + "$ref": "#/definitions/RegionInfoAvailabilityZoneMappingsItem" + }, + "x-ms-identifiers": [ + "availabilityZone" + ] + } + } + }, + "RegionInfoAvailabilityZoneMappingsItem": { + "type": "object", + "properties": { + "availabilityZone": { + "type": "string", + "description": "Logical availability zone." + }, + "isAvailable": { + "type": "boolean", + "description": "Available availability zone" + } + } + }, + "RegionInfoResource": { + "type": "object", + "description": "Information regarding regionInfo Item.", + "properties": { + "properties": { + "$ref": "#/definitions/RegionInfo", + "description": "regionInfo properties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + ] + }, + "RegionInfosList": { + "type": "object", + "description": "List of regionInfo resources", + "properties": { + "value": { + "type": "array", + "description": "The RegionInfoResource items on this page", + "items": { + "$ref": "#/definitions/RegionInfoResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "RegionStorageToNetworkProximity": { + "type": "string", + "description": "Provides storage to network proximity information in the region.", + "enum": [ + "Default", + "T1", + "T2", + "AcrossT2", + "T1AndT2", + "T1AndAcrossT2", + "T2AndAcrossT2", + "T1AndT2AndAcrossT2" + ], + "x-ms-enum": { + "name": "RegionStorageToNetworkProximity", + "modelAsString": true, + "values": [ + { + "name": "Default", + "value": "Default", + "description": "Basic network connectivity." + }, + { + "name": "T1", + "value": "T1", + "description": "Standard T1 network connectivity." + }, + { + "name": "T2", + "value": "T2", + "description": "Standard T2 network connectivity." + }, + { + "name": "AcrossT2", + "value": "AcrossT2", + "description": "Standard AcrossT2 network connectivity." + }, + { + "name": "T1AndT2", + "value": "T1AndT2", + "description": "Standard T1 and T2 network connectivity." + }, + { + "name": "T1AndAcrossT2", + "value": "T1AndAcrossT2", + "description": "Standard T1 and AcrossT2 network connectivity." + }, + { + "name": "T2AndAcrossT2", + "value": "T2AndAcrossT2", + "description": "Standard T2 and AcrossT2 network connectivity." + }, + { + "name": "T1AndT2AndAcrossT2", + "value": "T1AndT2AndAcrossT2", + "description": "Standard T1, T2 and AcrossT2 network connectivity." + } + ] + } + }, + "RelocateVolumeRequest": { + "type": "object", + "description": "Relocate volume request", + "properties": { + "creationToken": { + "type": "string", + "description": "New creation token for the volume that controls the mount point name" + } + } + }, + "RemotePath": { + "type": "object", + "description": "The full path to a volume that is to be migrated into ANF. Required for Migration volumes", + "properties": { + "externalHostName": { + "type": "string", + "description": "The Path to a ONTAP Host" + }, + "serverName": { + "type": "string", + "description": "The name of a server on the ONTAP Host" + }, + "volumeName": { + "type": "string", + "description": "The name of a volume on the server" + } + }, + "required": [ + "externalHostName", + "serverName", + "volumeName" + ] + }, + "Replication": { + "type": "object", + "description": "Replication properties", + "properties": { + "replicationId": { + "type": "string", + "description": "UUID v4 used to identify the replication.", + "minLength": 36, + "maxLength": 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 + }, + "endpointType": { + "$ref": "#/definitions/EndpointType", + "description": "Indicates whether the local volume is the source or destination for the Volume Replication" + }, + "replicationSchedule": { + "$ref": "#/definitions/ReplicationSchedule", + "description": "Schedule" + }, + "remoteVolumeResourceId": { + "type": "string", + "description": "The resource ID of the remote volume." + }, + "remoteVolumeRegion": { + "type": "string", + "description": "The remote region for the other end of the Volume Replication." + }, + "mirrorState": { + "$ref": "#/definitions/ReplicationMirrorState", + "description": "The status of the replication", + "readOnly": true + }, + "replicationCreationTime": { + "type": "string", + "format": "date-time", + "description": "Replication creation time", + "readOnly": true + }, + "replicationDeletionTime": { + "type": "string", + "format": "date-time", + "description": "Replication deletion time", + "readOnly": true + } + }, + "required": [ + "remoteVolumeResourceId" + ] + }, + "ReplicationMirrorState": { + "type": "string", + "description": "The status of the replication", + "enum": [ + "Uninitialized", + "Mirrored", + "Broken" + ], + "x-ms-enum": { + "name": "ReplicationMirrorState", + "modelAsString": true, + "values": [ + { + "name": "Uninitialized", + "value": "Uninitialized", + "description": "Destination volume has not been initialized" + }, + { + "name": "Mirrored", + "value": "Mirrored", + "description": "Destination volume has been initialized and is ready" + }, + { + "name": "Broken", + "value": "Broken", + "description": "Destination volume is RW, replication relationship has been broken off" + } + ] + } + }, + "ReplicationObject": { + "type": "object", + "description": "Replication properties", + "properties": { + "replicationId": { + "type": "string", + "description": "Id", + "readOnly": true + }, + "endpointType": { + "$ref": "#/definitions/EndpointType", + "description": "Indicates whether the local volume is the source or destination for the Volume Replication", + "readOnly": true + }, + "replicationSchedule": { + "$ref": "#/definitions/ReplicationSchedule", + "description": "Schedule" + }, + "remoteVolumeResourceId": { + "type": "string", + "description": "The resource ID of the remote volume. Required for cross region and cross zone replication", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "remotePath": { + "$ref": "#/definitions/RemotePath", + "description": "The full path to a volume that is to be migrated into ANF. Required for Migration volumes", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "remoteVolumeRegion": { + "type": "string", + "description": "The remote region for the other end of the Volume Replication." + }, + "destinationReplications": { + "type": "array", + "description": "A list of destination replications", + "items": { + "$ref": "#/definitions/DestinationReplication" + }, + "readOnly": true, + "x-ms-identifiers": [ + "resourceId" + ] + }, + "externalReplicationSetupStatus": { + "$ref": "#/definitions/ExternalReplicationSetupStatus", + "description": "Property that only applies to external replications. Provides a machine-readable value for the status of the external replication setup.", + "readOnly": true + }, + "externalReplicationSetupInfo": { + "type": "string", + "description": "Contains human-readable instructions on what the next step is to finish the external replication setup.", + "readOnly": true + }, + "mirrorState": { + "$ref": "#/definitions/MirrorState", + "description": "The mirror state property describes the current status of data replication for a replication. It provides insight into whether the data is actively being mirrored, if the replication process has been paused, or if it has yet to be initialized.", + "readOnly": true + }, + "relationshipStatus": { + "$ref": "#/definitions/VolumeReplicationRelationshipStatus", + "description": "The status of the Volume Replication", + "readOnly": true + } + } + }, + "ReplicationSchedule": { + "type": "string", + "description": "Schedule", + "enum": [ + "_10minutely", + "hourly", + "daily" + ], + "x-ms-enum": { + "name": "ReplicationSchedule", + "modelAsString": true, + "values": [ + { + "name": "_10minutely", + "value": "_10minutely" + }, + { + "name": "hourly", + "value": "hourly" + }, + { + "name": "daily", + "value": "daily" + } + ] + } + }, + "ReplicationStatus": { + "type": "object", + "description": "Replication status", + "properties": { + "healthy": { + "type": "boolean", + "description": "Replication health check" + }, + "relationshipStatus": { + "$ref": "#/definitions/VolumeReplicationRelationshipStatus", + "description": "Status of the mirror relationship" + }, + "mirrorState": { + "$ref": "#/definitions/MirrorState", + "description": "The status of the replication" + }, + "totalProgress": { + "type": "string", + "description": "The progress of the replication" + }, + "errorMessage": { + "type": "string", + "description": "Displays error message if the replication is in an error state" + } + } + }, + "ReplicationType": { + "type": "string", + "description": "Indicates whether the replication is cross zone or cross region.", + "enum": [ + "CrossRegionReplication", + "CrossZoneReplication" + ], + "x-ms-enum": { + "name": "ReplicationType", + "modelAsString": true, + "values": [ + { + "name": "CrossRegionReplication", + "value": "CrossRegionReplication", + "description": "Cross region replication" + }, + { + "name": "CrossZoneReplication", + "value": "CrossZoneReplication", + "description": "Cross zone replication" + } + ] + } + }, + "ResourceNameAvailabilityRequest": { + "type": "object", + "description": "Resource name availability request content.", + "properties": { + "name": { + "type": "string", + "description": "Resource name to verify." + }, + "type": { + "$ref": "#/definitions/CheckNameResourceTypes", + "description": "Resource type used for verification." + }, + "resourceGroup": { + "type": "string", + "description": "Resource group name." + } + }, + "required": [ + "name", + "type", + "resourceGroup" + ] + }, + "RestoreStatus": { + "type": "object", + "description": "Restore status", + "properties": { + "healthy": { + "type": "boolean", + "description": "Restore health status", + "readOnly": true + }, + "relationshipStatus": { + "$ref": "#/definitions/VolumeRestoreRelationshipStatus", + "description": "Status of the restore SnapMirror relationship", + "readOnly": true + }, + "mirrorState": { + "$ref": "#/definitions/MirrorState", + "description": "The status of the restore", + "readOnly": true + }, + "unhealthyReason": { + "type": "string", + "description": "Reason for the unhealthy restore relationship", + "readOnly": true + }, + "errorMessage": { + "type": "string", + "description": "Displays error message if the restore is in an error state", + "readOnly": true + }, + "totalTransferBytes": { + "type": "integer", + "format": "int64", + "description": "Displays the total bytes transferred", + "readOnly": true + } + } + }, + "SecretPassword": { + "type": "object", + "description": "Access password from Azure KeyVault Secrets to connect Active Directory", + "properties": { + "keyVaultProperties": { + "$ref": "#/definitions/SecretPasswordKeyVaultProperties", + "description": "Properties provided by KeyVault." + }, + "identity": { + "$ref": "#/definitions/SecretPasswordIdentity", + "description": "Identity used to authenticate to KeyVault. Applicable if keySource is 'Microsoft.KeyVault'." + } + } + }, + "SecretPasswordIdentity": { + "type": "object", + "description": "Identity used to authenticate with key vault.", + "properties": { + "principalId": { + "type": "string", + "description": "The principal ID (object ID) of the identity used to authenticate with key vault. Read-only.", + "readOnly": true + }, + "userAssignedIdentity": { + "type": "string", + "description": "The Azure resource identifier of the user assigned identity used to authenticate with key vault. Applicable if identity.type has 'UserAssigned'. It should match key of identity.userAssignedIdentities." + } + } + }, + "SecretPasswordKeyVaultProperties": { + "type": "object", + "description": "Properties of key vault to get the secrets for password.", + "properties": { + "keyVaultUri": { + "type": "string", + "format": "uri", + "description": "The Uri of KeyVault.", + "maxLength": 255 + }, + "secretName": { + "type": "string", + "description": "The name of KeyVault password secret.", + "maxLength": 127 + } + }, + "required": [ + "keyVaultUri", + "secretName" + ] + }, + "SecretPasswordKeyVaultPropertiesUpdate": { + "type": "object", + "description": "Properties of key vault to get the secrets for password.", + "properties": { + "keyVaultUri": { + "type": "string", + "format": "uri", + "description": "The Uri of KeyVault.", + "maxLength": 255 + }, + "secretName": { + "type": "string", + "description": "The name of KeyVault password secret.", + "maxLength": 127 + } + } + }, + "SecretPasswordUpdate": { + "type": "object", + "description": "Access password from Azure KeyVault Secrets to connect Active Directory", + "properties": { + "keyVaultProperties": { + "$ref": "#/definitions/SecretPasswordKeyVaultPropertiesUpdate", + "description": "Properties provided by KeyVault." + }, + "identity": { + "$ref": "#/definitions/SecretPasswordIdentity", + "description": "Identity used to authenticate to KeyVault. Applicable if keySource is 'Microsoft.KeyVault'." + } + } + }, + "ServiceLevel": { + "type": "string", + "description": "The service level of the file system", + "enum": [ + "Standard", + "Premium", + "Ultra", + "StandardZRS", + "Flexible" + ], + "x-ms-enum": { + "name": "ServiceLevel", + "modelAsString": true, + "values": [ + { + "name": "Standard", + "value": "Standard", + "description": "Standard service level" + }, + { + "name": "Premium", + "value": "Premium", + "description": "Premium service level" + }, + { + "name": "Ultra", + "value": "Ultra", + "description": "Ultra service level" + }, + { + "name": "StandardZRS", + "value": "StandardZRS", + "description": "Zone redundant storage service level. This will be deprecated soon." + }, + { + "name": "Flexible", + "value": "Flexible", + "description": "Flexible service level" + } + ] + } + }, + "ServiceSpecification": { + "type": "object", + "description": "One property of operation, include metric specifications.", + "properties": { + "metricSpecifications": { + "type": "array", + "description": "Metric specifications of operation.", + "items": { + "$ref": "#/definitions/MetricSpecification" + }, + "x-ms-identifiers": [ + "name" + ] + }, + "logSpecifications": { + "type": "array", + "description": "Log specification of operation.", + "items": { + "$ref": "#/definitions/LogSpecification" + }, + "x-ms-identifiers": [ + "name" + ] + } + } + }, + "SmbAccessBasedEnumeration": { + "type": "string", + "description": "Enables access-based enumeration share property for SMB Shares. Only applicable for SMB/DualProtocol volume", + "enum": [ + "Disabled", + "Enabled" + ], + "x-ms-enum": { + "name": "SmbAccessBasedEnumeration", + "modelAsString": true, + "values": [ + { + "name": "Disabled", + "value": "Disabled", + "description": "smbAccessBasedEnumeration share setting is disabled" + }, + { + "name": "Enabled", + "value": "Enabled", + "description": "smbAccessBasedEnumeration share setting is enabled" + } + ] + } + }, + "SmbEncryptionState": { + "type": "string", + "description": "Enables encryption for in-flight smb3 data. Only applicable for SMB/DualProtocol cache", + "enum": [ + "Disabled", + "Enabled" + ], + "x-ms-enum": { + "name": "SmbEncryptionState", + "modelAsString": true, + "values": [ + { + "name": "Disabled", + "value": "Disabled", + "description": "SMB encryption is disabled" + }, + { + "name": "Enabled", + "value": "Enabled", + "description": "SMB encryption is enabled" + } + ] + } + }, + "SmbNonBrowsable": { + "type": "string", + "description": "Enables non-browsable property for SMB Shares. Only applicable for SMB/DualProtocol volume", + "enum": [ + "Disabled", + "Enabled" + ], + "x-ms-enum": { + "name": "SmbNonBrowsable", + "modelAsString": true, + "values": [ + { + "name": "Disabled", + "value": "Disabled", + "description": "smbNonBrowsable share setting is disabled" + }, + { + "name": "Enabled", + "value": "Enabled", + "description": "smbNonBrowsable share setting is enabled" + } + ] + } + }, + "SmbSettings": { + "type": "object", + "description": "SMB settings for the cache", + "properties": { + "smbEncryption": { + "$ref": "#/definitions/SmbEncryptionState", + "description": "Enables encryption for in-flight smb3 data. Only applicable for SMB/DualProtocol cache." + }, + "smbAccessBasedEnumerations": { + "$ref": "#/definitions/SmbAccessBasedEnumeration", + "description": "Enables access-based enumeration share property for SMB Shares. Only applicable for SMB/DualProtocol volume" + }, + "smbNonBrowsable": { + "$ref": "#/definitions/SmbNonBrowsable", + "description": "Enables non-browsable property for SMB Shares. Only applicable for SMB/DualProtocol volume" + } + } + }, + "Snapshot": { + "type": "object", + "description": "Snapshot of a Volume", + "properties": { + "properties": { + "$ref": "#/definitions/SnapshotProperties", + "description": "Snapshot Properties", + "x-ms-client-flatten": true + }, + "location": { + "type": "string", + "description": "Resource location", + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "required": [ + "location" + ], + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + ] + }, + "SnapshotDirectoryVisibility": { + "type": "string", + "description": "Controls the visibility of the Elastic Volume's read-only snapshot directory, which provides access to each of the volume's snapshots.", + "enum": [ + "Hidden", + "Visible" + ], + "x-ms-enum": { + "name": "SnapshotDirectoryVisibility", + "modelAsString": true, + "values": [ + { + "name": "Hidden", + "value": "Hidden", + "description": "Value indicating the read-only snapshot directory is not visible" + }, + { + "name": "Visible", + "value": "Visible", + "description": "Value indicating the read-only snapshot directory is visible" + } + ] + } + }, + "SnapshotPatch": { + "type": "object", + "description": "Snapshot of a Volume" + }, + "SnapshotPoliciesList": { + "type": "object", + "description": "List of Snapshot Policies", + "properties": { + "value": { + "type": "array", + "description": "The SnapshotPolicy items on this page", + "items": { + "$ref": "#/definitions/SnapshotPolicy" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "SnapshotPolicy": { + "type": "object", + "description": "Snapshot policy information", + "properties": { + "properties": { + "$ref": "#/definitions/SnapshotPolicyProperties", + "description": "Snapshot policy Properties", + "x-ms-client-flatten": true + }, + "etag": { + "type": "string", + "description": "\"If etag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.\")", + "readOnly": true + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" + } + ] + }, + "SnapshotPolicyPatch": { + "type": "object", + "description": "Snapshot policy Details for create and update", + "properties": { + "location": { + "type": "string", + "description": "Resource location" + }, + "id": { + "type": "string", + "description": "Resource Id", + "readOnly": true + }, + "name": { + "type": "string", + "description": "Resource name", + "readOnly": true + }, + "type": { + "type": "string", + "description": "Resource type", + "readOnly": true + }, + "tags": { + "type": "object", + "description": "Resource tags", + "additionalProperties": { + "type": "string" + } + }, + "properties": { + "$ref": "#/definitions/SnapshotPolicyProperties", + "description": "Snapshot Policy properties", + "x-ms-client-flatten": true + } + } + }, + "SnapshotPolicyProperties": { + "type": "object", + "description": "Snapshot policy properties", + "properties": { + "hourlySchedule": { + "$ref": "#/definitions/HourlySchedule", + "description": "Schedule for hourly snapshots" + }, + "dailySchedule": { + "$ref": "#/definitions/DailySchedule", + "description": "Schedule for daily snapshots" + }, + "weeklySchedule": { + "$ref": "#/definitions/WeeklySchedule", + "description": "Schedule for weekly snapshots" + }, + "monthlySchedule": { + "$ref": "#/definitions/MonthlySchedule", + "description": "Schedule for monthly snapshots" + }, + "enabled": { + "type": "boolean", + "description": "The property to decide policy is enabled or not" + }, + "provisioningState": { + "type": "string", + "description": "Azure lifecycle management", + "readOnly": true + } + } + }, + "SnapshotPolicyVolumeList": { + "type": "object", + "description": "Volumes associated with snapshot policy", + "properties": { + "value": { + "type": "array", + "description": "The Volume items on this page", + "items": { + "$ref": "#/definitions/Volume" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "SnapshotProperties": { + "type": "object", + "description": "Snapshot properties", + "properties": { + "snapshotId": { + "type": "string", + "description": "UUID v4 used to identify the Snapshot", + "minLength": 36, + "maxLength": 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 + }, + "created": { + "type": "string", + "format": "date-time", + "description": "The creation date of the snapshot", + "readOnly": true + }, + "provisioningState": { + "type": "string", + "description": "Azure lifecycle management", + "readOnly": true + } + } + }, + "SnapshotRestoreFiles": { + "type": "object", + "description": "Restore payload for Single File Snapshot Restore", + "properties": { + "filePaths": { + "type": "array", + "description": "List of files to be restored", + "minItems": 1, + "maxItems": 10, + "items": { + "$ref": "#/definitions/FileName" + } + }, + "destinationPath": { + "type": "string", + "description": "Destination folder where the files will be restored" + } + }, + "required": [ + "filePaths" + ] + }, + "SnapshotsList": { + "type": "object", + "description": "List of Snapshots", + "properties": { + "value": { + "type": "array", + "description": "The Snapshot items on this page", + "items": { + "$ref": "#/definitions/Snapshot" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "SubvolumeInfo": { + "type": "object", + "description": "Subvolume Information properties", + "properties": { + "properties": { + "$ref": "#/definitions/SubvolumeProperties", + "description": "Subvolume Properties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + ] + }, + "SubvolumeModel": { + "type": "object", + "description": "Result of the post subvolume and action is to get metadata of the subvolume.", + "properties": { + "id": { + "type": "string", + "description": "Resource Id", + "readOnly": true + }, + "name": { + "type": "string", + "description": "Resource name", + "readOnly": true + }, + "type": { + "type": "string", + "description": "Resource type", + "readOnly": true + }, + "properties": { + "$ref": "#/definitions/SubvolumeModelProperties", + "description": "It represents the minimal properties of the subvolume.", + "x-ms-client-flatten": true + } + } + }, + "SubvolumeModelProperties": { + "type": "object", + "description": "Properties which represents actual subvolume model which is stored as a file in the system.", + "properties": { + "path": { + "type": "string", + "description": "Path to the subvolume" + }, + "parentPath": { + "type": "string", + "description": "Path to the parent subvolume" + }, + "size": { + "type": "integer", + "format": "int64", + "description": "Size of subvolume" + }, + "bytesUsed": { + "type": "integer", + "format": "int64", + "description": "Bytes used" + }, + "permissions": { + "type": "string", + "description": "Permissions of the subvolume" + }, + "creationTimeStamp": { + "type": "string", + "format": "date-time", + "description": "Creation time and date" + }, + "accessedTimeStamp": { + "type": "string", + "format": "date-time", + "description": "Most recent access time and date" + }, + "modifiedTimeStamp": { + "type": "string", + "format": "date-time", + "description": "Most recent modification time and date" + }, + "changedTimeStamp": { + "type": "string", + "format": "date-time", + "description": "Most recent change time and date" + }, + "provisioningState": { + "type": "string", + "description": "Azure lifecycle management" + } + } + }, + "SubvolumePatchParams": { + "type": "object", + "description": "Parameters with which a subvolume can be updated", + "properties": { + "size": { + "type": "integer", + "format": "int64", + "description": "Truncate subvolume to the provided size in bytes", + "x-nullable": true + }, + "path": { + "type": "string", + "description": "path to the subvolume" + } + } + }, + "SubvolumePatchRequest": { + "type": "object", + "description": "Subvolume Patch Request properties", + "properties": { + "properties": { + "$ref": "#/definitions/SubvolumePatchParams", + "description": "Subvolume Properties", + "x-ms-client-flatten": true + } + } + }, + "SubvolumeProperties": { + "type": "object", + "description": "This represents path associated with the subvolume", + "properties": { + "path": { + "type": "string", + "description": "Path to the subvolume" + }, + "size": { + "type": "integer", + "format": "int64", + "description": "Truncate subvolume to the provided size in bytes", + "x-nullable": true + }, + "parentPath": { + "type": "string", + "description": "parent path to the subvolume", + "x-nullable": true + }, + "provisioningState": { + "type": "string", + "description": "Azure lifecycle management", + "readOnly": true + } + } + }, + "SubvolumesList": { + "type": "object", + "description": "List of Subvolumes", + "properties": { + "value": { + "type": "array", + "description": "The SubvolumeInfo items on this page", + "items": { + "$ref": "#/definitions/SubvolumeInfo" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "SuspectFile": { + "type": "object", + "description": "Suspect file information", + "properties": { + "suspectFileName": { + "type": "string", + "description": "Suspect filename", + "readOnly": true + }, + "fileTimestamp": { + "type": "string", + "format": "date-time", + "description": "The creation date and time of the file", + "readOnly": true + } + } + }, + "SvmPeerCommandResponse": { + "type": "object", + "description": "Information about svm peering process", + "properties": { + "svmPeeringCommand": { + "type": "string", + "description": "A command that needs to be run on the external ONTAP to accept svm peering. Will only be present if svmPeeringStatus is pending" + } + } + }, + "Type": { + "type": "string", + "description": "Type of quota", + "enum": [ + "DefaultUserQuota", + "DefaultGroupQuota", + "IndividualUserQuota", + "IndividualGroupQuota" + ], + "x-ms-enum": { + "name": "Type", + "modelAsString": true, + "values": [ + { + "name": "DefaultUserQuota", + "value": "DefaultUserQuota", + "description": "Default user quota" + }, + { + "name": "DefaultGroupQuota", + "value": "DefaultGroupQuota", + "description": "Default group quota" + }, + { + "name": "IndividualUserQuota", + "value": "IndividualUserQuota", + "description": "Individual user quota" + }, + { + "name": "IndividualGroupQuota", + "value": "IndividualGroupQuota", + "description": "Individual group quota" + } + ] + } + }, + "UnixPermissions": { + "type": "string", + "minLength": 4, + "maxLength": 4 + }, + "UpdateNetworkSiblingSetRequest": { + "type": "object", + "description": "Network sibling set update.", + "properties": { + "networkSiblingSetId": { + "type": "string", + "description": "Network Sibling Set ID for a group of volumes sharing networking resources in a subnet.", + "minLength": 36, + "maxLength": 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}$" + }, + "subnetId": { + "type": "string", + "format": "arm-id", + "description": "The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes. Example /subscriptions/subscriptionId/resourceGroups/resourceGroup/providers/Microsoft.Network/virtualNetworks/testVnet/subnets/{mySubnet}", + "x-ms-mutability": [ + "read", + "create" + ], + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Network/virtualNetworks/subnets" + } + ] + } + }, + "networkSiblingSetStateId": { + "type": "string", + "description": "Network sibling set state Id identifying the current state of the sibling set." + }, + "networkFeatures": { + "type": "string", + "description": "Network features available to the volume.", + "default": "Basic", + "enum": [ + "Basic", + "Standard", + "Basic_Standard", + "Standard_Basic" + ], + "x-ms-enum": { + "name": "NetworkFeatures", + "modelAsString": true, + "values": [ + { + "name": "Basic", + "value": "Basic", + "description": "Basic network features." + }, + { + "name": "Standard", + "value": "Standard", + "description": "Standard network features." + }, + { + "name": "Basic_Standard", + "value": "Basic_Standard", + "description": "Updating from Basic to Standard network features." + }, + { + "name": "Standard_Basic", + "value": "Standard_Basic", + "description": "Updating from Standard to Basic network features." + } + ] + } + } + }, + "required": [ + "networkSiblingSetId", + "subnetId", + "networkSiblingSetStateId", + "networkFeatures" + ] + }, + "UsageName": { + "type": "object", + "description": "The name of the usage.", + "properties": { + "value": { + "type": "string", + "description": "The name of the usage." + }, + "localizedValue": { + "type": "string", + "description": "The localized name of the usage." + } + } + }, + "UsageProperties": { + "type": "object", + "description": "Usage properties", + "properties": { + "currentValue": { + "type": "integer", + "format": "int32", + "description": "The current usage value for the subscription.", + "readOnly": true + }, + "limit": { + "type": "integer", + "format": "int32", + "description": "The limit of the usage.", + "readOnly": true + }, + "unit": { + "type": "string", + "description": "The unit of the usage.", + "readOnly": true + } + } + }, + "UsageResult": { + "type": "object", + "description": "Usages entity model", + "properties": { + "id": { + "type": "string", + "description": "The id of the usage.", + "readOnly": true + }, + "name": { + "$ref": "#/definitions/UsageName", + "description": "The name of the usage.", + "readOnly": true + }, + "properties": { + "$ref": "#/definitions/UsageProperties", + "description": "Usage properties", + "x-ms-client-flatten": true + } + } + }, + "UsagesListResult": { + "type": "object", + "description": "Usages result", + "properties": { + "value": { + "type": "array", + "description": "The UsageResult items on this page", + "items": { + "$ref": "#/definitions/UsageResult" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "UserName": { + "type": "string", + "minLength": 1, + "maxLength": 255 + }, + "VfsV4IDDomain": { + "type": "string", + "maxLength": 255, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9.-]{0,253}[a-zA-Z0-9]$" + }, + "Volume": { + "type": "object", + "description": "Volume resource", + "properties": { + "properties": { + "$ref": "#/definitions/VolumeProperties", + "description": "Volume properties", + "x-ms-client-flatten": true + }, + "etag": { + "type": "string", + "description": "\"If etag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.\")", + "readOnly": true + }, + "zones": { + "type": "array", + "description": "The availability zones.", + "items": { + "type": "string" + }, + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" + } + ] + }, + "VolumeBackupProperties": { + "type": "object", + "description": "Volume Backup Properties", + "properties": { + "backupPolicyId": { + "type": "string", + "format": "arm-id", + "description": "Backup Policy Resource ID", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.NetApp/netAppAccounts/backupPolicies" + } + ] + } + }, + "policyEnforced": { + "type": "boolean", + "description": "Policy Enforced" + }, + "backupVaultId": { + "type": "string", + "format": "arm-id", + "description": "Backup Vault Resource ID", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.NetApp/netAppAccounts/backupVaults" + } + ] + } + } + } + }, + "VolumeBackupRelationshipStatus": { + "type": "string", + "description": "Status of the volume backup relationship", + "enum": [ + "Idle", + "Transferring", + "Failed", + "Unknown" + ], + "x-ms-enum": { + "name": "VolumeBackupRelationshipStatus", + "modelAsString": true, + "values": [ + { + "name": "Idle", + "value": "Idle" + }, + { + "name": "Transferring", + "value": "Transferring" + }, + { + "name": "Failed", + "value": "Failed" + }, + { + "name": "Unknown", + "value": "Unknown" + } + ] + } + }, + "VolumeBackups": { + "type": "object", + "description": "Volume details using the backup policy", + "properties": { + "volumeName": { + "type": "string", + "description": "Volume name" + }, + "volumeResourceId": { + "type": "string", + "format": "arm-id", + "description": "ResourceId used to identify the Volume", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes" + } + ] + } + }, + "backupsCount": { + "type": "integer", + "format": "int32", + "description": "Total count of backups for volume" + }, + "policyEnabled": { + "type": "boolean", + "description": "Policy enabled" + } + } + }, + "VolumeGroup": { + "type": "object", + "description": "Volume group resource", + "properties": { + "location": { + "type": "string", + "description": "Resource location", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "id": { + "type": "string", + "description": "Resource Id", + "readOnly": true + }, + "name": { + "type": "string", + "description": "Resource name", + "readOnly": true + }, + "type": { + "type": "string", + "description": "Resource type", + "readOnly": true + }, + "properties": { + "$ref": "#/definitions/VolumeGroupListProperties", + "description": "Volume group properties", + "x-ms-client-flatten": true + } + } + }, + "VolumeGroupDetails": { + "type": "object", + "description": "Volume group resource for create", + "properties": { + "properties": { + "$ref": "#/definitions/VolumeGroupProperties", + "description": "Volume group properties", + "x-ms-client-flatten": true + }, + "location": { + "type": "string", + "description": "Resource location", + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + ] + }, + "VolumeGroupList": { + "type": "object", + "description": "List of volume group resources", + "properties": { + "value": { + "type": "array", + "description": "The VolumeGroup items on this page", + "items": { + "$ref": "#/definitions/VolumeGroup" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "VolumeGroupListProperties": { + "type": "object", + "description": "Volume group properties", + "properties": { + "provisioningState": { + "type": "string", + "description": "Azure lifecycle management", + "readOnly": true + }, + "groupMetaData": { + "$ref": "#/definitions/VolumeGroupMetaData", + "description": "Volume group details" + } + } + }, + "VolumeGroupMetaData": { + "type": "object", + "description": "Volume group properties", + "properties": { + "groupDescription": { + "type": "string", + "description": "Group Description" + }, + "applicationType": { + "$ref": "#/definitions/ApplicationType", + "description": "Application Type" + }, + "applicationIdentifier": { + "type": "string", + "description": "Application specific identifier" + }, + "globalPlacementRules": { + "type": "array", + "description": "Application specific placement rules for the volume group", + "items": { + "$ref": "#/definitions/PlacementKeyValuePairs" + }, + "x-ms-identifiers": [ + "key" + ] + }, + "volumesCount": { + "type": "integer", + "format": "int64", + "description": "Number of volumes in volume group", + "readOnly": true + } + } + }, + "VolumeGroupProperties": { + "type": "object", + "description": "Volume group properties", + "properties": { + "provisioningState": { + "type": "string", + "description": "Azure lifecycle management", + "readOnly": true + }, + "groupMetaData": { + "$ref": "#/definitions/VolumeGroupMetaData", + "description": "Volume group details" + }, + "volumes": { + "type": "array", + "description": "List of volumes from group", + "items": { + "$ref": "#/definitions/VolumeGroupVolumeProperties" + } + } + } + }, + "VolumeGroupVolumeProperties": { + "type": "object", + "description": "Volume resource", + "properties": { + "id": { + "type": "string", + "description": "Resource Id", + "readOnly": true + }, + "name": { + "type": "string", + "description": "Resource name" + }, + "type": { + "type": "string", + "description": "Resource type", + "readOnly": true + }, + "tags": { + "type": "object", + "description": "Resource tags", + "additionalProperties": { + "type": "string" + } + }, + "zones": { + "type": "array", + "description": "Availability Zone", + "items": { + "type": "string" + }, + "x-ms-mutability": [ + "read", + "create" + ] + }, + "properties": { + "$ref": "#/definitions/VolumeProperties", + "description": "Volume properties", + "x-ms-client-flatten": true + } + }, + "required": [ + "properties" + ] + }, + "VolumeLanguage": { + "type": "string", + "description": "Language supported for volume.", + "enum": [ + "c.utf-8", + "utf8mb4", + "ar", + "ar.utf-8", + "hr", + "hr.utf-8", + "cs", + "cs.utf-8", + "da", + "da.utf-8", + "nl", + "nl.utf-8", + "en", + "en.utf-8", + "fi", + "fi.utf-8", + "fr", + "fr.utf-8", + "de", + "de.utf-8", + "he", + "he.utf-8", + "hu", + "hu.utf-8", + "it", + "it.utf-8", + "ja", + "ja.utf-8", + "ja-v1", + "ja-v1.utf-8", + "ja-jp.pck", + "ja-jp.pck.utf-8", + "ja-jp.932", + "ja-jp.932.utf-8", + "ja-jp.pck-v2", + "ja-jp.pck-v2.utf-8", + "ko", + "ko.utf-8", + "no", + "no.utf-8", + "pl", + "pl.utf-8", + "pt", + "pt.utf-8", + "c", + "ro", + "ro.utf-8", + "ru", + "ru.utf-8", + "zh", + "zh.utf-8", + "zh.gbk", + "zh.gbk.utf-8", + "zh-tw.big5", + "zh-tw.big5.utf-8", + "zh-tw", + "zh-tw.utf-8", + "sk", + "sk.utf-8", + "sl", + "sl.utf-8", + "es", + "es.utf-8", + "sv", + "sv.utf-8", + "tr", + "tr.utf-8", + "en-us", + "en-us.utf-8" + ], + "x-ms-enum": { + "name": "VolumeLanguage", + "modelAsString": true, + "values": [ + { + "name": "c.utf-8", + "value": "c.utf-8", + "description": "Posix with UTF-8" + }, + { + "name": "utf8mb4", + "value": "utf8mb4", + "description": "UTF-8 with 4 byte character support" + }, + { + "name": "ar", + "value": "ar", + "description": "Arabic - Deprecated" + }, + { + "name": "ar.utf-8", + "value": "ar.utf-8", + "description": "Arabic with UTF-8" + }, + { + "name": "hr", + "value": "hr", + "description": "Croatian - Deprecated" + }, + { + "name": "hr.utf-8", + "value": "hr.utf-8", + "description": "Croatian with UTF-8" + }, + { + "name": "cs", + "value": "cs", + "description": "Czech - Deprecated" + }, + { + "name": "cs.utf-8", + "value": "cs.utf-8", + "description": "Czech with UTF-8" + }, + { + "name": "da", + "value": "da", + "description": "Danish - Deprecated" + }, + { + "name": "da.utf-8", + "value": "da.utf-8", + "description": "Danish with UTF-8" + }, + { + "name": "nl", + "value": "nl", + "description": "Dutch - Deprecated" + }, + { + "name": "nl.utf-8", + "value": "nl.utf-8", + "description": "Dutch with UTF-8" + }, + { + "name": "en", + "value": "en", + "description": "English - Deprecated" + }, + { + "name": "en.utf-8", + "value": "en.utf-8", + "description": "English with UTF-8" + }, + { + "name": "fi", + "value": "fi", + "description": "Finnish - Deprecated" + }, + { + "name": "fi.utf-8", + "value": "fi.utf-8", + "description": "Finnish with UTF-8" + }, + { + "name": "fr", + "value": "fr", + "description": "French - Deprecated" + }, + { + "name": "fr.utf-8", + "value": "fr.utf-8", + "description": "French with UTF-8" + }, + { + "name": "de", + "value": "de", + "description": "German - Deprecated" + }, + { + "name": "de.utf-8", + "value": "de.utf-8", + "description": "German with UTF-8" + }, + { + "name": "he", + "value": "he", + "description": "Hebrew - Deprecated" + }, + { + "name": "he.utf-8", + "value": "he.utf-8", + "description": "Hebrew with UTF-8" + }, + { + "name": "hu", + "value": "hu", + "description": "Hungarian - Deprecated" + }, + { + "name": "hu.utf-8", + "value": "hu.utf-8", + "description": "Hungarian with UTF-8" + }, + { + "name": "it", + "value": "it", + "description": "Italian - Deprecated" + }, + { + "name": "it.utf-8", + "value": "it.utf-8", + "description": "Italian with UTF-8" + }, + { + "name": "ja", + "value": "ja", + "description": "Japanese euc-j - Deprecated" + }, + { + "name": "ja.utf-8", + "value": "ja.utf-8", + "description": "Japanese euc-j with UTF-8" + }, + { + "name": "ja-v1", + "value": "ja-v1", + "description": "Japanese euc-j - Deprecated" + }, + { + "name": "ja-v1.utf-8", + "value": "ja-v1.utf-8", + "description": "Japanese euc-j with UTF-8" + }, + { + "name": "ja-jp.pck", + "value": "ja-jp.pck", + "description": "Japanese pck" + }, + { + "name": "ja-jp.pck.utf-8", + "value": "ja-jp.pck.utf-8", + "description": "Japanese pck with UTF-8 - Deprecated" + }, + { + "name": "ja-jp.932", + "value": "ja-jp.932", + "description": "Japanese cp932" + }, + { + "name": "ja-jp.932.utf-8", + "value": "ja-jp.932.utf-8", + "description": "Japanese cp932 with UTF-8 - Deprecated" + }, + { + "name": "ja-jp.pck-v2", + "value": "ja-jp.pck-v2", + "description": "Japanese pck - sjis" + }, + { + "name": "ja-jp.pck-v2.utf-8", + "value": "ja-jp.pck-v2.utf-8", + "description": "Japanese pck - sjis with UTF-8 - Deprecated" + }, + { + "name": "ko", + "value": "ko", + "description": "Korean - Deprecated" + }, + { + "name": "ko.utf-8", + "value": "ko.utf-8", + "description": "Korean with UTF-8" + }, + { + "name": "no", + "value": "no", + "description": "Norwegian - Deprecated" + }, + { + "name": "no.utf-8", + "value": "no.utf-8", + "description": "Norwegian with UTF-8" + }, + { + "name": "pl", + "value": "pl", + "description": "Polish - Deprecated" + }, + { + "name": "pl.utf-8", + "value": "pl.utf-8", + "description": "Polish with UTF-8" + }, + { + "name": "pt", + "value": "pt", + "description": "Portuguese - Deprecated" + }, + { + "name": "pt.utf-8", + "value": "pt.utf-8", + "description": "Portuguese with UTF-8" + }, + { + "name": "c", + "value": "c", + "description": "Posix - Deprecated" + }, + { + "name": "ro", + "value": "ro", + "description": "Romanian - Deprecated" + }, + { + "name": "ro.utf-8", + "value": "ro.utf-8", + "description": "Romanian with UTF-8" + }, + { + "name": "ru", + "value": "ru", + "description": "Russian - Deprecated" + }, + { + "name": "ru.utf-8", + "value": "ru.utf-8", + "description": "Russian with UTF-8" + }, + { + "name": "zh", + "value": "zh", + "description": "Simplified Chinese - Deprecated" + }, + { + "name": "zh.utf-8", + "value": "zh.utf-8", + "description": "Simplified Chinese with UTF-8" + }, + { + "name": "zh.gbk", + "value": "zh.gbk", + "description": "Simplified gbk Chinese" + }, + { + "name": "zh.gbk.utf-8", + "value": "zh.gbk.utf-8", + "description": "Simplified gbk Chinese with UTF-8 - Deprecated" + }, + { + "name": "zh-tw.big5", + "value": "zh-tw.big5", + "description": "Traditional Chinese BIG 5" + }, + { + "name": "zh-tw.big5.utf-8", + "value": "zh-tw.big5.utf-8", + "description": "Traditional Chinese BIG 5 with UTF-8 - Deprecated" + }, + { + "name": "zh-tw", + "value": "zh-tw", + "description": "Traditional Chinese EUC-TW" + }, + { + "name": "zh-tw.utf-8", + "value": "zh-tw.utf-8", + "description": "Traditional Chinese EUC-TW with UTF-8 - Deprecated" + }, + { + "name": "sk", + "value": "sk", + "description": "Slovak - Deprecated" + }, + { + "name": "sk.utf-8", + "value": "sk.utf-8", + "description": "Slovak with UTF-8" + }, + { + "name": "sl", + "value": "sl", + "description": "Slovenian - Deprecated" + }, + { + "name": "sl.utf-8", + "value": "sl.utf-8", + "description": "Slovenian with UTF-8" + }, + { + "name": "es", + "value": "es", + "description": "Spanish - Deprecated" + }, + { + "name": "es.utf-8", + "value": "es.utf-8", + "description": "Spanish with UTF-8" + }, + { + "name": "sv", + "value": "sv", + "description": "Swedish - Deprecated" + }, + { + "name": "sv.utf-8", + "value": "sv.utf-8", + "description": "Swedish with UTF-8" + }, + { + "name": "tr", + "value": "tr", + "description": "Turkish - Deprecated" + }, + { + "name": "tr.utf-8", + "value": "tr.utf-8", + "description": "Turkish with UTF-8" + }, + { + "name": "en-us", + "value": "en-us", + "description": "US English - Deprecated" + }, + { + "name": "en-us.utf-8", + "value": "en-us.utf-8", + "description": "US English with UTF-8" + } + ] + } + }, + "VolumeList": { + "type": "object", + "description": "List of volume resources", + "properties": { + "value": { + "type": "array", + "description": "The Volume items on this page", + "items": { + "$ref": "#/definitions/Volume" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "VolumePatch": { + "type": "object", + "description": "Volume patch resource", + "properties": { + "location": { + "type": "string", + "description": "Resource location" + }, + "id": { + "type": "string", + "description": "Resource Id", + "readOnly": true + }, + "name": { + "type": "string", + "description": "Resource name", + "readOnly": true + }, + "type": { + "type": "string", + "description": "Resource type", + "readOnly": true + }, + "tags": { + "type": "object", + "description": "Resource tags", + "additionalProperties": { + "type": "string" + } + }, + "properties": { + "$ref": "#/definitions/VolumePatchProperties", + "description": "Patchable volume properties", + "x-ms-client-flatten": true + } + } + }, + "VolumePatchProperties": { + "type": "object", + "description": "Patchable volume properties", + "properties": { + "serviceLevel": { + "$ref": "#/definitions/ServiceLevel", + "description": "The service level of the file system" + }, + "usageThreshold": { + "type": "integer", + "format": "int64", + "description": "Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. For regular volumes, valid values are in the range 50GiB to 100TiB.\nFor large volumes, valid values are in the range 100TiB to 500TiB, and on an exceptional basis, from to 2400GiB to 2400TiB.\nFor extra large volumes, valid values are in the range 2400GiB to 7200TiB. Values expressed in bytes as multiples of 1 GiB.", + "minimum": 53687091200, + "maximum": 7916483719987200 + }, + "exportPolicy": { + "$ref": "#/definitions/VolumePatchPropertiesExportPolicy", + "description": "Set of export policy rules" + }, + "protocolTypes": { + "type": "array", + "description": "Set of protocol types, default NFSv3, CIFS for SMB protocol", + "items": { + "type": "string" + } + }, + "throughputMibps": { + "type": "number", + "format": "float", + "description": "Maximum throughput in MiB/s that can be achieved by this volume and this will be accepted as input only for manual qosType volume" + }, + "dataProtection": { + "$ref": "#/definitions/VolumePatchPropertiesDataProtection", + "description": "DataProtection type volumes include an object containing details of the replication" + }, + "isDefaultQuotaEnabled": { + "type": "boolean", + "description": "Specifies if default quota is enabled for the volume." + }, + "defaultUserQuotaInKiBs": { + "type": "integer", + "format": "int64", + "description": "Default user quota for volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies ." + }, + "defaultGroupQuotaInKiBs": { + "type": "integer", + "format": "int64", + "description": "Default group quota for volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies." + }, + "unixPermissions": { + "$ref": "#/definitions/UnixPermissions", + "description": "UNIX permissions for NFS volume accepted in octal 4 digit format. First digit selects the set user ID(4), set group ID (2) and sticky (1) attributes. Second digit selects permission for the owner of the file: read (4), write (2) and execute (1). Third selects permissions for other users in the same group. the fourth for other users not in the group. 0755 - gives read/write/execute permissions to owner and read/execute to group and other users.", + "x-nullable": true + }, + "coolAccess": { + "type": "boolean", + "description": "Specifies whether Cool Access(tiering) is enabled for the volume." + }, + "coolnessPeriod": { + "type": "integer", + "format": "int32", + "description": "Specifies the number of days after which data that is not accessed by clients will be tiered.", + "minimum": 2, + "maximum": 183 + }, + "coolAccessRetrievalPolicy": { + "$ref": "#/definitions/CoolAccessRetrievalPolicy", + "description": "coolAccessRetrievalPolicy determines the data retrieval behavior from the cool tier to standard storage based on the read pattern for cool access enabled volumes. The possible values for this field are:\nDefault - Data will be pulled from cool tier to standard storage on random reads. This policy is the default.\nOnRead - All client-driven data read is pulled from cool tier to standard storage on both sequential and random reads.\nNever - No client-driven data is pulled from cool tier to standard storage." + }, + "coolAccessTieringPolicy": { + "$ref": "#/definitions/CoolAccessTieringPolicy", + "description": "coolAccessTieringPolicy determines which cold data blocks are moved to cool tier. The possible values for this field are: Auto - Moves cold user data blocks in both the Snapshot copies and the active file system to the cool tier tier. This policy is the default. SnapshotOnly - Moves user data blocks of the Volume Snapshot copies that are not associated with the active file system to the cool tier." + }, + "snapshotDirectoryVisible": { + "type": "boolean", + "description": "If enabled (true) the volume will contain a read-only snapshot directory which provides access to each of the volume's snapshots." + }, + "smbAccessBasedEnumeration": { + "$ref": "#/definitions/SmbAccessBasedEnumeration", + "description": "Enables access-based enumeration share property for SMB Shares. Only applicable for SMB/DualProtocol volume", + "x-nullable": true + }, + "smbNonBrowsable": { + "$ref": "#/definitions/SmbNonBrowsable", + "description": "Enables non-browsable property for SMB Shares. Only applicable for SMB/DualProtocol volume" + } + } + }, + "VolumePatchPropertiesDataProtection": { + "type": "object", + "description": "DataProtection type volumes include an object containing details of the replication", + "properties": { + "backup": { + "$ref": "#/definitions/VolumeBackupProperties", + "description": "Backup Properties" + }, + "snapshot": { + "$ref": "#/definitions/VolumeSnapshotProperties", + "description": "Snapshot properties." + }, + "ransomwareProtection": { + "$ref": "#/definitions/RansomwareProtectionPatchSettings", + "description": "Advanced Ransomware Protection updatable settings" + } + } + }, + "VolumePatchPropertiesExportPolicy": { + "type": "object", + "description": "Set of export policy rules", + "properties": { + "rules": { + "type": "array", + "description": "Export policy rule", + "items": { + "$ref": "#/definitions/ExportPolicyRule" + }, + "x-ms-identifiers": [ + "ruleIndex" + ] + } + } + }, + "VolumeProperties": { + "type": "object", + "description": "Volume properties", + "properties": { + "fileSystemId": { + "type": "string", + "description": "Unique FileSystem Identifier.", + "minLength": 36, + "maxLength": 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 + }, + "creationToken": { + "type": "string", + "description": "A unique file path for the volume. Used when creating mount targets", + "minLength": 1, + "maxLength": 80, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-]{0,79}$", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "serviceLevel": { + "type": "string", + "description": "The service level of the file system", + "default": "Premium", + "enum": [ + "Standard", + "Premium", + "Ultra", + "StandardZRS", + "Flexible" + ], + "x-ms-enum": { + "name": "ServiceLevel", + "modelAsString": true, + "values": [ + { + "name": "Standard", + "value": "Standard", + "description": "Standard service level" + }, + { + "name": "Premium", + "value": "Premium", + "description": "Premium service level" + }, + { + "name": "Ultra", + "value": "Ultra", + "description": "Ultra service level" + }, + { + "name": "StandardZRS", + "value": "StandardZRS", + "description": "Zone redundant storage service level. This will be deprecated soon." + }, + { + "name": "Flexible", + "value": "Flexible", + "description": "Flexible service level" + } + ] + } + }, + "usageThreshold": { + "type": "integer", + "format": "int64", + "description": "Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. For regular volumes, valid values are in the range 50GiB to 100TiB.\nFor large volumes, valid values are in the range 100TiB to 500TiB, and on an exceptional basis, from to 2400GiB to 2400TiB.\nFor extra large volumes, valid values are in the range 2400GiB to 7200TiB. Values expressed in bytes as multiples of 1 GiB.", + "default": 107374182400, + "minimum": 53687091200, + "maximum": 7916483719987200 + }, + "exportPolicy": { + "$ref": "#/definitions/VolumePropertiesExportPolicy", + "description": "Set of export policy rules" + }, + "protocolTypes": { + "type": "array", + "description": "Set of protocol types, default NFSv3, CIFS for SMB protocol", + "items": { + "type": "string" + } + }, + "provisioningState": { + "type": "string", + "description": "Azure lifecycle management", + "readOnly": true + }, + "snapshotId": { + "type": "string", + "format": "arm-id", + "description": "Resource identifier used to identify the Snapshot.", + "x-nullable": true, + "x-ms-mutability": [ + "read", + "create" + ], + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots" + } + ] + } + }, + "deleteBaseSnapshot": { + "type": "boolean", + "description": "If enabled (true) the snapshot the volume was created from will be automatically deleted after the volume create operation has finished. Defaults to false" + }, + "backupId": { + "type": "string", + "format": "arm-id", + "description": "Resource identifier used to identify the Backup.", + "x-nullable": true, + "x-ms-mutability": [ + "read", + "create" + ], + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.NetApp/netAppAccounts/backupVaults/backups" + } + ] + } + }, + "baremetalTenantId": { + "type": "string", + "description": "Unique Baremetal Tenant Identifier.", + "readOnly": true + }, + "subnetId": { + "type": "string", + "description": "The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes" + }, + "networkFeatures": { + "type": "string", + "description": "The original value of the network features type available to the volume at the time it was created.", + "default": "Basic", + "enum": [ + "Basic", + "Standard", + "Basic_Standard", + "Standard_Basic" + ], + "x-ms-enum": { + "name": "NetworkFeatures", + "modelAsString": true, + "values": [ + { + "name": "Basic", + "value": "Basic", + "description": "Basic network features." + }, + { + "name": "Standard", + "value": "Standard", + "description": "Standard network features." + }, + { + "name": "Basic_Standard", + "value": "Basic_Standard", + "description": "Updating from Basic to Standard network features." + }, + { + "name": "Standard_Basic", + "value": "Standard_Basic", + "description": "Updating from Standard to Basic network features." + } + ] + }, + "x-ms-mutability": [ + "read", + "create" + ] + }, + "effectiveNetworkFeatures": { + "type": "string", + "description": "The effective value of the network features type available to the volume, or current effective state of update.", + "default": "Basic", + "enum": [ + "Basic", + "Standard", + "Basic_Standard", + "Standard_Basic" + ], + "x-ms-enum": { + "name": "NetworkFeatures", + "modelAsString": true, + "values": [ + { + "name": "Basic", + "value": "Basic", + "description": "Basic network features." + }, + { + "name": "Standard", + "value": "Standard", + "description": "Standard network features." + }, + { + "name": "Basic_Standard", + "value": "Basic_Standard", + "description": "Updating from Basic to Standard network features." + }, + { + "name": "Standard_Basic", + "value": "Standard_Basic", + "description": "Updating from Standard to Basic network features." + } + ] + }, + "readOnly": true + }, + "networkSiblingSetId": { + "type": "string", + "description": "Network Sibling Set ID for the the group of volumes sharing networking resources.", + "minLength": 36, + "maxLength": 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 + }, + "storageToNetworkProximity": { + "$ref": "#/definitions/VolumeStorageToNetworkProximity", + "description": "Provides storage to network proximity information for the volume.", + "readOnly": true + }, + "mountTargets": { + "type": "array", + "description": "List of mount targets", + "items": { + "$ref": "#/definitions/MountTargetProperties" + }, + "readOnly": true, + "x-ms-identifiers": [ + "fileSystemId" + ] + }, + "volumeType": { + "type": "string", + "description": "What type of volume is this. For destination volumes in Cross Region Replication, set type to DataProtection. For creating clone volume, set type to ShortTermClone", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "dataProtection": { + "$ref": "#/definitions/VolumePropertiesDataProtection", + "description": "DataProtection type volumes include an object containing details of the replication" + }, + "acceptGrowCapacityPoolForShortTermCloneSplit": { + "$ref": "#/definitions/AcceptGrowCapacityPoolForShortTermCloneSplit", + "description": "While auto splitting the short term clone volume, if the parent pool does not have enough space to accommodate the volume after split, it will be automatically resized, which will lead to increased billing. To accept capacity pool size auto grow and create a short term clone volume, set the property as accepted.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "isRestoring": { + "type": "boolean", + "description": "Restoring", + "readOnly": true + }, + "snapshotDirectoryVisible": { + "type": "boolean", + "description": "If enabled (true) the volume will contain a read-only snapshot directory which provides access to each of the volume's snapshots (defaults to true).", + "default": true + }, + "kerberosEnabled": { + "type": "boolean", + "description": "Describe if a volume is KerberosEnabled. To be use with swagger version 2020-05-01 or later", + "default": false, + "x-ms-mutability": [ + "read", + "create" + ] + }, + "securityStyle": { + "type": "string", + "description": "The security style of volume, default unix, defaults to ntfs for dual protocol or CIFS protocol", + "default": "unix", + "enum": [ + "ntfs", + "unix" + ], + "x-ms-enum": { + "name": "SecurityStyle", + "modelAsString": true, + "values": [ + { + "name": "ntfs", + "value": "ntfs" + }, + { + "name": "unix", + "value": "unix" + } + ] + }, + "x-ms-mutability": [ + "read", + "create" + ] + }, + "smbEncryption": { + "type": "boolean", + "description": "Enables encryption for in-flight smb3 data. Only applicable for SMB/DualProtocol volume. To be used with swagger version 2020-08-01 or later", + "default": false + }, + "smbAccessBasedEnumeration": { + "$ref": "#/definitions/SmbAccessBasedEnumeration", + "description": "Enables access-based enumeration share property for SMB Shares. Only applicable for SMB/DualProtocol volume", + "x-nullable": true + }, + "smbNonBrowsable": { + "$ref": "#/definitions/SmbNonBrowsable", + "description": "Enables non-browsable property for SMB Shares. Only applicable for SMB/DualProtocol volume" + }, + "smbContinuouslyAvailable": { + "type": "boolean", + "description": "Enables continuously available share property for smb volume. Only applicable for SMB volume", + "default": false + }, + "throughputMibps": { + "type": "number", + "format": "float", + "description": "Maximum throughput in MiB/s that can be achieved by this volume and this will be accepted as input only for manual qosType volume", + "x-nullable": true + }, + "actualThroughputMibps": { + "type": "number", + "format": "float", + "description": "Actual throughput in MiB/s for auto qosType volumes calculated based on size and serviceLevel", + "readOnly": true + }, + "encryptionKeySource": { + "type": "string", + "description": "Source of key used to encrypt data in volume. Applicable if NetApp account has encryption.keySource = 'Microsoft.KeyVault'. Possible values (case-insensitive) are: 'Microsoft.NetApp, Microsoft.KeyVault'", + "default": "Microsoft.NetApp", + "enum": [ + "Microsoft.NetApp", + "Microsoft.KeyVault" + ], + "x-ms-enum": { + "name": "EncryptionKeySource", + "modelAsString": true, + "values": [ + { + "name": "Microsoft.NetApp", + "value": "Microsoft.NetApp", + "description": "Microsoft-managed key encryption" + }, + { + "name": "Microsoft.KeyVault", + "value": "Microsoft.KeyVault", + "description": "Customer-managed key encryption" + } + ] + } + }, + "keyVaultPrivateEndpointResourceId": { + "type": "string", + "description": "The resource ID of private endpoint for KeyVault. It must reside in the same VNET as the volume. Only applicable if encryptionKeySource = 'Microsoft.KeyVault'." + }, + "ldapEnabled": { + "type": "boolean", + "description": "Specifies whether LDAP is enabled or not for a given NFS volume.", + "default": false, + "x-ms-mutability": [ + "read", + "create" + ] + }, + "ldapServerType": { + "$ref": "#/definitions/LdapServerType", + "description": "Specifies the type of LDAP server for a given NFS volume.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "coolAccess": { + "type": "boolean", + "description": "Specifies whether Cool Access(tiering) is enabled for the volume.", + "default": false + }, + "coolnessPeriod": { + "type": "integer", + "format": "int32", + "description": "Specifies the number of days after which data that is not accessed by clients will be tiered.", + "minimum": 2, + "maximum": 183 + }, + "coolAccessRetrievalPolicy": { + "$ref": "#/definitions/CoolAccessRetrievalPolicy", + "description": "coolAccessRetrievalPolicy determines the data retrieval behavior from the cool tier to standard storage based on the read pattern for cool access enabled volumes. The possible values for this field are:\nDefault - Data will be pulled from cool tier to standard storage on random reads. This policy is the default.\nOnRead - All client-driven data read is pulled from cool tier to standard storage on both sequential and random reads.\nNever - No client-driven data is pulled from cool tier to standard storage." + }, + "coolAccessTieringPolicy": { + "$ref": "#/definitions/CoolAccessTieringPolicy", + "description": "coolAccessTieringPolicy determines which cold data blocks are moved to cool tier. The possible values for this field are: Auto - Moves cold user data blocks in both the Snapshot copies and the active file system to the cool tier tier. This policy is the default. SnapshotOnly - Moves user data blocks of the Volume Snapshot copies that are not associated with the active file system to the cool tier." + }, + "unixPermissions": { + "$ref": "#/definitions/UnixPermissions", + "description": "UNIX permissions for NFS volume accepted in octal 4 digit format. First digit selects the set user ID(4), set group ID (2) and sticky (1) attributes. Second digit selects permission for the owner of the file: read (4), write (2) and execute (1). Third selects permissions for other users in the same group. the fourth for other users not in the group. 0755 - gives read/write/execute permissions to owner and read/execute to group and other users.", + "x-nullable": true + }, + "cloneProgress": { + "type": "integer", + "format": "int32", + "description": "When a volume is being restored from another volume's snapshot, will show the percentage completion of this cloning process. When this value is empty/null there is no cloning process currently happening on this volume. This value will update every 5 minutes during cloning.", + "x-nullable": true, + "readOnly": true + }, + "fileAccessLogs": { + "type": "string", + "description": "Flag indicating whether file access logs are enabled for the volume, based on active diagnostic settings present on the volume.", + "default": "Disabled", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "FileAccessLogs", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled", + "description": "fileAccessLogs are enabled" + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "fileAccessLogs are not enabled" + } + ] + }, + "readOnly": true + }, + "avsDataStore": { + "type": "string", + "description": "Specifies whether the volume is enabled for Azure VMware Solution (AVS) datastore purpose", + "default": "Disabled", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "AvsDataStore", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled", + "description": "avsDataStore is enabled" + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "avsDataStore is disabled" + } + ] + }, + "x-ms-mutability": [ + "read", + "create" + ] + }, + "dataStoreResourceId": { + "type": "array", + "description": "Data store resource unique identifier", + "items": { + "type": "string" + }, + "readOnly": true + }, + "isDefaultQuotaEnabled": { + "type": "boolean", + "description": "Specifies if default quota is enabled for the volume.", + "default": false + }, + "defaultUserQuotaInKiBs": { + "type": "integer", + "format": "int64", + "description": "Default user quota for volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies .", + "default": 0 + }, + "defaultGroupQuotaInKiBs": { + "type": "integer", + "format": "int64", + "description": "Default group quota for volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies.", + "default": 0 + }, + "maximumNumberOfFiles": { + "type": "integer", + "format": "int64", + "description": "Maximum number of files allowed. Needs a service request in order to be changed. Only allowed to be changed if volume quota is more than 4TiB.", + "readOnly": true + }, + "volumeGroupName": { + "type": "string", + "description": "Volume Group Name", + "readOnly": true + }, + "capacityPoolResourceId": { + "type": "string", + "description": "Pool Resource Id used in case of creating a volume through volume group" + }, + "proximityPlacementGroup": { + "type": "string", + "description": "Proximity placement group associated with the volume" + }, + "t2Network": { + "type": "string", + "description": "T2 network information", + "readOnly": true + }, + "volumeSpecName": { + "type": "string", + "description": "Volume spec name is the application specific designation or identifier for the particular volume in a volume group for e.g. data, log" + }, + "encrypted": { + "type": "boolean", + "description": "Specifies if the volume is encrypted or not. Only available on volumes created or updated after 2022-01-01.", + "readOnly": true + }, + "placementRules": { + "type": "array", + "description": "Application specific placement rules for the particular volume", + "items": { + "$ref": "#/definitions/PlacementKeyValuePairs" + }, + "x-ms-identifiers": [ + "key" + ] + }, + "enableSubvolumes": { + "type": "string", + "description": "Flag indicating whether subvolume operations are enabled on the volume", + "default": "Disabled", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "EnableSubvolumes", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled", + "description": "subvolumes are enabled" + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "subvolumes are not enabled" + } + ] + } + }, + "provisionedAvailabilityZone": { + "type": "string", + "description": "The availability zone where the volume is provisioned. This refers to the logical availability zone where the volume resides.", + "x-nullable": true, + "readOnly": true + }, + "isLargeVolume": { + "type": "boolean", + "description": "Specifies whether volume is a Large Volume or Regular Volume.", + "default": false, + "x-ms-mutability": [ + "read", + "create" + ] + }, + "largeVolumeType": { + "$ref": "#/definitions/LargeVolumeType", + "description": "Specifies the type of the Large Volume. When set to 'LargeVolume', the large volume is created with standard configuration.\nIf it is set to 'ExtraLargeVolume7Dot2PiB', the extra large volume is created with higher capacity limit 7.2PiB with cool access enabled,\ndelivering higher capacity limit with lower costs.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "originatingResourceId": { + "type": "string", + "description": "Id of the snapshot or backup that the volume is restored from.", + "x-nullable": true, + "readOnly": true + }, + "inheritedSizeInBytes": { + "type": "integer", + "format": "int64", + "description": "Space shared by short term clone volume with parent volume in bytes.", + "x-nullable": true, + "readOnly": true + }, + "language": { + "$ref": "#/definitions/VolumeLanguage", + "description": "Language supported for volume." + }, + "breakthroughMode": { + "$ref": "#/definitions/BreakthroughMode", + "description": "Specifies whether the volume operates in Breakthrough Mode." + } + }, + "required": [ + "creationToken", + "usageThreshold", + "subnetId" + ] + }, + "VolumePropertiesDataProtection": { + "type": "object", + "description": "DataProtection type volumes include an object containing details of the replication", + "properties": { + "backup": { + "$ref": "#/definitions/VolumeBackupProperties", + "description": "Backup Properties" + }, + "replication": { + "$ref": "#/definitions/ReplicationObject", + "description": "Replication properties" + }, + "snapshot": { + "$ref": "#/definitions/VolumeSnapshotProperties", + "description": "Snapshot properties." + }, + "volumeRelocation": { + "$ref": "#/definitions/VolumeRelocationProperties", + "description": "VolumeRelocation properties" + }, + "ransomwareProtection": { + "$ref": "#/definitions/RansomwareProtectionSettings", + "description": "Advanced Ransomware Protection settings" + } + } + }, + "VolumePropertiesExportPolicy": { + "type": "object", + "description": "Set of export policy rules", + "properties": { + "rules": { + "type": "array", + "description": "Export policy rule", + "items": { + "$ref": "#/definitions/ExportPolicyRule" + }, + "x-ms-identifiers": [ + "ruleIndex" + ] + } + } + }, + "VolumeQuotaRule": { + "type": "object", + "description": "Quota Rule of a Volume", + "properties": { + "properties": { + "$ref": "#/definitions/VolumeQuotaRulesProperties", + "description": "Volume Quota Rule Properties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" + } + ] + }, + "VolumeQuotaRulePatch": { + "type": "object", + "description": "Patchable Quota Rule of a Volume", + "properties": { + "tags": { + "type": "object", + "description": "Resource tags", + "additionalProperties": { + "type": "string" + } + }, + "properties": { + "$ref": "#/definitions/VolumeQuotaRulesProperties", + "description": "Volume Quota Rule Properties", + "x-ms-client-flatten": true + } + } + }, + "VolumeQuotaRulesList": { + "type": "object", + "description": "List of Volume Quota Rules", + "properties": { + "value": { + "type": "array", + "description": "The VolumeQuotaRule items on this page", + "items": { + "$ref": "#/definitions/VolumeQuotaRule" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "VolumeQuotaRulesProperties": { + "type": "object", + "description": "Volume Quota Rule properties", + "properties": { + "provisioningState": { + "$ref": "#/definitions/NetAppProvisioningState", + "description": "Gets the status of the VolumeQuotaRule at the time the operation was called.", + "readOnly": true + }, + "quotaSizeInKiBs": { + "type": "integer", + "format": "int64", + "description": "Size of quota" + }, + "quotaType": { + "$ref": "#/definitions/Type", + "description": "Type of quota", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "quotaTarget": { + "type": "string", + "description": "UserID/GroupID/SID based on the quota target type. UserID and groupID can be found by running ‘id’ or ‘getent’ command for the user or group and SID can be found by running ", + "x-ms-mutability": [ + "read", + "create" + ] + } + } + }, + "VolumeRelocationProperties": { + "type": "object", + "description": "Volume relocation properties", + "properties": { + "relocationRequested": { + "type": "boolean", + "description": "Has relocation been requested for this volume" + }, + "readyToBeFinalized": { + "type": "boolean", + "description": "Has relocation finished and is ready to be cleaned up", + "readOnly": true + } + } + }, + "VolumeReplicationRelationshipStatus": { + "type": "string", + "description": "Status of the volume replication relationship", + "enum": [ + "Idle", + "Transferring" + ], + "x-ms-enum": { + "name": "VolumeReplicationRelationshipStatus", + "modelAsString": true, + "values": [ + { + "name": "Idle", + "value": "Idle" + }, + { + "name": "Transferring", + "value": "Transferring" + } + ] + } + }, + "VolumeRestoreRelationshipStatus": { + "type": "string", + "description": "Status of the volume restore relationship", + "enum": [ + "Idle", + "Transferring", + "Failed", + "Unknown" + ], + "x-ms-enum": { + "name": "VolumeRestoreRelationshipStatus", + "modelAsString": true, + "values": [ + { + "name": "Idle", + "value": "Idle" + }, + { + "name": "Transferring", + "value": "Transferring" + }, + { + "name": "Failed", + "value": "Failed" + }, + { + "name": "Unknown", + "value": "Unknown" + } + ] + } + }, + "VolumeRevert": { + "type": "object", + "description": "revert a volume to the snapshot", + "properties": { + "snapshotId": { + "type": "string", + "format": "arm-id", + "description": "Resource id of the snapshot", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots" + } + ] + } + } + } + }, + "VolumeSize": { + "type": "string", + "description": "Volume size for backup", + "enum": [ + "Large", + "Regular" + ], + "x-ms-enum": { + "name": "VolumeSize", + "modelAsString": true, + "values": [ + { + "name": "Large", + "value": "Large", + "description": "Value indicating backup is for a large volume" + }, + { + "name": "Regular", + "value": "Regular", + "description": "Value indicating backup is not for a large volume" + } + ] + } + }, + "VolumeSnapshotProperties": { + "type": "object", + "description": "Volume Snapshot Properties", + "properties": { + "snapshotPolicyId": { + "type": "string", + "description": "Snapshot Policy ResourceId" + } + } + }, + "VolumeStorageToNetworkProximity": { + "type": "string", + "description": "Provides storage to network proximity information for the volume.", + "enum": [ + "Default", + "T1", + "T2", + "AcrossT2" + ], + "x-ms-enum": { + "name": "VolumeStorageToNetworkProximity", + "modelAsString": true, + "values": [ + { + "name": "Default", + "value": "Default", + "description": "Basic storage to network connectivity." + }, + { + "name": "T1", + "value": "T1", + "description": "Standard T1 storage to network connectivity." + }, + { + "name": "T2", + "value": "T2", + "description": "Standard T2 storage to network connectivity." + }, + { + "name": "AcrossT2", + "value": "AcrossT2", + "description": "Standard AcrossT2 storage to network connectivity." + } + ] + } + }, + "WeeklySchedule": { + "type": "object", + "description": "Weekly Schedule properties, make a snapshot every week at a specific day or days", + "properties": { + "snapshotsToKeep": { + "type": "integer", + "format": "int32", + "description": "Weekly snapshot count to keep" + }, + "day": { + "type": "string", + "description": "Indicates which weekdays snapshot should be taken, accepts a comma separated list of week day names in english" + }, + "hour": { + "type": "integer", + "format": "int32", + "description": "Indicates which hour in UTC timezone a snapshot should be taken" + }, + "minute": { + "type": "integer", + "format": "int32", + "description": "Indicates which minute snapshot should be taken" + }, + "usedBytes": { + "type": "integer", + "format": "int64", + "description": "Resource size in bytes, current storage usage for the volume in bytes" + } + } + } + }, + "parameters": {} +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/readme.md b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/readme.md index 25bcf411c099..671d11a2a7d3 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/readme.md +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/readme.md @@ -28,7 +28,25 @@ These are the global settings for the Azure NetApp Files API. title: NetAppManagementClient description: Microsoft NetApp Files Azure Resource Provider specification openapi-type: arm -tag: package-2025-08-01 +tag: package-2025-09-01 +``` + +### Tag: package-preview-2025-09-01-preview + +These settings apply only when `--tag=package-preview-2025-09-01-preview` is specified on the command line. + +```yaml $(tag) == 'package-preview-2025-09-01-preview' +input-file: + - preview/2025-09-01-preview/netapp.json +``` + +### Tag: package-2025-09-01 + +These settings apply only when `--tag=package-2025-09-01` is specified on the command line. + +```yaml $(tag) == 'package-2025-09-01' +input-file: + - stable/2025-09-01/netapp.json ``` ### Tag: package-preview-2025-08-01-preview diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-06-01/examples/SnapshotPolicies_ListVolumes.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-06-01/examples/SnapshotPolicies_ListVolumes.json index adb52238dfcb..825279947691 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-06-01/examples/SnapshotPolicies_ListVolumes.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-06-01/examples/SnapshotPolicies_ListVolumes.json @@ -20,7 +20,7 @@ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1", "location": "eastus", "properties": { - "creationToken": "some-amazing-filepath", + "creationToken": "my-unique-file-path", "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca7778", "provisioningState": "Succeeded", "serviceLevel": "Premium", diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-06-01/examples/Volumes_CreateOrUpdate.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-06-01/examples/Volumes_CreateOrUpdate.json index 96e5bb807681..a33247e21f86 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-06-01/examples/Volumes_CreateOrUpdate.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-06-01/examples/Volumes_CreateOrUpdate.json @@ -24,7 +24,7 @@ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1", "location": "eastus", "properties": { - "creationToken": "some-amazing-filepath", + "creationToken": "my-unique-file-path", "encryptionKeySource": "Microsoft.NetApp", "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca7778", "provisioningState": "Succeeded", @@ -42,7 +42,7 @@ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1", "location": "eastus", "properties": { - "creationToken": "some-amazing-filepath", + "creationToken": "my-unique-file-path", "encryptionKeySource": "Microsoft.NetApp", "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca7778", "provisioningState": "Succeeded", diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-06-01/examples/Volumes_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-06-01/examples/Volumes_Get.json index fae0aec8fa4d..89ce9399eefd 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-06-01/examples/Volumes_Get.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-06-01/examples/Volumes_Get.json @@ -15,7 +15,7 @@ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1", "location": "eastus", "properties": { - "creationToken": "some-amazing-filepath", + "creationToken": "my-unique-file-path", "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca7778", "networkFeatures": "Standard", "networkSiblingSetId": "0f434a03-ce0b-4935-81af-d98652ffb1c4", diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-06-01/examples/Volumes_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-06-01/examples/Volumes_List.json index e1c42fb25394..664e6773bfde 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-06-01/examples/Volumes_List.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-06-01/examples/Volumes_List.json @@ -16,7 +16,7 @@ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1", "location": "eastus", "properties": { - "creationToken": "some-amazing-filepath", + "creationToken": "my-unique-file-path", "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca7778", "networkFeatures": "Standard", "networkSiblingSetId": "0f434a03-ce0b-4935-81af-d98652ffb1c4", diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-06-01/examples/Volumes_PopulateAvailabilityZones.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-06-01/examples/Volumes_PopulateAvailabilityZones.json index d5dc70c81bc6..0a03de36fbf0 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-06-01/examples/Volumes_PopulateAvailabilityZones.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-06-01/examples/Volumes_PopulateAvailabilityZones.json @@ -15,7 +15,7 @@ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1", "location": "eastus", "properties": { - "creationToken": "some-amazing-filepath", + "creationToken": "my-unique-file-path", "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca7778", "networkFeatures": "Standard", "networkSiblingSetId": "0f434a03-ce0b-4935-81af-d98652ffb1c4", diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-06-01/examples/Volumes_SplitClone.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-06-01/examples/Volumes_SplitClone.json index 5462fd13cfae..72f7ed7470ff 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-06-01/examples/Volumes_SplitClone.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-06-01/examples/Volumes_SplitClone.json @@ -16,7 +16,7 @@ "location": "eastus", "properties": { "acceptGrowCapacityPoolForShortTermCloneSplit": "Accepted", - "creationToken": "some-amazing-filepath", + "creationToken": "my-unique-file-path", "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca7778", "networkFeatures": "Standard", "networkSiblingSetId": "0f434a03-ce0b-4935-81af-d98652ffb1c4", diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-06-01/examples/Volumes_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-06-01/examples/Volumes_Update.json index dc0f544eb291..e4d6e6d73ac2 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-06-01/examples/Volumes_Update.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-06-01/examples/Volumes_Update.json @@ -16,7 +16,7 @@ "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroup/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1", "location": "eastus", "properties": { - "creationToken": "some-amazing-filepath", + "creationToken": "my-unique-file-path", "dataProtection": { "snapshot": { "snapshotPolicyId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.NetApp/netAppAccounts/account1/snapshotPolicies/snapshotPolicy1" diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-06-01/netapp.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-06-01/netapp.json index bd82e2f5da6a..29f7af9d7795 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-06-01/netapp.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-06-01/netapp.json @@ -9507,6 +9507,61 @@ } } }, + "NetAppProvisioningState": { + "type": "string", + "description": "Gets the status of the VolumeQuotaRule at the time the operation was called.", + "enum": [ + "Accepted", + "Creating", + "Patching", + "Deleting", + "Moving", + "Failed", + "Succeeded" + ], + "x-ms-enum": { + "name": "NetAppProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Accepted", + "value": "Accepted", + "description": "Resource has been Accepted" + }, + { + "name": "Creating", + "value": "Creating", + "description": "Resource is being Created" + }, + { + "name": "Patching", + "value": "Patching", + "description": "Resource is being Patched" + }, + { + "name": "Deleting", + "value": "Deleting", + "description": "Resource is being Deleted" + }, + { + "name": "Moving", + "value": "Moving", + "description": "Resource is being Moved" + }, + { + "name": "Failed", + "value": "Failed", + "description": "Resource has Failed" + }, + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Resource has Succeeded" + } + ] + }, + "readOnly": true + }, "NetworkSiblingSet": { "type": "object", "description": "Describes the contents of a network sibling set.", @@ -9948,61 +10003,6 @@ "serviceLevel" ] }, - "ProvisioningState": { - "type": "string", - "description": "Gets the status of the VolumeQuotaRule at the time the operation was called.", - "enum": [ - "Accepted", - "Creating", - "Patching", - "Deleting", - "Moving", - "Failed", - "Succeeded" - ], - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true, - "values": [ - { - "name": "Accepted", - "value": "Accepted", - "description": "Accepted" - }, - { - "name": "Creating", - "value": "Creating", - "description": "Creating" - }, - { - "name": "Patching", - "value": "Patching", - "description": "Patching" - }, - { - "name": "Deleting", - "value": "Deleting", - "description": "Deleting" - }, - { - "name": "Moving", - "value": "Moving", - "description": "Moving" - }, - { - "name": "Failed", - "value": "Failed", - "description": "Failed" - }, - { - "name": "Succeeded", - "value": "Succeeded", - "description": "Succeeded" - } - ] - }, - "readOnly": true - }, "QosType": { "type": "string", "description": "The qos type of the pool", @@ -12457,7 +12457,7 @@ "description": "Volume Quota Rule properties", "properties": { "provisioningState": { - "$ref": "#/definitions/ProvisioningState", + "$ref": "#/definitions/NetAppProvisioningState", "description": "Gets the status of the VolumeQuotaRule at the time the operation was called.", "readOnly": true }, diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-08-01/examples/SnapshotPolicies_ListVolumes.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-08-01/examples/SnapshotPolicies_ListVolumes.json index 3db233a8405e..c19a639aba9e 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-08-01/examples/SnapshotPolicies_ListVolumes.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-08-01/examples/SnapshotPolicies_ListVolumes.json @@ -20,7 +20,7 @@ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1", "location": "eastus", "properties": { - "creationToken": "some-amazing-filepath", + "creationToken": "my-unique-file-path", "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca7778", "provisioningState": "Succeeded", "serviceLevel": "Premium", diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-08-01/examples/Volumes_CreateOrUpdate.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-08-01/examples/Volumes_CreateOrUpdate.json index 7a631a747092..d29216bc3d1c 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-08-01/examples/Volumes_CreateOrUpdate.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-08-01/examples/Volumes_CreateOrUpdate.json @@ -24,7 +24,7 @@ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1", "location": "eastus", "properties": { - "creationToken": "some-amazing-filepath", + "creationToken": "my-unique-file-path", "encryptionKeySource": "Microsoft.NetApp", "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca7778", "provisioningState": "Succeeded", @@ -42,7 +42,7 @@ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1", "location": "eastus", "properties": { - "creationToken": "some-amazing-filepath", + "creationToken": "my-unique-file-path", "encryptionKeySource": "Microsoft.NetApp", "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca7778", "provisioningState": "Succeeded", diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-08-01/examples/Volumes_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-08-01/examples/Volumes_Get.json index 0306afada3c9..966280f555bf 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-08-01/examples/Volumes_Get.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-08-01/examples/Volumes_Get.json @@ -15,7 +15,7 @@ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1", "location": "eastus", "properties": { - "creationToken": "some-amazing-filepath", + "creationToken": "my-unique-file-path", "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca7778", "networkFeatures": "Standard", "networkSiblingSetId": "0f434a03-ce0b-4935-81af-d98652ffb1c4", diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-08-01/examples/Volumes_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-08-01/examples/Volumes_List.json index aabee4d02a73..c98545230382 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-08-01/examples/Volumes_List.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-08-01/examples/Volumes_List.json @@ -16,7 +16,7 @@ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1", "location": "eastus", "properties": { - "creationToken": "some-amazing-filepath", + "creationToken": "my-unique-file-path", "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca7778", "networkFeatures": "Standard", "networkSiblingSetId": "0f434a03-ce0b-4935-81af-d98652ffb1c4", diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-08-01/examples/Volumes_PopulateAvailabilityZones.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-08-01/examples/Volumes_PopulateAvailabilityZones.json index c469d78730fb..a1e36934f54a 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-08-01/examples/Volumes_PopulateAvailabilityZones.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-08-01/examples/Volumes_PopulateAvailabilityZones.json @@ -15,7 +15,7 @@ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1", "location": "eastus", "properties": { - "creationToken": "some-amazing-filepath", + "creationToken": "my-unique-file-path", "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca7778", "networkFeatures": "Standard", "networkSiblingSetId": "0f434a03-ce0b-4935-81af-d98652ffb1c4", diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-08-01/examples/Volumes_SplitClone.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-08-01/examples/Volumes_SplitClone.json index 87a43ef5d0e6..00bc2383a499 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-08-01/examples/Volumes_SplitClone.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-08-01/examples/Volumes_SplitClone.json @@ -16,7 +16,7 @@ "location": "eastus", "properties": { "acceptGrowCapacityPoolForShortTermCloneSplit": "Accepted", - "creationToken": "some-amazing-filepath", + "creationToken": "my-unique-file-path", "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca7778", "networkFeatures": "Standard", "networkSiblingSetId": "0f434a03-ce0b-4935-81af-d98652ffb1c4", diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-08-01/examples/Volumes_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-08-01/examples/Volumes_Update.json index 2abdf270c805..4f7cbe4b7e3b 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-08-01/examples/Volumes_Update.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-08-01/examples/Volumes_Update.json @@ -16,7 +16,7 @@ "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroup/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1", "location": "eastus", "properties": { - "creationToken": "some-amazing-filepath", + "creationToken": "my-unique-file-path", "dataProtection": { "snapshot": { "snapshotPolicyId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.NetApp/netAppAccounts/account1/snapshotPolicies/snapshotPolicy1" diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-08-01/netapp.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-08-01/netapp.json index b32acfce7ef5..45d4df459b98 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-08-01/netapp.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-08-01/netapp.json @@ -9890,37 +9890,37 @@ { "name": "Accepted", "value": "Accepted", - "description": "Accepted" + "description": "Resource has been Accepted" }, { "name": "Creating", "value": "Creating", - "description": "Creating" + "description": "Resource is being Created" }, { "name": "Patching", "value": "Patching", - "description": "Patching" + "description": "Resource is being Patched" }, { "name": "Deleting", "value": "Deleting", - "description": "Deleting" + "description": "Resource is being Deleted" }, { "name": "Moving", "value": "Moving", - "description": "Moving" + "description": "Resource is being Moved" }, { "name": "Failed", "value": "Failed", - "description": "Failed" + "description": "Resource has Failed" }, { "name": "Succeeded", "value": "Succeeded", - "description": "Succeeded" + "description": "Resource has Succeeded" } ] }, diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Accounts_ChangeKeyVault.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Accounts_ChangeKeyVault.json new file mode 100644 index 000000000000..f875e0996504 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Accounts_ChangeKeyVault.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "body": { + "keyName": "rsakey", + "keyVaultPrivateEndpoints": [ + { + "privateEndpointId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.Network/privateEndpoints/privip1", + "virtualNetworkId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.Network/virtualNetworks/vnet1" + } + ], + "keyVaultResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.KeyVault/managedHSMs/my-hsm", + "keyVaultUri": "https://my-key-vault.managedhsm.azure.net" + }, + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/a0216c17-f9d6-4b99-9faf-9ebd4883d0e4?api-version=2025-09-01&operationResultResponseType=Location" + } + } + }, + "operationId": "Accounts_ChangeKeyVault", + "title": "Accounts_ChangeKeyVault" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Accounts_CreateOrUpdate.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Accounts_CreateOrUpdate.json new file mode 100644 index 000000000000..299b5155598a --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Accounts_CreateOrUpdate.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "body": { + "location": "eastus", + "properties": {} + }, + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "account1", + "type": "Microsoft.NetApp/netAppAccounts", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "name": "account1", + "type": "Microsoft.NetApp/netAppAccounts", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1", + "location": "eastus", + "properties": { + "provisioningState": "Creating" + } + } + } + }, + "operationId": "Accounts_CreateOrUpdate", + "title": "Accounts_CreateOrUpdate" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Accounts_CreateOrUpdateAD.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Accounts_CreateOrUpdateAD.json new file mode 100644 index 000000000000..76dd7836b2ce --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Accounts_CreateOrUpdateAD.json @@ -0,0 +1,83 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "body": { + "location": "eastus", + "properties": { + "activeDirectories": [ + { + "aesEncryption": true, + "dns": "10.10.10.3", + "domain": "10.10.10.3", + "ldapOverTLS": false, + "ldapSigning": false, + "organizationalUnit": "OU=Engineering", + "password": "ad_password", + "site": "SiteName", + "smbServerName": "SMBServer", + "username": "ad_user_name" + } + ] + } + }, + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "account1", + "type": "Microsoft.NetApp/netAppAccounts", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1", + "location": "eastus", + "properties": { + "activeDirectories": [ + { + "activeDirectoryId": "503d38f9-f17c-f92d-ef26-b0d46374534b", + "aesEncryption": true, + "dns": "10.10.10.3", + "domain": "10.10.10.3", + "ldapOverTLS": false, + "ldapSigning": false, + "organizationalUnit": "OU=Engineering", + "password": null, + "site": "SiteName", + "smbServerName": "SMBServer", + "username": "ad_user_name" + } + ], + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "name": "account1", + "type": "Microsoft.NetApp/netAppAccounts", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1", + "location": "eastus", + "properties": { + "activeDirectories": [ + { + "activeDirectoryId": "503d38f9-f17c-f92d-ef26-b0d46374534b", + "aesEncryption": true, + "dns": "10.10.10.3", + "domain": "10.10.10.3", + "ldapOverTLS": false, + "ldapSigning": false, + "organizationalUnit": "OU=Engineering", + "password": null, + "site": "SiteName", + "smbServerName": "SMBServer", + "username": "ad_user_name" + } + ], + "provisioningState": "Creating" + } + } + } + }, + "operationId": "Accounts_CreateOrUpdate", + "title": "Accounts_CreateOrUpdateWithActiveDirectory" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Accounts_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Accounts_Delete.json new file mode 100644 index 000000000000..88ac921bf0a0 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Accounts_Delete.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01&operationResultResponseType=Location" + } + }, + "204": {} + }, + "operationId": "Accounts_Delete", + "title": "Accounts_Delete" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Accounts_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Accounts_Get.json new file mode 100644 index 000000000000..b94f5887b2b2 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Accounts_Get.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "account1", + "type": "Microsoft.NetApp/netAppAccounts", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1", + "location": "eastus", + "properties": { + "activeDirectories": [ + { + "activeDirectoryId": "02da3711-6c58-2d64-098a-e3af7afaf936", + "aesEncryption": true, + "dns": "10.10.10.3", + "domain": "10.10.10.3", + "ldapSigning": true, + "organizationalUnit": "OU=Engineering", + "site": "SiteName", + "smbServerName": "SMBServer", + "status": "InUse", + "statusDetails": "Status Details", + "username": "ad_user_name" + } + ], + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "Accounts_Get", + "title": "Accounts_Get" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Accounts_GetChangeKeyVaultInformation.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Accounts_GetChangeKeyVaultInformation.json new file mode 100644 index 000000000000..8a1a6d585fa0 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Accounts_GetChangeKeyVaultInformation.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "properties": { + "keyName": "rsakey", + "keyVaultPrivateEndpoints": [ + { + "privateEndpointId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.Network/privateEndpoints/privip1", + "virtualNetworkId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.Network/virtualNetworks/vnet1" + } + ], + "keyVaultResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.KeyVault/managedHSMs/my-hsm", + "keyVaultUri": "https://my-key-vault.managedhsm.azure.net" + } + } + }, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01&operationResultResponseType=Location" + } + } + }, + "operationId": "Accounts_GetChangeKeyVaultInformation", + "title": "Accounts_GetChangeKeyVaultInformation" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Accounts_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Accounts_List.json new file mode 100644 index 000000000000..9f7994f4cebc --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Accounts_List.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2025-09-01", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "account1", + "type": "Microsoft.NetApp/netAppAccounts", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded" + } + } + ] + } + } + }, + "operationId": "Accounts_List", + "title": "Accounts_List" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Accounts_ListBySubscription.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Accounts_ListBySubscription.json new file mode 100644 index 000000000000..e295e1bd0d36 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Accounts_ListBySubscription.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2025-09-01", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "account1", + "type": "Microsoft.NetApp/netAppAccounts", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded" + } + } + ] + } + } + }, + "operationId": "Accounts_ListBySubscription", + "title": "Accounts_ListBySubscription" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Accounts_RenewCredentials.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Accounts_RenewCredentials.json new file mode 100644 index 000000000000..5e745ee10c0c --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Accounts_RenewCredentials.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "body": {}, + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/a0216c17-f9d6-4b99-9faf-9ebd4883d0e4?api-version=2025-09-01&operationResultResponseType=Location" + } + } + }, + "operationId": "Accounts_RenewCredentials", + "title": "Accounts_RenewCredentials" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Accounts_TransitionEncryptionKey.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Accounts_TransitionEncryptionKey.json new file mode 100644 index 000000000000..48a56a917bd2 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Accounts_TransitionEncryptionKey.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "body": { + "privateEndpointId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.Network/privateEndpoints/privip1", + "virtualNetworkId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.Network/virtualNetworks/vnet1" + }, + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/a0216c17-f9d6-4b99-9faf-9ebd4883d0e4?api-version=2025-09-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/a0216c17-f9d6-4b99-9faf-9ebd4883d0e4?api-version=2025-09-01&operationResultResponseType=Location" + } + } + }, + "operationId": "Accounts_TransitionToCmk", + "title": "Accounts_MigrateEncryptionKey" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Accounts_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Accounts_Update.json new file mode 100644 index 000000000000..4428d6e377ec --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Accounts_Update.json @@ -0,0 +1,48 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "body": { + "tags": { + "Tag1": "Value1" + } + }, + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "account1", + "type": "Microsoft.NetApp/netAppAccounts", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded" + } + } + }, + "202": { + "body": { + "name": "account1", + "type": "Microsoft.NetApp/netAppAccounts", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1", + "location": "eastus", + "properties": { + "encryption": { + "keySource": "Microsoft.NetApp" + }, + "provisioningState": "Patching" + }, + "tags": { + "Tag1": "Value1" + } + }, + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/a0216c17-f9d6-4b99-9faf-9ebd4883d0e4?api-version=2025-09-01&operationResultResponseType=Location" + } + } + }, + "operationId": "Accounts_Update", + "title": "Accounts_Update" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/BackupPolicies_Create.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/BackupPolicies_Create.json new file mode 100644 index 000000000000..dc0866827776 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/BackupPolicies_Create.json @@ -0,0 +1,53 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "backupPolicyName": "backupPolicyName", + "body": { + "location": "westus", + "properties": { + "dailyBackupsToKeep": 10, + "enabled": true, + "monthlyBackupsToKeep": 10, + "weeklyBackupsToKeep": 10 + } + }, + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "account1/backupPolicyName", + "type": "Microsoft.NetApp/netAppAccounts/backupPolicies", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupPolicies/backupPolicyName", + "location": "westus", + "properties": { + "dailyBackupsToKeep": 10, + "enabled": true, + "monthlyBackupsToKeep": 10, + "provisioningState": "creating", + "weeklyBackupsToKeep": 10 + } + } + }, + "201": { + "body": { + "name": "account1/backupPolicyName", + "type": "Microsoft.NetApp/netAppAccounts/backupPolicies", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupPolicies/backupPolicyName", + "location": "westus", + "properties": { + "dailyBackupsToKeep": 10, + "enabled": true, + "monthlyBackupsToKeep": 10, + "provisioningState": "creating", + "weeklyBackupsToKeep": 10 + } + } + }, + "202": {} + }, + "operationId": "BackupPolicies_Create", + "title": "BackupPolicies_Create" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/BackupPolicies_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/BackupPolicies_Delete.json new file mode 100644 index 000000000000..45948dbc5250 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/BackupPolicies_Delete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "accountName": "accountName", + "api-version": "2025-09-01", + "backupPolicyName": "backupPolicyName", + "resourceGroupName": "resourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01&operationResultResponseType=Location" + } + }, + "204": {} + }, + "operationId": "BackupPolicies_Delete", + "title": "BackupPolicies_Delete" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/BackupPolicies_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/BackupPolicies_Get.json new file mode 100644 index 000000000000..c22fc93409e6 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/BackupPolicies_Get.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "backupPolicyName": "backupPolicyName", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "account1/backupPolicyName", + "type": "Microsoft.NetApp/netAppAccounts/backupPolicies", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupPolocies/backupPolicyName", + "location": "eastus", + "properties": { + "dailyBackupsToKeep": 10, + "enabled": true, + "monthlyBackupsToKeep": 10, + "volumeBackups": [ + { + "backupsCount": 5, + "policyEnabled": true, + "volumeName": "volume 1" + } + ], + "volumesAssigned": 0, + "weeklyBackupsToKeep": 10 + } + } + } + }, + "operationId": "BackupPolicies_Get", + "title": "Backups_Get" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/BackupPolicies_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/BackupPolicies_List.json new file mode 100644 index 000000000000..84a756f907c4 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/BackupPolicies_List.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "account1/backupPolicy1", + "type": "Microsoft.NetApp/netAppAccounts/backupPolicies", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupPolocies/backupPolicy1", + "location": "eastus", + "properties": { + "dailyBackupsToKeep": 10, + "enabled": true, + "monthlyBackupsToKeep": 10, + "volumesAssigned": 0, + "weeklyBackupsToKeep": 10 + } + } + ] + } + } + }, + "operationId": "BackupPolicies_List", + "title": "BackupPolicies_List" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/BackupPolicies_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/BackupPolicies_Update.json new file mode 100644 index 000000000000..28109f034e72 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/BackupPolicies_Update.json @@ -0,0 +1,72 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "backupPolicyName": "backupPolicyName", + "body": { + "location": "westus", + "properties": { + "dailyBackupsToKeep": 5, + "enabled": false, + "monthlyBackupsToKeep": 10, + "weeklyBackupsToKeep": 10 + } + }, + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "account1/backupPolicyName", + "type": "Microsoft.NetApp/netAppAccounts/backupPolicies", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupPolocies/backupPolicyName", + "location": "westus", + "properties": { + "dailyBackupsToKeep": 5, + "enabled": false, + "monthlyBackupsToKeep": 10, + "provisioningState": "Succeeded", + "volumeBackups": [ + { + "backupsCount": 5, + "policyEnabled": true, + "volumeName": "volume 1" + } + ], + "volumesAssigned": 1, + "weeklyBackupsToKeep": 10 + } + } + }, + "202": { + "body": { + "name": "account1/backupPolicyName", + "type": "Microsoft.NetApp/netAppAccounts/backupPolicies", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupPolocies/backupPolicyName", + "location": "westus", + "properties": { + "dailyBackupsToKeep": 5, + "enabled": false, + "monthlyBackupsToKeep": 10, + "provisioningState": "Succeeded", + "volumeBackups": [ + { + "backupsCount": 5, + "policyEnabled": true, + "volumeName": "volume 1" + } + ], + "volumesAssigned": 1, + "weeklyBackupsToKeep": 10 + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/18c499e1-2a3c-441c-950e-4b456c991c18?api-version=2025-09-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/18c499e1-2a3c-441c-950e-4b456c991c18?api-version=2025-09-01&operationResultResponseType=Location" + } + } + }, + "operationId": "BackupPolicies_Update", + "title": "BackupPolicies_Update" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/BackupVaults_Create.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/BackupVaults_Create.json new file mode 100644 index 000000000000..9b3d5175743a --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/BackupVaults_Create.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "backupVaultName": "backupVault1", + "body": { + "location": "eastus" + }, + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "account1/backupVault1", + "type": "Microsoft.NetApp/netAppAccounts/backupVaults", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupVaults/backupVault1", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "name": "account1/backupVault1", + "type": "Microsoft.NetApp/netAppAccounts/backupVaults", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupVaults/backupVault1", + "location": "eastus", + "properties": { + "provisioningState": "Creating" + } + } + } + }, + "operationId": "BackupVaults_CreateOrUpdate", + "title": "BackupVault_CreateOrUpdate" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/BackupVaults_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/BackupVaults_Delete.json new file mode 100644 index 000000000000..663b59a3a687 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/BackupVaults_Delete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "backupVaultName": "backupVault1", + "resourceGroupName": "resourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01&operationResultResponseType=Location" + } + }, + "204": {} + }, + "operationId": "BackupVaults_Delete", + "title": "BackupVaults_Delete" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/BackupVaults_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/BackupVaults_Get.json new file mode 100644 index 000000000000..fd2a788b9598 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/BackupVaults_Get.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "backupVaultName": "backupVault1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "account1/backupVault1", + "type": "Microsoft.NetApp/netAppAccounts/backupVaults", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupVaults/backupVault1", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded" + }, + "tags": { + "Tag1": "Value1" + } + } + } + }, + "operationId": "BackupVaults_Get", + "title": "BackupVaults_Get" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/BackupVaults_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/BackupVaults_List.json new file mode 100644 index 000000000000..8ad7ee06448c --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/BackupVaults_List.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "account1/backupVault1", + "type": "Microsoft.NetApp/netAppAccounts/backupVaults", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupVaults/backupVault1", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded" + }, + "tags": { + "Tag1": "Value1" + } + } + ] + } + } + }, + "operationId": "BackupVaults_ListByNetAppAccount", + "title": "BackupVaults_List" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/BackupVaults_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/BackupVaults_Update.json new file mode 100644 index 000000000000..0aa984ce4428 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/BackupVaults_Update.json @@ -0,0 +1,50 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "backupVaultName": "backupVault1", + "body": { + "tags": { + "Tag1": "Value1" + } + }, + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "account1/backupVault1", + "type": "Microsoft.NetApp/netAppAccounts/backupVaults", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupVaults/backupVault1", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded" + }, + "tags": { + "Tag1": "Value1" + } + } + }, + "202": { + "body": { + "name": "account1/backupVault1", + "type": "Microsoft.NetApp/netAppAccounts/backupVaults", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupVaults/backupVault1", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded" + }, + "tags": { + "Tag1": "Value1" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/18c499e1-2a3c-441c-950e-4b456c991c18?api-version=2025-09-01&operationResultResponseType=Location" + } + } + }, + "operationId": "BackupVaults_Update", + "title": "BackupVaults_Update" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/BackupsUnderAccount_Migrate.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/BackupsUnderAccount_Migrate.json new file mode 100644 index 000000000000..4070ad01b0b3 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/BackupsUnderAccount_Migrate.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "body": { + "backupVaultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupVaults/backupVault1" + }, + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01&operationResultResponseType=Location" + } + } + }, + "operationId": "BackupsUnderAccount_MigrateBackups", + "title": "BackupsUnderAccount_Migrate" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/BackupsUnderBackupVault_Create.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/BackupsUnderBackupVault_Create.json new file mode 100644 index 000000000000..9c52da72e6f4 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/BackupsUnderBackupVault_Create.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "backupName": "backup1", + "backupVaultName": "backupVault1", + "body": { + "properties": { + "label": "myLabel", + "volumeResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPool/pool1/volumes/volume1" + } + }, + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "account1/backupVault1/backup1", + "type": "Microsoft.NetApp/netAppAccounts/backupVaults/backups", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupVaults/backupVault1/backups/backup1", + "properties": { + "backupType": "Manual", + "creationDate": "2017-08-15T13:23:33Z", + "label": "myLabel", + "provisioningState": "Succeeded", + "size": 10011, + "snapshotName": "backup1", + "volumeResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPool/pool1/volumes/volume1" + } + } + }, + "201": { + "body": { + "name": "account1/backupVault1/backup1", + "type": "Microsoft.NetApp/netAppAccounts/backupVaults/backups", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupVaults/backupVault1/backups/backup1", + "properties": { + "backupType": "Manual", + "creationDate": "2017-08-15T13:23:33Z", + "label": "myLabel", + "provisioningState": "Succeeded", + "size": 10011, + "snapshotName": "backup1", + "volumeResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPool/pool1/volumes/volume1" + } + } + } + }, + "operationId": "Backups_Create", + "title": "BackupsUnderBackupVault_Create" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/BackupsUnderBackupVault_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/BackupsUnderBackupVault_Delete.json new file mode 100644 index 000000000000..dc44fc101cd0 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/BackupsUnderBackupVault_Delete.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "backupName": "backup1", + "backupVaultName": "backupVault1", + "resourceGroupName": "resourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01&operationResultResponseType=Location" + } + }, + "204": {} + }, + "operationId": "Backups_Delete", + "title": "BackupsUnderBackupVault_Delete" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/BackupsUnderBackupVault_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/BackupsUnderBackupVault_Get.json new file mode 100644 index 000000000000..879044026f77 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/BackupsUnderBackupVault_Get.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "backupName": "backup1", + "backupVaultName": "backupVault1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "account1/backupVault1/backup1", + "type": "Microsoft.NetApp/netAppAccounts/backupVaults/backups", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupVaults/backupVault1/backups/backup1", + "properties": { + "backupPolicyResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupPolicies/policy1", + "backupType": "Manual", + "completionDate": "2017-08-15T13:23:33Z", + "creationDate": "2017-08-15T13:23:33Z", + "label": "myLabel", + "provisioningState": "Succeeded", + "size": 10011, + "snapshotCreationDate": "2017-08-15T13:23:33Z", + "snapshotName": "backup1", + "volumeResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPool/pool1/volumes/volume1" + } + } + } + }, + "operationId": "Backups_Get", + "title": "BackupsUnderBackupVault_Get" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/BackupsUnderBackupVault_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/BackupsUnderBackupVault_List.json new file mode 100644 index 000000000000..117ed73b2793 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/BackupsUnderBackupVault_List.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "backupVaultName": "backupVault1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "account1/backupVault1/backup1", + "type": "Microsoft.NetApp/netAppAccounts/backupVaults/backups", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupVaults/backupVault1/backups/backup1", + "properties": { + "backupPolicyResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupPolicies/policy1", + "backupType": "Manual", + "completionDate": "2017-08-15T13:23:33Z", + "creationDate": "2017-08-15T13:23:33Z", + "label": "myLabel", + "provisioningState": "Succeeded", + "size": 10011, + "snapshotCreationDate": "2017-08-15T13:23:33Z", + "snapshotName": "backup1", + "volumeResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPool/pool1/volumes/volume1" + } + } + ] + } + } + }, + "operationId": "Backups_ListByVault", + "title": "Backups_List" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/BackupsUnderBackupVault_SingleFileRestore.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/BackupsUnderBackupVault_SingleFileRestore.json new file mode 100644 index 000000000000..15310bee15b0 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/BackupsUnderBackupVault_SingleFileRestore.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "backupName": "backup1", + "backupVaultName": "backupVault1", + "body": { + "destinationVolumeId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1", + "fileList": [ + "/dir1/customer1.db", + "/dir1/customer2.db" + ] + }, + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01&operationResultResponseType=Location" + } + } + }, + "operationId": "BackupsUnderBackupVault_RestoreFiles", + "title": "Backups_SingleFileRestore" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/BackupsUnderBackupVault_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/BackupsUnderBackupVault_Update.json new file mode 100644 index 000000000000..c0ee70eec0c7 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/BackupsUnderBackupVault_Update.json @@ -0,0 +1,51 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "backupName": "backup1", + "backupVaultName": "backupVault1", + "body": {}, + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "account1/backupVault1/backup1", + "type": "Microsoft.NetApp/netAppAccounts/backupVaults/backups", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupVaults/backupVault1/backups/backup1", + "properties": { + "backupType": "Manual", + "creationDate": "2017-08-15T13:23:33Z", + "label": "myLabel", + "provisioningState": "Succeeded", + "size": 10011, + "snapshotName": "backup1", + "volumeResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPool/pool1/volumes/volume1" + } + } + }, + "202": { + "body": { + "name": "account1/backupVault1/backup1", + "type": "Microsoft.NetApp/netAppAccounts/backupVaults/backups", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupVaults/backupVault1/backups/backup1", + "properties": { + "backupType": "Manual", + "creationDate": "2017-08-15T13:23:33Z", + "label": "myLabel", + "provisioningState": "Succeeded", + "size": 10011, + "snapshotName": "backup1", + "volumeResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPool/pool1/volumes/volume1" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/18c499e1-2a3c-441c-950e-4b456c991c18?api-version=2025-09-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/18c499e1-2a3c-441c-950e-4b456c991c18?api-version=2025-09-01&operationResultResponseType=Location" + } + } + }, + "operationId": "Backups_Update", + "title": "BackupsUnderBackupVault_Update" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/BackupsUnderVolume_Migrate.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/BackupsUnderVolume_Migrate.json new file mode 100644 index 000000000000..9028d6012594 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/BackupsUnderVolume_Migrate.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "body": { + "backupVaultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupVaults/backupVault1" + }, + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01&operationResultResponseType=Location" + } + } + }, + "operationId": "BackupsUnderVolume_MigrateBackups", + "title": "BackupsUnderVolume_Migrate" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/CheckFilePathAvailability.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/CheckFilePathAvailability.json new file mode 100644 index 000000000000..bbf1584d662d --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/CheckFilePathAvailability.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-09-01", + "body": { + "name": "my-exact-filepth", + "subnetId": "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3" + }, + "location": "eastus", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "isAvailable": true + } + } + }, + "operationId": "NetAppResource_CheckFilePathAvailability", + "title": "CheckFilePathAvailability" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/CheckNameAvailability.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/CheckNameAvailability.json new file mode 100644 index 000000000000..9680a30606cf --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/CheckNameAvailability.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2025-09-01", + "body": { + "name": "accName", + "type": "Microsoft.NetApp/netAppAccounts", + "resourceGroup": "myRG" + }, + "location": "eastus", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "isAvailable": true + } + } + }, + "operationId": "NetAppResource_CheckNameAvailability", + "title": "CheckNameAvailability" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/CheckQuotaAvailability.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/CheckQuotaAvailability.json new file mode 100644 index 000000000000..aedda922a6df --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/CheckQuotaAvailability.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2025-09-01", + "body": { + "name": "resource1", + "type": "Microsoft.NetApp/netAppAccounts", + "resourceGroup": "myRG" + }, + "location": "eastus", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "isAvailable": true + } + } + }, + "operationId": "NetAppResource_CheckQuotaAvailability", + "title": "CheckQuotaAvailability" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/GroupIdListForLDAPUser.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/GroupIdListForLDAPUser.json new file mode 100644 index 000000000000..dc1c268b19e4 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/GroupIdListForLDAPUser.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "body": { + "username": "user1" + }, + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": { + "body": { + "groupIdsForLdapUser": [ + "123", + "224" + ] + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01&operationResultResponseType=Location" + } + } + }, + "operationId": "Volumes_ListGetGroupIdListForLdapUser", + "title": "GetGroupIdListForUser" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/NetAppResourceQuotaLimitsAccount_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/NetAppResourceQuotaLimitsAccount_Get.json new file mode 100644 index 000000000000..0823f285ffa6 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/NetAppResourceQuotaLimitsAccount_Get.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9", + "resourceGroupName": "myRG", + "accountName": "myAccount", + "quotaLimitName": "poolsPerAccount", + "api-version": "2025-09-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/myAccount/quotaLimits/poolsPerAccount", + "name": "myAccount/poolsPerAccount", + "type": "Microsoft.NetApp/netAppAccounts/quotaLimits", + "properties": { + "current": 10, + "default": 10, + "usage": 10 + } + } + } + }, + "operationId": "NetAppResourceQuotaLimitsAccount_Get", + "title": "QuotaLimits" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/NetAppResourceQuotaLimitsAccount_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/NetAppResourceQuotaLimitsAccount_List.json new file mode 100644 index 000000000000..e42018596793 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/NetAppResourceQuotaLimitsAccount_List.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9", + "resourceGroupName": "myRG", + "accountName": "myAccount", + "api-version": "2025-09-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/myAccount/quotaLimits/poolsPerAccount", + "name": "myAccount/poolsPerAccount", + "type": "Microsoft.NetApp/netAppAccounts/quotaLimits", + "properties": { + "current": 10, + "default": 10, + "usage": 10 + } + } + ] + } + } + }, + "operationId": "NetAppResourceQuotaLimitsAccount_List", + "title": "QuotaLimits" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/NetAppResourceQuotaLimits_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/NetAppResourceQuotaLimits_Get.json new file mode 100644 index 000000000000..74472fc08fd8 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/NetAppResourceQuotaLimits_Get.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "api-version": "2025-09-01", + "location": "eastus", + "quotaLimitName": "totalCoolAccessVolumesPerSubscription", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "eastus/totalCoolAccessVolumesPerSubscription", + "type": "Microsoft.NetApp/locations/quotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/quotaLimits/totalCoolAccessVolumesPerSubscription", + "properties": { + "default": 10, + "current": 10 + } + } + } + }, + "operationId": "NetAppResourceQuotaLimits_Get", + "title": "QuotaLimits" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/NetAppResourceQuotaLimits_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/NetAppResourceQuotaLimits_List.json new file mode 100644 index 000000000000..acac1bfaf66e --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/NetAppResourceQuotaLimits_List.json @@ -0,0 +1,89 @@ +{ + "parameters": { + "api-version": "2025-09-01", + "location": "eastus", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "eastus/accountsPerSubscription", + "type": "Microsoft.NetApp/locations/quotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/quotaLimits/accountsPerSubscription", + "properties": { + "default": 10, + "current": 10 + } + }, + { + "name": "eastus/poolsPerAccount", + "type": "Microsoft.NetApp/locations/quotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/quotaLimits/poolsPerAccount", + "properties": { + "default": 25, + "current": 25 + } + }, + { + "name": "eastus/volumesPerPool", + "type": "Microsoft.NetApp/locations/quotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/quotaLimits/volumesPerPool", + "properties": { + "default": 500, + "current": 500 + } + }, + { + "name": "eastus/snapshotsPerVolume", + "type": "Microsoft.NetApp/locations/quotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/quotaLimits/snapshotsPerVolume", + "properties": { + "default": 255, + "current": 255 + } + }, + { + "name": "eastus/totalTiBsPerSubscription", + "type": "Microsoft.NetApp/locations/quotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/quotaLimits/totalTiBsPerSubscription", + "properties": { + "default": 25, + "current": 1000 + } + }, + { + "name": "eastus/totalDPVolumesPerSubscription", + "type": "Microsoft.NetApp/locations/quotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/quotaLimits/totalDPVolumesPerSubscription", + "properties": { + "default": 10, + "current": 10 + } + }, + { + "name": "eastus/totalVolumesPerSubscription", + "type": "Microsoft.NetApp/locations/quotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/quotaLimits/totalVolumesPerSubscription", + "properties": { + "default": 500, + "current": 500 + } + }, + { + "name": "eastus/totalCoolAccessVolumesPerSubscription", + "type": "Microsoft.NetApp/locations/quotaLimits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/quotaLimits/totalCoolAccessVolumesPerSubscription", + "properties": { + "default": 10, + "current": 10 + } + } + ] + } + } + }, + "operationId": "NetAppResourceQuotaLimits_List", + "title": "QuotaLimits" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/NetworkSiblingSet_Query.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/NetworkSiblingSet_Query.json new file mode 100644 index 000000000000..9459cc23af23 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/NetworkSiblingSet_Query.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "api-version": "2025-09-01", + "body": { + "networkSiblingSetId": "9760acf5-4638-11e7-9bdb-020073ca3333", + "subnetId": "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testVnet/subnets/testSubnet" + }, + "location": "eastus", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "networkFeatures": "Standard", + "networkSiblingSetId": "9760acf5-4638-11e7-9bdb-020073ca3333", + "networkSiblingSetStateId": "12345_44420.8001578125", + "nicInfoList": [ + { + "ipAddress": "1.2.3.4", + "volumeResourceIds": [ + "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume10", + "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume11" + ] + }, + { + "ipAddress": "1.2.3.5", + "volumeResourceIds": [ + "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account2/capacityPools/pool2/volumes/volume20", + "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account2/capacityPools/pool2/volumes/volume21" + ] + }, + { + "ipAddress": "1.2.3.9", + "volumeResourceIds": [] + } + ], + "provisioningState": "Succeeded", + "subnetId": "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testVnet/subnets/testSubnet" + } + } + }, + "operationId": "NetAppResource_QueryNetworkSiblingSet", + "title": "NetworkSiblingSet_Query" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/NetworkSiblingSet_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/NetworkSiblingSet_Update.json new file mode 100644 index 000000000000..b27b3b6a5341 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/NetworkSiblingSet_Update.json @@ -0,0 +1,51 @@ +{ + "parameters": { + "api-version": "2025-09-01", + "body": { + "networkFeatures": "Standard", + "networkSiblingSetId": "9760acf5-4638-11e7-9bdb-020073ca3333", + "networkSiblingSetStateId": "12345_44420.8001578125", + "subnetId": "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testVnet/subnets/testSubnet" + }, + "location": "eastus", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "networkFeatures": "Standard", + "networkSiblingSetId": "9760acf5-4638-11e7-9bdb-020073ca3333", + "networkSiblingSetStateId": "12345_44420.8001578125", + "nicInfoList": [ + { + "ipAddress": "1.2.3.4", + "volumeResourceIds": [ + "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume10", + "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume11" + ] + }, + { + "ipAddress": "1.2.3.5", + "volumeResourceIds": [ + "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account2/capacityPools/pool2/volumes/volume20", + "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account2/capacityPools/pool2/volumes/volume21" + ] + }, + { + "ipAddress": "1.2.3.9", + "volumeResourceIds": [] + } + ], + "provisioningState": "Succeeded", + "subnetId": "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testVnet/subnets/testSubnet" + } + }, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/18c499e1-2a3c-441c-950e-4b456c991c18?api-version=2025-09-01&operationResultResponseType=Location" + } + } + }, + "operationId": "NetAppResource_UpdateNetworkSiblingSet", + "title": "NetworkFeatures_Update" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/OperationList.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/OperationList.json new file mode 100644 index 000000000000..3b4348d10448 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/OperationList.json @@ -0,0 +1,1567 @@ +{ + "parameters": { + "api-version": "2025-09-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.NetApp/register/action", + "display": { + "description": "Subscription Registration Action", + "operation": "Subscription Registration Action", + "provider": "Microsoft.NetApp", + "resource": "Subscription" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/read", + "display": { + "description": "Reads a volume resource.", + "operation": "Read volume resource", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Volumes resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/write", + "display": { + "description": "Writes a volume resource.", + "operation": "Write volume resource", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Volumes resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/delete", + "display": { + "description": "Deletes a volume resource.", + "operation": "Delete volume resource", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Volumes resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/Revert/action", + "display": { + "description": "Revert volume to specific snapshot", + "operation": "Revert volume resource", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Volumes resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/BreakReplication/action", + "display": { + "description": "Break volume replication relations", + "operation": "Break volume replication resource", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Volumes resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/ReplicationStatus/action", + "display": { + "description": "Reads the statuses of the Volume Replication.", + "operation": "Read Volume Replication Status.", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Volumes resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/ListReplications/action", + "display": { + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Volumes resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/ReInitializeReplication/action", + "display": { + "description": "Attempts to re-initialize an uninitialized replication", + "operation": "Re-Initialize replication", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Volumes resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/providers/Microsoft.Insights/metricDefinitions/read", + "display": { + "description": "Gets the available metrics for Volume resource.", + "operation": "Read volume metric definitions.", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Volumes resource type" + }, + "origin": "system", + "properties": { + "serviceSpecification": { + "metricSpecifications": [ + { + "name": "AverageReadLatency", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Average read latency in milliseconds per operation", + "displayName": "Average read latency", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "AverageReadLatency", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "MilliSeconds" + }, + { + "name": "AverageWriteLatency", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Average write latency in milliseconds per operation", + "displayName": "Average write latency", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "AverageWriteLatency", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "MilliSeconds" + }, + { + "name": "VolumeLogicalSize", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Logical size of the volume (used bytes)", + "displayName": "Volume Consumed Size", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "VolumeLogicalSize", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "Bytes" + }, + { + "name": "VolumeSnapshotSize", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Size of all snapshots in volume", + "displayName": "Volume snapshot size", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "VolumeSnapshotSize", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "Bytes" + }, + { + "name": "ReadIops", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Read In/out operations per second", + "displayName": "Read iops", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "ReadIops", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "CountPerSecond" + }, + { + "name": "WriteIops", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Write In/out operations per second", + "displayName": "Write iops", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "WriteIops", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "CountPerSecond" + }, + { + "name": "VolumeAllocatedSize", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "The provisioned size of a volume", + "displayName": "Volume allocated size", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "VolumeAllocatedSize", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "Bytes" + }, + { + "name": "VolumeCoolTierSize", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Volume Footprint for Cool Tier", + "displayName": "Volume cool tier size", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "VolumeCoolTierSize", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "Bytes" + }, + { + "name": "VolumeCoolTierDataReadSize", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Data read in using GET per volume", + "displayName": "Volume cool tier data read size", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "VolumeCoolTierDataReadSize", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "Bytes" + }, + { + "name": "VolumeCoolTierDataWriteSize", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Data tiered out using PUT per volume", + "displayName": "Volume cool tier data write size", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "VolumeCoolTierDataWriteSize", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "Bytes" + }, + { + "name": "XregionReplicationLastTransferDuration", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "The amount of time in seconds it took for the last transfer to complete.", + "displayName": "Volume replication last transfer duration", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "XregionReplicationLastTransferDuration", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "Seconds" + }, + { + "name": "XregionReplicationLastTransferSize", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "The total number of bytes transferred as part of the last transfer.", + "displayName": "Volume replication last transfer size", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "XregionReplicationLastTransferSize", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "Bytes" + }, + { + "name": "XregionReplicationHealthy", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Condition of the relationship, 1 or 0.", + "displayName": "Is volume replication status healthy", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "XregionReplicationHealthy", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "Count" + }, + { + "name": "XregionReplicationLagTime", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "The amount of time in seconds by which the data on the mirror lags behind the source.", + "displayName": "Volume replication lag time", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "XregionReplicationLagTime", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "Seconds" + }, + { + "name": "XregionReplicationTotalTransferBytes", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Cumulative bytes transferred for the relationship.", + "displayName": "Volume replication total transfer", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "XregionReplicationTotalTransferBytes", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "Bytes" + }, + { + "name": "XregionReplicationRelationshipProgress", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Total amount of data transferred for the current transfer operation.", + "displayName": "Volume replication progress", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "XregionReplicationRelationshipProgress", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "Bytes" + }, + { + "name": "XregionReplicationRelationshipTransferring", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Whether the status of the Volume Replication is 'transferring'.", + "displayName": "Is volume replication transferring", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "XregionReplicationRelationshipTransferring", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "Count" + }, + { + "name": "CbsVolumeLogicalBackupBytes", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Total bytes backed up for this Volume.", + "displayName": "Volume Backup Bytes", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "CbsVolumeLogicalBackupBytes", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "Bytes" + }, + { + "name": "CbsVolumeProtected", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Is backup enabled for the volume? 1 if yes, 0 if no.", + "displayName": "Is Volume Backup Enabled", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "CbsVolumeProtected", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "Count" + }, + { + "name": "CbsVolumeBackupActive", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Is the backup policy suspended for the volume? 0 if yes, 1 if no.", + "displayName": "Is Volume Backup suspended", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "CbsVolumeBackupActive", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "Count" + }, + { + "name": "CbsVolumeOperationTransferredBytes", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Total bytes transferred for last backup or restore operation.", + "displayName": "Volume Backup Last Transferred Bytes", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "CbsVolumeOperationTransferredBytes", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "Bytes" + }, + { + "name": "CbsVolumeOperationComplete", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Did the last volume backup or restore operation complete successfully? 1 if yes, 0 if no.", + "displayName": "Is Volume Backup Operation Complete", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "CbsVolumeOperationComplete", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "Count" + }, + { + "name": "VolumeConsumedSizePercentage", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "The percentage of the volume consumed including snapshots.", + "displayName": "Percentage Volume Consumed Size", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "VolumeConsumedSizePercentage", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "Percent" + }, + { + "name": "OtherThroughput", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Other throughput (that is not read or write) in bytes per second", + "displayName": "Other throughput", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "OtherThroughput", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "BytesPerSecond" + }, + { + "name": "ReadThroughput", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Read throughput in bytes per second", + "displayName": "Read throughput", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "ReadThroughput", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "BytesPerSecond" + }, + { + "name": "TotalThroughput", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Sum of all throughput in bytes per second", + "displayName": "Total throughput", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "TotalThroughput", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "BytesPerSecond" + }, + { + "name": "WriteThroughput", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Write throughput in bytes per second", + "displayName": "Write throughput", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "WriteThroughput", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "BytesPerSecond" + } + ] + } + } + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/providers/Microsoft.Insights/diagnosticSettings/read", + "display": { + "description": "Gets the diagnostic setting for the resource.", + "operation": "Read diagnostic setting.", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Volumes resource type" + }, + "origin": "system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/providers/Microsoft.Insights/diagnosticSettings/write", + "display": { + "description": "Creates or updates the diagnostic setting for the resource.", + "operation": "Write diagnostic setting.", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Volumes resource type" + }, + "origin": "system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/AuthorizeReplication/action", + "display": { + "description": "Authorize the source volume replication", + "operation": "Authorize Replication", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Volumes resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/ResyncReplication/action", + "display": { + "description": "Resync the replication on the destination volume", + "operation": "Resync Replication", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Volumes resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/DeleteReplication/action", + "display": { + "description": "Delete the replication on the destination volume", + "operation": "Delete Replication", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Volumes resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/ReplicationStatus/read", + "display": { + "description": "Reads the statuses of the Volume Replication.", + "operation": "Read Volume Replication Status.", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Volumes resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/MountTargets/read", + "display": { + "description": "Reads a mount target resource.", + "operation": "Read mount target resource", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Volumes resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/BackupStatus/read", + "display": { + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Volumes resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/RestoreStatus/read", + "display": { + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Volumes resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/PoolChange/action", + "display": { + "description": "Moves volume to another pool.", + "operation": "Change pool for volume", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Volumes resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/RelocateVolume/action", + "display": { + "description": "Relocate volume to a new stamp.", + "operation": "Relocate volume to a new stamp.", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Volumes resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/FinalizeRelocation/action", + "display": { + "description": "Finalize relocation by cleaning up the old volume.", + "operation": "Finalize relocation of volume.", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Volumes resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/RevertRelocation/action", + "display": { + "description": "Revert the relocation and revert back to the old volume.", + "operation": "Revert the relocation of volume.", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Volumes resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/read", + "display": { + "description": "Reads an account resource.", + "operation": "Read account resource", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Accounts resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/write", + "display": { + "description": "Writes an account resource.", + "operation": "Write account resource", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Accounts resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/delete", + "display": { + "description": "Deletes a account resource.", + "operation": "Delete account resource", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Accounts resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/RenewCredentials/action", + "display": { + "description": "Renews MSI credentials of account, if account has MSI credentials that are due for renewal.", + "operation": "Renew MSI credentials, if possible.", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Accounts resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/read", + "display": { + "description": "Reads a pool resource.", + "operation": "Read pool resource", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Pools resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/write", + "display": { + "description": "Writes a pool resource.", + "operation": "Write pool resource", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Pools resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/delete", + "display": { + "description": "Deletes a pool resource.", + "operation": "Delete pool resource", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Pools resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/providers/Microsoft.Insights/metricDefinitions/read", + "display": { + "description": "Gets the available metrics for Volume resource.", + "operation": "Read volume metric definitions.", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Pools resource type" + }, + "origin": "system", + "properties": { + "serviceSpecification": { + "metricSpecifications": [ + { + "name": "VolumePoolAllocatedUsed", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Allocated used size of the pool", + "displayName": "Pool Allocated To Volume Size", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "VolumePoolAllocatedUsed", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "Bytes" + }, + { + "name": "VolumePoolTotalLogicalSize", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Sum of the logical size of all the volumes belonging to the pool", + "displayName": "Pool Consumed Size", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "VolumePoolTotalLogicalSize", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average", + "Total" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "Bytes" + }, + { + "name": "VolumePoolAllocatedSize", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Provisioned size of this pool", + "displayName": "Pool Allocated Size", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "VolumePoolAllocatedSize", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average", + "Total" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "Bytes" + }, + { + "name": "VolumePoolTotalSnapshotSize", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Sum of snapshot size of all volumes in this pool", + "displayName": "Total Snapshot size for the pool", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "VolumePoolTotalSnapshotSize", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "Bytes" + }, + { + "name": "VolumePoolProvisionedThroughput", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Provisioned throughput of this pool", + "displayName": "Provisioned throughput for the pool", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "VolumePoolProvisionedThroughput", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "BytesPerSecond" + }, + { + "name": "VolumePoolAllocatedToVolumeThroughput", + "aggregationType": "Average", + "dimensions": [], + "displayDescription": "Sum of the throughput of all the volumes belonging to the pool", + "displayName": "Pool allocated throughput", + "enableRegionalMdmAccount": true, + "fillGapWithZero": false, + "internalMetricName": "VolumePoolAllocatedToVolumeThroughput", + "isInternal": false, + "sourceMdmAccount": "MicrosoftNetAppShoebox2", + "sourceMdmNamespace": "NetAppUsageAndMetrics", + "supportedAggregationTypes": [ + "Average" + ], + "supportedTimeGrainTypes": [ + "PT5M", + "PT15M", + "PT30M", + "PT1H", + "PT6H", + "PT12H", + "P1D" + ], + "unit": "BytesPerSecond" + } + ] + } + } + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/providers/Microsoft.Insights/logDefinitions/read", + "display": { + "description": "Gets the log definitions for the resource.", + "operation": "Read log definitions.", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Pools resource type" + }, + "origin": "system", + "properties": { + "serviceSpecification": { + "logSpecifications": [ + { + "name": "Autoscale", + "displayName": "Capacity Pool Autoscaled" + } + ] + } + } + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/providers/Microsoft.Insights/diagnosticSettings/read", + "display": { + "description": "Gets the diagnostic setting for the resource.", + "operation": "Read diagnostic setting.", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Pools resource type" + }, + "origin": "system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/providers/Microsoft.Insights/diagnosticSettings/write", + "display": { + "description": "Creates or updates the diagnostic setting for the resource.", + "operation": "Write diagnostic setting.", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Pools resource type" + }, + "origin": "system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots/read", + "display": { + "description": "Reads a snapshot resource.", + "operation": "Read snapshot resource", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Snapshots resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots/write", + "display": { + "description": "Writes a snapshot resource.", + "operation": "Write snapshot resource", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Snapshots resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots/delete", + "display": { + "description": "Deletes a snapshot resource.", + "operation": "Delete snapshot resource", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Snapshots resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots/RestoreFiles/action", + "display": { + "description": "Restores files from a snapshot resource", + "operation": "Single File Snapshot Restore", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Snapshots resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/subvolumes/read", + "display": { + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Subvolume resource type." + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/subvolumes/write", + "display": { + "description": "Write a subvolume resource.", + "operation": "Write subvolume Resource", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Subvolume resource type." + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/subvolumes/delete", + "display": { + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Subvolume resource type." + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/subvolumes/GetMetadata/action", + "display": { + "description": "Read subvolume metadata resource.", + "operation": "Subvolume Metadata resource.", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Subvolume resource type." + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/snapshotPolicies/read", + "display": { + "description": "Reads a snapshot policy resource.", + "operation": "Read snapshot policy resource", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Snapshot Policies resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/snapshotPolicies/write", + "display": { + "description": "Writes a snapshot policy resource.", + "operation": "Write snapshot policy resource", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Snapshot Policies resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/snapshotPolicies/delete", + "display": { + "description": "Deletes a snapshot policy resource.", + "operation": "Delete snapshot policy resource", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Snapshot Policies resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/snapshotPolicies/Volumes/action", + "display": { + "description": "List volumes connected to snapshot policy", + "operation": "List connected volumes", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Snapshot Policies resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/snapshotPolicies/ListVolumes/action", + "display": { + "description": "List volumes connected to snapshot policy", + "operation": "List connected volumes", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Snapshot Policies resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups/read", + "display": { + "description": "Reads a backup resource.", + "operation": "Read backup resource.", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Backup resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups/write", + "display": { + "description": "Writes a backup resource.", + "operation": "Write backup resource.", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Backup resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups/delete", + "display": { + "description": "Deletes a backup resource.", + "operation": "Delete backup resource", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Backup resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/backupPolicies/read", + "display": { + "description": "Reads a backup policy resource.", + "operation": "Read backup policy resource.", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Backup Policy resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/backupPolicies/write", + "display": { + "description": "Writes a backup policy resource.", + "operation": "Write backup policy resource.", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Backup Policy resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/backupPolicies/delete", + "display": { + "description": "Deletes a backup policy resource.", + "operation": "Delete backup policy resource", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Backup Policy resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/vaults/read", + "display": { + "description": "Reads a vault resource.", + "operation": "Read vault resource.", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Vault resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/accountBackups/read", + "display": { + "description": "Reads an account backup resource.", + "operation": "Read an account backup resource.", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Account backup resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/accountBackups/write", + "display": { + "description": "Writes an account backup resource.", + "operation": "Write an account backup resource.", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Account backup resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/accountBackups/delete", + "display": { + "description": "Deletes an account backup resource.", + "operation": "Delete an account backup resource.", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Account backup resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/volumeGroups/read", + "display": { + "description": "Reads a volume group resource.", + "operation": "Read volume group resource", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Volume Group resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/volumeGroups/write", + "display": { + "description": "Writes a volume group resource.", + "operation": "Write volume group resource", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Volume Group resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/volumeGroups/delete", + "display": { + "description": "Deletes a volume group resource.", + "operation": "Delete volume group resource", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Volume Group resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/locations/quotaLimits/read", + "display": { + "description": "Reads a Quotalimit resource type.", + "operation": "Read QuotaLimit resource type", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "QuotaLimit resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/Operations/read", + "display": { + "description": "Reads an operation resources.", + "operation": "Read operation resource", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Operations resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/locations/operationresults/read", + "display": { + "description": "Reads an operation result resource.", + "operation": "Read operation result resource", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Operation results resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/locations/read", + "display": { + "description": "Reads a location wide operation.", + "operation": "Read location wide operation", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Location wide operation" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/locations/checknameavailability/action", + "display": { + "description": "Check if resource name is available", + "operation": "Check if resource name is available", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "NetApp resources" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/locations/checkfilepathavailability/action", + "display": { + "description": "Check if file path is available", + "operation": "Check if file path is available", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Volumes resource type" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/unregister/action", + "display": { + "description": "Unregisters Subscription with Microsoft.NetApp resource provider", + "operation": "Unregister Subscription for Azure NetApp Files", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "Subscription" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.NetApp/locations/checkinventory/action", + "display": { + "description": "Checks ReservedCapacity inventory.", + "operation": "Checks ReservedCapacity inventory.", + "provider": "Microsoft.NetApp Resource Provider", + "resource": "ReservedCapacity reservation resource." + }, + "origin": "user,system" + } + ] + } + } + }, + "operationId": "Operations_List", + "title": "OperationList" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Pools_CreateOrUpdate.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Pools_CreateOrUpdate.json new file mode 100644 index 000000000000..0581a2141d96 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Pools_CreateOrUpdate.json @@ -0,0 +1,53 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "body": { + "location": "eastus", + "properties": { + "qosType": "Auto", + "serviceLevel": "Premium", + "size": 4398046511104 + } + }, + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "account1/pool1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + "location": "eastus", + "properties": { + "poolId": "9760acf5-4638-11e7-9bdb-020073ca7778", + "provisioningState": "Succeeded", + "qosType": "Auto", + "serviceLevel": "Premium", + "size": 4398046511104, + "totalThroughputMibps": 281.474 + } + } + }, + "201": { + "body": { + "name": "account1/pool1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + "location": "eastus", + "properties": { + "poolId": "9760acf5-4638-11e7-9bdb-020073ca7778", + "provisioningState": "Succeeded", + "qosType": "Auto", + "serviceLevel": "Premium", + "size": 4398046511104, + "totalThroughputMibps": 281.474 + } + } + } + }, + "operationId": "Pools_CreateOrUpdate", + "title": "Pools_CreateOrUpdate" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Pools_CreateOrUpdate_CustomThroughput.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Pools_CreateOrUpdate_CustomThroughput.json new file mode 100644 index 000000000000..534e656a8731 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Pools_CreateOrUpdate_CustomThroughput.json @@ -0,0 +1,56 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "body": { + "location": "eastus", + "properties": { + "customThroughputMibps": 128, + "qosType": "Manual", + "serviceLevel": "Flexible", + "size": 4398046511104 + } + }, + "poolName": "customPool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "account1/customPool1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/customPool1", + "location": "eastus", + "properties": { + "customThroughputMibps": 128, + "poolId": "9760acf5-4638-11e7-9bdb-020073ca7778", + "provisioningState": "Succeeded", + "qosType": "Manual", + "serviceLevel": "Flexible", + "size": 4398046511104, + "totalThroughputMibps": 128 + } + } + }, + "201": { + "body": { + "name": "account1/customPool1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/customPool1", + "location": "eastus", + "properties": { + "customThroughputMibps": 128, + "poolId": "9760acf5-4638-11e7-9bdb-020073ca7778", + "provisioningState": "Creating", + "qosType": "Manual", + "serviceLevel": "Flexible", + "size": 4398046511104, + "totalThroughputMibps": 128 + } + } + } + }, + "operationId": "Pools_CreateOrUpdate", + "title": "Pools_CreateOrUpdate_CustomThroughput" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Pools_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Pools_Delete.json new file mode 100644 index 000000000000..1021bcd92e2c --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Pools_Delete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01&operationResultResponseType=Location" + } + }, + "204": {} + }, + "operationId": "Pools_Delete", + "title": "Pools_Delete" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Pools_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Pools_Get.json new file mode 100644 index 000000000000..45b8cc9bb8a6 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Pools_Get.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "account1/pool1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + "location": "eastus", + "properties": { + "poolId": "9760acf5-4638-11e7-9bdb-020073ca7778", + "provisioningState": "Succeeded", + "qosType": "Manual", + "serviceLevel": "Premium", + "size": 4398046511104, + "totalThroughputMibps": 281.474, + "utilizedThroughputMibps": 100.47 + } + } + } + }, + "operationId": "Pools_Get", + "title": "Pools_Get" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Pools_Get_CustomThroughput.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Pools_Get_CustomThroughput.json new file mode 100644 index 000000000000..1ac619f7a46f --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Pools_Get_CustomThroughput.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "poolName": "customPool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "account1/customPool1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/customPool1", + "location": "eastus", + "properties": { + "customThroughputMibps": 128, + "poolId": "9760acf5-4638-11e7-9bdb-020073ca7778", + "provisioningState": "Succeeded", + "qosType": "Manual", + "serviceLevel": "Flexible", + "size": 4398046511104, + "totalThroughputMibps": 128, + "utilizedThroughputMibps": 100.47 + } + } + } + }, + "operationId": "Pools_Get", + "title": "Pools_Get_CustomThroughput" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Pools_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Pools_List.json new file mode 100644 index 000000000000..344ca4b48b68 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Pools_List.json @@ -0,0 +1,49 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "account1/pool1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + "location": "eastus", + "properties": { + "poolId": "9760acf5-4638-11e7-9bdb-020073ca7778", + "provisioningState": "Succeeded", + "qosType": "Auto", + "serviceLevel": "Premium", + "size": 4398046511104, + "totalThroughputMibps": 281.474, + "utilizedThroughputMibps": 100.47 + } + }, + { + "name": "account1/customPool1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/customPool1", + "location": "eastus", + "properties": { + "customThroughputMibps": 128, + "poolId": "9760acf5-4638-11e7-9bdb-020073ca7778", + "provisioningState": "Succeeded", + "qosType": "Manual", + "serviceLevel": "Flexible", + "size": 4398046511104, + "totalThroughputMibps": 128, + "utilizedThroughputMibps": 100.47 + } + } + ] + } + } + }, + "operationId": "Pools_List", + "title": "Pools_List" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Pools_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Pools_Update.json new file mode 100644 index 000000000000..ded1e79f1d19 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Pools_Update.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "body": {}, + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "account1/pool1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + "location": "eastus", + "properties": { + "poolId": "9760acf5-4638-11e7-9bdb-020073ca7778", + "provisioningState": "Succeeded", + "qosType": "Manual", + "serviceLevel": "Premium", + "size": 4398046511104, + "totalThroughputMibps": 281.474, + "utilizedThroughputMibps": 100.47 + } + } + }, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01&operationResultResponseType=Location" + } + } + }, + "operationId": "Pools_Update", + "title": "Pools_Update" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Pools_Update_CustomThroughput.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Pools_Update_CustomThroughput.json new file mode 100644 index 000000000000..c821b447f49f --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Pools_Update_CustomThroughput.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "body": {}, + "poolName": "customPool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "account1/customPool1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/customPool1", + "location": "eastus", + "properties": { + "customThroughputMibps": 128, + "poolId": "9760acf5-4638-11e7-9bdb-020073ca7778", + "provisioningState": "Succeeded", + "qosType": "Manual", + "serviceLevel": "Flexible", + "size": 4398046511104, + "totalThroughputMibps": 128, + "utilizedThroughputMibps": 100.47 + } + } + }, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01&operationResultResponseType=Location" + } + } + }, + "operationId": "Pools_Update", + "title": "Pools_Update_CustomThroughput" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/RegionInfo.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/RegionInfo.json new file mode 100644 index 000000000000..154b7e15a3ae --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/RegionInfo.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "api-version": "2025-09-01", + "location": "eastus", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "availabilityZoneMappings": [ + { + "availabilityZone": "1", + "isAvailable": true + } + ], + "storageToNetworkProximity": "T2" + } + } + }, + "operationId": "NetAppResource_QueryRegionInfo", + "title": "RegionInfo_Query" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/RegionInfos_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/RegionInfos_Get.json new file mode 100644 index 000000000000..0b205f431220 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/RegionInfos_Get.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "api-version": "2025-09-01", + "location": "eastus", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "eastus/default", + "type": "Microsoft.NetApp/locations/regionInfos", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/regionInfos/default", + "properties": { + "availabilityZoneMappings": [ + { + "availabilityZone": "1", + "isAvailable": true + }, + { + "availabilityZone": "2", + "isAvailable": true + }, + { + "availabilityZone": "3", + "isAvailable": true + } + ], + "storageToNetworkProximity": "T2" + } + } + } + }, + "operationId": "NetAppResourceRegionInfos_Get", + "title": "RegionInfos_Get" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/RegionInfos_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/RegionInfos_List.json new file mode 100644 index 000000000000..11e0f922baac --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/RegionInfos_List.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "api-version": "2025-09-01", + "location": "eastus", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "eastus/default", + "type": "Microsoft.NetApp/locations/regionInfos", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/regionInfos/default", + "properties": { + "availabilityZoneMappings": [ + { + "availabilityZone": "1", + "isAvailable": true + }, + { + "availabilityZone": "2", + "isAvailable": true + }, + { + "availabilityZone": "3", + "isAvailable": true + } + ], + "storageToNetworkProximity": "T2" + } + } + ] + } + } + }, + "operationId": "NetAppResourceRegionInfos_List", + "title": "RegionInfos_List" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/SnapshotPolicies_Create.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/SnapshotPolicies_Create.json new file mode 100644 index 000000000000..a8950fc5bfb6 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/SnapshotPolicies_Create.json @@ -0,0 +1,106 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "body": { + "location": "eastus", + "properties": { + "dailySchedule": { + "hour": 14, + "minute": 30, + "snapshotsToKeep": 4 + }, + "enabled": true, + "hourlySchedule": { + "minute": 50, + "snapshotsToKeep": 2 + }, + "monthlySchedule": { + "daysOfMonth": "10,11,12", + "hour": 14, + "minute": 15, + "snapshotsToKeep": 5 + }, + "weeklySchedule": { + "day": "Wednesday", + "hour": 14, + "minute": 45, + "snapshotsToKeep": 3 + } + } + }, + "resourceGroupName": "myRG", + "snapshotPolicyName": "snapshotPolicyName", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "account1/snapshotPolicy1", + "type": "Microsoft.NetApp/netAppAccounts/snapshotPolicies", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/snapshotPolicies/snapshotPolicy1", + "location": "eastus", + "properties": { + "dailySchedule": { + "hour": 14, + "minute": 30, + "snapshotsToKeep": 4 + }, + "enabled": true, + "hourlySchedule": { + "minute": 50, + "snapshotsToKeep": 2 + }, + "monthlySchedule": { + "daysOfMonth": "10,11,12", + "hour": 14, + "minute": 15, + "snapshotsToKeep": 5 + }, + "provisioningState": "Succeeded", + "weeklySchedule": { + "day": "Wednesday", + "hour": 14, + "minute": 45, + "snapshotsToKeep": 3 + } + } + } + }, + "201": { + "body": { + "name": "account1/snapshotPolicy1", + "type": "Microsoft.NetApp/netAppAccounts/snapshotPolicies", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/snapshotPolicies/snapshotPolicy1", + "location": "eastus", + "properties": { + "dailySchedule": { + "hour": 14, + "minute": 30, + "snapshotsToKeep": 4 + }, + "enabled": true, + "hourlySchedule": { + "minute": 50, + "snapshotsToKeep": 2 + }, + "monthlySchedule": { + "daysOfMonth": "10,11,12", + "hour": 14, + "minute": 15, + "snapshotsToKeep": 5 + }, + "provisioningState": "Succeeded", + "weeklySchedule": { + "day": "Wednesday", + "hour": 14, + "minute": 45, + "snapshotsToKeep": 3 + } + } + } + } + }, + "operationId": "SnapshotPolicies_Create", + "title": "SnapshotPolicies_Create" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/SnapshotPolicies_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/SnapshotPolicies_Delete.json new file mode 100644 index 000000000000..248af9bb1d2e --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/SnapshotPolicies_Delete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "accountName": "accountName", + "api-version": "2025-09-01", + "resourceGroupName": "resourceGroup", + "snapshotPolicyName": "snapshotPolicyName", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01&operationResultResponseType=Location" + } + }, + "204": {} + }, + "operationId": "SnapshotPolicies_Delete", + "title": "SnapshotPolicies_Delete" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/SnapshotPolicies_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/SnapshotPolicies_Get.json new file mode 100644 index 000000000000..2ccc8095dc92 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/SnapshotPolicies_Get.json @@ -0,0 +1,46 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "resourceGroupName": "myRG", + "snapshotPolicyName": "snapshotPolicyName", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "account1/snapshotPolicy1", + "type": "Microsoft.NetApp/netAppAccounts/snapshotPolicies", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/snapshotPolicies/snapshotPolicy1", + "location": "eastus", + "properties": { + "dailySchedule": { + "hour": 14, + "minute": 30, + "snapshotsToKeep": 4 + }, + "enabled": true, + "hourlySchedule": { + "minute": 50, + "snapshotsToKeep": 2 + }, + "monthlySchedule": { + "daysOfMonth": "10,11,12", + "hour": 14, + "minute": 15, + "snapshotsToKeep": 5 + }, + "provisioningState": "Succeeded", + "weeklySchedule": { + "day": "Wednesday", + "hour": 14, + "minute": 45, + "snapshotsToKeep": 3 + } + } + } + } + }, + "operationId": "SnapshotPolicies_Get", + "title": "SnapshotPolicies_Get" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/SnapshotPolicies_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/SnapshotPolicies_List.json new file mode 100644 index 000000000000..fbecde641bdf --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/SnapshotPolicies_List.json @@ -0,0 +1,49 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "account1/snapshotPolicy1", + "type": "Microsoft.NetApp/netAppAccounts/snapshotPolicies", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/snapshotPolicies/snapshotPolicy1", + "location": "eastus", + "properties": { + "dailySchedule": { + "hour": 14, + "minute": 30, + "snapshotsToKeep": 4 + }, + "enabled": true, + "hourlySchedule": { + "minute": 50, + "snapshotsToKeep": 2 + }, + "monthlySchedule": { + "daysOfMonth": "10,11,12", + "hour": 14, + "minute": 15, + "snapshotsToKeep": 5 + }, + "provisioningState": "Succeeded", + "weeklySchedule": { + "day": "Wednesday", + "hour": 14, + "minute": 45, + "snapshotsToKeep": 3 + } + } + } + ] + } + } + }, + "operationId": "SnapshotPolicies_List", + "title": "SnapshotPolicies_List" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/SnapshotPolicies_ListVolumes.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/SnapshotPolicies_ListVolumes.json new file mode 100644 index 000000000000..77c0e6a6f457 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/SnapshotPolicies_ListVolumes.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "body": { + "location": "eastus", + "properties": {} + }, + "resourceGroupName": "myRG", + "snapshotPolicyName": "snapshotPolicyName", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "account1/pool1/volume1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1", + "location": "eastus", + "properties": { + "creationToken": "my-unique-file-path", + "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", + "throughputMibps": 128, + "usageThreshold": 107374182400 + } + } + ] + } + } + }, + "operationId": "SnapshotPolicies_ListVolumes", + "title": "SnapshotPolicies_ListVolumes" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/SnapshotPolicies_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/SnapshotPolicies_Update.json new file mode 100644 index 000000000000..d9af98c1cf05 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/SnapshotPolicies_Update.json @@ -0,0 +1,109 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "body": { + "location": "eastus", + "properties": { + "dailySchedule": { + "hour": 14, + "minute": 30, + "snapshotsToKeep": 4 + }, + "enabled": true, + "hourlySchedule": { + "minute": 50, + "snapshotsToKeep": 2 + }, + "monthlySchedule": { + "daysOfMonth": "10,11,12", + "hour": 14, + "minute": 15, + "snapshotsToKeep": 5 + }, + "weeklySchedule": { + "day": "Wednesday", + "hour": 14, + "minute": 45, + "snapshotsToKeep": 3 + } + } + }, + "resourceGroupName": "myRG", + "snapshotPolicyName": "snapshotPolicyName", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "account1/snapshotPolicy1", + "type": "Microsoft.NetApp/netAppAccounts/snapshotPolicies", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/snapshotPolicies/snapshotPolicy1", + "location": "eastus", + "properties": { + "dailySchedule": { + "hour": 14, + "minute": 30, + "snapshotsToKeep": 4 + }, + "enabled": true, + "hourlySchedule": { + "minute": 50, + "snapshotsToKeep": 2 + }, + "monthlySchedule": { + "daysOfMonth": "10,11,12", + "hour": 14, + "minute": 15, + "snapshotsToKeep": 5 + }, + "provisioningState": "Succeeded", + "weeklySchedule": { + "day": "Wednesday", + "hour": 14, + "minute": 45, + "snapshotsToKeep": 3 + } + } + } + }, + "202": { + "body": { + "name": "account1/snapshotPolicy1", + "type": "Microsoft.NetApp/netAppAccounts/snapshotPolicies", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/snapshotPolicies/snapshotPolicy1", + "location": "eastus", + "properties": { + "dailySchedule": { + "hour": 14, + "minute": 30, + "snapshotsToKeep": 4 + }, + "enabled": true, + "hourlySchedule": { + "minute": 50, + "snapshotsToKeep": 2 + }, + "monthlySchedule": { + "daysOfMonth": "10,11,12", + "hour": 14, + "minute": 15, + "snapshotsToKeep": 5 + }, + "provisioningState": "Succeeded", + "weeklySchedule": { + "day": "Wednesday", + "hour": 14, + "minute": 45, + "snapshotsToKeep": 3 + } + } + }, + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/18c499e1-2a3c-441c-950e-4b456c991c18?api-version=2025-09-01&operationResultResponseType=Location" + } + } + }, + "operationId": "SnapshotPolicies_Update", + "title": "SnapshotPolicies_Update" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Snapshots_Create.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Snapshots_Create.json new file mode 100644 index 000000000000..d87f48072983 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Snapshots_Create.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "body": { + "location": "eastus" + }, + "location": "eastus", + "poolName": "pool1", + "resourceGroupName": "myRG", + "snapshotName": "snapshot1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "201": { + "body": { + "name": "account1/pool1/volume1/snapshot1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/snapshots/snapshot1", + "location": "eastus", + "properties": { + "created": "2017-08-15T13:23:33Z", + "provisioningState": "Succeeded", + "snapshotId": "9760acf5-4638-11e7-9bdb-020073ca3333" + } + } + }, + "202": {} + }, + "operationId": "Snapshots_Create", + "title": "Snapshots_Create" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Snapshots_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Snapshots_Delete.json new file mode 100644 index 000000000000..899935325a98 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Snapshots_Delete.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "poolName": "pool1", + "resourceGroupName": "myRG", + "snapshotName": "snapshot1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01&operationResultResponseType=Location" + } + }, + "204": {} + }, + "operationId": "Snapshots_Delete", + "title": "Snapshots_Delete" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Snapshots_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Snapshots_Get.json new file mode 100644 index 000000000000..dcfa8f4616d9 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Snapshots_Get.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "poolName": "pool1", + "resourceGroupName": "myRG", + "snapshotName": "snapshot1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": { + "body": { + "name": "account1/pool1/volume1/snapshot1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/snapshots/snapshot1", + "location": "eastus", + "properties": { + "created": "2017-08-15T13:23:33Z", + "provisioningState": "Succeeded", + "snapshotId": "9760acf5-4638-11e7-9bdb-020073ca3333" + } + } + } + }, + "operationId": "Snapshots_Get", + "title": "Snapshots_Get" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Snapshots_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Snapshots_List.json new file mode 100644 index 000000000000..fd2e7f1c0a82 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Snapshots_List.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "account1/pool1/volume1/snapshot1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/snapshots/snapshot1", + "location": "eastus", + "properties": { + "created": "2017-08-15T13:23:33Z", + "provisioningState": "Succeeded", + "snapshotId": "9760acf5-4638-11e7-9bdb-020073ca3333" + } + } + ] + } + } + }, + "operationId": "Snapshots_List", + "title": "Snapshots_List" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Snapshots_SingleFileRestore.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Snapshots_SingleFileRestore.json new file mode 100644 index 000000000000..085a7dab9169 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Snapshots_SingleFileRestore.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "body": { + "filePaths": [ + "/dir1/customer1.db", + "/dir1/customer2.db" + ] + }, + "poolName": "pool1", + "resourceGroupName": "myRG", + "snapshotName": "snapshot1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01&operationResultResponseType=Location" + } + } + }, + "operationId": "Snapshots_RestoreFiles", + "title": "Snapshots_SingleFileRestore" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Snapshots_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Snapshots_Update.json new file mode 100644 index 000000000000..efe0979090d4 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Snapshots_Update.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "body": {}, + "poolName": "pool1", + "resourceGroupName": "myRG", + "snapshotName": "snapshot1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": { + "body": { + "name": "account1/pool1/volume1/snapshot1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/snapshots/snapshot1", + "location": "eastus", + "properties": { + "created": "2017-08-15T13:23:33Z", + "provisioningState": "Succeeded", + "snapshotId": "9760acf5-4638-11e7-9bdb-020073ca3333" + } + } + }, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01&operationResultResponseType=Location" + } + } + }, + "operationId": "Snapshots_Update", + "title": "Snapshots_Update" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Subvolumes_Create.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Subvolumes_Create.json new file mode 100644 index 000000000000..3a909196fded --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Subvolumes_Create.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "body": { + "properties": { + "path": "/subvolumePath" + } + }, + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "subvolumeName": "subvolume1", + "volumeName": "volume1" + }, + "responses": { + "200": { + "body": { + "name": "account1/pool1/volume1/subvolume1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/subvolumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/subvolumes/subvolume1", + "properties": { + "path": "/subvolumePath", + "provisioningState": "Succeeded", + "size": 0 + } + } + }, + "201": { + "body": { + "name": "account1/pool1/volume1/subvolume1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/subvolumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/subvolumes/subvolume1", + "properties": { + "path": "/subvolumePath", + "provisioningState": "Creating" + } + } + }, + "202": {} + }, + "operationId": "Subvolumes_Create", + "title": "Subvolumes_Create" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Subvolumes_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Subvolumes_Delete.json new file mode 100644 index 000000000000..4200e8157a93 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Subvolumes_Delete.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "subvolumeName": "subvolume1", + "volumeName": "volume1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01&operationResultResponseType=Location" + } + }, + "204": {} + }, + "operationId": "Subvolumes_Delete", + "title": "Subvolumes_Delete" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Subvolumes_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Subvolumes_Get.json new file mode 100644 index 000000000000..322de3ddaf17 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Subvolumes_Get.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "subvolumeName": "subvolume1", + "volumeName": "volume1" + }, + "responses": { + "200": { + "body": { + "name": "account1/pool1/volume1/subvolume1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/subvolumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/subvolumes/subvolume1", + "properties": { + "path": "/pathToSubvol", + "size": 0 + } + } + } + }, + "operationId": "Subvolumes_Get", + "title": "Subvolumes_Get" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Subvolumes_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Subvolumes_List.json new file mode 100644 index 000000000000..ca96a9d97f13 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Subvolumes_List.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "subvolumeName": "subvolume1", + "volumeName": "volume1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "account1/pool1/volume1/subvolume1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/subvolumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/subvolumes/subvolume1", + "properties": { + "path": "/pathToSubvol", + "size": 0 + } + } + ] + } + } + }, + "operationId": "Subvolumes_ListByVolume", + "title": "Subvolumes_List" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Subvolumes_Metadata.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Subvolumes_Metadata.json new file mode 100644 index 000000000000..b487ed1d27c5 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Subvolumes_Metadata.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "subvolumeName": "subvolume1", + "volumeName": "volume1" + }, + "responses": { + "200": { + "body": { + "name": "account1/pool1/volume1/subvolume1/metadata", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/subvolumes/metadata", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/subvolumes/subvolume1/metadata", + "properties": { + "path": "/pathToSubvol", + "accessedTimeStamp": "2017-08-15T13:23:33Z", + "bytesUsed": 5, + "changedTimeStamp": "2017-08-15T13:23:33Z", + "creationTimeStamp": "2017-08-15T13:23:33Z", + "modifiedTimeStamp": "2017-08-15T13:23:33Z", + "permissions": "777", + "size": 5 + } + } + }, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01&operationResultResponseType=Location" + } + } + }, + "operationId": "Subvolumes_GetMetadata", + "title": "Subvolumes_Metadata" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Subvolumes_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Subvolumes_Update.json new file mode 100644 index 000000000000..a3a7e35f3c57 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Subvolumes_Update.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "body": { + "properties": { + "path": "/subvolumePath" + } + }, + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "subvolumeName": "subvolume1", + "volumeName": "volume1" + }, + "responses": { + "200": { + "body": { + "name": "account1/pool1/volume1/subvolume1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/subvolume1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/subvolumes/subvolume1", + "properties": { + "path": "/subvolumePath", + "size": 0 + } + } + }, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01&operationResultResponseType=Location" + } + } + }, + "operationId": "Subvolumes_Update", + "title": "Subvolumes_Update" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Usages_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Usages_Get.json new file mode 100644 index 000000000000..bd3ae1ffd128 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Usages_Get.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2025-09-01", + "location": "eastus", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "usageType": "totalTibsPerSubscription" + }, + "responses": { + "200": { + "body": { + "name": { + "localizedValue": "Total TiBs per subscription", + "value": "totalTibsPerSubscription" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/usages", + "properties": { + "currentValue": 75, + "limit": 100, + "unit": "count" + } + } + } + }, + "operationId": "NetAppResourceUsages_Get", + "title": "Usages_Get" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Usages_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Usages_List.json new file mode 100644 index 000000000000..0973d8b22439 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Usages_List.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "api-version": "2025-09-01", + "location": "eastus", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": { + "localizedValue": "Total TiBs per subscription", + "value": "totalTibsPerSubscription" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/usages", + "properties": { + "currentValue": 75, + "limit": 100, + "unit": "count" + } + } + ] + } + } + }, + "operationId": "NetAppResourceUsages_List", + "title": "Usages_List" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/VolumeGroups_Create_Oracle.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/VolumeGroups_Create_Oracle.json new file mode 100644 index 000000000000..ade4e7709b1b --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/VolumeGroups_Create_Oracle.json @@ -0,0 +1,967 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "body": { + "location": "westus", + "properties": { + "groupMetaData": { + "applicationIdentifier": "OR2", + "applicationType": "ORACLE", + "groupDescription": "Volume group" + }, + "volumes": [ + { + "name": "test-ora-data1", + "properties": { + "capacityPoolResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + "creationToken": "test-ora-data1", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-data1" + }, + "zones": [ + "1" + ] + }, + { + "name": "test-ora-data2", + "properties": { + "capacityPoolResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + "creationToken": "test-ora-data2", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-data2" + }, + "zones": [ + "1" + ] + }, + { + "name": "test-ora-data3", + "properties": { + "capacityPoolResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + "creationToken": "test-ora-data3", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-data3" + }, + "zones": [ + "1" + ] + }, + { + "name": "test-ora-data4", + "properties": { + "capacityPoolResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + "creationToken": "test-ora-data4", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-data4" + }, + "zones": [ + "1" + ] + }, + { + "name": "test-ora-data5", + "properties": { + "capacityPoolResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + "creationToken": "test-ora-data5", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-data5" + }, + "zones": [ + "1" + ] + }, + { + "name": "test-ora-data6", + "properties": { + "capacityPoolResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + "creationToken": "test-ora-data6", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-data6" + }, + "zones": [ + "1" + ] + }, + { + "name": "test-ora-data7", + "properties": { + "capacityPoolResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + "creationToken": "test-ora-data7", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-data7" + }, + "zones": [ + "1" + ] + }, + { + "name": "test-ora-data8", + "properties": { + "capacityPoolResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + "creationToken": "test-ora-data8", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-data8" + }, + "zones": [ + "1" + ] + }, + { + "name": "test-ora-log", + "properties": { + "capacityPoolResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + "creationToken": "test-ora-log", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-log" + }, + "zones": [ + "1" + ] + }, + { + "name": "test-ora-log-mirror", + "properties": { + "capacityPoolResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + "creationToken": "test-ora-log-mirror", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-log-mirror" + }, + "zones": [ + "1" + ] + }, + { + "name": "test-ora-binary", + "properties": { + "capacityPoolResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + "creationToken": "test-ora-binary", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-binary" + }, + "zones": [ + "1" + ] + }, + { + "name": "test-ora-backup", + "properties": { + "capacityPoolResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + "creationToken": "test-ora-backup", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-backup" + }, + "zones": [ + "1" + ] + } + ] + } + }, + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeGroupName": "group1" + }, + "responses": { + "201": { + "body": { + "name": "group1", + "type": "Microsoft.NetApp/netAppAccounts/volumeGroups", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/volumeGroups/group1", + "location": "westus", + "properties": { + "groupMetaData": { + "applicationIdentifier": "OR2", + "applicationType": "ORACLE", + "groupDescription": "Volume group" + }, + "provisioningState": "Creating", + "volumes": [ + { + "name": "test-ora-data1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data1", + "properties": { + "creationToken": "test-ora-data1", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-data1" + }, + "zones": [ + "1" + ] + }, + { + "name": "test-ora-data2", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data2", + "properties": { + "creationToken": "test-ora-data2", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-data2" + }, + "zones": [ + "1" + ] + }, + { + "name": "test-ora-data3", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data3", + "properties": { + "creationToken": "test-ora-data3", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-data3" + }, + "zones": [ + "1" + ] + }, + { + "name": "test-ora-data4", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data4", + "properties": { + "creationToken": "test-ora-data4", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-data4" + }, + "zones": [ + "1" + ] + }, + { + "name": "test-ora-data5", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data5", + "properties": { + "creationToken": "test-ora-data5", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-data5" + }, + "zones": [ + "1" + ] + }, + { + "name": "test-ora-data6", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data6", + "properties": { + "creationToken": "test-ora-data6", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-data6" + }, + "zones": [ + "1" + ] + }, + { + "name": "test-ora-data7", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data7", + "properties": { + "creationToken": "test-ora-data7", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-data7" + }, + "zones": [ + "1" + ] + }, + { + "name": "test-ora-data8", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data8", + "properties": { + "creationToken": "test-ora-data8", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-data8" + }, + "zones": [ + "1" + ] + }, + { + "name": "test-ora-log", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-log", + "properties": { + "creationToken": "test-ora-log", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-log" + }, + "zones": [ + "1" + ] + }, + { + "name": "test-ora-log-mirror", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-log-mirror", + "properties": { + "creationToken": "test-ora-log-mirror", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-log-mirror" + }, + "zones": [ + "1" + ] + }, + { + "name": "test-ora-binary", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-binary", + "properties": { + "creationToken": "test-ora-binary", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-binary" + }, + "zones": [ + "1" + ] + }, + { + "name": "test-ora-backup", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-backup", + "properties": { + "creationToken": "test-ora-backup", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-backup" + }, + "zones": [ + "1" + ] + } + ] + } + } + } + }, + "operationId": "VolumeGroups_Create", + "title": "VolumeGroups_Create_Oracle" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/VolumeGroups_Create_SapHana.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/VolumeGroups_Create_SapHana.json new file mode 100644 index 000000000000..094b45c3ecb7 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/VolumeGroups_Create_SapHana.json @@ -0,0 +1,408 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "body": { + "location": "westus", + "properties": { + "groupMetaData": { + "applicationIdentifier": "SH9", + "applicationType": "SAP-HANA", + "groupDescription": "Volume group" + }, + "volumes": [ + { + "name": "test-data-mnt00001", + "properties": { + "capacityPoolResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + "creationToken": "test-data-mnt00001", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "proximityPlacementGroup": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "data" + } + }, + { + "name": "test-log-mnt00001", + "properties": { + "capacityPoolResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + "creationToken": "test-log-mnt00001", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "proximityPlacementGroup": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "log" + } + }, + { + "name": "test-shared", + "properties": { + "capacityPoolResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + "creationToken": "test-shared", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "proximityPlacementGroup": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "shared" + } + }, + { + "name": "test-data-backup", + "properties": { + "capacityPoolResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + "creationToken": "test-data-backup", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "proximityPlacementGroup": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "data-backup" + } + }, + { + "name": "test-log-backup", + "properties": { + "capacityPoolResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + "creationToken": "test-log-backup", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "proximityPlacementGroup": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "log-backup" + } + } + ] + } + }, + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeGroupName": "group1" + }, + "responses": { + "201": { + "body": { + "name": "group1", + "type": "Microsoft.NetApp/netAppAccounts/volumeGroups", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/volumeGroups/group1", + "location": "westus", + "properties": { + "groupMetaData": { + "applicationIdentifier": "SH9", + "applicationType": "SAP-HANA", + "groupDescription": "Volume group" + }, + "provisioningState": "Creating", + "volumes": [ + { + "name": "test-data-mnt00001", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-data-mnt00001", + "properties": { + "creationToken": "test-data-mnt00001", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "proximityPlacementGroup": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "data" + } + }, + { + "name": "test-log-mnt00001", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-log-mnt00001", + "properties": { + "creationToken": "test-log-mnt00001", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "proximityPlacementGroup": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "log" + } + }, + { + "name": "test-shared", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-shared", + "properties": { + "creationToken": "test-shared", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "proximityPlacementGroup": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "shared" + } + }, + { + "name": "test-data-backup", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-data-backup", + "properties": { + "creationToken": "test-data-backup", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "proximityPlacementGroup": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "data-backup" + } + }, + { + "name": "test-log-backup", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-log-backup", + "properties": { + "creationToken": "test-log-backup", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "proximityPlacementGroup": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "log-backup" + } + } + ] + } + } + } + }, + "operationId": "VolumeGroups_Create", + "title": "VolumeGroups_Create_SapHana" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/VolumeGroups_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/VolumeGroups_Delete.json new file mode 100644 index 000000000000..073d6a6a35fa --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/VolumeGroups_Delete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeGroupName": "group1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01&operationResultResponseType=Location" + } + }, + "204": {} + }, + "operationId": "VolumeGroups_Delete", + "title": "VolumeGroups_Delete" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/VolumeGroups_Get_Oracle.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/VolumeGroups_Get_Oracle.json new file mode 100644 index 000000000000..6c935b475526 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/VolumeGroups_Get_Oracle.json @@ -0,0 +1,512 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeGroupName": "group1" + }, + "responses": { + "200": { + "body": { + "name": "group1", + "type": "Microsoft.NetApp/netAppAccounts/volumeGroups", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/volumeGroups/group1", + "location": "eastus", + "properties": { + "groupMetaData": { + "applicationIdentifier": "OR2", + "applicationType": "ORACLE", + "groupDescription": "Volume group", + "volumesCount": 12 + }, + "provisioningState": "Succeeded", + "volumes": [ + { + "name": "account1/pool1/test-ora-data1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data1", + "properties": { + "creationToken": "test-ora-data1", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "provisioningState": "Succeeded", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-data1" + }, + "zones": [ + "1" + ] + }, + { + "name": "account1/pool1/test-ora-data2", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data2", + "properties": { + "creationToken": "test-ora-data2", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "provisioningState": "Succeeded", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-data2" + }, + "zones": [ + "1" + ] + }, + { + "name": "account1/pool1/test-ora-data3", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data3", + "properties": { + "creationToken": "test-ora-data3", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "provisioningState": "Succeeded", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-data3" + }, + "zones": [ + "1" + ] + }, + { + "name": "account1/pool1/test-ora-data4", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data4", + "properties": { + "creationToken": "test-ora-data4", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "provisioningState": "Succeeded", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-data4" + }, + "zones": [ + "1" + ] + }, + { + "name": "account1/pool1/test-ora-data5", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data5", + "properties": { + "creationToken": "test-ora-data5", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "provisioningState": "Succeeded", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-data5" + }, + "zones": [ + "1" + ] + }, + { + "name": "account1/pool1/test-ora-data6", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data6", + "properties": { + "creationToken": "test-ora-data6", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "provisioningState": "Succeeded", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-data6" + }, + "zones": [ + "1" + ] + }, + { + "name": "account1/pool1/test-ora-data7", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data7", + "properties": { + "creationToken": "test-ora-data7", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "provisioningState": "Succeeded", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-data7" + }, + "zones": [ + "1" + ] + }, + { + "name": "account1/pool1/test-ora-data8", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-data8", + "properties": { + "creationToken": "test-ora-data8", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "provisioningState": "Succeeded", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-data8" + }, + "zones": [ + "1" + ] + }, + { + "name": "account1/pool1/test-ora-log", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-log", + "properties": { + "creationToken": "test-ora-log", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "provisioningState": "Succeeded", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-log" + }, + "zones": [ + "1" + ] + }, + { + "name": "account1/pool1/test-ora-log-mirror", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-log-mirror", + "properties": { + "creationToken": "test-ora-log-mirror", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "provisioningState": "Succeeded", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-log-mirror" + }, + "zones": [ + "1" + ] + }, + { + "name": "account1/pool1/test-ora-binary", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-binary", + "properties": { + "creationToken": "test-ora-binary", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "provisioningState": "Succeeded", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-binary" + }, + "zones": [ + "1" + ] + }, + { + "name": "account1/pool1/test-ora-backup", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-ora-backup", + "properties": { + "creationToken": "test-ora-backup", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "provisioningState": "Succeeded", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "ora-backup" + }, + "zones": [ + "1" + ] + } + ] + } + } + } + }, + "operationId": "VolumeGroups_Get", + "title": "VolumeGroups_Get_Oracle" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/VolumeGroups_Get_SapHana.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/VolumeGroups_Get_SapHana.json new file mode 100644 index 000000000000..9d80215375cd --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/VolumeGroups_Get_SapHana.json @@ -0,0 +1,222 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeGroupName": "group1" + }, + "responses": { + "200": { + "body": { + "name": "group1", + "type": "Microsoft.NetApp/netAppAccounts/volumeGroups", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/volumeGroups/group1", + "location": "eastus", + "properties": { + "groupMetaData": { + "applicationIdentifier": "SH9", + "applicationType": "SAP-HANA", + "groupDescription": "Volume group", + "volumesCount": 5 + }, + "provisioningState": "Succeeded", + "volumes": [ + { + "name": "account1/pool1/test-data-mnt00001", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-data-mnt00001", + "properties": { + "creationToken": "test-data-mnt00001", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "provisioningState": "Succeeded", + "proximityPlacementGroup": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "data" + } + }, + { + "name": "account1/pool1/test-log-mnt00001", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-log-mnt00001", + "properties": { + "creationToken": "test-log-mnt00001", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "provisioningState": "Succeeded", + "proximityPlacementGroup": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "log" + } + }, + { + "name": "account1/pool1/test-shared", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-shared", + "properties": { + "creationToken": "test-shared", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "provisioningState": "Succeeded", + "proximityPlacementGroup": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "shared" + } + }, + { + "name": "account1/pool1/test-data-backup", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-data-backup", + "properties": { + "creationToken": "test-data-backup", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "provisioningState": "Succeeded", + "proximityPlacementGroup": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "data-backup" + } + }, + { + "name": "account1/pool1/test-log-backup", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/test-log-backup", + "properties": { + "creationToken": "test-log-backup", + "exportPolicy": { + "rules": [ + { + "allowedClients": "0.0.0.0/0", + "cifs": false, + "hasRootAccess": true, + "kerberos5ReadOnly": false, + "kerberos5ReadWrite": false, + "kerberos5iReadOnly": false, + "kerberos5iReadWrite": false, + "kerberos5pReadOnly": false, + "kerberos5pReadWrite": false, + "nfsv3": false, + "nfsv41": true, + "ruleIndex": 1, + "unixReadOnly": true, + "unixReadWrite": true + } + ] + }, + "protocolTypes": [ + "NFSv4.1" + ], + "provisioningState": "Succeeded", + "proximityPlacementGroup": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg", + "serviceLevel": "Premium", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 10, + "usageThreshold": 107374182400, + "volumeSpecName": "log-backup" + } + } + ] + } + } + } + }, + "operationId": "VolumeGroups_Get", + "title": "VolumeGroups_Get_SapHana" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/VolumeGroups_List_Oracle.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/VolumeGroups_List_Oracle.json new file mode 100644 index 000000000000..9f2fd8e129f5 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/VolumeGroups_List_Oracle.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "group1", + "type": "Microsoft.NetApp/netAppAccounts/volumeGroups", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/volumeGroups/group1", + "location": "eastus", + "properties": { + "groupMetaData": { + "applicationIdentifier": "DEV", + "applicationType": "ORACLE", + "groupDescription": "Volume group", + "volumesCount": 12 + }, + "provisioningState": "Succeeded" + } + } + ] + } + } + }, + "operationId": "VolumeGroups_ListByNetAppAccount", + "title": "VolumeGroups_List_Oracle" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/VolumeGroups_List_SapHana.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/VolumeGroups_List_SapHana.json new file mode 100644 index 000000000000..c7e75d5e2080 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/VolumeGroups_List_SapHana.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "group1", + "type": "Microsoft.NetApp/netAppAccounts/volumeGroups", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/volumeGroups/group1", + "location": "eastus", + "properties": { + "groupMetaData": { + "applicationIdentifier": "SH9", + "applicationType": "SAP-HANA", + "groupDescription": "Volume group", + "volumesCount": 5 + }, + "provisioningState": "Succeeded" + } + } + ] + } + } + }, + "operationId": "VolumeGroups_ListByNetAppAccount", + "title": "VolumeGroups_List_SapHana" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/VolumeQuotaRules_Create.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/VolumeQuotaRules_Create.json new file mode 100644 index 000000000000..1d6217359920 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/VolumeQuotaRules_Create.json @@ -0,0 +1,54 @@ +{ + "parameters": { + "accountName": "account-9957", + "api-version": "2025-09-01", + "body": { + "location": "westus", + "properties": { + "quotaSizeInKiBs": 100005, + "quotaTarget": "1821", + "quotaType": "IndividualUserQuota" + } + }, + "poolName": "pool-5210", + "resourceGroupName": "myRG", + "subscriptionId": "5275316f-a498-48d6-b324-2cbfdc4311b9", + "volumeName": "volume-6387", + "volumeQuotaRuleName": "rule-0004" + }, + "responses": { + "200": { + "body": { + "name": "account-9957/pool-5210/volume-6387/rule-0004", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/volumeQuotaRules", + "id": "/subscriptions/5275316f-a498-48d6-b324-2cbfdc4311b9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account-9957/capacityPools/pool-5210/volumes/volume-6387/volumeQuotaRules/rule-0004", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "quotaSizeInKiBs": 100005, + "quotaTarget": "1821", + "quotaType": "IndividualUserQuota" + } + } + }, + "201": { + "body": { + "name": "account-9957/pool-5210/volume-6387/rule-0004", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/volumeQuotaRules", + "id": "/subscriptions/5275316f-a498-48d6-b324-2cbfdc4311b9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account-9957/capacityPools/pool-5210/volumes/volume-6387/volumeQuotaRules/rule-0004", + "location": "westus", + "properties": { + "provisioningState": "Creating", + "quotaSizeInKiBs": 100005, + "quotaTarget": "1821", + "quotaType": "IndividualUserQuota" + } + }, + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01&operationResultResponseType=Location" + } + } + }, + "operationId": "VolumeQuotaRules_Create", + "title": "VolumeQuotaRules_Create" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/VolumeQuotaRules_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/VolumeQuotaRules_Delete.json new file mode 100644 index 000000000000..029462b047fa --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/VolumeQuotaRules_Delete.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "accountName": "account-9957", + "api-version": "2025-09-01", + "poolName": "pool-5210", + "resourceGroupName": "myRG", + "subscriptionId": "5275316f-a498-48d6-b324-2cbfdc4311b9", + "volumeName": "volume-6387", + "volumeQuotaRuleName": "rule-0004" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/5275316f-a498-48d6-b324-2cbfdc4311b9/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01&operationResultResponseType=Location" + } + }, + "204": {} + }, + "operationId": "VolumeQuotaRules_Delete", + "title": "VolumeQuotaRules_Delete" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/VolumeQuotaRules_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/VolumeQuotaRules_Get.json new file mode 100644 index 000000000000..b395ce1c3c54 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/VolumeQuotaRules_Get.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "accountName": "account-9957", + "api-version": "2025-09-01", + "poolName": "pool-5210", + "resourceGroupName": "myRG", + "subscriptionId": "5275316f-a498-48d6-b324-2cbfdc4311b9", + "volumeName": "volume-6387", + "volumeQuotaRuleName": "rule-0004" + }, + "responses": { + "200": { + "body": { + "name": "account-9957/pool-5210/volume-6387/rule-0004", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/volumeQuotaRules", + "id": "/subscriptions/5275316f-a498-48d6-b324-2cbfdc4311b9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account-9957/capacityPools/pool-5210/volumes/volume-6387/volumeQuotaRules/rule-0004", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "quotaSizeInKiBs": 100005, + "quotaTarget": "1821", + "quotaType": "IndividualUserQuota" + } + } + } + }, + "operationId": "VolumeQuotaRules_Get", + "title": "VolumeQuotaRules_Get" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/VolumeQuotaRules_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/VolumeQuotaRules_List.json new file mode 100644 index 000000000000..80c3e3f28c63 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/VolumeQuotaRules_List.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "accountName": "account-9957", + "api-version": "2025-09-01", + "poolName": "pool-5210", + "resourceGroupName": "myRG", + "subscriptionId": "5275316f-a498-48d6-b324-2cbfdc4311b9", + "volumeName": "volume-6387", + "volumeQuotaRuleName": "rule-0004" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "account-9957/pool-5210/volume-6387/rule-0004", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/volumeQuotaRules", + "id": "/subscriptions/5275316f-a498-48d6-b324-2cbfdc4311b9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account-9957/capacityPools/pool-5210/volumes/volume-6387/volumeQuotaRules/rule-0004", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "quotaSizeInKiBs": 100005, + "quotaTarget": "1821", + "quotaType": "IndividualUserQuota" + } + } + ] + } + } + }, + "operationId": "VolumeQuotaRules_ListByVolume", + "title": "VolumeQuotaRules_List" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/VolumeQuotaRules_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/VolumeQuotaRules_Update.json new file mode 100644 index 000000000000..6a654a9dcb16 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/VolumeQuotaRules_Update.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "accountName": "account-9957", + "api-version": "2025-09-01", + "body": { + "properties": { + "quotaSizeInKiBs": 100009 + } + }, + "poolName": "pool-5210", + "resourceGroupName": "myRG", + "subscriptionId": "5275316f-a498-48d6-b324-2cbfdc4311b9", + "volumeName": "volume-6387", + "volumeQuotaRuleName": "rule-0004" + }, + "responses": { + "200": { + "body": { + "name": "account-9957/pool-5210/volume-6387/rule-0004", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/volumeQuotaRules", + "id": "/subscriptions/5275316f-a498-48d6-b324-2cbfdc4311b9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account-9957/capacityPools/pool-5210/volumes/volume-6387/volumeQuotaRules/rule-0004", + "location": "westus", + "properties": { + "provisioningState": "Patching", + "quotaSizeInKiBs": 100005, + "quotaTarget": "1821", + "quotaType": "IndividualUserQuota" + } + } + }, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/5275316f-a498-48d6-b324-2cbfdc4311b9/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01&operationResultResponseType=Location" + } + } + }, + "operationId": "VolumeQuotaRules_Update", + "title": "VolumeQuotaRules_Update" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_AuthorizeExternalReplication.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_AuthorizeExternalReplication.json new file mode 100644 index 000000000000..1e6ab31a7db9 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_AuthorizeExternalReplication.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": { + "body": { + "svmPeeringCommand": "vserver peer accept -vserver OnPremSvm -peer-vserver AnfSvm" + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01&operationResultResponseType=Location" + } + } + }, + "operationId": "Volumes_AuthorizeExternalReplication", + "title": "Volumes_AuthorizeExternalReplication" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_AuthorizeReplication.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_AuthorizeReplication.json new file mode 100644 index 000000000000..6173d6a31019 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_AuthorizeReplication.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "body": { + "remoteVolumeResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRemoteRG/providers/Microsoft.NetApp/netAppAccounts/remoteAccount1/capacityPools/remotePool1/volumes/remoteVolume1" + }, + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01&operationResultResponseType=Location" + } + } + }, + "operationId": "Volumes_AuthorizeReplication", + "title": "Volumes_AuthorizeReplication" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_BreakFileLocks.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_BreakFileLocks.json new file mode 100644 index 000000000000..d38fcf709a18 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_BreakFileLocks.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "body": { + "clientIp": "101.102.103.104", + "confirmRunningDisruptiveOperation": true + }, + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01&operationResultResponseType=Location" + } + } + }, + "operationId": "Volumes_BreakFileLocks", + "title": "Volumes_BreakFileLocks" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_BreakReplication.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_BreakReplication.json new file mode 100644 index 000000000000..3538520f4795 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_BreakReplication.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "body": { + "forceBreakReplication": false + }, + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01&operationResultResponseType=Location" + } + } + }, + "operationId": "Volumes_BreakReplication", + "title": "Volumes_BreakReplication" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_CreateOrUpdate.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_CreateOrUpdate.json new file mode 100644 index 000000000000..e3bf12c2deed --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_CreateOrUpdate.json @@ -0,0 +1,60 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-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": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": { + "body": { + "name": "account1/pool1/volume1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1", + "location": "eastus", + "properties": { + "creationToken": "my-unique-file-path", + "encryptionKeySource": "Microsoft.NetApp", + "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", + "throughputMibps": 128, + "usageThreshold": 107374182400 + } + } + }, + "201": { + "body": { + "name": "account1/pool1/volume1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1", + "location": "eastus", + "properties": { + "creationToken": "my-unique-file-path", + "encryptionKeySource": "Microsoft.NetApp", + "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", + "throughputMibps": 128, + "usageThreshold": 107374182400 + } + } + }, + "202": {} + }, + "operationId": "Volumes_CreateOrUpdate", + "title": "Volumes_CreateOrUpdate" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_Delete.json new file mode 100644 index 000000000000..421a1f6ff590 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_Delete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01&operationResultResponseType=Location" + } + }, + "204": {} + }, + "operationId": "Volumes_Delete", + "title": "Volumes_Delete" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_DeleteReplication.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_DeleteReplication.json new file mode 100644 index 000000000000..d72990e2672c --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_DeleteReplication.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "body": { + "location": "eastus", + "properties": {} + }, + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01&operationResultResponseType=Location" + } + } + }, + "operationId": "Volumes_DeleteReplication", + "title": "Volumes_DeleteReplication" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_FinalizeExternalReplication.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_FinalizeExternalReplication.json new file mode 100644 index 000000000000..63e15355cc59 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_FinalizeExternalReplication.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01&operationResultResponseType=Location" + } + } + }, + "operationId": "Volumes_FinalizeExternalReplication", + "title": "Volumes_FinalizeExternalReplication" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_FinalizeRelocation.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_FinalizeRelocation.json new file mode 100644 index 000000000000..602157a1ba91 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_FinalizeRelocation.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "body": { + "location": "eastus", + "properties": {} + }, + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01&operationResultResponseType=Location" + } + } + }, + "operationId": "Volumes_FinalizeRelocation", + "title": "Volumes_FinalizeRelocation" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_Get.json new file mode 100644 index 000000000000..5f27a038c53b --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_Get.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": { + "body": { + "name": "account1/pool1/volume1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1", + "location": "eastus", + "properties": { + "creationToken": "my-unique-file-path", + "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca7778", + "networkFeatures": "Standard", + "networkSiblingSetId": "0f434a03-ce0b-4935-81af-d98652ffb1c4", + "provisioningState": "Succeeded", + "serviceLevel": "Premium", + "storageToNetworkProximity": "T2", + "subnetId": "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 128, + "usageThreshold": 107374182400 + } + } + } + }, + "operationId": "Volumes_Get", + "title": "Volumes_Get" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_LatestBackupStatus.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_LatestBackupStatus.json new file mode 100644 index 000000000000..7499f0991a32 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_LatestBackupStatus.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": { + "body": { + "errorMessage": "", + "healthy": true, + "lastTransferSize": 100000, + "lastTransferType": "", + "mirrorState": "Mirrored", + "relationshipStatus": "Idle", + "totalTransferBytes": 100000, + "unhealthyReason": "" + } + } + }, + "operationId": "Backups_GetLatestStatus", + "title": "Volumes_BackupStatus" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_LatestRestoreStatus.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_LatestRestoreStatus.json new file mode 100644 index 000000000000..18fd0cce128f --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_LatestRestoreStatus.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": { + "body": { + "errorMessage": "", + "healthy": true, + "mirrorState": "Uninitialized", + "relationshipStatus": "Idle", + "totalTransferBytes": 100000, + "unhealthyReason": "" + } + } + }, + "operationId": "Backups_GetVolumeLatestRestoreStatus", + "title": "Volumes_RestoreStatus" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_List.json new file mode 100644 index 000000000000..f64b84a95c2f --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_List.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "account1/pool1/volume1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1", + "location": "eastus", + "properties": { + "creationToken": "my-unique-file-path", + "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca7778", + "networkFeatures": "Standard", + "networkSiblingSetId": "0f434a03-ce0b-4935-81af-d98652ffb1c4", + "provisioningState": "Succeeded", + "serviceLevel": "Premium", + "storageToNetworkProximity": "T2", + "subnetId": "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 128, + "usageThreshold": 107374182400 + } + } + ] + } + } + }, + "operationId": "Volumes_List", + "title": "Volumes_List" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_ListQuotaReport.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_ListQuotaReport.json new file mode 100644 index 000000000000..d7672ccbdfac --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_ListQuotaReport.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "isDerivedQuota": false, + "percentageUsed": 5, + "quotaLimitTotalInKiBs": 204914688, + "quotaLimitUsedInKiBs": 8192, + "quotaTarget": "1013", + "quotaType": "IndividualUserQuota" + }, + { + "isDerivedQuota": false, + "percentageUsed": 5, + "quotaLimitTotalInKiBs": 204914688, + "quotaLimitUsedInKiBs": 8192, + "quotaTarget": "1012", + "quotaType": "IndividualGroupQuota" + } + ] + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-07-01-preview", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-07-01-preview&operationResultResponseType=Location" + } + } + }, + "operationId": "Volumes_ListQuotaReport", + "title": "ListQuotaReport" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_ListReplications.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_ListReplications.json new file mode 100644 index 000000000000..e00073b9c3a0 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_ListReplications.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myRG", + "accountName": "account1", + "poolName": "pool1", + "volumeName": "volume1", + "api-version": "2025-09-01", + "body": { + "exclude": "None" + } + }, + "responses": { + "200": { + "body": { + "value": [ + { + "replicationSchedule": "daily", + "remoteVolumeResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account-5999/capacityPools/pool-0977/volumes/volume-4508", + "remoteVolumeRegion": "westus", + "mirrorState": "Mirrored", + "replicationCreationTime": "2017-08-15T13:23:33Z", + "replicationDeletionTime": "2017-08-16T13:23:33Z" + } + ] + } + } + }, + "operationId": "Volumes_ListReplications", + "title": "Volumes_ListReplications" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_PeerExternalCluster.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_PeerExternalCluster.json new file mode 100644 index 000000000000..27a3402e1071 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_PeerExternalCluster.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "body": { + "peerIpAddresses": [ + "0.0.0.1", + "0.0.0.2", + "0.0.0.3", + "0.0.0.4", + "0.0.0.5", + "0.0.0.6" + ] + }, + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": { + "body": { + "peerAcceptCommand": "cluster peer create -ipspace replication -encryption-protocol-proposed tls-psk -passphrase passphraseString -peer-addrs 1.1.1.1,1.1.1.2,1.1.1.3,1.1.1.4,1.1.1.5,1.1.1.6" + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01&operationResultResponseType=Location" + } + } + }, + "operationId": "Volumes_PeerExternalCluster", + "title": "Volumes_PeerExternalCluster" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_PerformReplicationTransfer.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_PerformReplicationTransfer.json new file mode 100644 index 000000000000..7b257d890d92 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_PerformReplicationTransfer.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "body": { + "location": "eastus", + "properties": {} + }, + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01&operationResultResponseType=Location" + } + } + }, + "operationId": "Volumes_PerformReplicationTransfer", + "title": "Volumes_PerformReplicationTransfer" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_PoolChange.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_PoolChange.json new file mode 100644 index 000000000000..4cb939d04363 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_PoolChange.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "body": { + "newPoolResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1" + }, + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01&operationResultResponseType=Location" + } + } + }, + "operationId": "Volumes_PoolChange", + "title": "Volumes_AuthorizeReplication" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_PopulateAvailabilityZones.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_PopulateAvailabilityZones.json new file mode 100644 index 000000000000..9842ae26ec4e --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_PopulateAvailabilityZones.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": { + "body": { + "name": "account1/pool1/volume1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1", + "location": "eastus", + "properties": { + "creationToken": "my-unique-file-path", + "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca7778", + "networkFeatures": "Standard", + "networkSiblingSetId": "0f434a03-ce0b-4935-81af-d98652ffb1c4", + "provisioningState": "Succeeded", + "serviceLevel": "Premium", + "storageToNetworkProximity": "T2", + "subnetId": "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 128, + "usageThreshold": 107374182400 + } + } + }, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01&operationResultResponseType=Location" + } + } + }, + "operationId": "Volumes_PopulateAvailabilityZone", + "title": "Volumes_PopulateAvailabilityZones" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_ReInitializeReplication.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_ReInitializeReplication.json new file mode 100644 index 000000000000..6be130fcbe00 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_ReInitializeReplication.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "body": { + "location": "eastus", + "properties": {} + }, + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01&operationResultResponseType=Location" + } + } + }, + "operationId": "Volumes_ReInitializeReplication", + "title": "Volumes_ReInitializeReplication" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_ReestablishReplication.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_ReestablishReplication.json new file mode 100644 index 000000000000..e5e2143c196a --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_ReestablishReplication.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "body": { + "sourceVolumeId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mySourceRG/providers/Microsoft.NetApp/netAppAccounts/sourceAccount1/capacityPools/sourcePool1/volumes/sourceVolume1" + }, + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01&operationResultResponseType=Location" + } + } + }, + "operationId": "Volumes_ReestablishReplication", + "title": "Volumes_ReestablishReplication" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_Relocate.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_Relocate.json new file mode 100644 index 000000000000..e3e2dd81b01a --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_Relocate.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "body": {}, + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01&operationResultResponseType=Location" + } + } + }, + "operationId": "Volumes_Relocate", + "title": "Volumes_Relocate" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_ReplicationStatus.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_ReplicationStatus.json new file mode 100644 index 000000000000..f9d89627bbf0 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_ReplicationStatus.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "body": { + "location": "eastus", + "properties": {} + }, + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": { + "body": { + "errorMessage": "", + "healthy": true, + "mirrorState": "Mirrored", + "relationshipStatus": "Idle", + "totalProgress": "1048576" + } + } + }, + "operationId": "Volumes_ReplicationStatus", + "title": "Volumes_ReplicationStatus" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_ResetCifsPassword.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_ResetCifsPassword.json new file mode 100644 index 000000000000..720f2c0eceeb --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_ResetCifsPassword.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "body": { + "location": "eastus", + "properties": {} + }, + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01&operationResultResponseType=Location" + } + } + }, + "operationId": "Volumes_ResetCifsPassword", + "title": "Volumes_ResetCifsPassword" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_ResyncReplication.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_ResyncReplication.json new file mode 100644 index 000000000000..bc3bb139b7f1 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_ResyncReplication.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "body": { + "location": "eastus", + "properties": {} + }, + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01&operationResultResponseType=Location" + } + } + }, + "operationId": "Volumes_ResyncReplication", + "title": "Volumes_ResyncReplication" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_Revert.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_Revert.json new file mode 100644 index 000000000000..0f8f93a8d296 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_Revert.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "body": { + "snapshotId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/snapshots/snapshot1" + }, + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01&operationResultResponseType=Location" + } + } + }, + "operationId": "Volumes_Revert", + "title": "Volumes_Revert" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_RevertRelocation.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_RevertRelocation.json new file mode 100644 index 000000000000..07834daa1c95 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_RevertRelocation.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "body": { + "location": "eastus", + "properties": {} + }, + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01&operationResultResponseType=Location" + } + } + }, + "operationId": "Volumes_RevertRelocation", + "title": "Volumes_RevertRelocation" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_SplitClone.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_SplitClone.json new file mode 100644 index 000000000000..4902cfe58169 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_SplitClone.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": { + "body": { + "name": "account1/pool1/volume1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1", + "location": "eastus", + "properties": { + "acceptGrowCapacityPoolForShortTermCloneSplit": "Accepted", + "creationToken": "my-unique-file-path", + "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca7778", + "networkFeatures": "Standard", + "networkSiblingSetId": "0f434a03-ce0b-4935-81af-d98652ffb1c4", + "provisioningState": "Succeeded", + "serviceLevel": "Premium", + "snapshotId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/snapshots/snap1", + "storageToNetworkProximity": "T2", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 128, + "usageThreshold": 107374182400 + } + } + }, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01&operationResultResponseType=Location" + } + } + }, + "operationId": "Volumes_SplitCloneFromParent", + "title": "Volumes_SplitClone" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_Update.json new file mode 100644 index 000000000000..780433576e19 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/examples/Volumes_Update.json @@ -0,0 +1,45 @@ +{ + "parameters": { + "accountName": "account1", + "api-version": "2025-09-01", + "body": {}, + "poolName": "pool1", + "resourceGroupName": "myRG", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "volumeName": "volume1" + }, + "responses": { + "200": { + "body": { + "name": "account1/pool1/volume1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroup/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1", + "location": "eastus", + "properties": { + "creationToken": "my-unique-file-path", + "dataProtection": { + "snapshot": { + "snapshotPolicyId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRP/providers/Microsoft.NetApp/netAppAccounts/account1/snapshotPolicies/snapshotPolicy1" + } + }, + "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca7778", + "networkFeatures": "Standard", + "networkSiblingSetId": "0f434a03-ce0b-4935-81af-d98652ffb1c4", + "provisioningState": "Succeeded", + "serviceLevel": "Premium", + "storageToNetworkProximity": "T2", + "subnetId": "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "throughputMibps": 128, + "usageThreshold": 107374182400 + } + } + }, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus/operationResults/616ee961-4042-4935-b4a0-ed6f4dae0172?api-version=2025-09-01&operationResultResponseType=Location" + } + } + }, + "operationId": "Volumes_Update", + "title": "Volumes_Update" +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/netapp.json b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/netapp.json new file mode 100644 index 000000000000..35167026799c --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/stable/2025-09-01/netapp.json @@ -0,0 +1,13591 @@ +{ + "swagger": "2.0", + "info": { + "title": "Microsoft NetApp", + "version": "2025-09-01", + "description": "Microsoft NetApp Files Azure Resource Provider specification", + "x-typespec-generated": [ + { + "emitter": "@azure-tools/typespec-autorest" + } + ] + }, + "schemes": [ + "https" + ], + "host": "management.azure.com", + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "description": "Azure Active Directory OAuth2 Flow.", + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "tags": [ + { + "name": "Operations" + }, + { + "name": "SubscriptionQuotaItems" + }, + { + "name": "NetAppResourceQuotaLimitsAccount" + }, + { + "name": "RegionInfoResources" + }, + { + "name": "VolumeGroups" + }, + { + "name": "NetAppAccounts" + }, + { + "name": "CapacityPools" + }, + { + "name": "Backups" + }, + { + "name": "Volumes" + }, + { + "name": "Snapshots" + }, + { + "name": "SnapshotPolicies" + }, + { + "name": "BackupPolicies" + }, + { + "name": "VolumeQuotaRules" + }, + { + "name": "SubvolumeInfos" + }, + { + "name": "BackupVaults" + } + ], + "paths": { + "/providers/Microsoft.NetApp/operations": { + "get": { + "operationId": "Operations_List", + "tags": [ + "Operations" + ], + "description": "List the operations for the provider", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/OperationListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "OperationList": { + "$ref": "./examples/OperationList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/checkFilePathAvailability": { + "post": { + "operationId": "NetAppResource_CheckFilePathAvailability", + "summary": "Check file path availability", + "description": "Check if a file path is available.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter" + }, + { + "name": "body", + "in": "body", + "description": "The request body", + "required": true, + "schema": { + "$ref": "#/definitions/FilePathAvailabilityRequest" + } + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/CheckAvailabilityResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CheckFilePathAvailability": { + "$ref": "./examples/CheckFilePathAvailability.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/checkNameAvailability": { + "post": { + "operationId": "NetAppResource_CheckNameAvailability", + "summary": "Check resource name availability", + "description": "Check if a resource name is available.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter" + }, + { + "name": "body", + "in": "body", + "description": "The request body", + "required": true, + "schema": { + "$ref": "#/definitions/ResourceNameAvailabilityRequest" + } + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/CheckAvailabilityResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CheckNameAvailability": { + "$ref": "./examples/CheckNameAvailability.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/checkQuotaAvailability": { + "post": { + "operationId": "NetAppResource_CheckQuotaAvailability", + "summary": "Check quota availability", + "description": "Check if a quota is available.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter" + }, + { + "name": "body", + "in": "body", + "description": "The request body", + "required": true, + "schema": { + "$ref": "#/definitions/QuotaAvailabilityRequest" + } + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/CheckAvailabilityResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CheckQuotaAvailability": { + "$ref": "./examples/CheckQuotaAvailability.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/queryNetworkSiblingSet": { + "post": { + "operationId": "NetAppResource_QueryNetworkSiblingSet", + "summary": "Describe a network sibling set", + "description": "Get details of the specified network sibling set.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter" + }, + { + "name": "body", + "in": "body", + "description": "The request body", + "required": true, + "schema": { + "$ref": "#/definitions/QueryNetworkSiblingSetRequest" + } + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/NetworkSiblingSet" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkSiblingSet_Query": { + "$ref": "./examples/NetworkSiblingSet_Query.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/quotaLimits": { + "get": { + "operationId": "NetAppResourceQuotaLimits_List", + "tags": [ + "SubscriptionQuotaItems" + ], + "description": "Get the default and current limits for quotas", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/LocationParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/QuotaItemList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "QuotaLimits": { + "$ref": "./examples/NetAppResourceQuotaLimits_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/quotaLimits/{quotaLimitName}": { + "get": { + "operationId": "NetAppResourceQuotaLimits_Get", + "tags": [ + "SubscriptionQuotaItems" + ], + "description": "Get the default and current quota limit", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/LocationParameter" + }, + { + "name": "quotaLimitName", + "in": "path", + "description": "The name of the Quota Limit", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-]{0,62}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/QuotaItem" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "QuotaLimits": { + "$ref": "./examples/NetAppResourceQuotaLimits_Get.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/regionInfo": { + "get": { + "operationId": "NetAppResource_QueryRegionInfo", + "summary": "Describes region specific information.", + "description": "Provides storage to network proximity and logical zone mapping information.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/RegionInfo" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "RegionInfo_Query": { + "$ref": "./examples/RegionInfo.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/regionInfos": { + "get": { + "operationId": "NetAppResourceRegionInfos_List", + "tags": [ + "RegionInfoResources" + ], + "description": "Provides region specific information.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/LocationParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/RegionInfosList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "RegionInfos_List": { + "$ref": "./examples/RegionInfos_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/regionInfos/default": { + "get": { + "operationId": "NetAppResourceRegionInfos_Get", + "tags": [ + "RegionInfoResources" + ], + "description": "Provides storage to network proximity and logical zone mapping information.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/LocationParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/RegionInfoResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "RegionInfos_Get": { + "$ref": "./examples/RegionInfos_Get.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/updateNetworkSiblingSet": { + "post": { + "operationId": "NetAppResource_UpdateNetworkSiblingSet", + "summary": "Update the network features of a network sibling set", + "description": "Update the network features of the specified network sibling set.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter" + }, + { + "name": "body", + "in": "body", + "description": "The request body", + "required": true, + "schema": { + "$ref": "#/definitions/UpdateNetworkSiblingSetRequest" + } + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/NetworkSiblingSet" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkFeatures_Update": { + "$ref": "./examples/NetworkSiblingSet_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/NetworkSiblingSet" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/usages": { + "get": { + "operationId": "NetAppResourceUsages_List", + "summary": "Get usages", + "description": "Get current subscription usages", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/UsagesListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Usages_List": { + "$ref": "./examples/Usages_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/usages/{usageType}": { + "get": { + "operationId": "NetAppResourceUsages_Get", + "summary": "Get specific type of usage", + "description": "Get current subscription usage of the specific type", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/LocationParameter" + }, + { + "name": "usageType", + "in": "path", + "description": "The type of usage", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/UsageResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Usages_Get": { + "$ref": "./examples/Usages_Get.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/netAppAccounts": { + "get": { + "operationId": "Accounts_ListBySubscription", + "tags": [ + "NetAppAccounts" + ], + "description": "List and describe all NetApp accounts in the subscription.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetAppAccountList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Accounts_ListBySubscription": { + "$ref": "./examples/Accounts_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts": { + "get": { + "operationId": "Accounts_List", + "tags": [ + "NetAppAccounts" + ], + "description": "List and describe all NetApp accounts in the resource group.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetAppAccountList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Accounts_List": { + "$ref": "./examples/Accounts_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}": { + "get": { + "operationId": "Accounts_Get", + "tags": [ + "NetAppAccounts" + ], + "description": "Get the NetApp account", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetAppAccount" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Accounts_Get": { + "$ref": "./examples/Accounts_Get.json" + } + } + }, + "put": { + "operationId": "Accounts_CreateOrUpdate", + "tags": [ + "NetAppAccounts" + ], + "description": "Create or update the specified NetApp account within the resource group", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "body", + "in": "body", + "description": "NetApp Account object supplied in the body of the operation.", + "required": true, + "schema": { + "$ref": "#/definitions/NetAppAccount" + } + } + ], + "responses": { + "200": { + "description": "Resource 'NetAppAccount' update operation succeeded", + "schema": { + "$ref": "#/definitions/NetAppAccount" + } + }, + "201": { + "description": "Resource 'NetAppAccount' create operation succeeded", + "schema": { + "$ref": "#/definitions/NetAppAccount" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Accounts_CreateOrUpdate": { + "$ref": "./examples/Accounts_CreateOrUpdate.json" + }, + "Accounts_CreateOrUpdateWithActiveDirectory": { + "$ref": "./examples/Accounts_CreateOrUpdateAD.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/NetAppAccount" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Accounts_Update", + "tags": [ + "NetAppAccounts" + ], + "description": "Patch the specified NetApp account", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "body", + "in": "body", + "description": "NetApp Account object supplied in the body of the operation.", + "required": true, + "schema": { + "$ref": "#/definitions/NetAppAccountPatch" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetAppAccount" + } + }, + "202": { + "description": "The request has been accepted for processing, but processing has not yet completed.", + "schema": { + "$ref": "#/definitions/NetAppAccount" + }, + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Accounts_Update": { + "$ref": "./examples/Accounts_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/NetAppAccount" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Accounts_Delete", + "tags": [ + "NetAppAccounts" + ], + "description": "Delete the specified NetApp account", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Accounts_Delete": { + "$ref": "./examples/Accounts_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupPolicies": { + "get": { + "operationId": "BackupPolicies_List", + "tags": [ + "BackupPolicies" + ], + "description": "List backup policies for Netapp Account", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/BackupPoliciesList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "BackupPolicies_List": { + "$ref": "./examples/BackupPolicies_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupPolicies/{backupPolicyName}": { + "get": { + "operationId": "BackupPolicies_Get", + "tags": [ + "BackupPolicies" + ], + "description": "Get a particular backup Policy", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "backupPolicyName", + "in": "path", + "description": "Backup policy Name which uniquely identify backup policy.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/BackupPolicy" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Backups_Get": { + "$ref": "./examples/BackupPolicies_Get.json" + } + } + }, + "put": { + "operationId": "BackupPolicies_Create", + "tags": [ + "BackupPolicies" + ], + "description": "Create a backup policy for Netapp Account", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "backupPolicyName", + "in": "path", + "description": "Backup policy Name which uniquely identify backup policy.", + "required": true, + "type": "string" + }, + { + "name": "body", + "in": "body", + "description": "Backup policy object supplied in the body of the operation.", + "required": true, + "schema": { + "$ref": "#/definitions/BackupPolicy" + } + } + ], + "responses": { + "200": { + "description": "Resource 'BackupPolicy' update operation succeeded", + "schema": { + "$ref": "#/definitions/BackupPolicy" + } + }, + "201": { + "description": "Resource 'BackupPolicy' create operation succeeded", + "schema": { + "$ref": "#/definitions/BackupPolicy" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "BackupPolicies_Create": { + "$ref": "./examples/BackupPolicies_Create.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/BackupPolicy" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "BackupPolicies_Update", + "tags": [ + "BackupPolicies" + ], + "description": "Patch a backup policy for Netapp Account", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "backupPolicyName", + "in": "path", + "description": "Backup policy Name which uniquely identify backup policy.", + "required": true, + "type": "string" + }, + { + "name": "body", + "in": "body", + "description": "Backup policy object supplied in the body of the operation.", + "required": true, + "schema": { + "$ref": "#/definitions/BackupPolicyPatch" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/BackupPolicy" + } + }, + "202": { + "description": "The request has been accepted for processing, but processing has not yet completed.", + "schema": { + "$ref": "#/definitions/BackupPolicy" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "BackupPolicies_Update": { + "$ref": "./examples/BackupPolicies_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/BackupPolicy" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "BackupPolicies_Delete", + "tags": [ + "BackupPolicies" + ], + "description": "Delete backup policy", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "backupPolicyName", + "in": "path", + "description": "Backup policy Name which uniquely identify backup policy.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "BackupPolicies_Delete": { + "$ref": "./examples/BackupPolicies_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupVaults": { + "get": { + "operationId": "BackupVaults_ListByNetAppAccount", + "tags": [ + "BackupVaults" + ], + "description": "List and describe all Backup Vaults in the NetApp account.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/BackupVaultsList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "BackupVaults_List": { + "$ref": "./examples/BackupVaults_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupVaults/{backupVaultName}": { + "get": { + "operationId": "BackupVaults_Get", + "tags": [ + "BackupVaults" + ], + "description": "Get the Backup Vault", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "backupVaultName", + "in": "path", + "description": "The name of the Backup Vault", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/BackupVault" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "BackupVaults_Get": { + "$ref": "./examples/BackupVaults_Get.json" + } + } + }, + "put": { + "operationId": "BackupVaults_CreateOrUpdate", + "tags": [ + "BackupVaults" + ], + "description": "Create or update the specified Backup Vault in the NetApp account", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "backupVaultName", + "in": "path", + "description": "The name of the Backup Vault", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "body", + "in": "body", + "description": "BackupVault object supplied in the body of the operation.", + "required": true, + "schema": { + "$ref": "#/definitions/BackupVault" + } + } + ], + "responses": { + "200": { + "description": "Resource 'BackupVault' update operation succeeded", + "schema": { + "$ref": "#/definitions/BackupVault" + } + }, + "201": { + "description": "Resource 'BackupVault' create operation succeeded", + "schema": { + "$ref": "#/definitions/BackupVault" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "BackupVault_CreateOrUpdate": { + "$ref": "./examples/BackupVaults_Create.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/BackupVault" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "BackupVaults_Update", + "tags": [ + "BackupVaults" + ], + "description": "Patch the specified NetApp Backup Vault", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "backupVaultName", + "in": "path", + "description": "The name of the Backup Vault", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "body", + "in": "body", + "description": "Backup Vault object supplied in the body of the operation.", + "required": true, + "schema": { + "$ref": "#/definitions/BackupVaultPatch" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/BackupVault" + } + }, + "202": { + "description": "The request has been accepted for processing, but processing has not yet completed.", + "schema": { + "$ref": "#/definitions/BackupVault" + }, + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "BackupVaults_Update": { + "$ref": "./examples/BackupVaults_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/BackupVault" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "BackupVaults_Delete", + "tags": [ + "BackupVaults" + ], + "description": "Delete the specified Backup Vault", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "backupVaultName", + "in": "path", + "description": "The name of the Backup Vault", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "BackupVaults_Delete": { + "$ref": "./examples/BackupVaults_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupVaults/{backupVaultName}/backups": { + "get": { + "operationId": "Backups_ListByVault", + "tags": [ + "Backups" + ], + "description": "List all backups Under a Backup Vault", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "backupVaultName", + "in": "path", + "description": "The name of the Backup Vault", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "$filter", + "in": "query", + "description": "An option to specify the VolumeResourceId. If present, then only returns the backups under the specified volume", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/BackupsList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Backups_List": { + "$ref": "./examples/BackupsUnderBackupVault_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupVaults/{backupVaultName}/backups/{backupName}": { + "get": { + "operationId": "Backups_Get", + "tags": [ + "Backups" + ], + "description": "Get the specified Backup under Backup Vault.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "backupVaultName", + "in": "path", + "description": "The name of the Backup Vault", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "backupName", + "in": "path", + "description": "The name of the backup", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_.]{0,255}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Backup" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "BackupsUnderBackupVault_Get": { + "$ref": "./examples/BackupsUnderBackupVault_Get.json" + } + } + }, + "put": { + "operationId": "Backups_Create", + "tags": [ + "Backups" + ], + "description": "Create a backup under the Backup Vault", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "backupVaultName", + "in": "path", + "description": "The name of the Backup Vault", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "backupName", + "in": "path", + "description": "The name of the backup", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_.]{0,255}$" + }, + { + "name": "body", + "in": "body", + "description": "Backup object supplied in the body of the operation.", + "required": true, + "schema": { + "$ref": "#/definitions/Backup" + } + } + ], + "responses": { + "200": { + "description": "Resource 'Backup' update operation succeeded", + "schema": { + "$ref": "#/definitions/Backup" + } + }, + "201": { + "description": "Resource 'Backup' create operation succeeded", + "schema": { + "$ref": "#/definitions/Backup" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "BackupsUnderBackupVault_Create": { + "$ref": "./examples/BackupsUnderBackupVault_Create.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/Backup" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Backups_Update", + "tags": [ + "Backups" + ], + "description": "Patch a Backup under the Backup Vault", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "backupVaultName", + "in": "path", + "description": "The name of the Backup Vault", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "backupName", + "in": "path", + "description": "The name of the backup", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_.]{0,255}$" + }, + { + "name": "body", + "in": "body", + "description": "Backup object supplied in the body of the operation.", + "required": false, + "schema": { + "$ref": "#/definitions/BackupPatch" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Backup" + } + }, + "202": { + "description": "The request has been accepted for processing, but processing has not yet completed.", + "schema": { + "$ref": "#/definitions/Backup" + }, + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "BackupsUnderBackupVault_Update": { + "$ref": "./examples/BackupsUnderBackupVault_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/Backup" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Backups_Delete", + "tags": [ + "Backups" + ], + "description": "Delete a Backup under the Backup Vault", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "backupVaultName", + "in": "path", + "description": "The name of the Backup Vault", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "backupName", + "in": "path", + "description": "The name of the backup", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_.]{0,255}$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "BackupsUnderBackupVault_Delete": { + "$ref": "./examples/BackupsUnderBackupVault_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupVaults/{backupVaultName}/backups/{backupName}/restoreFiles": { + "post": { + "operationId": "BackupsUnderBackupVault_RestoreFiles", + "tags": [ + "Backups" + ], + "description": "Restore the specified files from the specified backup to the active filesystem", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "backupVaultName", + "in": "path", + "description": "The name of the Backup Vault", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "backupName", + "in": "path", + "description": "The name of the backup", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_.]{0,255}$" + }, + { + "name": "body", + "in": "body", + "description": "Restore payload supplied in the body of the operation.", + "required": true, + "schema": { + "$ref": "#/definitions/BackupRestoreFiles" + } + } + ], + "responses": { + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Backups_SingleFileRestore": { + "$ref": "./examples/BackupsUnderBackupVault_SingleFileRestore.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools": { + "get": { + "operationId": "Pools_List", + "tags": [ + "CapacityPools" + ], + "description": "List all capacity pools in the NetApp Account", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CapacityPoolList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Pools_List": { + "$ref": "./examples/Pools_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}": { + "get": { + "operationId": "Pools_Get", + "tags": [ + "CapacityPools" + ], + "description": "Get details of the specified capacity pool", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CapacityPool" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Pools_Get": { + "$ref": "./examples/Pools_Get.json" + }, + "Pools_Get_CustomThroughput": { + "$ref": "./examples/Pools_Get_CustomThroughput.json" + } + } + }, + "put": { + "operationId": "Pools_CreateOrUpdate", + "tags": [ + "CapacityPools" + ], + "description": "Create or Update a capacity pool", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "body", + "in": "body", + "description": "Capacity pool object supplied in the body of the operation.", + "required": true, + "schema": { + "$ref": "#/definitions/CapacityPool" + } + } + ], + "responses": { + "200": { + "description": "Resource 'CapacityPool' update operation succeeded", + "schema": { + "$ref": "#/definitions/CapacityPool" + } + }, + "201": { + "description": "Resource 'CapacityPool' create operation succeeded", + "schema": { + "$ref": "#/definitions/CapacityPool" + }, + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Pools_CreateOrUpdate": { + "$ref": "./examples/Pools_CreateOrUpdate.json" + }, + "Pools_CreateOrUpdate_CustomThroughput": { + "$ref": "./examples/Pools_CreateOrUpdate_CustomThroughput.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/CapacityPool" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Pools_Update", + "tags": [ + "CapacityPools" + ], + "description": "Patch the specified capacity pool", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "body", + "in": "body", + "description": "Capacity pool object supplied in the body of the operation.", + "required": true, + "schema": { + "$ref": "#/definitions/CapacityPoolPatch" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CapacityPool" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Pools_Update": { + "$ref": "./examples/Pools_Update.json" + }, + "Pools_Update_CustomThroughput": { + "$ref": "./examples/Pools_Update_CustomThroughput.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/CapacityPool" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Pools_Delete", + "tags": [ + "CapacityPools" + ], + "description": "Delete the specified capacity pool", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Pools_Delete": { + "$ref": "./examples/Pools_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes": { + "get": { + "operationId": "Volumes_List", + "tags": [ + "Volumes" + ], + "description": "List all volumes within the capacity pool", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/VolumeList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Volumes_List": { + "$ref": "./examples/Volumes_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}": { + "get": { + "operationId": "Volumes_Get", + "tags": [ + "Volumes" + ], + "description": "Get the details of the specified volume", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the volume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Volume" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Volumes_Get": { + "$ref": "./examples/Volumes_Get.json" + } + } + }, + "put": { + "operationId": "Volumes_CreateOrUpdate", + "tags": [ + "Volumes" + ], + "description": "Create or update the specified volume within the capacity pool", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the volume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "body", + "in": "body", + "description": "Volume object supplied in the body of the operation.", + "required": true, + "schema": { + "$ref": "#/definitions/Volume" + } + } + ], + "responses": { + "200": { + "description": "Resource 'Volume' update operation succeeded", + "schema": { + "$ref": "#/definitions/Volume" + } + }, + "201": { + "description": "Resource 'Volume' create operation succeeded", + "schema": { + "$ref": "#/definitions/Volume" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Volumes_CreateOrUpdate": { + "$ref": "./examples/Volumes_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/Volume" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Volumes_Update", + "tags": [ + "Volumes" + ], + "description": "Patch the specified volume", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the volume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "body", + "in": "body", + "description": "Volume object supplied in the body of the operation.", + "required": true, + "schema": { + "$ref": "#/definitions/VolumePatch" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Volume" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Volumes_Update": { + "$ref": "./examples/Volumes_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/Volume" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Volumes_Delete", + "tags": [ + "Volumes" + ], + "description": "Delete the specified volume", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the volume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "forceDelete", + "in": "query", + "description": "An option to force delete the volume. Will cleanup resources connected to the particular volume", + "required": false, + "type": "boolean" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Volumes_Delete": { + "$ref": "./examples/Volumes_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/authorizeExternalReplication": { + "post": { + "operationId": "Volumes_AuthorizeExternalReplication", + "tags": [ + "Volumes" + ], + "description": "Starts SVM peering and returns a command to be run on the external ONTAP to accept it. Once the SVM have been peered a SnapMirror will be created", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the volume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SvmPeerCommandResponse" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Volumes_AuthorizeExternalReplication": { + "$ref": "./examples/Volumes_AuthorizeExternalReplication.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/SvmPeerCommandResponse" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/authorizeReplication": { + "post": { + "operationId": "Volumes_AuthorizeReplication", + "tags": [ + "Volumes" + ], + "description": "Authorize the replication connection on the source volume", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the volume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "body", + "in": "body", + "description": "Authorize request object supplied in the body of the operation.", + "required": true, + "schema": { + "$ref": "#/definitions/AuthorizeRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully." + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Volumes_AuthorizeReplication": { + "$ref": "./examples/Volumes_AuthorizeReplication.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/breakFileLocks": { + "post": { + "operationId": "Volumes_BreakFileLocks", + "tags": [ + "Volumes" + ], + "description": "Break all the file locks on a volume", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the volume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "body", + "in": "body", + "description": "Optional body to provide the ability to clear file locks with selected options", + "required": false, + "schema": { + "$ref": "#/definitions/BreakFileLocksRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully." + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Volumes_BreakFileLocks": { + "$ref": "./examples/Volumes_BreakFileLocks.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/breakReplication": { + "post": { + "operationId": "Volumes_BreakReplication", + "tags": [ + "Volumes" + ], + "description": "Break the replication connection on the destination volume", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the volume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "body", + "in": "body", + "description": "Optional body to force break the replication.", + "required": false, + "schema": { + "$ref": "#/definitions/BreakReplicationRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully." + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Volumes_BreakReplication": { + "$ref": "./examples/Volumes_BreakReplication.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/deleteReplication": { + "post": { + "operationId": "Volumes_DeleteReplication", + "tags": [ + "Volumes" + ], + "description": "Delete the replication connection on the destination volume, and send release to the source replication", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the volume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully." + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Volumes_DeleteReplication": { + "$ref": "./examples/Volumes_DeleteReplication.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/finalizeExternalReplication": { + "post": { + "operationId": "Volumes_FinalizeExternalReplication", + "tags": [ + "Volumes" + ], + "description": "Finalizes the migration of an external volume by releasing the replication and breaking the external cluster peering if no other migration is active.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the volume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + } + ], + "responses": { + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Volumes_FinalizeExternalReplication": { + "$ref": "./examples/Volumes_FinalizeExternalReplication.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/finalizeRelocation": { + "post": { + "operationId": "Volumes_FinalizeRelocation", + "tags": [ + "Volumes" + ], + "description": "Finalizes the relocation of the volume and cleans up the old volume.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the volume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully." + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Volumes_FinalizeRelocation": { + "$ref": "./examples/Volumes_FinalizeRelocation.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/getGroupIdListForLdapUser": { + "post": { + "operationId": "Volumes_ListGetGroupIdListForLdapUser", + "tags": [ + "Volumes" + ], + "description": "Returns the list of group Ids for a specific LDAP User", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the volume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "body", + "in": "body", + "description": "Returns group Id list for a specific LDAP user", + "required": true, + "schema": { + "$ref": "#/definitions/GetGroupIdListForLdapUserRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/GetGroupIdListForLdapUserResponse" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "format": "uri", + "description": "A link to the status monitor" + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "GetGroupIdListForUser": { + "$ref": "./examples/GroupIdListForLDAPUser.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/GetGroupIdListForLdapUserResponse" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/latestBackupStatus/current": { + "get": { + "operationId": "Backups_GetLatestStatus", + "tags": [ + "Volumes" + ], + "description": "Get the latest status of the backup for a volume", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the volume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/BackupStatus" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Volumes_BackupStatus": { + "$ref": "./examples/Volumes_LatestBackupStatus.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/latestRestoreStatus/current": { + "get": { + "operationId": "Backups_GetVolumeLatestRestoreStatus", + "tags": [ + "Volumes" + ], + "description": "Get the latest status of the restore for a volume", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the volume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/RestoreStatus" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Volumes_RestoreStatus": { + "$ref": "./examples/Volumes_LatestRestoreStatus.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/listQuotaReport": { + "post": { + "operationId": "Volumes_ListQuotaReport", + "tags": [ + "Volumes" + ], + "description": "A long-running resource action.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the volume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ListQuotaReportResponse" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "format": "uri", + "description": "A link to the status monitor" + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ListQuotaReport": { + "$ref": "./examples/Volumes_ListQuotaReport.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/ListQuotaReportResponse" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/listReplications": { + "post": { + "operationId": "Volumes_ListReplications", + "tags": [ + "Volumes" + ], + "description": "List all replications for a specified volume", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the volume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "body", + "in": "body", + "description": "The content of the action request", + "required": false, + "schema": { + "$ref": "#/definitions/ListReplicationsRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ListReplications" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Volumes_ListReplications": { + "$ref": "./examples/Volumes_ListReplications.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/migrateBackups": { + "post": { + "operationId": "BackupsUnderVolume_MigrateBackups", + "tags": [ + "Volumes" + ], + "description": "Migrate the backups under volume to backup vault", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the volume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "body", + "in": "body", + "description": "Migrate backups under volume payload supplied in the body of the operation.", + "required": true, + "schema": { + "$ref": "#/definitions/BackupsMigrationRequest" + } + } + ], + "responses": { + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "BackupsUnderVolume_Migrate": { + "$ref": "./examples/BackupsUnderVolume_Migrate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/peerExternalCluster": { + "post": { + "operationId": "Volumes_PeerExternalCluster", + "tags": [ + "Volumes" + ], + "description": "Starts peering the external cluster for this migration volume", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the volume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "body", + "in": "body", + "description": "Cluster peer request object supplied in the body of the operation.", + "required": true, + "schema": { + "$ref": "#/definitions/PeerClusterForVolumeMigrationRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ClusterPeerCommandResponse" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Volumes_PeerExternalCluster": { + "$ref": "./examples/Volumes_PeerExternalCluster.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/ClusterPeerCommandResponse" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/performReplicationTransfer": { + "post": { + "operationId": "Volumes_PerformReplicationTransfer", + "tags": [ + "Volumes" + ], + "description": "Performs an adhoc replication transfer on a volume with volumeType Migration", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the volume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + } + ], + "responses": { + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Volumes_PerformReplicationTransfer": { + "$ref": "./examples/Volumes_PerformReplicationTransfer.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/poolChange": { + "post": { + "operationId": "Volumes_PoolChange", + "tags": [ + "Volumes" + ], + "description": "Moves volume to another pool", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the volume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "body", + "in": "body", + "description": "Move volume to the pool supplied in the body of the operation.", + "required": true, + "schema": { + "$ref": "#/definitions/PoolChangeRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully." + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Volumes_AuthorizeReplication": { + "$ref": "./examples/Volumes_PoolChange.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/populateAvailabilityZone": { + "post": { + "operationId": "Volumes_PopulateAvailabilityZone", + "tags": [ + "Volumes" + ], + "description": "This operation will populate availability zone information for a volume", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the volume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Volume" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Volumes_PopulateAvailabilityZones": { + "$ref": "./examples/Volumes_PopulateAvailabilityZones.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/Volume" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/reestablishReplication": { + "post": { + "operationId": "Volumes_ReestablishReplication", + "tags": [ + "Volumes" + ], + "description": "Re-establish a previously deleted replication between 2 volumes that have a common ad-hoc or policy-based snapshots", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the volume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "body", + "in": "body", + "description": "body for the id of the source volume.", + "required": true, + "schema": { + "$ref": "#/definitions/ReestablishReplicationRequest" + } + } + ], + "responses": { + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Volumes_ReestablishReplication": { + "$ref": "./examples/Volumes_ReestablishReplication.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/reinitializeReplication": { + "post": { + "operationId": "Volumes_ReInitializeReplication", + "tags": [ + "Volumes" + ], + "description": "Re-Initializes the replication connection on the destination volume", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the volume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully." + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Volumes_ReInitializeReplication": { + "$ref": "./examples/Volumes_ReInitializeReplication.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/relocate": { + "post": { + "operationId": "Volumes_Relocate", + "tags": [ + "Volumes" + ], + "description": "Relocates volume to a new stamp", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the volume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "body", + "in": "body", + "description": "Relocate volume request", + "required": false, + "schema": { + "$ref": "#/definitions/RelocateVolumeRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully." + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Volumes_Relocate": { + "$ref": "./examples/Volumes_Relocate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/replicationStatus": { + "get": { + "operationId": "Volumes_ReplicationStatus", + "tags": [ + "Volumes" + ], + "description": "Get the status of the replication", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the volume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ReplicationStatus" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Volumes_ReplicationStatus": { + "$ref": "./examples/Volumes_ReplicationStatus.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/resetCifsPassword": { + "post": { + "operationId": "Volumes_ResetCifsPassword", + "tags": [ + "Volumes" + ], + "description": "Reset cifs password from volume", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the volume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + } + ], + "responses": { + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Volumes_ResetCifsPassword": { + "$ref": "./examples/Volumes_ResetCifsPassword.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/resyncReplication": { + "post": { + "operationId": "Volumes_ResyncReplication", + "tags": [ + "Volumes" + ], + "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 destination to source.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the volume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully." + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Volumes_ResyncReplication": { + "$ref": "./examples/Volumes_ResyncReplication.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/revert": { + "post": { + "operationId": "Volumes_Revert", + "tags": [ + "Volumes" + ], + "description": "Revert a volume to the snapshot specified in the body", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the volume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "body", + "in": "body", + "description": "Object for snapshot to revert supplied in the body of the operation.", + "required": true, + "schema": { + "$ref": "#/definitions/VolumeRevert" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully." + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Volumes_Revert": { + "$ref": "./examples/Volumes_Revert.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/revertRelocation": { + "post": { + "operationId": "Volumes_RevertRelocation", + "tags": [ + "Volumes" + ], + "description": "Reverts the volume relocation process, cleans up the new volume and starts using the former-existing volume.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the volume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully." + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Volumes_RevertRelocation": { + "$ref": "./examples/Volumes_RevertRelocation.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots": { + "get": { + "operationId": "Snapshots_List", + "tags": [ + "Snapshots" + ], + "description": "List all snapshots associated with the volume", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the volume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SnapshotsList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Snapshots_List": { + "$ref": "./examples/Snapshots_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots/{snapshotName}": { + "get": { + "operationId": "Snapshots_Get", + "tags": [ + "Snapshots" + ], + "description": "Get details of the specified snapshot", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the volume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "snapshotName", + "in": "path", + "description": "The name of the snapshot", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Snapshot" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Snapshots_Get": { + "$ref": "./examples/Snapshots_Get.json" + } + } + }, + "put": { + "operationId": "Snapshots_Create", + "tags": [ + "Snapshots" + ], + "description": "Create the specified snapshot within the given volume", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the volume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "snapshotName", + "in": "path", + "description": "The name of the snapshot", + "required": true, + "type": "string" + }, + { + "name": "body", + "in": "body", + "description": "Snapshot object supplied in the body of the operation.", + "required": true, + "schema": { + "$ref": "#/definitions/Snapshot" + } + } + ], + "responses": { + "201": { + "description": "Resource 'Snapshot' create operation succeeded", + "schema": { + "$ref": "#/definitions/Snapshot" + }, + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Snapshots_Create": { + "$ref": "./examples/Snapshots_Create.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/Snapshot" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Snapshots_Update", + "tags": [ + "Snapshots" + ], + "description": "Patch a snapshot", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the volume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "snapshotName", + "in": "path", + "description": "The name of the snapshot", + "required": true, + "type": "string" + }, + { + "name": "body", + "in": "body", + "description": "Snapshot object supplied in the body of the operation.", + "required": true, + "schema": { + "$ref": "#/definitions/SnapshotPatch" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Snapshot" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Snapshots_Update": { + "$ref": "./examples/Snapshots_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/Snapshot" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Snapshots_Delete", + "tags": [ + "Snapshots" + ], + "description": "Delete snapshot", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the volume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "snapshotName", + "in": "path", + "description": "The name of the snapshot", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Snapshots_Delete": { + "$ref": "./examples/Snapshots_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots/{snapshotName}/restoreFiles": { + "post": { + "operationId": "Snapshots_RestoreFiles", + "tags": [ + "Snapshots" + ], + "description": "Restore the specified files from the specified snapshot to the active filesystem", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the volume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "snapshotName", + "in": "path", + "description": "The name of the snapshot", + "required": true, + "type": "string" + }, + { + "name": "body", + "in": "body", + "description": "Restore payload supplied in the body of the operation.", + "required": true, + "schema": { + "$ref": "#/definitions/SnapshotRestoreFiles" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully." + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Snapshots_SingleFileRestore": { + "$ref": "./examples/Snapshots_SingleFileRestore.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/splitCloneFromParent": { + "post": { + "operationId": "Volumes_SplitCloneFromParent", + "tags": [ + "Volumes" + ], + "description": "Split operation to convert clone volume to an independent volume.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the volume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Volume" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Volumes_SplitClone": { + "$ref": "./examples/Volumes_SplitClone.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/Volume" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/subvolumes": { + "get": { + "operationId": "Subvolumes_ListByVolume", + "tags": [ + "SubvolumeInfos" + ], + "description": "Returns a list of the subvolumes in the volume", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the volume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SubvolumesList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Subvolumes_List": { + "$ref": "./examples/Subvolumes_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/subvolumes/{subvolumeName}": { + "get": { + "operationId": "Subvolumes_Get", + "tags": [ + "SubvolumeInfos" + ], + "description": "Returns the path associated with the subvolumeName provided", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the volume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "subvolumeName", + "in": "path", + "description": "The name of the subvolume.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SubvolumeInfo" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Subvolumes_Get": { + "$ref": "./examples/Subvolumes_Get.json" + } + } + }, + "put": { + "operationId": "Subvolumes_Create", + "tags": [ + "SubvolumeInfos" + ], + "description": "Creates a subvolume in the path or clones the subvolume mentioned in the parentPath", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the volume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "subvolumeName", + "in": "path", + "description": "The name of the subvolume.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "body", + "in": "body", + "description": "Subvolume object supplied in the body of the operation.", + "required": true, + "schema": { + "$ref": "#/definitions/SubvolumeInfo" + } + } + ], + "responses": { + "200": { + "description": "Resource 'SubvolumeInfo' update operation succeeded", + "schema": { + "$ref": "#/definitions/SubvolumeInfo" + } + }, + "201": { + "description": "Resource 'SubvolumeInfo' create operation succeeded", + "schema": { + "$ref": "#/definitions/SubvolumeInfo" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Subvolumes_Create": { + "$ref": "./examples/Subvolumes_Create.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/SubvolumeInfo" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Subvolumes_Update", + "tags": [ + "SubvolumeInfos" + ], + "description": "Patch a subvolume", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the volume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "subvolumeName", + "in": "path", + "description": "The name of the subvolume.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "body", + "in": "body", + "description": "Subvolume object supplied in the body of the operation.", + "required": true, + "schema": { + "$ref": "#/definitions/SubvolumePatchRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SubvolumeInfo" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Subvolumes_Update": { + "$ref": "./examples/Subvolumes_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/SubvolumeInfo" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Subvolumes_Delete", + "tags": [ + "SubvolumeInfos" + ], + "description": "Delete subvolume", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the volume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "subvolumeName", + "in": "path", + "description": "The name of the subvolume.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Subvolumes_Delete": { + "$ref": "./examples/Subvolumes_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/subvolumes/{subvolumeName}/getMetadata": { + "post": { + "operationId": "Subvolumes_GetMetadata", + "tags": [ + "SubvolumeInfos" + ], + "description": "Get details of the specified subvolume", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the volume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "subvolumeName", + "in": "path", + "description": "The name of the subvolume.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SubvolumeModel" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Subvolumes_Metadata": { + "$ref": "./examples/Subvolumes_Metadata.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/SubvolumeModel" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/volumeQuotaRules": { + "get": { + "operationId": "VolumeQuotaRules_ListByVolume", + "tags": [ + "VolumeQuotaRules" + ], + "description": "List all quota rules associated with the volume", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the volume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/VolumeQuotaRulesList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VolumeQuotaRules_List": { + "$ref": "./examples/VolumeQuotaRules_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/volumeQuotaRules/{volumeQuotaRuleName}": { + "get": { + "operationId": "VolumeQuotaRules_Get", + "tags": [ + "VolumeQuotaRules" + ], + "description": "Get details of the specified quota rule", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the volume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeQuotaRuleName", + "in": "path", + "description": "The name of volume quota rule", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/VolumeQuotaRule" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VolumeQuotaRules_Get": { + "$ref": "./examples/VolumeQuotaRules_Get.json" + } + } + }, + "put": { + "operationId": "VolumeQuotaRules_Create", + "tags": [ + "VolumeQuotaRules" + ], + "description": "Create the specified quota rule within the given volume", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the volume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeQuotaRuleName", + "in": "path", + "description": "The name of volume quota rule", + "required": true, + "type": "string" + }, + { + "name": "body", + "in": "body", + "description": "Quota rule object supplied in the body of the operation.", + "required": true, + "schema": { + "$ref": "#/definitions/VolumeQuotaRule" + } + } + ], + "responses": { + "200": { + "description": "Resource 'VolumeQuotaRule' update operation succeeded", + "schema": { + "$ref": "#/definitions/VolumeQuotaRule" + } + }, + "201": { + "description": "Resource 'VolumeQuotaRule' create operation succeeded", + "schema": { + "$ref": "#/definitions/VolumeQuotaRule" + }, + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VolumeQuotaRules_Create": { + "$ref": "./examples/VolumeQuotaRules_Create.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/VolumeQuotaRule" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "VolumeQuotaRules_Update", + "tags": [ + "VolumeQuotaRules" + ], + "description": "Patch a quota rule", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the volume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeQuotaRuleName", + "in": "path", + "description": "The name of volume quota rule", + "required": true, + "type": "string" + }, + { + "name": "body", + "in": "body", + "description": "Quota rule object supplied in the body of the operation.", + "required": true, + "schema": { + "$ref": "#/definitions/VolumeQuotaRulePatch" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/VolumeQuotaRule" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VolumeQuotaRules_Update": { + "$ref": "./examples/VolumeQuotaRules_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/VolumeQuotaRule" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "VolumeQuotaRules_Delete", + "tags": [ + "VolumeQuotaRules" + ], + "description": "Delete quota rule", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the capacity pool", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeName", + "in": "path", + "description": "The name of the volume", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "volumeQuotaRuleName", + "in": "path", + "description": "The name of volume quota rule", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VolumeQuotaRules_Delete": { + "$ref": "./examples/VolumeQuotaRules_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/changeKeyVault": { + "post": { + "operationId": "Accounts_ChangeKeyVault", + "tags": [ + "NetAppAccounts" + ], + "description": "Affects existing volumes that are encrypted with Key Vault/Managed HSM, and new volumes. Supports HSM to Key Vault, Key Vault to HSM, HSM to HSM and Key Vault to Key Vault.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "body", + "in": "body", + "description": "The required parameters to perform encryption migration.", + "required": false, + "schema": { + "$ref": "#/definitions/ChangeKeyVault" + } + } + ], + "responses": { + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Accounts_ChangeKeyVault": { + "$ref": "./examples/Accounts_ChangeKeyVault.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/getKeyVaultStatus": { + "post": { + "operationId": "Accounts_GetChangeKeyVaultInformation", + "tags": [ + "NetAppAccounts" + ], + "description": "Contains data from encryption.keyVaultProperties as well as information about which private endpoint is used by each encryption sibling set. Response from this endpoint can be modified and used as request body for POST request.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/GetKeyVaultStatusResponse" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "format": "uri", + "description": "A link to the status monitor" + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Accounts_GetChangeKeyVaultInformation": { + "$ref": "./examples/Accounts_GetChangeKeyVaultInformation.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/GetKeyVaultStatusResponse" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/migrateBackups": { + "post": { + "operationId": "BackupsUnderAccount_MigrateBackups", + "tags": [ + "NetAppAccounts" + ], + "description": "Migrate the backups under a NetApp account to backup vault", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "body", + "in": "body", + "description": "Migrate backups under an account payload supplied in the body of the operation.", + "required": true, + "schema": { + "$ref": "#/definitions/BackupsMigrationRequest" + } + } + ], + "responses": { + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "BackupsUnderAccount_Migrate": { + "$ref": "./examples/BackupsUnderAccount_Migrate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/quotaLimits": { + "get": { + "operationId": "NetAppResourceQuotaLimitsAccount_List", + "tags": [ + "NetAppResourceQuotaLimitsAccount" + ], + "description": "Gets a list of quota limits for all quotas that are under account. Currently PoolsPerAccount is the only one.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/QuotaItemList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "QuotaLimits": { + "$ref": "./examples/NetAppResourceQuotaLimitsAccount_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/quotaLimits/{quotaLimitName}": { + "get": { + "operationId": "NetAppResourceQuotaLimitsAccount_Get", + "tags": [ + "NetAppResourceQuotaLimitsAccount" + ], + "description": "Get the default, current and usages account quota limit", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "quotaLimitName", + "in": "path", + "description": "The name of the Quota Limit", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-]{0,62}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/QuotaItem" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "QuotaLimits": { + "$ref": "./examples/NetAppResourceQuotaLimitsAccount_Get.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/renewCredentials": { + "post": { + "operationId": "Accounts_RenewCredentials", + "tags": [ + "NetAppAccounts" + ], + "description": "Renew identity credentials that are used to authenticate to key vault, for customer-managed key encryption. If encryption.identity.principalId does not match identity.principalId, running this operation will fix it.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully." + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Accounts_RenewCredentials": { + "$ref": "./examples/Accounts_RenewCredentials.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/snapshotPolicies": { + "get": { + "operationId": "SnapshotPolicies_List", + "tags": [ + "SnapshotPolicies" + ], + "description": "List snapshot policy", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SnapshotPoliciesList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "SnapshotPolicies_List": { + "$ref": "./examples/SnapshotPolicies_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/snapshotPolicies/{snapshotPolicyName}": { + "get": { + "operationId": "SnapshotPolicies_Get", + "tags": [ + "SnapshotPolicies" + ], + "description": "Get a snapshot Policy", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "snapshotPolicyName", + "in": "path", + "description": "The name of the snapshot policy", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SnapshotPolicy" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "SnapshotPolicies_Get": { + "$ref": "./examples/SnapshotPolicies_Get.json" + } + } + }, + "put": { + "operationId": "SnapshotPolicies_Create", + "tags": [ + "SnapshotPolicies" + ], + "description": "Create a snapshot policy", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "snapshotPolicyName", + "in": "path", + "description": "The name of the snapshot policy", + "required": true, + "type": "string" + }, + { + "name": "body", + "in": "body", + "description": "Snapshot policy object supplied in the body of the operation.", + "required": true, + "schema": { + "$ref": "#/definitions/SnapshotPolicy" + } + } + ], + "responses": { + "200": { + "description": "Resource 'SnapshotPolicy' update operation succeeded", + "schema": { + "$ref": "#/definitions/SnapshotPolicy" + } + }, + "201": { + "description": "Resource 'SnapshotPolicy' create operation succeeded", + "schema": { + "$ref": "#/definitions/SnapshotPolicy" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "SnapshotPolicies_Create": { + "$ref": "./examples/SnapshotPolicies_Create.json" + } + } + }, + "patch": { + "operationId": "SnapshotPolicies_Update", + "tags": [ + "SnapshotPolicies" + ], + "description": "Patch a snapshot policy", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "snapshotPolicyName", + "in": "path", + "description": "The name of the snapshot policy", + "required": true, + "type": "string" + }, + { + "name": "body", + "in": "body", + "description": "Snapshot policy object supplied in the body of the operation.", + "required": true, + "schema": { + "$ref": "#/definitions/SnapshotPolicyPatch" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SnapshotPolicy" + } + }, + "202": { + "description": "The request has been accepted for processing, but processing has not yet completed.", + "schema": { + "$ref": "#/definitions/SnapshotPolicy" + }, + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "SnapshotPolicies_Update": { + "$ref": "./examples/SnapshotPolicies_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/SnapshotPolicy" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "SnapshotPolicies_Delete", + "tags": [ + "SnapshotPolicies" + ], + "description": "Delete snapshot policy", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "snapshotPolicyName", + "in": "path", + "description": "The name of the snapshot policy", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "SnapshotPolicies_Delete": { + "$ref": "./examples/SnapshotPolicies_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/snapshotPolicies/{snapshotPolicyName}/volumes": { + "get": { + "operationId": "SnapshotPolicies_ListVolumes", + "tags": [ + "SnapshotPolicies" + ], + "description": "Get volumes associated with snapshot policy", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "snapshotPolicyName", + "in": "path", + "description": "The name of the snapshot policy", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SnapshotPolicyVolumeList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "SnapshotPolicies_ListVolumes": { + "$ref": "./examples/SnapshotPolicies_ListVolumes.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/transitiontocmk": { + "post": { + "operationId": "Accounts_TransitionToCmk", + "tags": [ + "NetAppAccounts" + ], + "description": "Transitions all volumes in a VNet to a different encryption key source (Microsoft-managed key or Azure Key Vault). Operation fails if targeted volumes share encryption sibling set with volumes from another account.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "body", + "in": "body", + "description": "The required parameters to perform encryption transition.", + "required": false, + "schema": { + "$ref": "#/definitions/EncryptionTransitionRequest" + } + } + ], + "responses": { + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Accounts_MigrateEncryptionKey": { + "$ref": "./examples/Accounts_TransitionEncryptionKey.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/volumeGroups": { + "get": { + "operationId": "VolumeGroups_ListByNetAppAccount", + "tags": [ + "NetAppAccounts" + ], + "description": "List all volume groups for given account", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/VolumeGroupList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VolumeGroups_List_Oracle": { + "$ref": "./examples/VolumeGroups_List_Oracle.json" + }, + "VolumeGroups_List_SapHana": { + "$ref": "./examples/VolumeGroups_List_SapHana.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/volumeGroups/{volumeGroupName}": { + "get": { + "operationId": "VolumeGroups_Get", + "tags": [ + "VolumeGroups" + ], + "description": "Get details of the specified volume group", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "volumeGroupName", + "in": "path", + "description": "The name of the volumeGroup", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/VolumeGroupDetails" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VolumeGroups_Get_Oracle": { + "$ref": "./examples/VolumeGroups_Get_Oracle.json" + }, + "VolumeGroups_Get_SapHana": { + "$ref": "./examples/VolumeGroups_Get_SapHana.json" + } + } + }, + "put": { + "operationId": "VolumeGroups_Create", + "tags": [ + "VolumeGroups" + ], + "description": "Create a volume group along with specified volumes", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "volumeGroupName", + "in": "path", + "description": "The name of the volumeGroup", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + }, + { + "name": "body", + "in": "body", + "description": "Volume Group object supplied in the body of the operation.", + "required": true, + "schema": { + "$ref": "#/definitions/VolumeGroupDetails" + } + } + ], + "responses": { + "201": { + "description": "Resource 'VolumeGroupDetails' create operation succeeded", + "schema": { + "$ref": "#/definitions/VolumeGroupDetails" + }, + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VolumeGroups_Create_Oracle": { + "$ref": "./examples/VolumeGroups_Create_Oracle.json" + }, + "VolumeGroups_Create_SapHana": { + "$ref": "./examples/VolumeGroups_Create_SapHana.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/VolumeGroupDetails" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "VolumeGroups_Delete", + "tags": [ + "VolumeGroups" + ], + "description": "Delete the specified volume group only if there are no volumes under volume group.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "description": "The name of the NetApp account", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,127}$" + }, + { + "name": "volumeGroupName", + "in": "path", + "description": "The name of the volumeGroup", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,63}$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VolumeGroups_Delete": { + "$ref": "./examples/VolumeGroups_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + } + }, + "definitions": { + "AcceptGrowCapacityPoolForShortTermCloneSplit": { + "type": "string", + "description": "While auto splitting the short term clone volume, if the parent pool does not have enough space to accommodate the volume after split, it will be automatically resized, which will lead to increased billing. To accept capacity pool size auto grow and create a short term clone volume, set the property as accepted.", + "enum": [ + "Accepted", + "Declined" + ], + "x-ms-enum": { + "name": "AcceptGrowCapacityPoolForShortTermCloneSplit", + "modelAsString": true, + "values": [ + { + "name": "Accepted", + "value": "Accepted", + "description": "Auto grow capacity pool for short term clone split is accepted." + }, + { + "name": "Declined", + "value": "Declined", + "description": "Auto grow capacity pool for short term clone split is declined. Short term clone volume creation will not be allowed, to create short term clone volume accept auto grow capacity pool." + } + ] + } + }, + "AccountEncryption": { + "type": "object", + "description": "Encryption settings", + "properties": { + "keySource": { + "type": "string", + "description": "The encryption keySource (provider). Possible values (case-insensitive): Microsoft.NetApp, Microsoft.KeyVault", + "default": "Microsoft.NetApp", + "enum": [ + "Microsoft.NetApp", + "Microsoft.KeyVault" + ], + "x-ms-enum": { + "name": "KeySource", + "modelAsString": true, + "values": [ + { + "name": "Microsoft.NetApp", + "value": "Microsoft.NetApp", + "description": "Microsoft-managed key encryption" + }, + { + "name": "Microsoft.KeyVault", + "value": "Microsoft.KeyVault", + "description": "Customer-managed key encryption" + } + ] + } + }, + "keyVaultProperties": { + "$ref": "#/definitions/KeyVaultProperties", + "description": "Properties provided by KeVault. Applicable if keySource is 'Microsoft.KeyVault'." + }, + "identity": { + "$ref": "#/definitions/EncryptionIdentity", + "description": "Identity used to authenticate to KeyVault. Applicable if keySource is 'Microsoft.KeyVault'." + } + } + }, + "AccountProperties": { + "type": "object", + "description": "NetApp account properties", + "properties": { + "provisioningState": { + "type": "string", + "description": "Azure lifecycle management", + "readOnly": true + }, + "activeDirectories": { + "type": "array", + "description": "Active Directories", + "items": { + "$ref": "#/definitions/ActiveDirectory" + }, + "x-ms-identifiers": [ + "activeDirectoryId" + ] + }, + "encryption": { + "$ref": "#/definitions/AccountEncryption", + "description": "Encryption settings" + }, + "disableShowmount": { + "type": "boolean", + "description": "Shows the status of disableShowmount for all volumes under the subscription, null equals false", + "x-nullable": true, + "readOnly": true + }, + "nfsV4IDDomain": { + "$ref": "#/definitions/VfsV4IDDomain", + "description": "Domain for NFSv4 user ID mapping. This property will be set for all NetApp accounts in the subscription and region and only affect non ldap NFSv4 volumes.", + "x-nullable": true + }, + "multiAdStatus": { + "$ref": "#/definitions/MultiAdStatus", + "description": "MultiAD Status for the account", + "readOnly": true + }, + "ldapConfiguration": { + "$ref": "#/definitions/LdapConfiguration", + "description": "LDAP Configuration for the account." + } + } + }, + "ActiveDirectory": { + "type": "object", + "description": "Active Directory", + "properties": { + "activeDirectoryId": { + "type": "string", + "description": "Id of the Active Directory", + "x-nullable": true + }, + "username": { + "type": "string", + "description": "A domain user account with permission to create machine accounts" + }, + "password": { + "type": "string", + "format": "password", + "description": "Plain text password of Active Directory domain administrator, value is masked in the response", + "maxLength": 64, + "x-ms-secret": true + }, + "domain": { + "type": "string", + "description": "Name of the Active Directory domain" + }, + "dns": { + "type": "string", + "description": "Comma separated list of DNS server IP addresses (IPv4 only) for the Active Directory domain", + "pattern": "^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)((, ?)(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?))*$" + }, + "status": { + "$ref": "#/definitions/ActiveDirectoryStatus", + "description": "Status of the Active Directory", + "readOnly": true + }, + "statusDetails": { + "type": "string", + "description": "Any details in regards to the Status of the Active Directory", + "readOnly": true + }, + "smbServerName": { + "type": "string", + "description": "NetBIOS name of the SMB server. This name will be registered as a computer account in the AD and used to mount volumes" + }, + "organizationalUnit": { + "type": "string", + "description": "The Organizational Unit (OU) within the Windows Active Directory", + "default": "CN=Computers" + }, + "site": { + "type": "string", + "description": "The Active Directory site the service will limit Domain Controller discovery to" + }, + "backupOperators": { + "type": "array", + "description": "Users to be added to the Built-in Backup Operator active directory group. A list of unique usernames without domain specifier", + "items": { + "$ref": "#/definitions/UserName" + } + }, + "administrators": { + "type": "array", + "description": "Users to be added to the Built-in Administrators active directory group. A list of unique usernames without domain specifier", + "items": { + "$ref": "#/definitions/UserName" + } + }, + "kdcIP": { + "type": "string", + "description": "kdc server IP address for the active directory machine. This optional parameter is used only while creating kerberos volume.", + "pattern": "^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$" + }, + "adName": { + "type": "string", + "description": "Name of the active directory machine. This optional parameter is used only while creating kerberos volume", + "minLength": 1, + "maxLength": 64 + }, + "serverRootCACertificate": { + "type": "string", + "format": "password", + "description": "When LDAP over SSL/TLS is enabled, the LDAP client is required to have base64 encoded Active Directory Certificate Service's self-signed root CA certificate, this optional parameter is used only for dual protocol with LDAP user-mapping volumes.", + "minLength": 1, + "maxLength": 10240, + "x-ms-secret": true + }, + "aesEncryption": { + "type": "boolean", + "description": "If enabled, AES encryption will be enabled for SMB communication." + }, + "ldapSigning": { + "type": "boolean", + "description": "Specifies whether or not the LDAP traffic needs to be signed." + }, + "securityOperators": { + "type": "array", + "description": "Domain Users in the Active directory to be given SeSecurityPrivilege privilege (Needed for SMB Continuously available shares for SQL). A list of unique usernames without domain specifier", + "items": { + "$ref": "#/definitions/UserName" + } + }, + "ldapOverTLS": { + "type": "boolean", + "description": "Specifies whether or not the LDAP traffic needs to be secured via TLS." + }, + "allowLocalNfsUsersWithLdap": { + "type": "boolean", + "description": "If enabled, NFS client local users can also (in addition to LDAP users) access the NFS volumes." + }, + "encryptDCConnections": { + "type": "boolean", + "description": "If enabled, Traffic between the SMB server to Domain Controller (DC) will be encrypted." + }, + "ldapSearchScope": { + "$ref": "#/definitions/LdapSearchScopeOpt", + "description": "LDAP Search scope options" + }, + "preferredServersForLdapClient": { + "type": "string", + "description": "Comma separated list of IPv4 addresses of preferred servers for LDAP client. At most two comma separated IPv4 addresses can be passed.", + "maxLength": 32, + "pattern": "^((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)((, ?)(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?))?)?$" + } + } + }, + "ActiveDirectoryStatus": { + "type": "string", + "description": "Status of the Active Directory", + "enum": [ + "Created", + "InUse", + "Deleted", + "Error", + "Updating" + ], + "x-ms-enum": { + "name": "ActiveDirectoryStatus", + "modelAsString": true, + "values": [ + { + "name": "Created", + "value": "Created", + "description": "Active Directory created but not in use" + }, + { + "name": "InUse", + "value": "InUse", + "description": "Active Directory in use by SMB Volume" + }, + { + "name": "Deleted", + "value": "Deleted", + "description": "Active Directory Deleted" + }, + { + "name": "Error", + "value": "Error", + "description": "Error with the Active Directory" + }, + { + "name": "Updating", + "value": "Updating", + "description": "Active Directory Updating" + } + ] + } + }, + "ApplicationType": { + "type": "string", + "description": "Application Type", + "enum": [ + "SAP-HANA", + "ORACLE" + ], + "x-ms-enum": { + "name": "ApplicationType", + "modelAsString": true, + "values": [ + { + "name": "SAP-HANA", + "value": "SAP-HANA" + }, + { + "name": "ORACLE", + "value": "ORACLE" + } + ] + } + }, + "AuthorizeRequest": { + "type": "object", + "description": "Authorize request", + "properties": { + "remoteVolumeResourceId": { + "type": "string", + "description": "Resource id of the remote volume" + } + } + }, + "Backup": { + "type": "object", + "description": "Backup under a Backup Vault", + "properties": { + "properties": { + "$ref": "#/definitions/BackupProperties", + "description": "Backup Properties", + "x-ms-client-flatten": true + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + ] + }, + "BackupPatch": { + "type": "object", + "description": "Backup patch", + "properties": { + "properties": { + "$ref": "#/definitions/BackupPatchProperties", + "description": "Backup Patch Properties", + "x-ms-client-flatten": true + } + } + }, + "BackupPatchProperties": { + "type": "object", + "description": "Backup patch properties", + "properties": { + "label": { + "type": "string", + "description": "Label for backup" + } + } + }, + "BackupPoliciesList": { + "type": "object", + "description": "List of Backup Policies", + "properties": { + "value": { + "type": "array", + "description": "The BackupPolicy items on this page", + "items": { + "$ref": "#/definitions/BackupPolicy" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "BackupPolicy": { + "type": "object", + "description": "Backup policy information", + "properties": { + "properties": { + "$ref": "#/definitions/BackupPolicyProperties", + "description": "Backup policy Properties", + "x-ms-client-flatten": true + }, + "etag": { + "type": "string", + "description": "\"If etag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.\")", + "readOnly": true + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" + } + ] + }, + "BackupPolicyPatch": { + "type": "object", + "description": "Backup policy Details for create and update", + "properties": { + "location": { + "type": "string", + "description": "Resource location", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "id": { + "type": "string", + "description": "Resource Id", + "readOnly": true + }, + "name": { + "type": "string", + "description": "Resource name", + "readOnly": true + }, + "type": { + "type": "string", + "description": "Resource type", + "readOnly": true + }, + "tags": { + "type": "object", + "description": "Resource tags", + "additionalProperties": { + "type": "string" + } + }, + "properties": { + "$ref": "#/definitions/BackupPolicyProperties", + "description": "Backup policy Properties", + "x-ms-client-flatten": true + } + } + }, + "BackupPolicyProperties": { + "type": "object", + "description": "Backup policy properties", + "properties": { + "backupPolicyId": { + "type": "string", + "description": "Backup Policy GUID ID", + "readOnly": true + }, + "provisioningState": { + "type": "string", + "description": "Azure lifecycle management", + "readOnly": true + }, + "dailyBackupsToKeep": { + "type": "integer", + "format": "int32", + "description": "Daily backups count to keep" + }, + "weeklyBackupsToKeep": { + "type": "integer", + "format": "int32", + "description": "Weekly backups count to keep" + }, + "monthlyBackupsToKeep": { + "type": "integer", + "format": "int32", + "description": "Monthly backups count to keep" + }, + "volumesAssigned": { + "type": "integer", + "format": "int32", + "description": "Volumes using current backup policy", + "readOnly": true + }, + "enabled": { + "type": "boolean", + "description": "The property to decide policy is enabled or not" + }, + "volumeBackups": { + "type": "array", + "description": "A list of volumes assigned to this policy", + "items": { + "$ref": "#/definitions/VolumeBackups" + }, + "readOnly": true, + "x-ms-identifiers": [ + "volumeName" + ] + } + } + }, + "BackupProperties": { + "type": "object", + "description": "Backup properties", + "properties": { + "backupId": { + "type": "string", + "description": "UUID v4 used to identify the Backup", + "minLength": 36, + "maxLength": 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 + }, + "creationDate": { + "type": "string", + "format": "date-time", + "description": "The creation date of the backup", + "readOnly": true + }, + "snapshotCreationDate": { + "type": "string", + "format": "date-time", + "description": "The snapshot creation date of the backup", + "x-nullable": true, + "readOnly": true + }, + "completionDate": { + "type": "string", + "format": "date-time", + "description": "The completion date of the backup", + "x-nullable": true, + "readOnly": true + }, + "provisioningState": { + "type": "string", + "description": "Azure lifecycle management", + "readOnly": true + }, + "size": { + "type": "integer", + "format": "int64", + "description": "Size of backup in bytes", + "readOnly": true + }, + "label": { + "type": "string", + "description": "Label for backup" + }, + "backupType": { + "$ref": "#/definitions/BackupType", + "description": "Type of backup Manual or Scheduled", + "readOnly": true + }, + "failureReason": { + "type": "string", + "description": "Failure reason", + "readOnly": true + }, + "volumeResourceId": { + "type": "string", + "format": "arm-id", + "description": "ResourceId used to identify the Volume", + "x-ms-mutability": [ + "read", + "create" + ], + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes" + } + ] + } + }, + "useExistingSnapshot": { + "type": "boolean", + "description": "Manual backup an already existing snapshot. This will always be false for scheduled backups and true/false for manual backups", + "default": false, + "x-ms-mutability": [ + "read", + "create" + ] + }, + "snapshotName": { + "type": "string", + "description": "The name of the snapshot", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "backupPolicyResourceId": { + "type": "string", + "format": "arm-id", + "description": "ResourceId used to identify the backup policy", + "readOnly": true, + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.NetApp/netAppAccounts/backupPolicies" + } + ] + } + }, + "isLargeVolume": { + "type": "boolean", + "description": "Specifies if the backup is for a large volume.", + "readOnly": true + } + }, + "required": [ + "volumeResourceId" + ] + }, + "BackupRestoreFiles": { + "type": "object", + "description": "Restore payload for Single File Backup Restore", + "properties": { + "fileList": { + "type": "array", + "description": "List of files to be restored", + "minItems": 1, + "maxItems": 8, + "items": { + "$ref": "#/definitions/FileName" + } + }, + "restoreFilePath": { + "type": "string", + "description": "Destination folder where the files will be restored. The path name should start with a forward slash. If it is omitted from request then restore is done at the root folder of the destination volume by default", + "pattern": "^\\/.*$" + }, + "destinationVolumeId": { + "type": "string", + "description": "Resource Id of the destination volume on which the files need to be restored" + } + }, + "required": [ + "fileList", + "destinationVolumeId" + ] + }, + "BackupStatus": { + "type": "object", + "description": "Backup status", + "properties": { + "healthy": { + "type": "boolean", + "description": "Backup health status", + "readOnly": true + }, + "relationshipStatus": { + "$ref": "#/definitions/VolumeBackupRelationshipStatus", + "description": "Status of the backup mirror relationship", + "readOnly": true + }, + "mirrorState": { + "$ref": "#/definitions/MirrorState", + "description": "The status of the backup", + "readOnly": true + }, + "unhealthyReason": { + "type": "string", + "description": "Reason for the unhealthy backup relationship", + "readOnly": true + }, + "errorMessage": { + "type": "string", + "description": "Displays error message if the backup is in an error state", + "readOnly": true + }, + "lastTransferSize": { + "type": "integer", + "format": "int64", + "description": "Displays the last transfer size", + "readOnly": true + }, + "lastTransferType": { + "type": "string", + "description": "Displays the last transfer type", + "readOnly": true + }, + "totalTransferBytes": { + "type": "integer", + "format": "int64", + "description": "Displays the total bytes transferred", + "readOnly": true + }, + "transferProgressBytes": { + "type": "integer", + "format": "int64", + "description": "Displays the total number of bytes transferred for the ongoing operation", + "readOnly": true + } + } + }, + "BackupType": { + "type": "string", + "description": "Type of backup Manual or Scheduled", + "enum": [ + "Manual", + "Scheduled" + ], + "x-ms-enum": { + "name": "BackupType", + "modelAsString": true, + "values": [ + { + "name": "Manual", + "value": "Manual", + "description": "Manual backup" + }, + { + "name": "Scheduled", + "value": "Scheduled", + "description": "Scheduled backup" + } + ] + } + }, + "BackupVault": { + "type": "object", + "description": "Backup Vault information", + "properties": { + "properties": { + "$ref": "#/definitions/BackupVaultProperties", + "description": "Backup Vault Properties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" + } + ] + }, + "BackupVaultPatch": { + "type": "object", + "description": "Backup Vault information", + "properties": { + "tags": { + "type": "object", + "description": "Resource tags", + "additionalProperties": { + "type": "string" + } + } + } + }, + "BackupVaultProperties": { + "type": "object", + "description": "Backup Vault properties", + "properties": { + "provisioningState": { + "type": "string", + "description": "Azure lifecycle management", + "readOnly": true + } + } + }, + "BackupVaultsList": { + "type": "object", + "description": "List of Backup Vaults", + "properties": { + "value": { + "type": "array", + "description": "The BackupVault items on this page", + "items": { + "$ref": "#/definitions/BackupVault" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "BackupsList": { + "type": "object", + "description": "List of Backups", + "properties": { + "value": { + "type": "array", + "description": "The Backup items on this page", + "items": { + "$ref": "#/definitions/Backup" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "BackupsMigrationRequest": { + "type": "object", + "description": "Migrate Backups Request", + "properties": { + "backupVaultId": { + "type": "string", + "format": "arm-id", + "description": "The ResourceId of the Backup Vault", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.NetApp/netAppAccounts/backupVaults" + } + ] + } + } + }, + "required": [ + "backupVaultId" + ] + }, + "BreakFileLocksRequest": { + "type": "object", + "description": "Break file locks request", + "properties": { + "clientIp": { + "type": "string", + "description": "To clear file locks on a volume for a particular client", + "pattern": "^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$" + }, + "confirmRunningDisruptiveOperation": { + "type": "boolean", + "description": "Break File locks could be a disruptive operation for application as locks on the volume will be broken, if want to process, set to true.", + "default": false + } + } + }, + "BreakReplicationRequest": { + "type": "object", + "description": "Break replication request", + "properties": { + "forceBreakReplication": { + "type": "boolean", + "description": "If replication is in status transferring and you want to force break the replication, set to true" + } + } + }, + "CapacityPool": { + "type": "object", + "description": "Capacity pool resource", + "properties": { + "properties": { + "$ref": "#/definitions/PoolProperties", + "description": "Capacity pool properties", + "x-ms-client-flatten": true + }, + "etag": { + "type": "string", + "description": "\"If etag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.\")", + "readOnly": true + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" + } + ] + }, + "CapacityPoolList": { + "type": "object", + "description": "List of capacity pool resources", + "properties": { + "value": { + "type": "array", + "description": "The CapacityPool items on this page", + "items": { + "$ref": "#/definitions/CapacityPool" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "CapacityPoolPatch": { + "type": "object", + "description": "Capacity pool patch resource", + "properties": { + "location": { + "type": "string", + "description": "Resource location" + }, + "id": { + "type": "string", + "description": "Resource Id", + "readOnly": true + }, + "name": { + "type": "string", + "description": "Resource name", + "readOnly": true + }, + "type": { + "type": "string", + "description": "Resource type", + "readOnly": true + }, + "tags": { + "type": "object", + "description": "Resource tags", + "additionalProperties": { + "type": "string" + } + }, + "properties": { + "$ref": "#/definitions/PoolPatchProperties", + "description": "Capacity pool properties", + "x-ms-client-flatten": true + } + } + }, + "ChangeKeyVault": { + "type": "object", + "description": "Change key vault request", + "properties": { + "keyVaultUri": { + "type": "string", + "format": "uri", + "description": "The URI of the key vault/managed HSM that should be used for encryption." + }, + "keyName": { + "type": "string", + "description": "The name of the key that should be used for encryption." + }, + "keyVaultResourceId": { + "type": "string", + "format": "arm-id", + "description": "Azure resource ID of the key vault/managed HSM that should be used for encryption.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.KeyVault/vaults" + } + ] + } + }, + "keyVaultPrivateEndpoints": { + "type": "array", + "description": "Pairs of virtual network ID and private endpoint ID. Every virtual network that has volumes encrypted with customer-managed keys needs its own key vault private endpoint.", + "items": { + "$ref": "#/definitions/KeyVaultPrivateEndpoint" + }, + "x-ms-identifiers": [ + "virtualNetworkId" + ] + } + }, + "required": [ + "keyVaultUri", + "keyName", + "keyVaultPrivateEndpoints" + ] + }, + "CheckAvailabilityResponse": { + "type": "object", + "description": "Information regarding availability of a resource.", + "properties": { + "isAvailable": { + "type": "boolean", + "description": "true indicates name is valid and available. false indicates the name is invalid, unavailable, or both." + }, + "reason": { + "$ref": "#/definitions/InAvailabilityReasonType", + "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." + }, + "message": { + "type": "string", + "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." + } + } + }, + "CheckNameResourceTypes": { + "type": "string", + "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", + "Microsoft.NetApp/netAppAccounts/backupVaults/backups", + "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups" + ], + "x-ms-enum": { + "name": "CheckNameResourceTypes", + "modelAsString": true, + "values": [ + { + "name": "Microsoft.NetApp/netAppAccounts", + "value": "Microsoft.NetApp/netAppAccounts" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools", + "value": "Microsoft.NetApp/netAppAccounts/capacityPools" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "value": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots", + "value": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/backupVaults/backups", + "value": "Microsoft.NetApp/netAppAccounts/backupVaults/backups", + "description": "ANF Backup under a volume , deprecated, use `Microsoft.NetApp/netAppAccounts/backupVaults/backups` instead." + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups", + "value": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups", + "description": "ANF Backup under a Backup Vault" + } + ] + } + }, + "CheckQuotaNameResourceTypes": { + "type": "string", + "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", + "Microsoft.NetApp/netAppAccounts/backupVaults/backups", + "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups" + ], + "x-ms-enum": { + "name": "CheckQuotaNameResourceTypes", + "modelAsString": true, + "values": [ + { + "name": "Microsoft.NetApp/netAppAccounts", + "value": "Microsoft.NetApp/netAppAccounts" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools", + "value": "Microsoft.NetApp/netAppAccounts/capacityPools" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "value": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots", + "value": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots" + }, + { + "name": "Microsoft.NetApp/netAppAccounts/backupVaults/backups", + "value": "Microsoft.NetApp/netAppAccounts/backupVaults/backups", + "description": "ANF Backup under a volume , deprecated, use `Microsoft.NetApp/netAppAccounts/backupVaults/backups` instead." + }, + { + "name": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups", + "value": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups", + "description": "ANF Backup under a Backup Vault" + } + ] + } + }, + "ClusterPeerCommandResponse": { + "type": "object", + "description": "Information about cluster peering process", + "properties": { + "peerAcceptCommand": { + "type": "string", + "description": "A command that needs to be run on the external ONTAP to accept cluster peering. Will only be present if clusterPeeringStatus is pending" + } + } + }, + "CoolAccessRetrievalPolicy": { + "type": "string", + "description": "coolAccessRetrievalPolicy determines the data retrieval behavior from the cool tier to standard storage based on the read pattern for cool access enabled volumes. The possible values for this field are:\nDefault - Data will be pulled from cool tier to standard storage on random reads. This policy is the default.\nOnRead - All client-driven data read is pulled from cool tier to standard storage on both sequential and random reads.\nNever - No client-driven data is pulled from cool tier to standard storage.", + "enum": [ + "Default", + "OnRead", + "Never" + ], + "x-ms-enum": { + "name": "CoolAccessRetrievalPolicy", + "modelAsString": true, + "values": [ + { + "name": "Default", + "value": "Default" + }, + { + "name": "OnRead", + "value": "OnRead" + }, + { + "name": "Never", + "value": "Never" + } + ] + } + }, + "CoolAccessTieringPolicy": { + "type": "string", + "description": "coolAccessTieringPolicy determines which cold data blocks are moved to cool tier. The possible values for this field are: Auto - Moves cold user data blocks in both the Snapshot copies and the active file system to the cool tier tier. This policy is the default. SnapshotOnly - Moves user data blocks of the Volume Snapshot copies that are not associated with the active file system to the cool tier.", + "enum": [ + "Auto", + "SnapshotOnly" + ], + "x-ms-enum": { + "name": "CoolAccessTieringPolicy", + "modelAsString": true, + "values": [ + { + "name": "Auto", + "value": "Auto" + }, + { + "name": "SnapshotOnly", + "value": "SnapshotOnly" + } + ] + } + }, + "DailySchedule": { + "type": "object", + "description": "Daily Schedule properties", + "properties": { + "snapshotsToKeep": { + "type": "integer", + "format": "int32", + "description": "Daily snapshot count to keep" + }, + "hour": { + "type": "integer", + "format": "int32", + "description": "Indicates which hour in UTC timezone a snapshot should be taken" + }, + "minute": { + "type": "integer", + "format": "int32", + "description": "Indicates which minute snapshot should be taken" + }, + "usedBytes": { + "type": "integer", + "format": "int64", + "description": "Resource size in bytes, current storage usage for the volume in bytes" + } + } + }, + "DestinationReplication": { + "type": "object", + "description": "Destination replication properties", + "properties": { + "resourceId": { + "type": "string", + "format": "arm-id", + "description": "The resource ID of the remote volume", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes" + } + ] + } + }, + "replicationType": { + "$ref": "#/definitions/ReplicationType", + "description": "Indicates whether the replication is cross zone or cross region." + }, + "region": { + "type": "string", + "description": "The remote region for the destination volume." + }, + "zone": { + "type": "string", + "description": "The remote zone for the destination volume." + } + } + }, + "Dimension": { + "type": "object", + "description": "Dimension of blobs, possibly be blob type or access tier.", + "properties": { + "name": { + "type": "string", + "description": "Display name of dimension." + }, + "displayName": { + "type": "string", + "description": "Display name of dimension." + } + } + }, + "EncryptionIdentity": { + "type": "object", + "description": "Identity used to authenticate with key vault.", + "properties": { + "principalId": { + "type": "string", + "description": "The principal ID (object ID) of the identity used to authenticate with key vault. Read-only.", + "readOnly": true + }, + "userAssignedIdentity": { + "type": "string", + "description": "The ARM resource identifier of the user assigned identity used to authenticate with key vault. Applicable if identity.type has 'UserAssigned'. It should match key of identity.userAssignedIdentities." + }, + "federatedClientId": { + "type": "string", + "description": "ClientId of the multi-tenant AAD Application. Used to access cross-tenant keyvaults." + } + } + }, + "EncryptionTransitionRequest": { + "type": "object", + "description": "Encryption transition request", + "properties": { + "virtualNetworkId": { + "type": "string", + "format": "arm-id", + "description": "Identifier for the virtual network", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Network/virtualNetworks" + } + ] + } + }, + "privateEndpointId": { + "type": "string", + "format": "arm-id", + "description": "Identifier of the private endpoint to reach the Azure Key Vault", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Network/privateEndpoints" + } + ] + } + } + }, + "required": [ + "virtualNetworkId", + "privateEndpointId" + ] + }, + "EndpointType": { + "type": "string", + "description": "Indicates whether the local volume is the source or destination for the Volume Replication", + "enum": [ + "src", + "dst" + ], + "x-ms-enum": { + "name": "EndpointType", + "modelAsString": true, + "values": [ + { + "name": "src", + "value": "src" + }, + { + "name": "dst", + "value": "dst" + } + ] + } + }, + "ExportPolicyRule": { + "type": "object", + "description": "Volume Export Policy Rule", + "properties": { + "ruleIndex": { + "type": "integer", + "format": "int32", + "description": "Order index" + }, + "unixReadOnly": { + "type": "boolean", + "description": "Read only access" + }, + "unixReadWrite": { + "type": "boolean", + "description": "Read and write access" + }, + "kerberos5ReadOnly": { + "type": "boolean", + "description": "Kerberos5 Read only access. To be use with swagger version 2020-05-01 or later", + "default": false + }, + "kerberos5ReadWrite": { + "type": "boolean", + "description": "Kerberos5 Read and write access. To be use with swagger version 2020-05-01 or later", + "default": false + }, + "kerberos5iReadOnly": { + "type": "boolean", + "description": "Kerberos5i Read only access. To be use with swagger version 2020-05-01 or later", + "default": false, + "x-ms-client-name": "kerberos5IReadOnly" + }, + "kerberos5iReadWrite": { + "type": "boolean", + "description": "Kerberos5i Read and write access. To be use with swagger version 2020-05-01 or later", + "default": false, + "x-ms-client-name": "kerberos5IReadWrite" + }, + "kerberos5pReadOnly": { + "type": "boolean", + "description": "Kerberos5p Read only access. To be use with swagger version 2020-05-01 or later", + "default": false, + "x-ms-client-name": "kerberos5PReadOnly" + }, + "kerberos5pReadWrite": { + "type": "boolean", + "description": "Kerberos5p Read and write access. To be use with swagger version 2020-05-01 or later", + "default": false, + "x-ms-client-name": "kerberos5PReadWrite" + }, + "cifs": { + "type": "boolean", + "description": "Allows CIFS protocol" + }, + "nfsv3": { + "type": "boolean", + "description": "Allows NFSv3 protocol. Enable only for NFSv3 type volumes" + }, + "nfsv41": { + "type": "boolean", + "description": "Allows NFSv4.1 protocol. Enable only for NFSv4.1 type volumes" + }, + "allowedClients": { + "type": "string", + "description": "Client ingress specification as comma separated string with IPv4 CIDRs, IPv4 host addresses and host names" + }, + "hasRootAccess": { + "type": "boolean", + "description": "Has root access to volume", + "default": true + }, + "chownMode": { + "type": "string", + "description": "This parameter specifies who is authorized to change the ownership of a file. restricted - Only root user can change the ownership of the file. unrestricted - Non-root users can change ownership of files that they own.", + "default": "Restricted", + "enum": [ + "Restricted", + "Unrestricted" + ], + "x-ms-enum": { + "name": "ChownMode", + "modelAsString": true, + "values": [ + { + "name": "Restricted", + "value": "Restricted" + }, + { + "name": "Unrestricted", + "value": "Unrestricted" + } + ] + } + } + } + }, + "ExternalReplicationSetupStatus": { + "type": "string", + "description": "Property that only applies to external replications. Provides a machine-readable value for the status of the external replication setup.", + "enum": [ + "ClusterPeerRequired", + "ClusterPeerPending", + "VServerPeerRequired", + "ReplicationCreateRequired", + "NoActionRequired" + ], + "x-ms-enum": { + "name": "ExternalReplicationSetupStatus", + "modelAsString": true, + "values": [ + { + "name": "ClusterPeerRequired", + "value": "ClusterPeerRequired", + "description": "Your cluster needs to be peered by using the 'peerExternalCluster' action" + }, + { + "name": "ClusterPeerPending", + "value": "ClusterPeerPending", + "description": "The peering needs to be accepted on your cluster before the setup can proceed" + }, + { + "name": "VServerPeerRequired", + "value": "VServerPeerRequired", + "description": "Need to call 'authorizeExternalReplication' and accept the returned 'vserver peer accept' command on your cluster to finish setting up the external replication" + }, + { + "name": "ReplicationCreateRequired", + "value": "ReplicationCreateRequired", + "description": "Need to call 'authorizeExternalReplication' to finish setting up the external replication" + }, + { + "name": "NoActionRequired", + "value": "NoActionRequired", + "description": "External Replication setup is complete, you can now monitor the 'mirrorState' in the replication status for the health of the replication" + } + ] + } + }, + "FileName": { + "type": "string", + "minLength": 1, + "maxLength": 1024 + }, + "FilePathAvailabilityRequest": { + "type": "object", + "description": "File path availability request content - availability is based on the name and the subnetId.", + "properties": { + "name": { + "type": "string", + "description": "File path to verify." + }, + "subnetId": { + "type": "string", + "description": "The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes" + }, + "availabilityZone": { + "type": "string", + "description": "The Azure Resource logical availability zone which is used within zone mapping lookup for the subscription and region. The lookup will retrieve the physical zone where volume is placed.", + "x-nullable": true + } + }, + "required": [ + "name", + "subnetId" + ] + }, + "GetGroupIdListForLdapUserRequest": { + "type": "object", + "description": "Get group Id list for LDAP User request", + "properties": { + "username": { + "type": "string", + "description": "username is required to fetch the group to which user is part of", + "minLength": 1, + "maxLength": 255 + } + }, + "required": [ + "username" + ] + }, + "GetGroupIdListForLdapUserResponse": { + "type": "object", + "description": "Group Id list for Ldap user", + "properties": { + "groupIdsForLdapUser": { + "type": "array", + "description": "Group Id list", + "items": { + "type": "string" + } + } + } + }, + "GetKeyVaultStatusResponse": { + "type": "object", + "description": "Result of getKeyVaultStatus with information about how volumes under NetApp account are encrypted.", + "properties": { + "properties": { + "$ref": "#/definitions/GetKeyVaultStatusResponseProperties", + "description": "Represents the properties of the getKeyVaultStatus.", + "x-ms-client-flatten": true + } + } + }, + "GetKeyVaultStatusResponseProperties": { + "type": "object", + "description": "Properties which represents Change key vault status.", + "properties": { + "keyVaultUri": { + "type": "string", + "format": "uri", + "description": "The URI of the key vault/managed HSM that should be used for encryption." + }, + "keyName": { + "type": "string", + "description": "The name of the key that should be used for encryption." + }, + "keyVaultResourceId": { + "type": "string", + "format": "arm-id", + "description": "Azure resource ID of the key vault/managed HSM that should be used for encryption.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.KeyVault/vaults" + } + ] + } + }, + "keyVaultPrivateEndpoints": { + "type": "array", + "description": "Pairs of virtual network ID and private endpoint ID. Every virtual network that has volumes encrypted with customer-managed keys needs its own key vault private endpoint.", + "items": { + "$ref": "#/definitions/KeyVaultPrivateEndpoint" + }, + "x-ms-identifiers": [ + "virtualNetworkId" + ] + } + } + }, + "HourlySchedule": { + "type": "object", + "description": "Hourly Schedule properties", + "properties": { + "snapshotsToKeep": { + "type": "integer", + "format": "int32", + "description": "Hourly snapshot count to keep" + }, + "minute": { + "type": "integer", + "format": "int32", + "description": "Indicates which minute snapshot should be taken" + }, + "usedBytes": { + "type": "integer", + "format": "int64", + "description": "Resource size in bytes, current storage usage for the volume in bytes" + } + } + }, + "InAvailabilityReasonType": { + "type": "string", + "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" + ], + "x-ms-enum": { + "name": "InAvailabilityReasonType", + "modelAsString": true, + "values": [ + { + "name": "Invalid", + "value": "Invalid" + }, + { + "name": "AlreadyExists", + "value": "AlreadyExists" + } + ] + } + }, + "KeyVaultPrivateEndpoint": { + "type": "object", + "description": "Pairs of virtual network ID and private endpoint ID. Every virtual network that has volumes encrypted with customer-managed keys needs its own key vault private endpoint.", + "properties": { + "virtualNetworkId": { + "type": "string", + "format": "arm-id", + "description": "Identifier for the virtual network id", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Network/virtualNetworks" + } + ] + } + }, + "privateEndpointId": { + "type": "string", + "format": "arm-id", + "description": "Identifier of the private endpoint to reach the Azure Key Vault", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Network/privateEndpoints" + } + ] + } + } + } + }, + "KeyVaultProperties": { + "type": "object", + "description": "Properties of key vault.", + "properties": { + "keyVaultId": { + "type": "string", + "description": "UUID v4 used to identify the Azure Key Vault configuration", + "minLength": 36, + "maxLength": 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 + }, + "keyVaultUri": { + "type": "string", + "format": "uri", + "description": "The Uri of KeyVault." + }, + "keyName": { + "type": "string", + "description": "The name of KeyVault key." + }, + "keyVaultResourceId": { + "type": "string", + "format": "arm-id", + "description": "The resource ID of KeyVault.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.KeyVault/vaults" + } + ] + } + }, + "status": { + "$ref": "#/definitions/KeyVaultStatus", + "description": "Status of the KeyVault connection.", + "readOnly": true + } + }, + "required": [ + "keyVaultUri", + "keyName" + ] + }, + "KeyVaultStatus": { + "type": "string", + "description": "Status of the KeyVault connection.", + "enum": [ + "Created", + "InUse", + "Deleted", + "Error", + "Updating" + ], + "x-ms-enum": { + "name": "KeyVaultStatus", + "modelAsString": true, + "values": [ + { + "name": "Created", + "value": "Created", + "description": "KeyVault connection created but not in use" + }, + { + "name": "InUse", + "value": "InUse", + "description": "KeyVault connection in use by SMB Volume" + }, + { + "name": "Deleted", + "value": "Deleted", + "description": "KeyVault connection Deleted" + }, + { + "name": "Error", + "value": "Error", + "description": "Error with the KeyVault connection" + }, + { + "name": "Updating", + "value": "Updating", + "description": "KeyVault connection Updating" + } + ] + } + }, + "LdapConfiguration": { + "type": "object", + "description": "LDAP configuration", + "properties": { + "domain": { + "type": "string", + "description": "Name of the LDAP configuration domain", + "maxLength": 255, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9.-]{0,253}[a-zA-Z0-9]$" + }, + "ldapServers": { + "type": "array", + "description": "List of LDAP server IP addresses (IPv4 only) for the LDAP domain.", + "items": { + "type": "string" + } + }, + "ldapOverTLS": { + "type": "boolean", + "description": "Specifies whether or not the LDAP traffic needs to be secured via TLS." + }, + "serverCACertificate": { + "type": "string", + "format": "password", + "description": "When LDAP over SSL/TLS is enabled, the LDAP client is required to have base64 encoded ldap servers CA certificate.", + "minLength": 1, + "maxLength": 10240, + "x-ms-secret": true + }, + "certificateCNHost": { + "type": "string", + "description": "The CN host name used while generating the certificate, LDAP Over TLS requires the CN host name to create DNS host entry.", + "x-nullable": true + } + } + }, + "LdapSearchScopeOpt": { + "type": "object", + "description": "LDAP search scope", + "properties": { + "userDN": { + "type": "string", + "description": "This specifies the user DN, which overrides the base DN for user lookups.", + "maxLength": 255 + }, + "groupDN": { + "type": "string", + "description": "This specifies the group DN, which overrides the base DN for group lookups.", + "maxLength": 255 + }, + "groupMembershipFilter": { + "type": "string", + "description": "This specifies the custom LDAP search filter to be used when looking up group membership from LDAP server.", + "maxLength": 255 + } + } + }, + "LdapServerType": { + "type": "string", + "description": "The type of the LDAP server", + "enum": [ + "ActiveDirectory", + "OpenLDAP" + ], + "x-ms-enum": { + "name": "LdapServerType", + "modelAsString": true, + "values": [ + { + "name": "ActiveDirectory", + "value": "ActiveDirectory", + "description": "The volume should use Active Directory for LDAP connections." + }, + { + "name": "OpenLDAP", + "value": "OpenLDAP", + "description": "The volume should use OpenLDAP for LDAP connections." + } + ] + } + }, + "ListQuotaReportResponse": { + "type": "object", + "description": "Quota Report for volume", + "properties": { + "value": { + "type": "array", + "description": "List of quota reports", + "items": { + "$ref": "#/definitions/QuotaReport" + }, + "x-ms-identifiers": [] + } + } + }, + "ListReplications": { + "type": "object", + "description": "List Replications", + "properties": { + "value": { + "type": "array", + "description": "The Replication items on this page", + "items": { + "$ref": "#/definitions/Replication" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ListReplicationsRequest": { + "type": "object", + "description": "Body for the list replications endpoint. If supplied, the body will be used as a filter for example to exclude deleted replications. If omitted, the endpoint returns all replications", + "properties": { + "exclude": { + "type": "string", + "description": "Exclude Replications filter. 'None' returns all replications, 'Deleted' excludes deleted replications. Default is 'None'", + "default": "None", + "enum": [ + "None", + "Deleted" + ], + "x-ms-enum": { + "name": "Exclude", + "modelAsString": true, + "values": [ + { + "name": "None", + "value": "None", + "description": "'None' returns all replications" + }, + { + "name": "Deleted", + "value": "Deleted", + "description": "'Deleted' excludes deleted replications" + } + ] + } + } + } + }, + "LogSpecification": { + "type": "object", + "description": "Log Definition of a single resource metric.", + "properties": { + "name": { + "type": "string", + "description": "Name of log specification." + }, + "displayName": { + "type": "string", + "description": "Display name of log specification." + } + } + }, + "MetricAggregationType": { + "type": "string", + "enum": [ + "Average" + ], + "x-ms-enum": { + "name": "MetricAggregationType", + "modelAsString": true, + "values": [ + { + "name": "Average", + "value": "Average" + } + ] + } + }, + "MetricSpecification": { + "type": "object", + "description": "Metric specification of operation.", + "properties": { + "name": { + "type": "string", + "description": "Name of metric specification." + }, + "displayName": { + "type": "string", + "description": "Display name of metric specification." + }, + "displayDescription": { + "type": "string", + "description": "Display description of metric specification." + }, + "unit": { + "type": "string", + "description": "Unit could be Bytes or Count." + }, + "supportedAggregationTypes": { + "type": "array", + "description": "Support metric aggregation type.", + "items": { + "$ref": "#/definitions/MetricAggregationType" + } + }, + "supportedTimeGrainTypes": { + "type": "array", + "description": "The supported time grain types for the metrics.", + "items": { + "type": "string" + } + }, + "internalMetricName": { + "type": "string", + "description": "The internal metric name." + }, + "enableRegionalMdmAccount": { + "type": "boolean", + "description": "Whether or not the service is using regional MDM accounts." + }, + "sourceMdmAccount": { + "type": "string", + "description": "The source MDM account." + }, + "sourceMdmNamespace": { + "type": "string", + "description": "The source MDM namespace." + }, + "dimensions": { + "type": "array", + "description": "Dimensions of blobs, including blob type and access tier.", + "items": { + "$ref": "#/definitions/Dimension" + }, + "x-ms-identifiers": [ + "name" + ] + }, + "aggregationType": { + "type": "string", + "description": "Aggregation type could be Average." + }, + "fillGapWithZero": { + "type": "boolean", + "description": "The property to decide fill gap with zero or not." + }, + "category": { + "type": "string", + "description": "The category this metric specification belong to, could be Capacity." + }, + "resourceIdDimensionNameOverride": { + "type": "string", + "description": "Account Resource Id." + }, + "isInternal": { + "type": "boolean", + "description": "Whether the metric is internal." + } + } + }, + "MirrorState": { + "type": "string", + "description": "The status of the replication", + "enum": [ + "Uninitialized", + "Mirrored", + "Broken" + ], + "x-ms-enum": { + "name": "MirrorState", + "modelAsString": true, + "values": [ + { + "name": "Uninitialized", + "value": "Uninitialized" + }, + { + "name": "Mirrored", + "value": "Mirrored" + }, + { + "name": "Broken", + "value": "Broken" + } + ] + } + }, + "MonthlySchedule": { + "type": "object", + "description": "Monthly Schedule properties", + "properties": { + "snapshotsToKeep": { + "type": "integer", + "format": "int32", + "description": "Monthly snapshot count to keep" + }, + "daysOfMonth": { + "type": "string", + "description": "Indicates which days of the month snapshot should be taken. A comma delimited string." + }, + "hour": { + "type": "integer", + "format": "int32", + "description": "Indicates which hour in UTC timezone a snapshot should be taken" + }, + "minute": { + "type": "integer", + "format": "int32", + "description": "Indicates which minute snapshot should be taken" + }, + "usedBytes": { + "type": "integer", + "format": "int64", + "description": "Resource size in bytes, current storage usage for the volume in bytes" + } + } + }, + "MountTargetProperties": { + "type": "object", + "description": "Mount target properties", + "properties": { + "mountTargetId": { + "type": "string", + "description": "UUID v4 used to identify the MountTarget", + "minLength": 36, + "maxLength": 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 + }, + "fileSystemId": { + "type": "string", + "description": "UUID v4 used to identify the MountTarget", + "minLength": 36, + "maxLength": 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}$" + }, + "ipAddress": { + "type": "string", + "description": "The mount target's IPv4 address", + "readOnly": true + }, + "smbServerFqdn": { + "type": "string", + "description": "The SMB server's Fully Qualified Domain Name, FQDN" + } + }, + "required": [ + "fileSystemId" + ] + }, + "MultiAdStatus": { + "type": "string", + "description": "MultiAD Status for the account", + "enum": [ + "Disabled", + "Enabled" + ], + "x-ms-enum": { + "name": "MultiAdStatus", + "modelAsString": true, + "values": [ + { + "name": "Disabled", + "value": "Disabled", + "description": "Account is MultiAD disabled, Means its a SharedAD or SingleAD account." + }, + { + "name": "Enabled", + "value": "Enabled", + "description": "Account is MultiAD enabled" + } + ] + } + }, + "NetAppAccount": { + "type": "object", + "description": "NetApp account resource", + "properties": { + "properties": { + "$ref": "#/definitions/AccountProperties", + "description": "NetApp Account properties", + "x-ms-client-flatten": true + }, + "etag": { + "type": "string", + "description": "\"If etag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.\")", + "readOnly": true + }, + "identity": { + "$ref": "../../../../../../common-types/resource-management/v6/managedidentity.json#/definitions/ManagedServiceIdentity", + "description": "The managed service identities assigned to this resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" + } + ] + }, + "NetAppAccountList": { + "type": "object", + "description": "List of NetApp account resources", + "properties": { + "value": { + "type": "array", + "description": "The NetAppAccount items on this page", + "items": { + "$ref": "#/definitions/NetAppAccount" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "NetAppAccountPatch": { + "type": "object", + "description": "NetApp account patch resource", + "properties": { + "location": { + "type": "string", + "description": "Resource location" + }, + "id": { + "type": "string", + "description": "Resource Id", + "readOnly": true + }, + "name": { + "type": "string", + "description": "Resource name", + "readOnly": true + }, + "type": { + "type": "string", + "description": "Resource type", + "readOnly": true + }, + "tags": { + "type": "object", + "description": "Resource tags", + "additionalProperties": { + "type": "string" + } + }, + "properties": { + "$ref": "#/definitions/AccountProperties", + "description": "NetApp Account properties", + "x-ms-client-flatten": true + }, + "identity": { + "$ref": "../../../../../../common-types/resource-management/v6/managedidentity.json#/definitions/ManagedServiceIdentity", + "description": "The identity used for the resource." + } + } + }, + "NetAppProvisioningState": { + "type": "string", + "description": "Gets the status of the VolumeQuotaRule at the time the operation was called.", + "enum": [ + "Accepted", + "Creating", + "Patching", + "Updating", + "Deleting", + "Moving", + "Failed", + "Succeeded" + ], + "x-ms-enum": { + "name": "NetAppProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Accepted", + "value": "Accepted", + "description": "Resource has been Accepted" + }, + { + "name": "Creating", + "value": "Creating", + "description": "Resource is being Created" + }, + { + "name": "Patching", + "value": "Patching", + "description": "Resource is being Patched" + }, + { + "name": "Updating", + "value": "Updating", + "description": "Resource is updating" + }, + { + "name": "Deleting", + "value": "Deleting", + "description": "Resource is being Deleted" + }, + { + "name": "Moving", + "value": "Moving", + "description": "Resource is being Moved" + }, + { + "name": "Failed", + "value": "Failed", + "description": "Resource has Failed" + }, + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Resource has Succeeded" + } + ] + }, + "readOnly": true + }, + "NetworkSiblingSet": { + "type": "object", + "description": "Describes the contents of a network sibling set.", + "properties": { + "networkSiblingSetId": { + "type": "string", + "description": "Network Sibling Set ID for a group of volumes sharing networking resources in a subnet.", + "minLength": 36, + "maxLength": 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}$" + }, + "subnetId": { + "type": "string", + "format": "arm-id", + "description": "The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes. Example /subscriptions/subscriptionId/resourceGroups/resourceGroup/providers/Microsoft.Network/virtualNetworks/testVnet/subnets/{mySubnet}", + "x-ms-mutability": [ + "read", + "create" + ], + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Network/virtualNetworks/subnets" + } + ] + } + }, + "networkSiblingSetStateId": { + "type": "string", + "description": "Network sibling set state Id identifying the current state of the sibling set." + }, + "networkFeatures": { + "type": "string", + "description": "Network features available to the volume, or current state of update.", + "default": "Basic", + "enum": [ + "Basic", + "Standard", + "Basic_Standard", + "Standard_Basic" + ], + "x-ms-enum": { + "name": "NetworkFeatures", + "modelAsString": true, + "values": [ + { + "name": "Basic", + "value": "Basic", + "description": "Basic network features." + }, + { + "name": "Standard", + "value": "Standard", + "description": "Standard network features." + }, + { + "name": "Basic_Standard", + "value": "Basic_Standard", + "description": "Updating from Basic to Standard network features." + }, + { + "name": "Standard_Basic", + "value": "Standard_Basic", + "description": "Updating from Standard to Basic network features." + } + ] + } + }, + "provisioningState": { + "$ref": "#/definitions/NetworkSiblingSetProvisioningState", + "description": "Gets the status of the NetworkSiblingSet at the time the operation was called.", + "readOnly": true + }, + "nicInfoList": { + "type": "array", + "description": "List of NIC information", + "items": { + "$ref": "#/definitions/NicInfo" + }, + "x-ms-identifiers": [] + } + } + }, + "NetworkSiblingSetProvisioningState": { + "type": "string", + "description": "Gets the status of the NetworkSiblingSet at the time the operation was called.", + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "Updating" + ], + "x-ms-enum": { + "name": "NetworkSiblingSetProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded" + }, + { + "name": "Failed", + "value": "Failed" + }, + { + "name": "Canceled", + "value": "Canceled" + }, + { + "name": "Updating", + "value": "Updating" + } + ] + }, + "readOnly": true + }, + "NicInfo": { + "type": "object", + "description": "NIC information and list of volumes for which the NIC has the primary mount ip address.", + "properties": { + "ipAddress": { + "type": "string", + "description": "ipAddress", + "readOnly": true + }, + "volumeResourceIds": { + "type": "array", + "description": "Volume resource Ids", + "items": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes" + } + ] + } + } + } + } + }, + "Operation": { + "type": "object", + "description": "Microsoft.NetApp REST API operation definition.", + "properties": { + "name": { + "type": "string", + "description": "Operation name: {provider}/{resource}/{operation}" + }, + "display": { + "$ref": "#/definitions/OperationDisplay", + "description": "Display metadata associated with the operation." + }, + "origin": { + "type": "string", + "description": "The origin of operations." + }, + "properties": { + "$ref": "#/definitions/OperationProperties", + "description": "Properties of operation, include metric specifications.", + "x-ms-client-flatten": true + } + } + }, + "OperationDisplay": { + "type": "object", + "description": "Display metadata associated with the operation.", + "properties": { + "provider": { + "type": "string", + "description": "Service provider: Microsoft NetApp." + }, + "resource": { + "type": "string", + "description": "Resource on which the operation is performed etc." + }, + "operation": { + "type": "string", + "description": "Type of operation: get, read, delete, etc." + }, + "description": { + "type": "string", + "description": "Operation description." + } + } + }, + "OperationListResult": { + "type": "object", + "description": "A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results.", + "properties": { + "value": { + "type": "array", + "description": "The Operation items on this page", + "items": { + "$ref": "#/definitions/Operation" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "OperationProperties": { + "type": "object", + "description": "Properties of operation, include metric specifications.", + "properties": { + "serviceSpecification": { + "$ref": "#/definitions/ServiceSpecification", + "description": "One property of operation, include metric specifications." + } + } + }, + "PeerClusterForVolumeMigrationRequest": { + "type": "object", + "description": "Source Cluster properties for a cluster peer request", + "properties": { + "peerIpAddresses": { + "type": "array", + "description": "A list of IC-LIF IPs that can be used to connect to the On-prem cluster", + "minItems": 1, + "items": { + "type": "string" + } + } + }, + "required": [ + "peerIpAddresses" + ] + }, + "PlacementKeyValuePairs": { + "type": "object", + "description": "Application specific parameters for the placement of volumes in the volume group", + "properties": { + "key": { + "type": "string", + "description": "Key for an application specific parameter for the placement of volumes in the volume group" + }, + "value": { + "type": "string", + "description": "Value for an application specific parameter for the placement of volumes in the volume group" + } + }, + "required": [ + "key", + "value" + ] + }, + "PoolChangeRequest": { + "type": "object", + "description": "Pool change request", + "properties": { + "newPoolResourceId": { + "type": "string", + "description": "Resource id of the pool to move volume to" + } + }, + "required": [ + "newPoolResourceId" + ] + }, + "PoolPatchProperties": { + "type": "object", + "description": "Patchable pool properties", + "properties": { + "size": { + "type": "integer", + "format": "int64", + "description": "Provisioned size of the pool (in bytes). Allowed values are in 1TiB chunks (value must be multiple of 1099511627776)." + }, + "qosType": { + "$ref": "#/definitions/QosType", + "description": "The qos type of the pool" + }, + "coolAccess": { + "type": "boolean", + "description": "If enabled (true) the pool can contain cool Access enabled volumes." + }, + "customThroughputMibps": { + "type": "integer", + "format": "int32", + "description": "Maximum throughput in MiB/s that can be achieved by this pool and this will be accepted as input only for manual qosType pool with Flexible service level", + "x-nullable": true + } + } + }, + "PoolProperties": { + "type": "object", + "description": "Pool properties", + "properties": { + "poolId": { + "type": "string", + "description": "UUID v4 used to identify the Pool", + "minLength": 36, + "maxLength": 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 + }, + "size": { + "type": "integer", + "format": "int64", + "description": "Provisioned size of the pool (in bytes). Allowed values are in 1TiB chunks (value must be multiple of 1099511627776).", + "default": 4398046511104 + }, + "serviceLevel": { + "type": "string", + "description": "The service level of the file system", + "default": "Premium", + "enum": [ + "Standard", + "Premium", + "Ultra", + "StandardZRS", + "Flexible" + ], + "x-ms-enum": { + "name": "ServiceLevel", + "modelAsString": true, + "values": [ + { + "name": "Standard", + "value": "Standard", + "description": "Standard service level" + }, + { + "name": "Premium", + "value": "Premium", + "description": "Premium service level" + }, + { + "name": "Ultra", + "value": "Ultra", + "description": "Ultra service level" + }, + { + "name": "StandardZRS", + "value": "StandardZRS", + "description": "Zone redundant storage service level. This will be deprecated soon." + }, + { + "name": "Flexible", + "value": "Flexible", + "description": "Flexible service level" + } + ] + } + }, + "provisioningState": { + "type": "string", + "description": "Azure lifecycle management", + "readOnly": true + }, + "totalThroughputMibps": { + "type": "number", + "format": "float", + "description": "Total throughput of pool in MiB/s", + "readOnly": true + }, + "utilizedThroughputMibps": { + "type": "number", + "format": "float", + "description": "Utilized throughput of pool in MiB/s", + "readOnly": true + }, + "customThroughputMibps": { + "type": "integer", + "format": "int32", + "description": "Maximum throughput in MiB/s that can be achieved by this pool and this will be accepted as input only for manual qosType pool with Flexible service level", + "x-nullable": true + }, + "qosType": { + "type": "string", + "description": "The qos type of the pool", + "default": "Auto", + "enum": [ + "Auto", + "Manual" + ], + "x-ms-enum": { + "name": "QosType", + "modelAsString": true, + "values": [ + { + "name": "Auto", + "value": "Auto", + "description": "qos type Auto" + }, + { + "name": "Manual", + "value": "Manual", + "description": "qos type Manual" + } + ] + } + }, + "coolAccess": { + "type": "boolean", + "description": "If enabled (true) the pool can contain cool Access enabled volumes.", + "default": false + }, + "encryptionType": { + "type": "string", + "description": "Encryption type of the capacity pool, set encryption type for data at rest for this pool and all volumes in it. This value can only be set when creating new pool.", + "default": "Single", + "enum": [ + "Single", + "Double" + ], + "x-ms-enum": { + "modelAsString": true, + "values": [ + { + "name": "Single", + "value": "Single", + "description": "EncryptionType Single, volumes will use single encryption at rest" + }, + { + "name": "Double", + "value": "Double", + "description": "EncryptionType Double, volumes will use double encryption at rest" + } + ] + }, + "x-nullable": true, + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "required": [ + "size", + "serviceLevel" + ] + }, + "QosType": { + "type": "string", + "description": "The qos type of the pool", + "enum": [ + "Auto", + "Manual" + ], + "x-ms-enum": { + "name": "QosType", + "modelAsString": true, + "values": [ + { + "name": "Auto", + "value": "Auto", + "description": "qos type Auto" + }, + { + "name": "Manual", + "value": "Manual", + "description": "qos type Manual" + } + ] + } + }, + "QueryNetworkSiblingSetRequest": { + "type": "object", + "description": "Network sibling set query.", + "properties": { + "networkSiblingSetId": { + "type": "string", + "description": "Network Sibling Set ID for a group of volumes sharing networking resources in a subnet.", + "minLength": 36, + "maxLength": 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}$" + }, + "subnetId": { + "type": "string", + "format": "arm-id", + "description": "The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes. Example /subscriptions/subscriptionId/resourceGroups/resourceGroup/providers/Microsoft.Network/virtualNetworks/testVnet/subnets/{mySubnet}", + "x-ms-mutability": [ + "read", + "create" + ], + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Network/virtualNetworks/subnets" + } + ] + } + } + }, + "required": [ + "networkSiblingSetId", + "subnetId" + ] + }, + "QuotaAvailabilityRequest": { + "type": "object", + "description": "Quota availability request content.", + "properties": { + "name": { + "type": "string", + "description": "Name of the resource to verify." + }, + "type": { + "$ref": "#/definitions/CheckQuotaNameResourceTypes", + "description": "Resource type used for verification." + }, + "resourceGroup": { + "type": "string", + "description": "Resource group name." + } + }, + "required": [ + "name", + "type", + "resourceGroup" + ] + }, + "QuotaItem": { + "type": "object", + "description": "Information regarding Quota Item.", + "properties": { + "properties": { + "$ref": "#/definitions/QuotaItemProperties", + "description": "QuotaItem properties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + ] + }, + "QuotaItemList": { + "type": "object", + "description": "List of Quota Items", + "properties": { + "value": { + "type": "array", + "description": "The QuotaItem items on this page", + "items": { + "$ref": "#/definitions/QuotaItem" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "QuotaItemProperties": { + "type": "object", + "description": "QuotaItem Properties", + "properties": { + "current": { + "type": "integer", + "format": "int32", + "description": "The current quota value.", + "readOnly": true + }, + "default": { + "type": "integer", + "format": "int32", + "description": "The default quota value.", + "readOnly": true + }, + "usage": { + "type": "integer", + "format": "int32", + "description": "The usage quota value.", + "x-nullable": true, + "readOnly": true + } + } + }, + "QuotaReport": { + "type": "object", + "description": "Quota report record properties", + "properties": { + "quotaType": { + "$ref": "#/definitions/Type", + "description": "Type of quota" + }, + "quotaTarget": { + "type": "string", + "description": "UserID/GroupID/SID based on the quota target type. UserID and groupID can be found by running ‘id’ or ‘getent’ command for the user or group and SID can be found by running " + }, + "quotaLimitUsedInKiBs": { + "type": "integer", + "format": "int64", + "description": "Specifies the current usage in kibibytes for the user/group quota." + }, + "quotaLimitTotalInKiBs": { + "type": "integer", + "format": "int64", + "description": "Specifies the total size limit in kibibytes for the user/group quota." + }, + "percentageUsed": { + "type": "number", + "format": "float", + "description": "Percentage of used size compared to total size." + }, + "isDerivedQuota": { + "type": "boolean", + "description": "Flag to indicate whether the quota is derived from default quota." + } + } + }, + "ReestablishReplicationRequest": { + "type": "object", + "description": "Re-establish request object supplied in the body of the operation.", + "properties": { + "sourceVolumeId": { + "type": "string", + "description": "Resource id of the source volume for the replication" + } + } + }, + "RegionInfo": { + "type": "object", + "description": "Provides region specific information.", + "properties": { + "storageToNetworkProximity": { + "$ref": "#/definitions/RegionStorageToNetworkProximity", + "description": "Provides storage to network proximity information in the region." + }, + "availabilityZoneMappings": { + "type": "array", + "description": "Provides logical availability zone mappings for the subscription for a region.", + "items": { + "$ref": "#/definitions/RegionInfoAvailabilityZoneMappingsItem" + }, + "x-ms-identifiers": [ + "availabilityZone" + ] + } + } + }, + "RegionInfoAvailabilityZoneMappingsItem": { + "type": "object", + "properties": { + "availabilityZone": { + "type": "string", + "description": "Logical availability zone." + }, + "isAvailable": { + "type": "boolean", + "description": "Available availability zone" + } + } + }, + "RegionInfoResource": { + "type": "object", + "description": "Information regarding regionInfo Item.", + "properties": { + "properties": { + "$ref": "#/definitions/RegionInfo", + "description": "regionInfo properties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + ] + }, + "RegionInfosList": { + "type": "object", + "description": "List of regionInfo resources", + "properties": { + "value": { + "type": "array", + "description": "The RegionInfoResource items on this page", + "items": { + "$ref": "#/definitions/RegionInfoResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "RegionStorageToNetworkProximity": { + "type": "string", + "description": "Provides storage to network proximity information in the region.", + "enum": [ + "Default", + "T1", + "T2", + "AcrossT2", + "T1AndT2", + "T1AndAcrossT2", + "T2AndAcrossT2", + "T1AndT2AndAcrossT2" + ], + "x-ms-enum": { + "name": "RegionStorageToNetworkProximity", + "modelAsString": true, + "values": [ + { + "name": "Default", + "value": "Default", + "description": "Basic network connectivity." + }, + { + "name": "T1", + "value": "T1", + "description": "Standard T1 network connectivity." + }, + { + "name": "T2", + "value": "T2", + "description": "Standard T2 network connectivity." + }, + { + "name": "AcrossT2", + "value": "AcrossT2", + "description": "Standard AcrossT2 network connectivity." + }, + { + "name": "T1AndT2", + "value": "T1AndT2", + "description": "Standard T1 and T2 network connectivity." + }, + { + "name": "T1AndAcrossT2", + "value": "T1AndAcrossT2", + "description": "Standard T1 and AcrossT2 network connectivity." + }, + { + "name": "T2AndAcrossT2", + "value": "T2AndAcrossT2", + "description": "Standard T2 and AcrossT2 network connectivity." + }, + { + "name": "T1AndT2AndAcrossT2", + "value": "T1AndT2AndAcrossT2", + "description": "Standard T1, T2 and AcrossT2 network connectivity." + } + ] + } + }, + "RelocateVolumeRequest": { + "type": "object", + "description": "Relocate volume request", + "properties": { + "creationToken": { + "type": "string", + "description": "New creation token for the volume that controls the mount point name" + } + } + }, + "RemotePath": { + "type": "object", + "description": "The full path to a volume that is to be migrated into ANF. Required for Migration volumes", + "properties": { + "externalHostName": { + "type": "string", + "description": "The Path to a ONTAP Host" + }, + "serverName": { + "type": "string", + "description": "The name of a server on the ONTAP Host" + }, + "volumeName": { + "type": "string", + "description": "The name of a volume on the server" + } + }, + "required": [ + "externalHostName", + "serverName", + "volumeName" + ] + }, + "Replication": { + "type": "object", + "description": "Replication properties", + "properties": { + "replicationId": { + "type": "string", + "description": "UUID v4 used to identify the replication.", + "minLength": 36, + "maxLength": 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 + }, + "endpointType": { + "$ref": "#/definitions/EndpointType", + "description": "Indicates whether the local volume is the source or destination for the Volume Replication" + }, + "replicationSchedule": { + "$ref": "#/definitions/ReplicationSchedule", + "description": "Schedule" + }, + "remoteVolumeResourceId": { + "type": "string", + "description": "The resource ID of the remote volume." + }, + "remoteVolumeRegion": { + "type": "string", + "description": "The remote region for the other end of the Volume Replication." + }, + "mirrorState": { + "$ref": "#/definitions/ReplicationMirrorState", + "description": "The status of the replication", + "readOnly": true + }, + "replicationCreationTime": { + "type": "string", + "format": "date-time", + "description": "Replication creation time", + "readOnly": true + }, + "replicationDeletionTime": { + "type": "string", + "format": "date-time", + "description": "Replication deletion time", + "readOnly": true + } + }, + "required": [ + "remoteVolumeResourceId" + ] + }, + "ReplicationMirrorState": { + "type": "string", + "description": "The status of the replication", + "enum": [ + "Uninitialized", + "Mirrored", + "Broken" + ], + "x-ms-enum": { + "name": "ReplicationMirrorState", + "modelAsString": true, + "values": [ + { + "name": "Uninitialized", + "value": "Uninitialized", + "description": "Destination volume has not been initialized" + }, + { + "name": "Mirrored", + "value": "Mirrored", + "description": "Destination volume has been initialized and is ready" + }, + { + "name": "Broken", + "value": "Broken", + "description": "Destination volume is RW, replication relationship has been broken off" + } + ] + } + }, + "ReplicationObject": { + "type": "object", + "description": "Replication properties", + "properties": { + "replicationId": { + "type": "string", + "description": "Id", + "readOnly": true + }, + "endpointType": { + "$ref": "#/definitions/EndpointType", + "description": "Indicates whether the local volume is the source or destination for the Volume Replication", + "readOnly": true + }, + "replicationSchedule": { + "$ref": "#/definitions/ReplicationSchedule", + "description": "Schedule" + }, + "remoteVolumeResourceId": { + "type": "string", + "description": "The resource ID of the remote volume. Required for cross region and cross zone replication", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "remotePath": { + "$ref": "#/definitions/RemotePath", + "description": "The full path to a volume that is to be migrated into ANF. Required for Migration volumes", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "remoteVolumeRegion": { + "type": "string", + "description": "The remote region for the other end of the Volume Replication." + }, + "destinationReplications": { + "type": "array", + "description": "A list of destination replications", + "items": { + "$ref": "#/definitions/DestinationReplication" + }, + "readOnly": true, + "x-ms-identifiers": [ + "resourceId" + ] + }, + "externalReplicationSetupStatus": { + "$ref": "#/definitions/ExternalReplicationSetupStatus", + "description": "Property that only applies to external replications. Provides a machine-readable value for the status of the external replication setup.", + "readOnly": true + }, + "externalReplicationSetupInfo": { + "type": "string", + "description": "Contains human-readable instructions on what the next step is to finish the external replication setup.", + "readOnly": true + }, + "mirrorState": { + "$ref": "#/definitions/MirrorState", + "description": "The mirror state property describes the current status of data replication for a replication. It provides insight into whether the data is actively being mirrored, if the replication process has been paused, or if it has yet to be initialized.", + "readOnly": true + }, + "relationshipStatus": { + "$ref": "#/definitions/VolumeReplicationRelationshipStatus", + "description": "The status of the Volume Replication", + "readOnly": true + } + } + }, + "ReplicationSchedule": { + "type": "string", + "description": "Schedule", + "enum": [ + "_10minutely", + "hourly", + "daily" + ], + "x-ms-enum": { + "name": "ReplicationSchedule", + "modelAsString": true, + "values": [ + { + "name": "_10minutely", + "value": "_10minutely" + }, + { + "name": "hourly", + "value": "hourly" + }, + { + "name": "daily", + "value": "daily" + } + ] + } + }, + "ReplicationStatus": { + "type": "object", + "description": "Replication status", + "properties": { + "healthy": { + "type": "boolean", + "description": "Replication health check" + }, + "relationshipStatus": { + "$ref": "#/definitions/VolumeReplicationRelationshipStatus", + "description": "Status of the mirror relationship" + }, + "mirrorState": { + "$ref": "#/definitions/MirrorState", + "description": "The status of the replication" + }, + "totalProgress": { + "type": "string", + "description": "The progress of the replication" + }, + "errorMessage": { + "type": "string", + "description": "Displays error message if the replication is in an error state" + } + } + }, + "ReplicationType": { + "type": "string", + "description": "Indicates whether the replication is cross zone or cross region.", + "enum": [ + "CrossRegionReplication", + "CrossZoneReplication" + ], + "x-ms-enum": { + "name": "ReplicationType", + "modelAsString": true, + "values": [ + { + "name": "CrossRegionReplication", + "value": "CrossRegionReplication", + "description": "Cross region replication" + }, + { + "name": "CrossZoneReplication", + "value": "CrossZoneReplication", + "description": "Cross zone replication" + } + ] + } + }, + "ResourceNameAvailabilityRequest": { + "type": "object", + "description": "Resource name availability request content.", + "properties": { + "name": { + "type": "string", + "description": "Resource name to verify." + }, + "type": { + "$ref": "#/definitions/CheckNameResourceTypes", + "description": "Resource type used for verification." + }, + "resourceGroup": { + "type": "string", + "description": "Resource group name." + } + }, + "required": [ + "name", + "type", + "resourceGroup" + ] + }, + "RestoreStatus": { + "type": "object", + "description": "Restore status", + "properties": { + "healthy": { + "type": "boolean", + "description": "Restore health status", + "readOnly": true + }, + "relationshipStatus": { + "$ref": "#/definitions/VolumeRestoreRelationshipStatus", + "description": "Status of the restore SnapMirror relationship", + "readOnly": true + }, + "mirrorState": { + "$ref": "#/definitions/MirrorState", + "description": "The status of the restore", + "readOnly": true + }, + "unhealthyReason": { + "type": "string", + "description": "Reason for the unhealthy restore relationship", + "readOnly": true + }, + "errorMessage": { + "type": "string", + "description": "Displays error message if the restore is in an error state", + "readOnly": true + }, + "totalTransferBytes": { + "type": "integer", + "format": "int64", + "description": "Displays the total bytes transferred", + "readOnly": true + } + } + }, + "ServiceLevel": { + "type": "string", + "description": "The service level of the file system", + "enum": [ + "Standard", + "Premium", + "Ultra", + "StandardZRS", + "Flexible" + ], + "x-ms-enum": { + "name": "ServiceLevel", + "modelAsString": true, + "values": [ + { + "name": "Standard", + "value": "Standard", + "description": "Standard service level" + }, + { + "name": "Premium", + "value": "Premium", + "description": "Premium service level" + }, + { + "name": "Ultra", + "value": "Ultra", + "description": "Ultra service level" + }, + { + "name": "StandardZRS", + "value": "StandardZRS", + "description": "Zone redundant storage service level. This will be deprecated soon." + }, + { + "name": "Flexible", + "value": "Flexible", + "description": "Flexible service level" + } + ] + } + }, + "ServiceSpecification": { + "type": "object", + "description": "One property of operation, include metric specifications.", + "properties": { + "metricSpecifications": { + "type": "array", + "description": "Metric specifications of operation.", + "items": { + "$ref": "#/definitions/MetricSpecification" + }, + "x-ms-identifiers": [ + "name" + ] + }, + "logSpecifications": { + "type": "array", + "description": "Log specification of operation.", + "items": { + "$ref": "#/definitions/LogSpecification" + }, + "x-ms-identifiers": [ + "name" + ] + } + } + }, + "SmbAccessBasedEnumeration": { + "type": "string", + "description": "Enables access-based enumeration share property for SMB Shares. Only applicable for SMB/DualProtocol volume", + "enum": [ + "Disabled", + "Enabled" + ], + "x-ms-enum": { + "name": "SmbAccessBasedEnumeration", + "modelAsString": true, + "values": [ + { + "name": "Disabled", + "value": "Disabled", + "description": "smbAccessBasedEnumeration share setting is disabled" + }, + { + "name": "Enabled", + "value": "Enabled", + "description": "smbAccessBasedEnumeration share setting is enabled" + } + ] + } + }, + "SmbNonBrowsable": { + "type": "string", + "description": "Enables non-browsable property for SMB Shares. Only applicable for SMB/DualProtocol volume", + "enum": [ + "Disabled", + "Enabled" + ], + "x-ms-enum": { + "name": "SmbNonBrowsable", + "modelAsString": true, + "values": [ + { + "name": "Disabled", + "value": "Disabled", + "description": "smbNonBrowsable share setting is disabled" + }, + { + "name": "Enabled", + "value": "Enabled", + "description": "smbNonBrowsable share setting is enabled" + } + ] + } + }, + "Snapshot": { + "type": "object", + "description": "Snapshot of a Volume", + "properties": { + "properties": { + "$ref": "#/definitions/SnapshotProperties", + "description": "Snapshot Properties", + "x-ms-client-flatten": true + }, + "location": { + "type": "string", + "description": "Resource location", + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "required": [ + "location" + ], + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + ] + }, + "SnapshotPatch": { + "type": "object", + "description": "Snapshot of a Volume" + }, + "SnapshotPoliciesList": { + "type": "object", + "description": "List of Snapshot Policies", + "properties": { + "value": { + "type": "array", + "description": "The SnapshotPolicy items on this page", + "items": { + "$ref": "#/definitions/SnapshotPolicy" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "SnapshotPolicy": { + "type": "object", + "description": "Snapshot policy information", + "properties": { + "properties": { + "$ref": "#/definitions/SnapshotPolicyProperties", + "description": "Snapshot policy Properties", + "x-ms-client-flatten": true + }, + "etag": { + "type": "string", + "description": "\"If etag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.\")", + "readOnly": true + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" + } + ] + }, + "SnapshotPolicyPatch": { + "type": "object", + "description": "Snapshot policy Details for create and update", + "properties": { + "location": { + "type": "string", + "description": "Resource location" + }, + "id": { + "type": "string", + "description": "Resource Id", + "readOnly": true + }, + "name": { + "type": "string", + "description": "Resource name", + "readOnly": true + }, + "type": { + "type": "string", + "description": "Resource type", + "readOnly": true + }, + "tags": { + "type": "object", + "description": "Resource tags", + "additionalProperties": { + "type": "string" + } + }, + "properties": { + "$ref": "#/definitions/SnapshotPolicyProperties", + "description": "Snapshot Policy properties", + "x-ms-client-flatten": true + } + } + }, + "SnapshotPolicyProperties": { + "type": "object", + "description": "Snapshot policy properties", + "properties": { + "hourlySchedule": { + "$ref": "#/definitions/HourlySchedule", + "description": "Schedule for hourly snapshots" + }, + "dailySchedule": { + "$ref": "#/definitions/DailySchedule", + "description": "Schedule for daily snapshots" + }, + "weeklySchedule": { + "$ref": "#/definitions/WeeklySchedule", + "description": "Schedule for weekly snapshots" + }, + "monthlySchedule": { + "$ref": "#/definitions/MonthlySchedule", + "description": "Schedule for monthly snapshots" + }, + "enabled": { + "type": "boolean", + "description": "The property to decide policy is enabled or not" + }, + "provisioningState": { + "type": "string", + "description": "Azure lifecycle management", + "readOnly": true + } + } + }, + "SnapshotPolicyVolumeList": { + "type": "object", + "description": "Volumes associated with snapshot policy", + "properties": { + "value": { + "type": "array", + "description": "The Volume items on this page", + "items": { + "$ref": "#/definitions/Volume" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "SnapshotProperties": { + "type": "object", + "description": "Snapshot properties", + "properties": { + "snapshotId": { + "type": "string", + "description": "UUID v4 used to identify the Snapshot", + "minLength": 36, + "maxLength": 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 + }, + "created": { + "type": "string", + "format": "date-time", + "description": "The creation date of the snapshot", + "readOnly": true + }, + "provisioningState": { + "type": "string", + "description": "Azure lifecycle management", + "readOnly": true + } + } + }, + "SnapshotRestoreFiles": { + "type": "object", + "description": "Restore payload for Single File Snapshot Restore", + "properties": { + "filePaths": { + "type": "array", + "description": "List of files to be restored", + "minItems": 1, + "maxItems": 10, + "items": { + "$ref": "#/definitions/FileName" + } + }, + "destinationPath": { + "type": "string", + "description": "Destination folder where the files will be restored" + } + }, + "required": [ + "filePaths" + ] + }, + "SnapshotsList": { + "type": "object", + "description": "List of Snapshots", + "properties": { + "value": { + "type": "array", + "description": "The Snapshot items on this page", + "items": { + "$ref": "#/definitions/Snapshot" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "SubvolumeInfo": { + "type": "object", + "description": "Subvolume Information properties", + "properties": { + "properties": { + "$ref": "#/definitions/SubvolumeProperties", + "description": "Subvolume Properties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + ] + }, + "SubvolumeModel": { + "type": "object", + "description": "Result of the post subvolume and action is to get metadata of the subvolume.", + "properties": { + "id": { + "type": "string", + "description": "Resource Id", + "readOnly": true + }, + "name": { + "type": "string", + "description": "Resource name", + "readOnly": true + }, + "type": { + "type": "string", + "description": "Resource type", + "readOnly": true + }, + "properties": { + "$ref": "#/definitions/SubvolumeModelProperties", + "description": "It represents the minimal properties of the subvolume.", + "x-ms-client-flatten": true + } + } + }, + "SubvolumeModelProperties": { + "type": "object", + "description": "Properties which represents actual subvolume model which is stored as a file in the system.", + "properties": { + "path": { + "type": "string", + "description": "Path to the subvolume" + }, + "parentPath": { + "type": "string", + "description": "Path to the parent subvolume" + }, + "size": { + "type": "integer", + "format": "int64", + "description": "Size of subvolume" + }, + "bytesUsed": { + "type": "integer", + "format": "int64", + "description": "Bytes used" + }, + "permissions": { + "type": "string", + "description": "Permissions of the subvolume" + }, + "creationTimeStamp": { + "type": "string", + "format": "date-time", + "description": "Creation time and date" + }, + "accessedTimeStamp": { + "type": "string", + "format": "date-time", + "description": "Most recent access time and date" + }, + "modifiedTimeStamp": { + "type": "string", + "format": "date-time", + "description": "Most recent modification time and date" + }, + "changedTimeStamp": { + "type": "string", + "format": "date-time", + "description": "Most recent change time and date" + }, + "provisioningState": { + "type": "string", + "description": "Azure lifecycle management" + } + } + }, + "SubvolumePatchParams": { + "type": "object", + "description": "Parameters with which a subvolume can be updated", + "properties": { + "size": { + "type": "integer", + "format": "int64", + "description": "Truncate subvolume to the provided size in bytes", + "x-nullable": true + }, + "path": { + "type": "string", + "description": "path to the subvolume" + } + } + }, + "SubvolumePatchRequest": { + "type": "object", + "description": "Subvolume Patch Request properties", + "properties": { + "properties": { + "$ref": "#/definitions/SubvolumePatchParams", + "description": "Subvolume Properties", + "x-ms-client-flatten": true + } + } + }, + "SubvolumeProperties": { + "type": "object", + "description": "This represents path associated with the subvolume", + "properties": { + "path": { + "type": "string", + "description": "Path to the subvolume" + }, + "size": { + "type": "integer", + "format": "int64", + "description": "Truncate subvolume to the provided size in bytes", + "x-nullable": true + }, + "parentPath": { + "type": "string", + "description": "parent path to the subvolume", + "x-nullable": true + }, + "provisioningState": { + "type": "string", + "description": "Azure lifecycle management", + "readOnly": true + } + } + }, + "SubvolumesList": { + "type": "object", + "description": "List of Subvolumes", + "properties": { + "value": { + "type": "array", + "description": "The SubvolumeInfo items on this page", + "items": { + "$ref": "#/definitions/SubvolumeInfo" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "SvmPeerCommandResponse": { + "type": "object", + "description": "Information about svm peering process", + "properties": { + "svmPeeringCommand": { + "type": "string", + "description": "A command that needs to be run on the external ONTAP to accept svm peering. Will only be present if svmPeeringStatus is pending" + } + } + }, + "Type": { + "type": "string", + "description": "Type of quota", + "enum": [ + "DefaultUserQuota", + "DefaultGroupQuota", + "IndividualUserQuota", + "IndividualGroupQuota" + ], + "x-ms-enum": { + "name": "Type", + "modelAsString": true, + "values": [ + { + "name": "DefaultUserQuota", + "value": "DefaultUserQuota", + "description": "Default user quota" + }, + { + "name": "DefaultGroupQuota", + "value": "DefaultGroupQuota", + "description": "Default group quota" + }, + { + "name": "IndividualUserQuota", + "value": "IndividualUserQuota", + "description": "Individual user quota" + }, + { + "name": "IndividualGroupQuota", + "value": "IndividualGroupQuota", + "description": "Individual group quota" + } + ] + } + }, + "UnixPermissions": { + "type": "string", + "minLength": 4, + "maxLength": 4 + }, + "UpdateNetworkSiblingSetRequest": { + "type": "object", + "description": "Network sibling set update.", + "properties": { + "networkSiblingSetId": { + "type": "string", + "description": "Network Sibling Set ID for a group of volumes sharing networking resources in a subnet.", + "minLength": 36, + "maxLength": 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}$" + }, + "subnetId": { + "type": "string", + "format": "arm-id", + "description": "The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes. Example /subscriptions/subscriptionId/resourceGroups/resourceGroup/providers/Microsoft.Network/virtualNetworks/testVnet/subnets/{mySubnet}", + "x-ms-mutability": [ + "read", + "create" + ], + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Network/virtualNetworks/subnets" + } + ] + } + }, + "networkSiblingSetStateId": { + "type": "string", + "description": "Network sibling set state Id identifying the current state of the sibling set." + }, + "networkFeatures": { + "type": "string", + "description": "Network features available to the volume.", + "default": "Basic", + "enum": [ + "Basic", + "Standard", + "Basic_Standard", + "Standard_Basic" + ], + "x-ms-enum": { + "name": "NetworkFeatures", + "modelAsString": true, + "values": [ + { + "name": "Basic", + "value": "Basic", + "description": "Basic network features." + }, + { + "name": "Standard", + "value": "Standard", + "description": "Standard network features." + }, + { + "name": "Basic_Standard", + "value": "Basic_Standard", + "description": "Updating from Basic to Standard network features." + }, + { + "name": "Standard_Basic", + "value": "Standard_Basic", + "description": "Updating from Standard to Basic network features." + } + ] + } + } + }, + "required": [ + "networkSiblingSetId", + "subnetId", + "networkSiblingSetStateId", + "networkFeatures" + ] + }, + "UsageName": { + "type": "object", + "description": "The name of the usage.", + "properties": { + "value": { + "type": "string", + "description": "The name of the usage." + }, + "localizedValue": { + "type": "string", + "description": "The localized name of the usage." + } + } + }, + "UsageProperties": { + "type": "object", + "description": "Usage properties", + "properties": { + "currentValue": { + "type": "integer", + "format": "int32", + "description": "The current usage value for the subscription.", + "readOnly": true + }, + "limit": { + "type": "integer", + "format": "int32", + "description": "The limit of the usage.", + "readOnly": true + }, + "unit": { + "type": "string", + "description": "The unit of the usage.", + "readOnly": true + } + } + }, + "UsageResult": { + "type": "object", + "description": "Usages entity model", + "properties": { + "id": { + "type": "string", + "description": "The id of the usage.", + "readOnly": true + }, + "name": { + "$ref": "#/definitions/UsageName", + "description": "The name of the usage.", + "readOnly": true + }, + "properties": { + "$ref": "#/definitions/UsageProperties", + "description": "Usage properties", + "x-ms-client-flatten": true + } + } + }, + "UsagesListResult": { + "type": "object", + "description": "Usages result", + "properties": { + "value": { + "type": "array", + "description": "The UsageResult items on this page", + "items": { + "$ref": "#/definitions/UsageResult" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "UserName": { + "type": "string", + "minLength": 1, + "maxLength": 255 + }, + "VfsV4IDDomain": { + "type": "string", + "maxLength": 255, + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9.-]{0,253}[a-zA-Z0-9]$" + }, + "Volume": { + "type": "object", + "description": "Volume resource", + "properties": { + "properties": { + "$ref": "#/definitions/VolumeProperties", + "description": "Volume properties", + "x-ms-client-flatten": true + }, + "etag": { + "type": "string", + "description": "\"If etag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.\")", + "readOnly": true + }, + "zones": { + "type": "array", + "description": "The availability zones.", + "items": { + "type": "string" + }, + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" + } + ] + }, + "VolumeBackupProperties": { + "type": "object", + "description": "Volume Backup Properties", + "properties": { + "backupPolicyId": { + "type": "string", + "format": "arm-id", + "description": "Backup Policy Resource ID", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.NetApp/netAppAccounts/backupPolicies" + } + ] + } + }, + "policyEnforced": { + "type": "boolean", + "description": "Policy Enforced" + }, + "backupVaultId": { + "type": "string", + "format": "arm-id", + "description": "Backup Vault Resource ID", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.NetApp/netAppAccounts/backupVaults" + } + ] + } + } + } + }, + "VolumeBackupRelationshipStatus": { + "type": "string", + "description": "Status of the volume backup relationship", + "enum": [ + "Idle", + "Transferring", + "Failed", + "Unknown" + ], + "x-ms-enum": { + "name": "VolumeBackupRelationshipStatus", + "modelAsString": true, + "values": [ + { + "name": "Idle", + "value": "Idle" + }, + { + "name": "Transferring", + "value": "Transferring" + }, + { + "name": "Failed", + "value": "Failed" + }, + { + "name": "Unknown", + "value": "Unknown" + } + ] + } + }, + "VolumeBackups": { + "type": "object", + "description": "Volume details using the backup policy", + "properties": { + "volumeName": { + "type": "string", + "description": "Volume name" + }, + "volumeResourceId": { + "type": "string", + "format": "arm-id", + "description": "ResourceId used to identify the Volume", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes" + } + ] + } + }, + "backupsCount": { + "type": "integer", + "format": "int32", + "description": "Total count of backups for volume" + }, + "policyEnabled": { + "type": "boolean", + "description": "Policy enabled" + } + } + }, + "VolumeGroup": { + "type": "object", + "description": "Volume group resource", + "properties": { + "location": { + "type": "string", + "description": "Resource location", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "id": { + "type": "string", + "description": "Resource Id", + "readOnly": true + }, + "name": { + "type": "string", + "description": "Resource name", + "readOnly": true + }, + "type": { + "type": "string", + "description": "Resource type", + "readOnly": true + }, + "properties": { + "$ref": "#/definitions/VolumeGroupListProperties", + "description": "Volume group properties", + "x-ms-client-flatten": true + } + } + }, + "VolumeGroupDetails": { + "type": "object", + "description": "Volume group resource for create", + "properties": { + "properties": { + "$ref": "#/definitions/VolumeGroupProperties", + "description": "Volume group properties", + "x-ms-client-flatten": true + }, + "location": { + "type": "string", + "description": "Resource location", + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + ] + }, + "VolumeGroupList": { + "type": "object", + "description": "List of volume group resources", + "properties": { + "value": { + "type": "array", + "description": "The VolumeGroup items on this page", + "items": { + "$ref": "#/definitions/VolumeGroup" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "VolumeGroupListProperties": { + "type": "object", + "description": "Volume group properties", + "properties": { + "provisioningState": { + "type": "string", + "description": "Azure lifecycle management", + "readOnly": true + }, + "groupMetaData": { + "$ref": "#/definitions/VolumeGroupMetaData", + "description": "Volume group details" + } + } + }, + "VolumeGroupMetaData": { + "type": "object", + "description": "Volume group properties", + "properties": { + "groupDescription": { + "type": "string", + "description": "Group Description" + }, + "applicationType": { + "$ref": "#/definitions/ApplicationType", + "description": "Application Type" + }, + "applicationIdentifier": { + "type": "string", + "description": "Application specific identifier" + }, + "globalPlacementRules": { + "type": "array", + "description": "Application specific placement rules for the volume group", + "items": { + "$ref": "#/definitions/PlacementKeyValuePairs" + }, + "x-ms-identifiers": [ + "key" + ] + }, + "volumesCount": { + "type": "integer", + "format": "int64", + "description": "Number of volumes in volume group", + "readOnly": true + } + } + }, + "VolumeGroupProperties": { + "type": "object", + "description": "Volume group properties", + "properties": { + "provisioningState": { + "type": "string", + "description": "Azure lifecycle management", + "readOnly": true + }, + "groupMetaData": { + "$ref": "#/definitions/VolumeGroupMetaData", + "description": "Volume group details" + }, + "volumes": { + "type": "array", + "description": "List of volumes from group", + "items": { + "$ref": "#/definitions/VolumeGroupVolumeProperties" + } + } + } + }, + "VolumeGroupVolumeProperties": { + "type": "object", + "description": "Volume resource", + "properties": { + "id": { + "type": "string", + "description": "Resource Id", + "readOnly": true + }, + "name": { + "type": "string", + "description": "Resource name" + }, + "type": { + "type": "string", + "description": "Resource type", + "readOnly": true + }, + "tags": { + "type": "object", + "description": "Resource tags", + "additionalProperties": { + "type": "string" + } + }, + "zones": { + "type": "array", + "description": "Availability Zone", + "items": { + "type": "string" + }, + "x-ms-mutability": [ + "read", + "create" + ] + }, + "properties": { + "$ref": "#/definitions/VolumeProperties", + "description": "Volume properties", + "x-ms-client-flatten": true + } + }, + "required": [ + "properties" + ] + }, + "VolumeLanguage": { + "type": "string", + "description": "Language supported for volume.", + "enum": [ + "c.utf-8", + "utf8mb4", + "ar", + "ar.utf-8", + "hr", + "hr.utf-8", + "cs", + "cs.utf-8", + "da", + "da.utf-8", + "nl", + "nl.utf-8", + "en", + "en.utf-8", + "fi", + "fi.utf-8", + "fr", + "fr.utf-8", + "de", + "de.utf-8", + "he", + "he.utf-8", + "hu", + "hu.utf-8", + "it", + "it.utf-8", + "ja", + "ja.utf-8", + "ja-v1", + "ja-v1.utf-8", + "ja-jp.pck", + "ja-jp.pck.utf-8", + "ja-jp.932", + "ja-jp.932.utf-8", + "ja-jp.pck-v2", + "ja-jp.pck-v2.utf-8", + "ko", + "ko.utf-8", + "no", + "no.utf-8", + "pl", + "pl.utf-8", + "pt", + "pt.utf-8", + "c", + "ro", + "ro.utf-8", + "ru", + "ru.utf-8", + "zh", + "zh.utf-8", + "zh.gbk", + "zh.gbk.utf-8", + "zh-tw.big5", + "zh-tw.big5.utf-8", + "zh-tw", + "zh-tw.utf-8", + "sk", + "sk.utf-8", + "sl", + "sl.utf-8", + "es", + "es.utf-8", + "sv", + "sv.utf-8", + "tr", + "tr.utf-8", + "en-us", + "en-us.utf-8" + ], + "x-ms-enum": { + "name": "VolumeLanguage", + "modelAsString": true, + "values": [ + { + "name": "c.utf-8", + "value": "c.utf-8", + "description": "Posix with UTF-8" + }, + { + "name": "utf8mb4", + "value": "utf8mb4", + "description": "UTF-8 with 4 byte character support" + }, + { + "name": "ar", + "value": "ar", + "description": "Arabic - Deprecated" + }, + { + "name": "ar.utf-8", + "value": "ar.utf-8", + "description": "Arabic with UTF-8" + }, + { + "name": "hr", + "value": "hr", + "description": "Croatian - Deprecated" + }, + { + "name": "hr.utf-8", + "value": "hr.utf-8", + "description": "Croatian with UTF-8" + }, + { + "name": "cs", + "value": "cs", + "description": "Czech - Deprecated" + }, + { + "name": "cs.utf-8", + "value": "cs.utf-8", + "description": "Czech with UTF-8" + }, + { + "name": "da", + "value": "da", + "description": "Danish - Deprecated" + }, + { + "name": "da.utf-8", + "value": "da.utf-8", + "description": "Danish with UTF-8" + }, + { + "name": "nl", + "value": "nl", + "description": "Dutch - Deprecated" + }, + { + "name": "nl.utf-8", + "value": "nl.utf-8", + "description": "Dutch with UTF-8" + }, + { + "name": "en", + "value": "en", + "description": "English - Deprecated" + }, + { + "name": "en.utf-8", + "value": "en.utf-8", + "description": "English with UTF-8" + }, + { + "name": "fi", + "value": "fi", + "description": "Finnish - Deprecated" + }, + { + "name": "fi.utf-8", + "value": "fi.utf-8", + "description": "Finnish with UTF-8" + }, + { + "name": "fr", + "value": "fr", + "description": "French - Deprecated" + }, + { + "name": "fr.utf-8", + "value": "fr.utf-8", + "description": "French with UTF-8" + }, + { + "name": "de", + "value": "de", + "description": "German - Deprecated" + }, + { + "name": "de.utf-8", + "value": "de.utf-8", + "description": "German with UTF-8" + }, + { + "name": "he", + "value": "he", + "description": "Hebrew - Deprecated" + }, + { + "name": "he.utf-8", + "value": "he.utf-8", + "description": "Hebrew with UTF-8" + }, + { + "name": "hu", + "value": "hu", + "description": "Hungarian - Deprecated" + }, + { + "name": "hu.utf-8", + "value": "hu.utf-8", + "description": "Hungarian with UTF-8" + }, + { + "name": "it", + "value": "it", + "description": "Italian - Deprecated" + }, + { + "name": "it.utf-8", + "value": "it.utf-8", + "description": "Italian with UTF-8" + }, + { + "name": "ja", + "value": "ja", + "description": "Japanese euc-j - Deprecated" + }, + { + "name": "ja.utf-8", + "value": "ja.utf-8", + "description": "Japanese euc-j with UTF-8" + }, + { + "name": "ja-v1", + "value": "ja-v1", + "description": "Japanese euc-j - Deprecated" + }, + { + "name": "ja-v1.utf-8", + "value": "ja-v1.utf-8", + "description": "Japanese euc-j with UTF-8" + }, + { + "name": "ja-jp.pck", + "value": "ja-jp.pck", + "description": "Japanese pck" + }, + { + "name": "ja-jp.pck.utf-8", + "value": "ja-jp.pck.utf-8", + "description": "Japanese pck with UTF-8 - Deprecated" + }, + { + "name": "ja-jp.932", + "value": "ja-jp.932", + "description": "Japanese cp932" + }, + { + "name": "ja-jp.932.utf-8", + "value": "ja-jp.932.utf-8", + "description": "Japanese cp932 with UTF-8 - Deprecated" + }, + { + "name": "ja-jp.pck-v2", + "value": "ja-jp.pck-v2", + "description": "Japanese pck - sjis" + }, + { + "name": "ja-jp.pck-v2.utf-8", + "value": "ja-jp.pck-v2.utf-8", + "description": "Japanese pck - sjis with UTF-8 - Deprecated" + }, + { + "name": "ko", + "value": "ko", + "description": "Korean - Deprecated" + }, + { + "name": "ko.utf-8", + "value": "ko.utf-8", + "description": "Korean with UTF-8" + }, + { + "name": "no", + "value": "no", + "description": "Norwegian - Deprecated" + }, + { + "name": "no.utf-8", + "value": "no.utf-8", + "description": "Norwegian with UTF-8" + }, + { + "name": "pl", + "value": "pl", + "description": "Polish - Deprecated" + }, + { + "name": "pl.utf-8", + "value": "pl.utf-8", + "description": "Polish with UTF-8" + }, + { + "name": "pt", + "value": "pt", + "description": "Portuguese - Deprecated" + }, + { + "name": "pt.utf-8", + "value": "pt.utf-8", + "description": "Portuguese with UTF-8" + }, + { + "name": "c", + "value": "c", + "description": "Posix - Deprecated" + }, + { + "name": "ro", + "value": "ro", + "description": "Romanian - Deprecated" + }, + { + "name": "ro.utf-8", + "value": "ro.utf-8", + "description": "Romanian with UTF-8" + }, + { + "name": "ru", + "value": "ru", + "description": "Russian - Deprecated" + }, + { + "name": "ru.utf-8", + "value": "ru.utf-8", + "description": "Russian with UTF-8" + }, + { + "name": "zh", + "value": "zh", + "description": "Simplified Chinese - Deprecated" + }, + { + "name": "zh.utf-8", + "value": "zh.utf-8", + "description": "Simplified Chinese with UTF-8" + }, + { + "name": "zh.gbk", + "value": "zh.gbk", + "description": "Simplified gbk Chinese" + }, + { + "name": "zh.gbk.utf-8", + "value": "zh.gbk.utf-8", + "description": "Simplified gbk Chinese with UTF-8 - Deprecated" + }, + { + "name": "zh-tw.big5", + "value": "zh-tw.big5", + "description": "Traditional Chinese BIG 5" + }, + { + "name": "zh-tw.big5.utf-8", + "value": "zh-tw.big5.utf-8", + "description": "Traditional Chinese BIG 5 with UTF-8 - Deprecated" + }, + { + "name": "zh-tw", + "value": "zh-tw", + "description": "Traditional Chinese EUC-TW" + }, + { + "name": "zh-tw.utf-8", + "value": "zh-tw.utf-8", + "description": "Traditional Chinese EUC-TW with UTF-8 - Deprecated" + }, + { + "name": "sk", + "value": "sk", + "description": "Slovak - Deprecated" + }, + { + "name": "sk.utf-8", + "value": "sk.utf-8", + "description": "Slovak with UTF-8" + }, + { + "name": "sl", + "value": "sl", + "description": "Slovenian - Deprecated" + }, + { + "name": "sl.utf-8", + "value": "sl.utf-8", + "description": "Slovenian with UTF-8" + }, + { + "name": "es", + "value": "es", + "description": "Spanish - Deprecated" + }, + { + "name": "es.utf-8", + "value": "es.utf-8", + "description": "Spanish with UTF-8" + }, + { + "name": "sv", + "value": "sv", + "description": "Swedish - Deprecated" + }, + { + "name": "sv.utf-8", + "value": "sv.utf-8", + "description": "Swedish with UTF-8" + }, + { + "name": "tr", + "value": "tr", + "description": "Turkish - Deprecated" + }, + { + "name": "tr.utf-8", + "value": "tr.utf-8", + "description": "Turkish with UTF-8" + }, + { + "name": "en-us", + "value": "en-us", + "description": "US English - Deprecated" + }, + { + "name": "en-us.utf-8", + "value": "en-us.utf-8", + "description": "US English with UTF-8" + } + ] + } + }, + "VolumeList": { + "type": "object", + "description": "List of volume resources", + "properties": { + "value": { + "type": "array", + "description": "The Volume items on this page", + "items": { + "$ref": "#/definitions/Volume" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "VolumePatch": { + "type": "object", + "description": "Volume patch resource", + "properties": { + "location": { + "type": "string", + "description": "Resource location" + }, + "id": { + "type": "string", + "description": "Resource Id", + "readOnly": true + }, + "name": { + "type": "string", + "description": "Resource name", + "readOnly": true + }, + "type": { + "type": "string", + "description": "Resource type", + "readOnly": true + }, + "tags": { + "type": "object", + "description": "Resource tags", + "additionalProperties": { + "type": "string" + } + }, + "properties": { + "$ref": "#/definitions/VolumePatchProperties", + "description": "Patchable volume properties", + "x-ms-client-flatten": true + } + } + }, + "VolumePatchProperties": { + "type": "object", + "description": "Patchable volume properties", + "properties": { + "serviceLevel": { + "$ref": "#/definitions/ServiceLevel", + "description": "The service level of the file system" + }, + "usageThreshold": { + "type": "integer", + "format": "int64", + "description": "Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. For regular volumes, valid values are in the range 50GiB to 100TiB. For large volumes, valid values are in the range 100TiB to 500TiB, and on an exceptional basis, from to 2400GiB to 2400TiB. Values expressed in bytes as multiples of 1 GiB.", + "minimum": 53687091200, + "maximum": 2638827906662400 + }, + "exportPolicy": { + "$ref": "#/definitions/VolumePatchPropertiesExportPolicy", + "description": "Set of export policy rules" + }, + "protocolTypes": { + "type": "array", + "description": "Set of protocol types, default NFSv3, CIFS for SMB protocol", + "items": { + "type": "string" + } + }, + "throughputMibps": { + "type": "number", + "format": "float", + "description": "Maximum throughput in MiB/s that can be achieved by this volume and this will be accepted as input only for manual qosType volume" + }, + "dataProtection": { + "$ref": "#/definitions/VolumePatchPropertiesDataProtection", + "description": "DataProtection type volumes include an object containing details of the replication" + }, + "isDefaultQuotaEnabled": { + "type": "boolean", + "description": "Specifies if default quota is enabled for the volume." + }, + "defaultUserQuotaInKiBs": { + "type": "integer", + "format": "int64", + "description": "Default user quota for volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies ." + }, + "defaultGroupQuotaInKiBs": { + "type": "integer", + "format": "int64", + "description": "Default group quota for volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies." + }, + "unixPermissions": { + "$ref": "#/definitions/UnixPermissions", + "description": "UNIX permissions for NFS volume accepted in octal 4 digit format. First digit selects the set user ID(4), set group ID (2) and sticky (1) attributes. Second digit selects permission for the owner of the file: read (4), write (2) and execute (1). Third selects permissions for other users in the same group. the fourth for other users not in the group. 0755 - gives read/write/execute permissions to owner and read/execute to group and other users.", + "x-nullable": true + }, + "coolAccess": { + "type": "boolean", + "description": "Specifies whether Cool Access(tiering) is enabled for the volume." + }, + "coolnessPeriod": { + "type": "integer", + "format": "int32", + "description": "Specifies the number of days after which data that is not accessed by clients will be tiered.", + "minimum": 2, + "maximum": 183 + }, + "coolAccessRetrievalPolicy": { + "$ref": "#/definitions/CoolAccessRetrievalPolicy", + "description": "coolAccessRetrievalPolicy determines the data retrieval behavior from the cool tier to standard storage based on the read pattern for cool access enabled volumes. The possible values for this field are:\nDefault - Data will be pulled from cool tier to standard storage on random reads. This policy is the default.\nOnRead - All client-driven data read is pulled from cool tier to standard storage on both sequential and random reads.\nNever - No client-driven data is pulled from cool tier to standard storage." + }, + "coolAccessTieringPolicy": { + "$ref": "#/definitions/CoolAccessTieringPolicy", + "description": "coolAccessTieringPolicy determines which cold data blocks are moved to cool tier. The possible values for this field are: Auto - Moves cold user data blocks in both the Snapshot copies and the active file system to the cool tier tier. This policy is the default. SnapshotOnly - Moves user data blocks of the Volume Snapshot copies that are not associated with the active file system to the cool tier." + }, + "snapshotDirectoryVisible": { + "type": "boolean", + "description": "If enabled (true) the volume will contain a read-only snapshot directory which provides access to each of the volume's snapshots." + }, + "smbAccessBasedEnumeration": { + "$ref": "#/definitions/SmbAccessBasedEnumeration", + "description": "Enables access-based enumeration share property for SMB Shares. Only applicable for SMB/DualProtocol volume", + "x-nullable": true + }, + "smbNonBrowsable": { + "$ref": "#/definitions/SmbNonBrowsable", + "description": "Enables non-browsable property for SMB Shares. Only applicable for SMB/DualProtocol volume" + } + } + }, + "VolumePatchPropertiesDataProtection": { + "type": "object", + "description": "DataProtection type volumes include an object containing details of the replication", + "properties": { + "backup": { + "$ref": "#/definitions/VolumeBackupProperties", + "description": "Backup Properties" + }, + "snapshot": { + "$ref": "#/definitions/VolumeSnapshotProperties", + "description": "Snapshot properties." + } + } + }, + "VolumePatchPropertiesExportPolicy": { + "type": "object", + "description": "Set of export policy rules", + "properties": { + "rules": { + "type": "array", + "description": "Export policy rule", + "items": { + "$ref": "#/definitions/ExportPolicyRule" + }, + "x-ms-identifiers": [ + "ruleIndex" + ] + } + } + }, + "VolumeProperties": { + "type": "object", + "description": "Volume properties", + "properties": { + "fileSystemId": { + "type": "string", + "description": "Unique FileSystem Identifier.", + "minLength": 36, + "maxLength": 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 + }, + "creationToken": { + "type": "string", + "description": "A unique file path for the volume. Used when creating mount targets", + "minLength": 1, + "maxLength": 80, + "pattern": "^[a-zA-Z][a-zA-Z0-9\\-]{0,79}$", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "serviceLevel": { + "type": "string", + "description": "The service level of the file system", + "default": "Premium", + "enum": [ + "Standard", + "Premium", + "Ultra", + "StandardZRS", + "Flexible" + ], + "x-ms-enum": { + "name": "ServiceLevel", + "modelAsString": true, + "values": [ + { + "name": "Standard", + "value": "Standard", + "description": "Standard service level" + }, + { + "name": "Premium", + "value": "Premium", + "description": "Premium service level" + }, + { + "name": "Ultra", + "value": "Ultra", + "description": "Ultra service level" + }, + { + "name": "StandardZRS", + "value": "StandardZRS", + "description": "Zone redundant storage service level. This will be deprecated soon." + }, + { + "name": "Flexible", + "value": "Flexible", + "description": "Flexible service level" + } + ] + } + }, + "usageThreshold": { + "type": "integer", + "format": "int64", + "description": "Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. For regular volumes, valid values are in the range 50GiB to 100TiB. For large volumes, valid values are in the range 100TiB to 500TiB, and on an exceptional basis, from to 2400GiB to 2400TiB. Values expressed in bytes as multiples of 1 GiB.", + "default": 107374182400, + "minimum": 53687091200, + "maximum": 2638827906662400 + }, + "exportPolicy": { + "$ref": "#/definitions/VolumePropertiesExportPolicy", + "description": "Set of export policy rules" + }, + "protocolTypes": { + "type": "array", + "description": "Set of protocol types, default NFSv3, CIFS for SMB protocol", + "items": { + "type": "string" + } + }, + "provisioningState": { + "type": "string", + "description": "Azure lifecycle management", + "readOnly": true + }, + "snapshotId": { + "type": "string", + "format": "arm-id", + "description": "Resource identifier used to identify the Snapshot.", + "x-nullable": true, + "x-ms-mutability": [ + "read", + "create" + ], + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots" + } + ] + } + }, + "deleteBaseSnapshot": { + "type": "boolean", + "description": "If enabled (true) the snapshot the volume was created from will be automatically deleted after the volume create operation has finished. Defaults to false" + }, + "backupId": { + "type": "string", + "format": "arm-id", + "description": "Resource identifier used to identify the Backup.", + "x-nullable": true, + "x-ms-mutability": [ + "read", + "create" + ], + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.NetApp/netAppAccounts/backupVaults/backups" + } + ] + } + }, + "baremetalTenantId": { + "type": "string", + "description": "Unique Baremetal Tenant Identifier.", + "readOnly": true + }, + "subnetId": { + "type": "string", + "description": "The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes" + }, + "networkFeatures": { + "type": "string", + "description": "The original value of the network features type available to the volume at the time it was created.", + "default": "Basic", + "enum": [ + "Basic", + "Standard", + "Basic_Standard", + "Standard_Basic" + ], + "x-ms-enum": { + "name": "NetworkFeatures", + "modelAsString": true, + "values": [ + { + "name": "Basic", + "value": "Basic", + "description": "Basic network features." + }, + { + "name": "Standard", + "value": "Standard", + "description": "Standard network features." + }, + { + "name": "Basic_Standard", + "value": "Basic_Standard", + "description": "Updating from Basic to Standard network features." + }, + { + "name": "Standard_Basic", + "value": "Standard_Basic", + "description": "Updating from Standard to Basic network features." + } + ] + }, + "x-ms-mutability": [ + "read", + "create" + ] + }, + "effectiveNetworkFeatures": { + "type": "string", + "description": "The effective value of the network features type available to the volume, or current effective state of update.", + "default": "Basic", + "enum": [ + "Basic", + "Standard", + "Basic_Standard", + "Standard_Basic" + ], + "x-ms-enum": { + "name": "NetworkFeatures", + "modelAsString": true, + "values": [ + { + "name": "Basic", + "value": "Basic", + "description": "Basic network features." + }, + { + "name": "Standard", + "value": "Standard", + "description": "Standard network features." + }, + { + "name": "Basic_Standard", + "value": "Basic_Standard", + "description": "Updating from Basic to Standard network features." + }, + { + "name": "Standard_Basic", + "value": "Standard_Basic", + "description": "Updating from Standard to Basic network features." + } + ] + }, + "readOnly": true + }, + "networkSiblingSetId": { + "type": "string", + "description": "Network Sibling Set ID for the the group of volumes sharing networking resources.", + "minLength": 36, + "maxLength": 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 + }, + "storageToNetworkProximity": { + "$ref": "#/definitions/VolumeStorageToNetworkProximity", + "description": "Provides storage to network proximity information for the volume.", + "readOnly": true + }, + "mountTargets": { + "type": "array", + "description": "List of mount targets", + "items": { + "$ref": "#/definitions/MountTargetProperties" + }, + "readOnly": true, + "x-ms-identifiers": [ + "fileSystemId" + ] + }, + "volumeType": { + "type": "string", + "description": "What type of volume is this. For destination volumes in Cross Region Replication, set type to DataProtection. For creating clone volume, set type to ShortTermClone", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "dataProtection": { + "$ref": "#/definitions/VolumePropertiesDataProtection", + "description": "DataProtection type volumes include an object containing details of the replication" + }, + "acceptGrowCapacityPoolForShortTermCloneSplit": { + "$ref": "#/definitions/AcceptGrowCapacityPoolForShortTermCloneSplit", + "description": "While auto splitting the short term clone volume, if the parent pool does not have enough space to accommodate the volume after split, it will be automatically resized, which will lead to increased billing. To accept capacity pool size auto grow and create a short term clone volume, set the property as accepted.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "isRestoring": { + "type": "boolean", + "description": "Restoring", + "readOnly": true + }, + "snapshotDirectoryVisible": { + "type": "boolean", + "description": "If enabled (true) the volume will contain a read-only snapshot directory which provides access to each of the volume's snapshots (defaults to true).", + "default": true + }, + "kerberosEnabled": { + "type": "boolean", + "description": "Describe if a volume is KerberosEnabled. To be use with swagger version 2020-05-01 or later", + "default": false, + "x-ms-mutability": [ + "read", + "create" + ] + }, + "securityStyle": { + "type": "string", + "description": "The security style of volume, default unix, defaults to ntfs for dual protocol or CIFS protocol", + "default": "unix", + "enum": [ + "ntfs", + "unix" + ], + "x-ms-enum": { + "name": "SecurityStyle", + "modelAsString": true, + "values": [ + { + "name": "ntfs", + "value": "ntfs" + }, + { + "name": "unix", + "value": "unix" + } + ] + }, + "x-ms-mutability": [ + "read", + "create" + ] + }, + "smbEncryption": { + "type": "boolean", + "description": "Enables encryption for in-flight smb3 data. Only applicable for SMB/DualProtocol volume. To be used with swagger version 2020-08-01 or later", + "default": false + }, + "smbAccessBasedEnumeration": { + "$ref": "#/definitions/SmbAccessBasedEnumeration", + "description": "Enables access-based enumeration share property for SMB Shares. Only applicable for SMB/DualProtocol volume", + "x-nullable": true + }, + "smbNonBrowsable": { + "$ref": "#/definitions/SmbNonBrowsable", + "description": "Enables non-browsable property for SMB Shares. Only applicable for SMB/DualProtocol volume" + }, + "smbContinuouslyAvailable": { + "type": "boolean", + "description": "Enables continuously available share property for smb volume. Only applicable for SMB volume", + "default": false + }, + "throughputMibps": { + "type": "number", + "format": "float", + "description": "Maximum throughput in MiB/s that can be achieved by this volume and this will be accepted as input only for manual qosType volume", + "x-nullable": true + }, + "actualThroughputMibps": { + "type": "number", + "format": "float", + "description": "Actual throughput in MiB/s for auto qosType volumes calculated based on size and serviceLevel", + "readOnly": true + }, + "encryptionKeySource": { + "type": "string", + "description": "Source of key used to encrypt data in volume. Applicable if NetApp account has encryption.keySource = 'Microsoft.KeyVault'. Possible values (case-insensitive) are: 'Microsoft.NetApp, Microsoft.KeyVault'", + "default": "Microsoft.NetApp", + "enum": [ + "Microsoft.NetApp", + "Microsoft.KeyVault" + ], + "x-ms-enum": { + "name": "EncryptionKeySource", + "modelAsString": true, + "values": [ + { + "name": "Microsoft.NetApp", + "value": "Microsoft.NetApp", + "description": "Microsoft-managed key encryption" + }, + { + "name": "Microsoft.KeyVault", + "value": "Microsoft.KeyVault", + "description": "Customer-managed key encryption" + } + ] + } + }, + "keyVaultPrivateEndpointResourceId": { + "type": "string", + "description": "The resource ID of private endpoint for KeyVault. It must reside in the same VNET as the volume. Only applicable if encryptionKeySource = 'Microsoft.KeyVault'." + }, + "ldapEnabled": { + "type": "boolean", + "description": "Specifies whether LDAP is enabled or not for a given NFS volume.", + "default": false, + "x-ms-mutability": [ + "read", + "create" + ] + }, + "ldapServerType": { + "$ref": "#/definitions/LdapServerType", + "description": "Specifies the type of LDAP server for a given NFS volume.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "coolAccess": { + "type": "boolean", + "description": "Specifies whether Cool Access(tiering) is enabled for the volume.", + "default": false + }, + "coolnessPeriod": { + "type": "integer", + "format": "int32", + "description": "Specifies the number of days after which data that is not accessed by clients will be tiered.", + "minimum": 2, + "maximum": 183 + }, + "coolAccessRetrievalPolicy": { + "$ref": "#/definitions/CoolAccessRetrievalPolicy", + "description": "coolAccessRetrievalPolicy determines the data retrieval behavior from the cool tier to standard storage based on the read pattern for cool access enabled volumes. The possible values for this field are:\nDefault - Data will be pulled from cool tier to standard storage on random reads. This policy is the default.\nOnRead - All client-driven data read is pulled from cool tier to standard storage on both sequential and random reads.\nNever - No client-driven data is pulled from cool tier to standard storage." + }, + "coolAccessTieringPolicy": { + "$ref": "#/definitions/CoolAccessTieringPolicy", + "description": "coolAccessTieringPolicy determines which cold data blocks are moved to cool tier. The possible values for this field are: Auto - Moves cold user data blocks in both the Snapshot copies and the active file system to the cool tier tier. This policy is the default. SnapshotOnly - Moves user data blocks of the Volume Snapshot copies that are not associated with the active file system to the cool tier." + }, + "unixPermissions": { + "$ref": "#/definitions/UnixPermissions", + "description": "UNIX permissions for NFS volume accepted in octal 4 digit format. First digit selects the set user ID(4), set group ID (2) and sticky (1) attributes. Second digit selects permission for the owner of the file: read (4), write (2) and execute (1). Third selects permissions for other users in the same group. the fourth for other users not in the group. 0755 - gives read/write/execute permissions to owner and read/execute to group and other users.", + "x-nullable": true + }, + "cloneProgress": { + "type": "integer", + "format": "int32", + "description": "When a volume is being restored from another volume's snapshot, will show the percentage completion of this cloning process. When this value is empty/null there is no cloning process currently happening on this volume. This value will update every 5 minutes during cloning.", + "x-nullable": true, + "readOnly": true + }, + "fileAccessLogs": { + "type": "string", + "description": "Flag indicating whether file access logs are enabled for the volume, based on active diagnostic settings present on the volume.", + "default": "Disabled", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "FileAccessLogs", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled", + "description": "fileAccessLogs are enabled" + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "fileAccessLogs are not enabled" + } + ] + }, + "readOnly": true + }, + "avsDataStore": { + "type": "string", + "description": "Specifies whether the volume is enabled for Azure VMware Solution (AVS) datastore purpose", + "default": "Disabled", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "AvsDataStore", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled", + "description": "avsDataStore is enabled" + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "avsDataStore is disabled" + } + ] + }, + "x-ms-mutability": [ + "read", + "create" + ] + }, + "dataStoreResourceId": { + "type": "array", + "description": "Data store resource unique identifier", + "items": { + "type": "string" + }, + "readOnly": true + }, + "isDefaultQuotaEnabled": { + "type": "boolean", + "description": "Specifies if default quota is enabled for the volume.", + "default": false + }, + "defaultUserQuotaInKiBs": { + "type": "integer", + "format": "int64", + "description": "Default user quota for volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies .", + "default": 0 + }, + "defaultGroupQuotaInKiBs": { + "type": "integer", + "format": "int64", + "description": "Default group quota for volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies.", + "default": 0 + }, + "maximumNumberOfFiles": { + "type": "integer", + "format": "int64", + "description": "Maximum number of files allowed. Needs a service request in order to be changed. Only allowed to be changed if volume quota is more than 4TiB.", + "readOnly": true + }, + "volumeGroupName": { + "type": "string", + "description": "Volume Group Name", + "readOnly": true + }, + "capacityPoolResourceId": { + "type": "string", + "description": "Pool Resource Id used in case of creating a volume through volume group" + }, + "proximityPlacementGroup": { + "type": "string", + "description": "Proximity placement group associated with the volume" + }, + "t2Network": { + "type": "string", + "description": "T2 network information", + "readOnly": true + }, + "volumeSpecName": { + "type": "string", + "description": "Volume spec name is the application specific designation or identifier for the particular volume in a volume group for e.g. data, log" + }, + "encrypted": { + "type": "boolean", + "description": "Specifies if the volume is encrypted or not. Only available on volumes created or updated after 2022-01-01.", + "readOnly": true + }, + "placementRules": { + "type": "array", + "description": "Application specific placement rules for the particular volume", + "items": { + "$ref": "#/definitions/PlacementKeyValuePairs" + }, + "x-ms-identifiers": [ + "key" + ] + }, + "enableSubvolumes": { + "type": "string", + "description": "Flag indicating whether subvolume operations are enabled on the volume", + "default": "Disabled", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "EnableSubvolumes", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled", + "description": "subvolumes are enabled" + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "subvolumes are not enabled" + } + ] + } + }, + "provisionedAvailabilityZone": { + "type": "string", + "description": "The availability zone where the volume is provisioned. This refers to the logical availability zone where the volume resides.", + "x-nullable": true, + "readOnly": true + }, + "isLargeVolume": { + "type": "boolean", + "description": "Specifies whether volume is a Large Volume or Regular Volume.", + "default": false, + "x-ms-mutability": [ + "read", + "create" + ] + }, + "originatingResourceId": { + "type": "string", + "description": "Id of the snapshot or backup that the volume is restored from.", + "x-nullable": true, + "readOnly": true + }, + "inheritedSizeInBytes": { + "type": "integer", + "format": "int64", + "description": "Space shared by short term clone volume with parent volume in bytes.", + "x-nullable": true, + "readOnly": true + }, + "language": { + "$ref": "#/definitions/VolumeLanguage", + "description": "Language supported for volume." + } + }, + "required": [ + "creationToken", + "usageThreshold", + "subnetId" + ] + }, + "VolumePropertiesDataProtection": { + "type": "object", + "description": "DataProtection type volumes include an object containing details of the replication", + "properties": { + "backup": { + "$ref": "#/definitions/VolumeBackupProperties", + "description": "Backup Properties" + }, + "replication": { + "$ref": "#/definitions/ReplicationObject", + "description": "Replication properties" + }, + "snapshot": { + "$ref": "#/definitions/VolumeSnapshotProperties", + "description": "Snapshot properties." + }, + "volumeRelocation": { + "$ref": "#/definitions/VolumeRelocationProperties", + "description": "VolumeRelocation properties" + } + } + }, + "VolumePropertiesExportPolicy": { + "type": "object", + "description": "Set of export policy rules", + "properties": { + "rules": { + "type": "array", + "description": "Export policy rule", + "items": { + "$ref": "#/definitions/ExportPolicyRule" + }, + "x-ms-identifiers": [ + "ruleIndex" + ] + } + } + }, + "VolumeQuotaRule": { + "type": "object", + "description": "Quota Rule of a Volume", + "properties": { + "properties": { + "$ref": "#/definitions/VolumeQuotaRulesProperties", + "description": "Volume Quota Rule Properties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" + } + ] + }, + "VolumeQuotaRulePatch": { + "type": "object", + "description": "Patchable Quota Rule of a Volume", + "properties": { + "tags": { + "type": "object", + "description": "Resource tags", + "additionalProperties": { + "type": "string" + } + }, + "properties": { + "$ref": "#/definitions/VolumeQuotaRulesProperties", + "description": "Volume Quota Rule Properties", + "x-ms-client-flatten": true + } + } + }, + "VolumeQuotaRulesList": { + "type": "object", + "description": "List of Volume Quota Rules", + "properties": { + "value": { + "type": "array", + "description": "The VolumeQuotaRule items on this page", + "items": { + "$ref": "#/definitions/VolumeQuotaRule" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "VolumeQuotaRulesProperties": { + "type": "object", + "description": "Volume Quota Rule properties", + "properties": { + "provisioningState": { + "$ref": "#/definitions/NetAppProvisioningState", + "description": "Gets the status of the VolumeQuotaRule at the time the operation was called.", + "readOnly": true + }, + "quotaSizeInKiBs": { + "type": "integer", + "format": "int64", + "description": "Size of quota" + }, + "quotaType": { + "$ref": "#/definitions/Type", + "description": "Type of quota", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "quotaTarget": { + "type": "string", + "description": "UserID/GroupID/SID based on the quota target type. UserID and groupID can be found by running ‘id’ or ‘getent’ command for the user or group and SID can be found by running ", + "x-ms-mutability": [ + "read", + "create" + ] + } + } + }, + "VolumeRelocationProperties": { + "type": "object", + "description": "Volume relocation properties", + "properties": { + "relocationRequested": { + "type": "boolean", + "description": "Has relocation been requested for this volume" + }, + "readyToBeFinalized": { + "type": "boolean", + "description": "Has relocation finished and is ready to be cleaned up", + "readOnly": true + } + } + }, + "VolumeReplicationRelationshipStatus": { + "type": "string", + "description": "Status of the volume replication relationship", + "enum": [ + "Idle", + "Transferring" + ], + "x-ms-enum": { + "name": "VolumeReplicationRelationshipStatus", + "modelAsString": true, + "values": [ + { + "name": "Idle", + "value": "Idle" + }, + { + "name": "Transferring", + "value": "Transferring" + } + ] + } + }, + "VolumeRestoreRelationshipStatus": { + "type": "string", + "description": "Status of the volume restore relationship", + "enum": [ + "Idle", + "Transferring", + "Failed", + "Unknown" + ], + "x-ms-enum": { + "name": "VolumeRestoreRelationshipStatus", + "modelAsString": true, + "values": [ + { + "name": "Idle", + "value": "Idle" + }, + { + "name": "Transferring", + "value": "Transferring" + }, + { + "name": "Failed", + "value": "Failed" + }, + { + "name": "Unknown", + "value": "Unknown" + } + ] + } + }, + "VolumeRevert": { + "type": "object", + "description": "revert a volume to the snapshot", + "properties": { + "snapshotId": { + "type": "string", + "format": "arm-id", + "description": "Resource id of the snapshot", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots" + } + ] + } + } + } + }, + "VolumeSnapshotProperties": { + "type": "object", + "description": "Volume Snapshot Properties", + "properties": { + "snapshotPolicyId": { + "type": "string", + "description": "Snapshot Policy ResourceId" + } + } + }, + "VolumeStorageToNetworkProximity": { + "type": "string", + "description": "Provides storage to network proximity information for the volume.", + "enum": [ + "Default", + "T1", + "T2", + "AcrossT2" + ], + "x-ms-enum": { + "name": "VolumeStorageToNetworkProximity", + "modelAsString": true, + "values": [ + { + "name": "Default", + "value": "Default", + "description": "Basic storage to network connectivity." + }, + { + "name": "T1", + "value": "T1", + "description": "Standard T1 storage to network connectivity." + }, + { + "name": "T2", + "value": "T2", + "description": "Standard T2 storage to network connectivity." + }, + { + "name": "AcrossT2", + "value": "AcrossT2", + "description": "Standard AcrossT2 storage to network connectivity." + } + ] + } + }, + "WeeklySchedule": { + "type": "object", + "description": "Weekly Schedule properties, make a snapshot every week at a specific day or days", + "properties": { + "snapshotsToKeep": { + "type": "integer", + "format": "int32", + "description": "Weekly snapshot count to keep" + }, + "day": { + "type": "string", + "description": "Indicates which weekdays snapshot should be taken, accepts a comma separated list of week day names in english" + }, + "hour": { + "type": "integer", + "format": "int32", + "description": "Indicates which hour in UTC timezone a snapshot should be taken" + }, + "minute": { + "type": "integer", + "format": "int32", + "description": "Indicates which minute snapshot should be taken" + }, + "usedBytes": { + "type": "integer", + "format": "int64", + "description": "Resource size in bytes, current storage usage for the volume in bytes" + } + } + } + }, + "parameters": {} +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/tspconfig.yaml b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/tspconfig.yaml index a0da69478e5e..763a99230bd2 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/tspconfig.yaml +++ b/specification/netapp/resource-manager/Microsoft.NetApp/NetApp/tspconfig.yaml @@ -33,6 +33,9 @@ options: namespace: "com.azure.resourcemanager.netapp" service-name: "NetAppFiles" flavor: azure + float32-as-double: false + client-side-validations: true + uuid-as-string: false "@azure-tools/typespec-ts": emitter-output-dir: "{output-dir}/{service-dir}/arm-netapp" flavor: azure diff --git a/specification/nginx/resource-manager/readme.md b/specification/nginx/resource-manager/readme.md index c2e2416efe5f..9301ea072831 100644 --- a/specification/nginx/resource-manager/readme.md +++ b/specification/nginx/resource-manager/readme.md @@ -120,3 +120,19 @@ These settings apply only when `--tag=package-preview-2025-03-01` is specified o input-file: - Nginx.NginxPlus/preview/2025-03-01-preview/swagger.json ``` + +# Code Generation + +## Swagger to SDK + +This section describes what SDK should be generated by the automatic system. +This is not used by Autorest itself. + +``` yaml $(swagger-to-sdk) +swagger-to-sdk: + - repo: azure-sdk-for-python +``` + +## Python + +See configuration in [readme.python.md](./readme.python.md) diff --git a/specification/paloaltonetworks/resource-manager/readme.typescript.md b/specification/paloaltonetworks/resource-manager/readme.typescript.md index 4e688652fe47..934848797939 100644 --- a/specification/paloaltonetworks/resource-manager/readme.typescript.md +++ b/specification/paloaltonetworks/resource-manager/readme.typescript.md @@ -24,4 +24,19 @@ directive: } } } + - from: PaloAltoNetworks.Cloudngfw.json + where-operation: GlobalRulestack_commit + transform: > + $.responses["202"] = + { + "description": "The request has been received but not yet acted upon." + } + - from: PaloAltoNetworks.Cloudngfw.json + where-operation: LocalRulestacks_commit + transform: > + $.responses["202"] = + { + "description": "The request has been received but not yet acted upon." + } + ``` diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Servers.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Servers.json index 4a69493c9035..870665350487 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Servers.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/Servers.json @@ -1055,6 +1055,11 @@ "default": null, "description": "Data encryption properties of a server." }, + "availabilityZone": { + "type": "string", + "default": "", + "description": "Availability zone of a server." + }, "createMode": { "type": "string", "description": "Update mode of an existing server.", diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/TuningOptions.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/TuningOptions.json index 6282be1b0f33..13e51833d23e 100644 --- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/TuningOptions.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2025-08-01/TuningOptions.json @@ -117,7 +117,22 @@ "$ref": "#/parameters/TuningOptionParameter" }, { - "$ref": "#/parameters/RecommendationTypeParameter" + "name": "recommendationType", + "in": "query", + "required": false, + "type": "string", + "enum": [ + "CreateIndex", + "DropIndex", + "ReIndex", + "AnalyzeTable" + ], + "x-ms-enum": { + "name": "RecommendationTypeParameterEnum", + "modelAsString": true + }, + "description": "Recommendations list filter. Retrieves recommendations based on type.", + "x-ms-parameter-location": "method" } ], "responses": { @@ -294,7 +309,7 @@ "AnalyzeTable" ], "x-ms-enum": { - "name": "RecommendationType", + "name": "RecommendationTypeEnum", "modelAsString": true }, "description": "Type for this recommendation." @@ -440,24 +455,7 @@ ], "description": "The name of the tuning option.", "x-ms-enum": { - "name": "TuningOption", - "modelAsString": true - }, - "x-ms-parameter-location": "method" - }, - "RecommendationTypeParameter": { - "name": "recommendationType", - "in": "query", - "required": false, - "type": "string", - "enum": [ - "CreateIndex", - "DropIndex", - "AnalyzeTable" - ], - "description": "Recommendations list filter. Retrieves recommendations based on type.", - "x-ms-enum": { - "name": "RecommendationType", + "name": "TuningOptionParameterEnum", "modelAsString": true }, "x-ms-parameter-location": "method" diff --git a/specification/quantum/Microsoft.Quantum.Management/examples/2025-11-01-preview/Offerings_List.json b/specification/quantum/Microsoft.Quantum.Management/examples/2025-11-01-preview/Offerings_List.json new file mode 100644 index 000000000000..29eacfba0b6f --- /dev/null +++ b/specification/quantum/Microsoft.Quantum.Management/examples/2025-11-01-preview/Offerings_List.json @@ -0,0 +1,97 @@ +{ + "operationId": "Offerings_List", + "title": "Offerings_List", + "parameters": { + "subscriptionId": "1C4B2828-7D49-494F-933D-061373BE28C2", + "api-version": "2025-11-01-preview", + "locationName": "westus2" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "QIO", + "name": "Quantum Inspired Optimization", + "properties": { + "description": "Provide Quantum Inspired Optimization solvers", + "targets": [ + { + "name": "CPU annealer", + "id": "p1", + "description": "CPU annealer algorithm", + "numQubits": 80, + "targetProfile": "unrestricted", + "metadata": { + "key": "value" + } + } + ], + "skus": [ + { + "name": "Standard", + "id": "Standard", + "version": "1.0", + "description": "Provider CPU and FPGA QIO based solver.", + "restrictedAccessUri": "https://endpoint", + "autoAdd": true, + "targets": [ + "p1" + ], + "quotaDimensions": [ + { + "id": "quota1", + "scope": "Workspace" + } + ], + "pricingDetails": [ + { + "id": "price", + "value": "200 dollars" + }, + { + "id": "rate", + "value": "10 hours/month" + } + ] + } + ], + "quotaDimensions": [ + { + "id": "job-count", + "scope": "Workspace", + "period": "Monthly", + "quota": 30, + "name": "Job count", + "description": "The number of jobs you may submit per month", + "unit": "job", + "unitPlural": "jobs" + }, + { + "id": "job-hour", + "scope": "Subscription", + "period": "Monthly", + "quota": 1000, + "name": "Job hours", + "description": "The number of hours of solver time you may use per month", + "unit": "hour", + "unitPlural": "hours" + } + ], + "pricingDimensions": [ + { + "id": "price", + "name": "Pricing" + }, + { + "id": "rate", + "name": "Minimum monthly rate" + } + ] + } + } + ] + } + } + } +} diff --git a/specification/quantum/Microsoft.Quantum.Management/examples/2025-11-01-preview/Operations_List.json b/specification/quantum/Microsoft.Quantum.Management/examples/2025-11-01-preview/Operations_List.json new file mode 100644 index 000000000000..ede46b59dd15 --- /dev/null +++ b/specification/quantum/Microsoft.Quantum.Management/examples/2025-11-01-preview/Operations_List.json @@ -0,0 +1,25 @@ +{ + "operationId": "Operations_List", + "title": "Operations_List", + "parameters": { + "api-version": "2025-11-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.Quantum/Locations/Offerings/Read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Quantum", + "resource": "Workspaces", + "operation": "Read quantum workspace's available providers", + "description": "Read providers supported" + } + } + ] + } + } + } +} diff --git a/specification/quantum/Microsoft.Quantum.Management/examples/2025-11-01-preview/SuiteOffers_ListBySubscription.json b/specification/quantum/Microsoft.Quantum.Management/examples/2025-11-01-preview/SuiteOffers_ListBySubscription.json new file mode 100644 index 000000000000..8d0fa2d6d0e2 --- /dev/null +++ b/specification/quantum/Microsoft.Quantum.Management/examples/2025-11-01-preview/SuiteOffers_ListBySubscription.json @@ -0,0 +1,32 @@ +{ + "operationId": "SuiteOffers_ListBySubscription", + "title": "SuiteOffers_ListBySubscription", + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "api-version": "2025-11-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Quantum/suiteOffers/provider1", + "name": "provider1", + "type": "Microsoft.Quantum/suiteOffers", + "properties": { + "providerId": "provider1", + "providerName": "Contoso Provider 1", + "description": "Contoso Provider 1 description", + "companyName": "Contoso", + "location": "West US", + "quotas": { + "standardMinutesLifetime": 5000, + "highMinutesLifetime": 200 + } + } + } + ] + } + } + } +} diff --git a/specification/quantum/Microsoft.Quantum.Management/examples/2025-11-01-preview/Workspaces_CheckNameAvailability.json b/specification/quantum/Microsoft.Quantum.Management/examples/2025-11-01-preview/Workspaces_CheckNameAvailability.json new file mode 100644 index 000000000000..e1a7cf26eeca --- /dev/null +++ b/specification/quantum/Microsoft.Quantum.Management/examples/2025-11-01-preview/Workspaces_CheckNameAvailability.json @@ -0,0 +1,22 @@ +{ + "operationId": "Workspaces_CheckNameAvailability", + "title": "Workspaces_CheckNameAvailability", + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "api-version": "2025-11-01-preview", + "location": "westus2", + "body": { + "name": "sample-workspace-name", + "type": "Microsoft.Quantum/Workspaces" + } + }, + "responses": { + "200": { + "body": { + "nameAvailable": false, + "reason": "AlreadyExists", + "message": "Resource name already exists" + } + } + } +} diff --git a/specification/quantum/Microsoft.Quantum.Management/examples/2025-11-01-preview/Workspaces_CreateOrUpdate.json b/specification/quantum/Microsoft.Quantum.Management/examples/2025-11-01-preview/Workspaces_CreateOrUpdate.json new file mode 100644 index 000000000000..4784fd4e4fc7 --- /dev/null +++ b/specification/quantum/Microsoft.Quantum.Management/examples/2025-11-01-preview/Workspaces_CreateOrUpdate.json @@ -0,0 +1,153 @@ +{ + "operationId": "Workspaces_CreateOrUpdate", + "title": "Workspaces_CreateOrUpdate", + "parameters": { + "workspaceName": "quantumworkspace1", + "resourceGroupName": "quantumResourcegroup", + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "api-version": "2025-11-01-preview", + "resource": { + "location": "West US", + "properties": { + "providers": [ + { + "providerId": "Honeywell", + "providerSku": "Basic" + }, + { + "providerId": "IonQ", + "providerSku": "Basic" + }, + { + "providerId": "OneQBit", + "providerSku": "Basic" + } + ], + "storageAccount": "/subscriptions/1C4B2828-7D49-494F-933D-061373BE28C2/resourceGroups/quantumResourcegroup/providers/Microsoft.Storage/storageAccounts/testStorageAccount", + "quotas": { + "standardMinutesLifetime": 500, + "highMinutesLifetime": 50 + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/quantumResourcegroup/providers/Microsoft.Quantum/Workspaces/quantumworkspace1", + "name": "quantumworkspace1", + "type": "Microsoft.Quantum/Workspaces", + "properties": { + "providers": [ + { + "providerId": "Honeywell", + "providerSku": "Basic", + "applicationName": "quantumworkspace1-h1", + "instanceUri": "https://h1.endpoint.com", + "provisioningState": "Succeeded", + "resourceUsageId": "00000000-1111-2222-3333-444444444444" + }, + { + "providerId": "IonQ", + "provisioningState": "Succeeded", + "applicationName": "quantumworkspace1-i1", + "instanceUri": "https://i1.endpoint.com", + "providerSku": "Basic", + "resourceUsageId": "00000000-1111-2222-3333-444444444445" + }, + { + "providerId": "OneQBit", + "provisioningState": "Succeeded", + "applicationName": "quantumworkspace1-o1", + "instanceUri": "https://o1.endpoint.com", + "providerSku": "Basic", + "resourceUsageId": "00000000-1111-2222-3333-444444444446" + } + ], + "provisioningState": "Succeeded", + "usable": "Yes", + "workspaceKind": "V1", + "storageAccount": "/subscriptions/1C4B2828-7D49-494F-933D-061373BE28C2/resourceGroups/quantumResourcegroup/providers/Microsoft.Storage/storageAccounts/testStorageAccount", + "endpointUri": "https://quantumworkspace1.westus.quantum.azure.com", + "apiKeyEnabled": true, + "quotas": { + "standardMinutesLifetime": 500, + "highMinutesLifetime": 50 + } + }, + "location": "West US", + "tags": { + "department": "MightyMight", + "company": "Contoso" + }, + "identity": { + "type": "SystemAssigned", + "principalId": "00000000-1111-2222-3333-444444444444", + "tenantId": "00000000-1111-2222-3333-444444444444" + }, + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2020-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/quantumResourcegroup/providers/Microsoft.Quantum/Workspaces/quantumworkspace1", + "name": "quantumworkspace1", + "properties": { + "providers": [ + { + "providerId": "Honeywell", + "providerSku": "Basic", + "applicationName": "quantumworkspace1-h1", + "provisioningState": "Launching" + }, + { + "providerId": "IonQ", + "provisioningState": "Launching", + "applicationName": "quantumworkspace1-i1", + "providerSku": "Basic" + }, + { + "providerId": "OneQBit", + "provisioningState": "Launching", + "applicationName": "quantumworkspace1-o1", + "providerSku": "Basic" + } + ], + "provisioningState": "ProviderLaunching", + "usable": "No", + "workspaceKind": "V1", + "apiKeyEnabled": true, + "quotas": { + "standardMinutesLifetime": 500, + "highMinutesLifetime": 50 + } + }, + "location": "West US", + "tags": { + "department": "MightyMight", + "company": "Contoso" + }, + "identity": { + "type": "SystemAssigned", + "principalId": "00000000-1111-2222-3333-444444444444", + "tenantId": "00000000-1111-2222-3333-444444444444" + }, + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2020-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" + } + } + } + } +} diff --git a/specification/quantum/Microsoft.Quantum.Management/examples/2025-11-01-preview/Workspaces_Delete.json b/specification/quantum/Microsoft.Quantum.Management/examples/2025-11-01-preview/Workspaces_Delete.json new file mode 100644 index 000000000000..24111ffb1c4f --- /dev/null +++ b/specification/quantum/Microsoft.Quantum.Management/examples/2025-11-01-preview/Workspaces_Delete.json @@ -0,0 +1,24 @@ +{ + "operationId": "Workspaces_Delete", + "title": "Workspaces_Delete", + "parameters": { + "workspaceName": "quantumworkspace1", + "resourceGroupName": "quantumResourcegroup", + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "api-version": "2025-11-01-preview" + }, + "responses": { + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/quantumResourcegroup/providers/Microsoft.Quantum/locations/eastus/operationStatus/default/operationId/00000000-0000-0000-0000-000000000000?api-version=2023-11-13-preview" + }, + "description": "Workspace delete request accepted." + }, + "204": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/quantumResourcegroup/providers/Microsoft.Quantum/locations/eastus/operationStatus/default/operationId/00000000-0000-0000-0000-000000000000?api-version=2023-11-13-preview" + }, + "description": "Workspace does not exist." + } + } +} diff --git a/specification/quantum/Microsoft.Quantum.Management/examples/2025-11-01-preview/Workspaces_Get.json b/specification/quantum/Microsoft.Quantum.Management/examples/2025-11-01-preview/Workspaces_Get.json new file mode 100644 index 000000000000..515435f621e7 --- /dev/null +++ b/specification/quantum/Microsoft.Quantum.Management/examples/2025-11-01-preview/Workspaces_Get.json @@ -0,0 +1,75 @@ +{ + "operationId": "Workspaces_Get", + "title": "Workspaces_Get", + "parameters": { + "workspaceName": "quantumworkspace1", + "resourceGroupName": "quantumResourcegroup", + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "api-version": "2025-11-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/quantumResourcegroup/providers/Microsoft.Quantum/Workspaces/quantumworkspace1", + "name": "quantumworkspace1", + "type": "Microsoft.Quantum/Workspaces", + "properties": { + "providers": [ + { + "providerId": "Honeywell", + "providerSku": "Basic", + "applicationName": "quantumworkspace1-h1", + "instanceUri": "https://h1.endpoint.com", + "provisioningState": "Succeeded", + "resourceUsageId": "00000000-1111-2222-3333-444444444444" + }, + { + "providerId": "IonQ", + "provisioningState": "Succeeded", + "applicationName": "quantumworkspace1-i1", + "instanceUri": "https://i1.endpoint.com", + "providerSku": "Basic", + "resourceUsageId": "00000000-1111-2222-3333-444444444444" + }, + { + "providerId": "OneQBit", + "provisioningState": "Succeeded", + "applicationName": "quantumworkspace1-o1", + "instanceUri": "https://o1.endpoint.com", + "providerSku": "Basic", + "resourceUsageId": "00000000-1111-2222-3333-444444444444" + } + ], + "provisioningState": "Succeeded", + "usable": "Yes", + "storageAccount": "/subscriptions/1C4B2828-7D49-494F-933D-061373BE28C2/resourceGroups/quantumResourcegroup/providers/Microsoft.Storage/storageAccounts/testStorageAccount", + "workspaceKind": "V1", + "endpointUri": "https://quantumworkspace1.westus.quantum.azure.com", + "apiKeyEnabled": true, + "quotas": { + "standardMinutesLifetime": 500, + "highMinutesLifetime": 50 + } + }, + "location": "West US", + "tags": { + "department": "MightyMight", + "company": "Contoso" + }, + "identity": { + "type": "SystemAssigned", + "principalId": "00000000-1111-2222-3333-444444444444", + "tenantId": "00000000-1111-2222-3333-444444444444" + }, + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2020-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" + } + } + } + } +} diff --git a/specification/quantum/Microsoft.Quantum.Management/examples/2025-11-01-preview/Workspaces_ListByResourceGroup.json b/specification/quantum/Microsoft.Quantum.Management/examples/2025-11-01-preview/Workspaces_ListByResourceGroup.json new file mode 100644 index 000000000000..84a7727ed2c1 --- /dev/null +++ b/specification/quantum/Microsoft.Quantum.Management/examples/2025-11-01-preview/Workspaces_ListByResourceGroup.json @@ -0,0 +1,62 @@ +{ + "operationId": "Workspaces_ListByResourceGroup", + "title": "Workspaces_ListByResourceGroup", + "parameters": { + "resourceGroupName": "quantumResourcegroup", + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "api-version": "2025-11-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/quantumResourcegroup/providers/Microsoft.Quantum/Workspaces/quantumworkspace1", + "name": "quantumworkspace1", + "type": "Microsoft.Quantum/Workspaces", + "properties": { + "providers": [ + { + "providerId": "Honeywell", + "providerSku": "Basic", + "applicationName": "quantumworkspace1-h1", + "instanceUri": "https://h1.endpoint.com", + "provisioningState": "Succeeded", + "resourceUsageId": "00000000-1111-2222-3333-444444444444" + } + ], + "provisioningState": "Succeeded", + "usable": "Yes", + "storageAccount": "/subscriptions/1C4B2828-7D49-494F-933D-061373BE28C2/resourceGroups/quantumResourcegroup/providers/Microsoft.Storage/storageAccounts/testStorageAccount", + "workspaceKind": "V1", + "endpointUri": "https://quantumworkspace1.westus.quantum.azure.com", + "apiKeyEnabled": true, + "quotas": { + "standardMinutesLifetime": 500, + "highMinutesLifetime": 50 + } + }, + "location": "West US", + "tags": { + "department": "MightyMight", + "company": "Contoso" + }, + "identity": { + "type": "SystemAssigned", + "principalId": "00000000-1111-2222-3333-444444444444", + "tenantId": "00000000-1111-2222-3333-444444444444" + }, + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2020-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" + } + } + ] + } + } + } +} diff --git a/specification/quantum/Microsoft.Quantum.Management/examples/2025-11-01-preview/Workspaces_ListBySubscription.json b/specification/quantum/Microsoft.Quantum.Management/examples/2025-11-01-preview/Workspaces_ListBySubscription.json new file mode 100644 index 000000000000..6e35b9ff722d --- /dev/null +++ b/specification/quantum/Microsoft.Quantum.Management/examples/2025-11-01-preview/Workspaces_ListBySubscription.json @@ -0,0 +1,61 @@ +{ + "operationId": "Workspaces_ListBySubscription", + "title": "Workspaces_ListBySubscription", + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "api-version": "2025-11-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/quantumResourcegroup/providers/Microsoft.Quantum/Workspaces/quantumworkspace1", + "name": "quantumworkspace1", + "type": "Microsoft.Quantum/Workspaces", + "properties": { + "providers": [ + { + "providerId": "Honeywell", + "providerSku": "Basic", + "applicationName": "quantumworkspace1-h1", + "instanceUri": "https://h1.endpoint.com", + "provisioningState": "Succeeded", + "resourceUsageId": "00000000-1111-2222-3333-444444444444" + } + ], + "provisioningState": "Succeeded", + "usable": "Yes", + "storageAccount": "/subscriptions/1C4B2828-7D49-494F-933D-061373BE28C2/resourceGroups/quantumResourcegroup/providers/Microsoft.Storage/storageAccounts/testStorageAccount", + "workspaceKind": "V1", + "endpointUri": "https://quantumworkspace1.westus.quantum.azure.com", + "apiKeyEnabled": true, + "quotas": { + "standardMinutesLifetime": 500, + "highMinutesLifetime": 50 + } + }, + "location": "West US", + "tags": { + "department": "MightyMight", + "company": "Contoso" + }, + "identity": { + "type": "SystemAssigned", + "principalId": "00000000-1111-2222-3333-444444444444", + "tenantId": "00000000-1111-2222-3333-444444444444" + }, + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2020-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" + } + } + ] + } + } + } +} diff --git a/specification/quantum/Microsoft.Quantum.Management/examples/2025-11-01-preview/Workspaces_ListKeys.json b/specification/quantum/Microsoft.Quantum.Management/examples/2025-11-01-preview/Workspaces_ListKeys.json new file mode 100644 index 000000000000..dc3f41a610cd --- /dev/null +++ b/specification/quantum/Microsoft.Quantum.Management/examples/2025-11-01-preview/Workspaces_ListKeys.json @@ -0,0 +1,27 @@ +{ + "operationId": "Workspaces_ListKeys", + "title": "Workspaces_ListKeys", + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "api-version": "2025-11-01-preview", + "resourceGroupName": "quantumResourcegroup", + "workspaceName": "quantumworkspace1" + }, + "responses": { + "200": { + "body": { + "apiKeyEnabled": true, + "primaryKey": { + "createdAt": "2023-11-13T23:06:09.147165Z", + "key": "" + }, + "secondaryKey": { + "createdAt": "2023-11-13T23:06:09.147165Z", + "key": "" + }, + "primaryConnectionString": "", + "secondaryConnectionString": "" + } + } + } +} diff --git a/specification/quantum/Microsoft.Quantum.Management/examples/2025-11-01-preview/Workspaces_RegenerateKeys.json b/specification/quantum/Microsoft.Quantum.Management/examples/2025-11-01-preview/Workspaces_RegenerateKeys.json new file mode 100644 index 000000000000..d7dd18541ed9 --- /dev/null +++ b/specification/quantum/Microsoft.Quantum.Management/examples/2025-11-01-preview/Workspaces_RegenerateKeys.json @@ -0,0 +1,19 @@ +{ + "operationId": "Workspaces_RegenerateKeys", + "title": "Workspaces_RegenerateKeys", + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "api-version": "2025-11-01-preview", + "resourceGroupName": "quantumResourcegroup", + "workspaceName": "quantumworkspace1", + "body": { + "keys": [ + "Primary", + "Secondary" + ] + } + }, + "responses": { + "204": {} + } +} diff --git a/specification/quantum/Microsoft.Quantum.Management/examples/2025-11-01-preview/Workspaces_UpdateTags.json b/specification/quantum/Microsoft.Quantum.Management/examples/2025-11-01-preview/Workspaces_UpdateTags.json new file mode 100644 index 000000000000..81072529d10e --- /dev/null +++ b/specification/quantum/Microsoft.Quantum.Management/examples/2025-11-01-preview/Workspaces_UpdateTags.json @@ -0,0 +1,81 @@ +{ + "operationId": "Workspaces_UpdateTags", + "title": "Workspaces_UpdateTags", + "parameters": { + "workspaceName": "quantumworkspace1", + "resourceGroupName": "quantumResourcegroup", + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "api-version": "2025-11-01-preview", + "properties": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/quantumResourcegroup/providers/Microsoft.Quantum/Workspaces/quantumworkspace1", + "name": "quantumworkspace1", + "type": "Microsoft.Quantum/Workspaces", + "properties": { + "providers": [ + { + "providerId": "Honeywell", + "providerSku": "Basic", + "applicationName": "quantumworkspace1-h1", + "instanceUri": "https://h1.endpoint.com", + "provisioningState": "Succeeded", + "resourceUsageId": "00000000-1111-2222-3333-444444444444" + }, + { + "providerId": "IonQ", + "provisioningState": "Succeeded", + "applicationName": "quantumworkspace1-i1", + "instanceUri": "https://i1.endpoint.com", + "providerSku": "Basic", + "resourceUsageId": "00000000-1111-2222-3333-444444444445" + }, + { + "providerId": "OneQBit", + "provisioningState": "Succeeded", + "applicationName": "quantumworkspace1-o1", + "instanceUri": "https://o1.endpoint.com", + "providerSku": "Basic", + "resourceUsageId": "00000000-1111-2222-3333-444444444446" + } + ], + "provisioningState": "Succeeded", + "usable": "Yes", + "storageAccount": "/subscriptions/1C4B2828-7D49-494F-933D-061373BE28C2/resourceGroups/quantumResourcegroup/providers/Microsoft.Storage/storageAccounts/testStorageAccount", + "workspaceKind": "V1", + "endpointUri": "https://quantumworkspace1.westus.quantum.azure.com", + "apiKeyEnabled": true, + "quotas": { + "standardMinutesLifetime": 500, + "highMinutesLifetime": 50 + } + }, + "location": "West US", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "identity": { + "type": "SystemAssigned", + "principalId": "00000000-1111-2222-3333-444444444444", + "tenantId": "00000000-1111-2222-3333-444444444444" + }, + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2020-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" + } + } + } + } +} diff --git a/specification/quantum/Microsoft.Quantum.Management/main.tsp b/specification/quantum/Microsoft.Quantum.Management/main.tsp index 3a1fdc5b16dd..255e66ae5469 100644 --- a/specification/quantum/Microsoft.Quantum.Management/main.tsp +++ b/specification/quantum/Microsoft.Quantum.Management/main.tsp @@ -52,6 +52,12 @@ enum Versions { */ @armCommonTypesVersion(Azure.ResourceManager.CommonTypes.Versions.v5) v2025_08_11_preview: "2025-08-11-preview", + + /** + * The 2025-11-01-preview API version. + */ + @armCommonTypesVersion(Azure.ResourceManager.CommonTypes.Versions.v5) + v2025_11_01_preview: "2025-11-01-preview", } interface Operations extends Azure.ResourceManager.Operations {} diff --git a/specification/quantum/Microsoft.Quantum.Management/models.tsp b/specification/quantum/Microsoft.Quantum.Management/models.tsp index 33f8fedc3e6f..f022189617b6 100644 --- a/specification/quantum/Microsoft.Quantum.Management/models.tsp +++ b/specification/quantum/Microsoft.Quantum.Management/models.tsp @@ -91,6 +91,19 @@ union KeyType { Secondary: "Secondary", } +/** + * The workspace type. + */ +union WorkspaceKind { + string, + + /** The workspace is a general-purpose workspace. */ + V1: "V1", + + /** The workspace is a V2 workspace. */ + V2: "V2", +} + /** * The response of a list Providers operation. */ @@ -238,6 +251,30 @@ model TargetDescription { * List of content encodings accepted by this target. */ acceptedContentEncodings?: string[]; + + /** + * The qubit number + */ + @added(Versions.v2025_11_01_preview) + @visibility(Lifecycle.Read) + @minValue(1) + @maxValue(100000) + numQubits?: int32; + + /** + * Target QIR profile + */ + @added(Versions.v2025_11_01_preview) + @visibility(Lifecycle.Read) + targetProfile?: string; + + /** + * The metadata of this target. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "Approved by ARM API review for metadata property." + @added(Versions.v2025_11_01_preview) + @visibility(Lifecycle.Read) + metadata?: Record; } /** @@ -393,6 +430,12 @@ model WorkspaceResourceProperties { @typeChangedFrom(Versions.v2025_01_01_preview, string) storageAccount?: StorageAccountResourceId; + /** + * Whether this workspace is V1 or V2. + */ + @added(Versions.v2025_11_01_preview) + workspaceKind?: WorkspaceKind; + /** * The URI of the workspace endpoint. */ diff --git a/specification/quantum/Microsoft.Quantum.Management/routes.tsp b/specification/quantum/Microsoft.Quantum.Management/routes.tsp index 2dcb5a6f3983..bef31dabb0f6 100644 --- a/specification/quantum/Microsoft.Quantum.Management/routes.tsp +++ b/specification/quantum/Microsoft.Quantum.Management/routes.tsp @@ -41,6 +41,13 @@ interface Offerings { @segment("locations") @typeChangedFrom(Versions.v2025_01_01_preview, string) locationName: AzureLocationParameter; + + /** + * The filter to apply to the operation. Example: '$filter=kind eq 'v1' + */ + @added(Versions.v2025_11_01_preview) + @query("filter") + filter?: string; } >; } diff --git a/specification/quantum/cspell.yaml b/specification/quantum/cspell.yaml index de22aa2d7805..bc6d7a2bb6be 100644 --- a/specification/quantum/cspell.yaml +++ b/specification/quantum/cspell.yaml @@ -13,4 +13,6 @@ words: - sesssions - unversioned - mobo + - Qubits + - qubit diff --git a/specification/quantum/resource-manager/Microsoft.Quantum/preview/2025-11-01-preview/examples/Offerings_List.json b/specification/quantum/resource-manager/Microsoft.Quantum/preview/2025-11-01-preview/examples/Offerings_List.json new file mode 100644 index 000000000000..29eacfba0b6f --- /dev/null +++ b/specification/quantum/resource-manager/Microsoft.Quantum/preview/2025-11-01-preview/examples/Offerings_List.json @@ -0,0 +1,97 @@ +{ + "operationId": "Offerings_List", + "title": "Offerings_List", + "parameters": { + "subscriptionId": "1C4B2828-7D49-494F-933D-061373BE28C2", + "api-version": "2025-11-01-preview", + "locationName": "westus2" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "QIO", + "name": "Quantum Inspired Optimization", + "properties": { + "description": "Provide Quantum Inspired Optimization solvers", + "targets": [ + { + "name": "CPU annealer", + "id": "p1", + "description": "CPU annealer algorithm", + "numQubits": 80, + "targetProfile": "unrestricted", + "metadata": { + "key": "value" + } + } + ], + "skus": [ + { + "name": "Standard", + "id": "Standard", + "version": "1.0", + "description": "Provider CPU and FPGA QIO based solver.", + "restrictedAccessUri": "https://endpoint", + "autoAdd": true, + "targets": [ + "p1" + ], + "quotaDimensions": [ + { + "id": "quota1", + "scope": "Workspace" + } + ], + "pricingDetails": [ + { + "id": "price", + "value": "200 dollars" + }, + { + "id": "rate", + "value": "10 hours/month" + } + ] + } + ], + "quotaDimensions": [ + { + "id": "job-count", + "scope": "Workspace", + "period": "Monthly", + "quota": 30, + "name": "Job count", + "description": "The number of jobs you may submit per month", + "unit": "job", + "unitPlural": "jobs" + }, + { + "id": "job-hour", + "scope": "Subscription", + "period": "Monthly", + "quota": 1000, + "name": "Job hours", + "description": "The number of hours of solver time you may use per month", + "unit": "hour", + "unitPlural": "hours" + } + ], + "pricingDimensions": [ + { + "id": "price", + "name": "Pricing" + }, + { + "id": "rate", + "name": "Minimum monthly rate" + } + ] + } + } + ] + } + } + } +} diff --git a/specification/quantum/resource-manager/Microsoft.Quantum/preview/2025-11-01-preview/examples/Operations_List.json b/specification/quantum/resource-manager/Microsoft.Quantum/preview/2025-11-01-preview/examples/Operations_List.json new file mode 100644 index 000000000000..ede46b59dd15 --- /dev/null +++ b/specification/quantum/resource-manager/Microsoft.Quantum/preview/2025-11-01-preview/examples/Operations_List.json @@ -0,0 +1,25 @@ +{ + "operationId": "Operations_List", + "title": "Operations_List", + "parameters": { + "api-version": "2025-11-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.Quantum/Locations/Offerings/Read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Quantum", + "resource": "Workspaces", + "operation": "Read quantum workspace's available providers", + "description": "Read providers supported" + } + } + ] + } + } + } +} diff --git a/specification/quantum/resource-manager/Microsoft.Quantum/preview/2025-11-01-preview/examples/SuiteOffers_ListBySubscription.json b/specification/quantum/resource-manager/Microsoft.Quantum/preview/2025-11-01-preview/examples/SuiteOffers_ListBySubscription.json new file mode 100644 index 000000000000..8d0fa2d6d0e2 --- /dev/null +++ b/specification/quantum/resource-manager/Microsoft.Quantum/preview/2025-11-01-preview/examples/SuiteOffers_ListBySubscription.json @@ -0,0 +1,32 @@ +{ + "operationId": "SuiteOffers_ListBySubscription", + "title": "SuiteOffers_ListBySubscription", + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "api-version": "2025-11-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Quantum/suiteOffers/provider1", + "name": "provider1", + "type": "Microsoft.Quantum/suiteOffers", + "properties": { + "providerId": "provider1", + "providerName": "Contoso Provider 1", + "description": "Contoso Provider 1 description", + "companyName": "Contoso", + "location": "West US", + "quotas": { + "standardMinutesLifetime": 5000, + "highMinutesLifetime": 200 + } + } + } + ] + } + } + } +} diff --git a/specification/quantum/resource-manager/Microsoft.Quantum/preview/2025-11-01-preview/examples/Workspaces_CheckNameAvailability.json b/specification/quantum/resource-manager/Microsoft.Quantum/preview/2025-11-01-preview/examples/Workspaces_CheckNameAvailability.json new file mode 100644 index 000000000000..e1a7cf26eeca --- /dev/null +++ b/specification/quantum/resource-manager/Microsoft.Quantum/preview/2025-11-01-preview/examples/Workspaces_CheckNameAvailability.json @@ -0,0 +1,22 @@ +{ + "operationId": "Workspaces_CheckNameAvailability", + "title": "Workspaces_CheckNameAvailability", + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "api-version": "2025-11-01-preview", + "location": "westus2", + "body": { + "name": "sample-workspace-name", + "type": "Microsoft.Quantum/Workspaces" + } + }, + "responses": { + "200": { + "body": { + "nameAvailable": false, + "reason": "AlreadyExists", + "message": "Resource name already exists" + } + } + } +} diff --git a/specification/quantum/resource-manager/Microsoft.Quantum/preview/2025-11-01-preview/examples/Workspaces_CreateOrUpdate.json b/specification/quantum/resource-manager/Microsoft.Quantum/preview/2025-11-01-preview/examples/Workspaces_CreateOrUpdate.json new file mode 100644 index 000000000000..4784fd4e4fc7 --- /dev/null +++ b/specification/quantum/resource-manager/Microsoft.Quantum/preview/2025-11-01-preview/examples/Workspaces_CreateOrUpdate.json @@ -0,0 +1,153 @@ +{ + "operationId": "Workspaces_CreateOrUpdate", + "title": "Workspaces_CreateOrUpdate", + "parameters": { + "workspaceName": "quantumworkspace1", + "resourceGroupName": "quantumResourcegroup", + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "api-version": "2025-11-01-preview", + "resource": { + "location": "West US", + "properties": { + "providers": [ + { + "providerId": "Honeywell", + "providerSku": "Basic" + }, + { + "providerId": "IonQ", + "providerSku": "Basic" + }, + { + "providerId": "OneQBit", + "providerSku": "Basic" + } + ], + "storageAccount": "/subscriptions/1C4B2828-7D49-494F-933D-061373BE28C2/resourceGroups/quantumResourcegroup/providers/Microsoft.Storage/storageAccounts/testStorageAccount", + "quotas": { + "standardMinutesLifetime": 500, + "highMinutesLifetime": 50 + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/quantumResourcegroup/providers/Microsoft.Quantum/Workspaces/quantumworkspace1", + "name": "quantumworkspace1", + "type": "Microsoft.Quantum/Workspaces", + "properties": { + "providers": [ + { + "providerId": "Honeywell", + "providerSku": "Basic", + "applicationName": "quantumworkspace1-h1", + "instanceUri": "https://h1.endpoint.com", + "provisioningState": "Succeeded", + "resourceUsageId": "00000000-1111-2222-3333-444444444444" + }, + { + "providerId": "IonQ", + "provisioningState": "Succeeded", + "applicationName": "quantumworkspace1-i1", + "instanceUri": "https://i1.endpoint.com", + "providerSku": "Basic", + "resourceUsageId": "00000000-1111-2222-3333-444444444445" + }, + { + "providerId": "OneQBit", + "provisioningState": "Succeeded", + "applicationName": "quantumworkspace1-o1", + "instanceUri": "https://o1.endpoint.com", + "providerSku": "Basic", + "resourceUsageId": "00000000-1111-2222-3333-444444444446" + } + ], + "provisioningState": "Succeeded", + "usable": "Yes", + "workspaceKind": "V1", + "storageAccount": "/subscriptions/1C4B2828-7D49-494F-933D-061373BE28C2/resourceGroups/quantumResourcegroup/providers/Microsoft.Storage/storageAccounts/testStorageAccount", + "endpointUri": "https://quantumworkspace1.westus.quantum.azure.com", + "apiKeyEnabled": true, + "quotas": { + "standardMinutesLifetime": 500, + "highMinutesLifetime": 50 + } + }, + "location": "West US", + "tags": { + "department": "MightyMight", + "company": "Contoso" + }, + "identity": { + "type": "SystemAssigned", + "principalId": "00000000-1111-2222-3333-444444444444", + "tenantId": "00000000-1111-2222-3333-444444444444" + }, + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2020-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/quantumResourcegroup/providers/Microsoft.Quantum/Workspaces/quantumworkspace1", + "name": "quantumworkspace1", + "properties": { + "providers": [ + { + "providerId": "Honeywell", + "providerSku": "Basic", + "applicationName": "quantumworkspace1-h1", + "provisioningState": "Launching" + }, + { + "providerId": "IonQ", + "provisioningState": "Launching", + "applicationName": "quantumworkspace1-i1", + "providerSku": "Basic" + }, + { + "providerId": "OneQBit", + "provisioningState": "Launching", + "applicationName": "quantumworkspace1-o1", + "providerSku": "Basic" + } + ], + "provisioningState": "ProviderLaunching", + "usable": "No", + "workspaceKind": "V1", + "apiKeyEnabled": true, + "quotas": { + "standardMinutesLifetime": 500, + "highMinutesLifetime": 50 + } + }, + "location": "West US", + "tags": { + "department": "MightyMight", + "company": "Contoso" + }, + "identity": { + "type": "SystemAssigned", + "principalId": "00000000-1111-2222-3333-444444444444", + "tenantId": "00000000-1111-2222-3333-444444444444" + }, + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2020-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" + } + } + } + } +} diff --git a/specification/quantum/resource-manager/Microsoft.Quantum/preview/2025-11-01-preview/examples/Workspaces_Delete.json b/specification/quantum/resource-manager/Microsoft.Quantum/preview/2025-11-01-preview/examples/Workspaces_Delete.json new file mode 100644 index 000000000000..24111ffb1c4f --- /dev/null +++ b/specification/quantum/resource-manager/Microsoft.Quantum/preview/2025-11-01-preview/examples/Workspaces_Delete.json @@ -0,0 +1,24 @@ +{ + "operationId": "Workspaces_Delete", + "title": "Workspaces_Delete", + "parameters": { + "workspaceName": "quantumworkspace1", + "resourceGroupName": "quantumResourcegroup", + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "api-version": "2025-11-01-preview" + }, + "responses": { + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/quantumResourcegroup/providers/Microsoft.Quantum/locations/eastus/operationStatus/default/operationId/00000000-0000-0000-0000-000000000000?api-version=2023-11-13-preview" + }, + "description": "Workspace delete request accepted." + }, + "204": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/quantumResourcegroup/providers/Microsoft.Quantum/locations/eastus/operationStatus/default/operationId/00000000-0000-0000-0000-000000000000?api-version=2023-11-13-preview" + }, + "description": "Workspace does not exist." + } + } +} diff --git a/specification/quantum/resource-manager/Microsoft.Quantum/preview/2025-11-01-preview/examples/Workspaces_Get.json b/specification/quantum/resource-manager/Microsoft.Quantum/preview/2025-11-01-preview/examples/Workspaces_Get.json new file mode 100644 index 000000000000..515435f621e7 --- /dev/null +++ b/specification/quantum/resource-manager/Microsoft.Quantum/preview/2025-11-01-preview/examples/Workspaces_Get.json @@ -0,0 +1,75 @@ +{ + "operationId": "Workspaces_Get", + "title": "Workspaces_Get", + "parameters": { + "workspaceName": "quantumworkspace1", + "resourceGroupName": "quantumResourcegroup", + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "api-version": "2025-11-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/quantumResourcegroup/providers/Microsoft.Quantum/Workspaces/quantumworkspace1", + "name": "quantumworkspace1", + "type": "Microsoft.Quantum/Workspaces", + "properties": { + "providers": [ + { + "providerId": "Honeywell", + "providerSku": "Basic", + "applicationName": "quantumworkspace1-h1", + "instanceUri": "https://h1.endpoint.com", + "provisioningState": "Succeeded", + "resourceUsageId": "00000000-1111-2222-3333-444444444444" + }, + { + "providerId": "IonQ", + "provisioningState": "Succeeded", + "applicationName": "quantumworkspace1-i1", + "instanceUri": "https://i1.endpoint.com", + "providerSku": "Basic", + "resourceUsageId": "00000000-1111-2222-3333-444444444444" + }, + { + "providerId": "OneQBit", + "provisioningState": "Succeeded", + "applicationName": "quantumworkspace1-o1", + "instanceUri": "https://o1.endpoint.com", + "providerSku": "Basic", + "resourceUsageId": "00000000-1111-2222-3333-444444444444" + } + ], + "provisioningState": "Succeeded", + "usable": "Yes", + "storageAccount": "/subscriptions/1C4B2828-7D49-494F-933D-061373BE28C2/resourceGroups/quantumResourcegroup/providers/Microsoft.Storage/storageAccounts/testStorageAccount", + "workspaceKind": "V1", + "endpointUri": "https://quantumworkspace1.westus.quantum.azure.com", + "apiKeyEnabled": true, + "quotas": { + "standardMinutesLifetime": 500, + "highMinutesLifetime": 50 + } + }, + "location": "West US", + "tags": { + "department": "MightyMight", + "company": "Contoso" + }, + "identity": { + "type": "SystemAssigned", + "principalId": "00000000-1111-2222-3333-444444444444", + "tenantId": "00000000-1111-2222-3333-444444444444" + }, + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2020-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" + } + } + } + } +} diff --git a/specification/quantum/resource-manager/Microsoft.Quantum/preview/2025-11-01-preview/examples/Workspaces_ListByResourceGroup.json b/specification/quantum/resource-manager/Microsoft.Quantum/preview/2025-11-01-preview/examples/Workspaces_ListByResourceGroup.json new file mode 100644 index 000000000000..84a7727ed2c1 --- /dev/null +++ b/specification/quantum/resource-manager/Microsoft.Quantum/preview/2025-11-01-preview/examples/Workspaces_ListByResourceGroup.json @@ -0,0 +1,62 @@ +{ + "operationId": "Workspaces_ListByResourceGroup", + "title": "Workspaces_ListByResourceGroup", + "parameters": { + "resourceGroupName": "quantumResourcegroup", + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "api-version": "2025-11-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/quantumResourcegroup/providers/Microsoft.Quantum/Workspaces/quantumworkspace1", + "name": "quantumworkspace1", + "type": "Microsoft.Quantum/Workspaces", + "properties": { + "providers": [ + { + "providerId": "Honeywell", + "providerSku": "Basic", + "applicationName": "quantumworkspace1-h1", + "instanceUri": "https://h1.endpoint.com", + "provisioningState": "Succeeded", + "resourceUsageId": "00000000-1111-2222-3333-444444444444" + } + ], + "provisioningState": "Succeeded", + "usable": "Yes", + "storageAccount": "/subscriptions/1C4B2828-7D49-494F-933D-061373BE28C2/resourceGroups/quantumResourcegroup/providers/Microsoft.Storage/storageAccounts/testStorageAccount", + "workspaceKind": "V1", + "endpointUri": "https://quantumworkspace1.westus.quantum.azure.com", + "apiKeyEnabled": true, + "quotas": { + "standardMinutesLifetime": 500, + "highMinutesLifetime": 50 + } + }, + "location": "West US", + "tags": { + "department": "MightyMight", + "company": "Contoso" + }, + "identity": { + "type": "SystemAssigned", + "principalId": "00000000-1111-2222-3333-444444444444", + "tenantId": "00000000-1111-2222-3333-444444444444" + }, + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2020-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" + } + } + ] + } + } + } +} diff --git a/specification/quantum/resource-manager/Microsoft.Quantum/preview/2025-11-01-preview/examples/Workspaces_ListBySubscription.json b/specification/quantum/resource-manager/Microsoft.Quantum/preview/2025-11-01-preview/examples/Workspaces_ListBySubscription.json new file mode 100644 index 000000000000..6e35b9ff722d --- /dev/null +++ b/specification/quantum/resource-manager/Microsoft.Quantum/preview/2025-11-01-preview/examples/Workspaces_ListBySubscription.json @@ -0,0 +1,61 @@ +{ + "operationId": "Workspaces_ListBySubscription", + "title": "Workspaces_ListBySubscription", + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "api-version": "2025-11-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/quantumResourcegroup/providers/Microsoft.Quantum/Workspaces/quantumworkspace1", + "name": "quantumworkspace1", + "type": "Microsoft.Quantum/Workspaces", + "properties": { + "providers": [ + { + "providerId": "Honeywell", + "providerSku": "Basic", + "applicationName": "quantumworkspace1-h1", + "instanceUri": "https://h1.endpoint.com", + "provisioningState": "Succeeded", + "resourceUsageId": "00000000-1111-2222-3333-444444444444" + } + ], + "provisioningState": "Succeeded", + "usable": "Yes", + "storageAccount": "/subscriptions/1C4B2828-7D49-494F-933D-061373BE28C2/resourceGroups/quantumResourcegroup/providers/Microsoft.Storage/storageAccounts/testStorageAccount", + "workspaceKind": "V1", + "endpointUri": "https://quantumworkspace1.westus.quantum.azure.com", + "apiKeyEnabled": true, + "quotas": { + "standardMinutesLifetime": 500, + "highMinutesLifetime": 50 + } + }, + "location": "West US", + "tags": { + "department": "MightyMight", + "company": "Contoso" + }, + "identity": { + "type": "SystemAssigned", + "principalId": "00000000-1111-2222-3333-444444444444", + "tenantId": "00000000-1111-2222-3333-444444444444" + }, + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2020-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" + } + } + ] + } + } + } +} diff --git a/specification/quantum/resource-manager/Microsoft.Quantum/preview/2025-11-01-preview/examples/Workspaces_ListKeys.json b/specification/quantum/resource-manager/Microsoft.Quantum/preview/2025-11-01-preview/examples/Workspaces_ListKeys.json new file mode 100644 index 000000000000..dc3f41a610cd --- /dev/null +++ b/specification/quantum/resource-manager/Microsoft.Quantum/preview/2025-11-01-preview/examples/Workspaces_ListKeys.json @@ -0,0 +1,27 @@ +{ + "operationId": "Workspaces_ListKeys", + "title": "Workspaces_ListKeys", + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "api-version": "2025-11-01-preview", + "resourceGroupName": "quantumResourcegroup", + "workspaceName": "quantumworkspace1" + }, + "responses": { + "200": { + "body": { + "apiKeyEnabled": true, + "primaryKey": { + "createdAt": "2023-11-13T23:06:09.147165Z", + "key": "" + }, + "secondaryKey": { + "createdAt": "2023-11-13T23:06:09.147165Z", + "key": "" + }, + "primaryConnectionString": "", + "secondaryConnectionString": "" + } + } + } +} diff --git a/specification/quantum/resource-manager/Microsoft.Quantum/preview/2025-11-01-preview/examples/Workspaces_RegenerateKeys.json b/specification/quantum/resource-manager/Microsoft.Quantum/preview/2025-11-01-preview/examples/Workspaces_RegenerateKeys.json new file mode 100644 index 000000000000..d7dd18541ed9 --- /dev/null +++ b/specification/quantum/resource-manager/Microsoft.Quantum/preview/2025-11-01-preview/examples/Workspaces_RegenerateKeys.json @@ -0,0 +1,19 @@ +{ + "operationId": "Workspaces_RegenerateKeys", + "title": "Workspaces_RegenerateKeys", + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "api-version": "2025-11-01-preview", + "resourceGroupName": "quantumResourcegroup", + "workspaceName": "quantumworkspace1", + "body": { + "keys": [ + "Primary", + "Secondary" + ] + } + }, + "responses": { + "204": {} + } +} diff --git a/specification/quantum/resource-manager/Microsoft.Quantum/preview/2025-11-01-preview/examples/Workspaces_UpdateTags.json b/specification/quantum/resource-manager/Microsoft.Quantum/preview/2025-11-01-preview/examples/Workspaces_UpdateTags.json new file mode 100644 index 000000000000..81072529d10e --- /dev/null +++ b/specification/quantum/resource-manager/Microsoft.Quantum/preview/2025-11-01-preview/examples/Workspaces_UpdateTags.json @@ -0,0 +1,81 @@ +{ + "operationId": "Workspaces_UpdateTags", + "title": "Workspaces_UpdateTags", + "parameters": { + "workspaceName": "quantumworkspace1", + "resourceGroupName": "quantumResourcegroup", + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "api-version": "2025-11-01-preview", + "properties": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/quantumResourcegroup/providers/Microsoft.Quantum/Workspaces/quantumworkspace1", + "name": "quantumworkspace1", + "type": "Microsoft.Quantum/Workspaces", + "properties": { + "providers": [ + { + "providerId": "Honeywell", + "providerSku": "Basic", + "applicationName": "quantumworkspace1-h1", + "instanceUri": "https://h1.endpoint.com", + "provisioningState": "Succeeded", + "resourceUsageId": "00000000-1111-2222-3333-444444444444" + }, + { + "providerId": "IonQ", + "provisioningState": "Succeeded", + "applicationName": "quantumworkspace1-i1", + "instanceUri": "https://i1.endpoint.com", + "providerSku": "Basic", + "resourceUsageId": "00000000-1111-2222-3333-444444444445" + }, + { + "providerId": "OneQBit", + "provisioningState": "Succeeded", + "applicationName": "quantumworkspace1-o1", + "instanceUri": "https://o1.endpoint.com", + "providerSku": "Basic", + "resourceUsageId": "00000000-1111-2222-3333-444444444446" + } + ], + "provisioningState": "Succeeded", + "usable": "Yes", + "storageAccount": "/subscriptions/1C4B2828-7D49-494F-933D-061373BE28C2/resourceGroups/quantumResourcegroup/providers/Microsoft.Storage/storageAccounts/testStorageAccount", + "workspaceKind": "V1", + "endpointUri": "https://quantumworkspace1.westus.quantum.azure.com", + "apiKeyEnabled": true, + "quotas": { + "standardMinutesLifetime": 500, + "highMinutesLifetime": 50 + } + }, + "location": "West US", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "identity": { + "type": "SystemAssigned", + "principalId": "00000000-1111-2222-3333-444444444444", + "tenantId": "00000000-1111-2222-3333-444444444444" + }, + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2020-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" + } + } + } + } +} diff --git a/specification/quantum/resource-manager/Microsoft.Quantum/preview/2025-11-01-preview/quantum.json b/specification/quantum/resource-manager/Microsoft.Quantum/preview/2025-11-01-preview/quantum.json new file mode 100644 index 000000000000..d47fac076edc --- /dev/null +++ b/specification/quantum/resource-manager/Microsoft.Quantum/preview/2025-11-01-preview/quantum.json @@ -0,0 +1,1442 @@ +{ + "swagger": "2.0", + "info": { + "title": "Azure Quantum Management API", + "version": "2025-11-01-preview", + "description": "Microsoft.Quantum Resource Provider Management API", + "x-typespec-generated": [ + { + "emitter": "@azure-tools/typespec-autorest" + } + ] + }, + "schemes": [ + "https" + ], + "host": "management.azure.com", + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "description": "Azure Active Directory OAuth2 Flow.", + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "tags": [ + { + "name": "Operations" + }, + { + "name": "Workspaces" + }, + { + "name": "SuiteOffers" + }, + { + "name": "Offerings" + } + ], + "paths": { + "/providers/Microsoft.Quantum/operations": { + "get": { + "operationId": "Operations_List", + "tags": [ + "Operations" + ], + "description": "List the operations for the provider", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/OperationListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Operations_List": { + "$ref": "./examples/Operations_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Quantum/locations/{location}/checkNameAvailability": { + "post": { + "operationId": "Workspaces_CheckNameAvailability", + "tags": [ + "Workspaces" + ], + "description": "Check the availability of the resource name for the given location.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter" + }, + { + "name": "body", + "in": "body", + "description": "The CheckAvailability request", + "required": true, + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/CheckNameAvailabilityRequest" + } + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/CheckNameAvailabilityResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Workspaces_CheckNameAvailability": { + "$ref": "./examples/Workspaces_CheckNameAvailability.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Quantum/locations/{locationName}/offerings": { + "get": { + "operationId": "Offerings_List", + "tags": [ + "Offerings" + ], + "description": "Returns the list of all provider offerings available for the given location.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "locationName", + "in": "path", + "description": "Location.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 90, + "pattern": "[a-z][a-z0-9]+" + }, + { + "name": "filter", + "in": "query", + "description": "The filter to apply to the operation. Example: '$filter=kind eq 'v1'", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/OfferingsListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Offerings_List": { + "$ref": "./examples/Offerings_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Quantum/suiteOffers": { + "get": { + "operationId": "SuiteOffers_ListBySubscription", + "tags": [ + "SuiteOffers" + ], + "description": "Returns the SuiteOffer resource associated with the given name.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/QuantumSuiteOfferListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "SuiteOffers_ListBySubscription": { + "$ref": "./examples/SuiteOffers_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Quantum/workspaces": { + "get": { + "operationId": "Workspaces_ListBySubscription", + "tags": [ + "Workspaces" + ], + "description": "Gets the list of Workspaces within a Subscription.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/QuantumWorkspaceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Workspaces_ListBySubscription": { + "$ref": "./examples/Workspaces_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Quantum/workspaces": { + "get": { + "operationId": "Workspaces_ListByResourceGroup", + "tags": [ + "Workspaces" + ], + "description": "Gets the list of Workspaces within a resource group.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/QuantumWorkspaceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Workspaces_ListByResourceGroup": { + "$ref": "./examples/Workspaces_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Quantum/workspaces/{workspaceName}": { + "get": { + "operationId": "Workspaces_Get", + "tags": [ + "Workspaces" + ], + "description": "Returns the Workspace resource associated with the given name.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "workspaceName", + "in": "path", + "description": "The name of the quantum workspace resource.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]+(-*[a-zA-Z0-9])*$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/QuantumWorkspace" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Workspaces_Get": { + "$ref": "./examples/Workspaces_Get.json" + } + } + }, + "put": { + "operationId": "Workspaces_CreateOrUpdate", + "tags": [ + "Workspaces" + ], + "description": "Creates or updates a Workspace resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "workspaceName", + "in": "path", + "description": "The name of the quantum workspace resource.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]+(-*[a-zA-Z0-9])*$" + }, + { + "name": "resource", + "in": "body", + "description": "Workspace details.", + "required": true, + "schema": { + "$ref": "#/definitions/QuantumWorkspace" + } + } + ], + "responses": { + "200": { + "description": "Resource 'QuantumWorkspace' update operation succeeded", + "schema": { + "$ref": "#/definitions/QuantumWorkspace" + } + }, + "201": { + "description": "Resource 'QuantumWorkspace' create operation succeeded", + "schema": { + "$ref": "#/definitions/QuantumWorkspace" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Workspaces_CreateOrUpdate": { + "$ref": "./examples/Workspaces_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Workspaces_UpdateTags", + "tags": [ + "Workspaces" + ], + "description": "Updates an existing Workspace's tags.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "workspaceName", + "in": "path", + "description": "The name of the quantum workspace resource.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]+(-*[a-zA-Z0-9])*$" + }, + { + "name": "properties", + "in": "body", + "description": "Parameters supplied to update tags.", + "required": true, + "schema": { + "$ref": "#/definitions/QuantumWorkspaceTagsUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/QuantumWorkspace" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Workspaces_UpdateTags": { + "$ref": "./examples/Workspaces_UpdateTags.json" + } + } + }, + "delete": { + "operationId": "Workspaces_Delete", + "tags": [ + "Workspaces" + ], + "description": "Deletes a Workspace resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "workspaceName", + "in": "path", + "description": "The name of the quantum workspace resource.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]+(-*[a-zA-Z0-9])*$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Workspaces_Delete": { + "$ref": "./examples/Workspaces_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Quantum/workspaces/{workspaceName}/listKeys": { + "post": { + "operationId": "Workspaces_ListKeys", + "tags": [ + "Workspaces" + ], + "description": "Get the keys to use with the Quantum APIs. A key is used to authenticate and authorize access to the Quantum REST APIs. Only one key is needed at a time; two are given to provide seamless key regeneration.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "workspaceName", + "in": "path", + "description": "The name of the quantum workspace resource.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]+(-*[a-zA-Z0-9])*$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ListKeysResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Workspaces_ListKeys": { + "$ref": "./examples/Workspaces_ListKeys.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Quantum/workspaces/{workspaceName}/regenerateKey": { + "post": { + "operationId": "Workspaces_RegenerateKeys", + "tags": [ + "Workspaces" + ], + "description": "Regenerate either the primary or secondary key for use with the Quantum APIs. The old key will stop working immediately.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "workspaceName", + "in": "path", + "description": "The name of the quantum workspace resource.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]+(-*[a-zA-Z0-9])*$" + }, + { + "name": "body", + "in": "body", + "description": "Which key to regenerate: primary or secondary.", + "required": true, + "schema": { + "$ref": "#/definitions/ApiKeys" + } + } + ], + "responses": { + "204": { + "description": "There is no content to send for this request, but the headers may be useful." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Workspaces_RegenerateKeys": { + "$ref": "./examples/Workspaces_RegenerateKeys.json" + } + } + } + } + }, + "definitions": { + "ApiKey": { + "type": "object", + "description": "Azure quantum workspace Api key details.", + "properties": { + "createdAt": { + "type": "string", + "format": "date-time", + "description": "The creation time of the api key." + }, + "key": { + "type": "string", + "description": "The Api key.", + "readOnly": true + } + } + }, + "ApiKeys": { + "type": "object", + "description": "List of api keys to be generated.", + "properties": { + "keys": { + "type": "array", + "description": "A list of api key names.", + "items": { + "$ref": "#/definitions/KeyType" + } + } + } + }, + "KeyType": { + "type": "string", + "description": "The API key type.", + "enum": [ + "Primary", + "Secondary" + ], + "x-ms-enum": { + "name": "KeyType", + "modelAsString": true, + "values": [ + { + "name": "Primary", + "value": "Primary", + "description": "The primary API key." + }, + { + "name": "Secondary", + "value": "Secondary", + "description": "The secondary API key." + } + ] + } + }, + "ListKeysResult": { + "type": "object", + "description": "Result of list Api keys and connection strings.", + "properties": { + "apiKeyEnabled": { + "type": "boolean", + "description": "Indicator of enablement of the Quantum workspace Api keys." + }, + "primaryKey": { + "$ref": "#/definitions/ApiKey", + "description": "The quantum workspace primary api key." + }, + "secondaryKey": { + "$ref": "#/definitions/ApiKey", + "description": "The quantum workspace secondary api key." + }, + "primaryConnectionString": { + "type": "string", + "description": "The connection string of the primary api key.", + "readOnly": true + }, + "secondaryConnectionString": { + "type": "string", + "description": "The connection string of the secondary api key.", + "readOnly": true + } + } + }, + "OfferingsListResult": { + "type": "object", + "description": "The response of a list Providers operation.", + "properties": { + "value": { + "type": "array", + "description": "The ProviderDescription items on this page", + "items": { + "$ref": "#/definitions/ProviderDescription" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "PricingDetail": { + "type": "object", + "description": "Detailed pricing information for an sku.", + "properties": { + "id": { + "type": "string", + "description": "Unique id for this pricing information." + }, + "value": { + "type": "string", + "description": "The unit cost of this sku." + } + } + }, + "PricingDimension": { + "type": "object", + "description": "Information about pricing dimension.", + "properties": { + "id": { + "type": "string", + "description": "Unique id of this pricing dimension." + }, + "name": { + "type": "string", + "description": "The display name of this pricing dimension." + } + } + }, + "Provider": { + "type": "object", + "description": "Information about a Provider. A Provider is an entity that offers Targets to run Azure Quantum Jobs.", + "properties": { + "providerId": { + "type": "string", + "description": "Unique id of this provider." + }, + "providerSku": { + "type": "string", + "description": "The sku associated with pricing information for this provider." + }, + "instanceUri": { + "type": "string", + "description": "A Uri identifying the specific instance of this provider." + }, + "applicationName": { + "type": "string", + "description": "The provider's marketplace application display name." + }, + "provisioningState": { + "$ref": "#/definitions/ProviderStatus", + "description": "Provisioning status field" + }, + "resourceUsageId": { + "type": "string", + "description": "Id to track resource usage for the provider." + } + } + }, + "ProviderDescription": { + "type": "object", + "description": "Information about an offering. A provider offering is an entity that offers Targets to run Azure Quantum Jobs.", + "properties": { + "id": { + "type": "string", + "description": "Unique provider's id." + }, + "name": { + "type": "string", + "description": "Provider's display name.", + "readOnly": true + }, + "properties": { + "$ref": "#/definitions/ProviderProperties", + "description": "Provider properties." + } + } + }, + "ProviderProperties": { + "type": "object", + "description": "Provider properties.", + "properties": { + "description": { + "type": "string", + "description": "A description about this provider.", + "readOnly": true + }, + "providerType": { + "type": "string", + "description": "Provider type.", + "readOnly": true + }, + "company": { + "type": "string", + "description": "Company name.", + "readOnly": true + }, + "defaultEndpoint": { + "type": "string", + "description": "Provider's default endpoint.", + "readOnly": true + }, + "aad": { + "$ref": "#/definitions/ProviderPropertiesAad", + "description": "Azure Active Directory info." + }, + "managedApplication": { + "$ref": "#/definitions/ProviderPropertiesManagedApplication", + "description": "Provider's Managed-Application info" + }, + "targets": { + "type": "array", + "description": "The list of targets available from this provider.", + "items": { + "$ref": "#/definitions/TargetDescription" + } + }, + "skus": { + "type": "array", + "description": "The list of skus available from this provider.", + "items": { + "$ref": "#/definitions/SkuDescription" + } + }, + "quotaDimensions": { + "type": "array", + "description": "The list of quota dimensions from the provider.", + "items": { + "$ref": "#/definitions/QuotaDimension" + } + }, + "pricingDimensions": { + "type": "array", + "description": "The list of pricing dimensions from the provider.", + "items": { + "$ref": "#/definitions/PricingDimension" + } + } + } + }, + "ProviderPropertiesAad": { + "type": "object", + "description": "Azure Active Directory info.", + "properties": { + "applicationId": { + "type": "string", + "description": "Provider's application id.", + "readOnly": true + }, + "tenantId": { + "type": "string", + "description": "Provider's tenant id.", + "readOnly": true + } + } + }, + "ProviderPropertiesManagedApplication": { + "type": "object", + "description": "Provider's Managed-Application info", + "properties": { + "publisherId": { + "type": "string", + "description": "Provider's publisher id.", + "readOnly": true + }, + "offerId": { + "type": "string", + "description": "Provider's offer id.", + "readOnly": true + } + } + }, + "ProviderStatus": { + "type": "string", + "description": "Provisioning status field", + "enum": [ + "Succeeded", + "Launching", + "Updating", + "Deleting", + "Deleted", + "Failed" + ], + "x-ms-enum": { + "name": "ProviderStatus", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "The provider is successfully provisioned." + }, + { + "name": "Launching", + "value": "Launching", + "description": "The provider is starting provisioning." + }, + { + "name": "Updating", + "value": "Updating", + "description": "The provider is updating." + }, + { + "name": "Deleting", + "value": "Deleting", + "description": "The provider is deleting." + }, + { + "name": "Deleted", + "value": "Deleted", + "description": "The provider is deleted." + }, + { + "name": "Failed", + "value": "Failed", + "description": "The provider is failed." + } + ] + } + }, + "QuantumSuiteOffer": { + "type": "object", + "description": "A Quantum Suite Offer that is available to a subscription.", + "properties": { + "properties": { + "$ref": "#/definitions/QuantumSuiteOfferProperties", + "description": "The resource-specific properties for this resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "QuantumSuiteOfferListResult": { + "type": "object", + "description": "The response of a QuantumSuiteOffer list operation.", + "properties": { + "value": { + "type": "array", + "description": "The QuantumSuiteOffer items on this page", + "items": { + "$ref": "#/definitions/QuantumSuiteOffer" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "QuantumSuiteOfferProperties": { + "type": "object", + "description": "Properties of a Quantum Suite Offer", + "properties": { + "providerId": { + "type": "string", + "description": "The provider ID of the offer." + }, + "providerName": { + "type": "string", + "description": "The provider name of the offer." + }, + "companyName": { + "type": "string", + "description": "The name of the company that is providing this offer." + }, + "location": { + "type": "string", + "description": "The location where this offer is available." + }, + "description": { + "type": "string", + "description": "Description of the offer." + }, + "quotas": { + "$ref": "#/definitions/QuotaAllocations", + "description": "Quota allocations associated with this offer." + } + }, + "required": [ + "providerId", + "providerName", + "companyName", + "location", + "description" + ] + }, + "QuantumWorkspace": { + "type": "object", + "description": "The resource proxy definition object for Quantum Workspace.", + "properties": { + "properties": { + "$ref": "#/definitions/WorkspaceResourceProperties", + "description": "Gets or sets the properties. Define quantum workspace's specific properties." + }, + "identity": { + "$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/ManagedServiceIdentity", + "description": "The managed service identities assigned to this resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "QuantumWorkspaceListResult": { + "type": "object", + "description": "The response of a QuantumWorkspace list operation.", + "properties": { + "value": { + "type": "array", + "description": "The QuantumWorkspace items on this page", + "items": { + "$ref": "#/definitions/QuantumWorkspace" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "QuantumWorkspaceTagsUpdate": { + "type": "object", + "description": "The type used for updating tags in QuantumWorkspace resources.", + "properties": { + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + } + } + }, + "QuotaAllocations": { + "type": "object", + "description": "Quota allocations with each field representing different quota type.", + "properties": { + "standardMinutesLifetime": { + "type": "integer", + "format": "int32", + "description": "Lifetime limit for standard priority jobs execution in minutes.", + "minimum": 0 + }, + "highMinutesLifetime": { + "type": "integer", + "format": "int32", + "description": "Lifetime limit for high priority jobs execution in minutes.", + "minimum": 0 + } + }, + "required": [ + "standardMinutesLifetime" + ] + }, + "QuotaDimension": { + "type": "object", + "description": "Information about a specific quota dimension.", + "properties": { + "id": { + "type": "string", + "description": "Unique id of this dimension." + }, + "scope": { + "type": "string", + "description": "The scope of this quota dimension." + }, + "period": { + "type": "string", + "description": "The reset period of this quota dimension." + }, + "quota": { + "type": "number", + "format": "float", + "description": "The max limit of this dimension." + }, + "name": { + "type": "string", + "description": "The display name of this quota dimension." + }, + "description": { + "type": "string", + "description": "A description about this quota dimension." + }, + "unit": { + "type": "string", + "description": "The standard unit of measurement used for this quota dimension." + }, + "unitPlural": { + "type": "string", + "description": "The standard unit of measurement used for this quota dimension in plural form." + } + } + }, + "SkuDescription": { + "type": "object", + "description": "Information about a specific sku.", + "properties": { + "id": { + "type": "string", + "description": "Unique sku id." + }, + "name": { + "type": "string", + "description": "Display name of this sku." + }, + "version": { + "type": "string", + "description": "Display name of this sku." + }, + "description": { + "type": "string", + "description": "Description about this sku." + }, + "restrictedAccessUri": { + "type": "string", + "description": "Uri to subscribe to the restricted access sku." + }, + "autoAdd": { + "type": "boolean", + "description": "Flag to indicate whether the sku should be automatically added during workspace creation." + }, + "targets": { + "type": "array", + "description": "The list of targets available for this sku.", + "items": { + "type": "string" + } + }, + "quotaDimensions": { + "type": "array", + "description": "The list of quota dimensions for this sku.", + "items": { + "$ref": "#/definitions/QuotaDimension" + } + }, + "pricingDetails": { + "type": "array", + "description": "The list of pricing details for the sku.", + "items": { + "$ref": "#/definitions/PricingDetail" + } + } + } + }, + "StorageAccountResourceId": { + "type": "string", + "format": "arm-id", + "description": "ARM Resource Id of a storage account.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Storage/storageAccounts" + } + ] + } + }, + "TargetDescription": { + "type": "object", + "description": "Information about a Target. A target is the component that can process a specific type of Job.", + "properties": { + "id": { + "type": "string", + "description": "Unique target id." + }, + "name": { + "type": "string", + "description": "Display name of this target." + }, + "description": { + "type": "string", + "description": "A description about this target." + }, + "acceptedDataFormats": { + "type": "array", + "description": "List of data formats accepted by this target.", + "items": { + "type": "string" + } + }, + "acceptedContentEncodings": { + "type": "array", + "description": "List of content encodings accepted by this target.", + "items": { + "type": "string" + } + }, + "numQubits": { + "type": "integer", + "format": "int32", + "description": "The qubit number", + "minimum": 1, + "maximum": 100000, + "readOnly": true + }, + "targetProfile": { + "type": "string", + "description": "Target QIR profile", + "readOnly": true + }, + "metadata": { + "type": "object", + "description": "The metadata of this target.", + "additionalProperties": {}, + "readOnly": true + } + } + }, + "UsableStatus": { + "type": "string", + "description": "Whether the current workspace is ready to accept Jobs.", + "enum": [ + "Yes", + "No", + "Partial" + ], + "x-ms-enum": { + "name": "UsableStatus", + "modelAsString": true, + "values": [ + { + "name": "Yes", + "value": "Yes", + "description": "The workspace is usable and can accept jobs." + }, + { + "name": "No", + "value": "No", + "description": "The workspace is not usable and cannot accept jobs." + }, + { + "name": "Partial", + "value": "Partial", + "description": "The workspace is partially usable." + } + ] + } + }, + "WorkspaceKind": { + "type": "string", + "description": "The workspace type.", + "enum": [ + "V1", + "V2" + ], + "x-ms-enum": { + "name": "WorkspaceKind", + "modelAsString": true, + "values": [ + { + "name": "V1", + "value": "V1", + "description": "The workspace is a general-purpose workspace." + }, + { + "name": "V2", + "value": "V2", + "description": "The workspace is a V2 workspace." + } + ] + } + }, + "WorkspaceProvisioningStatus": { + "type": "string", + "description": "The Workspace provisioning status.", + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "ProviderLaunching", + "ProviderUpdating", + "ProviderDeleting", + "ProviderProvisioning" + ], + "x-ms-enum": { + "name": "WorkspaceProvisioningStatus", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "The Workspace provisioning is succeeded." + }, + { + "name": "Failed", + "value": "Failed", + "description": "The Workspace provisioning failed." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Resource creation was canceled." + }, + { + "name": "ProviderLaunching", + "value": "ProviderLaunching", + "description": "The Workspace is currently starting to provision a provider." + }, + { + "name": "ProviderUpdating", + "value": "ProviderUpdating", + "description": "The Workspace is currently updating a provider." + }, + { + "name": "ProviderDeleting", + "value": "ProviderDeleting", + "description": "The Workspace is currently deleting a provider." + }, + { + "name": "ProviderProvisioning", + "value": "ProviderProvisioning", + "description": "The Workspace is currently provisioning a provider." + } + ] + } + }, + "WorkspaceResourceProperties": { + "type": "object", + "description": "Properties of a Workspace", + "properties": { + "providers": { + "type": "array", + "description": "List of Providers selected for this Workspace", + "items": { + "$ref": "#/definitions/Provider" + }, + "x-ms-identifiers": [ + "providerId" + ] + }, + "usable": { + "$ref": "#/definitions/UsableStatus", + "description": "Whether the current workspace is ready to accept Jobs.", + "readOnly": true + }, + "provisioningState": { + "$ref": "#/definitions/WorkspaceProvisioningStatus", + "description": "Provisioning status field", + "readOnly": true + }, + "storageAccount": { + "$ref": "#/definitions/StorageAccountResourceId", + "description": "ARM Resource Id of the storage account associated with this workspace." + }, + "workspaceKind": { + "$ref": "#/definitions/WorkspaceKind", + "description": "Whether this workspace is V1 or V2." + }, + "endpointUri": { + "type": "string", + "description": "The URI of the workspace endpoint.", + "readOnly": true + }, + "apiKeyEnabled": { + "type": "boolean", + "description": "Indicator of enablement of the Quantum workspace Api keys." + }, + "managedOnBehalfOfConfiguration": { + "$ref": "../../../../../common-types/resource-management/v5/mobo.json#/definitions/ManagedOnBehalfOfConfiguration", + "description": "Managed On Behalf Of configuration.", + "readOnly": true + }, + "managedStorageAccount": { + "$ref": "#/definitions/StorageAccountResourceId", + "description": "ARM Resource Id of the managed storage account associated with this workspace.", + "readOnly": true + }, + "quotas": { + "$ref": "#/definitions/QuotaAllocations", + "description": "Quota allocations associated with this workspace. Available only for special providers." + } + } + } + }, + "parameters": {} +} diff --git a/specification/quantum/resource-manager/readme.md b/specification/quantum/resource-manager/readme.md index 1543005c1010..a05e12d04674 100644 --- a/specification/quantum/resource-manager/readme.md +++ b/specification/quantum/resource-manager/readme.md @@ -27,7 +27,7 @@ These are the global settings for the quantum. ``` yaml openapi-type: arm openapi-subtype: rpaas -tag: package-2025-01-01-preview +tag: package-2025-11-01-preview ``` ``` yaml @@ -80,6 +80,15 @@ input-file: - Microsoft.Quantum/preview/2025-08-11-preview/quantum.json ``` +### Tag: package-2025-11-01-preview + +These settings apply only when `--tag=package-2025-11-01-preview` is specified on the command line. + +``` yaml $(tag) == 'package-2025-11-01-preview' +input-file: + - Microsoft.Quantum/preview/2025-11-01-preview/quantum.json +``` + --- # Code Generation @@ -150,4 +159,8 @@ suppressions: where: - $.definitions["Azure.ResourceManager.CommonTypes.ManagedServiceIdentityUpdate"].properties.userAssignedIdentities.additionalProperties reason: Typespec generated definitions contain anonymous types. + - code: AvoidAdditionalProperties + where: + - $.definitions.TargetDescription.properties.metadata + reason: These metadata are decided by downstream providers that we do not have control, some of them are confidential, and providers may change very often. ``` diff --git a/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/Appliance.tsp b/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/Appliance.tsp new file mode 100644 index 000000000000..a428f638e3e1 --- /dev/null +++ b/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/Appliance.tsp @@ -0,0 +1,144 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.ResourceConnector; +/** + * Appliances definition. + */ +model Appliance is Azure.ResourceManager.TrackedResource { + ...ResourceNameParameter< + Resource = Appliance, + KeyName = "resourceName", + SegmentName = "appliances", + NamePattern = "^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$" + >; + + /** + * Identity for the resource. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + identity?: Identity; +} + +@armResourceOperations +interface Appliances { + /** + * Gets the details of an Appliance with a specified resource group and name. + */ + @summary("Gets an Appliance.") + get is ArmResourceRead; + + /** + * Creates or updates an Appliance in the specified Subscription and Resource Group. + */ + @summary("Creates or updates an Appliance.") + createOrUpdate is ArmResourceCreateOrReplaceAsync; + + /** + * Updates an Appliance with the specified Resource Name in the specified Resource Group and Subscription. + */ + @patch(#{ implicitOptionality: false }) + @summary("Updates an Appliance.") + update is ArmCustomPatchSync; + + /** + * Deletes an Appliance with the specified Resource Name, Resource Group, and Subscription Id. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/lro-location-header" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @summary("Deletes an Appliance.") + delete is ArmResourceDeleteWithoutOkAsync< + Appliance, + LroHeaders = ArmAsyncOperationHeader & + Azure.Core.Foundations.RetryAfterHeader + >; + + /** + + * Gets a list of Appliances in the specified subscription and resource group. The operation returns properties of each Appliance. + + */ + @summary("Gets a list of Appliances in the specified subscription and resource group.") + listByResourceGroup is ArmResourceListByParent< + Appliance, + Response = ApplianceListResult + >; + + /** + + * Gets a list of Appliances in the specified subscription. The operation returns properties of each Appliance + + */ + @summary("Gets a list of Appliances in a subscription.") + listBySubscription is ArmListBySubscription< + Appliance, + Response = ApplianceListResult + >; + + /** + * Returns the cluster user credentials for the dedicated appliance. + */ + @summary("Returns the cluster user credential.") + listClusterUserCredential is ArmResourceActionSync< + Appliance, + void, + ArmResponse + >; + + /** + * Returns the cluster customer credentials for the dedicated appliance. + */ + @action("listkeys") + @summary("Gets the management config.") + listKeys is ArmResourceActionSync< + Appliance, + void, + ArmResponse, + Parameters = { + /** + * This sets the type of artifact being returned, when empty no artifact endpoint is returned. + */ + @query("artifactType") + artifactType?: string; + } + >; + + /** + * Gets the upgrade graph of an Appliance with a specified resource group and name and specific release train. + */ + @get + @summary("Gets an Appliance upgrade graph.") + getUpgradeGraph is ArmResourceRead< + Appliance, + Parameters = { + /** + * Upgrade graph version, ex - stable + */ + @path + @key + @segment("upgradeGraphs") + upgradeGraph: string; + }, + Response = ArmResponse + >; +} + +@@maxLength(Appliance.name, 63); +@@minLength(Appliance.name, 1); +@@doc(Appliance.name, "Appliances name."); +@@doc(Appliance.properties, "The set of properties specific to an Appliance"); +@@doc(Appliances.createOrUpdate::parameters.resource, + "Parameters supplied to create or update an Appliance." +); +@@doc(Appliances.update::parameters.properties, + "The updatable fields of an existing Appliance." +); +@@Azure.ClientGenerator.Core.Legacy.flattenProperty(Appliances.update::parameters.properties +); diff --git a/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/back-compatible.tsp b/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/back-compatible.tsp new file mode 100644 index 000000000000..86bdb4766a89 --- /dev/null +++ b/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/back-compatible.tsp @@ -0,0 +1,32 @@ +import "@azure-tools/typespec-client-generator-core"; + +using Azure.ClientGenerator.Core; +using Microsoft.ResourceConnector; + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@Azure.ClientGenerator.Core.Legacy.flattenProperty(ApplianceOperation.display); + +@@clientName(Appliances.createOrUpdate::parameters.resource, "parameters"); +@@clientName(Appliances.update::parameters.properties, "parameters"); +@@Azure.ClientGenerator.Core.Legacy.flattenProperty(Appliance.properties); + +@@clientLocation(AppliancesOperationGroup.getTelemetryConfig, Appliances); +@@clientLocation(Operations.list, Appliances); +@@clientName(Operations.list, "ListOperations"); + +@@clientName(PatchableAppliance, "patchableAppliance"); +@@clientName(ApplianceOperation, "applianceOperation"); +@@clientName(ApplianceOperationsList, "applianceOperationsList"); +@@clientName(ApplianceProperties, "applianceProperties"); +@@clientName(Appliance, "appliance"); +@@clientName(ApplianceListResult, "applianceListResult"); +@@clientName(ApplianceListCredentialResults, "applianceListCredentialResults"); +@@clientName(ApplianceListKeysResults, "applianceListKeysResults"); +@@clientName(ApplianceGetTelemetryConfigResult, + "applianceGetTelemetryConfigResult" +); +@@clientName(ApplianceOperationValueDisplay, "applianceOperationValueDisplay"); +@@clientName(ApplianceCredentialKubeconfig, "applianceCredentialKubeconfig"); +@@clientName(AppliancePropertiesInfrastructureConfig, + "appliancePropertiesInfrastructureConfig" +); diff --git a/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/client.tsp b/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/client.tsp new file mode 100644 index 000000000000..a1fb81987b1a --- /dev/null +++ b/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/client.tsp @@ -0,0 +1,26 @@ +import "@azure-tools/typespec-client-generator-core"; +import "./main.tsp"; + +using Azure.ClientGenerator.Core; +using Microsoft.ResourceConnector; + +@@clientName(Microsoft.ResourceConnector, + "ResourceConnectorManagementClient", + "javascript" +); +@@clientName(Microsoft.ResourceConnector, + "ResourceConnectorMgmtClient", + "python" +); + +@@clientName(Microsoft.ResourceConnector.SSHKey, "SshKey", "java"); + +// Fix property name case changes to maintain backward compatibility +@@clientName(Microsoft.ResourceConnector.SSHKey.expirationTimeStamp, + "expirationTimestamp", + "java" +); +@@clientName(Microsoft.ResourceConnector.SSHKey.creationTimeStamp, + "creationTimestamp", + "java" +); diff --git a/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/examples/2022-10-27/AppliancesCreate_Update.json b/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/examples/2022-10-27/AppliancesCreate_Update.json new file mode 100644 index 000000000000..fa55455ac4cc --- /dev/null +++ b/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/examples/2022-10-27/AppliancesCreate_Update.json @@ -0,0 +1,84 @@ +{ + "parameters": { + "api-version": "2022-10-27", + "identity": { + "type": "SystemAssigned" + }, + "parameters": { + "location": "West US", + "properties": { + "distro": "AKSEdge", + "infrastructureConfig": { + "provider": "VMWare" + } + } + }, + "resourceGroupName": "testresourcegroup", + "resourceName": "appliance01", + "subscriptionId": "11111111-2222-3333-4444-555555555555" + }, + "responses": { + "200": { + "body": { + "name": "appliance01", + "type": "Microsoft.ResourceConnector/appliances", + "id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testrg/providers/Microsoft.ResourceConnector/appliances/appliance01", + "identity": { + "type": "SystemAssigned", + "principalId": "11111111-1111-1111-1111-111111111111", + "tenantId": "111111-1111-1111-1111-111111111111" + }, + "location": "West US", + "properties": { + "distro": "AKSEdge", + "infrastructureConfig": { + "provider": "VMWare" + }, + "provisioningState": "Updating", + "publicKey": "xxxxxxxx", + "status": "Running", + "version": "1.0.1" + }, + "systemData": { + "createdAt": "2020-04-24T18:53:29.0928001Z", + "createdBy": "string", + "createdByType": "Application", + "lastModifiedAt": "2020-04-24T18:53:29.0928001Z", + "lastModifiedBy": "string", + "lastModifiedByType": "Application" + } + } + }, + "201": { + "body": { + "name": "appliance01", + "type": "Microsoft.ResourceConnector/appliances", + "id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testrg/providers/Microsoft.ResourceConnector/appliances/appliance01", + "identity": { + "type": "SystemAssigned", + "principalId": "11111111-1111-1111-1111-111111111111", + "tenantId": "111111-1111-1111-1111-111111111111" + }, + "location": "West US", + "properties": { + "distro": "AKSEdge", + "infrastructureConfig": { + "provider": "VMWare" + }, + "provisioningState": "Creating", + "status": "WaitingForHeartbeat" + }, + "systemData": { + "createdAt": "2020-04-24T18:53:29.0928001Z", + "createdBy": "string", + "createdByType": "Application", + "lastModifiedAt": "2020-04-24T18:53:29.0928001Z", + "lastModifiedBy": "string", + "lastModifiedByType": "Application" + } + } + } + }, + "operationId": "Appliances_CreateOrUpdate", + "title": "Create/Update Appliance" +} diff --git a/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/examples/2022-10-27/AppliancesDelete.json b/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/examples/2022-10-27/AppliancesDelete.json new file mode 100644 index 000000000000..c3456e5f2f11 --- /dev/null +++ b/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/examples/2022-10-27/AppliancesDelete.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "api-version": "2022-10-27", + "resourceGroupName": "testresourcegroup", + "resourceName": "appliance01", + "subscriptionId": "11111111-2222-3333-4444-555555555555" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testresourcegroup/providers/Microsoft.ResourceConnector/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000/default?api-version=2022-10-27", + "Location": "https://management.azure.com/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testresourcegroup/providers/Microsoft.ResourceConnector/locations/eastus/operationStatus/default/operationId/00000000-0000-0000-0000-000000000000?api-version=2022-10-27" + } + }, + "204": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testresourcegroup/providers/Microsoft.ResourceConnector/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000/default?api-version=2022-10-27" + } + } + }, + "operationId": "Appliances_Delete", + "title": "Delete Appliance" +} diff --git a/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/examples/2022-10-27/AppliancesGet.json b/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/examples/2022-10-27/AppliancesGet.json new file mode 100644 index 000000000000..c5c24994ab9a --- /dev/null +++ b/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/examples/2022-10-27/AppliancesGet.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "api-version": "2022-10-27", + "resourceGroupName": "testresourcegroup", + "resourceName": "appliance01", + "subscriptionId": "11111111-2222-3333-4444-555555555555" + }, + "responses": { + "200": { + "body": { + "name": "appliance01", + "type": "Microsoft.ResourceConnector/appliances", + "id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testresourcegroup/providers/Microsoft.ResourceConnector/appliances/appliance01", + "identity": { + "type": "SystemAssigned", + "principalId": "11111111-1111-1111-1111-111111111111", + "tenantId": "111111-1111-1111-1111-111111111111" + }, + "location": "West US", + "properties": { + "distro": "AKSEdge", + "infrastructureConfig": { + "provider": "VMWare" + }, + "provisioningState": "Succeeded", + "publicKey": "xxxxxxxx", + "status": "Running", + "version": "1.0.1" + }, + "systemData": { + "createdAt": "2020-04-24T18:53:29.0928001Z", + "createdBy": "string", + "createdByType": "Application", + "lastModifiedAt": "2020-04-24T18:53:29.0928001Z", + "lastModifiedBy": "string", + "lastModifiedByType": "Application" + } + } + } + }, + "operationId": "Appliances_Get", + "title": "Get Appliance" +} diff --git a/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/examples/2022-10-27/AppliancesListByResourceGroup.json b/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/examples/2022-10-27/AppliancesListByResourceGroup.json new file mode 100644 index 000000000000..853ea32f427c --- /dev/null +++ b/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/examples/2022-10-27/AppliancesListByResourceGroup.json @@ -0,0 +1,65 @@ +{ + "parameters": { + "api-version": "2022-10-27", + "resourceGroupName": "testresourcegroup", + "subscriptionId": "11111111-2222-3333-4444-555555555555" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "appliance01", + "type": "Microsoft.ResourceConnector/appliances", + "id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testresourcegroup/providers/Microsoft.ResourceConnector/appliances/appliance01", + "location": "West US", + "properties": { + "distro": "AKSEdge", + "infrastructureConfig": { + "provider": "VMWare" + }, + "provisioningState": "Succeeded", + "publicKey": "xxxxxxxx", + "status": "Running", + "version": "1.0.1" + }, + "systemData": { + "createdAt": "2020-04-24T18:53:29.0928001Z", + "createdBy": "string", + "createdByType": "Application", + "lastModifiedAt": "2020-04-24T18:53:29.0928001Z", + "lastModifiedBy": "string", + "lastModifiedByType": "Application" + } + }, + { + "name": "appliance02", + "type": "Microsoft.ResourceConnector/appliances", + "id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testresourcegroup/providers/Microsoft.ResourceConnector/appliances/appliance02", + "location": "West US", + "properties": { + "distro": "AKSEdge", + "infrastructureConfig": { + "provider": "VMWare" + }, + "provisioningState": "Succeeded", + "publicKey": "xxxxxxxx", + "status": "Running", + "version": "1.0.1" + }, + "systemData": { + "createdAt": "2020-04-24T18:53:29.0928001Z", + "createdBy": "string", + "createdByType": "Application", + "lastModifiedAt": "2020-04-24T18:53:29.0928001Z", + "lastModifiedBy": "string", + "lastModifiedByType": "Application" + } + } + ] + } + } + }, + "operationId": "Appliances_ListByResourceGroup", + "title": "List Appliances by resource group" +} diff --git a/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/examples/2022-10-27/AppliancesListBySubscription.json b/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/examples/2022-10-27/AppliancesListBySubscription.json new file mode 100644 index 000000000000..7b96c6c6b505 --- /dev/null +++ b/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/examples/2022-10-27/AppliancesListBySubscription.json @@ -0,0 +1,64 @@ +{ + "parameters": { + "api-version": "2022-10-27", + "subscriptionId": "11111111-2222-3333-4444-555555555555" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "appliance01", + "type": "Microsoft.ResourceConnector/appliances", + "id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testresourcegroup/providers/Microsoft.ResourceConnector/appliances/appliance01", + "location": "West US", + "properties": { + "distro": "AKSEdge", + "infrastructureConfig": { + "provider": "VMWare" + }, + "provisioningState": "Succeeded", + "publicKey": "xxxxxxxx", + "status": "Running", + "version": "1.0.1" + }, + "systemData": { + "createdAt": "2020-04-24T18:53:29.0928001Z", + "createdBy": "string", + "createdByType": "Application", + "lastModifiedAt": "2020-04-24T18:53:29.0928001Z", + "lastModifiedBy": "string", + "lastModifiedByType": "Application" + } + }, + { + "name": "appliance02", + "type": "Microsoft.ResourceConnector/appliances", + "id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testresourcegroup/providers/Microsoft.ResourceConnector/appliances/appliance02", + "location": "West US", + "properties": { + "distro": "AKSEdge", + "infrastructureConfig": { + "provider": "VMWare" + }, + "provisioningState": "Succeeded", + "publicKey": "xxxxxxxx", + "status": "Running", + "version": "1.0.1" + }, + "systemData": { + "createdAt": "2020-04-24T18:53:29.0928001Z", + "createdBy": "string", + "createdByType": "Application", + "lastModifiedAt": "2020-04-24T18:53:29.0928001Z", + "lastModifiedBy": "string", + "lastModifiedByType": "Application" + } + } + ] + } + } + }, + "operationId": "Appliances_ListBySubscription", + "title": "List Appliances by subscription" +} diff --git a/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/examples/2022-10-27/AppliancesListClusterUserCredential.json b/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/examples/2022-10-27/AppliancesListClusterUserCredential.json new file mode 100644 index 000000000000..7f2664d8702e --- /dev/null +++ b/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/examples/2022-10-27/AppliancesListClusterUserCredential.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "api-version": "2022-10-27", + "resourceGroupName": "testresourcegroup", + "resourceName": "appliance01", + "subscriptionId": "11111111-2222-3333-4444-555555555555" + }, + "responses": { + "200": { + "body": { + "hybridConnectionConfig": { + "expirationTime": 123456789, + "hybridConnectionName": "provider/type/bc36ffcf318d5bedfc05ba8b0628dba", + "relay": "relayName", + "token": "mockSecretOtherprovider/type/bc36ffcf318d5bedfc05ba91c157ReceiverToken" + }, + "kubeconfigs": [ + { + "name": "kubeconfigName1", + "value": "xxxxxxxxxxxxx" + } + ] + } + } + }, + "operationId": "Appliances_ListClusterUserCredential", + "title": "ListClusterUserCredentialAppliance" +} diff --git a/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/examples/2022-10-27/AppliancesListKeys.json b/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/examples/2022-10-27/AppliancesListKeys.json new file mode 100644 index 000000000000..9c329c678d07 --- /dev/null +++ b/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/examples/2022-10-27/AppliancesListKeys.json @@ -0,0 +1,48 @@ +{ + "parameters": { + "api-version": "2022-10-27", + "resourceGroupName": "testresourcegroup", + "resourceName": "appliance01", + "subscriptionId": "11111111-2222-3333-4444-555555555555" + }, + "responses": { + "200": { + "body": { + "artifactProfiles": { + "LogsArtifactType": { + "endpoint": "https://.blob.core.windows.net/?" + } + }, + "kubeconfigs": [ + { + "name": "kubeconfigName1", + "value": "xxxxxxxxxxxxx" + } + ], + "sshKeys": { + "LogsKey": { + "certificate": "", + "creationTimeStamp": 1660946559, + "expirationTimeStamp": 1724119358, + "privateKey": "" + }, + "ManagementCAKey": { + "publicKey": "" + }, + "SSHCustomerUser": { + "privateKey": "xxxxxxxx", + "publicKey": "xxxxxxxx" + }, + "ScopedAccessKey": { + "certificate": "", + "creationTimeStamp": 1660946559, + "expirationTimeStamp": 1724119358, + "privateKey": "" + } + } + } + } + }, + "operationId": "Appliances_ListKeys", + "title": "ListKeys Appliance" +} diff --git a/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/examples/2022-10-27/AppliancesListOperations.json b/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/examples/2022-10-27/AppliancesListOperations.json new file mode 100644 index 000000000000..5165f31abe48 --- /dev/null +++ b/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/examples/2022-10-27/AppliancesListOperations.json @@ -0,0 +1,103 @@ +{ + "parameters": { + "api-version": "2022-10-27" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.ResourceConnector/operations/read", + "display": { + "description": "Gets list of Available Operations for Appliances", + "operation": "List Available Operations for Appliances", + "provider": "Microsoft ResourceConnector", + "resource": "Operations" + }, + "isDataAction": false, + "origin": "user,system" + }, + { + "name": "Microsoft.ResourceConnector/register/action", + "display": { + "description": "Registers the subscription for Appliance resource provider and enables the creation of Appliance.", + "operation": "Registers the Appliance Resource Provider", + "provider": "Microsoft ResourceConnector", + "resource": "Appliances Resource Provider" + }, + "isDataAction": false, + "origin": "user,system" + }, + { + "name": "Microsoft.ResourceConnector/appliances/read", + "display": { + "description": "Gets an Appliance resource", + "operation": "Get Appliance", + "provider": "Microsoft ResourceConnector", + "resource": "Appliances" + }, + "isDataAction": false, + "origin": "user,system" + }, + { + "name": "Microsoft.ResourceConnector/appliances/write", + "display": { + "description": "Creates or Updates Appliance resource", + "operation": "Create or Update Appliance", + "provider": "Microsoft ResourceConnector", + "resource": "Appliances" + }, + "isDataAction": false, + "origin": "user,system" + }, + { + "name": "Microsoft.ResourceConnector/appliances/delete", + "display": { + "description": "Deletes Appliance resource", + "operation": "Delete Appliance", + "provider": "Microsoft ResourceConnector", + "resource": "Appliances" + }, + "isDataAction": false, + "origin": "user,system" + }, + { + "name": "Microsoft.ResourceConnector/appliances/listClusterUserCredential", + "display": { + "description": "Get an appliance cluster user credential", + "operation": "List User Cluster Credential", + "provider": "Microsoft ResourceConnector", + "resource": "Appliances" + }, + "isDataAction": false, + "origin": "user,system" + }, + { + "name": "Microsoft.ResourceConnector/locations/operationsstatus/read", + "display": { + "description": "Get result of Appliance operation", + "operation": "Get status of Appliance operation", + "provider": "Microsoft ResourceConnector", + "resource": "Appliance Operation Status" + }, + "isDataAction": false, + "origin": "user,system" + }, + { + "name": "Microsoft.ResourceConnector/locations/operationresults/read", + "display": { + "description": "Get result of Appliance operation", + "operation": "Get the status of Appliance operation", + "provider": "Microsoft ResourceConnector", + "resource": "Appliance Operation Result" + }, + "isDataAction": false, + "origin": "user,system" + } + ] + } + } + }, + "operationId": "Appliances_ListOperations", + "title": "List Appliances operations" +} diff --git a/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/examples/2022-10-27/AppliancesPatch.json b/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/examples/2022-10-27/AppliancesPatch.json new file mode 100644 index 000000000000..d38f4cb86668 --- /dev/null +++ b/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/examples/2022-10-27/AppliancesPatch.json @@ -0,0 +1,46 @@ +{ + "parameters": { + "api-version": "2022-10-27", + "identity": { + "type": "SystemAssigned" + }, + "parameters": { + "tags": { + "key": "value" + } + }, + "resourceGroupName": "testresourcegroup", + "resourceName": "appliance01", + "subscriptionId": "11111111-2222-3333-4444-555555555555" + }, + "responses": { + "200": { + "body": { + "name": "appliance01", + "type": "Microsoft.ResourceConnector/appliances", + "id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testresourcegroup/providers/Microsoft.ResourceConnector/appliances/appliance01", + "identity": { + "type": "SystemAssigned", + "principalId": "11111111-1111-1111-1111-111111111111", + "tenantId": "111111-1111-1111-1111-111111111111" + }, + "location": "West US", + "properties": { + "distro": "AKSEdge", + "infrastructureConfig": { + "provider": "VMWare" + }, + "provisioningState": "Succeeded", + "publicKey": "xxxxxxxx", + "status": "Running", + "version": "1.0.1" + }, + "tags": { + "key": "value" + } + } + } + }, + "operationId": "Appliances_Update", + "title": "Update Appliance" +} diff --git a/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/examples/2022-10-27/TelemetryConfig.json b/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/examples/2022-10-27/TelemetryConfig.json new file mode 100644 index 000000000000..db32d9e3a386 --- /dev/null +++ b/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/examples/2022-10-27/TelemetryConfig.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "api-version": "2022-10-27", + "subscriptionId": "11111111-2222-3333-4444-555555555555" + }, + "responses": { + "200": { + "body": { + "telemetryInstrumentationKey": "xxxxxxxxxxxxxxxxxxxxxxxxxxx" + } + } + }, + "operationId": "Appliances_GetTelemetryConfig", + "title": "GetTelemetryConfig Appliance" +} diff --git a/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/examples/2022-10-27/UpgradeGraph.json b/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/examples/2022-10-27/UpgradeGraph.json new file mode 100644 index 000000000000..e2234be72553 --- /dev/null +++ b/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/examples/2022-10-27/UpgradeGraph.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "api-version": "2022-10-27", + "resourceGroupName": "testresourcegroup", + "resourceName": "appliance01", + "subscriptionId": "11111111-2222-3333-4444-555555555555", + "upgradeGraph": "stable" + }, + "responses": { + "200": { + "body": { + "name": "stable", + "id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testresourcegroup/providers/Microsoft.ResourceConnector/appliances/appliance01", + "properties": { + "applianceVersion": "1.0.0", + "supportedVersions": [ + { + "metadata": { + "catalogVersion": { + "name": "cloudop-product-information", + "data": { + "audience": "stable", + "catalog": "arc-appliance-stable-catalogs-ext", + "offer": "arcappliance", + "version": "0.1.5.11115" + }, + "namespace": "cloudop-system" + } + }, + "version": "1.0.1" + } + ] + } + } + } + }, + "operationId": "Appliances_GetUpgradeGraph", + "title": "Get Appliance Upgrade Graph" +} diff --git a/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/main.tsp b/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/main.tsp new file mode 100644 index 000000000000..902ad0d2ee21 --- /dev/null +++ b/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/main.tsp @@ -0,0 +1,49 @@ +/** + * PLEASE DO NOT REMOVE - USED FOR CONVERTER METRICS + * Generated by package: @autorest/openapi-to-typespec + * Parameters used: + * isFullCompatible: true + * guessResourceKey: false + * Version: 0.11.9 + * Date: 2025-09-02T07:39:44.915Z + */ +import "@typespec/rest"; +import "@typespec/versioning"; +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "./models.tsp"; +import "./back-compatible.tsp"; +import "./Appliance.tsp"; +import "./routes.tsp"; + +using TypeSpec.Rest; +using TypeSpec.Http; +using Azure.ResourceManager.Foundations; +using Azure.Core; +using Azure.ResourceManager; +using TypeSpec.Versioning; +/** + * The appliances Rest API spec. + */ +@armProviderNamespace +@service(#{ title: "appliances" }) +@versioned(Versions) +@armCommonTypesVersion(Azure.ResourceManager.CommonTypes.Versions.v3) +namespace Microsoft.ResourceConnector; + +/** + * The available API versions. + */ +enum Versions { + /** + * The 2022-10-27 API version. + */ + v2022_10_27: "2022-10-27", +} + +interface Operations + extends Azure.ResourceManager.Legacy.Operations< + ArmResponse, + ErrorResponse + > {} +@@doc(Operations.list, "Lists all available Appliances operations."); diff --git a/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/models.tsp b/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/models.tsp new file mode 100644 index 000000000000..a28bb8529a6b --- /dev/null +++ b/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/models.tsp @@ -0,0 +1,577 @@ +import "@typespec/rest"; +import "@typespec/http"; +import "@azure-tools/typespec-azure-resource-manager"; + +using Azure.ResourceManager; + +namespace Microsoft.ResourceConnector; + +/** + * The identity type. + */ +union ResourceIdentityType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + SystemAssigned: "SystemAssigned", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + None: "None", +} + +/** + * Represents a supported Fabric/Infra. (AKSEdge etc...). + */ +union Distro { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + AKSEdge: "AKSEdge", +} + +/** + * Information about the connected appliance. + */ +union Provider { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + VMWare: "VMWare", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + HCI: "HCI", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + SCVMM: "SCVMM", +} + +/** + * Appliance’s health and state of connection to on-prem + */ +union Status { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + WaitingForHeartbeat: "WaitingForHeartbeat", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Validating: "Validating", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Connecting: "Connecting", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Connected: "Connected", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Running: "Running", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + PreparingForUpgrade: "PreparingForUpgrade", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + ETCDSnapshotFailed: "ETCDSnapshotFailed", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + UpgradePrerequisitesCompleted: "UpgradePrerequisitesCompleted", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + ValidatingSFSConnectivity: "ValidatingSFSConnectivity", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + ValidatingImageDownload: "ValidatingImageDownload", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + ValidatingImageUpload: "ValidatingImageUpload", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + ValidatingETCDHealth: "ValidatingETCDHealth", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + PreUpgrade: "PreUpgrade", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + UpgradingKVAIO: "UpgradingKVAIO", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + WaitingForKVAIO: "WaitingForKVAIO", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + ImagePending: "ImagePending", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + ImageProvisioning: "ImageProvisioning", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + ImageProvisioned: "ImageProvisioned", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + ImageDownloading: "ImageDownloading", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + ImageDownloaded: "ImageDownloaded", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + ImageDeprovisioning: "ImageDeprovisioning", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + ImageUnknown: "ImageUnknown", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + UpdatingCloudOperator: "UpdatingCloudOperator", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + WaitingForCloudOperator: "WaitingForCloudOperator", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + UpdatingCAPI: "UpdatingCAPI", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + UpdatingCluster: "UpdatingCluster", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + PostUpgrade: "PostUpgrade", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + UpgradeComplete: "UpgradeComplete", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + UpgradeClusterExtensionFailedToDelete: "UpgradeClusterExtensionFailedToDelete", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + UpgradeFailed: "UpgradeFailed", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Offline: "Offline", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + None: "None", +} + +/** + * The type of identity that created the resource. + */ +union CreatedByType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + User: "User", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Application: "Application", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + ManagedIdentity: "ManagedIdentity", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Key: "Key", +} + +/** + * Name which contains the role of the kubeconfig. + */ +union AccessProfileType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + clusterUser: "clusterUser", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + clusterCustomerUser: "clusterCustomerUser", +} + +/** + * Appliance ArtifactType definition. + */ +union ArtifactType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + LogsArtifactType: "LogsArtifactType", +} + +/** + * Appliance SSHKeyType definition. + */ +union SSHKeyType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + SSHCustomerUser: "SSHCustomerUser", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + ManagementCAKey: "ManagementCAKey", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + LogsKey: "LogsKey", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + ScopedAccessKey: "ScopedAccessKey", +} + +/** + * Appliances operation. + */ +model ApplianceOperation { + /** + * Describes the properties of an Appliances Operation Value Display. + */ + display?: ApplianceOperationValueDisplay; + + /** + * Is this Operation a data plane operation + */ + @visibility(Lifecycle.Read) + isDataAction?: boolean; + + /** + * The name of the compute operation. + */ + @visibility(Lifecycle.Read) + name?: string; + + /** + * The origin of the compute operation. + */ + @visibility(Lifecycle.Read) + origin?: string; +} + +/** + * Describes the properties of an Appliances Operation Value Display. + */ +model ApplianceOperationValueDisplay { + /** + * The description of the operation. + */ + @visibility(Lifecycle.Read) + description?: string; + + /** + * The display name of the compute operation. + */ + @visibility(Lifecycle.Read) + operation?: string; + + /** + * The resource provider for the operation. + */ + @visibility(Lifecycle.Read) + provider?: string; + + /** + * The display name of the resource the operation applies to. + */ + @visibility(Lifecycle.Read) + resource?: string; +} + +/** + * Identity for the resource. + */ +model Identity { + /** + * The principal ID of resource identity. + */ + @visibility(Lifecycle.Read) + principalId?: string; + + /** + * The tenant ID of resource. + */ + @visibility(Lifecycle.Read) + tenantId?: string; + + /** + * The identity type. + */ + type?: ResourceIdentityType; +} + +/** + * Properties for an appliance. + */ +model ApplianceProperties { + /** + * Represents a supported Fabric/Infra. (AKSEdge etc...). + */ + distro?: Distro = Distro.AKSEdge; + + /** + * Contains infrastructure information about the Appliance + */ + infrastructureConfig?: AppliancePropertiesInfrastructureConfig; + + /** + * The current deployment or provisioning state, which only appears in the response. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Read) + provisioningState?: string; + + /** + * Certificates pair used to download MSI certificate from HIS. Can only be set once. + */ + publicKey?: string; + + /** + * Appliance’s health and state of connection to on-prem + */ + @visibility(Lifecycle.Read) + status?: Status; + + /** + * Version of the Appliance + */ + version?: string; +} + +/** + * Contains infrastructure information about the Appliance + */ +model AppliancePropertiesInfrastructureConfig { + /** + * Information about the connected appliance. + */ + provider?: Provider; +} + +/** + * The Get Telemetry Config Result appliance. + */ +model ApplianceGetTelemetryConfigResult { + /** + * Telemetry instrumentation key. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/secret-prop" "FIXME: Mark this property as @secret if it should be kept private." + @visibility(Lifecycle.Read) + telemetryInstrumentationKey?: string; +} + +/** + * The Appliances patchable resource definition. + */ +#suppress "@azure-tools/typespec-azure-resource-manager/patch-envelope" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model PatchableAppliance { + /** + * Resource tags + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + tags?: Record; +} + +/** + * The List Cluster User Credential appliance. + */ +model ApplianceListCredentialResults { + /** + * Contains the REP (rendezvous endpoint) and “Listener” access token from notification service (NS). + */ + @visibility(Lifecycle.Read) + hybridConnectionConfig?: HybridConnectionConfig; + + /** + * The list of appliance kubeconfigs. + */ + @visibility(Lifecycle.Read) + @identifiers(#[]) + kubeconfigs?: ApplianceCredentialKubeconfig[]; +} + +/** + * Contains the REP (rendezvous endpoint) and “Listener” access token from notification service (NS). + */ +model HybridConnectionConfig { + /** + * Timestamp when this token will be expired. + */ + @visibility(Lifecycle.Read) + expirationTime?: int64; + + /** + * Name of the connection + */ + @visibility(Lifecycle.Read) + hybridConnectionName?: string; + + /** + * Name of the notification service. + */ + @visibility(Lifecycle.Read) + relay?: string; + + /** + * Listener access token + */ + #suppress "@azure-tools/typespec-azure-resource-manager/secret-prop" "FIXME: Mark this property as @secret if it should be kept private." + @visibility(Lifecycle.Read) + token?: string; +} + +/** + * Cluster User Credential appliance. + */ +model ApplianceCredentialKubeconfig { + /** + * Name which contains the role of the kubeconfig. + */ + @visibility(Lifecycle.Read) + name?: AccessProfileType; + + /** + * Contains the kubeconfig value. + */ + @visibility(Lifecycle.Read) + value?: string; +} + +/** + * The List Cluster Keys Results appliance. + */ +model ApplianceListKeysResults { + /** + * Map of artifacts that contains a list of ArtifactProfile used to upload artifacts such as logs. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Read) + artifactProfiles?: Record; + + /** + * The list of appliance kubeconfigs. + */ + @visibility(Lifecycle.Read) + @identifiers(#[]) + kubeconfigs?: ApplianceCredentialKubeconfig[]; + + /** + * Map of Customer User Public, Private SSH Keys and Certificate when available. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Read) + sshKeys?: Record; +} + +/** + * Appliance ArtifactProfile definition. + */ +model ArtifactProfile { + /** + * Endpoint is the URL to upload artifacts to. + */ + @visibility(Lifecycle.Read) + endpoint?: string; +} + +/** + * Appliance SSHKey definition. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model SSHKey { + /** + * Certificate associated with the public key if the key is signed. + */ + @visibility(Lifecycle.Read) + certificate?: string; + + /** + * Certificate creation timestamp (Unix). + */ + @visibility(Lifecycle.Read) + creationTimeStamp?: int64; + + /** + * Certificate expiration timestamp (Unix). + */ + @visibility(Lifecycle.Read) + expirationTimeStamp?: int64; + + /** + * Private Key. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/secret-prop" "FIXME: Mark this property as @secret if it should be kept private." + @visibility(Lifecycle.Read) + privateKey?: string; + + /** + * Public Key. + */ + @visibility(Lifecycle.Read) + publicKey?: string; +} + +/** + * The Upgrade Graph for appliance. + */ +model UpgradeGraph { + /** + * The appliance resource path + */ + @visibility(Lifecycle.Read) + id?: string; + + /** + * The release train name. + */ + @visibility(Lifecycle.Read) + name?: string; + + /** + * The properties of supported version + */ + properties?: UpgradeGraphProperties; +} + +/** + * The Upgrade Graph Properties for appliance. + */ +model UpgradeGraphProperties { + /** + * The current appliance version + */ + @visibility(Lifecycle.Read) + applianceVersion?: string; + + /** + * This contains the current version and supported upgrade versions. + */ + @visibility(Lifecycle.Read) + @identifiers(#[]) + supportedVersions?: SupportedVersion[]; +} + +/** + * The SupportedVersion object for appliance. + */ +model SupportedVersion { + /** + * This is the metadata of the supported newer version. + */ + @visibility(Lifecycle.Read) + metadata?: SupportedVersionMetadata; + + /** + * The newer version available for upgrade. + */ + @visibility(Lifecycle.Read) + version?: string; +} + +/** + * The SupportedVersionMetadata object for appliance. + */ +model SupportedVersionMetadata { + /** + * The newer supported version catalog version. + */ + @visibility(Lifecycle.Read) + catalogVersion?: SupportedVersionCatalogVersion; +} + +/** + * The SupportedVersionCatalogVersion object for appliance. + */ +model SupportedVersionCatalogVersion { + /** + * The newer supported version catalog version data. + */ + @visibility(Lifecycle.Read) + data?: SupportedVersionCatalogVersionData; + + /** + * The catalog version name for the version available for upgrade. + */ + @visibility(Lifecycle.Read) + name?: string; + + /** + * The catalog version namespace for the version available for upgrade. + */ + @visibility(Lifecycle.Read) + `namespace`?: string; +} + +/** + * The SupportedVersionCatalogVersionData object for appliance. + */ +model SupportedVersionCatalogVersionData { + /** + * The image audience name for the version available for upgrade. + */ + @visibility(Lifecycle.Read) + audience?: string; + + /** + * The image catalog name for the version available for upgrade. + */ + @visibility(Lifecycle.Read) + catalog?: string; + + /** + * The image offer name for the version available for upgrade. + */ + @visibility(Lifecycle.Read) + offer?: string; + + /** + * The image version for the version available for upgrade. + */ + @visibility(Lifecycle.Read) + version?: string; +} + +model ApplianceOperationsList is Azure.Core.Page; + +model ApplianceListResult is Azure.Core.Page; + +@@visibility(ApplianceListResult.value, Lifecycle.Read); diff --git a/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/routes.tsp b/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/routes.tsp new file mode 100644 index 000000000000..91d51e284409 --- /dev/null +++ b/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/routes.tsp @@ -0,0 +1,28 @@ +// FIXME: Operations in this file are not detected as a resource operation, please confirm the conversion result manually + +import "@azure-tools/typespec-azure-core"; +import "@typespec/rest"; +import "./models.tsp"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; + +using TypeSpec.Rest; +using TypeSpec.Http; +using Azure.ResourceManager; + +namespace Microsoft.ResourceConnector; + +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +interface AppliancesOperationGroup { + /** + * Gets the telemetry config. + */ + @summary("Gets the telemetry config.") + @autoRoute + @get + @action("telemetryconfig") + getTelemetryConfig is ArmProviderActionSync< + Response = ApplianceGetTelemetryConfigResult, + Scope = SubscriptionActionScope + >; +} diff --git a/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/stable/2022-10-27/appliances.json b/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/stable/2022-10-27/appliances.json index a965ddb2e77c..9bfef9e5a10b 100644 --- a/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/stable/2022-10-27/appliances.json +++ b/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/stable/2022-10-27/appliances.json @@ -1,18 +1,23 @@ { "swagger": "2.0", "info": { - "version": "2022-10-27", "title": "appliances", - "description": "The appliances Rest API spec." + "version": "2022-10-27", + "description": "The appliances Rest API spec.", + "x-typespec-generated": [ + { + "emitter": "@azure-tools/typespec-autorest" + } + ] }, - "host": "management.azure.com", "schemes": [ "https" ], - "consumes": [ + "host": "management.azure.com", + "produces": [ "application/json" ], - "produces": [ + "consumes": [ "application/json" ], "security": [ @@ -25,7 +30,7 @@ "securityDefinitions": { "azure_auth": { "type": "oauth2", - "description": "Azure Active Directory OAuth2 Flow", + "description": "Azure Active Directory OAuth2 Flow.", "flow": "implicit", "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", "scopes": { @@ -33,13 +38,21 @@ } } }, + "tags": [ + { + "name": "Appliances" + }, + { + "name": "Operations" + } + ], "paths": { "/providers/Microsoft.ResourceConnector/operations": { "get": { + "operationId": "Appliances_ListOperations", "tags": [ - "appliances" + "Operations" ], - "operationId": "Appliances_ListOperations", "description": "Lists all available Appliances operations.", "parameters": [ { @@ -48,35 +61,34 @@ ], "responses": { "200": { - "description": "Operation details.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/applianceOperationsList" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, - "deprecated": false, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { "List Appliances operations": { "$ref": "./examples/AppliancesListOperations.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, "/subscriptions/{subscriptionId}/providers/Microsoft.ResourceConnector/appliances": { "get": { + "operationId": "Appliances_ListBySubscription", "tags": [ - "appliances" + "Appliances" ], - "operationId": "Appliances_ListBySubscription", "summary": "Gets a list of Appliances in a subscription.", "description": "Gets a list of Appliances in the specified subscription. The operation returns properties of each Appliance", "parameters": [ @@ -89,33 +101,30 @@ ], "responses": { "200": { - "description": "OK", + "description": "The request has succeeded.", "schema": { "$ref": "#/definitions/applianceListResult" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { "List Appliances by subscription": { "$ref": "./examples/AppliancesListBySubscription.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, "/subscriptions/{subscriptionId}/providers/Microsoft.ResourceConnector/telemetryconfig": { "get": { - "tags": [ - "appliances" - ], "operationId": "Appliances_GetTelemetryConfig", "summary": "Gets the telemetry config.", "description": "Gets the telemetry config.", @@ -129,13 +138,13 @@ ], "responses": { "200": { - "description": "OK", + "description": "The request has succeeded.", "schema": { "$ref": "#/definitions/applianceGetTelemetryConfigResult" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } @@ -150,10 +159,10 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ResourceConnector/appliances": { "get": { + "operationId": "Appliances_ListByResourceGroup", "tags": [ - "appliances" + "Appliances" ], - "operationId": "Appliances_ListByResourceGroup", "summary": "Gets a list of Appliances in the specified subscription and resource group.", "description": "Gets a list of Appliances in the specified subscription and resource group. The operation returns properties of each Appliance.", "parameters": [ @@ -169,34 +178,34 @@ ], "responses": { "200": { - "description": "OK", + "description": "The request has succeeded.", "schema": { "$ref": "#/definitions/applianceListResult" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { "List Appliances by resource group": { "$ref": "./examples/AppliancesListByResourceGroup.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ResourceConnector/appliances/{resourceName}": { "get": { + "operationId": "Appliances_Get", "tags": [ - "appliances" + "Appliances" ], - "operationId": "Appliances_Get", "summary": "Gets an Appliance.", "description": "Gets the details of an Appliance with a specified resource group and name.", "parameters": [ @@ -210,18 +219,25 @@ "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/ResourceNameParameter" + "name": "resourceName", + "in": "path", + "description": "Appliances name.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$" } ], "responses": { "200": { - "description": "OK", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/appliance" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } @@ -234,10 +250,10 @@ } }, "put": { + "operationId": "Appliances_CreateOrUpdate", "tags": [ - "appliances" + "Appliances" ], - "operationId": "Appliances_CreateOrUpdate", "summary": "Creates or updates an Appliance.", "description": "Creates or updates an Appliance in the specified Subscription and Resource Group.", "parameters": [ @@ -251,55 +267,74 @@ "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/ResourceNameParameter" + "name": "resourceName", + "in": "path", + "description": "Appliances name.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$" }, { "name": "parameters", "in": "body", + "description": "Parameters supplied to create or update an Appliance.", "required": true, "schema": { "$ref": "#/definitions/appliance" - }, - "description": "Parameters supplied to create or update an Appliance." + } } ], "responses": { "200": { - "description": "OK", + "description": "Resource 'Appliance' update operation succeeded", "schema": { "$ref": "#/definitions/appliance" } }, "201": { - "description": "Created", + "description": "Resource 'Appliance' create operation succeeded", "schema": { "$ref": "#/definitions/appliance" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { "Create/Update Appliance": { "$ref": "./examples/AppliancesCreate_Update.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/appliance" + }, + "x-ms-long-running-operation": true }, - "delete": { + "patch": { + "operationId": "Appliances_Update", "tags": [ - "appliances" + "Appliances" ], - "operationId": "Appliances_Delete", - "summary": "Deletes an Appliance.", - "description": "Deletes an Appliance with the specified Resource Name, Resource Group, and Subscription Id.", + "summary": "Updates an Appliance.", + "description": "Updates an Appliance with the specified Resource Name in the specified Resource Group and Subscription.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" @@ -311,40 +346,53 @@ "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/ResourceNameParameter" + "name": "resourceName", + "in": "path", + "description": "Appliances name.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$" + }, + { + "name": "parameters", + "in": "body", + "description": "The updatable fields of an existing Appliance.", + "required": true, + "schema": { + "$ref": "#/definitions/patchableAppliance" + }, + "x-ms-client-flatten": true } ], "responses": { - "202": { - "description": "Accepted. The response indicates the delete operation is performed in the background." - }, - "204": { - "description": "NoContent. The response indicates the appliance resource is already deleted." + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/appliance" + } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, "x-ms-examples": { - "Delete Appliance": { - "$ref": "./examples/AppliancesDelete.json" + "Update Appliance": { + "$ref": "./examples/AppliancesPatch.json" } } }, - "patch": { + "delete": { + "operationId": "Appliances_Delete", "tags": [ - "appliances" + "Appliances" ], - "operationId": "Appliances_Update", - "summary": "Updates an Appliance.", - "description": "Updates an Appliance with the specified Resource Name in the specified Resource Group and Subscription.", + "summary": "Deletes an Appliance.", + "description": "Deletes an Appliance with the specified Resource Name, Resource Group, and Subscription Id.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" @@ -356,46 +404,58 @@ "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/ResourceNameParameter" - }, - { - "name": "parameters", - "in": "body", + "name": "resourceName", + "in": "path", + "description": "Appliances name.", "required": true, - "x-ms-client-flatten": true, - "schema": { - "$ref": "#/definitions/patchableAppliance" - }, - "description": "The updatable fields of an existing Appliance." + "type": "string", + "minLength": 1, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$" } ], "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/appliance" + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } } }, + "204": { + "description": "Resource does not exist." + }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "Update Appliance": { - "$ref": "./examples/AppliancesPatch.json" + "Delete Appliance": { + "$ref": "./examples/AppliancesDelete.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ResourceConnector/appliances/{resourceName}/listClusterUserCredential": { "post": { + "operationId": "Appliances_ListClusterUserCredential", "tags": [ - "appliances" + "Appliances" ], - "operationId": "Appliances_ListClusterUserCredential", "summary": "Returns the cluster user credential.", "description": "Returns the cluster user credentials for the dedicated appliance.", "parameters": [ @@ -409,18 +469,25 @@ "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/ResourceNameParameter" + "name": "resourceName", + "in": "path", + "description": "Appliances name.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$" } ], "responses": { "200": { - "description": "OK", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/applianceListCredentialResults" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } @@ -435,10 +502,10 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ResourceConnector/appliances/{resourceName}/listkeys": { "post": { + "operationId": "Appliances_ListKeys", "tags": [ - "appliances" + "Appliances" ], - "operationId": "Appliances_ListKeys", "summary": "Gets the management config.", "description": "Returns the cluster customer credentials for the dedicated appliance.", "parameters": [ @@ -452,24 +519,32 @@ "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/ResourceNameParameter" + "name": "resourceName", + "in": "path", + "description": "Appliances name.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$" }, { "name": "artifactType", "in": "query", - "type": "string", - "description": "This sets the type of artifact being returned, when empty no artifact endpoint is returned." + "description": "This sets the type of artifact being returned, when empty no artifact endpoint is returned.", + "required": false, + "type": "string" } ], "responses": { "200": { - "description": "OK", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/applianceListKeysResults" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } @@ -484,10 +559,10 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ResourceConnector/appliances/{resourceName}/upgradeGraphs/{upgradeGraph}": { "get": { + "operationId": "Appliances_GetUpgradeGraph", "tags": [ - "appliances" + "Appliances" ], - "operationId": "Appliances_GetUpgradeGraph", "summary": "Gets an Appliance upgrade graph.", "description": "Gets the upgrade graph of an Appliance with a specified resource group and name and specific release train.", "parameters": [ @@ -501,25 +576,32 @@ "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/ResourceNameParameter" + "name": "resourceName", + "in": "path", + "description": "Appliances name.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$" }, { "name": "upgradeGraph", "in": "path", + "description": "Upgrade graph version, ex - stable", "required": true, - "type": "string", - "description": "Upgrade graph version, ex - stable" + "type": "string" } ], "responses": { "200": { - "description": "OK", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/UpgradeGraph" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } @@ -533,274 +615,467 @@ } } }, - "parameters": { - "ResourceNameParameter": { - "name": "resourceName", - "in": "path", - "required": true, - "type": "string", - "x-ms-parameter-location": "method", - "minLength": 1, - "maxLength": 63, - "pattern": "^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$", - "description": "Appliances name." - } - }, "definitions": { + "AccessProfileType": { + "type": "string", + "description": "Name which contains the role of the kubeconfig.", + "enum": [ + "clusterUser", + "clusterCustomerUser" + ], + "x-ms-enum": { + "name": "AccessProfileType", + "modelAsString": true, + "values": [ + { + "name": "clusterUser", + "value": "clusterUser" + }, + { + "name": "clusterCustomerUser", + "value": "clusterCustomerUser" + } + ] + } + }, "ArtifactProfile": { - "description": "Appliance ArtifactProfile definition.", "type": "object", + "description": "Appliance ArtifactProfile definition.", "properties": { "endpoint": { - "description": "Endpoint is the URL to upload artifacts to.", "type": "string", + "description": "Endpoint is the URL to upload artifacts to.", "readOnly": true } } }, - "ArtifactType": { - "description": "Appliance ArtifactType definition.", - "type": "string", - "enum": [ - "LogsArtifactType" - ], - "x-ms-enum": { - "name": "ArtifactType", - "modelAsString": true - } - }, "HybridConnectionConfig": { - "description": "Contains the REP (rendezvous endpoint) and “Listener” access token from notification service (NS).", "type": "object", + "description": "Contains the REP (rendezvous endpoint) and “Listener” access token from notification service (NS).", "properties": { "expirationTime": { - "description": "Timestamp when this token will be expired.", "type": "integer", - "readOnly": true, - "format": "int64" + "format": "int64", + "description": "Timestamp when this token will be expired.", + "readOnly": true }, "hybridConnectionName": { - "description": "Name of the connection", "type": "string", + "description": "Name of the connection", "readOnly": true }, "relay": { - "description": "Name of the notification service.", "type": "string", + "description": "Name of the notification service.", "readOnly": true }, "token": { - "description": "Listener access token", "type": "string", + "description": "Listener access token", "readOnly": true } } }, "Identity": { - "description": "Identity for the resource.", "type": "object", + "description": "Identity for the resource.", "properties": { "principalId": { - "description": "The principal ID of resource identity.", "type": "string", + "description": "The principal ID of resource identity.", "readOnly": true }, "tenantId": { - "description": "The tenant ID of resource.", "type": "string", + "description": "The tenant ID of resource.", "readOnly": true }, "type": { - "description": "The identity type.", - "type": "string", - "enum": [ - "SystemAssigned", - "None" - ], - "x-ms-enum": { - "name": "ResourceIdentityType", - "modelAsString": true - } + "$ref": "#/definitions/ResourceIdentityType", + "description": "The identity type." } } }, + "Provider": { + "type": "string", + "description": "Information about the connected appliance.", + "enum": [ + "VMWare", + "HCI", + "SCVMM" + ], + "x-ms-enum": { + "name": "Provider", + "modelAsString": true, + "values": [ + { + "name": "VMWare", + "value": "VMWare" + }, + { + "name": "HCI", + "value": "HCI" + }, + { + "name": "SCVMM", + "value": "SCVMM" + } + ] + } + }, + "ResourceIdentityType": { + "type": "string", + "description": "The identity type.", + "enum": [ + "SystemAssigned", + "None" + ], + "x-ms-enum": { + "name": "ResourceIdentityType", + "modelAsString": true, + "values": [ + { + "name": "SystemAssigned", + "value": "SystemAssigned" + }, + { + "name": "None", + "value": "None" + } + ] + } + }, "SSHKey": { - "description": "Appliance SSHKey definition.", "type": "object", + "description": "Appliance SSHKey definition.", "properties": { "certificate": { - "description": "Certificate associated with the public key if the key is signed.", "type": "string", + "description": "Certificate associated with the public key if the key is signed.", "readOnly": true }, "creationTimeStamp": { - "description": "Certificate creation timestamp (Unix).", "type": "integer", - "readOnly": true, - "format": "int64" + "format": "int64", + "description": "Certificate creation timestamp (Unix).", + "readOnly": true }, "expirationTimeStamp": { - "description": "Certificate expiration timestamp (Unix).", "type": "integer", - "readOnly": true, - "format": "int64" + "format": "int64", + "description": "Certificate expiration timestamp (Unix).", + "readOnly": true }, "privateKey": { - "description": "Private Key.", "type": "string", + "description": "Private Key.", "readOnly": true }, "publicKey": { - "description": "Public Key.", "type": "string", + "description": "Public Key.", "readOnly": true } } }, - "SSHKeyType": { - "description": "Appliance SSHKeyType definition.", + "Status": { "type": "string", + "description": "Appliance’s health and state of connection to on-prem", "enum": [ - "SSHCustomerUser", - "ManagementCAKey", - "LogsKey", - "ScopedAccessKey" + "WaitingForHeartbeat", + "Validating", + "Connecting", + "Connected", + "Running", + "PreparingForUpgrade", + "ETCDSnapshotFailed", + "UpgradePrerequisitesCompleted", + "ValidatingSFSConnectivity", + "ValidatingImageDownload", + "ValidatingImageUpload", + "ValidatingETCDHealth", + "PreUpgrade", + "UpgradingKVAIO", + "WaitingForKVAIO", + "ImagePending", + "ImageProvisioning", + "ImageProvisioned", + "ImageDownloading", + "ImageDownloaded", + "ImageDeprovisioning", + "ImageUnknown", + "UpdatingCloudOperator", + "WaitingForCloudOperator", + "UpdatingCAPI", + "UpdatingCluster", + "PostUpgrade", + "UpgradeComplete", + "UpgradeClusterExtensionFailedToDelete", + "UpgradeFailed", + "Offline", + "None" ], "x-ms-enum": { - "name": "SSHKeyType", - "modelAsString": true + "name": "Status", + "modelAsString": true, + "values": [ + { + "name": "WaitingForHeartbeat", + "value": "WaitingForHeartbeat" + }, + { + "name": "Validating", + "value": "Validating" + }, + { + "name": "Connecting", + "value": "Connecting" + }, + { + "name": "Connected", + "value": "Connected" + }, + { + "name": "Running", + "value": "Running" + }, + { + "name": "PreparingForUpgrade", + "value": "PreparingForUpgrade" + }, + { + "name": "ETCDSnapshotFailed", + "value": "ETCDSnapshotFailed" + }, + { + "name": "UpgradePrerequisitesCompleted", + "value": "UpgradePrerequisitesCompleted" + }, + { + "name": "ValidatingSFSConnectivity", + "value": "ValidatingSFSConnectivity" + }, + { + "name": "ValidatingImageDownload", + "value": "ValidatingImageDownload" + }, + { + "name": "ValidatingImageUpload", + "value": "ValidatingImageUpload" + }, + { + "name": "ValidatingETCDHealth", + "value": "ValidatingETCDHealth" + }, + { + "name": "PreUpgrade", + "value": "PreUpgrade" + }, + { + "name": "UpgradingKVAIO", + "value": "UpgradingKVAIO" + }, + { + "name": "WaitingForKVAIO", + "value": "WaitingForKVAIO" + }, + { + "name": "ImagePending", + "value": "ImagePending" + }, + { + "name": "ImageProvisioning", + "value": "ImageProvisioning" + }, + { + "name": "ImageProvisioned", + "value": "ImageProvisioned" + }, + { + "name": "ImageDownloading", + "value": "ImageDownloading" + }, + { + "name": "ImageDownloaded", + "value": "ImageDownloaded" + }, + { + "name": "ImageDeprovisioning", + "value": "ImageDeprovisioning" + }, + { + "name": "ImageUnknown", + "value": "ImageUnknown" + }, + { + "name": "UpdatingCloudOperator", + "value": "UpdatingCloudOperator" + }, + { + "name": "WaitingForCloudOperator", + "value": "WaitingForCloudOperator" + }, + { + "name": "UpdatingCAPI", + "value": "UpdatingCAPI" + }, + { + "name": "UpdatingCluster", + "value": "UpdatingCluster" + }, + { + "name": "PostUpgrade", + "value": "PostUpgrade" + }, + { + "name": "UpgradeComplete", + "value": "UpgradeComplete" + }, + { + "name": "UpgradeClusterExtensionFailedToDelete", + "value": "UpgradeClusterExtensionFailedToDelete" + }, + { + "name": "UpgradeFailed", + "value": "UpgradeFailed" + }, + { + "name": "Offline", + "value": "Offline" + }, + { + "name": "None", + "value": "None" + } + ] } }, "SupportedVersion": { - "description": "The SupportedVersion object for appliance.", "type": "object", + "description": "The SupportedVersion object for appliance.", "properties": { "metadata": { "$ref": "#/definitions/SupportedVersionMetadata", "description": "This is the metadata of the supported newer version.", - "type": "object", "readOnly": true }, "version": { - "description": "The newer version available for upgrade.", "type": "string", + "description": "The newer version available for upgrade.", "readOnly": true } } }, "SupportedVersionCatalogVersion": { - "description": "The SupportedVersionCatalogVersion object for appliance.", "type": "object", + "description": "The SupportedVersionCatalogVersion object for appliance.", "properties": { "data": { "$ref": "#/definitions/SupportedVersionCatalogVersionData", "description": "The newer supported version catalog version data.", - "type": "object", "readOnly": true }, "name": { - "description": "The catalog version name for the version available for upgrade.", "type": "string", + "description": "The catalog version name for the version available for upgrade.", "readOnly": true }, "namespace": { - "description": "The catalog version namespace for the version available for upgrade.", "type": "string", + "description": "The catalog version namespace for the version available for upgrade.", "readOnly": true } } }, "SupportedVersionCatalogVersionData": { - "description": "The SupportedVersionCatalogVersionData object for appliance.", "type": "object", + "description": "The SupportedVersionCatalogVersionData object for appliance.", "properties": { "audience": { - "description": "The image audience name for the version available for upgrade.", "type": "string", + "description": "The image audience name for the version available for upgrade.", "readOnly": true }, "catalog": { - "description": "The image catalog name for the version available for upgrade.", "type": "string", + "description": "The image catalog name for the version available for upgrade.", "readOnly": true }, "offer": { - "description": "The image offer name for the version available for upgrade.", "type": "string", + "description": "The image offer name for the version available for upgrade.", "readOnly": true }, "version": { - "description": "The image version for the version available for upgrade.", "type": "string", + "description": "The image version for the version available for upgrade.", "readOnly": true } } }, "SupportedVersionMetadata": { - "description": "The SupportedVersionMetadata object for appliance.", "type": "object", + "description": "The SupportedVersionMetadata object for appliance.", "properties": { "catalogVersion": { "$ref": "#/definitions/SupportedVersionCatalogVersion", "description": "The newer supported version catalog version.", - "type": "object", "readOnly": true } } }, "UpgradeGraph": { - "description": "The Upgrade Graph for appliance.", "type": "object", + "description": "The Upgrade Graph for appliance.", "properties": { "id": { - "description": "The appliance resource path", "type": "string", + "description": "The appliance resource path", "readOnly": true }, "name": { - "description": "The release train name.", "type": "string", + "description": "The release train name.", "readOnly": true }, "properties": { "$ref": "#/definitions/UpgradeGraphProperties", - "description": "The properties of supported version", - "type": "object" + "description": "The properties of supported version" } } }, "UpgradeGraphProperties": { - "description": "The Upgrade Graph Properties for appliance.", "type": "object", + "description": "The Upgrade Graph Properties for appliance.", "properties": { "applianceVersion": { - "description": "The current appliance version", "type": "string", + "description": "The current appliance version", "readOnly": true }, "supportedVersions": { - "description": "This contains the current version and supported upgrade versions.", "type": "array", - "readOnly": true, + "description": "This contains the current version and supported upgrade versions.", "items": { "$ref": "#/definitions/SupportedVersion" }, + "readOnly": true, "x-ms-identifiers": [] } } }, "appliance": { - "description": "Appliances definition.", "type": "object", + "description": "Appliances definition.", "properties": { - "identity": { - "$ref": "#/definitions/Identity", - "description": "Identity for the resource." - }, "properties": { "$ref": "#/definitions/applianceProperties", "description": "The set of properties specific to an Appliance", "x-ms-client-flatten": true + }, + "identity": { + "$ref": "#/definitions/Identity", + "description": "Identity for the resource." } }, "allOf": [ @@ -810,43 +1085,35 @@ ] }, "applianceCredentialKubeconfig": { - "description": "Cluster User Credential appliance.", "type": "object", + "description": "Cluster User Credential appliance.", "properties": { "name": { + "$ref": "#/definitions/AccessProfileType", "description": "Name which contains the role of the kubeconfig.", - "type": "string", - "readOnly": true, - "enum": [ - "clusterUser", - "clusterCustomerUser" - ], - "x-ms-enum": { - "name": "AccessProfileType", - "modelAsString": true - } + "readOnly": true }, "value": { - "description": "Contains the kubeconfig value.", "type": "string", + "description": "Contains the kubeconfig value.", "readOnly": true } } }, "applianceGetTelemetryConfigResult": { - "description": "The Get Telemetry Config Result appliance.", "type": "object", + "description": "The Get Telemetry Config Result appliance.", "properties": { "telemetryInstrumentationKey": { - "description": "Telemetry instrumentation key.", "type": "string", + "description": "Telemetry instrumentation key.", "readOnly": true } } }, "applianceListCredentialResults": { - "description": "The List Cluster User Credential appliance.", "type": "object", + "description": "The List Cluster User Credential appliance.", "properties": { "hybridConnectionConfig": { "$ref": "#/definitions/HybridConnectionConfig", @@ -854,69 +1121,72 @@ "readOnly": true }, "kubeconfigs": { - "description": "The list of appliance kubeconfigs.", "type": "array", - "readOnly": true, + "description": "The list of appliance kubeconfigs.", "items": { "$ref": "#/definitions/applianceCredentialKubeconfig" }, + "readOnly": true, "x-ms-identifiers": [] } } }, "applianceListKeysResults": { - "description": "The List Cluster Keys Results appliance.", "type": "object", + "description": "The List Cluster Keys Results appliance.", "properties": { "artifactProfiles": { - "description": "Map of artifacts that contains a list of ArtifactProfile used to upload artifacts such as logs.", "type": "object", - "readOnly": true, + "description": "Map of artifacts that contains a list of ArtifactProfile used to upload artifacts such as logs.", "additionalProperties": { "$ref": "#/definitions/ArtifactProfile" - } + }, + "readOnly": true }, "kubeconfigs": { - "description": "The list of appliance kubeconfigs.", "type": "array", - "readOnly": true, + "description": "The list of appliance kubeconfigs.", "items": { "$ref": "#/definitions/applianceCredentialKubeconfig" }, + "readOnly": true, "x-ms-identifiers": [] }, "sshKeys": { - "description": "Map of Customer User Public, Private SSH Keys and Certificate when available.", "type": "object", - "readOnly": true, + "description": "Map of Customer User Public, Private SSH Keys and Certificate when available.", "additionalProperties": { "$ref": "#/definitions/SSHKey" - } + }, + "readOnly": true } } }, "applianceListResult": { - "description": "The List Appliances operation response.", "type": "object", + "description": "Paged collection of Appliance items", "properties": { - "nextLink": { - "description": "The URL to use for getting the next set of results.", - "type": "string", - "readOnly": true - }, "value": { - "description": "The list of Appliances.", "type": "array", - "readOnly": true, + "description": "The Appliance items on this page", "items": { "$ref": "#/definitions/appliance" - } + }, + "readOnly": true + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" } - } + }, + "required": [ + "value" + ] }, "applianceOperation": { - "description": "Appliances operation.", "type": "object", + "description": "Appliances operation.", "properties": { "display": { "$ref": "#/definitions/applianceOperationValueDisplay", @@ -924,176 +1194,138 @@ "x-ms-client-flatten": true }, "isDataAction": { - "description": "Is this Operation a data plane operation", "type": "boolean", + "description": "Is this Operation a data plane operation", "readOnly": true }, "name": { - "description": "The name of the compute operation.", "type": "string", + "description": "The name of the compute operation.", "readOnly": true }, "origin": { - "description": "The origin of the compute operation.", "type": "string", + "description": "The origin of the compute operation.", "readOnly": true } } }, "applianceOperationValueDisplay": { - "description": "Describes the properties of an Appliances Operation Value Display.", "type": "object", + "description": "Describes the properties of an Appliances Operation Value Display.", "properties": { "description": { - "description": "The description of the operation.", "type": "string", + "description": "The description of the operation.", "readOnly": true }, "operation": { - "description": "The display name of the compute operation.", "type": "string", + "description": "The display name of the compute operation.", "readOnly": true }, "provider": { - "description": "The resource provider for the operation.", "type": "string", + "description": "The resource provider for the operation.", "readOnly": true }, "resource": { - "description": "The display name of the resource the operation applies to.", "type": "string", + "description": "The display name of the resource the operation applies to.", "readOnly": true } } }, "applianceOperationsList": { - "description": "Lists of Appliances operations.", - "required": [ - "value" - ], "type": "object", + "description": "Paged collection of ApplianceOperation items", "properties": { - "nextLink": { - "description": "Next page of operations.", - "type": "string" - }, "value": { - "description": "Array of applianceOperation", "type": "array", + "description": "The ApplianceOperation items on this page", "items": { "$ref": "#/definitions/applianceOperation" - }, - "x-ms-identifiers": [] + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" } - } + }, + "required": [ + "value" + ] }, "applianceProperties": { - "description": "Properties for an appliance.", "type": "object", + "description": "Properties for an appliance.", "properties": { "distro": { - "description": "Represents a supported Fabric/Infra. (AKSEdge etc...).", "type": "string", + "description": "Represents a supported Fabric/Infra. (AKSEdge etc...).", + "default": "AKSEdge", "enum": [ "AKSEdge" ], "x-ms-enum": { - "name": "distro", - "modelAsString": true - }, - "default": "AKSEdge" - }, - "infrastructureConfig": { - "description": "Contains infrastructure information about the Appliance", - "type": "object", - "properties": { - "provider": { - "description": "Information about the connected appliance.", - "type": "string", - "enum": [ - "VMWare", - "HCI", - "SCVMM" - ], - "x-ms-enum": { - "name": "provider", - "modelAsString": true + "name": "Distro", + "modelAsString": true, + "values": [ + { + "name": "AKSEdge", + "value": "AKSEdge" } - } + ] } }, + "infrastructureConfig": { + "$ref": "#/definitions/appliancePropertiesInfrastructureConfig", + "description": "Contains infrastructure information about the Appliance" + }, "provisioningState": { - "description": "The current deployment or provisioning state, which only appears in the response.", "type": "string", + "description": "The current deployment or provisioning state, which only appears in the response.", "readOnly": true }, "publicKey": { - "description": "Certificates pair used to download MSI certificate from HIS. Can only be set once.", - "type": "string" + "type": "string", + "description": "Certificates pair used to download MSI certificate from HIS. Can only be set once." }, "status": { + "$ref": "#/definitions/Status", "description": "Appliance’s health and state of connection to on-prem", - "type": "string", - "readOnly": true, - "enum": [ - "WaitingForHeartbeat", - "Validating", - "Connecting", - "Connected", - "Running", - "PreparingForUpgrade", - "ETCDSnapshotFailed", - "UpgradePrerequisitesCompleted", - "ValidatingSFSConnectivity", - "ValidatingImageDownload", - "ValidatingImageUpload", - "ValidatingETCDHealth", - "PreUpgrade", - "UpgradingKVAIO", - "WaitingForKVAIO", - "ImagePending", - "ImageProvisioning", - "ImageProvisioned", - "ImageDownloading", - "ImageDownloaded", - "ImageDeprovisioning", - "ImageUnknown", - "UpdatingCloudOperator", - "WaitingForCloudOperator", - "UpdatingCAPI", - "UpdatingCluster", - "PostUpgrade", - "UpgradeComplete", - "UpgradeClusterExtensionFailedToDelete", - "UpgradeFailed", - "Offline", - "None" - ], - "x-ms-enum": { - "name": "status", - "modelAsString": true - } + "readOnly": true }, "version": { - "description": "Version of the Appliance", - "type": "string" + "type": "string", + "description": "Version of the Appliance" + } + } + }, + "appliancePropertiesInfrastructureConfig": { + "type": "object", + "description": "Contains infrastructure information about the Appliance", + "properties": { + "provider": { + "$ref": "#/definitions/Provider", + "description": "Information about the connected appliance." } } }, "patchableAppliance": { - "description": "The Appliances patchable resource definition.", "type": "object", - "x-ms-azure-resource": true, - "x-ms-client-flatten": true, + "description": "The Appliances patchable resource definition.", "properties": { "tags": { - "description": "Resource tags", "type": "object", + "description": "Resource tags", "additionalProperties": { "type": "string" } } } } - } + }, + "parameters": {} } diff --git a/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/stable/2022-10-27/examples/AppliancesCreate_Update.json b/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/stable/2022-10-27/examples/AppliancesCreate_Update.json index 56eed30f4027..fa55455ac4cc 100644 --- a/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/stable/2022-10-27/examples/AppliancesCreate_Update.json +++ b/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/stable/2022-10-27/examples/AppliancesCreate_Update.json @@ -1,9 +1,6 @@ { "parameters": { "api-version": "2022-10-27", - "subscriptionId": "11111111-2222-3333-4444-555555555555", - "resourceGroupName": "testresourcegroup", - "resourceName": "appliance01", "identity": { "type": "SystemAssigned" }, @@ -15,68 +12,73 @@ "provider": "VMWare" } } - } + }, + "resourceGroupName": "testresourcegroup", + "resourceName": "appliance01", + "subscriptionId": "11111111-2222-3333-4444-555555555555" }, "responses": { "200": { "body": { - "id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testrg/providers/Microsoft.ResourceConnector/appliances/appliance01", "name": "appliance01", "type": "Microsoft.ResourceConnector/appliances", + "id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testrg/providers/Microsoft.ResourceConnector/appliances/appliance01", + "identity": { + "type": "SystemAssigned", + "principalId": "11111111-1111-1111-1111-111111111111", + "tenantId": "111111-1111-1111-1111-111111111111" + }, "location": "West US", "properties": { "distro": "AKSEdge", - "version": "1.0.1", - "provisioningState": "Updating", - "status": "Running", - "publicKey": "xxxxxxxx", "infrastructureConfig": { "provider": "VMWare" - } - }, - "identity": { - "type": "SystemAssigned", - "principalId": "11111111-1111-1111-1111-111111111111", - "tenantId": "111111-1111-1111-1111-111111111111" + }, + "provisioningState": "Updating", + "publicKey": "xxxxxxxx", + "status": "Running", + "version": "1.0.1" }, "systemData": { + "createdAt": "2020-04-24T18:53:29.0928001Z", "createdBy": "string", "createdByType": "Application", - "createdAt": "2020-04-24T18:53:29.0928001Z", + "lastModifiedAt": "2020-04-24T18:53:29.0928001Z", "lastModifiedBy": "string", - "lastModifiedByType": "Application", - "lastModifiedAt": "2020-04-24T18:53:29.0928001Z" + "lastModifiedByType": "Application" } } }, "201": { "body": { - "id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testrg/providers/Microsoft.ResourceConnector/appliances/appliance01", "name": "appliance01", "type": "Microsoft.ResourceConnector/appliances", + "id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testrg/providers/Microsoft.ResourceConnector/appliances/appliance01", + "identity": { + "type": "SystemAssigned", + "principalId": "11111111-1111-1111-1111-111111111111", + "tenantId": "111111-1111-1111-1111-111111111111" + }, "location": "West US", "properties": { "distro": "AKSEdge", - "provisioningState": "Creating", - "status": "WaitingForHeartbeat", "infrastructureConfig": { "provider": "VMWare" - } - }, - "identity": { - "type": "SystemAssigned", - "principalId": "11111111-1111-1111-1111-111111111111", - "tenantId": "111111-1111-1111-1111-111111111111" + }, + "provisioningState": "Creating", + "status": "WaitingForHeartbeat" }, "systemData": { + "createdAt": "2020-04-24T18:53:29.0928001Z", "createdBy": "string", "createdByType": "Application", - "createdAt": "2020-04-24T18:53:29.0928001Z", + "lastModifiedAt": "2020-04-24T18:53:29.0928001Z", "lastModifiedBy": "string", - "lastModifiedByType": "Application", - "lastModifiedAt": "2020-04-24T18:53:29.0928001Z" + "lastModifiedByType": "Application" } } } - } + }, + "operationId": "Appliances_CreateOrUpdate", + "title": "Create/Update Appliance" } diff --git a/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/stable/2022-10-27/examples/AppliancesDelete.json b/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/stable/2022-10-27/examples/AppliancesDelete.json index 1df1560dfd1d..c3456e5f2f11 100644 --- a/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/stable/2022-10-27/examples/AppliancesDelete.json +++ b/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/stable/2022-10-27/examples/AppliancesDelete.json @@ -1,15 +1,15 @@ { "parameters": { "api-version": "2022-10-27", - "subscriptionId": "11111111-2222-3333-4444-555555555555", "resourceGroupName": "testresourcegroup", - "resourceName": "appliance01" + "resourceName": "appliance01", + "subscriptionId": "11111111-2222-3333-4444-555555555555" }, "responses": { "202": { "headers": { - "Location": "https://management.azure.com/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testresourcegroup/providers/Microsoft.ResourceConnector/locations/eastus/operationStatus/default/operationId/00000000-0000-0000-0000-000000000000?api-version=2022-10-27", - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testresourcegroup/providers/Microsoft.ResourceConnector/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000/default?api-version=2022-10-27" + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testresourcegroup/providers/Microsoft.ResourceConnector/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000/default?api-version=2022-10-27", + "Location": "https://management.azure.com/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testresourcegroup/providers/Microsoft.ResourceConnector/locations/eastus/operationStatus/default/operationId/00000000-0000-0000-0000-000000000000?api-version=2022-10-27" } }, "204": { @@ -17,5 +17,7 @@ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testresourcegroup/providers/Microsoft.ResourceConnector/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000/default?api-version=2022-10-27" } } - } + }, + "operationId": "Appliances_Delete", + "title": "Delete Appliance" } diff --git a/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/stable/2022-10-27/examples/AppliancesGet.json b/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/stable/2022-10-27/examples/AppliancesGet.json index 85cec8551e49..c5c24994ab9a 100644 --- a/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/stable/2022-10-27/examples/AppliancesGet.json +++ b/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/stable/2022-10-27/examples/AppliancesGet.json @@ -1,41 +1,43 @@ { "parameters": { "api-version": "2022-10-27", - "subscriptionId": "11111111-2222-3333-4444-555555555555", "resourceGroupName": "testresourcegroup", - "resourceName": "appliance01" + "resourceName": "appliance01", + "subscriptionId": "11111111-2222-3333-4444-555555555555" }, "responses": { "200": { "body": { - "id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testresourcegroup/providers/Microsoft.ResourceConnector/appliances/appliance01", "name": "appliance01", "type": "Microsoft.ResourceConnector/appliances", + "id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testresourcegroup/providers/Microsoft.ResourceConnector/appliances/appliance01", + "identity": { + "type": "SystemAssigned", + "principalId": "11111111-1111-1111-1111-111111111111", + "tenantId": "111111-1111-1111-1111-111111111111" + }, "location": "West US", "properties": { "distro": "AKSEdge", - "version": "1.0.1", - "provisioningState": "Succeeded", - "status": "Running", - "publicKey": "xxxxxxxx", "infrastructureConfig": { "provider": "VMWare" - } - }, - "identity": { - "type": "SystemAssigned", - "principalId": "11111111-1111-1111-1111-111111111111", - "tenantId": "111111-1111-1111-1111-111111111111" + }, + "provisioningState": "Succeeded", + "publicKey": "xxxxxxxx", + "status": "Running", + "version": "1.0.1" }, "systemData": { + "createdAt": "2020-04-24T18:53:29.0928001Z", "createdBy": "string", "createdByType": "Application", - "createdAt": "2020-04-24T18:53:29.0928001Z", + "lastModifiedAt": "2020-04-24T18:53:29.0928001Z", "lastModifiedBy": "string", - "lastModifiedByType": "Application", - "lastModifiedAt": "2020-04-24T18:53:29.0928001Z" + "lastModifiedByType": "Application" } } } - } + }, + "operationId": "Appliances_Get", + "title": "Get Appliance" } diff --git a/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/stable/2022-10-27/examples/AppliancesListByResourceGroup.json b/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/stable/2022-10-27/examples/AppliancesListByResourceGroup.json index 14ac5be0effe..853ea32f427c 100644 --- a/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/stable/2022-10-27/examples/AppliancesListByResourceGroup.json +++ b/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/stable/2022-10-27/examples/AppliancesListByResourceGroup.json @@ -1,63 +1,65 @@ { "parameters": { "api-version": "2022-10-27", - "subscriptionId": "11111111-2222-3333-4444-555555555555", - "resourceGroupName": "testresourcegroup" + "resourceGroupName": "testresourcegroup", + "subscriptionId": "11111111-2222-3333-4444-555555555555" }, "responses": { "200": { "body": { "value": [ { - "id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testresourcegroup/providers/Microsoft.ResourceConnector/appliances/appliance01", "name": "appliance01", "type": "Microsoft.ResourceConnector/appliances", + "id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testresourcegroup/providers/Microsoft.ResourceConnector/appliances/appliance01", "location": "West US", "properties": { "distro": "AKSEdge", - "version": "1.0.1", - "provisioningState": "Succeeded", - "status": "Running", - "publicKey": "xxxxxxxx", "infrastructureConfig": { "provider": "VMWare" - } + }, + "provisioningState": "Succeeded", + "publicKey": "xxxxxxxx", + "status": "Running", + "version": "1.0.1" }, "systemData": { + "createdAt": "2020-04-24T18:53:29.0928001Z", "createdBy": "string", "createdByType": "Application", - "createdAt": "2020-04-24T18:53:29.0928001Z", + "lastModifiedAt": "2020-04-24T18:53:29.0928001Z", "lastModifiedBy": "string", - "lastModifiedByType": "Application", - "lastModifiedAt": "2020-04-24T18:53:29.0928001Z" + "lastModifiedByType": "Application" } }, { - "id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testresourcegroup/providers/Microsoft.ResourceConnector/appliances/appliance02", "name": "appliance02", "type": "Microsoft.ResourceConnector/appliances", + "id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testresourcegroup/providers/Microsoft.ResourceConnector/appliances/appliance02", "location": "West US", "properties": { "distro": "AKSEdge", - "version": "1.0.1", - "provisioningState": "Succeeded", - "status": "Running", - "publicKey": "xxxxxxxx", "infrastructureConfig": { "provider": "VMWare" - } + }, + "provisioningState": "Succeeded", + "publicKey": "xxxxxxxx", + "status": "Running", + "version": "1.0.1" }, "systemData": { + "createdAt": "2020-04-24T18:53:29.0928001Z", "createdBy": "string", "createdByType": "Application", - "createdAt": "2020-04-24T18:53:29.0928001Z", + "lastModifiedAt": "2020-04-24T18:53:29.0928001Z", "lastModifiedBy": "string", - "lastModifiedByType": "Application", - "lastModifiedAt": "2020-04-24T18:53:29.0928001Z" + "lastModifiedByType": "Application" } } ] } } - } + }, + "operationId": "Appliances_ListByResourceGroup", + "title": "List Appliances by resource group" } diff --git a/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/stable/2022-10-27/examples/AppliancesListBySubscription.json b/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/stable/2022-10-27/examples/AppliancesListBySubscription.json index 20e83886cfec..7b96c6c6b505 100644 --- a/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/stable/2022-10-27/examples/AppliancesListBySubscription.json +++ b/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/stable/2022-10-27/examples/AppliancesListBySubscription.json @@ -8,55 +8,57 @@ "body": { "value": [ { - "id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testresourcegroup/providers/Microsoft.ResourceConnector/appliances/appliance01", "name": "appliance01", "type": "Microsoft.ResourceConnector/appliances", + "id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testresourcegroup/providers/Microsoft.ResourceConnector/appliances/appliance01", "location": "West US", "properties": { "distro": "AKSEdge", - "version": "1.0.1", - "provisioningState": "Succeeded", - "status": "Running", - "publicKey": "xxxxxxxx", "infrastructureConfig": { "provider": "VMWare" - } + }, + "provisioningState": "Succeeded", + "publicKey": "xxxxxxxx", + "status": "Running", + "version": "1.0.1" }, "systemData": { + "createdAt": "2020-04-24T18:53:29.0928001Z", "createdBy": "string", "createdByType": "Application", - "createdAt": "2020-04-24T18:53:29.0928001Z", + "lastModifiedAt": "2020-04-24T18:53:29.0928001Z", "lastModifiedBy": "string", - "lastModifiedByType": "Application", - "lastModifiedAt": "2020-04-24T18:53:29.0928001Z" + "lastModifiedByType": "Application" } }, { - "id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testresourcegroup/providers/Microsoft.ResourceConnector/appliances/appliance02", "name": "appliance02", "type": "Microsoft.ResourceConnector/appliances", + "id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testresourcegroup/providers/Microsoft.ResourceConnector/appliances/appliance02", "location": "West US", "properties": { "distro": "AKSEdge", - "version": "1.0.1", - "provisioningState": "Succeeded", - "status": "Running", - "publicKey": "xxxxxxxx", "infrastructureConfig": { "provider": "VMWare" - } + }, + "provisioningState": "Succeeded", + "publicKey": "xxxxxxxx", + "status": "Running", + "version": "1.0.1" }, "systemData": { + "createdAt": "2020-04-24T18:53:29.0928001Z", "createdBy": "string", "createdByType": "Application", - "createdAt": "2020-04-24T18:53:29.0928001Z", + "lastModifiedAt": "2020-04-24T18:53:29.0928001Z", "lastModifiedBy": "string", - "lastModifiedByType": "Application", - "lastModifiedAt": "2020-04-24T18:53:29.0928001Z" + "lastModifiedByType": "Application" } } ] } } - } + }, + "operationId": "Appliances_ListBySubscription", + "title": "List Appliances by subscription" } diff --git a/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/stable/2022-10-27/examples/AppliancesListClusterUserCredential.json b/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/stable/2022-10-27/examples/AppliancesListClusterUserCredential.json index 7826fa9a55a2..7f2664d8702e 100644 --- a/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/stable/2022-10-27/examples/AppliancesListClusterUserCredential.json +++ b/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/stable/2022-10-27/examples/AppliancesListClusterUserCredential.json @@ -1,9 +1,9 @@ { "parameters": { "api-version": "2022-10-27", - "subscriptionId": "11111111-2222-3333-4444-555555555555", "resourceGroupName": "testresourcegroup", - "resourceName": "appliance01" + "resourceName": "appliance01", + "subscriptionId": "11111111-2222-3333-4444-555555555555" }, "responses": { "200": { @@ -11,8 +11,8 @@ "hybridConnectionConfig": { "expirationTime": 123456789, "hybridConnectionName": "provider/type/bc36ffcf318d5bedfc05ba8b0628dba", - "token": "mockSecretOtherprovider/type/bc36ffcf318d5bedfc05ba91c157ReceiverToken", - "relay": "relayName" + "relay": "relayName", + "token": "mockSecretOtherprovider/type/bc36ffcf318d5bedfc05ba91c157ReceiverToken" }, "kubeconfigs": [ { @@ -22,5 +22,7 @@ ] } } - } + }, + "operationId": "Appliances_ListClusterUserCredential", + "title": "ListClusterUserCredentialAppliance" } diff --git a/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/stable/2022-10-27/examples/AppliancesListKeys.json b/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/stable/2022-10-27/examples/AppliancesListKeys.json index 0107556fdcb7..9c329c678d07 100644 --- a/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/stable/2022-10-27/examples/AppliancesListKeys.json +++ b/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/stable/2022-10-27/examples/AppliancesListKeys.json @@ -1,9 +1,9 @@ { "parameters": { "api-version": "2022-10-27", - "subscriptionId": "11111111-2222-3333-4444-555555555555", "resourceGroupName": "testresourcegroup", - "resourceName": "appliance01" + "resourceName": "appliance01", + "subscriptionId": "11111111-2222-3333-4444-555555555555" }, "responses": { "200": { @@ -20,27 +20,29 @@ } ], "sshKeys": { - "SSHCustomerUser": { - "privateKey": "xxxxxxxx", - "publicKey": "xxxxxxxx" + "LogsKey": { + "certificate": "", + "creationTimeStamp": 1660946559, + "expirationTimeStamp": 1724119358, + "privateKey": "" }, "ManagementCAKey": { "publicKey": "" }, - "LogsKey": { - "privateKey": "", - "creationTimeStamp": 1660946559, - "expirationTimeStamp": 1724119358, - "certificate": "" + "SSHCustomerUser": { + "privateKey": "xxxxxxxx", + "publicKey": "xxxxxxxx" }, "ScopedAccessKey": { - "privateKey": "", + "certificate": "", "creationTimeStamp": 1660946559, "expirationTimeStamp": 1724119358, - "certificate": "" + "privateKey": "" } } } } - } + }, + "operationId": "Appliances_ListKeys", + "title": "ListKeys Appliance" } diff --git a/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/stable/2022-10-27/examples/AppliancesListOperations.json b/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/stable/2022-10-27/examples/AppliancesListOperations.json index d6b8557cfced..5165f31abe48 100644 --- a/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/stable/2022-10-27/examples/AppliancesListOperations.json +++ b/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/stable/2022-10-27/examples/AppliancesListOperations.json @@ -14,8 +14,8 @@ "provider": "Microsoft ResourceConnector", "resource": "Operations" }, - "origin": "user,system", - "isDataAction": false + "isDataAction": false, + "origin": "user,system" }, { "name": "Microsoft.ResourceConnector/register/action", @@ -25,8 +25,8 @@ "provider": "Microsoft ResourceConnector", "resource": "Appliances Resource Provider" }, - "origin": "user,system", - "isDataAction": false + "isDataAction": false, + "origin": "user,system" }, { "name": "Microsoft.ResourceConnector/appliances/read", @@ -36,8 +36,8 @@ "provider": "Microsoft ResourceConnector", "resource": "Appliances" }, - "origin": "user,system", - "isDataAction": false + "isDataAction": false, + "origin": "user,system" }, { "name": "Microsoft.ResourceConnector/appliances/write", @@ -47,8 +47,8 @@ "provider": "Microsoft ResourceConnector", "resource": "Appliances" }, - "origin": "user,system", - "isDataAction": false + "isDataAction": false, + "origin": "user,system" }, { "name": "Microsoft.ResourceConnector/appliances/delete", @@ -58,8 +58,8 @@ "provider": "Microsoft ResourceConnector", "resource": "Appliances" }, - "origin": "user,system", - "isDataAction": false + "isDataAction": false, + "origin": "user,system" }, { "name": "Microsoft.ResourceConnector/appliances/listClusterUserCredential", @@ -69,8 +69,8 @@ "provider": "Microsoft ResourceConnector", "resource": "Appliances" }, - "origin": "user,system", - "isDataAction": false + "isDataAction": false, + "origin": "user,system" }, { "name": "Microsoft.ResourceConnector/locations/operationsstatus/read", @@ -80,8 +80,8 @@ "provider": "Microsoft ResourceConnector", "resource": "Appliance Operation Status" }, - "origin": "user,system", - "isDataAction": false + "isDataAction": false, + "origin": "user,system" }, { "name": "Microsoft.ResourceConnector/locations/operationresults/read", @@ -91,11 +91,13 @@ "provider": "Microsoft ResourceConnector", "resource": "Appliance Operation Result" }, - "origin": "user,system", - "isDataAction": false + "isDataAction": false, + "origin": "user,system" } ] } } - } + }, + "operationId": "Appliances_ListOperations", + "title": "List Appliances operations" } diff --git a/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/stable/2022-10-27/examples/AppliancesPatch.json b/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/stable/2022-10-27/examples/AppliancesPatch.json index 9c47308d0f07..d38f4cb86668 100644 --- a/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/stable/2022-10-27/examples/AppliancesPatch.json +++ b/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/stable/2022-10-27/examples/AppliancesPatch.json @@ -1,44 +1,46 @@ { "parameters": { "api-version": "2022-10-27", - "subscriptionId": "11111111-2222-3333-4444-555555555555", - "resourceGroupName": "testresourcegroup", - "resourceName": "appliance01", + "identity": { + "type": "SystemAssigned" + }, "parameters": { "tags": { "key": "value" } }, - "identity": { - "type": "SystemAssigned" - } + "resourceGroupName": "testresourcegroup", + "resourceName": "appliance01", + "subscriptionId": "11111111-2222-3333-4444-555555555555" }, "responses": { "200": { "body": { - "id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testresourcegroup/providers/Microsoft.ResourceConnector/appliances/appliance01", "name": "appliance01", "type": "Microsoft.ResourceConnector/appliances", - "location": "West US", - "tags": { - "key": "value" + "id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testresourcegroup/providers/Microsoft.ResourceConnector/appliances/appliance01", + "identity": { + "type": "SystemAssigned", + "principalId": "11111111-1111-1111-1111-111111111111", + "tenantId": "111111-1111-1111-1111-111111111111" }, + "location": "West US", "properties": { - "provisioningState": "Succeeded", - "status": "Running", "distro": "AKSEdge", - "version": "1.0.1", - "publicKey": "xxxxxxxx", "infrastructureConfig": { "provider": "VMWare" - } + }, + "provisioningState": "Succeeded", + "publicKey": "xxxxxxxx", + "status": "Running", + "version": "1.0.1" }, - "identity": { - "type": "SystemAssigned", - "principalId": "11111111-1111-1111-1111-111111111111", - "tenantId": "111111-1111-1111-1111-111111111111" + "tags": { + "key": "value" } } } - } + }, + "operationId": "Appliances_Update", + "title": "Update Appliance" } diff --git a/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/stable/2022-10-27/examples/TelemetryConfig.json b/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/stable/2022-10-27/examples/TelemetryConfig.json index b900b630845a..db32d9e3a386 100644 --- a/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/stable/2022-10-27/examples/TelemetryConfig.json +++ b/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/stable/2022-10-27/examples/TelemetryConfig.json @@ -9,5 +9,7 @@ "telemetryInstrumentationKey": "xxxxxxxxxxxxxxxxxxxxxxxxxxx" } } - } + }, + "operationId": "Appliances_GetTelemetryConfig", + "title": "GetTelemetryConfig Appliance" } diff --git a/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/stable/2022-10-27/examples/UpgradeGraph.json b/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/stable/2022-10-27/examples/UpgradeGraph.json index 226f38f2298b..e2234be72553 100644 --- a/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/stable/2022-10-27/examples/UpgradeGraph.json +++ b/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/stable/2022-10-27/examples/UpgradeGraph.json @@ -1,37 +1,39 @@ { "parameters": { "api-version": "2022-10-27", - "subscriptionId": "11111111-2222-3333-4444-555555555555", "resourceGroupName": "testresourcegroup", "resourceName": "appliance01", + "subscriptionId": "11111111-2222-3333-4444-555555555555", "upgradeGraph": "stable" }, "responses": { "200": { "body": { - "id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testresourcegroup/providers/Microsoft.ResourceConnector/appliances/appliance01", "name": "stable", + "id": "/subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/testresourcegroup/providers/Microsoft.ResourceConnector/appliances/appliance01", "properties": { "applianceVersion": "1.0.0", "supportedVersions": [ { - "version": "1.0.1", "metadata": { "catalogVersion": { "name": "cloudop-product-information", - "namespace": "cloudop-system", "data": { - "offer": "arcappliance", - "version": "0.1.5.11115", + "audience": "stable", "catalog": "arc-appliance-stable-catalogs-ext", - "audience": "stable" - } + "offer": "arcappliance", + "version": "0.1.5.11115" + }, + "namespace": "cloudop-system" } - } + }, + "version": "1.0.1" } ] } } } - } + }, + "operationId": "Appliances_GetUpgradeGraph", + "title": "Get Appliance Upgrade Graph" } diff --git a/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/suppressions.yaml b/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/suppressions.yaml index dfeaba7c7da1..f54837e8110d 100644 --- a/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/suppressions.yaml +++ b/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/suppressions.yaml @@ -3,7 +3,4 @@ reason: Brownfield service not ready to migrate - tool: TypeSpecRequirement path: ./preview/2022-04-15-preview/*.json - reason: Brownfield service not ready to migrate -- tool: TypeSpecRequirement - path: ./stable/2022-10-27/*.json reason: Brownfield service not ready to migrate \ No newline at end of file diff --git a/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/tspconfig.yaml b/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/tspconfig.yaml new file mode 100644 index 000000000000..42fa8db90a5b --- /dev/null +++ b/specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/ResourceConnector/tspconfig.yaml @@ -0,0 +1,45 @@ +parameters: + "service-dir": + default: "sdk/resourceconnector" +emit: + - "@azure-tools/typespec-autorest" +options: + "@azure-tools/typespec-autorest": + omit-unreachable-types: true + emitter-output-dir: "{project-root}" + azure-resource-provider-folder: "resource-manager" + output-file: "{version-status}/{version}/appliances.json" + arm-types-dir: "{project-root}/../../../../common-types/resource-management" + emit-lro-options: "all" + examples-dir: "{project-root}/examples" + "@azure-tools/typespec-python": + emitter-output-dir: "{output-dir}/{service-dir}/azure-mgmt-resourceconnector" + namespace: "azure.mgmt.resourceconnector" + generate-test: true + generate-sample: true + flavor: "azure" + "@azure-tools/typespec-java": + emitter-output-dir: "{output-dir}/{service-dir}/azure-resourcemanager-resourceconnector" + namespace: "com.azure.resourcemanager.resourceconnector" + service-name: "Resource Connector" + flavor: azure + "@azure-tools/typespec-ts": + emitter-output-dir: "{output-dir}/{service-dir}/arm-resourceconnector" + is-modular-library: true + flavor: "azure" + experimental-extensible-enums: true + package-details: + name: "@azure/arm-resourceconnector" + "@azure-tools/typespec-go": + service-dir: "sdk/resourcemanager/resourceconnector" + emitter-output-dir: "{output-dir}/{service-dir}/armresourceconnector" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armresourceconnector" + fix-const-stuttering: true + flavor: "azure" + generate-samples: true + generate-fakes: true + head-as-boolean: true + inject-spans: true +linter: + extends: + - "@azure-tools/typespec-azure-rulesets/resource-manager" diff --git a/specification/riskiq/Easm/client.tsp b/specification/riskiq/Easm/client.tsp index 817f94f9a301..31a785e09840 100644 --- a/specification/riskiq/Easm/client.tsp +++ b/specification/riskiq/Easm/client.tsp @@ -148,5 +148,10 @@ interface EasmClient { "csharp" ); @@clientName(EasmClient.getDiscoTemplate, "GetDiscoveryTemplate", "csharp"); +@@clientName(EasmClient.listAssetResource, "GetAssetResources", "csharp"); +@@clientName(EasmClient.listDataConnection, "GetDataConnections", "csharp"); @@clientName(EasmClient.listDiscoTemplate, "GetDiscoveryTemplates", "csharp"); +@@clientName(EasmClient.listPolicy, "GetPolicies", "csharp"); +@@clientName(EasmClient.listSavedFilter, "GetSavedFilters", "csharp"); +@@clientName(EasmClient.listTask, "GetTasks", "csharp"); @@clientName(EasmClient.validateDiscoGroup, "ValidateDiscoveryGroup", "csharp"); diff --git a/specification/riskiq/Easm/main.tsp b/specification/riskiq/Easm/main.tsp index 32f2d981a3cf..f96c6496cef1 100644 --- a/specification/riskiq/Easm/main.tsp +++ b/specification/riskiq/Easm/main.tsp @@ -31,7 +31,7 @@ using TypeSpec.Versioning; "", { @doc("The endpoint hosting the requested resource. For example, https://{region}.easm.defender.microsoft.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/workspaces/{workspaceName}") - endpoint: string, + endpoint: url, } ) @doc("Defender EASM discovers and maps your digital attack surface to provide an \"outside-in\" perspective using probes to discover assets. The assets are provided with detailed metadata associated, including vulnerabilities, configurations and web components, allowing customers to view and prioritize external risk. The EASM REST API enables you to develop clients that integrate with your application.") diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/easm.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/easm.json index 8c2779533eea..76b713b1c897 100644 --- a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/easm.json +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/easm.json @@ -22,7 +22,9 @@ "in": "path", "description": "The endpoint hosting the requested resource. For example, https://{region}.easm.defender.microsoft.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/workspaces/{workspaceName}", "required": true, - "type": "string" + "type": "string", + "format": "uri", + "x-ms-skip-url-encoding": true } ] }, diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/easm.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/easm.json index c32c4c91e983..56393b7499e0 100644 --- a/specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/easm.json +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/easm.json @@ -22,7 +22,9 @@ "in": "path", "description": "The endpoint hosting the requested resource. For example, https://{region}.easm.defender.microsoft.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/workspaces/{workspaceName}", "required": true, - "type": "string" + "type": "string", + "format": "uri", + "x-ms-skip-url-encoding": true } ] }, diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2024-10-01-preview/easm.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2024-10-01-preview/easm.json index 01c6a78c99ed..f7eb737aedb6 100644 --- a/specification/riskiq/data-plane/Microsoft.Easm/preview/2024-10-01-preview/easm.json +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2024-10-01-preview/easm.json @@ -22,7 +22,9 @@ "in": "path", "description": "The endpoint hosting the requested resource. For example, https://{region}.easm.defender.microsoft.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/workspaces/{workspaceName}", "required": true, - "type": "string" + "type": "string", + "format": "uri", + "x-ms-skip-url-encoding": true } ] }, diff --git a/specification/search/cspell.yaml b/specification/search/cspell.yaml index 8f0417c57691..4bd096bf8e73 100644 --- a/specification/search/cspell.yaml +++ b/specification/search/cspell.yaml @@ -9,6 +9,7 @@ import: words: - adls - adlsgen + - agentic - angika - asturian - awadhi diff --git a/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/KnowledgeBaseRetrieve.json b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/KnowledgeBaseRetrieve.json new file mode 100644 index 000000000000..b0425cc45671 --- /dev/null +++ b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/KnowledgeBaseRetrieve.json @@ -0,0 +1,289 @@ +{ + "operationId": "KnowledgeRetrieval_Retrieve", + "title": "KnowledgeBaseRetrieve", + "parameters": { + "endpoint": "https://previewexampleservice.search.windows.net", + "knowledgeBaseName": "base-preview-test", + "api-version": "2025-11-01-preview", + "x-ms-client-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-query-source-authorization": null, + "retrievalRequest": { + "messages": [ + { + "role": "user", + "content": [ + { + "text": "hello world", + "type": "text" + } + ] + } + ], + "maxRuntimeInSeconds": 60, + "maxOutputSize": 100000, + "retrievalReasoningEffort": { + "kind": "low" + }, + "includeActivity": true, + "outputMode": "answerSynthesis", + "knowledgeSourceParams": [ + { + "filterAddOn": "foo eq bar", + "knowledgeSourceName": "ks-preview-test", + "includeReferences": true, + "includeReferenceSourceData": true, + "alwaysQuerySource": false, + "rerankerThreshold": 2.1, + "kind": "searchIndex" + } + ] + } + }, + "responses": { + "200": { + "body": { + "response": [ + { + "content": [ + { + "type": "text", + "text": "[{...}]" + } + ] + } + ], + "activity": [ + { + "type": "modelQueryPlanning", + "id": 0, + "inputTokens": 11, + "outputTokens": 22, + "elapsedMs": 10 + }, + { + "type": "searchIndex", + "id": 1, + "knowledgeSourceName": "ks-preview-test", + "queryTime": "2025-01-01T00:08:45.045Z", + "count": 2, + "elapsedMs": 1234, + "searchIndexArguments": { + "search": "hello world", + "filter": "foo eq bar", + "sourceDataFields": [ + { + "name": "category" + }, + { + "name": "description" + }, + { + "name": "ownerId" + }, + { + "name": "id" + } + ], + "searchFields": [ + { + "name": "*" + } + ], + "semanticConfigurationName": "testconfig" + } + }, + { + "type": "searchIndex", + "id": 2, + "knowledgeSourceName": "ks-preview-test", + "queryTime": "2025-01-01T00:08:45.045Z", + "count": 2, + "elapsedMs": 1234, + "searchIndexArguments": { + "search": "hello world two", + "filter": "foo eq bar", + "sourceDataFields": [ + { + "name": "category" + }, + { + "name": "description" + }, + { + "name": "ownerId" + }, + { + "name": "id" + } + ], + "searchFields": [ + { + "name": "*" + } + ], + "semanticConfigurationName": "testconfig" + } + }, + { + "type": "agenticReasoning", + "id": 3, + "retrievalReasoningEffort": { + "kind": "low" + }, + "reasoningTokens": 74 + }, + { + "type": "modelAnswerSynthesis", + "id": 4, + "inputTokens": 664, + "outputTokens": 1328, + "elapsedMs": 10 + } + ], + "references": [ + { + "type": "searchIndex", + "id": "83dd7d40", + "activitySource": 1, + "sourceData": { + "id": "myDocKey1", + "title": "high_doc", + "content": "hello world" + }, + "rerankerScore": 3.5, + "docKey": "myDocKey1" + }, + { + "type": "searchIndex", + "id": "83dd7d41", + "activitySource": 1, + "sourceData": { + "id": "myDocKey2", + "title": "low_doc", + "content": "goodbye world" + }, + "rerankerScore": 2.7, + "docKey": "myDocKey2" + } + ] + } + }, + "206": { + "body": { + "response": [ + { + "content": [ + { + "type": "text", + "text": "[{...}]" + } + ] + } + ], + "activity": [ + { + "type": "modelQueryPlanning", + "id": 0, + "inputTokens": 11, + "outputTokens": 22, + "elapsedMs": 10 + }, + { + "type": "searchIndex", + "id": 1, + "knowledgeSourceName": "ks-preview-test", + "queryTime": "2025-01-01T00:08:45.045Z", + "count": 2, + "elapsedMs": 1234, + "searchIndexArguments": { + "search": "hello world", + "filter": "foo eq bar", + "sourceDataFields": [ + { + "name": "category" + }, + { + "name": "description" + }, + { + "name": "ownerId" + }, + { + "name": "id" + } + ], + "searchFields": [ + { + "name": "*" + } + ], + "semanticConfigurationName": "testconfig" + } + }, + { + "type": "web", + "id": 2, + "knowledgeSourceName": "ks-preview-web", + "queryTime": "2025-01-01T00:08:45.045Z", + "count": 10, + "elapsedMs": 2345, + "error": { + "code": "403", + "message": "The error message", + "details": [], + "additionalInfo": [ + { + "type": "SomeErrorType", + "info": { + "someProperty": "Some value" + } + } + ] + } + }, + { + "type": "agenticReasoning", + "id": 3, + "retrievalReasoningEffort": { + "kind": "low" + }, + "reasoningTokens": 74 + }, + { + "type": "modelAnswerSynthesis", + "id": 4, + "inputTokens": 664, + "outputTokens": 1328, + "elapsedMs": 10 + } + ], + "references": [ + { + "type": "searchIndex", + "id": "83dd7d40", + "activitySource": 1, + "sourceData": { + "id": "myDocKey1", + "title": "high_doc", + "content": "hello world" + }, + "rerankerScore": 3.5, + "docKey": "myDocKey1" + }, + { + "type": "searchIndex", + "id": "83dd7d41", + "activitySource": 1, + "sourceData": { + "id": "myDocKey2", + "title": "low_doc", + "content": "goodbye world" + }, + "rerankerScore": 2.7, + "docKey": "myDocKey2" + } + ] + } + } + } +} diff --git a/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/KnowledgeBaseRetrieveWithIntents.json b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/KnowledgeBaseRetrieveWithIntents.json new file mode 100644 index 000000000000..081cdacbfdfe --- /dev/null +++ b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/KnowledgeBaseRetrieveWithIntents.json @@ -0,0 +1,224 @@ +{ + "operationId": "KnowledgeRetrieval_Retrieve", + "title": "KnowledgeBaseRetrieveWithIntents", + "parameters": { + "endpoint": "https://previewexampleservice.search.windows.net", + "knowledgeBaseName": "base-preview-test", + "api-version": "2025-11-01-preview", + "x-ms-client-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-query-source-authorization": null, + "retrievalRequest": { + "intents": [ + { + "search": "foo", + "type": "semantic" + } + ], + "maxRuntimeInSeconds": 60, + "maxOutputSize": 100000, + "retrievalReasoningEffort": { + "kind": "minimal" + }, + "includeActivity": true, + "outputMode": "extractiveData", + "knowledgeSourceParams": [ + { + "filterAddOn": "foo eq bar", + "knowledgeSourceName": "ks-preview-test", + "includeReferences": true, + "includeReferenceSourceData": true, + "alwaysQuerySource": true, + "rerankerThreshold": 2.1, + "kind": "searchIndex" + } + ] + } + }, + "responses": { + "200": { + "body": { + "response": [ + { + "content": [ + { + "type": "text", + "text": "[{...}]" + } + ] + } + ], + "activity": [ + { + "type": "searchIndex", + "id": 0, + "knowledgeSourceName": "ks-preview-test", + "queryTime": "2025-01-01T00:08:45.045Z", + "count": 2, + "elapsedMs": 1234, + "searchIndexArguments": { + "search": "foo", + "filter": "foo eq bar", + "sourceDataFields": [ + { + "name": "category" + }, + { + "name": "description" + }, + { + "name": "ownerId" + }, + { + "name": "id" + } + ], + "searchFields": [ + { + "name": "*" + } + ], + "semanticConfigurationName": "testconfig" + } + }, + { + "type": "agenticReasoning", + "id": 1, + "retrievalReasoningEffort": { + "kind": "minimal" + }, + "reasoningTokens": 37 + } + ], + "references": [ + { + "type": "searchIndex", + "id": "83dd7d40", + "activitySource": 0, + "sourceData": { + "id": "myDocKey1", + "title": "high_doc", + "content": "hello world" + }, + "rerankerScore": 3.5, + "docKey": "myDocKey1" + }, + { + "type": "searchIndex", + "id": "83dd7d41", + "activitySource": 0, + "sourceData": { + "id": "myDocKey2", + "title": "low_doc", + "content": "goodbye world" + }, + "rerankerScore": 2.7, + "docKey": "myDocKey2" + } + ] + } + }, + "206": { + "body": { + "response": [ + { + "content": [ + { + "type": "text", + "text": "[{...}]" + } + ] + } + ], + "activity": [ + { + "type": "searchIndex", + "id": 0, + "knowledgeSourceName": "ks-preview-test", + "queryTime": "2025-01-01T00:08:45.045Z", + "count": 2, + "elapsedMs": 1234, + "searchIndexArguments": { + "search": "foo", + "filter": "foo eq bar", + "sourceDataFields": [ + { + "name": "category" + }, + { + "name": "description" + }, + { + "name": "ownerId" + }, + { + "name": "id" + } + ], + "searchFields": [ + { + "name": "*" + } + ], + "semanticConfigurationName": "testconfig" + } + }, + { + "type": "web", + "id": 1, + "knowledgeSourceName": "ks-preview-web", + "queryTime": "2025-01-01T00:08:45.045Z", + "count": 10, + "elapsedMs": 2345, + "error": { + "code": "403", + "message": "The error message", + "details": [], + "additionalInfo": [ + { + "type": "SomeErrorType", + "info": { + "someProperty": "Some value" + } + } + ] + } + }, + { + "type": "agenticReasoning", + "id": 2, + "retrievalReasoningEffort": { + "kind": "minimal" + }, + "reasoningTokens": 37 + } + ], + "references": [ + { + "type": "searchIndex", + "id": "83dd7d40", + "activitySource": 0, + "sourceData": { + "id": "myDocKey1", + "title": "high_doc", + "content": "hello world" + }, + "rerankerScore": 3.5, + "docKey": "myDocKey1" + }, + { + "type": "searchIndex", + "id": "83dd7d41", + "activitySource": 0, + "sourceData": { + "id": "myDocKey2", + "title": "low_doc", + "content": "goodbye world" + }, + "rerankerScore": 2.7, + "docKey": "myDocKey2" + } + ] + } + } + } +} diff --git a/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchIndexAutocompleteDocumentsGet.json b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchIndexAutocompleteDocumentsGet.json new file mode 100644 index 000000000000..9cc5ba4aabac --- /dev/null +++ b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchIndexAutocompleteDocumentsGet.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "endpoint": "https://myservice.search.windows.net", + "indexName": "myindex", + "api-version": "2025-11-01-preview", + "autocompleteMode": "oneTerm", + "search": "washington medic", + "suggesterName": "sg", + "filter": "search.in(docId,'101,102,105')", + "fuzzy": false, + "highlightPostTag": "", + "highlightPreTag": "", + "minimumCoverage": 80, + "searchFields": [ + "title", + "description" + ], + "top": 10 + }, + "responses": { + "200": { + "body": [ + { + "text": "medicaid", + "queryPlusText": "washington medicaid" + }, + { + "text": "medicare", + "queryPlusText": "washington medicare" + }, + { + "text": "medicine", + "queryPlusText": "washington medicine" + } + ] + } + } +} diff --git a/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchIndexAutocompleteDocumentsPost.json b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchIndexAutocompleteDocumentsPost.json new file mode 100644 index 000000000000..70a35efbb805 --- /dev/null +++ b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchIndexAutocompleteDocumentsPost.json @@ -0,0 +1,39 @@ +{ + "operationId": "Documents_AutocompletePost", + "title": "SearchIndexAutocompleteDocumentsPost", + "parameters": { + "endpoint": "https://previewexampleservice.search.windows.net", + "indexName": "preview-test", + "api-version": "2025-11-01-preview", + "x-ms-client-request-id": "00000000-0000-0000-0000-000000000000", + "autocompleteRequest": { + "search": "p", + "autocompleteMode": "oneTerm", + "filter": "ownerId ne '1'", + "fuzzy": true, + "highlightPostTag": "", + "highlightPreTag": "", + "minimumCoverage": 80, + "searchFields": "category, ownerId", + "suggesterName": "sg", + "top": 10 + } + }, + "responses": { + "200": { + "body": { + "@search.coverage": 100.0, + "value": [ + { + "text": "purple", + "queryPlusText": "purple" + }, + { + "text": "pink", + "queryPlusText": "pink" + } + ] + } + } + } +} diff --git a/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchIndexCountDocuments.json b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchIndexCountDocuments.json new file mode 100644 index 000000000000..af9ada5a889b --- /dev/null +++ b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchIndexCountDocuments.json @@ -0,0 +1,15 @@ +{ + "operationId": "Documents_Count", + "title": "SearchIndexCountDocuments", + "parameters": { + "endpoint": "https://previewexampleservice.search.windows.net", + "indexName": "preview-test", + "api-version": "2025-11-01-preview", + "x-ms-client-request-id": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": 50 + } + } +} diff --git a/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchIndexGetDocument.json b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchIndexGetDocument.json new file mode 100644 index 000000000000..f5a97cf1fd51 --- /dev/null +++ b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchIndexGetDocument.json @@ -0,0 +1,31 @@ +{ + "operationId": "Documents_Get", + "title": "SearchIndexGetDocument", + "parameters": { + "endpoint": "https://previewexampleservice.search.windows.net", + "indexName": "preview-test", + "key": "1", + "$select": [ + "id", + "description", + "name", + "category", + "ownerId" + ], + "api-version": "2025-11-01-preview", + "x-ms-client-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-query-source-authorization": "00000000-0000-0000-0000-000000000000", + "x-ms-enable-elevated-read": true + }, + "responses": { + "200": { + "body": { + "id": "1", + "name": "test", + "description": "test1 hello", + "category": "purple", + "ownerId": "sam" + } + } + } +} diff --git a/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchIndexIndexDocuments.json b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchIndexIndexDocuments.json new file mode 100644 index 000000000000..bfba4226a626 --- /dev/null +++ b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchIndexIndexDocuments.json @@ -0,0 +1,3856 @@ +{ + "operationId": "Documents_Index", + "title": "SearchIndexIndexDocuments", + "parameters": { + "endpoint": "https://previewexampleservice.search.windows.net", + "indexName": "preview-test", + "api-version": "2025-11-01-preview", + "x-ms-client-request-id": "00000000-0000-0000-0000-000000000000", + "batch": { + "value": [ + { + "@search.action": "mergeOrUpload", + "id": "0", + "name": "test", + "description": "test0 hello", + "vector1": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19 + ], + "vector1b": [ + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19 + ], + "vector2": [ + 0, + 1, + 2, + 3, + 4 + ], + "vector3": [ + 0, + 1, + 2, + 3, + 4 + ], + "vector22": [ + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29 + ], + "ownerId": "benny", + "category": "purple", + "price": 0 + }, + { + "@search.action": "mergeOrUpload", + "id": "1", + "name": "test", + "description": "test1 hello", + "vector1": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20 + ], + "vector1b": [ + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20 + ], + "vector2": [ + 1, + 2, + 3, + 4, + 5 + ], + "vector3": [ + 1, + 2, + 3, + 4, + 5 + ], + "vector22": [ + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30 + ], + "ownerId": "sam", + "category": "purple", + "price": 1 + }, + { + "@search.action": "mergeOrUpload", + "id": "2", + "name": "test", + "description": "test2 hello", + "vector1": [ + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21 + ], + "vector1b": [ + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21 + ], + "vector2": [ + 2, + 3, + 4, + 5, + 6 + ], + "vector3": [ + 2, + 3, + 4, + 5, + 6 + ], + "vector22": [ + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31 + ], + "ownerId": "sam", + "category": "purple", + "price": 2 + }, + { + "@search.action": "mergeOrUpload", + "id": "3", + "name": "test", + "description": "test3 hello", + "vector1": [ + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22 + ], + "vector1b": [ + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22 + ], + "vector2": [ + 3, + 4, + 5, + 6, + 7 + ], + "vector3": [ + 3, + 4, + 5, + 6, + 7 + ], + "vector22": [ + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32 + ], + "ownerId": "ryan", + "category": "purple", + "price": 3 + }, + { + "@search.action": "mergeOrUpload", + "id": "4", + "name": "test", + "description": "test4 hello", + "vector1": [ + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23 + ], + "vector1b": [ + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23 + ], + "vector2": [ + 4, + 5, + 6, + 7, + 8 + ], + "vector3": [ + 4, + 5, + 6, + 7, + 8 + ], + "vector22": [ + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33 + ], + "ownerId": "sam", + "category": "purple", + "price": 4 + }, + { + "@search.action": "mergeOrUpload", + "id": "5", + "name": "test", + "description": "test5 hello", + "vector1": [ + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24 + ], + "vector1b": [ + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24 + ], + "vector2": [ + 5, + 6, + 7, + 8, + 9 + ], + "vector3": [ + 5, + 6, + 7, + 8, + 9 + ], + "vector22": [ + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34 + ], + "ownerId": "sam", + "category": "purple", + "price": 5 + }, + { + "@search.action": "mergeOrUpload", + "id": "6", + "name": "test", + "description": "test6 hello", + "vector1": [ + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25 + ], + "vector1b": [ + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25 + ], + "vector2": [ + 6, + 7, + 8, + 9, + 10 + ], + "vector3": [ + 6, + 7, + 8, + 9, + 10 + ], + "vector22": [ + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34, + 35 + ], + "ownerId": "ryan", + "category": "purple", + "price": 6 + }, + { + "@search.action": "mergeOrUpload", + "id": "7", + "name": "test", + "description": "test7 hello", + "vector1": [ + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26 + ], + "vector1b": [ + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26 + ], + "vector2": [ + 7, + 8, + 9, + 10, + 11 + ], + "vector3": [ + 7, + 8, + 9, + 10, + 11 + ], + "vector22": [ + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34, + 35, + 36 + ], + "ownerId": "sam", + "category": "purple", + "price": 7 + }, + { + "@search.action": "mergeOrUpload", + "id": "8", + "name": "test", + "description": "test8 hello", + "vector1": [ + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27 + ], + "vector1b": [ + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27 + ], + "vector2": [ + 8, + 9, + 10, + 11, + 12 + ], + "vector3": [ + 8, + 9, + 10, + 11, + 12 + ], + "vector22": [ + 28, + 29, + 30, + 31, + 32, + 33, + 34, + 35, + 36, + 37 + ], + "ownerId": "sam", + "category": "purple", + "price": 8 + }, + { + "@search.action": "mergeOrUpload", + "id": "9", + "name": "test", + "description": "test9 hello", + "vector1": [ + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28 + ], + "vector1b": [ + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28 + ], + "vector2": [ + 9, + 10, + 11, + 12, + 13 + ], + "vector3": [ + 9, + 10, + 11, + 12, + 13 + ], + "vector22": [ + 29, + 30, + 31, + 32, + 33, + 34, + 35, + 36, + 37, + 38 + ], + "ownerId": "ryan", + "category": "purple", + "price": 9 + }, + { + "@search.action": "mergeOrUpload", + "id": "10", + "name": "test", + "description": "test10 hello", + "vector1": [ + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29 + ], + "vector1b": [ + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29 + ], + "vector2": [ + 10, + 11, + 12, + 13, + 14 + ], + "vector3": [ + 10, + 11, + 12, + 13, + 14 + ], + "vector22": [ + 30, + 31, + 32, + 33, + 34, + 35, + 36, + 37, + 38, + 39 + ], + "ownerId": "benny", + "category": "purple", + "price": 10 + }, + { + "@search.action": "mergeOrUpload", + "id": "11", + "name": "test", + "description": "test11 hello", + "vector1": [ + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30 + ], + "vector1b": [ + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30 + ], + "vector2": [ + 11, + 12, + 13, + 14, + 15 + ], + "vector3": [ + 11, + 12, + 13, + 14, + 15 + ], + "vector22": [ + 31, + 32, + 33, + 34, + 35, + 36, + 37, + 38, + 39, + 40 + ], + "ownerId": "sam", + "category": "purple", + "price": 11 + }, + { + "@search.action": "mergeOrUpload", + "id": "12", + "name": "test", + "description": "test12 hello", + "vector1": [ + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31 + ], + "vector1b": [ + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31 + ], + "vector2": [ + 12, + 13, + 14, + 15, + 16 + ], + "vector3": [ + 12, + 13, + 14, + 15, + 16 + ], + "vector22": [ + 32, + 33, + 34, + 35, + 36, + 37, + 38, + 39, + 40, + 41 + ], + "ownerId": "ryan", + "category": "purple", + "price": 12 + }, + { + "@search.action": "mergeOrUpload", + "id": "13", + "name": "test", + "description": "test13 hello", + "vector1": [ + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32 + ], + "vector1b": [ + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32 + ], + "vector2": [ + 13, + 14, + 15, + 16, + 17 + ], + "vector3": [ + 13, + 14, + 15, + 16, + 17 + ], + "vector22": [ + 33, + 34, + 35, + 36, + 37, + 38, + 39, + 40, + 41, + 42 + ], + "ownerId": "sam", + "category": "purple", + "price": 13 + }, + { + "@search.action": "mergeOrUpload", + "id": "14", + "name": "test", + "description": "test14 hello", + "vector1": [ + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33 + ], + "vector1b": [ + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33 + ], + "vector2": [ + 14, + 15, + 16, + 17, + 18 + ], + "vector3": [ + 14, + 15, + 16, + 17, + 18 + ], + "vector22": [ + 34, + 35, + 36, + 37, + 38, + 39, + 40, + 41, + 42, + 43 + ], + "ownerId": "sam", + "category": "purple", + "price": 14 + }, + { + "@search.action": "mergeOrUpload", + "id": "15", + "name": "test", + "description": "test15 hello", + "vector1": [ + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34 + ], + "vector1b": [ + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34 + ], + "vector2": [ + 15, + 16, + 17, + 18, + 19 + ], + "vector3": [ + 15, + 16, + 17, + 18, + 19 + ], + "vector22": [ + 35, + 36, + 37, + 38, + 39, + 40, + 41, + 42, + 43, + 44 + ], + "ownerId": "ryan", + "category": "purple", + "price": 15 + }, + { + "@search.action": "mergeOrUpload", + "id": "16", + "name": "test", + "description": "test16 hello", + "vector1": [ + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34, + 35 + ], + "vector1b": [ + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34, + 35 + ], + "vector2": [ + 16, + 17, + 18, + 19, + 20 + ], + "vector3": [ + 16, + 17, + 18, + 19, + 20 + ], + "vector22": [ + 36, + 37, + 38, + 39, + 40, + 41, + 42, + 43, + 44, + 45 + ], + "ownerId": "sam", + "category": "purple", + "price": 16 + }, + { + "@search.action": "mergeOrUpload", + "id": "17", + "name": "test", + "description": "test17 hello", + "vector1": [ + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34, + 35, + 36 + ], + "vector1b": [ + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34, + 35, + 36 + ], + "vector2": [ + 17, + 18, + 19, + 20, + 21 + ], + "vector3": [ + 17, + 18, + 19, + 20, + 21 + ], + "vector22": [ + 37, + 38, + 39, + 40, + 41, + 42, + 43, + 44, + 45, + 46 + ], + "ownerId": "sam", + "category": "purple", + "price": 17 + }, + { + "@search.action": "mergeOrUpload", + "id": "18", + "name": "test", + "description": "test18 hello", + "vector1": [ + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34, + 35, + 36, + 37 + ], + "vector1b": [ + 28, + 29, + 30, + 31, + 32, + 33, + 34, + 35, + 36, + 37 + ], + "vector2": [ + 18, + 19, + 20, + 21, + 22 + ], + "vector3": [ + 18, + 19, + 20, + 21, + 22 + ], + "vector22": [ + 38, + 39, + 40, + 41, + 42, + 43, + 44, + 45, + 46, + 47 + ], + "ownerId": "ryan", + "category": "purple", + "price": 18 + }, + { + "@search.action": "mergeOrUpload", + "id": "19", + "name": "test", + "description": "test19 hello", + "vector1": [ + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34, + 35, + 36, + 37, + 38 + ], + "vector1b": [ + 29, + 30, + 31, + 32, + 33, + 34, + 35, + 36, + 37, + 38 + ], + "vector2": [ + 19, + 20, + 21, + 22, + 23 + ], + "vector3": [ + 19, + 20, + 21, + 22, + 23 + ], + "vector22": [ + 39, + 40, + 41, + 42, + 43, + 44, + 45, + 46, + 47, + 48 + ], + "ownerId": "sam", + "category": "purple", + "price": 19 + }, + { + "@search.action": "mergeOrUpload", + "id": "20", + "name": "test", + "description": "test20 hello", + "vector1": [ + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34, + 35, + 36, + 37, + 38, + 39 + ], + "vector1b": [ + 30, + 31, + 32, + 33, + 34, + 35, + 36, + 37, + 38, + 39 + ], + "vector2": [ + 20, + 21, + 22, + 23, + 24 + ], + "vector3": [ + 20, + 21, + 22, + 23, + 24 + ], + "vector22": [ + 40, + 41, + 42, + 43, + 44, + 45, + 46, + 47, + 48, + 49 + ], + "ownerId": "benny", + "category": "purple", + "price": 20 + }, + { + "@search.action": "mergeOrUpload", + "id": "21", + "name": "test", + "description": "test21 hello", + "vector1": [ + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34, + 35, + 36, + 37, + 38, + 39, + 40 + ], + "vector1b": [ + 31, + 32, + 33, + 34, + 35, + 36, + 37, + 38, + 39, + 40 + ], + "vector2": [ + 21, + 22, + 23, + 24, + 25 + ], + "vector3": [ + 21, + 22, + 23, + 24, + 25 + ], + "vector22": [ + 41, + 42, + 43, + 44, + 45, + 46, + 47, + 48, + 49, + 50 + ], + "ownerId": "ryan", + "category": "purple", + "price": 21 + }, + { + "@search.action": "mergeOrUpload", + "id": "22", + "name": "test", + "description": "test22 hello", + "vector1": [ + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34, + 35, + 36, + 37, + 38, + 39, + 40, + 41 + ], + "vector1b": [ + 32, + 33, + 34, + 35, + 36, + 37, + 38, + 39, + 40, + 41 + ], + "vector2": [ + 22, + 23, + 24, + 25, + 26 + ], + "vector3": [ + 22, + 23, + 24, + 25, + 26 + ], + "vector22": [ + 42, + 43, + 44, + 45, + 46, + 47, + 48, + 49, + 50, + 51 + ], + "ownerId": "sam", + "category": "purple", + "price": 22 + }, + { + "@search.action": "mergeOrUpload", + "id": "23", + "name": "test", + "description": "test23 hello", + "vector1": [ + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34, + 35, + 36, + 37, + 38, + 39, + 40, + 41, + 42 + ], + "vector1b": [ + 33, + 34, + 35, + 36, + 37, + 38, + 39, + 40, + 41, + 42 + ], + "vector2": [ + 23, + 24, + 25, + 26, + 27 + ], + "vector3": [ + 23, + 24, + 25, + 26, + 27 + ], + "vector22": [ + 43, + 44, + 45, + 46, + 47, + 48, + 49, + 50, + 51, + 52 + ], + "ownerId": "sam", + "category": "purple", + "price": 23 + }, + { + "@search.action": "mergeOrUpload", + "id": "24", + "name": "test", + "description": "test24 hello", + "vector1": [ + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34, + 35, + 36, + 37, + 38, + 39, + 40, + 41, + 42, + 43 + ], + "vector1b": [ + 34, + 35, + 36, + 37, + 38, + 39, + 40, + 41, + 42, + 43 + ], + "vector2": [ + 24, + 25, + 26, + 27, + 28 + ], + "vector3": [ + 24, + 25, + 26, + 27, + 28 + ], + "vector22": [ + 44, + 45, + 46, + 47, + 48, + 49, + 50, + 51, + 52, + 53 + ], + "ownerId": "ryan", + "category": "purple", + "price": 24 + }, + { + "@search.action": "mergeOrUpload", + "id": "25", + "name": "test", + "description": "test25 hello", + "vector1": [ + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34, + 35, + 36, + 37, + 38, + 39, + 40, + 41, + 42, + 43, + 44 + ], + "vector1b": [ + 35, + 36, + 37, + 38, + 39, + 40, + 41, + 42, + 43, + 44 + ], + "vector2": [ + 25, + 26, + 27, + 28, + 29 + ], + "vector3": [ + 25, + 26, + 27, + 28, + 29 + ], + "vector22": [ + 45, + 46, + 47, + 48, + 49, + 50, + 51, + 52, + 53, + 54 + ], + "ownerId": "sam", + "category": "pink", + "price": 25 + }, + { + "@search.action": "mergeOrUpload", + "id": "26", + "name": "test", + "description": "test26 hello", + "vector1": [ + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34, + 35, + 36, + 37, + 38, + 39, + 40, + 41, + 42, + 43, + 44, + 45 + ], + "vector1b": [ + 36, + 37, + 38, + 39, + 40, + 41, + 42, + 43, + 44, + 45 + ], + "vector2": [ + 26, + 27, + 28, + 29, + 30 + ], + "vector3": [ + 26, + 27, + 28, + 29, + 30 + ], + "vector22": [ + 46, + 47, + 48, + 49, + 50, + 51, + 52, + 53, + 54, + 55 + ], + "ownerId": "sam", + "category": "pink", + "price": 26 + }, + { + "@search.action": "mergeOrUpload", + "id": "27", + "name": "test", + "description": "test27 hello", + "vector1": [ + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34, + 35, + 36, + 37, + 38, + 39, + 40, + 41, + 42, + 43, + 44, + 45, + 46 + ], + "vector1b": [ + 37, + 38, + 39, + 40, + 41, + 42, + 43, + 44, + 45, + 46 + ], + "vector2": [ + 27, + 28, + 29, + 30, + 31 + ], + "vector3": [ + 27, + 28, + 29, + 30, + 31 + ], + "vector22": [ + 47, + 48, + 49, + 50, + 51, + 52, + 53, + 54, + 55, + 56 + ], + "ownerId": "ryan", + "category": "pink", + "price": 27 + }, + { + "@search.action": "mergeOrUpload", + "id": "28", + "name": "test", + "description": "test28 hello", + "vector1": [ + 28, + 29, + 30, + 31, + 32, + 33, + 34, + 35, + 36, + 37, + 38, + 39, + 40, + 41, + 42, + 43, + 44, + 45, + 46, + 47 + ], + "vector1b": [ + 38, + 39, + 40, + 41, + 42, + 43, + 44, + 45, + 46, + 47 + ], + "vector2": [ + 28, + 29, + 30, + 31, + 32 + ], + "vector3": [ + 28, + 29, + 30, + 31, + 32 + ], + "vector22": [ + 48, + 49, + 50, + 51, + 52, + 53, + 54, + 55, + 56, + 57 + ], + "ownerId": "sam", + "category": "pink", + "price": 28 + }, + { + "@search.action": "mergeOrUpload", + "id": "29", + "name": "test", + "description": "test29 hello", + "vector1": [ + 29, + 30, + 31, + 32, + 33, + 34, + 35, + 36, + 37, + 38, + 39, + 40, + 41, + 42, + 43, + 44, + 45, + 46, + 47, + 48 + ], + "vector1b": [ + 39, + 40, + 41, + 42, + 43, + 44, + 45, + 46, + 47, + 48 + ], + "vector2": [ + 29, + 30, + 31, + 32, + 33 + ], + "vector3": [ + 29, + 30, + 31, + 32, + 33 + ], + "vector22": [ + 49, + 50, + 51, + 52, + 53, + 54, + 55, + 56, + 57, + 58 + ], + "ownerId": "sam", + "category": "pink", + "price": 29 + }, + { + "@search.action": "mergeOrUpload", + "id": "30", + "name": "test", + "description": "test30 hello", + "vector1": [ + 30, + 31, + 32, + 33, + 34, + 35, + 36, + 37, + 38, + 39, + 40, + 41, + 42, + 43, + 44, + 45, + 46, + 47, + 48, + 49 + ], + "vector1b": [ + 40, + 41, + 42, + 43, + 44, + 45, + 46, + 47, + 48, + 49 + ], + "vector2": [ + 30, + 31, + 32, + 33, + 34 + ], + "vector3": [ + 30, + 31, + 32, + 33, + 34 + ], + "vector22": [ + 50, + 51, + 52, + 53, + 54, + 55, + 56, + 57, + 58, + 59 + ], + "ownerId": "benny", + "category": "pink", + "price": 30 + }, + { + "@search.action": "mergeOrUpload", + "id": "31", + "name": "test", + "description": "test31 hello", + "vector1": [ + 31, + 32, + 33, + 34, + 35, + 36, + 37, + 38, + 39, + 40, + 41, + 42, + 43, + 44, + 45, + 46, + 47, + 48, + 49, + 50 + ], + "vector1b": [ + 41, + 42, + 43, + 44, + 45, + 46, + 47, + 48, + 49, + 50 + ], + "vector2": [ + 31, + 32, + 33, + 34, + 35 + ], + "vector3": [ + 31, + 32, + 33, + 34, + 35 + ], + "vector22": [ + 51, + 52, + 53, + 54, + 55, + 56, + 57, + 58, + 59, + 60 + ], + "ownerId": "sam", + "category": "pink", + "price": 31 + }, + { + "@search.action": "mergeOrUpload", + "id": "32", + "name": "test", + "description": "test32 hello", + "vector1": [ + 32, + 33, + 34, + 35, + 36, + 37, + 38, + 39, + 40, + 41, + 42, + 43, + 44, + 45, + 46, + 47, + 48, + 49, + 50, + 51 + ], + "vector1b": [ + 42, + 43, + 44, + 45, + 46, + 47, + 48, + 49, + 50, + 51 + ], + "vector2": [ + 32, + 33, + 34, + 35, + 36 + ], + "vector3": [ + 32, + 33, + 34, + 35, + 36 + ], + "vector22": [ + 52, + 53, + 54, + 55, + 56, + 57, + 58, + 59, + 60, + 61 + ], + "ownerId": "sam", + "category": "pink", + "price": 32 + }, + { + "@search.action": "mergeOrUpload", + "id": "33", + "name": "test", + "description": "test33 hello", + "vector1": [ + 33, + 34, + 35, + 36, + 37, + 38, + 39, + 40, + 41, + 42, + 43, + 44, + 45, + 46, + 47, + 48, + 49, + 50, + 51, + 52 + ], + "vector1b": [ + 43, + 44, + 45, + 46, + 47, + 48, + 49, + 50, + 51, + 52 + ], + "vector2": [ + 33, + 34, + 35, + 36, + 37 + ], + "vector3": [ + 33, + 34, + 35, + 36, + 37 + ], + "vector22": [ + 53, + 54, + 55, + 56, + 57, + 58, + 59, + 60, + 61, + 62 + ], + "ownerId": "ryan", + "category": "pink", + "price": 33 + }, + { + "@search.action": "mergeOrUpload", + "id": "34", + "name": "test", + "description": "test34 hello", + "vector1": [ + 34, + 35, + 36, + 37, + 38, + 39, + 40, + 41, + 42, + 43, + 44, + 45, + 46, + 47, + 48, + 49, + 50, + 51, + 52, + 53 + ], + "vector1b": [ + 44, + 45, + 46, + 47, + 48, + 49, + 50, + 51, + 52, + 53 + ], + "vector2": [ + 34, + 35, + 36, + 37, + 38 + ], + "vector3": [ + 34, + 35, + 36, + 37, + 38 + ], + "vector22": [ + 54, + 55, + 56, + 57, + 58, + 59, + 60, + 61, + 62, + 63 + ], + "ownerId": "sam", + "category": "pink", + "price": 34 + }, + { + "@search.action": "mergeOrUpload", + "id": "35", + "name": "test", + "description": "test35 hello", + "vector1": [ + 35, + 36, + 37, + 38, + 39, + 40, + 41, + 42, + 43, + 44, + 45, + 46, + 47, + 48, + 49, + 50, + 51, + 52, + 53, + 54 + ], + "vector1b": [ + 45, + 46, + 47, + 48, + 49, + 50, + 51, + 52, + 53, + 54 + ], + "vector2": [ + 35, + 36, + 37, + 38, + 39 + ], + "vector3": [ + 35, + 36, + 37, + 38, + 39 + ], + "vector22": [ + 55, + 56, + 57, + 58, + 59, + 60, + 61, + 62, + 63, + 64 + ], + "ownerId": "sam", + "category": "pink", + "price": 35 + }, + { + "@search.action": "mergeOrUpload", + "id": "36", + "name": "test", + "description": "test36 hello", + "vector1": [ + 36, + 37, + 38, + 39, + 40, + 41, + 42, + 43, + 44, + 45, + 46, + 47, + 48, + 49, + 50, + 51, + 52, + 53, + 54, + 55 + ], + "vector1b": [ + 46, + 47, + 48, + 49, + 50, + 51, + 52, + 53, + 54, + 55 + ], + "vector2": [ + 36, + 37, + 38, + 39, + 40 + ], + "vector3": [ + 36, + 37, + 38, + 39, + 40 + ], + "vector22": [ + 56, + 57, + 58, + 59, + 60, + 61, + 62, + 63, + 64, + 65 + ], + "ownerId": "ryan", + "category": "pink", + "price": 36 + }, + { + "@search.action": "mergeOrUpload", + "id": "37", + "name": "test", + "description": "test37 hello", + "vector1": [ + 37, + 38, + 39, + 40, + 41, + 42, + 43, + 44, + 45, + 46, + 47, + 48, + 49, + 50, + 51, + 52, + 53, + 54, + 55, + 56 + ], + "vector1b": [ + 47, + 48, + 49, + 50, + 51, + 52, + 53, + 54, + 55, + 56 + ], + "vector2": [ + 37, + 38, + 39, + 40, + 41 + ], + "vector3": [ + 37, + 38, + 39, + 40, + 41 + ], + "vector22": [ + 57, + 58, + 59, + 60, + 61, + 62, + 63, + 64, + 65, + 66 + ], + "ownerId": "sam", + "category": "pink", + "price": 37 + }, + { + "@search.action": "mergeOrUpload", + "id": "38", + "name": "test", + "description": "test38 hello", + "vector1": [ + 38, + 39, + 40, + 41, + 42, + 43, + 44, + 45, + 46, + 47, + 48, + 49, + 50, + 51, + 52, + 53, + 54, + 55, + 56, + 57 + ], + "vector1b": [ + 48, + 49, + 50, + 51, + 52, + 53, + 54, + 55, + 56, + 57 + ], + "vector2": [ + 38, + 39, + 40, + 41, + 42 + ], + "vector3": [ + 38, + 39, + 40, + 41, + 42 + ], + "vector22": [ + 58, + 59, + 60, + 61, + 62, + 63, + 64, + 65, + 66, + 67 + ], + "ownerId": "sam", + "category": "pink", + "price": 38 + }, + { + "@search.action": "mergeOrUpload", + "id": "39", + "name": "test", + "description": "test39 hello", + "vector1": [ + 39, + 40, + 41, + 42, + 43, + 44, + 45, + 46, + 47, + 48, + 49, + 50, + 51, + 52, + 53, + 54, + 55, + 56, + 57, + 58 + ], + "vector1b": [ + 49, + 50, + 51, + 52, + 53, + 54, + 55, + 56, + 57, + 58 + ], + "vector2": [ + 39, + 40, + 41, + 42, + 43 + ], + "vector3": [ + 39, + 40, + 41, + 42, + 43 + ], + "vector22": [ + 59, + 60, + 61, + 62, + 63, + 64, + 65, + 66, + 67, + 68 + ], + "ownerId": "ryan", + "category": "pink", + "price": 39 + }, + { + "@search.action": "mergeOrUpload", + "id": "40", + "name": "test", + "description": "test40 hello", + "vector1": [ + 40, + 41, + 42, + 43, + 44, + 45, + 46, + 47, + 48, + 49, + 50, + 51, + 52, + 53, + 54, + 55, + 56, + 57, + 58, + 59 + ], + "vector1b": [ + 50, + 51, + 52, + 53, + 54, + 55, + 56, + 57, + 58, + 59 + ], + "vector2": [ + 40, + 41, + 42, + 43, + 44 + ], + "vector3": [ + 40, + 41, + 42, + 43, + 44 + ], + "vector22": [ + 60, + 61, + 62, + 63, + 64, + 65, + 66, + 67, + 68, + 69 + ], + "ownerId": "benny", + "category": "green", + "price": 40 + }, + { + "@search.action": "mergeOrUpload", + "id": "41", + "name": "test", + "description": "test41 hello", + "vector1": [ + 41, + 42, + 43, + 44, + 45, + 46, + 47, + 48, + 49, + 50, + 51, + 52, + 53, + 54, + 55, + 56, + 57, + 58, + 59, + 60 + ], + "vector1b": [ + 51, + 52, + 53, + 54, + 55, + 56, + 57, + 58, + 59, + 60 + ], + "vector2": [ + 41, + 42, + 43, + 44, + 45 + ], + "vector3": [ + 41, + 42, + 43, + 44, + 45 + ], + "vector22": [ + 61, + 62, + 63, + 64, + 65, + 66, + 67, + 68, + 69, + 70 + ], + "ownerId": "sam", + "category": "green", + "price": 41 + }, + { + "@search.action": "mergeOrUpload", + "id": "42", + "name": "test", + "description": "test42 hello", + "vector1": [ + 42, + 43, + 44, + 45, + 46, + 47, + 48, + 49, + 50, + 51, + 52, + 53, + 54, + 55, + 56, + 57, + 58, + 59, + 60, + 61 + ], + "vector1b": [ + 52, + 53, + 54, + 55, + 56, + 57, + 58, + 59, + 60, + 61 + ], + "vector2": [ + 42, + 43, + 44, + 45, + 46 + ], + "vector3": [ + 42, + 43, + 44, + 45, + 46 + ], + "vector22": [ + 62, + 63, + 64, + 65, + 66, + 67, + 68, + 69, + 70, + 71 + ], + "ownerId": "ryan", + "category": "green", + "price": 42 + }, + { + "@search.action": "mergeOrUpload", + "id": "43", + "name": "test", + "description": "test43 hello", + "vector1": [ + 43, + 44, + 45, + 46, + 47, + 48, + 49, + 50, + 51, + 52, + 53, + 54, + 55, + 56, + 57, + 58, + 59, + 60, + 61, + 62 + ], + "vector1b": [ + 53, + 54, + 55, + 56, + 57, + 58, + 59, + 60, + 61, + 62 + ], + "vector2": [ + 43, + 44, + 45, + 46, + 47 + ], + "vector3": [ + 43, + 44, + 45, + 46, + 47 + ], + "vector22": [ + 63, + 64, + 65, + 66, + 67, + 68, + 69, + 70, + 71, + 72 + ], + "ownerId": "sam", + "category": "green", + "price": 43 + }, + { + "@search.action": "mergeOrUpload", + "id": "44", + "name": "test", + "description": "test44 hello", + "vector1": [ + 44, + 45, + 46, + 47, + 48, + 49, + 50, + 51, + 52, + 53, + 54, + 55, + 56, + 57, + 58, + 59, + 60, + 61, + 62, + 63 + ], + "vector1b": [ + 54, + 55, + 56, + 57, + 58, + 59, + 60, + 61, + 62, + 63 + ], + "vector2": [ + 44, + 45, + 46, + 47, + 48 + ], + "vector3": [ + 44, + 45, + 46, + 47, + 48 + ], + "vector22": [ + 64, + 65, + 66, + 67, + 68, + 69, + 70, + 71, + 72, + 73 + ], + "ownerId": "sam", + "category": "green", + "price": 44 + }, + { + "@search.action": "mergeOrUpload", + "id": "45", + "name": "test", + "description": "test45 hello", + "vector1": [ + 45, + 46, + 47, + 48, + 49, + 50, + 51, + 52, + 53, + 54, + 55, + 56, + 57, + 58, + 59, + 60, + 61, + 62, + 63, + 64 + ], + "vector1b": [ + 55, + 56, + 57, + 58, + 59, + 60, + 61, + 62, + 63, + 64 + ], + "vector2": [ + 45, + 46, + 47, + 48, + 49 + ], + "vector3": [ + 45, + 46, + 47, + 48, + 49 + ], + "vector22": [ + 65, + 66, + 67, + 68, + 69, + 70, + 71, + 72, + 73, + 74 + ], + "ownerId": "ryan", + "category": "orange", + "price": 45 + }, + { + "@search.action": "mergeOrUpload", + "id": "46", + "name": "test", + "description": "test46 hello", + "vector1": [ + 46, + 47, + 48, + 49, + 50, + 51, + 52, + 53, + 54, + 55, + 56, + 57, + 58, + 59, + 60, + 61, + 62, + 63, + 64, + 65 + ], + "vector1b": [ + 56, + 57, + 58, + 59, + 60, + 61, + 62, + 63, + 64, + 65 + ], + "vector2": [ + 46, + 47, + 48, + 49, + 50 + ], + "vector3": [ + 46, + 47, + 48, + 49, + 50 + ], + "vector22": [ + 66, + 67, + 68, + 69, + 70, + 71, + 72, + 73, + 74, + 75 + ], + "ownerId": "sam", + "category": "orange", + "price": 46 + }, + { + "@search.action": "mergeOrUpload", + "id": "47", + "name": "test", + "description": "test47 hello", + "vector1": [ + 47, + 48, + 49, + 50, + 51, + 52, + 53, + 54, + 55, + 56, + 57, + 58, + 59, + 60, + 61, + 62, + 63, + 64, + 65, + 66 + ], + "vector1b": [ + 57, + 58, + 59, + 60, + 61, + 62, + 63, + 64, + 65, + 66 + ], + "vector2": [ + 47, + 48, + 49, + 50, + 51 + ], + "vector3": [ + 47, + 48, + 49, + 50, + 51 + ], + "vector22": [ + 67, + 68, + 69, + 70, + 71, + 72, + 73, + 74, + 75, + 76 + ], + "ownerId": "sam", + "category": "orange", + "price": 47 + }, + { + "@search.action": "mergeOrUpload", + "id": "no-vectors", + "name": "test", + "description": "no vector", + "ownerId": "sam", + "category": "purple" + }, + { + "@search.action": "mergeOrUpload", + "id": "empty-vectors", + "name": "test", + "description": "no vector", + "ownerId": "sam", + "category": "purple" + } + ] + } + }, + "responses": { + "200": { + "body": { + "value": [ + { + "key": "0", + "status": true, + "statusCode": 201 + }, + { + "key": "1", + "status": true, + "statusCode": 201 + }, + { + "key": "2", + "status": true, + "statusCode": 201 + }, + { + "key": "3", + "status": true, + "statusCode": 201 + }, + { + "key": "4", + "status": true, + "statusCode": 201 + }, + { + "key": "5", + "status": true, + "statusCode": 201 + }, + { + "key": "6", + "status": true, + "statusCode": 201 + }, + { + "key": "7", + "status": true, + "statusCode": 201 + }, + { + "key": "8", + "status": true, + "statusCode": 201 + }, + { + "key": "9", + "status": true, + "statusCode": 201 + }, + { + "key": "10", + "status": true, + "statusCode": 201 + }, + { + "key": "11", + "status": true, + "statusCode": 201 + }, + { + "key": "12", + "status": true, + "statusCode": 201 + }, + { + "key": "13", + "status": true, + "statusCode": 201 + }, + { + "key": "14", + "status": true, + "statusCode": 201 + }, + { + "key": "15", + "status": true, + "statusCode": 201 + }, + { + "key": "16", + "status": true, + "statusCode": 201 + }, + { + "key": "17", + "status": true, + "statusCode": 201 + }, + { + "key": "18", + "status": true, + "statusCode": 201 + }, + { + "key": "19", + "status": true, + "statusCode": 201 + }, + { + "key": "20", + "status": true, + "statusCode": 201 + }, + { + "key": "21", + "status": true, + "statusCode": 201 + }, + { + "key": "22", + "status": true, + "statusCode": 201 + }, + { + "key": "23", + "status": true, + "statusCode": 201 + }, + { + "key": "24", + "status": true, + "statusCode": 201 + }, + { + "key": "25", + "status": true, + "statusCode": 201 + }, + { + "key": "26", + "status": true, + "statusCode": 201 + }, + { + "key": "27", + "status": true, + "statusCode": 201 + }, + { + "key": "28", + "status": true, + "statusCode": 201 + }, + { + "key": "29", + "status": true, + "statusCode": 201 + }, + { + "key": "30", + "status": true, + "statusCode": 201 + }, + { + "key": "31", + "status": true, + "statusCode": 201 + }, + { + "key": "32", + "status": true, + "statusCode": 201 + }, + { + "key": "33", + "status": true, + "statusCode": 201 + }, + { + "key": "34", + "status": true, + "statusCode": 201 + }, + { + "key": "35", + "status": true, + "statusCode": 201 + }, + { + "key": "36", + "status": true, + "statusCode": 201 + }, + { + "key": "37", + "status": true, + "statusCode": 201 + }, + { + "key": "38", + "status": true, + "statusCode": 201 + }, + { + "key": "39", + "status": true, + "statusCode": 201 + }, + { + "key": "40", + "status": true, + "statusCode": 201 + }, + { + "key": "41", + "status": true, + "statusCode": 201 + }, + { + "key": "42", + "status": true, + "statusCode": 201 + }, + { + "key": "43", + "status": true, + "statusCode": 201 + }, + { + "key": "44", + "status": true, + "statusCode": 201 + }, + { + "key": "45", + "status": true, + "statusCode": 201 + }, + { + "key": "46", + "status": true, + "statusCode": 201 + }, + { + "key": "47", + "status": true, + "statusCode": 201 + }, + { + "key": "no-vectors", + "status": true, + "statusCode": 201 + }, + { + "key": "empty-vectors", + "status": true, + "statusCode": 201 + } + ] + } + }, + "207": { + "body": { + "value": [ + { + "key": "0", + "status": true, + "statusCode": 201 + }, + { + "key": "1", + "status": true, + "statusCode": 201 + }, + { + "key": "2", + "status": true, + "statusCode": 201 + }, + { + "key": "3", + "status": true, + "statusCode": 201 + }, + { + "key": "4", + "status": true, + "statusCode": 201 + }, + { + "key": "5", + "status": true, + "statusCode": 201 + }, + { + "key": "6", + "status": true, + "statusCode": 201 + }, + { + "key": "7", + "status": true, + "statusCode": 201 + }, + { + "key": "8", + "status": true, + "statusCode": 201 + }, + { + "key": "9", + "status": true, + "statusCode": 201 + }, + { + "key": "10", + "status": true, + "statusCode": 201 + }, + { + "key": "11", + "status": true, + "statusCode": 201 + }, + { + "key": "12", + "status": true, + "statusCode": 201 + }, + { + "key": "13", + "status": true, + "statusCode": 201 + }, + { + "key": "14", + "status": true, + "statusCode": 201 + }, + { + "key": "15", + "status": true, + "statusCode": 201 + }, + { + "key": "16", + "status": true, + "statusCode": 201 + }, + { + "key": "17", + "status": true, + "statusCode": 201 + }, + { + "key": "18", + "status": true, + "statusCode": 201 + }, + { + "key": "19", + "status": true, + "statusCode": 201 + }, + { + "key": "20", + "status": true, + "statusCode": 201 + }, + { + "key": "21", + "status": true, + "statusCode": 201 + }, + { + "key": "22", + "status": true, + "statusCode": 201 + }, + { + "key": "23", + "status": true, + "statusCode": 201 + }, + { + "key": "24", + "status": true, + "statusCode": 201 + }, + { + "key": "25", + "status": true, + "statusCode": 201 + }, + { + "key": "26", + "status": true, + "statusCode": 201 + }, + { + "key": "27", + "status": true, + "statusCode": 201 + }, + { + "key": "28", + "status": true, + "statusCode": 201 + }, + { + "key": "29", + "status": true, + "statusCode": 201 + }, + { + "key": "30", + "status": true, + "statusCode": 201 + }, + { + "key": "31", + "status": true, + "statusCode": 201 + }, + { + "key": "32", + "status": true, + "statusCode": 201 + }, + { + "key": "33", + "status": true, + "statusCode": 201 + }, + { + "key": "34", + "status": true, + "statusCode": 201 + }, + { + "key": "35", + "status": true, + "statusCode": 201 + }, + { + "key": "36", + "status": true, + "statusCode": 201 + }, + { + "key": "37", + "status": true, + "statusCode": 201 + }, + { + "key": "38", + "status": true, + "statusCode": 201 + }, + { + "key": "39", + "status": true, + "statusCode": 201 + }, + { + "key": "40", + "status": true, + "statusCode": 201 + }, + { + "key": "41", + "status": true, + "statusCode": 201 + }, + { + "key": "42", + "status": true, + "statusCode": 201 + }, + { + "key": "43", + "status": true, + "statusCode": 201 + }, + { + "key": "44", + "status": true, + "statusCode": 201 + }, + { + "key": "45", + "status": true, + "statusCode": 201 + }, + { + "key": "46", + "status": true, + "statusCode": 201 + }, + { + "key": "47", + "status": true, + "statusCode": 201 + }, + { + "key": "no-vectors", + "status": true, + "statusCode": 201 + }, + { + "key": "empty-vectors", + "status": true, + "statusCode": 201 + } + ] + } + } + } +} diff --git a/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchIndexSearchDocumentsGet.json b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchIndexSearchDocumentsGet.json new file mode 100644 index 000000000000..8b58dd48237b --- /dev/null +++ b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchIndexSearchDocumentsGet.json @@ -0,0 +1,131 @@ +{ + "parameters": { + "endpoint": "https://myservice.search.windows.net", + "indexName": "myindex", + "api-version": "2025-11-01-preview", + "x-ms-client-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-query-source-authorization": "AZURE_AD_ACCESS_TOKEN", + "x-ms-enable-elevated-read": true, + "$count": true, + "facet": [ + "category,count:10,sort:count" + ], + "$filter": "rating gt 10", + "highlight": [ + "title" + ], + "highlightPostTag": "", + "highlightPreTag": "", + "minimumCoverage": 80, + "$orderby": [ + "search.score() desc", + "rating desc" + ], + "queryType": "simple", + "sessionId": "mysessionid", + "scoringStatistics": "global", + "scoringParameters": [ + "currentLocation--122.123,44.77233" + ], + "scoringProfile": "sp", + "search": "nice hotels", + "searchFields": [ + "title", + "description" + ], + "searchMode": "any", + "$select": [ + "docId", + "title", + "description" + ], + "$skip": 100, + "$top": 10 + }, + "responses": { + "200": { + "body": { + "@odata.count": 25, + "@search.coverage": 80, + "@search.facets": { + "category": [ + { + "count": 1, + "value": "Economy" + }, + { + "count": 1, + "value": "Luxury" + } + ] + }, + "value": [ + { + "@search.score": 1.5, + "@search.highlights": { + "title": [ + "Nice Hotel" + ] + }, + "description": "Cheapest hotel in town", + "docId": "1", + "title": "Nice Hotel" + }, + { + "@search.score": 0.7, + "@search.highlights": { + "title": [ + "Fancy Hotel" + ] + }, + "description": "Best hotel in town", + "docId": "2", + "title": "Fancy Hotel" + } + ] + } + }, + "206": { + "body": { + "@odata.count": 25, + "@search.coverage": 80, + "@search.facets": { + "category": [ + { + "count": 1, + "value": "Economy" + }, + { + "count": 1, + "value": "Luxury" + } + ] + }, + "value": [ + { + "@search.score": 1.5, + "@search.highlights": { + "title": [ + "Nice Hotel" + ] + }, + "description": "Cheapest hotel in town", + "docId": "1", + "title": "Nice Hotel" + }, + { + "@search.score": 0.7, + "@search.highlights": { + "title": [ + "Fancy Hotel" + ] + }, + "description": "Best hotel in town", + "docId": "2", + "title": "Fancy Hotel" + } + ] + } + } + } +} diff --git a/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchIndexSearchDocumentsPost.json b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchIndexSearchDocumentsPost.json new file mode 100644 index 000000000000..0f7d05fbd8a1 --- /dev/null +++ b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchIndexSearchDocumentsPost.json @@ -0,0 +1,820 @@ +{ + "operationId": "Documents_SearchPost", + "title": "SearchIndexSearchDocumentsPost", + "parameters": { + "endpoint": "https://previewexampleservice.search.windows.net", + "indexName": "preview-test", + "api-version": "2025-11-01-preview", + "x-ms-client-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-query-source-authorization": "00000000-0000-0000-0000-000000000000", + "x-ms-enable-elevated-read": true, + "searchRequest": { + "count": true, + "facets": [ + "ownerId", + "price,metric:sum,default:10" + ], + "filter": "category eq 'purple' or category eq 'pink'", + "highlight": "category", + "highlightPostTag": "", + "highlightPreTag": "", + "minimumCoverage": 100, + "queryType": "semantic", + "scoringStatistics": "global", + "sessionId": "mysessionid", + "scoringParameters": [ + "categoryTag:desiredCategoryValue" + ], + "scoringProfile": "stringFieldBoost", + "debug": "vector", + "search": "purple", + "searchFields": "id,name,description,category,ownerId", + "searchMode": "any", + "queryLanguage": "en-us", + "speller": "lexicon", + "select": "id,name,description,category,ownerId", + "skip": 0, + "top": 10, + "semanticConfiguration": "testconfig", + "semanticErrorHandling": "partial", + "semanticMaxWaitInMilliseconds": 5000, + "semanticQuery": "find all purple", + "answers": "extractive", + "captions": "extractive", + "queryRewrites": "generative", + "vectorQueries": [ + { + "vector": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9 + ], + "kind": "vector", + "k": 50, + "fields": "vector22, vector1b", + "oversampling": 20, + "weight": 1, + "threshold": { + "value": 0.984, + "kind": "vectorSimilarity" + }, + "filterOverride": "ownerId eq 'sam'" + } + ], + "vectorFilterMode": "preFilter", + "hybridSearch": { + "maxTextRecallSize": 100, + "countAndFacetMode": "countAllResults" + } + } + }, + "responses": { + "200": { + "body": { + "@odata.count": 27, + "@search.coverage": 100.0, + "@search.facets": { + "ownerId": [ + { + "count": 16, + "value": "sam" + }, + { + "count": 8, + "value": "ryan" + }, + { + "count": 3, + "value": "benny" + } + ], + "price": [ + { + "sum": 320.0 + } + ] + }, + "@search.answers": [], + "value": [ + { + "@search.score": 0.015625, + "@search.highlights": { + "category": [ + "purple" + ] + }, + "@search.rerankerScore": 1.7178425788879395, + "@search.rerankerBoostedScore": 1.7178425788879395, + "@search.captions": [ + { + "text": "test10 hello.", + "highlights": "" + } + ], + "@search.documentDebugInfo": { + "vectors": { + "subscores": { + "documentBoost": 1.0, + "text": { + "searchScore": 27.725889205932617 + }, + "vectors": [ + {} + ] + } + } + }, + "id": "10", + "name": "test", + "description": "test10 hello", + "category": "purple", + "ownerId": "benny" + }, + { + "@search.score": 0.012820512987673283, + "@search.highlights": { + "category": [ + "purple" + ] + }, + "@search.rerankerScore": 1.7079174518585205, + "@search.rerankerBoostedScore": 1.7079174518585205, + "@search.captions": [ + { + "text": "no vector.", + "highlights": "no vector." + } + ], + "@search.documentDebugInfo": { + "vectors": { + "subscores": { + "documentBoost": 1.0, + "text": { + "searchScore": 21.559860229492188 + }, + "vectors": [ + {} + ] + } + } + }, + "id": "empty-vectors", + "name": "test", + "description": "no vector", + "category": "purple", + "ownerId": "sam" + }, + { + "@search.score": 0.011627906933426857, + "@search.highlights": { + "category": [ + "purple" + ] + }, + "@search.rerankerScore": 1.7079174518585205, + "@search.rerankerBoostedScore": 1.7079174518585205, + "@search.captions": [ + { + "text": "no vector.", + "highlights": "no vector." + } + ], + "@search.documentDebugInfo": { + "vectors": { + "subscores": { + "documentBoost": 1.0, + "text": { + "searchScore": 6.500757217407227 + }, + "vectors": [ + {} + ] + } + } + }, + "id": "no-vectors", + "name": "test", + "description": "no vector", + "category": "purple", + "ownerId": "sam" + }, + { + "@search.score": 0.011904762126505375, + "@search.highlights": { + "category": [ + "purple" + ] + }, + "@search.rerankerScore": 1.6994102001190186, + "@search.rerankerBoostedScore": 1.6994102001190186, + "@search.captions": [ + { + "text": "test4 hello.", + "highlights": "" + } + ], + "@search.documentDebugInfo": { + "vectors": { + "subscores": { + "documentBoost": 1.0, + "text": { + "searchScore": 6.500757217407227 + }, + "vectors": [ + {} + ] + } + } + }, + "id": "4", + "name": "test", + "description": "test4 hello", + "category": "purple", + "ownerId": "sam" + }, + { + "@search.score": 0.012345679104328156, + "@search.highlights": { + "category": [ + "purple" + ] + }, + "@search.rerankerScore": 1.6937386989593506, + "@search.rerankerBoostedScore": 1.6937386989593506, + "@search.captions": [ + { + "text": "test2 hello.", + "highlights": "" + } + ], + "@search.documentDebugInfo": { + "vectors": { + "subscores": { + "documentBoost": 1.0, + "text": { + "searchScore": 6.500757217407227 + }, + "vectors": [ + {} + ] + } + } + }, + "id": "2", + "name": "test", + "description": "test2 hello", + "category": "purple", + "ownerId": "sam" + }, + { + "@search.score": 0.0117647061124444, + "@search.highlights": { + "category": [ + "purple" + ] + }, + "@search.rerankerScore": 1.6923208236694336, + "@search.rerankerBoostedScore": 1.6923208236694336, + "@search.captions": [ + { + "text": "test5 hello.", + "highlights": "" + } + ], + "@search.documentDebugInfo": { + "vectors": { + "subscores": { + "documentBoost": 1.0, + "text": { + "searchScore": 6.500757217407227 + }, + "vectors": [ + {} + ] + } + } + }, + "id": "5", + "name": "test", + "description": "test5 hello", + "category": "purple", + "ownerId": "sam" + }, + { + "@search.score": 0.01666666753590107, + "@search.highlights": { + "category": [ + "purple" + ] + }, + "@search.rerankerScore": 1.691611886024475, + "@search.rerankerBoostedScore": 1.691611886024475, + "@search.captions": [ + { + "text": "test7 hello.", + "highlights": "" + } + ], + "@search.documentDebugInfo": { + "vectors": { + "subscores": { + "documentBoost": 1.0, + "text": { + "searchScore": 39.23316955566406 + }, + "vectors": [ + {} + ] + } + } + }, + "id": "7", + "name": "test", + "description": "test7 hello", + "category": "purple", + "ownerId": "sam" + }, + { + "@search.score": 0.013698630034923553, + "@search.highlights": { + "category": [ + "purple" + ] + }, + "@search.rerankerScore": 1.6781420707702637, + "@search.rerankerBoostedScore": 1.6781420707702637, + "@search.captions": [ + { + "text": "test0 hello.", + "highlights": "" + } + ], + "@search.documentDebugInfo": { + "vectors": { + "subscores": { + "documentBoost": 1.0, + "text": { + "searchScore": 21.559860229492188 + }, + "vectors": [ + {} + ] + } + } + }, + "id": "0", + "name": "test", + "description": "test0 hello", + "category": "purple", + "ownerId": "benny" + }, + { + "@search.score": 0.013888888992369175, + "@search.highlights": { + "category": [ + "purple" + ] + }, + "@search.rerankerScore": 1.6653810739517212, + "@search.rerankerBoostedScore": 1.6653810739517212, + "@search.captions": [ + { + "text": "test8 hello.", + "highlights": "" + } + ], + "@search.documentDebugInfo": { + "vectors": { + "subscores": { + "documentBoost": 1.0, + "text": { + "searchScore": 23.01456642150879 + }, + "vectors": [ + {} + ] + } + } + }, + "id": "8", + "name": "test", + "description": "test8 hello", + "category": "purple", + "ownerId": "sam" + }, + { + "@search.score": 0.012658228166401386, + "@search.highlights": { + "category": [ + "purple" + ] + }, + "@search.rerankerScore": 1.6618363857269287, + "@search.rerankerBoostedScore": 1.6618363857269287, + "@search.captions": [ + { + "text": "test11 hello.", + "highlights": "" + } + ], + "@search.documentDebugInfo": { + "vectors": { + "subscores": { + "documentBoost": 1.0, + "text": { + "searchScore": 6.500757217407227 + }, + "vectors": [ + {} + ] + } + } + }, + "id": "11", + "name": "test", + "description": "test11 hello", + "category": "purple", + "ownerId": "sam" + } + ] + } + }, + "206": { + "body": { + "@odata.count": 27, + "@search.coverage": 100.0, + "@search.facets": { + "ownerId": [ + { + "count": 16, + "value": "sam" + }, + { + "count": 8, + "value": "ryan" + }, + { + "count": 3, + "value": "benny" + } + ], + "price": [ + { + "sum": 320.0 + } + ] + }, + "@search.answers": [], + "value": [ + { + "@search.score": 0.015625, + "@search.highlights": { + "category": [ + "purple" + ] + }, + "@search.rerankerScore": 1.7178425788879395, + "@search.rerankerBoostedScore": 1.7178425788879395, + "@search.captions": [ + { + "text": "test10 hello.", + "highlights": "" + } + ], + "@search.documentDebugInfo": { + "vectors": { + "subscores": { + "documentBoost": 1.0, + "text": { + "searchScore": 27.725889205932617 + }, + "vectors": [ + {} + ] + } + } + }, + "id": "10", + "name": "test", + "description": "test10 hello", + "category": "purple", + "ownerId": "benny" + }, + { + "@search.score": 0.012820512987673283, + "@search.highlights": { + "category": [ + "purple" + ] + }, + "@search.rerankerScore": 1.7079174518585205, + "@search.rerankerBoostedScore": 1.7079174518585205, + "@search.captions": [ + { + "text": "no vector.", + "highlights": "no vector." + } + ], + "@search.documentDebugInfo": { + "vectors": { + "subscores": { + "documentBoost": 1.0, + "text": { + "searchScore": 21.559860229492188 + }, + "vectors": [ + {} + ] + } + } + }, + "id": "empty-vectors", + "name": "test", + "description": "no vector", + "category": "purple", + "ownerId": "sam" + }, + { + "@search.score": 0.011627906933426857, + "@search.highlights": { + "category": [ + "purple" + ] + }, + "@search.rerankerScore": 1.7079174518585205, + "@search.rerankerBoostedScore": 1.7079174518585205, + "@search.captions": [ + { + "text": "no vector.", + "highlights": "no vector." + } + ], + "@search.documentDebugInfo": { + "vectors": { + "subscores": { + "documentBoost": 1.0, + "text": { + "searchScore": 6.500757217407227 + }, + "vectors": [ + {} + ] + } + } + }, + "id": "no-vectors", + "name": "test", + "description": "no vector", + "category": "purple", + "ownerId": "sam" + }, + { + "@search.score": 0.011904762126505375, + "@search.highlights": { + "category": [ + "purple" + ] + }, + "@search.rerankerScore": 1.6994102001190186, + "@search.rerankerBoostedScore": 1.6994102001190186, + "@search.captions": [ + { + "text": "test4 hello.", + "highlights": "" + } + ], + "@search.documentDebugInfo": { + "vectors": { + "subscores": { + "documentBoost": 1.0, + "text": { + "searchScore": 6.500757217407227 + }, + "vectors": [ + {} + ] + } + } + }, + "id": "4", + "name": "test", + "description": "test4 hello", + "category": "purple", + "ownerId": "sam" + }, + { + "@search.score": 0.012345679104328156, + "@search.highlights": { + "category": [ + "purple" + ] + }, + "@search.rerankerScore": 1.6937386989593506, + "@search.rerankerBoostedScore": 1.6937386989593506, + "@search.captions": [ + { + "text": "test2 hello.", + "highlights": "" + } + ], + "@search.documentDebugInfo": { + "vectors": { + "subscores": { + "documentBoost": 1.0, + "text": { + "searchScore": 6.500757217407227 + }, + "vectors": [ + {} + ] + } + } + }, + "id": "2", + "name": "test", + "description": "test2 hello", + "category": "purple", + "ownerId": "sam" + }, + { + "@search.score": 0.0117647061124444, + "@search.highlights": { + "category": [ + "purple" + ] + }, + "@search.rerankerScore": 1.6923208236694336, + "@search.rerankerBoostedScore": 1.6923208236694336, + "@search.captions": [ + { + "text": "test5 hello.", + "highlights": "" + } + ], + "@search.documentDebugInfo": { + "vectors": { + "subscores": { + "documentBoost": 1.0, + "text": { + "searchScore": 6.500757217407227 + }, + "vectors": [ + {} + ] + } + } + }, + "id": "5", + "name": "test", + "description": "test5 hello", + "category": "purple", + "ownerId": "sam" + }, + { + "@search.score": 0.01666666753590107, + "@search.highlights": { + "category": [ + "purple" + ] + }, + "@search.rerankerScore": 1.691611886024475, + "@search.rerankerBoostedScore": 1.691611886024475, + "@search.captions": [ + { + "text": "test7 hello.", + "highlights": "" + } + ], + "@search.documentDebugInfo": { + "vectors": { + "subscores": { + "documentBoost": 1.0, + "text": { + "searchScore": 39.23316955566406 + }, + "vectors": [ + {} + ] + } + } + }, + "id": "7", + "name": "test", + "description": "test7 hello", + "category": "purple", + "ownerId": "sam" + }, + { + "@search.score": 0.013698630034923553, + "@search.highlights": { + "category": [ + "purple" + ] + }, + "@search.rerankerScore": 1.6781420707702637, + "@search.rerankerBoostedScore": 1.6781420707702637, + "@search.captions": [ + { + "text": "test0 hello.", + "highlights": "" + } + ], + "@search.documentDebugInfo": { + "vectors": { + "subscores": { + "documentBoost": 1.0, + "text": { + "searchScore": 21.559860229492188 + }, + "vectors": [ + {} + ] + } + } + }, + "id": "0", + "name": "test", + "description": "test0 hello", + "category": "purple", + "ownerId": "benny" + }, + { + "@search.score": 0.013888888992369175, + "@search.highlights": { + "category": [ + "purple" + ] + }, + "@search.rerankerScore": 1.6653810739517212, + "@search.rerankerBoostedScore": 1.6653810739517212, + "@search.captions": [ + { + "text": "test8 hello.", + "highlights": "" + } + ], + "@search.documentDebugInfo": { + "vectors": { + "subscores": { + "documentBoost": 1.0, + "text": { + "searchScore": 23.01456642150879 + }, + "vectors": [ + {} + ] + } + } + }, + "id": "8", + "name": "test", + "description": "test8 hello", + "category": "purple", + "ownerId": "sam" + }, + { + "@search.score": 0.012658228166401386, + "@search.highlights": { + "category": [ + "purple" + ] + }, + "@search.rerankerScore": 1.6618363857269287, + "@search.rerankerBoostedScore": 1.6618363857269287, + "@search.captions": [ + { + "text": "test11 hello.", + "highlights": "" + } + ], + "@search.documentDebugInfo": { + "vectors": { + "subscores": { + "documentBoost": 1.0, + "text": { + "searchScore": 6.500757217407227 + }, + "vectors": [ + {} + ] + } + } + }, + "id": "11", + "name": "test", + "description": "test11 hello", + "category": "purple", + "ownerId": "sam" + } + ] + } + } + } +} diff --git a/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchIndexSearchDocumentsPostOsV2.json b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchIndexSearchDocumentsPostOsV2.json new file mode 100644 index 000000000000..d7d429e29a0d --- /dev/null +++ b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchIndexSearchDocumentsPostOsV2.json @@ -0,0 +1,451 @@ +{ + "operationId": "Documents_SearchPost", + "title": "SearchIndexSearchDocumentsPostOsV2", + "parameters": { + "endpoint": "https://previewexampleservice.search.windows.net", + "indexName": "preview-test", + "api-version": "2025-11-01-preview", + "x-ms-client-request-id": "00000000-0000-0000-0000-000000000000", + "x-ms-query-source-authorization": "AZURE_AD_ACCESS_TOKEN", + "x-ms-enable-elevated-read": true, + "searchRequest": { + "count": true, + "facets": [ + "ownerId", + "price,metric:sum,default:10" + ], + "filter": "category eq 'purple' or category eq 'pink'", + "highlight": "category", + "highlightPostTag": "", + "highlightPreTag": "", + "minimumCoverage": 100, + "queryType": "semantic", + "scoringStatistics": "global", + "sessionId": "mysessionid", + "scoringParameters": [ + "categoryTag:desiredCategoryValue" + ], + "scoringProfile": "stringFieldBoost", + "debug": "vector", + "search": "purple", + "searchFields": "id,name,description,category,ownerId", + "searchMode": "any", + "queryLanguage": "en-us", + "speller": "lexicon", + "select": "id,name,description,category,ownerId", + "skip": 0, + "top": 10, + "semanticConfiguration": "testconfig", + "semanticErrorHandling": "partial", + "semanticMaxWaitInMilliseconds": 5000, + "semanticQuery": "find all purple", + "answers": "extractive", + "captions": "extractive", + "queryRewrites": "generative", + "vectorQueries": [ + { + "vector": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9 + ], + "kind": "vector", + "k": 50, + "fields": "vector22, vector1b", + "oversampling": 20, + "weight": 1, + "threshold": { + "value": 0.984, + "kind": "vectorSimilarity" + }, + "filterOverride": "ownerId eq 'sam'" + } + ], + "vectorFilterMode": "preFilter", + "hybridSearch": { + "maxTextRecallSize": 100, + "countAndFacetMode": "countAllResults" + } + } + }, + "responses": { + "200": { + "body": { + "@odata.count": 27, + "@search.coverage": 100.0, + "@search.facets": { + "ownerId": [ + { + "count": 16, + "value": "sam" + }, + { + "count": 8, + "value": "ryan" + }, + { + "count": 3, + "value": "benny" + } + ], + "price": [ + { + "sum": 320.0 + } + ] + }, + "@search.answers": [], + "value": [ + { + "@search.score": 0.012987012974917889, + "@search.highlights": { + "category": [ + "purple" + ] + }, + "@search.rerankerScore": 1.7178425788879395, + "@search.rerankerBoostedScore": 1.7178425788879395, + "@search.captions": [ + { + "text": "test10 hello.", + "highlights": "" + } + ], + "@search.documentDebugInfo": { + "vectors": { + "subscores": { + "documentBoost": 1.0, + "text": { + "searchScore": 15.319689750671387 + }, + "vectors": [ + {} + ] + } + } + }, + "id": "10", + "name": "test", + "description": "test10 hello", + "category": "purple", + "ownerId": "benny" + }, + { + "@search.score": 0.013333333656191826, + "@search.highlights": { + "category": [ + "purple" + ] + }, + "@search.rerankerScore": 1.7079174518585205, + "@search.rerankerBoostedScore": 1.7079174518585205, + "@search.captions": [ + { + "text": "no vector.", + "highlights": "no vector." + } + ], + "@search.documentDebugInfo": { + "vectors": { + "subscores": { + "documentBoost": 1.0, + "text": { + "searchScore": 18.800146102905273 + }, + "vectors": [ + {} + ] + } + } + }, + "id": "no-vectors", + "name": "test", + "description": "no vector", + "category": "purple", + "ownerId": "sam" + }, + { + "@search.score": 0.012195121496915817, + "@search.highlights": { + "category": [ + "purple" + ] + }, + "@search.rerankerScore": 1.7079174518585205, + "@search.rerankerBoostedScore": 1.7079174518585205, + "@search.captions": [ + { + "text": "no vector.", + "highlights": "no vector." + } + ], + "@search.documentDebugInfo": { + "vectors": { + "subscores": { + "documentBoost": 1.0, + "text": { + "searchScore": 15.319689750671387 + }, + "vectors": [ + {} + ] + } + } + }, + "id": "empty-vectors", + "name": "test", + "description": "no vector", + "category": "purple", + "ownerId": "sam" + }, + { + "@search.score": 0.012345679104328156, + "@search.highlights": { + "category": [ + "purple" + ] + }, + "@search.rerankerScore": 1.6994102001190186, + "@search.rerankerBoostedScore": 1.6994102001190186, + "@search.captions": [ + { + "text": "test4 hello.", + "highlights": "" + } + ], + "@search.documentDebugInfo": { + "vectors": { + "subscores": { + "documentBoost": 1.0, + "text": { + "searchScore": 15.319689750671387 + }, + "vectors": [ + {} + ] + } + } + }, + "id": "4", + "name": "test", + "description": "test4 hello", + "category": "purple", + "ownerId": "sam" + }, + { + "@search.score": 0.0117647061124444, + "@search.highlights": { + "category": [ + "purple" + ] + }, + "@search.rerankerScore": 1.6937386989593506, + "@search.rerankerBoostedScore": 1.6937386989593506, + "@search.captions": [ + { + "text": "test2 hello.", + "highlights": "" + } + ], + "@search.documentDebugInfo": { + "vectors": { + "subscores": { + "documentBoost": 1.0, + "text": { + "searchScore": 11.507283210754395 + }, + "vectors": [ + {} + ] + } + } + }, + "id": "2", + "name": "test", + "description": "test2 hello", + "category": "purple", + "ownerId": "sam" + }, + { + "@search.score": 0.013698630034923553, + "@search.highlights": { + "category": [ + "purple" + ] + }, + "@search.rerankerScore": 1.6923208236694336, + "@search.rerankerBoostedScore": 1.6923208236694336, + "@search.captions": [ + { + "text": "test5 hello.", + "highlights": "" + } + ], + "@search.documentDebugInfo": { + "vectors": { + "subscores": { + "documentBoost": 1.0, + "text": { + "searchScore": 21.559860229492188 + }, + "vectors": [ + {} + ] + } + } + }, + "id": "5", + "name": "test", + "description": "test5 hello", + "category": "purple", + "ownerId": "sam" + }, + { + "@search.score": 0.013513513840734959, + "@search.highlights": { + "category": [ + "purple" + ] + }, + "@search.rerankerScore": 1.691611886024475, + "@search.rerankerBoostedScore": 1.691611886024475, + "@search.captions": [ + { + "text": "test7 hello.", + "highlights": "" + } + ], + "@search.documentDebugInfo": { + "vectors": { + "subscores": { + "documentBoost": 1.0, + "text": { + "searchScore": 18.800146102905273 + }, + "vectors": [ + {} + ] + } + } + }, + "id": "7", + "name": "test", + "description": "test7 hello", + "category": "purple", + "ownerId": "sam" + }, + { + "@search.score": 0.01315789483487606, + "@search.highlights": { + "category": [ + "purple" + ] + }, + "@search.rerankerScore": 1.6781420707702637, + "@search.rerankerBoostedScore": 1.6781420707702637, + "@search.captions": [ + { + "text": "test0 hello.", + "highlights": "" + } + ], + "@search.documentDebugInfo": { + "vectors": { + "subscores": { + "documentBoost": 1.0, + "text": { + "searchScore": 15.319689750671387 + }, + "vectors": [ + {} + ] + } + } + }, + "id": "0", + "name": "test", + "description": "test0 hello", + "category": "purple", + "ownerId": "benny" + }, + { + "@search.score": 0.015625, + "@search.highlights": { + "category": [ + "purple" + ] + }, + "@search.rerankerScore": 1.6653810739517212, + "@search.rerankerBoostedScore": 1.6653810739517212, + "@search.captions": [ + { + "text": "test8 hello.", + "highlights": "" + } + ], + "@search.documentDebugInfo": { + "vectors": { + "subscores": { + "documentBoost": 1.0, + "text": { + "searchScore": 33.067142486572266 + }, + "vectors": [ + {} + ] + } + } + }, + "id": "8", + "name": "test", + "description": "test8 hello", + "category": "purple", + "ownerId": "sam" + }, + { + "@search.score": 0.016393441706895828, + "@search.highlights": { + "category": [ + "purple" + ] + }, + "@search.rerankerScore": 1.6618363857269287, + "@search.rerankerBoostedScore": 1.6618363857269287, + "@search.captions": [ + { + "text": "test11 hello.", + "highlights": "" + } + ], + "@search.documentDebugInfo": { + "vectors": { + "subscores": { + "documentBoost": 1.0, + "text": { + "searchScore": 33.067142486572266 + }, + "vectors": [ + {} + ] + } + } + }, + "id": "11", + "name": "test", + "description": "test11 hello", + "category": "purple", + "ownerId": "sam" + } + ] + } + }, + "206": {} + } +} diff --git a/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchIndexSearchDocumentsSemanticGet.json b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchIndexSearchDocumentsSemanticGet.json new file mode 100644 index 000000000000..e59e97280993 --- /dev/null +++ b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchIndexSearchDocumentsSemanticGet.json @@ -0,0 +1,85 @@ +{ + "parameters": { + "endpoint": "https://myservice.search.windows.net", + "indexName": "myindex", + "api-version": "2025-11-01-preview", + "$count": true, + "highlightPostTag": "", + "highlightPreTag": "", + "queryType": "semantic", + "search": "how do clouds form", + "semanticConfiguration": "my-semantic-config", + "answers": "extractive|count-3", + "captions": "extractive|highlight-true", + "semanticErrorHandling": "partial", + "semanticMaxWaitInMilliseconds": 780 + }, + "responses": { + "200": { + "body": { + "@odata.count": 25, + "@search.answers": [ + { + "key": "4123", + "text": "Sunlight heats the land all day, warming that moist air and causing it to rise high into the atmosphere until it cools and condenses into water droplets. Clouds generally form where air is ascending (over land in this case), but not where it is descending (over the river).", + "highlights": "Sunlight heats the land all day, warming that moist air and causing it to rise high into the atmosphere until it cools and condenses into water droplets. Clouds generally form where air is ascending (over land in this case), but not where it is descending (over the river).", + "score": 0.94639826 + } + ], + "value": [ + { + "@search.score": 0.5479723, + "@search.rerankerScore": 1.0321671911515296, + "@search.captions": [ + { + "text": "Like all clouds, it forms when the air reaches its dew point—the temperature at which an air mass is cool enough for its water vapor to condense into liquid droplets. This false-color image shows valley fog, which is common in the Pacific Northwest of North America.", + "highlights": "Like all clouds, it forms when the air reaches its dew point—the temperature at which an air mass is cool enough for its water vapor to condense into liquid droplets. This false-color image shows valley fog, which is common in the Pacific Northwest of North America." + } + ], + "id": "4123", + "title": "Earth Atmosphere", + "content": "Fog is essentially a cloud lying on the ground. Like all clouds, it forms when the air reaches its dew point—the temperature at \n\nwhich an air mass is cool enough for its water vapor to condense into liquid droplets.\n\nThis false-color image shows valley fog, which is common in the Pacific Northwest of North America. On clear winter nights, the \n\nground and overlying air cool off rapidly, especially at high elevations. Cold air is denser than warm air, and it sinks down into the \n\nvalleys. The moist air in the valleys gets chilled to its dew point, and fog forms. If undisturbed by winds, such fog may persist for \n\ndays. The Terra satellite captured this image of foggy valleys northeast of Vancouver in February 2010.\n\n\n", + "locations": [ + "Pacific Northwest", + "North America", + "Vancouver" + ] + } + ] + } + }, + "206": { + "body": { + "@odata.count": 25, + "@search.answers": [ + { + "key": "4123", + "text": "Sunlight heats the land all day, warming that moist air and causing it to rise high into the atmosphere until it cools and condenses into water droplets. Clouds generally form where air is ascending (over land in this case), but not where it is descending (over the river).", + "highlights": "Sunlight heats the land all day, warming that moist air and causing it to rise high into the atmosphere until it cools and condenses into water droplets. Clouds generally form where air is ascending (over land in this case), but not where it is descending (over the river).", + "score": 0.94639826 + } + ], + "value": [ + { + "@search.score": 0.5479723, + "@search.rerankerScore": 1.0321671911515296, + "@search.captions": [ + { + "text": "Like all clouds, it forms when the air reaches its dew point—the temperature at which an air mass is cool enough for its water vapor to condense into liquid droplets. This false-color image shows valley fog, which is common in the Pacific Northwest of North America.", + "highlights": "Like all clouds, it forms when the air reaches its dew point—the temperature at which an air mass is cool enough for its water vapor to condense into liquid droplets. This false-color image shows valley fog, which is common in the Pacific Northwest of North America." + } + ], + "id": "4123", + "title": "Earth Atmosphere", + "content": "Fog is essentially a cloud lying on the ground. Like all clouds, it forms when the air reaches its dew point—the temperature at \n\nwhich an air mass is cool enough for its water vapor to condense into liquid droplets.\n\nThis false-color image shows valley fog, which is common in the Pacific Northwest of North America. On clear winter nights, the \n\nground and overlying air cool off rapidly, especially at high elevations. Cold air is denser than warm air, and it sinks down into the \n\nvalleys. The moist air in the valleys gets chilled to its dew point, and fog forms. If undisturbed by winds, such fog may persist for \n\ndays. The Terra satellite captured this image of foggy valleys northeast of Vancouver in February 2010.\n\n\n", + "locations": [ + "Pacific Northwest", + "North America", + "Vancouver" + ] + } + ] + } + } + } +} diff --git a/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchIndexSearchDocumentsSemanticPost.json b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchIndexSearchDocumentsSemanticPost.json new file mode 100644 index 000000000000..a987e39975e8 --- /dev/null +++ b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchIndexSearchDocumentsSemanticPost.json @@ -0,0 +1,117 @@ +{ + "parameters": { + "endpoint": "https://myservice.search.windows.net", + "indexName": "myindex", + "api-version": "2025-11-01-preview", + "searchRequest": { + "count": true, + "highlightPostTag": "", + "highlightPreTag": "", + "queryType": "semantic", + "search": "how do clouds form", + "semanticConfiguration": "my-semantic-config", + "answers": "extractive|count-3", + "captions": "extractive|highlight-true", + "semanticErrorHandling": "partial", + "semanticMaxWaitInMilliseconds": 780 + } + }, + "responses": { + "200": { + "body": { + "@odata.count": 25, + "@search.answers": [ + { + "key": "4123", + "text": "Sunlight heats the land all day, warming that moist air and causing it to rise high into the atmosphere until it cools and condenses into water droplets. Clouds generally form where air is ascending (over land in this case), but not where it is descending (over the river).", + "highlights": "Sunlight heats the land all day, warming that moist air and causing it to rise high into the atmosphere until it cools and condenses into water droplets. Clouds generally form where air is ascending (over land in this case), but not where it is descending (over the river).", + "score": 0.94639826 + } + ], + "@search.nextPageParameters": { + "count": true, + "highlightPostTag": "", + "highlightPreTag": "", + "queryType": "semantic", + "search": "how do clouds form", + "semanticConfiguration": "my-semantic-config", + "answers": "extractive|count-3", + "captions": "extractive|highlight-true", + "semanticErrorHandling": "partial", + "semanticMaxWaitInMilliseconds": 780, + "skip": 2, + "top": 8 + }, + "value": [ + { + "@search.score": 0.5479723, + "@search.rerankerScore": 1.0321671911515296, + "@search.captions": [ + { + "text": "Like all clouds, it forms when the air reaches its dew point—the temperature at which an air mass is cool enough for its water vapor to condense into liquid droplets. This false-color image shows valley fog, which is common in the Pacific Northwest of North America.", + "highlights": "Like all clouds, it forms when the air reaches its dew point—the temperature at which an air mass is cool enough for its water vapor to condense into liquid droplets. This false-color image shows valley fog, which is common in the Pacific Northwest of North America." + } + ], + "id": "4123", + "title": "Earth Atmosphere", + "content": "Fog is essentially a cloud lying on the ground. Like all clouds, it forms when the air reaches its dew point—the temperature at \n\nwhich an air mass is cool enough for its water vapor to condense into liquid droplets.\n\nThis false-color image shows valley fog, which is common in the Pacific Northwest of North America. On clear winter nights, the \n\nground and overlying air cool off rapidly, especially at high elevations. Cold air is denser than warm air, and it sinks down into the \n\nvalleys. The moist air in the valleys gets chilled to its dew point, and fog forms. If undisturbed by winds, such fog may persist for \n\ndays. The Terra satellite captured this image of foggy valleys northeast of Vancouver in February 2010.\n\n\n", + "locations": [ + "Pacific Northwest", + "North America", + "Vancouver" + ] + } + ], + "@odata.nextLink": "https://myservice.search.windows.net/indexes('myindex')/docs/search.post.search?api-version=2025-05-01-preview" + } + }, + "206": { + "body": { + "@odata.count": 25, + "@search.answers": [ + { + "key": "4123", + "text": "Sunlight heats the land all day, warming that moist air and causing it to rise high into the atmosphere until it cools and condenses into water droplets. Clouds generally form where air is ascending (over land in this case), but not where it is descending (over the river).", + "highlights": "Sunlight heats the land all day, warming that moist air and causing it to rise high into the atmosphere until it cools and condenses into water droplets. Clouds generally form where air is ascending (over land in this case), but not where it is descending (over the river).", + "score": 0.94639826 + } + ], + "@search.nextPageParameters": { + "count": true, + "highlightPostTag": "", + "highlightPreTag": "", + "queryType": "semantic", + "search": "how do clouds form", + "semanticConfiguration": "my-semantic-config", + "answers": "extractive|count-3", + "captions": "extractive|highlight-true", + "semanticErrorHandling": "partial", + "semanticMaxWaitInMilliseconds": 780, + "skip": 2, + "top": 8 + }, + "value": [ + { + "@search.score": 0.5479723, + "@search.rerankerScore": 1.0321671911515296, + "@search.captions": [ + { + "text": "Like all clouds, it forms when the air reaches its dew point—the temperature at which an air mass is cool enough for its water vapor to condense into liquid droplets. This false-color image shows valley fog, which is common in the Pacific Northwest of North America.", + "highlights": "Like all clouds, it forms when the air reaches its dew point—the temperature at which an air mass is cool enough for its water vapor to condense into liquid droplets. This false-color image shows valley fog, which is common in the Pacific Northwest of North America." + } + ], + "id": "4123", + "title": "Earth Atmosphere", + "content": "Fog is essentially a cloud lying on the ground. Like all clouds, it forms when the air reaches its dew point—the temperature at \n\nwhich an air mass is cool enough for its water vapor to condense into liquid droplets.\n\nThis false-color image shows valley fog, which is common in the Pacific Northwest of North America. On clear winter nights, the \n\nground and overlying air cool off rapidly, especially at high elevations. Cold air is denser than warm air, and it sinks down into the \n\nvalleys. The moist air in the valleys gets chilled to its dew point, and fog forms. If undisturbed by winds, such fog may persist for \n\ndays. The Terra satellite captured this image of foggy valleys northeast of Vancouver in February 2010.\n\n\n", + "locations": [ + "Pacific Northwest", + "North America", + "Vancouver" + ] + } + ], + "@odata.nextLink": "https://myservice.search.windows.net/indexes('myindex')/docs/search.post.search?api-version=2025-05-01-preview" + } + } + } +} diff --git a/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchIndexSuggestDocumentsGet.json b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchIndexSuggestDocumentsGet.json new file mode 100644 index 000000000000..c517f3434093 --- /dev/null +++ b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchIndexSuggestDocumentsGet.json @@ -0,0 +1,47 @@ +{ + "parameters": { + "endpoint": "https://myservice.search.windows.net", + "indexName": "myindex", + "api-version": "2025-11-01-preview", + "$filter": "rating gt 10", + "fuzzy": false, + "highlightPostTag": "", + "highlightPreTag": "", + "minimumCoverage": 80, + "$orderby": [ + "search.score() desc", + "rating desc" + ], + "search": "hote", + "searchFields": [ + "title" + ], + "suggesterName": "sg", + "$select": [ + "docId", + "title", + "description" + ], + "$top": 10 + }, + "responses": { + "200": { + "body": { + "value": [ + { + "@search.text": "Nice Hotel", + "description": "Cheapest hotel in town", + "docId": "1", + "title": "Nice Hotel" + }, + { + "@search.text": "Fancy Hotel", + "description": "Best hotel in town", + "docId": "2", + "title": "Fancy Hotel" + } + ] + } + } + } +} diff --git a/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchIndexSuggestDocumentsPost.json b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchIndexSuggestDocumentsPost.json new file mode 100644 index 000000000000..badb59cdadd5 --- /dev/null +++ b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchIndexSuggestDocumentsPost.json @@ -0,0 +1,60 @@ +{ + "operationId": "Documents_SuggestPost", + "title": "SearchIndexSuggestDocumentsPost", + "parameters": { + "endpoint": "https://previewexampleservice.search.windows.net", + "indexName": "preview-test", + "api-version": "2025-11-01-preview", + "x-ms-client-request-id": "00000000-0000-0000-0000-000000000000", + "suggestRequest": { + "filter": "ownerId eq 'sam' and id lt '15'", + "fuzzy": true, + "highlightPostTag": "", + "highlightPreTag": "", + "minimumCoverage": 80, + "orderby": "id desc", + "search": "p", + "searchFields": "category", + "select": "id,name,category,ownerId", + "suggesterName": "sg", + "top": 10 + } + }, + "responses": { + "200": { + "body": { + "@search.coverage": 100.0, + "value": [ + { + "@search.text": "purple", + "id": "14", + "name": "test", + "category": "purple", + "ownerId": "sam" + }, + { + "@search.text": "purple", + "id": "13", + "name": "test", + "category": "purple", + "ownerId": "sam" + }, + { + "@search.text": "purple", + "id": "11", + "name": "test", + "category": "purple", + "ownerId": "sam" + }, + { + "@search.text": "purple", + "id": "1", + "name": "test", + "category": "purple", + "ownerId": "sam" + } + ] + } + } + } +} diff --git a/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceCreateAlias.json b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceCreateAlias.json new file mode 100644 index 000000000000..90efedba46ad --- /dev/null +++ b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceCreateAlias.json @@ -0,0 +1,26 @@ +{ + "operationId": "Aliases_Create", + "title": "SearchServiceCreateAlias", + "parameters": { + "endpoint": "https://previewexampleservice.search.windows.net", + "api-version": "2025-11-01-preview", + "x-ms-client-request-id": "00000000-0000-0000-0000-000000000000", + "alias": { + "name": "tempalias", + "indexes": [ + "preview-test" + ], + "@odata.etag": "0x1234568AE7E58A1" + } + }, + "responses": { + "201": { + "body": { + "name": "tempalias", + "indexes": [ + "preview-test" + ] + } + } + } +} diff --git a/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceCreateDataSource.json b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceCreateDataSource.json new file mode 100644 index 000000000000..afae76cb7af9 --- /dev/null +++ b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceCreateDataSource.json @@ -0,0 +1,64 @@ +{ + "operationId": "DataSources_Create", + "title": "SearchServiceCreateDataSource", + "parameters": { + "endpoint": "https://previewexampleservice.search.windows.net", + "api-version": "2025-11-01-preview", + "x-ms-client-request-id": "00000000-0000-0000-0000-000000000000", + "dataSource": { + "name": "tempdatasource", + "description": "My Azure Blob data source.", + "type": "azureblob", + "credentials": { + "connectionString": "DefaultEndpointsProtocol=https;AccountName=myAccountName;AccountKey=myAccountKey;EndpointSuffix=core.windows.net " + }, + "container": { + "name": "doc-extraction-skillset", + "query": "E2E_Dsat" + }, + "identity": { + "@odata.type": "#Microsoft.Azure.Search.DataNoneIdentity" + }, + "dataChangeDetectionPolicy": { + "highWaterMarkColumnName": "metadata_storage_last_modified", + "@odata.type": "#Microsoft.Azure.Search.HighWaterMarkChangeDetectionPolicy" + }, + "dataDeletionDetectionPolicy": { + "softDeleteColumnName": "isDeleted", + "softDeleteMarkerValue": "true", + "@odata.type": "#Microsoft.Azure.Search.SoftDeleteColumnDeletionDetectionPolicy" + }, + "@odata.etag": "0x1234568AE7E58A1" + } + }, + "responses": { + "201": { + "body": { + "@odata.etag": "0x1234568AE7E58A1", + "name": "tempdatasource", + "description": "My Azure Blob data source.", + "type": "azureblob", + "indexerPermissionOptions": [], + "credentials": { + "connectionString": "DefaultEndpointsProtocol=https;AccountName=myAccountName;AccountKey=myAccountKey;EndpointSuffix=core.windows.net " + }, + "container": { + "name": "doc-extraction-skillset", + "query": "E2E_Dsat" + }, + "dataChangeDetectionPolicy": { + "@odata.type": "#Microsoft.Azure.Search.HighWaterMarkChangeDetectionPolicy", + "highWaterMarkColumnName": "metadata_storage_last_modified" + }, + "dataDeletionDetectionPolicy": { + "@odata.type": "#Microsoft.Azure.Search.SoftDeleteColumnDeletionDetectionPolicy", + "softDeleteColumnName": "isDeleted", + "softDeleteMarkerValue": "true" + }, + "identity": { + "@odata.type": "#Microsoft.Azure.Search.DataNoneIdentity" + } + } + } + } +} diff --git a/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceCreateIndex.json b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceCreateIndex.json new file mode 100644 index 000000000000..5680442ade41 --- /dev/null +++ b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceCreateIndex.json @@ -0,0 +1,860 @@ +{ + "operationId": "Indexes_Create", + "title": "SearchServiceCreateIndex", + "parameters": { + "endpoint": "https://previewexampleservice.search.windows.net", + "api-version": "2025-11-01-preview", + "x-ms-client-request-id": "00000000-0000-0000-0000-000000000000", + "index": { + "name": "temp-preview-test", + "description": "description", + "fields": [ + { + "name": "id", + "type": "Edm.String", + "key": true, + "sortable": true + }, + { + "name": "vector1", + "type": "Collection(Edm.Single)", + "retrievable": true, + "searchable": true, + "dimensions": 20, + "vectorSearchProfile": "config1" + }, + { + "name": "vector1b", + "type": "Collection(Edm.Single)", + "retrievable": true, + "searchable": true, + "dimensions": 10, + "vectorSearchProfile": "config2" + }, + { + "name": "vector2", + "type": "Collection(Edm.Single)", + "retrievable": true, + "searchable": true, + "dimensions": 5, + "vectorSearchProfile": "config3" + }, + { + "name": "vector3", + "type": "Collection(Edm.Single)", + "retrievable": true, + "searchable": true, + "dimensions": 5, + "vectorSearchProfile": "config3" + }, + { + "name": "vector22", + "type": "Collection(Edm.Single)", + "retrievable": true, + "searchable": true, + "dimensions": 10, + "vectorSearchProfile": "config2" + }, + { + "name": "vector4", + "type": "Collection(Edm.Single)", + "retrievable": true, + "searchable": true, + "dimensions": 32, + "vectorSearchProfile": "config4" + }, + { + "name": "name", + "type": "Edm.String", + "retrievable": true, + "searchable": true, + "filterable": true, + "sortable": true, + "facetable": true, + "analyzer": "en.lucene" + }, + { + "name": "description", + "type": "Edm.String", + "retrievable": true, + "searchable": true, + "filterable": true, + "sortable": true, + "facetable": true, + "analyzer": "standard.lucene" + }, + { + "name": "category", + "type": "Edm.String", + "retrievable": true, + "searchable": true, + "filterable": true, + "sortable": true, + "facetable": true, + "analyzer": "en.lucene" + }, + { + "name": "ownerId", + "type": "Edm.String", + "retrievable": true, + "searchable": true, + "filterable": true, + "sortable": true, + "facetable": true, + "analyzer": "en.lucene" + }, + { + "name": "price", + "type": "Edm.Double", + "retrievable": true, + "filterable": true, + "sortable": true, + "facetable": true + }, + { + "name": "permissionFilters", + "type": "Collection(Edm.String)", + "retrievable": true, + "filterable": true, + "sortable": false, + "facetable": true, + "permissionFilter": "userIds" + }, + { + "name": "sensitivityLabels", + "type": "Collection(Edm.String)", + "retrievable": true, + "filterable": true, + "sortable": false, + "facetable": true, + "sensitivityLabel": true + } + ], + "scoringProfiles": [ + { + "name": "stringFieldBoost", + "text": { + "weights": { + "name": 3, + "description": 1, + "category": 2, + "ownerId": 1 + } + }, + "functions": [ + { + "tag": { + "tagsParameter": "categoryTag" + }, + "type": "tag", + "fieldName": "category", + "boost": 2 + } + ] + } + ], + "defaultScoringProfile": "stringFieldBoost", + "corsOptions": { + "allowedOrigins": [ + "https://www.example.com/foo" + ], + "maxAgeInSeconds": 10 + }, + "suggesters": [ + { + "name": "sg", + "searchMode": "analyzingInfixMatching", + "sourceFields": [ + "category", + "ownerId" + ] + } + ], + "analyzers": [ + { + "tokenizer": "standard_v2", + "tokenFilters": [ + "common_grams" + ], + "charFilters": [ + "html_strip" + ], + "@odata.type": "#Microsoft.Azure.Search.CustomAnalyzer", + "name": "tagsAnalyzer" + } + ], + "tokenizers": [ + { + "maxTokenLength": 100, + "@odata.type": "#Microsoft.Azure.Search.StandardTokenizerV2", + "name": "my_tokenizer" + } + ], + "tokenFilters": [ + { + "preserveOriginal": false, + "@odata.type": "#Microsoft.Azure.Search.AsciiFoldingTokenFilter", + "name": "my_tokenFilter" + } + ], + "charFilters": [ + { + "mappings": [ + ".=>,", + "_=>-" + ], + "@odata.type": "#Microsoft.Azure.Search.MappingCharFilter", + "name": "my_mapping" + } + ], + "normalizers": [ + { + "tokenFilters": [ + "my_tokenFilter" + ], + "charFilters": [ + "my_mapping" + ], + "@odata.type": "#Microsoft.Azure.Search.CustomNormalizer", + "name": "my_normalizer" + } + ], + "similarity": { + "k1": 10, + "b": 0.1, + "@odata.type": "#Microsoft.Azure.Search.BM25Similarity" + }, + "semantic": { + "defaultConfiguration": "testconfig", + "configurations": [ + { + "name": "testconfig", + "prioritizedFields": { + "titleField": { + "fieldName": "category" + }, + "prioritizedContentFields": [ + { + "fieldName": "description" + } + ], + "prioritizedKeywordsFields": [ + { + "fieldName": "ownerId" + } + ] + }, + "rankingOrder": "BoostedRerankerScore", + "flightingOptIn": true + } + ] + }, + "vectorSearch": { + "profiles": [ + { + "name": "config1", + "algorithm": "cosine", + "vectorizer": "openai", + "compression": "mySQ8" + }, + { + "name": "config2", + "algorithm": "euclidean", + "vectorizer": "custom-web-api", + "compression": "mySQ8" + }, + { + "name": "config3", + "algorithm": "dotProduct", + "vectorizer": "custom-web-api", + "compression": "myBQC" + }, + { + "name": "config4", + "algorithm": "dotProduct", + "vectorizer": "custom-web-api", + "compression": "myBQWithoutOriginals" + } + ], + "algorithms": [ + { + "hnswParameters": { + "metric": "cosine" + }, + "name": "cosine", + "kind": "hnsw" + }, + { + "hnswParameters": { + "metric": "euclidean" + }, + "name": "euclidean", + "kind": "hnsw" + }, + { + "hnswParameters": { + "metric": "dotProduct" + }, + "name": "dotProduct", + "kind": "hnsw" + } + ], + "vectorizers": [ + { + "azureOpenAIParameters": { + "resourceUri": "https://test-sample.openai.azure.com/", + "deploymentId": "model", + "apiKey": "api-key", + "modelName": "text-embedding-3-large" + }, + "name": "openai", + "kind": "azureOpenAI" + }, + { + "customWebApiParameters": { + "uri": "https://my-custom-endpoint.org/", + "httpHeaders": { + "header1": "value1", + "header2": "value2" + }, + "httpMethod": "POST", + "timeout": "PT1M", + "authResourceId": "api://f89d1c93-58a7-4b07-9a5b-5f89048b927b", + "authIdentity": { + "@odata.type": "#Microsoft.Azure.Search.DataNoneIdentity" + } + }, + "name": "custom-web-api", + "kind": "customWebApi" + }, + { + "amlParameters": { + "uri": "https://my-custom-endpoint.org/", + "resourceId": "aml resource id", + "timeout": "PT1M", + "region": "aml region", + "modelName": "OpenAI-CLIP-Image-Text-Embeddings-vit-base-patch32" + }, + "name": "aml", + "kind": "aml" + }, + { + "amlParameters": { + "uri": "https://my-custom-endpoint.org/", + "resourceId": "aml resource id", + "timeout": "PT1M", + "region": "aml region", + "modelName": "Cohere-embed-v4" + }, + "name": "aml-cohere", + "kind": "aml" + } + ], + "compressions": [ + { + "scalarQuantizationParameters": { + "quantizedDataType": "int8" + }, + "name": "mySQ8", + "kind": "scalarQuantization", + "rescoringOptions": { + "enableRescoring": true, + "defaultOversampling": 10, + "rescoreStorageMethod": "preserveOriginals" + }, + "truncationDimension": 2 + }, + { + "name": "myBQC", + "kind": "binaryQuantization", + "rescoringOptions": { + "enableRescoring": true, + "defaultOversampling": 10, + "rescoreStorageMethod": "preserveOriginals" + }, + "truncationDimension": 2 + }, + { + "name": "myBQWithoutOriginals", + "kind": "binaryQuantization", + "rescoringOptions": { + "enableRescoring": true, + "defaultOversampling": 10, + "rescoreStorageMethod": "discardOriginals" + }, + "truncationDimension": 2 + } + ] + }, + "permissionFilterOption": "enabled", + "purviewEnabled": true, + "@odata.etag": "0x1234568AE7E58A1" + } + }, + "responses": { + "201": { + "body": { + "@odata.etag": "0x1234568AE7E58A1", + "name": "temp-preview-test", + "description": "description", + "defaultScoringProfile": "stringFieldBoost", + "permissionFilterOption": "enabled", + "purviewEnabled": true, + "fields": [ + { + "name": "id", + "type": "Edm.String", + "searchable": true, + "filterable": true, + "retrievable": true, + "stored": true, + "sortable": true, + "facetable": true, + "key": true, + "synonymMaps": [] + }, + { + "name": "vector1", + "type": "Collection(Edm.Single)", + "searchable": true, + "filterable": false, + "retrievable": true, + "stored": true, + "sortable": false, + "facetable": false, + "key": false, + "dimensions": 20, + "vectorSearchProfile": "config1", + "synonymMaps": [] + }, + { + "name": "vector1b", + "type": "Collection(Edm.Single)", + "searchable": true, + "filterable": false, + "retrievable": true, + "stored": true, + "sortable": false, + "facetable": false, + "key": false, + "dimensions": 10, + "vectorSearchProfile": "config2", + "synonymMaps": [] + }, + { + "name": "vector2", + "type": "Collection(Edm.Single)", + "searchable": true, + "filterable": false, + "retrievable": true, + "stored": true, + "sortable": false, + "facetable": false, + "key": false, + "dimensions": 5, + "vectorSearchProfile": "config3", + "synonymMaps": [] + }, + { + "name": "vector3", + "type": "Collection(Edm.Single)", + "searchable": true, + "filterable": false, + "retrievable": true, + "stored": true, + "sortable": false, + "facetable": false, + "key": false, + "dimensions": 5, + "vectorSearchProfile": "config3", + "synonymMaps": [] + }, + { + "name": "vector22", + "type": "Collection(Edm.Single)", + "searchable": true, + "filterable": false, + "retrievable": true, + "stored": true, + "sortable": false, + "facetable": false, + "key": false, + "dimensions": 10, + "vectorSearchProfile": "config2", + "synonymMaps": [] + }, + { + "name": "vector4", + "type": "Collection(Edm.Single)", + "searchable": true, + "filterable": false, + "retrievable": true, + "stored": true, + "sortable": false, + "facetable": false, + "key": false, + "dimensions": 32, + "vectorSearchProfile": "config4", + "synonymMaps": [] + }, + { + "name": "name", + "type": "Edm.String", + "searchable": true, + "filterable": true, + "retrievable": true, + "stored": true, + "sortable": true, + "facetable": true, + "key": false, + "analyzer": "en.lucene", + "synonymMaps": [] + }, + { + "name": "description", + "type": "Edm.String", + "searchable": true, + "filterable": true, + "retrievable": true, + "stored": true, + "sortable": true, + "facetable": true, + "key": false, + "analyzer": "standard.lucene", + "synonymMaps": [] + }, + { + "name": "category", + "type": "Edm.String", + "searchable": true, + "filterable": true, + "retrievable": true, + "stored": true, + "sortable": true, + "facetable": true, + "key": false, + "analyzer": "en.lucene", + "synonymMaps": [] + }, + { + "name": "ownerId", + "type": "Edm.String", + "searchable": true, + "filterable": true, + "retrievable": true, + "stored": true, + "sortable": true, + "facetable": true, + "key": false, + "analyzer": "en.lucene", + "synonymMaps": [] + }, + { + "name": "price", + "type": "Edm.Double", + "searchable": false, + "filterable": true, + "retrievable": true, + "stored": true, + "sortable": true, + "facetable": true, + "key": false, + "synonymMaps": [] + }, + { + "name": "permissionFilters", + "type": "Collection(Edm.String)", + "searchable": true, + "filterable": true, + "retrievable": true, + "stored": true, + "sortable": false, + "facetable": true, + "key": false, + "permissionFilter": "userIds", + "synonymMaps": [] + }, + { + "name": "sensitivityLabels", + "type": "Collection(Edm.String)", + "searchable": true, + "filterable": true, + "retrievable": true, + "stored": true, + "sortable": false, + "facetable": true, + "key": false, + "sensitivityLabel": true, + "synonymMaps": [] + } + ], + "scoringProfiles": [ + { + "name": "stringFieldBoost", + "functionAggregation": "sum", + "text": { + "weights": { + "name": 3.0, + "description": 1.0, + "category": 2.0, + "ownerId": 1.0 + } + }, + "functions": [ + { + "fieldName": "category", + "interpolation": "linear", + "type": "tag", + "boost": 2.0, + "tag": { + "tagsParameter": "categoryTag" + } + } + ] + } + ], + "corsOptions": { + "allowedOrigins": [ + "https://www.example.com/foo" + ], + "maxAgeInSeconds": 10 + }, + "suggesters": [ + { + "name": "sg", + "searchMode": "analyzingInfixMatching", + "sourceFields": [ + "category", + "ownerId" + ] + } + ], + "analyzers": [ + { + "@odata.type": "#Microsoft.Azure.Search.CustomAnalyzer", + "name": "tagsAnalyzer", + "tokenizer": "standard_v2", + "tokenFilters": [ + "common_grams" + ], + "charFilters": [ + "html_strip" + ] + } + ], + "normalizers": [ + { + "@odata.type": "#Microsoft.Azure.Search.CustomNormalizer", + "name": "my_normalizer", + "tokenFilters": [ + "my_tokenFilter" + ], + "charFilters": [ + "my_mapping" + ] + } + ], + "tokenizers": [ + { + "@odata.type": "#Microsoft.Azure.Search.StandardTokenizerV2", + "name": "my_tokenizer", + "maxTokenLength": 100 + } + ], + "tokenFilters": [ + { + "@odata.type": "#Microsoft.Azure.Search.AsciiFoldingTokenFilter", + "name": "my_tokenFilter", + "preserveOriginal": false + } + ], + "charFilters": [ + { + "@odata.type": "#Microsoft.Azure.Search.MappingCharFilter", + "name": "my_mapping", + "mappings": [ + ".=>,", + "_=>-" + ] + } + ], + "similarity": { + "@odata.type": "#Microsoft.Azure.Search.BM25Similarity", + "k1": 10.0, + "b": 0.1 + }, + "semantic": { + "defaultConfiguration": "testconfig", + "configurations": [ + { + "name": "testconfig", + "flightingOptIn": true, + "rankingOrder": "BoostedRerankerScore", + "prioritizedFields": { + "titleField": { + "fieldName": "category" + }, + "prioritizedContentFields": [ + { + "fieldName": "description" + } + ], + "prioritizedKeywordsFields": [ + { + "fieldName": "ownerId" + } + ] + } + } + ] + }, + "vectorSearch": { + "algorithms": [ + { + "name": "cosine", + "kind": "hnsw", + "hnswParameters": { + "metric": "cosine", + "m": 4, + "efConstruction": 400, + "efSearch": 500 + } + }, + { + "name": "euclidean", + "kind": "hnsw", + "hnswParameters": { + "metric": "euclidean", + "m": 4, + "efConstruction": 400, + "efSearch": 500 + } + }, + { + "name": "dotProduct", + "kind": "hnsw", + "hnswParameters": { + "metric": "dotProduct", + "m": 4, + "efConstruction": 400, + "efSearch": 500 + } + } + ], + "profiles": [ + { + "name": "config1", + "algorithm": "cosine", + "vectorizer": "openai", + "compression": "mySQ8" + }, + { + "name": "config2", + "algorithm": "euclidean", + "vectorizer": "custom-web-api", + "compression": "mySQ8" + }, + { + "name": "config3", + "algorithm": "dotProduct", + "vectorizer": "custom-web-api", + "compression": "myBQC" + }, + { + "name": "config4", + "algorithm": "dotProduct", + "vectorizer": "custom-web-api", + "compression": "myBQWithoutOriginals" + } + ], + "vectorizers": [ + { + "name": "openai", + "kind": "azureOpenAI", + "azureOpenAIParameters": { + "resourceUri": "https://test-sample.openai.azure.com", + "deploymentId": "model", + "apiKey": "api-key", + "modelName": "text-embedding-3-large" + } + }, + { + "name": "custom-web-api", + "kind": "customWebApi", + "customWebApiParameters": { + "httpMethod": "POST", + "uri": "https://my-custom-endpoint.org/", + "timeout": "PT1M", + "authResourceId": "api://f89d1c93-58a7-4b07-9a5b-5f89048b927b", + "httpHeaders": { + "header1": "value1", + "header2": "value2" + }, + "authIdentity": { + "@odata.type": "#Microsoft.Azure.Search.DataNoneIdentity" + } + } + }, + { + "name": "aml", + "kind": "aml", + "amlParameters": { + "resourceId": "aml resource id", + "region": "aml region", + "uri": "https://my-custom-endpoint.org/", + "timeout": "PT1M", + "modelName": "OpenAI-CLIP-Image-Text-Embeddings-vit-base-patch32" + } + }, + { + "name": "aml-cohere", + "kind": "aml", + "amlParameters": { + "resourceId": "aml resource id", + "region": "aml region", + "uri": "https://my-custom-endpoint.org/", + "timeout": "PT1M", + "modelName": "Cohere-embed-v4" + } + } + ], + "compressions": [ + { + "name": "mySQ8", + "kind": "scalarQuantization", + "truncationDimension": 2, + "scalarQuantizationParameters": { + "quantizedDataType": "int8" + }, + "rescoringOptions": { + "enableRescoring": true, + "defaultOversampling": 10.0, + "rescoreStorageMethod": "preserveOriginals" + } + }, + { + "name": "myBQC", + "kind": "binaryQuantization", + "truncationDimension": 2, + "rescoringOptions": { + "enableRescoring": true, + "defaultOversampling": 10.0, + "rescoreStorageMethod": "preserveOriginals" + } + }, + { + "name": "myBQWithoutOriginals", + "kind": "binaryQuantization", + "truncationDimension": 2, + "rescoringOptions": { + "enableRescoring": true, + "defaultOversampling": 10.0, + "rescoreStorageMethod": "discardOriginals" + } + } + ] + } + } + } + } +} diff --git a/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceCreateIndexer.json b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceCreateIndexer.json new file mode 100644 index 000000000000..f3899ae9b5f5 --- /dev/null +++ b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceCreateIndexer.json @@ -0,0 +1,138 @@ +{ + "operationId": "Indexers_Create", + "title": "SearchServiceCreateIndexer", + "parameters": { + "endpoint": "https://previewexampleservice.search.windows.net", + "api-version": "2025-11-01-preview", + "x-ms-client-request-id": "00000000-0000-0000-0000-000000000000", + "indexer": { + "name": "myindexer", + "description": "Description of the indexer", + "dataSourceName": "indexertestdatasource", + "skillsetName": "myskillset", + "targetIndexName": "preview-test", + "schedule": { + "interval": "P1D", + "startTime": "2025-01-07T19:30:00Z" + }, + "parameters": { + "batchSize": 10, + "maxFailedItems": 10, + "maxFailedItemsPerBatch": 5, + "configuration": { + "parsingMode": "markdown", + "excludedFileNameExtensions": ".png,.mp4", + "indexedFileNameExtensions": ".docx,.pptx", + "failOnUnsupportedContentType": true, + "failOnUnprocessableDocument": false, + "indexStorageMetadataOnlyForOversizedDocuments": true, + "delimitedTextHeaders": "Header1,Header2", + "delimitedTextDelimiter": "|", + "firstLineContainsHeaders": true, + "markdownParsingSubmode": "oneToMany", + "markdownHeaderDepth": "h6", + "documentRoot": "/root", + "dataToExtract": "storageMetadata", + "imageAction": "none", + "allowSkillsetToReadFileData": false, + "pdfTextRotationAlgorithm": "none", + "executionEnvironment": "standard" + } + }, + "fieldMappings": [ + { + "sourceFieldName": "/document", + "targetFieldName": "name", + "mappingFunction": { + "name": "base64Encode" + } + } + ], + "outputFieldMappings": [ + { + "sourceFieldName": "/document", + "targetFieldName": "name", + "mappingFunction": { + "name": "base64Encode" + } + } + ], + "disabled": false, + "@odata.etag": "0x1234568AE7E58A1", + "cache": { + "storageConnectionString": "DefaultEndpointsProtocol=https;AccountName=myAccountName;AccountKey=myAccountKey;EndpointSuffix=core.windows.net ", + "enableReprocessing": true, + "identity": { + "@odata.type": "#Microsoft.Azure.Search.DataNoneIdentity" + } + } + } + }, + "responses": { + "201": { + "body": { + "@odata.etag": "0x1234568AE7E58A1", + "name": "myindexer", + "description": "Description of the indexer", + "dataSourceName": "indexertestdatasource", + "skillsetName": "myskillset", + "targetIndexName": "preview-test", + "disabled": false, + "schedule": { + "interval": "P1D", + "startTime": "2024-06-06T00:01:50.265Z" + }, + "parameters": { + "batchSize": 10, + "maxFailedItems": 10, + "maxFailedItemsPerBatch": 5, + "configuration": { + "parsingMode": "markdown", + "excludedFileNameExtensions": ".png,.mp4", + "indexedFileNameExtensions": ".docx,.pptx", + "failOnUnsupportedContentType": true, + "failOnUnprocessableDocument": false, + "indexStorageMetadataOnlyForOversizedDocuments": true, + "delimitedTextHeaders": "Header1,Header2", + "delimitedTextDelimiter": "|", + "firstLineContainsHeaders": true, + "markdownParsingSubmode": "oneToMany", + "markdownHeaderDepth": "h6", + "documentRoot": "/root", + "dataToExtract": "storageMetadata", + "imageAction": "none", + "allowSkillsetToReadFileData": false, + "pdfTextRotationAlgorithm": "none", + "executionEnvironment": "standard" + } + }, + "fieldMappings": [ + { + "sourceFieldName": "/document", + "targetFieldName": "name", + "mappingFunction": { + "name": "base64Encode" + } + } + ], + "outputFieldMappings": [ + { + "sourceFieldName": "/document", + "targetFieldName": "name", + "mappingFunction": { + "name": "base64Encode" + } + } + ], + "cache": { + "id": "00000000-0000-0000-0000-000000000000", + "enableReprocessing": true, + "storageConnectionString": "DefaultEndpointsProtocol=https;AccountName=myAccountName;AccountKey=myAccountKey;EndpointSuffix=core.windows.net ", + "identity": { + "@odata.type": "#Microsoft.Azure.Search.DataNoneIdentity" + } + } + } + } + } +} diff --git a/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceCreateKnowledgeBase.json b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceCreateKnowledgeBase.json new file mode 100644 index 000000000000..08ff93f829ea --- /dev/null +++ b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceCreateKnowledgeBase.json @@ -0,0 +1,85 @@ +{ + "operationId": "KnowledgeBases_Create", + "title": "SearchServiceCreateKnowledgeBase", + "parameters": { + "endpoint": "https://previewexampleservice.search.windows.net", + "api-version": "2025-11-01-preview", + "x-ms-client-request-id": "00000000-0000-0000-0000-000000000000", + "KnowledgeBase": { + "name": "base-preview-test", + "knowledgeSources": [ + { + "name": "ks-preview-test" + } + ], + "models": [ + { + "azureOpenAIParameters": { + "resourceUri": "https://test-sample.openai.azure.com/", + "deploymentId": "myDeployment", + "apiKey": "api-key", + "modelName": "gpt-4.1-nano" + }, + "kind": "azureOpenAI" + } + ], + "retrievalReasoningEffort": { + "kind": "low" + }, + "outputMode": "extractiveData", + "@odata.etag": "0x1234568AE7E58A1", + "encryptionKey": { + "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault", + "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString", + "keyVaultUri": "https://myKeyVault.vault.azure.net", + "accessCredentials": { + "applicationId": "00000000-0000-0000-0000-000000000000", + "applicationSecret": "" + } + }, + "description": "Description of the knowledge base.", + "retrievalInstructions": "Instructions for retrieval for the knowledge base.", + "answerInstructions": "Instructions for answer synthesis." + } + }, + "responses": { + "201": { + "body": { + "@odata.etag": "0x1234568AE7E58A1", + "name": "base-preview-test", + "description": "Description of the knowledge base.", + "retrievalInstructions": "Instructions for retrieval for the knowledge base.", + "answerInstructions": "Instructions for answer synthesis.", + "outputMode": "extractiveData", + "knowledgeSources": [ + { + "name": "ks-preview-test" + } + ], + "models": [ + { + "kind": "azureOpenAI", + "azureOpenAIParameters": { + "resourceUri": "https://test-sample.openai.azure.com/", + "deploymentId": "myDeployment", + "apiKey": "api-key", + "modelName": "gpt-4.1-nano" + } + } + ], + "encryptionKey": { + "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault", + "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString", + "keyVaultUri": "https://myKeyVault.vault.azure.net", + "accessCredentials": { + "applicationId": "00000000-0000-0000-0000-000000000000", + "applicationSecret": "" + } + }, + "retrievalReasoningEffort": { + "kind": "low" + } + } + } + } +} diff --git a/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceCreateKnowledgeSource.json b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceCreateKnowledgeSource.json new file mode 100644 index 000000000000..89c180046636 --- /dev/null +++ b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceCreateKnowledgeSource.json @@ -0,0 +1,77 @@ +{ + "operationId": "KnowledgeSources_Create", + "title": "SearchServiceCreateKnowledgeSource", + "parameters": { + "endpoint": "https://previewexampleservice.search.windows.net", + "api-version": "2025-11-01-preview", + "x-ms-client-request-id": "00000000-0000-0000-0000-000000000000", + "KnowledgeSource": { + "searchIndexParameters": { + "searchIndexName": "preview-test", + "sourceDataFields": [ + { + "name": "description" + }, + { + "name": "category" + } + ], + "searchFields": [ + { + "name": "*" + } + ], + "semanticConfigurationName": "testconfig" + }, + "name": "ks-preview-test", + "description": "Description of the knowledge source.", + "kind": "searchIndex", + "@odata.etag": "0x1234568AE7E58A1", + "encryptionKey": { + "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault", + "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString", + "keyVaultUri": "https://myKeyVault.vault.azure.net", + "accessCredentials": { + "applicationId": "00000000-0000-0000-0000-000000000000", + "applicationSecret": "" + } + } + } + }, + "responses": { + "201": { + "body": { + "@odata.etag": "0x1234568AE7E58A1", + "name": "ks-preview-test", + "kind": "searchIndex", + "description": "Description of the knowledge source.", + "encryptionKey": { + "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault", + "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString", + "keyVaultUri": "https://myKeyVault.vault.azure.net", + "accessCredentials": { + "applicationId": "00000000-0000-0000-0000-000000000000", + "applicationSecret": "" + } + }, + "searchIndexParameters": { + "searchIndexName": "preview-test", + "semanticConfigurationName": "testconfig", + "sourceDataFields": [ + { + "name": "description" + }, + { + "name": "category" + } + ], + "searchFields": [ + { + "name": "*" + } + ] + } + } + } + } +} diff --git a/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceCreateKnowledgeSourceAzureBlob.json b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceCreateKnowledgeSourceAzureBlob.json new file mode 100644 index 000000000000..4c9f89a1267d --- /dev/null +++ b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceCreateKnowledgeSourceAzureBlob.json @@ -0,0 +1,139 @@ +{ + "operationId": "KnowledgeSources_Create", + "title": "SearchServiceCreateKnowledgeSourceAzureBlob", + "parameters": { + "endpoint": "https://previewexampleservice.search.windows.net", + "api-version": "2025-11-01-preview", + "x-ms-client-request-id": "00000000-0000-0000-0000-000000000000", + "KnowledgeSource": { + "azureBlobParameters": { + "connectionString": "DefaultEndpointsProtocol=https;AccountName=myAccountName;AccountKey=myAccountKey;EndpointSuffix=core.windows.net ", + "containerName": "test-container", + "folderPath": "test-path", + "isADLSGen2": false, + "ingestionParameters": { + "identity": { + "userAssignedIdentity": "/my/userassigned/id", + "@odata.type": "#Microsoft.Azure.Search.DataUserAssignedIdentity" + }, + "embeddingModel": { + "azureOpenAIParameters": { + "resourceUri": "https://test-sample.openai.azure.com/", + "deploymentId": "model", + "apiKey": "api-key", + "modelName": "text-embedding-3-large" + }, + "kind": "azureOpenAI" + }, + "chatCompletionModel": { + "azureOpenAIParameters": { + "resourceUri": "https://test-sample.openai.azure.com/", + "deploymentId": "myDeployment", + "apiKey": "api-key", + "modelName": "gpt-4o-mini" + }, + "kind": "azureOpenAI" + }, + "disableImageVerbalization": false, + "ingestionSchedule": { + "interval": "P1D", + "startTime": "2025-01-07T19:30:00Z" + }, + "ingestionPermissionOptions": [ + "userIds", + "groupIds", + "rbacScope" + ], + "contentExtractionMode": "standard", + "aiServices": { + "uri": "https://my-ai-service.azure.com/", + "apiKey": "api-key" + } + } + }, + "name": "ks-preview-test", + "description": "Description of the knowledge source.", + "kind": "azureBlob", + "@odata.etag": "0x1234568AE7E58A1", + "encryptionKey": { + "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault", + "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString", + "keyVaultUri": "https://myKeyVault.vault.azure.net", + "accessCredentials": { + "applicationId": "00000000-0000-0000-0000-000000000000", + "applicationSecret": "" + } + } + } + }, + "responses": { + "201": { + "body": { + "@odata.etag": "0x1234568AE7E58A1", + "name": "ks-preview-test", + "kind": "azureBlob", + "description": "Description of the knowledge source.", + "encryptionKey": { + "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault", + "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString", + "keyVaultUri": "https://myKeyVault.vault.azure.net", + "accessCredentials": { + "applicationId": "00000000-0000-0000-0000-000000000000", + "applicationSecret": "" + } + }, + "azureBlobParameters": { + "connectionString": "DefaultEndpointsProtocol=https;AccountName=myAccountName;AccountKey=myAccountKey;EndpointSuffix=core.windows.net ", + "containerName": "test-container", + "folderPath": "test-path", + "isADLSGen2": false, + "ingestionParameters": { + "disableImageVerbalization": false, + "ingestionPermissionOptions": [ + "userIds", + "groupIds", + "rbacScope" + ], + "contentExtractionMode": "standard", + "identity": { + "@odata.type": "#Microsoft.Azure.Search.DataUserAssignedIdentity", + "userAssignedIdentity": "/my/userassigned/id" + }, + "embeddingModel": { + "kind": "azureOpenAI", + "azureOpenAIParameters": { + "resourceUri": "https://test-sample.openai.azure.com/", + "deploymentId": "model", + "apiKey": "api-key", + "modelName": "text-embedding-3-large" + } + }, + "chatCompletionModel": { + "kind": "azureOpenAI", + "azureOpenAIParameters": { + "resourceUri": "https://test-sample.openai.azure.com/", + "deploymentId": "myDeployment", + "apiKey": "api-key", + "modelName": "gpt-4o-mini" + } + }, + "ingestionSchedule": { + "interval": "P1D", + "startTime": "2024-06-06T00:01:50.265Z" + }, + "aiServices": { + "uri": "https://my-ai-service.azure.com/", + "apiKey": "api-key" + } + }, + "createdResources": { + "datasource": "ks-preview-test-datasource", + "indexer": "ks-preview-test-indexer", + "skillset": "ks-preview-test-skillset", + "index": "ks-preview-test-index" + } + } + } + } + } +} diff --git a/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceCreateKnowledgeSourceIndexedOneLake.json b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceCreateKnowledgeSourceIndexedOneLake.json new file mode 100644 index 000000000000..b8f7dc682df1 --- /dev/null +++ b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceCreateKnowledgeSourceIndexedOneLake.json @@ -0,0 +1,131 @@ +{ + "operationId": "KnowledgeSources_Create", + "title": "SearchServiceCreateKnowledgeSourceIndexedOneLake", + "parameters": { + "endpoint": "https://previewexampleservice.search.windows.net", + "api-version": "2025-11-01-preview", + "x-ms-client-request-id": "00000000-0000-0000-0000-000000000000", + "KnowledgeSource": { + "indexedOneLakeParameters": { + "fabricWorkspaceId": "ResourceId=fakeWorkspaceId", + "lakehouseId": "fakeLakehouseId", + "targetPath": "testfolder", + "ingestionParameters": { + "identity": { + "userAssignedIdentity": "/my/userassigned/id", + "@odata.type": "#Microsoft.Azure.Search.DataUserAssignedIdentity" + }, + "embeddingModel": { + "azureOpenAIParameters": { + "resourceUri": "https://test-sample.openai.azure.com/", + "deploymentId": "model", + "apiKey": "api-key", + "modelName": "text-embedding-3-large" + }, + "kind": "azureOpenAI" + }, + "chatCompletionModel": { + "azureOpenAIParameters": { + "resourceUri": "https://test-sample.openai.azure.com/", + "deploymentId": "myDeployment", + "apiKey": "api-key", + "modelName": "gpt-4o-mini" + }, + "kind": "azureOpenAI" + }, + "disableImageVerbalization": false, + "ingestionSchedule": { + "interval": "P1D", + "startTime": "2025-01-07T19:30:00Z" + }, + "ingestionPermissionOptions": [ + "userIds", + "groupIds", + "rbacScope" + ], + "contentExtractionMode": "standard", + "aiServices": { + "uri": "https://my-ai-service.azure.com/", + "apiKey": "api-key" + } + } + }, + "name": "ks-preview-test", + "description": "Description of the OneLake knowledge source.", + "kind": "indexedOneLake", + "@odata.etag": "0x1234568AE7E58A1", + "encryptionKey": { + "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault", + "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString", + "keyVaultUri": "https://myKeyVault.vault.azure.net", + "accessCredentials": { + "applicationId": "00000000-0000-0000-0000-000000000000", + "applicationSecret": "" + } + } + } + }, + "responses": { + "201": { + "body": { + "@odata.etag": "0x1234568AE7E58A1", + "name": "ks-preview-test", + "kind": "indexedOneLake", + "description": "Description of the OneLake knowledge source.", + "encryptionKey": { + "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault", + "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString", + "keyVaultUri": "https://myKeyVault.vault.azure.net", + "accessCredentials": { + "applicationId": "00000000-0000-0000-0000-000000000000", + "applicationSecret": "" + } + }, + "indexedOneLakeParameters": { + "fabricWorkspaceId": "ResourceId=fakeWorkspaceId", + "lakehouseId": "fakeLakehouseId", + "targetPath": "testfolder", + "ingestionParameters": { + "disableImageVerbalization": false, + "ingestionPermissionOptions": [ + "userIds", + "groupIds", + "rbacScope" + ], + "contentExtractionMode": "standard", + "identity": { + "@odata.type": "#Microsoft.Azure.Search.DataUserAssignedIdentity", + "userAssignedIdentity": "/my/userassigned/id" + }, + "embeddingModel": { + "kind": "azureOpenAI", + "azureOpenAIParameters": { + "resourceUri": "https://test-sample.openai.azure.com/", + "deploymentId": "model", + "apiKey": "api-key", + "modelName": "text-embedding-3-large" + } + }, + "chatCompletionModel": { + "kind": "azureOpenAI", + "azureOpenAIParameters": { + "resourceUri": "https://test-sample.openai.azure.com/", + "deploymentId": "myDeployment", + "apiKey": "api-key", + "modelName": "gpt-4o-mini" + } + }, + "ingestionSchedule": { + "interval": "P1D", + "startTime": "2024-06-06T00:01:50.265Z" + }, + "aiServices": { + "uri": "https://my-ai-service.azure.com/", + "apiKey": "api-key" + } + } + } + } + } + } +} diff --git a/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceCreateKnowledgeSourceIndexedSharePoint.json b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceCreateKnowledgeSourceIndexedSharePoint.json new file mode 100644 index 000000000000..d48f38a196f2 --- /dev/null +++ b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceCreateKnowledgeSourceIndexedSharePoint.json @@ -0,0 +1,131 @@ +{ + "operationId": "KnowledgeSources_Create", + "title": "SearchServiceCreateKnowledgeSourceIndexedSharePoint", + "parameters": { + "endpoint": "https://previewexampleservice.search.windows.net", + "api-version": "2025-11-01-preview", + "x-ms-client-request-id": "00000000-0000-0000-0000-000000000000", + "KnowledgeSource": { + "indexedSharePointParameters": { + "connectionString": "DefaultEndpointsProtocol=https;AccountName=myAccountName;AccountKey=myAccountKey;EndpointSuffix=core.windows.net ", + "containerName": "defaultSiteLibrary", + "query": "*.docx OR *.pdf", + "ingestionParameters": { + "identity": { + "userAssignedIdentity": "/my/userassigned/id", + "@odata.type": "#Microsoft.Azure.Search.DataUserAssignedIdentity" + }, + "embeddingModel": { + "azureOpenAIParameters": { + "resourceUri": "https://test-sample.openai.azure.com/", + "deploymentId": "model", + "apiKey": "api-key", + "modelName": "text-embedding-3-large" + }, + "kind": "azureOpenAI" + }, + "chatCompletionModel": { + "azureOpenAIParameters": { + "resourceUri": "https://test-sample.openai.azure.com/", + "deploymentId": "myDeployment", + "apiKey": "api-key", + "modelName": "gpt-4o-mini" + }, + "kind": "azureOpenAI" + }, + "disableImageVerbalization": false, + "ingestionSchedule": { + "interval": "P1D", + "startTime": "2025-01-07T19:30:00Z" + }, + "ingestionPermissionOptions": [ + "userIds", + "groupIds", + "rbacScope" + ], + "contentExtractionMode": "standard", + "aiServices": { + "uri": "https://my-ai-service.azure.com/", + "apiKey": "api-key" + } + } + }, + "name": "ks-preview-test", + "description": "Description of the SharePoint knowledge source.", + "kind": "indexedSharePoint", + "@odata.etag": "0x1234568AE7E58A1", + "encryptionKey": { + "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault", + "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString", + "keyVaultUri": "https://myKeyVault.vault.azure.net", + "accessCredentials": { + "applicationId": "00000000-0000-0000-0000-000000000000", + "applicationSecret": "" + } + } + } + }, + "responses": { + "201": { + "body": { + "@odata.etag": "0x1234568AE7E58A1", + "name": "ks-preview-test", + "kind": "indexedSharePoint", + "description": "Description of the SharePoint knowledge source.", + "encryptionKey": { + "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault", + "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString", + "keyVaultUri": "https://myKeyVault.vault.azure.net", + "accessCredentials": { + "applicationId": "00000000-0000-0000-0000-000000000000", + "applicationSecret": "" + } + }, + "indexedSharePointParameters": { + "connectionString": "DefaultEndpointsProtocol=https;AccountName=myAccountName;AccountKey=myAccountKey;EndpointSuffix=core.windows.net ", + "containerName": "defaultSiteLibrary", + "query": "*.docx OR *.pdf", + "ingestionParameters": { + "disableImageVerbalization": false, + "ingestionPermissionOptions": [ + "userIds", + "groupIds", + "rbacScope" + ], + "contentExtractionMode": "standard", + "identity": { + "@odata.type": "#Microsoft.Azure.Search.DataUserAssignedIdentity", + "userAssignedIdentity": "/my/userassigned/id" + }, + "embeddingModel": { + "kind": "azureOpenAI", + "azureOpenAIParameters": { + "resourceUri": "https://test-sample.openai.azure.com/", + "deploymentId": "model", + "apiKey": "api-key", + "modelName": "text-embedding-3-large" + } + }, + "chatCompletionModel": { + "kind": "azureOpenAI", + "azureOpenAIParameters": { + "resourceUri": "https://test-sample.openai.azure.com/", + "deploymentId": "myDeployment", + "apiKey": "api-key", + "modelName": "gpt-4o-mini" + } + }, + "ingestionSchedule": { + "interval": "P1D", + "startTime": "2024-06-06T00:01:50.265Z" + }, + "aiServices": { + "uri": "https://my-ai-service.azure.com/", + "apiKey": "api-key" + } + } + } + } + } + } +} diff --git a/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceCreateKnowledgeSourceIngestedSharePoint.json b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceCreateKnowledgeSourceIngestedSharePoint.json new file mode 100644 index 000000000000..0f30f8bc68e9 --- /dev/null +++ b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceCreateKnowledgeSourceIngestedSharePoint.json @@ -0,0 +1,139 @@ +{ + "operationId": "KnowledgeSources_Create", + "title": "SearchServiceCreateKnowledgeSourceIngestedSharePoint", + "parameters": { + "endpoint": "https://previewexampleservice.search.windows.net", + "api-version": "2025-11-01-preview", + "x-ms-client-request-id": "00000000-0000-0000-0000-000000000000", + "KnowledgeSource": { + "ingestedSharePointParameters": { + "connectionString": "DefaultEndpointsProtocol=https;AccountName=myAccountName;AccountKey=myAccountKey;EndpointSuffix=core.windows.net ", + "containerName": "defaultSiteLibrary", + "query": "*.docx OR *.pdf", + "ingestionParameters": { + "identity": { + "userAssignedIdentity": "/my/userassigned/id", + "@odata.type": "#Microsoft.Azure.Search.DataUserAssignedIdentity" + }, + "embeddingModel": { + "azureOpenAIParameters": { + "resourceUri": "https://test-sample.openai.azure.com/", + "deploymentId": "model", + "apiKey": "api-key", + "modelName": "text-embedding-3-large" + }, + "kind": "azureOpenAI" + }, + "chatCompletionModel": { + "azureOpenAIParameters": { + "resourceUri": "https://test-sample.openai.azure.com/", + "deploymentId": "myDeployment", + "apiKey": "api-key", + "modelName": "gpt-4o-mini" + }, + "kind": "azureOpenAI" + }, + "disableImageVerbalization": false, + "ingestionSchedule": { + "interval": "P1D", + "startTime": "2025-01-07T19:30:00Z" + }, + "ingestionPermissionOptions": [ + "userIds", + "groupIds", + "rbacScope" + ], + "contentExtractionMode": "standard", + "aiServices": { + "uri": "https://my-ai-service.azure.com/", + "apiKey": "api-key" + }, + "assetStore": { + "connectionString": "DefaultEndpointsProtocol=https;AccountName=myAccountName;AccountKey=myAccountKey;EndpointSuffix=core.windows.net ", + "containerName": "asset-store-container" + } + } + }, + "name": "ks-preview-test", + "description": "Description of the SharePoint knowledge source.", + "kind": "ingestedSharePoint", + "@odata.etag": "0x1234568AE7E58A1", + "encryptionKey": { + "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault", + "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString", + "keyVaultUri": "https://myKeyVault.vault.azure.net", + "accessCredentials": { + "applicationId": "00000000-0000-0000-0000-000000000000", + "applicationSecret": "" + } + } + } + }, + "responses": { + "201": { + "body": { + "@odata.etag": "0x1234568AE7E58A1", + "name": "ks-preview-test", + "kind": "ingestedSharePoint", + "description": "Description of the SharePoint knowledge source.", + "encryptionKey": { + "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault", + "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString", + "keyVaultUri": "https://myKeyVault.vault.azure.net", + "accessCredentials": { + "applicationId": "00000000-0000-0000-0000-000000000000", + "applicationSecret": "" + } + }, + "ingestedSharePointParameters": { + "connectionString": "DefaultEndpointsProtocol=https;AccountName=myAccountName;AccountKey=myAccountKey;EndpointSuffix=core.windows.net ", + "containerName": "defaultSiteLibrary", + "query": "*.docx OR *.pdf", + "ingestionParameters": { + "disableImageVerbalization": false, + "ingestionPermissionOptions": [ + "userIds", + "groupIds", + "rbacScope" + ], + "contentExtractionMode": "standard", + "identity": { + "@odata.type": "#Microsoft.Azure.Search.DataUserAssignedIdentity", + "userAssignedIdentity": "/my/userassigned/id" + }, + "embeddingModel": { + "kind": "azureOpenAI", + "azureOpenAIParameters": { + "resourceUri": "https://test-sample.openai.azure.com/", + "deploymentId": "model", + "apiKey": "api-key", + "modelName": "text-embedding-3-large" + } + }, + "chatCompletionModel": { + "kind": "azureOpenAI", + "azureOpenAIParameters": { + "resourceUri": "https://test-sample.openai.azure.com/", + "deploymentId": "myDeployment", + "apiKey": "api-key", + "modelName": "gpt-4o-mini" + } + }, + "ingestionSchedule": { + "interval": "P1D", + "startTime": "2024-06-06T00:01:50.265Z" + }, + "assetStore": { + "connectionString": "DefaultEndpointsProtocol=https;AccountName=myAccountName;AccountKey=myAccountKey;EndpointSuffix=core.windows.net ", + "containerName": "asset-store-container" + }, + "aiServices": { + "uri": "https://my-ai-service.azure.com/", + "apiKey": "api-key" + } + } + } + } + } + } +} diff --git a/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceCreateKnowledgeSourceWeb.json b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceCreateKnowledgeSourceWeb.json new file mode 100644 index 000000000000..fa52760088ee --- /dev/null +++ b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceCreateKnowledgeSourceWeb.json @@ -0,0 +1,87 @@ +{ + "operationId": "KnowledgeSources_Create", + "title": "SearchServiceCreateKnowledgeSourceWeb", + "parameters": { + "endpoint": "https://previewexampleservice.search.windows.net", + "api-version": "2025-11-01-preview", + "x-ms-client-request-id": "00000000-0000-0000-0000-000000000000", + "KnowledgeSource": { + "webParameters": { + "domains": { + "allowedDomains": [ + { + "address": "example.com", + "includeSubpages": true + }, + { + "address": "another-example.com" + } + ], + "blockedDomains": [ + { + "address": "blocked.com" + }, + { + "address": "spam.com", + "includeSubpages": true + } + ] + } + }, + "name": "ks-preview-test", + "description": "Description of the knowledge source.", + "kind": "web", + "@odata.etag": "0x1234568AE7E58A1", + "encryptionKey": { + "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault", + "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString", + "keyVaultUri": "https://myKeyVault.vault.azure.net", + "accessCredentials": { + "applicationId": "00000000-0000-0000-0000-000000000000", + "applicationSecret": "" + } + } + } + }, + "responses": { + "201": { + "body": { + "@odata.etag": "0x1234568AE7E58A1", + "name": "ks-preview-test", + "kind": "web", + "description": "Description of the knowledge source.", + "encryptionKey": { + "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault", + "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString", + "keyVaultUri": "https://myKeyVault.vault.azure.net", + "accessCredentials": { + "applicationId": "00000000-0000-0000-0000-000000000000", + "applicationSecret": "" + } + }, + "webParameters": { + "domains": { + "allowedDomains": [ + { + "address": "example.com", + "includeSubpages": true + }, + { + "address": "another-example.com" + } + ], + "blockedDomains": [ + { + "address": "blocked.com" + }, + { + "address": "spam.com", + "includeSubpages": true + } + ] + } + } + } + } + } +} diff --git a/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceCreateOrUpdateAlias.json b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceCreateOrUpdateAlias.json new file mode 100644 index 000000000000..cee4bbc56f7b --- /dev/null +++ b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceCreateOrUpdateAlias.json @@ -0,0 +1,38 @@ +{ + "operationId": "Aliases_CreateOrUpdate", + "title": "SearchServiceCreateOrUpdateAlias", + "parameters": { + "endpoint": "https://previewexampleservice.search.windows.net", + "aliasName": "myalias", + "api-version": "2025-11-01-preview", + "x-ms-client-request-id": "00000000-0000-0000-0000-000000000000", + "If-Match": null, + "If-None-Match": null, + "Prefer": "return=representation", + "alias": { + "name": "myalias", + "indexes": [ + "preview-test" + ], + "@odata.etag": "0x1234568AE7E58A1" + } + }, + "responses": { + "200": { + "body": { + "name": "myalias", + "indexes": [ + "preview-test" + ] + } + }, + "201": { + "body": { + "name": "myalias", + "indexes": [ + "preview-test" + ] + } + } + } +} diff --git a/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceCreateOrUpdateDataSource.json b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceCreateOrUpdateDataSource.json new file mode 100644 index 000000000000..c004be55155a --- /dev/null +++ b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceCreateOrUpdateDataSource.json @@ -0,0 +1,110 @@ +{ + "operationId": "DataSources_CreateOrUpdate", + "title": "SearchServiceCreateOrUpdateDataSource", + "parameters": { + "endpoint": "https://previewexampleservice.search.windows.net", + "dataSourceName": "tempdatasource", + "api-version": "2025-11-01-preview", + "ignoreResetRequirements": null, + "x-ms-client-request-id": "00000000-0000-0000-0000-000000000000", + "If-Match": null, + "If-None-Match": null, + "Prefer": "return=representation", + "dataSource": { + "name": "tempdatasource", + "description": "My Azure Adls Gen2 data source with ACLs.", + "type": "adlsgen2", + "credentials": { + "connectionString": "DefaultEndpointsProtocol=https;AccountName=myAccountName;AccountKey=myAccountKey;EndpointSuffix=core.windows.net " + }, + "container": { + "name": "adls-gen2-doc-extraction-acl", + "query": "folder_has_final_acl" + }, + "identity": { + "@odata.type": "#Microsoft.Azure.Search.DataNoneIdentity" + }, + "indexerPermissionOptions": [ + "userIds", + "groupIds", + "rbacScope" + ], + "dataChangeDetectionPolicy": { + "highWaterMarkColumnName": "metadata_storage_last_modified", + "@odata.type": "#Microsoft.Azure.Search.HighWaterMarkChangeDetectionPolicy" + }, + "dataDeletionDetectionPolicy": { + "softDeleteColumnName": "isDeleted", + "softDeleteMarkerValue": "true", + "@odata.type": "#Microsoft.Azure.Search.SoftDeleteColumnDeletionDetectionPolicy" + }, + "@odata.etag": "0x1234568AE7E58A1" + } + }, + "responses": { + "200": { + "body": { + "@odata.etag": "0x1234568AE7E58A1", + "name": "tempdatasource", + "description": "My Azure Adls Gen2 data source with ACLs.", + "type": "adlsgen2", + "indexerPermissionOptions": [ + "userIds", + "groupIds", + "rbacScope" + ], + "credentials": { + "connectionString": "DefaultEndpointsProtocol=https;AccountName=myAccountName;AccountKey=myAccountKey;EndpointSuffix=core.windows.net " + }, + "container": { + "name": "adls-gen2-doc-extraction-acl", + "query": "folder_has_final_acl" + }, + "dataChangeDetectionPolicy": { + "@odata.type": "#Microsoft.Azure.Search.HighWaterMarkChangeDetectionPolicy", + "highWaterMarkColumnName": "metadata_storage_last_modified" + }, + "dataDeletionDetectionPolicy": { + "@odata.type": "#Microsoft.Azure.Search.SoftDeleteColumnDeletionDetectionPolicy", + "softDeleteColumnName": "isDeleted", + "softDeleteMarkerValue": "true" + }, + "identity": { + "@odata.type": "#Microsoft.Azure.Search.DataNoneIdentity" + } + } + }, + "201": { + "body": { + "@odata.etag": "0x1234568AE7E58A1", + "name": "tempdatasource", + "description": "My Azure Adls Gen2 data source with ACLs.", + "type": "adlsgen2", + "indexerPermissionOptions": [ + "userIds", + "groupIds", + "rbacScope" + ], + "credentials": { + "connectionString": "DefaultEndpointsProtocol=https;AccountName=myAccountName;AccountKey=myAccountKey;EndpointSuffix=core.windows.net " + }, + "container": { + "name": "adls-gen2-doc-extraction-acl", + "query": "folder_has_final_acl" + }, + "dataChangeDetectionPolicy": { + "@odata.type": "#Microsoft.Azure.Search.HighWaterMarkChangeDetectionPolicy", + "highWaterMarkColumnName": "metadata_storage_last_modified" + }, + "dataDeletionDetectionPolicy": { + "@odata.type": "#Microsoft.Azure.Search.SoftDeleteColumnDeletionDetectionPolicy", + "softDeleteColumnName": "isDeleted", + "softDeleteMarkerValue": "true" + }, + "identity": { + "@odata.type": "#Microsoft.Azure.Search.DataNoneIdentity" + } + } + } + } +} diff --git a/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceCreateOrUpdateIndex.json b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceCreateOrUpdateIndex.json new file mode 100644 index 000000000000..8a8ae2a28194 --- /dev/null +++ b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceCreateOrUpdateIndex.json @@ -0,0 +1,1327 @@ +{ + "operationId": "Indexes_CreateOrUpdate", + "title": "SearchServiceCreateOrUpdateIndex", + "parameters": { + "endpoint": "https://previewexampleservice.search.windows.net", + "indexName": "temp-preview-test", + "allowIndexDowntime": null, + "api-version": "2025-11-01-preview", + "x-ms-client-request-id": "00000000-0000-0000-0000-000000000000", + "If-Match": null, + "If-None-Match": null, + "Prefer": "return=representation", + "index": { + "name": "temp-preview-test", + "description": "description", + "fields": [ + { + "name": "id", + "type": "Edm.String", + "key": true, + "sortable": true + }, + { + "name": "vector1", + "type": "Collection(Edm.Single)", + "retrievable": true, + "searchable": true, + "dimensions": 20, + "vectorSearchProfile": "config1" + }, + { + "name": "vector1b", + "type": "Collection(Edm.Single)", + "retrievable": true, + "searchable": true, + "dimensions": 10, + "vectorSearchProfile": "config2" + }, + { + "name": "vector2", + "type": "Collection(Edm.Single)", + "retrievable": true, + "searchable": true, + "dimensions": 5, + "vectorSearchProfile": "config3" + }, + { + "name": "vector3", + "type": "Collection(Edm.Single)", + "retrievable": true, + "searchable": true, + "dimensions": 5, + "vectorSearchProfile": "config3" + }, + { + "name": "vector22", + "type": "Collection(Edm.Single)", + "retrievable": true, + "searchable": true, + "dimensions": 10, + "vectorSearchProfile": "config2" + }, + { + "name": "vector4", + "type": "Collection(Edm.Single)", + "retrievable": true, + "searchable": true, + "dimensions": 32, + "vectorSearchProfile": "config4" + }, + { + "name": "name", + "type": "Edm.String", + "retrievable": true, + "searchable": true, + "filterable": true, + "sortable": true, + "facetable": true, + "analyzer": "en.lucene" + }, + { + "name": "description", + "type": "Edm.String", + "retrievable": true, + "searchable": true, + "filterable": true, + "sortable": true, + "facetable": true, + "analyzer": "standard.lucene" + }, + { + "name": "category", + "type": "Edm.String", + "retrievable": true, + "searchable": true, + "filterable": true, + "sortable": true, + "facetable": true, + "analyzer": "en.lucene" + }, + { + "name": "ownerId", + "type": "Edm.String", + "retrievable": true, + "searchable": true, + "filterable": true, + "sortable": true, + "facetable": true, + "analyzer": "en.lucene" + }, + { + "name": "price", + "type": "Edm.Double", + "retrievable": true, + "filterable": true, + "sortable": true, + "facetable": true + }, + { + "name": "permissionFilters", + "type": "Collection(Edm.String)", + "retrievable": true, + "filterable": true, + "sortable": false, + "facetable": true, + "permissionFilter": "userIds" + }, + { + "name": "sensitivityLabels", + "type": "Collection(Edm.String)", + "retrievable": true, + "filterable": true, + "sortable": false, + "facetable": true, + "sensitivityLabel": true + } + ], + "scoringProfiles": [ + { + "name": "stringFieldBoost", + "text": { + "weights": { + "name": 3, + "description": 1, + "category": 2, + "ownerId": 1 + } + }, + "functions": [ + { + "tag": { + "tagsParameter": "categoryTag" + }, + "type": "tag", + "fieldName": "category", + "boost": 2 + } + ] + } + ], + "defaultScoringProfile": "stringFieldBoost", + "corsOptions": { + "allowedOrigins": [ + "https://www.example.com/foo" + ], + "maxAgeInSeconds": 10 + }, + "suggesters": [ + { + "name": "sg", + "searchMode": "analyzingInfixMatching", + "sourceFields": [ + "category", + "ownerId" + ] + } + ], + "analyzers": [ + { + "tokenizer": "standard_v2", + "tokenFilters": [ + "common_grams" + ], + "charFilters": [ + "html_strip" + ], + "@odata.type": "#Microsoft.Azure.Search.CustomAnalyzer", + "name": "tagsAnalyzer" + } + ], + "tokenizers": [ + { + "maxTokenLength": 100, + "@odata.type": "#Microsoft.Azure.Search.StandardTokenizerV2", + "name": "my_tokenizer" + } + ], + "tokenFilters": [ + { + "preserveOriginal": false, + "@odata.type": "#Microsoft.Azure.Search.AsciiFoldingTokenFilter", + "name": "my_tokenFilter" + } + ], + "charFilters": [ + { + "mappings": [ + ".=>,", + "_=>-" + ], + "@odata.type": "#Microsoft.Azure.Search.MappingCharFilter", + "name": "my_mapping" + } + ], + "normalizers": [ + { + "tokenFilters": [ + "my_tokenFilter" + ], + "charFilters": [ + "my_mapping" + ], + "@odata.type": "#Microsoft.Azure.Search.CustomNormalizer", + "name": "my_normalizer" + } + ], + "similarity": { + "k1": 10, + "b": 0.1, + "@odata.type": "#Microsoft.Azure.Search.BM25Similarity" + }, + "semantic": { + "defaultConfiguration": "testconfig", + "configurations": [ + { + "name": "testconfig", + "prioritizedFields": { + "titleField": { + "fieldName": "category" + }, + "prioritizedContentFields": [ + { + "fieldName": "description" + } + ], + "prioritizedKeywordsFields": [ + { + "fieldName": "ownerId" + } + ] + }, + "rankingOrder": "BoostedRerankerScore", + "flightingOptIn": true + } + ] + }, + "vectorSearch": { + "profiles": [ + { + "name": "config1", + "algorithm": "cosine", + "vectorizer": "openai", + "compression": "mySQ8" + }, + { + "name": "config2", + "algorithm": "euclidean", + "vectorizer": "custom-web-api", + "compression": "mySQ8" + }, + { + "name": "config3", + "algorithm": "dotProduct", + "vectorizer": "custom-web-api", + "compression": "myBQC" + }, + { + "name": "config4", + "algorithm": "dotProduct", + "vectorizer": "custom-web-api", + "compression": "myBQWithoutOriginals" + } + ], + "algorithms": [ + { + "hnswParameters": { + "metric": "cosine" + }, + "name": "cosine", + "kind": "hnsw" + }, + { + "hnswParameters": { + "metric": "euclidean" + }, + "name": "euclidean", + "kind": "hnsw" + }, + { + "hnswParameters": { + "metric": "dotProduct" + }, + "name": "dotProduct", + "kind": "hnsw" + } + ], + "vectorizers": [ + { + "azureOpenAIParameters": { + "resourceUri": "https://test-sample.openai.azure.com/", + "deploymentId": "model", + "apiKey": "api-key", + "modelName": "text-embedding-3-large" + }, + "name": "openai", + "kind": "azureOpenAI" + }, + { + "customWebApiParameters": { + "uri": "https://my-custom-endpoint.org/", + "httpHeaders": { + "header1": "value1", + "header2": "value2" + }, + "httpMethod": "POST", + "timeout": "PT1M", + "authResourceId": "api://f89d1c93-58a7-4b07-9a5b-5f89048b927b", + "authIdentity": { + "@odata.type": "#Microsoft.Azure.Search.DataNoneIdentity" + } + }, + "name": "custom-web-api", + "kind": "customWebApi" + }, + { + "amlParameters": { + "uri": "https://my-custom-endpoint.org/", + "resourceId": "aml resource id", + "timeout": "PT1M", + "region": "aml region", + "modelName": "OpenAI-CLIP-Image-Text-Embeddings-vit-base-patch32" + }, + "name": "aml", + "kind": "aml" + }, + { + "amlParameters": { + "uri": "https://my-custom-endpoint.org/", + "resourceId": "aml resource id", + "timeout": "PT1M", + "region": "aml region", + "modelName": "Cohere-embed-v4" + }, + "name": "aml-cohere", + "kind": "aml" + } + ], + "compressions": [ + { + "scalarQuantizationParameters": { + "quantizedDataType": "int8" + }, + "name": "mySQ8", + "kind": "scalarQuantization", + "rescoringOptions": { + "enableRescoring": true, + "defaultOversampling": 10, + "rescoreStorageMethod": "preserveOriginals" + }, + "truncationDimension": 2 + }, + { + "name": "myBQC", + "kind": "binaryQuantization", + "rescoringOptions": { + "enableRescoring": true, + "defaultOversampling": 10, + "rescoreStorageMethod": "preserveOriginals" + }, + "truncationDimension": 2 + }, + { + "name": "myBQWithoutOriginals", + "kind": "binaryQuantization", + "rescoringOptions": { + "enableRescoring": true, + "defaultOversampling": 10, + "rescoreStorageMethod": "discardOriginals" + }, + "truncationDimension": 2 + } + ] + }, + "permissionFilterOption": "enabled", + "purviewEnabled": true, + "@odata.etag": "0x1234568AE7E58A1" + } + }, + "responses": { + "200": { + "body": { + "name": "temp-preview-test", + "description": "description", + "defaultScoringProfile": "stringFieldBoost", + "permissionFilterOption": "enabled", + "purviewEnabled": true, + "fields": [ + { + "name": "id", + "type": "Edm.String", + "searchable": true, + "filterable": true, + "retrievable": true, + "stored": true, + "sortable": true, + "facetable": true, + "key": true, + "synonymMaps": [] + }, + { + "name": "vector1", + "type": "Collection(Edm.Single)", + "searchable": true, + "filterable": false, + "retrievable": true, + "stored": true, + "sortable": false, + "facetable": false, + "key": false, + "dimensions": 20, + "vectorSearchProfile": "config1", + "synonymMaps": [] + }, + { + "name": "vector1b", + "type": "Collection(Edm.Single)", + "searchable": true, + "filterable": false, + "retrievable": true, + "stored": true, + "sortable": false, + "facetable": false, + "key": false, + "dimensions": 10, + "vectorSearchProfile": "config2", + "synonymMaps": [] + }, + { + "name": "vector2", + "type": "Collection(Edm.Single)", + "searchable": true, + "filterable": false, + "retrievable": true, + "stored": true, + "sortable": false, + "facetable": false, + "key": false, + "dimensions": 5, + "vectorSearchProfile": "config3", + "synonymMaps": [] + }, + { + "name": "vector3", + "type": "Collection(Edm.Single)", + "searchable": true, + "filterable": false, + "retrievable": true, + "stored": true, + "sortable": false, + "facetable": false, + "key": false, + "dimensions": 5, + "vectorSearchProfile": "config3", + "synonymMaps": [] + }, + { + "name": "vector22", + "type": "Collection(Edm.Single)", + "searchable": true, + "filterable": false, + "retrievable": true, + "stored": true, + "sortable": false, + "facetable": false, + "key": false, + "dimensions": 10, + "vectorSearchProfile": "config2", + "synonymMaps": [] + }, + { + "name": "vector4", + "type": "Collection(Edm.Single)", + "searchable": true, + "filterable": false, + "retrievable": true, + "stored": true, + "sortable": false, + "facetable": false, + "key": false, + "dimensions": 32, + "vectorSearchProfile": "config4", + "synonymMaps": [] + }, + { + "name": "name", + "type": "Edm.String", + "searchable": true, + "filterable": true, + "retrievable": true, + "stored": true, + "sortable": true, + "facetable": true, + "key": false, + "analyzer": "en.lucene", + "synonymMaps": [] + }, + { + "name": "description", + "type": "Edm.String", + "searchable": true, + "filterable": true, + "retrievable": true, + "stored": true, + "sortable": true, + "facetable": true, + "key": false, + "analyzer": "standard.lucene", + "synonymMaps": [] + }, + { + "name": "category", + "type": "Edm.String", + "searchable": true, + "filterable": true, + "retrievable": true, + "stored": true, + "sortable": true, + "facetable": true, + "key": false, + "analyzer": "en.lucene", + "synonymMaps": [] + }, + { + "name": "ownerId", + "type": "Edm.String", + "searchable": true, + "filterable": true, + "retrievable": true, + "stored": true, + "sortable": true, + "facetable": true, + "key": false, + "analyzer": "en.lucene", + "synonymMaps": [] + }, + { + "name": "price", + "type": "Edm.Double", + "searchable": false, + "filterable": true, + "retrievable": true, + "stored": true, + "sortable": true, + "facetable": true, + "key": false, + "synonymMaps": [] + }, + { + "name": "permissionFilters", + "type": "Collection(Edm.String)", + "searchable": true, + "filterable": true, + "retrievable": true, + "stored": true, + "sortable": false, + "facetable": true, + "key": false, + "permissionFilter": "userIds", + "synonymMaps": [] + }, + { + "name": "sensitivityLabels", + "type": "Collection(Edm.String)", + "searchable": true, + "filterable": true, + "retrievable": true, + "stored": true, + "sortable": false, + "facetable": true, + "key": false, + "sensitivityLabel": true, + "synonymMaps": [] + } + ], + "scoringProfiles": [ + { + "name": "stringFieldBoost", + "functionAggregation": "sum", + "text": { + "weights": { + "name": 3.0, + "description": 1.0, + "category": 2.0, + "ownerId": 1.0 + } + }, + "functions": [ + { + "fieldName": "category", + "interpolation": "linear", + "type": "tag", + "boost": 2.0, + "tag": { + "tagsParameter": "categoryTag" + } + } + ] + } + ], + "corsOptions": { + "allowedOrigins": [ + "https://www.example.com/foo" + ], + "maxAgeInSeconds": 10 + }, + "suggesters": [ + { + "name": "sg", + "searchMode": "analyzingInfixMatching", + "sourceFields": [ + "category", + "ownerId" + ] + } + ], + "analyzers": [ + { + "@odata.type": "#Microsoft.Azure.Search.CustomAnalyzer", + "name": "tagsAnalyzer", + "tokenizer": "standard_v2", + "tokenFilters": [ + "common_grams" + ], + "charFilters": [ + "html_strip" + ] + } + ], + "normalizers": [ + { + "@odata.type": "#Microsoft.Azure.Search.CustomNormalizer", + "name": "my_normalizer", + "tokenFilters": [ + "my_tokenFilter" + ], + "charFilters": [ + "my_mapping" + ] + } + ], + "tokenizers": [ + { + "@odata.type": "#Microsoft.Azure.Search.StandardTokenizerV2", + "name": "my_tokenizer", + "maxTokenLength": 100 + } + ], + "tokenFilters": [ + { + "@odata.type": "#Microsoft.Azure.Search.AsciiFoldingTokenFilter", + "name": "my_tokenFilter", + "preserveOriginal": false + } + ], + "charFilters": [ + { + "@odata.type": "#Microsoft.Azure.Search.MappingCharFilter", + "name": "my_mapping", + "mappings": [ + ".=>,", + "_=>-" + ] + } + ], + "similarity": { + "@odata.type": "#Microsoft.Azure.Search.BM25Similarity", + "k1": 10.0, + "b": 0.1 + }, + "semantic": { + "defaultConfiguration": "testconfig", + "configurations": [ + { + "name": "testconfig", + "flightingOptIn": true, + "rankingOrder": "BoostedRerankerScore", + "prioritizedFields": { + "titleField": { + "fieldName": "category" + }, + "prioritizedContentFields": [ + { + "fieldName": "description" + } + ], + "prioritizedKeywordsFields": [ + { + "fieldName": "ownerId" + } + ] + } + } + ] + }, + "vectorSearch": { + "algorithms": [ + { + "name": "cosine", + "kind": "hnsw", + "hnswParameters": { + "metric": "cosine", + "m": 4, + "efConstruction": 400, + "efSearch": 500 + } + }, + { + "name": "euclidean", + "kind": "hnsw", + "hnswParameters": { + "metric": "euclidean", + "m": 4, + "efConstruction": 400, + "efSearch": 500 + } + }, + { + "name": "dotProduct", + "kind": "hnsw", + "hnswParameters": { + "metric": "dotProduct", + "m": 4, + "efConstruction": 400, + "efSearch": 500 + } + } + ], + "profiles": [ + { + "name": "config1", + "algorithm": "cosine", + "vectorizer": "openai", + "compression": "mySQ8" + }, + { + "name": "config2", + "algorithm": "euclidean", + "vectorizer": "custom-web-api", + "compression": "mySQ8" + }, + { + "name": "config3", + "algorithm": "dotProduct", + "vectorizer": "custom-web-api", + "compression": "myBQC" + }, + { + "name": "config4", + "algorithm": "dotProduct", + "vectorizer": "custom-web-api", + "compression": "myBQWithoutOriginals" + } + ], + "vectorizers": [ + { + "name": "openai", + "kind": "azureOpenAI", + "azureOpenAIParameters": { + "resourceUri": "https://test-sample.openai.azure.com", + "deploymentId": "model", + "apiKey": "api-key", + "modelName": "text-embedding-3-large" + } + }, + { + "name": "custom-web-api", + "kind": "customWebApi", + "customWebApiParameters": { + "httpMethod": "POST", + "uri": "https://my-custom-endpoint.org/", + "timeout": "PT1M", + "authResourceId": "api://f89d1c93-58a7-4b07-9a5b-5f89048b927b", + "httpHeaders": { + "header1": "value1", + "header2": "value2" + }, + "authIdentity": { + "@odata.type": "#Microsoft.Azure.Search.DataNoneIdentity" + } + } + }, + { + "name": "aml", + "kind": "aml", + "amlParameters": { + "resourceId": "aml resource id", + "region": "aml region", + "uri": "https://my-custom-endpoint.org/", + "timeout": "PT1M", + "modelName": "OpenAI-CLIP-Image-Text-Embeddings-vit-base-patch32" + } + }, + { + "name": "aml-cohere", + "kind": "aml", + "amlParameters": { + "resourceId": "aml resource id", + "region": "aml region", + "uri": "https://my-custom-endpoint.org/", + "timeout": "PT1M", + "modelName": "Cohere-embed-v4" + } + } + ], + "compressions": [ + { + "name": "mySQ8", + "kind": "scalarQuantization", + "truncationDimension": 2, + "scalarQuantizationParameters": { + "quantizedDataType": "int8" + }, + "rescoringOptions": { + "enableRescoring": true, + "defaultOversampling": 10.0, + "rescoreStorageMethod": "preserveOriginals" + } + }, + { + "name": "myBQC", + "kind": "binaryQuantization", + "truncationDimension": 2, + "rescoringOptions": { + "enableRescoring": true, + "defaultOversampling": 10.0, + "rescoreStorageMethod": "preserveOriginals" + } + }, + { + "name": "myBQWithoutOriginals", + "kind": "binaryQuantization", + "truncationDimension": 2, + "rescoringOptions": { + "enableRescoring": true, + "defaultOversampling": 10.0, + "rescoreStorageMethod": "discardOriginals" + } + } + ] + } + } + }, + "201": { + "body": { + "name": "temp-preview-test", + "description": "description", + "defaultScoringProfile": "stringFieldBoost", + "permissionFilterOption": "enabled", + "purviewEnabled": true, + "fields": [ + { + "name": "id", + "type": "Edm.String", + "searchable": true, + "filterable": true, + "retrievable": true, + "stored": true, + "sortable": true, + "facetable": true, + "key": true, + "synonymMaps": [] + }, + { + "name": "vector1", + "type": "Collection(Edm.Single)", + "searchable": true, + "filterable": false, + "retrievable": true, + "stored": true, + "sortable": false, + "facetable": false, + "key": false, + "dimensions": 20, + "vectorSearchProfile": "config1", + "synonymMaps": [] + }, + { + "name": "vector1b", + "type": "Collection(Edm.Single)", + "searchable": true, + "filterable": false, + "retrievable": true, + "stored": true, + "sortable": false, + "facetable": false, + "key": false, + "dimensions": 10, + "vectorSearchProfile": "config2", + "synonymMaps": [] + }, + { + "name": "vector2", + "type": "Collection(Edm.Single)", + "searchable": true, + "filterable": false, + "retrievable": true, + "stored": true, + "sortable": false, + "facetable": false, + "key": false, + "dimensions": 5, + "vectorSearchProfile": "config3", + "synonymMaps": [] + }, + { + "name": "vector3", + "type": "Collection(Edm.Single)", + "searchable": true, + "filterable": false, + "retrievable": true, + "stored": true, + "sortable": false, + "facetable": false, + "key": false, + "dimensions": 5, + "vectorSearchProfile": "config3", + "synonymMaps": [] + }, + { + "name": "vector22", + "type": "Collection(Edm.Single)", + "searchable": true, + "filterable": false, + "retrievable": true, + "stored": true, + "sortable": false, + "facetable": false, + "key": false, + "dimensions": 10, + "vectorSearchProfile": "config2", + "synonymMaps": [] + }, + { + "name": "vector4", + "type": "Collection(Edm.Single)", + "searchable": true, + "filterable": false, + "retrievable": true, + "stored": true, + "sortable": false, + "facetable": false, + "key": false, + "dimensions": 32, + "vectorSearchProfile": "config4", + "synonymMaps": [] + }, + { + "name": "name", + "type": "Edm.String", + "searchable": true, + "filterable": true, + "retrievable": true, + "stored": true, + "sortable": true, + "facetable": true, + "key": false, + "analyzer": "en.lucene", + "synonymMaps": [] + }, + { + "name": "description", + "type": "Edm.String", + "searchable": true, + "filterable": true, + "retrievable": true, + "stored": true, + "sortable": true, + "facetable": true, + "key": false, + "analyzer": "standard.lucene", + "synonymMaps": [] + }, + { + "name": "category", + "type": "Edm.String", + "searchable": true, + "filterable": true, + "retrievable": true, + "stored": true, + "sortable": true, + "facetable": true, + "key": false, + "analyzer": "en.lucene", + "synonymMaps": [] + }, + { + "name": "ownerId", + "type": "Edm.String", + "searchable": true, + "filterable": true, + "retrievable": true, + "stored": true, + "sortable": true, + "facetable": true, + "key": false, + "analyzer": "en.lucene", + "synonymMaps": [] + }, + { + "name": "price", + "type": "Edm.Double", + "searchable": false, + "filterable": true, + "retrievable": true, + "stored": true, + "sortable": true, + "facetable": true, + "key": false, + "synonymMaps": [] + }, + { + "name": "permissionFilters", + "type": "Collection(Edm.String)", + "searchable": true, + "filterable": true, + "retrievable": true, + "stored": true, + "sortable": false, + "facetable": true, + "key": false, + "permissionFilter": "userIds", + "synonymMaps": [] + }, + { + "name": "sensitivityLabels", + "type": "Collection(Edm.String)", + "searchable": true, + "filterable": true, + "retrievable": true, + "stored": true, + "sortable": false, + "facetable": true, + "key": false, + "sensitivityLabel": true, + "synonymMaps": [] + } + ], + "scoringProfiles": [ + { + "name": "stringFieldBoost", + "functionAggregation": "sum", + "text": { + "weights": { + "name": 3.0, + "description": 1.0, + "category": 2.0, + "ownerId": 1.0 + } + }, + "functions": [ + { + "fieldName": "category", + "interpolation": "linear", + "type": "tag", + "boost": 2.0, + "tag": { + "tagsParameter": "categoryTag" + } + } + ] + } + ], + "corsOptions": { + "allowedOrigins": [ + "https://www.example.com/foo" + ], + "maxAgeInSeconds": 10 + }, + "suggesters": [ + { + "name": "sg", + "searchMode": "analyzingInfixMatching", + "sourceFields": [ + "category", + "ownerId" + ] + } + ], + "analyzers": [ + { + "@odata.type": "#Microsoft.Azure.Search.CustomAnalyzer", + "name": "tagsAnalyzer", + "tokenizer": "standard_v2", + "tokenFilters": [ + "common_grams" + ], + "charFilters": [ + "html_strip" + ] + } + ], + "normalizers": [ + { + "@odata.type": "#Microsoft.Azure.Search.CustomNormalizer", + "name": "my_normalizer", + "tokenFilters": [ + "my_tokenFilter" + ], + "charFilters": [ + "my_mapping" + ] + } + ], + "tokenizers": [ + { + "@odata.type": "#Microsoft.Azure.Search.StandardTokenizerV2", + "name": "my_tokenizer", + "maxTokenLength": 100 + } + ], + "tokenFilters": [ + { + "@odata.type": "#Microsoft.Azure.Search.AsciiFoldingTokenFilter", + "name": "my_tokenFilter", + "preserveOriginal": false + } + ], + "charFilters": [ + { + "@odata.type": "#Microsoft.Azure.Search.MappingCharFilter", + "name": "my_mapping", + "mappings": [ + ".=>,", + "_=>-" + ] + } + ], + "similarity": { + "@odata.type": "#Microsoft.Azure.Search.BM25Similarity", + "k1": 10.0, + "b": 0.1 + }, + "semantic": { + "defaultConfiguration": "testconfig", + "configurations": [ + { + "name": "testconfig", + "flightingOptIn": true, + "rankingOrder": "BoostedRerankerScore", + "prioritizedFields": { + "titleField": { + "fieldName": "category" + }, + "prioritizedContentFields": [ + { + "fieldName": "description" + } + ], + "prioritizedKeywordsFields": [ + { + "fieldName": "ownerId" + } + ] + } + } + ] + }, + "vectorSearch": { + "algorithms": [ + { + "name": "cosine", + "kind": "hnsw", + "hnswParameters": { + "metric": "cosine", + "m": 4, + "efConstruction": 400, + "efSearch": 500 + } + }, + { + "name": "euclidean", + "kind": "hnsw", + "hnswParameters": { + "metric": "euclidean", + "m": 4, + "efConstruction": 400, + "efSearch": 500 + } + }, + { + "name": "dotProduct", + "kind": "hnsw", + "hnswParameters": { + "metric": "dotProduct", + "m": 4, + "efConstruction": 400, + "efSearch": 500 + } + } + ], + "profiles": [ + { + "name": "config1", + "algorithm": "cosine", + "vectorizer": "openai", + "compression": "mySQ8" + }, + { + "name": "config2", + "algorithm": "euclidean", + "vectorizer": "custom-web-api", + "compression": "mySQ8" + }, + { + "name": "config3", + "algorithm": "dotProduct", + "vectorizer": "custom-web-api", + "compression": "myBQC" + }, + { + "name": "config4", + "algorithm": "dotProduct", + "vectorizer": "custom-web-api", + "compression": "myBQWithoutOriginals" + } + ], + "vectorizers": [ + { + "name": "openai", + "kind": "azureOpenAI", + "azureOpenAIParameters": { + "resourceUri": "https://test-sample.openai.azure.com", + "deploymentId": "model", + "apiKey": "api-key", + "modelName": "text-embedding-3-large" + } + }, + { + "name": "custom-web-api", + "kind": "customWebApi", + "customWebApiParameters": { + "httpMethod": "POST", + "uri": "https://my-custom-endpoint.org/", + "timeout": "PT1M", + "authResourceId": "api://f89d1c93-58a7-4b07-9a5b-5f89048b927b", + "httpHeaders": { + "header1": "value1", + "header2": "value2" + }, + "authIdentity": { + "@odata.type": "#Microsoft.Azure.Search.DataNoneIdentity" + } + } + }, + { + "name": "aml", + "kind": "aml", + "amlParameters": { + "resourceId": "aml resource id", + "region": "aml region", + "uri": "https://my-custom-endpoint.org/", + "timeout": "PT1M", + "modelName": "OpenAI-CLIP-Image-Text-Embeddings-vit-base-patch32" + } + }, + { + "name": "aml-cohere", + "kind": "aml", + "amlParameters": { + "resourceId": "aml resource id", + "region": "aml region", + "uri": "https://my-custom-endpoint.org/", + "timeout": "PT1M", + "modelName": "Cohere-embed-v4" + } + } + ], + "compressions": [ + { + "name": "mySQ8", + "kind": "scalarQuantization", + "truncationDimension": 2, + "scalarQuantizationParameters": { + "quantizedDataType": "int8" + }, + "rescoringOptions": { + "enableRescoring": true, + "defaultOversampling": 10.0, + "rescoreStorageMethod": "preserveOriginals" + } + }, + { + "name": "myBQC", + "kind": "binaryQuantization", + "truncationDimension": 2, + "rescoringOptions": { + "enableRescoring": true, + "defaultOversampling": 10.0, + "rescoreStorageMethod": "preserveOriginals" + } + }, + { + "name": "myBQWithoutOriginals", + "kind": "binaryQuantization", + "truncationDimension": 2, + "rescoringOptions": { + "enableRescoring": true, + "defaultOversampling": 10.0, + "rescoreStorageMethod": "discardOriginals" + } + } + ] + } + } + } + } +} diff --git a/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceCreateOrUpdateIndexer.json b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceCreateOrUpdateIndexer.json new file mode 100644 index 000000000000..2624b8dfe6b4 --- /dev/null +++ b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceCreateOrUpdateIndexer.json @@ -0,0 +1,140 @@ +{ + "operationId": "Indexers_CreateOrUpdate", + "title": "SearchServiceCreateOrUpdateIndexer", + "parameters": { + "endpoint": "https://previewexampleservice.search.windows.net", + "indexerName": "myaclindexer", + "api-version": "2025-11-01-preview", + "ignoreResetRequirements": null, + "disableCacheReprocessingChangeDetection": null, + "x-ms-client-request-id": "00000000-0000-0000-0000-000000000000", + "If-Match": null, + "If-None-Match": null, + "Prefer": "return=representation", + "indexer": { + "name": "myaclindexer", + "description": "Description of the indexer", + "dataSourceName": "indexertestacldatasource", + "targetIndexName": "indexer-test-index", + "schedule": { + "interval": "P1D", + "startTime": "2025-01-07T19:30:00Z" + }, + "parameters": { + "batchSize": 10, + "maxFailedItems": 10, + "maxFailedItemsPerBatch": 5 + }, + "fieldMappings": [ + { + "sourceFieldName": "metadata_storage_title", + "targetFieldName": "name", + "mappingFunction": { + "name": "base64Encode" + } + }, + { + "sourceFieldName": "metadata_user_ids", + "targetFieldName": "permissionFilters" + } + ], + "outputFieldMappings": [ + { + "sourceFieldName": "/document", + "targetFieldName": "name", + "mappingFunction": { + "name": "base64Encode" + } + } + ], + "disabled": false, + "@odata.etag": "0x1234568AE7E58A1" + } + }, + "responses": { + "201": { + "body": { + "@odata.etag": "0x1234568AE7E58A1", + "name": "myaclindexer", + "description": "Description of the indexer", + "dataSourceName": "indexertestacldatasource", + "targetIndexName": "indexer-test-index", + "disabled": false, + "schedule": { + "interval": "P1D", + "startTime": "2024-06-06T00:01:50.265Z" + }, + "parameters": { + "batchSize": 10, + "maxFailedItems": 10, + "maxFailedItemsPerBatch": 5, + "configuration": {} + }, + "fieldMappings": [ + { + "sourceFieldName": "metadata_storage_title", + "targetFieldName": "name", + "mappingFunction": { + "name": "base64Encode" + } + }, + { + "sourceFieldName": "metadata_user_ids", + "targetFieldName": "permissionFilters" + } + ], + "outputFieldMappings": [ + { + "sourceFieldName": "/document", + "targetFieldName": "name", + "mappingFunction": { + "name": "base64Encode" + } + } + ] + } + }, + "200": { + "body": { + "@odata.etag": "0x1234568AE7E58A1", + "name": "myaclindexer", + "description": "Description of the indexer", + "dataSourceName": "indexertestacldatasource", + "targetIndexName": "indexer-test-index", + "disabled": false, + "schedule": { + "interval": "P1D", + "startTime": "2024-06-06T00:01:50.265Z" + }, + "parameters": { + "batchSize": 10, + "maxFailedItems": 10, + "maxFailedItemsPerBatch": 5, + "configuration": {} + }, + "fieldMappings": [ + { + "sourceFieldName": "metadata_storage_title", + "targetFieldName": "name", + "mappingFunction": { + "name": "base64Encode" + } + }, + { + "sourceFieldName": "metadata_user_ids", + "targetFieldName": "permissionFilters" + } + ], + "outputFieldMappings": [ + { + "sourceFieldName": "/document", + "targetFieldName": "name", + "mappingFunction": { + "name": "base64Encode" + } + } + ] + } + } + } +} diff --git a/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceCreateOrUpdateKnowledgeBase.json b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceCreateOrUpdateKnowledgeBase.json new file mode 100644 index 000000000000..4a44b1e02623 --- /dev/null +++ b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceCreateOrUpdateKnowledgeBase.json @@ -0,0 +1,127 @@ +{ + "operationId": "KnowledgeBases_CreateOrUpdate", + "title": "SearchServiceCreateOrUpdateKnowledgeBase", + "parameters": { + "endpoint": "https://previewexampleservice.search.windows.net", + "knowledgeBaseName": "base-preview-test", + "api-version": "2025-11-01-preview", + "x-ms-client-request-id": "00000000-0000-0000-0000-000000000000", + "If-Match": null, + "If-None-Match": null, + "Prefer": "return=representation", + "KnowledgeBase": { + "name": "base-preview-test", + "knowledgeSources": [ + { + "name": "ks-preview-test" + } + ], + "models": [ + { + "azureOpenAIParameters": { + "resourceUri": "https://test-sample.openai.azure.com/", + "deploymentId": "myDeployment", + "apiKey": "api-key", + "modelName": "gpt-4o-mini" + }, + "kind": "azureOpenAI" + } + ], + "retrievalReasoningEffort": { + "kind": "low" + }, + "outputMode": "extractiveData", + "@odata.etag": "0x1234568AE7E58A1", + "encryptionKey": { + "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault", + "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString", + "keyVaultUri": "https://myKeyVault.vault.azure.net", + "accessCredentials": { + "applicationId": "00000000-0000-0000-0000-000000000000", + "applicationSecret": "" + } + }, + "description": "Description of the knowledge base.", + "retrievalInstructions": "Instructions for retrieval for the knowledge base.", + "answerInstructions": "Instructions for answer synthesis." + } + }, + "responses": { + "200": { + "body": { + "@odata.etag": "0x1234568AE7E58A1", + "name": "base-preview-test", + "description": "Description of the knowledge base.", + "retrievalInstructions": "Instructions for retrieval for the knowledge base.", + "answerInstructions": "Instructions for answer synthesis.", + "outputMode": "extractiveData", + "knowledgeSources": [ + { + "name": "ks-preview-test" + } + ], + "models": [ + { + "kind": "azureOpenAI", + "azureOpenAIParameters": { + "resourceUri": "https://test-sample.openai.azure.com/", + "deploymentId": "myDeployment", + "apiKey": "api-key", + "modelName": "gpt-4o-mini" + } + } + ], + "encryptionKey": { + "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault", + "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString", + "keyVaultUri": "https://myKeyVault.vault.azure.net", + "accessCredentials": { + "applicationId": "00000000-0000-0000-0000-000000000000", + "applicationSecret": "" + } + }, + "retrievalReasoningEffort": { + "kind": "low" + } + } + }, + "201": { + "body": { + "@odata.etag": "0x1234568AE7E58A1", + "name": "base-preview-test", + "description": "Description of the knowledge base.", + "retrievalInstructions": "Instructions for retrieval for the knowledge base.", + "answerInstructions": "Instructions for answer synthesis.", + "outputMode": "extractiveData", + "knowledgeSources": [ + { + "name": "ks-preview-test" + } + ], + "models": [ + { + "kind": "azureOpenAI", + "azureOpenAIParameters": { + "resourceUri": "https://test-sample.openai.azure.com/", + "deploymentId": "myDeployment", + "apiKey": "api-key", + "modelName": "gpt-4o-mini" + } + } + ], + "encryptionKey": { + "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault", + "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString", + "keyVaultUri": "https://myKeyVault.vault.azure.net", + "accessCredentials": { + "applicationId": "00000000-0000-0000-0000-000000000000", + "applicationSecret": "" + } + }, + "retrievalReasoningEffort": { + "kind": "low" + } + } + } + } +} diff --git a/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceCreateOrUpdateKnowledgeSource.json b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceCreateOrUpdateKnowledgeSource.json new file mode 100644 index 000000000000..81bbf07db57b --- /dev/null +++ b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceCreateOrUpdateKnowledgeSource.json @@ -0,0 +1,115 @@ +{ + "operationId": "KnowledgeSources_CreateOrUpdate", + "title": "SearchServiceCreateOrUpdateKnowledgeSource", + "parameters": { + "endpoint": "https://previewexampleservice.search.windows.net", + "sourceName": "ks-preview-test", + "api-version": "2025-11-01-preview", + "x-ms-client-request-id": "00000000-0000-0000-0000-000000000000", + "If-Match": null, + "If-None-Match": null, + "Prefer": "return=representation", + "KnowledgeSource": { + "searchIndexParameters": { + "searchIndexName": "preview-test", + "sourceDataFields": [ + { + "name": "description" + }, + { + "name": "category" + } + ], + "searchFields": [ + { + "name": "*" + } + ], + "semanticConfigurationName": "testconfig" + }, + "name": "ks-preview-test", + "description": "Description of the knowledge source.", + "kind": "searchIndex", + "@odata.etag": "0x1234568AE7E58A1", + "encryptionKey": { + "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault", + "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString", + "keyVaultUri": "https://myKeyVault.vault.azure.net", + "accessCredentials": { + "applicationId": "00000000-0000-0000-0000-000000000000", + "applicationSecret": "" + } + } + } + }, + "responses": { + "200": { + "body": { + "@odata.etag": "0x1234568AE7E58A1", + "name": "ks-preview-test", + "kind": "searchIndex", + "description": "Description of the knowledge source.", + "encryptionKey": { + "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault", + "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString", + "keyVaultUri": "https://myKeyVault.vault.azure.net", + "accessCredentials": { + "applicationId": "00000000-0000-0000-0000-000000000000", + "applicationSecret": "" + } + }, + "searchIndexParameters": { + "searchIndexName": "preview-test", + "semanticConfigurationName": "testconfig", + "sourceDataFields": [ + { + "name": "description" + }, + { + "name": "category" + } + ], + "searchFields": [ + { + "name": "*" + } + ] + } + } + }, + "201": { + "body": { + "@odata.etag": "0x1234568AE7E58A1", + "name": "ks-preview-test", + "kind": "searchIndex", + "description": "Description of the knowledge source.", + "encryptionKey": { + "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault", + "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString", + "keyVaultUri": "https://myKeyVault.vault.azure.net", + "accessCredentials": { + "applicationId": "00000000-0000-0000-0000-000000000000", + "applicationSecret": "" + } + }, + "searchIndexParameters": { + "searchIndexName": "preview-test", + "semanticConfigurationName": "testconfig", + "sourceDataFields": [ + { + "name": "description" + }, + { + "name": "category" + } + ], + "searchFields": [ + { + "name": "*" + } + ] + } + } + } + } +} diff --git a/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceCreateOrUpdateKnowledgeSourceAzureBlob.json b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceCreateOrUpdateKnowledgeSourceAzureBlob.json new file mode 100644 index 000000000000..fd53a8c5caf5 --- /dev/null +++ b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceCreateOrUpdateKnowledgeSourceAzureBlob.json @@ -0,0 +1,211 @@ +{ + "operationId": "KnowledgeSources_CreateOrUpdate", + "title": "SearchServiceCreateOrUpdateKnowledgeSourceAzureBlob", + "parameters": { + "endpoint": "https://previewexampleservice.search.windows.net", + "sourceName": "ks-preview-test", + "api-version": "2025-11-01-preview", + "x-ms-client-request-id": "00000000-0000-0000-0000-000000000000", + "If-Match": null, + "If-None-Match": null, + "Prefer": "return=representation", + "KnowledgeSource": { + "azureBlobParameters": { + "connectionString": "DefaultEndpointsProtocol=https;AccountName=myAccountName;AccountKey=myAccountKey;EndpointSuffix=core.windows.net ", + "containerName": "test-container", + "folderPath": "test-path", + "isADLSGen2": false, + "ingestionParameters": { + "identity": { + "userAssignedIdentity": "/my/userassigned/id", + "@odata.type": "#Microsoft.Azure.Search.DataUserAssignedIdentity" + }, + "embeddingModel": { + "azureOpenAIParameters": { + "resourceUri": "https://test-sample.openai.azure.com/", + "deploymentId": "model", + "apiKey": "api-key", + "modelName": "text-embedding-3-large" + }, + "kind": "azureOpenAI" + }, + "chatCompletionModel": { + "azureOpenAIParameters": { + "resourceUri": "https://test-sample.openai.azure.com/", + "deploymentId": "myDeployment", + "apiKey": "api-key", + "modelName": "gpt-4o-mini" + }, + "kind": "azureOpenAI" + }, + "disableImageVerbalization": false, + "ingestionSchedule": { + "interval": "P1D", + "startTime": "2025-01-07T19:30:00Z" + }, + "ingestionPermissionOptions": [ + "userIds", + "groupIds", + "rbacScope" + ], + "contentExtractionMode": "standard", + "aiServices": { + "uri": "https://my-ai-service.azure.com/", + "apiKey": "api-key" + } + } + }, + "name": "ks-preview-test", + "description": "Description of the knowledge source.", + "kind": "azureBlob", + "@odata.etag": "0x1234568AE7E58A1", + "encryptionKey": { + "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault", + "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString", + "keyVaultUri": "https://myKeyVault.vault.azure.net", + "accessCredentials": { + "applicationId": "00000000-0000-0000-0000-000000000000", + "applicationSecret": "" + } + } + } + }, + "responses": { + "200": { + "body": { + "@odata.etag": "0x1234568AE7E58A1", + "name": "ks-preview-test", + "kind": "azureBlob", + "description": "Description of the knowledge source.", + "encryptionKey": { + "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault", + "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString", + "keyVaultUri": "https://myKeyVault.vault.azure.net", + "accessCredentials": { + "applicationId": "00000000-0000-0000-0000-000000000000", + "applicationSecret": "" + } + }, + "azureBlobParameters": { + "connectionString": "DefaultEndpointsProtocol=https;AccountName=myAccountName;AccountKey=myAccountKey;EndpointSuffix=core.windows.net ", + "containerName": "test-container", + "folderPath": "test-path", + "isADLSGen2": false, + "ingestionParameters": { + "disableImageVerbalization": false, + "ingestionPermissionOptions": [ + "userIds", + "groupIds", + "rbacScope" + ], + "contentExtractionMode": "standard", + "identity": { + "@odata.type": "#Microsoft.Azure.Search.DataUserAssignedIdentity", + "userAssignedIdentity": "/my/userassigned/id" + }, + "embeddingModel": { + "kind": "azureOpenAI", + "azureOpenAIParameters": { + "resourceUri": "https://test-sample.openai.azure.com/", + "deploymentId": "model", + "apiKey": "api-key", + "modelName": "text-embedding-3-large" + } + }, + "chatCompletionModel": { + "kind": "azureOpenAI", + "azureOpenAIParameters": { + "resourceUri": "https://test-sample.openai.azure.com/", + "deploymentId": "myDeployment", + "apiKey": "api-key", + "modelName": "gpt-4o-mini" + } + }, + "ingestionSchedule": { + "interval": "P1D", + "startTime": "2024-06-06T00:01:50.265Z" + }, + "aiServices": { + "uri": "https://my-ai-service.azure.com/", + "apiKey": "api-key" + } + }, + "createdResources": { + "datasource": "ks-preview-test-datasource", + "indexer": "ks-preview-test-indexer", + "skillset": "ks-preview-test-skillset", + "index": "ks-preview-test-index" + } + } + } + }, + "201": { + "body": { + "@odata.etag": "0x1234568AE7E58A1", + "name": "ks-preview-test", + "kind": "azureBlob", + "description": "Description of the knowledge source.", + "encryptionKey": { + "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault", + "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString", + "keyVaultUri": "https://myKeyVault.vault.azure.net", + "accessCredentials": { + "applicationId": "00000000-0000-0000-0000-000000000000", + "applicationSecret": "" + } + }, + "azureBlobParameters": { + "connectionString": "DefaultEndpointsProtocol=https;AccountName=myAccountName;AccountKey=myAccountKey;EndpointSuffix=core.windows.net ", + "containerName": "test-container", + "folderPath": "test-path", + "isADLSGen2": false, + "ingestionParameters": { + "disableImageVerbalization": false, + "ingestionPermissionOptions": [ + "userIds", + "groupIds", + "rbacScope" + ], + "contentExtractionMode": "standard", + "identity": { + "@odata.type": "#Microsoft.Azure.Search.DataUserAssignedIdentity", + "userAssignedIdentity": "/my/userassigned/id" + }, + "embeddingModel": { + "kind": "azureOpenAI", + "azureOpenAIParameters": { + "resourceUri": "https://test-sample.openai.azure.com/", + "deploymentId": "model", + "apiKey": "api-key", + "modelName": "text-embedding-3-large" + } + }, + "chatCompletionModel": { + "kind": "azureOpenAI", + "azureOpenAIParameters": { + "resourceUri": "https://test-sample.openai.azure.com/", + "deploymentId": "myDeployment", + "apiKey": "api-key", + "modelName": "gpt-4o-mini" + } + }, + "ingestionSchedule": { + "interval": "P1D", + "startTime": "2024-06-06T00:01:50.265Z" + }, + "aiServices": { + "uri": "https://my-ai-service.azure.com/", + "apiKey": "api-key" + } + }, + "createdResources": { + "datasource": "ks-preview-test-datasource", + "indexer": "ks-preview-test-indexer", + "skillset": "ks-preview-test-skillset", + "index": "ks-preview-test-index" + } + } + } + } + } +} diff --git a/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceCreateOrUpdateKnowledgeSourceIndexedOneLake.json b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceCreateOrUpdateKnowledgeSourceIndexedOneLake.json new file mode 100644 index 000000000000..f2cb9014bd13 --- /dev/null +++ b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceCreateOrUpdateKnowledgeSourceIndexedOneLake.json @@ -0,0 +1,196 @@ +{ + "operationId": "KnowledgeSources_CreateOrUpdate", + "title": "SearchServiceCreateOrUpdateKnowledgeSourceIndexedOneLake", + "parameters": { + "endpoint": "https://previewexampleservice.search.windows.net", + "sourceName": "ks-preview-test", + "api-version": "2025-11-01-preview", + "x-ms-client-request-id": "00000000-0000-0000-0000-000000000000", + "If-Match": null, + "If-None-Match": null, + "Prefer": "return=representation", + "KnowledgeSource": { + "indexedOneLakeParameters": { + "fabricWorkspaceId": "ResourceId=fakeWorkspaceId", + "lakehouseId": "fakeLakehouseId", + "targetPath": "testfolder", + "ingestionParameters": { + "identity": { + "userAssignedIdentity": "/my/userassigned/id", + "@odata.type": "#Microsoft.Azure.Search.DataUserAssignedIdentity" + }, + "embeddingModel": { + "azureOpenAIParameters": { + "resourceUri": "https://test-sample.openai.azure.com/", + "deploymentId": "model", + "apiKey": "api-key", + "modelName": "text-embedding-3-large" + }, + "kind": "azureOpenAI" + }, + "chatCompletionModel": { + "azureOpenAIParameters": { + "resourceUri": "https://test-sample.openai.azure.com/", + "deploymentId": "myDeployment", + "apiKey": "api-key", + "modelName": "gpt-4o-mini" + }, + "kind": "azureOpenAI" + }, + "disableImageVerbalization": false, + "ingestionSchedule": { + "interval": "P1D", + "startTime": "2025-01-07T19:30:00Z" + }, + "ingestionPermissionOptions": [ + "userIds", + "groupIds", + "rbacScope" + ], + "contentExtractionMode": "standard", + "aiServices": { + "uri": "https://my-ai-service.azure.com/", + "apiKey": "api-key" + } + } + }, + "name": "ks-preview-test", + "description": "Description of the OneLake knowledge source.", + "kind": "indexedOneLake", + "@odata.etag": "0x1234568AE7E58A1", + "encryptionKey": { + "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault", + "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString", + "keyVaultUri": "https://myKeyVault.vault.azure.net", + "accessCredentials": { + "applicationId": "00000000-0000-0000-0000-000000000000", + "applicationSecret": "" + } + } + } + }, + "responses": { + "200": { + "body": { + "@odata.etag": "0x1234568AE7E58A1", + "name": "ks-preview-test", + "kind": "indexedOneLake", + "description": "Description of the OneLake knowledge source.", + "encryptionKey": { + "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault", + "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString", + "keyVaultUri": "https://myKeyVault.vault.azure.net", + "accessCredentials": { + "applicationId": "00000000-0000-0000-0000-000000000000", + "applicationSecret": "" + } + }, + "indexedOneLakeParameters": { + "fabricWorkspaceId": "ResourceId=fakeWorkspaceId", + "lakehouseId": "fakeLakehouseId", + "targetPath": "testfolder", + "ingestionParameters": { + "disableImageVerbalization": false, + "ingestionPermissionOptions": [ + "userIds", + "groupIds", + "rbacScope" + ], + "contentExtractionMode": "standard", + "identity": { + "@odata.type": "#Microsoft.Azure.Search.DataUserAssignedIdentity", + "userAssignedIdentity": "/my/userassigned/id" + }, + "embeddingModel": { + "kind": "azureOpenAI", + "azureOpenAIParameters": { + "resourceUri": "https://test-sample.openai.azure.com/", + "deploymentId": "model", + "apiKey": "api-key", + "modelName": "text-embedding-3-large" + } + }, + "chatCompletionModel": { + "kind": "azureOpenAI", + "azureOpenAIParameters": { + "resourceUri": "https://test-sample.openai.azure.com/", + "deploymentId": "myDeployment", + "apiKey": "api-key", + "modelName": "gpt-4o-mini" + } + }, + "ingestionSchedule": { + "interval": "P1D", + "startTime": "2024-06-06T00:01:50.265Z" + }, + "aiServices": { + "uri": "https://my-ai-service.azure.com/", + "apiKey": "api-key" + } + } + } + } + }, + "201": { + "body": { + "@odata.etag": "0x1234568AE7E58A1", + "name": "ks-preview-test", + "kind": "indexedOneLake", + "description": "Description of the OneLake knowledge source.", + "encryptionKey": { + "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault", + "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString", + "keyVaultUri": "https://myKeyVault.vault.azure.net", + "accessCredentials": { + "applicationId": "00000000-0000-0000-0000-000000000000", + "applicationSecret": "" + } + }, + "indexedOneLakeParameters": { + "fabricWorkspaceId": "ResourceId=fakeWorkspaceId", + "lakehouseId": "fakeLakehouseId", + "targetPath": "testfolder", + "ingestionParameters": { + "disableImageVerbalization": false, + "ingestionPermissionOptions": [ + "userIds", + "groupIds", + "rbacScope" + ], + "contentExtractionMode": "standard", + "identity": { + "@odata.type": "#Microsoft.Azure.Search.DataUserAssignedIdentity", + "userAssignedIdentity": "/my/userassigned/id" + }, + "embeddingModel": { + "kind": "azureOpenAI", + "azureOpenAIParameters": { + "resourceUri": "https://test-sample.openai.azure.com/", + "deploymentId": "model", + "apiKey": "api-key", + "modelName": "text-embedding-3-large" + } + }, + "chatCompletionModel": { + "kind": "azureOpenAI", + "azureOpenAIParameters": { + "resourceUri": "https://test-sample.openai.azure.com/", + "deploymentId": "myDeployment", + "apiKey": "api-key", + "modelName": "gpt-4o-mini" + } + }, + "ingestionSchedule": { + "interval": "P1D", + "startTime": "2024-06-06T00:01:50.265Z" + }, + "aiServices": { + "uri": "https://my-ai-service.azure.com/", + "apiKey": "api-key" + } + } + } + } + } + } +} diff --git a/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceCreateOrUpdateKnowledgeSourceIndexedSharePoint.json b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceCreateOrUpdateKnowledgeSourceIndexedSharePoint.json new file mode 100644 index 000000000000..b54651b40c0a --- /dev/null +++ b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceCreateOrUpdateKnowledgeSourceIndexedSharePoint.json @@ -0,0 +1,196 @@ +{ + "operationId": "KnowledgeSources_CreateOrUpdate", + "title": "SearchServiceCreateOrUpdateKnowledgeSourceIndexedSharePoint", + "parameters": { + "endpoint": "https://previewexampleservice.search.windows.net", + "sourceName": "ks-preview-test", + "api-version": "2025-11-01-preview", + "x-ms-client-request-id": "00000000-0000-0000-0000-000000000000", + "If-Match": null, + "If-None-Match": null, + "Prefer": "return=representation", + "KnowledgeSource": { + "indexedSharePointParameters": { + "connectionString": "DefaultEndpointsProtocol=https;AccountName=myAccountName;AccountKey=myAccountKey;EndpointSuffix=core.windows.net ", + "containerName": "defaultSiteLibrary", + "query": "*.docx OR *.pdf", + "ingestionParameters": { + "identity": { + "userAssignedIdentity": "/my/userassigned/id", + "@odata.type": "#Microsoft.Azure.Search.DataUserAssignedIdentity" + }, + "embeddingModel": { + "azureOpenAIParameters": { + "resourceUri": "https://test-sample.openai.azure.com/", + "deploymentId": "model", + "apiKey": "api-key", + "modelName": "text-embedding-3-large" + }, + "kind": "azureOpenAI" + }, + "chatCompletionModel": { + "azureOpenAIParameters": { + "resourceUri": "https://test-sample.openai.azure.com/", + "deploymentId": "myDeployment", + "apiKey": "api-key", + "modelName": "gpt-4o-mini" + }, + "kind": "azureOpenAI" + }, + "disableImageVerbalization": false, + "ingestionSchedule": { + "interval": "P1D", + "startTime": "2025-01-07T19:30:00Z" + }, + "ingestionPermissionOptions": [ + "userIds", + "groupIds", + "rbacScope" + ], + "contentExtractionMode": "standard", + "aiServices": { + "uri": "https://my-ai-service.azure.com/", + "apiKey": "api-key" + } + } + }, + "name": "ks-preview-test", + "description": "Description of the SharePoint knowledge source.", + "kind": "indexedSharePoint", + "@odata.etag": "0x1234568AE7E58A1", + "encryptionKey": { + "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault", + "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString", + "keyVaultUri": "https://myKeyVault.vault.azure.net", + "accessCredentials": { + "applicationId": "00000000-0000-0000-0000-000000000000", + "applicationSecret": "" + } + } + } + }, + "responses": { + "200": { + "body": { + "@odata.etag": "0x1234568AE7E58A1", + "name": "ks-preview-test", + "kind": "indexedSharePoint", + "description": "Description of the SharePoint knowledge source.", + "encryptionKey": { + "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault", + "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString", + "keyVaultUri": "https://myKeyVault.vault.azure.net", + "accessCredentials": { + "applicationId": "00000000-0000-0000-0000-000000000000", + "applicationSecret": "" + } + }, + "indexedSharePointParameters": { + "connectionString": "DefaultEndpointsProtocol=https;AccountName=myAccountName;AccountKey=myAccountKey;EndpointSuffix=core.windows.net ", + "containerName": "defaultSiteLibrary", + "query": "*.docx OR *.pdf", + "ingestionParameters": { + "disableImageVerbalization": false, + "ingestionPermissionOptions": [ + "userIds", + "groupIds", + "rbacScope" + ], + "contentExtractionMode": "standard", + "identity": { + "@odata.type": "#Microsoft.Azure.Search.DataUserAssignedIdentity", + "userAssignedIdentity": "/my/userassigned/id" + }, + "embeddingModel": { + "kind": "azureOpenAI", + "azureOpenAIParameters": { + "resourceUri": "https://test-sample.openai.azure.com/", + "deploymentId": "model", + "apiKey": "api-key", + "modelName": "text-embedding-3-large" + } + }, + "chatCompletionModel": { + "kind": "azureOpenAI", + "azureOpenAIParameters": { + "resourceUri": "https://test-sample.openai.azure.com/", + "deploymentId": "myDeployment", + "apiKey": "api-key", + "modelName": "gpt-4o-mini" + } + }, + "ingestionSchedule": { + "interval": "P1D", + "startTime": "2024-06-06T00:01:50.265Z" + }, + "aiServices": { + "uri": "https://my-ai-service.azure.com/", + "apiKey": "api-key" + } + } + } + } + }, + "201": { + "body": { + "@odata.etag": "0x1234568AE7E58A1", + "name": "ks-preview-test", + "kind": "indexedSharePoint", + "description": "Description of the SharePoint knowledge source.", + "encryptionKey": { + "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault", + "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString", + "keyVaultUri": "https://myKeyVault.vault.azure.net", + "accessCredentials": { + "applicationId": "00000000-0000-0000-0000-000000000000", + "applicationSecret": "" + } + }, + "indexedSharePointParameters": { + "connectionString": "DefaultEndpointsProtocol=https;AccountName=myAccountName;AccountKey=myAccountKey;EndpointSuffix=core.windows.net ", + "containerName": "defaultSiteLibrary", + "query": "*.docx OR *.pdf", + "ingestionParameters": { + "disableImageVerbalization": false, + "ingestionPermissionOptions": [ + "userIds", + "groupIds", + "rbacScope" + ], + "contentExtractionMode": "standard", + "identity": { + "@odata.type": "#Microsoft.Azure.Search.DataUserAssignedIdentity", + "userAssignedIdentity": "/my/userassigned/id" + }, + "embeddingModel": { + "kind": "azureOpenAI", + "azureOpenAIParameters": { + "resourceUri": "https://test-sample.openai.azure.com/", + "deploymentId": "model", + "apiKey": "api-key", + "modelName": "text-embedding-3-large" + } + }, + "chatCompletionModel": { + "kind": "azureOpenAI", + "azureOpenAIParameters": { + "resourceUri": "https://test-sample.openai.azure.com/", + "deploymentId": "myDeployment", + "apiKey": "api-key", + "modelName": "gpt-4o-mini" + } + }, + "ingestionSchedule": { + "interval": "P1D", + "startTime": "2024-06-06T00:01:50.265Z" + }, + "aiServices": { + "uri": "https://my-ai-service.azure.com/", + "apiKey": "api-key" + } + } + } + } + } + } +} diff --git a/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceCreateOrUpdateKnowledgeSourceIngestedSharePoint.json b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceCreateOrUpdateKnowledgeSourceIngestedSharePoint.json new file mode 100644 index 000000000000..da6229b82549 --- /dev/null +++ b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceCreateOrUpdateKnowledgeSourceIngestedSharePoint.json @@ -0,0 +1,208 @@ +{ + "operationId": "KnowledgeSources_CreateOrUpdate", + "title": "SearchServiceCreateOrUpdateKnowledgeSourceIngestedSharePoint", + "parameters": { + "endpoint": "https://previewexampleservice.search.windows.net", + "sourceName": "ks-preview-test", + "api-version": "2025-11-01-preview", + "x-ms-client-request-id": "00000000-0000-0000-0000-000000000000", + "If-Match": null, + "If-None-Match": null, + "Prefer": "return=representation", + "KnowledgeSource": { + "ingestedSharePointParameters": { + "connectionString": "DefaultEndpointsProtocol=https;AccountName=myAccountName;AccountKey=myAccountKey;EndpointSuffix=core.windows.net ", + "containerName": "defaultSiteLibrary", + "query": "*.docx OR *.pdf", + "ingestionParameters": { + "identity": { + "userAssignedIdentity": "/my/userassigned/id", + "@odata.type": "#Microsoft.Azure.Search.DataUserAssignedIdentity" + }, + "embeddingModel": { + "azureOpenAIParameters": { + "resourceUri": "https://test-sample.openai.azure.com/", + "deploymentId": "model", + "apiKey": "api-key", + "modelName": "text-embedding-3-large" + }, + "kind": "azureOpenAI" + }, + "chatCompletionModel": { + "azureOpenAIParameters": { + "resourceUri": "https://test-sample.openai.azure.com/", + "deploymentId": "myDeployment", + "apiKey": "api-key", + "modelName": "gpt-4o-mini" + }, + "kind": "azureOpenAI" + }, + "disableImageVerbalization": false, + "ingestionSchedule": { + "interval": "P1D", + "startTime": "2025-01-07T19:30:00Z" + }, + "ingestionPermissionOptions": [ + "userIds", + "groupIds", + "rbacScope" + ], + "contentExtractionMode": "standard", + "aiServices": { + "uri": "https://my-ai-service.azure.com/", + "apiKey": "api-key" + }, + "assetStore": { + "connectionString": "DefaultEndpointsProtocol=https;AccountName=myAccountName;AccountKey=myAccountKey;EndpointSuffix=core.windows.net ", + "containerName": "asset-store-container" + } + } + }, + "name": "ks-preview-test", + "description": "Description of the SharePoint knowledge source.", + "kind": "ingestedSharePoint", + "@odata.etag": "0x1234568AE7E58A1", + "encryptionKey": { + "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault", + "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString", + "keyVaultUri": "https://myKeyVault.vault.azure.net", + "accessCredentials": { + "applicationId": "00000000-0000-0000-0000-000000000000", + "applicationSecret": "" + } + } + } + }, + "responses": { + "200": { + "body": { + "@odata.etag": "0x1234568AE7E58A1", + "name": "ks-preview-test", + "kind": "ingestedSharePoint", + "description": "Description of the SharePoint knowledge source.", + "encryptionKey": { + "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault", + "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString", + "keyVaultUri": "https://myKeyVault.vault.azure.net", + "accessCredentials": { + "applicationId": "00000000-0000-0000-0000-000000000000", + "applicationSecret": "" + } + }, + "ingestedSharePointParameters": { + "connectionString": "DefaultEndpointsProtocol=https;AccountName=myAccountName;AccountKey=myAccountKey;EndpointSuffix=core.windows.net ", + "containerName": "defaultSiteLibrary", + "query": "*.docx OR *.pdf", + "ingestionParameters": { + "disableImageVerbalization": false, + "ingestionPermissionOptions": [ + "userIds", + "groupIds", + "rbacScope" + ], + "contentExtractionMode": "standard", + "identity": { + "@odata.type": "#Microsoft.Azure.Search.DataUserAssignedIdentity", + "userAssignedIdentity": "/my/userassigned/id" + }, + "embeddingModel": { + "kind": "azureOpenAI", + "azureOpenAIParameters": { + "resourceUri": "https://test-sample.openai.azure.com/", + "deploymentId": "model", + "apiKey": "api-key", + "modelName": "text-embedding-3-large" + } + }, + "chatCompletionModel": { + "kind": "azureOpenAI", + "azureOpenAIParameters": { + "resourceUri": "https://test-sample.openai.azure.com/", + "deploymentId": "myDeployment", + "apiKey": "api-key", + "modelName": "gpt-4o-mini" + } + }, + "ingestionSchedule": { + "interval": "P1D", + "startTime": "2024-06-06T00:01:50.265Z" + }, + "assetStore": { + "connectionString": "DefaultEndpointsProtocol=https;AccountName=myAccountName;AccountKey=myAccountKey;EndpointSuffix=core.windows.net ", + "containerName": "asset-store-container" + }, + "aiServices": { + "uri": "https://my-ai-service.azure.com/", + "apiKey": "api-key" + } + } + } + } + }, + "201": { + "body": { + "@odata.etag": "0x1234568AE7E58A1", + "name": "ks-preview-test", + "kind": "ingestedSharePoint", + "description": "Description of the SharePoint knowledge source.", + "encryptionKey": { + "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault", + "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString", + "keyVaultUri": "https://myKeyVault.vault.azure.net", + "accessCredentials": { + "applicationId": "00000000-0000-0000-0000-000000000000", + "applicationSecret": "" + } + }, + "ingestedSharePointParameters": { + "connectionString": "DefaultEndpointsProtocol=https;AccountName=myAccountName;AccountKey=myAccountKey;EndpointSuffix=core.windows.net ", + "containerName": "defaultSiteLibrary", + "query": "*.docx OR *.pdf", + "ingestionParameters": { + "disableImageVerbalization": false, + "ingestionPermissionOptions": [ + "userIds", + "groupIds", + "rbacScope" + ], + "contentExtractionMode": "standard", + "identity": { + "@odata.type": "#Microsoft.Azure.Search.DataUserAssignedIdentity", + "userAssignedIdentity": "/my/userassigned/id" + }, + "embeddingModel": { + "kind": "azureOpenAI", + "azureOpenAIParameters": { + "resourceUri": "https://test-sample.openai.azure.com/", + "deploymentId": "model", + "apiKey": "api-key", + "modelName": "text-embedding-3-large" + } + }, + "chatCompletionModel": { + "kind": "azureOpenAI", + "azureOpenAIParameters": { + "resourceUri": "https://test-sample.openai.azure.com/", + "deploymentId": "myDeployment", + "apiKey": "api-key", + "modelName": "gpt-4o-mini" + } + }, + "ingestionSchedule": { + "interval": "P1D", + "startTime": "2024-06-06T00:01:50.265Z" + }, + "assetStore": { + "connectionString": "DefaultEndpointsProtocol=https;AccountName=myAccountName;AccountKey=myAccountKey;EndpointSuffix=core.windows.net ", + "containerName": "asset-store-container" + }, + "aiServices": { + "uri": "https://my-ai-service.azure.com/", + "apiKey": "api-key" + } + } + } + } + } + } +} diff --git a/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceCreateOrUpdateKnowledgeSourceWeb.json b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceCreateOrUpdateKnowledgeSourceWeb.json new file mode 100644 index 000000000000..ac06edf25fa5 --- /dev/null +++ b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceCreateOrUpdateKnowledgeSourceWeb.json @@ -0,0 +1,130 @@ +{ + "operationId": "KnowledgeSources_CreateOrUpdate", + "title": "SearchServiceCreateOrUpdateKnowledgeSourceWeb", + "parameters": { + "endpoint": "https://previewexampleservice.search.windows.net", + "sourceName": "ks-preview-test", + "api-version": "2025-11-01-preview", + "x-ms-client-request-id": "00000000-0000-0000-0000-000000000000", + "If-Match": null, + "If-None-Match": null, + "Prefer": "return=representation", + "KnowledgeSource": { + "webParameters": { + "domains": { + "allowedDomains": [ + { + "address": "example.com", + "includeSubpages": true + }, + { + "address": "another-example.com" + } + ], + "blockedDomains": [ + { + "address": "blocked.com" + }, + { + "address": "spam.com", + "includeSubpages": true + } + ] + } + }, + "name": "ks-preview-test", + "description": "Description of the knowledge source.", + "kind": "web", + "@odata.etag": "0x1234568AE7E58A1", + "encryptionKey": { + "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault", + "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString", + "keyVaultUri": "https://myKeyVault.vault.azure.net", + "accessCredentials": { + "applicationId": "00000000-0000-0000-0000-000000000000", + "applicationSecret": "" + } + } + } + }, + "responses": { + "200": { + "body": { + "@odata.etag": "0x1234568AE7E58A1", + "name": "ks-preview-test", + "kind": "web", + "description": "Description of the knowledge source.", + "encryptionKey": { + "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault", + "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString", + "keyVaultUri": "https://myKeyVault.vault.azure.net", + "accessCredentials": { + "applicationId": "00000000-0000-0000-0000-000000000000", + "applicationSecret": "" + } + }, + "webParameters": { + "domains": { + "allowedDomains": [ + { + "address": "example.com", + "includeSubpages": true + }, + { + "address": "another-example.com" + } + ], + "blockedDomains": [ + { + "address": "blocked.com" + }, + { + "address": "spam.com", + "includeSubpages": true + } + ] + } + } + } + }, + "201": { + "body": { + "@odata.etag": "0x1234568AE7E58A1", + "name": "ks-preview-test", + "kind": "web", + "description": "Description of the knowledge source.", + "encryptionKey": { + "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault", + "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString", + "keyVaultUri": "https://myKeyVault.vault.azure.net", + "accessCredentials": { + "applicationId": "00000000-0000-0000-0000-000000000000", + "applicationSecret": "" + } + }, + "webParameters": { + "domains": { + "allowedDomains": [ + { + "address": "example.com", + "includeSubpages": true + }, + { + "address": "another-example.com" + } + ], + "blockedDomains": [ + { + "address": "blocked.com" + }, + { + "address": "spam.com", + "includeSubpages": true + } + ] + } + } + } + } + } +} diff --git a/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceCreateOrUpdateSkillset.json b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceCreateOrUpdateSkillset.json new file mode 100644 index 000000000000..ab3d4d148edf --- /dev/null +++ b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceCreateOrUpdateSkillset.json @@ -0,0 +1,820 @@ +{ + "operationId": "Skillsets_CreateOrUpdate", + "title": "SearchServiceCreateOrUpdateSkillset", + "parameters": { + "endpoint": "https://previewexampleservice.search.windows.net", + "skillsetName": "tempskillset", + "api-version": "2025-11-01-preview", + "ignoreResetRequirements": null, + "disableCacheReprocessingChangeDetection": null, + "x-ms-client-request-id": "00000000-0000-0000-0000-000000000000", + "If-Match": null, + "If-None-Match": null, + "Prefer": "return=representation", + "skillset": { + "name": "tempskillset", + "description": "Skillset for extracting entities and more", + "skills": [ + { + "@odata.type": "#Microsoft.Skills.Text.LanguageDetectionSkill", + "name": "skill2", + "inputs": [ + { + "name": "text", + "source": "/document/content" + }, + { + "name": "countryHint", + "source": "/document/countryHint" + } + ], + "outputs": [ + { + "name": "languageCode", + "targetName": "languageCode" + } + ] + }, + { + "textSplitMode": "pages", + "maximumPageLength": 4000, + "unit": "azureOpenAITokens", + "azureOpenAITokenizerParameters": { + "encoderModelName": "cl100k_base", + "allowedSpecialTokens": [ + "[START]", + "[END]" + ] + }, + "@odata.type": "#Microsoft.Skills.Text.SplitSkill", + "name": "skill3", + "inputs": [ + { + "name": "text", + "source": "/document/content" + }, + { + "name": "languageCode", + "source": "/document/languageCode" + } + ], + "outputs": [ + { + "name": "textItems", + "targetName": "pages" + } + ] + }, + { + "@odata.type": "#Microsoft.Skills.Text.KeyPhraseExtractionSkill", + "name": "skill4", + "context": "/document/pages/*", + "inputs": [ + { + "name": "text", + "source": "/document/content" + }, + { + "name": "languageCode", + "source": "/document/languageCode" + } + ], + "outputs": [ + { + "name": "keyPhrases", + "targetName": "keyPhrases" + } + ] + }, + { + "uri": "https://contoso.example.org/", + "httpMethod": "POST", + "timeout": "PT5S", + "@odata.type": "#Microsoft.Skills.Custom.WebApiSkill", + "name": "skill5", + "inputs": [ + { + "name": "text", + "source": "/document/content" + }, + { + "name": "languageCode", + "source": "/document/languageCode" + } + ], + "outputs": [ + { + "name": "customresult", + "targetName": "result" + } + ] + }, + { + "outputMode": "oneToMany", + "markdownHeaderDepth": "h3", + "@odata.type": "#Microsoft.Skills.Util.DocumentIntelligenceLayoutSkill", + "name": "docIntelligenceLayoutSkill", + "context": "/document", + "inputs": [ + { + "name": "file_data", + "source": "/document/content" + } + ], + "outputs": [ + { + "name": "markdown_document", + "targetName": "markdown_document" + } + ] + }, + { + "outputFormat": "text", + "outputMode": "oneToMany", + "extractionOptions": [ + "images", + "locationMetadata" + ], + "chunkingProperties": { + "unit": "characters", + "maximumLength": 500, + "overlapLength": 50 + }, + "@odata.type": "#Microsoft.Skills.Util.DocumentIntelligenceLayoutSkill", + "name": "docIntelligenceLayoutSkill#2", + "context": "/document", + "inputs": [ + { + "name": "file_data", + "source": "/document/content" + } + ], + "outputs": [ + { + "name": "text_sections", + "targetName": "text_sections" + }, + { + "name": "normalized_images", + "targetName": "normalized_images" + } + ] + }, + { + "apiKey": "", + "commonModelParameters": { + "model": "gpt-4o", + "frequencyPenalty": 0, + "presencePenalty": 0, + "maxTokens": 0, + "temperature": 0, + "seed": 0, + "stop": [] + }, + "extraParameters": { + "safe_mode": true + }, + "extraParametersBehavior": "error", + "responseFormat": { + "type": "jsonSchema", + "jsonSchemaProperties": { + "name": "Some Name", + "description": "Some Description", + "strict": true, + "schema": { + "type": "object", + "properties": "{\"steps\": {\"type\": \"array\", \"description\": \"A list of reasoning steps.\", \"items\": {\"type\": \"string\"}}, \"answer\": {\"type\": \"string\", \"description\": \"The final answer.\"}}", + "required": [ + "steps", + "answer" + ], + "additionalProperties": false + } + } + }, + "uri": "https://azs-grok-aoai.openai.azure.com/openai/deployments/azs-grok-gpt-4o/chat/completions", + "timeout": "PT30S", + "degreeOfParallelism": 5, + "@odata.type": "#Microsoft.Skills.Custom.ChatCompletionSkill", + "name": "chatCompletionSkill", + "context": "/document/normalized_images/*", + "inputs": [ + { + "name": "text", + "source": "/document/content" + }, + { + "name": "systemMessage", + "source": "/document/system_message" + }, + { + "name": "userMessage", + "source": "/document/user_message" + }, + { + "name": "image", + "source": "/document/normalized_images/*" + }, + { + "name": "imageDetail", + "source": "/document/detail" + } + ], + "outputs": [ + { + "name": "response", + "targetName": "response" + } + ] + }, + { + "extractionOptions": [ + "images", + "locationMetadata" + ], + "chunkingProperties": { + "unit": "characters", + "maximumLength": 500, + "overlapLength": 50 + }, + "@odata.type": "#Microsoft.Skills.Util.ContentUnderstandingSkill", + "name": "contentUnderstandingSKill", + "context": "/document", + "inputs": [ + { + "name": "file_data", + "source": "/document/content" + } + ], + "outputs": [ + { + "name": "text_sections", + "targetName": "text_sections2" + }, + { + "name": "normalized_images", + "targetName": "normalized_images2" + } + ] + } + ], + "cognitiveServices": { + "key": "myKey", + "subdomainUrl": "https://mySubdomainName.cognitiveservices.azure.com", + "@odata.type": "#Microsoft.Azure.Search.AIServicesByKey", + "description": "Description of the Azure AI service resource attached to a skillset" + }, + "@odata.etag": "0x1234568AE7E58A1" + } + }, + "responses": { + "200": { + "body": { + "@odata.etag": "0x1234568AE7E58A1", + "name": "tempskillset", + "description": "Skillset for extracting entities and more", + "skills": [ + { + "@odata.type": "#Microsoft.Skills.Text.LanguageDetectionSkill", + "name": "skill2", + "inputs": [ + { + "name": "text", + "source": "/document/content", + "inputs": [] + }, + { + "name": "countryHint", + "source": "/document/countryHint", + "inputs": [] + } + ], + "outputs": [ + { + "name": "languageCode", + "targetName": "languageCode" + } + ] + }, + { + "@odata.type": "#Microsoft.Skills.Text.SplitSkill", + "name": "skill3", + "textSplitMode": "pages", + "maximumPageLength": 4000, + "unit": "azureOpenAITokens", + "inputs": [ + { + "name": "text", + "source": "/document/content", + "inputs": [] + }, + { + "name": "languageCode", + "source": "/document/languageCode", + "inputs": [] + } + ], + "outputs": [ + { + "name": "textItems", + "targetName": "pages" + } + ], + "azureOpenAITokenizerParameters": { + "encoderModelName": "cl100k_base", + "allowedSpecialTokens": [ + "[START]", + "[END]" + ] + } + }, + { + "@odata.type": "#Microsoft.Skills.Text.KeyPhraseExtractionSkill", + "name": "skill4", + "context": "/document/pages/*", + "inputs": [ + { + "name": "text", + "source": "/document/content", + "inputs": [] + }, + { + "name": "languageCode", + "source": "/document/languageCode", + "inputs": [] + } + ], + "outputs": [ + { + "name": "keyPhrases", + "targetName": "keyPhrases" + } + ] + }, + { + "@odata.type": "#Microsoft.Skills.Custom.WebApiSkill", + "name": "skill5", + "uri": "https://contoso.example.org/", + "httpMethod": "POST", + "timeout": "PT5S", + "inputs": [ + { + "name": "text", + "source": "/document/content", + "inputs": [] + }, + { + "name": "languageCode", + "source": "/document/languageCode", + "inputs": [] + } + ], + "outputs": [ + { + "name": "customresult", + "targetName": "result" + } + ] + }, + { + "@odata.type": "#Microsoft.Skills.Util.DocumentIntelligenceLayoutSkill", + "name": "docIntelligenceLayoutSkill", + "context": "/document", + "outputMode": "oneToMany", + "markdownHeaderDepth": "h3", + "extractionOptions": [], + "inputs": [ + { + "name": "file_data", + "source": "/document/content", + "inputs": [] + } + ], + "outputs": [ + { + "name": "markdown_document", + "targetName": "markdown_document" + } + ] + }, + { + "@odata.type": "#Microsoft.Skills.Util.DocumentIntelligenceLayoutSkill", + "name": "docIntelligenceLayoutSkill#2", + "context": "/document", + "outputMode": "oneToMany", + "outputFormat": "text", + "extractionOptions": [ + "images", + "locationMetadata" + ], + "inputs": [ + { + "name": "file_data", + "source": "/document/content", + "inputs": [] + } + ], + "outputs": [ + { + "name": "text_sections", + "targetName": "text_sections" + }, + { + "name": "normalized_images", + "targetName": "normalized_images" + } + ], + "chunkingProperties": { + "unit": "characters", + "maximumLength": 500, + "overlapLength": 50 + } + }, + { + "@odata.type": "#Microsoft.Skills.Custom.ChatCompletionSkill", + "name": "chatCompletionSkill", + "context": "/document/normalized_images/*", + "uri": "https://azs-grok-aoai.openai.azure.com/openai/deployments/azs-grok-gpt-4o/chat/completions", + "timeout": "PT30S", + "degreeOfParallelism": 5, + "apiKey": "", + "extraParametersBehavior": "error", + "inputs": [ + { + "name": "text", + "source": "/document/content", + "inputs": [] + }, + { + "name": "systemMessage", + "source": "/document/system_message", + "inputs": [] + }, + { + "name": "userMessage", + "source": "/document/user_message", + "inputs": [] + }, + { + "name": "image", + "source": "/document/normalized_images/*", + "inputs": [] + }, + { + "name": "imageDetail", + "source": "/document/detail", + "inputs": [] + } + ], + "outputs": [ + { + "name": "response", + "targetName": "response" + } + ], + "commonModelParameters": { + "model": "gpt-4o", + "frequencyPenalty": 0, + "presencePenalty": 0, + "maxTokens": 0, + "temperature": 0, + "seed": 0, + "stop": [] + }, + "extraParameters": { + "safe_mode": true + }, + "responseFormat": { + "type": "jsonSchema", + "jsonSchemaProperties": { + "name": "Some Name", + "description": "Some Description", + "strict": true, + "schema": { + "type": "object", + "additionalProperties": false, + "required": [ + "steps", + "answer" + ], + "properties": "{\"steps\": {\"type\": \"array\", \"description\": \"A list of reasoning steps.\", \"items\": {\"type\": \"string\"}}, \"answer\": {\"type\": \"string\", \"description\": \"The final answer.\"}}" + } + } + } + }, + { + "@odata.type": "#Microsoft.Skills.Util.ContentUnderstandingSkill", + "name": "contentUnderstandingSKill", + "context": "/document", + "extractionOptions": [ + "images", + "locationMetadata" + ], + "inputs": [ + { + "name": "file_data", + "source": "/document/content", + "inputs": [] + } + ], + "outputs": [ + { + "name": "text_sections", + "targetName": "text_sections2" + }, + { + "name": "normalized_images", + "targetName": "normalized_images2" + } + ], + "chunkingProperties": { + "unit": "characters", + "maximumLength": 500, + "overlapLength": 50 + } + } + ], + "cognitiveServices": { + "@odata.type": "#Microsoft.Azure.Search.AIServicesByKey", + "description": "Description of the Azure AI service resource attached to a skillset", + "key": "myKey", + "subdomainUrl": "https://mySubdomainName.cognitiveservices.azure.com" + } + } + }, + "201": { + "body": { + "@odata.etag": "0x1234568AE7E58A1", + "name": "tempskillset", + "description": "Skillset for extracting entities and more", + "skills": [ + { + "@odata.type": "#Microsoft.Skills.Text.LanguageDetectionSkill", + "name": "skill2", + "inputs": [ + { + "name": "text", + "source": "/document/content", + "inputs": [] + }, + { + "name": "countryHint", + "source": "/document/countryHint", + "inputs": [] + } + ], + "outputs": [ + { + "name": "languageCode", + "targetName": "languageCode" + } + ] + }, + { + "@odata.type": "#Microsoft.Skills.Text.SplitSkill", + "name": "skill3", + "textSplitMode": "pages", + "maximumPageLength": 4000, + "unit": "azureOpenAITokens", + "inputs": [ + { + "name": "text", + "source": "/document/content", + "inputs": [] + }, + { + "name": "languageCode", + "source": "/document/languageCode", + "inputs": [] + } + ], + "outputs": [ + { + "name": "textItems", + "targetName": "pages" + } + ], + "azureOpenAITokenizerParameters": { + "encoderModelName": "cl100k_base", + "allowedSpecialTokens": [ + "[START]", + "[END]" + ] + } + }, + { + "@odata.type": "#Microsoft.Skills.Text.KeyPhraseExtractionSkill", + "name": "skill4", + "context": "/document/pages/*", + "inputs": [ + { + "name": "text", + "source": "/document/content", + "inputs": [] + }, + { + "name": "languageCode", + "source": "/document/languageCode", + "inputs": [] + } + ], + "outputs": [ + { + "name": "keyPhrases", + "targetName": "keyPhrases" + } + ] + }, + { + "@odata.type": "#Microsoft.Skills.Custom.WebApiSkill", + "name": "skill5", + "uri": "https://contoso.example.org/", + "httpMethod": "POST", + "timeout": "PT5S", + "inputs": [ + { + "name": "text", + "source": "/document/content", + "inputs": [] + }, + { + "name": "languageCode", + "source": "/document/languageCode", + "inputs": [] + } + ], + "outputs": [ + { + "name": "customresult", + "targetName": "result" + } + ] + }, + { + "@odata.type": "#Microsoft.Skills.Util.DocumentIntelligenceLayoutSkill", + "name": "docIntelligenceLayoutSkill", + "context": "/document", + "outputMode": "oneToMany", + "markdownHeaderDepth": "h3", + "extractionOptions": [], + "inputs": [ + { + "name": "file_data", + "source": "/document/content", + "inputs": [] + } + ], + "outputs": [ + { + "name": "markdown_document", + "targetName": "markdown_document" + } + ] + }, + { + "@odata.type": "#Microsoft.Skills.Util.DocumentIntelligenceLayoutSkill", + "name": "docIntelligenceLayoutSkill#2", + "context": "/document", + "outputMode": "oneToMany", + "outputFormat": "text", + "extractionOptions": [ + "images", + "locationMetadata" + ], + "inputs": [ + { + "name": "file_data", + "source": "/document/content", + "inputs": [] + } + ], + "outputs": [ + { + "name": "text_sections", + "targetName": "text_sections" + }, + { + "name": "normalized_images", + "targetName": "normalized_images" + } + ], + "chunkingProperties": { + "unit": "characters", + "maximumLength": 500, + "overlapLength": 50 + } + }, + { + "@odata.type": "#Microsoft.Skills.Custom.ChatCompletionSkill", + "name": "chatCompletionSkill", + "context": "/document/normalized_images/*", + "uri": "https://azs-grok-aoai.openai.azure.com/openai/deployments/azs-grok-gpt-4o/chat/completions", + "timeout": "PT30S", + "degreeOfParallelism": 5, + "apiKey": "", + "extraParametersBehavior": "error", + "inputs": [ + { + "name": "text", + "source": "/document/content", + "inputs": [] + }, + { + "name": "systemMessage", + "source": "/document/system_message", + "inputs": [] + }, + { + "name": "userMessage", + "source": "/document/user_message", + "inputs": [] + }, + { + "name": "image", + "source": "/document/normalized_images/*", + "inputs": [] + }, + { + "name": "imageDetail", + "source": "/document/detail", + "inputs": [] + } + ], + "outputs": [ + { + "name": "response", + "targetName": "response" + } + ], + "commonModelParameters": { + "model": "gpt-4o", + "frequencyPenalty": 0, + "presencePenalty": 0, + "maxTokens": 0, + "temperature": 0, + "seed": 0, + "stop": [] + }, + "extraParameters": { + "safe_mode": true + }, + "responseFormat": { + "type": "jsonSchema", + "jsonSchemaProperties": { + "name": "Some Name", + "description": "Some Description", + "strict": true, + "schema": { + "type": "object", + "additionalProperties": false, + "required": [ + "steps", + "answer" + ], + "properties": "{\"steps\": {\"type\": \"array\", \"description\": \"A list of reasoning steps.\", \"items\": {\"type\": \"string\"}}, \"answer\": {\"type\": \"string\", \"description\": \"The final answer.\"}}" + } + } + } + }, + { + "@odata.type": "#Microsoft.Skills.Util.ContentUnderstandingSkill", + "name": "contentUnderstandingSKill", + "context": "/document", + "extractionOptions": [ + "images", + "locationMetadata" + ], + "inputs": [ + { + "name": "file_data", + "source": "/document/content", + "inputs": [] + } + ], + "outputs": [ + { + "name": "text_sections", + "targetName": "text_sections2" + }, + { + "name": "normalized_images", + "targetName": "normalized_images2" + } + ], + "chunkingProperties": { + "unit": "characters", + "maximumLength": 500, + "overlapLength": 50 + } + } + ], + "cognitiveServices": { + "@odata.type": "#Microsoft.Azure.Search.AIServicesByKey", + "description": "Description of the Azure AI service resource attached to a skillset", + "key": "myKey", + "subdomainUrl": "https://mySubdomainName.cognitiveservices.azure.com" + } + } + } + } +} diff --git a/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceCreateOrUpdateSynonymMap.json b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceCreateOrUpdateSynonymMap.json new file mode 100644 index 000000000000..7f54f45817c7 --- /dev/null +++ b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceCreateOrUpdateSynonymMap.json @@ -0,0 +1,64 @@ +{ + "operationId": "SynonymMaps_CreateOrUpdate", + "title": "SearchServiceCreateOrUpdateSynonymMap", + "parameters": { + "endpoint": "https://previewexampleservice.search.windows.net", + "synonymMapName": "mysynonymmap", + "api-version": "2025-11-01-preview", + "x-ms-client-request-id": "00000000-0000-0000-0000-000000000000", + "If-Match": null, + "If-None-Match": null, + "Prefer": "return=representation", + "synonymMap": { + "name": "mysynonymmap", + "format": "solr", + "synonyms": "United States, United States of America, USA\nWashington, Wash. => WA", + "encryptionKey": { + "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault", + "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString", + "keyVaultUri": "https://myKeyVault.vault.azure.net", + "accessCredentials": { + "applicationId": "00000000-0000-0000-0000-000000000000", + "applicationSecret": "" + } + }, + "@odata.etag": "0x1234568AE7E58A1" + } + }, + "responses": { + "200": { + "body": { + "@odata.etag": "0x1234568AE7E58A1", + "name": "mysynonymmap", + "format": "solr", + "synonyms": "United States, United States of America, USA\nWashington, Wash. => WA", + "encryptionKey": { + "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault", + "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString", + "keyVaultUri": "https://myKeyVault.vault.azure.net", + "accessCredentials": { + "applicationId": "00000000-0000-0000-0000-000000000000", + "applicationSecret": "" + } + } + } + }, + "201": { + "body": { + "@odata.etag": "0x1234568AE7E58A1", + "name": "mysynonymmap", + "format": "solr", + "synonyms": "United States, United States of America, USA\nWashington, Wash. => WA", + "encryptionKey": { + "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault", + "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString", + "keyVaultUri": "https://myKeyVault.vault.azure.net", + "accessCredentials": { + "applicationId": "00000000-0000-0000-0000-000000000000", + "applicationSecret": "" + } + } + } + } + } +} diff --git a/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceCreateSkillset.json b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceCreateSkillset.json new file mode 100644 index 000000000000..52ae54c50833 --- /dev/null +++ b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceCreateSkillset.json @@ -0,0 +1,540 @@ +{ + "operationId": "Skillsets_Create", + "title": "SearchServiceCreateSkillset", + "parameters": { + "endpoint": "https://previewexampleservice.search.windows.net", + "api-version": "2025-11-01-preview", + "x-ms-client-request-id": "00000000-0000-0000-0000-000000000000", + "skillset": { + "name": "tempskillset", + "description": "Skillset for extracting entities and more", + "skills": [ + { + "@odata.type": "#Microsoft.Skills.Text.LanguageDetectionSkill", + "name": "skill2", + "inputs": [ + { + "name": "text", + "source": "/document/content" + }, + { + "name": "countryHint", + "source": "/document/countryHint" + } + ], + "outputs": [ + { + "name": "languageCode", + "targetName": "languageCode" + } + ] + }, + { + "textSplitMode": "pages", + "maximumPageLength": 4000, + "unit": "azureOpenAITokens", + "azureOpenAITokenizerParameters": { + "encoderModelName": "cl100k_base", + "allowedSpecialTokens": [ + "[START]", + "[END]" + ] + }, + "@odata.type": "#Microsoft.Skills.Text.SplitSkill", + "name": "skill3", + "inputs": [ + { + "name": "text", + "source": "/document/content" + }, + { + "name": "languageCode", + "source": "/document/languageCode" + } + ], + "outputs": [ + { + "name": "textItems", + "targetName": "pages" + } + ] + }, + { + "@odata.type": "#Microsoft.Skills.Text.KeyPhraseExtractionSkill", + "name": "skill4", + "context": "/document/pages/*", + "inputs": [ + { + "name": "text", + "source": "/document/content" + }, + { + "name": "languageCode", + "source": "/document/languageCode" + } + ], + "outputs": [ + { + "name": "keyPhrases", + "targetName": "keyPhrases" + } + ] + }, + { + "uri": "https://contoso.example.org/", + "httpMethod": "POST", + "timeout": "PT5S", + "@odata.type": "#Microsoft.Skills.Custom.WebApiSkill", + "name": "skill5", + "inputs": [ + { + "name": "text", + "source": "/document/content" + }, + { + "name": "languageCode", + "source": "/document/languageCode" + } + ], + "outputs": [ + { + "name": "customresult", + "targetName": "result" + } + ] + }, + { + "outputMode": "oneToMany", + "markdownHeaderDepth": "h3", + "@odata.type": "#Microsoft.Skills.Util.DocumentIntelligenceLayoutSkill", + "name": "docIntelligenceLayoutSkill", + "context": "/document", + "inputs": [ + { + "name": "file_data", + "source": "/document/content" + } + ], + "outputs": [ + { + "name": "markdown_document", + "targetName": "markdown_document" + } + ] + }, + { + "outputFormat": "text", + "outputMode": "oneToMany", + "extractionOptions": [ + "images", + "locationMetadata" + ], + "chunkingProperties": { + "unit": "characters", + "maximumLength": 500, + "overlapLength": 50 + }, + "@odata.type": "#Microsoft.Skills.Util.DocumentIntelligenceLayoutSkill", + "name": "docIntelligenceLayoutSkill#2", + "context": "/document", + "inputs": [ + { + "name": "file_data", + "source": "/document/content" + } + ], + "outputs": [ + { + "name": "text_sections", + "targetName": "text_sections" + }, + { + "name": "normalized_images", + "targetName": "normalized_images" + } + ] + }, + { + "apiKey": "", + "commonModelParameters": { + "model": "gpt-4o", + "frequencyPenalty": 0, + "presencePenalty": 0, + "maxTokens": 0, + "temperature": 0, + "seed": 0, + "stop": [] + }, + "extraParameters": { + "safe_mode": true + }, + "extraParametersBehavior": "error", + "responseFormat": { + "type": "jsonSchema", + "jsonSchemaProperties": { + "name": "Some Name", + "description": "Some Description", + "strict": true, + "schema": { + "type": "object", + "properties": "{\"steps\": {\"type\": \"array\", \"description\": \"A list of reasoning steps.\", \"items\": {\"type\": \"string\"}}, \"answer\": {\"type\": \"string\", \"description\": \"The final answer.\"}}", + "required": [ + "steps", + "answer" + ], + "additionalProperties": false + } + } + }, + "uri": "https://azs-grok-aoai.openai.azure.com/openai/deployments/azs-grok-gpt-4o/chat/completions", + "timeout": "PT30S", + "degreeOfParallelism": 5, + "@odata.type": "#Microsoft.Skills.Custom.ChatCompletionSkill", + "name": "chatCompletionSkill", + "context": "/document/normalized_images/*", + "inputs": [ + { + "name": "text", + "source": "/document/content" + }, + { + "name": "systemMessage", + "source": "/document/system_message" + }, + { + "name": "userMessage", + "source": "/document/user_message" + }, + { + "name": "image", + "source": "/document/normalized_images/*" + }, + { + "name": "imageDetail", + "source": "/document/detail" + } + ], + "outputs": [ + { + "name": "response", + "targetName": "response" + } + ] + }, + { + "extractionOptions": [ + "images", + "locationMetadata" + ], + "chunkingProperties": { + "unit": "characters", + "maximumLength": 500, + "overlapLength": 50 + }, + "@odata.type": "#Microsoft.Skills.Util.ContentUnderstandingSkill", + "name": "contentUnderstandingSKill", + "context": "/document", + "inputs": [ + { + "name": "file_data", + "source": "/document/content" + } + ], + "outputs": [ + { + "name": "text_sections", + "targetName": "text_sections2" + }, + { + "name": "normalized_images", + "targetName": "normalized_images2" + } + ] + } + ], + "cognitiveServices": { + "key": "myKey", + "subdomainUrl": "https://mySubdomainName.cognitiveservices.azure.com", + "@odata.type": "#Microsoft.Azure.Search.AIServicesByKey", + "description": "Description of the Azure AI service resource attached to a skillset" + }, + "@odata.etag": "0x1234568AE7E58A1" + } + }, + "responses": { + "201": { + "body": { + "@odata.etag": "0x1234568AE7E58A1", + "name": "tempskillset", + "description": "Skillset for extracting entities and more", + "skills": [ + { + "@odata.type": "#Microsoft.Skills.Text.LanguageDetectionSkill", + "name": "skill2", + "inputs": [ + { + "name": "text", + "source": "/document/content", + "inputs": [] + }, + { + "name": "countryHint", + "source": "/document/countryHint", + "inputs": [] + } + ], + "outputs": [ + { + "name": "languageCode", + "targetName": "languageCode" + } + ] + }, + { + "@odata.type": "#Microsoft.Skills.Text.SplitSkill", + "name": "skill3", + "textSplitMode": "pages", + "maximumPageLength": 4000, + "unit": "azureOpenAITokens", + "inputs": [ + { + "name": "text", + "source": "/document/content", + "inputs": [] + }, + { + "name": "languageCode", + "source": "/document/languageCode", + "inputs": [] + } + ], + "outputs": [ + { + "name": "textItems", + "targetName": "pages" + } + ], + "azureOpenAITokenizerParameters": { + "encoderModelName": "cl100k_base", + "allowedSpecialTokens": [ + "[START]", + "[END]" + ] + } + }, + { + "@odata.type": "#Microsoft.Skills.Text.KeyPhraseExtractionSkill", + "name": "skill4", + "context": "/document/pages/*", + "inputs": [ + { + "name": "text", + "source": "/document/content", + "inputs": [] + }, + { + "name": "languageCode", + "source": "/document/languageCode", + "inputs": [] + } + ], + "outputs": [ + { + "name": "keyPhrases", + "targetName": "keyPhrases" + } + ] + }, + { + "@odata.type": "#Microsoft.Skills.Custom.WebApiSkill", + "name": "skill5", + "uri": "https://contoso.example.org/", + "httpMethod": "POST", + "timeout": "PT5S", + "inputs": [ + { + "name": "text", + "source": "/document/content", + "inputs": [] + }, + { + "name": "languageCode", + "source": "/document/languageCode", + "inputs": [] + } + ], + "outputs": [ + { + "name": "customresult", + "targetName": "result" + } + ] + }, + { + "@odata.type": "#Microsoft.Skills.Util.DocumentIntelligenceLayoutSkill", + "name": "docIntelligenceLayoutSkill", + "context": "/document", + "outputMode": "oneToMany", + "markdownHeaderDepth": "h3", + "extractionOptions": [], + "inputs": [ + { + "name": "file_data", + "source": "/document/content", + "inputs": [] + } + ], + "outputs": [ + { + "name": "markdown_document", + "targetName": "markdown_document" + } + ] + }, + { + "@odata.type": "#Microsoft.Skills.Util.DocumentIntelligenceLayoutSkill", + "name": "docIntelligenceLayoutSkill#2", + "context": "/document", + "outputMode": "oneToMany", + "outputFormat": "text", + "extractionOptions": [ + "images", + "locationMetadata" + ], + "inputs": [ + { + "name": "file_data", + "source": "/document/content", + "inputs": [] + } + ], + "outputs": [ + { + "name": "text_sections", + "targetName": "text_sections" + }, + { + "name": "normalized_images", + "targetName": "normalized_images" + } + ], + "chunkingProperties": { + "unit": "characters", + "maximumLength": 500, + "overlapLength": 50 + } + }, + { + "@odata.type": "#Microsoft.Skills.Custom.ChatCompletionSkill", + "name": "chatCompletionSkill", + "context": "/document/normalized_images/*", + "uri": "https://azs-grok-aoai.openai.azure.com/openai/deployments/azs-grok-gpt-4o/chat/completions", + "timeout": "PT30S", + "degreeOfParallelism": 5, + "apiKey": "", + "extraParametersBehavior": "error", + "inputs": [ + { + "name": "text", + "source": "/document/content", + "inputs": [] + }, + { + "name": "systemMessage", + "source": "/document/system_message", + "inputs": [] + }, + { + "name": "userMessage", + "source": "/document/user_message", + "inputs": [] + }, + { + "name": "image", + "source": "/document/normalized_images/*", + "inputs": [] + }, + { + "name": "imageDetail", + "source": "/document/detail", + "inputs": [] + } + ], + "outputs": [ + { + "name": "response", + "targetName": "response" + } + ], + "commonModelParameters": { + "model": "gpt-4o", + "frequencyPenalty": 0, + "presencePenalty": 0, + "maxTokens": 0, + "temperature": 0, + "seed": 0, + "stop": [] + }, + "extraParameters": { + "safe_mode": true + }, + "responseFormat": { + "type": "jsonSchema", + "jsonSchemaProperties": { + "name": "Some Name", + "description": "Some Description", + "strict": true, + "schema": { + "type": "object", + "additionalProperties": false, + "required": [ + "steps", + "answer" + ], + "properties": "{\"steps\": {\"type\": \"array\", \"description\": \"A list of reasoning steps.\", \"items\": {\"type\": \"string\"}}, \"answer\": {\"type\": \"string\", \"description\": \"The final answer.\"}}" + } + } + } + }, + { + "@odata.type": "#Microsoft.Skills.Util.ContentUnderstandingSkill", + "name": "contentUnderstandingSKill", + "context": "/document", + "extractionOptions": [ + "images", + "locationMetadata" + ], + "inputs": [ + { + "name": "file_data", + "source": "/document/content", + "inputs": [] + } + ], + "outputs": [ + { + "name": "text_sections", + "targetName": "text_sections2" + }, + { + "name": "normalized_images", + "targetName": "normalized_images2" + } + ], + "chunkingProperties": { + "unit": "characters", + "maximumLength": 500, + "overlapLength": 50 + } + } + ], + "cognitiveServices": { + "@odata.type": "#Microsoft.Azure.Search.AIServicesByKey", + "description": "Description of the Azure AI service resource attached to a skillset", + "key": "myKey", + "subdomainUrl": "https://mySubdomainName.cognitiveservices.azure.com" + } + } + } + } +} diff --git a/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceCreateSynonymMap.json b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceCreateSynonymMap.json new file mode 100644 index 000000000000..bbacdc3b119e --- /dev/null +++ b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceCreateSynonymMap.json @@ -0,0 +1,43 @@ +{ + "operationId": "SynonymMaps_Create", + "title": "SearchServiceCreateSynonymMap", + "parameters": { + "endpoint": "https://previewexampleservice.search.windows.net", + "api-version": "2025-11-01-preview", + "x-ms-client-request-id": "00000000-0000-0000-0000-000000000000", + "synonymMap": { + "name": "tempsynonymmap", + "format": "solr", + "synonyms": "United States, United States of America, USA\nWashington, Wash. => WA", + "encryptionKey": { + "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault", + "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString", + "keyVaultUri": "https://myKeyVault.vault.azure.net", + "accessCredentials": { + "applicationId": "00000000-0000-0000-0000-000000000000", + "applicationSecret": "" + } + }, + "@odata.etag": "0x1234568AE7E58A1" + } + }, + "responses": { + "201": { + "body": { + "@odata.etag": "0x1234568AE7E58A1", + "name": "tempsynonymmap", + "format": "solr", + "synonyms": "United States, United States of America, USA\nWashington, Wash. => WA", + "encryptionKey": { + "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault", + "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString", + "keyVaultUri": "https://myKeyVault.vault.azure.net", + "accessCredentials": { + "applicationId": "00000000-0000-0000-0000-000000000000", + "applicationSecret": "" + } + } + } + } + } +} diff --git a/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceDeleteAlias.json b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceDeleteAlias.json new file mode 100644 index 000000000000..214cd436c26b --- /dev/null +++ b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceDeleteAlias.json @@ -0,0 +1,16 @@ +{ + "operationId": "Aliases_Delete", + "title": "SearchServiceDeleteAlias", + "parameters": { + "endpoint": "https://previewexampleservice.search.windows.net", + "aliasName": "tempalias", + "api-version": "2025-11-01-preview", + "x-ms-client-request-id": "00000000-0000-0000-0000-000000000000", + "If-Match": null, + "If-None-Match": null + }, + "responses": { + "204": {}, + "404": {} + } +} diff --git a/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceDeleteDataSource.json b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceDeleteDataSource.json new file mode 100644 index 000000000000..f0272a811b6c --- /dev/null +++ b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceDeleteDataSource.json @@ -0,0 +1,16 @@ +{ + "operationId": "DataSources_Delete", + "title": "SearchServiceDeleteDataSource", + "parameters": { + "endpoint": "https://previewexampleservice.search.windows.net", + "dataSourceName": "tempdatasource", + "api-version": "2025-11-01-preview", + "x-ms-client-request-id": "00000000-0000-0000-0000-000000000000", + "If-Match": null, + "If-None-Match": null + }, + "responses": { + "204": {}, + "404": {} + } +} diff --git a/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceDeleteIndex.json b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceDeleteIndex.json new file mode 100644 index 000000000000..568d7481bc2d --- /dev/null +++ b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceDeleteIndex.json @@ -0,0 +1,16 @@ +{ + "operationId": "Indexes_Delete", + "title": "SearchServiceDeleteIndex", + "parameters": { + "endpoint": "https://previewexampleservice.search.windows.net", + "indexName": "temp-preview-test", + "api-version": "2025-11-01-preview", + "x-ms-client-request-id": "00000000-0000-0000-0000-000000000000", + "If-Match": null, + "If-None-Match": null + }, + "responses": { + "204": {}, + "404": {} + } +} diff --git a/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceDeleteIndexer.json b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceDeleteIndexer.json new file mode 100644 index 000000000000..d0a3c173f329 --- /dev/null +++ b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceDeleteIndexer.json @@ -0,0 +1,16 @@ +{ + "operationId": "Indexers_Delete", + "title": "SearchServiceDeleteIndexer", + "parameters": { + "endpoint": "https://previewexampleservice.search.windows.net", + "indexerName": "tempindexer", + "api-version": "2025-11-01-preview", + "x-ms-client-request-id": "00000000-0000-0000-0000-000000000000", + "If-Match": null, + "If-None-Match": null + }, + "responses": { + "404": {}, + "204": {} + } +} diff --git a/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceDeleteKnowledgeBase.json b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceDeleteKnowledgeBase.json new file mode 100644 index 000000000000..81b81bcb7088 --- /dev/null +++ b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceDeleteKnowledgeBase.json @@ -0,0 +1,16 @@ +{ + "operationId": "KnowledgeBases_Delete", + "title": "SearchServiceDeleteKnowledgeBase", + "parameters": { + "endpoint": "https://previewexampleservice.search.windows.net", + "knowledgeBaseName": "base-preview-test", + "api-version": "2025-11-01-preview", + "x-ms-client-request-id": "00000000-0000-0000-0000-000000000000", + "If-Match": null, + "If-None-Match": null + }, + "responses": { + "204": {}, + "404": {} + } +} diff --git a/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceDeleteKnowledgeSource.json b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceDeleteKnowledgeSource.json new file mode 100644 index 000000000000..63e7b89d1e64 --- /dev/null +++ b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceDeleteKnowledgeSource.json @@ -0,0 +1,16 @@ +{ + "operationId": "KnowledgeSources_Delete", + "title": "SearchServiceDeleteKnowledgeSource", + "parameters": { + "endpoint": "https://previewexampleservice.search.windows.net", + "sourceName": "ks-preview-test", + "api-version": "2025-11-01-preview", + "x-ms-client-request-id": "00000000-0000-0000-0000-000000000000", + "If-Match": null, + "If-None-Match": null + }, + "responses": { + "204": {}, + "404": {} + } +} diff --git a/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceDeleteKnowledgeSourceAzureBlob.json b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceDeleteKnowledgeSourceAzureBlob.json new file mode 100644 index 000000000000..45d3792c066d --- /dev/null +++ b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceDeleteKnowledgeSourceAzureBlob.json @@ -0,0 +1,16 @@ +{ + "operationId": "KnowledgeSources_Delete", + "title": "SearchServiceDeleteKnowledgeSourceAzureBlob", + "parameters": { + "endpoint": "https://previewexampleservice.search.windows.net", + "sourceName": "ks-preview-test", + "api-version": "2025-11-01-preview", + "x-ms-client-request-id": "00000000-0000-0000-0000-000000000000", + "If-Match": null, + "If-None-Match": null + }, + "responses": { + "204": {}, + "404": {} + } +} diff --git a/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceDeleteKnowledgeSourceIndexedOneLake.json b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceDeleteKnowledgeSourceIndexedOneLake.json new file mode 100644 index 000000000000..a0f3024f0678 --- /dev/null +++ b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceDeleteKnowledgeSourceIndexedOneLake.json @@ -0,0 +1,16 @@ +{ + "operationId": "KnowledgeSources_Delete", + "title": "SearchServiceDeleteKnowledgeSourceIndexedOneLake", + "parameters": { + "endpoint": "https://previewexampleservice.search.windows.net", + "sourceName": "ks-preview-test", + "api-version": "2025-11-01-preview", + "x-ms-client-request-id": "00000000-0000-0000-0000-000000000000", + "If-Match": null, + "If-None-Match": null + }, + "responses": { + "204": {}, + "404": {} + } +} diff --git a/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceDeleteKnowledgeSourceIndexedSharePoint.json b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceDeleteKnowledgeSourceIndexedSharePoint.json new file mode 100644 index 000000000000..4f7c1ed20404 --- /dev/null +++ b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceDeleteKnowledgeSourceIndexedSharePoint.json @@ -0,0 +1,16 @@ +{ + "operationId": "KnowledgeSources_Delete", + "title": "SearchServiceDeleteKnowledgeSourceIndexedSharePoint", + "parameters": { + "endpoint": "https://previewexampleservice.search.windows.net", + "sourceName": "ks-preview-test", + "api-version": "2025-11-01-preview", + "x-ms-client-request-id": "00000000-0000-0000-0000-000000000000", + "If-Match": null, + "If-None-Match": null + }, + "responses": { + "204": {}, + "404": {} + } +} diff --git a/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceDeleteKnowledgeSourceIngestedSharePoint.json b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceDeleteKnowledgeSourceIngestedSharePoint.json new file mode 100644 index 000000000000..004fe51af08b --- /dev/null +++ b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceDeleteKnowledgeSourceIngestedSharePoint.json @@ -0,0 +1,16 @@ +{ + "operationId": "KnowledgeSources_Delete", + "title": "SearchServiceDeleteKnowledgeSourceIngestedSharePoint", + "parameters": { + "endpoint": "https://previewexampleservice.search.windows.net", + "sourceName": "ks-preview-test", + "api-version": "2025-11-01-preview", + "x-ms-client-request-id": "00000000-0000-0000-0000-000000000000", + "If-Match": null, + "If-None-Match": null + }, + "responses": { + "204": {}, + "404": {} + } +} diff --git a/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceDeleteKnowledgeSourceWeb.json b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceDeleteKnowledgeSourceWeb.json new file mode 100644 index 000000000000..9ea8970dccd7 --- /dev/null +++ b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceDeleteKnowledgeSourceWeb.json @@ -0,0 +1,16 @@ +{ + "operationId": "KnowledgeSources_Delete", + "title": "SearchServiceDeleteKnowledgeSourceWeb", + "parameters": { + "endpoint": "https://previewexampleservice.search.windows.net", + "sourceName": "ks-preview-test", + "api-version": "2025-11-01-preview", + "x-ms-client-request-id": "00000000-0000-0000-0000-000000000000", + "If-Match": null, + "If-None-Match": null + }, + "responses": { + "204": {}, + "404": {} + } +} diff --git a/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceDeleteSkillset.json b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceDeleteSkillset.json new file mode 100644 index 000000000000..714a42f04ec6 --- /dev/null +++ b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceDeleteSkillset.json @@ -0,0 +1,16 @@ +{ + "operationId": "Skillsets_Delete", + "title": "SearchServiceDeleteSkillset", + "parameters": { + "endpoint": "https://previewexampleservice.search.windows.net", + "skillsetName": "tempskillset", + "api-version": "2025-11-01-preview", + "x-ms-client-request-id": "00000000-0000-0000-0000-000000000000", + "If-Match": null, + "If-None-Match": null + }, + "responses": { + "204": {}, + "404": {} + } +} diff --git a/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceDeleteSynonymMap.json b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceDeleteSynonymMap.json new file mode 100644 index 000000000000..e8437984eb08 --- /dev/null +++ b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceDeleteSynonymMap.json @@ -0,0 +1,16 @@ +{ + "operationId": "SynonymMaps_Delete", + "title": "SearchServiceDeleteSynonymMap", + "parameters": { + "endpoint": "https://previewexampleservice.search.windows.net", + "synonymMapName": "tempsynonymmap", + "api-version": "2025-11-01-preview", + "x-ms-client-request-id": "00000000-0000-0000-0000-000000000000", + "If-Match": null, + "If-None-Match": null + }, + "responses": { + "204": {}, + "404": {} + } +} diff --git a/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceGetAlias.json b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceGetAlias.json new file mode 100644 index 000000000000..430932d169a1 --- /dev/null +++ b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceGetAlias.json @@ -0,0 +1,20 @@ +{ + "operationId": "Aliases_Get", + "title": "SearchServiceGetAlias", + "parameters": { + "endpoint": "https://previewexampleservice.search.windows.net", + "aliasName": "myalias", + "api-version": "2025-11-01-preview", + "x-ms-client-request-id": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myalias", + "indexes": [ + "preview-test" + ] + } + } + } +} diff --git a/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceGetDataSource.json b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceGetDataSource.json new file mode 100644 index 000000000000..194492970eb5 --- /dev/null +++ b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceGetDataSource.json @@ -0,0 +1,41 @@ +{ + "operationId": "DataSources_Get", + "title": "SearchServiceGetDataSource", + "parameters": { + "endpoint": "https://previewexampleservice.search.windows.net", + "dataSourceName": "mydocdbdatasource", + "api-version": "2025-11-01-preview", + "x-ms-client-request-id": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "@odata.etag": "0x1234568AE7E58A1", + "name": "mydocdbdatasource", + "description": "My Azure Adls Gen2 data source with ACLs.", + "type": "adlsgen2", + "indexerPermissionOptions": [ + "userIds", + "groupIds", + "rbacScope" + ], + "credentials": { + "connectionString": "DefaultEndpointsProtocol=https;AccountName=myAccountName;AccountKey=myAccountKey;EndpointSuffix=core.windows.net " + }, + "container": { + "name": "adls-gen2-doc-extraction-acl", + "query": "folder_has_final_acl" + }, + "dataChangeDetectionPolicy": { + "@odata.type": "#Microsoft.Azure.Search.HighWaterMarkChangeDetectionPolicy", + "highWaterMarkColumnName": "metadata_storage_last_modified" + }, + "dataDeletionDetectionPolicy": { + "@odata.type": "#Microsoft.Azure.Search.SoftDeleteColumnDeletionDetectionPolicy", + "softDeleteColumnName": "isDeleted", + "softDeleteMarkerValue": "true" + } + } + } + } +} diff --git a/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceGetIndex.json b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceGetIndex.json new file mode 100644 index 000000000000..0ff8d4013d8c --- /dev/null +++ b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceGetIndex.json @@ -0,0 +1,476 @@ +{ + "operationId": "Indexes_Get", + "title": "SearchServiceGetIndex", + "parameters": { + "endpoint": "https://previewexampleservice.search.windows.net", + "indexName": "preview-test", + "api-version": "2025-11-01-preview", + "x-ms-client-request-id": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "@odata.etag": "0x1234568AE7E58A1", + "name": "preview-test", + "description": "description", + "defaultScoringProfile": "stringFieldBoost", + "permissionFilterOption": "enabled", + "purviewEnabled": true, + "fields": [ + { + "name": "id", + "type": "Edm.String", + "searchable": true, + "filterable": true, + "retrievable": true, + "stored": true, + "sortable": true, + "facetable": true, + "key": true, + "synonymMaps": [] + }, + { + "name": "vector1", + "type": "Collection(Edm.Single)", + "searchable": true, + "filterable": false, + "retrievable": true, + "stored": true, + "sortable": false, + "facetable": false, + "key": false, + "dimensions": 20, + "vectorSearchProfile": "config1", + "synonymMaps": [] + }, + { + "name": "vector1b", + "type": "Collection(Edm.Single)", + "searchable": true, + "filterable": false, + "retrievable": true, + "stored": true, + "sortable": false, + "facetable": false, + "key": false, + "dimensions": 10, + "vectorSearchProfile": "config2", + "synonymMaps": [] + }, + { + "name": "vector2", + "type": "Collection(Edm.Single)", + "searchable": true, + "filterable": false, + "retrievable": true, + "stored": true, + "sortable": false, + "facetable": false, + "key": false, + "dimensions": 5, + "vectorSearchProfile": "config3", + "synonymMaps": [] + }, + { + "name": "vector3", + "type": "Collection(Edm.Single)", + "searchable": true, + "filterable": false, + "retrievable": true, + "stored": true, + "sortable": false, + "facetable": false, + "key": false, + "dimensions": 5, + "vectorSearchProfile": "config3", + "synonymMaps": [] + }, + { + "name": "vector22", + "type": "Collection(Edm.Single)", + "searchable": true, + "filterable": false, + "retrievable": true, + "stored": true, + "sortable": false, + "facetable": false, + "key": false, + "dimensions": 10, + "vectorSearchProfile": "config2", + "synonymMaps": [] + }, + { + "name": "vector4", + "type": "Collection(Edm.Single)", + "searchable": true, + "filterable": false, + "retrievable": true, + "stored": true, + "sortable": false, + "facetable": false, + "key": false, + "dimensions": 32, + "vectorSearchProfile": "config4", + "synonymMaps": [] + }, + { + "name": "name", + "type": "Edm.String", + "searchable": true, + "filterable": true, + "retrievable": true, + "stored": true, + "sortable": true, + "facetable": true, + "key": false, + "analyzer": "en.lucene", + "synonymMaps": [] + }, + { + "name": "description", + "type": "Edm.String", + "searchable": true, + "filterable": true, + "retrievable": true, + "stored": true, + "sortable": true, + "facetable": true, + "key": false, + "analyzer": "standard.lucene", + "synonymMaps": [] + }, + { + "name": "category", + "type": "Edm.String", + "searchable": true, + "filterable": true, + "retrievable": true, + "stored": true, + "sortable": true, + "facetable": true, + "key": false, + "analyzer": "en.lucene", + "synonymMaps": [] + }, + { + "name": "ownerId", + "type": "Edm.String", + "searchable": true, + "filterable": true, + "retrievable": true, + "stored": true, + "sortable": true, + "facetable": true, + "key": false, + "analyzer": "en.lucene", + "synonymMaps": [] + }, + { + "name": "price", + "type": "Edm.Double", + "searchable": false, + "filterable": true, + "retrievable": true, + "stored": true, + "sortable": true, + "facetable": true, + "key": false, + "synonymMaps": [] + }, + { + "name": "permissionFilters", + "type": "Collection(Edm.String)", + "searchable": true, + "filterable": true, + "retrievable": true, + "stored": true, + "sortable": false, + "facetable": true, + "key": false, + "permissionFilter": "userIds", + "synonymMaps": [] + }, + { + "name": "sensitivityLabels", + "type": "Collection(Edm.String)", + "searchable": true, + "filterable": true, + "retrievable": true, + "stored": true, + "sortable": false, + "facetable": true, + "key": false, + "sensitivityLabel": true, + "synonymMaps": [] + } + ], + "scoringProfiles": [ + { + "name": "stringFieldBoost", + "functionAggregation": "sum", + "text": { + "weights": { + "name": 3.0, + "description": 1.0, + "category": 2.0, + "ownerId": 1.0 + } + }, + "functions": [ + { + "fieldName": "category", + "interpolation": "linear", + "type": "tag", + "boost": 2.0, + "tag": { + "tagsParameter": "categoryTag" + } + } + ] + } + ], + "corsOptions": { + "allowedOrigins": [ + "https://www.example.com/foo" + ], + "maxAgeInSeconds": 10 + }, + "suggesters": [ + { + "name": "sg", + "searchMode": "analyzingInfixMatching", + "sourceFields": [ + "category", + "ownerId" + ] + } + ], + "analyzers": [ + { + "@odata.type": "#Microsoft.Azure.Search.CustomAnalyzer", + "name": "tagsAnalyzer", + "tokenizer": "standard_v2", + "tokenFilters": [ + "common_grams" + ], + "charFilters": [ + "html_strip" + ] + } + ], + "normalizers": [ + { + "@odata.type": "#Microsoft.Azure.Search.CustomNormalizer", + "name": "my_normalizer", + "tokenFilters": [ + "my_tokenFilter" + ], + "charFilters": [ + "my_mapping" + ] + } + ], + "tokenizers": [ + { + "@odata.type": "#Microsoft.Azure.Search.StandardTokenizerV2", + "name": "my_tokenizer", + "maxTokenLength": 100 + } + ], + "tokenFilters": [ + { + "@odata.type": "#Microsoft.Azure.Search.AsciiFoldingTokenFilter", + "name": "my_tokenFilter", + "preserveOriginal": false + } + ], + "charFilters": [ + { + "@odata.type": "#Microsoft.Azure.Search.MappingCharFilter", + "name": "my_mapping", + "mappings": [ + ".=>,", + "_=>-" + ] + } + ], + "similarity": { + "@odata.type": "#Microsoft.Azure.Search.BM25Similarity", + "k1": 10.0, + "b": 0.1 + }, + "semantic": { + "defaultConfiguration": "testconfig", + "configurations": [ + { + "name": "testconfig", + "flightingOptIn": true, + "rankingOrder": "BoostedRerankerScore", + "prioritizedFields": { + "titleField": { + "fieldName": "category" + }, + "prioritizedContentFields": [ + { + "fieldName": "description" + } + ], + "prioritizedKeywordsFields": [ + { + "fieldName": "ownerId" + } + ] + } + } + ] + }, + "vectorSearch": { + "algorithms": [ + { + "name": "cosine", + "kind": "hnsw", + "hnswParameters": { + "metric": "cosine", + "m": 4, + "efConstruction": 400, + "efSearch": 500 + } + }, + { + "name": "euclidean", + "kind": "hnsw", + "hnswParameters": { + "metric": "euclidean", + "m": 4, + "efConstruction": 400, + "efSearch": 500 + } + }, + { + "name": "dotProduct", + "kind": "hnsw", + "hnswParameters": { + "metric": "dotProduct", + "m": 4, + "efConstruction": 400, + "efSearch": 500 + } + } + ], + "profiles": [ + { + "name": "config1", + "algorithm": "cosine", + "vectorizer": "openai", + "compression": "mySQ8" + }, + { + "name": "config2", + "algorithm": "euclidean", + "vectorizer": "custom-web-api", + "compression": "mySQ8" + }, + { + "name": "config3", + "algorithm": "dotProduct", + "vectorizer": "custom-web-api", + "compression": "myBQC" + }, + { + "name": "config4", + "algorithm": "dotProduct", + "vectorizer": "custom-web-api", + "compression": "myBQWithoutOriginals" + } + ], + "vectorizers": [ + { + "name": "openai", + "kind": "azureOpenAI", + "azureOpenAIParameters": { + "resourceUri": "https://test-sample.openai.azure.com", + "deploymentId": "model", + "apiKey": "", + "modelName": "text-embedding-3-large" + } + }, + { + "name": "custom-web-api", + "kind": "customWebApi", + "customWebApiParameters": { + "httpMethod": "POST", + "uri": "https://my-custom-endpoint.org/", + "timeout": "PT1M", + "authResourceId": "api://f89d1c93-58a7-4b07-9a5b-5f89048b927b", + "httpHeaders": { + "header1": "value1", + "header2": "value2" + }, + "authIdentity": { + "@odata.type": "#Microsoft.Azure.Search.DataNoneIdentity" + } + } + }, + { + "name": "aml", + "kind": "aml", + "amlParameters": { + "resourceId": "aml resource id", + "region": "aml region", + "uri": "https://my-custom-endpoint.org/", + "timeout": "PT1M", + "modelName": "OpenAI-CLIP-Image-Text-Embeddings-vit-base-patch32" + } + }, + { + "name": "aml-cohere", + "kind": "aml", + "amlParameters": { + "resourceId": "aml resource id", + "region": "aml region", + "uri": "https://my-custom-endpoint.org/", + "timeout": "PT1M", + "modelName": "Cohere-embed-v4" + } + } + ], + "compressions": [ + { + "name": "mySQ8", + "kind": "scalarQuantization", + "truncationDimension": 2, + "scalarQuantizationParameters": { + "quantizedDataType": "int8" + }, + "rescoringOptions": { + "enableRescoring": true, + "defaultOversampling": 10.0, + "rescoreStorageMethod": "preserveOriginals" + } + }, + { + "name": "myBQC", + "kind": "binaryQuantization", + "truncationDimension": 2, + "rescoringOptions": { + "enableRescoring": true, + "defaultOversampling": 10.0, + "rescoreStorageMethod": "preserveOriginals" + } + }, + { + "name": "myBQWithoutOriginals", + "kind": "binaryQuantization", + "truncationDimension": 2, + "rescoringOptions": { + "enableRescoring": true, + "defaultOversampling": 10.0, + "rescoreStorageMethod": "discardOriginals" + } + } + ] + } + } + } + } +} diff --git a/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceGetIndexStatistics.json b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceGetIndexStatistics.json new file mode 100644 index 000000000000..985cf75b3229 --- /dev/null +++ b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceGetIndexStatistics.json @@ -0,0 +1,19 @@ +{ + "operationId": "Indexes_GetStatistics", + "title": "SearchServiceGetIndexStatistics", + "parameters": { + "endpoint": "https://previewexampleservice.search.windows.net", + "indexName": "preview-test", + "api-version": "2025-11-01-preview", + "x-ms-client-request-id": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "documentCount": 12, + "storageSize": 123456, + "vectorIndexSize": 123456 + } + } + } +} diff --git a/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceGetIndexStatsSummary.json b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceGetIndexStatsSummary.json new file mode 100644 index 000000000000..a4b2720723ec --- /dev/null +++ b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceGetIndexStatsSummary.json @@ -0,0 +1,23 @@ +{ + "operationId": "GetIndexStatsSummary", + "title": "SearchServiceGetIndexStatsSummary", + "parameters": { + "endpoint": "https://previewexampleservice.search.windows.net", + "api-version": "2025-11-01-preview", + "x-ms-client-request-id": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "preview-test", + "documentCount": 0, + "storageSize": 0, + "vectorIndexSize": 0 + } + ] + } + } + } +} diff --git a/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceGetIndexer.json b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceGetIndexer.json new file mode 100644 index 000000000000..6504aa16776a --- /dev/null +++ b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceGetIndexer.json @@ -0,0 +1,51 @@ +{ + "operationId": "Indexers_Get", + "title": "SearchServiceGetIndexer", + "parameters": { + "endpoint": "https://previewexampleservice.search.windows.net", + "indexerName": "myindexer", + "api-version": "2025-11-01-preview", + "x-ms-client-request-id": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "@odata.etag": "0x1234568AE7E58A1", + "name": "myindexer", + "description": "Description of the indexer", + "dataSourceName": "indexertestdatasource", + "skillsetName": "myskillset", + "targetIndexName": "preview-test", + "disabled": false, + "schedule": { + "interval": "P1D", + "startTime": "2024-06-06T00:01:50.265Z" + }, + "parameters": { + "batchSize": 10, + "maxFailedItems": 10, + "maxFailedItemsPerBatch": 5, + "configuration": {} + }, + "fieldMappings": [ + { + "sourceFieldName": "/document", + "targetFieldName": "name", + "mappingFunction": { + "name": "base64Encode" + } + } + ], + "outputFieldMappings": [ + { + "sourceFieldName": "/document", + "targetFieldName": "name", + "mappingFunction": { + "name": "base64Encode" + } + } + ] + } + } + } +} diff --git a/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceGetIndexerStatus.json b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceGetIndexerStatus.json new file mode 100644 index 000000000000..2fba9b1edc60 --- /dev/null +++ b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceGetIndexerStatus.json @@ -0,0 +1,91 @@ +{ + "operationId": "Indexers_GetStatus", + "title": "SearchServiceGetIndexerStatus", + "parameters": { + "endpoint": "https://previewexampleservice.search.windows.net", + "indexerName": "myindexer", + "api-version": "2025-11-01-preview", + "x-ms-client-request-id": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myindexer", + "status": "running", + "runtime": { + "usedSeconds": 0, + "beginningTime": "2024-06-06T00:00:00.000Z", + "endingTime": "2024-06-07T00:00:00.000Z" + }, + "lastResult": { + "status": "success", + "startTime": "2014-11-26T03:37:18.853Z", + "endTime": "2014-11-26T03:37:19.012Z", + "itemsProcessed": 11, + "itemsFailed": 0, + "mode": "indexingAllDocs", + "errors": [], + "warnings": [] + }, + "executionHistory": [ + { + "status": "success", + "startTime": "2014-11-26T03:37:18.853Z", + "endTime": "2014-11-26T03:37:19.012Z", + "itemsProcessed": 11, + "itemsFailed": 0, + "mode": "indexingAllDocs", + "errors": [], + "warnings": [] + }, + { + "status": "transientFailure", + "startTime": "2014-11-26T03:28:10.125Z", + "endTime": "2014-11-26T03:28:12.007Z", + "itemsProcessed": 1, + "itemsFailed": 2, + "mode": "indexingAllDocs", + "errors": [ + { + "key": "", + "statusCode": 400, + "errorMessage": "Document key cannot be missing or empty." + }, + { + "key": "document id 1", + "statusCode": 400, + "name": "DocumentExtraction.AzureBlob.MyDataSource", + "errorMessage": "Could not read the value of column 'foo' at index '0'.", + "details": "The file could not be parsed.", + "documentationLink": "https://go.microsoft.com/fwlink/?linkid=2049388" + } + ], + "warnings": [ + { + "key": "document id", + "message": "A warning doesn't stop indexing, and is intended to inform you of certain interesting situations, like when a blob indexer truncates the amount of text extracted from a blob." + }, + { + "key": "document id 2", + "name": "Enrichment.LanguageDetectionSkill.#4", + "message": "Document was truncated to 50000 characters.", + "details": "The skill did something that didn't break anything, nonetheless something we didn't expect happened, so it might be worth double checking.", + "documentationLink": "https://go.microsoft.com/fwlink/?linkid=2099692" + } + ] + } + ], + "limits": { + "maxRunTime": "PT22H", + "maxDocumentExtractionSize": 256000000, + "maxDocumentContentCharactersToExtract": 4000000 + }, + "currentState": { + "mode": "indexingAllDocs", + "resetDocumentKeys": [], + "resetDatasourceDocumentIds": [] + } + } + } + } +} diff --git a/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceGetKnowledgeBase.json b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceGetKnowledgeBase.json new file mode 100644 index 000000000000..be3357e5711d --- /dev/null +++ b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceGetKnowledgeBase.json @@ -0,0 +1,50 @@ +{ + "operationId": "KnowledgeBases_Get", + "title": "SearchServiceGetKnowledgeBase", + "parameters": { + "endpoint": "https://previewexampleservice.search.windows.net", + "knowledgeBaseName": "base-preview-test", + "api-version": "2025-11-01-preview", + "x-ms-client-request-id": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "@odata.etag": "0x1234568AE7E58A1", + "name": "base-preview-test", + "description": "Description of the knowledge base.", + "retrievalInstructions": "Instructions for retrieval for the knowledge base.", + "answerInstructions": "Instructions for answer synthesis.", + "outputMode": "extractiveData", + "knowledgeSources": [ + { + "name": "ks-preview-test" + } + ], + "models": [ + { + "kind": "azureOpenAI", + "azureOpenAIParameters": { + "resourceUri": "https://test-sample.openai.azure.com", + "deploymentId": "myDeployment", + "apiKey": "", + "modelName": "gpt-4o-mini" + } + } + ], + "encryptionKey": { + "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault", + "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString", + "keyVaultUri": "https://myKeyVault.vault.azure.net", + "accessCredentials": { + "applicationId": "00000000-0000-0000-0000-000000000000", + "applicationSecret": "" + } + }, + "retrievalReasoningEffort": { + "kind": "low" + } + } + } + } +} diff --git a/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceGetKnowledgeSource.json b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceGetKnowledgeSource.json new file mode 100644 index 000000000000..6b1fbd34c41a --- /dev/null +++ b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceGetKnowledgeSource.json @@ -0,0 +1,46 @@ +{ + "operationId": "KnowledgeSources_Get", + "title": "SearchServiceGetKnowledgeSource", + "parameters": { + "endpoint": "https://previewexampleservice.search.windows.net", + "sourceName": "ks-preview-test", + "api-version": "2025-11-01-preview", + "x-ms-client-request-id": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "@odata.etag": "0x1234568AE7E58A1", + "name": "ks-preview-test", + "kind": "searchIndex", + "description": "Description of the knowledge source.", + "encryptionKey": { + "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault", + "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString", + "keyVaultUri": "https://myKeyVault.vault.azure.net", + "accessCredentials": { + "applicationId": "00000000-0000-0000-0000-000000000000", + "applicationSecret": "" + } + }, + "searchIndexParameters": { + "searchIndexName": "preview-test", + "semanticConfigurationName": "testconfig", + "sourceDataFields": [ + { + "name": "description" + }, + { + "name": "category" + } + ], + "searchFields": [ + { + "name": "*" + } + ] + } + } + } + } +} diff --git a/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceGetKnowledgeSourceAzureBlob.json b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceGetKnowledgeSourceAzureBlob.json new file mode 100644 index 000000000000..0e3332e93d30 --- /dev/null +++ b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceGetKnowledgeSourceAzureBlob.json @@ -0,0 +1,80 @@ +{ + "operationId": "KnowledgeSources_Get", + "title": "SearchServiceGetKnowledgeSourceAzureBlob", + "parameters": { + "endpoint": "https://previewexampleservice.search.windows.net", + "sourceName": "ks-preview-test", + "api-version": "2025-11-01-preview", + "x-ms-client-request-id": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "@odata.etag": "0x1234568AE7E58A1", + "name": "ks-preview-test", + "kind": "azureBlob", + "description": "Description of the knowledge source.", + "encryptionKey": { + "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault", + "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString", + "keyVaultUri": "https://myKeyVault.vault.azure.net", + "accessCredentials": { + "applicationId": "00000000-0000-0000-0000-000000000000", + "applicationSecret": "" + } + }, + "azureBlobParameters": { + "connectionString": "DefaultEndpointsProtocol=https;AccountName=myAccountName;AccountKey=myAccountKey;EndpointSuffix=core.windows.net ", + "containerName": "test-container", + "folderPath": "test-path", + "isADLSGen2": false, + "ingestionParameters": { + "disableImageVerbalization": false, + "ingestionPermissionOptions": [ + "userIds", + "groupIds", + "rbacScope" + ], + "contentExtractionMode": "standard", + "identity": { + "@odata.type": "#Microsoft.Azure.Search.DataUserAssignedIdentity", + "userAssignedIdentity": "/my/userassigned/id" + }, + "embeddingModel": { + "kind": "azureOpenAI", + "azureOpenAIParameters": { + "resourceUri": "https://test-sample.openai.azure.com", + "deploymentId": "model", + "apiKey": "", + "modelName": "text-embedding-3-large" + } + }, + "chatCompletionModel": { + "kind": "azureOpenAI", + "azureOpenAIParameters": { + "resourceUri": "https://test-sample.openai.azure.com", + "deploymentId": "myDeployment", + "apiKey": "", + "modelName": "gpt-4o-mini" + } + }, + "ingestionSchedule": { + "interval": "P1D", + "startTime": "2024-06-06T00:01:50.265Z" + }, + "aiServices": { + "uri": "https://my-ai-service.azure.com/", + "apiKey": "" + } + }, + "createdResources": { + "datasource": "ks-preview-test-datasource", + "indexer": "ks-preview-test-indexer", + "skillset": "ks-preview-test-skillset", + "index": "ks-preview-test-index" + } + } + } + } + } +} diff --git a/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceGetKnowledgeSourceIndexedOneLake.json b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceGetKnowledgeSourceIndexedOneLake.json new file mode 100644 index 000000000000..59a5f847f64e --- /dev/null +++ b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceGetKnowledgeSourceIndexedOneLake.json @@ -0,0 +1,79 @@ +{ + "operationId": "KnowledgeSources_Get", + "title": "SearchServiceGetKnowledgeSourceIndexedOneLake", + "parameters": { + "endpoint": "https://previewexampleservice.search.windows.net", + "sourceName": "ks-preview-test", + "api-version": "2025-11-01-preview", + "x-ms-client-request-id": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "@odata.etag": "0x1234568AE7E58A1", + "name": "ks-preview-test", + "kind": "indexedOneLake", + "description": "Description of the OneLake knowledge source.", + "encryptionKey": { + "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault", + "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString", + "keyVaultUri": "https://myKeyVault.vault.azure.net", + "accessCredentials": { + "applicationId": "00000000-0000-0000-0000-000000000000", + "applicationSecret": "" + } + }, + "indexedOneLakeParameters": { + "fabricWorkspaceId": "", + "lakehouseId": "fakeLakehouseId", + "targetPath": "testfolder", + "ingestionParameters": { + "disableImageVerbalization": false, + "ingestionPermissionOptions": [ + "userIds", + "groupIds", + "rbacScope" + ], + "contentExtractionMode": "standard", + "identity": { + "@odata.type": "#Microsoft.Azure.Search.DataUserAssignedIdentity", + "userAssignedIdentity": "/my/userassigned/id" + }, + "embeddingModel": { + "kind": "azureOpenAI", + "azureOpenAIParameters": { + "resourceUri": "https://test-sample.openai.azure.com", + "deploymentId": "model", + "apiKey": "", + "modelName": "text-embedding-3-large" + } + }, + "chatCompletionModel": { + "kind": "azureOpenAI", + "azureOpenAIParameters": { + "resourceUri": "https://test-sample.openai.azure.com", + "deploymentId": "myDeployment", + "apiKey": "", + "modelName": "gpt-4o-mini" + } + }, + "ingestionSchedule": { + "interval": "P1D", + "startTime": "2024-06-06T00:01:50.265Z" + }, + "aiServices": { + "uri": "https://my-ai-service.azure.com/", + "apiKey": "" + } + }, + "createdResources": { + "datasource": "ks-preview-test-datasource", + "indexer": "ks-preview-test-indexer", + "skillset": "ks-preview-test-skillset", + "index": "ks-preview-test-index" + } + } + } + } + } +} diff --git a/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceGetKnowledgeSourceIndexedSharePoint.json b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceGetKnowledgeSourceIndexedSharePoint.json new file mode 100644 index 000000000000..3defb0ec6346 --- /dev/null +++ b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceGetKnowledgeSourceIndexedSharePoint.json @@ -0,0 +1,79 @@ +{ + "operationId": "KnowledgeSources_Get", + "title": "SearchServiceGetKnowledgeSourceIndexedSharePoint", + "parameters": { + "endpoint": "https://previewexampleservice.search.windows.net", + "sourceName": "ks-preview-test", + "api-version": "2025-11-01-preview", + "x-ms-client-request-id": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "@odata.etag": "0x1234568AE7E58A1", + "name": "ks-preview-test", + "kind": "indexedSharePoint", + "description": "Description of the SharePoint knowledge source.", + "encryptionKey": { + "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault", + "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString", + "keyVaultUri": "https://myKeyVault.vault.azure.net", + "accessCredentials": { + "applicationId": "00000000-0000-0000-0000-000000000000", + "applicationSecret": "" + } + }, + "indexedSharePointParameters": { + "connectionString": "DefaultEndpointsProtocol=https;AccountName=myAccountName;AccountKey=myAccountKey;EndpointSuffix=core.windows.net ", + "containerName": "defaultSiteLibrary", + "query": "*.docx OR *.pdf", + "ingestionParameters": { + "disableImageVerbalization": false, + "ingestionPermissionOptions": [ + "userIds", + "groupIds", + "rbacScope" + ], + "contentExtractionMode": "standard", + "identity": { + "@odata.type": "#Microsoft.Azure.Search.DataUserAssignedIdentity", + "userAssignedIdentity": "/my/userassigned/id" + }, + "embeddingModel": { + "kind": "azureOpenAI", + "azureOpenAIParameters": { + "resourceUri": "https://test-sample.openai.azure.com", + "deploymentId": "model", + "apiKey": "", + "modelName": "text-embedding-3-large" + } + }, + "chatCompletionModel": { + "kind": "azureOpenAI", + "azureOpenAIParameters": { + "resourceUri": "https://test-sample.openai.azure.com", + "deploymentId": "myDeployment", + "apiKey": "", + "modelName": "gpt-4o-mini" + } + }, + "ingestionSchedule": { + "interval": "P1D", + "startTime": "2024-06-06T00:01:50.265Z" + }, + "aiServices": { + "uri": "https://my-ai-service.azure.com/", + "apiKey": "" + } + }, + "createdResources": { + "datasource": "ks-preview-test-datasource", + "indexer": "ks-preview-test-indexer", + "skillset": "ks-preview-test-skillset", + "index": "ks-preview-test-index" + } + } + } + } + } +} diff --git a/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceGetKnowledgeSourceIngestedSharePoint.json b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceGetKnowledgeSourceIngestedSharePoint.json new file mode 100644 index 000000000000..01f6066aa73d --- /dev/null +++ b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceGetKnowledgeSourceIngestedSharePoint.json @@ -0,0 +1,71 @@ +{ + "operationId": "KnowledgeSources_Get", + "title": "SearchServiceGetKnowledgeSourceIngestedSharePoint", + "parameters": { + "endpoint": "https://previewexampleservice.search.windows.net", + "sourceName": "ks-preview-test", + "api-version": "2025-11-01-preview", + "x-ms-client-request-id": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "@odata.etag": "0x1234568AE7E58A1", + "name": "ks-preview-test", + "kind": "ingestedSharePoint", + "description": "Description of the SharePoint knowledge source.", + "encryptionKey": { + "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault", + "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString", + "keyVaultUri": "https://myKeyVault.vault.azure.net", + "accessCredentials": { + "applicationId": "00000000-0000-0000-0000-000000000000", + "applicationSecret": "" + } + }, + "ingestedSharePointParameters": { + "connectionString": "DefaultEndpointsProtocol=https;AccountName=myAccountName;AccountKey=myAccountKey;EndpointSuffix=core.windows.net ", + "containerName": "defaultSiteLibrary", + "ingestionParameters": { + "disableImageVerbalization": false, + "ingestionPermissionOptions": [], + "identity": { + "@odata.type": "#Microsoft.Azure.Search.DataUserAssignedIdentity", + "userAssignedIdentity": "/my/userassigned/id" + }, + "embeddingModel": { + "kind": "azureOpenAI", + "azureOpenAIParameters": { + "resourceUri": "https://test-sample.openai.azure.com", + "deploymentId": "model", + "apiKey": "", + "modelName": "text-embedding-3-large" + } + }, + "chatCompletionModel": { + "kind": "azureOpenAI", + "azureOpenAIParameters": { + "resourceUri": "https://test-sample.openai.azure.com", + "deploymentId": "myDeployment", + "apiKey": "", + "modelName": "gpt-4o-mini" + } + }, + "ingestionSchedule": { + "interval": "P1D", + "startTime": "2024-06-06T00:01:50.265Z" + }, + "assetStore": { + "connectionString": "DefaultEndpointsProtocol=https;AccountName=myAccountName;AccountKey=myAccountKey;EndpointSuffix=core.windows.net ", + "containerName": "asset-store-container" + }, + "aiServices": { + "uri": "https://my-ai-service.azure.com/", + "apiKey": "" + } + } + } + } + } + } +} diff --git a/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceGetKnowledgeSourceStatus.json b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceGetKnowledgeSourceStatus.json new file mode 100644 index 000000000000..2e9e72e9f7f9 --- /dev/null +++ b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceGetKnowledgeSourceStatus.json @@ -0,0 +1,36 @@ +{ + "operationId": "KnowledgeSources_GetStatus", + "title": "SearchServiceGetKnowledgeSourceStatus", + "parameters": { + "endpoint": "https://previewexampleservice.search.windows.net", + "sourceName": "ks-preview-test", + "api-version": "2025-11-01-preview", + "x-ms-client-request-id": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "synchronizationStatus": "active", + "synchronizationInterval": "1d", + "currentSynchronizationState": { + "startTime": "2024-11-26T03:37:18.853Z", + "itemsUpdatesProcessed": 10, + "itemsUpdatesFailed": 2, + "itemsSkipped": 1 + }, + "lastSynchronizationState": { + "startTime": "2024-11-25T03:37:18.853Z", + "endTime": "2024-11-25T03:38:19.012Z", + "itemsUpdatesProcessed": 8, + "itemsUpdatesFailed": 1, + "itemsSkipped": 0 + }, + "statistics": { + "totalSynchronization": 5, + "averageSynchronizationDuration": "PT30M", + "averageItemsProcessedPerSynchronization": 100 + } + } + } + } +} diff --git a/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceGetKnowledgeSourceWeb.json b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceGetKnowledgeSourceWeb.json new file mode 100644 index 000000000000..da83aded0b81 --- /dev/null +++ b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceGetKnowledgeSourceWeb.json @@ -0,0 +1,51 @@ +{ + "operationId": "KnowledgeSources_Get", + "title": "SearchServiceGetKnowledgeSourceWeb", + "parameters": { + "endpoint": "https://previewexampleservice.search.windows.net", + "sourceName": "ks-preview-test", + "api-version": "2025-11-01-preview", + "x-ms-client-request-id": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "@odata.etag": "0x1234568AE7E58A1", + "name": "ks-preview-test", + "kind": "web", + "description": "Description of the knowledge source.", + "encryptionKey": { + "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault", + "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString", + "keyVaultUri": "https://myKeyVault.vault.azure.net", + "accessCredentials": { + "applicationId": "00000000-0000-0000-0000-000000000000", + "applicationSecret": "" + } + }, + "webParameters": { + "domains": { + "allowedDomains": [ + { + "address": "example.com", + "includeSubpages": true + }, + { + "address": "another-example.com" + } + ], + "blockedDomains": [ + { + "address": "blocked.com" + }, + { + "address": "spam.com", + "includeSubpages": true + } + ] + } + } + } + } + } +} diff --git a/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceGetS3HDUnlimitedIndexerStatus.json b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceGetS3HDUnlimitedIndexerStatus.json new file mode 100644 index 000000000000..d96d4941c15c --- /dev/null +++ b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceGetS3HDUnlimitedIndexerStatus.json @@ -0,0 +1,92 @@ +{ + "operationId": "Indexers_GetStatus", + "title": "SearchServiceGetS3HDUnlimitedIndexerStatus", + "parameters": { + "endpoint": "https://previewexampleservice.search.windows.net", + "indexerName": "myindexer", + "api-version": "2025-11-01-preview", + "x-ms-client-request-id": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myindexer", + "status": "running", + "runtime": { + "usedSeconds": 0, + "remainingSeconds": 39600, + "beginningTime": "2024-06-06T00:00:00.000Z", + "endingTime": "2024-06-07T00:00:00.000Z" + }, + "lastResult": { + "status": "success", + "startTime": "2014-11-26T03:37:18.853Z", + "endTime": "2014-11-26T03:37:19.012Z", + "itemsProcessed": 11, + "itemsFailed": 0, + "mode": "indexingAllDocs", + "errors": [], + "warnings": [] + }, + "executionHistory": [ + { + "status": "success", + "startTime": "2014-11-26T03:37:18.853Z", + "endTime": "2014-11-26T03:37:19.012Z", + "itemsProcessed": 11, + "itemsFailed": 0, + "mode": "indexingAllDocs", + "errors": [], + "warnings": [] + }, + { + "status": "transientFailure", + "startTime": "2014-11-26T03:28:10.125Z", + "endTime": "2014-11-26T03:28:12.007Z", + "itemsProcessed": 1, + "itemsFailed": 2, + "mode": "indexingAllDocs", + "errors": [ + { + "key": "", + "statusCode": 400, + "errorMessage": "Document key cannot be missing or empty." + }, + { + "key": "document id 1", + "statusCode": 400, + "name": "DocumentExtraction.AzureBlob.MyDataSource", + "errorMessage": "Could not read the value of column 'foo' at index '0'.", + "details": "The file could not be parsed.", + "documentationLink": "https://go.microsoft.com/fwlink/?linkid=2049388" + } + ], + "warnings": [ + { + "key": "document id", + "message": "A warning doesn't stop indexing, and is intended to inform you of certain interesting situations, like when a blob indexer truncates the amount of text extracted from a blob." + }, + { + "key": "document id 2", + "name": "Enrichment.LanguageDetectionSkill.#4", + "message": "Document was truncated to 50000 characters.", + "details": "The skill did something that didn't break anything, nonetheless something we didn't expect happened, so it might be worth double checking.", + "documentationLink": "https://go.microsoft.com/fwlink/?linkid=2099692" + } + ] + } + ], + "limits": { + "maxRunTime": "PT22H", + "maxDocumentExtractionSize": 256000000, + "maxDocumentContentCharactersToExtract": 4000000 + }, + "currentState": { + "mode": "indexingAllDocs", + "resetDocumentKeys": [], + "resetDatasourceDocumentIds": [] + } + } + } + } +} diff --git a/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceGetS3HDUnlimitedServiceStatistics.json b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceGetS3HDUnlimitedServiceStatistics.json new file mode 100644 index 000000000000..de59ac78a354 --- /dev/null +++ b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceGetS3HDUnlimitedServiceStatistics.json @@ -0,0 +1,65 @@ +{ + "operationId": "GetServiceStatistics", + "title": "SearchServiceGetS3HDUnlimitedServiceStatistics", + "parameters": { + "endpoint": "https://previewexampleservice.search.windows.net", + "api-version": "2025-11-01-preview", + "x-ms-client-request-id": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "counters": { + "documentCount": { + "usage": 12 + }, + "indexesCount": { + "usage": 2, + "quota": 2 + }, + "indexersCount": { + "usage": 2, + "quota": 2 + }, + "dataSourcesCount": { + "usage": 2, + "quota": 2 + }, + "storageSize": { + "usage": 123456, + "quota": 10485760 + }, + "synonymMaps": { + "usage": 3, + "quota": 3 + }, + "skillsetCount": { + "usage": 2, + "quota": 2 + }, + "aliasesCount": { + "usage": 4, + "quota": 4 + }, + "vectorIndexSize": { + "usage": 123456 + } + }, + "indexersRuntime": { + "usedSeconds": 0, + "remainingSeconds": 86400, + "beginningTime": "2024-06-06T00:00:00.000Z", + "endingTime": "2024-06-07T00:00:00.000Z" + }, + "limits": { + "maxStoragePerIndex": 10485760, + "maxFieldsPerIndex": 1000, + "maxFieldNestingDepthPerIndex": 10, + "maxComplexCollectionFieldsPerIndex": 40, + "maxComplexObjectsInCollectionsPerDocument": 3000, + "maxCumulativeIndexerRuntimeSeconds": 86400 + } + } + } + } +} diff --git a/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceGetServiceStatistics.json b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceGetServiceStatistics.json new file mode 100644 index 000000000000..00bfc83633b0 --- /dev/null +++ b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceGetServiceStatistics.json @@ -0,0 +1,63 @@ +{ + "operationId": "GetServiceStatistics", + "title": "SearchServiceGetServiceStatistics", + "parameters": { + "endpoint": "https://previewexampleservice.search.windows.net", + "api-version": "2025-11-01-preview", + "x-ms-client-request-id": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "counters": { + "documentCount": { + "usage": 12 + }, + "indexesCount": { + "usage": 2, + "quota": 2 + }, + "indexersCount": { + "usage": 2, + "quota": 2 + }, + "dataSourcesCount": { + "usage": 2, + "quota": 2 + }, + "storageSize": { + "usage": 123456, + "quota": 10485760 + }, + "synonymMaps": { + "usage": 3, + "quota": 3 + }, + "skillsetCount": { + "usage": 2, + "quota": 2 + }, + "aliasesCount": { + "usage": 4, + "quota": 4 + }, + "vectorIndexSize": { + "usage": 123456 + } + }, + "indexersRuntime": { + "usedSeconds": 0, + "beginningTime": "2024-06-06T00:00:00.000Z", + "endingTime": "2024-06-07T00:00:00.000Z" + }, + "limits": { + "maxStoragePerIndex": 10485760, + "maxFieldsPerIndex": 1000, + "maxFieldNestingDepthPerIndex": 10, + "maxComplexCollectionFieldsPerIndex": 40, + "maxComplexObjectsInCollectionsPerDocument": 3000 + } + } + } + } +} diff --git a/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceGetSkillset.json b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceGetSkillset.json new file mode 100644 index 000000000000..152f2145dba8 --- /dev/null +++ b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceGetSkillset.json @@ -0,0 +1,285 @@ +{ + "operationId": "Skillsets_Get", + "title": "SearchServiceGetSkillset", + "parameters": { + "endpoint": "https://previewexampleservice.search.windows.net", + "skillsetName": "myskillset", + "api-version": "2025-11-01-preview", + "x-ms-client-request-id": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "@odata.etag": "0x1234568AE7E58A1", + "name": "myskillset", + "description": "Skillset for extracting entities and more", + "skills": [ + { + "@odata.type": "#Microsoft.Skills.Text.LanguageDetectionSkill", + "name": "skill2", + "context": "/document", + "inputs": [ + { + "name": "text", + "source": "/document/content", + "inputs": [] + }, + { + "name": "countryHint", + "source": "/document/countryHint", + "inputs": [] + } + ], + "outputs": [ + { + "name": "languageCode", + "targetName": "languageCode" + } + ] + }, + { + "@odata.type": "#Microsoft.Skills.Text.SplitSkill", + "name": "skill3", + "context": "/document", + "defaultLanguageCode": "en", + "textSplitMode": "pages", + "maximumPageLength": 4000, + "pageOverlapLength": 0, + "maximumPagesToTake": 0, + "unit": "azureOpenAITokens", + "inputs": [ + { + "name": "text", + "source": "/document/content", + "inputs": [] + }, + { + "name": "languageCode", + "source": "/document/languageCode", + "inputs": [] + } + ], + "outputs": [ + { + "name": "textItems", + "targetName": "pages" + } + ], + "azureOpenAITokenizerParameters": { + "encoderModelName": "cl100k_base", + "allowedSpecialTokens": [ + "[START]", + "[END]" + ] + } + }, + { + "@odata.type": "#Microsoft.Skills.Text.KeyPhraseExtractionSkill", + "name": "skill4", + "context": "/document/pages/*", + "defaultLanguageCode": "en", + "inputs": [ + { + "name": "text", + "source": "/document/content", + "inputs": [] + }, + { + "name": "languageCode", + "source": "/document/languageCode", + "inputs": [] + } + ], + "outputs": [ + { + "name": "keyPhrases", + "targetName": "keyPhrases" + } + ] + }, + { + "@odata.type": "#Microsoft.Skills.Custom.WebApiSkill", + "name": "skill5", + "context": "/document", + "uri": "https://contoso.example.org/", + "httpMethod": "POST", + "timeout": "PT5S", + "batchSize": 1000, + "inputs": [ + { + "name": "text", + "source": "/document/content", + "inputs": [] + }, + { + "name": "languageCode", + "source": "/document/languageCode", + "inputs": [] + } + ], + "outputs": [ + { + "name": "customresult", + "targetName": "result" + } + ], + "httpHeaders": {} + }, + { + "@odata.type": "#Microsoft.Skills.Util.DocumentIntelligenceLayoutSkill", + "name": "docIntelligenceLayoutSkill", + "context": "/document", + "outputMode": "oneToMany", + "markdownHeaderDepth": "h3", + "outputFormat": "markdown", + "extractionOptions": [], + "inputs": [ + { + "name": "file_data", + "source": "/document/content", + "inputs": [] + } + ], + "outputs": [ + { + "name": "markdown_document", + "targetName": "markdown_document" + } + ] + }, + { + "@odata.type": "#Microsoft.Skills.Util.DocumentIntelligenceLayoutSkill", + "name": "docIntelligenceLayoutSkill#2", + "context": "/document", + "outputMode": "oneToMany", + "outputFormat": "text", + "extractionOptions": [ + "images", + "locationMetadata" + ], + "inputs": [ + { + "name": "file_data", + "source": "/document/content", + "inputs": [] + } + ], + "outputs": [ + { + "name": "text_sections", + "targetName": "text_sections" + }, + { + "name": "normalized_images", + "targetName": "normalized_images" + } + ], + "chunkingProperties": { + "unit": "characters", + "maximumLength": 500, + "overlapLength": 50 + } + }, + { + "@odata.type": "#Microsoft.Skills.Custom.ChatCompletionSkill", + "name": "chatCompletionSkill", + "context": "/document/normalized_images/*", + "uri": "https://azs-grok-aoai.openai.azure.com/openai/deployments/azs-grok-gpt-4o/chat/completions", + "httpMethod": "POST", + "timeout": "PT30S", + "batchSize": 1, + "degreeOfParallelism": 5, + "apiKey": "", + "extraParametersBehavior": "error", + "inputs": [ + { + "name": "text", + "source": "/document/content", + "inputs": [] + }, + { + "name": "systemMessage", + "source": "/document/system_message", + "inputs": [] + }, + { + "name": "userMessage", + "source": "/document/user_message", + "inputs": [] + }, + { + "name": "image", + "source": "/document/normalized_images/*", + "inputs": [] + }, + { + "name": "imageDetail", + "source": "/document/detail", + "inputs": [] + } + ], + "outputs": [ + { + "name": "response", + "targetName": "response" + } + ], + "httpHeaders": {}, + "commonModelParameters": { + "model": "gpt-4o", + "frequencyPenalty": 0, + "presencePenalty": 0, + "maxTokens": 0, + "temperature": 0, + "seed": 0, + "stop": [] + }, + "extraParameters": { + "safe_mode": true + }, + "responseFormat": { + "type": "jsonSchema", + "jsonSchemaProperties": { + "name": "Some Name", + "description": "Some Description", + "strict": true, + "schema": { + "type": "object", + "additionalProperties": false, + "required": [ + "steps", + "answer" + ], + "properties": "{\"steps\": {\"type\": \"array\", \"description\": \"A list of reasoning steps.\", \"items\": {\"type\": \"string\"}}, \"answer\": {\"type\": \"string\", \"description\": \"The final answer.\"}}" + } + } + } + }, + { + "@odata.type": "#Microsoft.Skills.Util.ContentUnderstandingSkill", + "name": "contentUnderstandingSKill", + "context": "/document", + "extractionOptions": [], + "inputs": [ + { + "name": "file_data", + "source": "/document/content", + "inputs": [] + } + ], + "outputs": [ + { + "name": "text_sections", + "targetName": "text_sections2" + }, + { + "name": "normalized_images", + "targetName": "normalized_images2" + } + ] + } + ] + } + } + } +} diff --git a/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceGetSynonymMap.json b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceGetSynonymMap.json new file mode 100644 index 000000000000..46944d021bd9 --- /dev/null +++ b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceGetSynonymMap.json @@ -0,0 +1,29 @@ +{ + "operationId": "SynonymMaps_Get", + "title": "SearchServiceGetSynonymMap", + "parameters": { + "endpoint": "https://previewexampleservice.search.windows.net", + "synonymMapName": "mysynonymmap", + "api-version": "2025-11-01-preview", + "x-ms-client-request-id": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "@odata.etag": "0x1234568AE7E58A1", + "name": "mysynonymmap", + "format": "solr", + "synonyms": "United States, United States of America, USA\nWashington, Wash. => WA", + "encryptionKey": { + "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault", + "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString", + "keyVaultUri": "https://myKeyVault.vault.azure.net", + "accessCredentials": { + "applicationId": "00000000-0000-0000-0000-000000000000", + "applicationSecret": "" + } + } + } + } + } +} diff --git a/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceIndexAnalyze.json b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceIndexAnalyze.json new file mode 100644 index 000000000000..74fe21feb83d --- /dev/null +++ b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceIndexAnalyze.json @@ -0,0 +1,40 @@ +{ + "operationId": "Indexes_Analyze", + "title": "SearchServiceIndexAnalyze", + "parameters": { + "endpoint": "https://previewexampleservice.search.windows.net", + "indexName": "preview-test", + "api-version": "2025-11-01-preview", + "x-ms-client-request-id": "00000000-0000-0000-0000-000000000000", + "request": { + "text": "Text to analyze", + "analyzer": "ar.lucene" + } + }, + "responses": { + "200": { + "body": { + "tokens": [ + { + "token": "text", + "startOffset": 0, + "endOffset": 4, + "position": 0 + }, + { + "token": "to", + "startOffset": 5, + "endOffset": 7, + "position": 1 + }, + { + "token": "analyze", + "startOffset": 8, + "endOffset": 15, + "position": 2 + } + ] + } + } + } +} diff --git a/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceListAliases.json b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceListAliases.json new file mode 100644 index 000000000000..577639cf3a25 --- /dev/null +++ b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceListAliases.json @@ -0,0 +1,23 @@ +{ + "operationId": "Aliases_List", + "title": "SearchServiceListAliases", + "parameters": { + "endpoint": "https://previewexampleservice.search.windows.net", + "api-version": "2025-11-01-preview", + "x-ms-client-request-id": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "myalias", + "indexes": [ + "preview-test" + ] + } + ] + } + } + } +} diff --git a/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceListDataSources.json b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceListDataSources.json new file mode 100644 index 000000000000..403645c1b020 --- /dev/null +++ b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceListDataSources.json @@ -0,0 +1,45 @@ +{ + "operationId": "DataSources_List", + "title": "SearchServiceListDataSources", + "parameters": { + "endpoint": "https://previewexampleservice.search.windows.net", + "$select": null, + "api-version": "2025-11-01-preview", + "x-ms-client-request-id": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "@odata.etag": "0x1234568AE7E58A1", + "name": "mydocdbdatasource", + "description": "My Azure Adls Gen2 data source with ACLs.", + "type": "adlsgen2", + "indexerPermissionOptions": [ + "userIds", + "groupIds", + "rbacScope" + ], + "credentials": { + "connectionString": "DefaultEndpointsProtocol=https;AccountName=myAccountName;AccountKey=myAccountKey;EndpointSuffix=core.windows.net " + }, + "container": { + "name": "adls-gen2-doc-extraction-acl", + "query": "folder_has_final_acl" + }, + "dataChangeDetectionPolicy": { + "@odata.type": "#Microsoft.Azure.Search.HighWaterMarkChangeDetectionPolicy", + "highWaterMarkColumnName": "metadata_storage_last_modified" + }, + "dataDeletionDetectionPolicy": { + "@odata.type": "#Microsoft.Azure.Search.SoftDeleteColumnDeletionDetectionPolicy", + "softDeleteColumnName": "isDeleted", + "softDeleteMarkerValue": "true" + } + } + ] + } + } + } +} diff --git a/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceListIndexers.json b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceListIndexers.json new file mode 100644 index 000000000000..16a7234c9dce --- /dev/null +++ b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceListIndexers.json @@ -0,0 +1,54 @@ +{ + "operationId": "Indexers_List", + "title": "SearchServiceListIndexers", + "parameters": { + "endpoint": "https://previewexampleservice.search.windows.net", + "$select": "*", + "api-version": "2025-11-01-preview", + "x-ms-client-request-id": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "myindexer", + "description": "Description of the indexer", + "dataSourceName": "indexertestdatasource", + "skillsetName": "myskillset", + "targetIndexName": "preview-test", + "disabled": false, + "schedule": { + "interval": "P1D", + "startTime": "2024-06-06T00:01:50.265Z" + }, + "parameters": { + "batchSize": 10, + "maxFailedItems": 10, + "maxFailedItemsPerBatch": 5, + "configuration": {} + }, + "fieldMappings": [ + { + "sourceFieldName": "/document", + "targetFieldName": "name", + "mappingFunction": { + "name": "base64Encode" + } + } + ], + "outputFieldMappings": [ + { + "sourceFieldName": "/document", + "targetFieldName": "name", + "mappingFunction": { + "name": "base64Encode" + } + } + ] + } + ] + } + } + } +} diff --git a/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceListIndexes.json b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceListIndexes.json new file mode 100644 index 000000000000..9a236b41371b --- /dev/null +++ b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceListIndexes.json @@ -0,0 +1,480 @@ +{ + "operationId": "Indexes_List", + "title": "SearchServiceListIndexes", + "parameters": { + "endpoint": "https://previewexampleservice.search.windows.net", + "$select": null, + "api-version": "2025-11-01-preview", + "x-ms-client-request-id": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "@odata.etag": "0x1234568AE7E58A1", + "name": "preview-test", + "description": "description", + "defaultScoringProfile": "stringFieldBoost", + "permissionFilterOption": "enabled", + "purviewEnabled": true, + "fields": [ + { + "name": "id", + "type": "Edm.String", + "searchable": true, + "filterable": true, + "retrievable": true, + "stored": true, + "sortable": true, + "facetable": true, + "key": true, + "synonymMaps": [] + }, + { + "name": "vector1", + "type": "Collection(Edm.Single)", + "searchable": true, + "filterable": false, + "retrievable": true, + "stored": true, + "sortable": false, + "facetable": false, + "key": false, + "dimensions": 20, + "vectorSearchProfile": "config1", + "synonymMaps": [] + }, + { + "name": "vector1b", + "type": "Collection(Edm.Single)", + "searchable": true, + "filterable": false, + "retrievable": true, + "stored": true, + "sortable": false, + "facetable": false, + "key": false, + "dimensions": 10, + "vectorSearchProfile": "config2", + "synonymMaps": [] + }, + { + "name": "vector2", + "type": "Collection(Edm.Single)", + "searchable": true, + "filterable": false, + "retrievable": true, + "stored": true, + "sortable": false, + "facetable": false, + "key": false, + "dimensions": 5, + "vectorSearchProfile": "config3", + "synonymMaps": [] + }, + { + "name": "vector3", + "type": "Collection(Edm.Single)", + "searchable": true, + "filterable": false, + "retrievable": true, + "stored": true, + "sortable": false, + "facetable": false, + "key": false, + "dimensions": 5, + "vectorSearchProfile": "config3", + "synonymMaps": [] + }, + { + "name": "vector22", + "type": "Collection(Edm.Single)", + "searchable": true, + "filterable": false, + "retrievable": true, + "stored": true, + "sortable": false, + "facetable": false, + "key": false, + "dimensions": 10, + "vectorSearchProfile": "config2", + "synonymMaps": [] + }, + { + "name": "vector4", + "type": "Collection(Edm.Single)", + "searchable": true, + "filterable": false, + "retrievable": true, + "stored": true, + "sortable": false, + "facetable": false, + "key": false, + "dimensions": 32, + "vectorSearchProfile": "config4", + "synonymMaps": [] + }, + { + "name": "name", + "type": "Edm.String", + "searchable": true, + "filterable": true, + "retrievable": true, + "stored": true, + "sortable": true, + "facetable": true, + "key": false, + "analyzer": "en.lucene", + "synonymMaps": [] + }, + { + "name": "description", + "type": "Edm.String", + "searchable": true, + "filterable": true, + "retrievable": true, + "stored": true, + "sortable": true, + "facetable": true, + "key": false, + "analyzer": "standard.lucene", + "synonymMaps": [] + }, + { + "name": "category", + "type": "Edm.String", + "searchable": true, + "filterable": true, + "retrievable": true, + "stored": true, + "sortable": true, + "facetable": true, + "key": false, + "analyzer": "en.lucene", + "synonymMaps": [] + }, + { + "name": "ownerId", + "type": "Edm.String", + "searchable": true, + "filterable": true, + "retrievable": true, + "stored": true, + "sortable": true, + "facetable": true, + "key": false, + "analyzer": "en.lucene", + "synonymMaps": [] + }, + { + "name": "price", + "type": "Edm.Double", + "searchable": false, + "filterable": true, + "retrievable": true, + "stored": true, + "sortable": true, + "facetable": true, + "key": false, + "synonymMaps": [] + }, + { + "name": "permissionFilters", + "type": "Collection(Edm.String)", + "searchable": true, + "filterable": true, + "retrievable": true, + "stored": true, + "sortable": false, + "facetable": true, + "key": false, + "permissionFilter": "userIds", + "synonymMaps": [] + }, + { + "name": "sensitivityLabels", + "type": "Collection(Edm.String)", + "searchable": true, + "filterable": true, + "retrievable": true, + "stored": true, + "sortable": false, + "facetable": true, + "key": false, + "sensitivityLabel": true, + "synonymMaps": [] + } + ], + "scoringProfiles": [ + { + "name": "stringFieldBoost", + "functionAggregation": "sum", + "text": { + "weights": { + "name": 3.0, + "description": 1.0, + "category": 2.0, + "ownerId": 1.0 + } + }, + "functions": [ + { + "fieldName": "category", + "interpolation": "linear", + "type": "tag", + "boost": 2.0, + "tag": { + "tagsParameter": "categoryTag" + } + } + ] + } + ], + "corsOptions": { + "allowedOrigins": [ + "https://www.example.com/foo" + ], + "maxAgeInSeconds": 10 + }, + "suggesters": [ + { + "name": "sg", + "searchMode": "analyzingInfixMatching", + "sourceFields": [ + "category", + "ownerId" + ] + } + ], + "analyzers": [ + { + "@odata.type": "#Microsoft.Azure.Search.CustomAnalyzer", + "name": "tagsAnalyzer", + "tokenizer": "standard_v2", + "tokenFilters": [ + "common_grams" + ], + "charFilters": [ + "html_strip" + ] + } + ], + "normalizers": [ + { + "@odata.type": "#Microsoft.Azure.Search.CustomNormalizer", + "name": "my_normalizer", + "tokenFilters": [ + "my_tokenFilter" + ], + "charFilters": [ + "my_mapping" + ] + } + ], + "tokenizers": [ + { + "@odata.type": "#Microsoft.Azure.Search.StandardTokenizerV2", + "name": "my_tokenizer", + "maxTokenLength": 100 + } + ], + "tokenFilters": [ + { + "@odata.type": "#Microsoft.Azure.Search.AsciiFoldingTokenFilter", + "name": "my_tokenFilter", + "preserveOriginal": false + } + ], + "charFilters": [ + { + "@odata.type": "#Microsoft.Azure.Search.MappingCharFilter", + "name": "my_mapping", + "mappings": [ + ".=>,", + "_=>-" + ] + } + ], + "similarity": { + "@odata.type": "#Microsoft.Azure.Search.BM25Similarity", + "k1": 10.0, + "b": 0.1 + }, + "semantic": { + "defaultConfiguration": "testconfig", + "configurations": [ + { + "name": "testconfig", + "flightingOptIn": true, + "rankingOrder": "BoostedRerankerScore", + "prioritizedFields": { + "titleField": { + "fieldName": "category" + }, + "prioritizedContentFields": [ + { + "fieldName": "description" + } + ], + "prioritizedKeywordsFields": [ + { + "fieldName": "ownerId" + } + ] + } + } + ] + }, + "vectorSearch": { + "algorithms": [ + { + "name": "cosine", + "kind": "hnsw", + "hnswParameters": { + "metric": "cosine", + "m": 4, + "efConstruction": 400, + "efSearch": 500 + } + }, + { + "name": "euclidean", + "kind": "hnsw", + "hnswParameters": { + "metric": "euclidean", + "m": 4, + "efConstruction": 400, + "efSearch": 500 + } + }, + { + "name": "dotProduct", + "kind": "hnsw", + "hnswParameters": { + "metric": "dotProduct", + "m": 4, + "efConstruction": 400, + "efSearch": 500 + } + } + ], + "profiles": [ + { + "name": "config1", + "algorithm": "cosine", + "vectorizer": "openai", + "compression": "mySQ8" + }, + { + "name": "config2", + "algorithm": "euclidean", + "vectorizer": "custom-web-api", + "compression": "mySQ8" + }, + { + "name": "config3", + "algorithm": "dotProduct", + "vectorizer": "custom-web-api", + "compression": "myBQC" + }, + { + "name": "config4", + "algorithm": "dotProduct", + "vectorizer": "custom-web-api", + "compression": "myBQWithoutOriginals" + } + ], + "vectorizers": [ + { + "name": "openai", + "kind": "azureOpenAI", + "azureOpenAIParameters": { + "resourceUri": "https://test-sample.openai.azure.com", + "deploymentId": "model", + "apiKey": "", + "modelName": "text-embedding-3-large" + } + }, + { + "name": "custom-web-api", + "kind": "customWebApi", + "customWebApiParameters": { + "httpMethod": "POST", + "uri": "https://my-custom-endpoint.org/", + "timeout": "PT1M", + "authResourceId": "api://f89d1c93-58a7-4b07-9a5b-5f89048b927b", + "httpHeaders": { + "header1": "value1", + "header2": "value2" + }, + "authIdentity": { + "@odata.type": "#Microsoft.Azure.Search.DataNoneIdentity" + } + } + }, + { + "name": "aml", + "kind": "aml", + "amlParameters": { + "resourceId": "aml resource id", + "region": "aml region", + "uri": "https://my-custom-endpoint.org/", + "timeout": "PT1M", + "modelName": "OpenAI-CLIP-Image-Text-Embeddings-vit-base-patch32" + } + }, + { + "name": "aml-cohere", + "kind": "aml", + "amlParameters": { + "resourceId": "aml resource id", + "region": "aml region", + "uri": "https://my-custom-endpoint.org/", + "timeout": "PT1M", + "modelName": "Cohere-embed-v4" + } + } + ], + "compressions": [ + { + "name": "mySQ8", + "kind": "scalarQuantization", + "truncationDimension": 2, + "scalarQuantizationParameters": { + "quantizedDataType": "int8" + }, + "rescoringOptions": { + "enableRescoring": true, + "defaultOversampling": 10.0, + "rescoreStorageMethod": "preserveOriginals" + } + }, + { + "name": "myBQC", + "kind": "binaryQuantization", + "truncationDimension": 2, + "rescoringOptions": { + "enableRescoring": true, + "defaultOversampling": 10.0, + "rescoreStorageMethod": "preserveOriginals" + } + }, + { + "name": "myBQWithoutOriginals", + "kind": "binaryQuantization", + "truncationDimension": 2, + "rescoringOptions": { + "enableRescoring": true, + "defaultOversampling": 10.0, + "rescoreStorageMethod": "discardOriginals" + } + } + ] + } + } + ] + } + } + } +} diff --git a/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceListKnowledgeBases.json b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceListKnowledgeBases.json new file mode 100644 index 000000000000..3ae238ee2384 --- /dev/null +++ b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceListKnowledgeBases.json @@ -0,0 +1,53 @@ +{ + "operationId": "KnowledgeBases_List", + "title": "SearchServiceListKnowledgeBases", + "parameters": { + "endpoint": "https://previewexampleservice.search.windows.net", + "api-version": "2025-11-01-preview", + "x-ms-client-request-id": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "@odata.etag": "0x1234568AE7E58A1", + "name": "base-preview-test", + "description": "Description of the knowledge base.", + "retrievalInstructions": "Instructions for retrieval for the knowledge base.", + "answerInstructions": "Instructions for answer synthesis.", + "outputMode": "extractiveData", + "knowledgeSources": [ + { + "name": "ks-preview-test" + } + ], + "models": [ + { + "kind": "azureOpenAI", + "azureOpenAIParameters": { + "resourceUri": "https://test-sample.openai.azure.com", + "deploymentId": "myDeployment", + "apiKey": "", + "modelName": "gpt-4o-mini" + } + } + ], + "encryptionKey": { + "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault", + "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString", + "keyVaultUri": "https://myKeyVault.vault.azure.net", + "accessCredentials": { + "applicationId": "00000000-0000-0000-0000-000000000000", + "applicationSecret": "" + } + }, + "retrievalReasoningEffort": { + "kind": "low" + } + } + ] + } + } + } +} diff --git a/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceListKnowledgeSources.json b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceListKnowledgeSources.json new file mode 100644 index 000000000000..60b79d65a749 --- /dev/null +++ b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceListKnowledgeSources.json @@ -0,0 +1,49 @@ +{ + "operationId": "KnowledgeSources_List", + "title": "SearchServiceListKnowledgeSources", + "parameters": { + "endpoint": "https://previewexampleservice.search.windows.net", + "api-version": "2025-11-01-preview", + "x-ms-client-request-id": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "@odata.etag": "0x1234568AE7E58A1", + "name": "ks-preview-test", + "kind": "searchIndex", + "description": "Description of the knowledge source.", + "encryptionKey": { + "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault", + "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString", + "keyVaultUri": "https://myKeyVault.vault.azure.net", + "accessCredentials": { + "applicationId": "00000000-0000-0000-0000-000000000000", + "applicationSecret": "" + } + }, + "searchIndexParameters": { + "searchIndexName": "preview-test", + "semanticConfigurationName": "testconfig", + "sourceDataFields": [ + { + "name": "description" + }, + { + "name": "category" + } + ], + "searchFields": [ + { + "name": "*" + } + ] + } + } + ] + } + } + } +} diff --git a/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceListKnowledgeSourcesAzureBlob.json b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceListKnowledgeSourcesAzureBlob.json new file mode 100644 index 000000000000..bedab455254c --- /dev/null +++ b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceListKnowledgeSourcesAzureBlob.json @@ -0,0 +1,83 @@ +{ + "operationId": "KnowledgeSources_List", + "title": "SearchServiceListKnowledgeSourcesAzureBlob", + "parameters": { + "endpoint": "https://previewexampleservice.search.windows.net", + "api-version": "2025-11-01-preview", + "x-ms-client-request-id": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "@odata.etag": "0x1234568AE7E58A1", + "name": "ks-preview-test", + "kind": "azureBlob", + "description": "Description of the knowledge source.", + "encryptionKey": { + "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault", + "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString", + "keyVaultUri": "https://myKeyVault.vault.azure.net", + "accessCredentials": { + "applicationId": "00000000-0000-0000-0000-000000000000", + "applicationSecret": "" + } + }, + "azureBlobParameters": { + "connectionString": "DefaultEndpointsProtocol=https;AccountName=myAccountName;AccountKey=myAccountKey;EndpointSuffix=core.windows.net ", + "containerName": "test-container", + "folderPath": "test-path", + "isADLSGen2": false, + "ingestionParameters": { + "disableImageVerbalization": false, + "ingestionPermissionOptions": [ + "userIds", + "groupIds", + "rbacScope" + ], + "contentExtractionMode": "standard", + "identity": { + "@odata.type": "#Microsoft.Azure.Search.DataUserAssignedIdentity", + "userAssignedIdentity": "/my/userassigned/id" + }, + "embeddingModel": { + "kind": "azureOpenAI", + "azureOpenAIParameters": { + "resourceUri": "https://test-sample.openai.azure.com", + "deploymentId": "model", + "apiKey": "", + "modelName": "text-embedding-3-large" + } + }, + "chatCompletionModel": { + "kind": "azureOpenAI", + "azureOpenAIParameters": { + "resourceUri": "https://test-sample.openai.azure.com", + "deploymentId": "myDeployment", + "apiKey": "", + "modelName": "gpt-4o-mini" + } + }, + "ingestionSchedule": { + "interval": "P1D", + "startTime": "2024-06-06T00:01:50.265Z" + }, + "aiServices": { + "uri": "https://my-ai-service.azure.com/", + "apiKey": "" + } + }, + "createdResources": { + "datasource": "ks-preview-test-datasource", + "indexer": "ks-preview-test-indexer", + "skillset": "ks-preview-test-skillset", + "index": "ks-preview-test-index" + } + } + } + ] + } + } + } +} diff --git a/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceListKnowledgeSourcesIndexedOneLake.json b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceListKnowledgeSourcesIndexedOneLake.json new file mode 100644 index 000000000000..3687cf7b659b --- /dev/null +++ b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceListKnowledgeSourcesIndexedOneLake.json @@ -0,0 +1,82 @@ +{ + "operationId": "KnowledgeSources_List", + "title": "SearchServiceListKnowledgeSourcesIndexedOneLake", + "parameters": { + "endpoint": "https://previewexampleservice.search.windows.net", + "api-version": "2025-11-01-preview", + "x-ms-client-request-id": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "@odata.etag": "0x1234568AE7E58A1", + "name": "ks-preview-test", + "kind": "indexedOneLake", + "description": "Description of the OneLake knowledge source.", + "encryptionKey": { + "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault", + "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString", + "keyVaultUri": "https://myKeyVault.vault.azure.net", + "accessCredentials": { + "applicationId": "00000000-0000-0000-0000-000000000000", + "applicationSecret": "" + } + }, + "indexedOneLakeParameters": { + "fabricWorkspaceId": "", + "lakehouseId": "fakeLakehouseId", + "targetPath": "testfolder", + "ingestionParameters": { + "disableImageVerbalization": false, + "ingestionPermissionOptions": [ + "userIds", + "groupIds", + "rbacScope" + ], + "contentExtractionMode": "standard", + "identity": { + "@odata.type": "#Microsoft.Azure.Search.DataUserAssignedIdentity", + "userAssignedIdentity": "/my/userassigned/id" + }, + "embeddingModel": { + "kind": "azureOpenAI", + "azureOpenAIParameters": { + "resourceUri": "https://test-sample.openai.azure.com", + "deploymentId": "model", + "apiKey": "", + "modelName": "text-embedding-3-large" + } + }, + "chatCompletionModel": { + "kind": "azureOpenAI", + "azureOpenAIParameters": { + "resourceUri": "https://test-sample.openai.azure.com", + "deploymentId": "myDeployment", + "apiKey": "", + "modelName": "gpt-4o-mini" + } + }, + "ingestionSchedule": { + "interval": "P1D", + "startTime": "2024-06-06T00:01:50.265Z" + }, + "aiServices": { + "uri": "https://my-ai-service.azure.com/", + "apiKey": "" + } + }, + "createdResources": { + "datasource": "ks-preview-test-datasource", + "indexer": "ks-preview-test-indexer", + "skillset": "ks-preview-test-skillset", + "index": "ks-preview-test-index" + } + } + } + ] + } + } + } +} diff --git a/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceListKnowledgeSourcesIndexedSharePoint.json b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceListKnowledgeSourcesIndexedSharePoint.json new file mode 100644 index 000000000000..ef817f655de0 --- /dev/null +++ b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceListKnowledgeSourcesIndexedSharePoint.json @@ -0,0 +1,82 @@ +{ + "operationId": "KnowledgeSources_List", + "title": "SearchServiceListKnowledgeSourcesIndexedSharePoint", + "parameters": { + "endpoint": "https://previewexampleservice.search.windows.net", + "api-version": "2025-11-01-preview", + "x-ms-client-request-id": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "@odata.etag": "0x1234568AE7E58A1", + "name": "ks-preview-test", + "kind": "indexedSharePoint", + "description": "Description of the SharePoint knowledge source.", + "encryptionKey": { + "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault", + "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString", + "keyVaultUri": "https://myKeyVault.vault.azure.net", + "accessCredentials": { + "applicationId": "00000000-0000-0000-0000-000000000000", + "applicationSecret": "" + } + }, + "indexedSharePointParameters": { + "connectionString": "DefaultEndpointsProtocol=https;AccountName=myAccountName;AccountKey=myAccountKey;EndpointSuffix=core.windows.net ", + "containerName": "defaultSiteLibrary", + "query": "*.docx OR *.pdf", + "ingestionParameters": { + "disableImageVerbalization": false, + "ingestionPermissionOptions": [ + "userIds", + "groupIds", + "rbacScope" + ], + "contentExtractionMode": "standard", + "identity": { + "@odata.type": "#Microsoft.Azure.Search.DataUserAssignedIdentity", + "userAssignedIdentity": "/my/userassigned/id" + }, + "embeddingModel": { + "kind": "azureOpenAI", + "azureOpenAIParameters": { + "resourceUri": "https://test-sample.openai.azure.com", + "deploymentId": "model", + "apiKey": "", + "modelName": "text-embedding-3-large" + } + }, + "chatCompletionModel": { + "kind": "azureOpenAI", + "azureOpenAIParameters": { + "resourceUri": "https://test-sample.openai.azure.com", + "deploymentId": "myDeployment", + "apiKey": "", + "modelName": "gpt-4o-mini" + } + }, + "ingestionSchedule": { + "interval": "P1D", + "startTime": "2024-06-06T00:01:50.265Z" + }, + "aiServices": { + "uri": "https://my-ai-service.azure.com/", + "apiKey": "" + } + }, + "createdResources": { + "datasource": "ks-preview-test-datasource", + "indexer": "ks-preview-test-indexer", + "skillset": "ks-preview-test-skillset", + "index": "ks-preview-test-index" + } + } + } + ] + } + } + } +} diff --git a/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceListKnowledgeSourcesIngestedSharePoint.json b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceListKnowledgeSourcesIngestedSharePoint.json new file mode 100644 index 000000000000..f66c1d525f55 --- /dev/null +++ b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceListKnowledgeSourcesIngestedSharePoint.json @@ -0,0 +1,74 @@ +{ + "operationId": "KnowledgeSources_List", + "title": "SearchServiceListKnowledgeSourcesIngestedSharePoint", + "parameters": { + "endpoint": "https://previewexampleservice.search.windows.net", + "api-version": "2025-11-01-preview", + "x-ms-client-request-id": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "@odata.etag": "0x1234568AE7E58A1", + "name": "ks-preview-test", + "kind": "ingestedSharePoint", + "description": "Description of the SharePoint knowledge source.", + "encryptionKey": { + "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault", + "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString", + "keyVaultUri": "https://myKeyVault.vault.azure.net", + "accessCredentials": { + "applicationId": "00000000-0000-0000-0000-000000000000", + "applicationSecret": "" + } + }, + "ingestedSharePointParameters": { + "connectionString": "DefaultEndpointsProtocol=https;AccountName=myAccountName;AccountKey=myAccountKey;EndpointSuffix=core.windows.net ", + "containerName": "defaultSiteLibrary", + "ingestionParameters": { + "disableImageVerbalization": false, + "ingestionPermissionOptions": [], + "identity": { + "@odata.type": "#Microsoft.Azure.Search.DataUserAssignedIdentity", + "userAssignedIdentity": "/my/userassigned/id" + }, + "embeddingModel": { + "kind": "azureOpenAI", + "azureOpenAIParameters": { + "resourceUri": "https://test-sample.openai.azure.com", + "deploymentId": "model", + "apiKey": "", + "modelName": "text-embedding-3-large" + } + }, + "chatCompletionModel": { + "kind": "azureOpenAI", + "azureOpenAIParameters": { + "resourceUri": "https://test-sample.openai.azure.com", + "deploymentId": "myDeployment", + "apiKey": "", + "modelName": "gpt-4o-mini" + } + }, + "ingestionSchedule": { + "interval": "P1D", + "startTime": "2024-06-06T00:01:50.265Z" + }, + "assetStore": { + "connectionString": "DefaultEndpointsProtocol=https;AccountName=myAccountName;AccountKey=myAccountKey;EndpointSuffix=core.windows.net ", + "containerName": "asset-store-container" + }, + "aiServices": { + "uri": "https://my-ai-service.azure.com/", + "apiKey": "" + } + } + } + } + ] + } + } + } +} diff --git a/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceListKnowledgeSourcesWeb.json b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceListKnowledgeSourcesWeb.json new file mode 100644 index 000000000000..7741fafbb87f --- /dev/null +++ b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceListKnowledgeSourcesWeb.json @@ -0,0 +1,54 @@ +{ + "operationId": "KnowledgeSources_List", + "title": "SearchServiceListKnowledgeSourcesWeb", + "parameters": { + "endpoint": "https://previewexampleservice.search.windows.net", + "api-version": "2025-11-01-preview", + "x-ms-client-request-id": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "@odata.etag": "0x1234568AE7E58A1", + "name": "ks-preview-test", + "kind": "web", + "description": "Description of the knowledge source.", + "encryptionKey": { + "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault", + "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString", + "keyVaultUri": "https://myKeyVault.vault.azure.net", + "accessCredentials": { + "applicationId": "00000000-0000-0000-0000-000000000000", + "applicationSecret": "" + } + }, + "webParameters": { + "domains": { + "allowedDomains": [ + { + "address": "example.com", + "includeSubpages": true + }, + { + "address": "another-example.com" + } + ], + "blockedDomains": [ + { + "address": "blocked.com" + }, + { + "address": "spam.com", + "includeSubpages": true + } + ] + } + } + } + ] + } + } + } +} diff --git a/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceListSkillsets.json b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceListSkillsets.json new file mode 100644 index 000000000000..9af7bcd5c9b6 --- /dev/null +++ b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceListSkillsets.json @@ -0,0 +1,289 @@ +{ + "operationId": "Skillsets_List", + "title": "SearchServiceListSkillsets", + "parameters": { + "endpoint": "https://previewexampleservice.search.windows.net", + "$select": null, + "api-version": "2025-11-01-preview", + "x-ms-client-request-id": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "@odata.etag": "0x1234568AE7E58A1", + "name": "myskillset", + "description": "Skillset for extracting entities and more", + "skills": [ + { + "@odata.type": "#Microsoft.Skills.Text.LanguageDetectionSkill", + "name": "skill2", + "context": "/document", + "inputs": [ + { + "name": "text", + "source": "/document/content", + "inputs": [] + }, + { + "name": "countryHint", + "source": "/document/countryHint", + "inputs": [] + } + ], + "outputs": [ + { + "name": "languageCode", + "targetName": "languageCode" + } + ] + }, + { + "@odata.type": "#Microsoft.Skills.Text.SplitSkill", + "name": "skill3", + "context": "/document", + "defaultLanguageCode": "en", + "textSplitMode": "pages", + "maximumPageLength": 4000, + "pageOverlapLength": 0, + "maximumPagesToTake": 0, + "unit": "azureOpenAITokens", + "inputs": [ + { + "name": "text", + "source": "/document/content", + "inputs": [] + }, + { + "name": "languageCode", + "source": "/document/languageCode", + "inputs": [] + } + ], + "outputs": [ + { + "name": "textItems", + "targetName": "pages" + } + ], + "azureOpenAITokenizerParameters": { + "encoderModelName": "cl100k_base", + "allowedSpecialTokens": [ + "[START]", + "[END]" + ] + } + }, + { + "@odata.type": "#Microsoft.Skills.Text.KeyPhraseExtractionSkill", + "name": "skill4", + "context": "/document/pages/*", + "defaultLanguageCode": "en", + "inputs": [ + { + "name": "text", + "source": "/document/content", + "inputs": [] + }, + { + "name": "languageCode", + "source": "/document/languageCode", + "inputs": [] + } + ], + "outputs": [ + { + "name": "keyPhrases", + "targetName": "keyPhrases" + } + ] + }, + { + "@odata.type": "#Microsoft.Skills.Custom.WebApiSkill", + "name": "skill5", + "context": "/document", + "uri": "https://contoso.example.org/", + "httpMethod": "POST", + "timeout": "PT5S", + "batchSize": 1000, + "inputs": [ + { + "name": "text", + "source": "/document/content", + "inputs": [] + }, + { + "name": "languageCode", + "source": "/document/languageCode", + "inputs": [] + } + ], + "outputs": [ + { + "name": "customresult", + "targetName": "result" + } + ], + "httpHeaders": {} + }, + { + "@odata.type": "#Microsoft.Skills.Util.DocumentIntelligenceLayoutSkill", + "name": "docIntelligenceLayoutSkill", + "context": "/document", + "outputMode": "oneToMany", + "markdownHeaderDepth": "h3", + "outputFormat": "markdown", + "extractionOptions": [], + "inputs": [ + { + "name": "file_data", + "source": "/document/content", + "inputs": [] + } + ], + "outputs": [ + { + "name": "markdown_document", + "targetName": "markdown_document" + } + ] + }, + { + "@odata.type": "#Microsoft.Skills.Util.DocumentIntelligenceLayoutSkill", + "name": "docIntelligenceLayoutSkill#2", + "context": "/document", + "outputMode": "oneToMany", + "outputFormat": "text", + "extractionOptions": [ + "images", + "locationMetadata" + ], + "inputs": [ + { + "name": "file_data", + "source": "/document/content", + "inputs": [] + } + ], + "outputs": [ + { + "name": "text_sections", + "targetName": "text_sections" + }, + { + "name": "normalized_images", + "targetName": "normalized_images" + } + ], + "chunkingProperties": { + "unit": "characters", + "maximumLength": 500, + "overlapLength": 50 + } + }, + { + "@odata.type": "#Microsoft.Skills.Custom.ChatCompletionSkill", + "name": "chatCompletionSkill", + "context": "/document/normalized_images/*", + "uri": "https://azs-grok-aoai.openai.azure.com/openai/deployments/azs-grok-gpt-4o/chat/completions", + "httpMethod": "POST", + "timeout": "PT30S", + "batchSize": 1, + "degreeOfParallelism": 5, + "apiKey": "", + "extraParametersBehavior": "error", + "inputs": [ + { + "name": "text", + "source": "/document/content", + "inputs": [] + }, + { + "name": "systemMessage", + "source": "/document/system_message", + "inputs": [] + }, + { + "name": "userMessage", + "source": "/document/user_message", + "inputs": [] + }, + { + "name": "image", + "source": "/document/normalized_images/*", + "inputs": [] + }, + { + "name": "imageDetail", + "source": "/document/detail", + "inputs": [] + } + ], + "outputs": [ + { + "name": "response", + "targetName": "response" + } + ], + "httpHeaders": {}, + "commonModelParameters": { + "model": "gpt-4o", + "frequencyPenalty": 0, + "presencePenalty": 0, + "maxTokens": 0, + "temperature": 0, + "seed": 0, + "stop": [] + }, + "extraParameters": { + "safe_mode": true + }, + "responseFormat": { + "type": "jsonSchema", + "jsonSchemaProperties": { + "name": "Some Name", + "description": "Some Description", + "strict": true, + "schema": { + "type": "object", + "additionalProperties": false, + "required": [ + "steps", + "answer" + ], + "properties": "{\"steps\": {\"type\": \"array\", \"description\": \"A list of reasoning steps.\", \"items\": {\"type\": \"string\"}}, \"answer\": {\"type\": \"string\", \"description\": \"The final answer.\"}}" + } + } + } + }, + { + "@odata.type": "#Microsoft.Skills.Util.ContentUnderstandingSkill", + "name": "contentUnderstandingSKill", + "context": "/document", + "extractionOptions": [], + "inputs": [ + { + "name": "file_data", + "source": "/document/content", + "inputs": [] + } + ], + "outputs": [ + { + "name": "text_sections", + "targetName": "text_sections2" + }, + { + "name": "normalized_images", + "targetName": "normalized_images2" + } + ] + } + ] + } + ] + } + } + } +} diff --git a/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceListSynonymMaps.json b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceListSynonymMaps.json new file mode 100644 index 000000000000..a99e001718e9 --- /dev/null +++ b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceListSynonymMaps.json @@ -0,0 +1,33 @@ +{ + "operationId": "SynonymMaps_List", + "title": "SearchServiceListSynonymMaps", + "parameters": { + "endpoint": "https://previewexampleservice.search.windows.net", + "$select": null, + "api-version": "2025-11-01-preview", + "x-ms-client-request-id": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "@odata.etag": "0x1234568AE7E58A1", + "name": "mysynonymmap", + "format": "solr", + "synonyms": "United States, United States of America, USA\nWashington, Wash. => WA", + "encryptionKey": { + "keyVaultKeyName": "myUserManagedEncryptionKey-createdinAzureKeyVault", + "keyVaultKeyVersion": "myKeyVersion-32charAlphaNumericString", + "keyVaultUri": "https://myKeyVault.vault.azure.net", + "accessCredentials": { + "applicationId": "00000000-0000-0000-0000-000000000000", + "applicationSecret": "" + } + } + } + ] + } + } + } +} diff --git a/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceResetDocs.json b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceResetDocs.json new file mode 100644 index 000000000000..c8bc18895c2c --- /dev/null +++ b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceResetDocs.json @@ -0,0 +1,21 @@ +{ + "operationId": "Indexers_ResetDocs", + "title": "SearchServiceResetDocs", + "parameters": { + "endpoint": "https://previewexampleservice.search.windows.net", + "indexerName": "myindexer", + "overwrite": true, + "api-version": "2025-11-01-preview", + "x-ms-client-request-id": "00000000-0000-0000-0000-000000000000", + "keysOrIds": { + "documentKeys": [ + "1", + "2", + "3" + ] + } + }, + "responses": { + "204": {} + } +} diff --git a/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceResetIndexer.json b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceResetIndexer.json new file mode 100644 index 000000000000..e837c98621ec --- /dev/null +++ b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceResetIndexer.json @@ -0,0 +1,13 @@ +{ + "operationId": "Indexers_Reset", + "title": "SearchServiceResetIndexer", + "parameters": { + "endpoint": "https://previewexampleservice.search.windows.net", + "indexerName": "myindexer", + "api-version": "2025-11-01-preview", + "x-ms-client-request-id": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "204": {} + } +} diff --git a/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceResetSkills.json b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceResetSkills.json new file mode 100644 index 000000000000..dd8ae12e2973 --- /dev/null +++ b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceResetSkills.json @@ -0,0 +1,20 @@ +{ + "operationId": "Skillsets_ResetSkills", + "title": "SearchServiceResetSkills", + "parameters": { + "endpoint": "https://previewexampleservice.search.windows.net", + "skillsetName": "myskillset", + "api-version": "2025-11-01-preview", + "x-ms-client-request-id": "00000000-0000-0000-0000-000000000000", + "skillNames": { + "skillNames": [ + "skill2", + "skill3", + "skill4" + ] + } + }, + "responses": { + "204": {} + } +} diff --git a/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceResync.json b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceResync.json new file mode 100644 index 000000000000..34717eae8702 --- /dev/null +++ b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceResync.json @@ -0,0 +1,18 @@ +{ + "operationId": "Indexers_Resync", + "title": "SearchServiceResync", + "parameters": { + "endpoint": "https://previewexampleservice.search.windows.net", + "indexerName": "myaclindexer", + "api-version": "2025-11-01-preview", + "x-ms-client-request-id": "00000000-0000-0000-0000-000000000000", + "indexerResync": { + "options": [ + "permissions" + ] + } + }, + "responses": { + "204": {} + } +} diff --git a/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceRunIndexer.json b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceRunIndexer.json new file mode 100644 index 000000000000..53384fceb6ac --- /dev/null +++ b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/examples/SearchServiceRunIndexer.json @@ -0,0 +1,13 @@ +{ + "operationId": "Indexers_Run", + "title": "SearchServiceRunIndexer", + "parameters": { + "endpoint": "https://previewexampleservice.search.windows.net", + "indexerName": "myindexer", + "api-version": "2025-11-01-preview", + "x-ms-client-request-id": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": {} + } +} diff --git a/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/knowledgebase.json b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/knowledgebase.json new file mode 100644 index 000000000000..1403aa8cbf9a --- /dev/null +++ b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/knowledgebase.json @@ -0,0 +1,1139 @@ +{ + "swagger": "2.0", + "info": { + "title": "KnowledgeBaseRetrievalClient", + "description": "Client that can be used to query an knowledge base.", + "version": "2025-11-01-preview", + "x-ms-code-generation-settings": { + "useDateTimeOffset": true, + "syncMethods": "None" + } + }, + "x-ms-parameterized-host": { + "hostTemplate": "{endpoint}/knowledgebases('{knowledgeBaseName}')", + "useSchemePrefix": false, + "parameters": [ + { + "$ref": "#/parameters/EndpointParameter" + }, + { + "$ref": "#/parameters/KnowledgeBaseNameParameter" + } + ] + }, + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": { + "/retrieve": { + "post": { + "tags": [ + "KnowledgeRetrieval" + ], + "operationId": "KnowledgeRetrieval_Retrieve", + "x-ms-examples": { + "KnowledgeBaseRetrieve": { + "$ref": "./examples/KnowledgeBaseRetrieve.json" + }, + "KnowledgeBaseRetrieveWithIntents": { + "$ref": "./examples/KnowledgeBaseRetrieveWithIntents.json" + } + }, + "description": "KnowledgeBase retrieves relevant data from backing stores.", + "parameters": [ + { + "name": "retrievalRequest", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/KnowledgeBaseRetrievalRequest" + }, + "description": "The retrieval request to process." + }, + { + "$ref": "#/parameters/ClientRequestIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/QuerySourceAuthorizationParameter" + } + ], + "x-ms-request-id": "request-id", + "responses": { + "200": { + "description": "The retrieval response is successfully returned.", + "schema": { + "$ref": "#/definitions/KnowledgeBaseRetrievalResponse" + } + }, + "206": { + "description": "A partial retrieval response is returned.", + "schema": { + "$ref": "#/definitions/KnowledgeBaseRetrievalResponse" + } + }, + "default": { + "description": "Error response.", + "schema": { + "$ref": "../../../../../common-types/data-plane/v1/types.json#/definitions/ErrorResponse" + } + } + } + } + } + }, + "definitions": { + "KnowledgeBaseRetrievalRequest": { + "type": "object", + "properties": { + "messages": { + "type": "array", + "items": { + "$ref": "#/definitions/KnowledgeBaseMessage" + }, + "description": "A list of chat message style input." + }, + "intents": { + "type": "array", + "items": { + "$ref": "#/definitions/KnowledgeRetrievalIntent" + }, + "description": "A list of intended queries to execute without model query planning." + }, + "maxRuntimeInSeconds": { + "type": "integer", + "format": "int32", + "description": "The maximum runtime in seconds." + }, + "maxOutputSize": { + "type": "integer", + "format": "int32", + "description": "Limits the maximum size of the content in the output." + }, + "retrievalReasoningEffort": { + "$ref": "#/definitions/KnowledgeRetrievalReasoningEffort" + }, + "includeActivity": { + "type": "boolean", + "description": "Indicates retrieval results should include activity information." + }, + "outputMode": { + "$ref": "#/definitions/KnowledgeRetrievalOutputMode" + }, + "knowledgeSourceParams": { + "type": "array", + "items": { + "$ref": "#/definitions/KnowledgeSourceParams" + }, + "description": "A list of runtime parameters for the knowledge sources." + } + }, + "description": "The input contract for the retrieval request." + }, + "KnowledgeRetrievalReasoningEffort": { + "type": "object", + "discriminator": "kind", + "properties": { + "kind": { + "$ref": "#/definitions/KnowledgeRetrievalReasoningEffortKind", + "x-nullable": false, + "description": "The kind of reasoning effort." + } + }, + "required": [ + "kind" + ] + }, + "KnowledgeRetrievalMinimalReasoningEffort": { + "type": "object", + "x-ms-discriminator-value": "minimal", + "allOf": [ + { + "$ref": "#/definitions/KnowledgeRetrievalReasoningEffort" + } + ], + "description": "Run knowledge retrieval with minimal reasoning effort." + }, + "KnowledgeRetrievalLowReasoningEffort": { + "type": "object", + "x-ms-discriminator-value": "low", + "allOf": [ + { + "$ref": "#/definitions/KnowledgeRetrievalReasoningEffort" + } + ], + "description": "Run knowledge retrieval with low reasoning effort." + }, + "KnowledgeRetrievalMediumReasoningEffort": { + "type": "object", + "x-ms-discriminator-value": "medium", + "allOf": [ + { + "$ref": "#/definitions/KnowledgeRetrievalReasoningEffort" + } + ], + "description": "Run knowledge retrieval with medium reasoning effort." + }, + "KnowledgeRetrievalReasoningEffortKind": { + "type": "string", + "enum": [ + "minimal", + "low", + "medium" + ], + "x-ms-enum": { + "name": "KnowledgeRetrievalReasoningEffortKind", + "modelAsString": true, + "values": [ + { + "value": "minimal", + "name": "Minimal", + "description": "Does not perform any source selections, query planning, or iterative search." + }, + { + "value": "low", + "name": "Low", + "description": "Use low reasoning during retrieval." + }, + { + "value": "medium", + "name": "Medium", + "description": "Use a moderate amount of reasoning during retrieval." + } + ] + }, + "description": "The amount of effort to use during retrieval." + }, + "KnowledgeRetrievalOutputMode": { + "type": "string", + "enum": [ + "extractiveData", + "answerSynthesis" + ], + "x-ms-enum": { + "name": "KnowledgeRetrievalOutputMode", + "modelAsString": true, + "values": [ + { + "value": "extractiveData", + "name": "ExtractiveData", + "description": "Return data from the knowledge sources directly without generative alteration." + }, + { + "value": "answerSynthesis", + "name": "AnswerSynthesis", + "description": "Synthesize an answer for the response payload." + } + ] + }, + "description": "The output configuration for this retrieval." + }, + "KnowledgeBaseRetrievalResponse": { + "type": "object", + "properties": { + "response": { + "type": "array", + "items": { + "$ref": "#/definitions/KnowledgeBaseMessage" + } + }, + "activity": { + "type": "array", + "items": { + "$ref": "#/definitions/KnowledgeBaseActivityRecord" + }, + "description": "The activity records for tracking progress and billing implications." + }, + "references": { + "type": "array", + "items": { + "$ref": "#/definitions/KnowledgeBaseReference" + }, + "description": "The references for the retrieval data used in the response." + } + }, + "description": "The output contract for the retrieval response." + }, + "KnowledgeSourceParams": { + "type": "object", + "discriminator": "kind", + "properties": { + "knowledgeSourceName": { + "type": "string", + "description": "The name of the index the params apply to." + }, + "includeReferences": { + "type": "boolean", + "description": "Indicates whether references should be included for data retrieved from this source." + }, + "includeReferenceSourceData": { + "type": "boolean", + "description": "Indicates whether references should include the structured data obtained during retrieval in their payload." + }, + "alwaysQuerySource": { + "type": "boolean", + "description": "Indicates that this knowledge source should bypass source selection and always be queried at retrieval time." + }, + "rerankerThreshold": { + "type": "number", + "format": "float", + "description": "The reranker threshold all retrieved documents must meet to be included in the response." + }, + "kind": { + "$ref": "searchservice.json#/definitions/KnowledgeSourceKind", + "x-nullable": false, + "description": "The type of the knowledge source." + } + }, + "required": [ + "knowledgeSourceName", + "kind" + ] + }, + "SearchIndexKnowledgeSourceParams": { + "type": "object", + "x-ms-discriminator-value": "searchIndex", + "allOf": [ + { + "$ref": "#/definitions/KnowledgeSourceParams" + } + ], + "properties": { + "filterAddOn": { + "type": "string", + "description": "A filter condition applied to the index (e.g., 'State eq VA')." + } + }, + "description": "Specifies runtime parameters for a search index knowledge source" + }, + "AzureBlobKnowledgeSourceParams": { + "type": "object", + "x-ms-discriminator-value": "azureBlob", + "allOf": [ + { + "$ref": "#/definitions/KnowledgeSourceParams" + } + ], + "description": "Specifies runtime parameters for a azure blob knowledge source" + }, + "IndexedSharePointKnowledgeSourceParams": { + "type": "object", + "x-ms-discriminator-value": "indexedSharePoint", + "allOf": [ + { + "$ref": "#/definitions/KnowledgeSourceParams" + } + ], + "description": "Specifies runtime parameters for a indexed SharePoint knowledge source" + }, + "IndexedOneLakeKnowledgeSourceParams": { + "type": "object", + "x-ms-discriminator-value": "indexedOneLake", + "allOf": [ + { + "$ref": "#/definitions/KnowledgeSourceParams" + } + ], + "description": "Specifies runtime parameters for a indexed OneLake knowledge source" + }, + "WebKnowledgeSourceParams": { + "type": "object", + "x-ms-discriminator-value": "web", + "allOf": [ + { + "$ref": "#/definitions/KnowledgeSourceParams" + } + ], + "properties": { + "language": { + "type": "string", + "description": "The language of the web results." + }, + "market": { + "type": "string", + "description": "The market of the web results." + }, + "count": { + "type": "integer", + "format": "int32", + "description": "The number of web results to return." + }, + "freshness": { + "type": "string", + "description": "The freshness of web results." + } + }, + "description": "Specifies runtime parameters for a web knowledge source" + }, + "RemoteSharePointKnowledgeSourceParams": { + "type": "object", + "x-ms-discriminator-value": "remoteSharePoint", + "allOf": [ + { + "$ref": "#/definitions/KnowledgeSourceParams" + } + ], + "properties": { + "filterExpressionAddOn": { + "type": "string", + "description": "A filter condition applied to the SharePoint data source. It must be specified in the Keyword Query Language syntax. It will be combined as a conjunction with the filter expression specified in the knowledge source definition." + } + }, + "description": "Specifies runtime parameters for a remote SharePoint knowledge source" + }, + "KnowledgeRetrievalIntent": { + "type": "object", + "discriminator": "type", + "properties": { + "type": { + "$ref": "#/definitions/KnowledgeRetrievalIntentType", + "description": "The type of the intent.", + "x-nullable": false + } + }, + "required": [ + "type" + ], + "description": "An intended query to execute without model query planning." + }, + "KnowledgeRetrievalIntentType": { + "type": "string", + "enum": [ + "semantic" + ], + "x-ms-enum": { + "name": "KnowledgeRetrievalIntentType", + "modelAsString": true, + "values": [ + { + "value": "semantic", + "name": "Semantic", + "description": "A natural language semantic query intent." + } + ] + }, + "description": "The kind of knowledge base configuration to use." + }, + "KnowledgeRetrievalSemanticIntent": { + "type": "object", + "x-ms-discriminator-value": "semantic", + "allOf": [ + { + "$ref": "#/definitions/KnowledgeRetrievalIntent" + } + ], + "properties": { + "search": { + "type": "string", + "description": "The semantic query to execute" + } + }, + "required": [ + "search" + ] + }, + "KnowledgeBaseMessage": { + "type": "object", + "properties": { + "role": { + "type": "string", + "description": "The role of the tool response." + }, + "content": { + "type": "array", + "items": { + "$ref": "#/definitions/KnowledgeBaseMessageContent" + } + } + }, + "required": [ + "content" + ], + "description": "The natural language message style object." + }, + "KnowledgeBaseMessageContent": { + "type": "object", + "discriminator": "type", + "properties": { + "type": { + "$ref": "#/definitions/KnowledgeBaseMessageContentType", + "description": "The type of the message", + "x-nullable": false + } + }, + "required": [ + "type" + ], + "description": "Specifies the type of the message content." + }, + "KnowledgeBaseMessageContentType": { + "type": "string", + "enum": [ + "text", + "image" + ], + "x-ms-enum": { + "name": "KnowledgeBaseMessageContentType", + "modelAsString": true, + "values": [ + { + "value": "text", + "name": "Text", + "description": "Text message content kind." + }, + { + "value": "image", + "name": "Image", + "description": "Image message content kind." + } + ] + }, + "description": "The type of message content." + }, + "KnowledgeBaseMessageTextContent": { + "type": "object", + "x-ms-discriminator-value": "text", + "allOf": [ + { + "$ref": "#/definitions/KnowledgeBaseMessageContent" + } + ], + "properties": { + "text": { + "type": "string" + } + }, + "required": [ + "text" + ], + "description": "Text message type." + }, + "KnowledgeBaseMessageImageContent": { + "type": "object", + "x-ms-discriminator-value": "image", + "allOf": [ + { + "$ref": "#/definitions/KnowledgeBaseMessageContent" + } + ], + "properties": { + "image": { + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri", + "description": "The url of the image." + } + }, + "required": [ + "url" + ] + } + }, + "required": [ + "image" + ], + "description": "Text message type." + }, + "KnowledgeBaseActivityRecord": { + "type": "object", + "discriminator": "type", + "properties": { + "id": { + "type": "integer", + "format": "int32", + "description": "The ID of the activity record." + }, + "type": { + "type": "string", + "description": "The type of the activity record." + }, + "elapsedMs": { + "type": "integer", + "format": "int32", + "description": "The elapsed time in milliseconds for the retrieval activity." + }, + "error": { + "$ref": "#/definitions/KnowledgeBaseErrorDetail", + "description": "The error detail explaining why the operation failed. This property is only included when the activity does not succeed." + } + }, + "required": [ + "id", + "type" + ], + "description": "Base type for activity records." + }, + "KnowledgeBaseRetrievalActivityRecord": { + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/KnowledgeBaseActivityRecord" + } + ], + "properties": { + "knowledgeSourceName": { + "type": "string", + "description": "The knowledge source for the retrieval activity." + }, + "queryTime": { + "type": "string", + "format": "date-time", + "description": "The query time for this retrieval activity." + }, + "count": { + "type": "integer", + "format": "int32", + "description": "The count of documents retrieved that were sufficiently relevant to pass the reranker threshold." + } + }, + "description": "Represents a retrieval activity record." + }, + "KnowledgeBaseSearchIndexActivityRecord": { + "type": "object", + "x-ms-discriminator-value": "searchIndex", + "allOf": [ + { + "$ref": "#/definitions/KnowledgeBaseRetrievalActivityRecord" + } + ], + "properties": { + "searchIndexArguments": { + "$ref": "#/definitions/KnowledgeBaseSearchIndexActivityArguments", + "description": "The search index arguments for the retrieval activity." + } + }, + "description": "Represents a search index retrieval activity record." + }, + "KnowledgeBaseSearchIndexActivityArguments": { + "type": "object", + "properties": { + "search": { + "type": "string", + "description": "The search string used to query the search index." + }, + "filter": { + "type": "string", + "description": "The filter string." + }, + "sourceDataFields": { + "type": "array", + "items": { + "$ref": "searchservice.json#/definitions/SearchIndexFieldReference" + }, + "description": "What fields were selected for search." + }, + "searchFields": { + "type": "array", + "items": { + "$ref": "searchservice.json#/definitions/SearchIndexFieldReference" + }, + "description": "What fields were searched against." + }, + "semanticConfigurationName": { + "type": "string", + "description": "What semantic configuration was used from the search index." + } + }, + "description": "Represents the arguments the search index retrieval activity was run with." + }, + "KnowledgeBaseAzureBlobActivityRecord": { + "type": "object", + "x-ms-discriminator-value": "azureBlob", + "allOf": [ + { + "$ref": "#/definitions/KnowledgeBaseRetrievalActivityRecord" + } + ], + "properties": { + "azureBlobArguments": { + "$ref": "#/definitions/KnowledgeBaseAzureBlobActivityArguments", + "description": "The azure blob arguments for the retrieval activity." + } + }, + "description": "Represents a azure blob retrieval activity record." + }, + "KnowledgeBaseAzureBlobActivityArguments": { + "type": "object", + "properties": { + "search": { + "type": "string", + "description": "The search string used to query blob contents." + } + }, + "description": "Represents the arguments the azure blob retrieval activity was run with." + }, + "KnowledgeBaseIndexedSharePointActivityRecord": { + "type": "object", + "x-ms-discriminator-value": "indexedSharePoint", + "allOf": [ + { + "$ref": "#/definitions/KnowledgeBaseRetrievalActivityRecord" + } + ], + "properties": { + "indexedSharePointArguments": { + "$ref": "#/definitions/KnowledgeBaseIndexedSharePointActivityArguments", + "description": "The indexed SharePoint arguments for the retrieval activity." + } + }, + "description": "Represents a indexed SharePoint retrieval activity record." + }, + "KnowledgeBaseIndexedSharePointActivityArguments": { + "type": "object", + "properties": { + "search": { + "type": "string", + "description": "The search string used to query indexed SharePoint contents." + } + }, + "description": "Represents the arguments the indexed SharePoint retrieval activity was run with." + }, + "KnowledgeBaseIndexedOneLakeActivityRecord": { + "type": "object", + "x-ms-discriminator-value": "indexedOneLake", + "allOf": [ + { + "$ref": "#/definitions/KnowledgeBaseRetrievalActivityRecord" + } + ], + "properties": { + "indexedOneLakeArguments": { + "$ref": "#/definitions/KnowledgeBaseIndexedOneLakeActivityArguments", + "description": "The indexed OneLake arguments for the retrieval activity." + } + }, + "description": "Represents a indexed OneLake retrieval activity record." + }, + "KnowledgeBaseIndexedOneLakeActivityArguments": { + "type": "object", + "properties": { + "search": { + "type": "string", + "description": "The search string used to query indexed OneLake contents." + } + }, + "description": "Represents the arguments the indexed OneLake retrieval activity was run with." + }, + "KnowledgeBaseWebActivityRecord": { + "type": "object", + "x-ms-discriminator-value": "web", + "allOf": [ + { + "$ref": "#/definitions/KnowledgeBaseRetrievalActivityRecord" + } + ], + "properties": { + "webArguments": { + "$ref": "#/definitions/KnowledgeBaseWebActivityArguments", + "description": "The web arguments for the retrieval activity." + } + }, + "description": "Represents a web retrieval activity record." + }, + "KnowledgeBaseWebActivityArguments": { + "type": "object", + "properties": { + "search": { + "type": "string", + "description": "The search string used to query the web." + }, + "language": { + "type": "string", + "description": "The language for the retrieval activity." + }, + "market": { + "type": "string", + "description": "The market for the retrieval activity." + }, + "count": { + "type": "integer", + "format": "int32", + "description": "The number of web results returned." + }, + "freshness": { + "type": "string", + "description": "The freshness for the retrieval activity." + } + }, + "description": "Represents the arguments the web retrieval activity was run with." + }, + "KnowledgeBaseRemoteSharePointActivityRecord": { + "type": "object", + "x-ms-discriminator-value": "remoteSharePoint", + "allOf": [ + { + "$ref": "#/definitions/KnowledgeBaseRetrievalActivityRecord" + } + ], + "properties": { + "remoteSharePointArguments": { + "$ref": "#/definitions/KnowledgeBaseRemoteSharePointActivityArguments", + "description": "The remote SharePoint arguments for the retrieval activity." + } + }, + "description": "Represents a remote SharePoint retrieval activity record." + }, + "KnowledgeBaseRemoteSharePointActivityArguments": { + "type": "object", + "properties": { + "search": { + "type": "string", + "description": "The search string used to query the remote SharePoint knowledge source." + }, + "filterExpressionAddOn": { + "type": "string", + "description": "The filter expression add-on for the retrieval activity." + } + }, + "description": "Represents the arguments the remote SharePoint retrieval activity was run with." + }, + "KnowledgeBaseModelQueryPlanningActivityRecord": { + "type": "object", + "x-ms-discriminator-value": "modelQueryPlanning", + "allOf": [ + { + "$ref": "#/definitions/KnowledgeBaseActivityRecord" + } + ], + "properties": { + "inputTokens": { + "type": "integer", + "format": "int32", + "description": "The number of input tokens for the LLM query planning activity." + }, + "outputTokens": { + "type": "integer", + "format": "int32", + "description": "The number of output tokens for the LLM query planning activity." + } + }, + "description": "Represents an LLM query planning activity record." + }, + "KnowledgeBaseModelAnswerSynthesisActivityRecord": { + "type": "object", + "x-ms-discriminator-value": "modelAnswerSynthesis", + "allOf": [ + { + "$ref": "#/definitions/KnowledgeBaseActivityRecord" + } + ], + "properties": { + "inputTokens": { + "type": "integer", + "format": "int32", + "description": "The number of input tokens for the LLM answer synthesis activity." + }, + "outputTokens": { + "type": "integer", + "format": "int32", + "description": "The number of output tokens for the LLM answer synthesis activity." + } + }, + "description": "Represents an LLM answer synthesis activity record." + }, + "KnowledgeBaseAgenticReasoningActivityRecord": { + "type": "object", + "x-ms-discriminator-value": "agenticReasoning", + "allOf": [ + { + "$ref": "#/definitions/KnowledgeBaseActivityRecord" + } + ], + "properties": { + "reasoningTokens": { + "type": "integer", + "format": "int32", + "description": "The number of input tokens for agentic reasoning." + }, + "retrievalReasoningEffort": { + "$ref": "#/definitions/KnowledgeRetrievalReasoningEffort" + } + }, + "description": "Represents an agentic reasoning activity record." + }, + "KnowledgeBaseReference": { + "type": "object", + "discriminator": "type", + "properties": { + "type": { + "type": "string", + "description": "The type of the reference." + }, + "id": { + "type": "string", + "description": "The ID of the reference." + }, + "activitySource": { + "type": "integer", + "format": "int32", + "description": "The source activity ID for the reference." + }, + "sourceData": { + "type": "object", + "additionalProperties": true + }, + "rerankerScore": { + "type": "number", + "format": "float", + "description": "The reranker score for the document reference." + } + }, + "required": [ + "type", + "id", + "activitySource" + ], + "description": "Base type for references." + }, + "KnowledgeBaseSearchIndexReference": { + "type": "object", + "x-ms-discriminator-value": "searchIndex", + "allOf": [ + { + "$ref": "#/definitions/KnowledgeBaseReference" + } + ], + "properties": { + "docKey": { + "type": "string", + "description": "The document key for the reference." + } + }, + "description": "Represents an Azure Search document reference." + }, + "KnowledgeBaseAzureBlobReference": { + "type": "object", + "x-ms-discriminator-value": "azureBlob", + "allOf": [ + { + "$ref": "#/definitions/KnowledgeBaseReference" + } + ], + "properties": { + "blobUrl": { + "type": "string", + "description": "The blob URL for the reference." + } + }, + "description": "Represents an Azure Blob Storage document reference." + }, + "KnowledgeBaseIndexedSharePointReference": { + "type": "object", + "x-ms-discriminator-value": "indexedSharePoint", + "allOf": [ + { + "$ref": "#/definitions/KnowledgeBaseReference" + } + ], + "properties": { + "docUrl": { + "type": "string", + "description": "The document URL for the reference." + } + }, + "description": "Represents an Azure Blob Storage document reference." + }, + "KnowledgeBaseIndexedOneLakeReference": { + "type": "object", + "x-ms-discriminator-value": "indexedOneLake", + "allOf": [ + { + "$ref": "#/definitions/KnowledgeBaseReference" + } + ], + "properties": { + "docUrl": { + "type": "string", + "description": "The document URL for the reference." + } + }, + "description": "Represents an Azure Blob Storage document reference." + }, + "KnowledgeBaseWebReference": { + "type": "object", + "x-ms-discriminator-value": "web", + "allOf": [ + { + "$ref": "#/definitions/KnowledgeBaseReference" + } + ], + "properties": { + "url": { + "type": "string", + "format": "uri", + "description": "The url the reference data originated from." + }, + "title": { + "type": "string", + "description": "The title of the web document." + } + }, + "description": "Represents a web document reference." + }, + "KnowledgeBaseRemoteSharePointReference": { + "type": "object", + "x-ms-discriminator-value": "remoteSharePoint", + "allOf": [ + { + "$ref": "#/definitions/KnowledgeBaseReference" + } + ], + "properties": { + "webUrl": { + "type": "string", + "format": "uri", + "description": "The url the reference data originated from." + }, + "searchSensitivityLabelInfo": { + "type": "object", + "$ref": "#/definitions/SharePointSensitivityLabelInfo" + } + }, + "description": "Represents a remote SharePoint document reference." + }, + "SharePointSensitivityLabelInfo": { + "type": "object", + "description": "Information about the sensitivity label applied to a SharePoint document.", + "properties": { + "displayName": { + "type": "string", + "description": "The display name for the sensitivity label." + }, + "sensitivityLabelId": { + "type": "string", + "description": "The ID of the sensitivity label." + }, + "tooltip": { + "type": "string", + "description": "The tooltip that should be displayed for the label in a UI." + }, + "priority": { + "type": "integer", + "format": "int32", + "description": "The priority in which the sensitivity label is applied." + }, + "color": { + "type": "string", + "description": "The color that the UI should display for the label, if configured." + }, + "isEncrypted": { + "type": "boolean", + "description": "Indicates whether the sensitivity label enforces encryption." + } + } + }, + "KnowledgeBaseErrorDetail": { + "type": "object", + "description": "The error details.", + "properties": { + "code": { + "readOnly": true, + "type": "string", + "description": "The error code." + }, + "message": { + "readOnly": true, + "type": "string", + "description": "The error message." + }, + "target": { + "readOnly": true, + "type": "string", + "description": "The error target." + }, + "details": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "#/definitions/KnowledgeBaseErrorDetail" + }, + "x-ms-identifiers": [], + "description": "The error details." + }, + "additionalInfo": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "#/definitions/KnowledgeBaseErrorAdditionalInfo" + }, + "x-ms-identifiers": [], + "description": "The error additional info." + } + } + }, + "KnowledgeBaseErrorAdditionalInfo": { + "type": "object", + "properties": { + "type": { + "readOnly": true, + "type": "string", + "description": "The additional info type." + }, + "info": { + "readOnly": true, + "type": "object", + "description": "The additional info." + } + }, + "description": "The resource management error additional info." + } + }, + "parameters": { + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "Client Api Version.", + "x-ms-parameter-location": "client" + }, + "ClientRequestIdParameter": { + "name": "x-ms-client-request-id", + "in": "header", + "required": false, + "type": "string", + "format": "uuid", + "description": "The tracking ID sent with the request to help with debugging.", + "x-ms-client-request-id": true, + "x-ms-parameter-grouping": { + "name": "request-options" + }, + "x-ms-parameter-location": "method" + }, + "QuerySourceAuthorizationParameter": { + "name": "x-ms-query-source-authorization", + "in": "header", + "required": false, + "type": "string", + "description": "Token identifying the user for which the query is being executed. This token is used to enforce security restrictions on documents.", + "x-ms-query-source-authorization": true, + "x-ms-parameter-location": "method" + }, + "EndpointParameter": { + "name": "endpoint", + "in": "path", + "required": true, + "type": "string", + "format": "url", + "x-ms-skip-url-encoding": true, + "description": "The endpoint URL of the search service.", + "x-ms-parameter-location": "client" + }, + "KnowledgeBaseNameParameter": { + "name": "knowledgeBaseName", + "in": "path", + "required": true, + "type": "string", + "x-ms-skip-url-encoding": false, + "description": "The name of the knowledge base.", + "x-ms-parameter-location": "client" + } + } +} diff --git a/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/searchindex.json b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/searchindex.json new file mode 100644 index 000000000000..75acf68de84a --- /dev/null +++ b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/searchindex.json @@ -0,0 +1,3444 @@ +{ + "swagger": "2.0", + "info": { + "title": "SearchIndexClient", + "description": "Client that can be used to query an index and upload, merge, or delete documents.", + "version": "2025-11-01-preview", + "x-ms-code-generation-settings": { + "useDateTimeOffset": true, + "syncMethods": "None" + } + }, + "x-ms-parameterized-host": { + "hostTemplate": "{endpoint}/indexes('{indexName}')", + "useSchemePrefix": false, + "parameters": [ + { + "$ref": "#/parameters/EndpointParameter" + }, + { + "$ref": "#/parameters/IndexNameParameter" + } + ] + }, + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": { + "/docs/$count": { + "get": { + "tags": [ + "Documents" + ], + "operationId": "Documents_Count", + "externalDocs": { + "url": "https://learn.microsoft.com/rest/api/searchservice/Count-Documents" + }, + "x-ms-examples": { + "SearchIndexCountDocuments": { + "$ref": "./examples/SearchIndexCountDocuments.json" + } + }, + "description": "Queries the number of documents in the index.", + "parameters": [ + { + "$ref": "#/parameters/ClientRequestIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "x-ms-request-id": "request-id", + "responses": { + "200": { + "description": "", + "schema": { + "type": "integer", + "format": "int64" + } + }, + "default": { + "description": "Error response.", + "schema": { + "$ref": "../../../../../common-types/data-plane/v1/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/docs": { + "get": { + "tags": [ + "Documents" + ], + "operationId": "Documents_SearchGet", + "externalDocs": { + "url": "https://learn.microsoft.com/rest/api/searchservice/Search-Documents" + }, + "x-ms-examples": { + "SearchIndexSearchDocumentsGet": { + "$ref": "./examples/SearchIndexSearchDocumentsGet.json" + }, + "SearchIndexSearchDocumentsSemanticGet": { + "$ref": "./examples/SearchIndexSearchDocumentsSemanticGet.json" + } + }, + "description": "Searches for documents in the index.", + "parameters": [ + { + "name": "search", + "in": "query", + "type": "string", + "description": "A full-text search query expression; Use \"*\" or omit this parameter to match all documents.", + "x-ms-client-name": "SearchText" + }, + { + "name": "$count", + "in": "query", + "type": "boolean", + "description": "A value that specifies whether to fetch the total count of results. Default is false. Setting this value to true may have a performance impact. Note that the count returned is an approximation.", + "x-nullable": false, + "x-ms-client-name": "IncludeTotalResultCount", + "x-ms-parameter-grouping": { + "name": "SearchOptions" + } + }, + { + "name": "facet", + "in": "query", + "type": "array", + "items": { + "type": "string" + }, + "collectionFormat": "multi", + "description": "The list of facet expressions to apply to the search query. Each facet expression contains a field name, optionally followed by a comma-separated list of name:value pairs.", + "x-ms-client-name": "Facets", + "x-ms-parameter-grouping": { + "name": "SearchOptions" + } + }, + { + "name": "$filter", + "in": "query", + "type": "string", + "description": "The OData $filter expression to apply to the search query.", + "x-ms-parameter-grouping": { + "name": "SearchOptions" + } + }, + { + "name": "highlight", + "in": "query", + "type": "array", + "items": { + "type": "string" + }, + "description": "The list of field names to use for hit highlights. Only searchable fields can be used for hit highlighting.", + "x-ms-client-name": "HighlightFields", + "x-ms-parameter-grouping": { + "name": "SearchOptions" + } + }, + { + "name": "highlightPostTag", + "in": "query", + "type": "string", + "description": "A string tag that is appended to hit highlights. Must be set with highlightPreTag. Default is </em>.", + "x-ms-parameter-grouping": { + "name": "SearchOptions" + } + }, + { + "name": "highlightPreTag", + "in": "query", + "type": "string", + "description": "A string tag that is prepended to hit highlights. Must be set with highlightPostTag. Default is <em>.", + "x-ms-parameter-grouping": { + "name": "SearchOptions" + } + }, + { + "name": "minimumCoverage", + "in": "query", + "type": "number", + "format": "double", + "description": "A number between 0 and 100 indicating the percentage of the index that must be covered by a search query in order for the query to be reported as a success. This parameter can be useful for ensuring search availability even for services with only one replica. The default is 100.", + "x-ms-parameter-grouping": { + "name": "SearchOptions" + } + }, + { + "name": "$orderby", + "in": "query", + "type": "array", + "items": { + "type": "string" + }, + "description": "The list of OData $orderby expressions by which to sort the results. Each expression can be either a field name or a call to either the geo.distance() or the search.score() functions. Each expression can be followed by asc to indicate ascending, and desc to indicate descending. The default is ascending order. Ties will be broken by the match scores of documents. If no OrderBy is specified, the default sort order is descending by document match score. There can be at most 32 $orderby clauses.", + "x-ms-client-name": "OrderBy", + "x-ms-parameter-grouping": { + "name": "SearchOptions" + } + }, + { + "name": "queryType", + "in": "query", + "type": "string", + "enum": [ + "simple", + "full", + "semantic" + ], + "x-ms-enum": { + "name": "QueryType", + "modelAsString": false, + "values": [ + { + "value": "simple", + "name": "Simple", + "description": "Uses the simple query syntax for searches. Search text is interpreted using a simple query language that allows for symbols such as +, * and \"\". Queries are evaluated across all searchable fields by default, unless the searchFields parameter is specified." + }, + { + "value": "full", + "name": "Full", + "description": "Uses the full Lucene query syntax for searches. Search text is interpreted using the Lucene query language which allows field-specific and weighted searches, as well as other advanced features." + }, + { + "value": "semantic", + "name": "Semantic", + "description": "Best suited for queries expressed in natural language as opposed to keywords. Improves precision of search results by re-ranking the top search results using a ranking model trained on the Web corpus." + } + ] + }, + "x-nullable": false, + "description": "A value that specifies the syntax of the search query. The default is 'simple'. Use 'full' if your query uses the Lucene query syntax.", + "x-ms-parameter-grouping": { + "name": "SearchOptions" + } + }, + { + "name": "scoringParameter", + "in": "query", + "type": "array", + "items": { + "type": "string" + }, + "collectionFormat": "multi", + "x-ms-client-name": "ScoringParameters", + "description": "The list of parameter values to be used in scoring functions (for example, referencePointParameter) using the format name-values. For example, if the scoring profile defines a function with a parameter called 'mylocation' the parameter string would be \"mylocation--122.2,44.8\" (without the quotes).", + "x-ms-parameter-grouping": { + "name": "SearchOptions" + } + }, + { + "name": "scoringProfile", + "in": "query", + "type": "string", + "description": "The name of a scoring profile to evaluate match scores for matching documents in order to sort the results.", + "x-ms-parameter-grouping": { + "name": "SearchOptions" + } + }, + { + "name": "searchFields", + "in": "query", + "type": "array", + "items": { + "type": "string" + }, + "description": "The list of field names to which to scope the full-text search. When using fielded search (fieldName:searchExpression) in a full Lucene query, the field names of each fielded search expression take precedence over any field names listed in this parameter.", + "x-ms-parameter-grouping": { + "name": "SearchOptions" + } + }, + { + "name": "searchMode", + "in": "query", + "type": "string", + "enum": [ + "any", + "all" + ], + "x-ms-enum": { + "name": "SearchMode", + "modelAsString": false, + "values": [ + { + "value": "any", + "name": "Any", + "description": "Any of the search terms must be matched in order to count the document as a match." + }, + { + "value": "all", + "name": "All", + "description": "All of the search terms must be matched in order to count the document as a match." + } + ] + }, + "x-nullable": false, + "description": "A value that specifies whether any or all of the search terms must be matched in order to count the document as a match.", + "x-ms-parameter-grouping": { + "name": "SearchOptions" + } + }, + { + "name": "scoringStatistics", + "in": "query", + "type": "string", + "enum": [ + "local", + "global" + ], + "x-ms-enum": { + "name": "ScoringStatistics", + "modelAsString": false, + "values": [ + { + "value": "local", + "name": "Local", + "description": "The scoring statistics will be calculated locally for lower latency." + }, + { + "value": "global", + "name": "Global", + "description": "The scoring statistics will be calculated globally for more consistent scoring." + } + ] + }, + "x-nullable": false, + "description": "A value that specifies whether we want to calculate scoring statistics (such as document frequency) globally for more consistent scoring, or locally, for lower latency.", + "x-ms-parameter-grouping": { + "name": "SearchOptions" + } + }, + { + "name": "sessionId", + "in": "query", + "type": "string", + "description": "A value to be used to create a sticky session, which can help to get more consistent results. As long as the same sessionId is used, a best-effort attempt will be made to target the same replica set. Be wary that reusing the same sessionID values repeatedly can interfere with the load balancing of the requests across replicas and adversely affect the performance of the search service. The value used as sessionId cannot start with a '_' character.", + "x-ms-parameter-grouping": { + "name": "SearchOptions" + } + }, + { + "name": "$select", + "in": "query", + "type": "array", + "items": { + "type": "string" + }, + "description": "The list of fields to retrieve. If unspecified, all fields marked as retrievable in the schema are included.", + "x-ms-parameter-grouping": { + "name": "SearchOptions" + } + }, + { + "name": "$skip", + "in": "query", + "type": "integer", + "format": "int32", + "description": "The number of search results to skip. This value cannot be greater than 100,000. If you need to scan documents in sequence, but cannot use $skip due to this limitation, consider using $orderby on a totally-ordered key and $filter with a range query instead.", + "x-ms-parameter-grouping": { + "name": "SearchOptions" + } + }, + { + "name": "$top", + "in": "query", + "type": "integer", + "format": "int32", + "description": "The number of search results to retrieve. This can be used in conjunction with $skip to implement client-side paging of search results. If results are truncated due to server-side paging, the response will include a continuation token that can be used to issue another Search request for the next page of results.", + "x-ms-parameter-grouping": { + "name": "SearchOptions" + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/ClientRequestIdParameter" + }, + { + "name": "semanticConfiguration", + "in": "query", + "type": "string", + "description": "The name of the semantic configuration that lists which fields should be used for semantic ranking, captions, highlights, and answers", + "x-ms-parameter-grouping": { + "name": "SearchOptions" + } + }, + { + "name": "semanticErrorHandling", + "in": "query", + "type": "string", + "enum": [ + "partial", + "fail" + ], + "x-ms-enum": { + "name": "SemanticErrorMode", + "modelAsString": true, + "values": [ + { + "value": "partial", + "name": "Partial", + "description": "If the semantic processing fails, partial results still return. The definition of partial results depends on what semantic step failed and what was the reason for failure." + }, + { + "value": "fail", + "name": "Fail", + "description": "If there is an exception during the semantic processing step, the query will fail and return the appropriate HTTP code depending on the error." + } + ] + }, + "description": "Allows the user to choose whether a semantic call should fail completely, or to return partial results (default).", + "x-ms-parameter-grouping": { + "name": "SearchOptions" + } + }, + { + "name": "semanticMaxWaitInMilliseconds", + "in": "query", + "type": "integer", + "format": "int32", + "minimum": 700, + "description": "Allows the user to set an upper bound on the amount of time it takes for semantic enrichment to finish processing before the request fails.", + "x-ms-parameter-grouping": { + "name": "SearchOptions" + } + }, + { + "name": "answers", + "in": "query", + "type": "string", + "enum": [ + "none", + "extractive" + ], + "x-ms-enum": { + "name": "QueryAnswerType", + "modelAsString": true, + "values": [ + { + "value": "none", + "name": "None", + "description": "Do not return answers for the query." + }, + { + "value": "extractive", + "name": "Extractive", + "description": "Extracts answer candidates from the contents of the documents returned in response to a query expressed as a question in natural language." + } + ] + }, + "description": "This parameter is only valid if the query type is `semantic`. If set, the query returns answers extracted from key passages in the highest ranked documents. The number of answers returned can be configured by appending the pipe character `|` followed by the `count-` option after the answers parameter value, such as `extractive|count-3`. Default count is 1. The confidence threshold can be configured by appending the pipe character `|` followed by the `threshold-` option after the answers parameter value, such as `extractive|threshold-0.9`. Default threshold is 0.7. The maximum character length of answers can be configured by appending the pipe character '|' followed by the 'count-', such as 'extractive|maxcharlength-600'.", + "x-ms-parameter-grouping": { + "name": "SearchOptions" + } + }, + { + "name": "captions", + "in": "query", + "type": "string", + "enum": [ + "none", + "extractive" + ], + "x-ms-enum": { + "name": "QueryCaptionType", + "modelAsString": true, + "values": [ + { + "value": "none", + "name": "None", + "description": "Do not return captions for the query." + }, + { + "value": "extractive", + "name": "Extractive", + "description": "Extracts captions from the matching documents that contain passages relevant to the search query." + } + ] + }, + "description": "This parameter is only valid if the query type is `semantic`. If set, the query returns captions extracted from key passages in the highest ranked documents. When Captions is set to `extractive`, highlighting is enabled by default, and can be configured by appending the pipe character `|` followed by the `highlight-` option, such as `extractive|highlight-true`. Defaults to `None`. The maximum character length of captions can be configured by appending the pipe character '|' followed by the 'count-', such as 'extractive|maxcharlength-600'.", + "x-ms-parameter-grouping": { + "name": "SearchOptions" + } + }, + { + "name": "semanticQuery", + "in": "query", + "type": "string", + "description": "Allows setting a separate search query that will be solely used for semantic reranking, semantic captions and semantic answers. Is useful for scenarios where there is a need to use different queries between the base retrieval and ranking phase, and the L2 semantic phase.", + "x-ms-parameter-grouping": { + "name": "SearchOptions" + } + }, + { + "name": "queryRewrites", + "in": "query", + "type": "string", + "enum": [ + "none", + "generative" + ], + "x-ms-enum": { + "name": "QueryRewritesType", + "modelAsString": true, + "values": [ + { + "value": "none", + "name": "None", + "description": "Do not generate additional query rewrites for this query." + }, + { + "value": "generative", + "name": "Generative", + "description": "Generate alternative query terms to increase the recall of a search request." + } + ] + }, + "description": "When QueryRewrites is set to `generative`, the query terms are sent to a generate model which will produce 10 (default) rewrites to help increase the recall of the request. The requested count can be configured by appending the pipe character `|` followed by the `count-` option, such as `generative|count-3`. Defaults to `None`. This parameter is only valid if the query type is `semantic`.", + "x-ms-parameter-grouping": { + "name": "SearchOptions" + } + }, + { + "name": "debug", + "in": "query", + "type": "string", + "enum": [ + "disabled", + "semantic", + "vector", + "queryRewrites", + "innerHits", + "all" + ], + "x-ms-enum": { + "name": "QueryDebugMode", + "modelAsString": true, + "values": [ + { + "value": "disabled", + "name": "Disabled", + "description": "No query debugging information will be returned." + }, + { + "value": "semantic", + "name": "Semantic", + "description": "Allows the user to further explore their reranked results." + }, + { + "value": "vector", + "name": "Vector", + "description": "Allows the user to further explore their hybrid and vector query results." + }, + { + "value": "queryRewrites", + "name": "QueryRewrites", + "description": "Allows the user to explore the list of query rewrites generated for their search request." + }, + { + "value": "innerHits", + "name": "InnerHits", + "description": "Allows the user to retrieve scoring information regarding vectors matched within a collection of complex types." + }, + { + "value": "all", + "name": "All", + "description": "Turn on all debug options." + } + ] + }, + "description": "Enables a debugging tool that can be used to further explore your search results.", + "x-ms-parameter-grouping": { + "name": "SearchOptions" + } + }, + { + "name": "queryLanguage", + "in": "query", + "type": "string", + "enum": [ + "none", + "en-us" + ], + "x-ms-enum": { + "name": "QueryLanguage", + "modelAsString": true, + "values": [ + { + "value": "none", + "name": "None", + "description": "Query language not specified." + }, + { + "value": "en-us", + "name": "EnUs", + "description": "English (US)" + } + ] + }, + "description": "The language of the query.", + "x-ms-parameter-grouping": { + "name": "SearchOptions" + } + }, + { + "name": "speller", + "in": "query", + "type": "string", + "enum": [ + "none", + "lexicon" + ], + "x-ms-enum": { + "name": "QuerySpellerType", + "modelAsString": true, + "values": [ + { + "value": "none", + "name": "None", + "description": "Speller not enabled." + }, + { + "value": "lexicon", + "name": "Lexicon", + "description": "Speller corrects individual query terms using a static lexicon for the language specified by the queryLanguage parameter." + } + ] + }, + "description": "Improve search recall by spell-correcting individual search query terms.", + "x-ms-parameter-grouping": { + "name": "SearchOptions" + } + }, + { + "name": "semanticFields", + "in": "query", + "type": "array", + "items": { + "type": "string" + }, + "description": "The list of field names used for semantic ranking.", + "x-ms-parameter-grouping": { + "name": "SearchOptions" + } + }, + { + "$ref": "#/parameters/QuerySourceAuthorizationParameter" + }, + { + "$ref": "#/parameters/EnableElevatedReadParameter" + } + ], + "x-ms-request-id": "request-id", + "responses": { + "200": { + "description": "Response containing documents that match the search criteria.", + "schema": { + "$ref": "#/definitions/SearchDocumentsResult" + } + }, + "206": { + "description": "Response containing partial documents that match the search criteria.", + "schema": { + "$ref": "#/definitions/SearchDocumentsResult" + } + }, + "default": { + "description": "Error response.", + "schema": { + "$ref": "../../../../../common-types/data-plane/v1/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/docs/search.post.search": { + "post": { + "tags": [ + "Documents" + ], + "operationId": "Documents_SearchPost", + "externalDocs": { + "url": "https://learn.microsoft.com/rest/api/searchservice/Search-Documents" + }, + "x-ms-examples": { + "SearchIndexSearchDocumentsPost": { + "$ref": "./examples/SearchIndexSearchDocumentsPost.json" + }, + "SearchIndexSearchDocumentsSemanticPost": { + "$ref": "./examples/SearchIndexSearchDocumentsSemanticPost.json" + } + }, + "description": "Searches for documents in the index.", + "parameters": [ + { + "name": "searchRequest", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/SearchRequest", + "description": "The Search request." + }, + "description": "The definition of the Search request." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/ClientRequestIdParameter" + }, + { + "$ref": "#/parameters/QuerySourceAuthorizationParameter" + }, + { + "$ref": "#/parameters/EnableElevatedReadParameter" + } + ], + "x-ms-request-id": "request-id", + "responses": { + "200": { + "description": "Response containing documents that match the search criteria.", + "schema": { + "$ref": "#/definitions/SearchDocumentsResult" + } + }, + "206": { + "description": "Response containing partial documents that match the search criteria.", + "schema": { + "$ref": "#/definitions/SearchDocumentsResult" + } + }, + "default": { + "description": "Error response.", + "schema": { + "$ref": "../../../../../common-types/data-plane/v1/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/docs('{key}')": { + "get": { + "tags": [ + "Documents" + ], + "operationId": "Documents_Get", + "externalDocs": { + "url": "https://learn.microsoft.com/rest/api/searchservice/lookup-document" + }, + "x-ms-examples": { + "SearchIndexGetDocument": { + "$ref": "./examples/SearchIndexGetDocument.json" + } + }, + "description": "Retrieves a document from the index.", + "parameters": [ + { + "name": "key", + "in": "path", + "required": true, + "description": "The key of the document to retrieve.", + "type": "string" + }, + { + "name": "$select", + "in": "query", + "type": "array", + "items": { + "type": "string" + }, + "description": "List of field names to retrieve for the document; Any field not retrieved will be missing from the returned document.", + "x-ms-client-name": "SelectedFields" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/ClientRequestIdParameter" + }, + { + "$ref": "#/parameters/QuerySourceAuthorizationParameter" + }, + { + "$ref": "#/parameters/EnableElevatedReadParameter" + } + ], + "responses": { + "200": { + "description": "Response containing the requested document.", + "schema": { + "$ref": "#/definitions/LookupDocument" + } + }, + "default": { + "description": "Error response.", + "schema": { + "$ref": "../../../../../common-types/data-plane/v1/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/docs/search.suggest": { + "get": { + "tags": [ + "Documents" + ], + "operationId": "Documents_SuggestGet", + "externalDocs": { + "url": "https://learn.microsoft.com/rest/api/searchservice/suggestions" + }, + "x-ms-examples": { + "SearchIndexSuggestDocumentsGet": { + "$ref": "./examples/SearchIndexSuggestDocumentsGet.json" + } + }, + "description": "Suggests documents in the index that match the given partial query text.", + "parameters": [ + { + "name": "search", + "in": "query", + "required": true, + "type": "string", + "description": "The search text to use to suggest documents. Must be at least 1 character, and no more than 100 characters.", + "x-ms-client-name": "SearchText" + }, + { + "name": "suggesterName", + "in": "query", + "required": true, + "type": "string", + "description": "The name of the suggester as specified in the suggesters collection that's part of the index definition." + }, + { + "name": "$filter", + "in": "query", + "type": "string", + "description": "An OData expression that filters the documents considered for suggestions.", + "x-ms-parameter-grouping": { + "name": "SuggestOptions" + } + }, + { + "name": "fuzzy", + "in": "query", + "type": "boolean", + "description": "A value indicating whether to use fuzzy matching for the suggestions query. Default is false. When set to true, the query will find terms even if there's a substituted or missing character in the search text. While this provides a better experience in some scenarios, it comes at a performance cost as fuzzy suggestions queries are slower and consume more resources.", + "x-ms-client-name": "UseFuzzyMatching", + "x-nullable": false, + "x-ms-parameter-grouping": { + "name": "SuggestOptions" + } + }, + { + "name": "highlightPostTag", + "in": "query", + "type": "string", + "description": "A string tag that is appended to hit highlights. Must be set with highlightPreTag. If omitted, hit highlighting of suggestions is disabled.", + "x-ms-parameter-grouping": { + "name": "SuggestOptions" + } + }, + { + "name": "highlightPreTag", + "in": "query", + "type": "string", + "description": "A string tag that is prepended to hit highlights. Must be set with highlightPostTag. If omitted, hit highlighting of suggestions is disabled.", + "x-ms-parameter-grouping": { + "name": "SuggestOptions" + } + }, + { + "name": "minimumCoverage", + "in": "query", + "type": "number", + "format": "double", + "description": "A number between 0 and 100 indicating the percentage of the index that must be covered by a suggestions query in order for the query to be reported as a success. This parameter can be useful for ensuring search availability even for services with only one replica. The default is 80.", + "x-ms-parameter-grouping": { + "name": "SuggestOptions" + } + }, + { + "name": "$orderby", + "in": "query", + "type": "array", + "items": { + "type": "string" + }, + "x-ms-client-name": "OrderBy", + "description": "The list of OData $orderby expressions by which to sort the results. Each expression can be either a field name or a call to either the geo.distance() or the search.score() functions. Each expression can be followed by asc to indicate ascending, or desc to indicate descending. The default is ascending order. Ties will be broken by the match scores of documents. If no $orderby is specified, the default sort order is descending by document match score. There can be at most 32 $orderby clauses.", + "x-ms-parameter-grouping": { + "name": "SuggestOptions" + } + }, + { + "name": "searchFields", + "in": "query", + "type": "array", + "items": { + "type": "string" + }, + "description": "The list of field names to search for the specified search text. Target fields must be included in the specified suggester.", + "x-ms-parameter-grouping": { + "name": "SuggestOptions" + } + }, + { + "name": "$select", + "in": "query", + "type": "array", + "items": { + "type": "string" + }, + "description": "The list of fields to retrieve. If unspecified, only the key field will be included in the results.", + "x-ms-parameter-grouping": { + "name": "SuggestOptions" + } + }, + { + "name": "$top", + "in": "query", + "type": "integer", + "format": "int32", + "description": "The number of suggestions to retrieve. The value must be a number between 1 and 100. The default is 5.", + "x-ms-parameter-grouping": { + "name": "SuggestOptions" + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/ClientRequestIdParameter" + } + ], + "x-ms-request-id": "request-id", + "responses": { + "200": { + "description": "Response containing suggested documents that match the partial input.", + "schema": { + "$ref": "#/definitions/SuggestDocumentsResult" + } + }, + "default": { + "description": "Error response.", + "schema": { + "$ref": "../../../../../common-types/data-plane/v1/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/docs/search.post.suggest": { + "post": { + "tags": [ + "Documents" + ], + "operationId": "Documents_SuggestPost", + "externalDocs": { + "url": "https://learn.microsoft.com/rest/api/searchservice/suggestions" + }, + "x-ms-examples": { + "SearchIndexSuggestDocumentsPost": { + "$ref": "./examples/SearchIndexSuggestDocumentsPost.json" + } + }, + "description": "Suggests documents in the index that match the given partial query text.", + "parameters": [ + { + "name": "suggestRequest", + "in": "body", + "required": true, + "description": "The Suggest request.", + "schema": { + "$ref": "#/definitions/SuggestRequest" + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/ClientRequestIdParameter" + } + ], + "x-ms-request-id": "request-id", + "responses": { + "200": { + "description": "Response containing suggested documents that match the partial input.", + "schema": { + "$ref": "#/definitions/SuggestDocumentsResult" + } + }, + "default": { + "description": "Error response.", + "schema": { + "$ref": "../../../../../common-types/data-plane/v1/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/docs/search.index": { + "post": { + "tags": [ + "Documents" + ], + "operationId": "Documents_Index", + "externalDocs": { + "url": "https://learn.microsoft.com/rest/api/searchservice/addupdate-or-delete-documents" + }, + "x-ms-examples": { + "SearchIndexIndexDocuments": { + "$ref": "./examples/SearchIndexIndexDocuments.json" + } + }, + "description": "Sends a batch of document write actions to the index.", + "parameters": [ + { + "name": "batch", + "in": "body", + "description": "The batch of index actions.", + "required": true, + "schema": { + "$ref": "#/definitions/IndexBatch" + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/ClientRequestIdParameter" + } + ], + "x-ms-request-id": "request-id", + "responses": { + "200": { + "description": "Response containing the status of operations for all actions in the batch.", + "schema": { + "$ref": "#/definitions/IndexDocumentsResult" + } + }, + "207": { + "description": "Response containing the status of operations for all actions in the batch.", + "schema": { + "$ref": "#/definitions/IndexDocumentsResult" + } + }, + "default": { + "description": "Error response.", + "schema": { + "$ref": "../../../../../common-types/data-plane/v1/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/docs/search.autocomplete": { + "get": { + "tags": [ + "Documents" + ], + "operationId": "Documents_AutocompleteGet", + "externalDocs": { + "url": "https://learn.microsoft.com/rest/api/searchservice/autocomplete" + }, + "x-ms-examples": { + "SearchIndexAutocompleteDocumentsGet": { + "$ref": "./examples/SearchIndexAutocompleteDocumentsGet.json" + } + }, + "description": "Autocompletes incomplete query terms based on input text and matching terms in the index.", + "parameters": [ + { + "$ref": "#/parameters/ClientRequestIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "search", + "in": "query", + "type": "string", + "required": true, + "description": "The incomplete term which should be auto-completed.", + "x-ms-client-name": "SearchText" + }, + { + "name": "suggesterName", + "in": "query", + "type": "string", + "required": true, + "description": "The name of the suggester as specified in the suggesters collection that's part of the index definition." + }, + { + "name": "autocompleteMode", + "in": "query", + "type": "string", + "x-nullable": false, + "enum": [ + "oneTerm", + "twoTerms", + "oneTermWithContext" + ], + "x-ms-enum": { + "name": "AutocompleteMode", + "modelAsString": false, + "values": [ + { + "value": "oneTerm", + "name": "OneTerm", + "description": "Only one term is suggested. If the query has two terms, only the last term is completed. For example, if the input is 'washington medic', the suggested terms could include 'medicaid', 'medicare', and 'medicine'." + }, + { + "value": "twoTerms", + "name": "TwoTerms", + "description": "Matching two-term phrases in the index will be suggested. For example, if the input is 'medic', the suggested terms could include 'medicare coverage' and 'medical assistant'." + }, + { + "value": "oneTermWithContext", + "name": "OneTermWithContext", + "description": "Completes the last term in a query with two or more terms, where the last two terms are a phrase that exists in the index. For example, if the input is 'washington medic', the suggested terms could include 'washington medicaid' and 'washington medical'." + } + ] + }, + "description": "Specifies the mode for Autocomplete. The default is 'oneTerm'. Use 'twoTerms' to get shingles and 'oneTermWithContext' to use the current context while producing auto-completed terms.", + "x-ms-parameter-grouping": { + "name": "AutocompleteOptions" + } + }, + { + "name": "$filter", + "in": "query", + "type": "string", + "description": "An OData expression that filters the documents used to produce completed terms for the Autocomplete result.", + "x-ms-parameter-grouping": { + "name": "AutocompleteOptions" + } + }, + { + "name": "fuzzy", + "in": "query", + "type": "boolean", + "description": "A value indicating whether to use fuzzy matching for the autocomplete query. Default is false. When set to true, the query will find terms even if there's a substituted or missing character in the search text. While this provides a better experience in some scenarios, it comes at a performance cost as fuzzy autocomplete queries are slower and consume more resources.", + "x-ms-client-name": "UseFuzzyMatching", + "x-ms-parameter-grouping": { + "name": "AutocompleteOptions" + } + }, + { + "name": "highlightPostTag", + "in": "query", + "type": "string", + "description": "A string tag that is appended to hit highlights. Must be set with highlightPreTag. If omitted, hit highlighting is disabled.", + "x-ms-parameter-grouping": { + "name": "AutocompleteOptions" + } + }, + { + "name": "highlightPreTag", + "in": "query", + "type": "string", + "description": "A string tag that is prepended to hit highlights. Must be set with highlightPostTag. If omitted, hit highlighting is disabled.", + "x-ms-parameter-grouping": { + "name": "AutocompleteOptions" + } + }, + { + "name": "minimumCoverage", + "in": "query", + "type": "number", + "format": "double", + "description": "A number between 0 and 100 indicating the percentage of the index that must be covered by an autocomplete query in order for the query to be reported as a success. This parameter can be useful for ensuring search availability even for services with only one replica. The default is 80.", + "x-ms-parameter-grouping": { + "name": "AutocompleteOptions" + } + }, + { + "name": "searchFields", + "in": "query", + "type": "array", + "items": { + "type": "string" + }, + "description": "The list of field names to consider when querying for auto-completed terms. Target fields must be included in the specified suggester.", + "x-ms-parameter-grouping": { + "name": "AutocompleteOptions" + } + }, + { + "name": "$top", + "in": "query", + "type": "integer", + "format": "int32", + "description": "The number of auto-completed terms to retrieve. This must be a value between 1 and 100. The default is 5.", + "x-ms-parameter-grouping": { + "name": "AutocompleteOptions" + } + } + ], + "x-ms-request-id": "request-id", + "responses": { + "200": { + "description": "Response containing suggested query terms that complete the partial input.", + "schema": { + "$ref": "#/definitions/AutocompleteResult" + } + }, + "default": { + "description": "Error response.", + "schema": { + "$ref": "../../../../../common-types/data-plane/v1/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/docs/search.post.autocomplete": { + "post": { + "tags": [ + "Documents" + ], + "operationId": "Documents_AutocompletePost", + "externalDocs": { + "url": "https://learn.microsoft.com/rest/api/searchservice/autocomplete" + }, + "x-ms-examples": { + "SearchIndexAutocompleteDocumentsPost": { + "$ref": "./examples/SearchIndexAutocompleteDocumentsPost.json" + } + }, + "description": "Autocompletes incomplete query terms based on input text and matching terms in the index.", + "parameters": [ + { + "$ref": "#/parameters/ClientRequestIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "autocompleteRequest", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/AutocompleteRequest" + }, + "description": "The definition of the Autocomplete request." + } + ], + "x-ms-request-id": "request-id", + "responses": { + "200": { + "description": "Response containing suggested query terms that complete the partial input.", + "schema": { + "$ref": "#/definitions/AutocompleteResult" + } + }, + "default": { + "description": "Error response.", + "schema": { + "$ref": "../../../../../common-types/data-plane/v1/types.json#/definitions/ErrorResponse" + } + } + } + } + } + }, + "definitions": { + "SuggestDocumentsResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/SuggestResult" + }, + "readOnly": true, + "x-ms-client-name": "Results", + "description": "The sequence of results returned by the query." + }, + "@search.coverage": { + "type": "number", + "readOnly": true, + "format": "double", + "x-ms-client-name": "Coverage", + "description": "A value indicating the percentage of the index that was included in the query, or null if minimumCoverage was not set in the request." + } + }, + "required": [ + "value" + ], + "description": "Response containing suggestion query results from an index." + }, + "SuggestResult": { + "type": "object", + "properties": { + "@search.text": { + "type": "string", + "readOnly": true, + "description": "The text of the suggestion result.", + "x-ms-client-name": "Text" + } + }, + "required": [ + "@search.text" + ], + "additionalProperties": true, + "description": "A result containing a document found by a suggestion query, plus associated metadata." + }, + "SearchFacetsResult": { + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "$ref": "#/definitions/FacetResult" + } + }, + "readOnly": true + }, + "FacetResult": { + "type": "object", + "properties": { + "count": { + "type": "integer", + "format": "int64", + "readOnly": true, + "description": "The approximate count of documents falling within the bucket described by this facet." + }, + "avg": { + "type": "number", + "format": "double", + "readOnly": true, + "description": "The resulting total avg for the facet when a avg metric is requested." + }, + "min": { + "type": "number", + "format": "double", + "readOnly": true, + "description": "The resulting total min for the facet when a min metric is requested." + }, + "max": { + "type": "number", + "format": "double", + "readOnly": true, + "description": "The resulting total max for the facet when a max metric is requested." + }, + "sum": { + "type": "number", + "format": "double", + "readOnly": true, + "description": "The resulting total sum for the facet when a sum metric is requested." + }, + "cardinality": { + "type": "number", + "format": "int64", + "readOnly": true, + "description": "The resulting total cardinality for the facet when a cardinality metric is requested." + }, + "@search.facets": { + "$ref": "#/definitions/SearchFacetsResult", + "readOnly": true, + "x-ms-client-name": "Facets", + "description": "The nested facet query results for the search operation, organized as a collection of buckets for each faceted field; null if the query did not contain any nested facets." + } + }, + "additionalProperties": true, + "description": "A single bucket of a facet query result. Reports the number of documents with a field value falling within a particular range or having a particular value or interval." + }, + "SearchDocumentsResult": { + "type": "object", + "properties": { + "@odata.count": { + "type": "integer", + "format": "int64", + "readOnly": true, + "x-ms-client-name": "Count", + "description": "The total count of results found by the search operation, or null if the count was not requested. If present, the count may be greater than the number of results in this response. This can happen if you use the $top or $skip parameters, or if the query can't return all the requested documents in a single response." + }, + "@search.coverage": { + "type": "number", + "format": "double", + "readOnly": true, + "x-ms-client-name": "Coverage", + "description": "A value indicating the percentage of the index that was included in the query, or null if minimumCoverage was not specified in the request." + }, + "@search.facets": { + "$ref": "#/definitions/SearchFacetsResult", + "readOnly": true, + "x-ms-client-name": "Facets", + "description": "The facet query results for the search operation, organized as a collection of buckets for each faceted field; null if the query did not include any facet expressions." + }, + "@search.answers": { + "type": "array", + "items": { + "$ref": "#/definitions/AnswerResult" + }, + "readOnly": true, + "x-ms-client-name": "Answers", + "x-nullable": true, + "description": "The answers query results for the search operation; null if the answers query parameter was not specified or set to 'none'." + }, + "@search.debug": { + "$ref": "#/definitions/DebugInfo", + "readOnly": true, + "x-ms-client-name": "DebugInfo", + "x-nullable": true, + "description": "Debug information that applies to the search results as a whole." + }, + "@search.nextPageParameters": { + "$ref": "#/definitions/SearchRequest", + "readOnly": true, + "x-ms-client-name": "NextPageParameters", + "description": "Continuation JSON payload returned when the query can't return all the requested results in a single response. You can use this JSON along with @odata.nextLink to formulate another POST Search request to get the next part of the search response." + }, + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/SearchResult" + }, + "readOnly": true, + "x-ms-client-name": "Results", + "description": "The sequence of results returned by the query." + }, + "@odata.nextLink": { + "type": "string", + "readOnly": true, + "x-ms-client-name": "NextLink", + "description": "Continuation URL returned when the query can't return all the requested results in a single response. You can use this URL to formulate another GET or POST Search request to get the next part of the search response. Make sure to use the same verb (GET or POST) as the request that produced this response." + }, + "@search.semanticPartialResponseReason": { + "$ref": "#/definitions/SemanticPartialResponseReason", + "readOnly": true, + "x-ms-client-name": "SemanticPartialResponseReason", + "description": "Reason that a partial response was returned for a semantic ranking request." + }, + "@search.semanticPartialResponseType": { + "$ref": "#/definitions/SemanticPartialResponseType", + "readOnly": true, + "x-ms-client-name": "SemanticPartialResponseType", + "description": "Type of partial response that was returned for a semantic ranking request." + }, + "@search.semanticQueryRewritesResultType": { + "$ref": "#/definitions/SemanticQueryRewritesResultType", + "readOnly": true, + "x-ms-client-name": "SemanticQueryRewritesResultType", + "description": "Type of query rewrite that was used to retrieve documents." + } + }, + "required": [ + "value" + ], + "description": "Response containing search results from an index." + }, + "SearchResult": { + "type": "object", + "properties": { + "@search.score": { + "type": "number", + "format": "double", + "readOnly": true, + "x-ms-client-name": "Score", + "x-nullable": false, + "description": "The relevance score of the document compared to other documents returned by the query." + }, + "@search.rerankerScore": { + "type": "number", + "format": "double", + "readOnly": true, + "x-ms-client-name": "RerankerScore", + "x-nullable": true, + "description": "The relevance score computed by the semantic ranker for the top search results. Search results are sorted by the RerankerScore first and then by the Score. RerankerScore is only returned for queries of type 'semantic'." + }, + "@search.rerankerBoostedScore": { + "type": "number", + "format": "double", + "readOnly": true, + "x-ms-client-name": "RerankerBoostedScore", + "x-nullable": true, + "description": "The relevance score computed by boosting the Reranker Score. Search results are sorted by the RerankerScore/RerankerBoostedScore based on useScoringProfileBoostedRanking in the Semantic Config. RerankerBoostedScore is only returned for queries of type 'semantic'" + }, + "@search.highlights": { + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "type": "string" + } + }, + "readOnly": true, + "x-ms-client-name": "Highlights", + "description": "Text fragments from the document that indicate the matching search terms, organized by each applicable field; null if hit highlighting was not enabled for the query." + }, + "@search.captions": { + "type": "array", + "items": { + "$ref": "#/definitions/CaptionResult" + }, + "readOnly": true, + "x-ms-client-name": "Captions", + "x-nullable": true, + "description": "Captions are the most representative passages from the document relatively to the search query. They are often used as document summary. Captions are only returned for queries of type 'semantic'." + }, + "@search.documentDebugInfo": { + "$ref": "#/definitions/DocumentDebugInfo", + "readOnly": true, + "x-ms-client-name": "DocumentDebugInfo", + "x-nullable": true, + "description": "Contains debugging information that can be used to further explore your search results." + } + }, + "required": [ + "@search.score" + ], + "additionalProperties": true, + "description": "Contains a document found by a search query, plus associated metadata." + }, + "LookupDocument": { + "type": "object", + "additionalProperties": true, + "description": "A document retrieved via a document lookup operation." + }, + "IndexBatch": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/IndexAction" + }, + "description": "The actions in the batch.", + "x-ms-client-name": "Actions" + } + }, + "required": [ + "value" + ], + "description": "Contains a batch of document write actions to send to the index." + }, + "IndexAction": { + "type": "object", + "properties": { + "@search.action": { + "type": "string", + "enum": [ + "upload", + "merge", + "mergeOrUpload", + "delete" + ], + "x-ms-enum": { + "name": "IndexActionType", + "modelAsString": false, + "values": [ + { + "value": "upload", + "name": "Upload", + "description": "Inserts the document into the index if it is new and updates it if it exists. All fields are replaced in the update case." + }, + { + "value": "merge", + "name": "Merge", + "description": "Merges the specified field values with an existing document. If the document does not exist, the merge will fail. Any field you specify in a merge will replace the existing field in the document. This also applies to collections of primitive and complex types." + }, + { + "value": "mergeOrUpload", + "name": "MergeOrUpload", + "description": "Behaves like merge if a document with the given key already exists in the index. If the document does not exist, it behaves like upload with a new document." + }, + { + "value": "delete", + "name": "Delete", + "description": "Removes the specified document from the index. Any field you specify in a delete operation other than the key field will be ignored. If you want to remove an individual field from a document, use merge instead and set the field explicitly to null." + } + ] + }, + "x-ms-client-name": "ActionType", + "x-nullable": false, + "description": "The operation to perform on a document in an indexing batch." + } + }, + "additionalProperties": true, + "description": "Represents an index action that operates on a document." + }, + "IndexingResult": { + "type": "object", + "properties": { + "key": { + "type": "string", + "readOnly": true, + "description": "The key of a document that was in the indexing request." + }, + "errorMessage": { + "type": "string", + "readOnly": true, + "description": "The error message explaining why the indexing operation failed for the document identified by the key; null if indexing succeeded." + }, + "status": { + "x-ms-client-name": "Succeeded", + "type": "boolean", + "x-nullable": false, + "readOnly": true, + "description": "A value indicating whether the indexing operation succeeded for the document identified by the key." + }, + "statusCode": { + "type": "integer", + "format": "int32", + "x-nullable": false, + "readOnly": true, + "description": "The status code of the indexing operation. Possible values include: 200 for a successful update or delete, 201 for successful document creation, 400 for a malformed input document, 404 for document not found, 409 for a version conflict, 422 when the index is temporarily unavailable, or 503 for when the service is too busy." + } + }, + "required": [ + "key", + "status", + "statusCode" + ], + "description": "Status of an indexing operation for a single document." + }, + "IndexDocumentsResult": { + "type": "object", + "properties": { + "value": { + "x-ms-client-name": "Results", + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/IndexingResult" + }, + "description": "The list of status information for each document in the indexing request." + } + }, + "required": [ + "value" + ], + "description": "Response containing the status of operations for all documents in the indexing request." + }, + "QueryDebugMode": { + "type": "string", + "enum": [ + "disabled", + "semantic", + "vector", + "queryRewrites", + "innerHits", + "all" + ], + "x-ms-enum": { + "name": "QueryDebugMode", + "modelAsString": true, + "values": [ + { + "value": "disabled", + "name": "Disabled", + "description": "No query debugging information will be returned." + }, + { + "value": "semantic", + "name": "Semantic", + "description": "Allows the user to further explore their reranked results." + }, + { + "value": "vector", + "name": "Vector", + "description": "Allows the user to further explore their hybrid and vector query results." + }, + { + "value": "queryRewrites", + "name": "QueryRewrites", + "description": "Allows the user to explore the list of query rewrites generated for their search request." + }, + { + "value": "innerHits", + "name": "InnerHits", + "description": "Allows the user to retrieve scoring information regarding vectors matched within a collection of complex types." + }, + { + "value": "all", + "name": "All", + "description": "Turn on all debug options." + } + ] + }, + "description": "Enables a debugging tool that can be used to further explore your search results. You can enable multiple debug modes simultaneously by separating them with a | character, for example: semantic|queryRewrites." + }, + "SearchMode": { + "type": "string", + "enum": [ + "any", + "all" + ], + "x-ms-enum": { + "name": "SearchMode", + "modelAsString": false, + "values": [ + { + "value": "any", + "name": "Any", + "description": "Any of the search terms must be matched in order to count the document as a match." + }, + { + "value": "all", + "name": "All", + "description": "All of the search terms must be matched in order to count the document as a match." + } + ] + }, + "description": "Specifies whether any or all of the search terms must be matched in order to count the document as a match." + }, + "QueryType": { + "type": "string", + "enum": [ + "simple", + "full", + "semantic" + ], + "x-ms-enum": { + "name": "QueryType", + "modelAsString": false, + "values": [ + { + "value": "simple", + "name": "Simple", + "description": "Uses the simple query syntax for searches. Search text is interpreted using a simple query language that allows for symbols such as +, * and \"\". Queries are evaluated across all searchable fields by default, unless the searchFields parameter is specified." + }, + { + "value": "full", + "name": "Full", + "description": "Uses the full Lucene query syntax for searches. Search text is interpreted using the Lucene query language which allows field-specific and weighted searches, as well as other advanced features." + }, + { + "value": "semantic", + "name": "Semantic", + "description": "Best suited for queries expressed in natural language as opposed to keywords. Improves precision of search results by re-ranking the top search results using a ranking model trained on the Web corpus." + } + ] + }, + "description": "Specifies the syntax of the search query. The default is 'simple'. Use 'full' if your query uses the Lucene query syntax and 'semantic' if query syntax is not needed." + }, + "Speller": { + "type": "string", + "enum": [ + "none", + "lexicon" + ], + "x-ms-enum": { + "name": "QuerySpellerType", + "modelAsString": true, + "values": [ + { + "value": "none", + "name": "None", + "description": "Speller not enabled." + }, + { + "value": "lexicon", + "name": "Lexicon", + "description": "Speller corrects individual query terms using a static lexicon for the language specified by the queryLanguage parameter." + } + ] + }, + "description": "Improve search recall by spell-correcting individual search query terms." + }, + "VectorQuery": { + "type": "object", + "discriminator": "kind", + "properties": { + "kind": { + "$ref": "#/definitions/VectorQueryKind", + "description": "The kind of vector query being performed.", + "x-nullable": false + }, + "k": { + "type": "integer", + "format": "int32", + "description": "Number of nearest neighbors to return as top hits." + }, + "fields": { + "type": "string", + "description": "Vector Fields of type Collection(Edm.Single) to be included in the vector searched." + }, + "exhaustive": { + "type": "boolean", + "description": "When true, triggers an exhaustive k-nearest neighbor search across all vectors within the vector index. Useful for scenarios where exact matches are critical, such as determining ground truth values." + }, + "oversampling": { + "type": "number", + "format": "double", + "description": "Oversampling factor. Minimum value is 1. It overrides the 'defaultOversampling' parameter configured in the index definition. It can be set only when 'rerankWithOriginalVectors' is true. This parameter is only permitted when a compression method is used on the underlying vector field." + }, + "weight": { + "type": "number", + "format": "float", + "description": "Relative weight of the vector query when compared to other vector query and/or the text query within the same search request. This value is used when combining the results of multiple ranking lists produced by the different vector queries and/or the results retrieved through the text query. The higher the weight, the higher the documents that matched that query will be in the final ranking. Default is 1.0 and the value needs to be a positive number larger than zero. " + }, + "threshold": { + "$ref": "#/definitions/VectorThreshold", + "description": "The threshold used for vector queries. Note this can only be set if all 'fields' use the same similarity metric." + }, + "filterOverride": { + "type": "string", + "description": "The OData filter expression to apply to this specific vector query. If no filter expression is defined at the vector level, the expression defined in the top level filter parameter is used instead." + }, + "perDocumentVectorLimit": { + "type": "integer", + "format": "int32", + "description": "Controls how many vectors can be matched from each document in a vector search query. Setting it to 1 ensures at most one vector per document is matched, guaranteeing results come from distinct documents. Setting it to 0 (unlimited) allows multiple relevant vectors from the same document to be matched. Default is 0." + } + }, + "required": [ + "kind" + ], + "description": "The query parameters for vector and hybrid search queries." + }, + "RawVectorQuery": { + "type": "object", + "x-ms-client-name": "VectorizedQuery", + "x-ms-discriminator-value": "vector", + "allOf": [ + { + "$ref": "#/definitions/VectorQuery" + } + ], + "properties": { + "vector": { + "type": "array", + "items": { + "type": "number", + "format": "float" + }, + "description": "The vector representation of a search query." + } + }, + "required": [ + "vector" + ], + "description": "The query parameters to use for vector search when a raw vector value is provided." + }, + "VectorizableTextQuery": { + "type": "object", + "x-ms-discriminator-value": "text", + "allOf": [ + { + "$ref": "#/definitions/VectorQuery" + } + ], + "properties": { + "text": { + "type": "string", + "description": "The text to be vectorized to perform a vector search query." + }, + "queryRewrites": { + "$ref": "#/definitions/QueryRewrites", + "description": "Can be configured to let a generative model rewrite the query before sending it to be vectorized." + } + }, + "required": [ + "text" + ], + "description": "The query parameters to use for vector search when a text value that needs to be vectorized is provided." + }, + "VectorizableImageUrlQuery": { + "type": "object", + "x-ms-discriminator-value": "imageUrl", + "allOf": [ + { + "$ref": "#/definitions/VectorQuery" + } + ], + "properties": { + "url": { + "type": "string", + "description": "The URL of an image to be vectorized to perform a vector search query." + } + }, + "description": "The query parameters to use for vector search when an url that represents an image value that needs to be vectorized is provided." + }, + "VectorizableImageBinaryQuery": { + "type": "object", + "x-ms-discriminator-value": "imageBinary", + "allOf": [ + { + "$ref": "#/definitions/VectorQuery" + } + ], + "properties": { + "base64Image": { + "type": "string", + "description": "The base 64 encoded binary of an image to be vectorized to perform a vector search query." + } + }, + "description": "The query parameters to use for vector search when a base 64 encoded binary of an image that needs to be vectorized is provided." + }, + "VectorQueryKind": { + "type": "string", + "enum": [ + "vector", + "text", + "imageUrl", + "imageBinary" + ], + "x-ms-enum": { + "name": "VectorQueryKind", + "modelAsString": true, + "values": [ + { + "value": "vector", + "name": "Vector", + "description": "Vector query where a raw vector value is provided." + }, + { + "value": "text", + "name": "Text", + "description": "Vector query where a text value that needs to be vectorized is provided." + }, + { + "value": "imageUrl", + "name": "ImageUrl", + "description": "Vector query where an url that represents an image value that needs to be vectorized is provided." + }, + { + "value": "imageBinary", + "name": "ImageBinary", + "description": "Vector query where a base 64 encoded binary of an image that needs to be vectorized is provided." + } + ] + }, + "description": "The kind of vector query being performed." + }, + "VectorThreshold": { + "type": "object", + "discriminator": "kind", + "properties": { + "kind": { + "$ref": "#/definitions/VectorThresholdKind", + "description": "The kind of threshold used to filter vector queries", + "x-nullable": false + } + }, + "required": [ + "kind" + ], + "description": "The threshold used for vector queries." + }, + "VectorSimilarityThreshold": { + "type": "object", + "x-ms-discriminator-value": "vectorSimilarity", + "allOf": [ + { + "$ref": "#/definitions/VectorThreshold" + } + ], + "properties": { + "value": { + "type": "number", + "format": "double", + "description": "The threshold will filter based on the similarity metric value. Note this is the canonical definition of similarity metric, not the 'distance' version. The threshold direction (larger or smaller) will be chosen automatically according to the metric used by the field." + } + }, + "required": [ + "value" + ], + "description": "The results of the vector query will be filtered based on the vector similarity metric. Note this is the canonical definition of similarity metric, not the 'distance' version. The threshold direction (larger or smaller) will be chosen automatically according to the metric used by the field." + }, + "SearchScoreThreshold": { + "type": "object", + "x-ms-discriminator-value": "searchScore", + "allOf": [ + { + "$ref": "#/definitions/VectorThreshold" + } + ], + "properties": { + "value": { + "type": "number", + "format": "double", + "description": "The threshold will filter based on the '@search.score' value. Note this is the @search.score returned as part of the search response. The threshold direction will be chosen for higher @search.score." + } + }, + "required": [ + "value" + ], + "description": "The results of the vector query will filter based on the '@search.score' value. Note this is the @search.score returned as part of the search response. The threshold direction will be chosen for higher @search.score." + }, + "VectorThresholdKind": { + "type": "string", + "enum": [ + "vectorSimilarity", + "searchScore" + ], + "x-ms-enum": { + "name": "VectorThresholdKind", + "modelAsString": true, + "values": [ + { + "value": "vectorSimilarity", + "name": "VectorSimilarity", + "description": "The results of the vector query will be filtered based on the vector similarity metric. Note this is the canonical definition of similarity metric, not the 'distance' version. The threshold direction (larger or smaller) will be chosen automatically according to the metric used by the field." + }, + { + "value": "searchScore", + "name": "SearchScore", + "description": "The results of the vector query will filter based on the '@search.score' value. Note this is the @search.score returned as part of the search response. The threshold direction will be chosen for higher @search.score." + } + ] + }, + "description": "The kind of vector query being performed." + }, + "VectorFilterMode": { + "type": "string", + "enum": [ + "postFilter", + "preFilter", + "strictPostFilter" + ], + "x-ms-enum": { + "name": "VectorFilterMode", + "modelAsString": true, + "values": [ + { + "value": "postFilter", + "name": "PostFilter", + "description": "The filter will be applied after the candidate set of vector results is returned. Depending on the filter selectivity, this can result in fewer results than requested by the parameter 'k'." + }, + { + "value": "preFilter", + "name": "PreFilter", + "description": "The filter will be applied before the search query." + }, + { + "value": "strictPostFilter", + "name": "StrictPostFilter", + "description": "The filter will be applied after the global top-k candidate set of vector results is returned. This will result in fewer results than requested by the parameter 'k'." + } + ] + }, + "description": "Determines whether or not filters are applied before or after the vector search is performed." + }, + "HybridSearch": { + "type": "object", + "properties": { + "maxTextRecallSize": { + "type": "integer", + "format": "int32", + "description": "Determines the maximum number of documents to be retrieved by the text query portion of a hybrid search request. Those documents will be combined with the documents matching the vector queries to produce a single final list of results. Choosing a larger maxTextRecallSize value will allow retrieving and paging through more documents (using the top and skip parameters), at the cost of higher resource utilization and higher latency. The value needs to be between 1 and 10,000. Default is 1000." + }, + "countAndFacetMode": { + "$ref": "#/definitions/HybridCountAndFacetMode", + "description": "Determines whether the count and facets should includes all documents that matched the search query, or only the documents that are retrieved within the 'maxTextRecallSize' window." + } + }, + "description": "TThe query parameters to configure hybrid search behaviors." + }, + "HybridCountAndFacetMode": { + "type": "string", + "enum": [ + "countRetrievableResults", + "countAllResults" + ], + "x-ms-enum": { + "name": "HybridCountAndFacetMode", + "modelAsString": true, + "values": [ + { + "value": "countRetrievableResults", + "name": "CountRetrievableResults", + "description": "Only include documents that were matched within the 'maxTextRecallSize' retrieval window when computing 'count' and 'facets'." + }, + { + "value": "countAllResults", + "name": "CountAllResults", + "description": "Include all documents that were matched by the search query when computing 'count' and 'facets', regardless of whether or not those documents are within the 'maxTextRecallSize' retrieval window." + } + ] + }, + "description": "Determines whether the count and facets should includes all documents that matched the search query, or only the documents that are retrieved within the 'maxTextRecallSize' window. The default value is 'countAllResults'." + }, + "QueryLanguage": { + "type": "string", + "enum": [ + "none", + "en-us", + "en-gb", + "en-in", + "en-ca", + "en-au", + "fr-fr", + "fr-ca", + "de-de", + "es-es", + "es-mx", + "zh-cn", + "zh-tw", + "pt-br", + "pt-pt", + "it-it", + "ja-jp", + "ko-kr", + "ru-ru", + "cs-cz", + "nl-be", + "nl-nl", + "hu-hu", + "pl-pl", + "sv-se", + "tr-tr", + "hi-in", + "ar-sa", + "ar-eg", + "ar-ma", + "ar-kw", + "ar-jo", + "da-dk", + "no-no", + "bg-bg", + "hr-hr", + "hr-ba", + "ms-my", + "ms-bn", + "sl-sl", + "ta-in", + "vi-vn", + "el-gr", + "ro-ro", + "is-is", + "id-id", + "th-th", + "lt-lt", + "uk-ua", + "lv-lv", + "et-ee", + "ca-es", + "fi-fi", + "sr-ba", + "sr-me", + "sr-rs", + "sk-sk", + "nb-no", + "hy-am", + "bn-in", + "eu-es", + "gl-es", + "gu-in", + "he-il", + "ga-ie", + "kn-in", + "ml-in", + "mr-in", + "fa-ae", + "pa-in", + "te-in", + "ur-pk" + ], + "x-ms-enum": { + "name": "QueryLanguage", + "modelAsString": true, + "values": [ + { + "value": "none", + "name": "None", + "description": "Query language not specified." + }, + { + "value": "en-us", + "name": "EnUs", + "description": "Query language value for English (United States)." + }, + { + "value": "en-gb", + "name": "EnGb", + "description": "Query language value for English (Great Britain)." + }, + { + "value": "en-in", + "name": "EnIn", + "description": "Query language value for English (India)." + }, + { + "value": "en-ca", + "name": "EnCa", + "description": "Query language value for English (Canada)." + }, + { + "value": "en-au", + "name": "EnAu", + "description": "Query language value for English (Australia)." + }, + { + "value": "fr-fr", + "name": "FrFr", + "description": "Query language value for French (France)." + }, + { + "value": "fr-ca", + "name": "FrCa", + "description": "Query language value for French (Canada)." + }, + { + "value": "de-de", + "name": "DeDe", + "description": "Query language value for German (Germany)." + }, + { + "value": "es-es", + "name": "EsEs", + "description": "Query language value for Spanish (Spain)." + }, + { + "value": "es-mx", + "name": "EsMx", + "description": "Query language value for Spanish (Mexico)." + }, + { + "value": "zh-cn", + "name": "ZhCn", + "description": "Query language value for Chinese (China)." + }, + { + "value": "zh-tw", + "name": "ZhTw", + "description": "Query language value for Chinese (Taiwan)." + }, + { + "value": "pt-br", + "name": "PtBr", + "description": "Query language value for Portuguese (Brazil)." + }, + { + "value": "pt-pt", + "name": "PtPt", + "description": "Query language value for Portuguese (Portugal)." + }, + { + "value": "it-it", + "name": "ItIt", + "description": "Query language value for Italian (Italy)." + }, + { + "value": "ja-jp", + "name": "JaJp", + "description": "Query language value for Japanese (Japan)." + }, + { + "value": "ko-kr", + "name": "KoKr", + "description": "Query language value for Korean (Korea)." + }, + { + "value": "ru-ru", + "name": "RuRu", + "description": "Query language value for Russian (Russia)." + }, + { + "value": "cs-cz", + "name": "CsCz", + "description": "Query language value for Czech (Czech Republic)." + }, + { + "value": "nl-be", + "name": "NlBe", + "description": "Query language value for Dutch (Belgium)." + }, + { + "value": "nl-nl", + "name": "NlNl", + "description": "Query language value for Dutch (Netherlands)." + }, + { + "value": "hu-hu", + "name": "HuHu", + "description": "Query language value for Hungarian (Hungary)." + }, + { + "value": "pl-pl", + "name": "PlPl", + "description": "Query language value for Polish (Poland)." + }, + { + "value": "sv-se", + "name": "SvSe", + "description": "Query language value for Swedish (Sweden)." + }, + { + "value": "tr-tr", + "name": "TrTr", + "description": "Query language value for Turkish (Turkey)." + }, + { + "value": "hi-in", + "name": "HiIn", + "description": "Query language value for Hindi (India)." + }, + { + "value": "ar-sa", + "name": "ArSa", + "description": "Query language value for Arabic (Saudi Arabia)." + }, + { + "value": "ar-eg", + "name": "ArEg", + "description": "Query language value for Arabic (Egypt)." + }, + { + "value": "ar-ma", + "name": "ArMa", + "description": "Query language value for Arabic (Morocco)." + }, + { + "value": "ar-kw", + "name": "ArKw", + "description": "Query language value for Arabic (Kuwait)." + }, + { + "value": "ar-jo", + "name": "ArJo", + "description": "Query language value for Arabic (Jordan)." + }, + { + "value": "da-dk", + "name": "DaDk", + "description": "Query language value for Danish (Denmark)." + }, + { + "value": "no-no", + "name": "NoNo", + "description": "Query language value for Norwegian (Norway)." + }, + { + "value": "bg-bg", + "name": "BgBg", + "description": "Query language value for Bulgarian (Bulgaria)." + }, + { + "value": "hr-hr", + "name": "HrHr", + "description": "Query language value for Croatian (Croatia)." + }, + { + "value": "hr-ba", + "name": "HrBa", + "description": "Query language value for Croatian (Bosnia and Herzegovina)." + }, + { + "value": "ms-my", + "name": "MsMy", + "description": "Query language value for Malay (Malaysia)." + }, + { + "value": "ms-bn", + "name": "MsBn", + "description": "Query language value for Malay (Brunei Darussalam)." + }, + { + "value": "sl-sl", + "name": "SlSl", + "description": "Query language value for Slovenian (Slovenia)." + }, + { + "value": "ta-in", + "name": "TaIn", + "description": "Query language value for Tamil (India)." + }, + { + "value": "vi-vn", + "name": "ViVn", + "description": "Query language value for Vietnamese (Viet Nam)." + }, + { + "value": "el-gr", + "name": "ElGr", + "description": "Query language value for Greek (Greece)." + }, + { + "value": "ro-ro", + "name": "RoRo", + "description": "Query language value for Romanian (Romania)." + }, + { + "value": "is-is", + "name": "IsIs", + "description": "Query language value for Icelandic (Iceland)." + }, + { + "value": "id-id", + "name": "IdId", + "description": "Query language value for Indonesian (Indonesia)." + }, + { + "value": "th-th", + "name": "ThTh", + "description": "Query language value for Thai (Thailand)." + }, + { + "value": "lt-lt", + "name": "LtLt", + "description": "Query language value for Lithuanian (Lithuania)." + }, + { + "value": "uk-ua", + "name": "UkUa", + "description": "Query language value for Ukrainian (Ukraine)." + }, + { + "value": "lv-lv", + "name": "LvLv", + "description": "Query language value for Latvian (Latvia)." + }, + { + "value": "et-ee", + "name": "EtEe", + "description": "Query language value for Estonian (Estonia)." + }, + { + "value": "ca-es", + "name": "CaEs", + "description": "Query language value for Catalan." + }, + { + "value": "fi-fi", + "name": "FiFi", + "description": "Query language value for Finnish (Finland)." + }, + { + "value": "sr-ba", + "name": "SrBa", + "description": "Query language value for Serbian (Bosnia and Herzegovina)." + }, + { + "value": "sr-me", + "name": "SrMe", + "description": "Query language value for Serbian (Montenegro)." + }, + { + "value": "sr-rs", + "name": "SrRs", + "description": "Query language value for Serbian (Serbia)." + }, + { + "value": "sk-sk", + "name": "SkSk", + "description": "Query language value for Slovak (Slovakia)." + }, + { + "value": "nb-no", + "name": "NbNo", + "description": "Query language value for Norwegian (Norway)." + }, + { + "value": "hy-am", + "name": "HyAm", + "description": "Query language value for Armenian (Armenia)." + }, + { + "value": "bn-in", + "name": "BnIn", + "description": "Query language value for Bengali (India)." + }, + { + "value": "eu-es", + "name": "EuEs", + "description": "Query language value for Basque." + }, + { + "value": "gl-es", + "name": "GlEs", + "description": "Query language value for Galician." + }, + { + "value": "gu-in", + "name": "GuIn", + "description": "Query language value for Gujarati (India)." + }, + { + "value": "he-il", + "name": "HeIl", + "description": "Query language value for Hebrew (Israel)." + }, + { + "value": "ga-ie", + "name": "GaIe", + "description": "Query language value for Irish (Ireland)." + }, + { + "value": "kn-in", + "name": "KnIn", + "description": "Query language value for Kannada (India)." + }, + { + "value": "ml-in", + "name": "MlIn", + "description": "Query language value for Malayalam (India)." + }, + { + "value": "mr-in", + "name": "MrIn", + "description": "Query language value for Marathi (India)." + }, + { + "value": "fa-ae", + "name": "FaAe", + "description": "Query language value for Persian (U.A.E.)." + }, + { + "value": "pa-in", + "name": "PaIn", + "description": "Query language value for Punjabi (India)." + }, + { + "value": "te-in", + "name": "TeIn", + "description": "Query language value for Telugu (India)." + }, + { + "value": "ur-pk", + "name": "UrPk", + "description": "Query language value for Urdu (Pakistan)." + } + ] + }, + "description": "The language of the query." + }, + "ScoringStatistics": { + "type": "string", + "enum": [ + "local", + "global" + ], + "x-ms-enum": { + "name": "ScoringStatistics", + "modelAsString": false, + "values": [ + { + "value": "local", + "name": "Local", + "description": "The scoring statistics will be calculated locally for lower latency." + }, + { + "value": "global", + "name": "Global", + "description": "The scoring statistics will be calculated globally for more consistent scoring." + } + ] + }, + "description": "A value that specifies whether we want to calculate scoring statistics (such as document frequency) globally for more consistent scoring, or locally, for lower latency. The default is 'local'. Use 'global' to aggregate scoring statistics globally before scoring. Using global scoring statistics can increase latency of search queries." + }, + "AutocompleteMode": { + "type": "string", + "enum": [ + "oneTerm", + "twoTerms", + "oneTermWithContext" + ], + "x-ms-enum": { + "name": "AutocompleteMode", + "modelAsString": false, + "values": [ + { + "value": "oneTerm", + "name": "OneTerm", + "description": "Only one term is suggested. If the query has two terms, only the last term is completed. For example, if the input is 'washington medic', the suggested terms could include 'medicaid', 'medicare', and 'medicine'." + }, + { + "value": "twoTerms", + "name": "TwoTerms", + "description": "Matching two-term phrases in the index will be suggested. For example, if the input is 'medic', the suggested terms could include 'medicare coverage' and 'medical assistant'." + }, + { + "value": "oneTermWithContext", + "name": "OneTermWithContext", + "description": "Completes the last term in a query with two or more terms, where the last two terms are a phrase that exists in the index. For example, if the input is 'washington medic', the suggested terms could include 'washington medicaid' and 'washington medical'." + } + ] + }, + "description": "Specifies the mode for Autocomplete. The default is 'oneTerm'. Use 'twoTerms' to get shingles and 'oneTermWithContext' to use the current context in producing autocomplete terms." + }, + "SearchRequest": { + "type": "object", + "properties": { + "count": { + "type": "boolean", + "description": "A value that specifies whether to fetch the total count of results. Default is false. Setting this value to true may have a performance impact. Note that the count returned is an approximation.", + "x-ms-client-name": "IncludeTotalResultCount" + }, + "facets": { + "externalDocs": { + "url": "https://learn.microsoft.com/rest/api/searchservice/Search-Documents" + }, + "type": "array", + "items": { + "type": "string" + }, + "description": "The list of facet expressions to apply to the search query. Each facet expression contains a field name, optionally followed by a comma-separated list of name:value pairs." + }, + "filter": { + "externalDocs": { + "url": "https://learn.microsoft.com/rest/api/searchservice/OData-Expression-Syntax-for-Azure-Search" + }, + "type": "string", + "description": "The OData $filter expression to apply to the search query." + }, + "highlight": { + "type": "string", + "description": "The comma-separated list of field names to use for hit highlights. Only searchable fields can be used for hit highlighting.", + "x-ms-client-name": "HighlightFields" + }, + "highlightPostTag": { + "type": "string", + "description": "A string tag that is appended to hit highlights. Must be set with highlightPreTag. Default is </em>." + }, + "highlightPreTag": { + "type": "string", + "description": "A string tag that is prepended to hit highlights. Must be set with highlightPostTag. Default is <em>." + }, + "minimumCoverage": { + "type": "number", + "format": "double", + "description": "A number between 0 and 100 indicating the percentage of the index that must be covered by a search query in order for the query to be reported as a success. This parameter can be useful for ensuring search availability even for services with only one replica. The default is 100." + }, + "orderby": { + "x-ms-client-name": "OrderBy", + "type": "string", + "description": "The comma-separated list of OData $orderby expressions by which to sort the results. Each expression can be either a field name or a call to either the geo.distance() or the search.score() functions. Each expression can be followed by asc to indicate ascending, or desc to indicate descending. The default is ascending order. Ties will be broken by the match scores of documents. If no $orderby is specified, the default sort order is descending by document match score. There can be at most 32 $orderby clauses." + }, + "queryType": { + "$ref": "#/definitions/QueryType", + "description": "A value that specifies the syntax of the search query. The default is 'simple'. Use 'full' if your query uses the Lucene query syntax." + }, + "scoringStatistics": { + "$ref": "#/definitions/ScoringStatistics", + "description": "A value that specifies whether we want to calculate scoring statistics (such as document frequency) globally for more consistent scoring, or locally, for lower latency. The default is 'local'. Use 'global' to aggregate scoring statistics globally before scoring. Using global scoring statistics can increase latency of search queries." + }, + "sessionId": { + "type": "string", + "description": "A value to be used to create a sticky session, which can help getting more consistent results. As long as the same sessionId is used, a best-effort attempt will be made to target the same replica set. Be wary that reusing the same sessionID values repeatedly can interfere with the load balancing of the requests across replicas and adversely affect the performance of the search service. The value used as sessionId cannot start with a '_' character." + }, + "scoringParameters": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The list of parameter values to be used in scoring functions (for example, referencePointParameter) using the format name-values. For example, if the scoring profile defines a function with a parameter called 'mylocation' the parameter string would be \"mylocation--122.2,44.8\" (without the quotes)." + }, + "scoringProfile": { + "type": "string", + "description": "The name of a scoring profile to evaluate match scores for matching documents in order to sort the results." + }, + "debug": { + "$ref": "#/definitions/QueryDebugMode", + "description": "Enables a debugging tool that can be used to further explore your reranked results." + }, + "search": { + "type": "string", + "description": "A full-text search query expression; Use \"*\" or omit this parameter to match all documents.", + "x-ms-client-name": "SearchText" + }, + "searchFields": { + "type": "string", + "description": "The comma-separated list of field names to which to scope the full-text search. When using fielded search (fieldName:searchExpression) in a full Lucene query, the field names of each fielded search expression take precedence over any field names listed in this parameter." + }, + "searchMode": { + "$ref": "#/definitions/SearchMode", + "description": "A value that specifies whether any or all of the search terms must be matched in order to count the document as a match." + }, + "queryLanguage": { + "$ref": "#/definitions/QueryLanguage", + "description": "A value that specifies the language of the search query." + }, + "speller": { + "$ref": "#/definitions/Speller", + "description": "A value that specified the type of the speller to use to spell-correct individual search query terms." + }, + "select": { + "type": "string", + "description": "The comma-separated list of fields to retrieve. If unspecified, all fields marked as retrievable in the schema are included." + }, + "skip": { + "type": "integer", + "format": "int32", + "description": "The number of search results to skip. This value cannot be greater than 100,000. If you need to scan documents in sequence, but cannot use skip due to this limitation, consider using orderby on a totally-ordered key and filter with a range query instead." + }, + "top": { + "type": "integer", + "format": "int32", + "description": "The number of search results to retrieve. This can be used in conjunction with $skip to implement client-side paging of search results. If results are truncated due to server-side paging, the response will include a continuation token that can be used to issue another Search request for the next page of results." + }, + "semanticConfiguration": { + "type": "string", + "description": "The name of a semantic configuration that will be used when processing documents for queries of type semantic." + }, + "semanticErrorHandling": { + "$ref": "#/definitions/SemanticErrorHandling", + "description": "Allows the user to choose whether a semantic call should fail completely (default / current behavior), or to return partial results." + }, + "semanticMaxWaitInMilliseconds": { + "type": "integer", + "format": "int32", + "x-nullable": true, + "minimum": 700, + "description": "Allows the user to set an upper bound on the amount of time it takes for semantic enrichment to finish processing before the request fails." + }, + "semanticQuery": { + "type": "string", + "description": "Allows setting a separate search query that will be solely used for semantic reranking, semantic captions and semantic answers. Is useful for scenarios where there is a need to use different queries between the base retrieval and ranking phase, and the L2 semantic phase." + }, + "answers": { + "$ref": "#/definitions/Answers", + "description": "A value that specifies whether answers should be returned as part of the search response." + }, + "captions": { + "$ref": "#/definitions/Captions", + "description": "A value that specifies whether captions should be returned as part of the search response." + }, + "queryRewrites": { + "$ref": "#/definitions/QueryRewrites", + "description": "A value that specifies whether query rewrites should be generated to augment the search query." + }, + "semanticFields": { + "type": "string", + "description": "The comma-separated list of field names used for semantic ranking." + }, + "vectorQueries": { + "type": "array", + "items": { + "$ref": "#/definitions/VectorQuery" + }, + "description": "The query parameters for vector and hybrid search queries." + }, + "vectorFilterMode": { + "$ref": "#/definitions/VectorFilterMode", + "description": "Determines whether or not filters are applied before or after the vector search is performed. Default is 'preFilter' for new indexes." + }, + "hybridSearch": { + "$ref": "#/definitions/HybridSearch", + "description": "The query parameters to configure hybrid search behaviors." + } + }, + "description": "Parameters for filtering, sorting, faceting, paging, and other search query behaviors." + }, + "SuggestRequest": { + "type": "object", + "properties": { + "filter": { + "externalDocs": { + "url": "https://learn.microsoft.com/rest/api/searchservice/OData-Expression-Syntax-for-Azure-Search" + }, + "type": "string", + "description": "An OData expression that filters the documents considered for suggestions." + }, + "fuzzy": { + "type": "boolean", + "description": "A value indicating whether to use fuzzy matching for the suggestion query. Default is false. When set to true, the query will find suggestions even if there's a substituted or missing character in the search text. While this provides a better experience in some scenarios, it comes at a performance cost as fuzzy suggestion searches are slower and consume more resources.", + "x-ms-client-name": "UseFuzzyMatching" + }, + "highlightPostTag": { + "type": "string", + "description": "A string tag that is appended to hit highlights. Must be set with highlightPreTag. If omitted, hit highlighting of suggestions is disabled." + }, + "highlightPreTag": { + "type": "string", + "description": "A string tag that is prepended to hit highlights. Must be set with highlightPostTag. If omitted, hit highlighting of suggestions is disabled." + }, + "minimumCoverage": { + "type": "number", + "format": "double", + "description": "A number between 0 and 100 indicating the percentage of the index that must be covered by a suggestion query in order for the query to be reported as a success. This parameter can be useful for ensuring search availability even for services with only one replica. The default is 80." + }, + "orderby": { + "x-ms-client-name": "OrderBy", + "type": "string", + "description": "The comma-separated list of OData $orderby expressions by which to sort the results. Each expression can be either a field name or a call to either the geo.distance() or the search.score() functions. Each expression can be followed by asc to indicate ascending, or desc to indicate descending. The default is ascending order. Ties will be broken by the match scores of documents. If no $orderby is specified, the default sort order is descending by document match score. There can be at most 32 $orderby clauses." + }, + "search": { + "type": "string", + "description": "The search text to use to suggest documents. Must be at least 1 character, and no more than 100 characters.", + "x-ms-client-name": "SearchText" + }, + "searchFields": { + "type": "string", + "description": "The comma-separated list of field names to search for the specified search text. Target fields must be included in the specified suggester." + }, + "select": { + "type": "string", + "description": "The comma-separated list of fields to retrieve. If unspecified, only the key field will be included in the results." + }, + "suggesterName": { + "type": "string", + "description": "The name of the suggester as specified in the suggesters collection that's part of the index definition." + }, + "top": { + "type": "integer", + "format": "int32", + "description": "The number of suggestions to retrieve. This must be a value between 1 and 100. The default is 5." + } + }, + "required": [ + "search", + "suggesterName" + ], + "description": "Parameters for filtering, sorting, fuzzy matching, and other suggestions query behaviors." + }, + "AutocompleteRequest": { + "type": "object", + "properties": { + "search": { + "type": "string", + "description": "The search text on which to base autocomplete results.", + "x-ms-client-name": "SearchText" + }, + "autocompleteMode": { + "$ref": "#/definitions/AutocompleteMode", + "description": "Specifies the mode for Autocomplete. The default is 'oneTerm'. Use 'twoTerms' to get shingles and 'oneTermWithContext' to use the current context while producing auto-completed terms." + }, + "filter": { + "externalDocs": { + "url": "https://learn.microsoft.com/rest/api/searchservice/OData-Expression-Syntax-for-Azure-Search" + }, + "type": "string", + "description": "An OData expression that filters the documents used to produce completed terms for the Autocomplete result." + }, + "fuzzy": { + "type": "boolean", + "description": "A value indicating whether to use fuzzy matching for the autocomplete query. Default is false. When set to true, the query will autocomplete terms even if there's a substituted or missing character in the search text. While this provides a better experience in some scenarios, it comes at a performance cost as fuzzy autocomplete queries are slower and consume more resources.", + "x-ms-client-name": "UseFuzzyMatching" + }, + "highlightPostTag": { + "type": "string", + "description": "A string tag that is appended to hit highlights. Must be set with highlightPreTag. If omitted, hit highlighting is disabled." + }, + "highlightPreTag": { + "type": "string", + "description": "A string tag that is prepended to hit highlights. Must be set with highlightPostTag. If omitted, hit highlighting is disabled." + }, + "minimumCoverage": { + "type": "number", + "format": "double", + "description": "A number between 0 and 100 indicating the percentage of the index that must be covered by an autocomplete query in order for the query to be reported as a success. This parameter can be useful for ensuring search availability even for services with only one replica. The default is 80." + }, + "searchFields": { + "type": "string", + "description": "The comma-separated list of field names to consider when querying for auto-completed terms. Target fields must be included in the specified suggester." + }, + "suggesterName": { + "type": "string", + "description": "The name of the suggester as specified in the suggesters collection that's part of the index definition." + }, + "top": { + "type": "integer", + "format": "int32", + "description": "The number of auto-completed terms to retrieve. This must be a value between 1 and 100. The default is 5." + } + }, + "required": [ + "search", + "suggesterName" + ], + "description": "Parameters for fuzzy matching, and other autocomplete query behaviors." + }, + "AutocompleteResult": { + "properties": { + "@search.coverage": { + "type": "number", + "format": "double", + "readOnly": true, + "x-ms-client-name": "Coverage", + "description": "A value indicating the percentage of the index that was considered by the autocomplete request, or null if minimumCoverage was not specified in the request." + }, + "value": { + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/AutocompleteItem" + }, + "description": "The list of returned Autocompleted items.", + "x-ms-client-name": "Results" + } + }, + "required": [ + "value" + ], + "description": "The result of Autocomplete query." + }, + "AutocompleteItem": { + "type": "object", + "properties": { + "text": { + "type": "string", + "readOnly": true, + "description": "The completed term." + }, + "queryPlusText": { + "type": "string", + "readOnly": true, + "description": "The query along with the completed term." + } + }, + "required": [ + "text", + "queryPlusText" + ], + "description": "The result of Autocomplete requests." + }, + "AnswerResult": { + "type": "object", + "x-ms-client-name": "QueryAnswerResult", + "properties": { + "score": { + "type": "number", + "format": "double", + "readOnly": true, + "description": "The score value represents how relevant the answer is to the query relative to other answers returned for the query." + }, + "key": { + "type": "string", + "readOnly": true, + "description": "The key of the document the answer was extracted from." + }, + "text": { + "type": "string", + "readOnly": true, + "description": "The text passage extracted from the document contents as the answer." + }, + "highlights": { + "type": "string", + "readOnly": true, + "x-nullable": true, + "description": "Same text passage as in the Text property with highlighted text phrases most relevant to the query." + } + }, + "additionalProperties": true, + "description": "An answer is a text passage extracted from the contents of the most relevant documents that matched the query. Answers are extracted from the top search results. Answer candidates are scored and the top answers are selected." + }, + "CaptionResult": { + "type": "object", + "x-ms-client-name": "QueryCaptionResult", + "properties": { + "text": { + "type": "string", + "readOnly": true, + "description": "A representative text passage extracted from the document most relevant to the search query." + }, + "highlights": { + "type": "string", + "readOnly": true, + "x-nullable": true, + "description": "Same text passage as in the Text property with highlighted phrases most relevant to the query." + } + }, + "additionalProperties": true, + "description": "Captions are the most representative passages from the document relatively to the search query. They are often used as document summary. Captions are only returned for queries of type `semantic`." + }, + "SemanticPartialResponseReason": { + "type": "string", + "enum": [ + "maxWaitExceeded", + "capacityOverloaded", + "transient" + ], + "x-ms-enum": { + "name": "SemanticErrorReason", + "modelAsString": true, + "values": [ + { + "value": "maxWaitExceeded", + "name": "MaxWaitExceeded", + "description": "If `semanticMaxWaitInMilliseconds` was set and the semantic processing duration exceeded that value. Only the base results were returned." + }, + { + "value": "capacityOverloaded", + "name": "CapacityOverloaded", + "description": "The request was throttled. Only the base results were returned." + }, + { + "value": "transient", + "name": "Transient", + "description": "At least one step of the semantic process failed." + } + ] + }, + "description": "Reason that a partial response was returned for a semantic ranking request." + }, + "SemanticPartialResponseType": { + "type": "string", + "enum": [ + "baseResults", + "rerankedResults" + ], + "x-ms-enum": { + "name": "SemanticSearchResultsType", + "modelAsString": true, + "values": [ + { + "value": "baseResults", + "name": "BaseResults", + "description": "Results without any semantic enrichment or reranking." + }, + { + "value": "rerankedResults", + "name": "RerankedResults", + "description": "Results have been reranked with the reranker model and will include semantic captions. They will not include any answers, answers highlights or caption highlights." + } + ] + }, + "description": "Type of partial response that was returned for a semantic ranking request." + }, + "SemanticQueryRewritesResultType": { + "type": "string", + "enum": [ + "originalQueryOnly" + ], + "x-ms-enum": { + "name": "SemanticQueryRewritesResultType", + "modelAsString": true, + "values": [ + { + "value": "originalQueryOnly", + "name": "OriginalQueryOnly", + "description": "Query rewrites were not successfully generated for this request. Only the original query was used to retrieve the results." + } + ] + }, + "description": "Type of query rewrite that was used for this request." + }, + "SemanticErrorHandling": { + "type": "string", + "enum": [ + "partial", + "fail" + ], + "x-ms-enum": { + "name": "SemanticErrorMode", + "modelAsString": true, + "values": [ + { + "value": "partial", + "name": "Partial", + "description": "If the semantic processing fails, partial results still return. The definition of partial results depends on what semantic step failed and what was the reason for failure." + }, + { + "value": "fail", + "name": "Fail", + "description": "If there is an exception during the semantic processing step, the query will fail and return the appropriate HTTP code depending on the error." + } + ] + }, + "description": "Allows the user to choose whether a semantic call should fail completely, or to return partial results." + }, + "Answers": { + "type": "string", + "enum": [ + "none", + "extractive" + ], + "x-ms-enum": { + "name": "QueryAnswerType", + "modelAsString": true, + "values": [ + { + "value": "none", + "name": "None", + "description": "Do not return answers for the query." + }, + { + "value": "extractive", + "name": "Extractive", + "description": "Extracts answer candidates from the contents of the documents returned in response to a query expressed as a question in natural language." + } + ] + }, + "description": "This parameter is only valid if the query type is `semantic`. If set, the query returns answers extracted from key passages in the highest ranked documents. The number of answers returned can be configured by appending the pipe character `|` followed by the `count-` option after the answers parameter value, such as `extractive|count-3`. Default count is 1. The confidence threshold can be configured by appending the pipe character `|` followed by the `threshold-` option after the answers parameter value, such as `extractive|threshold-0.9`. Default threshold is 0.7. The maximum character length of answers can be configured by appending the pipe character '|' followed by the 'count-', such as 'extractive|maxcharlength-600'." + }, + "Captions": { + "type": "string", + "enum": [ + "none", + "extractive" + ], + "x-ms-enum": { + "name": "QueryCaptionType", + "modelAsString": true, + "values": [ + { + "value": "none", + "name": "None", + "description": "Do not return captions for the query." + }, + { + "value": "extractive", + "name": "Extractive", + "description": "Extracts captions from the matching documents that contain passages relevant to the search query." + } + ] + }, + "description": "This parameter is only valid if the query type is `semantic`. If set, the query returns captions extracted from key passages in the highest ranked documents. When Captions is set to `extractive`, highlighting is enabled by default, and can be configured by appending the pipe character `|` followed by the `highlight-` option, such as `extractive|highlight-true`. Defaults to `None`. The maximum character length of captions can be configured by appending the pipe character '|' followed by the 'count-', such as 'extractive|maxcharlength-600'." + }, + "QueryRewrites": { + "type": "string", + "enum": [ + "none", + "generative" + ], + "x-ms-enum": { + "name": "QueryRewritesType", + "modelAsString": true, + "values": [ + { + "value": "none", + "name": "None", + "description": "Do not generate additional query rewrites for this query." + }, + { + "value": "generative", + "name": "Generative", + "description": "Generate alternative query terms to increase the recall of a search request." + } + ] + }, + "description": "This parameter is only valid if the query type is `semantic`. When QueryRewrites is set to `generative`, the query terms are sent to a generate model which will produce 10 (default) rewrites to help increase the recall of the request. The requested count can be configured by appending the pipe character `|` followed by the `count-` option, such as `generative|count-3`. Defaults to `None`." + }, + "DebugInfo": { + "type": "object", + "properties": { + "queryRewrites": { + "$ref": "#/definitions/QueryRewritesDebugInfo", + "readOnly": true, + "description": "Contains debugging information specific to query rewrites." + } + }, + "description": "Contains debugging information that can be used to further explore your search results." + }, + "DocumentDebugInfo": { + "type": "object", + "properties": { + "semantic": { + "$ref": "#/definitions/SemanticDebugInfo", + "readOnly": true, + "description": "Contains debugging information specific to semantic ranking requests." + }, + "vectors": { + "$ref": "#/definitions/VectorsDebugInfo", + "readOnly": true, + "description": "Contains debugging information specific to vector and hybrid search." + }, + "innerHits": { + "$ref": "#/definitions/InnerHitsDebugInfo", + "readOnly": true, + "description": "Contains debugging information specific to vectors matched within a collection of complex types." + } + }, + "description": "Contains debugging information that can be used to further explore your search results." + }, + "SemanticDebugInfo": { + "type": "object", + "properties": { + "titleField": { + "$ref": "#/definitions/QueryResultDocumentSemanticField", + "readOnly": true, + "description": "The title field that was sent to the semantic enrichment process, as well as how it was used" + }, + "contentFields": { + "type": "array", + "items": { + "$ref": "#/definitions/QueryResultDocumentSemanticField" + }, + "readOnly": true, + "description": "The content fields that were sent to the semantic enrichment process, as well as how they were used" + }, + "keywordFields": { + "type": "array", + "items": { + "$ref": "#/definitions/QueryResultDocumentSemanticField" + }, + "readOnly": true, + "description": "The keyword fields that were sent to the semantic enrichment process, as well as how they were used" + }, + "rerankerInput": { + "$ref": "#/definitions/QueryResultDocumentRerankerInput", + "readOnly": true, + "description": "The raw concatenated strings that were sent to the semantic enrichment process." + } + } + }, + "QueryResultDocumentSemanticField": { + "type": "object", + "properties": { + "name": { + "type": "string", + "readOnly": true, + "description": "The name of the field that was sent to the semantic enrichment process" + }, + "state": { + "$ref": "#/definitions/QueryResultDocumentSemanticFieldState", + "readOnly": true, + "description": "The way the field was used for the semantic enrichment process (fully used, partially used, or unused)" + } + }, + "description": "Description of fields that were sent to the semantic enrichment process, as well as how they were used" + }, + "QueryResultDocumentSemanticFieldState": { + "type": "string", + "enum": [ + "used", + "unused", + "partial" + ], + "x-ms-enum": { + "name": "SemanticFieldState", + "modelAsString": true, + "values": [ + { + "value": "used", + "name": "Used", + "description": "The field was fully used for semantic enrichment." + }, + { + "value": "unused", + "name": "Unused", + "description": "The field was not used for semantic enrichment." + }, + { + "value": "partial", + "name": "Partial", + "description": "The field was partially used for semantic enrichment." + } + ] + }, + "description": "The way the field was used for the semantic enrichment process." + }, + "QueryResultDocumentRerankerInput": { + "type": "object", + "properties": { + "title": { + "type": "string", + "readOnly": true, + "description": "The raw string for the title field that was used for semantic enrichment." + }, + "content": { + "type": "string", + "readOnly": true, + "description": "The raw concatenated strings for the content fields that were used for semantic enrichment." + }, + "keywords": { + "type": "string", + "readOnly": true, + "description": "The raw concatenated strings for the keyword fields that were used for semantic enrichment." + } + }, + "description": "The raw concatenated strings that were sent to the semantic enrichment process." + }, + "VectorsDebugInfo": { + "type": "object", + "properties": { + "subscores": { + "$ref": "#/definitions/QueryResultDocumentSubscores", + "readOnly": true, + "description": "The breakdown of subscores of the document prior to the chosen result set fusion/combination method such as RRF." + } + } + }, + "QueryResultDocumentSubscores": { + "type": "object", + "properties": { + "text": { + "$ref": "#/definitions/TextResult", + "readOnly": true, + "description": "The BM25 or Classic score for the text portion of the query." + }, + "vectors": { + "type": "array", + "items": { + "$ref": "#/definitions/QueryResultDocumentVectorSubscores" + }, + "readOnly": true, + "description": "The vector similarity and @search.score values for each vector query." + }, + "documentBoost": { + "type": "number", + "format": "double", + "readOnly": true, + "description": "The BM25 or Classic score for the text portion of the query." + } + }, + "description": "The breakdown of subscores between the text and vector query components of the search query for this document. Each vector query is shown as a separate object in the same order they were received." + }, + "TextResult": { + "type": "object", + "properties": { + "searchScore": { + "type": "number", + "format": "double", + "readOnly": true, + "description": "The BM25 or Classic score for the text portion of the query." + } + }, + "readOnly": true, + "description": "The BM25 or Classic score for the text portion of the query." + }, + "QueryResultDocumentVectorSubscores": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/SingleVectorFieldResult", + "readOnly": true + }, + "readOnly": true, + "description": "The vector similarity and @search.score values for each vector query. Each cross-field vector query will have separate subscores for each referenced field." + }, + "SingleVectorFieldResult": { + "type": "object", + "properties": { + "searchScore": { + "type": "number", + "format": "double", + "readOnly": true, + "description": "The @search.score value that is calculated from the vector similarity score. This is the score that's visible in a pure single-field single-vector query." + }, + "vectorSimilarity": { + "type": "number", + "format": "double", + "readOnly": true, + "description": "The vector similarity score for this document. Note this is the canonical definition of similarity metric, not the 'distance' version. For example, cosine similarity instead of cosine distance." + } + }, + "readOnly": true, + "description": "A single vector field result. Both @search.score and vector similarity values are returned. Vector similarity is related to @search.score by an equation." + }, + "QueryRewritesDebugInfo": { + "type": "object", + "properties": { + "text": { + "$ref": "#/definitions/QueryRewritesValuesDebugInfo", + "readOnly": true, + "description": "List of query rewrites generated for the text query." + }, + "vectors": { + "type": "array", + "items": { + "$ref": "#/definitions/QueryRewritesValuesDebugInfo" + }, + "readOnly": true, + "description": "List of query rewrites generated for the vectorizable text queries." + } + }, + "readOnly": true, + "description": "Contains debugging information specific to query rewrites." + }, + "QueryRewritesValuesDebugInfo": { + "type": "object", + "properties": { + "inputQuery": { + "type": "string", + "readOnly": true, + "description": "The input text to the generative query rewriting model. There may be cases where the user query and the input to the generative model are not identical." + }, + "rewrites": { + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true, + "description": "List of query rewrites." + } + }, + "readOnly": true, + "description": "Contains debugging information specific to query rewrites." + }, + "InnerHitsDebugInfo": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/NestedFieldInnerHitsDebugInfo", + "readOnly": true + }, + "readOnly": true, + "description": "Detailing scoring information for all individual elements of all complex collection that matched the search request." + }, + "NestedFieldInnerHitsDebugInfo": { + "type": "array", + "items": { + "$ref": "#/definitions/QueryResultDocumentInnerHit" + }, + "readOnly": true, + "description": "Detailed scoring information for individual elements of a specific complex collection that matched the search request." + }, + "QueryResultDocumentInnerHit": { + "type": "object", + "properties": { + "ordinal": { + "type": "integer", + "format": "int64", + "readOnly": true, + "description": "Position of this specific matching element within it's original collection. Position starts at 0." + }, + "vectors": { + "type": "array", + "items": { + "$ref": "#/definitions/QueryResultDocumentVectorSubscores" + }, + "readOnly": true, + "description": "Detailed scoring information for an individual element of a complex collection that matched a vector query." + } + }, + "description": "Detailed scoring information for an individual element of a complex collection." + } + }, + "parameters": { + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "Client Api Version." + }, + "ClientRequestIdParameter": { + "name": "x-ms-client-request-id", + "in": "header", + "required": false, + "type": "string", + "format": "uuid", + "description": "The tracking ID sent with the request to help with debugging.", + "x-ms-client-request-id": true, + "x-ms-parameter-grouping": { + "name": "request-options" + }, + "x-ms-parameter-location": "method" + }, + "QuerySourceAuthorizationParameter": { + "name": "x-ms-query-source-authorization", + "in": "header", + "required": false, + "type": "string", + "description": "Token identifying the user for which the query is being executed. This token is used to enforce security restrictions on documents.", + "x-ms-query-source-authorization": true, + "x-ms-parameter-location": "method" + }, + "EnableElevatedReadParameter": { + "name": "x-ms-enable-elevated-read", + "in": "header", + "required": false, + "type": "boolean", + "description": "A value that enables elevated read that bypass document level permission checks for the query operation.", + "x-ms-parameter-location": "method" + }, + "EndpointParameter": { + "name": "endpoint", + "in": "path", + "required": true, + "type": "string", + "x-ms-skip-url-encoding": true, + "description": "The endpoint URL of the search service.", + "x-ms-parameter-location": "client" + }, + "IndexNameParameter": { + "name": "indexName", + "in": "path", + "required": true, + "type": "string", + "x-ms-skip-url-encoding": false, + "description": "The name of the index.", + "x-ms-parameter-location": "client" + } + } +} diff --git a/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/searchservice.json b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/searchservice.json new file mode 100644 index 000000000000..b17f5969a015 --- /dev/null +++ b/specification/search/data-plane/Azure.Search/preview/2025-11-01-preview/searchservice.json @@ -0,0 +1,15407 @@ +{ + "swagger": "2.0", + "info": { + "title": "SearchServiceClient", + "description": "Client that can be used to manage and query indexes and documents, as well as manage other resources, on a search service.", + "version": "2025-11-01-preview", + "x-ms-code-generation-settings": { + "useDateTimeOffset": true + } + }, + "x-ms-parameterized-host": { + "hostTemplate": "{endpoint}", + "useSchemePrefix": false, + "parameters": [ + { + "$ref": "#/parameters/EndpointParameter" + } + ] + }, + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": { + "/knowledgebases('{knowledgeBaseName}')": { + "put": { + "tags": [ + "KnowledgeBases" + ], + "operationId": "KnowledgeBases_CreateOrUpdate", + "x-ms-examples": { + "SearchServiceCreateOrUpdateKnowledgeBase": { + "$ref": "./examples/SearchServiceCreateOrUpdateKnowledgeBase.json" + } + }, + "description": "Creates a new knowledge base or updates an knowledge base if it already exists.", + "parameters": [ + { + "name": "knowledgeBaseName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the knowledge base to create or update." + }, + { + "name": "KnowledgeBase", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/KnowledgeBase" + }, + "description": "The definition of the knowledge base to create or update." + }, + { + "$ref": "#/parameters/ClientRequestIdParameter" + }, + { + "$ref": "#/parameters/IfMatchParameter" + }, + { + "$ref": "#/parameters/IfNoneMatchParameter" + }, + { + "$ref": "#/parameters/PreferHeaderParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/KnowledgeBase" + } + }, + "201": { + "description": "", + "schema": { + "$ref": "#/definitions/KnowledgeBase" + } + }, + "default": { + "description": "Error response.", + "schema": { + "$ref": "../../../../../common-types/data-plane/v1/types.json#/definitions/ErrorResponse" + } + } + } + }, + "delete": { + "tags": [ + "KnowledgeBases" + ], + "operationId": "KnowledgeBases_Delete", + "x-ms-examples": { + "SearchServiceDeleteKnowledgeBase": { + "$ref": "./examples/SearchServiceDeleteKnowledgeBase.json" + } + }, + "description": "Deletes an existing knowledge base.", + "parameters": [ + { + "name": "knowledgeBaseName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the knowledge base to delete." + }, + { + "$ref": "#/parameters/ClientRequestIdParameter" + }, + { + "$ref": "#/parameters/IfMatchParameter" + }, + { + "$ref": "#/parameters/IfNoneMatchParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "x-ms-request-id": "request-id", + "responses": { + "204": { + "description": "" + }, + "404": { + "description": "" + }, + "default": { + "description": "Error response.", + "schema": { + "$ref": "../../../../../common-types/data-plane/v1/types.json#/definitions/ErrorResponse" + } + } + } + }, + "get": { + "tags": [ + "KnowledgeBases" + ], + "operationId": "KnowledgeBases_Get", + "x-ms-examples": { + "SearchServiceGetKnowledgeBase": { + "$ref": "./examples/SearchServiceGetKnowledgeBase.json" + } + }, + "description": "Retrieves an knowledge base definition.", + "parameters": [ + { + "name": "knowledgeBaseName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the knowledge base to retrieve." + }, + { + "$ref": "#/parameters/ClientRequestIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "x-ms-request-id": "request-id", + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/KnowledgeBase" + } + }, + "default": { + "description": "Error response.", + "schema": { + "$ref": "../../../../../common-types/data-plane/v1/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/knowledgebases": { + "get": { + "tags": [ + "KnowledgeBases" + ], + "operationId": "KnowledgeBases_List", + "x-ms-examples": { + "SearchServiceListKnowledgeBases": { + "$ref": "./examples/SearchServiceListKnowledgeBases.json" + } + }, + "description": "Lists all knowledge bases available for a search service.", + "parameters": [ + { + "$ref": "#/parameters/ClientRequestIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/ListKnowledgeBasesResult" + } + }, + "default": { + "description": "Error response.", + "schema": { + "$ref": "../../../../../common-types/data-plane/v1/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + } + }, + "post": { + "tags": [ + "KnowledgeBases" + ], + "operationId": "KnowledgeBases_Create", + "x-ms-examples": { + "SearchServiceCreateKnowledgeBase": { + "$ref": "./examples/SearchServiceCreateKnowledgeBase.json" + } + }, + "description": "Creates a new knowledge base.", + "parameters": [ + { + "name": "KnowledgeBase", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/KnowledgeBase" + }, + "description": "The definition of the knowledge base to create." + }, + { + "$ref": "#/parameters/ClientRequestIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "201": { + "description": "Successfully created an knowledge base", + "schema": { + "$ref": "#/definitions/KnowledgeBase" + } + }, + "default": { + "description": "Error response.", + "schema": { + "$ref": "../../../../../common-types/data-plane/v1/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/knowledgesources('{sourceName}')": { + "put": { + "tags": [ + "KnowledgeSource" + ], + "operationId": "KnowledgeSources_CreateOrUpdate", + "x-ms-examples": { + "SearchServiceCreateOrUpdateKnowledgeSource": { + "$ref": "./examples/SearchServiceCreateOrUpdateKnowledgeSource.json" + }, + "SearchServiceCreateOrUpdateKnowledgeSourceAzureBlob": { + "$ref": "./examples/SearchServiceCreateOrUpdateKnowledgeSourceAzureBlob.json" + }, + "SearchServiceCreateOrUpdateKnowledgeSourceWeb": { + "$ref": "./examples/SearchServiceCreateOrUpdateKnowledgeSourceWeb.json" + }, + "SearchServiceCreateOrUpdateKnowledgeSourceSharePoint": { + "$ref": "./examples/SearchServiceCreateOrUpdateKnowledgeSourceIndexedSharePoint.json" + }, + "SearchServiceCreateOrUpdateKnowledgeSourceOneLake": { + "$ref": "./examples/SearchServiceCreateOrUpdateKnowledgeSourceIndexedOneLake.json" + } + }, + "description": "Creates a new knowledge source or updates an knowledge source if it already exists.", + "parameters": [ + { + "name": "sourceName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the knowledge source to create or update." + }, + { + "name": "KnowledgeSource", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/KnowledgeSource" + }, + "description": "The definition of the knowledge source to create or update." + }, + { + "$ref": "#/parameters/ClientRequestIdParameter" + }, + { + "$ref": "#/parameters/IfMatchParameter" + }, + { + "$ref": "#/parameters/IfNoneMatchParameter" + }, + { + "$ref": "#/parameters/PreferHeaderParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/KnowledgeSource" + } + }, + "201": { + "description": "", + "schema": { + "$ref": "#/definitions/KnowledgeSource" + } + }, + "default": { + "description": "Error response.", + "schema": { + "$ref": "../../../../../common-types/data-plane/v1/types.json#/definitions/ErrorResponse" + } + } + } + }, + "delete": { + "tags": [ + "KnowledgeSources" + ], + "operationId": "KnowledgeSources_Delete", + "x-ms-examples": { + "SearchServiceDeleteKnowledgeSource": { + "$ref": "./examples/SearchServiceDeleteKnowledgeSource.json" + }, + "SearchServiceDeleteKnowledgeSourceAzureBlob": { + "$ref": "./examples/SearchServiceDeleteKnowledgeSourceAzureBlob.json" + }, + "SearchServiceDeleteKnowledgeSourceWeb": { + "$ref": "./examples/SearchServiceDeleteKnowledgeSourceWeb.json" + }, + "SearchServiceDeleteKnowledgeSourceSharePoint": { + "$ref": "./examples/SearchServiceDeleteKnowledgeSourceIndexedSharePoint.json" + }, + "SearchServiceDeleteKnowledgeSourceOneLake": { + "$ref": "./examples/SearchServiceDeleteKnowledgeSourceIndexedOneLake.json" + } + }, + "description": "Deletes an existing knowledge source.", + "parameters": [ + { + "name": "sourceName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the knowledge source to delete." + }, + { + "$ref": "#/parameters/ClientRequestIdParameter" + }, + { + "$ref": "#/parameters/IfMatchParameter" + }, + { + "$ref": "#/parameters/IfNoneMatchParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "x-ms-request-id": "request-id", + "responses": { + "204": { + "description": "" + }, + "404": { + "description": "" + }, + "default": { + "description": "Error response.", + "schema": { + "$ref": "../../../../../common-types/data-plane/v1/types.json#/definitions/ErrorResponse" + } + } + } + }, + "get": { + "tags": [ + "KnowledgeSources" + ], + "operationId": "KnowledgeSources_Get", + "x-ms-examples": { + "SearchServiceGetKnowledgeSource": { + "$ref": "./examples/SearchServiceGetKnowledgeSource.json" + }, + "SearchServiceGetKnowledgeSourceAzureBlob": { + "$ref": "./examples/SearchServiceGetKnowledgeSourceAzureBlob.json" + }, + "SearchServiceGetKnowledgeSourceWeb": { + "$ref": "./examples/SearchServiceGetKnowledgeSourceWeb.json" + }, + "SearchServiceGetKnowledgeSourceSharePoint": { + "$ref": "./examples/SearchServiceGetKnowledgeSourceIndexedSharePoint.json" + }, + "SearchServiceGetKnowledgeSourceOneLake": { + "$ref": "./examples/SearchServiceGetKnowledgeSourceIndexedOneLake.json" + } + }, + "description": "Retrieves a knowledge source definition.", + "parameters": [ + { + "name": "sourceName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the knowledge source to retrieve." + }, + { + "$ref": "#/parameters/ClientRequestIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "x-ms-request-id": "request-id", + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/KnowledgeSource" + } + }, + "default": { + "description": "Error response.", + "schema": { + "$ref": "../../../../../common-types/data-plane/v1/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/knowledgesources": { + "get": { + "tags": [ + "KnowledgeSources" + ], + "operationId": "KnowledgeSources_List", + "x-ms-examples": { + "SearchServiceListKnowledgeSources": { + "$ref": "./examples/SearchServiceListKnowledgeSources.json" + }, + "SearchServiceListKnowledgeSourcesAzureBlob": { + "$ref": "./examples/SearchServiceListKnowledgeSourcesAzureBlob.json" + }, + "SearchServiceListKnowledgeSourcesWeb": { + "$ref": "./examples/SearchServiceListKnowledgeSourcesWeb.json" + }, + "SearchServiceListKnowledgeSourcesSharePoint": { + "$ref": "./examples/SearchServiceListKnowledgeSourcesIndexedSharePoint.json" + }, + "SearchServiceListKnowledgeSourcesOneLake": { + "$ref": "./examples/SearchServiceListKnowledgeSourcesIndexedOneLake.json" + } + }, + "description": "Lists all knowledge sources available for a search service.", + "parameters": [ + { + "$ref": "#/parameters/ClientRequestIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/ListKnowledgeSourcesResult" + } + }, + "default": { + "description": "Error response.", + "schema": { + "$ref": "../../../../../common-types/data-plane/v1/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + } + }, + "post": { + "tags": [ + "KnowledgeSources" + ], + "operationId": "KnowledgeSources_Create", + "x-ms-examples": { + "SearchServiceCreateKnowledgeSource": { + "$ref": "./examples/SearchServiceCreateKnowledgeSource.json" + }, + "SearchServiceCreateKnowledgeSourceAzureBlob": { + "$ref": "./examples/SearchServiceCreateKnowledgeSourceAzureBlob.json" + }, + "SearchServiceCreateKnowledgeSourceWeb": { + "$ref": "./examples/SearchServiceCreateKnowledgeSourceWeb.json" + }, + "SearchServiceCreateKnowledgeSourceSharePoint": { + "$ref": "./examples/SearchServiceCreateKnowledgeSourceIndexedSharePoint.json" + }, + "SearchServiceCreateKnowledgeSourceOneLake": { + "$ref": "./examples/SearchServiceCreateKnowledgeSourceIndexedOneLake.json" + } + }, + "description": "Creates a new knowledge source.", + "parameters": [ + { + "name": "KnowledgeSource", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/KnowledgeSource" + }, + "description": "The definition of the knowledge source to create." + }, + { + "$ref": "#/parameters/ClientRequestIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "201": { + "description": "Successfully created an knowledge source", + "schema": { + "$ref": "#/definitions/KnowledgeSource" + } + }, + "default": { + "description": "Error response.", + "schema": { + "$ref": "../../../../../common-types/data-plane/v1/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/knowledgesources('{sourceName}')/status": { + "get": { + "tags": [ + "KnowledgeSources" + ], + "operationId": "KnowledgeSources_GetStatus", + "x-ms-examples": { + "SearchServiceGetKnowledgeSourceStatus": { + "$ref": "./examples/SearchServiceGetKnowledgeSourceStatus.json" + } + }, + "description": "Returns the current status and synchronization history of a knowledge source.", + "parameters": [ + { + "name": "sourceName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the knowledge source for which to retrieve status." + }, + { + "$ref": "#/parameters/ClientRequestIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "x-ms-request-id": "request-id", + "responses": { + "200": { + "description": "Knowledge source status retrieved successfully.", + "schema": { + "$ref": "#/definitions/KnowledgeSourceStatus" + } + }, + "default": { + "description": "Error response.", + "schema": { + "$ref": "../../../../../common-types/data-plane/v1/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/datasources('{dataSourceName}')": { + "put": { + "tags": [ + "DataSources" + ], + "operationId": "DataSources_CreateOrUpdate", + "x-ms-examples": { + "SearchServiceCreateOrUpdateDataSource": { + "$ref": "./examples/SearchServiceCreateOrUpdateDataSource.json" + } + }, + "description": "Creates a new datasource or updates a datasource if it already exists.", + "externalDocs": { + "url": "https://learn.microsoft.com/rest/api/searchservice/Update-Data-Source" + }, + "parameters": [ + { + "name": "dataSourceName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the datasource to create or update." + }, + { + "name": "dataSource", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/SearchIndexerDataSource" + }, + "description": "The definition of the datasource to create or update." + }, + { + "$ref": "#/parameters/ClientRequestIdParameter" + }, + { + "$ref": "#/parameters/IfMatchParameter" + }, + { + "$ref": "#/parameters/IfNoneMatchParameter" + }, + { + "$ref": "#/parameters/PreferHeaderParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/IgnoreResetRequirementsParameter" + } + ], + "x-ms-request-id": "request-id", + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/SearchIndexerDataSource" + } + }, + "201": { + "description": "", + "schema": { + "$ref": "#/definitions/SearchIndexerDataSource" + } + }, + "default": { + "description": "Error response.", + "schema": { + "$ref": "../../../../../common-types/data-plane/v1/types.json#/definitions/ErrorResponse" + } + } + } + }, + "delete": { + "tags": [ + "DataSources" + ], + "operationId": "DataSources_Delete", + "x-ms-examples": { + "SearchServiceDeleteDataSource": { + "$ref": "./examples/SearchServiceDeleteDataSource.json" + } + }, + "description": "Deletes a datasource.", + "externalDocs": { + "url": "https://learn.microsoft.com/rest/api/searchservice/Delete-Data-Source" + }, + "parameters": [ + { + "name": "dataSourceName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the datasource to delete." + }, + { + "$ref": "#/parameters/ClientRequestIdParameter" + }, + { + "$ref": "#/parameters/IfMatchParameter" + }, + { + "$ref": "#/parameters/IfNoneMatchParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "x-ms-request-id": "request-id", + "responses": { + "204": { + "description": "" + }, + "404": { + "description": "" + }, + "default": { + "description": "Error response.", + "schema": { + "$ref": "../../../../../common-types/data-plane/v1/types.json#/definitions/ErrorResponse" + } + } + } + }, + "get": { + "tags": [ + "DataSources" + ], + "operationId": "DataSources_Get", + "x-ms-examples": { + "SearchServiceGetDataSource": { + "$ref": "./examples/SearchServiceGetDataSource.json" + } + }, + "description": "Retrieves a datasource definition.", + "externalDocs": { + "url": "https://learn.microsoft.com/rest/api/searchservice/Get-Data-Source" + }, + "parameters": [ + { + "name": "dataSourceName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the datasource to retrieve." + }, + { + "$ref": "#/parameters/ClientRequestIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "x-ms-request-id": "request-id", + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/SearchIndexerDataSource" + } + }, + "default": { + "description": "Error response.", + "schema": { + "$ref": "../../../../../common-types/data-plane/v1/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/datasources": { + "get": { + "tags": [ + "DataSources" + ], + "operationId": "DataSources_List", + "x-ms-examples": { + "SearchServiceListDataSources": { + "$ref": "./examples/SearchServiceListDataSources.json" + } + }, + "description": "Lists all datasources available for a search service.", + "externalDocs": { + "url": "https://learn.microsoft.com/rest/api/searchservice/List-Data-Sources" + }, + "parameters": [ + { + "name": "$select", + "in": "query", + "required": false, + "type": "string", + "description": "Selects which top-level properties of the data sources to retrieve. Specified as a comma-separated list of JSON property names, or '*' for all properties. The default is all properties." + }, + { + "$ref": "#/parameters/ClientRequestIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "x-ms-request-id": "request-id", + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/ListDataSourcesResult" + } + }, + "default": { + "description": "Error response.", + "schema": { + "$ref": "../../../../../common-types/data-plane/v1/types.json#/definitions/ErrorResponse" + } + } + } + }, + "post": { + "tags": [ + "DataSources" + ], + "operationId": "DataSources_Create", + "x-ms-examples": { + "SearchServiceCreateDataSource": { + "$ref": "./examples/SearchServiceCreateDataSource.json" + } + }, + "description": "Creates a new datasource.", + "externalDocs": { + "url": "https://learn.microsoft.com/rest/api/searchservice/Create-Data-Source" + }, + "parameters": [ + { + "name": "dataSource", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/SearchIndexerDataSource" + }, + "description": "The definition of the datasource to create." + }, + { + "$ref": "#/parameters/ClientRequestIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "x-ms-request-id": "request-id", + "responses": { + "201": { + "description": "", + "schema": { + "$ref": "#/definitions/SearchIndexerDataSource" + } + }, + "default": { + "description": "Error response.", + "schema": { + "$ref": "../../../../../common-types/data-plane/v1/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/indexers('{indexerName}')/search.reset": { + "post": { + "tags": [ + "Indexers" + ], + "operationId": "Indexers_Reset", + "x-ms-examples": { + "SearchServiceResetIndexer": { + "$ref": "./examples/SearchServiceResetIndexer.json" + } + }, + "description": "Resets the change tracking state associated with an indexer.", + "externalDocs": { + "url": "https://learn.microsoft.com/rest/api/searchservice/Reset-Indexer" + }, + "parameters": [ + { + "name": "indexerName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the indexer to reset." + }, + { + "$ref": "#/parameters/ClientRequestIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "x-ms-request-id": "request-id", + "responses": { + "204": { + "description": "" + }, + "default": { + "description": "Error response.", + "schema": { + "$ref": "../../../../../common-types/data-plane/v1/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/indexers('{indexerName}')/search.resetdocs": { + "post": { + "tags": [ + "Indexers" + ], + "operationId": "Indexers_ResetDocs", + "x-ms-examples": { + "SearchServiceResetDocs": { + "$ref": "./examples/SearchServiceResetDocs.json" + } + }, + "description": "Resets specific documents in the datasource to be selectively re-ingested by the indexer.", + "externalDocs": { + "url": "https://aka.ms/reset-documents" + }, + "parameters": [ + { + "name": "indexerName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the indexer to reset documents for." + }, + { + "name": "keysOrIds", + "in": "body", + "required": false, + "schema": { + "type": "object", + "x-ms-client-name": "DocumentKeysOrIds", + "properties": { + "documentKeys": { + "type": "array", + "items": { + "type": "string" + }, + "description": "document keys to be reset" + }, + "datasourceDocumentIds": { + "type": "array", + "items": { + "type": "string" + }, + "description": "datasource document identifiers to be reset" + } + } + } + }, + { + "name": "overwrite", + "in": "query", + "required": false, + "default": false, + "type": "boolean", + "description": "If false, keys or ids will be appended to existing ones. If true, only the keys or ids in this payload will be queued to be re-ingested." + }, + { + "$ref": "#/parameters/ClientRequestIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "x-ms-request-id": "request-id", + "responses": { + "204": { + "description": "" + }, + "default": { + "description": "Error response.", + "schema": { + "$ref": "../../../../../common-types/data-plane/v1/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/indexers('{indexerName}')/search.resync": { + "post": { + "tags": [ + "Indexers" + ], + "operationId": "Indexers_Resync", + "x-ms-examples": { + "SearchServiceResync": { + "$ref": "./examples/SearchServiceResync.json" + } + }, + "description": "Resync selective options from the datasource to be re-ingested by the indexer.", + "externalDocs": { + "url": "https://learn.microsoft.com/rest/api/searchservice/Resync-Indexer" + }, + "parameters": [ + { + "name": "indexerName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the indexer to resync for." + }, + { + "name": "indexerResync", + "in": "body", + "required": true, + "schema": { + "type": "object", + "x-ms-client-name": "IndexerResyncBody", + "properties": { + "options": { + "type": "array", + "x-ms-client-name": "options", + "x-nullable": true, + "items": { + "$ref": "#/definitions/IndexerResyncOption", + "x-nullable": false + }, + "description": "Re-sync options that have been pre-defined from data source." + } + } + } + }, + { + "$ref": "#/parameters/ClientRequestIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "x-ms-request-id": "request-id", + "responses": { + "204": { + "description": "" + }, + "default": { + "description": "Error response.", + "schema": { + "$ref": "../../../../../common-types/data-plane/v1/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/indexers('{indexerName}')/search.run": { + "post": { + "tags": [ + "Indexers" + ], + "operationId": "Indexers_Run", + "x-ms-examples": { + "SearchServiceRunIndexer": { + "$ref": "./examples/SearchServiceRunIndexer.json" + } + }, + "description": "Runs an indexer on-demand.", + "externalDocs": { + "url": "https://learn.microsoft.com/rest/api/searchservice/Run-Indexer" + }, + "parameters": [ + { + "name": "indexerName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the indexer to run." + }, + { + "$ref": "#/parameters/ClientRequestIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "x-ms-request-id": "request-id", + "responses": { + "202": { + "description": "" + }, + "default": { + "description": "Error response.", + "schema": { + "$ref": "../../../../../common-types/data-plane/v1/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/indexers('{indexerName}')": { + "put": { + "tags": [ + "Indexers" + ], + "operationId": "Indexers_CreateOrUpdate", + "x-ms-examples": { + "SearchServiceCreateOrUpdateIndexer": { + "$ref": "./examples/SearchServiceCreateOrUpdateIndexer.json" + } + }, + "description": "Creates a new indexer or updates an indexer if it already exists.", + "externalDocs": { + "url": "https://learn.microsoft.com/rest/api/searchservice/Create-Indexer" + }, + "parameters": [ + { + "name": "indexerName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the indexer to create or update." + }, + { + "name": "indexer", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/SearchIndexer" + }, + "description": "The definition of the indexer to create or update." + }, + { + "$ref": "#/parameters/ClientRequestIdParameter" + }, + { + "$ref": "#/parameters/IfMatchParameter" + }, + { + "$ref": "#/parameters/IfNoneMatchParameter" + }, + { + "$ref": "#/parameters/PreferHeaderParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/IgnoreResetRequirementsParameter" + }, + { + "$ref": "#/parameters/DisableCacheReprocessingChangeDetectionParameter" + } + ], + "x-ms-request-id": "request-id", + "responses": { + "201": { + "description": "", + "schema": { + "$ref": "#/definitions/SearchIndexer" + } + }, + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/SearchIndexer" + } + }, + "default": { + "description": "Error response.", + "schema": { + "$ref": "../../../../../common-types/data-plane/v1/types.json#/definitions/ErrorResponse" + } + } + } + }, + "delete": { + "tags": [ + "Indexers" + ], + "operationId": "Indexers_Delete", + "x-ms-examples": { + "SearchServiceDeleteIndexer": { + "$ref": "./examples/SearchServiceDeleteIndexer.json" + } + }, + "description": "Deletes an indexer.", + "externalDocs": { + "url": "https://learn.microsoft.com/rest/api/searchservice/Delete-Indexer" + }, + "parameters": [ + { + "name": "indexerName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the indexer to delete." + }, + { + "$ref": "#/parameters/ClientRequestIdParameter" + }, + { + "$ref": "#/parameters/IfMatchParameter" + }, + { + "$ref": "#/parameters/IfNoneMatchParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "x-ms-request-id": "request-id", + "responses": { + "404": { + "description": "" + }, + "204": { + "description": "" + }, + "default": { + "description": "Error response.", + "schema": { + "$ref": "../../../../../common-types/data-plane/v1/types.json#/definitions/ErrorResponse" + } + } + } + }, + "get": { + "tags": [ + "Indexers" + ], + "operationId": "Indexers_Get", + "x-ms-examples": { + "SearchServiceGetIndexer": { + "$ref": "./examples/SearchServiceGetIndexer.json" + } + }, + "description": "Retrieves an indexer definition.", + "externalDocs": { + "url": "https://learn.microsoft.com/rest/api/searchservice/Get-Indexer" + }, + "parameters": [ + { + "name": "indexerName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the indexer to retrieve." + }, + { + "$ref": "#/parameters/ClientRequestIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "x-ms-request-id": "request-id", + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/SearchIndexer" + } + }, + "default": { + "description": "Error response.", + "schema": { + "$ref": "../../../../../common-types/data-plane/v1/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/indexers": { + "get": { + "tags": [ + "Indexers" + ], + "operationId": "Indexers_List", + "x-ms-examples": { + "SearchServiceListIndexers": { + "$ref": "./examples/SearchServiceListIndexers.json" + } + }, + "description": "Lists all indexers available for a search service.", + "externalDocs": { + "url": "https://learn.microsoft.com/rest/api/searchservice/List-Indexers" + }, + "parameters": [ + { + "name": "$select", + "in": "query", + "required": false, + "type": "string", + "description": "Selects which top-level properties of the indexers to retrieve. Specified as a comma-separated list of JSON property names, or '*' for all properties. The default is all properties." + }, + { + "$ref": "#/parameters/ClientRequestIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "x-ms-request-id": "request-id", + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/ListIndexersResult" + } + }, + "default": { + "description": "Error response.", + "schema": { + "$ref": "../../../../../common-types/data-plane/v1/types.json#/definitions/ErrorResponse" + } + } + } + }, + "post": { + "tags": [ + "Indexers" + ], + "operationId": "Indexers_Create", + "x-ms-examples": { + "SearchServiceCreateIndexer": { + "$ref": "./examples/SearchServiceCreateIndexer.json" + } + }, + "description": "Creates a new indexer.", + "externalDocs": { + "url": "https://learn.microsoft.com/rest/api/searchservice/Create-Indexer" + }, + "parameters": [ + { + "name": "indexer", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/SearchIndexer" + }, + "description": "The definition of the indexer to create." + }, + { + "$ref": "#/parameters/ClientRequestIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "x-ms-request-id": "request-id", + "responses": { + "201": { + "description": "", + "schema": { + "$ref": "#/definitions/SearchIndexer" + } + }, + "default": { + "description": "Error response.", + "schema": { + "$ref": "../../../../../common-types/data-plane/v1/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/indexers('{indexerName}')/search.status": { + "get": { + "tags": [ + "Indexers" + ], + "operationId": "Indexers_GetStatus", + "x-ms-examples": { + "SearchServiceGetIndexerStatus": { + "$ref": "./examples/SearchServiceGetIndexerStatus.json" + } + }, + "description": "Returns the current status and execution history of an indexer.", + "externalDocs": { + "url": "https://learn.microsoft.com/rest/api/searchservice/Get-Indexer-Status" + }, + "parameters": [ + { + "name": "indexerName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the indexer for which to retrieve status." + }, + { + "$ref": "#/parameters/ClientRequestIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "x-ms-request-id": "request-id", + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/SearchIndexerStatus" + } + }, + "default": { + "description": "Error response.", + "schema": { + "$ref": "../../../../../common-types/data-plane/v1/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/skillsets('{skillsetName}')": { + "put": { + "tags": [ + "Skillsets" + ], + "operationId": "Skillsets_CreateOrUpdate", + "x-ms-examples": { + "SearchServiceCreateOrUpdateSkillset": { + "$ref": "./examples/SearchServiceCreateOrUpdateSkillset.json" + } + }, + "description": "Creates a new skillset in a search service or updates the skillset if it already exists.", + "externalDocs": { + "url": "https://learn.microsoft.com/rest/api/searchservice/update-skillset" + }, + "parameters": [ + { + "name": "skillsetName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the skillset to create or update." + }, + { + "name": "skillset", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/SearchIndexerSkillset" + }, + "description": "The skillset containing one or more skills to create or update in a search service." + }, + { + "$ref": "#/parameters/ClientRequestIdParameter" + }, + { + "$ref": "#/parameters/IfMatchParameter" + }, + { + "$ref": "#/parameters/IfNoneMatchParameter" + }, + { + "$ref": "#/parameters/PreferHeaderParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/IgnoreResetRequirementsParameter" + }, + { + "$ref": "#/parameters/DisableCacheReprocessingChangeDetectionParameter" + } + ], + "x-ms-request-id": "request-id", + "responses": { + "200": { + "description": "The skillset is successfully updated.", + "schema": { + "$ref": "#/definitions/SearchIndexerSkillset" + } + }, + "201": { + "description": "The skillset is successfully created.", + "schema": { + "$ref": "#/definitions/SearchIndexerSkillset" + } + }, + "default": { + "description": "Error response.", + "schema": { + "$ref": "../../../../../common-types/data-plane/v1/types.json#/definitions/ErrorResponse" + } + } + } + }, + "delete": { + "tags": [ + "Skillsets" + ], + "operationId": "Skillsets_Delete", + "x-ms-examples": { + "SearchServiceDeleteSkillset": { + "$ref": "./examples/SearchServiceDeleteSkillset.json" + } + }, + "description": "Deletes a skillset in a search service.", + "externalDocs": { + "url": "https://learn.microsoft.com/rest/api/searchservice/delete-skillset" + }, + "parameters": [ + { + "name": "skillsetName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the skillset to delete." + }, + { + "$ref": "#/parameters/ClientRequestIdParameter" + }, + { + "$ref": "#/parameters/IfMatchParameter" + }, + { + "$ref": "#/parameters/IfNoneMatchParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "x-ms-request-id": "request-id", + "responses": { + "204": { + "description": "The skillset is successfully deleted." + }, + "404": { + "description": "The provided skillset name is not found." + }, + "default": { + "description": "Error response.", + "schema": { + "$ref": "../../../../../common-types/data-plane/v1/types.json#/definitions/ErrorResponse" + } + } + } + }, + "get": { + "tags": [ + "Skillsets" + ], + "operationId": "Skillsets_Get", + "x-ms-examples": { + "SearchServiceGetSkillset": { + "$ref": "./examples/SearchServiceGetSkillset.json" + } + }, + "description": "Retrieves a skillset in a search service.", + "externalDocs": { + "url": "https://learn.microsoft.com/rest/api/searchservice/get-skillset" + }, + "parameters": [ + { + "name": "skillsetName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the skillset to retrieve." + }, + { + "$ref": "#/parameters/ClientRequestIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "x-ms-request-id": "request-id", + "responses": { + "200": { + "description": "The skillset is successfully returned.", + "schema": { + "$ref": "#/definitions/SearchIndexerSkillset" + } + }, + "default": { + "description": "Error response.", + "schema": { + "$ref": "../../../../../common-types/data-plane/v1/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/skillsets": { + "get": { + "tags": [ + "Skillsets" + ], + "operationId": "Skillsets_List", + "x-ms-examples": { + "SearchServiceListSkillsets": { + "$ref": "./examples/SearchServiceListSkillsets.json" + } + }, + "description": "List all skillsets in a search service.", + "externalDocs": { + "url": "https://learn.microsoft.com/rest/api/searchservice/list-skillset" + }, + "parameters": [ + { + "name": "$select", + "in": "query", + "required": false, + "type": "string", + "description": "Selects which top-level properties of the skillsets to retrieve. Specified as a comma-separated list of JSON property names, or '*' for all properties. The default is all properties." + }, + { + "$ref": "#/parameters/ClientRequestIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "x-ms-request-id": "request-id", + "responses": { + "200": { + "description": "The list is successfully returned.", + "schema": { + "$ref": "#/definitions/ListSkillsetsResult" + } + }, + "default": { + "description": "Error response.", + "schema": { + "$ref": "../../../../../common-types/data-plane/v1/types.json#/definitions/ErrorResponse" + } + } + } + }, + "post": { + "tags": [ + "Skillsets" + ], + "operationId": "Skillsets_Create", + "x-ms-examples": { + "SearchServiceCreateSkillset": { + "$ref": "./examples/SearchServiceCreateSkillset.json" + } + }, + "description": "Creates a new skillset in a search service.", + "externalDocs": { + "url": "https://learn.microsoft.com/rest/api/searchservice/create-skillset" + }, + "parameters": [ + { + "name": "skillset", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/SearchIndexerSkillset" + }, + "description": "The skillset containing one or more skills to create in a search service." + }, + { + "$ref": "#/parameters/ClientRequestIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "x-ms-request-id": "request-id", + "responses": { + "201": { + "description": "The skillset is successfully created.", + "schema": { + "$ref": "#/definitions/SearchIndexerSkillset" + } + }, + "default": { + "description": "Error response.", + "schema": { + "$ref": "../../../../../common-types/data-plane/v1/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/skillsets('{skillsetName}')/search.resetskills": { + "post": { + "tags": [ + "Skillsets" + ], + "operationId": "Skillsets_ResetSkills", + "x-ms-examples": { + "SearchServiceResetSkills": { + "$ref": "./examples/SearchServiceResetSkills.json" + } + }, + "description": "Reset an existing skillset in a search service.", + "externalDocs": { + "url": "https://aka.ms/reset-skills" + }, + "parameters": [ + { + "name": "skillsetName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the skillset to reset." + }, + { + "name": "skillNames", + "in": "body", + "required": true, + "schema": { + "type": "object", + "x-ms-client-name": "SkillNames", + "properties": { + "skillNames": { + "type": "array", + "items": { + "type": "string" + }, + "description": "the names of skills to be reset." + } + } + }, + "description": "The names of skills to reset." + }, + { + "$ref": "#/parameters/ClientRequestIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "x-ms-request-id": "request-id", + "responses": { + "204": { + "description": "The skills in the skillset are successfully reset." + }, + "default": { + "description": "Error response.", + "schema": { + "$ref": "../../../../../common-types/data-plane/v1/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/synonymmaps('{synonymMapName}')": { + "put": { + "tags": [ + "SynonymMaps" + ], + "operationId": "SynonymMaps_CreateOrUpdate", + "x-ms-examples": { + "SearchServiceCreateOrUpdateSynonymMap": { + "$ref": "./examples/SearchServiceCreateOrUpdateSynonymMap.json" + } + }, + "description": "Creates a new synonym map or updates a synonym map if it already exists.", + "externalDocs": { + "url": "https://learn.microsoft.com/rest/api/searchservice/Update-Synonym-Map" + }, + "parameters": [ + { + "name": "synonymMapName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the synonym map to create or update." + }, + { + "name": "synonymMap", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/SynonymMap" + }, + "description": "The definition of the synonym map to create or update." + }, + { + "$ref": "#/parameters/ClientRequestIdParameter" + }, + { + "$ref": "#/parameters/IfMatchParameter" + }, + { + "$ref": "#/parameters/IfNoneMatchParameter" + }, + { + "$ref": "#/parameters/PreferHeaderParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "x-ms-request-id": "request-id", + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/SynonymMap" + } + }, + "201": { + "description": "", + "schema": { + "$ref": "#/definitions/SynonymMap" + } + }, + "default": { + "description": "Error response.", + "schema": { + "$ref": "../../../../../common-types/data-plane/v1/types.json#/definitions/ErrorResponse" + } + } + } + }, + "delete": { + "tags": [ + "SynonymMaps" + ], + "operationId": "SynonymMaps_Delete", + "x-ms-examples": { + "SearchServiceDeleteSynonymMap": { + "$ref": "./examples/SearchServiceDeleteSynonymMap.json" + } + }, + "description": "Deletes a synonym map.", + "externalDocs": { + "url": "https://learn.microsoft.com/rest/api/searchservice/Delete-Synonym-Map" + }, + "parameters": [ + { + "name": "synonymMapName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the synonym map to delete." + }, + { + "$ref": "#/parameters/ClientRequestIdParameter" + }, + { + "$ref": "#/parameters/IfMatchParameter" + }, + { + "$ref": "#/parameters/IfNoneMatchParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "x-ms-request-id": "request-id", + "responses": { + "204": { + "description": "" + }, + "404": { + "description": "" + }, + "default": { + "description": "Error response.", + "schema": { + "$ref": "../../../../../common-types/data-plane/v1/types.json#/definitions/ErrorResponse" + } + } + } + }, + "get": { + "tags": [ + "SynonymMaps" + ], + "operationId": "SynonymMaps_Get", + "x-ms-examples": { + "SearchServiceGetSynonymMap": { + "$ref": "./examples/SearchServiceGetSynonymMap.json" + } + }, + "description": "Retrieves a synonym map definition.", + "externalDocs": { + "url": "https://learn.microsoft.com/rest/api/searchservice/Get-Synonym-Map" + }, + "parameters": [ + { + "name": "synonymMapName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the synonym map to retrieve." + }, + { + "$ref": "#/parameters/ClientRequestIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "x-ms-request-id": "request-id", + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/SynonymMap" + } + }, + "default": { + "description": "Error response.", + "schema": { + "$ref": "../../../../../common-types/data-plane/v1/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/synonymmaps": { + "get": { + "tags": [ + "SynonymMaps" + ], + "operationId": "SynonymMaps_List", + "x-ms-examples": { + "SearchServiceListSynonymMaps": { + "$ref": "./examples/SearchServiceListSynonymMaps.json" + } + }, + "description": "Lists all synonym maps available for a search service.", + "externalDocs": { + "url": "https://learn.microsoft.com/rest/api/searchservice/List-Synonym-Maps" + }, + "parameters": [ + { + "name": "$select", + "in": "query", + "required": false, + "type": "string", + "description": "Selects which top-level properties of the synonym maps to retrieve. Specified as a comma-separated list of JSON property names, or '*' for all properties. The default is all properties." + }, + { + "$ref": "#/parameters/ClientRequestIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "x-ms-request-id": "request-id", + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/ListSynonymMapsResult" + } + }, + "default": { + "description": "Error response.", + "schema": { + "$ref": "../../../../../common-types/data-plane/v1/types.json#/definitions/ErrorResponse" + } + } + } + }, + "post": { + "tags": [ + "SynonymMaps" + ], + "operationId": "SynonymMaps_Create", + "x-ms-examples": { + "SearchServiceCreateSynonymMap": { + "$ref": "./examples/SearchServiceCreateSynonymMap.json" + } + }, + "description": "Creates a new synonym map.", + "externalDocs": { + "url": "https://learn.microsoft.com/rest/api/searchservice/Create-Synonym-Map" + }, + "parameters": [ + { + "name": "synonymMap", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/SynonymMap" + }, + "description": "The definition of the synonym map to create." + }, + { + "$ref": "#/parameters/ClientRequestIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "x-ms-request-id": "request-id", + "responses": { + "201": { + "description": "", + "schema": { + "$ref": "#/definitions/SynonymMap" + } + }, + "default": { + "description": "Error response.", + "schema": { + "$ref": "../../../../../common-types/data-plane/v1/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/indexes": { + "post": { + "tags": [ + "Indexes" + ], + "operationId": "Indexes_Create", + "x-ms-examples": { + "SearchServiceCreateIndex": { + "$ref": "./examples/SearchServiceCreateIndex.json" + } + }, + "description": "Creates a new search index.", + "externalDocs": { + "url": "https://learn.microsoft.com/rest/api/searchservice/Create-Index" + }, + "parameters": [ + { + "name": "index", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/SearchIndex" + }, + "description": "The definition of the index to create." + }, + { + "$ref": "#/parameters/ClientRequestIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "x-ms-request-id": "request-id", + "responses": { + "201": { + "description": "", + "schema": { + "$ref": "#/definitions/SearchIndex" + } + }, + "default": { + "description": "Error response.", + "schema": { + "$ref": "../../../../../common-types/data-plane/v1/types.json#/definitions/ErrorResponse" + } + } + } + }, + "get": { + "tags": [ + "Indexes" + ], + "operationId": "Indexes_List", + "x-ms-examples": { + "SearchServiceListIndexes": { + "$ref": "./examples/SearchServiceListIndexes.json" + } + }, + "description": "Lists all indexes available for a search service.", + "externalDocs": { + "url": "https://learn.microsoft.com/rest/api/searchservice/List-Indexes" + }, + "parameters": [ + { + "name": "$select", + "in": "query", + "required": false, + "type": "string", + "description": "Selects which top-level properties of the index definitions to retrieve. Specified as a comma-separated list of JSON property names, or '*' for all properties. The default is all properties." + }, + { + "$ref": "#/parameters/ClientRequestIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "x-ms-request-id": "request-id", + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/ListIndexesResult" + } + }, + "default": { + "description": "Error response.", + "schema": { + "$ref": "../../../../../common-types/data-plane/v1/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + } + } + }, + "/indexes('{indexName}')": { + "put": { + "tags": [ + "Indexes" + ], + "operationId": "Indexes_CreateOrUpdate", + "x-ms-examples": { + "SearchServiceCreateOrUpdateIndex": { + "$ref": "./examples/SearchServiceCreateOrUpdateIndex.json" + } + }, + "description": "Creates a new search index or updates an index if it already exists.", + "externalDocs": { + "url": "https://learn.microsoft.com/rest/api/searchservice/Update-Index" + }, + "parameters": [ + { + "name": "indexName", + "in": "path", + "required": true, + "type": "string", + "description": "The definition of the index to create or update." + }, + { + "name": "index", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/SearchIndex" + }, + "description": "The definition of the index to create or update." + }, + { + "name": "allowIndexDowntime", + "in": "query", + "required": false, + "type": "boolean", + "description": "Allows new analyzers, tokenizers, token filters, or char filters to be added to an index by taking the index offline for at least a few seconds. This temporarily causes indexing and query requests to fail. Performance and write availability of the index can be impaired for several minutes after the index is updated, or longer for very large indexes." + }, + { + "$ref": "#/parameters/ClientRequestIdParameter" + }, + { + "$ref": "#/parameters/IfMatchParameter" + }, + { + "$ref": "#/parameters/IfNoneMatchParameter" + }, + { + "$ref": "#/parameters/PreferHeaderParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "x-ms-request-id": "request-id", + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/SearchIndex" + } + }, + "201": { + "description": "", + "schema": { + "$ref": "#/definitions/SearchIndex" + } + }, + "default": { + "description": "Error response.", + "schema": { + "$ref": "../../../../../common-types/data-plane/v1/types.json#/definitions/ErrorResponse" + } + } + } + }, + "delete": { + "tags": [ + "Indexes" + ], + "operationId": "Indexes_Delete", + "x-ms-examples": { + "SearchServiceDeleteIndex": { + "$ref": "./examples/SearchServiceDeleteIndex.json" + } + }, + "description": "Deletes a search index and all the documents it contains. This operation is permanent, with no recovery option. Make sure you have a master copy of your index definition, data ingestion code, and a backup of the primary data source in case you need to re-build the index.", + "externalDocs": { + "url": "https://learn.microsoft.com/rest/api/searchservice/Delete-Index" + }, + "parameters": [ + { + "name": "indexName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the index to delete." + }, + { + "$ref": "#/parameters/ClientRequestIdParameter" + }, + { + "$ref": "#/parameters/IfMatchParameter" + }, + { + "$ref": "#/parameters/IfNoneMatchParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "x-ms-request-id": "request-id", + "responses": { + "204": { + "description": "" + }, + "404": { + "description": "" + }, + "default": { + "description": "Error response.", + "schema": { + "$ref": "../../../../../common-types/data-plane/v1/types.json#/definitions/ErrorResponse" + } + } + } + }, + "get": { + "tags": [ + "Indexes" + ], + "operationId": "Indexes_Get", + "x-ms-examples": { + "SearchServiceGetIndex": { + "$ref": "./examples/SearchServiceGetIndex.json" + } + }, + "description": "Retrieves an index definition.", + "externalDocs": { + "url": "https://learn.microsoft.com/rest/api/searchservice/Get-Index" + }, + "parameters": [ + { + "name": "indexName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the index to retrieve." + }, + { + "$ref": "#/parameters/ClientRequestIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "x-ms-request-id": "request-id", + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/SearchIndex" + } + }, + "default": { + "description": "Error response.", + "schema": { + "$ref": "../../../../../common-types/data-plane/v1/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/indexes('{indexName}')/search.stats": { + "get": { + "tags": [ + "Indexes" + ], + "operationId": "Indexes_GetStatistics", + "x-ms-examples": { + "SearchServiceGetIndexStatistics": { + "$ref": "./examples/SearchServiceGetIndexStatistics.json" + } + }, + "description": "Returns statistics for the given index, including a document count and storage usage.", + "externalDocs": { + "url": "https://learn.microsoft.com/rest/api/searchservice/Get-Index-Statistics" + }, + "parameters": [ + { + "name": "indexName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the index for which to retrieve statistics." + }, + { + "$ref": "#/parameters/ClientRequestIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "x-ms-request-id": "request-id", + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/GetIndexStatisticsResult" + } + }, + "default": { + "description": "Error response.", + "schema": { + "$ref": "../../../../../common-types/data-plane/v1/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/indexes('{indexName}')/search.analyze": { + "post": { + "tags": [ + "Indexes" + ], + "operationId": "Indexes_Analyze", + "x-ms-examples": { + "SearchServiceIndexAnalyze": { + "$ref": "./examples/SearchServiceIndexAnalyze.json" + } + }, + "description": "Shows how an analyzer breaks text into tokens.", + "externalDocs": { + "url": "https://learn.microsoft.com/rest/api/searchservice/test-analyzer" + }, + "parameters": [ + { + "name": "indexName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the index for which to test an analyzer." + }, + { + "name": "request", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/AnalyzeRequest" + }, + "description": "The text and analyzer or analysis components to test." + }, + { + "$ref": "#/parameters/ClientRequestIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "x-ms-request-id": "request-id", + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/AnalyzeResult" + } + }, + "default": { + "description": "Error response.", + "schema": { + "$ref": "../../../../../common-types/data-plane/v1/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/aliases": { + "post": { + "tags": [ + "Aliases" + ], + "operationId": "Aliases_Create", + "x-ms-examples": { + "SearchServiceCreateAlias": { + "$ref": "./examples/SearchServiceCreateAlias.json" + } + }, + "description": "Creates a new search alias.", + "externalDocs": { + "url": "https://learn.microsoft.com/rest/api/searchservice/Create-Alias" + }, + "parameters": [ + { + "name": "alias", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/SearchAlias" + }, + "description": "The definition of the alias to create." + }, + { + "$ref": "#/parameters/ClientRequestIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "x-ms-request-id": "request-id", + "responses": { + "201": { + "description": "", + "schema": { + "$ref": "#/definitions/SearchAlias" + } + }, + "default": { + "description": "Error response.", + "schema": { + "$ref": "../../../../../common-types/data-plane/v1/types.json#/definitions/ErrorResponse" + } + } + } + }, + "get": { + "tags": [ + "Aliases" + ], + "operationId": "Aliases_List", + "x-ms-examples": { + "SearchServiceListAliases": { + "$ref": "./examples/SearchServiceListAliases.json" + } + }, + "description": "Lists all aliases available for a search service.", + "externalDocs": { + "url": "https://learn.microsoft.com/rest/api/searchservice/List-Aliases" + }, + "parameters": [ + { + "$ref": "#/parameters/ClientRequestIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "x-ms-request-id": "request-id", + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/ListAliasesResult" + } + }, + "default": { + "description": "Error response.", + "schema": { + "$ref": "../../../../../common-types/data-plane/v1/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + } + } + }, + "/aliases('{aliasName}')": { + "put": { + "tags": [ + "Aliases" + ], + "operationId": "Aliases_CreateOrUpdate", + "x-ms-examples": { + "SearchServiceCreateOrUpdateAlias": { + "$ref": "./examples/SearchServiceCreateOrUpdateAlias.json" + } + }, + "description": "Creates a new search alias or updates an alias if it already exists.", + "externalDocs": { + "url": "https://learn.microsoft.com/rest/api/searchservice/Update-Alias" + }, + "parameters": [ + { + "name": "aliasName", + "in": "path", + "required": true, + "type": "string", + "description": "The definition of the alias to create or update." + }, + { + "name": "alias", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/SearchAlias" + }, + "description": "The definition of the alias to create or update." + }, + { + "$ref": "#/parameters/ClientRequestIdParameter" + }, + { + "$ref": "#/parameters/IfMatchParameter" + }, + { + "$ref": "#/parameters/IfNoneMatchParameter" + }, + { + "$ref": "#/parameters/PreferHeaderParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "x-ms-request-id": "request-id", + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/SearchAlias" + } + }, + "201": { + "description": "", + "schema": { + "$ref": "#/definitions/SearchAlias" + } + }, + "default": { + "description": "Error response.", + "schema": { + "$ref": "../../../../../common-types/data-plane/v1/types.json#/definitions/ErrorResponse" + } + } + } + }, + "delete": { + "tags": [ + "Aliases" + ], + "operationId": "Aliases_Delete", + "x-ms-examples": { + "SearchServiceDeleteAlias": { + "$ref": "./examples/SearchServiceDeleteAlias.json" + } + }, + "description": "Deletes a search alias and its associated mapping to an index. This operation is permanent, with no recovery option. The mapped index is untouched by this operation.", + "externalDocs": { + "url": "https://learn.microsoft.com/rest/api/searchservice/Delete-Alias" + }, + "parameters": [ + { + "name": "aliasName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the alias to delete." + }, + { + "$ref": "#/parameters/ClientRequestIdParameter" + }, + { + "$ref": "#/parameters/IfMatchParameter" + }, + { + "$ref": "#/parameters/IfNoneMatchParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "x-ms-request-id": "request-id", + "responses": { + "204": { + "description": "" + }, + "404": { + "description": "" + }, + "default": { + "description": "Error response.", + "schema": { + "$ref": "../../../../../common-types/data-plane/v1/types.json#/definitions/ErrorResponse" + } + } + } + }, + "get": { + "tags": [ + "Aliases" + ], + "operationId": "Aliases_Get", + "x-ms-examples": { + "SearchServiceGetAlias": { + "$ref": "./examples/SearchServiceGetAlias.json" + } + }, + "description": "Retrieves an alias definition.", + "externalDocs": { + "url": "https://learn.microsoft.com/rest/api/searchservice/Get-Alias" + }, + "parameters": [ + { + "name": "aliasName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the alias to retrieve." + }, + { + "$ref": "#/parameters/ClientRequestIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "x-ms-request-id": "request-id", + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/SearchAlias" + } + }, + "default": { + "description": "Error response.", + "schema": { + "$ref": "../../../../../common-types/data-plane/v1/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/servicestats": { + "get": { + "tags": [ + "Service" + ], + "operationId": "GetServiceStatistics", + "x-ms-examples": { + "SearchServiceGetServiceStatistics": { + "$ref": "./examples/SearchServiceGetServiceStatistics.json" + } + }, + "description": "Gets service level statistics for a search service.", + "parameters": [ + { + "$ref": "#/parameters/ClientRequestIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "x-ms-request-id": "request-id", + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/ServiceStatistics" + } + }, + "default": { + "description": "Error response.", + "schema": { + "$ref": "../../../../../common-types/data-plane/v1/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/indexstats": { + "get": { + "tags": [ + "Service" + ], + "operationId": "GetIndexStatsSummary", + "x-ms-examples": { + "SearchServiceIndexStatsSummary": { + "$ref": "./examples/SearchServiceGetIndexStatsSummary.json" + } + }, + "description": "Retrieves a summary of statistics for all indexes in the search service.", + "parameters": [ + { + "$ref": "#/parameters/ClientRequestIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Statistics summary for all indexes.", + "schema": { + "$ref": "#/definitions/ListIndexStatsSummary" + } + }, + "default": { + "description": "Error response.", + "schema": { + "$ref": "../../../../../common-types/data-plane/v1/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + } + } + } + }, + "definitions": { + "KnowledgeBase": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the knowledge knowledge base." + }, + "knowledgeSources": { + "type": "array", + "items": { + "$ref": "#/definitions/KnowledgeSourceReference" + } + }, + "models": { + "type": "array", + "items": { + "$ref": "#/definitions/KnowledgeBaseModel" + }, + "description": "Contains configuration options on how to connect to AI models." + }, + "retrievalReasoningEffort": { + "$ref": "knowledgebase.json#/definitions/KnowledgeRetrievalReasoningEffort" + }, + "outputMode": { + "$ref": "knowledgebase.json#/definitions/KnowledgeRetrievalOutputMode" + }, + "@odata.etag": { + "x-ms-client-name": "ETag", + "type": "string", + "description": "The ETag of the knowledge base." + }, + "encryptionKey": { + "$ref": "#/definitions/SearchResourceEncryptionKey", + "description": "A description of an encryption key that you create in Azure Key Vault. This key is used to provide an additional level of encryption-at-rest for your knowledge base definition when you want full assurance that no one, not even Microsoft, can decrypt them. Once you have encrypted your knowledge base definition, it will always remain encrypted. The search service will ignore attempts to set this property to null. You can change this property as needed if you want to rotate your encryption key; Your knowledge base definition will be unaffected. Encryption with customer-managed keys is not available for free search services, and is only available for paid services created on or after January 1, 2019.", + "externalDocs": { + "url": "https://aka.ms/azure-search-encryption-with-cmk" + }, + "x-nullable": true + }, + "description": { + "type": "string", + "description": "The description of the knowledge base." + }, + "retrievalInstructions": { + "type": "string", + "description": "Instructions considered by the knowledge knowledge base when developing query plan." + }, + "answerInstructions": { + "type": "string", + "description": "Instructions considered by the knowledge knowledge base when generating answers." + } + }, + "required": [ + "name", + "knowledgeSources" + ] + }, + "KnowledgeSourceReference": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the knowledge source." + } + }, + "required": [ + "name" + ] + }, + "ListKnowledgeBasesResult": { + "type": "object", + "properties": { + "value": { + "x-ms-client-name": "KnowledgeBases", + "type": "array", + "items": { + "$ref": "#/definitions/KnowledgeBase" + } + } + }, + "required": [ + "value" + ] + }, + "KnowledgeBaseModel": { + "type": "object", + "discriminator": "kind", + "properties": { + "kind": { + "$ref": "#/definitions/KnowledgeBaseModelKind", + "description": "The type of AI model.", + "x-nullable": false + } + }, + "required": [ + "kind" + ], + "description": "Specifies the connection parameters for the model to use for query planning." + }, + "KnowledgeBaseModelKind": { + "type": "string", + "enum": [ + "azureOpenAI" + ], + "x-ms-enum": { + "name": "KnowledgeBaseModelKind", + "modelAsString": true, + "values": [ + { + "value": "azureOpenAI", + "name": "AzureOpenAI", + "description": "Use Azure Open AI models for query planning." + } + ] + }, + "description": "The AI model to be used for query planning." + }, + "KnowledgeBaseAzureOpenAIModel": { + "type": "object", + "x-ms-discriminator-value": "azureOpenAI", + "allOf": [ + { + "$ref": "#/definitions/KnowledgeBaseModel" + } + ], + "properties": { + "azureOpenAIParameters": { + "x-ms-client-name": "AzureOpenAIParameters", + "$ref": "#/definitions/AzureOpenAIParameters", + "description": "Contains the parameters specific to Azure OpenAI model endpoint." + } + }, + "required": [ + "azureOpenAIParameters" + ], + "description": "Specifies the Azure OpenAI resource used to do query planning." + }, + "KnowledgeSource": { + "type": "object", + "discriminator": "kind", + "properties": { + "name": { + "type": "string", + "description": "The name of the knowledge source." + }, + "description": { + "type": "string", + "description": "Optional user-defined description." + }, + "kind": { + "$ref": "#/definitions/KnowledgeSourceKind", + "x-nullable": false, + "description": "The type of the knowledge source." + }, + "@odata.etag": { + "x-ms-client-name": "ETag", + "type": "string", + "description": "The ETag of the knowledge base." + }, + "encryptionKey": { + "$ref": "#/definitions/SearchResourceEncryptionKey", + "description": "A description of an encryption key that you create in Azure Key Vault. This key is used to provide an additional level of encryption-at-rest for your knowledge base definition when you want full assurance that no one, not even Microsoft, can decrypt them. Once you have encrypted your knowledge base definition, it will always remain encrypted. The search service will ignore attempts to set this property to null. You can change this property as needed if you want to rotate your encryption key; Your knowledge base definition will be unaffected. Encryption with customer-managed keys is not available for free search services, and is only available for paid services created on or after January 1, 2019.", + "externalDocs": { + "url": "https://aka.ms/azure-search-encryption-with-cmk" + }, + "x-nullable": true + } + }, + "required": [ + "name", + "kind" + ], + "description": "Represents a knowledge source definition." + }, + "SearchIndexKnowledgeSource": { + "type": "object", + "x-ms-discriminator-value": "searchIndex", + "allOf": [ + { + "$ref": "#/definitions/KnowledgeSource" + } + ], + "properties": { + "searchIndexParameters": { + "$ref": "#/definitions/SearchIndexKnowledgeSourceParameters", + "description": "The parameters for the knowledge source." + } + }, + "required": [ + "searchIndexParameters" + ], + "description": "Knowledge Source targeting a search index." + }, + "SearchIndexKnowledgeSourceParameters": { + "type": "object", + "properties": { + "searchIndexName": { + "type": "string", + "description": "The name of the Search index." + }, + "sourceDataFields": { + "type": "array", + "items": { + "$ref": "#/definitions/SearchIndexFieldReference" + }, + "description": "Used to request additional fields for referenced source data." + }, + "searchFields": { + "type": "array", + "items": { + "$ref": "#/definitions/SearchIndexFieldReference" + }, + "description": "Used to restrict which fields to search on the search index." + }, + "semanticConfigurationName": { + "type": "string", + "description": "Used to specify a different semantic configuration on the target search index other than the default one." + } + }, + "required": [ + "searchIndexName" + ], + "description": "Parameters for search index knowledge source." + }, + "SearchIndexFieldReference": { + "type": "object", + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ] + }, + "AzureBlobKnowledgeSource": { + "type": "object", + "x-ms-discriminator-value": "azureBlob", + "allOf": [ + { + "$ref": "#/definitions/KnowledgeSource" + } + ], + "properties": { + "azureBlobParameters": { + "$ref": "#/definitions/AzureBlobKnowledgeSourceParameters", + "description": "The type of the knowledge source." + } + }, + "required": [ + "azureBlobParameters" + ], + "description": "Configuration for Azure Blob Storage knowledge source." + }, + "AzureBlobKnowledgeSourceParameters": { + "type": "object", + "properties": { + "connectionString": { + "type": "string", + "description": "Key-based connection string or the ResourceId format if using a managed identity." + }, + "containerName": { + "type": "string", + "description": "The name of the blob storage container." + }, + "folderPath": { + "type": "string", + "description": "Optional folder path within the container.", + "x-nullable": true + }, + "isADLSGen2": { + "type": "boolean", + "description": "Set to true if connecting to an ADLS Gen2 storage account. Default is false.", + "default": false + }, + "ingestionParameters": { + "$ref": "#/definitions/KnowledgeSourceIngestionParameters", + "description": "Consolidates all general ingestion settings.", + "x-nullable": true + }, + "createdResources": { + "$ref": "#/definitions/CreatedResources", + "description": "Resources created by the knowledge source.", + "readOnly": true + } + }, + "required": [ + "connectionString", + "containerName" + ], + "description": "Parameters for Azure Blob Storage knowledge source." + }, + "IndexedSharePointKnowledgeSource": { + "type": "object", + "x-ms-discriminator-value": "indexedSharePoint", + "allOf": [ + { + "$ref": "#/definitions/KnowledgeSource" + } + ], + "properties": { + "indexedSharePointParameters": { + "$ref": "#/definitions/IndexedSharePointKnowledgeSourceParameters", + "description": "The parameters for the SharePoint knowledge source." + } + }, + "required": [ + "indexedSharePointParameters" + ], + "description": "Configuration for SharePoint knowledge source." + }, + "IndexedSharePointKnowledgeSourceParameters": { + "type": "object", + "properties": { + "connectionString": { + "type": "string", + "description": "SharePoint connection string with format: SharePointOnlineEndpoint=[SharePoint site url];ApplicationId=[Azure AD App ID];ApplicationSecret=[Azure AD App client secret];TenantId=[SharePoint site tenant id]" + }, + "containerName": { + "type": "string", + "enum": [ + "defaultSiteLibrary", + "allSiteLibraries", + "useQuery" + ], + "x-ms-enum": { + "name": "IndexedSharePointContainerName", + "modelAsString": true, + "values": [ + { + "value": "defaultSiteLibrary", + "name": "DefaultSiteLibrary", + "description": "Index content from the site's default document library." + }, + { + "value": "allSiteLibraries", + "name": "AllSiteLibraries", + "description": "Index content from every document library in the site." + }, + { + "value": "useQuery", + "name": "UseQuery", + "description": "Index only content that matches the query specified in the knowledge source." + } + ] + }, + "description": "Specifies which SharePoint libraries to access." + }, + "query": { + "type": "string", + "description": "Optional query to filter SharePoint content.", + "x-nullable": true + }, + "ingestionParameters": { + "$ref": "#/definitions/KnowledgeSourceIngestionParameters", + "description": "Consolidates all general ingestion settings.", + "x-nullable": true + }, + "createdResources": { + "$ref": "#/definitions/CreatedResources", + "description": "Resources created by the knowledge source.", + "readOnly": true + } + }, + "required": [ + "connectionString", + "containerName" + ], + "description": "Parameters for SharePoint knowledge source." + }, + "IndexedOneLakeKnowledgeSource": { + "type": "object", + "x-ms-discriminator-value": "indexedOneLake", + "allOf": [ + { + "$ref": "#/definitions/KnowledgeSource" + } + ], + "properties": { + "indexedOneLakeParameters": { + "$ref": "#/definitions/IndexedOneLakeKnowledgeSourceParameters", + "description": "The parameters for the OneLake knowledge source." + } + }, + "required": [ + "indexedOneLakeParameters" + ], + "description": "Configuration for OneLake knowledge source." + }, + "IndexedOneLakeKnowledgeSourceParameters": { + "type": "object", + "properties": { + "fabricWorkspaceId": { + "type": "string", + "description": "OneLake workspace ID." + }, + "lakehouseId": { + "type": "string", + "description": "Specifies which OneLake lakehouse to access." + }, + "targetPath": { + "type": "string", + "description": "Optional OneLakehouse folder or shortcut to filter OneLake content.", + "x-nullable": true + }, + "ingestionParameters": { + "$ref": "#/definitions/KnowledgeSourceIngestionParameters", + "description": "Consolidates all general ingestion settings.", + "x-nullable": true + }, + "createdResources": { + "$ref": "#/definitions/CreatedResources", + "description": "Resources created by the knowledge source.", + "readOnly": true + } + }, + "required": [ + "fabricWorkspaceId", + "lakehouseId" + ], + "description": "Parameters for OneLake knowledge source." + }, + "KnowledgeSourceIngestionParameters": { + "type": "object", + "properties": { + "identity": { + "$ref": "#/definitions/SearchIndexerDataIdentity", + "x-nullable": true, + "description": "An explicit identity to use for this knowledge source." + }, + "embeddingModel": { + "$ref": "#/definitions/KnowledgeSourceVectorizer", + "description": "Optional vectorizer configuration for vectorizing content.", + "x-nullable": true + }, + "chatCompletionModel": { + "$ref": "#/definitions/KnowledgeBaseModel", + "description": "Optional chat completion model for image verbalization or context extraction.", + "x-nullable": true + }, + "disableImageVerbalization": { + "type": "boolean", + "description": "Indicates whether image verbalization should be disabled. Default is false.", + "default": false + }, + "ingestionSchedule": { + "$ref": "#/definitions/IndexingSchedule", + "description": "Optional schedule for data ingestion.", + "x-nullable": true + }, + "ingestionPermissionOptions": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "userIds", + "groupIds", + "rbacScope" + ], + "x-ms-enum": { + "name": "KnowledgeSourceIngestionPermissionOption", + "modelAsString": true, + "values": [ + { + "value": "userIds", + "name": "UserIds", + "description": "Ingest explicit user identifiers alongside document content." + }, + { + "value": "groupIds", + "name": "GroupIds", + "description": "Ingest group identifiers alongside document content." + }, + { + "value": "rbacScope", + "name": "RbacScope", + "description": "Ingest RBAC scope information alongside document content." + } + ] + } + }, + "description": "Optional list of permission types to ingest together with document content. If specified, it will set the indexer permission options for the data source.", + "x-nullable": true + }, + "contentExtractionMode": { + "type": "string", + "enum": [ + "minimal", + "standard" + ], + "x-ms-enum": { + "name": "KnowledgeSourceContentExtractionMode", + "modelAsString": true, + "values": [ + { + "value": "minimal", + "name": "Minimal", + "description": "Extracts only essential metadata while deferring most content processing." + }, + { + "value": "standard", + "name": "Standard", + "description": "Performs the full default content extraction pipeline." + } + ] + }, + "description": "Optional content extraction mode. Default is 'minimal'.", + "default": "minimal", + "x-nullable": true + }, + "aiServices": { + "$ref": "#/definitions/AIServices", + "description": "Optional AI Services configuration for content processing.", + "x-nullable": true + } + }, + "description": "Consolidates all general ingestion settings for knowledge sources." + }, + "AIServices": { + "type": "object", + "properties": { + "uri": { + "type": "string", + "format": "uri", + "description": "The URI of the AI Services endpoint." + }, + "apiKey": { + "type": "string", + "description": "The API key for accessing AI Services." + } + }, + "required": [ + "uri" + ], + "description": "Parameters for Azure Blob Storage knowledge source." + }, + "WebKnowledgeSource": { + "type": "object", + "x-ms-discriminator-value": "web", + "allOf": [ + { + "$ref": "#/definitions/KnowledgeSource" + } + ], + "properties": { + "webParameters": { + "$ref": "#/definitions/WebKnowledgeSourceParameters", + "description": "The parameters for the web knowledge source." + } + }, + "description": "Knowledge Source targeting web results." + }, + "WebKnowledgeSourceParameters": { + "type": "object", + "properties": { + "domains": { + "$ref": "#/definitions/WebKnowledgeSourceDomains", + "description": "Domain allow/block configuration for web results." + } + }, + "description": "Parameters for web knowledge source." + }, + "WebKnowledgeSourceDomains": { + "type": "object", + "properties": { + "allowedDomains": { + "type": "array", + "items": { + "$ref": "#/definitions/WebKnowledgeSourceDomain" + }, + "description": "Domains that are allowed for web results" + }, + "blockedDomains": { + "type": "array", + "items": { + "$ref": "#/definitions/WebKnowledgeSourceDomain" + }, + "description": "Domains that are blocked from web results" + } + }, + "description": "Domain allow/block configuration for web knowledge source." + }, + "WebKnowledgeSourceDomain": { + "type": "object", + "properties": { + "address": { + "type": "string", + "description": "The address of the domain." + }, + "includeSubpages": { + "type": "boolean", + "description": "Whether or not to include subpages from this domain." + } + }, + "required": [ + "address" + ], + "description": "Configuration for web knowledge source domain." + }, + "RemoteSharePointKnowledgeSource": { + "type": "object", + "x-ms-discriminator-value": "remoteSharePoint", + "allOf": [ + { + "$ref": "#/definitions/KnowledgeSource" + } + ], + "properties": { + "remoteSharePointParameters": { + "$ref": "#/definitions/RemoteSharePointKnowledgeSourceParameters", + "description": "The parameters for the knowledge source." + } + }, + "description": "Configuration for remote SharePoint knowledge source." + }, + "RemoteSharePointKnowledgeSourceParameters": { + "type": "object", + "properties": { + "filterExpression": { + "type": "string", + "description": "Keyword Query Language (KQL) expression with queryable SharePoint properties and attributes to scope the retrieval before the query runs. See documentation: https://learn.microsoft.com/en-us/sharepoint/dev/general-development/keyword-query-language-kql-syntax-reference" + }, + "resourceMetadata": { + "type": "array", + "items": { + "type": "string" + }, + "description": "A list of metadata fields to be returned for each item in the response. Only retrievable metadata properties can be included in this list. By default, no metadata is returned. Optional." + }, + "containerTypeId": { + "type": "string", + "description": "Container ID for SharePoint Embedded connection. When this is null, it will use SharePoint Online." + } + }, + "description": "Parameters for remote SharePoint knowledge source." + }, + "KnowledgeSourceKind": { + "type": "string", + "enum": [ + "searchIndex", + "azureBlob", + "web", + "remoteSharePoint", + "indexedSharePoint", + "indexedOneLake" + ], + "x-ms-enum": { + "name": "KnowledgeSourceKind", + "modelAsString": true, + "values": [ + { + "value": "searchIndex", + "name": "SearchIndex", + "description": "A knowledge source that retrieves data from a Search Index." + }, + { + "value": "azureBlob", + "name": "AzureBlob", + "description": "A knowledge source that retrieves and ingests data from Azure Blob Storage to a Search Index." + }, + { + "value": "web", + "name": "Web", + "description": "A knowledge source that retrieves data from the web." + }, + { + "value": "remoteSharePoint", + "name": "RemoteSharePoint", + "description": "A knowledge source that retrieves data from a remote SharePoint endpoint." + }, + { + "value": "indexedSharePoint", + "name": "IndexedSharePoint", + "description": "A knowledge source that retrieves and ingests data from SharePoint to a Search Index." + }, + { + "value": "indexedOneLake", + "name": "IndexedOneLake", + "description": "A knowledge source that retrieves and ingests data from OneLake to a Search Index." + } + ] + }, + "description": "The kind of the knowledge source." + }, + "ListKnowledgeSourcesResult": { + "type": "object", + "properties": { + "value": { + "x-ms-client-name": "KnowledgeSources", + "type": "array", + "items": { + "$ref": "#/definitions/KnowledgeSource" + } + } + }, + "required": [ + "value" + ] + }, + "CreatedResources": { + "type": "object", + "additionalProperties": { + "type": "string", + "description": "The name of the created resource." + }, + "description": "Resources created by the knowledge source. Keys represent resource types (e.g., 'datasource', 'indexer', 'skillset', 'index') and values represent resource names." + }, + "KnowledgeSourceStatus": { + "type": "object", + "properties": { + "synchronizationStatus": { + "type": "string", + "enum": [ + "creating", + "active", + "deleting" + ], + "x-ms-enum": { + "name": "KnowledgeSourceSynchronizationStatus", + "modelAsString": true, + "values": [ + { + "value": "creating", + "name": "Creating", + "description": "The knowledge source is being provisioned." + }, + { + "value": "active", + "name": "Active", + "description": "The knowledge source is active and synchronization runs are occurring." + }, + { + "value": "deleting", + "name": "Deleting", + "description": "The knowledge source is being deleted and synchronization is paused." + } + ] + }, + "description": "The current synchronization status of the knowledge source." + }, + "synchronizationInterval": { + "type": "string", + "description": "The synchronization interval (e.g., '1d' for daily). Null if no schedule is configured.", + "x-nullable": true + }, + "currentSynchronizationState": { + "$ref": "#/definitions/SynchronizationState", + "description": "Current synchronization state that spans multiple indexer runs.", + "x-nullable": true + }, + "lastSynchronizationState": { + "$ref": "#/definitions/CompletedSynchronizationState", + "description": "Details of the last completed synchronization. Null on first sync.", + "x-nullable": true + }, + "statistics": { + "$ref": "#/definitions/KnowledgeSourceStatistics", + "description": "Statistical information about the knowledge source synchronization history. Null on first sync.", + "x-nullable": true + } + }, + "required": [ + "synchronizationStatus" + ], + "description": "Represents the status and synchronization history of a knowledge source." + }, + "KnowledgeSourceStatistics": { + "type": "object", + "properties": { + "totalSynchronization": { + "type": "integer", + "format": "int32", + "description": "The total number of synchronizations completed." + }, + "averageSynchronizationDuration": { + "type": "string", + "description": "The average duration of synchronizations in HH:MM:SS format." + }, + "averageItemsProcessedPerSynchronization": { + "type": "integer", + "format": "int32", + "description": "The average number of items processed per synchronization." + } + }, + "required": [ + "totalSynchronization", + "averageSynchronizationDuration", + "averageItemsProcessedPerSynchronization" + ], + "description": "Statistical information about knowledge source synchronization history." + }, + "SynchronizationState": { + "type": "object", + "properties": { + "startTime": { + "type": "string", + "format": "date-time", + "description": "The start time of the current synchronization." + }, + "itemsUpdatesProcessed": { + "type": "integer", + "format": "int32", + "description": "The number of item updates successfully processed in the current synchronization." + }, + "itemsUpdatesFailed": { + "type": "integer", + "format": "int32", + "description": "The number of item updates that failed in the current synchronization." + }, + "itemsSkipped": { + "type": "integer", + "format": "int32", + "description": "The number of items skipped in the current synchronization." + } + }, + "required": [ + "startTime", + "itemsUpdatesProcessed", + "itemsUpdatesFailed", + "itemsSkipped" + ], + "description": "Represents the current state of an ongoing synchronization that spans multiple indexer runs." + }, + "CompletedSynchronizationState": { + "type": "object", + "properties": { + "startTime": { + "type": "string", + "format": "date-time", + "description": "The start time of the last completed synchronization." + }, + "endTime": { + "type": "string", + "format": "date-time", + "description": "The end time of the last completed synchronization." + }, + "itemsUpdatesProcessed": { + "type": "integer", + "format": "int32", + "description": "The number of item updates successfully processed in the last synchronization." + }, + "itemsUpdatesFailed": { + "type": "integer", + "format": "int32", + "description": "The number of item updates that failed in the last synchronization." + }, + "itemsSkipped": { + "type": "integer", + "format": "int32", + "description": "The number of items skipped in the last synchronization." + } + }, + "required": [ + "startTime", + "endTime", + "itemsUpdatesProcessed", + "itemsUpdatesFailed", + "itemsSkipped" + ], + "description": "Represents the completed state of the last synchronization." + }, + "AnalyzeRequest": { + "type": "object", + "properties": { + "text": { + "type": "string", + "description": "The text to break into tokens." + }, + "analyzer": { + "$ref": "#/definitions/LexicalAnalyzerName", + "description": "The name of the analyzer to use to break the given text. If this parameter is not specified, you must specify a tokenizer instead. The tokenizer and analyzer parameters are mutually exclusive." + }, + "tokenizer": { + "$ref": "#/definitions/LexicalTokenizerName", + "description": "The name of the tokenizer to use to break the given text. If this parameter is not specified, you must specify an analyzer instead. The tokenizer and analyzer parameters are mutually exclusive." + }, + "normalizer": { + "$ref": "#/definitions/LexicalNormalizerName", + "description": "The name of the normalizer to use to normalize the given text." + }, + "tokenFilters": { + "type": "array", + "items": { + "$ref": "#/definitions/TokenFilterName", + "x-nullable": false + }, + "description": "An optional list of token filters to use when breaking the given text. This parameter can only be set when using the tokenizer parameter." + }, + "charFilters": { + "type": "array", + "items": { + "$ref": "#/definitions/CharFilterName", + "x-nullable": false + }, + "description": "An optional list of character filters to use when breaking the given text. This parameter can only be set when using the tokenizer parameter." + } + }, + "required": [ + "text" + ], + "description": "Specifies some text and analysis components used to break that text into tokens." + }, + "AnalyzeResult": { + "type": "object", + "properties": { + "tokens": { + "type": "array", + "items": { + "$ref": "#/definitions/AnalyzedTokenInfo" + }, + "description": "The list of tokens returned by the analyzer specified in the request." + } + }, + "required": [ + "tokens" + ], + "description": "The result of testing an analyzer on text." + }, + "AnalyzedTokenInfo": { + "type": "object", + "properties": { + "token": { + "type": "string", + "readOnly": true, + "description": "The token returned by the analyzer." + }, + "startOffset": { + "type": "integer", + "format": "int32", + "readOnly": true, + "x-nullable": false, + "description": "The index of the first character of the token in the input text." + }, + "endOffset": { + "type": "integer", + "format": "int32", + "readOnly": true, + "x-nullable": false, + "description": "The index of the last character of the token in the input text." + }, + "position": { + "type": "integer", + "format": "int32", + "readOnly": true, + "x-nullable": false, + "description": "The position of the token in the input text relative to other tokens. The first token in the input text has position 0, the next has position 1, and so on. Depending on the analyzer used, some tokens might have the same position, for example if they are synonyms of each other." + } + }, + "required": [ + "token", + "startOffset", + "endOffset", + "position" + ], + "description": "Information about a token returned by an analyzer." + }, + "LexicalAnalyzerName": { + "type": "string", + "enum": [ + "ar.microsoft", + "ar.lucene", + "hy.lucene", + "bn.microsoft", + "eu.lucene", + "bg.microsoft", + "bg.lucene", + "ca.microsoft", + "ca.lucene", + "zh-Hans.microsoft", + "zh-Hans.lucene", + "zh-Hant.microsoft", + "zh-Hant.lucene", + "hr.microsoft", + "cs.microsoft", + "cs.lucene", + "da.microsoft", + "da.lucene", + "nl.microsoft", + "nl.lucene", + "en.microsoft", + "en.lucene", + "et.microsoft", + "fi.microsoft", + "fi.lucene", + "fr.microsoft", + "fr.lucene", + "gl.lucene", + "de.microsoft", + "de.lucene", + "el.microsoft", + "el.lucene", + "gu.microsoft", + "he.microsoft", + "hi.microsoft", + "hi.lucene", + "hu.microsoft", + "hu.lucene", + "is.microsoft", + "id.microsoft", + "id.lucene", + "ga.lucene", + "it.microsoft", + "it.lucene", + "ja.microsoft", + "ja.lucene", + "kn.microsoft", + "ko.microsoft", + "ko.lucene", + "lv.microsoft", + "lv.lucene", + "lt.microsoft", + "ml.microsoft", + "ms.microsoft", + "mr.microsoft", + "nb.microsoft", + "no.lucene", + "fa.lucene", + "pl.microsoft", + "pl.lucene", + "pt-BR.microsoft", + "pt-BR.lucene", + "pt-PT.microsoft", + "pt-PT.lucene", + "pa.microsoft", + "ro.microsoft", + "ro.lucene", + "ru.microsoft", + "ru.lucene", + "sr-cyrillic.microsoft", + "sr-latin.microsoft", + "sk.microsoft", + "sl.microsoft", + "es.microsoft", + "es.lucene", + "sv.microsoft", + "sv.lucene", + "ta.microsoft", + "te.microsoft", + "th.microsoft", + "th.lucene", + "tr.microsoft", + "tr.lucene", + "uk.microsoft", + "ur.microsoft", + "vi.microsoft", + "standard.lucene", + "standardasciifolding.lucene", + "keyword", + "pattern", + "simple", + "stop", + "whitespace" + ], + "x-ms-enum": { + "name": "LexicalAnalyzerName", + "modelAsString": true, + "values": [ + { + "value": "ar.microsoft", + "name": "ArMicrosoft", + "description": "Microsoft analyzer for Arabic." + }, + { + "value": "ar.lucene", + "name": "ArLucene", + "description": "Lucene analyzer for Arabic." + }, + { + "value": "hy.lucene", + "name": "HyLucene", + "description": "Lucene analyzer for Armenian." + }, + { + "value": "bn.microsoft", + "name": "BnMicrosoft", + "description": "Microsoft analyzer for Bangla." + }, + { + "value": "eu.lucene", + "name": "EuLucene", + "description": "Lucene analyzer for Basque." + }, + { + "value": "bg.microsoft", + "name": "BgMicrosoft", + "description": "Microsoft analyzer for Bulgarian." + }, + { + "value": "bg.lucene", + "name": "BgLucene", + "description": "Lucene analyzer for Bulgarian." + }, + { + "value": "ca.microsoft", + "name": "CaMicrosoft", + "description": "Microsoft analyzer for Catalan." + }, + { + "value": "ca.lucene", + "name": "CaLucene", + "description": "Lucene analyzer for Catalan." + }, + { + "value": "zh-Hans.microsoft", + "name": "ZhHansMicrosoft", + "description": "Microsoft analyzer for Chinese (Simplified)." + }, + { + "value": "zh-Hans.lucene", + "name": "ZhHansLucene", + "description": "Lucene analyzer for Chinese (Simplified)." + }, + { + "value": "zh-Hant.microsoft", + "name": "ZhHantMicrosoft", + "description": "Microsoft analyzer for Chinese (Traditional)." + }, + { + "value": "zh-Hant.lucene", + "name": "ZhHantLucene", + "description": "Lucene analyzer for Chinese (Traditional)." + }, + { + "value": "hr.microsoft", + "name": "HrMicrosoft", + "description": "Microsoft analyzer for Croatian." + }, + { + "value": "cs.microsoft", + "name": "CsMicrosoft", + "description": "Microsoft analyzer for Czech." + }, + { + "value": "cs.lucene", + "name": "CsLucene", + "description": "Lucene analyzer for Czech." + }, + { + "value": "da.microsoft", + "name": "DaMicrosoft", + "description": "Microsoft analyzer for Danish." + }, + { + "value": "da.lucene", + "name": "DaLucene", + "description": "Lucene analyzer for Danish." + }, + { + "value": "nl.microsoft", + "name": "NlMicrosoft", + "description": "Microsoft analyzer for Dutch." + }, + { + "value": "nl.lucene", + "name": "NlLucene", + "description": "Lucene analyzer for Dutch." + }, + { + "value": "en.microsoft", + "name": "EnMicrosoft", + "description": "Microsoft analyzer for English." + }, + { + "value": "en.lucene", + "name": "EnLucene", + "description": "Lucene analyzer for English." + }, + { + "value": "et.microsoft", + "name": "EtMicrosoft", + "description": "Microsoft analyzer for Estonian." + }, + { + "value": "fi.microsoft", + "name": "FiMicrosoft", + "description": "Microsoft analyzer for Finnish." + }, + { + "value": "fi.lucene", + "name": "FiLucene", + "description": "Lucene analyzer for Finnish." + }, + { + "value": "fr.microsoft", + "name": "FrMicrosoft", + "description": "Microsoft analyzer for French." + }, + { + "value": "fr.lucene", + "name": "FrLucene", + "description": "Lucene analyzer for French." + }, + { + "value": "gl.lucene", + "name": "GlLucene", + "description": "Lucene analyzer for Galician." + }, + { + "value": "de.microsoft", + "name": "DeMicrosoft", + "description": "Microsoft analyzer for German." + }, + { + "value": "de.lucene", + "name": "DeLucene", + "description": "Lucene analyzer for German." + }, + { + "value": "el.microsoft", + "name": "ElMicrosoft", + "description": "Microsoft analyzer for Greek." + }, + { + "value": "el.lucene", + "name": "ElLucene", + "description": "Lucene analyzer for Greek." + }, + { + "value": "gu.microsoft", + "name": "GuMicrosoft", + "description": "Microsoft analyzer for Gujarati." + }, + { + "value": "he.microsoft", + "name": "HeMicrosoft", + "description": "Microsoft analyzer for Hebrew." + }, + { + "value": "hi.microsoft", + "name": "HiMicrosoft", + "description": "Microsoft analyzer for Hindi." + }, + { + "value": "hi.lucene", + "name": "HiLucene", + "description": "Lucene analyzer for Hindi." + }, + { + "value": "hu.microsoft", + "name": "HuMicrosoft", + "description": "Microsoft analyzer for Hungarian." + }, + { + "value": "hu.lucene", + "name": "HuLucene", + "description": "Lucene analyzer for Hungarian." + }, + { + "value": "is.microsoft", + "name": "IsMicrosoft", + "description": "Microsoft analyzer for Icelandic." + }, + { + "value": "id.microsoft", + "name": "IdMicrosoft", + "description": "Microsoft analyzer for Indonesian (Bahasa)." + }, + { + "value": "id.lucene", + "name": "IdLucene", + "description": "Lucene analyzer for Indonesian." + }, + { + "value": "ga.lucene", + "name": "GaLucene", + "description": "Lucene analyzer for Irish." + }, + { + "value": "it.microsoft", + "name": "ItMicrosoft", + "description": "Microsoft analyzer for Italian." + }, + { + "value": "it.lucene", + "name": "ItLucene", + "description": "Lucene analyzer for Italian." + }, + { + "value": "ja.microsoft", + "name": "JaMicrosoft", + "description": "Microsoft analyzer for Japanese." + }, + { + "value": "ja.lucene", + "name": "JaLucene", + "description": "Lucene analyzer for Japanese." + }, + { + "value": "kn.microsoft", + "name": "KnMicrosoft", + "description": "Microsoft analyzer for Kannada." + }, + { + "value": "ko.microsoft", + "name": "KoMicrosoft", + "description": "Microsoft analyzer for Korean." + }, + { + "value": "ko.lucene", + "name": "KoLucene", + "description": "Lucene analyzer for Korean." + }, + { + "value": "lv.microsoft", + "name": "LvMicrosoft", + "description": "Microsoft analyzer for Latvian." + }, + { + "value": "lv.lucene", + "name": "LvLucene", + "description": "Lucene analyzer for Latvian." + }, + { + "value": "lt.microsoft", + "name": "LtMicrosoft", + "description": "Microsoft analyzer for Lithuanian." + }, + { + "value": "ml.microsoft", + "name": "MlMicrosoft", + "description": "Microsoft analyzer for Malayalam." + }, + { + "value": "ms.microsoft", + "name": "MsMicrosoft", + "description": "Microsoft analyzer for Malay (Latin)." + }, + { + "value": "mr.microsoft", + "name": "MrMicrosoft", + "description": "Microsoft analyzer for Marathi." + }, + { + "value": "nb.microsoft", + "name": "NbMicrosoft", + "description": "Microsoft analyzer for Norwegian (Bokmål)." + }, + { + "value": "no.lucene", + "name": "NoLucene", + "description": "Lucene analyzer for Norwegian." + }, + { + "value": "fa.lucene", + "name": "FaLucene", + "description": "Lucene analyzer for Persian." + }, + { + "value": "pl.microsoft", + "name": "PlMicrosoft", + "description": "Microsoft analyzer for Polish." + }, + { + "value": "pl.lucene", + "name": "PlLucene", + "description": "Lucene analyzer for Polish." + }, + { + "value": "pt-BR.microsoft", + "name": "PtBrMicrosoft", + "description": "Microsoft analyzer for Portuguese (Brazil)." + }, + { + "value": "pt-BR.lucene", + "name": "PtBrLucene", + "description": "Lucene analyzer for Portuguese (Brazil)." + }, + { + "value": "pt-PT.microsoft", + "name": "PtPtMicrosoft", + "description": "Microsoft analyzer for Portuguese (Portugal)." + }, + { + "value": "pt-PT.lucene", + "name": "PtPtLucene", + "description": "Lucene analyzer for Portuguese (Portugal)." + }, + { + "value": "pa.microsoft", + "name": "PaMicrosoft", + "description": "Microsoft analyzer for Punjabi." + }, + { + "value": "ro.microsoft", + "name": "RoMicrosoft", + "description": "Microsoft analyzer for Romanian." + }, + { + "value": "ro.lucene", + "name": "RoLucene", + "description": "Lucene analyzer for Romanian." + }, + { + "value": "ru.microsoft", + "name": "RuMicrosoft", + "description": "Microsoft analyzer for Russian." + }, + { + "value": "ru.lucene", + "name": "RuLucene", + "description": "Lucene analyzer for Russian." + }, + { + "value": "sr-cyrillic.microsoft", + "name": "SrCyrillicMicrosoft", + "description": "Microsoft analyzer for Serbian (Cyrillic)." + }, + { + "value": "sr-latin.microsoft", + "name": "SrLatinMicrosoft", + "description": "Microsoft analyzer for Serbian (Latin)." + }, + { + "value": "sk.microsoft", + "name": "SkMicrosoft", + "description": "Microsoft analyzer for Slovak." + }, + { + "value": "sl.microsoft", + "name": "SlMicrosoft", + "description": "Microsoft analyzer for Slovenian." + }, + { + "value": "es.microsoft", + "name": "EsMicrosoft", + "description": "Microsoft analyzer for Spanish." + }, + { + "value": "es.lucene", + "name": "EsLucene", + "description": "Lucene analyzer for Spanish." + }, + { + "value": "sv.microsoft", + "name": "SvMicrosoft", + "description": "Microsoft analyzer for Swedish." + }, + { + "value": "sv.lucene", + "name": "SvLucene", + "description": "Lucene analyzer for Swedish." + }, + { + "value": "ta.microsoft", + "name": "TaMicrosoft", + "description": "Microsoft analyzer for Tamil." + }, + { + "value": "te.microsoft", + "name": "TeMicrosoft", + "description": "Microsoft analyzer for Telugu." + }, + { + "value": "th.microsoft", + "name": "ThMicrosoft", + "description": "Microsoft analyzer for Thai." + }, + { + "value": "th.lucene", + "name": "ThLucene", + "description": "Lucene analyzer for Thai." + }, + { + "value": "tr.microsoft", + "name": "TrMicrosoft", + "description": "Microsoft analyzer for Turkish." + }, + { + "value": "tr.lucene", + "name": "TrLucene", + "description": "Lucene analyzer for Turkish." + }, + { + "value": "uk.microsoft", + "name": "UkMicrosoft", + "description": "Microsoft analyzer for Ukrainian." + }, + { + "value": "ur.microsoft", + "name": "UrMicrosoft", + "description": "Microsoft analyzer for Urdu." + }, + { + "value": "vi.microsoft", + "name": "ViMicrosoft", + "description": "Microsoft analyzer for Vietnamese." + }, + { + "value": "standard.lucene", + "name": "StandardLucene", + "description": "Standard Lucene analyzer." + }, + { + "value": "standardasciifolding.lucene", + "name": "StandardAsciiFoldingLucene", + "description": "Standard ASCII Folding Lucene analyzer. See https://learn.microsoft.com/rest/api/searchservice/Custom-analyzers-in-Azure-Search#Analyzers" + }, + { + "value": "keyword", + "name": "Keyword", + "description": "Treats the entire content of a field as a single token. This is useful for data like zip codes, ids, and some product names. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/core/KeywordAnalyzer.html" + }, + { + "value": "pattern", + "name": "Pattern", + "description": "Flexibly separates text into terms via a regular expression pattern. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/miscellaneous/PatternAnalyzer.html" + }, + { + "value": "simple", + "name": "Simple", + "description": "Divides text at non-letters and converts them to lower case. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/core/SimpleAnalyzer.html" + }, + { + "value": "stop", + "name": "Stop", + "description": "Divides text at non-letters; Applies the lowercase and stopword token filters. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/core/StopAnalyzer.html" + }, + { + "value": "whitespace", + "name": "Whitespace", + "description": "An analyzer that uses the whitespace tokenizer. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/core/WhitespaceAnalyzer.html" + } + ] + }, + "description": "Defines the names of all text analyzers supported by the search engine.", + "externalDocs": { + "url": "https://learn.microsoft.com/rest/api/searchservice/Language-support" + } + }, + "LexicalTokenizerName": { + "type": "string", + "enum": [ + "classic", + "edgeNGram", + "keyword_v2", + "letter", + "lowercase", + "microsoft_language_tokenizer", + "microsoft_language_stemming_tokenizer", + "nGram", + "path_hierarchy_v2", + "pattern", + "standard_v2", + "uax_url_email", + "whitespace" + ], + "x-ms-enum": { + "name": "LexicalTokenizerName", + "modelAsString": true, + "values": [ + { + "value": "classic", + "name": "Classic", + "description": "Grammar-based tokenizer that is suitable for processing most European-language documents. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/standard/ClassicTokenizer.html" + }, + { + "value": "edgeNGram", + "name": "EdgeNGram", + "description": "Tokenizes the input from an edge into n-grams of the given size(s). See https://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/ngram/EdgeNGramTokenizer.html" + }, + { + "value": "keyword_v2", + "name": "Keyword", + "description": "Emits the entire input as a single token. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/core/KeywordTokenizer.html" + }, + { + "value": "letter", + "name": "Letter", + "description": "Divides text at non-letters. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/core/LetterTokenizer.html" + }, + { + "value": "lowercase", + "name": "Lowercase", + "description": "Divides text at non-letters and converts them to lower case. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/core/LowerCaseTokenizer.html" + }, + { + "value": "microsoft_language_tokenizer", + "name": "MicrosoftLanguageTokenizer", + "description": "Divides text using language-specific rules." + }, + { + "value": "microsoft_language_stemming_tokenizer", + "name": "MicrosoftLanguageStemmingTokenizer", + "description": "Divides text using language-specific rules and reduces words to their base forms." + }, + { + "value": "nGram", + "name": "NGram", + "description": "Tokenizes the input into n-grams of the given size(s). See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/ngram/NGramTokenizer.html" + }, + { + "value": "path_hierarchy_v2", + "name": "PathHierarchy", + "description": "Tokenizer for path-like hierarchies. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/path/PathHierarchyTokenizer.html" + }, + { + "value": "pattern", + "name": "Pattern", + "description": "Tokenizer that uses regex pattern matching to construct distinct tokens. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/pattern/PatternTokenizer.html" + }, + { + "value": "standard_v2", + "name": "Standard", + "description": "Standard Lucene analyzer; Composed of the standard tokenizer, lowercase filter and stop filter. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/standard/StandardTokenizer.html" + }, + { + "value": "uax_url_email", + "name": "UaxUrlEmail", + "description": "Tokenizes urls and emails as one token. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/standard/UAX29URLEmailTokenizer.html" + }, + { + "value": "whitespace", + "name": "Whitespace", + "description": "Divides text at whitespace. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/core/WhitespaceTokenizer.html" + } + ] + }, + "description": "Defines the names of all tokenizers supported by the search engine.", + "externalDocs": { + "url": "https://learn.microsoft.com/rest/api/searchservice/Custom-analyzers-in-Azure-Search" + } + }, + "TokenFilterName": { + "type": "string", + "enum": [ + "arabic_normalization", + "apostrophe", + "asciifolding", + "cjk_bigram", + "cjk_width", + "classic", + "common_grams", + "edgeNGram_v2", + "elision", + "german_normalization", + "hindi_normalization", + "indic_normalization", + "keyword_repeat", + "kstem", + "length", + "limit", + "lowercase", + "nGram_v2", + "persian_normalization", + "phonetic", + "porter_stem", + "reverse", + "scandinavian_normalization", + "scandinavian_folding", + "shingle", + "snowball", + "sorani_normalization", + "stemmer", + "stopwords", + "trim", + "truncate", + "unique", + "uppercase", + "word_delimiter" + ], + "x-ms-enum": { + "name": "TokenFilterName", + "modelAsString": true, + "values": [ + { + "value": "arabic_normalization", + "name": "ArabicNormalization", + "description": "A token filter that applies the Arabic normalizer to normalize the orthography. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/ar/ArabicNormalizationFilter.html" + }, + { + "value": "apostrophe", + "name": "Apostrophe", + "description": "Strips all characters after an apostrophe (including the apostrophe itself). See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/tr/ApostropheFilter.html" + }, + { + "value": "asciifolding", + "name": "AsciiFolding", + "description": "Converts alphabetic, numeric, and symbolic Unicode characters which are not in the first 127 ASCII characters (the \"Basic Latin\" Unicode block) into their ASCII equivalents, if such equivalents exist. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/miscellaneous/ASCIIFoldingFilter.html" + }, + { + "value": "cjk_bigram", + "name": "CjkBigram", + "description": "Forms bigrams of CJK terms that are generated from the standard tokenizer. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/cjk/CJKBigramFilter.html" + }, + { + "value": "cjk_width", + "name": "CjkWidth", + "description": "Normalizes CJK width differences. Folds fullwidth ASCII variants into the equivalent basic Latin, and half-width Katakana variants into the equivalent Kana. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/cjk/CJKWidthFilter.html" + }, + { + "value": "classic", + "name": "Classic", + "description": "Removes English possessives, and dots from acronyms. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/standard/ClassicFilter.html" + }, + { + "value": "common_grams", + "name": "CommonGram", + "description": "Construct bigrams for frequently occurring terms while indexing. Single terms are still indexed too, with bigrams overlaid. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/commongrams/CommonGramsFilter.html" + }, + { + "value": "edgeNGram_v2", + "name": "EdgeNGram", + "description": "Generates n-grams of the given size(s) starting from the front or the back of an input token. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/ngram/EdgeNGramTokenFilter.html" + }, + { + "value": "elision", + "name": "Elision", + "description": "Removes elisions. For example, \"l'avion\" (the plane) will be converted to \"avion\" (plane). See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/util/ElisionFilter.html" + }, + { + "value": "german_normalization", + "name": "GermanNormalization", + "description": "Normalizes German characters according to the heuristics of the German2 snowball algorithm. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/de/GermanNormalizationFilter.html" + }, + { + "value": "hindi_normalization", + "name": "HindiNormalization", + "description": "Normalizes text in Hindi to remove some differences in spelling variations. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/hi/HindiNormalizationFilter.html" + }, + { + "value": "indic_normalization", + "name": "IndicNormalization", + "description": "Normalizes the Unicode representation of text in Indian languages. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/in/IndicNormalizationFilter.html" + }, + { + "value": "keyword_repeat", + "name": "KeywordRepeat", + "description": "Emits each incoming token twice, once as keyword and once as non-keyword. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/miscellaneous/KeywordRepeatFilter.html" + }, + { + "value": "kstem", + "name": "KStem", + "description": "A high-performance kstem filter for English. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/en/KStemFilter.html" + }, + { + "value": "length", + "name": "Length", + "description": "Removes words that are too long or too short. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/miscellaneous/LengthFilter.html" + }, + { + "value": "limit", + "name": "Limit", + "description": "Limits the number of tokens while indexing. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/miscellaneous/LimitTokenCountFilter.html" + }, + { + "value": "lowercase", + "name": "Lowercase", + "description": "Normalizes token text to lower case. See https://lucene.apache.org/core/6_6_1/analyzers-common/org/apache/lucene/analysis/core/LowerCaseFilter.html" + }, + { + "value": "nGram_v2", + "name": "NGram", + "description": "Generates n-grams of the given size(s). See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/ngram/NGramTokenFilter.html" + }, + { + "value": "persian_normalization", + "name": "PersianNormalization", + "description": "Applies normalization for Persian. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/fa/PersianNormalizationFilter.html" + }, + { + "value": "phonetic", + "name": "Phonetic", + "description": "Create tokens for phonetic matches. See https://lucene.apache.org/core/4_10_3/analyzers-phonetic/org/apache/lucene/analysis/phonetic/package-tree.html" + }, + { + "value": "porter_stem", + "name": "PorterStem", + "description": "Uses the Porter stemming algorithm to transform the token stream. See http://tartarus.org/~martin/PorterStemmer" + }, + { + "value": "reverse", + "name": "Reverse", + "description": "Reverses the token string. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/reverse/ReverseStringFilter.html" + }, + { + "value": "scandinavian_normalization", + "name": "ScandinavianNormalization", + "description": "Normalizes use of the interchangeable Scandinavian characters. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/miscellaneous/ScandinavianNormalizationFilter.html" + }, + { + "value": "scandinavian_folding", + "name": "ScandinavianFoldingNormalization", + "description": "Folds Scandinavian characters åÅäæÄÆ->a and öÖøØ->o. It also discriminates against use of double vowels aa, ae, ao, oe and oo, leaving just the first one. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/miscellaneous/ScandinavianFoldingFilter.html" + }, + { + "value": "shingle", + "name": "Shingle", + "description": "Creates combinations of tokens as a single token. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/shingle/ShingleFilter.html" + }, + { + "value": "snowball", + "name": "Snowball", + "description": "A filter that stems words using a Snowball-generated stemmer. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/snowball/SnowballFilter.html" + }, + { + "value": "sorani_normalization", + "name": "SoraniNormalization", + "description": "Normalizes the Unicode representation of Sorani text. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/ckb/SoraniNormalizationFilter.html" + }, + { + "value": "stemmer", + "name": "Stemmer", + "description": "Language specific stemming filter. See https://learn.microsoft.com/rest/api/searchservice/Custom-analyzers-in-Azure-Search#TokenFilters" + }, + { + "value": "stopwords", + "name": "Stopwords", + "description": "Removes stop words from a token stream. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/core/StopFilter.html" + }, + { + "value": "trim", + "name": "Trim", + "description": "Trims leading and trailing whitespace from tokens. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/miscellaneous/TrimFilter.html" + }, + { + "value": "truncate", + "name": "Truncate", + "description": "Truncates the terms to a specific length. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/miscellaneous/TruncateTokenFilter.html" + }, + { + "value": "unique", + "name": "Unique", + "description": "Filters out tokens with same text as the previous token. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/miscellaneous/RemoveDuplicatesTokenFilter.html" + }, + { + "value": "uppercase", + "name": "Uppercase", + "description": "Normalizes token text to upper case. See https://lucene.apache.org/core/6_6_1/analyzers-common/org/apache/lucene/analysis/core/UpperCaseFilter.html" + }, + { + "value": "word_delimiter", + "name": "WordDelimiter", + "description": "Splits words into subwords and performs optional transformations on subword groups." + } + ] + }, + "description": "Defines the names of all token filters supported by the search engine.", + "externalDocs": { + "url": "https://learn.microsoft.com/rest/api/searchservice/Custom-analyzers-in-Azure-Search" + } + }, + "LexicalNormalizerName": { + "type": "string", + "enum": [ + "asciifolding", + "elision", + "lowercase", + "standard", + "uppercase" + ], + "x-ms-enum": { + "name": "LexicalNormalizerName", + "modelAsString": true, + "values": [ + { + "value": "asciifolding", + "name": "AsciiFolding", + "description": "Converts alphabetic, numeric, and symbolic Unicode characters which are not in the first 127 ASCII characters (the \"Basic Latin\" Unicode block) into their ASCII equivalents, if such equivalents exist. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/miscellaneous/ASCIIFoldingFilter.html" + }, + { + "value": "elision", + "name": "Elision", + "description": "Removes elisions. For example, \"l'avion\" (the plane) will be converted to \"avion\" (plane). See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/util/ElisionFilter.html" + }, + { + "value": "lowercase", + "name": "Lowercase", + "description": "Normalizes token text to lowercase. See https://lucene.apache.org/core/6_6_1/analyzers-common/org/apache/lucene/analysis/core/LowerCaseFilter.html" + }, + { + "value": "standard", + "name": "Standard", + "description": "Standard normalizer, which consists of lowercase and asciifolding. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/reverse/ReverseStringFilter.html" + }, + { + "value": "uppercase", + "name": "Uppercase", + "description": "Normalizes token text to uppercase. See https://lucene.apache.org/core/6_6_1/analyzers-common/org/apache/lucene/analysis/core/UpperCaseFilter.html" + } + ] + }, + "description": "Defines the names of all text normalizers supported by the search engine.", + "externalDocs": { + "url": "https://aka.ms/azs-normalizers" + } + }, + "CharFilterName": { + "type": "string", + "enum": [ + "html_strip" + ], + "x-ms-enum": { + "name": "CharFilterName", + "modelAsString": true, + "values": [ + { + "value": "html_strip", + "name": "HtmlStrip", + "description": "A character filter that attempts to strip out HTML constructs. See https://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/charfilter/HTMLStripCharFilter.html" + } + ] + }, + "description": "Defines the names of all character filters supported by the search engine.", + "externalDocs": { + "url": "https://learn.microsoft.com/rest/api/searchservice/Custom-analyzers-in-Azure-Search" + } + }, + "RegexFlags": { + "type": "string", + "enum": [ + "CANON_EQ", + "CASE_INSENSITIVE", + "COMMENTS", + "DOTALL", + "LITERAL", + "MULTILINE", + "UNICODE_CASE", + "UNIX_LINES" + ], + "x-ms-enum": { + "name": "RegexFlags", + "modelAsString": true, + "values": [ + { + "value": "CANON_EQ", + "name": "CanonEq", + "description": "Enables canonical equivalence." + }, + { + "value": "CASE_INSENSITIVE", + "name": "CaseInsensitive", + "description": "Enables case-insensitive matching." + }, + { + "value": "COMMENTS", + "name": "Comments", + "description": "Permits whitespace and comments in the pattern." + }, + { + "value": "DOTALL", + "name": "DotAll", + "description": "Enables dotall mode." + }, + { + "value": "LITERAL", + "name": "Literal", + "description": "Enables literal parsing of the pattern." + }, + { + "value": "MULTILINE", + "name": "Multiline", + "description": "Enables multiline mode." + }, + { + "value": "UNICODE_CASE", + "name": "UnicodeCase", + "description": "Enables Unicode-aware case folding." + }, + { + "value": "UNIX_LINES", + "name": "UnixLines", + "description": "Enables Unix lines mode." + } + ] + }, + "description": "Defines flags that can be combined to control how regular expressions are used in the pattern analyzer and pattern tokenizer.", + "externalDocs": { + "url": "http://docs.oracle.com/javase/6/docs/api/java/util/regex/Pattern.html#field_summary" + } + }, + "VectorEncodingFormat": { + "type": "string", + "enum": [ + "packedBit" + ], + "x-ms-enum": { + "name": "VectorEncodingFormat", + "modelAsString": true, + "values": [ + { + "value": "packedBit", + "name": "PackedBit", + "description": "Encoding format representing bits packed into a wider data type." + } + ] + }, + "description": "The encoding format for interpreting vector field contents." + }, + "SearchFieldDataType": { + "type": "string", + "enum": [ + "Edm.String", + "Edm.Int32", + "Edm.Int64", + "Edm.Double", + "Edm.Boolean", + "Edm.DateTimeOffset", + "Edm.GeographyPoint", + "Edm.ComplexType", + "Edm.Single", + "Edm.Half", + "Edm.Int16", + "Edm.SByte", + "Edm.Byte" + ], + "x-ms-enum": { + "name": "SearchFieldDataType", + "modelAsString": true, + "values": [ + { + "value": "Edm.String", + "name": "String", + "description": "Indicates that a field contains a string." + }, + { + "value": "Edm.Int32", + "name": "Int32", + "description": "Indicates that a field contains a 32-bit signed integer." + }, + { + "value": "Edm.Int64", + "name": "Int64", + "description": "Indicates that a field contains a 64-bit signed integer." + }, + { + "value": "Edm.Double", + "name": "Double", + "description": "Indicates that a field contains an IEEE double-precision floating point number." + }, + { + "value": "Edm.Boolean", + "name": "Boolean", + "description": "Indicates that a field contains a Boolean value (true or false)." + }, + { + "value": "Edm.DateTimeOffset", + "name": "DateTimeOffset", + "description": "Indicates that a field contains a date/time value, including timezone information." + }, + { + "value": "Edm.GeographyPoint", + "name": "GeographyPoint", + "description": "Indicates that a field contains a geo-location in terms of longitude and latitude." + }, + { + "value": "Edm.ComplexType", + "name": "Complex", + "description": "Indicates that a field contains one or more complex objects that in turn have sub-fields of other types." + }, + { + "value": "Edm.Single", + "name": "Single", + "description": "Indicates that a field contains a single-precision floating point number. This is only valid when used with Collection(Edm.Single)." + }, + { + "value": "Edm.Half", + "name": "Half", + "description": "Indicates that a field contains a half-precision floating point number. This is only valid when used with Collection(Edm.Half)." + }, + { + "value": "Edm.Int16", + "name": "Int16", + "description": "Indicates that a field contains a 16-bit signed integer. This is only valid when used with Collection(Edm.Int16)." + }, + { + "value": "Edm.SByte", + "name": "SByte", + "description": "Indicates that a field contains a 8-bit signed integer. This is only valid when used with Collection(Edm.SByte)." + }, + { + "value": "Edm.Byte", + "name": "Byte", + "description": "Indicates that a field contains a 8-bit unsigned integer. This is only valid when used with Collection(Edm.Byte)." + } + ] + }, + "description": "Defines the data type of a field in a search index." + }, + "LexicalAnalyzer": { + "type": "object", + "discriminator": "@odata.type", + "properties": { + "@odata.type": { + "type": "string", + "description": "A URI fragment specifying the type of analyzer." + }, + "name": { + "type": "string", + "externalDocs": { + "url": "https://learn.microsoft.com/rest/api/searchservice/custom-analyzers-in-azure-search#index-attribute-reference" + }, + "description": "The name of the analyzer. It must only contain letters, digits, spaces, dashes or underscores, can only start and end with alphanumeric characters, and is limited to 128 characters." + } + }, + "required": [ + "@odata.type", + "name" + ], + "description": "Base type for analyzers." + }, + "CustomAnalyzer": { + "type": "object", + "x-ms-discriminator-value": "#Microsoft.Azure.Search.CustomAnalyzer", + "allOf": [ + { + "$ref": "#/definitions/LexicalAnalyzer" + } + ], + "properties": { + "tokenizer": { + "$ref": "#/definitions/LexicalTokenizerName", + "description": "The name of the tokenizer to use to divide continuous text into a sequence of tokens, such as breaking a sentence into words." + }, + "tokenFilters": { + "type": "array", + "items": { + "$ref": "#/definitions/TokenFilterName", + "x-nullable": false + }, + "description": "A list of token filters used to filter out or modify the tokens generated by a tokenizer. For example, you can specify a lowercase filter that converts all characters to lowercase. The filters are run in the order in which they are listed." + }, + "charFilters": { + "type": "array", + "items": { + "$ref": "#/definitions/CharFilterName", + "x-nullable": false + }, + "description": "A list of character filters used to prepare input text before it is processed by the tokenizer. For instance, they can replace certain characters or symbols. The filters are run in the order in which they are listed." + } + }, + "required": [ + "tokenizer" + ], + "description": "Allows you to take control over the process of converting text into indexable/searchable tokens. It's a user-defined configuration consisting of a single predefined tokenizer and one or more filters. The tokenizer is responsible for breaking text into tokens, and the filters for modifying tokens emitted by the tokenizer." + }, + "PatternAnalyzer": { + "type": "object", + "x-ms-discriminator-value": "#Microsoft.Azure.Search.PatternAnalyzer", + "allOf": [ + { + "$ref": "#/definitions/LexicalAnalyzer" + } + ], + "properties": { + "lowercase": { + "x-ms-client-name": "LowerCaseTerms", + "type": "boolean", + "default": true, + "description": "A value indicating whether terms should be lower-cased. Default is true." + }, + "pattern": { + "type": "string", + "default": "\\W+", + "description": "A regular expression pattern to match token separators. Default is an expression that matches one or more non-word characters." + }, + "flags": { + "$ref": "#/definitions/RegexFlags", + "description": "Regular expression flags." + }, + "stopwords": { + "type": "array", + "items": { + "type": "string" + }, + "description": "A list of stopwords." + } + }, + "description": "Flexibly separates text into terms via a regular expression pattern. This analyzer is implemented using Apache Lucene.", + "externalDocs": { + "url": "http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/miscellaneous/PatternAnalyzer.html" + } + }, + "LuceneStandardAnalyzer": { + "type": "object", + "x-ms-discriminator-value": "#Microsoft.Azure.Search.StandardAnalyzer", + "allOf": [ + { + "$ref": "#/definitions/LexicalAnalyzer" + } + ], + "properties": { + "maxTokenLength": { + "type": "integer", + "format": "int32", + "default": 255, + "maximum": 300, + "description": "The maximum token length. Default is 255. Tokens longer than the maximum length are split. The maximum token length that can be used is 300 characters." + }, + "stopwords": { + "type": "array", + "items": { + "type": "string" + }, + "description": "A list of stopwords." + } + }, + "description": "Standard Apache Lucene analyzer; Composed of the standard tokenizer, lowercase filter and stop filter.", + "externalDocs": { + "url": "http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/standard/StandardAnalyzer.html" + } + }, + "StopAnalyzer": { + "type": "object", + "x-ms-discriminator-value": "#Microsoft.Azure.Search.StopAnalyzer", + "allOf": [ + { + "$ref": "#/definitions/LexicalAnalyzer" + } + ], + "properties": { + "stopwords": { + "type": "array", + "items": { + "type": "string" + }, + "description": "A list of stopwords." + } + }, + "description": "Divides text at non-letters; Applies the lowercase and stopword token filters. This analyzer is implemented using Apache Lucene.", + "externalDocs": { + "url": "http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/core/StopAnalyzer.html" + } + }, + "LexicalNormalizer": { + "type": "object", + "discriminator": "@odata.type", + "properties": { + "@odata.type": { + "type": "string", + "description": "A URI fragment specifying the type of normalizer." + }, + "name": { + "type": "string", + "externalDocs": { + "url": "https://aka.ms/azs-normalizers" + }, + "description": "The name of the normalizer. It must only contain letters, digits, spaces, dashes or underscores, can only start and end with alphanumeric characters, and is limited to 128 characters. It cannot end in '.microsoft' nor '.lucene', nor be named 'asciifolding', 'standard', 'lowercase', 'uppercase', or 'elision'." + } + }, + "required": [ + "@odata.type", + "name" + ], + "description": "Base type for normalizers." + }, + "CustomNormalizer": { + "type": "object", + "x-ms-discriminator-value": "#Microsoft.Azure.Search.CustomNormalizer", + "allOf": [ + { + "$ref": "#/definitions/LexicalNormalizer" + } + ], + "properties": { + "tokenFilters": { + "type": "array", + "items": { + "$ref": "#/definitions/TokenFilterName", + "x-nullable": false + }, + "description": "A list of token filters used to filter out or modify the input token. For example, you can specify a lowercase filter that converts all characters to lowercase. The filters are run in the order in which they are listed." + }, + "charFilters": { + "type": "array", + "items": { + "$ref": "#/definitions/CharFilterName", + "x-nullable": false + }, + "description": "A list of character filters used to prepare input text before it is processed. For instance, they can replace certain characters or symbols. The filters are run in the order in which they are listed." + } + }, + "description": "Allows you to configure normalization for filterable, sortable, and facetable fields, which by default operate with strict matching. This is a user-defined configuration consisting of at least one or more filters, which modify the token that is stored.", + "externalDocs": { + "url": "https://aka.ms/azs-custom-normalizers" + } + }, + "LexicalTokenizer": { + "type": "object", + "discriminator": "@odata.type", + "properties": { + "@odata.type": { + "type": "string", + "description": "A URI fragment specifying the type of tokenizer." + }, + "name": { + "type": "string", + "externalDocs": { + "url": "https://learn.microsoft.com/rest/api/searchservice/custom-analyzers-in-azure-search#index-attribute-reference" + }, + "description": "The name of the tokenizer. It must only contain letters, digits, spaces, dashes or underscores, can only start and end with alphanumeric characters, and is limited to 128 characters." + } + }, + "required": [ + "@odata.type", + "name" + ], + "description": "Base type for tokenizers.", + "externalDocs": { + "url": "https://learn.microsoft.com/rest/api/searchservice/Custom-analyzers-in-Azure-Search" + } + }, + "ClassicTokenizer": { + "type": "object", + "x-ms-discriminator-value": "#Microsoft.Azure.Search.ClassicTokenizer", + "allOf": [ + { + "$ref": "#/definitions/LexicalTokenizer" + } + ], + "properties": { + "maxTokenLength": { + "type": "integer", + "format": "int32", + "default": 255, + "maximum": 300, + "description": "The maximum token length. Default is 255. Tokens longer than the maximum length are split. The maximum token length that can be used is 300 characters." + } + }, + "description": "Grammar-based tokenizer that is suitable for processing most European-language documents. This tokenizer is implemented using Apache Lucene.", + "externalDocs": { + "url": "http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/standard/ClassicTokenizer.html" + } + }, + "TokenCharacterKind": { + "type": "string", + "enum": [ + "letter", + "digit", + "whitespace", + "punctuation", + "symbol" + ], + "x-ms-enum": { + "name": "TokenCharacterKind", + "modelAsString": false, + "values": [ + { + "value": "letter", + "name": "Letter", + "description": "Keeps letters in tokens." + }, + { + "value": "digit", + "name": "Digit", + "description": "Keeps digits in tokens." + }, + { + "value": "whitespace", + "name": "Whitespace", + "description": "Keeps whitespace in tokens." + }, + { + "value": "punctuation", + "name": "Punctuation", + "description": "Keeps punctuation in tokens." + }, + { + "value": "symbol", + "name": "Symbol", + "description": "Keeps symbols in tokens." + } + ] + }, + "description": "Represents classes of characters on which a token filter can operate." + }, + "RankingOrder": { + "type": "string", + "enum": [ + "BoostedRerankerScore", + "RerankerScore" + ], + "x-ms-enum": { + "name": "RankingOrder", + "modelAsString": true, + "values": [ + { + "value": "BoostedRerankerScore", + "name": "BoostedRerankerScore", + "description": "Sets sort order as BoostedRerankerScore" + }, + { + "value": "RerankerScore", + "name": "ReRankerScore", + "description": "Sets sort order as ReRankerScore" + } + ] + }, + "description": "Represents score to use for sort order of documents." + }, + "EdgeNGramTokenizer": { + "type": "object", + "x-ms-discriminator-value": "#Microsoft.Azure.Search.EdgeNGramTokenizer", + "allOf": [ + { + "$ref": "#/definitions/LexicalTokenizer" + } + ], + "properties": { + "minGram": { + "type": "integer", + "format": "int32", + "default": 1, + "maximum": 300, + "description": "The minimum n-gram length. Default is 1. Maximum is 300. Must be less than the value of maxGram." + }, + "maxGram": { + "type": "integer", + "format": "int32", + "default": 2, + "maximum": 300, + "description": "The maximum n-gram length. Default is 2. Maximum is 300." + }, + "tokenChars": { + "type": "array", + "items": { + "$ref": "#/definitions/TokenCharacterKind", + "x-nullable": false + }, + "description": "Character classes to keep in the tokens." + } + }, + "description": "Tokenizes the input from an edge into n-grams of the given size(s). This tokenizer is implemented using Apache Lucene.", + "externalDocs": { + "url": "https://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/ngram/EdgeNGramTokenizer.html" + } + }, + "KeywordTokenizer": { + "type": "object", + "x-ms-discriminator-value": "#Microsoft.Azure.Search.KeywordTokenizer", + "allOf": [ + { + "$ref": "#/definitions/LexicalTokenizer" + } + ], + "properties": { + "bufferSize": { + "type": "integer", + "format": "int32", + "default": 256, + "description": "The read buffer size in bytes. Default is 256." + } + }, + "description": "Emits the entire input as a single token. This tokenizer is implemented using Apache Lucene.", + "externalDocs": { + "url": "http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/core/KeywordTokenizer.html" + }, + "x-az-search-deprecated": true + }, + "KeywordTokenizerV2": { + "type": "object", + "x-ms-discriminator-value": "#Microsoft.Azure.Search.KeywordTokenizerV2", + "allOf": [ + { + "$ref": "#/definitions/LexicalTokenizer" + } + ], + "properties": { + "maxTokenLength": { + "type": "integer", + "format": "int32", + "default": 256, + "maximum": 300, + "description": "The maximum token length. Default is 256. Tokens longer than the maximum length are split. The maximum token length that can be used is 300 characters." + } + }, + "description": "Emits the entire input as a single token. This tokenizer is implemented using Apache Lucene.", + "externalDocs": { + "url": "http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/core/KeywordTokenizer.html" + } + }, + "MicrosoftTokenizerLanguage": { + "type": "string", + "enum": [ + "bangla", + "bulgarian", + "catalan", + "chineseSimplified", + "chineseTraditional", + "croatian", + "czech", + "danish", + "dutch", + "english", + "french", + "german", + "greek", + "gujarati", + "hindi", + "icelandic", + "indonesian", + "italian", + "japanese", + "kannada", + "korean", + "malay", + "malayalam", + "marathi", + "norwegianBokmaal", + "polish", + "portuguese", + "portugueseBrazilian", + "punjabi", + "romanian", + "russian", + "serbianCyrillic", + "serbianLatin", + "slovenian", + "spanish", + "swedish", + "tamil", + "telugu", + "thai", + "ukrainian", + "urdu", + "vietnamese" + ], + "x-ms-enum": { + "name": "MicrosoftTokenizerLanguage", + "modelAsString": false, + "values": [ + { + "value": "bangla", + "name": "Bangla", + "description": "Selects the Microsoft tokenizer for Bangla." + }, + { + "value": "bulgarian", + "name": "Bulgarian", + "description": "Selects the Microsoft tokenizer for Bulgarian." + }, + { + "value": "catalan", + "name": "Catalan", + "description": "Selects the Microsoft tokenizer for Catalan." + }, + { + "value": "chineseSimplified", + "name": "ChineseSimplified", + "description": "Selects the Microsoft tokenizer for Chinese (Simplified)." + }, + { + "value": "chineseTraditional", + "name": "ChineseTraditional", + "description": "Selects the Microsoft tokenizer for Chinese (Traditional)." + }, + { + "value": "croatian", + "name": "Croatian", + "description": "Selects the Microsoft tokenizer for Croatian." + }, + { + "value": "czech", + "name": "Czech", + "description": "Selects the Microsoft tokenizer for Czech." + }, + { + "value": "danish", + "name": "Danish", + "description": "Selects the Microsoft tokenizer for Danish." + }, + { + "value": "dutch", + "name": "Dutch", + "description": "Selects the Microsoft tokenizer for Dutch." + }, + { + "value": "english", + "name": "English", + "description": "Selects the Microsoft tokenizer for English." + }, + { + "value": "french", + "name": "French", + "description": "Selects the Microsoft tokenizer for French." + }, + { + "value": "german", + "name": "German", + "description": "Selects the Microsoft tokenizer for German." + }, + { + "value": "greek", + "name": "Greek", + "description": "Selects the Microsoft tokenizer for Greek." + }, + { + "value": "gujarati", + "name": "Gujarati", + "description": "Selects the Microsoft tokenizer for Gujarati." + }, + { + "value": "hindi", + "name": "Hindi", + "description": "Selects the Microsoft tokenizer for Hindi." + }, + { + "value": "icelandic", + "name": "Icelandic", + "description": "Selects the Microsoft tokenizer for Icelandic." + }, + { + "value": "indonesian", + "name": "Indonesian", + "description": "Selects the Microsoft tokenizer for Indonesian." + }, + { + "value": "italian", + "name": "Italian", + "description": "Selects the Microsoft tokenizer for Italian." + }, + { + "value": "japanese", + "name": "Japanese", + "description": "Selects the Microsoft tokenizer for Japanese." + }, + { + "value": "kannada", + "name": "Kannada", + "description": "Selects the Microsoft tokenizer for Kannada." + }, + { + "value": "korean", + "name": "Korean", + "description": "Selects the Microsoft tokenizer for Korean." + }, + { + "value": "malay", + "name": "Malay", + "description": "Selects the Microsoft tokenizer for Malay." + }, + { + "value": "malayalam", + "name": "Malayalam", + "description": "Selects the Microsoft tokenizer for Malayalam." + }, + { + "value": "marathi", + "name": "Marathi", + "description": "Selects the Microsoft tokenizer for Marathi." + }, + { + "value": "norwegianBokmaal", + "name": "NorwegianBokmaal", + "description": "Selects the Microsoft tokenizer for Norwegian (Bokmål)." + }, + { + "value": "polish", + "name": "Polish", + "description": "Selects the Microsoft tokenizer for Polish." + }, + { + "value": "portuguese", + "name": "Portuguese", + "description": "Selects the Microsoft tokenizer for Portuguese." + }, + { + "value": "portugueseBrazilian", + "name": "PortugueseBrazilian", + "description": "Selects the Microsoft tokenizer for Portuguese (Brazil)." + }, + { + "value": "punjabi", + "name": "Punjabi", + "description": "Selects the Microsoft tokenizer for Punjabi." + }, + { + "value": "romanian", + "name": "Romanian", + "description": "Selects the Microsoft tokenizer for Romanian." + }, + { + "value": "russian", + "name": "Russian", + "description": "Selects the Microsoft tokenizer for Russian." + }, + { + "value": "serbianCyrillic", + "name": "SerbianCyrillic", + "description": "Selects the Microsoft tokenizer for Serbian (Cyrillic)." + }, + { + "value": "serbianLatin", + "name": "SerbianLatin", + "description": "Selects the Microsoft tokenizer for Serbian (Latin)." + }, + { + "value": "slovenian", + "name": "Slovenian", + "description": "Selects the Microsoft tokenizer for Slovenian." + }, + { + "value": "spanish", + "name": "Spanish", + "description": "Selects the Microsoft tokenizer for Spanish." + }, + { + "value": "swedish", + "name": "Swedish", + "description": "Selects the Microsoft tokenizer for Swedish." + }, + { + "value": "tamil", + "name": "Tamil", + "description": "Selects the Microsoft tokenizer for Tamil." + }, + { + "value": "telugu", + "name": "Telugu", + "description": "Selects the Microsoft tokenizer for Telugu." + }, + { + "value": "thai", + "name": "Thai", + "description": "Selects the Microsoft tokenizer for Thai." + }, + { + "value": "ukrainian", + "name": "Ukrainian", + "description": "Selects the Microsoft tokenizer for Ukrainian." + }, + { + "value": "urdu", + "name": "Urdu", + "description": "Selects the Microsoft tokenizer for Urdu." + }, + { + "value": "vietnamese", + "name": "Vietnamese", + "description": "Selects the Microsoft tokenizer for Vietnamese." + } + ] + }, + "description": "Lists the languages supported by the Microsoft language tokenizer." + }, + "MicrosoftLanguageTokenizer": { + "type": "object", + "x-ms-discriminator-value": "#Microsoft.Azure.Search.MicrosoftLanguageTokenizer", + "allOf": [ + { + "$ref": "#/definitions/LexicalTokenizer" + } + ], + "properties": { + "maxTokenLength": { + "type": "integer", + "format": "int32", + "default": 255, + "maximum": 300, + "description": "The maximum token length. Tokens longer than the maximum length are split. Maximum token length that can be used is 300 characters. Tokens longer than 300 characters are first split into tokens of length 300 and then each of those tokens is split based on the max token length set. Default is 255." + }, + "isSearchTokenizer": { + "type": "boolean", + "default": false, + "description": "A value indicating how the tokenizer is used. Set to true if used as the search tokenizer, set to false if used as the indexing tokenizer. Default is false." + }, + "language": { + "$ref": "#/definitions/MicrosoftTokenizerLanguage", + "description": "The language to use. The default is English." + } + }, + "description": "Divides text using language-specific rules." + }, + "MicrosoftStemmingTokenizerLanguage": { + "type": "string", + "enum": [ + "arabic", + "bangla", + "bulgarian", + "catalan", + "croatian", + "czech", + "danish", + "dutch", + "english", + "estonian", + "finnish", + "french", + "german", + "greek", + "gujarati", + "hebrew", + "hindi", + "hungarian", + "icelandic", + "indonesian", + "italian", + "kannada", + "latvian", + "lithuanian", + "malay", + "malayalam", + "marathi", + "norwegianBokmaal", + "polish", + "portuguese", + "portugueseBrazilian", + "punjabi", + "romanian", + "russian", + "serbianCyrillic", + "serbianLatin", + "slovak", + "slovenian", + "spanish", + "swedish", + "tamil", + "telugu", + "turkish", + "ukrainian", + "urdu" + ], + "x-ms-enum": { + "name": "MicrosoftStemmingTokenizerLanguage", + "modelAsString": false, + "values": [ + { + "value": "arabic", + "name": "Arabic", + "description": "Selects the Microsoft stemming tokenizer for Arabic." + }, + { + "value": "bangla", + "name": "Bangla", + "description": "Selects the Microsoft stemming tokenizer for Bangla." + }, + { + "value": "bulgarian", + "name": "Bulgarian", + "description": "Selects the Microsoft stemming tokenizer for Bulgarian." + }, + { + "value": "catalan", + "name": "Catalan", + "description": "Selects the Microsoft stemming tokenizer for Catalan." + }, + { + "value": "croatian", + "name": "Croatian", + "description": "Selects the Microsoft stemming tokenizer for Croatian." + }, + { + "value": "czech", + "name": "Czech", + "description": "Selects the Microsoft stemming tokenizer for Czech." + }, + { + "value": "danish", + "name": "Danish", + "description": "Selects the Microsoft stemming tokenizer for Danish." + }, + { + "value": "dutch", + "name": "Dutch", + "description": "Selects the Microsoft stemming tokenizer for Dutch." + }, + { + "value": "english", + "name": "English", + "description": "Selects the Microsoft stemming tokenizer for English." + }, + { + "value": "estonian", + "name": "Estonian", + "description": "Selects the Microsoft stemming tokenizer for Estonian." + }, + { + "value": "finnish", + "name": "Finnish", + "description": "Selects the Microsoft stemming tokenizer for Finnish." + }, + { + "value": "french", + "name": "French", + "description": "Selects the Microsoft stemming tokenizer for French." + }, + { + "value": "german", + "name": "German", + "description": "Selects the Microsoft stemming tokenizer for German." + }, + { + "value": "greek", + "name": "Greek", + "description": "Selects the Microsoft stemming tokenizer for Greek." + }, + { + "value": "gujarati", + "name": "Gujarati", + "description": "Selects the Microsoft stemming tokenizer for Gujarati." + }, + { + "value": "hebrew", + "name": "Hebrew", + "description": "Selects the Microsoft stemming tokenizer for Hebrew." + }, + { + "value": "hindi", + "name": "Hindi", + "description": "Selects the Microsoft stemming tokenizer for Hindi." + }, + { + "value": "hungarian", + "name": "Hungarian", + "description": "Selects the Microsoft stemming tokenizer for Hungarian." + }, + { + "value": "icelandic", + "name": "Icelandic", + "description": "Selects the Microsoft stemming tokenizer for Icelandic." + }, + { + "value": "indonesian", + "name": "Indonesian", + "description": "Selects the Microsoft stemming tokenizer for Indonesian." + }, + { + "value": "italian", + "name": "Italian", + "description": "Selects the Microsoft stemming tokenizer for Italian." + }, + { + "value": "kannada", + "name": "Kannada", + "description": "Selects the Microsoft stemming tokenizer for Kannada." + }, + { + "value": "latvian", + "name": "Latvian", + "description": "Selects the Microsoft stemming tokenizer for Latvian." + }, + { + "value": "lithuanian", + "name": "Lithuanian", + "description": "Selects the Microsoft stemming tokenizer for Lithuanian." + }, + { + "value": "malay", + "name": "Malay", + "description": "Selects the Microsoft stemming tokenizer for Malay." + }, + { + "value": "malayalam", + "name": "Malayalam", + "description": "Selects the Microsoft stemming tokenizer for Malayalam." + }, + { + "value": "marathi", + "name": "Marathi", + "description": "Selects the Microsoft stemming tokenizer for Marathi." + }, + { + "value": "norwegianBokmaal", + "name": "NorwegianBokmaal", + "description": "Selects the Microsoft stemming tokenizer for Norwegian (Bokmål)." + }, + { + "value": "polish", + "name": "Polish", + "description": "Selects the Microsoft stemming tokenizer for Polish." + }, + { + "value": "portuguese", + "name": "Portuguese", + "description": "Selects the Microsoft stemming tokenizer for Portuguese." + }, + { + "value": "portugueseBrazilian", + "name": "PortugueseBrazilian", + "description": "Selects the Microsoft stemming tokenizer for Portuguese (Brazil)." + }, + { + "value": "punjabi", + "name": "Punjabi", + "description": "Selects the Microsoft stemming tokenizer for Punjabi." + }, + { + "value": "romanian", + "name": "Romanian", + "description": "Selects the Microsoft stemming tokenizer for Romanian." + }, + { + "value": "russian", + "name": "Russian", + "description": "Selects the Microsoft stemming tokenizer for Russian." + }, + { + "value": "serbianCyrillic", + "name": "SerbianCyrillic", + "description": "Selects the Microsoft stemming tokenizer for Serbian (Cyrillic)." + }, + { + "value": "serbianLatin", + "name": "SerbianLatin", + "description": "Selects the Microsoft stemming tokenizer for Serbian (Latin)." + }, + { + "value": "slovak", + "name": "Slovak", + "description": "Selects the Microsoft stemming tokenizer for Slovak." + }, + { + "value": "slovenian", + "name": "Slovenian", + "description": "Selects the Microsoft stemming tokenizer for Slovenian." + }, + { + "value": "spanish", + "name": "Spanish", + "description": "Selects the Microsoft stemming tokenizer for Spanish." + }, + { + "value": "swedish", + "name": "Swedish", + "description": "Selects the Microsoft stemming tokenizer for Swedish." + }, + { + "value": "tamil", + "name": "Tamil", + "description": "Selects the Microsoft stemming tokenizer for Tamil." + }, + { + "value": "telugu", + "name": "Telugu", + "description": "Selects the Microsoft stemming tokenizer for Telugu." + }, + { + "value": "turkish", + "name": "Turkish", + "description": "Selects the Microsoft stemming tokenizer for Turkish." + }, + { + "value": "ukrainian", + "name": "Ukrainian", + "description": "Selects the Microsoft stemming tokenizer for Ukrainian." + }, + { + "value": "urdu", + "name": "Urdu", + "description": "Selects the Microsoft stemming tokenizer for Urdu." + } + ] + }, + "description": "Lists the languages supported by the Microsoft language stemming tokenizer." + }, + "MicrosoftLanguageStemmingTokenizer": { + "type": "object", + "x-ms-discriminator-value": "#Microsoft.Azure.Search.MicrosoftLanguageStemmingTokenizer", + "allOf": [ + { + "$ref": "#/definitions/LexicalTokenizer" + } + ], + "properties": { + "maxTokenLength": { + "type": "integer", + "format": "int32", + "default": 255, + "maximum": 300, + "description": "The maximum token length. Tokens longer than the maximum length are split. Maximum token length that can be used is 300 characters. Tokens longer than 300 characters are first split into tokens of length 300 and then each of those tokens is split based on the max token length set. Default is 255." + }, + "isSearchTokenizer": { + "type": "boolean", + "default": false, + "description": "A value indicating how the tokenizer is used. Set to true if used as the search tokenizer, set to false if used as the indexing tokenizer. Default is false." + }, + "language": { + "$ref": "#/definitions/MicrosoftStemmingTokenizerLanguage", + "description": "The language to use. The default is English." + } + }, + "description": "Divides text using language-specific rules and reduces words to their base forms." + }, + "NGramTokenizer": { + "type": "object", + "x-ms-discriminator-value": "#Microsoft.Azure.Search.NGramTokenizer", + "allOf": [ + { + "$ref": "#/definitions/LexicalTokenizer" + } + ], + "properties": { + "minGram": { + "type": "integer", + "format": "int32", + "default": 1, + "maximum": 300, + "description": "The minimum n-gram length. Default is 1. Maximum is 300. Must be less than the value of maxGram." + }, + "maxGram": { + "type": "integer", + "format": "int32", + "default": 2, + "maximum": 300, + "description": "The maximum n-gram length. Default is 2. Maximum is 300." + }, + "tokenChars": { + "type": "array", + "items": { + "$ref": "#/definitions/TokenCharacterKind", + "x-nullable": false + }, + "description": "Character classes to keep in the tokens." + } + }, + "description": "Tokenizes the input into n-grams of the given size(s). This tokenizer is implemented using Apache Lucene.", + "externalDocs": { + "url": "http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/ngram/NGramTokenizer.html" + } + }, + "PathHierarchyTokenizerV2": { + "type": "object", + "x-ms-discriminator-value": "#Microsoft.Azure.Search.PathHierarchyTokenizerV2", + "allOf": [ + { + "$ref": "#/definitions/LexicalTokenizer" + } + ], + "properties": { + "delimiter": { + "type": "string", + "format": "char", + "default": "/", + "description": "The delimiter character to use. Default is \"/\"." + }, + "replacement": { + "type": "string", + "format": "char", + "default": "/", + "description": "A value that, if set, replaces the delimiter character. Default is \"/\"." + }, + "maxTokenLength": { + "type": "integer", + "format": "int32", + "default": 300, + "maximum": 300, + "description": "The maximum token length. Default and maximum is 300." + }, + "reverse": { + "x-ms-client-name": "ReverseTokenOrder", + "type": "boolean", + "default": false, + "description": "A value indicating whether to generate tokens in reverse order. Default is false." + }, + "skip": { + "x-ms-client-name": "NumberOfTokensToSkip", + "type": "integer", + "format": "int32", + "default": 0, + "description": "The number of initial tokens to skip. Default is 0." + } + }, + "description": "Tokenizer for path-like hierarchies. This tokenizer is implemented using Apache Lucene.", + "externalDocs": { + "url": "http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/path/PathHierarchyTokenizer.html" + } + }, + "PatternTokenizer": { + "type": "object", + "x-ms-discriminator-value": "#Microsoft.Azure.Search.PatternTokenizer", + "allOf": [ + { + "$ref": "#/definitions/LexicalTokenizer" + } + ], + "properties": { + "pattern": { + "type": "string", + "default": "\\W+", + "description": "A regular expression pattern to match token separators. Default is an expression that matches one or more non-word characters." + }, + "flags": { + "$ref": "#/definitions/RegexFlags", + "description": "Regular expression flags." + }, + "group": { + "type": "integer", + "format": "int32", + "default": -1, + "description": "The zero-based ordinal of the matching group in the regular expression pattern to extract into tokens. Use -1 if you want to use the entire pattern to split the input into tokens, irrespective of matching groups. Default is -1." + } + }, + "description": "Tokenizer that uses regex pattern matching to construct distinct tokens. This tokenizer is implemented using Apache Lucene.", + "externalDocs": { + "url": "http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/pattern/PatternTokenizer.html" + } + }, + "LuceneStandardTokenizer": { + "type": "object", + "x-ms-discriminator-value": "#Microsoft.Azure.Search.StandardTokenizer", + "allOf": [ + { + "$ref": "#/definitions/LexicalTokenizer" + } + ], + "properties": { + "maxTokenLength": { + "type": "integer", + "format": "int32", + "default": 255, + "description": "The maximum token length. Default is 255. Tokens longer than the maximum length are split." + } + }, + "description": "Breaks text following the Unicode Text Segmentation rules. This tokenizer is implemented using Apache Lucene.", + "externalDocs": { + "url": "http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/standard/StandardTokenizer.html" + }, + "x-az-search-deprecated": true + }, + "LuceneStandardTokenizerV2": { + "type": "object", + "x-ms-discriminator-value": "#Microsoft.Azure.Search.StandardTokenizerV2", + "allOf": [ + { + "$ref": "#/definitions/LexicalTokenizer" + } + ], + "properties": { + "maxTokenLength": { + "type": "integer", + "format": "int32", + "default": 255, + "maximum": 300, + "description": "The maximum token length. Default is 255. Tokens longer than the maximum length are split. The maximum token length that can be used is 300 characters." + } + }, + "description": "Breaks text following the Unicode Text Segmentation rules. This tokenizer is implemented using Apache Lucene.", + "externalDocs": { + "url": "http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/standard/StandardTokenizer.html" + } + }, + "UaxUrlEmailTokenizer": { + "type": "object", + "x-ms-discriminator-value": "#Microsoft.Azure.Search.UaxUrlEmailTokenizer", + "allOf": [ + { + "$ref": "#/definitions/LexicalTokenizer" + } + ], + "properties": { + "maxTokenLength": { + "type": "integer", + "format": "int32", + "default": 255, + "maximum": 300, + "description": "The maximum token length. Default is 255. Tokens longer than the maximum length are split. The maximum token length that can be used is 300 characters." + } + }, + "description": "Tokenizes urls and emails as one token. This tokenizer is implemented using Apache Lucene.", + "externalDocs": { + "url": "http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/standard/UAX29URLEmailTokenizer.html" + } + }, + "TokenFilter": { + "type": "object", + "discriminator": "@odata.type", + "properties": { + "@odata.type": { + "type": "string", + "description": "A URI fragment specifying the type of token filter." + }, + "name": { + "type": "string", + "externalDocs": { + "url": "https://learn.microsoft.com/rest/api/searchservice/custom-analyzers-in-azure-search#index-attribute-reference" + }, + "description": "The name of the token filter. It must only contain letters, digits, spaces, dashes or underscores, can only start and end with alphanumeric characters, and is limited to 128 characters." + } + }, + "required": [ + "@odata.type", + "name" + ], + "description": "Base type for token filters.", + "externalDocs": { + "url": "https://learn.microsoft.com/rest/api/searchservice/Custom-analyzers-in-Azure-Search" + } + }, + "AsciiFoldingTokenFilter": { + "type": "object", + "x-ms-discriminator-value": "#Microsoft.Azure.Search.AsciiFoldingTokenFilter", + "allOf": [ + { + "$ref": "#/definitions/TokenFilter" + } + ], + "properties": { + "preserveOriginal": { + "type": "boolean", + "default": false, + "description": "A value indicating whether the original token will be kept. Default is false." + } + }, + "description": "Converts alphabetic, numeric, and symbolic Unicode characters which are not in the first 127 ASCII characters (the \"Basic Latin\" Unicode block) into their ASCII equivalents, if such equivalents exist. This token filter is implemented using Apache Lucene.", + "externalDocs": { + "url": "http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/miscellaneous/ASCIIFoldingFilter.html" + } + }, + "CjkBigramTokenFilterScripts": { + "type": "string", + "enum": [ + "han", + "hiragana", + "katakana", + "hangul" + ], + "x-ms-enum": { + "name": "CjkBigramTokenFilterScripts", + "modelAsString": false, + "values": [ + { + "value": "han", + "name": "Han", + "description": "Ignore Han script when forming bigrams of CJK terms." + }, + { + "value": "hiragana", + "name": "Hiragana", + "description": "Ignore Hiragana script when forming bigrams of CJK terms." + }, + { + "value": "katakana", + "name": "Katakana", + "description": "Ignore Katakana script when forming bigrams of CJK terms." + }, + { + "value": "hangul", + "name": "Hangul", + "description": "Ignore Hangul script when forming bigrams of CJK terms." + } + ] + }, + "description": "Scripts that can be ignored by CjkBigramTokenFilter." + }, + "CjkBigramTokenFilter": { + "type": "object", + "x-ms-discriminator-value": "#Microsoft.Azure.Search.CjkBigramTokenFilter", + "allOf": [ + { + "$ref": "#/definitions/TokenFilter" + } + ], + "properties": { + "ignoreScripts": { + "type": "array", + "items": { + "$ref": "#/definitions/CjkBigramTokenFilterScripts", + "x-nullable": false + }, + "description": "The scripts to ignore." + }, + "outputUnigrams": { + "type": "boolean", + "default": false, + "description": "A value indicating whether to output both unigrams and bigrams (if true), or just bigrams (if false). Default is false." + } + }, + "description": "Forms bigrams of CJK terms that are generated from the standard tokenizer. This token filter is implemented using Apache Lucene.", + "externalDocs": { + "url": "http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/cjk/CJKBigramFilter.html" + } + }, + "CommonGramTokenFilter": { + "type": "object", + "x-ms-discriminator-value": "#Microsoft.Azure.Search.CommonGramTokenFilter", + "allOf": [ + { + "$ref": "#/definitions/TokenFilter" + } + ], + "properties": { + "commonWords": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The set of common words." + }, + "ignoreCase": { + "type": "boolean", + "default": false, + "description": "A value indicating whether common words matching will be case insensitive. Default is false." + }, + "queryMode": { + "x-ms-client-name": "UseQueryMode", + "type": "boolean", + "default": false, + "description": "A value that indicates whether the token filter is in query mode. When in query mode, the token filter generates bigrams and then removes common words and single terms followed by a common word. Default is false." + } + }, + "required": [ + "commonWords" + ], + "description": "Construct bigrams for frequently occurring terms while indexing. Single terms are still indexed too, with bigrams overlaid. This token filter is implemented using Apache Lucene.", + "externalDocs": { + "url": "http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/commongrams/CommonGramsFilter.html" + } + }, + "DictionaryDecompounderTokenFilter": { + "type": "object", + "x-ms-discriminator-value": "#Microsoft.Azure.Search.DictionaryDecompounderTokenFilter", + "allOf": [ + { + "$ref": "#/definitions/TokenFilter" + } + ], + "properties": { + "wordList": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The list of words to match against." + }, + "minWordSize": { + "type": "integer", + "format": "int32", + "default": 5, + "maximum": 300, + "description": "The minimum word size. Only words longer than this get processed. Default is 5. Maximum is 300." + }, + "minSubwordSize": { + "type": "integer", + "format": "int32", + "default": 2, + "maximum": 300, + "description": "The minimum subword size. Only subwords longer than this are outputted. Default is 2. Maximum is 300." + }, + "maxSubwordSize": { + "type": "integer", + "format": "int32", + "default": 15, + "maximum": 300, + "description": "The maximum subword size. Only subwords shorter than this are outputted. Default is 15. Maximum is 300." + }, + "onlyLongestMatch": { + "type": "boolean", + "default": false, + "description": "A value indicating whether to add only the longest matching subword to the output. Default is false." + } + }, + "required": [ + "wordList" + ], + "description": "Decomposes compound words found in many Germanic languages. This token filter is implemented using Apache Lucene.", + "externalDocs": { + "url": "http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/compound/DictionaryCompoundWordTokenFilter.html" + } + }, + "EdgeNGramTokenFilterSide": { + "type": "string", + "enum": [ + "front", + "back" + ], + "x-ms-enum": { + "name": "EdgeNGramTokenFilterSide", + "modelAsString": false, + "values": [ + { + "value": "front", + "name": "Front", + "description": "Specifies that the n-gram should be generated from the front of the input." + }, + { + "value": "back", + "name": "Back", + "description": "Specifies that the n-gram should be generated from the back of the input." + } + ] + }, + "description": "Specifies which side of the input an n-gram should be generated from." + }, + "EdgeNGramTokenFilter": { + "type": "object", + "x-ms-discriminator-value": "#Microsoft.Azure.Search.EdgeNGramTokenFilter", + "allOf": [ + { + "$ref": "#/definitions/TokenFilter" + } + ], + "properties": { + "minGram": { + "type": "integer", + "format": "int32", + "default": 1, + "description": "The minimum n-gram length. Default is 1. Must be less than the value of maxGram." + }, + "maxGram": { + "type": "integer", + "format": "int32", + "default": 2, + "description": "The maximum n-gram length. Default is 2." + }, + "side": { + "$ref": "#/definitions/EdgeNGramTokenFilterSide", + "default": "front", + "description": "Specifies which side of the input the n-gram should be generated from. Default is \"front\"." + } + }, + "description": "Generates n-grams of the given size(s) starting from the front or the back of an input token. This token filter is implemented using Apache Lucene.", + "externalDocs": { + "url": "http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/ngram/EdgeNGramTokenFilter.html" + }, + "x-az-search-deprecated": true + }, + "EdgeNGramTokenFilterV2": { + "type": "object", + "x-ms-discriminator-value": "#Microsoft.Azure.Search.EdgeNGramTokenFilterV2", + "allOf": [ + { + "$ref": "#/definitions/TokenFilter" + } + ], + "properties": { + "minGram": { + "type": "integer", + "format": "int32", + "default": 1, + "maximum": 300, + "description": "The minimum n-gram length. Default is 1. Maximum is 300. Must be less than the value of maxGram." + }, + "maxGram": { + "type": "integer", + "format": "int32", + "default": 2, + "maximum": 300, + "description": "The maximum n-gram length. Default is 2. Maximum is 300." + }, + "side": { + "$ref": "#/definitions/EdgeNGramTokenFilterSide", + "default": "front", + "description": "Specifies which side of the input the n-gram should be generated from. Default is \"front\"." + } + }, + "description": "Generates n-grams of the given size(s) starting from the front or the back of an input token. This token filter is implemented using Apache Lucene.", + "externalDocs": { + "url": "http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/ngram/EdgeNGramTokenFilter.html" + } + }, + "ElisionTokenFilter": { + "type": "object", + "x-ms-discriminator-value": "#Microsoft.Azure.Search.ElisionTokenFilter", + "allOf": [ + { + "$ref": "#/definitions/TokenFilter" + } + ], + "properties": { + "articles": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The set of articles to remove." + } + }, + "description": "Removes elisions. For example, \"l'avion\" (the plane) will be converted to \"avion\" (plane). This token filter is implemented using Apache Lucene.", + "externalDocs": { + "url": "http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/util/ElisionFilter.html" + } + }, + "KeepTokenFilter": { + "type": "object", + "x-ms-discriminator-value": "#Microsoft.Azure.Search.KeepTokenFilter", + "allOf": [ + { + "$ref": "#/definitions/TokenFilter" + } + ], + "properties": { + "keepWords": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The list of words to keep." + }, + "keepWordsCase": { + "x-ms-client-name": "LowerCaseKeepWords", + "type": "boolean", + "default": false, + "description": "A value indicating whether to lower case all words first. Default is false." + } + }, + "required": [ + "keepWords" + ], + "description": "A token filter that only keeps tokens with text contained in a specified list of words. This token filter is implemented using Apache Lucene.", + "externalDocs": { + "url": "http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/miscellaneous/KeepWordFilter.html" + } + }, + "KeywordMarkerTokenFilter": { + "type": "object", + "x-ms-discriminator-value": "#Microsoft.Azure.Search.KeywordMarkerTokenFilter", + "allOf": [ + { + "$ref": "#/definitions/TokenFilter" + } + ], + "properties": { + "keywords": { + "type": "array", + "items": { + "type": "string" + }, + "description": "A list of words to mark as keywords." + }, + "ignoreCase": { + "type": "boolean", + "default": false, + "description": "A value indicating whether to ignore case. If true, all words are converted to lower case first. Default is false." + } + }, + "required": [ + "keywords" + ], + "description": "Marks terms as keywords. This token filter is implemented using Apache Lucene.", + "externalDocs": { + "url": "http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/miscellaneous/KeywordMarkerFilter.html" + } + }, + "LengthTokenFilter": { + "type": "object", + "x-ms-discriminator-value": "#Microsoft.Azure.Search.LengthTokenFilter", + "allOf": [ + { + "$ref": "#/definitions/TokenFilter" + } + ], + "properties": { + "min": { + "x-ms-client-name": "minLength", + "type": "integer", + "format": "int32", + "default": 0, + "maximum": 300, + "description": "The minimum length in characters. Default is 0. Maximum is 300. Must be less than the value of max." + }, + "max": { + "x-ms-client-name": "maxLength", + "type": "integer", + "format": "int32", + "default": 300, + "maximum": 300, + "description": "The maximum length in characters. Default and maximum is 300." + } + }, + "description": "Removes words that are too long or too short. This token filter is implemented using Apache Lucene.", + "externalDocs": { + "url": "http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/miscellaneous/LengthFilter.html" + } + }, + "LimitTokenFilter": { + "type": "object", + "x-ms-discriminator-value": "#Microsoft.Azure.Search.LimitTokenFilter", + "allOf": [ + { + "$ref": "#/definitions/TokenFilter" + } + ], + "properties": { + "maxTokenCount": { + "type": "integer", + "format": "int32", + "default": 1, + "description": "The maximum number of tokens to produce. Default is 1." + }, + "consumeAllTokens": { + "type": "boolean", + "default": false, + "description": "A value indicating whether all tokens from the input must be consumed even if maxTokenCount is reached. Default is false." + } + }, + "description": "Limits the number of tokens while indexing. This token filter is implemented using Apache Lucene.", + "externalDocs": { + "url": "http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/miscellaneous/LimitTokenCountFilter.html" + } + }, + "NGramTokenFilter": { + "type": "object", + "x-ms-discriminator-value": "#Microsoft.Azure.Search.NGramTokenFilter", + "allOf": [ + { + "$ref": "#/definitions/TokenFilter" + } + ], + "properties": { + "minGram": { + "type": "integer", + "format": "int32", + "default": 1, + "description": "The minimum n-gram length. Default is 1. Must be less than the value of maxGram." + }, + "maxGram": { + "type": "integer", + "format": "int32", + "default": 2, + "description": "The maximum n-gram length. Default is 2." + } + }, + "description": "Generates n-grams of the given size(s). This token filter is implemented using Apache Lucene.", + "externalDocs": { + "url": "http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/ngram/NGramTokenFilter.html" + }, + "x-az-search-deprecated": true + }, + "NGramTokenFilterV2": { + "type": "object", + "x-ms-discriminator-value": "#Microsoft.Azure.Search.NGramTokenFilterV2", + "allOf": [ + { + "$ref": "#/definitions/TokenFilter" + } + ], + "properties": { + "minGram": { + "type": "integer", + "format": "int32", + "default": 1, + "maximum": 300, + "description": "The minimum n-gram length. Default is 1. Maximum is 300. Must be less than the value of maxGram." + }, + "maxGram": { + "type": "integer", + "format": "int32", + "default": 2, + "maximum": 300, + "description": "The maximum n-gram length. Default is 2. Maximum is 300." + } + }, + "description": "Generates n-grams of the given size(s). This token filter is implemented using Apache Lucene.", + "externalDocs": { + "url": "http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/ngram/NGramTokenFilter.html" + } + }, + "PatternCaptureTokenFilter": { + "type": "object", + "x-ms-discriminator-value": "#Microsoft.Azure.Search.PatternCaptureTokenFilter", + "allOf": [ + { + "$ref": "#/definitions/TokenFilter" + } + ], + "properties": { + "patterns": { + "type": "array", + "items": { + "type": "string" + }, + "description": "A list of patterns to match against each token." + }, + "preserveOriginal": { + "type": "boolean", + "default": true, + "description": "A value indicating whether to return the original token even if one of the patterns matches. Default is true." + } + }, + "required": [ + "patterns" + ], + "description": "Uses Java regexes to emit multiple tokens - one for each capture group in one or more patterns. This token filter is implemented using Apache Lucene.", + "externalDocs": { + "url": "http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/pattern/PatternCaptureGroupTokenFilter.html" + } + }, + "PatternReplaceTokenFilter": { + "type": "object", + "x-ms-discriminator-value": "#Microsoft.Azure.Search.PatternReplaceTokenFilter", + "allOf": [ + { + "$ref": "#/definitions/TokenFilter" + } + ], + "properties": { + "pattern": { + "type": "string", + "description": "A regular expression pattern." + }, + "replacement": { + "type": "string", + "description": "The replacement text." + } + }, + "required": [ + "pattern", + "replacement" + ], + "description": "A character filter that replaces characters in the input string. It uses a regular expression to identify character sequences to preserve and a replacement pattern to identify characters to replace. For example, given the input text \"aa bb aa bb\", pattern \"(aa)\\s+(bb)\", and replacement \"$1#$2\", the result would be \"aa#bb aa#bb\". This token filter is implemented using Apache Lucene.", + "externalDocs": { + "url": "http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/pattern/PatternReplaceFilter.html" + } + }, + "PhoneticEncoder": { + "type": "string", + "enum": [ + "metaphone", + "doubleMetaphone", + "soundex", + "refinedSoundex", + "caverphone1", + "caverphone2", + "cologne", + "nysiis", + "koelnerPhonetik", + "haasePhonetik", + "beiderMorse" + ], + "x-ms-enum": { + "name": "PhoneticEncoder", + "modelAsString": false, + "values": [ + { + "value": "metaphone", + "name": "Metaphone", + "description": "Encodes a token into a Metaphone value." + }, + { + "value": "doubleMetaphone", + "name": "DoubleMetaphone", + "description": "Encodes a token into a double metaphone value." + }, + { + "value": "soundex", + "name": "Soundex", + "description": "Encodes a token into a Soundex value." + }, + { + "value": "refinedSoundex", + "name": "RefinedSoundex", + "description": "Encodes a token into a Refined Soundex value." + }, + { + "value": "caverphone1", + "name": "Caverphone1", + "description": "Encodes a token into a Caverphone 1.0 value." + }, + { + "value": "caverphone2", + "name": "Caverphone2", + "description": "Encodes a token into a Caverphone 2.0 value." + }, + { + "value": "cologne", + "name": "Cologne", + "description": "Encodes a token into a Cologne Phonetic value." + }, + { + "value": "nysiis", + "name": "Nysiis", + "description": "Encodes a token into a NYSIIS value." + }, + { + "value": "koelnerPhonetik", + "name": "KoelnerPhonetik", + "description": "Encodes a token using the Kölner Phonetik algorithm." + }, + { + "value": "haasePhonetik", + "name": "HaasePhonetik", + "description": "Encodes a token using the Haase refinement of the Kölner Phonetik algorithm." + }, + { + "value": "beiderMorse", + "name": "BeiderMorse", + "description": "Encodes a token into a Beider-Morse value." + } + ] + }, + "description": "Identifies the type of phonetic encoder to use with a PhoneticTokenFilter." + }, + "PhoneticTokenFilter": { + "type": "object", + "x-ms-discriminator-value": "#Microsoft.Azure.Search.PhoneticTokenFilter", + "allOf": [ + { + "$ref": "#/definitions/TokenFilter" + } + ], + "properties": { + "encoder": { + "$ref": "#/definitions/PhoneticEncoder", + "default": "metaphone", + "description": "The phonetic encoder to use. Default is \"metaphone\"." + }, + "replace": { + "x-ms-client-name": "ReplaceOriginalTokens", + "type": "boolean", + "default": true, + "description": "A value indicating whether encoded tokens should replace original tokens. If false, encoded tokens are added as synonyms. Default is true." + } + }, + "description": "Create tokens for phonetic matches. This token filter is implemented using Apache Lucene.", + "externalDocs": { + "url": "https://lucene.apache.org/core/4_10_3/analyzers-phonetic/org/apache/lucene/analysis/phonetic/package-tree.html" + } + }, + "ShingleTokenFilter": { + "type": "object", + "x-ms-discriminator-value": "#Microsoft.Azure.Search.ShingleTokenFilter", + "allOf": [ + { + "$ref": "#/definitions/TokenFilter" + } + ], + "properties": { + "maxShingleSize": { + "type": "integer", + "format": "int32", + "default": 2, + "minimum": 2, + "description": "The maximum shingle size. Default and minimum value is 2." + }, + "minShingleSize": { + "type": "integer", + "format": "int32", + "default": 2, + "minimum": 2, + "description": "The minimum shingle size. Default and minimum value is 2. Must be less than the value of maxShingleSize." + }, + "outputUnigrams": { + "type": "boolean", + "default": true, + "description": "A value indicating whether the output stream will contain the input tokens (unigrams) as well as shingles. Default is true." + }, + "outputUnigramsIfNoShingles": { + "type": "boolean", + "default": false, + "description": "A value indicating whether to output unigrams for those times when no shingles are available. This property takes precedence when outputUnigrams is set to false. Default is false." + }, + "tokenSeparator": { + "type": "string", + "default": " ", + "description": "The string to use when joining adjacent tokens to form a shingle. Default is a single space (\" \")." + }, + "filterToken": { + "type": "string", + "default": "_", + "description": "The string to insert for each position at which there is no token. Default is an underscore (\"_\")." + } + }, + "description": "Creates combinations of tokens as a single token. This token filter is implemented using Apache Lucene.", + "externalDocs": { + "url": "http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/shingle/ShingleFilter.html" + } + }, + "SnowballTokenFilterLanguage": { + "type": "string", + "enum": [ + "armenian", + "basque", + "catalan", + "danish", + "dutch", + "english", + "finnish", + "french", + "german", + "german2", + "hungarian", + "italian", + "kp", + "lovins", + "norwegian", + "porter", + "portuguese", + "romanian", + "russian", + "spanish", + "swedish", + "turkish" + ], + "x-ms-enum": { + "name": "SnowballTokenFilterLanguage", + "modelAsString": false, + "values": [ + { + "value": "armenian", + "name": "Armenian", + "description": "Selects the Lucene Snowball stemming tokenizer for Armenian." + }, + { + "value": "basque", + "name": "Basque", + "description": "Selects the Lucene Snowball stemming tokenizer for Basque." + }, + { + "value": "catalan", + "name": "Catalan", + "description": "Selects the Lucene Snowball stemming tokenizer for Catalan." + }, + { + "value": "danish", + "name": "Danish", + "description": "Selects the Lucene Snowball stemming tokenizer for Danish." + }, + { + "value": "dutch", + "name": "Dutch", + "description": "Selects the Lucene Snowball stemming tokenizer for Dutch." + }, + { + "value": "english", + "name": "English", + "description": "Selects the Lucene Snowball stemming tokenizer for English." + }, + { + "value": "finnish", + "name": "Finnish", + "description": "Selects the Lucene Snowball stemming tokenizer for Finnish." + }, + { + "value": "french", + "name": "French", + "description": "Selects the Lucene Snowball stemming tokenizer for French." + }, + { + "value": "german", + "name": "German", + "description": "Selects the Lucene Snowball stemming tokenizer for German." + }, + { + "value": "german2", + "name": "German2", + "description": "Selects the Lucene Snowball stemming tokenizer that uses the German variant algorithm." + }, + { + "value": "hungarian", + "name": "Hungarian", + "description": "Selects the Lucene Snowball stemming tokenizer for Hungarian." + }, + { + "value": "italian", + "name": "Italian", + "description": "Selects the Lucene Snowball stemming tokenizer for Italian." + }, + { + "value": "kp", + "name": "Kp", + "description": "Selects the Lucene Snowball stemming tokenizer for Dutch that uses the Kraaij-Pohlmann stemming algorithm." + }, + { + "value": "lovins", + "name": "Lovins", + "description": "Selects the Lucene Snowball stemming tokenizer for English that uses the Lovins stemming algorithm." + }, + { + "value": "norwegian", + "name": "Norwegian", + "description": "Selects the Lucene Snowball stemming tokenizer for Norwegian." + }, + { + "value": "porter", + "name": "Porter", + "description": "Selects the Lucene Snowball stemming tokenizer for English that uses the Porter stemming algorithm." + }, + { + "value": "portuguese", + "name": "Portuguese", + "description": "Selects the Lucene Snowball stemming tokenizer for Portuguese." + }, + { + "value": "romanian", + "name": "Romanian", + "description": "Selects the Lucene Snowball stemming tokenizer for Romanian." + }, + { + "value": "russian", + "name": "Russian", + "description": "Selects the Lucene Snowball stemming tokenizer for Russian." + }, + { + "value": "spanish", + "name": "Spanish", + "description": "Selects the Lucene Snowball stemming tokenizer for Spanish." + }, + { + "value": "swedish", + "name": "Swedish", + "description": "Selects the Lucene Snowball stemming tokenizer for Swedish." + }, + { + "value": "turkish", + "name": "Turkish", + "description": "Selects the Lucene Snowball stemming tokenizer for Turkish." + } + ] + }, + "description": "The language to use for a Snowball token filter." + }, + "SnowballTokenFilter": { + "type": "object", + "x-ms-discriminator-value": "#Microsoft.Azure.Search.SnowballTokenFilter", + "allOf": [ + { + "$ref": "#/definitions/TokenFilter" + } + ], + "properties": { + "language": { + "$ref": "#/definitions/SnowballTokenFilterLanguage", + "description": "The language to use." + } + }, + "required": [ + "language" + ], + "description": "A filter that stems words using a Snowball-generated stemmer. This token filter is implemented using Apache Lucene.", + "externalDocs": { + "url": "http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/snowball/SnowballFilter.html" + } + }, + "StemmerTokenFilterLanguage": { + "type": "string", + "enum": [ + "arabic", + "armenian", + "basque", + "brazilian", + "bulgarian", + "catalan", + "czech", + "danish", + "dutch", + "dutchKp", + "english", + "lightEnglish", + "minimalEnglish", + "possessiveEnglish", + "porter2", + "lovins", + "finnish", + "lightFinnish", + "french", + "lightFrench", + "minimalFrench", + "galician", + "minimalGalician", + "german", + "german2", + "lightGerman", + "minimalGerman", + "greek", + "hindi", + "hungarian", + "lightHungarian", + "indonesian", + "irish", + "italian", + "lightItalian", + "sorani", + "latvian", + "norwegian", + "lightNorwegian", + "minimalNorwegian", + "lightNynorsk", + "minimalNynorsk", + "portuguese", + "lightPortuguese", + "minimalPortuguese", + "portugueseRslp", + "romanian", + "russian", + "lightRussian", + "spanish", + "lightSpanish", + "swedish", + "lightSwedish", + "turkish" + ], + "x-ms-enum": { + "name": "StemmerTokenFilterLanguage", + "modelAsString": false, + "values": [ + { + "value": "arabic", + "name": "Arabic", + "description": "Selects the Lucene stemming tokenizer for Arabic." + }, + { + "value": "armenian", + "name": "Armenian", + "description": "Selects the Lucene stemming tokenizer for Armenian." + }, + { + "value": "basque", + "name": "Basque", + "description": "Selects the Lucene stemming tokenizer for Basque." + }, + { + "value": "brazilian", + "name": "Brazilian", + "description": "Selects the Lucene stemming tokenizer for Portuguese (Brazil)." + }, + { + "value": "bulgarian", + "name": "Bulgarian", + "description": "Selects the Lucene stemming tokenizer for Bulgarian." + }, + { + "value": "catalan", + "name": "Catalan", + "description": "Selects the Lucene stemming tokenizer for Catalan." + }, + { + "value": "czech", + "name": "Czech", + "description": "Selects the Lucene stemming tokenizer for Czech." + }, + { + "value": "danish", + "name": "Danish", + "description": "Selects the Lucene stemming tokenizer for Danish." + }, + { + "value": "dutch", + "name": "Dutch", + "description": "Selects the Lucene stemming tokenizer for Dutch." + }, + { + "value": "dutchKp", + "name": "DutchKp", + "description": "Selects the Lucene stemming tokenizer for Dutch that uses the Kraaij-Pohlmann stemming algorithm." + }, + { + "value": "english", + "name": "English", + "description": "Selects the Lucene stemming tokenizer for English." + }, + { + "value": "lightEnglish", + "name": "LightEnglish", + "description": "Selects the Lucene stemming tokenizer for English that does light stemming." + }, + { + "value": "minimalEnglish", + "name": "MinimalEnglish", + "description": "Selects the Lucene stemming tokenizer for English that does minimal stemming." + }, + { + "value": "possessiveEnglish", + "name": "PossessiveEnglish", + "description": "Selects the Lucene stemming tokenizer for English that removes trailing possessives from words." + }, + { + "value": "porter2", + "name": "Porter2", + "description": "Selects the Lucene stemming tokenizer for English that uses the Porter2 stemming algorithm." + }, + { + "value": "lovins", + "name": "Lovins", + "description": "Selects the Lucene stemming tokenizer for English that uses the Lovins stemming algorithm." + }, + { + "value": "finnish", + "name": "Finnish", + "description": "Selects the Lucene stemming tokenizer for Finnish." + }, + { + "value": "lightFinnish", + "name": "LightFinnish", + "description": "Selects the Lucene stemming tokenizer for Finnish that does light stemming." + }, + { + "value": "french", + "name": "French", + "description": "Selects the Lucene stemming tokenizer for French." + }, + { + "value": "lightFrench", + "name": "LightFrench", + "description": "Selects the Lucene stemming tokenizer for French that does light stemming." + }, + { + "value": "minimalFrench", + "name": "MinimalFrench", + "description": "Selects the Lucene stemming tokenizer for French that does minimal stemming." + }, + { + "value": "galician", + "name": "Galician", + "description": "Selects the Lucene stemming tokenizer for Galician." + }, + { + "value": "minimalGalician", + "name": "MinimalGalician", + "description": "Selects the Lucene stemming tokenizer for Galician that does minimal stemming." + }, + { + "value": "german", + "name": "German", + "description": "Selects the Lucene stemming tokenizer for German." + }, + { + "value": "german2", + "name": "German2", + "description": "Selects the Lucene stemming tokenizer that uses the German variant algorithm." + }, + { + "value": "lightGerman", + "name": "LightGerman", + "description": "Selects the Lucene stemming tokenizer for German that does light stemming." + }, + { + "value": "minimalGerman", + "name": "MinimalGerman", + "description": "Selects the Lucene stemming tokenizer for German that does minimal stemming." + }, + { + "value": "greek", + "name": "Greek", + "description": "Selects the Lucene stemming tokenizer for Greek." + }, + { + "value": "hindi", + "name": "Hindi", + "description": "Selects the Lucene stemming tokenizer for Hindi." + }, + { + "value": "hungarian", + "name": "Hungarian", + "description": "Selects the Lucene stemming tokenizer for Hungarian." + }, + { + "value": "lightHungarian", + "name": "LightHungarian", + "description": "Selects the Lucene stemming tokenizer for Hungarian that does light stemming." + }, + { + "value": "indonesian", + "name": "Indonesian", + "description": "Selects the Lucene stemming tokenizer for Indonesian." + }, + { + "value": "irish", + "name": "Irish", + "description": "Selects the Lucene stemming tokenizer for Irish." + }, + { + "value": "italian", + "name": "Italian", + "description": "Selects the Lucene stemming tokenizer for Italian." + }, + { + "value": "lightItalian", + "name": "LightItalian", + "description": "Selects the Lucene stemming tokenizer for Italian that does light stemming." + }, + { + "value": "sorani", + "name": "Sorani", + "description": "Selects the Lucene stemming tokenizer for Sorani." + }, + { + "value": "latvian", + "name": "Latvian", + "description": "Selects the Lucene stemming tokenizer for Latvian." + }, + { + "value": "norwegian", + "name": "Norwegian", + "description": "Selects the Lucene stemming tokenizer for Norwegian (Bokmål)." + }, + { + "value": "lightNorwegian", + "name": "LightNorwegian", + "description": "Selects the Lucene stemming tokenizer for Norwegian (Bokmål) that does light stemming." + }, + { + "value": "minimalNorwegian", + "name": "MinimalNorwegian", + "description": "Selects the Lucene stemming tokenizer for Norwegian (Bokmål) that does minimal stemming." + }, + { + "value": "lightNynorsk", + "name": "LightNynorsk", + "description": "Selects the Lucene stemming tokenizer for Norwegian (Nynorsk) that does light stemming." + }, + { + "value": "minimalNynorsk", + "name": "MinimalNynorsk", + "description": "Selects the Lucene stemming tokenizer for Norwegian (Nynorsk) that does minimal stemming." + }, + { + "value": "portuguese", + "name": "Portuguese", + "description": "Selects the Lucene stemming tokenizer for Portuguese." + }, + { + "value": "lightPortuguese", + "name": "LightPortuguese", + "description": "Selects the Lucene stemming tokenizer for Portuguese that does light stemming." + }, + { + "value": "minimalPortuguese", + "name": "MinimalPortuguese", + "description": "Selects the Lucene stemming tokenizer for Portuguese that does minimal stemming." + }, + { + "value": "portugueseRslp", + "name": "PortugueseRslp", + "description": "Selects the Lucene stemming tokenizer for Portuguese that uses the RSLP stemming algorithm." + }, + { + "value": "romanian", + "name": "Romanian", + "description": "Selects the Lucene stemming tokenizer for Romanian." + }, + { + "value": "russian", + "name": "Russian", + "description": "Selects the Lucene stemming tokenizer for Russian." + }, + { + "value": "lightRussian", + "name": "LightRussian", + "description": "Selects the Lucene stemming tokenizer for Russian that does light stemming." + }, + { + "value": "spanish", + "name": "Spanish", + "description": "Selects the Lucene stemming tokenizer for Spanish." + }, + { + "value": "lightSpanish", + "name": "LightSpanish", + "description": "Selects the Lucene stemming tokenizer for Spanish that does light stemming." + }, + { + "value": "swedish", + "name": "Swedish", + "description": "Selects the Lucene stemming tokenizer for Swedish." + }, + { + "value": "lightSwedish", + "name": "LightSwedish", + "description": "Selects the Lucene stemming tokenizer for Swedish that does light stemming." + }, + { + "value": "turkish", + "name": "Turkish", + "description": "Selects the Lucene stemming tokenizer for Turkish." + } + ] + }, + "description": "The language to use for a stemmer token filter." + }, + "StemmerTokenFilter": { + "type": "object", + "x-ms-discriminator-value": "#Microsoft.Azure.Search.StemmerTokenFilter", + "allOf": [ + { + "$ref": "#/definitions/TokenFilter" + } + ], + "properties": { + "language": { + "$ref": "#/definitions/StemmerTokenFilterLanguage", + "description": "The language to use." + } + }, + "required": [ + "language" + ], + "description": "Language specific stemming filter. This token filter is implemented using Apache Lucene.", + "externalDocs": { + "url": "https://learn.microsoft.com/rest/api/searchservice/Custom-analyzers-in-Azure-Search#TokenFilters" + } + }, + "StemmerOverrideTokenFilter": { + "type": "object", + "x-ms-discriminator-value": "#Microsoft.Azure.Search.StemmerOverrideTokenFilter", + "allOf": [ + { + "$ref": "#/definitions/TokenFilter" + } + ], + "properties": { + "rules": { + "type": "array", + "items": { + "type": "string" + }, + "description": "A list of stemming rules in the following format: \"word => stem\", for example: \"ran => run\"." + } + }, + "required": [ + "rules" + ], + "description": "Provides the ability to override other stemming filters with custom dictionary-based stemming. Any dictionary-stemmed terms will be marked as keywords so that they will not be stemmed with stemmers down the chain. Must be placed before any stemming filters. This token filter is implemented using Apache Lucene.", + "externalDocs": { + "url": "http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/miscellaneous/StemmerOverrideFilter.html" + } + }, + "StopwordsList": { + "type": "string", + "enum": [ + "arabic", + "armenian", + "basque", + "brazilian", + "bulgarian", + "catalan", + "czech", + "danish", + "dutch", + "english", + "finnish", + "french", + "galician", + "german", + "greek", + "hindi", + "hungarian", + "indonesian", + "irish", + "italian", + "latvian", + "norwegian", + "persian", + "portuguese", + "romanian", + "russian", + "sorani", + "spanish", + "swedish", + "thai", + "turkish" + ], + "x-ms-enum": { + "name": "StopwordsList", + "modelAsString": false, + "values": [ + { + "value": "arabic", + "name": "Arabic", + "description": "Selects the stopword list for Arabic." + }, + { + "value": "armenian", + "name": "Armenian", + "description": "Selects the stopword list for Armenian." + }, + { + "value": "basque", + "name": "Basque", + "description": "Selects the stopword list for Basque." + }, + { + "value": "brazilian", + "name": "Brazilian", + "description": "Selects the stopword list for Portuguese (Brazil)." + }, + { + "value": "bulgarian", + "name": "Bulgarian", + "description": "Selects the stopword list for Bulgarian." + }, + { + "value": "catalan", + "name": "Catalan", + "description": "Selects the stopword list for Catalan." + }, + { + "value": "czech", + "name": "Czech", + "description": "Selects the stopword list for Czech." + }, + { + "value": "danish", + "name": "Danish", + "description": "Selects the stopword list for Danish." + }, + { + "value": "dutch", + "name": "Dutch", + "description": "Selects the stopword list for Dutch." + }, + { + "value": "english", + "name": "English", + "description": "Selects the stopword list for English." + }, + { + "value": "finnish", + "name": "Finnish", + "description": "Selects the stopword list for Finnish." + }, + { + "value": "french", + "name": "French", + "description": "Selects the stopword list for French." + }, + { + "value": "galician", + "name": "Galician", + "description": "Selects the stopword list for Galician." + }, + { + "value": "german", + "name": "German", + "description": "Selects the stopword list for German." + }, + { + "value": "greek", + "name": "Greek", + "description": "Selects the stopword list for Greek." + }, + { + "value": "hindi", + "name": "Hindi", + "description": "Selects the stopword list for Hindi." + }, + { + "value": "hungarian", + "name": "Hungarian", + "description": "Selects the stopword list for Hungarian." + }, + { + "value": "indonesian", + "name": "Indonesian", + "description": "Selects the stopword list for Indonesian." + }, + { + "value": "irish", + "name": "Irish", + "description": "Selects the stopword list for Irish." + }, + { + "value": "italian", + "name": "Italian", + "description": "Selects the stopword list for Italian." + }, + { + "value": "latvian", + "name": "Latvian", + "description": "Selects the stopword list for Latvian." + }, + { + "value": "norwegian", + "name": "Norwegian", + "description": "Selects the stopword list for Norwegian." + }, + { + "value": "persian", + "name": "Persian", + "description": "Selects the stopword list for Persian." + }, + { + "value": "portuguese", + "name": "Portuguese", + "description": "Selects the stopword list for Portuguese." + }, + { + "value": "romanian", + "name": "Romanian", + "description": "Selects the stopword list for Romanian." + }, + { + "value": "russian", + "name": "Russian", + "description": "Selects the stopword list for Russian." + }, + { + "value": "sorani", + "name": "Sorani", + "description": "Selects the stopword list for Sorani." + }, + { + "value": "spanish", + "name": "Spanish", + "description": "Selects the stopword list for Spanish." + }, + { + "value": "swedish", + "name": "Swedish", + "description": "Selects the stopword list for Swedish." + }, + { + "value": "thai", + "name": "Thai", + "description": "Selects the stopword list for Thai." + }, + { + "value": "turkish", + "name": "Turkish", + "description": "Selects the stopword list for Turkish." + } + ] + }, + "description": "Identifies a predefined list of language-specific stopwords." + }, + "StopwordsTokenFilter": { + "type": "object", + "x-ms-discriminator-value": "#Microsoft.Azure.Search.StopwordsTokenFilter", + "allOf": [ + { + "$ref": "#/definitions/TokenFilter" + } + ], + "properties": { + "stopwords": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The list of stopwords. This property and the stopwords list property cannot both be set." + }, + "stopwordsList": { + "$ref": "#/definitions/StopwordsList", + "default": "english", + "description": "A predefined list of stopwords to use. This property and the stopwords property cannot both be set. Default is English." + }, + "ignoreCase": { + "type": "boolean", + "default": false, + "description": "A value indicating whether to ignore case. If true, all words are converted to lower case first. Default is false." + }, + "removeTrailing": { + "x-ms-client-name": "RemoveTrailingStopWords", + "type": "boolean", + "default": true, + "description": "A value indicating whether to ignore the last search term if it's a stop word. Default is true." + } + }, + "description": "Removes stop words from a token stream. This token filter is implemented using Apache Lucene.", + "externalDocs": { + "url": "http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/core/StopFilter.html" + } + }, + "SynonymTokenFilter": { + "type": "object", + "x-ms-discriminator-value": "#Microsoft.Azure.Search.SynonymTokenFilter", + "allOf": [ + { + "$ref": "#/definitions/TokenFilter" + } + ], + "properties": { + "synonyms": { + "type": "array", + "items": { + "type": "string" + }, + "description": "A list of synonyms in following one of two formats: 1. incredible, unbelievable, fabulous => amazing - all terms on the left side of => symbol will be replaced with all terms on its right side; 2. incredible, unbelievable, fabulous, amazing - comma separated list of equivalent words. Set the expand option to change how this list is interpreted." + }, + "ignoreCase": { + "type": "boolean", + "default": false, + "description": "A value indicating whether to case-fold input for matching. Default is false." + }, + "expand": { + "type": "boolean", + "default": true, + "description": "A value indicating whether all words in the list of synonyms (if => notation is not used) will map to one another. If true, all words in the list of synonyms (if => notation is not used) will map to one another. The following list: incredible, unbelievable, fabulous, amazing is equivalent to: incredible, unbelievable, fabulous, amazing => incredible, unbelievable, fabulous, amazing. If false, the following list: incredible, unbelievable, fabulous, amazing will be equivalent to: incredible, unbelievable, fabulous, amazing => incredible. Default is true." + } + }, + "required": [ + "synonyms" + ], + "description": "Matches single or multi-word synonyms in a token stream. This token filter is implemented using Apache Lucene.", + "externalDocs": { + "url": "http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/synonym/SynonymFilter.html" + } + }, + "TruncateTokenFilter": { + "type": "object", + "x-ms-discriminator-value": "#Microsoft.Azure.Search.TruncateTokenFilter", + "allOf": [ + { + "$ref": "#/definitions/TokenFilter" + } + ], + "properties": { + "length": { + "type": "integer", + "format": "int32", + "default": 300, + "maximum": 300, + "description": "The length at which terms will be truncated. Default and maximum is 300." + } + }, + "description": "Truncates the terms to a specific length. This token filter is implemented using Apache Lucene.", + "externalDocs": { + "url": "http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/miscellaneous/TruncateTokenFilter.html" + } + }, + "UniqueTokenFilter": { + "type": "object", + "x-ms-discriminator-value": "#Microsoft.Azure.Search.UniqueTokenFilter", + "allOf": [ + { + "$ref": "#/definitions/TokenFilter" + } + ], + "properties": { + "onlyOnSamePosition": { + "type": "boolean", + "default": false, + "description": "A value indicating whether to remove duplicates only at the same position. Default is false." + } + }, + "description": "Filters out tokens with same text as the previous token. This token filter is implemented using Apache Lucene.", + "externalDocs": { + "url": "http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/miscellaneous/RemoveDuplicatesTokenFilter.html" + } + }, + "WordDelimiterTokenFilter": { + "type": "object", + "x-ms-discriminator-value": "#Microsoft.Azure.Search.WordDelimiterTokenFilter", + "allOf": [ + { + "$ref": "#/definitions/TokenFilter" + } + ], + "properties": { + "generateWordParts": { + "type": "boolean", + "default": true, + "description": "A value indicating whether to generate part words. If set, causes parts of words to be generated; for example \"AzureSearch\" becomes \"Azure\" \"Search\". Default is true." + }, + "generateNumberParts": { + "type": "boolean", + "default": true, + "description": "A value indicating whether to generate number subwords. Default is true." + }, + "catenateWords": { + "type": "boolean", + "default": false, + "description": "A value indicating whether maximum runs of word parts will be catenated. For example, if this is set to true, \"Azure-Search\" becomes \"AzureSearch\". Default is false." + }, + "catenateNumbers": { + "type": "boolean", + "default": false, + "description": "A value indicating whether maximum runs of number parts will be catenated. For example, if this is set to true, \"1-2\" becomes \"12\". Default is false." + }, + "catenateAll": { + "type": "boolean", + "default": false, + "description": "A value indicating whether all subword parts will be catenated. For example, if this is set to true, \"Azure-Search-1\" becomes \"AzureSearch1\". Default is false." + }, + "splitOnCaseChange": { + "type": "boolean", + "default": true, + "description": "A value indicating whether to split words on caseChange. For example, if this is set to true, \"AzureSearch\" becomes \"Azure\" \"Search\". Default is true." + }, + "preserveOriginal": { + "type": "boolean", + "default": false, + "description": "A value indicating whether original words will be preserved and added to the subword list. Default is false." + }, + "splitOnNumerics": { + "type": "boolean", + "default": true, + "description": "A value indicating whether to split on numbers. For example, if this is set to true, \"Azure1Search\" becomes \"Azure\" \"1\" \"Search\". Default is true." + }, + "stemEnglishPossessive": { + "type": "boolean", + "default": true, + "description": "A value indicating whether to remove trailing \"'s\" for each subword. Default is true." + }, + "protectedWords": { + "type": "array", + "items": { + "type": "string" + }, + "description": "A list of tokens to protect from being delimited." + } + }, + "description": "Splits words into subwords and performs optional transformations on subword groups. This token filter is implemented using Apache Lucene.", + "externalDocs": { + "url": "http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/miscellaneous/WordDelimiterFilter.html" + } + }, + "CharFilter": { + "type": "object", + "discriminator": "@odata.type", + "properties": { + "@odata.type": { + "type": "string", + "description": "A URI fragment specifying the type of char filter." + }, + "name": { + "type": "string", + "externalDocs": { + "url": "https://learn.microsoft.com/rest/api/searchservice/custom-analyzers-in-azure-search#index-attribute-reference" + }, + "description": "The name of the char filter. It must only contain letters, digits, spaces, dashes or underscores, can only start and end with alphanumeric characters, and is limited to 128 characters." + } + }, + "required": [ + "@odata.type", + "name" + ], + "description": "Base type for character filters.", + "externalDocs": { + "url": "https://learn.microsoft.com/rest/api/searchservice/Custom-analyzers-in-Azure-Search" + } + }, + "MappingCharFilter": { + "type": "object", + "x-ms-discriminator-value": "#Microsoft.Azure.Search.MappingCharFilter", + "allOf": [ + { + "$ref": "#/definitions/CharFilter" + } + ], + "properties": { + "mappings": { + "type": "array", + "items": { + "type": "string" + }, + "description": "A list of mappings of the following format: \"a=>b\" (all occurrences of the character \"a\" will be replaced with character \"b\")." + } + }, + "required": [ + "mappings" + ], + "description": "A character filter that applies mappings defined with the mappings option. Matching is greedy (longest pattern matching at a given point wins). Replacement is allowed to be the empty string. This character filter is implemented using Apache Lucene.", + "externalDocs": { + "url": "https://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/charfilter/MappingCharFilter.html" + } + }, + "PatternReplaceCharFilter": { + "type": "object", + "x-ms-discriminator-value": "#Microsoft.Azure.Search.PatternReplaceCharFilter", + "allOf": [ + { + "$ref": "#/definitions/CharFilter" + } + ], + "properties": { + "pattern": { + "type": "string", + "description": "A regular expression pattern." + }, + "replacement": { + "type": "string", + "description": "The replacement text." + } + }, + "required": [ + "pattern", + "replacement" + ], + "description": "A character filter that replaces characters in the input string. It uses a regular expression to identify character sequences to preserve and a replacement pattern to identify characters to replace. For example, given the input text \"aa bb aa bb\", pattern \"(aa)\\s+(bb)\", and replacement \"$1#$2\", the result would be \"aa#bb aa#bb\". This character filter is implemented using Apache Lucene.", + "externalDocs": { + "url": "https://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/pattern/PatternReplaceCharFilter.html" + } + }, + "Similarity": { + "type": "object", + "discriminator": "@odata.type", + "properties": { + "@odata.type": { + "type": "string" + } + }, + "required": [ + "@odata.type" + ], + "description": "Base type for similarity algorithms. Similarity algorithms are used to calculate scores that tie queries to documents. The higher the score, the more relevant the document is to that specific query. Those scores are used to rank the search results.", + "externalDocs": { + "url": "https://learn.microsoft.com/azure/search/index-ranking-similarity" + } + }, + "ClassicSimilarity": { + "type": "object", + "x-ms-discriminator-value": "#Microsoft.Azure.Search.ClassicSimilarity", + "allOf": [ + { + "$ref": "#/definitions/Similarity" + } + ], + "description": "Legacy similarity algorithm which uses the Lucene TFIDFSimilarity implementation of TF-IDF. This variation of TF-IDF introduces static document length normalization as well as coordinating factors that penalize documents that only partially match the searched queries." + }, + "BM25Similarity": { + "type": "object", + "x-ms-discriminator-value": "#Microsoft.Azure.Search.BM25Similarity", + "allOf": [ + { + "$ref": "#/definitions/Similarity" + } + ], + "properties": { + "k1": { + "type": "number", + "format": "double", + "description": "This property controls the scaling function between the term frequency of each matching terms and the final relevance score of a document-query pair. By default, a value of 1.2 is used. A value of 0.0 means the score does not scale with an increase in term frequency.", + "x-nullable": true + }, + "b": { + "type": "number", + "format": "double", + "description": "This property controls how the length of a document affects the relevance score. By default, a value of 0.75 is used. A value of 0.0 means no length normalization is applied, while a value of 1.0 means the score is fully normalized by the length of the document.", + "x-nullable": true + } + }, + "description": "Ranking function based on the Okapi BM25 similarity algorithm. BM25 is a TF-IDF-like algorithm that includes length normalization (controlled by the 'b' parameter) as well as term frequency saturation (controlled by the 'k1' parameter)." + }, + "VectorSearch": { + "type": "object", + "properties": { + "profiles": { + "type": "array", + "items": { + "$ref": "#/definitions/VectorSearchProfile" + }, + "description": "Defines combinations of configurations to use with vector search." + }, + "algorithms": { + "type": "array", + "items": { + "$ref": "#/definitions/VectorSearchAlgorithmConfiguration" + }, + "description": "Contains configuration options specific to the algorithm used during indexing or querying." + }, + "vectorizers": { + "type": "array", + "items": { + "$ref": "#/definitions/VectorSearchVectorizer" + }, + "description": "Contains configuration options on how to vectorize text vector queries." + }, + "compressions": { + "type": "array", + "items": { + "$ref": "#/definitions/VectorSearchCompressionConfiguration" + }, + "description": "Contains configuration options specific to the compression method used during indexing or querying." + } + }, + "description": "Contains configuration options related to vector search." + }, + "VectorSearchProfile": { + "type": "object", + "properties": { + "name": { + "externalDocs": { + "url": "https://learn.microsoft.com/rest/api/searchservice/Naming-rules" + }, + "type": "string", + "description": "The name to associate with this particular vector search profile.", + "x-nullable": false + }, + "algorithm": { + "x-ms-client-name": "algorithmConfigurationName", + "type": "string", + "description": "The name of the vector search algorithm configuration that specifies the algorithm and optional parameters.", + "x-nullable": false + }, + "vectorizer": { + "x-ms-client-name": "vectorizerName", + "type": "string", + "description": "The name of the vectorization being configured for use with vector search.", + "x-nullable": false + }, + "compression": { + "x-ms-client-name": "compressionConfigurationName", + "type": "string", + "description": "The name of the compression method configuration that specifies the compression method and optional parameters.", + "x-nullable": false + } + }, + "required": [ + "name", + "algorithm" + ], + "description": "Defines a combination of configurations to use with vector search." + }, + "VectorSearchAlgorithmConfiguration": { + "type": "object", + "discriminator": "kind", + "properties": { + "name": { + "externalDocs": { + "url": "https://learn.microsoft.com/rest/api/searchservice/Naming-rules" + }, + "type": "string", + "description": "The name to associate with this particular configuration.", + "x-nullable": false + }, + "kind": { + "$ref": "#/definitions/VectorSearchAlgorithmKind", + "description": "The name of the kind of algorithm being configured for use with vector search.", + "x-nullable": false + } + }, + "required": [ + "name", + "kind" + ], + "description": "Contains configuration options specific to the algorithm used during indexing or querying." + }, + "HnswVectorSearchAlgorithmConfiguration": { + "type": "object", + "x-ms-client-name": "HnswAlgorithmConfiguration", + "x-ms-discriminator-value": "hnsw", + "allOf": [ + { + "$ref": "#/definitions/VectorSearchAlgorithmConfiguration" + } + ], + "properties": { + "hnswParameters": { + "x-ms-client-name": "Parameters", + "$ref": "#/definitions/HnswParameters", + "description": "Contains the parameters specific to HNSW algorithm." + } + }, + "description": "Contains configuration options specific to the HNSW approximate nearest neighbors algorithm used during indexing and querying. The HNSW algorithm offers a tunable trade-off between search speed and accuracy." + }, + "HnswParameters": { + "type": "object", + "properties": { + "m": { + "type": "integer", + "format": "int32", + "x-nullable": true, + "minimum": 4, + "maximum": 10, + "default": 4, + "description": "The number of bi-directional links created for every new element during construction. Increasing this parameter value may improve recall and reduce retrieval times for datasets with high intrinsic dimensionality at the expense of increased memory consumption and longer indexing time." + }, + "efConstruction": { + "type": "integer", + "format": "int32", + "x-nullable": true, + "minimum": 100, + "maximum": 1000, + "default": 400, + "description": "The size of the dynamic list containing the nearest neighbors, which is used during index time. Increasing this parameter may improve index quality, at the expense of increased indexing time. At a certain point, increasing this parameter leads to diminishing returns." + }, + "efSearch": { + "type": "integer", + "format": "int32", + "x-nullable": true, + "minimum": 100, + "maximum": 1000, + "default": 500, + "description": "The size of the dynamic list containing the nearest neighbors, which is used during search time. Increasing this parameter may improve search results, at the expense of slower search. At a certain point, increasing this parameter leads to diminishing returns." + }, + "metric": { + "$ref": "#/definitions/VectorSearchAlgorithmMetric", + "x-nullable": true, + "description": "The similarity metric to use for vector comparisons." + } + }, + "description": "Contains the parameters specific to the HNSW algorithm." + }, + "ExhaustiveKnnVectorSearchAlgorithmConfiguration": { + "x-ms-client-name": "ExhaustiveKnnAlgorithmConfiguration", + "type": "object", + "x-ms-discriminator-value": "exhaustiveKnn", + "allOf": [ + { + "$ref": "#/definitions/VectorSearchAlgorithmConfiguration" + } + ], + "properties": { + "exhaustiveKnnParameters": { + "x-ms-client-name": "Parameters", + "$ref": "#/definitions/ExhaustiveKnnParameters", + "description": "Contains the parameters specific to exhaustive KNN algorithm." + } + }, + "description": "Contains configuration options specific to the exhaustive KNN algorithm used during querying, which will perform brute-force search across the entire vector index." + }, + "ExhaustiveKnnParameters": { + "type": "object", + "properties": { + "metric": { + "$ref": "#/definitions/VectorSearchAlgorithmMetric", + "x-nullable": true, + "description": "The similarity metric to use for vector comparisons." + } + }, + "description": "Contains the parameters specific to exhaustive KNN algorithm." + }, + "VectorSearchAlgorithmMetric": { + "type": "string", + "enum": [ + "cosine", + "euclidean", + "dotProduct", + "hamming" + ], + "x-ms-enum": { + "name": "VectorSearchAlgorithmMetric", + "modelAsString": true, + "values": [ + { + "value": "cosine", + "name": "Cosine", + "description": "Measures the angle between vectors to quantify their similarity, disregarding magnitude. The smaller the angle, the closer the similarity." + }, + { + "value": "euclidean", + "name": "Euclidean", + "description": "Computes the straight-line distance between vectors in a multi-dimensional space. The smaller the distance, the closer the similarity." + }, + { + "value": "dotProduct", + "name": "DotProduct", + "description": "Calculates the sum of element-wise products to gauge alignment and magnitude similarity. The larger and more positive, the closer the similarity." + }, + { + "value": "hamming", + "name": "Hamming", + "description": "Only applicable to bit-packed binary data types. Determines dissimilarity by counting differing positions in binary vectors. The fewer differences, the closer the similarity." + } + ] + }, + "description": "The similarity metric to use for vector comparisons. It is recommended to choose the same similarity metric as the embedding model was trained on." + }, + "VectorSearchAlgorithmKind": { + "type": "string", + "enum": [ + "hnsw", + "exhaustiveKnn" + ], + "x-ms-enum": { + "name": "VectorSearchAlgorithmKind", + "modelAsString": true, + "values": [ + { + "value": "hnsw", + "name": "Hnsw", + "description": "HNSW (Hierarchical Navigable Small World), a type of approximate nearest neighbors algorithm." + }, + { + "value": "exhaustiveKnn", + "name": "ExhaustiveKnn", + "description": "Exhaustive KNN algorithm which will perform brute-force search." + } + ] + }, + "description": "The algorithm used for indexing and querying." + }, + "VectorSearchCompressionConfiguration": { + "type": "object", + "discriminator": "kind", + "properties": { + "name": { + "externalDocs": { + "url": "https://learn.microsoft.com/rest/api/searchservice/Naming-rules" + }, + "type": "string", + "description": "The name to associate with this particular configuration.", + "x-nullable": false + }, + "kind": { + "$ref": "#/definitions/VectorSearchCompressionKind", + "description": "The name of the kind of compression method being configured for use with vector search.", + "x-nullable": false + }, + "rescoringOptions": { + "type": "object", + "$ref": "#/definitions/RescoringOptions", + "description": "Contains the options for rescoring.", + "x-nullable": true + }, + "truncationDimension": { + "type": "integer", + "format": "int32", + "description": "The number of dimensions to truncate the vectors to. Truncating the vectors reduces the size of the vectors and the amount of data that needs to be transferred during search. This can save storage cost and improve search performance at the expense of recall. It should be only used for embeddings trained with Matryoshka Representation Learning (MRL) such as OpenAI text-embedding-3-large (small). The default value is null, which means no truncation.", + "x-nullable": true + } + }, + "required": [ + "name", + "kind" + ], + "description": "Contains configuration options specific to the compression method used during indexing or querying." + }, + "RescoringOptions": { + "type": "object", + "x-ms-client-name": "RescoringOptions", + "properties": { + "enableRescoring": { + "type": "boolean", + "default": true, + "description": "If set to true, after the initial search on the compressed vectors, the similarity scores are recalculated using the full-precision vectors. This will improve recall at the expense of latency.", + "x-nullable": true + }, + "defaultOversampling": { + "type": "number", + "format": "double", + "description": "Default oversampling factor. Oversampling retrieves a greater set of potential documents to offset the resolution loss due to quantization. This increases the set of results that will be rescored on full-precision vectors. Minimum value is 1, meaning no oversampling (1x). This parameter can only be set when 'enableRescoring' is true. Higher values improve recall at the expense of latency.", + "x-nullable": true + }, + "rescoreStorageMethod": { + "$ref": "#/definitions/VectorSearchCompressionRescoreStorageMethod", + "default": "preserveOriginals", + "description": "Controls the storage method for original vectors. This setting is immutable.", + "x-nullable": true + } + }, + "description": "Contains the options for rescoring." + }, + "ScalarQuantizationVectorSearchCompressionConfiguration": { + "x-ms-client-name": "ScalarQuantizationCompressionConfiguration", + "type": "object", + "x-ms-discriminator-value": "scalarQuantization", + "allOf": [ + { + "$ref": "#/definitions/VectorSearchCompressionConfiguration" + } + ], + "properties": { + "scalarQuantizationParameters": { + "x-ms-client-name": "Parameters", + "$ref": "#/definitions/ScalarQuantizationParameters", + "description": "Contains the parameters specific to Scalar Quantization." + } + }, + "description": "Contains configuration options specific to the scalar quantization compression method used during indexing and querying." + }, + "ScalarQuantizationParameters": { + "type": "object", + "properties": { + "quantizedDataType": { + "$ref": "#/definitions/VectorSearchCompressionTargetDataType", + "x-nullable": true, + "description": "The quantized data type of compressed vector values." + } + }, + "description": "Contains the parameters specific to Scalar Quantization." + }, + "BinaryQuantizationVectorSearchCompressionConfiguration": { + "x-ms-client-name": "BinaryQuantizationCompressionConfiguration", + "type": "object", + "x-ms-discriminator-value": "binaryQuantization", + "allOf": [ + { + "$ref": "#/definitions/VectorSearchCompressionConfiguration" + } + ], + "description": "Contains configuration options specific to the binary quantization compression method used during indexing and querying." + }, + "VectorSearchCompressionTargetDataType": { + "type": "string", + "enum": [ + "int8" + ], + "x-ms-enum": { + "name": "VectorSearchCompressionTargetDataType", + "modelAsString": true, + "values": [ + { + "value": "int8", + "name": "Int8" + } + ] + }, + "description": "The quantized data type of compressed vector values." + }, + "VectorSearchCompressionKind": { + "type": "string", + "enum": [ + "scalarQuantization", + "binaryQuantization" + ], + "x-ms-enum": { + "name": "VectorSearchCompressionKind", + "modelAsString": true, + "values": [ + { + "value": "scalarQuantization", + "name": "ScalarQuantization", + "description": "Scalar Quantization, a type of compression method. In scalar quantization, the original vectors values are compressed to a narrower type by discretizing and representing each component of a vector using a reduced set of quantized values, thereby reducing the overall data size." + }, + { + "value": "binaryQuantization", + "name": "BinaryQuantization", + "description": "Binary Quantization, a type of compression method. In binary quantization, the original vectors values are compressed to the narrower binary type by discretizing and representing each component of a vector using binary values, thereby reducing the overall data size." + } + ] + }, + "description": "The compression method used for indexing and querying." + }, + "VectorSearchCompressionRescoreStorageMethod": { + "type": "string", + "enum": [ + "preserveOriginals", + "discardOriginals" + ], + "x-ms-enum": { + "name": "VectorSearchCompressionRescoreStorageMethod", + "modelAsString": true, + "values": [ + { + "value": "preserveOriginals", + "name": "PreserveOriginals", + "description": "This option preserves the original full-precision vectors. Choose this option for maximum flexibility and highest quality of compressed search results. This consumes more storage but allows for rescoring and oversampling." + }, + { + "value": "discardOriginals", + "name": "DiscardOriginals", + "description": "This option discards the original full-precision vectors. Choose this option for maximum storage savings. Since this option does not allow for rescoring and oversampling, it will often cause slight to moderate reductions in quality." + } + ] + }, + "description": "The storage method for the original full-precision vectors used for rescoring and internal index operations." + }, + "KnowledgeSourceVectorizer": { + "type": "object", + "discriminator": "kind", + "properties": { + "kind": { + "$ref": "#/definitions/VectorSearchVectorizerKind", + "description": "The name of the kind of vectorization method being configured for use with vector search.", + "x-nullable": false + } + }, + "required": [ + "kind" + ], + "description": "Specifies the vectorization method to be used for knowledge source embedding model, with optional name." + }, + "KnowledgeSourceAzureOpenAIVectorizer": { + "type": "object", + "x-ms-discriminator-value": "azureOpenAI", + "allOf": [ + { + "$ref": "#/definitions/KnowledgeSourceVectorizer" + } + ], + "properties": { + "azureOpenAIParameters": { + "x-ms-client-name": "AzureOpenAIParameters", + "$ref": "#/definitions/AzureOpenAIParameters", + "description": "Contains the parameters specific to Azure OpenAI embedding vectorization." + } + }, + "description": "Specifies the Azure OpenAI resource used to vectorize a query string." + }, + "VectorSearchVectorizer": { + "type": "object", + "discriminator": "kind", + "properties": { + "name": { + "externalDocs": { + "url": "https://learn.microsoft.com/rest/api/searchservice/Naming-rules" + }, + "type": "string", + "description": "The name to associate with this particular vectorization method.", + "x-nullable": false + }, + "kind": { + "$ref": "#/definitions/VectorSearchVectorizerKind", + "description": "The name of the kind of vectorization method being configured for use with vector search.", + "x-nullable": false + } + }, + "required": [ + "name", + "kind" + ], + "description": "Specifies the vectorization method to be used during query time." + }, + "AzureOpenAIVectorizer": { + "type": "object", + "x-ms-discriminator-value": "azureOpenAI", + "allOf": [ + { + "$ref": "#/definitions/VectorSearchVectorizer" + } + ], + "properties": { + "azureOpenAIParameters": { + "x-ms-client-name": "AzureOpenAIParameters", + "$ref": "#/definitions/AzureOpenAIParameters", + "description": "Contains the parameters specific to Azure OpenAI embedding vectorization." + } + }, + "description": "Specifies the Azure OpenAI resource used to vectorize a query string." + }, + "AzureOpenAIParameters": { + "type": "object", + "properties": { + "resourceUri": { + "type": "string", + "format": "uri", + "description": "The resource URI of the Azure OpenAI resource." + }, + "deploymentId": { + "x-ms-client-name": "deploymentName", + "type": "string", + "description": "ID of the Azure OpenAI model deployment on the designated resource." + }, + "apiKey": { + "type": "string", + "description": "API key of the designated Azure OpenAI resource." + }, + "authIdentity": { + "$ref": "#/definitions/SearchIndexerDataIdentity", + "x-nullable": true, + "description": "The user-assigned managed identity used for outbound connections." + }, + "modelName": { + "$ref": "#/definitions/AzureOpenAIModelName", + "description": "The name of the embedding model that is deployed at the provided deploymentId path." + } + }, + "description": "Specifies the parameters for connecting to the Azure OpenAI resource." + }, + "AzureOpenAIModelName": { + "type": "string", + "enum": [ + "text-embedding-ada-002", + "text-embedding-3-large", + "text-embedding-3-small", + "gpt-4o", + "gpt-4o-mini", + "gpt-4.1", + "gpt-4.1-mini", + "gpt-4.1-nano", + "gpt-5", + "gpt-5-mini", + "gpt-5-nano" + ], + "x-ms-enum": { + "name": "AzureOpenAIModelName", + "modelAsString": true, + "values": [ + { + "value": "text-embedding-ada-002", + "name": "TextEmbeddingAda002" + }, + { + "value": "text-embedding-3-large", + "name": "TextEmbedding3Large" + }, + { + "value": "text-embedding-3-small", + "name": "TextEmbedding3Small" + }, + { + "value": "gpt-4o", + "name": "Gpt4o" + }, + { + "value": "gpt-4o-mini", + "name": "Gpt4oMini" + }, + { + "value": "gpt-4.1", + "name": "Gpt41" + }, + { + "value": "gpt-4.1-mini", + "name": "Gpt41Mini" + }, + { + "value": "gpt-4.1-nano", + "name": "Gpt41Nano" + }, + { + "value": "gpt-5", + "name": "Gpt5" + }, + { + "value": "gpt-5-mini", + "name": "Gpt5Mini" + }, + { + "value": "gpt-5-nano", + "name": "Gpt5Nano" + } + ] + }, + "description": "The Azure Open AI model name that will be called." + }, + "WebApiVectorizer": { + "type": "object", + "x-ms-discriminator-value": "customWebApi", + "allOf": [ + { + "$ref": "#/definitions/VectorSearchVectorizer" + } + ], + "properties": { + "customWebApiParameters": { + "x-ms-client-name": "WebApiParameters", + "$ref": "#/definitions/WebApiParameters", + "description": "Specifies the properties of the user-defined vectorizer." + } + }, + "description": "Specifies a user-defined vectorizer for generating the vector embedding of a query string. Integration of an external vectorizer is achieved using the custom Web API interface of a skillset." + }, + "WebApiParameters": { + "type": "object", + "properties": { + "uri": { + "type": "string", + "format": "uri", + "description": "The URI of the Web API providing the vectorizer." + }, + "httpHeaders": { + "$ref": "#/definitions/WebApiHttpHeaders", + "description": "The headers required to make the HTTP request." + }, + "httpMethod": { + "type": "string", + "description": "The method for the HTTP request." + }, + "timeout": { + "type": "string", + "format": "duration", + "description": "The desired timeout for the request. Default is 30 seconds." + }, + "authResourceId": { + "type": "string", + "x-nullable": true, + "x-ms-format": "arm-id", + "description": "Applies to custom endpoints that connect to external code in an Azure function or some other application that provides the transformations. This value should be the application ID created for the function or app when it was registered with Azure Active Directory. When specified, the vectorization connects to the function or app using a managed ID (either system or user-assigned) of the search service and the access token of the function or app, using this value as the resource id for creating the scope of the access token." + }, + "authIdentity": { + "$ref": "#/definitions/SearchIndexerDataIdentity", + "x-nullable": true, + "description": "The user-assigned managed identity used for outbound connections. If an authResourceId is provided and it's not specified, the system-assigned managed identity is used. On updates to the indexer, if the identity is unspecified, the value remains unchanged. If set to \"none\", the value of this property is cleared." + } + }, + "description": "Specifies the properties for connecting to a user-defined vectorizer." + }, + "AIServicesVisionVectorizer": { + "type": "object", + "x-ms-discriminator-value": "aiServicesVision", + "allOf": [ + { + "$ref": "#/definitions/VectorSearchVectorizer" + } + ], + "properties": { + "aiServicesVisionParameters": { + "x-ms-client-name": "AIServicesVisionParameters", + "$ref": "#/definitions/AIServicesVisionParameters", + "description": "Contains the parameters specific to AI Services Vision embedding vectorization." + } + }, + "description": "Specifies the AI Services Vision parameters for vectorizing a query image or text." + }, + "AIServicesVisionParameters": { + "type": "object", + "properties": { + "modelVersion": { + "type": "string", + "x-nullable": true, + "description": "The version of the model to use when calling the AI Services Vision service. It will default to the latest available when not specified." + }, + "resourceUri": { + "type": "string", + "format": "uri", + "description": "The resource URI of the AI Services resource." + }, + "apiKey": { + "type": "string", + "description": "API key of the designated AI Services resource." + }, + "authIdentity": { + "$ref": "#/definitions/SearchIndexerDataIdentity", + "x-nullable": true, + "description": "The user-assigned managed identity used for outbound connections. If an authResourceId is provided and it's not specified, the system-assigned managed identity is used. On updates to the index, if the identity is unspecified, the value remains unchanged. If set to \"none\", the value of this property is cleared." + } + }, + "description": "Specifies the AI Services Vision parameters for vectorizing a query image or text.", + "required": [ + "resourceUri", + "modelVersion" + ] + }, + "AMLVectorizer": { + "type": "object", + "x-ms-discriminator-value": "aml", + "allOf": [ + { + "$ref": "#/definitions/VectorSearchVectorizer" + } + ], + "properties": { + "amlParameters": { + "x-ms-client-name": "AMLParameters", + "$ref": "#/definitions/AMLParameters", + "description": "Specifies the properties of the AML vectorizer." + } + }, + "description": "Specifies an Azure Machine Learning endpoint deployed via the Azure AI Foundry Model Catalog for generating the vector embedding of a query string." + }, + "AMLParameters": { + "type": "object", + "properties": { + "uri": { + "x-ms-client-name": "ScoringUri", + "type": "string", + "format": "uri", + "x-nullable": true, + "description": "(Required for no authentication or key authentication) The scoring URI of the AML service to which the JSON payload will be sent. Only the https URI scheme is allowed." + }, + "key": { + "x-ms-client-name": "AuthenticationKey", + "type": "string", + "x-nullable": true, + "description": "(Required for key authentication) The key for the AML service." + }, + "resourceId": { + "type": "string", + "x-nullable": true, + "description": "(Required for token authentication). The Azure Resource Manager resource ID of the AML service. It should be in the format subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.MachineLearningServices/workspaces/{workspace-name}/services/{service_name}." + }, + "timeout": { + "type": "string", + "format": "duration", + "x-nullable": true, + "description": "(Optional) When specified, indicates the timeout for the http client making the API call." + }, + "region": { + "type": "string", + "x-nullable": true, + "description": "(Optional for token authentication). The region the AML service is deployed in." + }, + "modelName": { + "$ref": "#/definitions/AIFoundryModelCatalogName", + "description": "The name of the embedding model from the Azure AI Foundry Catalog that is deployed at the provided endpoint." + } + }, + "required": [ + "uri" + ], + "description": "Specifies the properties for connecting to an AML vectorizer." + }, + "AIFoundryModelCatalogName": { + "type": "string", + "enum": [ + "OpenAI-CLIP-Image-Text-Embeddings-vit-base-patch32", + "OpenAI-CLIP-Image-Text-Embeddings-ViT-Large-Patch14-336", + "Facebook-DinoV2-Image-Embeddings-ViT-Base", + "Facebook-DinoV2-Image-Embeddings-ViT-Giant", + "Cohere-embed-v3-english", + "Cohere-embed-v3-multilingual", + "Cohere-embed-v4" + ], + "x-ms-enum": { + "name": "AIFoundryModelCatalogName", + "modelAsString": true, + "values": [ + { + "value": "OpenAI-CLIP-Image-Text-Embeddings-vit-base-patch32", + "name": "OpenAI_CLIP_Image_Text_Embeddings_vit_base_patch32" + }, + { + "value": "OpenAI-CLIP-Image-Text-Embeddings-ViT-Large-Patch14-336", + "name": "OpenAI_CLIP_Image_Text_Embeddings_ViT_Large_Patch14_336" + }, + { + "value": "Facebook-DinoV2-Image-Embeddings-ViT-Base", + "name": "Facebook_DinoV2_Image_Embeddings_ViT_Base" + }, + { + "value": "Facebook-DinoV2-Image-Embeddings-ViT-Giant", + "name": "Facebook_DinoV2_Image_Embeddings_ViT_Giant" + }, + { + "value": "Cohere-embed-v3-english", + "name": "Cohere_embed_v3_english" + }, + { + "value": "Cohere-embed-v3-multilingual", + "name": "Cohere_embed_v3_multilingual" + }, + { + "value": "Cohere-embed-v4", + "name": "Cohere_embed_v4", + "description": "Cohere embed v4 model for generating embeddings from both text and images." + } + ] + }, + "description": "The name of the embedding model from the Azure AI Foundry Catalog that will be called." + }, + "VectorSearchVectorizerKind": { + "type": "string", + "enum": [ + "azureOpenAI", + "customWebApi", + "aiServicesVision", + "aml" + ], + "x-ms-enum": { + "name": "VectorSearchVectorizerKind", + "modelAsString": true, + "values": [ + { + "value": "azureOpenAI", + "name": "AzureOpenAI", + "description": "Generate embeddings using an Azure OpenAI resource at query time." + }, + { + "value": "customWebApi", + "name": "CustomWebApi", + "description": "Generate embeddings using a custom web endpoint at query time." + }, + { + "value": "aiServicesVision", + "name": "AIServicesVision", + "description": "Generate embeddings for an image or text input at query time using the Azure AI Services Vision Vectorize API." + }, + { + "value": "aml", + "name": "AML", + "description": "Generate embeddings using an Azure Machine Learning endpoint deployed via the Azure AI Foundry Model Catalog at query time." + } + ] + }, + "description": "The vectorization method to be used during query time." + }, + "DataSourceCredentials": { + "type": "object", + "properties": { + "connectionString": { + "externalDocs": { + "url": "https://learn.microsoft.com/rest/api/searchservice/Create-Data-Source" + }, + "type": "string", + "description": "The connection string for the datasource. Set to `` (with brackets) if you don't want the connection string updated. Set to `` if you want to remove the connection string value from the datasource." + } + }, + "description": "Represents credentials that can be used to connect to a datasource." + }, + "SearchIndexerDataContainer": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the table or view (for Azure SQL data source) or collection (for CosmosDB data source) that will be indexed." + }, + "query": { + "type": "string", + "description": "A query that is applied to this data container. The syntax and meaning of this parameter is datasource-specific. Not supported by Azure SQL datasources." + } + }, + "required": [ + "name" + ], + "description": "Represents information about the entity (such as Azure SQL table or CosmosDB collection) that will be indexed." + }, + "SearchIndexerDataIdentity": { + "type": "object", + "discriminator": "@odata.type", + "properties": { + "@odata.type": { + "type": "string", + "description": "A URI fragment specifying the type of identity." + } + }, + "required": [ + "@odata.type" + ], + "description": "Abstract base type for data identities." + }, + "SearchIndexerDataNoneIdentity": { + "type": "object", + "description": "Clears the identity property of a datasource.", + "x-ms-discriminator-value": "#Microsoft.Azure.Search.DataNoneIdentity", + "allOf": [ + { + "$ref": "#/definitions/SearchIndexerDataIdentity" + } + ] + }, + "SearchIndexerDataUserAssignedIdentity": { + "type": "object", + "description": "Specifies the identity for a datasource to use.", + "x-ms-discriminator-value": "#Microsoft.Azure.Search.DataUserAssignedIdentity", + "allOf": [ + { + "$ref": "#/definitions/SearchIndexerDataIdentity" + } + ], + "properties": { + "userAssignedIdentity": { + "type": "string", + "description": "The fully qualified Azure resource Id of a user assigned managed identity typically in the form \"/subscriptions/12345678-1234-1234-1234-1234567890ab/resourceGroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myId\" that should have been assigned to the search service." + } + }, + "required": [ + "userAssignedIdentity" + ] + }, + "IndexerPermissionOption": { + "type": "string", + "enum": [ + "userIds", + "groupIds", + "rbacScope" + ], + "x-ms-enum": { + "name": "IndexerPermissionOption", + "modelAsString": true, + "values": [ + { + "value": "userIds", + "name": "UserIds", + "description": "Indexer to ingest ACL userIds from data source to index." + }, + { + "value": "groupIds", + "name": "GroupIds", + "description": "Indexer to ingest ACL groupIds from data source to index." + }, + { + "value": "rbacScope", + "name": "RbacScope", + "description": "Indexer to ingest Azure RBAC scope from data source to index." + } + ] + }, + "description": "Options with various types of permission data to index." + }, + "DataChangeDetectionPolicy": { + "type": "object", + "discriminator": "@odata.type", + "properties": { + "@odata.type": { + "type": "string", + "description": "A URI fragment specifying the type of data change detection policy." + } + }, + "required": [ + "@odata.type" + ], + "description": "Base type for data change detection policies." + }, + "HighWaterMarkChangeDetectionPolicy": { + "type": "object", + "description": "Defines a data change detection policy that captures changes based on the value of a high water mark column.", + "x-ms-discriminator-value": "#Microsoft.Azure.Search.HighWaterMarkChangeDetectionPolicy", + "allOf": [ + { + "$ref": "#/definitions/DataChangeDetectionPolicy" + } + ], + "properties": { + "highWaterMarkColumnName": { + "type": "string", + "description": "The name of the high water mark column." + } + }, + "required": [ + "highWaterMarkColumnName" + ] + }, + "SqlIntegratedChangeTrackingPolicy": { + "type": "object", + "description": "Defines a data change detection policy that captures changes using the Integrated Change Tracking feature of Azure SQL Database.", + "x-ms-discriminator-value": "#Microsoft.Azure.Search.SqlIntegratedChangeTrackingPolicy", + "allOf": [ + { + "$ref": "#/definitions/DataChangeDetectionPolicy" + } + ] + }, + "DataDeletionDetectionPolicy": { + "type": "object", + "discriminator": "@odata.type", + "properties": { + "@odata.type": { + "type": "string", + "description": "A URI fragment specifying the type of data deletion detection policy." + } + }, + "required": [ + "@odata.type" + ], + "description": "Base type for data deletion detection policies." + }, + "SoftDeleteColumnDeletionDetectionPolicy": { + "type": "object", + "description": "Defines a data deletion detection policy that implements a soft-deletion strategy. It determines whether an item should be deleted based on the value of a designated 'soft delete' column.", + "x-ms-discriminator-value": "#Microsoft.Azure.Search.SoftDeleteColumnDeletionDetectionPolicy", + "allOf": [ + { + "$ref": "#/definitions/DataDeletionDetectionPolicy" + } + ], + "properties": { + "softDeleteColumnName": { + "type": "string", + "description": "The name of the column to use for soft-deletion detection." + }, + "softDeleteMarkerValue": { + "type": "string", + "description": "The marker value that identifies an item as deleted." + } + } + }, + "NativeBlobSoftDeleteDeletionDetectionPolicy": { + "type": "object", + "description": "Defines a data deletion detection policy utilizing Azure Blob Storage's native soft delete feature for deletion detection.", + "x-ms-discriminator-value": "#Microsoft.Azure.Search.NativeBlobSoftDeleteDeletionDetectionPolicy", + "allOf": [ + { + "$ref": "#/definitions/DataDeletionDetectionPolicy" + } + ] + }, + "SearchIndexerDataSourceType": { + "type": "string", + "enum": [ + "azuresql", + "cosmosdb", + "azureblob", + "azuretable", + "mysql", + "adlsgen2", + "onelake", + "sharepoint" + ], + "x-ms-enum": { + "name": "SearchIndexerDataSourceType", + "modelAsString": true, + "values": [ + { + "value": "azuresql", + "name": "AzureSql", + "description": "Indicates an Azure SQL datasource." + }, + { + "value": "cosmosdb", + "name": "CosmosDb", + "description": "Indicates a CosmosDB datasource." + }, + { + "value": "azureblob", + "name": "AzureBlob", + "description": "Indicates an Azure Blob datasource." + }, + { + "value": "azuretable", + "name": "AzureTable", + "description": "Indicates an Azure Table datasource." + }, + { + "value": "mysql", + "name": "MySql", + "description": "Indicates a MySql datasource." + }, + { + "value": "adlsgen2", + "name": "AdlsGen2", + "description": "Indicates an ADLS Gen2 datasource." + }, + { + "value": "onelake", + "name": "OneLake", + "description": "Indicates a Microsoft Fabric OneLake datasource." + }, + { + "value": "sharepoint", + "name": "SharePoint", + "description": "Indicates a SharePoint datasource." + } + ] + }, + "description": "Defines the type of a datasource." + }, + "IndexerResyncOption": { + "type": "string", + "enum": [ + "permissions" + ], + "x-ms-enum": { + "name": "IndexerResyncOption", + "modelAsString": true, + "values": [ + { + "value": "permissions", + "name": "Permissions", + "description": "Indexer to re-ingest pre-selected permissions data from data source to index." + } + ] + }, + "description": "Options with various types of permission data to index." + }, + "SearchIndexerDataSource": { + "type": "object", + "properties": { + "name": { + "externalDocs": { + "url": "https://learn.microsoft.com/rest/api/searchservice/Naming-rules" + }, + "type": "string", + "description": "The name of the datasource." + }, + "description": { + "type": "string", + "description": "The description of the datasource." + }, + "type": { + "$ref": "#/definitions/SearchIndexerDataSourceType", + "description": "The type of the datasource." + }, + "subType": { + "type": "string", + "description": "A specific type of the data source, in case the resource is capable of different modalities. For example, 'MongoDb' for certain 'cosmosDb' accounts.", + "readOnly": true + }, + "credentials": { + "$ref": "#/definitions/DataSourceCredentials", + "description": "Credentials for the datasource." + }, + "container": { + "$ref": "#/definitions/SearchIndexerDataContainer", + "description": "The data container for the datasource." + }, + "identity": { + "$ref": "#/definitions/SearchIndexerDataIdentity", + "x-nullable": true, + "description": "An explicit managed identity to use for this datasource. If not specified and the connection string is a managed identity, the system-assigned managed identity is used. If not specified, the value remains unchanged. If \"none\" is specified, the value of this property is cleared." + }, + "indexerPermissionOptions": { + "type": "array", + "x-nullable": true, + "items": { + "$ref": "#/definitions/IndexerPermissionOption", + "x-nullable": false + }, + "description": "Ingestion options with various types of permission data." + }, + "dataChangeDetectionPolicy": { + "$ref": "#/definitions/DataChangeDetectionPolicy", + "x-nullable": true, + "description": "The data change detection policy for the datasource." + }, + "dataDeletionDetectionPolicy": { + "$ref": "#/definitions/DataDeletionDetectionPolicy", + "x-nullable": true, + "description": "The data deletion detection policy for the datasource." + }, + "@odata.etag": { + "x-ms-client-name": "ETag", + "type": "string", + "description": "The ETag of the data source." + }, + "encryptionKey": { + "$ref": "#/definitions/SearchResourceEncryptionKey", + "description": "A description of an encryption key that you create in Azure Key Vault. This key is used to provide an additional level of encryption-at-rest for your datasource definition when you want full assurance that no one, not even Microsoft, can decrypt your data source definition. Once you have encrypted your data source definition, it will always remain encrypted. The search service will ignore attempts to set this property to null. You can change this property as needed if you want to rotate your encryption key; Your datasource definition will be unaffected. Encryption with customer-managed keys is not available for free search services, and is only available for paid services created on or after January 1, 2019.", + "externalDocs": { + "url": "https://aka.ms/azure-search-encryption-with-cmk" + }, + "x-nullable": true + } + }, + "required": [ + "name", + "type", + "credentials", + "container" + ], + "description": "Represents a datasource definition, which can be used to configure an indexer." + }, + "ListDataSourcesResult": { + "type": "object", + "properties": { + "value": { + "x-ms-client-name": "DataSources", + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/SearchIndexerDataSource" + }, + "description": "The datasources in the Search service." + } + }, + "required": [ + "value" + ], + "description": "Response from a List Datasources request. If successful, it includes the full definitions of all datasources." + }, + "IndexingSchedule": { + "type": "object", + "properties": { + "interval": { + "type": "string", + "format": "duration", + "description": "The interval of time between indexer executions." + }, + "startTime": { + "type": "string", + "format": "date-time", + "description": "The time when an indexer should start running." + } + }, + "required": [ + "interval" + ], + "description": "Represents a schedule for indexer execution." + }, + "IndexingParameters": { + "type": "object", + "properties": { + "batchSize": { + "type": "integer", + "format": "int32", + "x-nullable": true, + "description": "The number of items that are read from the data source and indexed as a single batch in order to improve performance. The default depends on the data source type." + }, + "maxFailedItems": { + "type": "integer", + "format": "int32", + "default": 0, + "x-nullable": true, + "description": "The maximum number of items that can fail indexing for indexer execution to still be considered successful. -1 means no limit. Default is 0." + }, + "maxFailedItemsPerBatch": { + "type": "integer", + "format": "int32", + "default": 0, + "x-nullable": true, + "description": "The maximum number of items in a single batch that can fail indexing for the batch to still be considered successful. -1 means no limit. Default is 0." + }, + "configuration": { + "$ref": "#/definitions/IndexingParametersConfiguration" + } + }, + "description": "Represents parameters for indexer execution.", + "externalDocs": { + "url": "https://learn.microsoft.com/rest/api/searchservice/create-indexer#parameters" + } + }, + "IndexingParametersConfiguration": { + "type": "object", + "properties": { + "parsingMode": { + "$ref": "#/definitions/ParsingMode" + }, + "excludedFileNameExtensions": { + "type": "string", + "default": "", + "description": "Comma-delimited list of filename extensions to ignore when processing from Azure blob storage. For example, you could exclude \".png, .mp4\" to skip over those files during indexing." + }, + "indexedFileNameExtensions": { + "type": "string", + "default": "", + "description": "Comma-delimited list of filename extensions to select when processing from Azure blob storage. For example, you could focus indexing on specific application files \".docx, .pptx, .msg\" to specifically include those file types." + }, + "failOnUnsupportedContentType": { + "type": "boolean", + "default": false, + "description": "For Azure blobs, set to false if you want to continue indexing when an unsupported content type is encountered, and you don't know all the content types (file extensions) in advance." + }, + "failOnUnprocessableDocument": { + "type": "boolean", + "default": false, + "description": "For Azure blobs, set to false if you want to continue indexing if a document fails indexing." + }, + "indexStorageMetadataOnlyForOversizedDocuments": { + "type": "boolean", + "default": false, + "description": "For Azure blobs, set this property to true to still index storage metadata for blob content that is too large to process. Oversized blobs are treated as errors by default. For limits on blob size, see https://learn.microsoft.com/azure/search/search-limits-quotas-capacity." + }, + "delimitedTextHeaders": { + "type": "string", + "description": "For CSV blobs, specifies a comma-delimited list of column headers, useful for mapping source fields to destination fields in an index." + }, + "delimitedTextDelimiter": { + "type": "string", + "description": "For CSV blobs, specifies the end-of-line single-character delimiter for CSV files where each line starts a new document (for example, \"|\")." + }, + "firstLineContainsHeaders": { + "type": "boolean", + "default": true, + "description": "For CSV blobs, indicates that the first (non-blank) line of each blob contains headers." + }, + "markdownParsingSubmode": { + "$ref": "#/definitions/MarkdownParsingSubmode", + "x-nullable": true + }, + "markdownHeaderDepth": { + "$ref": "#/definitions/MarkdownHeaderDepth", + "x-nullable": true + }, + "documentRoot": { + "type": "string", + "description": "For JSON arrays, given a structured or semi-structured document, you can specify a path to the array using this property." + }, + "dataToExtract": { + "$ref": "#/definitions/DataToExtract" + }, + "imageAction": { + "$ref": "#/definitions/ImageAction" + }, + "allowSkillsetToReadFileData": { + "type": "boolean", + "default": false, + "description": "If true, will create a path //document//file_data that is an object representing the original file data downloaded from your blob data source. This allows you to pass the original file data to a custom skill for processing within the enrichment pipeline, or to the Document Extraction skill." + }, + "pdfTextRotationAlgorithm": { + "$ref": "#/definitions/PdfTextRotationAlgorithm" + }, + "executionEnvironment": { + "$ref": "#/definitions/ExecutionEnvironment" + }, + "queryTimeout": { + "type": "string", + "default": "00:05:00", + "description": "Increases the timeout beyond the 5-minute default for Azure SQL database data sources, specified in the format \"hh:mm:ss\"." + } + }, + "additionalProperties": true, + "description": "A dictionary of indexer-specific configuration properties. Each name is the name of a specific property. Each value must be of a primitive type.", + "externalDocs": { + "url": "https://learn.microsoft.com/rest/api/searchservice/create-indexer#parameters" + } + }, + "ParsingMode": { + "type": "string", + "enum": [ + "default", + "text", + "delimitedText", + "json", + "jsonArray", + "jsonLines", + "markdown" + ], + "x-ms-enum": { + "name": "BlobIndexerParsingMode", + "modelAsString": true, + "values": [ + { + "value": "default", + "name": "Default", + "description": "Set to default for normal file processing." + }, + { + "value": "text", + "name": "Text", + "description": "Set to text to improve indexing performance on plain text files in blob storage." + }, + { + "value": "delimitedText", + "name": "DelimitedText", + "description": "Set to delimitedText when blobs are plain CSV files." + }, + { + "value": "json", + "name": "Json", + "description": "Set to json to extract structured content from JSON files." + }, + { + "value": "jsonArray", + "name": "JsonArray", + "description": "Set to jsonArray to extract individual elements of a JSON array as separate documents." + }, + { + "value": "jsonLines", + "name": "JsonLines", + "description": "Set to jsonLines to extract individual JSON entities, separated by a new line, as separate documents." + }, + { + "value": "markdown", + "name": "Markdown", + "description": "Set to markdown to extract content from markdown files." + } + ] + }, + "default": "default", + "description": "Represents the parsing mode for indexing from an Azure blob data source." + }, + "DataToExtract": { + "type": "string", + "enum": [ + "storageMetadata", + "allMetadata", + "contentAndMetadata" + ], + "x-ms-enum": { + "name": "BlobIndexerDataToExtract", + "modelAsString": true, + "values": [ + { + "value": "storageMetadata", + "name": "StorageMetadata", + "description": "Indexes just the standard blob properties and user-specified metadata." + }, + { + "value": "allMetadata", + "name": "AllMetadata", + "description": "Extracts metadata provided by the Azure blob storage subsystem and the content-type specific metadata (for example, metadata unique to just .png files are indexed)." + }, + { + "value": "contentAndMetadata", + "name": "ContentAndMetadata", + "description": "Extracts all metadata and textual content from each blob." + } + ] + }, + "default": "contentAndMetadata", + "description": "Specifies the data to extract from Azure blob storage and tells the indexer which data to extract from image content when \"imageAction\" is set to a value other than \"none\". This applies to embedded image content in a .PDF or other application, or image files such as .jpg and .png, in Azure blobs." + }, + "ImageAction": { + "type": "string", + "enum": [ + "none", + "generateNormalizedImages", + "generateNormalizedImagePerPage" + ], + "x-ms-enum": { + "name": "BlobIndexerImageAction", + "modelAsString": true, + "values": [ + { + "value": "none", + "name": "None", + "description": "Ignores embedded images or image files in the data set. This is the default." + }, + { + "value": "generateNormalizedImages", + "name": "GenerateNormalizedImages", + "description": "Extracts text from images (for example, the word \"STOP\" from a traffic stop sign), and embeds it into the content field. This action requires that \"dataToExtract\" is set to \"contentAndMetadata\". A normalized image refers to additional processing resulting in uniform image output, sized and rotated to promote consistent rendering when you include images in visual search results. This information is generated for each image when you use this option." + }, + { + "value": "generateNormalizedImagePerPage", + "name": "GenerateNormalizedImagePerPage", + "description": "Extracts text from images (for example, the word \"STOP\" from a traffic stop sign), and embeds it into the content field, but treats PDF files differently in that each page will be rendered as an image and normalized accordingly, instead of extracting embedded images. Non-PDF file types will be treated the same as if \"generateNormalizedImages\" was set." + } + ] + }, + "default": "none", + "description": "Determines how to process embedded images and image files in Azure blob storage. Setting the \"imageAction\" configuration to any value other than \"none\" requires that a skillset also be attached to that indexer." + }, + "PdfTextRotationAlgorithm": { + "type": "string", + "enum": [ + "none", + "detectAngles" + ], + "x-ms-enum": { + "name": "BlobIndexerPDFTextRotationAlgorithm", + "modelAsString": true, + "values": [ + { + "value": "none", + "name": "None", + "description": "Leverages normal text extraction. This is the default." + }, + { + "value": "detectAngles", + "name": "DetectAngles", + "description": "May produce better and more readable text extraction from PDF files that have rotated text within them. Note that there may be a small performance speed impact when this parameter is used. This parameter only applies to PDF files, and only to PDFs with embedded text. If the rotated text appears within an embedded image in the PDF, this parameter does not apply." + } + ] + }, + "default": "none", + "description": "Determines algorithm for text extraction from PDF files in Azure blob storage." + }, + "MarkdownParsingSubmode": { + "type": "string", + "enum": [ + "oneToMany", + "oneToOne" + ], + "x-ms-enum": { + "name": "MarkdownParsingSubmode", + "modelAsString": true, + "values": [ + { + "value": "oneToMany", + "name": "OneToMany", + "description": "Indicates that each section of the markdown file (up to a specified depth) will be parsed into individual search documents. This can result in a single markdown file producing multiple search documents. This is the default sub-mode." + }, + { + "value": "oneToOne", + "name": "OneToOne", + "description": "Indicates that each markdown file will be parsed into a single search document." + } + ] + }, + "default": "oneToMany", + "description": "Specifies the submode that will determine whether a markdown file will be parsed into exactly one search document or multiple search documents. Default is `oneToMany`." + }, + "MarkdownHeaderDepth": { + "type": "string", + "enum": [ + "h1", + "h2", + "h3", + "h4", + "h5", + "h6" + ], + "x-ms-enum": { + "name": "MarkdownHeaderDepth", + "modelAsString": true, + "values": [ + { + "value": "h1", + "name": "h1", + "description": "Indicates that headers up to a level of h1 will be considered while grouping markdown content." + }, + { + "value": "h2", + "name": "h2", + "description": "Indicates that headers up to a level of h2 will be considered while grouping markdown content." + }, + { + "value": "h3", + "name": "h3", + "description": "Indicates that headers up to a level of h3 will be considered while grouping markdown content." + }, + { + "value": "h4", + "name": "h4", + "description": "Indicates that headers up to a level of h4 will be considered while grouping markdown content." + }, + { + "value": "h5", + "name": "h5", + "description": "Indicates that headers up to a level of h5 will be considered while grouping markdown content." + }, + { + "value": "h6", + "name": "h6", + "description": "Indicates that headers up to a level of h6 will be considered while grouping markdown content. This is the default." + } + ] + }, + "default": "h6", + "description": "Specifies the max header depth that will be considered while grouping markdown content. Default is `h6`." + }, + "ExecutionEnvironment": { + "type": "string", + "enum": [ + "standard", + "private" + ], + "x-ms-enum": { + "name": "IndexerExecutionEnvironment", + "modelAsString": true, + "values": [ + { + "value": "standard", + "name": "standard", + "description": "Indicates that the search service can determine where the indexer should execute. This is the default environment when nothing is specified and is the recommended value." + }, + { + "value": "private", + "name": "private", + "description": "Indicates that the indexer should run with the environment provisioned specifically for the search service. This should only be specified as the execution environment if the indexer needs to access resources securely over shared private link resources." + } + ] + }, + "default": "standard", + "description": "Specifies the environment in which the indexer should execute." + }, + "FieldMappingFunction": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the field mapping function." + }, + "parameters": { + "type": "object", + "x-nullable": true, + "additionalProperties": true, + "description": "A dictionary of parameter name/value pairs to pass to the function. Each value must be of a primitive type." + } + }, + "required": [ + "name" + ], + "description": "Represents a function that transforms a value from a data source before indexing.", + "externalDocs": { + "url": "https://learn.microsoft.com/azure/search/search-indexer-field-mappings" + } + }, + "FieldMapping": { + "type": "object", + "properties": { + "sourceFieldName": { + "type": "string", + "description": "The name of the field in the data source." + }, + "targetFieldName": { + "type": "string", + "description": "The name of the target field in the index. Same as the source field name by default." + }, + "mappingFunction": { + "$ref": "#/definitions/FieldMappingFunction", + "x-nullable": true, + "description": "A function to apply to each source field value before indexing." + } + }, + "required": [ + "sourceFieldName" + ], + "description": "Defines a mapping between a field in a data source and a target field in an index.", + "externalDocs": { + "url": "https://learn.microsoft.com/azure/search/search-indexer-field-mappings" + } + }, + "SearchIndexer": { + "type": "object", + "properties": { + "name": { + "externalDocs": { + "url": "https://learn.microsoft.com/rest/api/searchservice/Naming-rules" + }, + "type": "string", + "description": "The name of the indexer." + }, + "description": { + "type": "string", + "description": "The description of the indexer." + }, + "dataSourceName": { + "type": "string", + "description": "The name of the datasource from which this indexer reads data." + }, + "skillsetName": { + "type": "string", + "description": "The name of the skillset executing with this indexer." + }, + "targetIndexName": { + "type": "string", + "description": "The name of the index to which this indexer writes data." + }, + "schedule": { + "$ref": "#/definitions/IndexingSchedule", + "x-nullable": true, + "description": "The schedule for this indexer." + }, + "parameters": { + "$ref": "#/definitions/IndexingParameters", + "x-nullable": true, + "description": "Parameters for indexer execution." + }, + "fieldMappings": { + "type": "array", + "items": { + "$ref": "#/definitions/FieldMapping" + }, + "description": "Defines mappings between fields in the data source and corresponding target fields in the index.", + "externalDocs": { + "url": "https://learn.microsoft.com/azure/search/search-indexer-field-mappings" + } + }, + "outputFieldMappings": { + "type": "array", + "items": { + "$ref": "#/definitions/FieldMapping" + }, + "description": "Output field mappings are applied after enrichment and immediately before indexing.", + "externalDocs": { + "url": "https://learn.microsoft.com/azure/search/search-indexer-field-mappings" + } + }, + "disabled": { + "x-ms-client-name": "IsDisabled", + "type": "boolean", + "default": false, + "x-nullable": true, + "description": "A value indicating whether the indexer is disabled. Default is false." + }, + "@odata.etag": { + "x-ms-client-name": "ETag", + "type": "string", + "description": "The ETag of the indexer." + }, + "encryptionKey": { + "$ref": "#/definitions/SearchResourceEncryptionKey", + "description": "A description of an encryption key that you create in Azure Key Vault. This key is used to provide an additional level of encryption-at-rest for your indexer definition (as well as indexer execution status) when you want full assurance that no one, not even Microsoft, can decrypt them. Once you have encrypted your indexer definition, it will always remain encrypted. The search service will ignore attempts to set this property to null. You can change this property as needed if you want to rotate your encryption key; Your indexer definition (and indexer execution status) will be unaffected. Encryption with customer-managed keys is not available for free search services, and is only available for paid services created on or after January 1, 2019.", + "externalDocs": { + "url": "https://aka.ms/azure-search-encryption-with-cmk" + }, + "x-nullable": true + }, + "cache": { + "$ref": "#/definitions/SearchIndexerCache", + "x-nullable": true, + "description": "Adds caching to an enrichment pipeline to allow for incremental modification steps without having to rebuild the index every time.", + "externalDocs": { + "url": "https://learn.microsoft.com/azure/search/search-howto-incremental-index" + } + } + }, + "required": [ + "name", + "dataSourceName", + "targetIndexName" + ], + "externalDocs": { + "url": "https://learn.microsoft.com/rest/api/searchservice/Indexer-operations" + }, + "description": "Represents an indexer." + }, + "ListIndexersResult": { + "type": "object", + "properties": { + "value": { + "x-ms-client-name": "Indexers", + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/SearchIndexer" + }, + "description": "The indexers in the Search service." + } + }, + "required": [ + "value" + ], + "description": "Response from a List Indexers request. If successful, it includes the full definitions of all indexers." + }, + "SearchIndexerError": { + "type": "object", + "properties": { + "key": { + "type": "string", + "readOnly": true, + "description": "The key of the item for which indexing failed." + }, + "errorMessage": { + "type": "string", + "readOnly": true, + "description": "The message describing the error that occurred while processing the item." + }, + "statusCode": { + "type": "integer", + "format": "int32", + "x-nullable": false, + "readOnly": true, + "description": "The status code indicating why the indexing operation failed. Possible values include: 400 for a malformed input document, 404 for document not found, 409 for a version conflict, 422 when the index is temporarily unavailable, or 503 for when the service is too busy." + }, + "name": { + "type": "string", + "readOnly": true, + "description": "The name of the source at which the error originated. For example, this could refer to a particular skill in the attached skillset. This may not be always available." + }, + "details": { + "type": "string", + "readOnly": true, + "description": "Additional, verbose details about the error to assist in debugging the indexer. This may not be always available." + }, + "documentationLink": { + "type": "string", + "readOnly": true, + "description": "A link to a troubleshooting guide for these classes of errors. This may not be always available." + } + }, + "required": [ + "errorMessage", + "statusCode" + ], + "description": "Represents an item- or document-level indexing error." + }, + "SearchIndexerWarning": { + "type": "object", + "properties": { + "key": { + "type": "string", + "readOnly": true, + "description": "The key of the item which generated a warning." + }, + "message": { + "type": "string", + "readOnly": true, + "description": "The message describing the warning that occurred while processing the item." + }, + "name": { + "type": "string", + "readOnly": true, + "description": "The name of the source at which the warning originated. For example, this could refer to a particular skill in the attached skillset. This may not be always available." + }, + "details": { + "type": "string", + "readOnly": true, + "description": "Additional, verbose details about the warning to assist in debugging the indexer. This may not be always available." + }, + "documentationLink": { + "type": "string", + "readOnly": true, + "description": "A link to a troubleshooting guide for these classes of warnings. This may not be always available." + } + }, + "required": [ + "message" + ], + "description": "Represents an item-level warning." + }, + "IndexerExecutionResult": { + "type": "object", + "properties": { + "status": { + "$ref": "#/definitions/IndexerExecutionStatus", + "readOnly": true, + "description": "The outcome of this indexer execution." + }, + "statusDetail": { + "$ref": "#/definitions/IndexerExecutionStatusDetail", + "readOnly": true, + "description": "The outcome of this indexer execution." + }, + "mode": { + "$ref": "#/definitions/IndexingMode", + "readOnly": true, + "description": "The mode the indexer is running in." + }, + "errorMessage": { + "type": "string", + "readOnly": true, + "description": "The error message indicating the top-level error, if any." + }, + "startTime": { + "type": "string", + "format": "date-time", + "readOnly": true, + "description": "The start time of this indexer execution." + }, + "endTime": { + "type": "string", + "format": "date-time", + "readOnly": true, + "x-nullable": true, + "description": "The end time of this indexer execution, if the execution has already completed." + }, + "errors": { + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/SearchIndexerError" + }, + "description": "The item-level indexing errors." + }, + "warnings": { + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/SearchIndexerWarning" + }, + "description": "The item-level indexing warnings." + }, + "itemsProcessed": { + "x-ms-client-name": "ItemCount", + "type": "integer", + "format": "int32", + "x-nullable": false, + "readOnly": true, + "description": "The number of items that were processed during this indexer execution. This includes both successfully processed items and items where indexing was attempted but failed." + }, + "itemsFailed": { + "x-ms-client-name": "FailedItemCount", + "type": "integer", + "format": "int32", + "x-nullable": false, + "readOnly": true, + "description": "The number of items that failed to be indexed during this indexer execution." + }, + "initialTrackingState": { + "type": "string", + "readOnly": true, + "description": "Change tracking state with which an indexer execution started." + }, + "finalTrackingState": { + "type": "string", + "readOnly": true, + "description": "Change tracking state with which an indexer execution finished." + } + }, + "required": [ + "status", + "errors", + "warnings", + "itemsProcessed", + "itemsFailed" + ], + "description": "Represents the result of an individual indexer execution." + }, + "IndexerExecutionStatus": { + "type": "string", + "enum": [ + "transientFailure", + "success", + "inProgress", + "reset" + ], + "x-ms-enum": { + "name": "IndexerExecutionStatus", + "modelAsString": false, + "values": [ + { + "value": "transientFailure", + "name": "TransientFailure", + "description": "An indexer invocation has failed, but the failure may be transient. Indexer invocations will continue per schedule." + }, + { + "value": "success", + "name": "Success", + "description": "Indexer execution completed successfully." + }, + { + "value": "inProgress", + "name": "InProgress", + "description": "Indexer execution is in progress." + }, + { + "value": "reset", + "name": "Reset", + "description": "Indexer has been reset." + } + ] + }, + "x-nullable": false, + "description": "Represents the status of an individual indexer execution." + }, + "SearchIndexerStatus": { + "type": "object", + "properties": { + "name": { + "type": "string", + "readOnly": true, + "description": "The name of the indexer." + }, + "status": { + "$ref": "#/definitions/IndexerStatus", + "readOnly": true, + "description": "Overall indexer status." + }, + "runtime": { + "$ref": "#/definitions/IndexerRuntime", + "readOnly": true, + "description": "Snapshot of the indexer’s cumulative runtime consumption for the service over the current UTC period." + }, + "lastResult": { + "$ref": "#/definitions/IndexerExecutionResult", + "readOnly": true, + "description": "The result of the most recent or an in-progress indexer execution." + }, + "executionHistory": { + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/IndexerExecutionResult" + }, + "description": "History of the recent indexer executions, sorted in reverse chronological order." + }, + "limits": { + "$ref": "#/definitions/SearchIndexerLimits", + "readOnly": true, + "description": "The execution limits for the indexer." + }, + "currentState": { + "$ref": "#/definitions/IndexerCurrentState", + "readOnly": true, + "description": "All of the state that defines and dictates the indexer's current execution." + } + }, + "required": [ + "name", + "status", + "runtime", + "executionHistory", + "limits" + ], + "description": "Represents the current status and execution history of an indexer." + }, + "IndexerStatus": { + "type": "string", + "enum": [ + "unknown", + "error", + "running" + ], + "x-ms-enum": { + "name": "IndexerStatus", + "modelAsString": false, + "values": [ + { + "value": "unknown", + "name": "Unknown", + "description": "Indicates that the indexer is in an unknown state." + }, + { + "value": "error", + "name": "Error", + "description": "Indicates that the indexer experienced an error that cannot be corrected without human intervention." + }, + { + "value": "running", + "name": "Running", + "description": "Indicates that the indexer is running normally." + } + ] + }, + "x-nullable": false, + "description": "Represents the overall indexer status." + }, + "IndexerRuntime": { + "type": "object", + "properties": { + "usedSeconds": { + "type": "integer", + "format": "int64", + "x-nullable": false, + "description": "Cumulative runtime of the indexer from the beginningTime to endingTime, in seconds." + }, + "remainingSeconds": { + "type": "integer", + "format": "int64", + "x-nullable": true, + "description": "Cumulative runtime remaining for all indexers in the service from the beginningTime to endingTime, in seconds." + }, + "beginningTime": { + "type": "string", + "format": "date-time", + "x-nullable": false, + "description": "Beginning UTC time of the 24-hour period considered for indexer runtime usage (inclusive)." + }, + "endingTime": { + "type": "string", + "format": "date-time", + "x-nullable": false, + "description": "End UTC time of the 24-hour period considered for indexer runtime usage (inclusive)." + } + }, + "required": [ + "usedSeconds", + "beginningTime", + "endingTime" + ], + "description": "Represents the indexer's cumulative runtime consumption in the service." + }, + "IndexerExecutionStatusDetail": { + "type": "string", + "enum": [ + "resetDocs", + "resync" + ], + "x-ms-enum": { + "name": "IndexerExecutionStatusDetail", + "modelAsString": true, + "values": [ + { + "value": "resetDocs", + "name": "ResetDocs", + "description": "Indicates that the reset that occurred was for a call to ResetDocs." + }, + { + "value": "resync", + "name": "Resync", + "description": "Indicates to selectively resync based on option(s) from data source." + } + ] + }, + "description": "Details the status of an individual indexer execution." + }, + "IndexerCurrentState": { + "type": "object", + "properties": { + "mode": { + "$ref": "#/definitions/IndexingMode", + "readOnly": true, + "description": "The mode the indexer is running in." + }, + "allDocsInitialTrackingState": { + "type": "string", + "readOnly": true, + "description": "Change tracking state used when indexing starts on all documents in the datasource." + }, + "allDocsFinalTrackingState": { + "type": "string", + "readOnly": true, + "description": "Change tracking state value when indexing finishes on all documents in the datasource." + }, + "resetDocsInitialTrackingState": { + "type": "string", + "readOnly": true, + "description": "Change tracking state used when indexing starts on select, reset documents in the datasource." + }, + "resetDocsFinalTrackingState": { + "type": "string", + "readOnly": true, + "description": "Change tracking state value when indexing finishes on select, reset documents in the datasource." + }, + "resetDocumentKeys": { + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true, + "description": "The list of document keys that have been reset. The document key is the document's unique identifier for the data in the search index. The indexer will prioritize selectively re-ingesting these keys." + }, + "resetDatasourceDocumentIds": { + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true, + "description": "The list of datasource document ids that have been reset. The datasource document id is the unique identifier for the data in the datasource. The indexer will prioritize selectively re-ingesting these ids." + }, + "resyncInitialTrackingState": { + "type": "string", + "readOnly": true, + "description": "Change tracking state used when indexing starts on selective options from the datasource." + }, + "resyncFinalTrackingState": { + "type": "string", + "readOnly": true, + "description": "Change tracking state value when indexing finishes on selective options from the datasource." + } + }, + "description": "Represents all of the state that defines and dictates the indexer's current execution." + }, + "IndexingMode": { + "type": "string", + "enum": [ + "indexingAllDocs", + "indexingResetDocs", + "indexingResync" + ], + "x-ms-enum": { + "name": "IndexingMode", + "modelAsString": true, + "values": [ + { + "value": "indexingAllDocs", + "name": "IndexingAllDocs", + "description": "The indexer is indexing all documents in the datasource." + }, + { + "value": "indexingResetDocs", + "name": "indexingResetDocs", + "description": "The indexer is indexing selective, reset documents in the datasource. The documents being indexed are defined on indexer status." + }, + { + "value": "indexingResync", + "name": "IndexingResync", + "description": "The indexer is resyncing and indexing selective option(s) from the datasource." + } + ] + }, + "x-nullable": false, + "description": "Represents the mode the indexer is executing in." + }, + "SearchIndexerLimits": { + "type": "object", + "properties": { + "maxRunTime": { + "type": "string", + "format": "duration", + "readOnly": true, + "description": "The maximum duration that the indexer is permitted to run for one execution." + }, + "maxDocumentExtractionSize": { + "type": "number", + "format": "int64", + "readOnly": true, + "description": "The maximum size of a document, in bytes, which will be considered valid for indexing." + }, + "maxDocumentContentCharactersToExtract": { + "type": "number", + "format": "int64", + "readOnly": true, + "description": "The maximum number of characters that will be extracted from a document picked up for indexing." + } + } + }, + "SearchField": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the field, which must be unique within the fields collection of the index or parent field.", + "externalDocs": { + "url": "https://learn.microsoft.com/rest/api/searchservice/Naming-rules" + } + }, + "type": { + "$ref": "#/definitions/SearchFieldDataType", + "description": "The data type of the field.", + "externalDocs": { + "url": "https://learn.microsoft.com/rest/api/searchservice/supported-data-types" + } + }, + "key": { + "type": "boolean", + "description": "A value indicating whether the field uniquely identifies documents in the index. Exactly one top-level field in each index must be chosen as the key field and it must be of type Edm.String. Key fields can be used to look up documents directly and update or delete specific documents. Default is false for simple fields and null for complex fields." + }, + "retrievable": { + "type": "boolean", + "description": "A value indicating whether the field can be returned in a search result. You can disable this option if you want to use a field (for example, margin) as a filter, sorting, or scoring mechanism but do not want the field to be visible to the end user. This property must be true for key fields, and it must be null for complex fields. This property can be changed on existing fields. Enabling this property does not cause any increase in index storage requirements. Default is true for simple fields, false for vector fields, and null for complex fields." + }, + "stored": { + "type": "boolean", + "description": "An immutable value indicating whether the field will be persisted separately on disk to be returned in a search result. You can disable this option if you don't plan to return the field contents in a search response to save on storage overhead. This can only be set during index creation and only for vector fields. This property cannot be changed for existing fields or set as false for new fields. If this property is set as false, the property 'retrievable' must also be set to false. This property must be true or unset for key fields, for new fields, and for non-vector fields, and it must be null for complex fields. Disabling this property will reduce index storage requirements. The default is true for vector fields." + }, + "searchable": { + "type": "boolean", + "description": "A value indicating whether the field is full-text searchable. This means it will undergo analysis such as word-breaking during indexing. If you set a searchable field to a value like \"sunny day\", internally it will be split into the individual tokens \"sunny\" and \"day\". This enables full-text searches for these terms. Fields of type Edm.String or Collection(Edm.String) are searchable by default. This property must be false for simple fields of other non-string data types, and it must be null for complex fields. Note: searchable fields consume extra space in your index to accommodate additional tokenized versions of the field value for full-text searches. If you want to save space in your index and you don't need a field to be included in searches, set searchable to false." + }, + "filterable": { + "type": "boolean", + "description": "A value indicating whether to enable the field to be referenced in $filter queries. filterable differs from searchable in how strings are handled. Fields of type Edm.String or Collection(Edm.String) that are filterable do not undergo word-breaking, so comparisons are for exact matches only. For example, if you set such a field f to \"sunny day\", $filter=f eq 'sunny' will find no matches, but $filter=f eq 'sunny day' will. This property must be null for complex fields. Default is true for simple fields and null for complex fields." + }, + "sortable": { + "type": "boolean", + "description": "A value indicating whether to enable the field to be referenced in $orderby expressions. By default, the search engine sorts results by score, but in many experiences users will want to sort by fields in the documents. A simple field can be sortable only if it is single-valued (it has a single value in the scope of the parent document). Simple collection fields cannot be sortable, since they are multi-valued. Simple sub-fields of complex collections are also multi-valued, and therefore cannot be sortable. This is true whether it's an immediate parent field, or an ancestor field, that's the complex collection. Complex fields cannot be sortable and the sortable property must be null for such fields. The default for sortable is true for single-valued simple fields, false for multi-valued simple fields, and null for complex fields." + }, + "facetable": { + "type": "boolean", + "description": "A value indicating whether to enable the field to be referenced in facet queries. Typically used in a presentation of search results that includes hit count by category (for example, search for digital cameras and see hits by brand, by megapixels, by price, and so on). This property must be null for complex fields. Fields of type Edm.GeographyPoint or Collection(Edm.GeographyPoint) cannot be facetable. Default is true for all other simple fields." + }, + "permissionFilter": { + "type": "string", + "enum": [ + "userIds", + "groupIds", + "rbacScope" + ], + "description": "A value indicating whether the field should be used as a permission filter.", + "x-nullable": true, + "x-ms-enum": { + "name": "PermissionFilter", + "modelAsString": true, + "values": [ + { + "value": "userIds", + "name": "UserIds", + "description": "Field represents user IDs that should be used to filter document access on queries." + }, + { + "value": "groupIds", + "name": "GroupIds", + "description": "Field represents group IDs that should be used to filter document access on queries." + }, + { + "value": "rbacScope", + "name": "RbacScope", + "description": "Field represents an RBAC scope that should be used to filter document access on queries." + } + ] + } + }, + "sensitivityLabel": { + "type": "boolean", + "description": "A value indicating whether the field should be used for sensitivity label filtering. This enables document-level filtering based on Microsoft Purview sensitivity labels.", + "x-nullable": true + }, + "analyzer": { + "externalDocs": { + "url": "https://learn.microsoft.com/rest/api/searchservice/Language-support" + }, + "$ref": "#/definitions/LexicalAnalyzerName", + "description": "The name of the analyzer to use for the field. This option can be used only with searchable fields and it can't be set together with either searchAnalyzer or indexAnalyzer. Once the analyzer is chosen, it cannot be changed for the field. Must be null for complex fields.", + "x-nullable": true + }, + "searchAnalyzer": { + "externalDocs": { + "url": "https://learn.microsoft.com/rest/api/searchservice/Language-support" + }, + "$ref": "#/definitions/LexicalAnalyzerName", + "description": "The name of the analyzer used at search time for the field. This option can be used only with searchable fields. It must be set together with indexAnalyzer and it cannot be set together with the analyzer option. This property cannot be set to the name of a language analyzer; use the analyzer property instead if you need a language analyzer. This analyzer can be updated on an existing field. Must be null for complex fields.", + "x-nullable": true + }, + "indexAnalyzer": { + "externalDocs": { + "url": "https://learn.microsoft.com/rest/api/searchservice/Language-support" + }, + "$ref": "#/definitions/LexicalAnalyzerName", + "description": "The name of the analyzer used at indexing time for the field. This option can be used only with searchable fields. It must be set together with searchAnalyzer and it cannot be set together with the analyzer option. This property cannot be set to the name of a language analyzer; use the analyzer property instead if you need a language analyzer. Once the analyzer is chosen, it cannot be changed for the field. Must be null for complex fields.", + "x-nullable": true + }, + "normalizer": { + "externalDocs": { + "url": "https://aka.ms/azs-normalizers" + }, + "$ref": "#/definitions/LexicalNormalizerName", + "description": "The name of the normalizer to use for the field. This option can be used only with fields with filterable, sortable, or facetable enabled. Once the normalizer is chosen, it cannot be changed for the field. Must be null for complex fields.", + "x-nullable": true + }, + "dimensions": { + "x-ms-client-name": "vectorSearchDimensions", + "type": "integer", + "format": "int32", + "x-nullable": true, + "minimum": 2, + "maximum": 4096, + "description": "The dimensionality of the vector field." + }, + "vectorSearchProfile": { + "x-ms-client-name": "vectorSearchProfileName", + "type": "string", + "x-nullable": true, + "description": "The name of the vector search profile that specifies the algorithm and vectorizer to use when searching the vector field." + }, + "vectorEncoding": { + "x-ms-client-name": "VectorEncodingFormat", + "$ref": "#/definitions/VectorEncodingFormat", + "description": "The encoding format to interpret the field contents.", + "x-nullable": true + }, + "synonymMaps": { + "externalDocs": { + "url": "https://learn.microsoft.com/rest/api/searchservice/Synonym-Map-operations" + }, + "type": "array", + "items": { + "type": "string" + }, + "description": "A list of the names of synonym maps to associate with this field. This option can be used only with searchable fields. Currently only one synonym map per field is supported. Assigning a synonym map to a field ensures that query terms targeting that field are expanded at query-time using the rules in the synonym map. This attribute can be changed on existing fields. Must be null or an empty collection for complex fields." + }, + "fields": { + "type": "array", + "items": { + "$ref": "#/definitions/SearchField" + }, + "description": "A list of sub-fields if this is a field of type Edm.ComplexType or Collection(Edm.ComplexType). Must be null or empty for simple fields." + } + }, + "required": [ + "name", + "type" + ], + "externalDocs": { + "url": "https://learn.microsoft.com/rest/api/searchservice/Create-Index" + }, + "description": "Represents a field in an index definition, which describes the name, data type, and search behavior of a field." + }, + "TextWeights": { + "type": "object", + "properties": { + "weights": { + "type": "object", + "additionalProperties": { + "type": "number", + "format": "double", + "x-nullable": false + }, + "description": "The dictionary of per-field weights to boost document scoring. The keys are field names and the values are the weights for each field." + } + }, + "required": [ + "weights" + ], + "description": "Defines weights on index fields for which matches should boost scoring in search queries." + }, + "ScoringFunction": { + "type": "object", + "discriminator": "type", + "properties": { + "type": { + "type": "string", + "description": "Indicates the type of function to use. Valid values include magnitude, freshness, distance, and tag. The function type must be lower case." + }, + "fieldName": { + "type": "string", + "description": "The name of the field used as input to the scoring function." + }, + "boost": { + "type": "number", + "format": "double", + "description": "A multiplier for the raw score. Must be a positive number not equal to 1.0." + }, + "interpolation": { + "$ref": "#/definitions/ScoringFunctionInterpolation", + "description": "A value indicating how boosting will be interpolated across document scores; defaults to \"Linear\"." + } + }, + "required": [ + "type", + "fieldName", + "boost" + ], + "externalDocs": { + "url": "https://learn.microsoft.com/rest/api/searchservice/Add-scoring-profiles-to-a-search-index" + }, + "description": "Base type for functions that can modify document scores during ranking." + }, + "DistanceScoringFunction": { + "type": "object", + "x-ms-discriminator-value": "distance", + "allOf": [ + { + "$ref": "#/definitions/ScoringFunction" + } + ], + "properties": { + "distance": { + "x-ms-client-name": "Parameters", + "$ref": "#/definitions/DistanceScoringParameters", + "description": "Parameter values for the distance scoring function." + } + }, + "required": [ + "distance" + ], + "externalDocs": { + "url": "https://learn.microsoft.com/rest/api/searchservice/Add-scoring-profiles-to-a-search-index" + }, + "description": "Defines a function that boosts scores based on distance from a geographic location." + }, + "DistanceScoringParameters": { + "type": "object", + "properties": { + "referencePointParameter": { + "type": "string", + "description": "The name of the parameter passed in search queries to specify the reference location." + }, + "boostingDistance": { + "type": "number", + "format": "double", + "description": "The distance in kilometers from the reference location where the boosting range ends." + } + }, + "required": [ + "referencePointParameter", + "boostingDistance" + ], + "description": "Provides parameter values to a distance scoring function." + }, + "FreshnessScoringFunction": { + "type": "object", + "x-ms-discriminator-value": "freshness", + "allOf": [ + { + "$ref": "#/definitions/ScoringFunction" + } + ], + "properties": { + "freshness": { + "x-ms-client-name": "Parameters", + "$ref": "#/definitions/FreshnessScoringParameters", + "description": "Parameter values for the freshness scoring function." + } + }, + "required": [ + "freshness" + ], + "externalDocs": { + "url": "https://learn.microsoft.com/rest/api/searchservice/Add-scoring-profiles-to-a-search-index" + }, + "description": "Defines a function that boosts scores based on the value of a date-time field." + }, + "FreshnessScoringParameters": { + "type": "object", + "properties": { + "boostingDuration": { + "type": "string", + "format": "duration", + "description": "The expiration period after which boosting will stop for a particular document." + } + }, + "required": [ + "boostingDuration" + ], + "description": "Provides parameter values to a freshness scoring function." + }, + "MagnitudeScoringFunction": { + "type": "object", + "x-ms-discriminator-value": "magnitude", + "allOf": [ + { + "$ref": "#/definitions/ScoringFunction" + } + ], + "properties": { + "magnitude": { + "x-ms-client-name": "Parameters", + "$ref": "#/definitions/MagnitudeScoringParameters", + "description": "Parameter values for the magnitude scoring function." + } + }, + "required": [ + "magnitude" + ], + "externalDocs": { + "url": "https://learn.microsoft.com/rest/api/searchservice/Add-scoring-profiles-to-a-search-index" + }, + "description": "Defines a function that boosts scores based on the magnitude of a numeric field." + }, + "MagnitudeScoringParameters": { + "type": "object", + "properties": { + "boostingRangeStart": { + "type": "number", + "format": "double", + "description": "The field value at which boosting starts." + }, + "boostingRangeEnd": { + "type": "number", + "format": "double", + "description": "The field value at which boosting ends." + }, + "constantBoostBeyondRange": { + "x-ms-client-name": "ShouldBoostBeyondRangeByConstant", + "type": "boolean", + "description": "A value indicating whether to apply a constant boost for field values beyond the range end value; default is false." + } + }, + "required": [ + "boostingRangeStart", + "boostingRangeEnd" + ], + "description": "Provides parameter values to a magnitude scoring function." + }, + "TagScoringFunction": { + "type": "object", + "x-ms-discriminator-value": "tag", + "allOf": [ + { + "$ref": "#/definitions/ScoringFunction" + } + ], + "properties": { + "tag": { + "x-ms-client-name": "Parameters", + "$ref": "#/definitions/TagScoringParameters", + "description": "Parameter values for the tag scoring function." + } + }, + "required": [ + "tag" + ], + "externalDocs": { + "url": "https://learn.microsoft.com/rest/api/searchservice/Add-scoring-profiles-to-a-search-index" + }, + "description": "Defines a function that boosts scores of documents with string values matching a given list of tags." + }, + "TagScoringParameters": { + "type": "object", + "properties": { + "tagsParameter": { + "type": "string", + "description": "The name of the parameter passed in search queries to specify the list of tags to compare against the target field." + } + }, + "required": [ + "tagsParameter" + ], + "description": "Provides parameter values to a tag scoring function." + }, + "ScoringFunctionInterpolation": { + "type": "string", + "enum": [ + "linear", + "constant", + "quadratic", + "logarithmic" + ], + "x-ms-enum": { + "name": "ScoringFunctionInterpolation", + "modelAsString": false, + "values": [ + { + "value": "linear", + "name": "Linear", + "description": "Boosts scores by a linearly decreasing amount. This is the default interpolation for scoring functions." + }, + { + "value": "constant", + "name": "Constant", + "description": "Boosts scores by a constant factor." + }, + { + "value": "quadratic", + "name": "Quadratic", + "description": "Boosts scores by an amount that decreases quadratically. Boosts decrease slowly for higher scores, and more quickly as the scores decrease. This interpolation option is not allowed in tag scoring functions." + }, + { + "value": "logarithmic", + "name": "Logarithmic", + "description": "Boosts scores by an amount that decreases logarithmically. Boosts decrease quickly for higher scores, and more slowly as the scores decrease. This interpolation option is not allowed in tag scoring functions." + } + ] + }, + "description": "Defines the function used to interpolate score boosting across a range of documents." + }, + "ScoringProfile": { + "type": "object", + "properties": { + "name": { + "externalDocs": { + "url": "https://learn.microsoft.com/rest/api/searchservice/Naming-rules" + }, + "type": "string", + "description": "The name of the scoring profile." + }, + "text": { + "x-ms-client-name": "TextWeights", + "$ref": "#/definitions/TextWeights", + "description": "Parameters that boost scoring based on text matches in certain index fields.", + "x-nullable": true + }, + "functions": { + "type": "array", + "items": { + "$ref": "#/definitions/ScoringFunction" + }, + "description": "The collection of functions that influence the scoring of documents." + }, + "functionAggregation": { + "$ref": "#/definitions/ScoringFunctionAggregation", + "description": "A value indicating how the results of individual scoring functions should be combined. Defaults to \"Sum\". Ignored if there are no scoring functions." + } + }, + "required": [ + "name" + ], + "externalDocs": { + "url": "https://learn.microsoft.com/rest/api/searchservice/Add-scoring-profiles-to-a-search-index" + }, + "description": "Defines parameters for a search index that influence scoring in search queries." + }, + "ScoringFunctionAggregation": { + "type": "string", + "enum": [ + "sum", + "average", + "minimum", + "maximum", + "firstMatching", + "product" + ], + "x-ms-enum": { + "name": "ScoringFunctionAggregation", + "modelAsString": false, + "values": [ + { + "value": "sum", + "name": "Sum", + "description": "Boost scores by the sum of all scoring function results." + }, + { + "value": "average", + "name": "Average", + "description": "Boost scores by the average of all scoring function results." + }, + { + "value": "minimum", + "name": "Minimum", + "description": "Boost scores by the minimum of all scoring function results." + }, + { + "value": "maximum", + "name": "Maximum", + "description": "Boost scores by the maximum of all scoring function results." + }, + { + "value": "firstMatching", + "name": "FirstMatching", + "description": "Boost scores using the first applicable scoring function in the scoring profile." + }, + { + "value": "product", + "name": "Product", + "description": "Boost scores by the product of all scoring function results." + } + ] + }, + "description": "Defines the aggregation function used to combine the results of all the scoring functions in a scoring profile." + }, + "CorsOptions": { + "type": "object", + "properties": { + "allowedOrigins": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The list of origins from which JavaScript code will be granted access to your index. Can contain a list of hosts of the form {protocol}://{fully-qualified-domain-name}[:{port#}], or a single '*' to allow all origins (not recommended)." + }, + "maxAgeInSeconds": { + "type": "integer", + "format": "int64", + "description": "The duration for which browsers should cache CORS preflight responses. Defaults to 5 minutes.", + "x-nullable": true + } + }, + "required": [ + "allowedOrigins" + ], + "externalDocs": { + "url": "https://learn.microsoft.com/rest/api/searchservice/Create-Index" + }, + "description": "Defines options to control Cross-Origin Resource Sharing (CORS) for an index." + }, + "Suggester": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the suggester." + }, + "searchMode": { + "type": "string", + "enum": [ + "analyzingInfixMatching" + ], + "x-ms-enum": { + "name": "SuggesterSearchMode", + "modelAsString": false, + "values": [ + { + "value": "analyzingInfixMatching", + "name": "AnalyzingInfixMatching", + "description": "Matches consecutive whole terms and prefixes in a field. For example, for the field 'The fastest brown fox', the queries 'fast' and 'fastest brow' would both match." + } + ] + }, + "description": "A value indicating the capabilities of the suggester." + }, + "sourceFields": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The list of field names to which the suggester applies. Each field must be searchable." + } + }, + "required": [ + "name", + "searchMode", + "sourceFields" + ], + "description": "Defines how the Suggest API should apply to a group of fields in the index." + }, + "SearchIndex": { + "type": "object", + "properties": { + "name": { + "externalDocs": { + "url": "https://learn.microsoft.com/rest/api/searchservice/Naming-rules" + }, + "type": "string", + "description": "The name of the index." + }, + "description": { + "type": "string", + "description": "The description of the index." + }, + "fields": { + "type": "array", + "items": { + "$ref": "#/definitions/SearchField" + }, + "description": "The fields of the index." + }, + "scoringProfiles": { + "type": "array", + "items": { + "$ref": "#/definitions/ScoringProfile" + }, + "description": "The scoring profiles for the index." + }, + "defaultScoringProfile": { + "type": "string", + "description": "The name of the scoring profile to use if none is specified in the query. If this property is not set and no scoring profile is specified in the query, then default scoring (tf-idf) will be used." + }, + "corsOptions": { + "$ref": "#/definitions/CorsOptions", + "description": "Options to control Cross-Origin Resource Sharing (CORS) for the index.", + "x-nullable": true + }, + "suggesters": { + "type": "array", + "items": { + "$ref": "#/definitions/Suggester" + }, + "description": "The suggesters for the index." + }, + "analyzers": { + "type": "array", + "items": { + "$ref": "#/definitions/LexicalAnalyzer" + }, + "description": "The analyzers for the index.", + "externalDocs": { + "url": "https://learn.microsoft.com/rest/api/searchservice/Custom-analyzers-in-Azure-Search" + } + }, + "tokenizers": { + "type": "array", + "items": { + "$ref": "#/definitions/LexicalTokenizer" + }, + "description": "The tokenizers for the index.", + "externalDocs": { + "url": "https://learn.microsoft.com/rest/api/searchservice/Custom-analyzers-in-Azure-Search" + } + }, + "tokenFilters": { + "type": "array", + "items": { + "$ref": "#/definitions/TokenFilter" + }, + "description": "The token filters for the index.", + "externalDocs": { + "url": "https://learn.microsoft.com/rest/api/searchservice/Custom-analyzers-in-Azure-Search" + } + }, + "charFilters": { + "type": "array", + "items": { + "$ref": "#/definitions/CharFilter" + }, + "description": "The character filters for the index.", + "externalDocs": { + "url": "https://learn.microsoft.com/rest/api/searchservice/Custom-analyzers-in-Azure-Search" + } + }, + "normalizers": { + "type": "array", + "items": { + "$ref": "#/definitions/LexicalNormalizer" + }, + "description": "The normalizers for the index.", + "externalDocs": { + "url": "https://aka.ms/azs-custom-normalizers" + } + }, + "encryptionKey": { + "$ref": "#/definitions/SearchResourceEncryptionKey", + "description": "A description of an encryption key that you create in Azure Key Vault. This key is used to provide an additional level of encryption-at-rest for your data when you want full assurance that no one, not even Microsoft, can decrypt your data. Once you have encrypted your data, it will always remain encrypted. The search service will ignore attempts to set this property to null. You can change this property as needed if you want to rotate your encryption key; Your data will be unaffected. Encryption with customer-managed keys is not available for free search services, and is only available for paid services created on or after January 1, 2019.", + "externalDocs": { + "url": "https://aka.ms/azure-search-encryption-with-cmk" + }, + "x-nullable": true + }, + "similarity": { + "$ref": "#/definitions/Similarity", + "description": "The type of similarity algorithm to be used when scoring and ranking the documents matching a search query. The similarity algorithm can only be defined at index creation time and cannot be modified on existing indexes. If null, the ClassicSimilarity algorithm is used.", + "externalDocs": { + "url": "https://learn.microsoft.com/azure/search/index-ranking-similarity" + } + }, + "semantic": { + "$ref": "#/definitions/SemanticSettings", + "description": "Defines parameters for a search index that influence semantic capabilities.", + "externalDocs": { + "url": "https://learn.microsoft.com/azure/search/semantic-search-overview" + }, + "x-ms-client-name": "SemanticSearch", + "x-nullable": true + }, + "vectorSearch": { + "$ref": "#/definitions/VectorSearch", + "description": "Contains configuration options related to vector search.", + "x-ms-client-name": "VectorSearch", + "x-nullable": true + }, + "permissionFilterOption": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ], + "description": "A value indicating whether permission filtering is enabled for the index.", + "x-nullable": true, + "x-ms-enum": { + "name": "SearchIndexPermissionFilterOption", + "modelAsString": true + } + }, + "purviewEnabled": { + "type": "boolean", + "description": "A value indicating whether the index is leveraging Purview-specific features. This property defaults to false and cannot be changed after index creation.", + "x-nullable": true + }, + "@odata.etag": { + "x-ms-client-name": "ETag", + "type": "string", + "description": "The ETag of the index." + } + }, + "required": [ + "name", + "fields" + ], + "description": "Represents a search index definition, which describes the fields and search behavior of an index." + }, + "SearchAlias": { + "type": "object", + "properties": { + "name": { + "externalDocs": { + "url": "https://learn.microsoft.com/rest/api/searchservice/Naming-rules" + }, + "type": "string", + "description": "The name of the alias." + }, + "indexes": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The name of the index this alias maps to. Only one index name may be specified." + }, + "@odata.etag": { + "x-ms-client-name": "ETag", + "type": "string", + "description": "The ETag of the alias." + } + }, + "required": [ + "name", + "indexes" + ], + "description": "Represents an index alias, which describes a mapping from the alias name to an index. The alias name can be used in place of the index name for supported operations." + }, + "GetIndexStatisticsResult": { + "type": "object", + "properties": { + "documentCount": { + "type": "integer", + "format": "int64", + "x-nullable": false, + "readOnly": true, + "description": "The number of documents in the index." + }, + "storageSize": { + "type": "integer", + "format": "int64", + "x-nullable": false, + "readOnly": true, + "description": "The amount of storage in bytes consumed by the index." + }, + "vectorIndexSize": { + "type": "integer", + "format": "int64", + "readOnly": true, + "description": "The amount of memory in bytes consumed by vectors in the index." + } + }, + "required": [ + "documentCount", + "storageSize", + "vectorIndexSize" + ], + "description": "Statistics for a given index. Statistics are collected periodically and are not guaranteed to always be up-to-date." + }, + "ListIndexStatsSummary": { + "type": "object", + "properties": { + "value": { + "x-ms-client-name": "IndexesStatistics", + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/IndexStatisticsSummary" + }, + "description": "The Statistics summary of all indexes in the Search service." + } + }, + "required": [ + "value" + ], + "description": "Response from a request to retrieve stats summary of all indexes. If successful, it includes the stats of each index in the service." + }, + "IndexStatisticsSummary": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the index." + }, + "documentCount": { + "type": "integer", + "format": "int64", + "x-nullable": false, + "readOnly": true, + "description": "The number of documents in the index." + }, + "storageSize": { + "type": "integer", + "format": "int64", + "x-nullable": false, + "readOnly": true, + "description": "The amount of storage in bytes consumed by the index." + }, + "vectorIndexSize": { + "type": "integer", + "format": "int64", + "readOnly": true, + "description": "The amount of memory in bytes consumed by vectors in the index." + } + }, + "required": [ + "name", + "documentCount", + "storageSize", + "vectorIndexSize" + ], + "description": "Statistics for a given index. Statistics are collected periodically and are not guaranteed to always be up-to-date." + }, + "ListIndexesResult": { + "type": "object", + "properties": { + "value": { + "x-ms-client-name": "Indexes", + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/SearchIndex" + }, + "description": "The indexes in the Search service." + } + }, + "required": [ + "value" + ], + "description": "Response from a List Indexes request. If successful, it includes the full definitions of all indexes." + }, + "ListAliasesResult": { + "type": "object", + "properties": { + "value": { + "x-ms-client-name": "Aliases", + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/SearchAlias" + }, + "description": "The aliases in the Search service." + } + }, + "required": [ + "value" + ], + "description": "Response from a List Aliases request. If successful, it includes the associated index mappings for all aliases." + }, + "SearchIndexerSkillset": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the skillset." + }, + "description": { + "type": "string", + "description": "The description of the skillset." + }, + "skills": { + "type": "array", + "items": { + "$ref": "#/definitions/SearchIndexerSkill" + }, + "description": "A list of skills in the skillset." + }, + "cognitiveServices": { + "x-ms-client-name": "CognitiveServicesAccount", + "$ref": "#/definitions/CognitiveServicesAccount", + "description": "Details about the Azure AI service to be used when running skills." + }, + "knowledgeStore": { + "$ref": "#/definitions/SearchIndexerKnowledgeStore", + "description": "Definition of additional projections to Azure blob, table, or files, of enriched data." + }, + "indexProjections": { + "$ref": "#/definitions/SearchIndexerIndexProjections", + "description": "Definition of additional projections to secondary search index(es)." + }, + "@odata.etag": { + "x-ms-client-name": "ETag", + "type": "string", + "description": "The ETag of the skillset." + }, + "encryptionKey": { + "$ref": "#/definitions/SearchResourceEncryptionKey", + "description": "A description of an encryption key that you create in Azure Key Vault. This key is used to provide an additional level of encryption-at-rest for your skillset definition when you want full assurance that no one, not even Microsoft, can decrypt your skillset definition. Once you have encrypted your skillset definition, it will always remain encrypted. The search service will ignore attempts to set this property to null. You can change this property as needed if you want to rotate your encryption key; Your skillset definition will be unaffected. Encryption with customer-managed keys is not available for free search services, and is only available for paid services created on or after January 1, 2019.", + "externalDocs": { + "url": "https://aka.ms/azure-search-encryption-with-cmk" + }, + "x-nullable": true + } + }, + "required": [ + "name", + "skills" + ], + "externalDocs": { + "url": "https://learn.microsoft.com/azure/search/cognitive-search-tutorial-blob" + }, + "description": "A list of skills." + }, + "CognitiveServicesAccount": { + "type": "object", + "discriminator": "@odata.type", + "properties": { + "@odata.type": { + "type": "string", + "description": "A URI fragment specifying the type of Azure AI service resource attached to a skillset." + }, + "description": { + "type": "string", + "description": "Description of the Azure AI service resource attached to a skillset." + } + }, + "required": [ + "@odata.type" + ], + "description": "Base type for describing any Azure AI service resource attached to a skillset." + }, + "SearchIndexerKnowledgeStore": { + "type": "object", + "properties": { + "storageConnectionString": { + "type": "string", + "description": "The connection string to the storage account projections will be stored in." + }, + "projections": { + "type": "array", + "items": { + "$ref": "#/definitions/SearchIndexerKnowledgeStoreProjection", + "x-nullable": false + }, + "description": "A list of additional projections to perform during indexing." + }, + "identity": { + "$ref": "#/definitions/SearchIndexerDataIdentity", + "x-nullable": true, + "description": "The user-assigned managed identity used for connections to Azure Storage when writing knowledge store projections. If the connection string indicates an identity (ResourceId) and it's not specified, the system-assigned managed identity is used. On updates to the indexer, if the identity is unspecified, the value remains unchanged. If set to \"none\", the value of this property is cleared." + }, + "parameters": { + "$ref": "#/definitions/SearchIndexerKnowledgeStoreParameters" + } + }, + "required": [ + "storageConnectionString", + "projections" + ], + "externalDocs": { + "url": "https://learn.microsoft.com/azure/search/knowledge-store-projection-overview" + }, + "description": "Definition of additional projections to azure blob, table, or files, of enriched data." + }, + "SearchIndexerKnowledgeStoreProjection": { + "type": "object", + "properties": { + "tables": { + "type": "array", + "items": { + "$ref": "#/definitions/SearchIndexerKnowledgeStoreTableProjectionSelector", + "x-nullable": false + }, + "description": "Projections to Azure Table storage." + }, + "objects": { + "type": "array", + "items": { + "$ref": "#/definitions/SearchIndexerKnowledgeStoreObjectProjectionSelector", + "x-nullable": false + }, + "description": "Projections to Azure Blob storage." + }, + "files": { + "type": "array", + "items": { + "$ref": "#/definitions/SearchIndexerKnowledgeStoreFileProjectionSelector", + "x-nullable": false + }, + "description": "Projections to Azure File storage." + } + }, + "description": "Container object for various projection selectors." + }, + "SearchIndexerKnowledgeStoreProjectionSelector": { + "type": "object", + "properties": { + "referenceKeyName": { + "type": "string", + "description": "Name of reference key to different projection." + }, + "generatedKeyName": { + "type": "string", + "description": "Name of generated key to store projection under." + }, + "source": { + "type": "string", + "description": "Source data to project." + }, + "sourceContext": { + "type": "string", + "description": "Source context for complex projections." + }, + "inputs": { + "type": "array", + "items": { + "$ref": "#/definitions/InputFieldMappingEntry" + }, + "description": "Nested inputs for complex projections." + } + }, + "description": "Abstract class to share properties between concrete selectors." + }, + "SearchIndexerKnowledgeStoreBlobProjectionSelector": { + "type": "object", + "properties": { + "storageContainer": { + "type": "string", + "description": "Blob container to store projections in." + } + }, + "allOf": [ + { + "$ref": "#/definitions/SearchIndexerKnowledgeStoreProjectionSelector" + } + ], + "required": [ + "storageContainer" + ], + "description": "Abstract class to share properties between concrete selectors." + }, + "SearchIndexerKnowledgeStoreTableProjectionSelector": { + "type": "object", + "properties": { + "tableName": { + "type": "string", + "description": "Name of the Azure table to store projected data in." + } + }, + "required": [ + "generatedKeyName", + "tableName" + ], + "allOf": [ + { + "$ref": "#/definitions/SearchIndexerKnowledgeStoreProjectionSelector" + } + ], + "description": "Description for what data to store in Azure Tables." + }, + "SearchIndexerKnowledgeStoreObjectProjectionSelector": { + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/SearchIndexerKnowledgeStoreBlobProjectionSelector" + } + ], + "description": "Projection definition for what data to store in Azure Blob." + }, + "SearchIndexerKnowledgeStoreFileProjectionSelector": { + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/SearchIndexerKnowledgeStoreBlobProjectionSelector" + } + ], + "description": "Projection definition for what data to store in Azure Files." + }, + "SearchIndexerKnowledgeStoreParameters": { + "type": "object", + "properties": { + "synthesizeGeneratedKeyName": { + "type": "boolean", + "default": false, + "description": "Whether or not projections should synthesize a generated key name if one isn't already present." + } + }, + "additionalProperties": true, + "description": "A dictionary of knowledge store-specific configuration properties. Each name is the name of a specific property. Each value must be of a primitive type." + }, + "SearchIndexerIndexProjections": { + "type": "object", + "properties": { + "selectors": { + "type": "array", + "items": { + "$ref": "#/definitions/SearchIndexerIndexProjectionSelector" + }, + "description": "A list of projections to be performed to secondary search indexes." + }, + "parameters": { + "$ref": "#/definitions/SearchIndexerIndexProjectionsParameters" + } + }, + "required": [ + "selectors" + ], + "description": "Definition of additional projections to secondary search indexes." + }, + "SearchIndexerIndexProjectionSelector": { + "type": "object", + "properties": { + "targetIndexName": { + "type": "string", + "description": "Name of the search index to project to. Must have a key field with the 'keyword' analyzer set." + }, + "parentKeyFieldName": { + "type": "string", + "description": "Name of the field in the search index to map the parent document's key value to. Must be a string field that is filterable and not the key field." + }, + "sourceContext": { + "type": "string", + "description": "Source context for the projections. Represents the cardinality at which the document will be split into multiple sub documents." + }, + "mappings": { + "type": "array", + "items": { + "$ref": "#/definitions/InputFieldMappingEntry" + }, + "description": "Mappings for the projection, or which source should be mapped to which field in the target index." + } + }, + "required": [ + "targetIndexName", + "parentKeyFieldName", + "sourceContext", + "mappings" + ], + "description": "Description for what data to store in the designated search index." + }, + "SearchIndexerIndexProjectionsParameters": { + "type": "object", + "properties": { + "projectionMode": { + "$ref": "#/definitions/IndexProjectionMode", + "description": "Defines behavior of the index projections in relation to the rest of the indexer." + } + }, + "additionalProperties": true, + "description": "A dictionary of index projection-specific configuration properties. Each name is the name of a specific property. Each value must be of a primitive type." + }, + "IndexProjectionMode": { + "type": "string", + "enum": [ + "skipIndexingParentDocuments", + "includeIndexingParentDocuments" + ], + "x-ms-enum": { + "name": "IndexProjectionMode", + "modelAsString": true, + "values": [ + { + "value": "skipIndexingParentDocuments", + "name": "SkipIndexingParentDocuments", + "description": "The source document will be skipped from writing into the indexer's target index." + }, + { + "value": "includeIndexingParentDocuments", + "name": "IncludeIndexingParentDocuments", + "description": "The source document will be written into the indexer's target index. This is the default pattern." + } + ] + }, + "description": "Defines behavior of the index projections in relation to the rest of the indexer." + }, + "DefaultCognitiveServicesAccount": { + "type": "object", + "description": "An empty object that represents the default Azure AI service resource for a skillset.", + "x-ms-discriminator-value": "#Microsoft.Azure.Search.DefaultCognitiveServices", + "allOf": [ + { + "$ref": "#/definitions/CognitiveServicesAccount" + } + ] + }, + "CognitiveServicesAccountKey": { + "type": "object", + "description": "The multi-region account key of an Azure AI service resource that's attached to a skillset.", + "x-ms-discriminator-value": "#Microsoft.Azure.Search.CognitiveServicesByKey", + "allOf": [ + { + "$ref": "#/definitions/CognitiveServicesAccount" + } + ], + "properties": { + "key": { + "type": "string", + "description": "The key used to provision the Azure AI service resource attached to a skillset." + } + }, + "required": [ + "key" + ] + }, + "AIServicesAccountKey": { + "type": "object", + "description": "The account key of an Azure AI service resource that's attached to a skillset, to be used with the resource's subdomain.", + "x-ms-discriminator-value": "#Microsoft.Azure.Search.AIServicesByKey", + "allOf": [ + { + "$ref": "#/definitions/CognitiveServicesAccount" + } + ], + "properties": { + "key": { + "type": "string", + "description": "The key used to provision the Azure AI service resource attached to a skillset." + }, + "subdomainUrl": { + "type": "string", + "description": "The subdomain url for the corresponding AI Service." + } + }, + "required": [ + "key", + "subdomainUrl" + ] + }, + "AIServicesAccountIdentity": { + "type": "object", + "description": "The multi-region account of an Azure AI service resource that's attached to a skillset.", + "x-ms-discriminator-value": "#Microsoft.Azure.Search.AIServicesByIdentity", + "allOf": [ + { + "$ref": "#/definitions/CognitiveServicesAccount" + } + ], + "properties": { + "identity": { + "$ref": "#/definitions/SearchIndexerDataIdentity", + "x-nullable": true, + "description": "The user-assigned managed identity used for connections to AI Service. If not specified, the system-assigned managed identity is used. On updates to the skillset, if the identity is unspecified, the value remains unchanged. If set to \"none\", the value of this property is cleared." + }, + "subdomainUrl": { + "type": "string", + "description": "The subdomain url for the corresponding AI Service." + } + }, + "required": [ + "subdomainUrl" + ] + }, + "SearchIndexerSkill": { + "type": "object", + "discriminator": "@odata.type", + "properties": { + "@odata.type": { + "type": "string", + "description": "A URI fragment specifying the type of skill." + }, + "name": { + "type": "string", + "description": "The name of the skill which uniquely identifies it within the skillset. A skill with no name defined will be given a default name of its 1-based index in the skills array, prefixed with the character '#'." + }, + "description": { + "type": "string", + "description": "The description of the skill which describes the inputs, outputs, and usage of the skill." + }, + "context": { + "type": "string", + "description": "Represents the level at which operations take place, such as the document root or document content (for example, /document or /document/content). The default is /document." + }, + "inputs": { + "type": "array", + "items": { + "$ref": "#/definitions/InputFieldMappingEntry" + }, + "description": "Inputs of the skills could be a column in the source data set, or the output of an upstream skill." + }, + "outputs": { + "type": "array", + "items": { + "$ref": "#/definitions/OutputFieldMappingEntry" + }, + "description": "The output of a skill is either a field in a search index, or a value that can be consumed as an input by another skill." + } + }, + "required": [ + "@odata.type", + "inputs", + "outputs" + ], + "externalDocs": { + "url": "https://learn.microsoft.com/azure/search/cognitive-search-predefined-skills" + }, + "description": "Base type for skills." + }, + "CustomEntity": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The top-level entity descriptor. Matches in the skill output will be grouped by this name, and it should represent the \"normalized\" form of the text being found." + }, + "description": { + "type": "string", + "x-nullable": true, + "description": "This field can be used as a passthrough for custom metadata about the matched text(s). The value of this field will appear with every match of its entity in the skill output." + }, + "type": { + "type": "string", + "x-nullable": true, + "description": "This field can be used as a passthrough for custom metadata about the matched text(s). The value of this field will appear with every match of its entity in the skill output." + }, + "subtype": { + "type": "string", + "x-nullable": true, + "description": "This field can be used as a passthrough for custom metadata about the matched text(s). The value of this field will appear with every match of its entity in the skill output." + }, + "id": { + "type": "string", + "x-nullable": true, + "description": "This field can be used as a passthrough for custom metadata about the matched text(s). The value of this field will appear with every match of its entity in the skill output." + }, + "caseSensitive": { + "type": "boolean", + "x-nullable": true, + "description": "Defaults to false. Boolean value denoting whether comparisons with the entity name should be sensitive to character casing. Sample case insensitive matches of \"Microsoft\" could be: microsoft, microSoft, MICROSOFT." + }, + "accentSensitive": { + "type": "boolean", + "x-nullable": true, + "description": "Defaults to false. Boolean value denoting whether comparisons with the entity name should be sensitive to accent." + }, + "fuzzyEditDistance": { + "type": "integer", + "format": "int32", + "x-nullable": true, + "description": "Defaults to 0. Maximum value of 5. Denotes the acceptable number of divergent characters that would still constitute a match with the entity name. The smallest possible fuzziness for any given match is returned. For instance, if the edit distance is set to 3, \"Windows10\" would still match \"Windows\", \"Windows10\" and \"Windows 7\". When case sensitivity is set to false, case differences do NOT count towards fuzziness tolerance, but otherwise do." + }, + "defaultCaseSensitive": { + "type": "boolean", + "x-nullable": true, + "description": "Changes the default case sensitivity value for this entity. It be used to change the default value of all aliases caseSensitive values." + }, + "defaultAccentSensitive": { + "type": "boolean", + "x-nullable": true, + "description": "Changes the default accent sensitivity value for this entity. It be used to change the default value of all aliases accentSensitive values." + }, + "defaultFuzzyEditDistance": { + "type": "integer", + "format": "int32", + "x-nullable": true, + "description": "Changes the default fuzzy edit distance value for this entity. It can be used to change the default value of all aliases fuzzyEditDistance values." + }, + "aliases": { + "type": "array", + "items": { + "$ref": "#/definitions/CustomEntityAlias" + }, + "x-nullable": true, + "description": "An array of complex objects that can be used to specify alternative spellings or synonyms to the root entity name." + } + }, + "required": [ + "name" + ], + "description": "An object that contains information about the matches that were found, and related metadata." + }, + "CustomEntityAlias": { + "type": "object", + "properties": { + "text": { + "type": "string", + "description": "The text of the alias." + }, + "caseSensitive": { + "type": "boolean", + "x-nullable": true, + "description": "Determine if the alias is case sensitive." + }, + "accentSensitive": { + "type": "boolean", + "x-nullable": true, + "description": "Determine if the alias is accent sensitive." + }, + "fuzzyEditDistance": { + "type": "integer", + "format": "int32", + "x-nullable": true, + "description": "Determine the fuzzy edit distance of the alias." + } + }, + "required": [ + "text" + ], + "description": "A complex object that can be used to specify alternative spellings or synonyms to the root entity name." + }, + "InputFieldMappingEntry": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the input." + }, + "source": { + "type": "string", + "description": "The source of the input." + }, + "sourceContext": { + "type": "string", + "description": "The source context used for selecting recursive inputs." + }, + "inputs": { + "type": "array", + "items": { + "$ref": "#/definitions/InputFieldMappingEntry" + }, + "description": "The recursive inputs used when creating a complex type." + } + }, + "required": [ + "name" + ], + "description": "Input field mapping for a skill." + }, + "OutputFieldMappingEntry": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the output defined by the skill." + }, + "targetName": { + "type": "string", + "description": "The target name of the output. It is optional and default to name." + } + }, + "required": [ + "name" + ], + "externalDocs": { + "url": "https://learn.microsoft.com/rest/api/searchservice/Naming-rules" + }, + "description": "Output field mapping for a skill." + }, + "ConditionalSkill": { + "type": "object", + "x-ms-discriminator-value": "#Microsoft.Skills.Util.ConditionalSkill", + "allOf": [ + { + "$ref": "#/definitions/SearchIndexerSkill" + } + ], + "externalDocs": { + "url": "https://learn.microsoft.com/azure/search/cognitive-search-skill-conditional" + }, + "description": "A skill that enables scenarios that require a Boolean operation to determine the data to assign to an output." + }, + "KeyPhraseExtractionSkill": { + "type": "object", + "x-ms-discriminator-value": "#Microsoft.Skills.Text.KeyPhraseExtractionSkill", + "allOf": [ + { + "$ref": "#/definitions/SearchIndexerSkill" + } + ], + "properties": { + "defaultLanguageCode": { + "$ref": "#/definitions/KeyPhraseExtractionSkillLanguage", + "description": "A value indicating which language code to use. Default is `en`." + }, + "maxKeyPhraseCount": { + "type": "integer", + "format": "int32", + "x-nullable": true, + "description": "A number indicating how many key phrases to return. If absent, all identified key phrases will be returned." + }, + "modelVersion": { + "type": "string", + "x-nullable": true, + "description": "The version of the model to use when calling the Text Analytics service. It will default to the latest available when not specified. We recommend you do not specify this value unless absolutely necessary." + } + }, + "externalDocs": { + "url": "https://learn.microsoft.com/azure/search/cognitive-search-skill-keyphrases" + }, + "description": "A skill that uses text analytics for key phrase extraction." + }, + "OcrSkill": { + "type": "object", + "x-ms-discriminator-value": "#Microsoft.Skills.Vision.OcrSkill", + "allOf": [ + { + "$ref": "#/definitions/SearchIndexerSkill" + } + ], + "properties": { + "defaultLanguageCode": { + "$ref": "#/definitions/OcrSkillLanguage", + "description": "A value indicating which language code to use. Default is `en`." + }, + "detectOrientation": { + "x-ms-client-name": "ShouldDetectOrientation", + "type": "boolean", + "default": false, + "description": "A value indicating to turn orientation detection on or not. Default is false." + }, + "lineEnding": { + "$ref": "#/definitions/OcrSkillLineEnding", + "description": "Defines the sequence of characters to use between the lines of text recognized by the OCR skill. The default value is \"space\"." + } + }, + "externalDocs": { + "url": "https://learn.microsoft.com/azure/search/cognitive-search-skill-ocr" + }, + "description": "A skill that extracts text from image files." + }, + "ImageAnalysisSkill": { + "type": "object", + "x-ms-discriminator-value": "#Microsoft.Skills.Vision.ImageAnalysisSkill", + "allOf": [ + { + "$ref": "#/definitions/SearchIndexerSkill" + } + ], + "properties": { + "defaultLanguageCode": { + "$ref": "#/definitions/ImageAnalysisSkillLanguage", + "description": "A value indicating which language code to use. Default is `en`." + }, + "visualFeatures": { + "type": "array", + "items": { + "$ref": "#/definitions/VisualFeature", + "x-nullable": false + }, + "description": "A list of visual features." + }, + "details": { + "type": "array", + "items": { + "$ref": "#/definitions/ImageDetail", + "x-nullable": false + }, + "description": "A string indicating which domain-specific details to return." + } + }, + "externalDocs": { + "url": "https://learn.microsoft.com/azure/search/cognitive-search-skill-image-analysis" + }, + "description": "A skill that analyzes image files. It extracts a rich set of visual features based on the image content." + }, + "LanguageDetectionSkill": { + "type": "object", + "x-ms-discriminator-value": "#Microsoft.Skills.Text.LanguageDetectionSkill", + "allOf": [ + { + "$ref": "#/definitions/SearchIndexerSkill" + } + ], + "properties": { + "defaultCountryHint": { + "type": "string", + "x-nullable": true, + "description": "A country code to use as a hint to the language detection model if it cannot disambiguate the language." + }, + "modelVersion": { + "type": "string", + "x-nullable": true, + "description": "The version of the model to use when calling the Text Analytics service. It will default to the latest available when not specified. We recommend you do not specify this value unless absolutely necessary." + } + }, + "externalDocs": { + "url": "https://learn.microsoft.com/azure/search/cognitive-search-skill-language-detection" + }, + "description": "A skill that detects the language of input text and reports a single language code for every document submitted on the request. The language code is paired with a score indicating the confidence of the analysis." + }, + "ShaperSkill": { + "type": "object", + "x-ms-discriminator-value": "#Microsoft.Skills.Util.ShaperSkill", + "allOf": [ + { + "$ref": "#/definitions/SearchIndexerSkill" + } + ], + "externalDocs": { + "url": "https://learn.microsoft.com/azure/search/cognitive-search-skill-shaper" + }, + "description": "A skill for reshaping the outputs. It creates a complex type to support composite fields (also known as multipart fields)." + }, + "MergeSkill": { + "type": "object", + "x-ms-discriminator-value": "#Microsoft.Skills.Text.MergeSkill", + "allOf": [ + { + "$ref": "#/definitions/SearchIndexerSkill" + } + ], + "properties": { + "insertPreTag": { + "type": "string", + "default": " ", + "description": "The tag indicates the start of the merged text. By default, the tag is an empty space." + }, + "insertPostTag": { + "type": "string", + "default": " ", + "description": "The tag indicates the end of the merged text. By default, the tag is an empty space." + } + }, + "externalDocs": { + "url": "https://learn.microsoft.com/azure/search/cognitive-search-skill-textmerger" + }, + "description": "A skill for merging two or more strings into a single unified string, with an optional user-defined delimiter separating each component part." + }, + "EntityRecognitionSkill": { + "type": "object", + "x-ms-discriminator-value": "#Microsoft.Skills.Text.EntityRecognitionSkill", + "allOf": [ + { + "$ref": "#/definitions/SearchIndexerSkill" + } + ], + "properties": { + "categories": { + "type": "array", + "items": { + "$ref": "#/definitions/EntityCategory", + "x-nullable": false + }, + "description": "A list of entity categories that should be extracted." + }, + "defaultLanguageCode": { + "$ref": "#/definitions/EntityRecognitionSkillLanguage", + "description": "A value indicating which language code to use. Default is `en`." + }, + "includeTypelessEntities": { + "type": "boolean", + "x-nullable": true, + "description": "Determines whether or not to include entities which are well known but don't conform to a pre-defined type. If this configuration is not set (default), set to null or set to false, entities which don't conform to one of the pre-defined types will not be surfaced." + }, + "minimumPrecision": { + "type": "number", + "format": "double", + "x-nullable": true, + "description": "A value between 0 and 1 that be used to only include entities whose confidence score is greater than the value specified. If not set (default), or if explicitly set to null, all entities will be included." + } + }, + "externalDocs": { + "url": "https://learn.microsoft.com/azure/search/cognitive-search-skill-entity-recognition" + }, + "description": "This skill is deprecated. Use the V3.EntityRecognitionSkill instead.", + "x-az-search-deprecated": true + }, + "SentimentSkill": { + "type": "object", + "x-ms-discriminator-value": "#Microsoft.Skills.Text.SentimentSkill", + "allOf": [ + { + "$ref": "#/definitions/SearchIndexerSkill" + } + ], + "properties": { + "defaultLanguageCode": { + "$ref": "#/definitions/SentimentSkillLanguage", + "description": "A value indicating which language code to use. Default is `en`." + } + }, + "externalDocs": { + "url": "https://learn.microsoft.com/azure/search/cognitive-search-skill-sentiment" + }, + "description": "This skill is deprecated. Use the V3.SentimentSkill instead.", + "x-az-search-deprecated": true + }, + "SentimentSkillV3": { + "type": "object", + "x-ms-discriminator-value": "#Microsoft.Skills.Text.V3.SentimentSkill", + "allOf": [ + { + "$ref": "#/definitions/SearchIndexerSkill" + } + ], + "properties": { + "defaultLanguageCode": { + "type": "string", + "x-nullable": true, + "description": "A value indicating which language code to use. Default is `en`." + }, + "includeOpinionMining": { + "type": "boolean", + "default": false, + "description": "If set to true, the skill output will include information from Text Analytics for opinion mining, namely targets (nouns or verbs) and their associated assessment (adjective) in the text. Default is false." + }, + "modelVersion": { + "type": "string", + "x-nullable": true, + "description": "The version of the model to use when calling the Text Analytics service. It will default to the latest available when not specified. We recommend you do not specify this value unless absolutely necessary." + } + }, + "externalDocs": { + "url": "https://learn.microsoft.com/azure/search/cognitive-search-skill-sentiment-v3" + }, + "description": "Using the Text Analytics API, evaluates unstructured text and for each record, provides sentiment labels (such as \"negative\", \"neutral\" and \"positive\") based on the highest confidence score found by the service at a sentence and document-level." + }, + "EntityLinkingSkill": { + "type": "object", + "x-ms-discriminator-value": "#Microsoft.Skills.Text.V3.EntityLinkingSkill", + "allOf": [ + { + "$ref": "#/definitions/SearchIndexerSkill" + } + ], + "properties": { + "defaultLanguageCode": { + "type": "string", + "x-nullable": true, + "description": "A value indicating which language code to use. Default is `en`." + }, + "minimumPrecision": { + "type": "number", + "format": "double", + "minimum": 0.0, + "maximum": 1.0, + "x-nullable": true, + "description": "A value between 0 and 1 that be used to only include entities whose confidence score is greater than the value specified. If not set (default), or if explicitly set to null, all entities will be included." + }, + "modelVersion": { + "type": "string", + "x-nullable": true, + "description": "The version of the model to use when calling the Text Analytics service. It will default to the latest available when not specified. We recommend you do not specify this value unless absolutely necessary." + } + }, + "externalDocs": { + "url": "https://learn.microsoft.com/azure/search/cognitive-search-skill-entity-linking-v3" + }, + "description": "Using the Text Analytics API, extracts linked entities from text." + }, + "EntityRecognitionSkillV3": { + "type": "object", + "x-ms-discriminator-value": "#Microsoft.Skills.Text.V3.EntityRecognitionSkill", + "allOf": [ + { + "$ref": "#/definitions/SearchIndexerSkill" + } + ], + "properties": { + "categories": { + "type": "array", + "items": { + "type": "string", + "x-nullable": false + }, + "description": "A list of entity categories that should be extracted." + }, + "defaultLanguageCode": { + "type": "string", + "x-nullable": true, + "description": "A value indicating which language code to use. Default is `en`." + }, + "minimumPrecision": { + "type": "number", + "format": "double", + "minimum": 0.0, + "maximum": 1.0, + "x-nullable": true, + "description": "A value between 0 and 1 that be used to only include entities whose confidence score is greater than the value specified. If not set (default), or if explicitly set to null, all entities will be included." + }, + "modelVersion": { + "type": "string", + "x-nullable": true, + "description": "The version of the model to use when calling the Text Analytics API. It will default to the latest available when not specified. We recommend you do not specify this value unless absolutely necessary." + } + }, + "externalDocs": { + "url": "https://learn.microsoft.com/azure/search/cognitive-search-skill-entity-recognition-v3" + }, + "description": "Using the Text Analytics API, extracts entities of different types from text." + }, + "PIIDetectionSkill": { + "type": "object", + "x-ms-discriminator-value": "#Microsoft.Skills.Text.PIIDetectionSkill", + "allOf": [ + { + "$ref": "#/definitions/SearchIndexerSkill" + } + ], + "properties": { + "defaultLanguageCode": { + "type": "string", + "x-nullable": true, + "description": "A value indicating which language code to use. Default is `en`." + }, + "minimumPrecision": { + "type": "number", + "format": "double", + "x-nullable": true, + "minimum": 0.0, + "maximum": 1.0, + "description": "A value between 0 and 1 that be used to only include entities whose confidence score is greater than the value specified. If not set (default), or if explicitly set to null, all entities will be included." + }, + "maskingMode": { + "$ref": "#/definitions/PIIDetectionSkillMaskingMode", + "description": "A parameter that provides various ways to mask the personal information detected in the input text. Default is 'none'." + }, + "maskingCharacter": { + "x-ms-client-name": "mask", + "type": "string", + "x-nullable": true, + "maxLength": 1, + "description": "The character used to mask the text if the maskingMode parameter is set to replace. Default is '*'." + }, + "modelVersion": { + "type": "string", + "x-nullable": true, + "description": "The version of the model to use when calling the Text Analytics service. It will default to the latest available when not specified. We recommend you do not specify this value unless absolutely necessary." + }, + "piiCategories": { + "type": "array", + "items": { + "type": "string", + "x-nullable": false + }, + "description": "A list of PII entity categories that should be extracted and masked." + }, + "domain": { + "type": "string", + "x-nullable": true, + "description": "If specified, will set the PII domain to include only a subset of the entity categories. Possible values include: 'phi', 'none'. Default is 'none'." + } + }, + "externalDocs": { + "url": "https://learn.microsoft.com/azure/search/cognitive-search-skill-pii-detection" + }, + "description": "Using the Text Analytics API, extracts personal information from an input text and gives you the option of masking it." + }, + "SplitSkill": { + "type": "object", + "x-ms-discriminator-value": "#Microsoft.Skills.Text.SplitSkill", + "allOf": [ + { + "$ref": "#/definitions/SearchIndexerSkill" + } + ], + "properties": { + "defaultLanguageCode": { + "$ref": "#/definitions/SplitSkillLanguage", + "description": "A value indicating which language code to use. Default is `en`." + }, + "textSplitMode": { + "$ref": "#/definitions/TextSplitMode", + "x-nullable": false, + "description": "A value indicating which split mode to perform." + }, + "maximumPageLength": { + "type": "integer", + "format": "int32", + "x-nullable": true, + "description": "The desired maximum page length. Default is 10000." + }, + "pageOverlapLength": { + "type": "integer", + "format": "int32", + "x-nullable": true, + "description": "Only applicable when textSplitMode is set to 'pages'. If specified, n+1th chunk will start with this number of characters/tokens from the end of the nth chunk." + }, + "maximumPagesToTake": { + "type": "integer", + "format": "int32", + "x-nullable": true, + "description": "Only applicable when textSplitMode is set to 'pages'. If specified, the SplitSkill will discontinue splitting after processing the first 'maximumPagesToTake' pages, in order to improve performance when only a few initial pages are needed from each document." + }, + "unit": { + "$ref": "#/definitions/SplitSkillUnit", + "x-nullable": true, + "description": "Only applies if textSplitMode is set to pages. There are two possible values. The choice of the values will decide the length (maximumPageLength and pageOverlapLength) measurement. The default is 'characters', which means the length will be measured by character." + }, + "azureOpenAITokenizerParameters": { + "$ref": "#/definitions/AzureOpenAITokenizerParameters", + "x-nullable": true, + "description": "Only applies if the unit is set to azureOpenAITokens. If specified, the splitSkill will use these parameters when performing the tokenization. The parameters are a valid 'encoderModelName' and an optional 'allowedSpecialTokens' property." + } + }, + "externalDocs": { + "url": "https://learn.microsoft.com/azure/search/cognitive-search-skill-textsplit" + }, + "description": "A skill to split a string into chunks of text." + }, + "CustomEntityLookupSkill": { + "type": "object", + "x-ms-discriminator-value": "#Microsoft.Skills.Text.CustomEntityLookupSkill", + "allOf": [ + { + "$ref": "#/definitions/SearchIndexerSkill" + } + ], + "properties": { + "defaultLanguageCode": { + "$ref": "#/definitions/CustomEntityLookupSkillLanguage", + "x-nullable": true, + "description": "A value indicating which language code to use. Default is `en`." + }, + "entitiesDefinitionUri": { + "type": "string", + "x-nullable": true, + "description": "Path to a JSON or CSV file containing all the target text to match against. This entity definition is read at the beginning of an indexer run. Any updates to this file during an indexer run will not take effect until subsequent runs. This config must be accessible over HTTPS." + }, + "inlineEntitiesDefinition": { + "type": "array", + "items": { + "$ref": "#/definitions/CustomEntity" + }, + "x-nullable": true, + "description": "The inline CustomEntity definition." + }, + "globalDefaultCaseSensitive": { + "type": "boolean", + "x-nullable": true, + "description": "A global flag for CaseSensitive. If CaseSensitive is not set in CustomEntity, this value will be the default value." + }, + "globalDefaultAccentSensitive": { + "type": "boolean", + "x-nullable": true, + "description": "A global flag for AccentSensitive. If AccentSensitive is not set in CustomEntity, this value will be the default value." + }, + "globalDefaultFuzzyEditDistance": { + "type": "integer", + "format": "int32", + "x-nullable": true, + "description": "A global flag for FuzzyEditDistance. If FuzzyEditDistance is not set in CustomEntity, this value will be the default value." + } + }, + "externalDocs": { + "url": "https://learn.microsoft.com/en-us/azure/search/cognitive-search-skill-custom-entity-lookup" + }, + "description": "A skill looks for text from a custom, user-defined list of words and phrases." + }, + "TextTranslationSkill": { + "type": "object", + "x-ms-discriminator-value": "#Microsoft.Skills.Text.TranslationSkill", + "allOf": [ + { + "$ref": "#/definitions/SearchIndexerSkill" + } + ], + "properties": { + "defaultToLanguageCode": { + "$ref": "#/definitions/TextTranslationSkillLanguage", + "description": "The language code to translate documents into for documents that don't specify the to language explicitly. " + }, + "defaultFromLanguageCode": { + "$ref": "#/definitions/TextTranslationSkillLanguage", + "description": "The language code to translate documents from for documents that don't specify the from language explicitly." + }, + "suggestedFrom": { + "$ref": "#/definitions/TextTranslationSkillLanguage", + "x-nullable": true, + "description": "The language code to translate documents from when neither the fromLanguageCode input nor the defaultFromLanguageCode parameter are provided, and the automatic language detection is unsuccessful. Default is `en`." + } + }, + "required": [ + "defaultToLanguageCode" + ], + "externalDocs": { + "url": "https://learn.microsoft.com/azure/search/cognitive-search-skill-text-translation" + }, + "description": "A skill to translate text from one language to another." + }, + "DocumentExtractionSkill": { + "type": "object", + "x-ms-discriminator-value": "#Microsoft.Skills.Util.DocumentExtractionSkill", + "allOf": [ + { + "$ref": "#/definitions/SearchIndexerSkill" + } + ], + "properties": { + "parsingMode": { + "type": "string", + "x-nullable": true, + "description": "The parsingMode for the skill. Will be set to 'default' if not defined." + }, + "dataToExtract": { + "type": "string", + "x-nullable": true, + "description": "The type of data to be extracted for the skill. Will be set to 'contentAndMetadata' if not defined." + }, + "configuration": { + "type": "object", + "additionalProperties": true, + "x-nullable": true, + "description": "A dictionary of configurations for the skill." + } + }, + "externalDocs": { + "url": "https://learn.microsoft.com/azure/search/cognitive-search-skill-document-extraction" + }, + "description": "A skill that extracts content from a file within the enrichment pipeline." + }, + "DocumentIntelligenceLayoutSkill": { + "type": "object", + "x-ms-discriminator-value": "#Microsoft.Skills.Util.DocumentIntelligenceLayoutSkill", + "allOf": [ + { + "$ref": "#/definitions/SearchIndexerSkill" + } + ], + "properties": { + "outputFormat": { + "$ref": "#/definitions/DocumentIntelligenceLayoutSkillOutputFormat", + "x-nullable": true, + "description": "Controls the cardinality of the output format. Default is 'markdown'." + }, + "outputMode": { + "$ref": "#/definitions/DocumentIntelligenceLayoutSkillOutputMode", + "x-nullable": true, + "description": "Controls the cardinality of the output produced by the skill. Default is 'oneToMany'." + }, + "markdownHeaderDepth": { + "$ref": "#/definitions/DocumentIntelligenceLayoutSkillMarkdownHeaderDepth", + "x-nullable": true, + "description": "The depth of headers in the markdown output. Default is h6." + }, + "extractionOptions": { + "x-nullable": true, + "type": "array", + "items": { + "$ref": "#/definitions/DocumentIntelligenceLayoutSkillExtractionOptions" + }, + "description": "Controls the cardinality of the content extracted from the document by the skill" + }, + "chunkingProperties": { + "$ref": "#/definitions/DocumentIntelligenceLayoutSkillChunkingProperties", + "x-nullable": true, + "description": "Controls the cardinality for chunking the content." + } + }, + "externalDocs": { + "url": "https://learn.microsoft.com/azure/search/cognitive-search-skill-document-extraction" + }, + "description": "A skill that extracts content and layout information, via Azure AI Services, from files within the enrichment pipeline." + }, + "DocumentIntelligenceLayoutSkillOutputMode": { + "type": "string", + "enum": [ + "oneToMany" + ], + "x-ms-enum": { + "name": "DocumentIntelligenceLayoutSkillOutputMode", + "modelAsString": true, + "values": [ + { + "value": "oneToMany", + "name": "OneToMany", + "description": "Specify that the output should be parsed as 'oneToMany'." + } + ] + }, + "default": "oneToMany", + "description": "Controls the cardinality of the output produced by the skill. Default is 'oneToMany'." + }, + "DocumentIntelligenceLayoutSkillOutputFormat": { + "type": "string", + "enum": [ + "text", + "markdown" + ], + "x-ms-enum": { + "name": "DocumentIntelligenceLayoutSkillOutputFormat", + "modelAsString": true, + "values": [ + { + "value": "text", + "name": "Text", + "description": "Specify the format of the output as text." + }, + { + "value": "markdown", + "name": "Markdown", + "description": "Specify the format of the output as markdown." + } + ] + }, + "default": "markdown", + "description": "Controls the cardinality of the output format. Default is 'markdown'." + }, + "DocumentIntelligenceLayoutSkillMarkdownHeaderDepth": { + "type": "string", + "enum": [ + "h1", + "h2", + "h3", + "h4", + "h5", + "h6" + ], + "x-ms-enum": { + "name": "DocumentIntelligenceLayoutSkillMarkdownHeaderDepth", + "modelAsString": true, + "values": [ + { + "value": "h1", + "name": "H1", + "description": "Header level 1." + }, + { + "value": "h2", + "name": "H2", + "description": "Header level 2." + }, + { + "value": "h3", + "name": "H3", + "description": "Header level 3." + }, + { + "value": "h4", + "name": "H4", + "description": "Header level 4." + }, + { + "value": "h5", + "name": "H5", + "description": "Header level 5." + }, + { + "value": "h6", + "name": "H6", + "description": "Header level 6." + } + ] + }, + "default": "h6", + "description": "The depth of headers in the markdown output. Default is h6." + }, + "ChatCompletionSkill": { + "type": "object", + "x-ms-discriminator-value": "#Microsoft.Skills.Custom.ChatCompletionSkill", + "allOf": [ + { + "$ref": "#/definitions/WebApiSkill" + } + ], + "properties": { + "apiKey": { + "type": "string", + "description": "API key for authenticating to the model. Both apiKey and authIdentity cannot be specified at the same time." + }, + "commonModelParameters": { + "$ref": "#/definitions/ChatCompletionCommonModelParameters", + "description": "Common language model parameters that customers can tweak. If omitted, reasonable defaults will be applied." + }, + "extraParameters": { + "type": "object", + "additionalProperties": true, + "x-nullable": true, + "description": "Open-type dictionary for model-specific parameters that should be appended to the chat completions call. Follows Azure AI Foundry’s extensibility pattern." + }, + "extraParametersBehavior": { + "$ref": "#/definitions/ChatCompletionExtraParametersBehavior", + "description": "How extra parameters are handled by Azure AI Foundry. Default is 'error'." + }, + "responseFormat": { + "$ref": "#/definitions/ChatCompletionResponseFormat", + "description": "Determines how the LLM should format its response. Defaults to 'text' response type." + } + }, + "description": "A skill that calls a language model via Azure AI Foundry's Chat Completions endpoint." + }, + "ChatCompletionCommonModelParameters": { + "type": "object", + "x-ms-client-name": "CommonModelParameters", + "properties": { + "model": { + "type": "string", + "default": null, + "x-nullable": true, + "description": "The name of the model to use (e.g., 'gpt-4o', etc.). Default is null if not specified." + }, + "frequencyPenalty": { + "type": "number", + "default": 0, + "x-nullable": true, + "description": "A float in the range [-2,2] that reduces or increases likelihood of repeated tokens. Default is 0." + }, + "presencePenalty": { + "type": "number", + "default": 0, + "x-nullable": true, + "description": "A float in the range [-2,2] that penalizes new tokens based on their existing presence. Default is 0." + }, + "maxTokens": { + "type": "integer", + "format": "int32", + "x-nullable": true, + "description": "Maximum number of tokens to generate." + }, + "temperature": { + "type": "number", + "default": 0.7, + "x-nullable": true, + "description": "Sampling temperature. Default is 0.7." + }, + "seed": { + "type": "integer", + "format": "int32", + "x-nullable": true, + "description": "Random seed for controlling deterministic outputs. If omitted, randomization is used." + }, + "stop": { + "type": "array", + "x-nullable": true, + "items": { + "type": "string" + }, + "description": "List of stop sequences that will cut off text generation. Default is none." + } + }, + "description": "Common language model parameters for Chat Completions. If omitted, default values are used." + }, + "ChatCompletionExtraParametersBehavior": { + "type": "string", + "enum": [ + "pass-through", + "drop", + "error" + ], + "x-ms-enum": { + "name": "ChatCompletionExtraParametersBehavior", + "modelAsString": true, + "values": [ + { + "value": "passThrough", + "name": "PassThrough", + "description": "Passes any extra parameters directly to the model." + }, + { + "value": "drop", + "name": "Drop", + "description": "Drops all extra parameters." + }, + { + "value": "error", + "name": "Error", + "description": "Raises an error if any extra parameter is present." + } + ] + }, + "default": "error", + "description": "Specifies how 'extraParameters' should be handled by Azure AI Foundry. Defaults to 'error'." + }, + "ChatCompletionResponseFormat": { + "type": "object", + "x-ms-client-name": "ChatCompletionResponseFormat", + "properties": { + "type": { + "type": "string", + "enum": [ + "text", + "jsonObject", + "jsonSchema" + ], + "description": "Specifies how the LLM should format the response. Possible values: 'text' (plain string), 'json_object' (arbitrary JSON), or 'json_schema' (adheres to provided schema).", + "default": "text", + "x-ms-enum": { + "name": "ChatCompletionResponseFormatType", + "modelAsString": true + } + }, + "jsonSchemaProperties": { + "type": "object", + "x-ms-client-name": "ChatCompletionSchemaProperties", + "description": "An open dictionary for extended properties. Required if 'type' == 'json_schema'", + "x-nullable": true, + "properties": { + "name": { + "type": "string", + "x-nullable": true, + "description": "Name of the json schema the model will adhere to" + }, + "description": { + "type": "string", + "x-nullable": true, + "description": "Description of the json schema the model will adhere to." + }, + "strict": { + "type": "boolean", + "default": true, + "description": "Whether or not the model's response should use structured outputs. Default is true" + }, + "schema": { + "$ref": "#/definitions/ChatCompletionSchema" + } + } + } + }, + "description": "Determines how the language model's response should be serialized. Defaults to 'text'." + }, + "ChatCompletionSchema": { + "type": "object", + "x-ms-client-name": "ChatCompletionSchema", + "x-nullable": true, + "description": "Object defining the custom schema the model will use to structure its output.", + "properties": { + "type": { + "type": "string", + "default": "object", + "description": "Type of schema representation. Usually 'object'. Default is 'object'." + }, + "properties": { + "type": "string", + "description": "A JSON-formatted string that defines the output schema's properties and constraints for the model." + }, + "required": { + "type": "array", + "items": { + "type": "string" + }, + "description": "An array of the property names that are required to be part of the model's response. All properties must be included for structured outputs." + }, + "additionalProperties": { + "type": "boolean", + "default": false, + "description": "Controls whether it is allowable for an object to contain additional keys / values that were not defined in the JSON Schema. Default is false." + } + } + }, + "DocumentIntelligenceLayoutSkillExtractionOptions": { + "type": "string", + "enum": [ + "images", + "locationMetadata" + ], + "x-ms-enum": { + "name": "DocumentIntelligenceLayoutSkillExtractionOptions", + "modelAsString": true, + "values": [ + { + "value": "images", + "name": "Images", + "description": "Specify that image content should be extracted from the document." + }, + { + "value": "locationMetadata", + "name": "LocationMetadata", + "description": "Specify that location metadata should be extracted from the document." + } + ] + }, + "description": "Controls the cardinality of the content extracted from the document by the skill." + }, + "DocumentIntelligenceLayoutSkillChunkingProperties": { + "type": "object", + "description": "Controls the cardinality for chunking the content.", + "properties": { + "unit": { + "$ref": "#/definitions/DocumentIntelligenceLayoutSkillChunkingUnit", + "x-nullable": true, + "description": "The unit of the chunk." + }, + "maximumLength": { + "type": "integer", + "format": "int32", + "x-nullable": true, + "description": "The maximum chunk length in characters. Default is 500." + }, + "overlapLength": { + "type": "integer", + "format": "int32", + "x-nullable": true, + "description": "The length of overlap provided between two text chunks. Default is 0." + } + } + }, + "DocumentIntelligenceLayoutSkillChunkingUnit": { + "type": "string", + "enum": [ + "characters" + ], + "x-ms-enum": { + "name": "DocumentIntelligenceLayoutSkillChunkingUnit", + "modelAsString": true, + "values": [ + { + "value": "characters", + "name": "Characters", + "description": "Specifies chunk by characters." + } + ] + }, + "default": "characters", + "description": "Controls the cardinality of the chunk unit. Default is 'characters'" + }, + "ContentUnderstandingSkill": { + "type": "object", + "x-ms-discriminator-value": "#Microsoft.Skills.Util.ContentUnderstandingSkill", + "allOf": [ + { + "$ref": "#/definitions/SearchIndexerSkill" + } + ], + "properties": { + "extractionOptions": { + "x-nullable": true, + "type": "array", + "items": { + "$ref": "#/definitions/ContentUnderstandingSkillExtractionOptions" + }, + "description": "Controls the cardinality of the content extracted from the document by the skill" + }, + "chunkingProperties": { + "$ref": "#/definitions/ContentUnderstandingSkillChunkingProperties", + "x-nullable": true, + "description": "Controls the cardinality for chunking the content." + } + }, + "description": "A skill that leverages Azure AI Content Understanding to process and extract structured insights from documents, enabling enriched, searchable content for enhanced document indexing and retrieval" + }, + "ContentUnderstandingSkillExtractionOptions": { + "type": "string", + "enum": [ + "images", + "locationMetadata" + ], + "x-ms-enum": { + "name": "ContentUnderstandingSkillExtractionOptions", + "modelAsString": true, + "values": [ + { + "value": "images", + "name": "Images", + "description": "Specify that image content should be extracted from the document." + }, + { + "value": "locationMetadata", + "name": "LocationMetadata", + "description": "Specify that location metadata should be extracted from the document." + } + ] + }, + "description": "Controls the cardinality of the content extracted from the document by the skill." + }, + "ContentUnderstandingSkillChunkingProperties": { + "type": "object", + "description": "Controls the cardinality for chunking the content.", + "properties": { + "unit": { + "$ref": "#/definitions/ContentUnderstandingSkillChunkingUnit", + "x-nullable": true, + "description": "The unit of the chunk." + }, + "maximumLength": { + "type": "integer", + "format": "int32", + "x-nullable": true, + "description": "The maximum chunk length in characters. Default is 500." + }, + "overlapLength": { + "type": "integer", + "format": "int32", + "x-nullable": true, + "description": "The length of overlap provided between two text chunks. Default is 0." + } + } + }, + "ContentUnderstandingSkillChunkingUnit": { + "type": "string", + "enum": [ + "characters" + ], + "x-ms-enum": { + "name": "ContentUnderstandingSkillChunkingUnit", + "modelAsString": true, + "values": [ + { + "value": "characters", + "name": "Characters", + "description": "Specifies chunk by characters." + } + ] + }, + "default": "characters", + "description": "Controls the cardinality of the chunk unit. Default is 'characters'" + }, + "WebApiSkill": { + "type": "object", + "x-ms-discriminator-value": "#Microsoft.Skills.Custom.WebApiSkill", + "allOf": [ + { + "$ref": "#/definitions/SearchIndexerSkill" + } + ], + "properties": { + "uri": { + "type": "string", + "description": "The url for the Web API." + }, + "httpHeaders": { + "$ref": "#/definitions/WebApiHttpHeaders", + "description": "The headers required to make the http request." + }, + "httpMethod": { + "type": "string", + "description": "The method for the http request." + }, + "timeout": { + "type": "string", + "format": "duration", + "description": "The desired timeout for the request. Default is 30 seconds." + }, + "batchSize": { + "type": "integer", + "format": "int32", + "x-nullable": true, + "description": "The desired batch size which indicates number of documents." + }, + "degreeOfParallelism": { + "type": "integer", + "format": "int32", + "x-nullable": true, + "description": "If set, the number of parallel calls that can be made to the Web API." + }, + "authResourceId": { + "type": "string", + "x-nullable": true, + "x-ms-format": "arm-id", + "description": "Applies to custom skills that connect to external code in an Azure function or some other application that provides the transformations. This value should be the application ID created for the function or app when it was registered with Azure Active Directory. When specified, the custom skill connects to the function or app using a managed ID (either system or user-assigned) of the search service and the access token of the function or app, using this value as the resource id for creating the scope of the access token." + }, + "authIdentity": { + "$ref": "#/definitions/SearchIndexerDataIdentity", + "x-nullable": true, + "description": "The user-assigned managed identity used for outbound connections. If an authResourceId is provided and it's not specified, the system-assigned managed identity is used. On updates to the indexer, if the identity is unspecified, the value remains unchanged. If set to \"none\", the value of this property is cleared." + } + }, + "required": [ + "uri" + ], + "externalDocs": { + "url": "https://learn.microsoft.com/azure/search/cognitive-search-custom-skill-web-api" + }, + "description": "A skill that can call a Web API endpoint, allowing you to extend a skillset by having it call your custom code." + }, + "WebApiHttpHeaders": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "A dictionary of http request headers." + }, + "AmlSkill": { + "type": "object", + "x-ms-client-name": "AzureMachineLearningSkill", + "x-ms-discriminator-value": "#Microsoft.Skills.Custom.AmlSkill", + "allOf": [ + { + "$ref": "#/definitions/SearchIndexerSkill" + } + ], + "properties": { + "uri": { + "x-ms-client-name": "ScoringUri", + "type": "string", + "format": "uri", + "x-nullable": true, + "description": "(Required for no authentication or key authentication) The scoring URI of the AML service to which the JSON payload will be sent. Only the https URI scheme is allowed." + }, + "key": { + "x-ms-client-name": "AuthenticationKey", + "type": "string", + "x-nullable": true, + "description": "(Required for key authentication) The key for the AML service." + }, + "resourceId": { + "type": "string", + "x-nullable": true, + "description": "(Required for token authentication). The Azure Resource Manager resource ID of the AML service. It should be in the format subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.MachineLearningServices/workspaces/{workspace-name}/services/{service_name}." + }, + "timeout": { + "type": "string", + "format": "duration", + "x-nullable": true, + "description": "(Optional) When specified, indicates the timeout for the http client making the API call." + }, + "region": { + "type": "string", + "x-nullable": true, + "description": "(Optional for token authentication). The region the AML service is deployed in." + }, + "degreeOfParallelism": { + "type": "integer", + "format": "int32", + "x-nullable": true, + "description": "(Optional) When specified, indicates the number of calls the indexer will make in parallel to the endpoint you have provided. You can decrease this value if your endpoint is failing under too high of a request load, or raise it if your endpoint is able to accept more requests and you would like an increase in the performance of the indexer. If not set, a default value of 5 is used. The degreeOfParallelism can be set to a maximum of 10 and a minimum of 1." + } + }, + "externalDocs": { + "url": "https://learn.microsoft.com/en-us/azure/search/cognitive-search-aml-skill" + }, + "description": "The AML skill allows you to extend AI enrichment with a custom Azure Machine Learning (AML) model. Once an AML model is trained and deployed, an AML skill integrates it into AI enrichment." + }, + "AzureOpenAIEmbeddingSkill": { + "type": "object", + "x-ms-client-name": "AzureOpenAIEmbeddingSkill", + "x-ms-discriminator-value": "#Microsoft.Skills.Text.AzureOpenAIEmbeddingSkill", + "allOf": [ + { + "$ref": "#/definitions/SearchIndexerSkill" + }, + { + "$ref": "#/definitions/AzureOpenAIParameters" + } + ], + "properties": { + "dimensions": { + "type": "integer", + "format": "int32", + "x-nullable": true, + "description": "The number of dimensions the resulting output embeddings should have. Only supported in text-embedding-3 and later models." + } + }, + "description": "Allows you to generate a vector embedding for a given text input using the Azure OpenAI resource." + }, + "VisionVectorizeSkill": { + "type": "object", + "x-ms-client-name": "VisionVectorizeSkill", + "x-ms-discriminator-value": "#Microsoft.Skills.Vision.VectorizeSkill", + "allOf": [ + { + "$ref": "#/definitions/SearchIndexerSkill" + } + ], + "properties": { + "modelVersion": { + "type": "string", + "x-nullable": true, + "description": "The version of the model to use when calling the AI Services Vision service. It will default to the latest available when not specified." + } + }, + "required": [ + "modelVersion" + ], + "description": "Allows you to generate a vector embedding for a given image or text input using the Azure AI Services Vision Vectorize API." + }, + "ListSkillsetsResult": { + "type": "object", + "properties": { + "value": { + "x-ms-client-name": "Skillsets", + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/SearchIndexerSkillset" + }, + "description": "The skillsets defined in the Search service." + } + }, + "required": [ + "value" + ], + "description": "Response from a list skillset request. If successful, it includes the full definitions of all skillsets." + }, + "TextSplitMode": { + "type": "string", + "enum": [ + "pages", + "sentences" + ], + "x-ms-enum": { + "name": "TextSplitMode", + "modelAsString": true, + "values": [ + { + "value": "pages", + "name": "Pages", + "description": "Split the text into individual pages." + }, + { + "value": "sentences", + "name": "Sentences", + "description": "Split the text into individual sentences." + } + ] + }, + "description": "A value indicating which split mode to perform." + }, + "SplitSkillUnit": { + "type": "string", + "enum": [ + "characters", + "azureOpenAITokens" + ], + "x-ms-enum": { + "name": "SplitSkillUnit", + "modelAsString": true, + "values": [ + { + "value": "characters", + "name": "Characters", + "description": "The length will be measured by character." + }, + { + "value": "azureOpenAITokens", + "name": "AzureOpenAITokens", + "description": "The length will be measured by an AzureOpenAI tokenizer from the tiktoken library." + } + ] + }, + "description": "A value indicating which unit to use." + }, + "AzureOpenAITokenizerParameters": { + "type": "object", + "properties": { + "encoderModelName": { + "$ref": "#/definitions/EncoderModelName", + "x-nullable": true, + "description": "Only applies if the unit is set to azureOpenAITokens. Options include 'R50k_base', 'P50k_base', 'P50k_edit' and 'CL100k_base'. The default value is 'CL100k_base'." + }, + "allowedSpecialTokens": { + "type": "array", + "items": { + "type": "string" + }, + "description": "(Optional) Only applies if the unit is set to azureOpenAITokens. This parameter defines a collection of special tokens that are permitted within the tokenization process." + } + } + }, + "EncoderModelName": { + "type": "string", + "enum": [ + "r50k_base", + "p50k_base", + "p50k_edit", + "cl100k_base" + ], + "x-ms-enum": { + "name": "SplitSkillEncoderModelName", + "modelAsString": true, + "values": [ + { + "value": "r50k_base", + "name": "R50kBase", + "description": "Refers to a base model trained with a 50,000 token vocabulary, often used in general natural language processing tasks." + }, + { + "value": "p50k_base", + "name": "P50kBase", + "description": "A base model with a 50,000 token vocabulary, optimized for prompt-based tasks." + }, + { + "value": "p50k_edit", + "name": "P50kEdit", + "description": "Similar to p50k_base but fine-tuned for editing or rephrasing tasks with a 50,000 token vocabulary." + }, + { + "value": "cl100k_base", + "name": "CL100kBase", + "description": "A base model with a 100,000 token vocabulary." + } + ] + }, + "description": "A value indicating which tokenizer to use." + }, + "VisualFeature": { + "type": "string", + "enum": [ + "adult", + "brands", + "categories", + "description", + "faces", + "objects", + "tags" + ], + "x-ms-enum": { + "name": "VisualFeature", + "modelAsString": true, + "values": [ + { + "value": "adult", + "name": "Adult", + "description": "Visual features recognized as adult persons." + }, + { + "value": "brands", + "name": "Brands", + "description": "Visual features recognized as commercial brands." + }, + { + "value": "categories", + "name": "Categories", + "description": "Categories." + }, + { + "value": "description", + "name": "Description", + "description": "Description." + }, + { + "value": "faces", + "name": "Faces", + "description": "Visual features recognized as people faces." + }, + { + "value": "objects", + "name": "Objects", + "description": "Visual features recognized as objects." + }, + { + "value": "tags", + "name": "Tags", + "description": "Tags." + } + ] + }, + "description": "The strings indicating what visual feature types to return." + }, + "ImageDetail": { + "type": "string", + "enum": [ + "celebrities", + "landmarks" + ], + "x-ms-enum": { + "name": "ImageDetail", + "modelAsString": true, + "values": [ + { + "value": "celebrities", + "name": "Celebrities", + "description": "Details recognized as celebrities." + }, + { + "value": "landmarks", + "name": "Landmarks", + "description": "Details recognized as landmarks." + } + ] + }, + "description": "A string indicating which domain-specific details to return." + }, + "EntityCategory": { + "type": "string", + "enum": [ + "location", + "organization", + "person", + "quantity", + "datetime", + "url", + "email" + ], + "x-ms-enum": { + "name": "EntityCategory", + "modelAsString": true, + "values": [ + { + "value": "location", + "name": "Location", + "description": "Entities describing a physical location." + }, + { + "value": "organization", + "name": "Organization", + "description": "Entities describing an organization." + }, + { + "value": "person", + "name": "Person", + "description": "Entities describing a person." + }, + { + "value": "quantity", + "name": "Quantity", + "description": "Entities describing a quantity." + }, + { + "value": "datetime", + "name": "Datetime", + "description": "Entities describing a date and time." + }, + { + "value": "url", + "name": "Url", + "description": "Entities describing a URL." + }, + { + "value": "email", + "name": "Email", + "description": "Entities describing an email address." + } + ] + }, + "description": "A string indicating what entity categories to return." + }, + "PIIDetectionSkillMaskingMode": { + "type": "string", + "enum": [ + "none", + "replace" + ], + "x-ms-enum": { + "name": "PIIDetectionSkillMaskingMode", + "modelAsString": true, + "values": [ + { + "value": "none", + "name": "None", + "description": "No masking occurs and the maskedText output will not be returned." + }, + { + "value": "replace", + "name": "Replace", + "description": "Replaces the detected entities with the character given in the maskingCharacter parameter. The character will be repeated to the length of the detected entity so that the offsets will correctly correspond to both the input text as well as the output maskedText." + } + ] + }, + "description": "A string indicating what maskingMode to use to mask the personal information detected in the input text." + }, + "SentimentSkillLanguage": { + "type": "string", + "enum": [ + "da", + "nl", + "en", + "fi", + "fr", + "de", + "el", + "it", + "no", + "pl", + "pt-PT", + "ru", + "es", + "sv", + "tr" + ], + "x-ms-enum": { + "name": "SentimentSkillLanguage", + "modelAsString": true, + "values": [ + { + "value": "da", + "description": "Danish" + }, + { + "value": "nl", + "description": "Dutch" + }, + { + "value": "en", + "description": "English" + }, + { + "value": "fi", + "description": "Finnish" + }, + { + "value": "fr", + "description": "French" + }, + { + "value": "de", + "description": "German" + }, + { + "value": "el", + "description": "Greek" + }, + { + "value": "it", + "description": "Italian" + }, + { + "value": "no", + "description": "Norwegian (Bokmaal)" + }, + { + "value": "pl", + "description": "Polish" + }, + { + "value": "pt-PT", + "description": "Portuguese (Portugal)" + }, + { + "value": "ru", + "description": "Russian" + }, + { + "value": "es", + "description": "Spanish" + }, + { + "value": "sv", + "description": "Swedish" + }, + { + "value": "tr", + "description": "Turkish" + } + ] + }, + "description": "Deprecated. The language codes supported for input text by SentimentSkill.", + "x-az-search-deprecated": true + }, + "KeyPhraseExtractionSkillLanguage": { + "type": "string", + "enum": [ + "da", + "nl", + "en", + "fi", + "fr", + "de", + "it", + "ja", + "ko", + "no", + "pl", + "pt-PT", + "pt-BR", + "ru", + "es", + "sv" + ], + "x-ms-enum": { + "name": "KeyPhraseExtractionSkillLanguage", + "modelAsString": true, + "values": [ + { + "value": "da", + "description": "Danish" + }, + { + "value": "nl", + "description": "Dutch" + }, + { + "value": "en", + "description": "English" + }, + { + "value": "fi", + "description": "Finnish" + }, + { + "value": "fr", + "description": "French" + }, + { + "value": "de", + "description": "German" + }, + { + "value": "it", + "description": "Italian" + }, + { + "value": "ja", + "description": "Japanese" + }, + { + "value": "ko", + "description": "Korean" + }, + { + "value": "no", + "description": "Norwegian (Bokmaal)" + }, + { + "value": "pl", + "description": "Polish" + }, + { + "value": "pt-PT", + "description": "Portuguese (Portugal)" + }, + { + "value": "pt-BR", + "description": "Portuguese (Brazil)" + }, + { + "value": "ru", + "description": "Russian" + }, + { + "value": "es", + "description": "Spanish" + }, + { + "value": "sv", + "description": "Swedish" + } + ] + }, + "description": "The language codes supported for input text by KeyPhraseExtractionSkill." + }, + "OcrSkillLanguage": { + "type": "string", + "enum": [ + "af", + "sq", + "anp", + "ar", + "ast", + "awa", + "az", + "bfy", + "eu", + "be", + "be-cyrl", + "be-latn", + "bho", + "bi", + "brx", + "bs", + "bra", + "br", + "bg", + "bns", + "bua", + "ca", + "ceb", + "rab", + "ch", + "hne", + "zh-Hans", + "zh-Hant", + "kw", + "co", + "crh", + "hr", + "cs", + "da", + "prs", + "dhi", + "doi", + "nl", + "en", + "myv", + "et", + "fo", + "fj", + "fil", + "fi", + "fr", + "fur", + "gag", + "gl", + "de", + "gil", + "gon", + "el", + "kl", + "gvr", + "ht", + "hlb", + "hni", + "bgc", + "haw", + "hi", + "mww", + "hoc", + "hu", + "is", + "smn", + "id", + "ia", + "iu", + "ga", + "it", + "ja", + "Jns", + "jv", + "kea", + "kac", + "xnr", + "krc", + "kaa-cyrl", + "kaa", + "csb", + "kk-cyrl", + "kk-latn", + "klr", + "kha", + "quc", + "ko", + "kfq", + "kpy", + "kos", + "kum", + "ku-arab", + "ku-latn", + "kru", + "ky", + "lkt", + "la", + "lt", + "dsb", + "smj", + "lb", + "bfz", + "ms", + "mt", + "kmj", + "gv", + "mi", + "mr", + "mn", + "cnr-cyrl", + "cnr-latn", + "nap", + "ne", + "niu", + "nog", + "sme", + "nb", + "no", + "oc", + "os", + "ps", + "fa", + "pl", + "pt", + "pa", + "ksh", + "ro", + "rm", + "ru", + "sck", + "sm", + "sa", + "sat", + "sco", + "gd", + "sr", + "sr-Cyrl", + "sr-Latn", + "xsr", + "srx", + "sms", + "sk", + "sl", + "so", + "sma", + "es", + "sw", + "sv", + "tg", + "tt", + "tet", + "thf", + "to", + "tr", + "tk", + "tyv", + "hsb", + "ur", + "ug", + "uz-arab", + "uz-cyrl", + "uz", + "vo", + "wae", + "cy", + "fy", + "yua", + "za", + "zu", + "unk" + ], + "x-ms-enum": { + "name": "OcrSkillLanguage", + "modelAsString": true, + "values": [ + { + "value": "af", + "description": "Afrikaans" + }, + { + "value": "sq", + "description": "Albanian" + }, + { + "value": "anp", + "description": "Angika (Devanagiri)" + }, + { + "value": "ar", + "description": "Arabic" + }, + { + "value": "ast", + "description": "Asturian" + }, + { + "value": "awa", + "description": "Awadhi-Hindi (Devanagiri)" + }, + { + "value": "az", + "description": "Azerbaijani (Latin)" + }, + { + "value": "bfy", + "description": "Bagheli" + }, + { + "value": "eu", + "description": "Basque" + }, + { + "value": "be", + "description": "Belarusian (Cyrillic and Latin)" + }, + { + "value": "be-cyrl", + "description": "Belarusian (Cyrillic)" + }, + { + "value": "be-latn", + "description": "Belarusian (Latin)" + }, + { + "value": "bho", + "description": "Bhojpuri-Hindi (Devanagiri)" + }, + { + "value": "bi", + "description": "Bislama" + }, + { + "value": "brx", + "description": "Bodo (Devanagiri)" + }, + { + "value": "bs", + "description": "Bosnian Latin" + }, + { + "value": "bra", + "description": "Brajbha" + }, + { + "value": "br", + "description": "Breton" + }, + { + "value": "bg", + "description": "Bulgarian" + }, + { + "value": "bns", + "description": "Bundeli" + }, + { + "value": "bua", + "description": "Buryat (Cyrillic)" + }, + { + "value": "ca", + "description": "Catalan" + }, + { + "value": "ceb", + "description": "Cebuano" + }, + { + "value": "rab", + "description": "Chamling" + }, + { + "value": "ch", + "description": "Chamorro" + }, + { + "value": "hne", + "description": "Chhattisgarhi (Devanagiri)" + }, + { + "value": "zh-Hans", + "description": "Chinese Simplified" + }, + { + "value": "zh-Hant", + "description": "Chinese Traditional" + }, + { + "value": "kw", + "description": "Cornish" + }, + { + "value": "co", + "description": "Corsican" + }, + { + "value": "crh", + "description": "Crimean Tatar (Latin)" + }, + { + "value": "hr", + "description": "Croatian" + }, + { + "value": "cs", + "description": "Czech" + }, + { + "value": "da", + "description": "Danish" + }, + { + "value": "prs", + "description": "Dari" + }, + { + "value": "dhi", + "description": "Dhimal (Devanagiri)" + }, + { + "value": "doi", + "description": "Dogri (Devanagiri)" + }, + { + "value": "nl", + "description": "Dutch" + }, + { + "value": "en", + "description": "English" + }, + { + "value": "myv", + "description": "Erzya (Cyrillic)" + }, + { + "value": "et", + "description": "Estonian" + }, + { + "value": "fo", + "description": "Faroese" + }, + { + "value": "fj", + "description": "Fijian" + }, + { + "value": "fil", + "description": "Filipino" + }, + { + "value": "fi", + "description": "Finnish" + }, + { + "value": "fr", + "description": "French" + }, + { + "value": "fur", + "description": "Frulian" + }, + { + "value": "gag", + "description": "Gagauz (Latin)" + }, + { + "value": "gl", + "description": "Galician" + }, + { + "value": "de", + "description": "German" + }, + { + "value": "gil", + "description": "Gilbertese" + }, + { + "value": "gon", + "description": "Gondi (Devanagiri)" + }, + { + "value": "el", + "description": "Greek" + }, + { + "value": "kl", + "description": "Greenlandic" + }, + { + "value": "gvr", + "description": "Gurung (Devanagiri)" + }, + { + "value": "ht", + "description": "Haitian Creole" + }, + { + "value": "hlb", + "description": "Halbi (Devanagiri)" + }, + { + "value": "hni", + "description": "Hani" + }, + { + "value": "bgc", + "description": "Haryanvi" + }, + { + "value": "haw", + "description": "Hawaiian" + }, + { + "value": "hi", + "description": "Hindi" + }, + { + "value": "mww", + "description": "Hmong Daw (Latin)" + }, + { + "value": "hoc", + "description": "Ho (Devanagiri)" + }, + { + "value": "hu", + "description": "Hungarian" + }, + { + "value": "is", + "description": "Icelandic" + }, + { + "value": "smn", + "description": "Inari Sami" + }, + { + "value": "id", + "description": "Indonesian" + }, + { + "value": "ia", + "description": "Interlingua" + }, + { + "value": "iu", + "description": "Inuktitut (Latin)" + }, + { + "value": "ga", + "description": "Irish" + }, + { + "value": "it", + "description": "Italian" + }, + { + "value": "ja", + "description": "Japanese" + }, + { + "value": "Jns", + "description": "Jaunsari (Devanagiri)" + }, + { + "value": "jv", + "description": "Javanese" + }, + { + "value": "kea", + "description": "Kabuverdianu" + }, + { + "value": "kac", + "description": "Kachin (Latin)" + }, + { + "value": "xnr", + "description": "Kangri (Devanagiri)" + }, + { + "value": "krc", + "description": "Karachay-Balkar" + }, + { + "value": "kaa-cyrl", + "description": "Kara-Kalpak (Cyrillic)" + }, + { + "value": "kaa", + "description": "Kara-Kalpak (Latin)" + }, + { + "value": "csb", + "description": "Kashubian" + }, + { + "value": "kk-cyrl", + "description": "Kazakh (Cyrillic)" + }, + { + "value": "kk-latn", + "description": "Kazakh (Latin)" + }, + { + "value": "klr", + "description": "Khaling" + }, + { + "value": "kha", + "description": "Khasi" + }, + { + "value": "quc", + "description": "K'iche'" + }, + { + "value": "ko", + "description": "Korean" + }, + { + "value": "kfq", + "description": "Korku" + }, + { + "value": "kpy", + "description": "Koryak" + }, + { + "value": "kos", + "description": "Kosraean" + }, + { + "value": "kum", + "description": "Kumyk (Cyrillic)" + }, + { + "value": "ku-arab", + "description": "Kurdish (Arabic)" + }, + { + "value": "ku-latn", + "description": "Kurdish (Latin)" + }, + { + "value": "kru", + "description": "Kurukh (Devanagiri)" + }, + { + "value": "ky", + "description": "Kyrgyz (Cyrillic)" + }, + { + "value": "lkt", + "description": "Lakota" + }, + { + "value": "la", + "description": "Latin" + }, + { + "value": "lt", + "description": "Lithuanian" + }, + { + "value": "dsb", + "description": "Lower Sorbian" + }, + { + "value": "smj", + "description": "Lule Sami" + }, + { + "value": "lb", + "description": "Luxembourgish" + }, + { + "value": "bfz", + "description": "Mahasu Pahari (Devanagiri)" + }, + { + "value": "ms", + "description": "Malay (Latin)" + }, + { + "value": "mt", + "description": "Maltese" + }, + { + "value": "kmj", + "description": "Malto (Devanagiri)" + }, + { + "value": "gv", + "description": "Manx" + }, + { + "value": "mi", + "description": "Maori" + }, + { + "value": "mr", + "description": "Marathi" + }, + { + "value": "mn", + "description": "Mongolian (Cyrillic)" + }, + { + "value": "cnr-cyrl", + "description": "Montenegrin (Cyrillic)" + }, + { + "value": "cnr-latn", + "description": "Montenegrin (Latin)" + }, + { + "value": "nap", + "description": "Neapolitan" + }, + { + "value": "ne", + "description": "Nepali" + }, + { + "value": "niu", + "description": "Niuean" + }, + { + "value": "nog", + "description": "Nogay" + }, + { + "value": "sme", + "description": "Northern Sami (Latin)" + }, + { + "value": "nb", + "description": "Norwegian" + }, + { + "value": "no", + "description": "Norwegian" + }, + { + "value": "oc", + "description": "Occitan" + }, + { + "value": "os", + "description": "Ossetic" + }, + { + "value": "ps", + "description": "Pashto" + }, + { + "value": "fa", + "description": "Persian" + }, + { + "value": "pl", + "description": "Polish" + }, + { + "value": "pt", + "description": "Portuguese" + }, + { + "value": "pa", + "description": "Punjabi (Arabic)" + }, + { + "value": "ksh", + "description": "Ripuarian" + }, + { + "value": "ro", + "description": "Romanian" + }, + { + "value": "rm", + "description": "Romansh" + }, + { + "value": "ru", + "description": "Russian" + }, + { + "value": "sck", + "description": "Sadri (Devanagiri)" + }, + { + "value": "sm", + "description": "Samoan (Latin)" + }, + { + "value": "sa", + "description": "Sanskrit (Devanagiri)" + }, + { + "value": "sat", + "description": "Santali (Devanagiri)" + }, + { + "value": "sco", + "description": "Scots" + }, + { + "value": "gd", + "description": "Scottish Gaelic" + }, + { + "value": "sr", + "description": "Serbian (Latin)" + }, + { + "value": "sr-Cyrl", + "description": "Serbian (Cyrillic)" + }, + { + "value": "sr-Latn", + "description": "Serbian (Latin)" + }, + { + "value": "xsr", + "description": "Sherpa (Devanagiri)" + }, + { + "value": "srx", + "description": "Sirmauri (Devanagiri)" + }, + { + "value": "sms", + "description": "Skolt Sami" + }, + { + "value": "sk", + "description": "Slovak" + }, + { + "value": "sl", + "description": "Slovenian" + }, + { + "value": "so", + "description": "Somali (Arabic)" + }, + { + "value": "sma", + "description": "Southern Sami" + }, + { + "value": "es", + "description": "Spanish" + }, + { + "value": "sw", + "description": "Swahili (Latin)" + }, + { + "value": "sv", + "description": "Swedish" + }, + { + "value": "tg", + "description": "Tajik (Cyrillic)" + }, + { + "value": "tt", + "description": "Tatar (Latin)" + }, + { + "value": "tet", + "description": "Tetum" + }, + { + "value": "thf", + "description": "Thangmi" + }, + { + "value": "to", + "description": "Tongan" + }, + { + "value": "tr", + "description": "Turkish" + }, + { + "value": "tk", + "description": "Turkmen (Latin)" + }, + { + "value": "tyv", + "description": "Tuvan" + }, + { + "value": "hsb", + "description": "Upper Sorbian" + }, + { + "value": "ur", + "description": "Urdu" + }, + { + "value": "ug", + "description": "Uyghur (Arabic)" + }, + { + "value": "uz-arab", + "description": "Uzbek (Arabic)" + }, + { + "value": "uz-cyrl", + "description": "Uzbek (Cyrillic)" + }, + { + "value": "uz", + "description": "Uzbek (Latin)" + }, + { + "value": "vo", + "description": "Volapük" + }, + { + "value": "wae", + "description": "Walser" + }, + { + "value": "cy", + "description": "Welsh" + }, + { + "value": "fy", + "description": "Western Frisian" + }, + { + "value": "yua", + "description": "Yucatec Maya" + }, + { + "value": "za", + "description": "Zhuang" + }, + { + "value": "zu", + "description": "Zulu" + }, + { + "value": "unk", + "description": "Unknown (All)" + } + ] + }, + "description": "The language codes supported for input by OcrSkill." + }, + "OcrSkillLineEnding": { + "type": "string", + "enum": [ + "space", + "carriageReturn", + "lineFeed", + "carriageReturnLineFeed" + ], + "x-ms-enum": { + "name": "LineEnding", + "modelAsString": true, + "values": [ + { + "value": "space", + "name": "Space", + "description": "Lines are separated by a single space character." + }, + { + "value": "carriageReturn", + "name": "CarriageReturn", + "description": "Lines are separated by a carriage return ('\\r') character." + }, + { + "value": "lineFeed", + "name": "LineFeed", + "description": "Lines are separated by a single line feed ('\\n') character." + }, + { + "value": "carriageReturnLineFeed", + "name": "CarriageReturnLineFeed", + "description": "Lines are separated by a carriage return and a line feed ('\\r\\n') character." + } + ] + }, + "description": "Defines the sequence of characters to use between the lines of text recognized by the OCR skill. The default value is \"space\"." + }, + "SplitSkillLanguage": { + "type": "string", + "enum": [ + "am", + "bs", + "cs", + "da", + "de", + "en", + "es", + "et", + "fi", + "fr", + "he", + "hi", + "hr", + "hu", + "id", + "is", + "it", + "ja", + "ko", + "lv", + "nb", + "nl", + "pl", + "pt", + "pt-br", + "ru", + "sk", + "sl", + "sr", + "sv", + "tr", + "ur", + "zh" + ], + "x-ms-enum": { + "name": "SplitSkillLanguage", + "modelAsString": true, + "values": [ + { + "value": "am", + "description": "Amharic" + }, + { + "value": "bs", + "description": "Bosnian" + }, + { + "value": "cs", + "description": "Czech" + }, + { + "value": "da", + "description": "Danish" + }, + { + "value": "de", + "description": "German" + }, + { + "value": "en", + "description": "English" + }, + { + "value": "es", + "description": "Spanish" + }, + { + "value": "et", + "description": "Estonian" + }, + { + "value": "fi", + "description": "Finnish" + }, + { + "value": "fr", + "description": "French" + }, + { + "value": "he", + "description": "Hebrew" + }, + { + "value": "hi", + "description": "Hindi" + }, + { + "value": "hr", + "description": "Croatian" + }, + { + "value": "hu", + "description": "Hungarian" + }, + { + "value": "id", + "description": "Indonesian" + }, + { + "value": "is", + "description": "Icelandic" + }, + { + "value": "it", + "description": "Italian" + }, + { + "value": "ja", + "description": "Japanese" + }, + { + "value": "ko", + "description": "Korean" + }, + { + "value": "lv", + "description": "Latvian" + }, + { + "value": "nb", + "description": "Norwegian" + }, + { + "value": "nl", + "description": "Dutch" + }, + { + "value": "pl", + "description": "Polish" + }, + { + "value": "pt", + "description": "Portuguese (Portugal)" + }, + { + "value": "pt-br", + "description": "Portuguese (Brazil)" + }, + { + "value": "ru", + "description": "Russian" + }, + { + "value": "sk", + "description": "Slovak" + }, + { + "value": "sl", + "description": "Slovenian" + }, + { + "value": "sr", + "description": "Serbian" + }, + { + "value": "sv", + "description": "Swedish" + }, + { + "value": "tr", + "description": "Turkish" + }, + { + "value": "ur", + "description": "Urdu" + }, + { + "value": "zh", + "description": "Chinese (Simplified)" + } + ] + }, + "description": "The language codes supported for input text by SplitSkill." + }, + "CustomEntityLookupSkillLanguage": { + "type": "string", + "enum": [ + "da", + "de", + "en", + "es", + "fi", + "fr", + "it", + "ko", + "pt" + ], + "x-ms-enum": { + "name": "CustomEntityLookupSkillLanguage", + "modelAsString": true, + "values": [ + { + "value": "da", + "description": "Danish" + }, + { + "value": "de", + "description": "German" + }, + { + "value": "en", + "description": "English" + }, + { + "value": "es", + "description": "Spanish" + }, + { + "value": "fi", + "description": "Finnish" + }, + { + "value": "fr", + "description": "French" + }, + { + "value": "it", + "description": "Italian" + }, + { + "value": "ko", + "description": "Korean" + }, + { + "value": "pt", + "description": "Portuguese" + } + ] + }, + "description": "The language codes supported for input text by CustomEntityLookupSkill." + }, + "EntityRecognitionSkillLanguage": { + "type": "string", + "enum": [ + "ar", + "cs", + "zh-Hans", + "zh-Hant", + "da", + "nl", + "en", + "fi", + "fr", + "de", + "el", + "hu", + "it", + "ja", + "ko", + "no", + "pl", + "pt-PT", + "pt-BR", + "ru", + "es", + "sv", + "tr" + ], + "x-ms-enum": { + "name": "EntityRecognitionSkillLanguage", + "modelAsString": true, + "values": [ + { + "value": "ar", + "description": "Arabic" + }, + { + "value": "cs", + "description": "Czech" + }, + { + "value": "zh-Hans", + "description": "Chinese-Simplified" + }, + { + "value": "zh-Hant", + "description": "Chinese-Traditional" + }, + { + "value": "da", + "description": "Danish" + }, + { + "value": "nl", + "description": "Dutch" + }, + { + "value": "en", + "description": "English" + }, + { + "value": "fi", + "description": "Finnish" + }, + { + "value": "fr", + "description": "French" + }, + { + "value": "de", + "description": "German" + }, + { + "value": "el", + "description": "Greek" + }, + { + "value": "hu", + "description": "Hungarian" + }, + { + "value": "it", + "description": "Italian" + }, + { + "value": "ja", + "description": "Japanese" + }, + { + "value": "ko", + "description": "Korean" + }, + { + "value": "no", + "description": "Norwegian (Bokmaal)" + }, + { + "value": "pl", + "description": "Polish" + }, + { + "value": "pt-PT", + "description": "Portuguese (Portugal)" + }, + { + "value": "pt-BR", + "description": "Portuguese (Brazil)" + }, + { + "value": "ru", + "description": "Russian" + }, + { + "value": "es", + "description": "Spanish" + }, + { + "value": "sv", + "description": "Swedish" + }, + { + "value": "tr", + "description": "Turkish" + } + ] + }, + "description": "Deprecated. The language codes supported for input text by EntityRecognitionSkill.", + "x-az-search-deprecated": true + }, + "TextTranslationSkillLanguage": { + "type": "string", + "enum": [ + "af", + "ar", + "bn", + "bs", + "bg", + "yue", + "ca", + "zh-Hans", + "zh-Hant", + "hr", + "cs", + "da", + "nl", + "en", + "et", + "fj", + "fil", + "fi", + "fr", + "de", + "el", + "ht", + "he", + "hi", + "mww", + "hu", + "is", + "id", + "it", + "ja", + "sw", + "tlh", + "tlh-Latn", + "tlh-Piqd", + "ko", + "lv", + "lt", + "mg", + "ms", + "mt", + "nb", + "fa", + "pl", + "pt", + "pt-br", + "pt-PT", + "otq", + "ro", + "ru", + "sm", + "sr-Cyrl", + "sr-Latn", + "sk", + "sl", + "es", + "sv", + "ty", + "ta", + "te", + "th", + "to", + "tr", + "uk", + "ur", + "vi", + "cy", + "yua", + "ga", + "kn", + "mi", + "ml", + "pa" + ], + "x-ms-enum": { + "name": "TextTranslationSkillLanguage", + "modelAsString": true, + "values": [ + { + "value": "af", + "description": "Afrikaans" + }, + { + "value": "ar", + "description": "Arabic" + }, + { + "value": "bn", + "description": "Bangla" + }, + { + "value": "bs", + "description": "Bosnian (Latin)" + }, + { + "value": "bg", + "description": "Bulgarian" + }, + { + "value": "yue", + "description": "Cantonese (Traditional)" + }, + { + "value": "ca", + "description": "Catalan" + }, + { + "value": "zh-Hans", + "description": "Chinese Simplified" + }, + { + "value": "zh-Hant", + "description": "Chinese Traditional" + }, + { + "value": "hr", + "description": "Croatian" + }, + { + "value": "cs", + "description": "Czech" + }, + { + "value": "da", + "description": "Danish" + }, + { + "value": "nl", + "description": "Dutch" + }, + { + "value": "en", + "description": "English" + }, + { + "value": "et", + "description": "Estonian" + }, + { + "value": "fj", + "description": "Fijian" + }, + { + "value": "fil", + "description": "Filipino" + }, + { + "value": "fi", + "description": "Finnish" + }, + { + "value": "fr", + "description": "French" + }, + { + "value": "de", + "description": "German" + }, + { + "value": "el", + "description": "Greek" + }, + { + "value": "ht", + "description": "Haitian Creole" + }, + { + "value": "he", + "description": "Hebrew" + }, + { + "value": "hi", + "description": "Hindi" + }, + { + "value": "mww", + "description": "Hmong Daw" + }, + { + "value": "hu", + "description": "Hungarian" + }, + { + "value": "is", + "description": "Icelandic" + }, + { + "value": "id", + "description": "Indonesian" + }, + { + "value": "it", + "description": "Italian" + }, + { + "value": "ja", + "description": "Japanese" + }, + { + "value": "sw", + "description": "Kiswahili" + }, + { + "value": "tlh", + "description": "Klingon" + }, + { + "value": "tlh-Latn", + "description": "Klingon (Latin script)" + }, + { + "value": "tlh-Piqd", + "description": "Klingon (Klingon script)" + }, + { + "value": "ko", + "description": "Korean" + }, + { + "value": "lv", + "description": "Latvian" + }, + { + "value": "lt", + "description": "Lithuanian" + }, + { + "value": "mg", + "description": "Malagasy" + }, + { + "value": "ms", + "description": "Malay" + }, + { + "value": "mt", + "description": "Maltese" + }, + { + "value": "nb", + "description": "Norwegian" + }, + { + "value": "fa", + "description": "Persian" + }, + { + "value": "pl", + "description": "Polish" + }, + { + "value": "pt", + "description": "Portuguese" + }, + { + "value": "pt-br", + "description": "Portuguese (Brazil)" + }, + { + "value": "pt-PT", + "description": "Portuguese (Portugal)" + }, + { + "value": "otq", + "description": "Queretaro Otomi" + }, + { + "value": "ro", + "description": "Romanian" + }, + { + "value": "ru", + "description": "Russian" + }, + { + "value": "sm", + "description": "Samoan" + }, + { + "value": "sr-Cyrl", + "description": "Serbian (Cyrillic)" + }, + { + "value": "sr-Latn", + "description": "Serbian (Latin)" + }, + { + "value": "sk", + "description": "Slovak" + }, + { + "value": "sl", + "description": "Slovenian" + }, + { + "value": "es", + "description": "Spanish" + }, + { + "value": "sv", + "description": "Swedish" + }, + { + "value": "ty", + "description": "Tahitian" + }, + { + "value": "ta", + "description": "Tamil" + }, + { + "value": "te", + "description": "Telugu" + }, + { + "value": "th", + "description": "Thai" + }, + { + "value": "to", + "description": "Tongan" + }, + { + "value": "tr", + "description": "Turkish" + }, + { + "value": "uk", + "description": "Ukrainian" + }, + { + "value": "ur", + "description": "Urdu" + }, + { + "value": "vi", + "description": "Vietnamese" + }, + { + "value": "cy", + "description": "Welsh" + }, + { + "value": "yua", + "description": "Yucatec Maya" + }, + { + "value": "ga", + "description": "Irish" + }, + { + "value": "kn", + "description": "Kannada" + }, + { + "value": "mi", + "description": "Maori" + }, + { + "value": "ml", + "description": "Malayalam" + }, + { + "value": "pa", + "description": "Punjabi" + } + ] + }, + "description": "The language codes supported for input text by TextTranslationSkill." + }, + "ImageAnalysisSkillLanguage": { + "type": "string", + "enum": [ + "ar", + "az", + "bg", + "bs", + "ca", + "cs", + "cy", + "da", + "de", + "el", + "en", + "es", + "et", + "eu", + "fi", + "fr", + "ga", + "gl", + "he", + "hi", + "hr", + "hu", + "id", + "it", + "ja", + "kk", + "ko", + "lt", + "lv", + "mk", + "ms", + "nb", + "nl", + "pl", + "prs", + "pt-BR", + "pt", + "pt-PT", + "ro", + "ru", + "sk", + "sl", + "sr-Cyrl", + "sr-Latn", + "sv", + "th", + "tr", + "uk", + "vi", + "zh", + "zh-Hans", + "zh-Hant" + ], + "x-ms-enum": { + "name": "ImageAnalysisSkillLanguage", + "modelAsString": true, + "values": [ + { + "value": "ar", + "description": "Arabic" + }, + { + "value": "az", + "description": "Azerbaijani" + }, + { + "value": "bg", + "description": "Bulgarian" + }, + { + "value": "bs", + "description": "Bosnian Latin" + }, + { + "value": "ca", + "description": "Catalan" + }, + { + "value": "cs", + "description": "Czech" + }, + { + "value": "cy", + "description": "Welsh" + }, + { + "value": "da", + "description": "Danish" + }, + { + "value": "de", + "description": "German" + }, + { + "value": "el", + "description": "Greek" + }, + { + "value": "en", + "description": "English" + }, + { + "value": "es", + "description": "Spanish" + }, + { + "value": "et", + "description": "Estonian" + }, + { + "value": "eu", + "description": "Basque" + }, + { + "value": "fi", + "description": "Finnish" + }, + { + "value": "fr", + "description": "French" + }, + { + "value": "ga", + "description": "Irish" + }, + { + "value": "gl", + "description": "Galician" + }, + { + "value": "he", + "description": "Hebrew" + }, + { + "value": "hi", + "description": "Hindi" + }, + { + "value": "hr", + "description": "Croatian" + }, + { + "value": "hu", + "description": "Hungarian" + }, + { + "value": "id", + "description": "Indonesian" + }, + { + "value": "it", + "description": "Italian" + }, + { + "value": "ja", + "description": "Japanese" + }, + { + "value": "kk", + "description": "Kazakh" + }, + { + "value": "ko", + "description": "Korean" + }, + { + "value": "lt", + "description": "Lithuanian" + }, + { + "value": "lv", + "description": "Latvian" + }, + { + "value": "mk", + "description": "Macedonian" + }, + { + "value": "ms", + "description": "Malay Malaysia" + }, + { + "value": "nb", + "description": "Norwegian (Bokmal)" + }, + { + "value": "nl", + "description": "Dutch" + }, + { + "value": "pl", + "description": "Polish" + }, + { + "value": "prs", + "description": "Dari" + }, + { + "value": "pt-BR", + "description": "Portuguese-Brazil" + }, + { + "value": "pt", + "description": "Portuguese-Portugal" + }, + { + "value": "pt-PT", + "description": "Portuguese-Portugal" + }, + { + "value": "ro", + "description": "Romanian" + }, + { + "value": "ru", + "description": "Russian" + }, + { + "value": "sk", + "description": "Slovak" + }, + { + "value": "sl", + "description": "Slovenian" + }, + { + "value": "sr-Cyrl", + "description": "Serbian - Cyrillic RS" + }, + { + "value": "sr-Latn", + "description": "Serbian - Latin RS" + }, + { + "value": "sv", + "description": "Swedish" + }, + { + "value": "th", + "description": "Thai" + }, + { + "value": "tr", + "description": "Turkish" + }, + { + "value": "uk", + "description": "Ukrainian" + }, + { + "value": "vi", + "description": "Vietnamese" + }, + { + "value": "zh", + "description": "Chinese Simplified" + }, + { + "value": "zh-Hans", + "description": "Chinese Simplified" + }, + { + "value": "zh-Hant", + "description": "Chinese Traditional" + } + ] + }, + "description": "The language codes supported for input by ImageAnalysisSkill." + }, + "SynonymMap": { + "type": "object", + "properties": { + "name": { + "externalDocs": { + "url": "https://learn.microsoft.com/rest/api/searchservice/Naming-rules" + }, + "type": "string", + "description": "The name of the synonym map." + }, + "format": { + "type": "string", + "enum": [ + "solr" + ], + "x-ms-enum": { + "name": "SynonymMapFormat", + "modelAsString": false, + "values": [ + { + "value": "solr", + "name": "Solr", + "description": "Selects the SOLR format for synonym maps." + } + ] + }, + "description": "The format of the synonym map. Only the 'solr' format is currently supported." + }, + "synonyms": { + "type": "string", + "description": "A series of synonym rules in the specified synonym map format. The rules must be separated by newlines.", + "externalDocs": { + "url": "https://learn.microsoft.com/rest/api/searchservice/Create-Synonym-Map#SynonymMapFormat" + } + }, + "encryptionKey": { + "$ref": "#/definitions/SearchResourceEncryptionKey", + "description": "A description of an encryption key that you create in Azure Key Vault. This key is used to provide an additional level of encryption-at-rest for your data when you want full assurance that no one, not even Microsoft, can decrypt your data. Once you have encrypted your data, it will always remain encrypted. The search service will ignore attempts to set this property to null. You can change this property as needed if you want to rotate your encryption key; Your data will be unaffected. Encryption with customer-managed keys is not available for free search services, and is only available for paid services created on or after January 1, 2019.", + "externalDocs": { + "url": "https://aka.ms/azure-search-encryption-with-cmk" + }, + "x-nullable": true + }, + "@odata.etag": { + "x-ms-client-name": "ETag", + "type": "string", + "description": "The ETag of the synonym map." + } + }, + "required": [ + "name", + "format", + "synonyms" + ], + "description": "Represents a synonym map definition." + }, + "ListSynonymMapsResult": { + "type": "object", + "properties": { + "value": { + "x-ms-client-name": "SynonymMaps", + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/SynonymMap" + }, + "description": "The synonym maps in the Search service." + } + }, + "required": [ + "value" + ], + "description": "Response from a List SynonymMaps request. If successful, it includes the full definitions of all synonym maps." + }, + "SearchResourceEncryptionKey": { + "type": "object", + "properties": { + "keyVaultKeyName": { + "x-ms-client-name": "keyName", + "type": "string", + "description": "The name of your Azure Key Vault key to be used to encrypt your data at rest." + }, + "keyVaultKeyVersion": { + "x-ms-client-name": "keyVersion", + "type": "string", + "description": "The version of your Azure Key Vault key to be used to encrypt your data at rest." + }, + "keyVaultUri": { + "x-ms-client-name": "vaultUri", + "type": "string", + "description": "The URI of your Azure Key Vault, also referred to as DNS name, that contains the key to be used to encrypt your data at rest. An example URI might be `https://my-keyvault-name.vault.azure.net`." + }, + "accessCredentials": { + "$ref": "#/definitions/AzureActiveDirectoryApplicationCredentials", + "description": "Optional Azure Active Directory credentials used for accessing your Azure Key Vault. Not required if using managed identity instead.", + "externalDocs": { + "url": "https://aka.ms/azure-search-msi" + } + }, + "identity": { + "$ref": "#/definitions/SearchIndexerDataIdentity", + "x-nullable": true, + "description": "An explicit managed identity to use for this encryption key. If not specified and the access credentials property is null, the system-assigned managed identity is used. On update to the resource, if the explicit identity is unspecified, it remains unchanged. If \"none\" is specified, the value of this property is cleared." + } + }, + "required": [ + "keyVaultKeyName", + "keyVaultUri" + ], + "description": "A customer-managed encryption key in Azure Key Vault. Keys that you create and manage can be used to encrypt or decrypt data-at-rest, such as indexes and synonym maps." + }, + "SearchIndexerCache": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "A guid for the SearchIndexerCache." + }, + "storageConnectionString": { + "type": "string", + "description": "The connection string to the storage account where the cache data will be persisted." + }, + "enableReprocessing": { + "type": "boolean", + "x-nullable": true, + "description": "Specifies whether incremental reprocessing is enabled." + }, + "identity": { + "$ref": "#/definitions/SearchIndexerDataIdentity", + "x-nullable": true, + "description": "The user-assigned managed identity used for connections to the enrichment cache. If the connection string indicates an identity (ResourceId) and it's not specified, the system-assigned managed identity is used. On updates to the indexer, if the identity is unspecified, the value remains unchanged. If set to \"none\", the value of this property is cleared." + } + } + }, + "AzureActiveDirectoryApplicationCredentials": { + "type": "object", + "properties": { + "applicationId": { + "type": "string", + "description": "An AAD Application ID that was granted the required access permissions to the Azure Key Vault that is to be used when encrypting your data at rest. The Application ID should not be confused with the Object ID for your AAD Application." + }, + "applicationSecret": { + "type": "string", + "description": "The authentication key of the specified AAD application." + } + }, + "required": [ + "applicationId" + ], + "description": "Credentials of a registered application created for your search service, used for authenticated access to the encryption keys stored in Azure Key Vault." + }, + "ServiceStatistics": { + "type": "object", + "properties": { + "counters": { + "$ref": "#/definitions/ServiceCounters", + "description": "Service level resource counters." + }, + "indexersRuntime": { + "$ref": "#/definitions/ServiceIndexersRuntime", + "description": "Service level indexers runtime information." + }, + "limits": { + "$ref": "#/definitions/ServiceLimits", + "description": "Service level general limits." + } + }, + "required": [ + "counters", + "indexersRuntime", + "limits" + ], + "description": "Response from a get service statistics request. If successful, it includes service level counters, indexer runtime information, and limits." + }, + "ServiceCounters": { + "type": "object", + "properties": { + "aliasesCount": { + "x-ms-client-name": "aliasCounter", + "$ref": "#/definitions/ResourceCounter", + "description": "Total number of aliases." + }, + "documentCount": { + "x-ms-client-name": "documentCounter", + "$ref": "#/definitions/ResourceCounter", + "description": "Total number of documents across all indexes in the service." + }, + "indexesCount": { + "x-ms-client-name": "indexCounter", + "$ref": "#/definitions/ResourceCounter", + "description": "Total number of indexes." + }, + "indexersCount": { + "x-ms-client-name": "indexerCounter", + "$ref": "#/definitions/ResourceCounter", + "description": "Total number of indexers." + }, + "dataSourcesCount": { + "x-ms-client-name": "dataSourceCounter", + "$ref": "#/definitions/ResourceCounter", + "description": "Total number of data sources." + }, + "storageSize": { + "x-ms-client-name": "storageSizeCounter", + "$ref": "#/definitions/ResourceCounter", + "description": "Total size of used storage in bytes." + }, + "synonymMaps": { + "x-ms-client-name": "synonymMapCounter", + "$ref": "#/definitions/ResourceCounter", + "description": "Total number of synonym maps." + }, + "skillsetCount": { + "x-ms-client-name": "skillsetCounter", + "$ref": "#/definitions/ResourceCounter", + "description": "Total number of skillsets." + }, + "vectorIndexSize": { + "x-ms-client-name": "vectorIndexSizeCounter", + "$ref": "#/definitions/ResourceCounter", + "description": "Total memory consumption of all vector indexes within the service, in bytes." + } + }, + "required": [ + "aliasesCount", + "documentCount", + "indexesCount", + "indexersCount", + "dataSourcesCount", + "storageSize", + "synonymMaps", + "skillsetCount", + "vectorIndexSize" + ], + "description": "Represents service-level resource counters and quotas." + }, + "ServiceIndexersRuntime": { + "type": "object", + "properties": { + "usedSeconds": { + "type": "integer", + "format": "int64", + "x-nullable": false, + "description": "Cumulative runtime of all indexers in the service from the beginningTime to endingTime, in seconds." + }, + "remainingSeconds": { + "type": "integer", + "format": "int64", + "x-nullable": true, + "description": "Cumulative runtime remaining for all indexers in the service from the beginningTime to endingTime, in seconds." + }, + "beginningTime": { + "type": "string", + "format": "date-time", + "x-nullable": false, + "description": "Beginning UTC time of the 24-hour period considered for indexer runtime usage (inclusive)." + }, + "endingTime": { + "type": "string", + "format": "date-time", + "x-nullable": false, + "description": "End UTC time of the 24-hour period considered for indexer runtime usage (inclusive)." + } + }, + "required": [ + "usedSeconds", + "beginningTime", + "endingTime" + ], + "description": "Represents service level indexers runtime information." + }, + "ServiceLimits": { + "type": "object", + "properties": { + "maxFieldsPerIndex": { + "type": "integer", + "format": "int32", + "x-nullable": true, + "description": "The maximum allowed fields per index." + }, + "maxFieldNestingDepthPerIndex": { + "type": "integer", + "format": "int32", + "x-nullable": true, + "description": "The maximum depth which you can nest sub-fields in an index, including the top-level complex field. For example, a/b/c has a nesting depth of 3." + }, + "maxComplexCollectionFieldsPerIndex": { + "type": "integer", + "format": "int32", + "x-nullable": true, + "description": "The maximum number of fields of type Collection(Edm.ComplexType) allowed in an index." + }, + "maxComplexObjectsInCollectionsPerDocument": { + "type": "integer", + "format": "int32", + "x-nullable": true, + "description": "The maximum number of objects in complex collections allowed per document." + }, + "maxStoragePerIndex": { + "x-ms-client-name": "maxStoragePerIndexInBytes", + "type": "integer", + "format": "int64", + "x-nullable": true, + "description": "The maximum amount of storage in bytes allowed per index." + }, + "maxCumulativeIndexerRuntimeSeconds": { + "type": "integer", + "format": "int64", + "x-nullable": true, + "description": "The maximum cumulative runtime in seconds allowed for all indexers in the service over the current UTC period." + } + }, + "description": "Represents various service level limits." + }, + "ResourceCounter": { + "type": "object", + "properties": { + "usage": { + "type": "integer", + "format": "int64", + "x-nullable": false, + "description": "The resource usage amount." + }, + "quota": { + "type": "integer", + "format": "int64", + "x-nullable": true, + "description": "The resource amount quota." + } + }, + "required": [ + "usage" + ], + "description": "Represents a resource's usage and quota." + }, + "SemanticSettings": { + "type": "object", + "x-ms-client-name": "SemanticSearch", + "properties": { + "defaultConfiguration": { + "x-ms-client-name": "defaultConfigurationName", + "type": "string", + "description": "Allows you to set the name of a default semantic configuration in your index, making it optional to pass it on as a query parameter every time." + }, + "configurations": { + "type": "array", + "items": { + "$ref": "#/definitions/SemanticConfiguration" + }, + "description": "The semantic configurations for the index." + } + }, + "externalDocs": { + "url": "https://learn.microsoft.com/azure/search/semantic-search-overview" + }, + "description": "Defines parameters for a search index that influence semantic capabilities." + }, + "SemanticConfiguration": { + "type": "object", + "properties": { + "name": { + "externalDocs": { + "url": "https://learn.microsoft.com/rest/api/searchservice/Naming-rules" + }, + "type": "string", + "description": "The name of the semantic configuration.", + "x-nullable": false + }, + "prioritizedFields": { + "$ref": "#/definitions/PrioritizedFields", + "x-nullable": false, + "description": "Describes the title, content, and keyword fields to be used for semantic ranking, captions, highlights, and answers. At least one of the three sub properties (titleField, prioritizedKeywordsFields and prioritizedContentFields) need to be set." + }, + "rankingOrder": { + "$ref": "#/definitions/RankingOrder", + "x-nullable": true, + "description": "Specifies the score type to be used for the sort order of the search results." + }, + "flightingOptIn": { + "default": false, + "type": "boolean", + "description": "Determines which semantic or query rewrite models to use during model flighting/upgrades." + } + }, + "required": [ + "name", + "prioritizedFields" + ], + "externalDocs": { + "url": "https://learn.microsoft.com/azure/search/semantic-search-overview" + }, + "description": "Defines a specific configuration to be used in the context of semantic capabilities." + }, + "PrioritizedFields": { + "type": "object", + "x-ms-client-name": "SemanticPrioritizedFields", + "properties": { + "titleField": { + "$ref": "#/definitions/SemanticField", + "description": "Defines the title field to be used for semantic ranking, captions, highlights, and answers. If you don't have a title field in your index, leave this blank." + }, + "prioritizedContentFields": { + "x-ms-client-name": "contentFields", + "type": "array", + "items": { + "$ref": "#/definitions/SemanticField" + }, + "description": "Defines the content fields to be used for semantic ranking, captions, highlights, and answers. For the best result, the selected fields should contain text in natural language form. The order of the fields in the array represents their priority. Fields with lower priority may get truncated if the content is long." + }, + "prioritizedKeywordsFields": { + "x-ms-client-name": "keywordsFields", + "type": "array", + "items": { + "$ref": "#/definitions/SemanticField" + }, + "description": "Defines the keyword fields to be used for semantic ranking, captions, highlights, and answers. For the best result, the selected fields should contain a list of keywords. The order of the fields in the array represents their priority. Fields with lower priority may get truncated if the content is long." + } + }, + "externalDocs": { + "url": "https://learn.microsoft.com/azure/search/semantic-search-overview" + }, + "description": "Describes the title, content, and keywords fields to be used for semantic ranking, captions, highlights, and answers." + }, + "SemanticField": { + "type": "object", + "properties": { + "fieldName": { + "type": "string", + "description": "", + "x-nullable": false + } + }, + "required": [ + "fieldName" + ], + "description": "A field that is used as part of the semantic configuration." + } + }, + "parameters": { + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "Client Api Version." + }, + "ClientRequestIdParameter": { + "name": "x-ms-client-request-id", + "in": "header", + "required": false, + "type": "string", + "format": "uuid", + "description": "The tracking ID sent with the request to help with debugging.", + "x-ms-client-request-id": true, + "x-ms-parameter-grouping": { + "name": "request-options" + }, + "x-ms-parameter-location": "method" + }, + "IfMatchParameter": { + "name": "If-Match", + "in": "header", + "required": false, + "type": "string", + "description": "Defines the If-Match condition. The operation will be performed only if the ETag on the server matches this value.", + "x-ms-parameter-location": "method" + }, + "IfNoneMatchParameter": { + "name": "If-None-Match", + "in": "header", + "required": false, + "type": "string", + "description": "Defines the If-None-Match condition. The operation will be performed only if the ETag on the server does not match this value.", + "x-ms-parameter-location": "method" + }, + "PreferHeaderParameter": { + "name": "Prefer", + "in": "header", + "required": true, + "type": "string", + "enum": [ + "return=representation" + ], + "description": "For HTTP PUT requests, instructs the service to return the created/updated resource on success.", + "x-ms-parameter-location": "method" + }, + "EndpointParameter": { + "name": "endpoint", + "in": "path", + "required": true, + "type": "string", + "x-ms-skip-url-encoding": true, + "description": "The endpoint URL of the search service.", + "x-ms-parameter-location": "client" + }, + "DisableCacheReprocessingChangeDetectionParameter": { + "name": "disableCacheReprocessingChangeDetection", + "in": "query", + "required": false, + "type": "boolean", + "description": "Disables cache reprocessing change detection.", + "x-ms-parameter-location": "method" + }, + "IgnoreResetRequirementsParameter": { + "name": "ignoreResetRequirements", + "x-ms-client-name": "skipIndexerResetRequirementForCache", + "in": "query", + "required": false, + "type": "boolean", + "description": "Ignores cache reset requirements.", + "x-ms-parameter-location": "method" + } + } +} diff --git a/specification/search/data-plane/Azure.Search/readme.md b/specification/search/data-plane/Azure.Search/readme.md index 98aca5b688e4..244a37658173 100644 --- a/specification/search/data-plane/Azure.Search/readme.md +++ b/specification/search/data-plane/Azure.Search/readme.md @@ -26,7 +26,7 @@ These are the global settings for SearchServiceClient and SearchIndexClient. title: SearchClient opt-in-extensible-enums: true openapi-type: data-plane -tag: package-2025-09-01 +tag: package-2025-11-01-preview directive: - where: @@ -167,6 +167,44 @@ directive: - RequiredReadOnlyProperties ``` +### Tag: package-2025-11-01-preview + +These settings apply only when `--tag=package-2025-11-01-preview` is specified on the command line. + +``` yaml $(tag) == 'package-2025-11-01-preview' +input-file: +- preview/2025-11-01-preview/knowledgebase.json +- preview/2025-11-01-preview/searchservice.json +- preview/2025-11-01-preview/searchindex.json +``` + +### Tag: package-2025-11-knowledgebase-preview + +These settings apply only when `--tag=package-2025-11-knowledgebase-preview` is specified on the command line. + +``` yaml $(tag) == 'package-2025-11-knowledgebase-preview' +input-file: +- preview/2025-11-01-preview/knowledgebase.json +``` + +### Tag: package-2025-11-searchservice-preview + +These settings apply only when `--tag=package-2025-11-searchservice-preview` is specified on the command line. + +``` yaml $(tag) == 'package-2025-11-searchservice-preview' +input-file: +- preview/2025-11-01-preview/searchservice.json +``` + +### Tag: package-2025-11-searchindex-preview + +These settings apply only when `--tag=package-2025-11-searchindex-preview` is specified on the command line. + +``` yaml $(tag) == 'package-2025-11-searchindex-preview' +input-file: +- preview/2025-11-01-preview/searchindex.json +``` + ### Tag: package-2025-09-01 These settings apply only when `--tag=package-2025-09-01` is specified on the command line. diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/ApplicationResource.tsp b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/ApplicationResource.tsp index 360dd9abd0ab..cd124d77f599 100644 --- a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/ApplicationResource.tsp +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/ApplicationResource.tsp @@ -2,11 +2,13 @@ import "@azure-tools/typespec-azure-core"; import "@azure-tools/typespec-azure-resource-manager"; import "@typespec/openapi"; import "@typespec/rest"; +import "@typespec/versioning"; import "./models.tsp"; using TypeSpec.Rest; using Azure.ResourceManager; using TypeSpec.Http; +using TypeSpec.Versioning; namespace Microsoft.ServiceFabric; /** @@ -58,12 +60,17 @@ interface Applications { >; /** - * Updates the tags of an application resource of a given managed cluster. + * Updates an application resource of a given managed cluster. */ + #suppress "@azure-tools/typespec-azure-resource-manager/no-response-body" "Day 0 Property" @patch(#{ implicitOptionality: false }) - update is ArmCustomPatchSync< + update is ArmCustomPatchAsync< ApplicationResource, - PatchModel = ApplicationUpdateParameters + PatchModel = ApplicationUpdateParameters, + Response = ArmResourceUpdatedResponse | (ArmAcceptedLroResponse> & { + @bodyRoot + _: ApplicationResource; + }) >; /** @@ -122,6 +129,28 @@ interface Applications { never, LroHeaders = ArmCombinedLroHeaders >; + + /** + * Get the status of the deployed application health. It will query the cluster to find the health of the deployed application. + */ + @added(Versions.v2025_10_01_preview) + fetchHealth is ArmResourceActionAsync< + ApplicationResource, + ApplicationFetchHealthRequest, + never, + LroHeaders = ArmCombinedLroHeaders + >; + + /** + * Restart a code package instance of a service replica or instance. This is a potentially destabilizing operation that should be used with immense care. + */ + @added(Versions.v2025_10_01_preview) + restartDeployedCodePackage is ArmResourceActionAsync< + ApplicationResource, + RestartDeployedCodePackageRequest, + never, + LroHeaders = ArmCombinedLroHeaders + >; } @@doc(ApplicationResource.name, "The name of the application resource."); @@ -138,6 +167,12 @@ interface Applications { @@doc(Applications.updateUpgrade::parameters.body, "The parameters for updating an application upgrade." ); +@@doc(Applications.fetchHealth::parameters.body, + "The parameters for fetching the health of a deployed application." +); +@@doc(Applications.restartDeployedCodePackage::parameters.body, + "The parameters for restarting a deployed code package." +); /** * The application resource properties. @@ -312,6 +347,18 @@ model ApplicationUserAssignedIdentity { principalId: string; } +/** + * Properties for application update request. + */ +@added(Versions.v2025_10_01_preview) +model ApplicationUpdateParametersProperties { + /** + * List of application parameters with overridden values from their default values specified in the application manifest. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "Patch operation expects same format as create or update, used to pass string to string dictionary" + parameters?: Record; +} + /** * Application update request. */ @@ -322,6 +369,12 @@ model ApplicationUpdateParameters { */ #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "Day 0 property, used to pass string to string dictionary" tags?: Record; + + /** + * Application update parameters properties. + */ + @added(Versions.v2025_10_01_preview) + properties?: ApplicationUpdateParametersProperties; } /** @@ -618,3 +671,103 @@ model RuntimeUpdateApplicationUpgradeParameters { */ updateDescription?: RuntimeRollingUpgradeUpdateMonitoringPolicy; } + +/** + * Enum for filtering health events. + */ +@added(Versions.v2025_10_01_preview) +union HealthFilter { + string, + + /** + * Default value. Matches any health state. + */ + Default: "Default", + + /** + * Filter that doesn't match any health state. Used to return no results on a given collection of health entities. + */ + None: "None", + + /** + * Filter for health state Ok. + */ + Ok: "Ok", + + /** + * Filter for health state Warning. + */ + Warning: "Warning", + + /** + * Filter for health state Error. + */ + Error: "Error", + + /** + * Filter that matches input with any health state. + */ + All: "All", +} + +/** + * Parameters for fetching the health of an application. + */ +@added(Versions.v2025_10_01_preview) +model ApplicationFetchHealthRequest { + /** + * Allows filtering of the health events returned in the response based on health state. + */ + eventsHealthStateFilter?: HealthFilter; + + /** + * Allows filtering of the deployed applications health state objects returned in the result of application health query based on their health state. + */ + deployedApplicationsHealthStateFilter?: HealthFilter; + + /** + * Allows filtering of the services health state objects returned in the result of services health query based on their health state. + */ + servicesHealthStateFilter?: HealthFilter; + + /** + * Indicates whether the health statistics should be returned as part of the query result. False by default. The statistics show the number of children entities in health state Ok, Warning, and Error. + */ + excludeHealthStatistics?: boolean = false; + + /** + * Request timeout for the health query in seconds. The default value is 60 seconds. + */ + timeout?: int64 = 60; +} + +/** + * Parameters for restarting a deployed code package. + */ +@added(Versions.v2025_10_01_preview) +model RestartDeployedCodePackageRequest { + /** + * The name of the node where the code package needs to be restarted. Use '*' to restart on all nodes where the code package is running. + */ + nodeName: string; + + /** + * The name of the service manifest as specified in the code package. + */ + serviceManifestName: string; + + /** + * The name of the code package as specified in the service manifest. + */ + codePackageName: string; + + /** + * The instance ID for currently running entry point. For a code package setup entry point (if specified) runs first and after it finishes main entry point is started. Each time entry point executable is run, its instance ID will change. If 0 is passed in as the code package instance ID, the API will restart the code package with whatever instance ID it is currently running. If an instance ID other than 0 is passed in, the API will restart the code package only if the current Instance ID matches the passed in instance ID. Note, passing in the exact instance ID (not 0) in the API is safer, because if ensures at most one restart of the code package. + */ + codePackageInstanceId: string; + + /** + * The activation id of a deployed service package. If ServicePackageActivationMode specified at the time of creating the service is 'SharedProcess' (or if it is not specified, in which case it defaults to 'SharedProcess'), then value of ServicePackageActivationId is always an empty string. + */ + servicePackageActivationId?: string; +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/ManagedCluster.tsp b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/ManagedCluster.tsp index b7dccb0ad6a6..4951eeb0e9ff 100644 --- a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/ManagedCluster.tsp +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/ManagedCluster.tsp @@ -64,10 +64,15 @@ interface ManagedClusters { /** * Update the tags of of a Service Fabric managed cluster resource with the specified name. */ + #suppress "@azure-tools/typespec-azure-resource-manager/no-response-body" "Day 0 Property" @patch(#{ implicitOptionality: false }) - update is ArmCustomPatchSync< + update is ArmCustomPatchAsync< ManagedCluster, - PatchModel = ManagedClusterUpdateParameters + PatchModel = ManagedClusterUpdateParameters, + Response = ArmResourceUpdatedResponse | (ArmAcceptedLroResponse> & { + @bodyRoot + _: ManagedCluster; + }) >; /** diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/NodeType.tsp b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/NodeType.tsp index 6bf817a56fbb..610836090864 100644 --- a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/NodeType.tsp +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/NodeType.tsp @@ -54,7 +54,7 @@ interface NodeTypes { >; /** - * Update the configuration of a node type of a given managed cluster, only updating tags. + * Update the configuration of a node type of a given managed cluster, only updating tags or capacity. */ @patch(#{ implicitOptionality: false }) update is ArmCustomPatchAsync< diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/ServiceResource.tsp b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/ServiceResource.tsp index 84eaae6be6f1..7f30c9a182db 100644 --- a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/ServiceResource.tsp +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/ServiceResource.tsp @@ -78,6 +78,14 @@ interface Services { ServiceResource, Response = ArmResponse >; + + @added(Versions.v2025_10_01_preview) + restartReplica is ArmResourceActionAsync< + ServiceResource, + RestartReplicaRequest, + never, + LroHeaders = ArmCombinedLroHeaders + >; } @@doc(ServiceResource.name, @@ -88,6 +96,9 @@ interface Services { @@doc(Services.update::parameters.properties, "The service resource updated tags." ); +@@doc(Services.restartReplica::parameters.body, + "The parameters for restarting replicas." +); /** * The service resource properties. @@ -806,3 +817,47 @@ union MoveCost { */ High: "High", } + +/** + * Request to restart a replica. + */ +@added(Versions.v2025_10_01_preview) +model RestartReplicaRequest { + /** + * The ID of the partition. + */ + partitionId: string; + + /** + * The IDs of the replicas to be restarted. + */ + replicaIds: int64[]; + + /** + * The kind of restart to perform. + */ + restartKind: RestartKind; + + /** + * If true, the restart operation will be forced. Use this option with care, as it may cause data loss. + */ + forceRestart?: boolean; + + /** + * The server timeout for performing the operation in seconds. This timeout specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds. + */ + timeout?: int64; +} + +/** + * The kind of restart to perform. + */ +@added(Versions.v2025_10_01_preview) +union RestartKind { + string, + + /** + * Restart all listed replicas at the same time. + */ + Simultaneous: "Simultaneous", +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/client.tsp b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/client.tsp index 4b90cabbb45e..7c3317395630 100644 --- a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/client.tsp +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/client.tsp @@ -45,12 +45,17 @@ using Microsoft.ServiceFabric; @@clientName(Applications.update::parameters.properties, "parameters"); @@clientName(Applications.resumeUpgrade::parameters.body, "parameters"); @@clientName(Applications.updateUpgrade::parameters.body, "parameters"); +@@clientName(Applications.fetchHealth::parameters.body, "parameters"); +@@clientName(Applications.restartDeployedCodePackage::parameters.body, + "parameters" +); #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@Azure.ClientGenerator.Core.Legacy.flattenProperty decorator for backwards compatibility with existing spec" @@Azure.ClientGenerator.Core.Legacy.flattenProperty(ApplicationResource.properties ); @@clientName(Services.createOrUpdate::parameters.resource, "parameters"); @@clientName(Services.update::parameters.properties, "parameters"); +@@clientName(Services.restartReplica::parameters.body, "parameters"); @@clientName(ManagedClusters.createOrUpdate::parameters.resource, "parameters"); @@clientName(ManagedClusters.update::parameters.properties, "parameters"); diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2024-11-01-preview/ApplicationDeleteOperation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2024-11-01-preview/ApplicationDeleteOperation_example.json index 98fb2d7c4fad..59be62a0bd52 100644 --- a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2024-11-01-preview/ApplicationDeleteOperation_example.json +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2024-11-01-preview/ApplicationDeleteOperation_example.json @@ -9,8 +9,8 @@ "responses": { "202": { "headers": { - "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/76053752-a423-4a80-b283-1dad1ba5f314?api-version=2024-11-01-preview", - "Retry-After": "10" + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2024-11-01-preview", + "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/9c2ce367-47ea-43de-b69e-c5a423da4557?api-version=2024-11-01-preview" } }, "204": {} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2024-11-01-preview/ApplicationPatchOperation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2024-11-01-preview/ApplicationPatchOperation_example.json index c0fb0fe5150c..beb3fc6737ad 100644 --- a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2024-11-01-preview/ApplicationPatchOperation_example.json +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2024-11-01-preview/ApplicationPatchOperation_example.json @@ -61,6 +61,59 @@ } }, "headers": {} + }, + "202": { + "body": { + "name": "myApp", + "type": "Microsoft.ServiceFabric/managedClusters/applications", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applications/myApp", + "location": "eastus", + "properties": { + "parameters": { + "param1": "value1" + }, + "provisioningState": "Succeeded", + "upgradePolicy": { + "applicationHealthPolicy": { + "considerWarningAsError": true, + "defaultServiceTypeHealthPolicy": { + "maxPercentUnhealthyPartitionsPerService": 0, + "maxPercentUnhealthyReplicasPerPartition": 0, + "maxPercentUnhealthyServices": 0 + }, + "maxPercentUnhealthyDeployedApplications": 0, + "serviceTypeHealthPolicyMap": { + "service1": { + "maxPercentUnhealthyPartitionsPerService": 30, + "maxPercentUnhealthyReplicasPerPartition": 30, + "maxPercentUnhealthyServices": 30 + } + } + }, + "forceRestart": false, + "instanceCloseDelayDuration": 600, + "recreateApplication": false, + "rollingUpgradeMonitoringPolicy": { + "failureAction": "Rollback", + "healthCheckRetryTimeout": "00:10:00", + "healthCheckStableDuration": "00:05:00", + "healthCheckWaitDuration": "00:02:00", + "upgradeDomainTimeout": "00:15:00", + "upgradeTimeout": "01:00:00" + }, + "upgradeMode": "UnmonitoredAuto", + "upgradeReplicaSetCheckTimeout": 3600 + }, + "version": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applicationTypes/myAppType/versions/1.0" + }, + "tags": { + "a": "b" + } + }, + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2024-11-01-preview", + "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/9c2ce367-47ea-43de-b69e-c5a423da4557?api-version=2024-11-01-preview" + } } }, "operationId": "Applications_Update", diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2024-11-01-preview/ApplicationPutOperation_example_max.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2024-11-01-preview/ApplicationPutOperation_example_max.json index 0ad9fdb3eaaf..8c39c35c7222 100644 --- a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2024-11-01-preview/ApplicationPutOperation_example_max.json +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2024-11-01-preview/ApplicationPutOperation_example_max.json @@ -148,8 +148,8 @@ } }, "headers": { - "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/9c2ce367-47ea-43de-b69e-c5a423da4557?api-version=2024-11-01-preview", - "Retry-After": "10" + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2024-11-01-preview", + "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/9c2ce367-47ea-43de-b69e-c5a423da4557?api-version=2024-11-01-preview" } } }, diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2024-11-01-preview/ApplicationPutOperation_example_min.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2024-11-01-preview/ApplicationPutOperation_example_min.json index 6ace75c0195b..ff4ee76304c9 100644 --- a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2024-11-01-preview/ApplicationPutOperation_example_min.json +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2024-11-01-preview/ApplicationPutOperation_example_min.json @@ -71,8 +71,8 @@ } }, "headers": { - "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/5dce62ce-439b-47af-81d8-99ab14708e91?api-version=2024-11-01-preview", - "Retry-After": "10" + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2024-11-01-preview", + "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/9c2ce367-47ea-43de-b69e-c5a423da4557?api-version=2024-11-01-preview" } } }, diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2024-11-01-preview/ApplicationTypeNameDeleteOperation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2024-11-01-preview/ApplicationTypeNameDeleteOperation_example.json index 93044deb68e6..ba8f5da29934 100644 --- a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2024-11-01-preview/ApplicationTypeNameDeleteOperation_example.json +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2024-11-01-preview/ApplicationTypeNameDeleteOperation_example.json @@ -9,8 +9,8 @@ "responses": { "202": { "headers": { - "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/6a367b2d-9f60-4941-b886-e348ddcb4127?api-version=2024-11-01-preview", - "Retry-After": "10" + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2024-11-01-preview", + "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/9c2ce367-47ea-43de-b69e-c5a423da4557?api-version=2024-11-01-preview" } }, "204": {} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2024-11-01-preview/ApplicationTypeVersionDeleteOperation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2024-11-01-preview/ApplicationTypeVersionDeleteOperation_example.json index ce319636c053..06edee19b1bb 100644 --- a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2024-11-01-preview/ApplicationTypeVersionDeleteOperation_example.json +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2024-11-01-preview/ApplicationTypeVersionDeleteOperation_example.json @@ -10,8 +10,8 @@ "responses": { "202": { "headers": { - "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/28e62369-ed8c-4aba-8c05-ab7d6238cc3d?api-version=2024-11-01-preview", - "Retry-After": "10" + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2024-11-01-preview", + "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/9c2ce367-47ea-43de-b69e-c5a423da4557?api-version=2024-11-01-preview" } }, "204": {} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2024-11-01-preview/ApplicationTypeVersionPutOperation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2024-11-01-preview/ApplicationTypeVersionPutOperation_example.json index 128080b4ec58..044d902763e2 100644 --- a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2024-11-01-preview/ApplicationTypeVersionPutOperation_example.json +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2024-11-01-preview/ApplicationTypeVersionPutOperation_example.json @@ -37,8 +37,8 @@ } }, "headers": { - "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/e2413c7e-d51b-40ac-8155-bc85bf8ae856?api-version=2024-11-01-preview", - "Retry-After": "10" + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2024-11-01-preview", + "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/9c2ce367-47ea-43de-b69e-c5a423da4557?api-version=2024-11-01-preview" } } }, diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2024-11-01-preview/ManagedClusterPatchOperation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2024-11-01-preview/ManagedClusterPatchOperation_example.json index 4a12ee474893..aa3ccfcc20f8 100644 --- a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2024-11-01-preview/ManagedClusterPatchOperation_example.json +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2024-11-01-preview/ManagedClusterPatchOperation_example.json @@ -104,6 +104,104 @@ "a": "b" } } + }, + "202": { + "body": { + "name": "myCluster", + "type": "Microsoft.ServiceFabric/managedClusters", + "etag": "W/\"636462502169240745\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedClusters/myCluster", + "location": "eastus", + "properties": { + "addonFeatures": [ + "DnsService", + "BackupRestoreService", + "ResourceMonitorService" + ], + "adminUserName": "vmadmin", + "allowRdpAccess": true, + "clientConnectionPort": 19001, + "clusterCertificateThumbprints": [ + "12599211F8F14C90AFA9532AD79A6F2CA1C00622" + ], + "clusterCodeVersion": "7.1.168.9494", + "clusterId": "92584666-9889-4ae8-8d02-91902923d37f", + "clusterState": "WaitingForNodes", + "clusterUpgradeCadence": "Wave0", + "clusterUpgradeMode": "Automatic", + "dnsName": "myCluster", + "enableAutoOSUpgrade": true, + "fabricSettings": [ + { + "name": "ManagedIdentityTokenService", + "parameters": [ + { + "name": "IsEnabled", + "value": "false" + } + ] + } + ], + "fqdn": "MyCluster.eastus.cloudapp.azure.com", + "httpGatewayConnectionPort": 19081, + "loadBalancingRules": [ + { + "backendPort": 80, + "frontendPort": 80, + "probePort": 80, + "probeProtocol": "http", + "protocol": "http" + }, + { + "backendPort": 443, + "frontendPort": 443, + "probePort": 443, + "probeProtocol": "http", + "protocol": "http" + }, + { + "backendPort": 10000, + "frontendPort": 10000, + "probePort": 10000, + "probeProtocol": "http", + "protocol": "tcp" + } + ], + "networkSecurityRules": [ + { + "name": "TestName", + "description": "Test description", + "access": "allow", + "destinationAddressPrefixes": [ + "*" + ], + "destinationPortRanges": [ + "*" + ], + "direction": "inbound", + "priority": 1010, + "sourceAddressPrefixes": [ + "*" + ], + "sourcePortRanges": [ + "*" + ], + "protocol": "tcp" + } + ], + "provisioningState": "Succeeded" + }, + "sku": { + "name": "Standard" + }, + "tags": { + "a": "b" + } + }, + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2024-11-01-preview", + "Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2024-11-01-preview" + } } }, "operationId": "ManagedClusters_Update", diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2024-11-01-preview/ServiceDeleteOperation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2024-11-01-preview/ServiceDeleteOperation_example.json index 8b2d235a2a57..fd83afff63e6 100644 --- a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2024-11-01-preview/ServiceDeleteOperation_example.json +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2024-11-01-preview/ServiceDeleteOperation_example.json @@ -10,8 +10,8 @@ "responses": { "202": { "headers": { - "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/41fa5ef9-7f34-4c36-a730-93e0bb757d22?api-version=2024-11-01-preview", - "Retry-After": "10" + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2024-11-01-preview", + "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/9c2ce367-47ea-43de-b69e-c5a423da4557?api-version=2024-11-01-preview" } }, "204": {} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2024-11-01-preview/ServicePutOperation_example_max.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2024-11-01-preview/ServicePutOperation_example_max.json index a33e07fb7810..f5ef044cbe69 100644 --- a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2024-11-01-preview/ServicePutOperation_example_max.json +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2024-11-01-preview/ServicePutOperation_example_max.json @@ -184,8 +184,8 @@ } }, "headers": { - "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/2e633105-aadc-4928-9164-d76b974170a3?api-version=2024-11-01-preview", - "Retry-After": "10" + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2024-11-01-preview", + "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/9c2ce367-47ea-43de-b69e-c5a423da4557?api-version=2024-11-01-preview" } } }, diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2024-11-01-preview/ServicePutOperation_example_min.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2024-11-01-preview/ServicePutOperation_example_min.json index c3364947c062..c7df7664b9af 100644 --- a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2024-11-01-preview/ServicePutOperation_example_min.json +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2024-11-01-preview/ServicePutOperation_example_min.json @@ -52,8 +52,8 @@ } }, "headers": { - "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/5bc615c3-6c5b-4593-80e1-008f55376ec7?api-version=2024-11-01-preview", - "Retry-After": "10" + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2024-11-01-preview", + "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/9c2ce367-47ea-43de-b69e-c5a423da4557?api-version=2024-11-01-preview" } } }, diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-03-01-preview/ApplicationDeleteOperation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-03-01-preview/ApplicationDeleteOperation_example.json index 543c190a70d4..85a40a103273 100644 --- a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-03-01-preview/ApplicationDeleteOperation_example.json +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-03-01-preview/ApplicationDeleteOperation_example.json @@ -9,8 +9,8 @@ "responses": { "202": { "headers": { - "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/76053752-a423-4a80-b283-1dad1ba5f314?api-version=2025-03-01-preview", - "Retry-After": "10" + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-03-01-preview", + "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/9c2ce367-47ea-43de-b69e-c5a423da4557?api-version=2025-03-01-preview" } }, "204": {} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-03-01-preview/ApplicationPatchOperation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-03-01-preview/ApplicationPatchOperation_example.json index 2ff2cd7975b4..676fd8c53dc2 100644 --- a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-03-01-preview/ApplicationPatchOperation_example.json +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-03-01-preview/ApplicationPatchOperation_example.json @@ -61,6 +61,59 @@ } }, "headers": {} + }, + "202": { + "body": { + "name": "myApp", + "type": "Microsoft.ServiceFabric/managedClusters/applications", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applications/myApp", + "location": "eastus", + "properties": { + "parameters": { + "param1": "value1" + }, + "provisioningState": "Succeeded", + "upgradePolicy": { + "applicationHealthPolicy": { + "considerWarningAsError": true, + "defaultServiceTypeHealthPolicy": { + "maxPercentUnhealthyPartitionsPerService": 0, + "maxPercentUnhealthyReplicasPerPartition": 0, + "maxPercentUnhealthyServices": 0 + }, + "maxPercentUnhealthyDeployedApplications": 0, + "serviceTypeHealthPolicyMap": { + "service1": { + "maxPercentUnhealthyPartitionsPerService": 30, + "maxPercentUnhealthyReplicasPerPartition": 30, + "maxPercentUnhealthyServices": 30 + } + } + }, + "forceRestart": false, + "instanceCloseDelayDuration": 600, + "recreateApplication": false, + "rollingUpgradeMonitoringPolicy": { + "failureAction": "Rollback", + "healthCheckRetryTimeout": "00:10:00", + "healthCheckStableDuration": "00:05:00", + "healthCheckWaitDuration": "00:02:00", + "upgradeDomainTimeout": "00:15:00", + "upgradeTimeout": "01:00:00" + }, + "upgradeMode": "UnmonitoredAuto", + "upgradeReplicaSetCheckTimeout": 3600 + }, + "version": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applicationTypes/myAppType/versions/1.0" + }, + "tags": { + "a": "b" + } + }, + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-03-01-preview", + "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/9c2ce367-47ea-43de-b69e-c5a423da4557?api-version=2025-03-01-preview" + } } }, "operationId": "Applications_Update", diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-03-01-preview/ApplicationPutOperation_example_max.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-03-01-preview/ApplicationPutOperation_example_max.json index ab4a95c77bfc..932b88f97beb 100644 --- a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-03-01-preview/ApplicationPutOperation_example_max.json +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-03-01-preview/ApplicationPutOperation_example_max.json @@ -148,8 +148,8 @@ } }, "headers": { - "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/9c2ce367-47ea-43de-b69e-c5a423da4557?api-version=2025-03-01-preview", - "Retry-After": "10" + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-03-01-preview", + "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/9c2ce367-47ea-43de-b69e-c5a423da4557?api-version=2025-03-01-preview" } } }, diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-03-01-preview/ApplicationPutOperation_example_min.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-03-01-preview/ApplicationPutOperation_example_min.json index e9ade2b42999..fe3d4377496a 100644 --- a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-03-01-preview/ApplicationPutOperation_example_min.json +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-03-01-preview/ApplicationPutOperation_example_min.json @@ -71,8 +71,8 @@ } }, "headers": { - "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/5dce62ce-439b-47af-81d8-99ab14708e91?api-version=2025-03-01-preview", - "Retry-After": "10" + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-03-01-preview", + "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/9c2ce367-47ea-43de-b69e-c5a423da4557?api-version=2025-03-01-preview" } } }, diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-03-01-preview/ApplicationTypeNameDeleteOperation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-03-01-preview/ApplicationTypeNameDeleteOperation_example.json index f334e67fc30e..0894b1842837 100644 --- a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-03-01-preview/ApplicationTypeNameDeleteOperation_example.json +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-03-01-preview/ApplicationTypeNameDeleteOperation_example.json @@ -9,8 +9,8 @@ "responses": { "202": { "headers": { - "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/6a367b2d-9f60-4941-b886-e348ddcb4127?api-version=2025-03-01-preview", - "Retry-After": "10" + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-03-01-preview", + "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/9c2ce367-47ea-43de-b69e-c5a423da4557?api-version=2025-03-01-preview" } }, "204": {} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-03-01-preview/ApplicationTypeVersionDeleteOperation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-03-01-preview/ApplicationTypeVersionDeleteOperation_example.json index 8e3ddcb72394..024be1b9355e 100644 --- a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-03-01-preview/ApplicationTypeVersionDeleteOperation_example.json +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-03-01-preview/ApplicationTypeVersionDeleteOperation_example.json @@ -10,8 +10,8 @@ "responses": { "202": { "headers": { - "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/28e62369-ed8c-4aba-8c05-ab7d6238cc3d?api-version=2025-03-01-preview", - "Retry-After": "10" + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-03-01-preview", + "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/9c2ce367-47ea-43de-b69e-c5a423da4557?api-version=2025-03-01-preview" } }, "204": {} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-03-01-preview/ApplicationTypeVersionPutOperation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-03-01-preview/ApplicationTypeVersionPutOperation_example.json index 138a17cef31f..7b8845237a8d 100644 --- a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-03-01-preview/ApplicationTypeVersionPutOperation_example.json +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-03-01-preview/ApplicationTypeVersionPutOperation_example.json @@ -37,8 +37,8 @@ } }, "headers": { - "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/e2413c7e-d51b-40ac-8155-bc85bf8ae856?api-version=2025-03-01-preview", - "Retry-After": "10" + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-03-01-preview", + "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/9c2ce367-47ea-43de-b69e-c5a423da4557?api-version=2025-03-01-preview" } } }, diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-03-01-preview/ManagedClusterPatchOperation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-03-01-preview/ManagedClusterPatchOperation_example.json index dcfb545e8ada..cd36f16488f0 100644 --- a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-03-01-preview/ManagedClusterPatchOperation_example.json +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-03-01-preview/ManagedClusterPatchOperation_example.json @@ -104,6 +104,104 @@ "a": "b" } } + }, + "202": { + "body": { + "name": "myCluster", + "type": "Microsoft.ServiceFabric/managedClusters", + "etag": "W/\"636462502169240745\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedClusters/myCluster", + "location": "eastus", + "properties": { + "addonFeatures": [ + "DnsService", + "BackupRestoreService", + "ResourceMonitorService" + ], + "adminUserName": "vmadmin", + "allowRdpAccess": true, + "clientConnectionPort": 19001, + "clusterCertificateThumbprints": [ + "12599211F8F14C90AFA9532AD79A6F2CA1C00622" + ], + "clusterCodeVersion": "7.1.168.9494", + "clusterId": "92584666-9889-4ae8-8d02-91902923d37f", + "clusterState": "WaitingForNodes", + "clusterUpgradeCadence": "Wave0", + "clusterUpgradeMode": "Automatic", + "dnsName": "myCluster", + "enableAutoOSUpgrade": true, + "fabricSettings": [ + { + "name": "ManagedIdentityTokenService", + "parameters": [ + { + "name": "IsEnabled", + "value": "false" + } + ] + } + ], + "fqdn": "MyCluster.eastus.cloudapp.azure.com", + "httpGatewayConnectionPort": 19081, + "loadBalancingRules": [ + { + "backendPort": 80, + "frontendPort": 80, + "probePort": 80, + "probeProtocol": "http", + "protocol": "http" + }, + { + "backendPort": 443, + "frontendPort": 443, + "probePort": 443, + "probeProtocol": "http", + "protocol": "http" + }, + { + "backendPort": 10000, + "frontendPort": 10000, + "probePort": 10000, + "probeProtocol": "http", + "protocol": "tcp" + } + ], + "networkSecurityRules": [ + { + "name": "TestName", + "description": "Test description", + "access": "allow", + "destinationAddressPrefixes": [ + "*" + ], + "destinationPortRanges": [ + "*" + ], + "direction": "inbound", + "priority": 1010, + "sourceAddressPrefixes": [ + "*" + ], + "sourcePortRanges": [ + "*" + ], + "protocol": "tcp" + } + ], + "provisioningState": "Succeeded" + }, + "sku": { + "name": "Standard" + }, + "tags": { + "a": "b" + } + }, + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-03-01-preview", + "Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-03-01-preview" + } } }, "operationId": "ManagedClusters_Update", diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-03-01-preview/ServiceDeleteOperation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-03-01-preview/ServiceDeleteOperation_example.json index 960f83fa8986..63f5db3b2f7b 100644 --- a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-03-01-preview/ServiceDeleteOperation_example.json +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-03-01-preview/ServiceDeleteOperation_example.json @@ -10,8 +10,8 @@ "responses": { "202": { "headers": { - "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/41fa5ef9-7f34-4c36-a730-93e0bb757d22?api-version=2025-03-01-preview", - "Retry-After": "10" + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-03-01-preview", + "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/9c2ce367-47ea-43de-b69e-c5a423da4557?api-version=2025-03-01-preview" } }, "204": {} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-03-01-preview/ServicePutOperation_example_max.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-03-01-preview/ServicePutOperation_example_max.json index 05dbf2323c60..7822bb5a983c 100644 --- a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-03-01-preview/ServicePutOperation_example_max.json +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-03-01-preview/ServicePutOperation_example_max.json @@ -184,8 +184,8 @@ } }, "headers": { - "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/2e633105-aadc-4928-9164-d76b974170a3?api-version=2025-03-01-preview", - "Retry-After": "10" + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-03-01-preview", + "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/9c2ce367-47ea-43de-b69e-c5a423da4557?api-version=2025-03-01-preview" } } }, diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-03-01-preview/ServicePutOperation_example_min.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-03-01-preview/ServicePutOperation_example_min.json index e8a2036610de..147a803191f7 100644 --- a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-03-01-preview/ServicePutOperation_example_min.json +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-03-01-preview/ServicePutOperation_example_min.json @@ -52,8 +52,8 @@ } }, "headers": { - "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/5bc615c3-6c5b-4593-80e1-008f55376ec7?api-version=2025-03-01-preview", - "Retry-After": "10" + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-03-01-preview", + "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/9c2ce367-47ea-43de-b69e-c5a423da4557?api-version=2025-03-01-preview" } } }, diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-06-01-preview/ApplicationDeleteOperation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-06-01-preview/ApplicationDeleteOperation_example.json index 9d31a64011a6..21cf023c8ecf 100644 --- a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-06-01-preview/ApplicationDeleteOperation_example.json +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-06-01-preview/ApplicationDeleteOperation_example.json @@ -9,8 +9,8 @@ "responses": { "202": { "headers": { - "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/76053752-a423-4a80-b283-1dad1ba5f314?api-version=2025-06-01-preview", - "Retry-After": "10" + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-06-01-preview", + "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/9c2ce367-47ea-43de-b69e-c5a423da4557?api-version=2025-06-01-preview" } }, "204": {} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-06-01-preview/ApplicationPatchOperation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-06-01-preview/ApplicationPatchOperation_example.json index 5c0c07105ccd..74a2fd4fe12e 100644 --- a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-06-01-preview/ApplicationPatchOperation_example.json +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-06-01-preview/ApplicationPatchOperation_example.json @@ -61,6 +61,59 @@ } }, "headers": {} + }, + "202": { + "body": { + "name": "myApp", + "type": "Microsoft.ServiceFabric/managedClusters/applications", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applications/myApp", + "location": "eastus", + "properties": { + "parameters": { + "param1": "value1" + }, + "provisioningState": "Succeeded", + "upgradePolicy": { + "applicationHealthPolicy": { + "considerWarningAsError": true, + "defaultServiceTypeHealthPolicy": { + "maxPercentUnhealthyPartitionsPerService": 0, + "maxPercentUnhealthyReplicasPerPartition": 0, + "maxPercentUnhealthyServices": 0 + }, + "maxPercentUnhealthyDeployedApplications": 0, + "serviceTypeHealthPolicyMap": { + "service1": { + "maxPercentUnhealthyPartitionsPerService": 30, + "maxPercentUnhealthyReplicasPerPartition": 30, + "maxPercentUnhealthyServices": 30 + } + } + }, + "forceRestart": false, + "instanceCloseDelayDuration": 600, + "recreateApplication": false, + "rollingUpgradeMonitoringPolicy": { + "failureAction": "Rollback", + "healthCheckRetryTimeout": "00:10:00", + "healthCheckStableDuration": "00:05:00", + "healthCheckWaitDuration": "00:02:00", + "upgradeDomainTimeout": "00:15:00", + "upgradeTimeout": "01:00:00" + }, + "upgradeMode": "UnmonitoredAuto", + "upgradeReplicaSetCheckTimeout": 3600 + }, + "version": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applicationTypes/myAppType/versions/1.0" + }, + "tags": { + "a": "b" + } + }, + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-06-01-preview", + "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/9c2ce367-47ea-43de-b69e-c5a423da4557?api-version=2025-06-01-preview" + } } }, "operationId": "Applications_Update", diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-06-01-preview/ApplicationPutOperation_example_max.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-06-01-preview/ApplicationPutOperation_example_max.json index 8173fbc2f61c..f2a4be5292f9 100644 --- a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-06-01-preview/ApplicationPutOperation_example_max.json +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-06-01-preview/ApplicationPutOperation_example_max.json @@ -148,8 +148,8 @@ } }, "headers": { - "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/9c2ce367-47ea-43de-b69e-c5a423da4557?api-version=2025-06-01-preview", - "Retry-After": "10" + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-06-01-preview", + "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/9c2ce367-47ea-43de-b69e-c5a423da4557?api-version=2025-06-01-preview" } } }, diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-06-01-preview/ApplicationPutOperation_example_min.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-06-01-preview/ApplicationPutOperation_example_min.json index cdce6db9ddc9..acdd0ef35be9 100644 --- a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-06-01-preview/ApplicationPutOperation_example_min.json +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-06-01-preview/ApplicationPutOperation_example_min.json @@ -71,8 +71,8 @@ } }, "headers": { - "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/5dce62ce-439b-47af-81d8-99ab14708e91?api-version=2025-06-01-preview", - "Retry-After": "10" + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-06-01-preview", + "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/9c2ce367-47ea-43de-b69e-c5a423da4557?api-version=2025-06-01-preview" } } }, diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-06-01-preview/ApplicationTypeNameDeleteOperation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-06-01-preview/ApplicationTypeNameDeleteOperation_example.json index f15c6991068a..28dbb92c1e86 100644 --- a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-06-01-preview/ApplicationTypeNameDeleteOperation_example.json +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-06-01-preview/ApplicationTypeNameDeleteOperation_example.json @@ -9,8 +9,8 @@ "responses": { "202": { "headers": { - "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/6a367b2d-9f60-4941-b886-e348ddcb4127?api-version=2025-06-01-preview", - "Retry-After": "10" + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-06-01-preview", + "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/9c2ce367-47ea-43de-b69e-c5a423da4557?api-version=2025-06-01-preview" } }, "204": {} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-06-01-preview/ApplicationTypeVersionDeleteOperation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-06-01-preview/ApplicationTypeVersionDeleteOperation_example.json index 37344f3d5440..b23db8831c30 100644 --- a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-06-01-preview/ApplicationTypeVersionDeleteOperation_example.json +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-06-01-preview/ApplicationTypeVersionDeleteOperation_example.json @@ -10,8 +10,8 @@ "responses": { "202": { "headers": { - "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/28e62369-ed8c-4aba-8c05-ab7d6238cc3d?api-version=2025-06-01-preview", - "Retry-After": "10" + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-06-01-preview", + "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/9c2ce367-47ea-43de-b69e-c5a423da4557?api-version=2025-06-01-preview" } }, "204": {} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-06-01-preview/ApplicationTypeVersionPutOperation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-06-01-preview/ApplicationTypeVersionPutOperation_example.json index d76ce6802895..366b06f4516a 100644 --- a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-06-01-preview/ApplicationTypeVersionPutOperation_example.json +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-06-01-preview/ApplicationTypeVersionPutOperation_example.json @@ -37,8 +37,8 @@ } }, "headers": { - "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/e2413c7e-d51b-40ac-8155-bc85bf8ae856?api-version=2025-06-01-preview", - "Retry-After": "10" + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-06-01-preview", + "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/9c2ce367-47ea-43de-b69e-c5a423da4557?api-version=2025-06-01-preview" } } }, diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-06-01-preview/ManagedClusterPatchOperation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-06-01-preview/ManagedClusterPatchOperation_example.json index 30ce6268fe21..e1c888671b3b 100644 --- a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-06-01-preview/ManagedClusterPatchOperation_example.json +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-06-01-preview/ManagedClusterPatchOperation_example.json @@ -104,6 +104,104 @@ "a": "b" } } + }, + "202": { + "body": { + "name": "myCluster", + "type": "Microsoft.ServiceFabric/managedClusters", + "etag": "W/\"636462502169240745\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedClusters/myCluster", + "location": "eastus", + "properties": { + "addonFeatures": [ + "DnsService", + "BackupRestoreService", + "ResourceMonitorService" + ], + "adminUserName": "vmadmin", + "allowRdpAccess": true, + "clientConnectionPort": 19001, + "clusterCertificateThumbprints": [ + "12599211F8F14C90AFA9532AD79A6F2CA1C00622" + ], + "clusterCodeVersion": "7.1.168.9494", + "clusterId": "92584666-9889-4ae8-8d02-91902923d37f", + "clusterState": "WaitingForNodes", + "clusterUpgradeCadence": "Wave0", + "clusterUpgradeMode": "Automatic", + "dnsName": "myCluster", + "enableAutoOSUpgrade": true, + "fabricSettings": [ + { + "name": "ManagedIdentityTokenService", + "parameters": [ + { + "name": "IsEnabled", + "value": "false" + } + ] + } + ], + "fqdn": "MyCluster.eastus.cloudapp.azure.com", + "httpGatewayConnectionPort": 19081, + "loadBalancingRules": [ + { + "backendPort": 80, + "frontendPort": 80, + "probePort": 80, + "probeProtocol": "http", + "protocol": "http" + }, + { + "backendPort": 443, + "frontendPort": 443, + "probePort": 443, + "probeProtocol": "http", + "protocol": "http" + }, + { + "backendPort": 10000, + "frontendPort": 10000, + "probePort": 10000, + "probeProtocol": "http", + "protocol": "tcp" + } + ], + "networkSecurityRules": [ + { + "name": "TestName", + "description": "Test description", + "access": "allow", + "destinationAddressPrefixes": [ + "*" + ], + "destinationPortRanges": [ + "*" + ], + "direction": "inbound", + "priority": 1010, + "sourceAddressPrefixes": [ + "*" + ], + "sourcePortRanges": [ + "*" + ], + "protocol": "tcp" + } + ], + "provisioningState": "Succeeded" + }, + "sku": { + "name": "Standard" + }, + "tags": { + "a": "b" + } + }, + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-06-01-preview", + "Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-06-01-preview" + } } }, "operationId": "ManagedClusters_Update", diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-06-01-preview/ServiceDeleteOperation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-06-01-preview/ServiceDeleteOperation_example.json index 3cf0b3b2b06a..b9781ea51193 100644 --- a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-06-01-preview/ServiceDeleteOperation_example.json +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-06-01-preview/ServiceDeleteOperation_example.json @@ -10,8 +10,8 @@ "responses": { "202": { "headers": { - "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/41fa5ef9-7f34-4c36-a730-93e0bb757d22?api-version=2025-06-01-preview", - "Retry-After": "10" + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-06-01-preview", + "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/9c2ce367-47ea-43de-b69e-c5a423da4557?api-version=2025-06-01-preview" } }, "204": {} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-06-01-preview/ServicePutOperation_example_max.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-06-01-preview/ServicePutOperation_example_max.json index 7b7f780a3190..891a25b68b0a 100644 --- a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-06-01-preview/ServicePutOperation_example_max.json +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-06-01-preview/ServicePutOperation_example_max.json @@ -184,8 +184,8 @@ } }, "headers": { - "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/2e633105-aadc-4928-9164-d76b974170a3?api-version=2025-06-01-preview", - "Retry-After": "10" + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-06-01-preview", + "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/9c2ce367-47ea-43de-b69e-c5a423da4557?api-version=2025-06-01-preview" } } }, diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-06-01-preview/ServicePutOperation_example_min.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-06-01-preview/ServicePutOperation_example_min.json index 63afec80c26f..2617e98984ce 100644 --- a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-06-01-preview/ServicePutOperation_example_min.json +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-06-01-preview/ServicePutOperation_example_min.json @@ -52,8 +52,8 @@ } }, "headers": { - "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/5bc615c3-6c5b-4593-80e1-008f55376ec7?api-version=2025-06-01-preview", - "Retry-After": "10" + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-06-01-preview", + "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/9c2ce367-47ea-43de-b69e-c5a423da4557?api-version=2025-06-01-preview" } } }, diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ApplicationActionFetchHealth_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ApplicationActionFetchHealth_example.json new file mode 100644 index 000000000000..5053b169660d --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ApplicationActionFetchHealth_example.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "applicationName": "myApp", + "clusterName": "myCluster", + "parameters": { + "eventsHealthStateFilter": "Error", + "deployedApplicationsHealthStateFilter": "Error", + "servicesHealthStateFilter": "Error", + "excludeHealthStatistics": true, + "timeout": 30 + }, + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview", + "Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview" + } + } + }, + "operationId": "Applications_FetchHealth", + "title": "Fetch application health" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ApplicationActionGetUpgrade_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ApplicationActionGetUpgrade_example.json new file mode 100644 index 000000000000..33988d3ed95d --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ApplicationActionGetUpgrade_example.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "applicationName": "myApp", + "clusterName": "myCluster", + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview", + "Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview" + } + } + }, + "operationId": "Applications_ReadUpgrade", + "title": "Get an application upgrade" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ApplicationActionRestartDeployedCodePackage_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ApplicationActionRestartDeployedCodePackage_example.json new file mode 100644 index 000000000000..e3ced98fb900 --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ApplicationActionRestartDeployedCodePackage_example.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "applicationName": "myApp", + "clusterName": "myCluster", + "parameters": { + "nodeName": "nt1_0", + "serviceManifestName": "TestPkg", + "servicePackageActivationId": "sharedProcess", + "codePackageName": "Code", + "codePackageInstanceId": "133991326715515522" + }, + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview", + "Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview" + } + } + }, + "operationId": "Applications_RestartDeployedCodePackage", + "title": "Restart deployed code package" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ApplicationActionResumeUpgrade_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ApplicationActionResumeUpgrade_example.json new file mode 100644 index 000000000000..cfd1b078028a --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ApplicationActionResumeUpgrade_example.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "applicationName": "myApp", + "clusterName": "myCluster", + "parameters": { + "upgradeDomainName": "UD1" + }, + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview", + "Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview" + } + } + }, + "operationId": "Applications_ResumeUpgrade", + "title": "Resume upgrade" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ApplicationActionStartRollback_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ApplicationActionStartRollback_example.json new file mode 100644 index 000000000000..6581b2321d0d --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ApplicationActionStartRollback_example.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "applicationName": "myApp", + "clusterName": "myCluster", + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview", + "Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview" + } + } + }, + "operationId": "Applications_StartRollback", + "title": "Start an application upgrade rollback" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ApplicationActionUpdateUpgrade_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ApplicationActionUpdateUpgrade_example.json new file mode 100644 index 000000000000..059791b5d8ad --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ApplicationActionUpdateUpgrade_example.json @@ -0,0 +1,49 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "resRg", + "clusterName": "myCluster", + "applicationName": "myApp", + "api-version": "2025-10-01-preview", + "parameters": { + "upgradeKind": "Rolling", + "name": "fabric:/Voting", + "updateDescription": { + "rollingUpgradeMode": "Monitored", + "forceRestart": true, + "failureAction": "Manual", + "healthCheckWaitDurationInMilliseconds": "PT0H0M10S", + "healthCheckStableDurationInMilliseconds": "PT1H0M0S", + "healthCheckRetryTimeoutInMilliseconds": "PT0H15M0S", + "upgradeTimeoutInMilliseconds": "PT2H0M0S", + "upgradeDomainTimeoutInMilliseconds": "PT2H0M0S" + }, + "applicationHealthPolicy": { + "considerWarningAsError": true, + "maxPercentUnhealthyDeployedApplications": 10, + "defaultServiceTypeHealthPolicy": { + "maxPercentUnhealthyPartitionsPerService": 10, + "maxPercentUnhealthyReplicasPerPartition": 11, + "maxPercentUnhealthyServices": 12 + }, + "serviceTypeHealthPolicyMap": { + "VotingWeb": { + "maxPercentUnhealthyPartitionsPerService": 13, + "maxPercentUnhealthyReplicasPerPartition": 14, + "maxPercentUnhealthyServices": 15 + } + } + } + } + }, + "responses": { + "202": { + "headers": { + "Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2023-07-01-preview", + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2023-07-01-preview" + } + } + }, + "operationId": "Applications_UpdateUpgrade", + "title": "Update an application upgrade" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ApplicationDeleteOperation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ApplicationDeleteOperation_example.json new file mode 100644 index 000000000000..e86baa8460ca --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ApplicationDeleteOperation_example.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "applicationName": "myApp", + "clusterName": "myCluster", + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview", + "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/9c2ce367-47ea-43de-b69e-c5a423da4557?api-version=2025-10-01-preview" + } + }, + "204": {} + }, + "operationId": "Applications_Delete", + "title": "Delete an application" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ApplicationGetOperation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ApplicationGetOperation_example.json new file mode 100644 index 000000000000..fc15574d0f3b --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ApplicationGetOperation_example.json @@ -0,0 +1,61 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "applicationName": "myApp", + "clusterName": "myCluster", + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myApp", + "type": "Microsoft.ServiceFabric/managedClusters/applications", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applications/myApp", + "location": "eastus", + "properties": { + "parameters": { + "param1": "value1" + }, + "provisioningState": "Updating", + "upgradePolicy": { + "applicationHealthPolicy": { + "considerWarningAsError": true, + "defaultServiceTypeHealthPolicy": { + "maxPercentUnhealthyPartitionsPerService": 0, + "maxPercentUnhealthyReplicasPerPartition": 0, + "maxPercentUnhealthyServices": 0 + }, + "maxPercentUnhealthyDeployedApplications": 0, + "serviceTypeHealthPolicyMap": { + "service1": { + "maxPercentUnhealthyPartitionsPerService": 30, + "maxPercentUnhealthyReplicasPerPartition": 30, + "maxPercentUnhealthyServices": 30 + } + } + }, + "forceRestart": false, + "instanceCloseDelayDuration": 600, + "recreateApplication": false, + "rollingUpgradeMonitoringPolicy": { + "failureAction": "Rollback", + "healthCheckRetryTimeout": "00:10:00", + "healthCheckStableDuration": "00:05:00", + "healthCheckWaitDuration": "00:02:00", + "upgradeDomainTimeout": "00:15:00", + "upgradeTimeout": "01:00:00" + }, + "upgradeMode": "UnmonitoredAuto", + "upgradeReplicaSetCheckTimeout": 3600 + }, + "version": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applicationTypes/myAppType/versions/1.0" + }, + "tags": {} + }, + "headers": {} + } + }, + "operationId": "Applications_Get", + "title": "Get an application" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ApplicationListOperation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ApplicationListOperation_example.json new file mode 100644 index 000000000000..60938c7eeef6 --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ApplicationListOperation_example.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "clusterName": "myCluster", + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "nextLink": "http://examplelink.com", + "value": [ + { + "name": "myApp", + "type": "Microsoft.ServiceFabric/managedClusters/applications", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applications/myApp", + "properties": { + "provisioningState": "Updating", + "version": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applicationTypes/myAppType/versions/1.0" + } + } + ] + }, + "headers": {} + } + }, + "operationId": "Applications_List", + "title": "Get a list of application resources" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ApplicationPatchOperation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ApplicationPatchOperation_example.json new file mode 100644 index 000000000000..4873d42aa61d --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ApplicationPatchOperation_example.json @@ -0,0 +1,129 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "applicationName": "myApp", + "clusterName": "myCluster", + "parameters": { + "tags": { + "a": "b" + }, + "properties": { + "parameters": { + "param1": "value1", + "param2": "value2" + } + } + }, + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myApp", + "type": "Microsoft.ServiceFabric/managedClusters/applications", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applications/myApp", + "location": "eastus", + "properties": { + "parameters": { + "param1": "value1", + "param2": "value2" + }, + "provisioningState": "Succeeded", + "upgradePolicy": { + "applicationHealthPolicy": { + "considerWarningAsError": true, + "defaultServiceTypeHealthPolicy": { + "maxPercentUnhealthyPartitionsPerService": 0, + "maxPercentUnhealthyReplicasPerPartition": 0, + "maxPercentUnhealthyServices": 0 + }, + "maxPercentUnhealthyDeployedApplications": 0, + "serviceTypeHealthPolicyMap": { + "service1": { + "maxPercentUnhealthyPartitionsPerService": 30, + "maxPercentUnhealthyReplicasPerPartition": 30, + "maxPercentUnhealthyServices": 30 + } + } + }, + "forceRestart": false, + "instanceCloseDelayDuration": 600, + "recreateApplication": false, + "rollingUpgradeMonitoringPolicy": { + "failureAction": "Rollback", + "healthCheckRetryTimeout": "00:10:00", + "healthCheckStableDuration": "00:05:00", + "healthCheckWaitDuration": "00:02:00", + "upgradeDomainTimeout": "00:15:00", + "upgradeTimeout": "01:00:00" + }, + "upgradeMode": "UnmonitoredAuto", + "upgradeReplicaSetCheckTimeout": 3600 + }, + "version": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applicationTypes/myAppType/versions/1.0" + }, + "tags": { + "a": "b" + } + }, + "headers": {} + }, + "202": { + "body": { + "name": "myApp", + "type": "Microsoft.ServiceFabric/managedClusters/applications", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applications/myApp", + "location": "eastus", + "properties": { + "parameters": { + "param1": "value1", + "param2": "value2" + }, + "provisioningState": "Succeeded", + "upgradePolicy": { + "applicationHealthPolicy": { + "considerWarningAsError": true, + "defaultServiceTypeHealthPolicy": { + "maxPercentUnhealthyPartitionsPerService": 0, + "maxPercentUnhealthyReplicasPerPartition": 0, + "maxPercentUnhealthyServices": 0 + }, + "maxPercentUnhealthyDeployedApplications": 0, + "serviceTypeHealthPolicyMap": { + "service1": { + "maxPercentUnhealthyPartitionsPerService": 30, + "maxPercentUnhealthyReplicasPerPartition": 30, + "maxPercentUnhealthyServices": 30 + } + } + }, + "forceRestart": false, + "instanceCloseDelayDuration": 600, + "recreateApplication": false, + "rollingUpgradeMonitoringPolicy": { + "failureAction": "Rollback", + "healthCheckRetryTimeout": "00:10:00", + "healthCheckStableDuration": "00:05:00", + "healthCheckWaitDuration": "00:02:00", + "upgradeDomainTimeout": "00:15:00", + "upgradeTimeout": "01:00:00" + }, + "upgradeMode": "UnmonitoredAuto", + "upgradeReplicaSetCheckTimeout": 3600 + }, + "version": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applicationTypes/myAppType/versions/1.0" + }, + "tags": { + "a": "b" + } + }, + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview", + "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/9c2ce367-47ea-43de-b69e-c5a423da4557?api-version=2025-10-01-preview" + } + } + }, + "operationId": "Applications_Update", + "title": "Patch an application" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ApplicationPutOperation_example_max.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ApplicationPutOperation_example_max.json new file mode 100644 index 000000000000..ce159f1ab979 --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ApplicationPutOperation_example_max.json @@ -0,0 +1,158 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "applicationName": "myApp", + "clusterName": "myCluster", + "parameters": { + "location": "eastus", + "properties": { + "parameters": { + "param1": "value1" + }, + "upgradePolicy": { + "applicationHealthPolicy": { + "considerWarningAsError": true, + "defaultServiceTypeHealthPolicy": { + "maxPercentUnhealthyPartitionsPerService": 0, + "maxPercentUnhealthyReplicasPerPartition": 0, + "maxPercentUnhealthyServices": 0 + }, + "maxPercentUnhealthyDeployedApplications": 0, + "serviceTypeHealthPolicyMap": { + "service1": { + "maxPercentUnhealthyPartitionsPerService": 30, + "maxPercentUnhealthyReplicasPerPartition": 30, + "maxPercentUnhealthyServices": 30 + } + } + }, + "forceRestart": false, + "instanceCloseDelayDuration": 600, + "recreateApplication": false, + "rollingUpgradeMonitoringPolicy": { + "failureAction": "Rollback", + "healthCheckRetryTimeout": "00:10:00", + "healthCheckStableDuration": "00:05:00", + "healthCheckWaitDuration": "00:02:00", + "upgradeDomainTimeout": "00:15:00", + "upgradeTimeout": "01:00:00" + }, + "upgradeMode": "UnmonitoredAuto", + "upgradeReplicaSetCheckTimeout": 3600 + }, + "version": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applicationTypes/myAppType/versions/1.0" + }, + "tags": { + "a": "b" + } + }, + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myApp", + "type": "Microsoft.ServiceFabric/managedClusters/applications", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applications/myApp", + "location": "eastus", + "properties": { + "parameters": { + "param1": "value1" + }, + "provisioningState": "Creating", + "upgradePolicy": { + "applicationHealthPolicy": { + "considerWarningAsError": true, + "defaultServiceTypeHealthPolicy": { + "maxPercentUnhealthyPartitionsPerService": 0, + "maxPercentUnhealthyReplicasPerPartition": 0, + "maxPercentUnhealthyServices": 0 + }, + "maxPercentUnhealthyDeployedApplications": 0, + "serviceTypeHealthPolicyMap": { + "service1": { + "maxPercentUnhealthyPartitionsPerService": 30, + "maxPercentUnhealthyReplicasPerPartition": 30, + "maxPercentUnhealthyServices": 30 + } + } + }, + "forceRestart": false, + "instanceCloseDelayDuration": 600, + "recreateApplication": false, + "rollingUpgradeMonitoringPolicy": { + "failureAction": "Rollback", + "healthCheckRetryTimeout": "00:10:00", + "healthCheckStableDuration": "00:05:00", + "healthCheckWaitDuration": "00:02:00", + "upgradeDomainTimeout": "00:15:00", + "upgradeTimeout": "01:00:00" + }, + "upgradeMode": "UnmonitoredAuto", + "upgradeReplicaSetCheckTimeout": 3600 + }, + "version": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applicationTypes/myAppType/versions/1.0" + }, + "tags": { + "a": "b" + } + }, + "headers": {} + }, + "202": { + "body": { + "name": "myApp", + "type": "Microsoft.ServiceFabric/managedClusters/applications", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applications/myApp", + "properties": { + "parameters": { + "param1": "value1" + }, + "provisioningState": "Updating", + "upgradePolicy": { + "applicationHealthPolicy": { + "considerWarningAsError": true, + "defaultServiceTypeHealthPolicy": { + "maxPercentUnhealthyPartitionsPerService": 0, + "maxPercentUnhealthyReplicasPerPartition": 0, + "maxPercentUnhealthyServices": 0 + }, + "maxPercentUnhealthyDeployedApplications": 0, + "serviceTypeHealthPolicyMap": { + "service1": { + "maxPercentUnhealthyPartitionsPerService": 30, + "maxPercentUnhealthyReplicasPerPartition": 30, + "maxPercentUnhealthyServices": 30 + } + } + }, + "forceRestart": false, + "instanceCloseDelayDuration": 600, + "recreateApplication": false, + "rollingUpgradeMonitoringPolicy": { + "failureAction": "Rollback", + "healthCheckRetryTimeout": "00:10:00", + "healthCheckStableDuration": "00:05:00", + "healthCheckWaitDuration": "00:02:00", + "upgradeDomainTimeout": "00:15:00", + "upgradeTimeout": "01:00:00" + }, + "upgradeMode": "UnmonitoredAuto", + "upgradeReplicaSetCheckTimeout": 3600 + }, + "version": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applicationTypes/myAppType/versions/1.0" + }, + "tags": { + "a": "b" + } + }, + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview", + "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/9c2ce367-47ea-43de-b69e-c5a423da4557?api-version=2025-10-01-preview" + } + } + }, + "operationId": "Applications_CreateOrUpdate", + "title": "Put an application with maximum parameters" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ApplicationPutOperation_example_min.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ApplicationPutOperation_example_min.json new file mode 100644 index 000000000000..9cb230edcd56 --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ApplicationPutOperation_example_min.json @@ -0,0 +1,81 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "applicationName": "myApp", + "clusterName": "myCluster", + "parameters": { + "location": "eastus", + "properties": { + "version": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applicationTypes/myAppType/versions/1.0" + } + }, + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myApp", + "type": "Microsoft.ServiceFabric/managedClusters/applications", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applications/myApp", + "location": "eastus", + "properties": { + "parameters": { + "param1": "value1" + }, + "provisioningState": "Updating", + "upgradePolicy": { + "applicationHealthPolicy": { + "considerWarningAsError": true, + "defaultServiceTypeHealthPolicy": { + "maxPercentUnhealthyPartitionsPerService": 0, + "maxPercentUnhealthyReplicasPerPartition": 0, + "maxPercentUnhealthyServices": 0 + }, + "maxPercentUnhealthyDeployedApplications": 0, + "serviceTypeHealthPolicyMap": { + "service1": { + "maxPercentUnhealthyPartitionsPerService": 30, + "maxPercentUnhealthyReplicasPerPartition": 30, + "maxPercentUnhealthyServices": 30 + } + } + }, + "forceRestart": false, + "instanceCloseDelayDuration": 600, + "recreateApplication": false, + "rollingUpgradeMonitoringPolicy": { + "failureAction": "Rollback", + "healthCheckRetryTimeout": "00:10:00", + "healthCheckStableDuration": "00:05:00", + "healthCheckWaitDuration": "00:02:00", + "upgradeDomainTimeout": "00:15:00", + "upgradeTimeout": "01:00:00" + }, + "upgradeMode": "UnmonitoredAuto", + "upgradeReplicaSetCheckTimeout": 3600 + }, + "version": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applicationTypes/myAppType/versions/1.0" + } + }, + "headers": {} + }, + "202": { + "body": { + "name": "myCluster", + "type": "Microsoft.ServiceFabric/managedClusters/applications", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applications/myApp", + "properties": { + "provisioningState": "Updating", + "version": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applicationTypes/myAppType/versions/1.0" + } + }, + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview", + "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/9c2ce367-47ea-43de-b69e-c5a423da4557?api-version=2025-10-01-preview" + } + } + }, + "operationId": "Applications_CreateOrUpdate", + "title": "Put an application with minimum parameters" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ApplicationTypeNameDeleteOperation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ApplicationTypeNameDeleteOperation_example.json new file mode 100644 index 000000000000..4c31e09b7b90 --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ApplicationTypeNameDeleteOperation_example.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "applicationTypeName": "myAppType", + "clusterName": "myCluster", + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview", + "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/9c2ce367-47ea-43de-b69e-c5a423da4557?api-version=2025-10-01-preview" + } + }, + "204": {} + }, + "operationId": "ApplicationTypes_Delete", + "title": "Delete an application type" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ApplicationTypeNameGetOperation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ApplicationTypeNameGetOperation_example.json new file mode 100644 index 000000000000..9996eee9de4b --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ApplicationTypeNameGetOperation_example.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "applicationTypeName": "myAppType", + "clusterName": "myCluster", + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myAppType", + "type": "Microsoft.ServiceFabric/managedClusters/applicationTypes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applicationTypes/myAppType", + "properties": { + "provisioningState": "Succeeded" + } + }, + "headers": {} + } + }, + "operationId": "ApplicationTypes_Get", + "title": "Get an application type" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ApplicationTypeNameListOperation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ApplicationTypeNameListOperation_example.json new file mode 100644 index 000000000000..e4780fd9fc9b --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ApplicationTypeNameListOperation_example.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "clusterName": "myCluster", + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "nextLink": "http://examplelink.com", + "value": [ + { + "name": "myAppType", + "type": "Microsoft.ServiceFabric/managedClusters/applicationTypes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applicationTypes/myAppType", + "properties": { + "provisioningState": "Succeeded" + } + } + ] + }, + "headers": {} + } + }, + "operationId": "ApplicationTypes_List", + "title": "Get a list of application type name resources" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ApplicationTypeNamePatchOperation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ApplicationTypeNamePatchOperation_example.json new file mode 100644 index 000000000000..b130433c811b --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ApplicationTypeNamePatchOperation_example.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "applicationTypeName": "myAppType", + "clusterName": "myCluster", + "parameters": { + "tags": { + "a": "b" + } + }, + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myAppType", + "type": "Microsoft.ServiceFabric/managedClusters/applicationTypes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applicationTypes/myAppType", + "properties": { + "provisioningState": "Succeeded" + }, + "tags": { + "a": "b" + } + }, + "headers": {} + } + }, + "operationId": "ApplicationTypes_Update", + "title": "Patch an application type" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ApplicationTypeNamePutOperation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ApplicationTypeNamePutOperation_example.json new file mode 100644 index 000000000000..9fbc8eb8c45e --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ApplicationTypeNamePutOperation_example.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "applicationTypeName": "myAppType", + "clusterName": "myCluster", + "parameters": { + "location": "eastus" + }, + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myAppType", + "type": "Microsoft.ServiceFabric/managedClusters/applicationTypes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applicationTypes/myAppType", + "properties": { + "provisioningState": "Succeeded" + } + }, + "headers": {} + } + }, + "operationId": "ApplicationTypes_CreateOrUpdate", + "title": "Put an application type" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ApplicationTypeVersionDeleteOperation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ApplicationTypeVersionDeleteOperation_example.json new file mode 100644 index 000000000000..b26ac319c3e2 --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ApplicationTypeVersionDeleteOperation_example.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "applicationTypeName": "myAppType", + "clusterName": "myCluster", + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "version": "1.0" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview", + "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/9c2ce367-47ea-43de-b69e-c5a423da4557?api-version=2025-10-01-preview" + } + }, + "204": {} + }, + "operationId": "ApplicationTypeVersions_Delete", + "title": "Delete an application type version" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ApplicationTypeVersionGetOperation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ApplicationTypeVersionGetOperation_example.json new file mode 100644 index 000000000000..25e90f469bac --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ApplicationTypeVersionGetOperation_example.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "applicationTypeName": "myAppType", + "clusterName": "myCluster", + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "version": "1.0" + }, + "responses": { + "200": { + "body": { + "name": "1.0", + "type": "Microsoft.ServiceFabric/managedClusters/applicationTypes/versions", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applicationTypes/myAppType/versions/1.0", + "properties": { + "appPackageUrl": "http://fakelink.test.com/MyAppType", + "provisioningState": "Updating" + } + }, + "headers": {} + } + }, + "operationId": "ApplicationTypeVersions_Get", + "title": "Get an application type version" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ApplicationTypeVersionListOperation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ApplicationTypeVersionListOperation_example.json new file mode 100644 index 000000000000..27b042f2162a --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ApplicationTypeVersionListOperation_example.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "applicationTypeName": "myAppType", + "clusterName": "myCluster", + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "nextLink": "http://examplelink.com", + "value": [ + { + "name": "1.0", + "type": "Microsoft.ServiceFabric/managedClusters/applicationTypes/versions", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applicationTypes/myAppType/versions/1.0", + "properties": { + "appPackageUrl": "http://fakelink.test.com/MyAppType", + "provisioningState": "Updating" + } + } + ] + }, + "headers": {} + } + }, + "operationId": "ApplicationTypeVersions_ListByApplicationTypes", + "title": "Get a list of application type version resources" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ApplicationTypeVersionPatchOperation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ApplicationTypeVersionPatchOperation_example.json new file mode 100644 index 000000000000..2560f822298a --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ApplicationTypeVersionPatchOperation_example.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "applicationTypeName": "myAppType", + "clusterName": "myCluster", + "parameters": { + "tags": { + "a": "b" + } + }, + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "version": "1.0" + }, + "responses": { + "200": { + "body": { + "name": "1.0", + "type": "Microsoft.ServiceFabric/managedClusters/applicationTypes/versions", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applicationTypes/myAppType/versions/1.0", + "properties": { + "appPackageUrl": "http://fakelink.test.com/MyAppType", + "provisioningState": "Succeeded" + }, + "tags": { + "a": "b" + } + }, + "headers": {} + } + }, + "operationId": "ApplicationTypeVersions_Update", + "title": "Patch an application type version" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ApplicationTypeVersionPutOperation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ApplicationTypeVersionPutOperation_example.json new file mode 100644 index 000000000000..52f4b42f99c5 --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ApplicationTypeVersionPutOperation_example.json @@ -0,0 +1,47 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "applicationTypeName": "myAppType", + "clusterName": "myCluster", + "parameters": { + "location": "eastus", + "properties": { + "appPackageUrl": "http://fakelink.test.com/MyAppType" + } + }, + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "version": "1.0" + }, + "responses": { + "200": { + "body": { + "name": "1.0", + "type": "Microsoft.ServiceFabric/managedClusters/applicationTypes/versions", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applicationTypes/myAppType/versions/1.0", + "properties": { + "appPackageUrl": "http://fakelink.test.com/MyAppType", + "provisioningState": "Creating" + } + }, + "headers": {} + }, + "202": { + "body": { + "name": "1.0", + "type": "Microsoft.ServiceFabric/managedClusters/applicationTypes/versions", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applicationTypes/myAppType/versions/1.0", + "properties": { + "appPackageUrl": "http://fakelink.test.com/MyAppType", + "provisioningState": "Updating" + } + }, + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview", + "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/9c2ce367-47ea-43de-b69e-c5a423da4557?api-version=2025-10-01-preview" + } + } + }, + "operationId": "ApplicationTypeVersions_CreateOrUpdate", + "title": "Put an application type version" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/DeallocateNodes_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/DeallocateNodes_example.json new file mode 100644 index 000000000000..6f504cfc6041 --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/DeallocateNodes_example.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "clusterName": "myCluster", + "nodeTypeName": "BE", + "parameters": { + "nodes": [ + "BE_0", + "BE_1" + ] + }, + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview", + "Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview" + } + } + }, + "operationId": "NodeTypes_Deallocate", + "title": "Deallocate nodes" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/DeleteNodes_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/DeleteNodes_example.json new file mode 100644 index 000000000000..f78e66b000f8 --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/DeleteNodes_example.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "clusterName": "myCluster", + "nodeTypeName": "BE", + "parameters": { + "nodes": [ + "BE_0", + "BE_3" + ] + }, + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview", + "Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview" + } + } + }, + "operationId": "NodeTypes_DeleteNode", + "title": "Delete nodes" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ManagedApplyMaintenanceWindowPost_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ManagedApplyMaintenanceWindowPost_example.json new file mode 100644 index 000000000000..13a2380b96dc --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ManagedApplyMaintenanceWindowPost_example.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "clusterName": "mycluster1", + "resourceGroupName": "resourceGroup1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {} + }, + "operationId": "managedApplyMaintenanceWindow_Post", + "title": "Apply Maintenance Window Status" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ManagedClusterDeleteOperation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ManagedClusterDeleteOperation_example.json new file mode 100644 index 000000000000..5939027b06fc --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ManagedClusterDeleteOperation_example.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "clusterName": "myCluster", + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview" + } + }, + "204": {} + }, + "operationId": "ManagedClusters_Delete", + "title": "Delete a cluster" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ManagedClusterGetOperation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ManagedClusterGetOperation_example.json new file mode 100644 index 000000000000..28af79481a9d --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ManagedClusterGetOperation_example.json @@ -0,0 +1,76 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "clusterName": "myCluster", + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myCluster", + "type": "Microsoft.ServiceFabric/managedClusters", + "etag": "W/\"636462502169240745\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedClusters/myCluster", + "location": "eastus", + "properties": { + "adminUserName": "vmadmin", + "clientConnectionPort": 19000, + "clusterCertificateThumbprints": [ + "12599211F8F14C90AFA9532AD79A6F2CA1C00622" + ], + "clusterCodeVersion": "7.1.168.9494", + "clusterId": "92584666-9889-4ae8-8d02-91902923d37f", + "clusterState": "WaitingForNodes", + "clusterUpgradeCadence": "Wave0", + "clusterUpgradeMode": "Automatic", + "dnsName": "myCluster", + "fabricSettings": [ + { + "name": "ManagedIdentityTokenService", + "parameters": [ + { + "name": "IsEnabled", + "value": "true" + } + ] + } + ], + "fqdn": "MyCluster.eastus.cloudapp.azure.com", + "httpGatewayConnectionPort": 19080, + "loadBalancingRules": [ + { + "backendPort": 80, + "frontendPort": 80, + "probePort": 80, + "probeProtocol": "http", + "protocol": "http" + }, + { + "backendPort": 443, + "frontendPort": 443, + "probePort": 443, + "probeProtocol": "http", + "protocol": "http" + }, + { + "backendPort": 10000, + "frontendPort": 10000, + "probePort": 10000, + "probeProtocol": "tcp", + "protocol": "tcp" + } + ], + "provisioningState": "Succeeded" + }, + "sku": { + "name": "Standard" + }, + "tags": {} + }, + "headers": {} + } + }, + "operationId": "ManagedClusters_Get", + "title": "Get a cluster" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ManagedClusterListByResourceGroupOperation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ManagedClusterListByResourceGroupOperation_example.json new file mode 100644 index 000000000000..1ed82e9c01de --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ManagedClusterListByResourceGroupOperation_example.json @@ -0,0 +1,97 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "nextLink": "http://examplelink.com", + "value": [ + { + "name": "myCluster", + "type": "Microsoft.ServiceFabric/managedClusters", + "etag": "W/\"636462502169240745\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedClusters/myCluster", + "location": "eastus", + "properties": { + "adminUserName": "vmadmin", + "clientConnectionPort": 19000, + "clusterCertificateThumbprints": [ + "12599211F8F14C90AFA9532AD79A6F2CA1C00622" + ], + "clusterCodeVersion": "7.1.168.9494", + "clusterId": "92584666-9889-4ae8-8d02-91902923d37f", + "clusterState": "WaitingForNodes", + "clusterUpgradeCadence": "Wave0", + "clusterUpgradeMode": "Automatic", + "dnsName": "myCluster", + "fabricSettings": [ + { + "name": "ManagedIdentityTokenService", + "parameters": [ + { + "name": "IsEnabled", + "value": "true" + } + ] + } + ], + "fqdn": "MyCluster.eastus.cloudapp.azure.com", + "httpGatewayConnectionPort": 19080, + "loadBalancingRules": [], + "provisioningState": "Succeeded" + }, + "sku": { + "name": "Standard" + }, + "tags": {} + }, + { + "name": "myCluster2", + "type": "Microsoft.ServiceFabric/managedClusters", + "etag": "W/\"636462502164040075\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedClusters/myCluster2", + "location": "eastus", + "properties": { + "adminUserName": "vmadmin", + "clientConnectionPort": 19000, + "clusterCertificateThumbprints": [ + "12599211F8F14C90AFA9532AD79A6F2CA1C00622" + ], + "clusterCodeVersion": "7.1.168.9494", + "clusterId": "2747e469-b24e-4039-8a0a-46151419523f", + "clusterState": "WaitingForNodes", + "clusterUpgradeCadence": "Wave0", + "clusterUpgradeMode": "Automatic", + "dnsName": "myCluster2", + "fabricSettings": [ + { + "name": "ManagedIdentityTokenService", + "parameters": [ + { + "name": "IsEnabled", + "value": "true" + } + ] + } + ], + "fqdn": "MyCluster.eastus.cloudapp.azure.com", + "httpGatewayConnectionPort": 19080, + "loadBalancingRules": [], + "provisioningState": "Succeeded" + }, + "sku": { + "name": "Standard" + }, + "tags": {} + } + ] + }, + "headers": {} + } + }, + "operationId": "ManagedClusters_ListByResourceGroup", + "title": "List cluster by resource group" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ManagedClusterListBySubscriptionOperation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ManagedClusterListBySubscriptionOperation_example.json new file mode 100644 index 000000000000..a3a8188f8b0e --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ManagedClusterListBySubscriptionOperation_example.json @@ -0,0 +1,96 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "nextLink": "http://examplelink.com", + "value": [ + { + "name": "myCluster", + "type": "Microsoft.ServiceFabric/managedClusters", + "etag": "W/\"636462502169240745\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedClusters/myCluster", + "location": "eastus", + "properties": { + "adminUserName": "vmadmin", + "clientConnectionPort": 19000, + "clusterCertificateThumbprints": [ + "12599211F8F14C90AFA9532AD79A6F2CA1C00622" + ], + "clusterCodeVersion": "7.1.168.9494", + "clusterId": "92584666-9889-4ae8-8d02-91902923d37f", + "clusterState": "WaitingForNodes", + "clusterUpgradeCadence": "Wave0", + "clusterUpgradeMode": "Automatic", + "dnsName": "myCluster", + "fabricSettings": [ + { + "name": "ManagedIdentityTokenService", + "parameters": [ + { + "name": "IsEnabled", + "value": "true" + } + ] + } + ], + "fqdn": "MyCluster.eastus.cloudapp.azure.com", + "httpGatewayConnectionPort": 19080, + "loadBalancingRules": [], + "provisioningState": "Succeeded" + }, + "sku": { + "name": "Standard" + }, + "tags": {} + }, + { + "name": "myCluster2", + "type": "Microsoft.ServiceFabric/managedClusters", + "etag": "W/\"636462502164040075\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedClusters/myCluster2", + "location": "eastus", + "properties": { + "adminUserName": "vmadmin", + "clientConnectionPort": 19000, + "clusterCertificateThumbprints": [ + "12599211F8F14C90AFA9532AD79A6F2CA1C00622" + ], + "clusterCodeVersion": "7.1.168.9494", + "clusterId": "2747e469-b24e-4039-8a0a-46151419523f", + "clusterState": "WaitingForNodes", + "clusterUpgradeCadence": "Wave0", + "clusterUpgradeMode": "Automatic", + "dnsName": "myCluster2", + "fabricSettings": [ + { + "name": "ManagedIdentityTokenService", + "parameters": [ + { + "name": "IsEnabled", + "value": "true" + } + ] + } + ], + "fqdn": "MyCluster.eastus.cloudapp.azure.com", + "httpGatewayConnectionPort": 19080, + "loadBalancingRules": [], + "provisioningState": "Succeeded" + }, + "sku": { + "name": "Standard" + }, + "tags": {} + } + ] + }, + "headers": {} + } + }, + "operationId": "ManagedClusters_ListBySubscription", + "title": "List managed clusters" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ManagedClusterPatchOperation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ManagedClusterPatchOperation_example.json new file mode 100644 index 000000000000..21f56299152c --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ManagedClusterPatchOperation_example.json @@ -0,0 +1,209 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "clusterName": "myCluster", + "parameters": { + "tags": { + "a": "b" + } + }, + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myCluster", + "type": "Microsoft.ServiceFabric/managedClusters", + "etag": "W/\"636462502169240745\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedClusters/myCluster", + "location": "eastus", + "properties": { + "addonFeatures": [ + "DnsService", + "BackupRestoreService", + "ResourceMonitorService" + ], + "adminUserName": "vmadmin", + "allowRdpAccess": true, + "clientConnectionPort": 19001, + "clusterCertificateThumbprints": [ + "12599211F8F14C90AFA9532AD79A6F2CA1C00622" + ], + "clusterCodeVersion": "7.1.168.9494", + "clusterId": "92584666-9889-4ae8-8d02-91902923d37f", + "clusterState": "WaitingForNodes", + "clusterUpgradeCadence": "Wave0", + "clusterUpgradeMode": "Automatic", + "dnsName": "myCluster", + "enableAutoOSUpgrade": true, + "fabricSettings": [ + { + "name": "ManagedIdentityTokenService", + "parameters": [ + { + "name": "IsEnabled", + "value": "false" + } + ] + } + ], + "fqdn": "MyCluster.eastus.cloudapp.azure.com", + "httpGatewayConnectionPort": 19081, + "loadBalancingRules": [ + { + "backendPort": 80, + "frontendPort": 80, + "probePort": 80, + "probeProtocol": "http", + "protocol": "http" + }, + { + "backendPort": 443, + "frontendPort": 443, + "probePort": 443, + "probeProtocol": "http", + "protocol": "http" + }, + { + "backendPort": 10000, + "frontendPort": 10000, + "probePort": 10000, + "probeProtocol": "http", + "protocol": "tcp" + } + ], + "networkSecurityRules": [ + { + "name": "TestName", + "description": "Test description", + "access": "allow", + "destinationAddressPrefixes": [ + "*" + ], + "destinationPortRanges": [ + "*" + ], + "direction": "inbound", + "priority": 1010, + "sourceAddressPrefixes": [ + "*" + ], + "sourcePortRanges": [ + "*" + ], + "protocol": "tcp" + } + ], + "provisioningState": "Succeeded" + }, + "sku": { + "name": "Standard" + }, + "tags": { + "a": "b" + } + } + }, + "202": { + "body": { + "name": "myCluster", + "type": "Microsoft.ServiceFabric/managedClusters", + "etag": "W/\"636462502169240745\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedClusters/myCluster", + "location": "eastus", + "properties": { + "addonFeatures": [ + "DnsService", + "BackupRestoreService", + "ResourceMonitorService" + ], + "adminUserName": "vmadmin", + "allowRdpAccess": true, + "clientConnectionPort": 19001, + "clusterCertificateThumbprints": [ + "12599211F8F14C90AFA9532AD79A6F2CA1C00622" + ], + "clusterCodeVersion": "7.1.168.9494", + "clusterId": "92584666-9889-4ae8-8d02-91902923d37f", + "clusterState": "WaitingForNodes", + "clusterUpgradeCadence": "Wave0", + "clusterUpgradeMode": "Automatic", + "dnsName": "myCluster", + "enableAutoOSUpgrade": true, + "fabricSettings": [ + { + "name": "ManagedIdentityTokenService", + "parameters": [ + { + "name": "IsEnabled", + "value": "false" + } + ] + } + ], + "fqdn": "MyCluster.eastus.cloudapp.azure.com", + "httpGatewayConnectionPort": 19081, + "loadBalancingRules": [ + { + "backendPort": 80, + "frontendPort": 80, + "probePort": 80, + "probeProtocol": "http", + "protocol": "http" + }, + { + "backendPort": 443, + "frontendPort": 443, + "probePort": 443, + "probeProtocol": "http", + "protocol": "http" + }, + { + "backendPort": 10000, + "frontendPort": 10000, + "probePort": 10000, + "probeProtocol": "http", + "protocol": "tcp" + } + ], + "networkSecurityRules": [ + { + "name": "TestName", + "description": "Test description", + "access": "allow", + "destinationAddressPrefixes": [ + "*" + ], + "destinationPortRanges": [ + "*" + ], + "direction": "inbound", + "priority": 1010, + "sourceAddressPrefixes": [ + "*" + ], + "sourcePortRanges": [ + "*" + ], + "protocol": "tcp" + } + ], + "provisioningState": "Succeeded" + }, + "sku": { + "name": "Standard" + }, + "tags": { + "a": "b" + } + }, + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview", + "Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview" + } + } + }, + "operationId": "ManagedClusters_Update", + "title": "Patch a managed cluster" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ManagedClusterPutOperation_example_max.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ManagedClusterPutOperation_example_max.json new file mode 100644 index 000000000000..44a9f40e1bc0 --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ManagedClusterPutOperation_example_max.json @@ -0,0 +1,498 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "clusterName": "mycluster", + "parameters": { + "location": "eastus", + "properties": { + "addonFeatures": [ + "DnsService", + "BackupRestoreService", + "ResourceMonitorService" + ], + "adminPassword": "{vm-password}", + "adminUserName": "vmadmin", + "allocatedOutboundPorts": 0, + "allowRdpAccess": true, + "applicationTypeVersionsCleanupPolicy": { + "maxUnusedVersionsToKeep": 3 + }, + "autoGeneratedDomainNameLabelScope": "SubscriptionReuse", + "auxiliarySubnets": [ + { + "name": "testSubnet1", + "enableIpv6": true, + "networkSecurityGroupId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/networkSecurityGroups/sn1", + "privateEndpointNetworkPolicies": "enabled", + "privateLinkServiceNetworkPolicies": "enabled" + } + ], + "clientConnectionPort": 19000, + "clusterCodeVersion": "7.1.168.9494", + "clusterUpgradeMode": "Manual", + "ddosProtectionPlanId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/ddosProtectionPlans/myDDoSProtectionPlan", + "dnsName": "mycluster", + "enableAutoOSUpgrade": true, + "enableHttpGatewayExclusiveAuthMode": true, + "enableIpv6": true, + "fabricSettings": [ + { + "name": "ManagedIdentityTokenService", + "parameters": [ + { + "name": "IsEnabled", + "value": "true" + } + ] + } + ], + "httpGatewayConnectionPort": 19080, + "httpGatewayTokenAuthConnectionPort": 19081, + "ipTags": [ + { + "ipTagType": "FirstPartyUsage", + "tag": "SQL" + } + ], + "loadBalancingRules": [ + { + "backendPort": 80, + "frontendPort": 80, + "probePort": 80, + "probeProtocol": "http", + "protocol": "http" + }, + { + "backendPort": 443, + "frontendPort": 443, + "probePort": 443, + "probeProtocol": "http", + "protocol": "http" + }, + { + "backendPort": 10000, + "frontendPort": 10000, + "loadDistribution": "Default", + "probePort": 10000, + "probeProtocol": "http", + "protocol": "tcp" + } + ], + "networkSecurityRules": [ + { + "name": "TestName", + "description": "Test description", + "access": "allow", + "destinationAddressPrefixes": [ + "*" + ], + "destinationPortRanges": [ + "*" + ], + "direction": "inbound", + "priority": 1010, + "sourceAddressPrefixes": [ + "*" + ], + "sourcePortRanges": [ + "*" + ], + "protocol": "tcp" + }, + { + "name": "AllowARM", + "access": "allow", + "destinationAddressPrefix": "*", + "destinationPortRange": "33500-33699", + "direction": "inbound", + "priority": 2002, + "sourceAddressPrefix": "AzureResourceManager", + "sourcePortRange": "*", + "protocol": "*" + } + ], + "publicIPPrefixId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.Network/publicIPPrefixes/myPublicIPPrefix", + "publicIPv6PrefixId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.Network/publicIPPrefixes/myPublicIPv6Prefix", + "serviceEndpoints": [ + { + "locations": [ + "eastus2", + "usnorth" + ], + "service": "Microsoft.Storage", + "networkIdentifier": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/publicIPAddresses/myPublicIP" + } + ], + "upgradeDescription": { + "deltaHealthPolicy": { + "maxPercentDeltaUnhealthyApplications": 40, + "maxPercentDeltaUnhealthyNodes": 20, + "maxPercentUpgradeDomainDeltaUnhealthyNodes": 40 + }, + "forceRestart": false, + "healthPolicy": { + "maxPercentUnhealthyApplications": 30, + "maxPercentUnhealthyNodes": 10 + }, + "monitoringPolicy": { + "healthCheckRetryTimeout": "00:55:00", + "healthCheckStableDuration": "00:45:00", + "healthCheckWaitDuration": "00:05:00", + "upgradeDomainTimeout": "03:00:00", + "upgradeTimeout": "12:00:00" + } + }, + "useCustomVnet": true, + "zonalResiliency": true, + "zonalUpdateMode": "Fast", + "enableOutboundOnlyNodeTypes": true + }, + "sku": { + "name": "Basic" + }, + "tags": {} + }, + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myCluster", + "type": "Microsoft.ServiceFabric/managedClusters", + "etag": "W/\"636462502169240745\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedClusters/myCluster", + "location": "eastus", + "properties": { + "addonFeatures": [ + "DnsService", + "BackupRestoreService", + "ResourceMonitorService" + ], + "adminUserName": "vmadmin", + "allocatedOutboundPorts": 0, + "allowRdpAccess": true, + "applicationTypeVersionsCleanupPolicy": { + "maxUnusedVersionsToKeep": 3 + }, + "autoGeneratedDomainNameLabelScope": "SubscriptionReuse", + "auxiliarySubnets": [ + { + "name": "testSubnet1", + "enableIpv6": true, + "networkSecurityGroupId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/networkSecurityGroups/sn1", + "privateEndpointNetworkPolicies": "enabled", + "privateLinkServiceNetworkPolicies": "enabled" + } + ], + "clientConnectionPort": 19000, + "clusterCertificateThumbprints": [ + "12599211F8F14C90AFA9532AD79A6F2CA1C00622" + ], + "clusterCodeVersion": "7.1.168.9494", + "clusterId": "92584666-9889-4ae8-8d02-91902923d37f", + "clusterState": "WaitingForNodes", + "clusterUpgradeMode": "Manual", + "ddosProtectionPlanId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/ddosProtectionPlans/myDDoSProtectionPlan", + "dnsName": "mycluster", + "enableAutoOSUpgrade": true, + "enableHttpGatewayExclusiveAuthMode": true, + "enableIpv6": true, + "enableServicePublicIP": true, + "fabricSettings": [ + { + "name": "ManagedIdentityTokenService", + "parameters": [ + { + "name": "IsEnabled", + "value": "true" + } + ] + } + ], + "fqdn": "mycluster.eastus.cloudapp.azure.com", + "httpGatewayConnectionPort": 19080, + "httpGatewayTokenAuthConnectionPort": 19081, + "ipTags": [ + { + "ipTagType": "FirstPartyUsage", + "tag": "SQL" + } + ], + "ipv6Address": "0000:0000:0000:0000:0000:0000:0000:0000", + "loadBalancingRules": [ + { + "backendPort": 80, + "frontendPort": 80, + "probePort": 80, + "probeProtocol": "http", + "protocol": "http" + }, + { + "backendPort": 443, + "frontendPort": 443, + "probePort": 443, + "probeProtocol": "http", + "protocol": "http" + }, + { + "backendPort": 10000, + "frontendPort": 10000, + "loadDistribution": "Default", + "probePort": 10000, + "probeProtocol": "tcp", + "protocol": "tcp" + } + ], + "networkSecurityRules": [ + { + "name": "TestName", + "description": "Test description", + "access": "allow", + "destinationAddressPrefixes": [ + "*" + ], + "destinationPortRanges": [ + "*" + ], + "direction": "inbound", + "priority": 1010, + "sourceAddressPrefixes": [ + "*" + ], + "sourcePortRanges": [ + "*" + ], + "protocol": "tcp" + }, + { + "name": "AllowARM", + "access": "allow", + "destinationAddressPrefix": "*", + "destinationPortRange": "33500-33699", + "direction": "inbound", + "priority": 2002, + "sourceAddressPrefix": "AzureResourceManager", + "sourcePortRange": "*", + "protocol": "*" + } + ], + "provisioningState": "Creating", + "publicIPPrefixId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.Network/publicIPPrefixes/myPublicIPPrefix", + "publicIPv6PrefixId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.Network/publicIPPrefixes/myPublicIPv6Prefix", + "serviceEndpoints": [ + { + "locations": [ + "eastus2", + "usnorth" + ], + "service": "Microsoft.Storage", + "networkIdentifier": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/publicIPAddresses/myPublicIP" + } + ], + "upgradeDescription": { + "deltaHealthPolicy": { + "maxPercentDeltaUnhealthyApplications": 40, + "maxPercentDeltaUnhealthyNodes": 20, + "maxPercentUpgradeDomainDeltaUnhealthyNodes": 40 + }, + "forceRestart": false, + "healthPolicy": { + "maxPercentUnhealthyApplications": 30, + "maxPercentUnhealthyNodes": 10 + }, + "monitoringPolicy": { + "healthCheckRetryTimeout": "00:55:00", + "healthCheckStableDuration": "00:45:00", + "healthCheckWaitDuration": "00:05:00", + "upgradeDomainTimeout": "03:00:00", + "upgradeTimeout": "12:00:00" + }, + "upgradeReplicaSetCheckTimeout": "49710.06:28:16" + }, + "useCustomVnet": true, + "zonalResiliency": true, + "zonalUpdateMode": "Fast", + "enableOutboundOnlyNodeTypes": true + }, + "sku": { + "name": "Basic" + }, + "tags": {} + }, + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview", + "Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview" + } + }, + "202": { + "body": { + "name": "mycluster", + "type": "Microsoft.ServiceFabric/managedClusters", + "etag": "W/\"636462502169240745\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedClusters/myCluster", + "location": "eastus", + "properties": { + "addonFeatures": [ + "DnsService", + "BackupRestoreService", + "ResourceMonitorService" + ], + "adminUserName": "vmadmin", + "allocatedOutboundPorts": 0, + "allowRdpAccess": true, + "applicationTypeVersionsCleanupPolicy": { + "maxUnusedVersionsToKeep": 3 + }, + "autoGeneratedDomainNameLabelScope": "SubscriptionReuse", + "auxiliarySubnets": [ + { + "name": "testSubnet1", + "enableIpv6": true, + "networkSecurityGroupId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/networkSecurityGroups/sn1", + "privateEndpointNetworkPolicies": "enabled", + "privateLinkServiceNetworkPolicies": "enabled" + } + ], + "clientConnectionPort": 19000, + "clusterCertificateThumbprints": [ + "12599211F8F14C90AFA9532AD79A6F2CA1C00622" + ], + "clusterCodeVersion": "7.1.168.9494", + "clusterId": "92584666-9889-4ae8-8d02-91902923d37f", + "clusterState": "WaitingForNodes", + "clusterUpgradeMode": "Manual", + "ddosProtectionPlanId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/ddosProtectionPlans/myDDoSProtectionPlan", + "dnsName": "mycluster", + "enableAutoOSUpgrade": true, + "enableHttpGatewayExclusiveAuthMode": true, + "enableIpv6": true, + "enableServicePublicIP": true, + "fabricSettings": [ + { + "name": "ManagedIdentityTokenService", + "parameters": [ + { + "name": "IsEnabled", + "value": "true" + } + ] + } + ], + "fqdn": "mycluster.eastus.cloudapp.azure.com", + "httpGatewayConnectionPort": 19080, + "httpGatewayTokenAuthConnectionPort": 19081, + "ipTags": [ + { + "ipTagType": "FirstPartyUsage", + "tag": "SQL" + } + ], + "loadBalancingRules": [ + { + "backendPort": 80, + "frontendPort": 80, + "probePort": 80, + "probeProtocol": "http", + "protocol": "http" + }, + { + "backendPort": 443, + "frontendPort": 443, + "probePort": 443, + "probeProtocol": "http", + "protocol": "http" + }, + { + "backendPort": 10000, + "frontendPort": 10000, + "loadDistribution": "Default", + "probePort": 10000, + "probeProtocol": "tcp", + "protocol": "tcp" + } + ], + "networkSecurityRules": [ + { + "name": "TestName", + "description": "Test description", + "access": "allow", + "destinationAddressPrefixes": [ + "*" + ], + "destinationPortRanges": [ + "*" + ], + "direction": "inbound", + "priority": 1010, + "sourceAddressPrefixes": [ + "*" + ], + "sourcePortRanges": [ + "*" + ], + "protocol": "tcp" + }, + { + "name": "AllowARM", + "access": "allow", + "destinationAddressPrefix": "*", + "destinationPortRange": "33500-33699", + "direction": "inbound", + "priority": 2002, + "sourceAddressPrefix": "AzureResourceManager", + "sourcePortRange": "*", + "protocol": "*" + } + ], + "provisioningState": "Updating", + "publicIPPrefixId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.Network/publicIPPrefixes/myPublicIPPrefix", + "publicIPv6PrefixId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.Network/publicIPPrefixes/myPublicIPv6Prefix", + "serviceEndpoints": [ + { + "locations": [ + "eastus2", + "usnorth" + ], + "service": "Microsoft.Storage", + "networkIdentifier": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/publicIPAddresses/myPublicIP" + } + ], + "upgradeDescription": { + "deltaHealthPolicy": { + "maxPercentDeltaUnhealthyApplications": 40, + "maxPercentDeltaUnhealthyNodes": 20, + "maxPercentUpgradeDomainDeltaUnhealthyNodes": 40 + }, + "forceRestart": false, + "healthPolicy": { + "maxPercentUnhealthyApplications": 30, + "maxPercentUnhealthyNodes": 10 + }, + "monitoringPolicy": { + "healthCheckRetryTimeout": "00:55:00", + "healthCheckStableDuration": "00:45:00", + "healthCheckWaitDuration": "00:05:00", + "upgradeDomainTimeout": "03:00:00", + "upgradeTimeout": "12:00:00" + } + }, + "useCustomVnet": true, + "zonalResiliency": true, + "zonalUpdateMode": "Fast", + "enableOutboundOnlyNodeTypes": true + }, + "sku": { + "name": "Basic" + }, + "tags": {} + }, + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview", + "Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview" + } + } + }, + "operationId": "ManagedClusters_CreateOrUpdate", + "title": "Put a cluster with maximum parameters" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ManagedClusterPutOperation_example_min.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ManagedClusterPutOperation_example_min.json new file mode 100644 index 000000000000..e3b6aa082bf6 --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ManagedClusterPutOperation_example_min.json @@ -0,0 +1,124 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "clusterName": "myCluster", + "parameters": { + "location": "eastus", + "properties": { + "adminPassword": "{vm-password}", + "adminUserName": "vmadmin", + "clusterUpgradeCadence": "Wave1", + "clusterUpgradeMode": "Automatic", + "dnsName": "myCluster", + "fabricSettings": [ + { + "name": "ManagedIdentityTokenService", + "parameters": [ + { + "name": "IsEnabled", + "value": "true" + } + ] + } + ] + }, + "sku": { + "name": "Basic" + } + }, + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myCluster", + "type": "Microsoft.ServiceFabric/managedClusters", + "etag": "W/\"636462502169240745\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedClusters/myCluster", + "location": "eastus", + "properties": { + "adminUserName": "vmadmin", + "clientConnectionPort": 19000, + "clusterCertificateThumbprints": [ + "12599211F8F14C90AFA9532AD79A6F2CA1C00622" + ], + "clusterId": "92584666-9889-4ae8-8d02-91902923d37f", + "clusterState": "WaitingForNodes", + "clusterUpgradeCadence": "Wave1", + "clusterUpgradeMode": "Automatic", + "dnsName": "myCluster", + "fabricSettings": [ + { + "name": "ManagedIdentityTokenService", + "parameters": [ + { + "name": "IsEnabled", + "value": "true" + } + ] + } + ], + "fqdn": "MyCluster.eastus.cloudapp.azure.com", + "httpGatewayConnectionPort": 19080, + "loadBalancingRules": [], + "provisioningState": "Creating" + }, + "sku": { + "name": "Basic" + }, + "tags": {} + }, + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview", + "Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview" + } + }, + "202": { + "body": { + "name": "myCluster", + "type": "Microsoft.ServiceFabric/managedClusters", + "etag": "W/\"636462502169240745\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedClusters/myCluster", + "location": "eastus", + "properties": { + "adminUserName": "vmadmin", + "clientConnectionPort": 19000, + "clusterCertificateThumbprints": [ + "12599211F8F14C90AFA9532AD79A6F2CA1C00622" + ], + "clusterId": "92584666-9889-4ae8-8d02-91902923d37f", + "clusterState": "WaitingForNodes", + "clusterUpgradeCadence": "Wave1", + "clusterUpgradeMode": "Automatic", + "dnsName": "myCluster", + "fabricSettings": [ + { + "name": "ManagedIdentityTokenService", + "parameters": [ + { + "name": "IsEnabled", + "value": "true" + } + ] + } + ], + "fqdn": "MyCluster.eastus.cloudapp.azure.com", + "httpGatewayConnectionPort": 19080, + "loadBalancingRules": [], + "provisioningState": "Updating" + }, + "sku": { + "name": "Basic" + }, + "tags": {} + }, + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview", + "Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview" + } + } + }, + "operationId": "ManagedClusters_CreateOrUpdate", + "title": "Put a cluster with minimum parameters" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ManagedClusterVersionGetByEnvironment_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ManagedClusterVersionGetByEnvironment_example.json new file mode 100644 index 000000000000..17a3027669ca --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ManagedClusterVersionGetByEnvironment_example.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "clusterVersion": "7.2.477.9590", + "environment": "Windows", + "location": "eastus", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "7.2.477.9590", + "type": "Microsoft.ServiceFabric/locations/environments/managedClusterVersions", + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/environments/Windows/managedClusterVersions/7.2.477.9590", + "properties": { + "clusterCodeVersion": "7.2.477.9590", + "osType": "Windows", + "supportExpiryUtc": "2021-11-30T00:00:00" + } + }, + "headers": {} + } + }, + "operationId": "ManagedClusterVersion_GetByEnvironment", + "title": "Get cluster version by environment" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ManagedClusterVersionGet_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ManagedClusterVersionGet_example.json new file mode 100644 index 000000000000..5346cdad5c31 --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ManagedClusterVersionGet_example.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "clusterVersion": "7.2.477.9590", + "location": "eastus", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "7.2.477.9590", + "type": "Microsoft.ServiceFabric/locations/environments/managedClusterVersions", + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/environments/Windows/managedClusterVersions/7.2.477.9590", + "properties": { + "clusterCodeVersion": "7.2.477.9590", + "osType": "Windows", + "supportExpiryUtc": "2021-11-30T00:00:00" + } + }, + "headers": {} + } + }, + "operationId": "ManagedClusterVersion_Get", + "title": "Get cluster version" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ManagedClusterVersionListByEnvironment.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ManagedClusterVersionListByEnvironment.json new file mode 100644 index 000000000000..d1ad341ab771 --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ManagedClusterVersionListByEnvironment.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "environment": "Windows", + "location": "eastus", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": [ + { + "name": "7.2.457.9590", + "type": "Microsoft.ServiceFabric/locations/environments/managedClusterVersions", + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/environments/Windows/managedClusterVersions/7.2.457.9590", + "properties": { + "clusterCodeVersion": "7.2.457.9590", + "osType": "Windows", + "supportExpiryUtc": "2021-11-30T00:00:00" + } + }, + { + "name": "7.2.477.9590", + "type": "Microsoft.ServiceFabric/locations/environments/managedClusterVersions", + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/environments/Windows/managedClusterVersions/7.2.477.9590", + "properties": { + "clusterCodeVersion": "7.2.477.9590", + "osType": "Windows", + "supportExpiryUtc": "2021-11-30T00:00:00" + } + } + ], + "headers": {} + } + }, + "operationId": "ManagedClusterVersion_ListByEnvironment", + "title": "List cluster versions by environment" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ManagedClusterVersionList_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ManagedClusterVersionList_example.json new file mode 100644 index 000000000000..e5cb57b046f4 --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ManagedClusterVersionList_example.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "location": "eastus", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": [ + { + "name": "7.2.457.9590", + "type": "Microsoft.ServiceFabric/locations/environments/managedClusterVersions", + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/environments/Windows/managedClusterVersions/7.2.457.9590", + "properties": { + "clusterCodeVersion": "7.2.457.9590", + "osType": "Windows", + "supportExpiryUtc": "2021-11-30T00:00:00" + } + }, + { + "name": "7.2.477.9590", + "type": "Microsoft.ServiceFabric/locations/environments/managedClusterVersions", + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/environments/Windows/managedClusterVersions/7.2.477.9590", + "properties": { + "clusterCodeVersion": "7.2.477.9590", + "osType": "Windows", + "supportExpiryUtc": "2021-11-30T00:00:00" + } + } + ], + "headers": {} + } + }, + "operationId": "ManagedClusterVersion_List", + "title": "List cluster versions" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ManagedMaintenanceWindowStatusGet_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ManagedMaintenanceWindowStatusGet_example.json new file mode 100644 index 000000000000..e4aad758db7c --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ManagedMaintenanceWindowStatusGet_example.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "clusterName": "mycluster1", + "resourceGroupName": "resourceGroup1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "canApplyUpdates": true, + "isRegionReady": true, + "isWindowActive": true, + "isWindowEnabled": false, + "lastWindowEndTimeUTC": "2023-04-30T00:00:00", + "lastWindowStartTimeUTC": "2023-04-30T00:00:00", + "lastWindowStatusUpdateAtUTC": "2023-04-30T00:00:00" + }, + "headers": {} + } + }, + "operationId": "managedMaintenanceWindowStatus_Get", + "title": "Get Maintenance Window Status" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/NodeTypeDeleteOperation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/NodeTypeDeleteOperation_example.json new file mode 100644 index 000000000000..e20cb1d59b55 --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/NodeTypeDeleteOperation_example.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "clusterName": "myCluster", + "nodeTypeName": "BE", + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview" + } + }, + "204": {} + }, + "operationId": "NodeTypes_Delete", + "title": "Delete a node type" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/NodeTypeGetOperation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/NodeTypeGetOperation_example.json new file mode 100644 index 000000000000..38d056b60065 --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/NodeTypeGetOperation_example.json @@ -0,0 +1,49 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "clusterName": "myCluster", + "nodeTypeName": "FE", + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "FE", + "type": "Microsoft.ServiceFabric/managedClusters/nodeTypes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedClusters/myCluster/nodeTypes/FE", + "properties": { + "capacities": {}, + "dataDiskSizeGB": 100, + "dataDiskType": "StandardSSD_LRS", + "isPrimary": true, + "isStateless": false, + "placementProperties": {}, + "vmImageOffer": "WindowsServer", + "vmImagePublisher": "MicrosoftWindowsServer", + "vmImageSku": "2016-Datacenter", + "vmImageVersion": "latest", + "vmInstanceCount": 5, + "vmSecrets": [ + { + "sourceVault": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.KeyVault/vaults/myVault" + }, + "vaultCertificates": [ + { + "certificateStore": "My", + "certificateUrl": "https://myVault.vault.azure.net:443/secrets/myCert/ef1a31d39e1f46bca33def54b6cda54c" + } + ] + } + ], + "vmSize": "Standard_D2" + }, + "tags": {} + }, + "headers": {} + } + }, + "operationId": "NodeTypes_Get", + "title": "Get a node type" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/NodeTypeListOperation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/NodeTypeListOperation_example.json new file mode 100644 index 000000000000..678c2b903359 --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/NodeTypeListOperation_example.json @@ -0,0 +1,95 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "clusterName": "myCluster", + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "nextLink": "http://examplelink.com", + "value": [ + { + "name": "FE", + "type": "Microsoft.ServiceFabric/managedClusters/nodeTypes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedClusters/myCluster/nodeTypes/FE", + "properties": { + "capacities": {}, + "dataDiskSizeGB": 100, + "dataDiskType": "StandardSSD_LRS", + "isPrimary": true, + "isStateless": false, + "placementProperties": {}, + "vmImageOffer": "WindowsServer", + "vmImagePublisher": "MicrosoftWindowsServer", + "vmImageSku": "2016-Datacenter", + "vmImageVersion": "latest", + "vmInstanceCount": 5, + "vmSize": "Standard_D2" + }, + "sku": { + "name": "Standard_P0", + "capacity": 5, + "tier": "Standard" + }, + "tags": {} + }, + { + "name": "BE", + "type": "Microsoft.ServiceFabric/managedClusters/nodeTypes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedClusters/myCluster/nodeTypes/BE", + "properties": { + "capacities": {}, + "dataDiskSizeGB": 200, + "dataDiskType": "Premium_LRS", + "isPrimary": false, + "isStateless": false, + "placementProperties": {}, + "vmExtensions": [ + { + "name": "Microsoft.Azure.Geneva.GenevaMonitoring", + "properties": { + "type": "GenevaMonitoring", + "autoUpgradeMinorVersion": true, + "publisher": "Microsoft.Azure.Geneva", + "settings": {}, + "typeHandlerVersion": "2.0" + } + } + ], + "vmImageOffer": "WindowsServer", + "vmImagePublisher": "MicrosoftWindowsServer", + "vmImageSku": "2016-Datacenter-Server-Core", + "vmImageVersion": "latest", + "vmInstanceCount": 10, + "vmSecrets": [ + { + "sourceVault": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.KeyVault/vaults/myVault" + }, + "vaultCertificates": [ + { + "certificateStore": "My", + "certificateUrl": "https://myVault.vault.azure.net:443/secrets/myCert/ef1a31d39e1f46bca33def54b6cda54c" + } + ] + } + ], + "vmSize": "Standard_DS3" + }, + "sku": { + "name": "Standard_S0", + "capacity": 10, + "tier": "Standard" + }, + "tags": {} + } + ] + }, + "headers": {} + } + }, + "operationId": "NodeTypes_ListByManagedClusters", + "title": "List node type of the specified managed cluster" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/NodeTypePatchOperationAutoScale_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/NodeTypePatchOperationAutoScale_example.json new file mode 100644 index 000000000000..210eae5e92cb --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/NodeTypePatchOperationAutoScale_example.json @@ -0,0 +1,95 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "clusterName": "myCluster", + "nodeTypeName": "BE", + "parameters": { + "sku": { + "name": "Standard_S0", + "capacity": 10, + "tier": "Standard" + }, + "tags": { + "a": "b" + } + }, + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "BE", + "type": "Microsoft.ServiceFabric/managedClusters/nodeTypes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedClusters/myCluster/nodeTypes/BE", + "properties": { + "capacities": { + "ClientConnections": "65536" + }, + "dataDiskSizeGB": 200, + "dataDiskType": "StandardSSD_LRS", + "isPrimary": false, + "isStateless": false, + "placementProperties": { + "HasSSD": "true", + "NodeColor": "green", + "SomeProperty": "5" + }, + "provisioningState": "Succeeded", + "vmExtensions": [ + { + "name": "Microsoft.Azure.Geneva.GenevaMonitoring", + "properties": { + "type": "GenevaMonitoring", + "autoUpgradeMinorVersion": true, + "publisher": "Microsoft.Azure.Geneva", + "settings": {}, + "typeHandlerVersion": "2.0" + } + } + ], + "vmImageOffer": "WindowsServer", + "vmImagePublisher": "MicrosoftWindowsServer", + "vmImageSku": "2016-Datacenter-Server-Core", + "vmImageVersion": "latest", + "vmInstanceCount": 10, + "vmManagedIdentity": { + "userAssignedIdentities": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myIdentity" + ] + }, + "vmSecrets": [ + { + "sourceVault": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.KeyVault/vaults/myVault" + }, + "vaultCertificates": [ + { + "certificateStore": "My", + "certificateUrl": "https://myVault.vault.azure.net:443/secrets/myCert/ef1a31d39e1f46bca33def54b6cda54c" + } + ] + } + ], + "vmSize": "Standard_D3" + }, + "sku": { + "name": "Standard_S0", + "capacity": 10, + "tier": "Standard" + }, + "tags": { + "a": "b" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview", + "Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview" + } + } + }, + "operationId": "NodeTypes_Update", + "title": "Patch a node type while auto-scaling" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/NodeTypePatchOperation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/NodeTypePatchOperation_example.json new file mode 100644 index 000000000000..89c172ab1606 --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/NodeTypePatchOperation_example.json @@ -0,0 +1,85 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "clusterName": "myCluster", + "nodeTypeName": "BE", + "parameters": { + "tags": { + "a": "b" + } + }, + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "BE", + "type": "Microsoft.ServiceFabric/managedClusters/nodeTypes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedClusters/myCluster/nodeTypes/BE", + "properties": { + "capacities": { + "ClientConnections": "65536" + }, + "dataDiskSizeGB": 200, + "dataDiskType": "StandardSSD_LRS", + "isPrimary": false, + "isStateless": false, + "placementProperties": { + "HasSSD": "true", + "NodeColor": "green", + "SomeProperty": "5" + }, + "provisioningState": "Succeeded", + "vmExtensions": [ + { + "name": "Microsoft.Azure.Geneva.GenevaMonitoring", + "properties": { + "type": "GenevaMonitoring", + "autoUpgradeMinorVersion": true, + "publisher": "Microsoft.Azure.Geneva", + "settings": {}, + "typeHandlerVersion": "2.0" + } + } + ], + "vmImageOffer": "WindowsServer", + "vmImagePublisher": "MicrosoftWindowsServer", + "vmImageSku": "2016-Datacenter-Server-Core", + "vmImageVersion": "latest", + "vmInstanceCount": 10, + "vmManagedIdentity": { + "userAssignedIdentities": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myIdentity" + ] + }, + "vmSecrets": [ + { + "sourceVault": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.KeyVault/vaults/myVault" + }, + "vaultCertificates": [ + { + "certificateStore": "My", + "certificateUrl": "https://myVault.vault.azure.net:443/secrets/myCert/ef1a31d39e1f46bca33def54b6cda54c" + } + ] + } + ], + "vmSize": "Standard_D3" + }, + "tags": { + "a": "b" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview", + "Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview" + } + } + }, + "operationId": "NodeTypes_Update", + "title": "Patch a node type" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/NodeTypePutOperationAutoScale_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/NodeTypePutOperationAutoScale_example.json new file mode 100644 index 000000000000..055c8ab30281 --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/NodeTypePutOperationAutoScale_example.json @@ -0,0 +1,203 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "clusterName": "myCluster", + "nodeTypeName": "BE", + "parameters": { + "properties": { + "capacities": { + "ClientConnections": "65536" + }, + "dataDiskSizeGB": 200, + "dataDiskType": "Premium_LRS", + "isPrimary": false, + "isStateless": true, + "multiplePlacementGroups": true, + "placementProperties": { + "HasSSD": "true", + "NodeColor": "green", + "SomeProperty": "5" + }, + "vmExtensions": [ + { + "name": "Microsoft.Azure.Geneva.GenevaMonitoring", + "properties": { + "type": "GenevaMonitoring", + "autoUpgradeMinorVersion": true, + "publisher": "Microsoft.Azure.Geneva", + "settings": {}, + "typeHandlerVersion": "2.0" + } + } + ], + "vmImageOffer": "WindowsServer", + "vmImagePublisher": "MicrosoftWindowsServer", + "vmImageSku": "2016-Datacenter-Server-Core", + "vmImageVersion": "latest", + "vmInstanceCount": -1, + "vmManagedIdentity": { + "userAssignedIdentities": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myIdentity", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myIdentity2" + ] + }, + "vmSecrets": [ + { + "sourceVault": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.KeyVault/vaults/myVault" + }, + "vaultCertificates": [ + { + "certificateStore": "My", + "certificateUrl": "https://myVault.vault.azure.net:443/secrets/myCert/ef1a31d39e1f46bca33def54b6cda54c" + } + ] + } + ], + "vmSize": "Standard_DS3" + } + }, + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "BE", + "type": "Microsoft.ServiceFabric/managedClusters/nodeTypes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedClusters/myCluster/nodeTypes/BE", + "properties": { + "capacities": { + "ClientConnections": "65536" + }, + "dataDiskSizeGB": 200, + "dataDiskType": "Premium_LRS", + "isPrimary": false, + "isStateless": true, + "multiplePlacementGroups": true, + "placementProperties": { + "HasSSD": "true", + "NodeColor": "green", + "SomeProperty": "5" + }, + "provisioningState": "Creating", + "vmExtensions": [ + { + "name": "Microsoft.Azure.Geneva.GenevaMonitoring", + "properties": { + "type": "GenevaMonitoring", + "autoUpgradeMinorVersion": true, + "forceUpdateTag": "v.1.0", + "publisher": "Microsoft.Azure.Geneva", + "settings": {}, + "typeHandlerVersion": "2.0" + } + } + ], + "vmImageOffer": "WindowsServer", + "vmImagePublisher": "MicrosoftWindowsServer", + "vmImageSku": "2016-Datacenter-Server-Core", + "vmImageVersion": "latest", + "vmInstanceCount": 10, + "vmManagedIdentity": { + "userAssignedIdentities": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myIdentity", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myIdentity2" + ] + }, + "vmSecrets": [ + { + "sourceVault": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.KeyVault/vaults/myVault" + }, + "vaultCertificates": [ + { + "certificateStore": "My", + "certificateUrl": "https://myVault.vault.azure.net:443/secrets/myCert/ef1a31d39e1f46bca33def54b6cda54c" + } + ] + } + ], + "vmSize": "Standard_DS3" + }, + "sku": { + "name": "Standard_S2", + "capacity": 10, + "tier": "Standard" + }, + "tags": {} + }, + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview", + "Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview" + } + }, + "202": { + "body": { + "name": "BE", + "type": "Microsoft.ServiceFabric/managedClusters/nodeTypes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedClusters/myCluster/nodeTypes/BE", + "properties": { + "capacities": { + "ClientConnections": "65536" + }, + "dataDiskSizeGB": 200, + "dataDiskType": "Premium_LRS", + "isPrimary": false, + "isStateless": true, + "multiplePlacementGroups": true, + "placementProperties": { + "HasSSD": "true", + "NodeColor": "green", + "SomeProperty": "5" + }, + "provisioningState": "Updating", + "vmExtensions": [ + { + "name": "Microsoft.Azure.Geneva.GenevaMonitoring", + "properties": { + "type": "GenevaMonitoring", + "autoUpgradeMinorVersion": true, + "forceUpdateTag": "v.1.0", + "publisher": "Microsoft.Azure.Geneva", + "settings": {}, + "typeHandlerVersion": "2.0" + } + } + ], + "vmImageOffer": "WindowsServer", + "vmImagePublisher": "MicrosoftWindowsServer", + "vmImageSku": "2016-Datacenter-Server-Core", + "vmImageVersion": "latest", + "vmInstanceCount": 10, + "vmSecrets": [ + { + "sourceVault": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.KeyVault/vaults/myVault" + }, + "vaultCertificates": [ + { + "certificateStore": "My", + "certificateUrl": "https://myVault.vault.azure.net:443/secrets/myCert/ef1a31d39e1f46bca33def54b6cda54c" + } + ] + } + ], + "vmSize": "Standard_DS3" + }, + "sku": { + "name": "Standard_S2", + "capacity": 10, + "tier": "Standard" + }, + "tags": {} + }, + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview", + "Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview" + } + } + }, + "operationId": "NodeTypes_CreateOrUpdate", + "title": "Put a node type with auto-scale parameters" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/NodeTypePutOperationCustomImage_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/NodeTypePutOperationCustomImage_example.json new file mode 100644 index 000000000000..a059ef16b660 --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/NodeTypePutOperationCustomImage_example.json @@ -0,0 +1,70 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "clusterName": "myCluster", + "nodeTypeName": "BE", + "parameters": { + "properties": { + "dataDiskSizeGB": 200, + "isPrimary": false, + "vmImageResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-custom-image/providers/Microsoft.Compute/galleries/myCustomImages/images/Win2019DC", + "vmInstanceCount": 10, + "vmSize": "Standard_D3" + } + }, + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "BE", + "type": "Microsoft.ServiceFabric/managedClusters/nodeTypes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedClusters/myCluster/nodeTypes/BE", + "properties": { + "capacities": {}, + "dataDiskSizeGB": 200, + "dataDiskType": "StandardSSD_LRS", + "isPrimary": false, + "isStateless": false, + "placementProperties": {}, + "provisioningState": "Creating", + "vmImageResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-custom-image/providers/Microsoft.Compute/galleries/myCustomImages/images/Win2019DC", + "vmInstanceCount": 10, + "vmSize": "Standard_D3" + }, + "tags": {} + }, + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview", + "Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview" + } + }, + "202": { + "body": { + "name": "BE", + "type": "Microsoft.ServiceFabric/managedClusters/nodeTypes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedClusters/myCluster/nodeTypes/BE", + "properties": { + "capacities": {}, + "dataDiskSizeGB": 200, + "dataDiskType": "StandardSSD_LRS", + "isPrimary": false, + "isStateless": false, + "placementProperties": {}, + "provisioningState": "Updating", + "vmImageResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-custom-image/providers/Microsoft.Compute/galleries/myCustomImages/images/Win2019DC", + "vmInstanceCount": 10, + "vmSize": "Standard_D3" + }, + "tags": {} + }, + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview", + "Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview" + } + } + }, + "operationId": "NodeTypes_CreateOrUpdate", + "title": "Put node type with custom vm image" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/NodeTypePutOperationCustomSharedGalleriesImage_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/NodeTypePutOperationCustomSharedGalleriesImage_example.json new file mode 100644 index 000000000000..73253d9196cc --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/NodeTypePutOperationCustomSharedGalleriesImage_example.json @@ -0,0 +1,70 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "clusterName": "myCluster", + "nodeTypeName": "BE", + "parameters": { + "properties": { + "dataDiskSizeGB": 200, + "isPrimary": false, + "vmInstanceCount": 10, + "vmSharedGalleryImageId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-custom-image/providers/Microsoft.Compute/sharedGalleries/35349201-a0b3-405e-8a23-9f1450984307-SFSHAREDGALLERY/images/TestNoProdContainerDImage/versions/latest", + "vmSize": "Standard_D3" + } + }, + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "BE", + "type": "Microsoft.ServiceFabric/managedClusters/nodeTypes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedClusters/myCluster/nodeTypes/BE", + "properties": { + "capacities": {}, + "dataDiskSizeGB": 200, + "dataDiskType": "StandardSSD_LRS", + "isPrimary": false, + "isStateless": false, + "placementProperties": {}, + "provisioningState": "Creating", + "vmInstanceCount": 10, + "vmSharedGalleryImageId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-custom-image/providers/Microsoft.Compute/sharedGalleries/35349201-a0b3-405e-8a23-9f1450984307-SFSHAREDGALLERY/images/TestNoProdContainerDImage/versions/latest", + "vmSize": "Standard_D3" + }, + "tags": {} + }, + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview", + "Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview" + } + }, + "202": { + "body": { + "name": "BE", + "type": "Microsoft.ServiceFabric/managedClusters/nodeTypes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedClusters/myCluster/nodeTypes/BE", + "properties": { + "capacities": {}, + "dataDiskSizeGB": 200, + "dataDiskType": "StandardSSD_LRS", + "isPrimary": false, + "isStateless": false, + "placementProperties": {}, + "provisioningState": "Updating", + "vmInstanceCount": 10, + "vmSharedGalleryImageId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-custom-image/providers/Microsoft.Compute/sharedGalleries/35349201-a0b3-405e-8a23-9f1450984307-SFSHAREDGALLERY/images/TestNoProdContainerDImage/versions/latest", + "vmSize": "Standard_D3" + }, + "tags": {} + }, + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview", + "Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview" + } + } + }, + "operationId": "NodeTypes_CreateOrUpdate", + "title": "Put node type with shared galleries custom vm image" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/NodeTypePutOperationDedicatedHost_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/NodeTypePutOperationDedicatedHost_example.json new file mode 100644 index 000000000000..d14a4604d4f3 --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/NodeTypePutOperationDedicatedHost_example.json @@ -0,0 +1,94 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "clusterName": "myCluster", + "nodeTypeName": "BE", + "parameters": { + "properties": { + "capacities": {}, + "dataDiskSizeGB": 200, + "dataDiskType": "StandardSSD_LRS", + "hostGroupId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testhostgroupRG/providers/Microsoft.Compute/hostGroups/testHostGroup", + "isPrimary": false, + "placementProperties": {}, + "vmImageOffer": "WindowsServer", + "vmImagePublisher": "MicrosoftWindowsServer", + "vmImageSku": "2019-Datacenter", + "vmImageVersion": "latest", + "vmInstanceCount": 10, + "vmSize": "Standard_D8s_v3", + "zones": [ + "1" + ] + } + }, + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "BE", + "type": "Microsoft.ServiceFabric/managedClusters/nodeTypes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedClusters/myCluster/nodeTypes/BE", + "properties": { + "capacities": {}, + "dataDiskSizeGB": 200, + "dataDiskType": "StandardSSD_LRS", + "hostGroupId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testhostgroupRG/providers/Microsoft.Compute/hostGroups/testHostGroup", + "isPrimary": false, + "isStateless": false, + "placementProperties": {}, + "provisioningState": "Creating", + "vmImageOffer": "WindowsServer", + "vmImagePublisher": "MicrosoftWindowsServer", + "vmImageSku": "2019-Datacenter", + "vmImageVersion": "latest", + "vmInstanceCount": 10, + "vmSize": "Standard_D8s_v3", + "zones": [ + "1" + ] + }, + "tags": {} + }, + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview", + "Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview" + } + }, + "202": { + "body": { + "name": "BE", + "type": "Microsoft.ServiceFabric/managedClusters/nodeTypes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedClusters/myCluster/nodeTypes/BE", + "properties": { + "capacities": {}, + "dataDiskSizeGB": 200, + "dataDiskType": "StandardSSD_LRS", + "hostGroupId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testhostgroupRG/providers/Microsoft.Compute/hostGroups/testHostGroup", + "isPrimary": false, + "isStateless": false, + "placementProperties": {}, + "provisioningState": "Updating", + "vmImageOffer": "WindowsServer", + "vmImagePublisher": "MicrosoftWindowsServer", + "vmImageSku": "2019-Datacenter", + "vmImageVersion": "latest", + "vmInstanceCount": 10, + "vmSize": "Standard_D8s_v3", + "zones": [ + "1" + ] + }, + "tags": {} + }, + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview", + "Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview" + } + } + }, + "operationId": "NodeTypes_CreateOrUpdate", + "title": "Put node type with dedicated hosts" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/NodeTypePutOperationStateless_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/NodeTypePutOperationStateless_example.json new file mode 100644 index 000000000000..d9f3d59ef7c4 --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/NodeTypePutOperationStateless_example.json @@ -0,0 +1,116 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "clusterName": "myCluster", + "nodeTypeName": "BE", + "parameters": { + "properties": { + "enableEncryptionAtHost": true, + "isPrimary": false, + "isStateless": true, + "multiplePlacementGroups": true, + "useTempDataDisk": true, + "vmExtensions": [ + { + "name": "Microsoft.Azure.Geneva.GenevaMonitoring", + "properties": { + "type": "GenevaMonitoring", + "autoUpgradeMinorVersion": true, + "publisher": "Microsoft.Azure.Geneva", + "settings": {}, + "typeHandlerVersion": "2.0" + } + } + ], + "vmImageOffer": "WindowsServer", + "vmImagePublisher": "MicrosoftWindowsServer", + "vmImageSku": "2016-Datacenter-Server-Core", + "vmImageVersion": "latest", + "vmInstanceCount": 10, + "vmSize": "Standard_DS3" + } + }, + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "BE", + "type": "Microsoft.ServiceFabric/managedClusters/nodeTypes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedClusters/myCluster/nodeTypes/BE", + "properties": { + "enableEncryptionAtHost": true, + "isPrimary": false, + "isStateless": true, + "multiplePlacementGroups": true, + "provisioningState": "Creating", + "useTempDataDisk": true, + "vmExtensions": [ + { + "name": "Microsoft.Azure.Geneva.GenevaMonitoring", + "properties": { + "type": "GenevaMonitoring", + "autoUpgradeMinorVersion": true, + "publisher": "Microsoft.Azure.Geneva", + "settings": {}, + "typeHandlerVersion": "2.0" + } + } + ], + "vmImageOffer": "WindowsServer", + "vmImagePublisher": "MicrosoftWindowsServer", + "vmImageSku": "2016-Datacenter-Server-Core", + "vmImageVersion": "latest", + "vmInstanceCount": 10, + "vmSize": "Standard_DS3" + }, + "tags": {} + }, + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview", + "Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview" + } + }, + "202": { + "body": { + "name": "BE", + "type": "Microsoft.ServiceFabric/managedClusters/nodeTypes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedClusters/myCluster/nodeTypes/BE", + "properties": { + "enableEncryptionAtHost": true, + "isPrimary": false, + "isStateless": true, + "multiplePlacementGroups": true, + "provisioningState": "Updating", + "useTempDataDisk": true, + "vmExtensions": [ + { + "name": "Microsoft.Azure.Geneva.GenevaMonitoring", + "properties": { + "type": "GenevaMonitoring", + "autoUpgradeMinorVersion": true, + "publisher": "Microsoft.Azure.Geneva", + "settings": {}, + "typeHandlerVersion": "2.0" + } + } + ], + "vmImageOffer": "WindowsServer", + "vmImagePublisher": "MicrosoftWindowsServer", + "vmImageSku": "2016-Datacenter-Server-Core", + "vmImageVersion": "latest", + "vmInstanceCount": 10, + "vmSize": "Standard_DS3" + }, + "tags": {} + }, + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview", + "Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview" + } + } + }, + "operationId": "NodeTypes_CreateOrUpdate", + "title": "Put an stateless node type with temporary disk for service fabric" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/NodeTypePutOperationVmImagePlan_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/NodeTypePutOperationVmImagePlan_example.json new file mode 100644 index 000000000000..7940443f1c0d --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/NodeTypePutOperationVmImagePlan_example.json @@ -0,0 +1,94 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "clusterName": "myCluster", + "nodeTypeName": "BE", + "parameters": { + "properties": { + "dataDiskSizeGB": 200, + "isPrimary": false, + "vmImageOffer": "windows_2022_test", + "vmImagePlan": { + "name": "win_2022_test_20_10_gen2", + "product": "windows_2022_test", + "publisher": "testpublisher" + }, + "vmImagePublisher": "testpublisher", + "vmImageSku": "win_2022_test_20_10_gen2", + "vmImageVersion": "latest", + "vmInstanceCount": 10, + "vmSize": "Standard_D3" + } + }, + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "BE", + "type": "Microsoft.ServiceFabric/managedClusters/nodeTypes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedClusters/myCluster/nodeTypes/BE", + "properties": { + "capacities": {}, + "dataDiskSizeGB": 200, + "dataDiskType": "StandardSSD_LRS", + "isPrimary": false, + "isStateless": false, + "placementProperties": {}, + "provisioningState": "Creating", + "vmImageOffer": "windows_2022_test", + "vmImagePlan": { + "name": "win_2022_test_20_10_gen2", + "product": "windows_2022_test", + "publisher": "testpublisher" + }, + "vmImagePublisher": "testpublisher", + "vmImageSku": "win_2022_test_20_10_gen2", + "vmImageVersion": "latest", + "vmInstanceCount": 10, + "vmSize": "Standard_D3" + }, + "tags": {} + }, + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview", + "Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview" + } + }, + "202": { + "body": { + "name": "BE", + "type": "Microsoft.ServiceFabric/managedClusters/nodeTypes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedClusters/myCluster/nodeTypes/BE", + "properties": { + "capacities": {}, + "dataDiskSizeGB": 200, + "dataDiskType": "StandardSSD_LRS", + "isPrimary": false, + "isStateless": false, + "placementProperties": {}, + "provisioningState": "Updating", + "vmImageOffer": "windows_2022_test", + "vmImagePlan": { + "name": "win_2022_test_20_10_gen2", + "product": "windows_2022_test", + "publisher": "testpublisher" + }, + "vmImagePublisher": "testpublisher", + "vmImageSku": "win_2022_test_20_10_gen2", + "vmImageVersion": "latest", + "vmInstanceCount": 10, + "vmSize": "Standard_D3" + }, + "tags": {} + }, + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview", + "Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview" + } + } + }, + "operationId": "NodeTypes_CreateOrUpdate", + "title": "Put node type with vm image plan " +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/NodeTypePutOperation_example_max.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/NodeTypePutOperation_example_max.json new file mode 100644 index 000000000000..d2acf40d527b --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/NodeTypePutOperation_example_max.json @@ -0,0 +1,514 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "clusterName": "myCluster", + "nodeTypeName": "BE-testResourceGroup-testRegion-test", + "parameters": { + "properties": { + "additionalDataDisks": [ + { + "diskLetter": "F", + "diskSizeGB": 256, + "diskType": "StandardSSD_LRS", + "lun": 1 + }, + { + "diskLetter": "G", + "diskSizeGB": 150, + "diskType": "Premium_LRS", + "lun": 2 + } + ], + "additionalNetworkInterfaceConfigurations": [ + { + "name": "nic-1", + "dscpConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/dscpConfigurations/myDscpConfig" + }, + "enableAcceleratedNetworking": true, + "ipConfigurations": [ + { + "name": "ipconfig-1", + "applicationGatewayBackendAddressPools": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/applicationGateways/appgw-test/backendAddressPools/appgwBepoolTest" + } + ], + "loadBalancerBackendAddressPools": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/loadBalancers/test-LB/backendAddressPools/LoadBalancerBEAddressPool" + } + ], + "loadBalancerInboundNatPools": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/loadBalancers/test-LB/inboundNatPools/LoadBalancerNATPool" + } + ], + "privateIPAddressVersion": "IPv4", + "publicIPAddressConfiguration": { + "name": "publicip-1", + "ipTags": [ + { + "ipTagType": "RoutingPreference", + "tag": "Internet" + } + ], + "publicIPAddressVersion": "IPv4" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1" + } + } + ] + } + ], + "capacities": { + "ClientConnections": "65536" + }, + "computerNamePrefix": "BE", + "dataDiskLetter": "S", + "dataDiskSizeGB": 200, + "dataDiskType": "Premium_LRS", + "dscpConfigurationId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/dscpConfigurations/myDscpConfig", + "enableAcceleratedNetworking": true, + "enableEncryptionAtHost": true, + "enableNodePublicIP": true, + "enableNodePublicIPv6": true, + "enableOverProvisioning": false, + "evictionPolicy": "Deallocate", + "frontendConfigurations": [ + { + "applicationGatewayBackendAddressPoolId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/applicationGateways/appgw-test/backendAddressPools/appgwBepoolTest", + "loadBalancerBackendAddressPoolId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/loadBalancers/test-LB/backendAddressPools/LoadBalancerBEAddressPool", + "loadBalancerInboundNatPoolId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/loadBalancers/test-LB/inboundNatPools/LoadBalancerNATPool" + } + ], + "isPrimary": false, + "isSpotVM": true, + "isStateless": true, + "multiplePlacementGroups": true, + "natGatewayId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/natGateways/myNatGateway", + "placementProperties": { + "HasSSD": "true", + "NodeColor": "green", + "SomeProperty": "5" + }, + "secureBootEnabled": true, + "securityType": "ConfidentialVM", + "securityEncryptionType": "DiskWithVMGuestState", + "serviceArtifactReferenceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Compute/galleries/myGallery/serviceArtifacts/myServiceArtifact/vmArtifactsProfiles/myVmArtifactProfile", + "spotRestoreTimeout": "PT30M", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1", + "useDefaultPublicLoadBalancer": true, + "useEphemeralOSDisk": true, + "vmApplications": [ + { + "configurationReference": "https://mystorageaccount.blob.core.windows.net/containername/blobname", + "enableAutomaticUpgrade": true, + "order": 1, + "packageReferenceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Compute/galleries/myGallery/applications/myApplication/versions/1.0.0", + "treatFailureAsDeploymentFailure": false, + "vmGalleryTags": "{\"Tag1\":\"Value1\",\"Tag2\":\"Value2\"}" + } + ], + "vmExtensions": [ + { + "name": "Microsoft.Azure.Geneva.GenevaMonitoring", + "properties": { + "type": "GenevaMonitoring", + "autoUpgradeMinorVersion": true, + "enableAutomaticUpgrade": true, + "forceUpdateTag": "v.1.0", + "publisher": "Microsoft.Azure.Geneva", + "settings": {}, + "setupOrder": [ + "BeforeSFRuntime" + ], + "typeHandlerVersion": "2.0" + } + } + ], + "vmImageOffer": "WindowsServer", + "vmImagePublisher": "MicrosoftWindowsServer", + "vmImageSku": "2016-Datacenter-Server-Core", + "vmImageVersion": "latest", + "vmInstanceCount": 10, + "vmManagedIdentity": { + "userAssignedIdentities": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myIdentity", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myIdentity2" + ] + }, + "vmSecrets": [ + { + "sourceVault": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.KeyVault/vaults/myVault" + }, + "vaultCertificates": [ + { + "certificateStore": "My", + "certificateUrl": "https://myVault.vault.azure.net:443/secrets/myCert/ef1a31d39e1f46bca33def54b6cda54c" + } + ] + } + ], + "vmSetupActions": [ + "EnableContainers", + "EnableHyperV" + ], + "vmSize": "Standard_DS3", + "isOutboundOnly": true + } + }, + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "BE", + "type": "Microsoft.ServiceFabric/managedClusters/nodeTypes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedClusters/myCluster/nodeTypes/BE", + "properties": { + "additionalDataDisks": [ + { + "diskLetter": "F", + "diskSizeGB": 256, + "diskType": "StandardSSD_LRS", + "lun": 1 + }, + { + "diskLetter": "G", + "diskSizeGB": 150, + "diskType": "Premium_LRS", + "lun": 2 + } + ], + "additionalNetworkInterfaceConfigurations": [ + { + "name": "nic-1", + "dscpConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/dscpConfigurations/myDscpConfig" + }, + "enableAcceleratedNetworking": true, + "ipConfigurations": [ + { + "name": "ipconfig-1", + "applicationGatewayBackendAddressPools": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/applicationGateways/appgw-test/backendAddressPools/appgwBepoolTest" + } + ], + "loadBalancerBackendAddressPools": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/loadBalancers/test-LB/backendAddressPools/LoadBalancerBEAddressPool" + } + ], + "loadBalancerInboundNatPools": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/loadBalancers/test-LB/inboundNatPools/LoadBalancerNATPool" + } + ], + "privateIPAddressVersion": "IPv4", + "publicIPAddressConfiguration": { + "name": "publicip-1", + "ipTags": [ + { + "ipTagType": "RoutingPreference", + "tag": "Internet" + } + ], + "publicIPAddressVersion": "IPv4" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1" + } + } + ] + } + ], + "capacities": { + "ClientConnections": "65536" + }, + "dataDiskLetter": "S", + "dataDiskSizeGB": 200, + "dataDiskType": "Premium_LRS", + "dscpConfigurationId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/dscpConfigurations/myDscpConfig", + "enableAcceleratedNetworking": true, + "enableEncryptionAtHost": true, + "enableNodePublicIP": true, + "enableNodePublicIPv6": true, + "enableOverProvisioning": false, + "evictionPolicy": "Deallocate", + "frontendConfigurations": [ + { + "applicationGatewayBackendAddressPoolId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/applicationGateways/appgw-test/backendAddressPools/appgwBepoolTest", + "loadBalancerBackendAddressPoolId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/loadBalancers/test-LB/backendAddressPools/LoadBalancerBEAddressPool", + "loadBalancerInboundNatPoolId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/loadBalancers/test-LB/inboundNatPools/LoadBalancerNATPool" + } + ], + "isPrimary": false, + "isSpotVM": true, + "isStateless": true, + "multiplePlacementGroups": true, + "natGatewayId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/natGateways/myNatGateway", + "placementProperties": { + "HasSSD": "true", + "NodeColor": "green", + "SomeProperty": "5" + }, + "provisioningState": "Creating", + "secureBootEnabled": true, + "securityType": "ConfidentialVM", + "securityEncryptionType": "DiskWithVMGuestState", + "serviceArtifactReferenceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Compute/galleries/myGallery/serviceArtifacts/myServiceArtifact/vmArtifactsProfiles/myVmArtifactProfile", + "spotRestoreTimeout": "PT30M", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1", + "useDefaultPublicLoadBalancer": true, + "useEphemeralOSDisk": true, + "vmApplications": [ + { + "configurationReference": "https://mystorageaccount.blob.core.windows.net/containername/blobname", + "enableAutomaticUpgrade": true, + "order": 1, + "packageReferenceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Compute/galleries/myGallery/applications/myApplication/versions/1.0.0", + "treatFailureAsDeploymentFailure": false, + "vmGalleryTags": "{\"Tag1\":\"Value1\",\"Tag2\":\"Value2\"}" + } + ], + "vmExtensions": [ + { + "name": "Microsoft.Azure.Geneva.GenevaMonitoring", + "properties": { + "type": "GenevaMonitoring", + "autoUpgradeMinorVersion": true, + "enableAutomaticUpgrade": true, + "forceUpdateTag": "v.1.0", + "publisher": "Microsoft.Azure.Geneva", + "settings": {}, + "setupOrder": [ + "BeforeSFRuntime" + ], + "typeHandlerVersion": "2.0" + } + } + ], + "vmImageOffer": "WindowsServer", + "vmImagePublisher": "MicrosoftWindowsServer", + "vmImageSku": "2016-Datacenter-Server-Core", + "vmImageVersion": "latest", + "vmInstanceCount": 10, + "vmManagedIdentity": { + "userAssignedIdentities": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myIdentity", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myIdentity2" + ] + }, + "vmSecrets": [ + { + "sourceVault": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.KeyVault/vaults/myVault" + }, + "vaultCertificates": [ + { + "certificateStore": "My", + "certificateUrl": "https://myVault.vault.azure.net:443/secrets/myCert/ef1a31d39e1f46bca33def54b6cda54c" + } + ] + } + ], + "vmSetupActions": [ + "EnableContainers", + "EnableHyperV" + ], + "vmSize": "Standard_DS3", + "zones": [ + "1", + "2", + "3" + ], + "isOutboundOnly": true + }, + "tags": {} + }, + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview", + "Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview" + } + }, + "202": { + "body": { + "name": "BE", + "type": "Microsoft.ServiceFabric/managedClusters/nodeTypes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedClusters/myCluster/nodeTypes/BE", + "properties": { + "additionalDataDisks": [ + { + "diskLetter": "F", + "diskSizeGB": 256, + "diskType": "StandardSSD_LRS", + "lun": 1 + }, + { + "diskLetter": "G", + "diskSizeGB": 150, + "diskType": "Premium_LRS", + "lun": 2 + } + ], + "additionalNetworkInterfaceConfigurations": [ + { + "name": "nic-1", + "dscpConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/dscpConfigurations/myDscpConfig" + }, + "enableAcceleratedNetworking": true, + "ipConfigurations": [ + { + "name": "ipconfig-1", + "applicationGatewayBackendAddressPools": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/applicationGateways/appgw-test/backendAddressPools/appgwBepoolTest" + } + ], + "loadBalancerBackendAddressPools": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/loadBalancers/test-LB/backendAddressPools/LoadBalancerBEAddressPool" + } + ], + "loadBalancerInboundNatPools": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/loadBalancers/test-LB/inboundNatPools/LoadBalancerNATPool" + } + ], + "privateIPAddressVersion": "IPv4", + "publicIPAddressConfiguration": { + "name": "publicip-1", + "ipTags": [ + { + "ipTagType": "RoutingPreference", + "tag": "Internet" + } + ], + "publicIPAddressVersion": "IPv4" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1" + } + } + ] + } + ], + "capacities": { + "ClientConnections": "65536" + }, + "dataDiskLetter": "S", + "dataDiskSizeGB": 200, + "dataDiskType": "Premium_LRS", + "dscpConfigurationId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/dscpConfigurations/myDscpConfig", + "enableAcceleratedNetworking": true, + "enableEncryptionAtHost": true, + "enableNodePublicIP": true, + "enableNodePublicIPv6": true, + "enableOverProvisioning": false, + "evictionPolicy": "Deallocate", + "frontendConfigurations": [ + { + "applicationGatewayBackendAddressPoolId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/applicationGateways/appgw-test/backendAddressPools/appgwBepoolTest", + "loadBalancerBackendAddressPoolId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/loadBalancers/test-LB/backendAddressPools/LoadBalancerBEAddressPool", + "loadBalancerInboundNatPoolId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/loadBalancers/test-LB/inboundNatPools/LoadBalancerNATPool" + } + ], + "isPrimary": false, + "isSpotVM": true, + "isStateless": true, + "multiplePlacementGroups": true, + "natGatewayId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/natGateways/myNatGateway", + "placementProperties": { + "HasSSD": "true", + "NodeColor": "green", + "SomeProperty": "5" + }, + "provisioningState": "Updating", + "secureBootEnabled": true, + "securityType": "ConfidentialVM", + "securityEncryptionType": "DiskWithVMGuestState", + "serviceArtifactReferenceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Compute/galleries/myGallery/serviceArtifacts/myServiceArtifact/vmArtifactsProfiles/myVmArtifactProfile", + "spotRestoreTimeout": "PT30M", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1", + "useDefaultPublicLoadBalancer": true, + "useEphemeralOSDisk": true, + "vmApplications": [ + { + "configurationReference": "https://mystorageaccount.blob.core.windows.net/containername/blobname", + "enableAutomaticUpgrade": true, + "order": 1, + "packageReferenceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Compute/galleries/myGallery/applications/myApplication/versions/1.0.0", + "treatFailureAsDeploymentFailure": false, + "vmGalleryTags": "{\"Tag1\":\"Value1\",\"Tag2\":\"Value2\"}" + } + ], + "vmExtensions": [ + { + "name": "Microsoft.Azure.Geneva.GenevaMonitoring", + "properties": { + "type": "GenevaMonitoring", + "autoUpgradeMinorVersion": true, + "enableAutomaticUpgrade": true, + "forceUpdateTag": "v.1.0", + "publisher": "Microsoft.Azure.Geneva", + "settings": {}, + "setupOrder": [ + "BeforeSFRuntime" + ], + "typeHandlerVersion": "2.0" + } + } + ], + "vmImageOffer": "WindowsServer", + "vmImagePublisher": "MicrosoftWindowsServer", + "vmImageSku": "2016-Datacenter-Server-Core", + "vmImageVersion": "latest", + "vmInstanceCount": 10, + "vmManagedIdentity": { + "userAssignedIdentities": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myIdentity", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myIdentity2" + ] + }, + "vmSecrets": [ + { + "sourceVault": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.KeyVault/vaults/myVault" + }, + "vaultCertificates": [ + { + "certificateStore": "My", + "certificateUrl": "https://myVault.vault.azure.net:443/secrets/myCert/ef1a31d39e1f46bca33def54b6cda54c" + } + ] + } + ], + "vmSetupActions": [ + "EnableContainers", + "EnableHyperV" + ], + "vmSize": "Standard_DS3", + "zones": [ + "1", + "2", + "3" + ], + "isOutboundOnly": true + }, + "tags": {} + }, + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview", + "Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview" + } + } + }, + "operationId": "NodeTypes_CreateOrUpdate", + "title": "Put a node type with maximum parameters" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/NodeTypePutOperation_example_min.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/NodeTypePutOperation_example_min.json new file mode 100644 index 000000000000..82b3d13b0882 --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/NodeTypePutOperation_example_min.json @@ -0,0 +1,79 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "clusterName": "myCluster", + "nodeTypeName": "BE", + "parameters": { + "properties": { + "dataDiskSizeGB": 200, + "isPrimary": false, + "vmImageOffer": "WindowsServer", + "vmImagePublisher": "MicrosoftWindowsServer", + "vmImageSku": "2016-Datacenter-Server-Core", + "vmImageVersion": "latest", + "vmInstanceCount": 10, + "vmSize": "Standard_D3" + } + }, + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "BE", + "type": "Microsoft.ServiceFabric/managedClusters/nodeTypes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedClusters/myCluster/nodeTypes/BE", + "properties": { + "capacities": {}, + "dataDiskSizeGB": 200, + "dataDiskType": "StandardSSD_LRS", + "isPrimary": false, + "isStateless": false, + "placementProperties": {}, + "provisioningState": "Creating", + "vmImageOffer": "WindowsServer", + "vmImagePublisher": "MicrosoftWindowsServer", + "vmImageSku": "2016-Datacenter-Server-Core", + "vmImageVersion": "latest", + "vmInstanceCount": 10, + "vmSize": "Standard_D3" + }, + "tags": {} + }, + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview", + "Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview" + } + }, + "202": { + "body": { + "name": "BE", + "type": "Microsoft.ServiceFabric/managedClusters/nodeTypes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedClusters/myCluster/nodeTypes/BE", + "properties": { + "capacities": {}, + "dataDiskSizeGB": 200, + "dataDiskType": "StandardSSD_LRS", + "isPrimary": false, + "isStateless": false, + "placementProperties": {}, + "provisioningState": "Updating", + "vmImageOffer": "WindowsServer", + "vmImagePublisher": "MicrosoftWindowsServer", + "vmImageSku": "2016-Datacenter-Server-Core", + "vmImageVersion": "latest", + "vmInstanceCount": 10, + "vmSize": "Standard_D3" + }, + "tags": {} + }, + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview", + "Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview" + } + } + }, + "operationId": "NodeTypes_CreateOrUpdate", + "title": "Put a node type with minimum parameters" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/NodeTypeSkusListOperation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/NodeTypeSkusListOperation_example.json new file mode 100644 index 000000000000..8615af38d34b --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/NodeTypeSkusListOperation_example.json @@ -0,0 +1,73 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "clusterName": "myCluster", + "nodeTypeName": "BE", + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "nextLink": "http://examplelink.com", + "value": [ + { + "capacity": { + "default": 1, + "maximum": 100, + "minimum": 1, + "scaleType": "Automatic" + }, + "resourceType": "Microsoft.ServiceFabric/managedClusters/nodeTypes", + "sku": { + "name": "Standard_S0", + "tier": "Standard" + } + }, + { + "capacity": { + "default": 3, + "maximum": 300, + "minimum": 3, + "scaleType": "Automatic" + }, + "resourceType": "Microsoft.ServiceFabric/managedClusters/nodeTypes", + "sku": { + "name": "Standard_S1", + "tier": "Standard" + } + }, + { + "capacity": { + "default": 1, + "maximum": 1000, + "minimum": 1, + "scaleType": "Automatic" + }, + "resourceType": "Microsoft.ServiceFabric/managedClusters/nodeTypes", + "sku": { + "name": "Standard_S2", + "tier": "Standard" + } + }, + { + "capacity": { + "default": 3, + "maximum": 1000, + "minimum": 3, + "scaleType": "Automatic" + }, + "resourceType": "Microsoft.ServiceFabric/managedClusters/nodeTypes", + "sku": { + "name": "Standard_S3", + "tier": "Standard" + } + } + ] + }, + "headers": {} + } + }, + "operationId": "NodeTypeSkus_List", + "title": "List a node type SKUs" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/OperationResultsGet_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/OperationResultsGet_example.json new file mode 100644 index 000000000000..8432438d00f9 --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/OperationResultsGet_example.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "location": "eastus", + "api-version": "2025-10-01-preview", + "operationId": "00000000-0000-0000-0000-000000001234" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + }, + "operationId": "OperationResults_Get", + "title": "Get long running operation result" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/OperationStatusFailed_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/OperationStatusFailed_example.json new file mode 100644 index 000000000000..a3a3269b697f --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/OperationStatusFailed_example.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "location": "eastus", + "api-version": "2025-10-01-preview", + "operationId": "00000000-0000-0000-0000-000000001234" + }, + "responses": { + "200": { + "body": { + "name": "00000000-0000-0000-0000-000000001234", + "startTime": "2022-01-03T23:58:02.2501337Z", + "endTime": "2022-01-04T00:13:03.2790951Z", + "percentComplete": 100.0, + "status": "Failed", + "error": { + "code": "-2146233029", + "message": "A task was canceled." + } + } + } + }, + "operationId": "OperationStatus_Get", + "title": "Error response describing why the operation failed." +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/OperationStatusSucceeded_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/OperationStatusSucceeded_example.json new file mode 100644 index 000000000000..15e3c7cf1206 --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/OperationStatusSucceeded_example.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "location": "eastus", + "api-version": "2025-10-01-preview", + "operationId": "00000000-0000-0000-0000-000000001234" + }, + "responses": { + "200": { + "body": { + "name": "00000000-0000-0000-0000-000000001234", + "startTime": "2022-01-03T23:58:02.2501337Z", + "endTime": "2022-01-04T00:13:03.2790951Z", + "percentComplete": 100.0, + "status": "Succeeded" + } + } + }, + "operationId": "OperationStatus_Get", + "title": "OK. The request has succeeded." +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/OperationsList_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/OperationsList_example.json new file mode 100644 index 000000000000..a879b93a1036 --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/OperationsList_example.json @@ -0,0 +1,97 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.ServiceFabric/managedClusters/read", + "display": { + "provider": "Microsoft ServiceFabric", + "resource": "managedClusters", + "operation": "Read Cluster", + "description": "Read any Cluster" + } + }, + { + "name": "Microsoft.ServiceFabric/managedClusters/write", + "display": { + "provider": "Microsoft ServiceFabric", + "resource": "managedClusters", + "operation": "Create or Update Cluster", + "description": "Create or Update any Cluster" + } + }, + { + "name": "Microsoft.ServiceFabric/managedClusters/delete", + "display": { + "provider": "Microsoft ServiceFabric", + "resource": "managedClusters", + "operation": "Delete Cluster", + "description": "Delete any Cluster" + } + }, + { + "name": "Microsoft.ServiceFabric/nodeTypes/read", + "display": { + "provider": "Microsoft ServiceFabric", + "resource": "nodeTypes", + "operation": "Read Node type", + "description": "Read any Node type" + } + }, + { + "name": "Microsoft.ServiceFabric/nodeTypes/write", + "display": { + "provider": "Microsoft ServiceFabric", + "resource": "nodeTypes", + "operation": "Create or Update Node type", + "description": "Create or Update any Node type" + } + }, + { + "name": "Microsoft.ServiceFabric/nodeTypes/delete", + "display": { + "provider": "Microsoft ServiceFabric", + "resource": "nodeTypes", + "operation": "Delete Node type", + "description": "Delete any Node type" + } + }, + { + "name": "Microsoft.ServiceFabric/nodeTypes/restart/action", + "display": { + "provider": "Microsoft ServiceFabric", + "resource": "nodeTypes", + "operation": "Restart nodes from Node type", + "description": "Restart nodes from Node type" + } + }, + { + "name": "Microsoft.ServiceFabric/nodeTypes/reimage/action", + "display": { + "provider": "Microsoft ServiceFabric", + "resource": "nodeTypes", + "operation": "Reimage nodes from Node type", + "description": "Reimage nodes from Node type" + } + }, + { + "name": "Microsoft.ServiceFabric/nodeTypes/deleteNode/action", + "display": { + "provider": "Microsoft ServiceFabric", + "resource": "nodeTypes", + "operation": "Delete nodes from Node type", + "description": "Delete nodes from Node type" + } + } + ] + } + } + }, + "operationId": "Operations_List", + "title": "List the operations for the provider" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/RedeployNodes_UD_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/RedeployNodes_UD_example.json new file mode 100644 index 000000000000..8ce23514ef8b --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/RedeployNodes_UD_example.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "clusterName": "myCluster", + "nodeTypeName": "BE", + "parameters": { + "updateType": "ByUpgradeDomain" + }, + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview", + "Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview" + } + } + }, + "operationId": "NodeTypes_Redeploy", + "title": "Redeploy all nodes by upgrade domain" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/RedeployNodes_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/RedeployNodes_example.json new file mode 100644 index 000000000000..eab32dddcdb2 --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/RedeployNodes_example.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "clusterName": "myCluster", + "nodeTypeName": "BE", + "parameters": { + "nodes": [ + "BE_0", + "BE_1" + ] + }, + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview", + "Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview" + } + } + }, + "operationId": "NodeTypes_Redeploy", + "title": "Redeploy nodes" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ReimageNodes_UD_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ReimageNodes_UD_example.json new file mode 100644 index 000000000000..a5d1e53855f8 --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ReimageNodes_UD_example.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "clusterName": "myCluster", + "nodeTypeName": "BE", + "parameters": { + "updateType": "ByUpgradeDomain" + }, + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview", + "Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview" + } + } + }, + "operationId": "NodeTypes_Reimage", + "title": "Reimage all nodes by upgrade domain" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ReimageNodes_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ReimageNodes_example.json new file mode 100644 index 000000000000..56599534a115 --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ReimageNodes_example.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "clusterName": "myCluster", + "nodeTypeName": "BE", + "parameters": { + "nodes": [ + "BE_0", + "BE_3" + ] + }, + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview", + "Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview" + } + } + }, + "operationId": "NodeTypes_Reimage", + "title": "Reimage nodes" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/RestartNodes_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/RestartNodes_example.json new file mode 100644 index 000000000000..0b77708c74bf --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/RestartNodes_example.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "clusterName": "myCluster", + "nodeTypeName": "BE", + "parameters": { + "nodes": [ + "BE_0", + "BE_3" + ] + }, + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview", + "Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview" + } + } + }, + "operationId": "NodeTypes_Restart", + "title": "Restart nodes" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ServiceActionRestartReplica_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ServiceActionRestartReplica_example.json new file mode 100644 index 000000000000..3e933fe82d72 --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ServiceActionRestartReplica_example.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "serviceName": "myService", + "applicationName": "myApp", + "clusterName": "myCluster", + "parameters": { + "partitionId": "00000000-0000-0000-0000-000000000000", + "replicaIds": [ + 123456789012345678 + ], + "restartKind": "Simultaneous", + "forceRestart": false, + "timeout": 60 + }, + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview", + "Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview" + } + } + }, + "operationId": "Services_RestartReplica", + "title": "Restart replicas" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ServiceDeleteOperation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ServiceDeleteOperation_example.json new file mode 100644 index 000000000000..2154dd8d0349 --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ServiceDeleteOperation_example.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "applicationName": "myApp", + "clusterName": "myCluster", + "resourceGroupName": "resRg", + "serviceName": "myService", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview", + "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/9c2ce367-47ea-43de-b69e-c5a423da4557?api-version=2025-10-01-preview" + } + }, + "204": {} + }, + "operationId": "Services_Delete", + "title": "Delete a service" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ServiceGetOperation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ServiceGetOperation_example.json new file mode 100644 index 000000000000..9cd62da72e0b --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ServiceGetOperation_example.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "applicationName": "myApp", + "clusterName": "myCluster", + "resourceGroupName": "resRg", + "serviceName": "myService", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myService", + "type": "Microsoft.ServiceFabric/managedClusters/applications/services", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applications/myApp/services/myService", + "properties": { + "defaultMoveCost": "Medium", + "instanceCount": 5, + "partitionDescription": { + "partitionScheme": "Singleton" + }, + "placementConstraints": "NodeType==frontend", + "provisioningState": "Updating", + "serviceKind": "Stateless", + "serviceLoadMetrics": [ + { + "name": "metric1", + "weight": "Low" + } + ], + "servicePackageActivationMode": "SharedProcess", + "servicePlacementPolicies": [], + "serviceTypeName": "myServiceType" + } + }, + "headers": {} + } + }, + "operationId": "Services_Get", + "title": "Get a service" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ServiceListOperation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ServiceListOperation_example.json new file mode 100644 index 000000000000..850a3f1c9856 --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ServiceListOperation_example.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "applicationName": "myApp", + "clusterName": "myCluster", + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "nextLink": "http://examplelink.com", + "value": [ + { + "name": "myService", + "type": "Microsoft.ServiceFabric/managedClusters/applications/services", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applications/myApp/services/myService", + "properties": { + "instanceCount": 1, + "partitionDescription": { + "partitionScheme": "Singleton" + }, + "provisioningState": "Updating", + "serviceKind": "Stateless", + "serviceLoadMetrics": [ + { + "name": "metric1", + "weight": "Low" + } + ], + "servicePackageActivationMode": "SharedProcess", + "serviceTypeName": "myServiceType" + } + } + ] + }, + "headers": {} + } + }, + "operationId": "Services_ListByApplications", + "title": "Get a list of service resources" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ServicePatchOperation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ServicePatchOperation_example.json new file mode 100644 index 000000000000..a50bf470fed1 --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ServicePatchOperation_example.json @@ -0,0 +1,79 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "applicationName": "myApp", + "clusterName": "myCluster", + "parameters": { + "tags": { + "a": "b" + } + }, + "resourceGroupName": "resRg", + "serviceName": "myService", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myService", + "type": "Microsoft.ServiceFabric/managedClusters/applications/services", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applications/myApp/services/myService", + "properties": { + "correlationScheme": [ + { + "scheme": "AlignedAffinity", + "serviceName": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applications/myApp/services/myService1" + } + ], + "defaultMoveCost": "Medium", + "instanceCount": 5, + "minInstanceCount": 3, + "minInstancePercentage": 30, + "partitionDescription": { + "partitionScheme": "Singleton" + }, + "placementConstraints": "NodeType==frontend", + "provisioningState": "Succeeded", + "scalingPolicies": [ + { + "scalingMechanism": { + "kind": "ScalePartitionInstanceCount", + "maxInstanceCount": 9, + "minInstanceCount": 3, + "scaleIncrement": 2 + }, + "scalingTrigger": { + "kind": "AveragePartitionLoadTrigger", + "lowerLoadThreshold": 2, + "metricName": "metricName", + "scaleInterval": "00:01:00", + "upperLoadThreshold": 8 + } + } + ], + "serviceKind": "Stateless", + "serviceLoadMetrics": [ + { + "name": "metric1", + "defaultLoad": 3, + "weight": "Low" + } + ], + "servicePackageActivationMode": "SharedProcess", + "servicePlacementPolicies": [ + { + "type": "NonPartiallyPlaceService" + } + ], + "serviceTypeName": "myServiceType" + }, + "tags": { + "a": "b" + } + }, + "headers": {} + } + }, + "operationId": "Services_Update", + "title": "Patch a service" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ServicePutOperation_example_max.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ServicePutOperation_example_max.json new file mode 100644 index 000000000000..f18f1c26245f --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ServicePutOperation_example_max.json @@ -0,0 +1,194 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "applicationName": "myApp", + "clusterName": "myCluster", + "parameters": { + "location": "eastus", + "properties": { + "correlationScheme": [ + { + "scheme": "AlignedAffinity", + "serviceName": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applications/myApp/services/myService1" + } + ], + "defaultMoveCost": "Medium", + "instanceCount": 5, + "minInstanceCount": 3, + "minInstancePercentage": 30, + "partitionDescription": { + "partitionScheme": "Singleton" + }, + "placementConstraints": "NodeType==frontend", + "scalingPolicies": [ + { + "scalingMechanism": { + "kind": "ScalePartitionInstanceCount", + "maxInstanceCount": 9, + "minInstanceCount": 3, + "scaleIncrement": 2 + }, + "scalingTrigger": { + "kind": "AveragePartitionLoadTrigger", + "lowerLoadThreshold": 2, + "metricName": "metricName", + "scaleInterval": "00:01:00", + "upperLoadThreshold": 8 + } + } + ], + "serviceDnsName": "myservicednsname.myApp", + "serviceKind": "Stateless", + "serviceLoadMetrics": [ + { + "name": "metric1", + "defaultLoad": 3, + "weight": "Low" + } + ], + "servicePackageActivationMode": "SharedProcess", + "servicePlacementPolicies": [ + { + "type": "NonPartiallyPlaceService" + } + ], + "serviceTypeName": "myServiceType" + }, + "tags": { + "a": "b" + } + }, + "resourceGroupName": "resRg", + "serviceName": "myService", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myService", + "type": "Microsoft.ServiceFabric/managedClusters/applications/services", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applications/myApp/services/myService", + "properties": { + "correlationScheme": [ + { + "scheme": "AlignedAffinity", + "serviceName": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applications/myApp/services/myService1" + } + ], + "defaultMoveCost": "Medium", + "instanceCount": 5, + "minInstanceCount": 3, + "minInstancePercentage": 30, + "partitionDescription": { + "partitionScheme": "Singleton" + }, + "placementConstraints": "NodeType==frontend", + "provisioningState": "Creating", + "scalingPolicies": [ + { + "scalingMechanism": { + "kind": "ScalePartitionInstanceCount", + "maxInstanceCount": 9, + "minInstanceCount": 3, + "scaleIncrement": 2 + }, + "scalingTrigger": { + "kind": "AveragePartitionLoadTrigger", + "lowerLoadThreshold": 2, + "metricName": "metricName", + "scaleInterval": "00:01:00", + "upperLoadThreshold": 8 + } + } + ], + "serviceDnsName": "myservicednsname.myApp", + "serviceKind": "Stateless", + "serviceLoadMetrics": [ + { + "name": "metric1", + "defaultLoad": 3, + "weight": "Low" + } + ], + "servicePackageActivationMode": "SharedProcess", + "servicePlacementPolicies": [ + { + "type": "NonPartiallyPlaceService" + } + ], + "serviceTypeName": "myServiceType" + }, + "tags": { + "a": "b" + } + }, + "headers": {} + }, + "202": { + "body": { + "name": "myService", + "type": "Microsoft.ServiceFabric/managedClusters/applications/services", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applications/myApp/services/myService", + "properties": { + "correlationScheme": [ + { + "scheme": "AlignedAffinity", + "serviceName": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applications/myApp/services/myService1" + } + ], + "defaultMoveCost": "Medium", + "instanceCount": 5, + "minInstanceCount": 3, + "minInstancePercentage": 30, + "partitionDescription": { + "partitionScheme": "Singleton" + }, + "placementConstraints": "NodeType==frontend", + "provisioningState": "Updating", + "scalingPolicies": [ + { + "scalingMechanism": { + "kind": "ScalePartitionInstanceCount", + "maxInstanceCount": 9, + "minInstanceCount": 3, + "scaleIncrement": 2 + }, + "scalingTrigger": { + "kind": "AveragePartitionLoadTrigger", + "lowerLoadThreshold": 2, + "metricName": "metricName", + "scaleInterval": "00:01:00", + "upperLoadThreshold": 8 + } + } + ], + "serviceDnsName": "myservicednsname.myApp", + "serviceKind": "Stateless", + "serviceLoadMetrics": [ + { + "name": "metric1", + "defaultLoad": 3, + "weight": "Low" + } + ], + "servicePackageActivationMode": "SharedProcess", + "servicePlacementPolicies": [ + { + "type": "NonPartiallyPlaceService" + } + ], + "serviceTypeName": "myServiceType" + }, + "tags": { + "a": "b" + } + }, + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview", + "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/9c2ce367-47ea-43de-b69e-c5a423da4557?api-version=2025-10-01-preview" + } + } + }, + "operationId": "Services_CreateOrUpdate", + "title": "Put a service with maximum parameters" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ServicePutOperation_example_min.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ServicePutOperation_example_min.json new file mode 100644 index 000000000000..f9299e9da270 --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/ServicePutOperation_example_min.json @@ -0,0 +1,62 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "applicationName": "myApp", + "clusterName": "myCluster", + "parameters": { + "location": "eastus", + "properties": { + "instanceCount": 1, + "partitionDescription": { + "partitionScheme": "Singleton" + }, + "serviceKind": "Stateless", + "serviceTypeName": "myServiceType" + } + }, + "resourceGroupName": "resRg", + "serviceName": "myService", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myService", + "type": "Microsoft.ServiceFabric/managedClusters/applications/services", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applications/myApp/services/myService", + "properties": { + "instanceCount": 1, + "partitionDescription": { + "partitionScheme": "Singleton" + }, + "provisioningState": "Creating", + "serviceKind": "Stateless", + "serviceTypeName": "myServiceType" + } + }, + "headers": {} + }, + "202": { + "body": { + "name": "myService", + "type": "Microsoft.ServiceFabric/managedClusters/applications/services", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applications/myApp/services/myService", + "properties": { + "instanceCount": 1, + "partitionDescription": { + "partitionScheme": "Singleton" + }, + "provisioningState": "Updating", + "serviceKind": "Stateless", + "serviceTypeName": "myServiceType" + } + }, + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview", + "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/9c2ce367-47ea-43de-b69e-c5a423da4557?api-version=2025-10-01-preview" + } + } + }, + "operationId": "Services_CreateOrUpdate", + "title": "Put a service with minimum parameters" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/StartNodes_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/StartNodes_example.json new file mode 100644 index 000000000000..0d2a48bcda9e --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/StartNodes_example.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "clusterName": "myCluster", + "nodeTypeName": "BE", + "parameters": { + "nodes": [ + "BE_0", + "BE_1" + ] + }, + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview", + "Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview" + } + } + }, + "operationId": "NodeTypes_Start", + "title": "Start nodes" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/faultSimulation/ManagedClusterGetFaultSimulation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/faultSimulation/ManagedClusterGetFaultSimulation_example.json new file mode 100644 index 000000000000..d054c74babfa --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/faultSimulation/ManagedClusterGetFaultSimulation_example.json @@ -0,0 +1,45 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "clusterName": "myCluster", + "parameters": { + "simulationId": "aec13cc2-1d39-4ba6-a1a8-2fc35b00643c" + }, + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "endTime": "0001-01-01T00:00:00", + "simulationId": "aec13cc2-1d39-4ba6-a1a8-2fc35b00643c", + "startTime": "2024-11-21T18:11:11.3471742Z", + "status": "Active", + "details": { + "operationId": "00000000-0000-0000-0000-000000000000", + "clusterId": "dd65fb6d-753b-4664-8798-4f077d4a2e18", + "nodeTypeFaultSimulation": [ + { + "operationId": "714f0003-80d8-464a-a019-69e6bf89ed4c", + "nodeTypeName": "BE", + "operationStatus": "Succeeded", + "status": "Active" + } + ], + "parameters": { + "constraints": { + "expirationTime": "0001-01-01T00:00:00" + }, + "faultKind": "Zone", + "force": false, + "zones": [ + "2" + ] + } + } + } + } + }, + "operationId": "ManagedClusters_GetFaultSimulation", + "title": "Get Managed Cluster Fault Simulation" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/faultSimulation/ManagedClusterListFaultSimulation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/faultSimulation/ManagedClusterListFaultSimulation_example.json new file mode 100644 index 000000000000..f3a15ba24790 --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/faultSimulation/ManagedClusterListFaultSimulation_example.json @@ -0,0 +1,86 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "clusterName": "myCluster", + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "endTime": "0001-01-01T00:00:00", + "simulationId": "1bb61ba9-8a41-4d73-b5f0-7fc93b1edfe3", + "startTime": "2024-11-21T21:27:55.4452675Z", + "status": "Active", + "details": { + "operationId": "b7997d2f-1f07-4245-b197-137b196ecaf3", + "clusterId": "dd65fb6d-753b-4664-8798-4f077d4a2e18", + "nodeTypeFaultSimulation": [ + { + "operationId": "bff10003-af96-465c-b849-99c18e1f4af6", + "nodeTypeName": "BE", + "operationStatus": "Succeeded", + "status": "Active" + }, + { + "operationId": "6021d3c9-6def-4e9e-b133-d58ac1c3a4cc", + "nodeTypeName": "FE", + "operationStatus": "Succeeded", + "status": "Active" + } + ], + "parameters": { + "constraints": { + "expirationTime": "0001-01-01T00:00:00" + }, + "faultKind": "Zone", + "force": false, + "zones": [ + "3" + ] + } + } + }, + { + "endTime": "2024-11-21T21:24:13.082339Z", + "simulationId": "aec13cc2-1d39-4ba6-a1a8-2fc35b00643c", + "startTime": "2024-11-21T18:11:11.3471742Z", + "status": "Done", + "details": { + "operationId": "3e22a9a7-13c1-450b-af5e-2c739b963bdf", + "clusterId": "dd65fb6d-753b-4664-8798-4f077d4a2e18", + "nodeTypeFaultSimulation": [ + { + "operationId": "391d0003-0d46-474c-9839-cbc345938704", + "nodeTypeName": "BE", + "operationStatus": "Succeeded", + "status": "Done" + }, + { + "operationId": "cf4ac1d7-e588-491e-9e6f-ce15a17bf389", + "nodeTypeName": "FE", + "operationStatus": "Succeeded", + "status": "Done" + } + ], + "parameters": { + "constraints": { + "expirationTime": "0001-01-01T00:00:00" + }, + "faultKind": "Zone", + "force": false, + "zones": [ + "2" + ] + } + } + } + ] + } + } + }, + "operationId": "ManagedClusters_ListFaultSimulation", + "title": "List Managed Cluster Fault Simulation" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/faultSimulation/ManagedClusterStartFaultSimulation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/faultSimulation/ManagedClusterStartFaultSimulation_example.json new file mode 100644 index 000000000000..90448a0ca72a --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/faultSimulation/ManagedClusterStartFaultSimulation_example.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "clusterName": "myCluster", + "parameters": { + "parameters": { + "faultKind": "Zone", + "zones": [ + "2" + ] + } + }, + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview", + "Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview" + } + } + }, + "operationId": "ManagedClusters_StartFaultSimulation", + "title": "Start Managed Cluster Fault Simulation" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/faultSimulation/ManagedClusterStopFaultSimulation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/faultSimulation/ManagedClusterStopFaultSimulation_example.json new file mode 100644 index 000000000000..335645b17acc --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/faultSimulation/ManagedClusterStopFaultSimulation_example.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "clusterName": "myCluster", + "parameters": { + "simulationId": "1bb61ba9-8a41-4d73-b5f0-7fc93b1edfe3" + }, + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview", + "Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview" + } + } + }, + "operationId": "ManagedClusters_StopFaultSimulation", + "title": "Stop Managed Cluster Fault Simulation" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/faultSimulation/NodeTypeGetFaultSimulation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/faultSimulation/NodeTypeGetFaultSimulation_example.json new file mode 100644 index 000000000000..51811c8bb87b --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/faultSimulation/NodeTypeGetFaultSimulation_example.json @@ -0,0 +1,46 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "clusterName": "myCluster", + "nodeTypeName": "BE", + "parameters": { + "simulationId": "aec13cc2-1d39-4ba6-a1a8-2fc35b00643c" + }, + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "endTime": "0001-01-01T00:00:00", + "simulationId": "aec13cc2-1d39-4ba6-a1a8-2fc35b00643c", + "startTime": "2024-11-21T18:11:11.3471742Z", + "status": "Active", + "details": { + "operationId": "00000000-0000-0000-0000-000000000000", + "clusterId": "dd65fb6d-753b-4664-8798-4f077d4a2e18", + "nodeTypeFaultSimulation": [ + { + "operationId": "714f0003-80d8-464a-a019-69e6bf89ed4c", + "nodeTypeName": "BE", + "operationStatus": "Succeeded", + "status": "Active" + } + ], + "parameters": { + "constraints": { + "expirationTime": "0001-01-01T00:00:00" + }, + "faultKind": "Zone", + "force": false, + "zones": [ + "2" + ] + } + } + } + } + }, + "operationId": "NodeTypes_GetFaultSimulation", + "title": "Get Node Type Fault Simulation" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/faultSimulation/NodeTypeListFaultSimulation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/faultSimulation/NodeTypeListFaultSimulation_example.json new file mode 100644 index 000000000000..cb02572c9abc --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/faultSimulation/NodeTypeListFaultSimulation_example.json @@ -0,0 +1,75 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "clusterName": "myCluster", + "nodeTypeName": "BE", + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "endTime": "0001-01-01T00:00:00", + "simulationId": "1bb61ba9-8a41-4d73-b5f0-7fc93b1edfe3", + "startTime": "2024-11-21T21:27:55.4452675Z", + "status": "Active", + "details": { + "operationId": "00000000-0000-0000-0000-000000000000", + "clusterId": "dd65fb6d-753b-4664-8798-4f077d4a2e18", + "nodeTypeFaultSimulation": [ + { + "operationId": "bff10003-af96-465c-b849-99c18e1f4af6", + "nodeTypeName": "BE", + "operationStatus": "Succeeded", + "status": "Active" + } + ], + "parameters": { + "constraints": { + "expirationTime": "0001-01-01T00:00:00" + }, + "faultKind": "Zone", + "force": false, + "zones": [ + "3" + ] + } + } + }, + { + "endTime": "2024-11-21T21:24:13.082339Z", + "simulationId": "aec13cc2-1d39-4ba6-a1a8-2fc35b00643c", + "startTime": "2024-11-21T18:11:11.3471742Z", + "status": "Done", + "details": { + "operationId": "00000000-0000-0000-0000-000000000000", + "clusterId": "dd65fb6d-753b-4664-8798-4f077d4a2e18", + "nodeTypeFaultSimulation": [ + { + "operationId": "391d0003-0d46-474c-9839-cbc345938704", + "nodeTypeName": "BE", + "operationStatus": "Succeeded", + "status": "Done" + } + ], + "parameters": { + "constraints": { + "expirationTime": "0001-01-01T00:00:00" + }, + "faultKind": "Zone", + "force": false, + "zones": [ + "2" + ] + } + } + } + ] + } + } + }, + "operationId": "NodeTypes_ListFaultSimulation", + "title": "List Node Type Fault Simulation" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/faultSimulation/NodeTypeStartFaultSimulation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/faultSimulation/NodeTypeStartFaultSimulation_example.json new file mode 100644 index 000000000000..47db8ce308cb --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/faultSimulation/NodeTypeStartFaultSimulation_example.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "clusterName": "myCluster", + "nodeTypeName": "BE", + "parameters": { + "parameters": { + "faultKind": "Zone", + "zones": [ + "2" + ] + } + }, + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview", + "Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview" + } + } + }, + "operationId": "NodeTypes_StartFaultSimulation", + "title": "Start Node Type Fault Simulation" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/faultSimulation/NodeTypeStopFaultSimulation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/faultSimulation/NodeTypeStopFaultSimulation_example.json new file mode 100644 index 000000000000..d3f63143d9ef --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/faultSimulation/NodeTypeStopFaultSimulation_example.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "clusterName": "myCluster", + "nodeTypeName": "BE", + "parameters": { + "simulationId": "1bb61ba9-8a41-4d73-b5f0-7fc93b1edfe3" + }, + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview", + "Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview" + } + } + }, + "operationId": "NodeTypes_StopFaultSimulation", + "title": "Stop Node Type Fault Simulation" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/managedAzResiliencyStatusGet_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/managedAzResiliencyStatusGet_example.json new file mode 100644 index 000000000000..ccabe5de4609 --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/managedAzResiliencyStatusGet_example.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "clusterName": "mycluster1", + "resourceGroupName": "resourceGroup1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "baseResourceStatus": [ + { + "isZoneResilient": false, + "resourceName": "mycluster1storage", + "resourceType": "Microsoft.Storage/storageaccounts" + }, + { + "isZoneResilient": true, + "resourceName": "PublicIP-mycluster1", + "resourceType": "Microsoft.Network/publicIPAddress" + }, + { + "isZoneResilient": false, + "resourceName": "Primary", + "resourceType": "Microsoft.Compute/virtualmachinescalesets", + "details": "Status: InProgress, ZonalNodes: 3, RegionalNodes: 3" + } + ], + "isClusterZoneResilient": false + }, + "headers": {} + } + }, + "operationId": "managedAzResiliencyStatus_Get", + "title": "Az Resiliency status of Base Resources" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/managedUnsupportedVMSizesGet_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/managedUnsupportedVMSizesGet_example.json new file mode 100644 index 000000000000..030bc879176a --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/managedUnsupportedVMSizesGet_example.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "location": "eastus", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "vmSize": "Standard_B1ls1" + }, + "responses": { + "200": { + "body": { + "name": "Standard_B1ls1", + "type": "Microsoft.ServiceFabric/locations/managedVMSizes", + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedVMSizes/Standard_B1ls1", + "properties": { + "size": "Standard_B1ls1" + } + } + } + }, + "operationId": "managedUnsupportedVMSizes_Get", + "title": "Get unsupported vm sizes" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/managedUnsupportedVMSizesList_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/managedUnsupportedVMSizesList_example.json new file mode 100644 index 000000000000..b78313f1c6ef --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/examples/2025-10-01-preview/managedUnsupportedVMSizesList_example.json @@ -0,0 +1,177 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "location": "eastus", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Standard_B1ls1", + "type": "Microsoft.ServiceFabric/locations/managedVMSizes", + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedVMSizes/Standard_B1ls1", + "properties": { + "size": "Standard_B1ls1" + } + }, + { + "name": "Standard_B1s", + "type": "Microsoft.ServiceFabric/locations/managedVMSizes", + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedVMSizes/Standard_B1s", + "properties": { + "size": "Standard_B1s" + } + }, + { + "name": "Standard_B1ms", + "type": "Microsoft.ServiceFabric/locations/managedVMSizes", + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedVMSizes/Standard_B1ms", + "properties": { + "size": "Standard_B1ms" + } + }, + { + "name": "Standard_B2s", + "type": "Microsoft.ServiceFabric/locations/managedVMSizes", + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedVMSizes/Standard_B2s", + "properties": { + "size": "Standard_B2s" + } + }, + { + "name": "Standard_B2ms", + "type": "Microsoft.ServiceFabric/locations/managedVMSizes", + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedVMSizes/Standard_B2ms", + "properties": { + "size": "Standard_B2ms" + } + }, + { + "name": "Standard_B4ms", + "type": "Microsoft.ServiceFabric/locations/managedVMSizes", + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedVMSizes/Standard_B4ms", + "properties": { + "size": "Standard_B4ms" + } + }, + { + "name": "Standard_B8ms", + "type": "Microsoft.ServiceFabric/locations/managedVMSizes", + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedVMSizes/Standard_B8ms", + "properties": { + "size": "Standard_B8ms" + } + }, + { + "name": "Standard_A1_v2", + "type": "Microsoft.ServiceFabric/locations/managedVMSizes", + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedVMSizes/Standard_A1_v2", + "properties": { + "size": "Standard_A1_v2" + } + }, + { + "name": "Standard_A2_v2", + "type": "Microsoft.ServiceFabric/locations/managedVMSizes", + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedVMSizes/Standard_A2_v2", + "properties": { + "size": "Standard_A2_v2" + } + }, + { + "name": "Standard_A4_v2", + "type": "Microsoft.ServiceFabric/locations/managedVMSizes", + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedVMSizes/Standard_A4_v2", + "properties": { + "size": "Standard_A4_v2" + } + }, + { + "name": "Standard_A8_v2", + "type": "Microsoft.ServiceFabric/locations/managedVMSizes", + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedVMSizes/Standard_A8_v2", + "properties": { + "size": "Standard_A8_v2" + } + }, + { + "name": "Standard_A2m_v2", + "type": "Microsoft.ServiceFabric/locations/managedVMSizes", + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedVMSizes/Standard_A2m_v2", + "properties": { + "size": "Standard_A2m_v2" + } + }, + { + "name": "Standard_A4m_v2", + "type": "Microsoft.ServiceFabric/locations/managedVMSizes", + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedVMSizes/Standard_A4m_v2", + "properties": { + "size": "Standard_A4m_v2" + } + }, + { + "name": "Standard_A8m_v2", + "type": "Microsoft.ServiceFabric/locations/managedVMSizes", + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedVMSizes/Standard_A8m_v2", + "properties": { + "size": "Standard_A8m_v2" + } + }, + { + "name": "Basic_A0", + "type": "Microsoft.ServiceFabric/locations/managedVMSizes", + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedVMSizes/Basic_A0", + "properties": { + "size": "Basic_A0" + } + }, + { + "name": "Basic_A1", + "type": "Microsoft.ServiceFabric/locations/managedVMSizes", + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedVMSizes/Basic_A1", + "properties": { + "size": "Basic_A1" + } + }, + { + "name": "Basic_A2", + "type": "Microsoft.ServiceFabric/locations/managedVMSizes", + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedVMSizes/Basic_A2", + "properties": { + "size": "Basic_A2" + } + }, + { + "name": "Basic_A3", + "type": "Microsoft.ServiceFabric/locations/managedVMSizes", + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedVMSizes/Basic_A3", + "properties": { + "size": "Basic_A3" + } + }, + { + "name": "Basic_A4", + "type": "Microsoft.ServiceFabric/locations/managedVMSizes", + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedVMSizes/Basic_A4", + "properties": { + "size": "Basic_A4" + } + }, + { + "name": "Standard_A0", + "type": "Microsoft.ServiceFabric/locations/managedVMSizes", + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedVMSizes/Standard_A0", + "properties": { + "size": "Standard_A0" + } + } + ] + } + } + }, + "operationId": "managedUnsupportedVMSizes_List", + "title": "List unsupported vm sizes" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/main.tsp b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/main.tsp index ccc1a8b0c82e..1b7f99d8cfa5 100644 --- a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/main.tsp +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/main.tsp @@ -66,4 +66,7 @@ enum Versions { @armCommonTypesVersion(Azure.ResourceManager.CommonTypes.Versions.v3) v2025_06_01_preview: "2025-06-01-preview", + + @armCommonTypesVersion(Azure.ResourceManager.CommonTypes.Versions.v3) + v2025_10_01_preview: "2025-10-01-preview", } diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2024-11-01-preview/examples/ApplicationDeleteOperation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2024-11-01-preview/examples/ApplicationDeleteOperation_example.json index 98fb2d7c4fad..59be62a0bd52 100644 --- a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2024-11-01-preview/examples/ApplicationDeleteOperation_example.json +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2024-11-01-preview/examples/ApplicationDeleteOperation_example.json @@ -9,8 +9,8 @@ "responses": { "202": { "headers": { - "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/76053752-a423-4a80-b283-1dad1ba5f314?api-version=2024-11-01-preview", - "Retry-After": "10" + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2024-11-01-preview", + "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/9c2ce367-47ea-43de-b69e-c5a423da4557?api-version=2024-11-01-preview" } }, "204": {} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2024-11-01-preview/examples/ApplicationPatchOperation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2024-11-01-preview/examples/ApplicationPatchOperation_example.json index c0fb0fe5150c..beb3fc6737ad 100644 --- a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2024-11-01-preview/examples/ApplicationPatchOperation_example.json +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2024-11-01-preview/examples/ApplicationPatchOperation_example.json @@ -61,6 +61,59 @@ } }, "headers": {} + }, + "202": { + "body": { + "name": "myApp", + "type": "Microsoft.ServiceFabric/managedClusters/applications", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applications/myApp", + "location": "eastus", + "properties": { + "parameters": { + "param1": "value1" + }, + "provisioningState": "Succeeded", + "upgradePolicy": { + "applicationHealthPolicy": { + "considerWarningAsError": true, + "defaultServiceTypeHealthPolicy": { + "maxPercentUnhealthyPartitionsPerService": 0, + "maxPercentUnhealthyReplicasPerPartition": 0, + "maxPercentUnhealthyServices": 0 + }, + "maxPercentUnhealthyDeployedApplications": 0, + "serviceTypeHealthPolicyMap": { + "service1": { + "maxPercentUnhealthyPartitionsPerService": 30, + "maxPercentUnhealthyReplicasPerPartition": 30, + "maxPercentUnhealthyServices": 30 + } + } + }, + "forceRestart": false, + "instanceCloseDelayDuration": 600, + "recreateApplication": false, + "rollingUpgradeMonitoringPolicy": { + "failureAction": "Rollback", + "healthCheckRetryTimeout": "00:10:00", + "healthCheckStableDuration": "00:05:00", + "healthCheckWaitDuration": "00:02:00", + "upgradeDomainTimeout": "00:15:00", + "upgradeTimeout": "01:00:00" + }, + "upgradeMode": "UnmonitoredAuto", + "upgradeReplicaSetCheckTimeout": 3600 + }, + "version": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applicationTypes/myAppType/versions/1.0" + }, + "tags": { + "a": "b" + } + }, + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2024-11-01-preview", + "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/9c2ce367-47ea-43de-b69e-c5a423da4557?api-version=2024-11-01-preview" + } } }, "operationId": "Applications_Update", diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2024-11-01-preview/examples/ApplicationPutOperation_example_max.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2024-11-01-preview/examples/ApplicationPutOperation_example_max.json index 0ad9fdb3eaaf..8c39c35c7222 100644 --- a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2024-11-01-preview/examples/ApplicationPutOperation_example_max.json +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2024-11-01-preview/examples/ApplicationPutOperation_example_max.json @@ -148,8 +148,8 @@ } }, "headers": { - "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/9c2ce367-47ea-43de-b69e-c5a423da4557?api-version=2024-11-01-preview", - "Retry-After": "10" + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2024-11-01-preview", + "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/9c2ce367-47ea-43de-b69e-c5a423da4557?api-version=2024-11-01-preview" } } }, diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2024-11-01-preview/examples/ApplicationPutOperation_example_min.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2024-11-01-preview/examples/ApplicationPutOperation_example_min.json index 6ace75c0195b..ff4ee76304c9 100644 --- a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2024-11-01-preview/examples/ApplicationPutOperation_example_min.json +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2024-11-01-preview/examples/ApplicationPutOperation_example_min.json @@ -71,8 +71,8 @@ } }, "headers": { - "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/5dce62ce-439b-47af-81d8-99ab14708e91?api-version=2024-11-01-preview", - "Retry-After": "10" + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2024-11-01-preview", + "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/9c2ce367-47ea-43de-b69e-c5a423da4557?api-version=2024-11-01-preview" } } }, diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2024-11-01-preview/examples/ApplicationTypeNameDeleteOperation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2024-11-01-preview/examples/ApplicationTypeNameDeleteOperation_example.json index 93044deb68e6..ba8f5da29934 100644 --- a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2024-11-01-preview/examples/ApplicationTypeNameDeleteOperation_example.json +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2024-11-01-preview/examples/ApplicationTypeNameDeleteOperation_example.json @@ -9,8 +9,8 @@ "responses": { "202": { "headers": { - "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/6a367b2d-9f60-4941-b886-e348ddcb4127?api-version=2024-11-01-preview", - "Retry-After": "10" + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2024-11-01-preview", + "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/9c2ce367-47ea-43de-b69e-c5a423da4557?api-version=2024-11-01-preview" } }, "204": {} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2024-11-01-preview/examples/ApplicationTypeVersionDeleteOperation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2024-11-01-preview/examples/ApplicationTypeVersionDeleteOperation_example.json index ce319636c053..06edee19b1bb 100644 --- a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2024-11-01-preview/examples/ApplicationTypeVersionDeleteOperation_example.json +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2024-11-01-preview/examples/ApplicationTypeVersionDeleteOperation_example.json @@ -10,8 +10,8 @@ "responses": { "202": { "headers": { - "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/28e62369-ed8c-4aba-8c05-ab7d6238cc3d?api-version=2024-11-01-preview", - "Retry-After": "10" + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2024-11-01-preview", + "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/9c2ce367-47ea-43de-b69e-c5a423da4557?api-version=2024-11-01-preview" } }, "204": {} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2024-11-01-preview/examples/ApplicationTypeVersionPutOperation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2024-11-01-preview/examples/ApplicationTypeVersionPutOperation_example.json index 128080b4ec58..044d902763e2 100644 --- a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2024-11-01-preview/examples/ApplicationTypeVersionPutOperation_example.json +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2024-11-01-preview/examples/ApplicationTypeVersionPutOperation_example.json @@ -37,8 +37,8 @@ } }, "headers": { - "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/e2413c7e-d51b-40ac-8155-bc85bf8ae856?api-version=2024-11-01-preview", - "Retry-After": "10" + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2024-11-01-preview", + "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/9c2ce367-47ea-43de-b69e-c5a423da4557?api-version=2024-11-01-preview" } } }, diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2024-11-01-preview/examples/ManagedClusterPatchOperation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2024-11-01-preview/examples/ManagedClusterPatchOperation_example.json index 4a12ee474893..aa3ccfcc20f8 100644 --- a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2024-11-01-preview/examples/ManagedClusterPatchOperation_example.json +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2024-11-01-preview/examples/ManagedClusterPatchOperation_example.json @@ -104,6 +104,104 @@ "a": "b" } } + }, + "202": { + "body": { + "name": "myCluster", + "type": "Microsoft.ServiceFabric/managedClusters", + "etag": "W/\"636462502169240745\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedClusters/myCluster", + "location": "eastus", + "properties": { + "addonFeatures": [ + "DnsService", + "BackupRestoreService", + "ResourceMonitorService" + ], + "adminUserName": "vmadmin", + "allowRdpAccess": true, + "clientConnectionPort": 19001, + "clusterCertificateThumbprints": [ + "12599211F8F14C90AFA9532AD79A6F2CA1C00622" + ], + "clusterCodeVersion": "7.1.168.9494", + "clusterId": "92584666-9889-4ae8-8d02-91902923d37f", + "clusterState": "WaitingForNodes", + "clusterUpgradeCadence": "Wave0", + "clusterUpgradeMode": "Automatic", + "dnsName": "myCluster", + "enableAutoOSUpgrade": true, + "fabricSettings": [ + { + "name": "ManagedIdentityTokenService", + "parameters": [ + { + "name": "IsEnabled", + "value": "false" + } + ] + } + ], + "fqdn": "MyCluster.eastus.cloudapp.azure.com", + "httpGatewayConnectionPort": 19081, + "loadBalancingRules": [ + { + "backendPort": 80, + "frontendPort": 80, + "probePort": 80, + "probeProtocol": "http", + "protocol": "http" + }, + { + "backendPort": 443, + "frontendPort": 443, + "probePort": 443, + "probeProtocol": "http", + "protocol": "http" + }, + { + "backendPort": 10000, + "frontendPort": 10000, + "probePort": 10000, + "probeProtocol": "http", + "protocol": "tcp" + } + ], + "networkSecurityRules": [ + { + "name": "TestName", + "description": "Test description", + "access": "allow", + "destinationAddressPrefixes": [ + "*" + ], + "destinationPortRanges": [ + "*" + ], + "direction": "inbound", + "priority": 1010, + "sourceAddressPrefixes": [ + "*" + ], + "sourcePortRanges": [ + "*" + ], + "protocol": "tcp" + } + ], + "provisioningState": "Succeeded" + }, + "sku": { + "name": "Standard" + }, + "tags": { + "a": "b" + } + }, + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2024-11-01-preview", + "Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2024-11-01-preview" + } } }, "operationId": "ManagedClusters_Update", diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2024-11-01-preview/examples/ServiceDeleteOperation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2024-11-01-preview/examples/ServiceDeleteOperation_example.json index 8b2d235a2a57..fd83afff63e6 100644 --- a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2024-11-01-preview/examples/ServiceDeleteOperation_example.json +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2024-11-01-preview/examples/ServiceDeleteOperation_example.json @@ -10,8 +10,8 @@ "responses": { "202": { "headers": { - "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/41fa5ef9-7f34-4c36-a730-93e0bb757d22?api-version=2024-11-01-preview", - "Retry-After": "10" + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2024-11-01-preview", + "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/9c2ce367-47ea-43de-b69e-c5a423da4557?api-version=2024-11-01-preview" } }, "204": {} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2024-11-01-preview/examples/ServicePutOperation_example_max.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2024-11-01-preview/examples/ServicePutOperation_example_max.json index a33e07fb7810..f5ef044cbe69 100644 --- a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2024-11-01-preview/examples/ServicePutOperation_example_max.json +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2024-11-01-preview/examples/ServicePutOperation_example_max.json @@ -184,8 +184,8 @@ } }, "headers": { - "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/2e633105-aadc-4928-9164-d76b974170a3?api-version=2024-11-01-preview", - "Retry-After": "10" + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2024-11-01-preview", + "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/9c2ce367-47ea-43de-b69e-c5a423da4557?api-version=2024-11-01-preview" } } }, diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2024-11-01-preview/examples/ServicePutOperation_example_min.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2024-11-01-preview/examples/ServicePutOperation_example_min.json index c3364947c062..c7df7664b9af 100644 --- a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2024-11-01-preview/examples/ServicePutOperation_example_min.json +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2024-11-01-preview/examples/ServicePutOperation_example_min.json @@ -52,8 +52,8 @@ } }, "headers": { - "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/5bc615c3-6c5b-4593-80e1-008f55376ec7?api-version=2024-11-01-preview", - "Retry-After": "10" + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2024-11-01-preview", + "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/9c2ce367-47ea-43de-b69e-c5a423da4557?api-version=2024-11-01-preview" } } }, diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2024-11-01-preview/servicefabricmanagedclusters.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2024-11-01-preview/servicefabricmanagedclusters.json index 7cff8ab290c2..e4ffe1e70b59 100644 --- a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2024-11-01-preview/servicefabricmanagedclusters.json +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2024-11-01-preview/servicefabricmanagedclusters.json @@ -806,11 +806,28 @@ ], "responses": { "200": { - "description": "Azure operation completed successfully.", + "description": "Resource 'ManagedCluster' update operation succeeded", "schema": { "$ref": "#/definitions/ManagedCluster" } }, + "202": { + "description": "The request has been accepted for processing, but processing has not yet completed.", + "schema": { + "$ref": "#/definitions/ManagedCluster" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "format": "uri", + "description": "A link to the status monitor" + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, "default": { "description": "An unexpected error response.", "schema": { @@ -822,7 +839,12 @@ "Patch a managed cluster": { "$ref": "./examples/ManagedClusterPatchOperation_example.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/ManagedCluster" + }, + "x-ms-long-running-operation": true }, "delete": { "operationId": "ManagedClusters_Delete", @@ -1708,7 +1730,7 @@ "tags": [ "Applications" ], - "description": "Updates the tags of an application resource of a given managed cluster.", + "description": "Updates an application resource of a given managed cluster.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" @@ -1745,11 +1767,28 @@ ], "responses": { "200": { - "description": "Azure operation completed successfully.", + "description": "Resource 'ApplicationResource' update operation succeeded", "schema": { "$ref": "#/definitions/ApplicationResource" } }, + "202": { + "description": "The request has been accepted for processing, but processing has not yet completed.", + "schema": { + "$ref": "#/definitions/ApplicationResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "format": "uri", + "description": "A link to the status monitor" + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, "default": { "description": "An unexpected error response.", "schema": { @@ -1761,7 +1800,12 @@ "Patch an application": { "$ref": "./examples/ApplicationPatchOperation_example.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/ApplicationResource" + }, + "x-ms-long-running-operation": true }, "delete": { "operationId": "Applications_Delete", @@ -2906,7 +2950,7 @@ "tags": [ "NodeTypes" ], - "description": "Update the configuration of a node type of a given managed cluster, only updating tags.", + "description": "Update the configuration of a node type of a given managed cluster, only updating tags or capacity.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-03-01-preview/examples/ApplicationDeleteOperation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-03-01-preview/examples/ApplicationDeleteOperation_example.json index 543c190a70d4..85a40a103273 100644 --- a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-03-01-preview/examples/ApplicationDeleteOperation_example.json +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-03-01-preview/examples/ApplicationDeleteOperation_example.json @@ -9,8 +9,8 @@ "responses": { "202": { "headers": { - "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/76053752-a423-4a80-b283-1dad1ba5f314?api-version=2025-03-01-preview", - "Retry-After": "10" + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-03-01-preview", + "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/9c2ce367-47ea-43de-b69e-c5a423da4557?api-version=2025-03-01-preview" } }, "204": {} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-03-01-preview/examples/ApplicationPatchOperation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-03-01-preview/examples/ApplicationPatchOperation_example.json index 2ff2cd7975b4..676fd8c53dc2 100644 --- a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-03-01-preview/examples/ApplicationPatchOperation_example.json +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-03-01-preview/examples/ApplicationPatchOperation_example.json @@ -61,6 +61,59 @@ } }, "headers": {} + }, + "202": { + "body": { + "name": "myApp", + "type": "Microsoft.ServiceFabric/managedClusters/applications", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applications/myApp", + "location": "eastus", + "properties": { + "parameters": { + "param1": "value1" + }, + "provisioningState": "Succeeded", + "upgradePolicy": { + "applicationHealthPolicy": { + "considerWarningAsError": true, + "defaultServiceTypeHealthPolicy": { + "maxPercentUnhealthyPartitionsPerService": 0, + "maxPercentUnhealthyReplicasPerPartition": 0, + "maxPercentUnhealthyServices": 0 + }, + "maxPercentUnhealthyDeployedApplications": 0, + "serviceTypeHealthPolicyMap": { + "service1": { + "maxPercentUnhealthyPartitionsPerService": 30, + "maxPercentUnhealthyReplicasPerPartition": 30, + "maxPercentUnhealthyServices": 30 + } + } + }, + "forceRestart": false, + "instanceCloseDelayDuration": 600, + "recreateApplication": false, + "rollingUpgradeMonitoringPolicy": { + "failureAction": "Rollback", + "healthCheckRetryTimeout": "00:10:00", + "healthCheckStableDuration": "00:05:00", + "healthCheckWaitDuration": "00:02:00", + "upgradeDomainTimeout": "00:15:00", + "upgradeTimeout": "01:00:00" + }, + "upgradeMode": "UnmonitoredAuto", + "upgradeReplicaSetCheckTimeout": 3600 + }, + "version": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applicationTypes/myAppType/versions/1.0" + }, + "tags": { + "a": "b" + } + }, + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-03-01-preview", + "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/9c2ce367-47ea-43de-b69e-c5a423da4557?api-version=2025-03-01-preview" + } } }, "operationId": "Applications_Update", diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-03-01-preview/examples/ApplicationPutOperation_example_max.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-03-01-preview/examples/ApplicationPutOperation_example_max.json index ab4a95c77bfc..932b88f97beb 100644 --- a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-03-01-preview/examples/ApplicationPutOperation_example_max.json +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-03-01-preview/examples/ApplicationPutOperation_example_max.json @@ -148,8 +148,8 @@ } }, "headers": { - "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/9c2ce367-47ea-43de-b69e-c5a423da4557?api-version=2025-03-01-preview", - "Retry-After": "10" + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-03-01-preview", + "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/9c2ce367-47ea-43de-b69e-c5a423da4557?api-version=2025-03-01-preview" } } }, diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-03-01-preview/examples/ApplicationPutOperation_example_min.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-03-01-preview/examples/ApplicationPutOperation_example_min.json index e9ade2b42999..fe3d4377496a 100644 --- a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-03-01-preview/examples/ApplicationPutOperation_example_min.json +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-03-01-preview/examples/ApplicationPutOperation_example_min.json @@ -71,8 +71,8 @@ } }, "headers": { - "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/5dce62ce-439b-47af-81d8-99ab14708e91?api-version=2025-03-01-preview", - "Retry-After": "10" + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-03-01-preview", + "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/9c2ce367-47ea-43de-b69e-c5a423da4557?api-version=2025-03-01-preview" } } }, diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-03-01-preview/examples/ApplicationTypeNameDeleteOperation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-03-01-preview/examples/ApplicationTypeNameDeleteOperation_example.json index f334e67fc30e..0894b1842837 100644 --- a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-03-01-preview/examples/ApplicationTypeNameDeleteOperation_example.json +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-03-01-preview/examples/ApplicationTypeNameDeleteOperation_example.json @@ -9,8 +9,8 @@ "responses": { "202": { "headers": { - "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/6a367b2d-9f60-4941-b886-e348ddcb4127?api-version=2025-03-01-preview", - "Retry-After": "10" + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-03-01-preview", + "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/9c2ce367-47ea-43de-b69e-c5a423da4557?api-version=2025-03-01-preview" } }, "204": {} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-03-01-preview/examples/ApplicationTypeVersionDeleteOperation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-03-01-preview/examples/ApplicationTypeVersionDeleteOperation_example.json index 8e3ddcb72394..024be1b9355e 100644 --- a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-03-01-preview/examples/ApplicationTypeVersionDeleteOperation_example.json +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-03-01-preview/examples/ApplicationTypeVersionDeleteOperation_example.json @@ -10,8 +10,8 @@ "responses": { "202": { "headers": { - "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/28e62369-ed8c-4aba-8c05-ab7d6238cc3d?api-version=2025-03-01-preview", - "Retry-After": "10" + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-03-01-preview", + "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/9c2ce367-47ea-43de-b69e-c5a423da4557?api-version=2025-03-01-preview" } }, "204": {} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-03-01-preview/examples/ApplicationTypeVersionPutOperation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-03-01-preview/examples/ApplicationTypeVersionPutOperation_example.json index 138a17cef31f..7b8845237a8d 100644 --- a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-03-01-preview/examples/ApplicationTypeVersionPutOperation_example.json +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-03-01-preview/examples/ApplicationTypeVersionPutOperation_example.json @@ -37,8 +37,8 @@ } }, "headers": { - "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/e2413c7e-d51b-40ac-8155-bc85bf8ae856?api-version=2025-03-01-preview", - "Retry-After": "10" + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-03-01-preview", + "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/9c2ce367-47ea-43de-b69e-c5a423da4557?api-version=2025-03-01-preview" } } }, diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-03-01-preview/examples/ManagedClusterPatchOperation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-03-01-preview/examples/ManagedClusterPatchOperation_example.json index dcfb545e8ada..cd36f16488f0 100644 --- a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-03-01-preview/examples/ManagedClusterPatchOperation_example.json +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-03-01-preview/examples/ManagedClusterPatchOperation_example.json @@ -104,6 +104,104 @@ "a": "b" } } + }, + "202": { + "body": { + "name": "myCluster", + "type": "Microsoft.ServiceFabric/managedClusters", + "etag": "W/\"636462502169240745\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedClusters/myCluster", + "location": "eastus", + "properties": { + "addonFeatures": [ + "DnsService", + "BackupRestoreService", + "ResourceMonitorService" + ], + "adminUserName": "vmadmin", + "allowRdpAccess": true, + "clientConnectionPort": 19001, + "clusterCertificateThumbprints": [ + "12599211F8F14C90AFA9532AD79A6F2CA1C00622" + ], + "clusterCodeVersion": "7.1.168.9494", + "clusterId": "92584666-9889-4ae8-8d02-91902923d37f", + "clusterState": "WaitingForNodes", + "clusterUpgradeCadence": "Wave0", + "clusterUpgradeMode": "Automatic", + "dnsName": "myCluster", + "enableAutoOSUpgrade": true, + "fabricSettings": [ + { + "name": "ManagedIdentityTokenService", + "parameters": [ + { + "name": "IsEnabled", + "value": "false" + } + ] + } + ], + "fqdn": "MyCluster.eastus.cloudapp.azure.com", + "httpGatewayConnectionPort": 19081, + "loadBalancingRules": [ + { + "backendPort": 80, + "frontendPort": 80, + "probePort": 80, + "probeProtocol": "http", + "protocol": "http" + }, + { + "backendPort": 443, + "frontendPort": 443, + "probePort": 443, + "probeProtocol": "http", + "protocol": "http" + }, + { + "backendPort": 10000, + "frontendPort": 10000, + "probePort": 10000, + "probeProtocol": "http", + "protocol": "tcp" + } + ], + "networkSecurityRules": [ + { + "name": "TestName", + "description": "Test description", + "access": "allow", + "destinationAddressPrefixes": [ + "*" + ], + "destinationPortRanges": [ + "*" + ], + "direction": "inbound", + "priority": 1010, + "sourceAddressPrefixes": [ + "*" + ], + "sourcePortRanges": [ + "*" + ], + "protocol": "tcp" + } + ], + "provisioningState": "Succeeded" + }, + "sku": { + "name": "Standard" + }, + "tags": { + "a": "b" + } + }, + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-03-01-preview", + "Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-03-01-preview" + } } }, "operationId": "ManagedClusters_Update", diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-03-01-preview/examples/ServiceDeleteOperation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-03-01-preview/examples/ServiceDeleteOperation_example.json index 960f83fa8986..63f5db3b2f7b 100644 --- a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-03-01-preview/examples/ServiceDeleteOperation_example.json +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-03-01-preview/examples/ServiceDeleteOperation_example.json @@ -10,8 +10,8 @@ "responses": { "202": { "headers": { - "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/41fa5ef9-7f34-4c36-a730-93e0bb757d22?api-version=2025-03-01-preview", - "Retry-After": "10" + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-03-01-preview", + "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/9c2ce367-47ea-43de-b69e-c5a423da4557?api-version=2025-03-01-preview" } }, "204": {} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-03-01-preview/examples/ServicePutOperation_example_max.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-03-01-preview/examples/ServicePutOperation_example_max.json index 05dbf2323c60..7822bb5a983c 100644 --- a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-03-01-preview/examples/ServicePutOperation_example_max.json +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-03-01-preview/examples/ServicePutOperation_example_max.json @@ -184,8 +184,8 @@ } }, "headers": { - "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/2e633105-aadc-4928-9164-d76b974170a3?api-version=2025-03-01-preview", - "Retry-After": "10" + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-03-01-preview", + "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/9c2ce367-47ea-43de-b69e-c5a423da4557?api-version=2025-03-01-preview" } } }, diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-03-01-preview/examples/ServicePutOperation_example_min.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-03-01-preview/examples/ServicePutOperation_example_min.json index e8a2036610de..147a803191f7 100644 --- a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-03-01-preview/examples/ServicePutOperation_example_min.json +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-03-01-preview/examples/ServicePutOperation_example_min.json @@ -52,8 +52,8 @@ } }, "headers": { - "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/5bc615c3-6c5b-4593-80e1-008f55376ec7?api-version=2025-03-01-preview", - "Retry-After": "10" + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-03-01-preview", + "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/9c2ce367-47ea-43de-b69e-c5a423da4557?api-version=2025-03-01-preview" } } }, diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-03-01-preview/servicefabricmanagedclusters.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-03-01-preview/servicefabricmanagedclusters.json index 9eb65651a09f..24ccd970477f 100644 --- a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-03-01-preview/servicefabricmanagedclusters.json +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-03-01-preview/servicefabricmanagedclusters.json @@ -806,11 +806,28 @@ ], "responses": { "200": { - "description": "Azure operation completed successfully.", + "description": "Resource 'ManagedCluster' update operation succeeded", "schema": { "$ref": "#/definitions/ManagedCluster" } }, + "202": { + "description": "The request has been accepted for processing, but processing has not yet completed.", + "schema": { + "$ref": "#/definitions/ManagedCluster" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "format": "uri", + "description": "A link to the status monitor" + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, "default": { "description": "An unexpected error response.", "schema": { @@ -822,7 +839,12 @@ "Patch a managed cluster": { "$ref": "./examples/ManagedClusterPatchOperation_example.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/ManagedCluster" + }, + "x-ms-long-running-operation": true }, "delete": { "operationId": "ManagedClusters_Delete", @@ -1708,7 +1730,7 @@ "tags": [ "Applications" ], - "description": "Updates the tags of an application resource of a given managed cluster.", + "description": "Updates an application resource of a given managed cluster.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" @@ -1745,11 +1767,28 @@ ], "responses": { "200": { - "description": "Azure operation completed successfully.", + "description": "Resource 'ApplicationResource' update operation succeeded", "schema": { "$ref": "#/definitions/ApplicationResource" } }, + "202": { + "description": "The request has been accepted for processing, but processing has not yet completed.", + "schema": { + "$ref": "#/definitions/ApplicationResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "format": "uri", + "description": "A link to the status monitor" + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, "default": { "description": "An unexpected error response.", "schema": { @@ -1761,7 +1800,12 @@ "Patch an application": { "$ref": "./examples/ApplicationPatchOperation_example.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/ApplicationResource" + }, + "x-ms-long-running-operation": true }, "delete": { "operationId": "Applications_Delete", @@ -2906,7 +2950,7 @@ "tags": [ "NodeTypes" ], - "description": "Update the configuration of a node type of a given managed cluster, only updating tags.", + "description": "Update the configuration of a node type of a given managed cluster, only updating tags or capacity.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-06-01-preview/examples/ApplicationDeleteOperation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-06-01-preview/examples/ApplicationDeleteOperation_example.json index 9d31a64011a6..21cf023c8ecf 100644 --- a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-06-01-preview/examples/ApplicationDeleteOperation_example.json +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-06-01-preview/examples/ApplicationDeleteOperation_example.json @@ -9,8 +9,8 @@ "responses": { "202": { "headers": { - "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/76053752-a423-4a80-b283-1dad1ba5f314?api-version=2025-06-01-preview", - "Retry-After": "10" + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-06-01-preview", + "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/9c2ce367-47ea-43de-b69e-c5a423da4557?api-version=2025-06-01-preview" } }, "204": {} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-06-01-preview/examples/ApplicationPatchOperation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-06-01-preview/examples/ApplicationPatchOperation_example.json index 5c0c07105ccd..74a2fd4fe12e 100644 --- a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-06-01-preview/examples/ApplicationPatchOperation_example.json +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-06-01-preview/examples/ApplicationPatchOperation_example.json @@ -61,6 +61,59 @@ } }, "headers": {} + }, + "202": { + "body": { + "name": "myApp", + "type": "Microsoft.ServiceFabric/managedClusters/applications", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applications/myApp", + "location": "eastus", + "properties": { + "parameters": { + "param1": "value1" + }, + "provisioningState": "Succeeded", + "upgradePolicy": { + "applicationHealthPolicy": { + "considerWarningAsError": true, + "defaultServiceTypeHealthPolicy": { + "maxPercentUnhealthyPartitionsPerService": 0, + "maxPercentUnhealthyReplicasPerPartition": 0, + "maxPercentUnhealthyServices": 0 + }, + "maxPercentUnhealthyDeployedApplications": 0, + "serviceTypeHealthPolicyMap": { + "service1": { + "maxPercentUnhealthyPartitionsPerService": 30, + "maxPercentUnhealthyReplicasPerPartition": 30, + "maxPercentUnhealthyServices": 30 + } + } + }, + "forceRestart": false, + "instanceCloseDelayDuration": 600, + "recreateApplication": false, + "rollingUpgradeMonitoringPolicy": { + "failureAction": "Rollback", + "healthCheckRetryTimeout": "00:10:00", + "healthCheckStableDuration": "00:05:00", + "healthCheckWaitDuration": "00:02:00", + "upgradeDomainTimeout": "00:15:00", + "upgradeTimeout": "01:00:00" + }, + "upgradeMode": "UnmonitoredAuto", + "upgradeReplicaSetCheckTimeout": 3600 + }, + "version": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applicationTypes/myAppType/versions/1.0" + }, + "tags": { + "a": "b" + } + }, + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-06-01-preview", + "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/9c2ce367-47ea-43de-b69e-c5a423da4557?api-version=2025-06-01-preview" + } } }, "operationId": "Applications_Update", diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-06-01-preview/examples/ApplicationPutOperation_example_max.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-06-01-preview/examples/ApplicationPutOperation_example_max.json index 8173fbc2f61c..f2a4be5292f9 100644 --- a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-06-01-preview/examples/ApplicationPutOperation_example_max.json +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-06-01-preview/examples/ApplicationPutOperation_example_max.json @@ -148,8 +148,8 @@ } }, "headers": { - "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/9c2ce367-47ea-43de-b69e-c5a423da4557?api-version=2025-06-01-preview", - "Retry-After": "10" + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-06-01-preview", + "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/9c2ce367-47ea-43de-b69e-c5a423da4557?api-version=2025-06-01-preview" } } }, diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-06-01-preview/examples/ApplicationPutOperation_example_min.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-06-01-preview/examples/ApplicationPutOperation_example_min.json index cdce6db9ddc9..acdd0ef35be9 100644 --- a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-06-01-preview/examples/ApplicationPutOperation_example_min.json +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-06-01-preview/examples/ApplicationPutOperation_example_min.json @@ -71,8 +71,8 @@ } }, "headers": { - "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/5dce62ce-439b-47af-81d8-99ab14708e91?api-version=2025-06-01-preview", - "Retry-After": "10" + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-06-01-preview", + "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/9c2ce367-47ea-43de-b69e-c5a423da4557?api-version=2025-06-01-preview" } } }, diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-06-01-preview/examples/ApplicationTypeNameDeleteOperation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-06-01-preview/examples/ApplicationTypeNameDeleteOperation_example.json index f15c6991068a..28dbb92c1e86 100644 --- a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-06-01-preview/examples/ApplicationTypeNameDeleteOperation_example.json +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-06-01-preview/examples/ApplicationTypeNameDeleteOperation_example.json @@ -9,8 +9,8 @@ "responses": { "202": { "headers": { - "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/6a367b2d-9f60-4941-b886-e348ddcb4127?api-version=2025-06-01-preview", - "Retry-After": "10" + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-06-01-preview", + "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/9c2ce367-47ea-43de-b69e-c5a423da4557?api-version=2025-06-01-preview" } }, "204": {} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-06-01-preview/examples/ApplicationTypeVersionDeleteOperation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-06-01-preview/examples/ApplicationTypeVersionDeleteOperation_example.json index 37344f3d5440..b23db8831c30 100644 --- a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-06-01-preview/examples/ApplicationTypeVersionDeleteOperation_example.json +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-06-01-preview/examples/ApplicationTypeVersionDeleteOperation_example.json @@ -10,8 +10,8 @@ "responses": { "202": { "headers": { - "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/28e62369-ed8c-4aba-8c05-ab7d6238cc3d?api-version=2025-06-01-preview", - "Retry-After": "10" + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-06-01-preview", + "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/9c2ce367-47ea-43de-b69e-c5a423da4557?api-version=2025-06-01-preview" } }, "204": {} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-06-01-preview/examples/ApplicationTypeVersionPutOperation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-06-01-preview/examples/ApplicationTypeVersionPutOperation_example.json index d76ce6802895..366b06f4516a 100644 --- a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-06-01-preview/examples/ApplicationTypeVersionPutOperation_example.json +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-06-01-preview/examples/ApplicationTypeVersionPutOperation_example.json @@ -37,8 +37,8 @@ } }, "headers": { - "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/e2413c7e-d51b-40ac-8155-bc85bf8ae856?api-version=2025-06-01-preview", - "Retry-After": "10" + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-06-01-preview", + "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/9c2ce367-47ea-43de-b69e-c5a423da4557?api-version=2025-06-01-preview" } } }, diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-06-01-preview/examples/ManagedClusterPatchOperation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-06-01-preview/examples/ManagedClusterPatchOperation_example.json index 30ce6268fe21..e1c888671b3b 100644 --- a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-06-01-preview/examples/ManagedClusterPatchOperation_example.json +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-06-01-preview/examples/ManagedClusterPatchOperation_example.json @@ -104,6 +104,104 @@ "a": "b" } } + }, + "202": { + "body": { + "name": "myCluster", + "type": "Microsoft.ServiceFabric/managedClusters", + "etag": "W/\"636462502169240745\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedClusters/myCluster", + "location": "eastus", + "properties": { + "addonFeatures": [ + "DnsService", + "BackupRestoreService", + "ResourceMonitorService" + ], + "adminUserName": "vmadmin", + "allowRdpAccess": true, + "clientConnectionPort": 19001, + "clusterCertificateThumbprints": [ + "12599211F8F14C90AFA9532AD79A6F2CA1C00622" + ], + "clusterCodeVersion": "7.1.168.9494", + "clusterId": "92584666-9889-4ae8-8d02-91902923d37f", + "clusterState": "WaitingForNodes", + "clusterUpgradeCadence": "Wave0", + "clusterUpgradeMode": "Automatic", + "dnsName": "myCluster", + "enableAutoOSUpgrade": true, + "fabricSettings": [ + { + "name": "ManagedIdentityTokenService", + "parameters": [ + { + "name": "IsEnabled", + "value": "false" + } + ] + } + ], + "fqdn": "MyCluster.eastus.cloudapp.azure.com", + "httpGatewayConnectionPort": 19081, + "loadBalancingRules": [ + { + "backendPort": 80, + "frontendPort": 80, + "probePort": 80, + "probeProtocol": "http", + "protocol": "http" + }, + { + "backendPort": 443, + "frontendPort": 443, + "probePort": 443, + "probeProtocol": "http", + "protocol": "http" + }, + { + "backendPort": 10000, + "frontendPort": 10000, + "probePort": 10000, + "probeProtocol": "http", + "protocol": "tcp" + } + ], + "networkSecurityRules": [ + { + "name": "TestName", + "description": "Test description", + "access": "allow", + "destinationAddressPrefixes": [ + "*" + ], + "destinationPortRanges": [ + "*" + ], + "direction": "inbound", + "priority": 1010, + "sourceAddressPrefixes": [ + "*" + ], + "sourcePortRanges": [ + "*" + ], + "protocol": "tcp" + } + ], + "provisioningState": "Succeeded" + }, + "sku": { + "name": "Standard" + }, + "tags": { + "a": "b" + } + }, + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-06-01-preview", + "Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-06-01-preview" + } } }, "operationId": "ManagedClusters_Update", diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-06-01-preview/examples/ServiceDeleteOperation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-06-01-preview/examples/ServiceDeleteOperation_example.json index 3cf0b3b2b06a..b9781ea51193 100644 --- a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-06-01-preview/examples/ServiceDeleteOperation_example.json +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-06-01-preview/examples/ServiceDeleteOperation_example.json @@ -10,8 +10,8 @@ "responses": { "202": { "headers": { - "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/41fa5ef9-7f34-4c36-a730-93e0bb757d22?api-version=2025-06-01-preview", - "Retry-After": "10" + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-06-01-preview", + "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/9c2ce367-47ea-43de-b69e-c5a423da4557?api-version=2025-06-01-preview" } }, "204": {} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-06-01-preview/examples/ServicePutOperation_example_max.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-06-01-preview/examples/ServicePutOperation_example_max.json index 7b7f780a3190..891a25b68b0a 100644 --- a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-06-01-preview/examples/ServicePutOperation_example_max.json +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-06-01-preview/examples/ServicePutOperation_example_max.json @@ -184,8 +184,8 @@ } }, "headers": { - "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/2e633105-aadc-4928-9164-d76b974170a3?api-version=2025-06-01-preview", - "Retry-After": "10" + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-06-01-preview", + "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/9c2ce367-47ea-43de-b69e-c5a423da4557?api-version=2025-06-01-preview" } } }, diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-06-01-preview/examples/ServicePutOperation_example_min.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-06-01-preview/examples/ServicePutOperation_example_min.json index 63afec80c26f..2617e98984ce 100644 --- a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-06-01-preview/examples/ServicePutOperation_example_min.json +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-06-01-preview/examples/ServicePutOperation_example_min.json @@ -52,8 +52,8 @@ } }, "headers": { - "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/5bc615c3-6c5b-4593-80e1-008f55376ec7?api-version=2025-06-01-preview", - "Retry-After": "10" + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-06-01-preview", + "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/9c2ce367-47ea-43de-b69e-c5a423da4557?api-version=2025-06-01-preview" } } }, diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-06-01-preview/servicefabricmanagedclusters.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-06-01-preview/servicefabricmanagedclusters.json index 8af5b4a35c89..cca576e1c253 100644 --- a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-06-01-preview/servicefabricmanagedclusters.json +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-06-01-preview/servicefabricmanagedclusters.json @@ -806,11 +806,28 @@ ], "responses": { "200": { - "description": "Azure operation completed successfully.", + "description": "Resource 'ManagedCluster' update operation succeeded", "schema": { "$ref": "#/definitions/ManagedCluster" } }, + "202": { + "description": "The request has been accepted for processing, but processing has not yet completed.", + "schema": { + "$ref": "#/definitions/ManagedCluster" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "format": "uri", + "description": "A link to the status monitor" + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, "default": { "description": "An unexpected error response.", "schema": { @@ -822,7 +839,12 @@ "Patch a managed cluster": { "$ref": "./examples/ManagedClusterPatchOperation_example.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/ManagedCluster" + }, + "x-ms-long-running-operation": true }, "delete": { "operationId": "ManagedClusters_Delete", @@ -1708,7 +1730,7 @@ "tags": [ "Applications" ], - "description": "Updates the tags of an application resource of a given managed cluster.", + "description": "Updates an application resource of a given managed cluster.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" @@ -1745,11 +1767,28 @@ ], "responses": { "200": { - "description": "Azure operation completed successfully.", + "description": "Resource 'ApplicationResource' update operation succeeded", "schema": { "$ref": "#/definitions/ApplicationResource" } }, + "202": { + "description": "The request has been accepted for processing, but processing has not yet completed.", + "schema": { + "$ref": "#/definitions/ApplicationResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "format": "uri", + "description": "A link to the status monitor" + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, "default": { "description": "An unexpected error response.", "schema": { @@ -1761,7 +1800,12 @@ "Patch an application": { "$ref": "./examples/ApplicationPatchOperation_example.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/ApplicationResource" + }, + "x-ms-long-running-operation": true }, "delete": { "operationId": "Applications_Delete", @@ -2906,7 +2950,7 @@ "tags": [ "NodeTypes" ], - "description": "Update the configuration of a node type of a given managed cluster, only updating tags.", + "description": "Update the configuration of a node type of a given managed cluster, only updating tags or capacity.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ApplicationActionFetchApplicationHealth_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ApplicationActionFetchApplicationHealth_example.json new file mode 100644 index 000000000000..018448ad85ff --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ApplicationActionFetchApplicationHealth_example.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "applicationName": "myApp", + "clusterName": "myCluster", + "parameters": { + "eventsHealthStateFilter": "Error", + "deployedApplicationsHealthStateFilter": "Error", + "servicesHealthStateFilter": "Error", + "excludeHealthStatistics": "true", + "timeout": 30 + }, + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview", + "Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview" + } + } + }, + "operationId": "Applications_FetchApplicationHealth", + "title": "Fetch application health" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ApplicationActionFetchHealth_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ApplicationActionFetchHealth_example.json new file mode 100644 index 000000000000..5053b169660d --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ApplicationActionFetchHealth_example.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "applicationName": "myApp", + "clusterName": "myCluster", + "parameters": { + "eventsHealthStateFilter": "Error", + "deployedApplicationsHealthStateFilter": "Error", + "servicesHealthStateFilter": "Error", + "excludeHealthStatistics": true, + "timeout": 30 + }, + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview", + "Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview" + } + } + }, + "operationId": "Applications_FetchHealth", + "title": "Fetch application health" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ApplicationActionGetUpgrade_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ApplicationActionGetUpgrade_example.json new file mode 100644 index 000000000000..33988d3ed95d --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ApplicationActionGetUpgrade_example.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "applicationName": "myApp", + "clusterName": "myCluster", + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview", + "Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview" + } + } + }, + "operationId": "Applications_ReadUpgrade", + "title": "Get an application upgrade" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ApplicationActionRestartDeployedCodePackage_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ApplicationActionRestartDeployedCodePackage_example.json new file mode 100644 index 000000000000..e3ced98fb900 --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ApplicationActionRestartDeployedCodePackage_example.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "applicationName": "myApp", + "clusterName": "myCluster", + "parameters": { + "nodeName": "nt1_0", + "serviceManifestName": "TestPkg", + "servicePackageActivationId": "sharedProcess", + "codePackageName": "Code", + "codePackageInstanceId": "133991326715515522" + }, + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview", + "Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview" + } + } + }, + "operationId": "Applications_RestartDeployedCodePackage", + "title": "Restart deployed code package" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ApplicationActionResumeUpgrade_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ApplicationActionResumeUpgrade_example.json new file mode 100644 index 000000000000..cfd1b078028a --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ApplicationActionResumeUpgrade_example.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "applicationName": "myApp", + "clusterName": "myCluster", + "parameters": { + "upgradeDomainName": "UD1" + }, + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview", + "Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview" + } + } + }, + "operationId": "Applications_ResumeUpgrade", + "title": "Resume upgrade" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ApplicationActionStartRollback_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ApplicationActionStartRollback_example.json new file mode 100644 index 000000000000..6581b2321d0d --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ApplicationActionStartRollback_example.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "applicationName": "myApp", + "clusterName": "myCluster", + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview", + "Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview" + } + } + }, + "operationId": "Applications_StartRollback", + "title": "Start an application upgrade rollback" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ApplicationActionUpdateUpgrade_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ApplicationActionUpdateUpgrade_example.json new file mode 100644 index 000000000000..059791b5d8ad --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ApplicationActionUpdateUpgrade_example.json @@ -0,0 +1,49 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "resRg", + "clusterName": "myCluster", + "applicationName": "myApp", + "api-version": "2025-10-01-preview", + "parameters": { + "upgradeKind": "Rolling", + "name": "fabric:/Voting", + "updateDescription": { + "rollingUpgradeMode": "Monitored", + "forceRestart": true, + "failureAction": "Manual", + "healthCheckWaitDurationInMilliseconds": "PT0H0M10S", + "healthCheckStableDurationInMilliseconds": "PT1H0M0S", + "healthCheckRetryTimeoutInMilliseconds": "PT0H15M0S", + "upgradeTimeoutInMilliseconds": "PT2H0M0S", + "upgradeDomainTimeoutInMilliseconds": "PT2H0M0S" + }, + "applicationHealthPolicy": { + "considerWarningAsError": true, + "maxPercentUnhealthyDeployedApplications": 10, + "defaultServiceTypeHealthPolicy": { + "maxPercentUnhealthyPartitionsPerService": 10, + "maxPercentUnhealthyReplicasPerPartition": 11, + "maxPercentUnhealthyServices": 12 + }, + "serviceTypeHealthPolicyMap": { + "VotingWeb": { + "maxPercentUnhealthyPartitionsPerService": 13, + "maxPercentUnhealthyReplicasPerPartition": 14, + "maxPercentUnhealthyServices": 15 + } + } + } + } + }, + "responses": { + "202": { + "headers": { + "Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2023-07-01-preview", + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2023-07-01-preview" + } + } + }, + "operationId": "Applications_UpdateUpgrade", + "title": "Update an application upgrade" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ApplicationDeleteOperation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ApplicationDeleteOperation_example.json new file mode 100644 index 000000000000..e86baa8460ca --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ApplicationDeleteOperation_example.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "applicationName": "myApp", + "clusterName": "myCluster", + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview", + "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/9c2ce367-47ea-43de-b69e-c5a423da4557?api-version=2025-10-01-preview" + } + }, + "204": {} + }, + "operationId": "Applications_Delete", + "title": "Delete an application" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ApplicationGetOperation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ApplicationGetOperation_example.json new file mode 100644 index 000000000000..fc15574d0f3b --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ApplicationGetOperation_example.json @@ -0,0 +1,61 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "applicationName": "myApp", + "clusterName": "myCluster", + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myApp", + "type": "Microsoft.ServiceFabric/managedClusters/applications", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applications/myApp", + "location": "eastus", + "properties": { + "parameters": { + "param1": "value1" + }, + "provisioningState": "Updating", + "upgradePolicy": { + "applicationHealthPolicy": { + "considerWarningAsError": true, + "defaultServiceTypeHealthPolicy": { + "maxPercentUnhealthyPartitionsPerService": 0, + "maxPercentUnhealthyReplicasPerPartition": 0, + "maxPercentUnhealthyServices": 0 + }, + "maxPercentUnhealthyDeployedApplications": 0, + "serviceTypeHealthPolicyMap": { + "service1": { + "maxPercentUnhealthyPartitionsPerService": 30, + "maxPercentUnhealthyReplicasPerPartition": 30, + "maxPercentUnhealthyServices": 30 + } + } + }, + "forceRestart": false, + "instanceCloseDelayDuration": 600, + "recreateApplication": false, + "rollingUpgradeMonitoringPolicy": { + "failureAction": "Rollback", + "healthCheckRetryTimeout": "00:10:00", + "healthCheckStableDuration": "00:05:00", + "healthCheckWaitDuration": "00:02:00", + "upgradeDomainTimeout": "00:15:00", + "upgradeTimeout": "01:00:00" + }, + "upgradeMode": "UnmonitoredAuto", + "upgradeReplicaSetCheckTimeout": 3600 + }, + "version": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applicationTypes/myAppType/versions/1.0" + }, + "tags": {} + }, + "headers": {} + } + }, + "operationId": "Applications_Get", + "title": "Get an application" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ApplicationListOperation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ApplicationListOperation_example.json new file mode 100644 index 000000000000..60938c7eeef6 --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ApplicationListOperation_example.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "clusterName": "myCluster", + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "nextLink": "http://examplelink.com", + "value": [ + { + "name": "myApp", + "type": "Microsoft.ServiceFabric/managedClusters/applications", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applications/myApp", + "properties": { + "provisioningState": "Updating", + "version": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applicationTypes/myAppType/versions/1.0" + } + } + ] + }, + "headers": {} + } + }, + "operationId": "Applications_List", + "title": "Get a list of application resources" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ApplicationPatchOperation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ApplicationPatchOperation_example.json new file mode 100644 index 000000000000..4873d42aa61d --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ApplicationPatchOperation_example.json @@ -0,0 +1,129 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "applicationName": "myApp", + "clusterName": "myCluster", + "parameters": { + "tags": { + "a": "b" + }, + "properties": { + "parameters": { + "param1": "value1", + "param2": "value2" + } + } + }, + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myApp", + "type": "Microsoft.ServiceFabric/managedClusters/applications", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applications/myApp", + "location": "eastus", + "properties": { + "parameters": { + "param1": "value1", + "param2": "value2" + }, + "provisioningState": "Succeeded", + "upgradePolicy": { + "applicationHealthPolicy": { + "considerWarningAsError": true, + "defaultServiceTypeHealthPolicy": { + "maxPercentUnhealthyPartitionsPerService": 0, + "maxPercentUnhealthyReplicasPerPartition": 0, + "maxPercentUnhealthyServices": 0 + }, + "maxPercentUnhealthyDeployedApplications": 0, + "serviceTypeHealthPolicyMap": { + "service1": { + "maxPercentUnhealthyPartitionsPerService": 30, + "maxPercentUnhealthyReplicasPerPartition": 30, + "maxPercentUnhealthyServices": 30 + } + } + }, + "forceRestart": false, + "instanceCloseDelayDuration": 600, + "recreateApplication": false, + "rollingUpgradeMonitoringPolicy": { + "failureAction": "Rollback", + "healthCheckRetryTimeout": "00:10:00", + "healthCheckStableDuration": "00:05:00", + "healthCheckWaitDuration": "00:02:00", + "upgradeDomainTimeout": "00:15:00", + "upgradeTimeout": "01:00:00" + }, + "upgradeMode": "UnmonitoredAuto", + "upgradeReplicaSetCheckTimeout": 3600 + }, + "version": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applicationTypes/myAppType/versions/1.0" + }, + "tags": { + "a": "b" + } + }, + "headers": {} + }, + "202": { + "body": { + "name": "myApp", + "type": "Microsoft.ServiceFabric/managedClusters/applications", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applications/myApp", + "location": "eastus", + "properties": { + "parameters": { + "param1": "value1", + "param2": "value2" + }, + "provisioningState": "Succeeded", + "upgradePolicy": { + "applicationHealthPolicy": { + "considerWarningAsError": true, + "defaultServiceTypeHealthPolicy": { + "maxPercentUnhealthyPartitionsPerService": 0, + "maxPercentUnhealthyReplicasPerPartition": 0, + "maxPercentUnhealthyServices": 0 + }, + "maxPercentUnhealthyDeployedApplications": 0, + "serviceTypeHealthPolicyMap": { + "service1": { + "maxPercentUnhealthyPartitionsPerService": 30, + "maxPercentUnhealthyReplicasPerPartition": 30, + "maxPercentUnhealthyServices": 30 + } + } + }, + "forceRestart": false, + "instanceCloseDelayDuration": 600, + "recreateApplication": false, + "rollingUpgradeMonitoringPolicy": { + "failureAction": "Rollback", + "healthCheckRetryTimeout": "00:10:00", + "healthCheckStableDuration": "00:05:00", + "healthCheckWaitDuration": "00:02:00", + "upgradeDomainTimeout": "00:15:00", + "upgradeTimeout": "01:00:00" + }, + "upgradeMode": "UnmonitoredAuto", + "upgradeReplicaSetCheckTimeout": 3600 + }, + "version": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applicationTypes/myAppType/versions/1.0" + }, + "tags": { + "a": "b" + } + }, + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview", + "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/9c2ce367-47ea-43de-b69e-c5a423da4557?api-version=2025-10-01-preview" + } + } + }, + "operationId": "Applications_Update", + "title": "Patch an application" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ApplicationPutOperation_example_max.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ApplicationPutOperation_example_max.json new file mode 100644 index 000000000000..ce159f1ab979 --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ApplicationPutOperation_example_max.json @@ -0,0 +1,158 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "applicationName": "myApp", + "clusterName": "myCluster", + "parameters": { + "location": "eastus", + "properties": { + "parameters": { + "param1": "value1" + }, + "upgradePolicy": { + "applicationHealthPolicy": { + "considerWarningAsError": true, + "defaultServiceTypeHealthPolicy": { + "maxPercentUnhealthyPartitionsPerService": 0, + "maxPercentUnhealthyReplicasPerPartition": 0, + "maxPercentUnhealthyServices": 0 + }, + "maxPercentUnhealthyDeployedApplications": 0, + "serviceTypeHealthPolicyMap": { + "service1": { + "maxPercentUnhealthyPartitionsPerService": 30, + "maxPercentUnhealthyReplicasPerPartition": 30, + "maxPercentUnhealthyServices": 30 + } + } + }, + "forceRestart": false, + "instanceCloseDelayDuration": 600, + "recreateApplication": false, + "rollingUpgradeMonitoringPolicy": { + "failureAction": "Rollback", + "healthCheckRetryTimeout": "00:10:00", + "healthCheckStableDuration": "00:05:00", + "healthCheckWaitDuration": "00:02:00", + "upgradeDomainTimeout": "00:15:00", + "upgradeTimeout": "01:00:00" + }, + "upgradeMode": "UnmonitoredAuto", + "upgradeReplicaSetCheckTimeout": 3600 + }, + "version": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applicationTypes/myAppType/versions/1.0" + }, + "tags": { + "a": "b" + } + }, + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myApp", + "type": "Microsoft.ServiceFabric/managedClusters/applications", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applications/myApp", + "location": "eastus", + "properties": { + "parameters": { + "param1": "value1" + }, + "provisioningState": "Creating", + "upgradePolicy": { + "applicationHealthPolicy": { + "considerWarningAsError": true, + "defaultServiceTypeHealthPolicy": { + "maxPercentUnhealthyPartitionsPerService": 0, + "maxPercentUnhealthyReplicasPerPartition": 0, + "maxPercentUnhealthyServices": 0 + }, + "maxPercentUnhealthyDeployedApplications": 0, + "serviceTypeHealthPolicyMap": { + "service1": { + "maxPercentUnhealthyPartitionsPerService": 30, + "maxPercentUnhealthyReplicasPerPartition": 30, + "maxPercentUnhealthyServices": 30 + } + } + }, + "forceRestart": false, + "instanceCloseDelayDuration": 600, + "recreateApplication": false, + "rollingUpgradeMonitoringPolicy": { + "failureAction": "Rollback", + "healthCheckRetryTimeout": "00:10:00", + "healthCheckStableDuration": "00:05:00", + "healthCheckWaitDuration": "00:02:00", + "upgradeDomainTimeout": "00:15:00", + "upgradeTimeout": "01:00:00" + }, + "upgradeMode": "UnmonitoredAuto", + "upgradeReplicaSetCheckTimeout": 3600 + }, + "version": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applicationTypes/myAppType/versions/1.0" + }, + "tags": { + "a": "b" + } + }, + "headers": {} + }, + "202": { + "body": { + "name": "myApp", + "type": "Microsoft.ServiceFabric/managedClusters/applications", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applications/myApp", + "properties": { + "parameters": { + "param1": "value1" + }, + "provisioningState": "Updating", + "upgradePolicy": { + "applicationHealthPolicy": { + "considerWarningAsError": true, + "defaultServiceTypeHealthPolicy": { + "maxPercentUnhealthyPartitionsPerService": 0, + "maxPercentUnhealthyReplicasPerPartition": 0, + "maxPercentUnhealthyServices": 0 + }, + "maxPercentUnhealthyDeployedApplications": 0, + "serviceTypeHealthPolicyMap": { + "service1": { + "maxPercentUnhealthyPartitionsPerService": 30, + "maxPercentUnhealthyReplicasPerPartition": 30, + "maxPercentUnhealthyServices": 30 + } + } + }, + "forceRestart": false, + "instanceCloseDelayDuration": 600, + "recreateApplication": false, + "rollingUpgradeMonitoringPolicy": { + "failureAction": "Rollback", + "healthCheckRetryTimeout": "00:10:00", + "healthCheckStableDuration": "00:05:00", + "healthCheckWaitDuration": "00:02:00", + "upgradeDomainTimeout": "00:15:00", + "upgradeTimeout": "01:00:00" + }, + "upgradeMode": "UnmonitoredAuto", + "upgradeReplicaSetCheckTimeout": 3600 + }, + "version": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applicationTypes/myAppType/versions/1.0" + }, + "tags": { + "a": "b" + } + }, + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview", + "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/9c2ce367-47ea-43de-b69e-c5a423da4557?api-version=2025-10-01-preview" + } + } + }, + "operationId": "Applications_CreateOrUpdate", + "title": "Put an application with maximum parameters" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ApplicationPutOperation_example_min.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ApplicationPutOperation_example_min.json new file mode 100644 index 000000000000..9cb230edcd56 --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ApplicationPutOperation_example_min.json @@ -0,0 +1,81 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "applicationName": "myApp", + "clusterName": "myCluster", + "parameters": { + "location": "eastus", + "properties": { + "version": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applicationTypes/myAppType/versions/1.0" + } + }, + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myApp", + "type": "Microsoft.ServiceFabric/managedClusters/applications", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applications/myApp", + "location": "eastus", + "properties": { + "parameters": { + "param1": "value1" + }, + "provisioningState": "Updating", + "upgradePolicy": { + "applicationHealthPolicy": { + "considerWarningAsError": true, + "defaultServiceTypeHealthPolicy": { + "maxPercentUnhealthyPartitionsPerService": 0, + "maxPercentUnhealthyReplicasPerPartition": 0, + "maxPercentUnhealthyServices": 0 + }, + "maxPercentUnhealthyDeployedApplications": 0, + "serviceTypeHealthPolicyMap": { + "service1": { + "maxPercentUnhealthyPartitionsPerService": 30, + "maxPercentUnhealthyReplicasPerPartition": 30, + "maxPercentUnhealthyServices": 30 + } + } + }, + "forceRestart": false, + "instanceCloseDelayDuration": 600, + "recreateApplication": false, + "rollingUpgradeMonitoringPolicy": { + "failureAction": "Rollback", + "healthCheckRetryTimeout": "00:10:00", + "healthCheckStableDuration": "00:05:00", + "healthCheckWaitDuration": "00:02:00", + "upgradeDomainTimeout": "00:15:00", + "upgradeTimeout": "01:00:00" + }, + "upgradeMode": "UnmonitoredAuto", + "upgradeReplicaSetCheckTimeout": 3600 + }, + "version": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applicationTypes/myAppType/versions/1.0" + } + }, + "headers": {} + }, + "202": { + "body": { + "name": "myCluster", + "type": "Microsoft.ServiceFabric/managedClusters/applications", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applications/myApp", + "properties": { + "provisioningState": "Updating", + "version": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applicationTypes/myAppType/versions/1.0" + } + }, + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview", + "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/9c2ce367-47ea-43de-b69e-c5a423da4557?api-version=2025-10-01-preview" + } + } + }, + "operationId": "Applications_CreateOrUpdate", + "title": "Put an application with minimum parameters" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ApplicationTypeNameDeleteOperation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ApplicationTypeNameDeleteOperation_example.json new file mode 100644 index 000000000000..4c31e09b7b90 --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ApplicationTypeNameDeleteOperation_example.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "applicationTypeName": "myAppType", + "clusterName": "myCluster", + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview", + "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/9c2ce367-47ea-43de-b69e-c5a423da4557?api-version=2025-10-01-preview" + } + }, + "204": {} + }, + "operationId": "ApplicationTypes_Delete", + "title": "Delete an application type" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ApplicationTypeNameGetOperation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ApplicationTypeNameGetOperation_example.json new file mode 100644 index 000000000000..9996eee9de4b --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ApplicationTypeNameGetOperation_example.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "applicationTypeName": "myAppType", + "clusterName": "myCluster", + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myAppType", + "type": "Microsoft.ServiceFabric/managedClusters/applicationTypes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applicationTypes/myAppType", + "properties": { + "provisioningState": "Succeeded" + } + }, + "headers": {} + } + }, + "operationId": "ApplicationTypes_Get", + "title": "Get an application type" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ApplicationTypeNameListOperation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ApplicationTypeNameListOperation_example.json new file mode 100644 index 000000000000..e4780fd9fc9b --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ApplicationTypeNameListOperation_example.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "clusterName": "myCluster", + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "nextLink": "http://examplelink.com", + "value": [ + { + "name": "myAppType", + "type": "Microsoft.ServiceFabric/managedClusters/applicationTypes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applicationTypes/myAppType", + "properties": { + "provisioningState": "Succeeded" + } + } + ] + }, + "headers": {} + } + }, + "operationId": "ApplicationTypes_List", + "title": "Get a list of application type name resources" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ApplicationTypeNamePatchOperation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ApplicationTypeNamePatchOperation_example.json new file mode 100644 index 000000000000..b130433c811b --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ApplicationTypeNamePatchOperation_example.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "applicationTypeName": "myAppType", + "clusterName": "myCluster", + "parameters": { + "tags": { + "a": "b" + } + }, + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myAppType", + "type": "Microsoft.ServiceFabric/managedClusters/applicationTypes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applicationTypes/myAppType", + "properties": { + "provisioningState": "Succeeded" + }, + "tags": { + "a": "b" + } + }, + "headers": {} + } + }, + "operationId": "ApplicationTypes_Update", + "title": "Patch an application type" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ApplicationTypeNamePutOperation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ApplicationTypeNamePutOperation_example.json new file mode 100644 index 000000000000..9fbc8eb8c45e --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ApplicationTypeNamePutOperation_example.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "applicationTypeName": "myAppType", + "clusterName": "myCluster", + "parameters": { + "location": "eastus" + }, + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myAppType", + "type": "Microsoft.ServiceFabric/managedClusters/applicationTypes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applicationTypes/myAppType", + "properties": { + "provisioningState": "Succeeded" + } + }, + "headers": {} + } + }, + "operationId": "ApplicationTypes_CreateOrUpdate", + "title": "Put an application type" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ApplicationTypeVersionDeleteOperation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ApplicationTypeVersionDeleteOperation_example.json new file mode 100644 index 000000000000..b26ac319c3e2 --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ApplicationTypeVersionDeleteOperation_example.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "applicationTypeName": "myAppType", + "clusterName": "myCluster", + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "version": "1.0" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview", + "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/9c2ce367-47ea-43de-b69e-c5a423da4557?api-version=2025-10-01-preview" + } + }, + "204": {} + }, + "operationId": "ApplicationTypeVersions_Delete", + "title": "Delete an application type version" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ApplicationTypeVersionGetOperation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ApplicationTypeVersionGetOperation_example.json new file mode 100644 index 000000000000..25e90f469bac --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ApplicationTypeVersionGetOperation_example.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "applicationTypeName": "myAppType", + "clusterName": "myCluster", + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "version": "1.0" + }, + "responses": { + "200": { + "body": { + "name": "1.0", + "type": "Microsoft.ServiceFabric/managedClusters/applicationTypes/versions", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applicationTypes/myAppType/versions/1.0", + "properties": { + "appPackageUrl": "http://fakelink.test.com/MyAppType", + "provisioningState": "Updating" + } + }, + "headers": {} + } + }, + "operationId": "ApplicationTypeVersions_Get", + "title": "Get an application type version" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ApplicationTypeVersionListOperation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ApplicationTypeVersionListOperation_example.json new file mode 100644 index 000000000000..27b042f2162a --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ApplicationTypeVersionListOperation_example.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "applicationTypeName": "myAppType", + "clusterName": "myCluster", + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "nextLink": "http://examplelink.com", + "value": [ + { + "name": "1.0", + "type": "Microsoft.ServiceFabric/managedClusters/applicationTypes/versions", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applicationTypes/myAppType/versions/1.0", + "properties": { + "appPackageUrl": "http://fakelink.test.com/MyAppType", + "provisioningState": "Updating" + } + } + ] + }, + "headers": {} + } + }, + "operationId": "ApplicationTypeVersions_ListByApplicationTypes", + "title": "Get a list of application type version resources" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ApplicationTypeVersionPatchOperation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ApplicationTypeVersionPatchOperation_example.json new file mode 100644 index 000000000000..2560f822298a --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ApplicationTypeVersionPatchOperation_example.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "applicationTypeName": "myAppType", + "clusterName": "myCluster", + "parameters": { + "tags": { + "a": "b" + } + }, + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "version": "1.0" + }, + "responses": { + "200": { + "body": { + "name": "1.0", + "type": "Microsoft.ServiceFabric/managedClusters/applicationTypes/versions", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applicationTypes/myAppType/versions/1.0", + "properties": { + "appPackageUrl": "http://fakelink.test.com/MyAppType", + "provisioningState": "Succeeded" + }, + "tags": { + "a": "b" + } + }, + "headers": {} + } + }, + "operationId": "ApplicationTypeVersions_Update", + "title": "Patch an application type version" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ApplicationTypeVersionPutOperation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ApplicationTypeVersionPutOperation_example.json new file mode 100644 index 000000000000..52f4b42f99c5 --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ApplicationTypeVersionPutOperation_example.json @@ -0,0 +1,47 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "applicationTypeName": "myAppType", + "clusterName": "myCluster", + "parameters": { + "location": "eastus", + "properties": { + "appPackageUrl": "http://fakelink.test.com/MyAppType" + } + }, + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "version": "1.0" + }, + "responses": { + "200": { + "body": { + "name": "1.0", + "type": "Microsoft.ServiceFabric/managedClusters/applicationTypes/versions", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applicationTypes/myAppType/versions/1.0", + "properties": { + "appPackageUrl": "http://fakelink.test.com/MyAppType", + "provisioningState": "Creating" + } + }, + "headers": {} + }, + "202": { + "body": { + "name": "1.0", + "type": "Microsoft.ServiceFabric/managedClusters/applicationTypes/versions", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applicationTypes/myAppType/versions/1.0", + "properties": { + "appPackageUrl": "http://fakelink.test.com/MyAppType", + "provisioningState": "Updating" + } + }, + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview", + "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/9c2ce367-47ea-43de-b69e-c5a423da4557?api-version=2025-10-01-preview" + } + } + }, + "operationId": "ApplicationTypeVersions_CreateOrUpdate", + "title": "Put an application type version" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/DeallocateNodes_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/DeallocateNodes_example.json new file mode 100644 index 000000000000..6f504cfc6041 --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/DeallocateNodes_example.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "clusterName": "myCluster", + "nodeTypeName": "BE", + "parameters": { + "nodes": [ + "BE_0", + "BE_1" + ] + }, + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview", + "Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview" + } + } + }, + "operationId": "NodeTypes_Deallocate", + "title": "Deallocate nodes" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/DeleteNodes_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/DeleteNodes_example.json new file mode 100644 index 000000000000..f78e66b000f8 --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/DeleteNodes_example.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "clusterName": "myCluster", + "nodeTypeName": "BE", + "parameters": { + "nodes": [ + "BE_0", + "BE_3" + ] + }, + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview", + "Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview" + } + } + }, + "operationId": "NodeTypes_DeleteNode", + "title": "Delete nodes" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ManagedApplyMaintenanceWindowPost_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ManagedApplyMaintenanceWindowPost_example.json new file mode 100644 index 000000000000..13a2380b96dc --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ManagedApplyMaintenanceWindowPost_example.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "clusterName": "mycluster1", + "resourceGroupName": "resourceGroup1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {} + }, + "operationId": "managedApplyMaintenanceWindow_Post", + "title": "Apply Maintenance Window Status" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ManagedClusterDeleteOperation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ManagedClusterDeleteOperation_example.json new file mode 100644 index 000000000000..5939027b06fc --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ManagedClusterDeleteOperation_example.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "clusterName": "myCluster", + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview" + } + }, + "204": {} + }, + "operationId": "ManagedClusters_Delete", + "title": "Delete a cluster" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ManagedClusterGetOperation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ManagedClusterGetOperation_example.json new file mode 100644 index 000000000000..28af79481a9d --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ManagedClusterGetOperation_example.json @@ -0,0 +1,76 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "clusterName": "myCluster", + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myCluster", + "type": "Microsoft.ServiceFabric/managedClusters", + "etag": "W/\"636462502169240745\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedClusters/myCluster", + "location": "eastus", + "properties": { + "adminUserName": "vmadmin", + "clientConnectionPort": 19000, + "clusterCertificateThumbprints": [ + "12599211F8F14C90AFA9532AD79A6F2CA1C00622" + ], + "clusterCodeVersion": "7.1.168.9494", + "clusterId": "92584666-9889-4ae8-8d02-91902923d37f", + "clusterState": "WaitingForNodes", + "clusterUpgradeCadence": "Wave0", + "clusterUpgradeMode": "Automatic", + "dnsName": "myCluster", + "fabricSettings": [ + { + "name": "ManagedIdentityTokenService", + "parameters": [ + { + "name": "IsEnabled", + "value": "true" + } + ] + } + ], + "fqdn": "MyCluster.eastus.cloudapp.azure.com", + "httpGatewayConnectionPort": 19080, + "loadBalancingRules": [ + { + "backendPort": 80, + "frontendPort": 80, + "probePort": 80, + "probeProtocol": "http", + "protocol": "http" + }, + { + "backendPort": 443, + "frontendPort": 443, + "probePort": 443, + "probeProtocol": "http", + "protocol": "http" + }, + { + "backendPort": 10000, + "frontendPort": 10000, + "probePort": 10000, + "probeProtocol": "tcp", + "protocol": "tcp" + } + ], + "provisioningState": "Succeeded" + }, + "sku": { + "name": "Standard" + }, + "tags": {} + }, + "headers": {} + } + }, + "operationId": "ManagedClusters_Get", + "title": "Get a cluster" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ManagedClusterListByResourceGroupOperation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ManagedClusterListByResourceGroupOperation_example.json new file mode 100644 index 000000000000..1ed82e9c01de --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ManagedClusterListByResourceGroupOperation_example.json @@ -0,0 +1,97 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "nextLink": "http://examplelink.com", + "value": [ + { + "name": "myCluster", + "type": "Microsoft.ServiceFabric/managedClusters", + "etag": "W/\"636462502169240745\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedClusters/myCluster", + "location": "eastus", + "properties": { + "adminUserName": "vmadmin", + "clientConnectionPort": 19000, + "clusterCertificateThumbprints": [ + "12599211F8F14C90AFA9532AD79A6F2CA1C00622" + ], + "clusterCodeVersion": "7.1.168.9494", + "clusterId": "92584666-9889-4ae8-8d02-91902923d37f", + "clusterState": "WaitingForNodes", + "clusterUpgradeCadence": "Wave0", + "clusterUpgradeMode": "Automatic", + "dnsName": "myCluster", + "fabricSettings": [ + { + "name": "ManagedIdentityTokenService", + "parameters": [ + { + "name": "IsEnabled", + "value": "true" + } + ] + } + ], + "fqdn": "MyCluster.eastus.cloudapp.azure.com", + "httpGatewayConnectionPort": 19080, + "loadBalancingRules": [], + "provisioningState": "Succeeded" + }, + "sku": { + "name": "Standard" + }, + "tags": {} + }, + { + "name": "myCluster2", + "type": "Microsoft.ServiceFabric/managedClusters", + "etag": "W/\"636462502164040075\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedClusters/myCluster2", + "location": "eastus", + "properties": { + "adminUserName": "vmadmin", + "clientConnectionPort": 19000, + "clusterCertificateThumbprints": [ + "12599211F8F14C90AFA9532AD79A6F2CA1C00622" + ], + "clusterCodeVersion": "7.1.168.9494", + "clusterId": "2747e469-b24e-4039-8a0a-46151419523f", + "clusterState": "WaitingForNodes", + "clusterUpgradeCadence": "Wave0", + "clusterUpgradeMode": "Automatic", + "dnsName": "myCluster2", + "fabricSettings": [ + { + "name": "ManagedIdentityTokenService", + "parameters": [ + { + "name": "IsEnabled", + "value": "true" + } + ] + } + ], + "fqdn": "MyCluster.eastus.cloudapp.azure.com", + "httpGatewayConnectionPort": 19080, + "loadBalancingRules": [], + "provisioningState": "Succeeded" + }, + "sku": { + "name": "Standard" + }, + "tags": {} + } + ] + }, + "headers": {} + } + }, + "operationId": "ManagedClusters_ListByResourceGroup", + "title": "List cluster by resource group" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ManagedClusterListBySubscriptionOperation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ManagedClusterListBySubscriptionOperation_example.json new file mode 100644 index 000000000000..a3a8188f8b0e --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ManagedClusterListBySubscriptionOperation_example.json @@ -0,0 +1,96 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "nextLink": "http://examplelink.com", + "value": [ + { + "name": "myCluster", + "type": "Microsoft.ServiceFabric/managedClusters", + "etag": "W/\"636462502169240745\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedClusters/myCluster", + "location": "eastus", + "properties": { + "adminUserName": "vmadmin", + "clientConnectionPort": 19000, + "clusterCertificateThumbprints": [ + "12599211F8F14C90AFA9532AD79A6F2CA1C00622" + ], + "clusterCodeVersion": "7.1.168.9494", + "clusterId": "92584666-9889-4ae8-8d02-91902923d37f", + "clusterState": "WaitingForNodes", + "clusterUpgradeCadence": "Wave0", + "clusterUpgradeMode": "Automatic", + "dnsName": "myCluster", + "fabricSettings": [ + { + "name": "ManagedIdentityTokenService", + "parameters": [ + { + "name": "IsEnabled", + "value": "true" + } + ] + } + ], + "fqdn": "MyCluster.eastus.cloudapp.azure.com", + "httpGatewayConnectionPort": 19080, + "loadBalancingRules": [], + "provisioningState": "Succeeded" + }, + "sku": { + "name": "Standard" + }, + "tags": {} + }, + { + "name": "myCluster2", + "type": "Microsoft.ServiceFabric/managedClusters", + "etag": "W/\"636462502164040075\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedClusters/myCluster2", + "location": "eastus", + "properties": { + "adminUserName": "vmadmin", + "clientConnectionPort": 19000, + "clusterCertificateThumbprints": [ + "12599211F8F14C90AFA9532AD79A6F2CA1C00622" + ], + "clusterCodeVersion": "7.1.168.9494", + "clusterId": "2747e469-b24e-4039-8a0a-46151419523f", + "clusterState": "WaitingForNodes", + "clusterUpgradeCadence": "Wave0", + "clusterUpgradeMode": "Automatic", + "dnsName": "myCluster2", + "fabricSettings": [ + { + "name": "ManagedIdentityTokenService", + "parameters": [ + { + "name": "IsEnabled", + "value": "true" + } + ] + } + ], + "fqdn": "MyCluster.eastus.cloudapp.azure.com", + "httpGatewayConnectionPort": 19080, + "loadBalancingRules": [], + "provisioningState": "Succeeded" + }, + "sku": { + "name": "Standard" + }, + "tags": {} + } + ] + }, + "headers": {} + } + }, + "operationId": "ManagedClusters_ListBySubscription", + "title": "List managed clusters" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ManagedClusterPatchOperation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ManagedClusterPatchOperation_example.json new file mode 100644 index 000000000000..21f56299152c --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ManagedClusterPatchOperation_example.json @@ -0,0 +1,209 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "clusterName": "myCluster", + "parameters": { + "tags": { + "a": "b" + } + }, + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myCluster", + "type": "Microsoft.ServiceFabric/managedClusters", + "etag": "W/\"636462502169240745\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedClusters/myCluster", + "location": "eastus", + "properties": { + "addonFeatures": [ + "DnsService", + "BackupRestoreService", + "ResourceMonitorService" + ], + "adminUserName": "vmadmin", + "allowRdpAccess": true, + "clientConnectionPort": 19001, + "clusterCertificateThumbprints": [ + "12599211F8F14C90AFA9532AD79A6F2CA1C00622" + ], + "clusterCodeVersion": "7.1.168.9494", + "clusterId": "92584666-9889-4ae8-8d02-91902923d37f", + "clusterState": "WaitingForNodes", + "clusterUpgradeCadence": "Wave0", + "clusterUpgradeMode": "Automatic", + "dnsName": "myCluster", + "enableAutoOSUpgrade": true, + "fabricSettings": [ + { + "name": "ManagedIdentityTokenService", + "parameters": [ + { + "name": "IsEnabled", + "value": "false" + } + ] + } + ], + "fqdn": "MyCluster.eastus.cloudapp.azure.com", + "httpGatewayConnectionPort": 19081, + "loadBalancingRules": [ + { + "backendPort": 80, + "frontendPort": 80, + "probePort": 80, + "probeProtocol": "http", + "protocol": "http" + }, + { + "backendPort": 443, + "frontendPort": 443, + "probePort": 443, + "probeProtocol": "http", + "protocol": "http" + }, + { + "backendPort": 10000, + "frontendPort": 10000, + "probePort": 10000, + "probeProtocol": "http", + "protocol": "tcp" + } + ], + "networkSecurityRules": [ + { + "name": "TestName", + "description": "Test description", + "access": "allow", + "destinationAddressPrefixes": [ + "*" + ], + "destinationPortRanges": [ + "*" + ], + "direction": "inbound", + "priority": 1010, + "sourceAddressPrefixes": [ + "*" + ], + "sourcePortRanges": [ + "*" + ], + "protocol": "tcp" + } + ], + "provisioningState": "Succeeded" + }, + "sku": { + "name": "Standard" + }, + "tags": { + "a": "b" + } + } + }, + "202": { + "body": { + "name": "myCluster", + "type": "Microsoft.ServiceFabric/managedClusters", + "etag": "W/\"636462502169240745\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedClusters/myCluster", + "location": "eastus", + "properties": { + "addonFeatures": [ + "DnsService", + "BackupRestoreService", + "ResourceMonitorService" + ], + "adminUserName": "vmadmin", + "allowRdpAccess": true, + "clientConnectionPort": 19001, + "clusterCertificateThumbprints": [ + "12599211F8F14C90AFA9532AD79A6F2CA1C00622" + ], + "clusterCodeVersion": "7.1.168.9494", + "clusterId": "92584666-9889-4ae8-8d02-91902923d37f", + "clusterState": "WaitingForNodes", + "clusterUpgradeCadence": "Wave0", + "clusterUpgradeMode": "Automatic", + "dnsName": "myCluster", + "enableAutoOSUpgrade": true, + "fabricSettings": [ + { + "name": "ManagedIdentityTokenService", + "parameters": [ + { + "name": "IsEnabled", + "value": "false" + } + ] + } + ], + "fqdn": "MyCluster.eastus.cloudapp.azure.com", + "httpGatewayConnectionPort": 19081, + "loadBalancingRules": [ + { + "backendPort": 80, + "frontendPort": 80, + "probePort": 80, + "probeProtocol": "http", + "protocol": "http" + }, + { + "backendPort": 443, + "frontendPort": 443, + "probePort": 443, + "probeProtocol": "http", + "protocol": "http" + }, + { + "backendPort": 10000, + "frontendPort": 10000, + "probePort": 10000, + "probeProtocol": "http", + "protocol": "tcp" + } + ], + "networkSecurityRules": [ + { + "name": "TestName", + "description": "Test description", + "access": "allow", + "destinationAddressPrefixes": [ + "*" + ], + "destinationPortRanges": [ + "*" + ], + "direction": "inbound", + "priority": 1010, + "sourceAddressPrefixes": [ + "*" + ], + "sourcePortRanges": [ + "*" + ], + "protocol": "tcp" + } + ], + "provisioningState": "Succeeded" + }, + "sku": { + "name": "Standard" + }, + "tags": { + "a": "b" + } + }, + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview", + "Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview" + } + } + }, + "operationId": "ManagedClusters_Update", + "title": "Patch a managed cluster" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ManagedClusterPutOperation_example_max.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ManagedClusterPutOperation_example_max.json new file mode 100644 index 000000000000..44a9f40e1bc0 --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ManagedClusterPutOperation_example_max.json @@ -0,0 +1,498 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "clusterName": "mycluster", + "parameters": { + "location": "eastus", + "properties": { + "addonFeatures": [ + "DnsService", + "BackupRestoreService", + "ResourceMonitorService" + ], + "adminPassword": "{vm-password}", + "adminUserName": "vmadmin", + "allocatedOutboundPorts": 0, + "allowRdpAccess": true, + "applicationTypeVersionsCleanupPolicy": { + "maxUnusedVersionsToKeep": 3 + }, + "autoGeneratedDomainNameLabelScope": "SubscriptionReuse", + "auxiliarySubnets": [ + { + "name": "testSubnet1", + "enableIpv6": true, + "networkSecurityGroupId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/networkSecurityGroups/sn1", + "privateEndpointNetworkPolicies": "enabled", + "privateLinkServiceNetworkPolicies": "enabled" + } + ], + "clientConnectionPort": 19000, + "clusterCodeVersion": "7.1.168.9494", + "clusterUpgradeMode": "Manual", + "ddosProtectionPlanId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/ddosProtectionPlans/myDDoSProtectionPlan", + "dnsName": "mycluster", + "enableAutoOSUpgrade": true, + "enableHttpGatewayExclusiveAuthMode": true, + "enableIpv6": true, + "fabricSettings": [ + { + "name": "ManagedIdentityTokenService", + "parameters": [ + { + "name": "IsEnabled", + "value": "true" + } + ] + } + ], + "httpGatewayConnectionPort": 19080, + "httpGatewayTokenAuthConnectionPort": 19081, + "ipTags": [ + { + "ipTagType": "FirstPartyUsage", + "tag": "SQL" + } + ], + "loadBalancingRules": [ + { + "backendPort": 80, + "frontendPort": 80, + "probePort": 80, + "probeProtocol": "http", + "protocol": "http" + }, + { + "backendPort": 443, + "frontendPort": 443, + "probePort": 443, + "probeProtocol": "http", + "protocol": "http" + }, + { + "backendPort": 10000, + "frontendPort": 10000, + "loadDistribution": "Default", + "probePort": 10000, + "probeProtocol": "http", + "protocol": "tcp" + } + ], + "networkSecurityRules": [ + { + "name": "TestName", + "description": "Test description", + "access": "allow", + "destinationAddressPrefixes": [ + "*" + ], + "destinationPortRanges": [ + "*" + ], + "direction": "inbound", + "priority": 1010, + "sourceAddressPrefixes": [ + "*" + ], + "sourcePortRanges": [ + "*" + ], + "protocol": "tcp" + }, + { + "name": "AllowARM", + "access": "allow", + "destinationAddressPrefix": "*", + "destinationPortRange": "33500-33699", + "direction": "inbound", + "priority": 2002, + "sourceAddressPrefix": "AzureResourceManager", + "sourcePortRange": "*", + "protocol": "*" + } + ], + "publicIPPrefixId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.Network/publicIPPrefixes/myPublicIPPrefix", + "publicIPv6PrefixId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.Network/publicIPPrefixes/myPublicIPv6Prefix", + "serviceEndpoints": [ + { + "locations": [ + "eastus2", + "usnorth" + ], + "service": "Microsoft.Storage", + "networkIdentifier": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/publicIPAddresses/myPublicIP" + } + ], + "upgradeDescription": { + "deltaHealthPolicy": { + "maxPercentDeltaUnhealthyApplications": 40, + "maxPercentDeltaUnhealthyNodes": 20, + "maxPercentUpgradeDomainDeltaUnhealthyNodes": 40 + }, + "forceRestart": false, + "healthPolicy": { + "maxPercentUnhealthyApplications": 30, + "maxPercentUnhealthyNodes": 10 + }, + "monitoringPolicy": { + "healthCheckRetryTimeout": "00:55:00", + "healthCheckStableDuration": "00:45:00", + "healthCheckWaitDuration": "00:05:00", + "upgradeDomainTimeout": "03:00:00", + "upgradeTimeout": "12:00:00" + } + }, + "useCustomVnet": true, + "zonalResiliency": true, + "zonalUpdateMode": "Fast", + "enableOutboundOnlyNodeTypes": true + }, + "sku": { + "name": "Basic" + }, + "tags": {} + }, + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myCluster", + "type": "Microsoft.ServiceFabric/managedClusters", + "etag": "W/\"636462502169240745\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedClusters/myCluster", + "location": "eastus", + "properties": { + "addonFeatures": [ + "DnsService", + "BackupRestoreService", + "ResourceMonitorService" + ], + "adminUserName": "vmadmin", + "allocatedOutboundPorts": 0, + "allowRdpAccess": true, + "applicationTypeVersionsCleanupPolicy": { + "maxUnusedVersionsToKeep": 3 + }, + "autoGeneratedDomainNameLabelScope": "SubscriptionReuse", + "auxiliarySubnets": [ + { + "name": "testSubnet1", + "enableIpv6": true, + "networkSecurityGroupId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/networkSecurityGroups/sn1", + "privateEndpointNetworkPolicies": "enabled", + "privateLinkServiceNetworkPolicies": "enabled" + } + ], + "clientConnectionPort": 19000, + "clusterCertificateThumbprints": [ + "12599211F8F14C90AFA9532AD79A6F2CA1C00622" + ], + "clusterCodeVersion": "7.1.168.9494", + "clusterId": "92584666-9889-4ae8-8d02-91902923d37f", + "clusterState": "WaitingForNodes", + "clusterUpgradeMode": "Manual", + "ddosProtectionPlanId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/ddosProtectionPlans/myDDoSProtectionPlan", + "dnsName": "mycluster", + "enableAutoOSUpgrade": true, + "enableHttpGatewayExclusiveAuthMode": true, + "enableIpv6": true, + "enableServicePublicIP": true, + "fabricSettings": [ + { + "name": "ManagedIdentityTokenService", + "parameters": [ + { + "name": "IsEnabled", + "value": "true" + } + ] + } + ], + "fqdn": "mycluster.eastus.cloudapp.azure.com", + "httpGatewayConnectionPort": 19080, + "httpGatewayTokenAuthConnectionPort": 19081, + "ipTags": [ + { + "ipTagType": "FirstPartyUsage", + "tag": "SQL" + } + ], + "ipv6Address": "0000:0000:0000:0000:0000:0000:0000:0000", + "loadBalancingRules": [ + { + "backendPort": 80, + "frontendPort": 80, + "probePort": 80, + "probeProtocol": "http", + "protocol": "http" + }, + { + "backendPort": 443, + "frontendPort": 443, + "probePort": 443, + "probeProtocol": "http", + "protocol": "http" + }, + { + "backendPort": 10000, + "frontendPort": 10000, + "loadDistribution": "Default", + "probePort": 10000, + "probeProtocol": "tcp", + "protocol": "tcp" + } + ], + "networkSecurityRules": [ + { + "name": "TestName", + "description": "Test description", + "access": "allow", + "destinationAddressPrefixes": [ + "*" + ], + "destinationPortRanges": [ + "*" + ], + "direction": "inbound", + "priority": 1010, + "sourceAddressPrefixes": [ + "*" + ], + "sourcePortRanges": [ + "*" + ], + "protocol": "tcp" + }, + { + "name": "AllowARM", + "access": "allow", + "destinationAddressPrefix": "*", + "destinationPortRange": "33500-33699", + "direction": "inbound", + "priority": 2002, + "sourceAddressPrefix": "AzureResourceManager", + "sourcePortRange": "*", + "protocol": "*" + } + ], + "provisioningState": "Creating", + "publicIPPrefixId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.Network/publicIPPrefixes/myPublicIPPrefix", + "publicIPv6PrefixId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.Network/publicIPPrefixes/myPublicIPv6Prefix", + "serviceEndpoints": [ + { + "locations": [ + "eastus2", + "usnorth" + ], + "service": "Microsoft.Storage", + "networkIdentifier": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/publicIPAddresses/myPublicIP" + } + ], + "upgradeDescription": { + "deltaHealthPolicy": { + "maxPercentDeltaUnhealthyApplications": 40, + "maxPercentDeltaUnhealthyNodes": 20, + "maxPercentUpgradeDomainDeltaUnhealthyNodes": 40 + }, + "forceRestart": false, + "healthPolicy": { + "maxPercentUnhealthyApplications": 30, + "maxPercentUnhealthyNodes": 10 + }, + "monitoringPolicy": { + "healthCheckRetryTimeout": "00:55:00", + "healthCheckStableDuration": "00:45:00", + "healthCheckWaitDuration": "00:05:00", + "upgradeDomainTimeout": "03:00:00", + "upgradeTimeout": "12:00:00" + }, + "upgradeReplicaSetCheckTimeout": "49710.06:28:16" + }, + "useCustomVnet": true, + "zonalResiliency": true, + "zonalUpdateMode": "Fast", + "enableOutboundOnlyNodeTypes": true + }, + "sku": { + "name": "Basic" + }, + "tags": {} + }, + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview", + "Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview" + } + }, + "202": { + "body": { + "name": "mycluster", + "type": "Microsoft.ServiceFabric/managedClusters", + "etag": "W/\"636462502169240745\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedClusters/myCluster", + "location": "eastus", + "properties": { + "addonFeatures": [ + "DnsService", + "BackupRestoreService", + "ResourceMonitorService" + ], + "adminUserName": "vmadmin", + "allocatedOutboundPorts": 0, + "allowRdpAccess": true, + "applicationTypeVersionsCleanupPolicy": { + "maxUnusedVersionsToKeep": 3 + }, + "autoGeneratedDomainNameLabelScope": "SubscriptionReuse", + "auxiliarySubnets": [ + { + "name": "testSubnet1", + "enableIpv6": true, + "networkSecurityGroupId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/networkSecurityGroups/sn1", + "privateEndpointNetworkPolicies": "enabled", + "privateLinkServiceNetworkPolicies": "enabled" + } + ], + "clientConnectionPort": 19000, + "clusterCertificateThumbprints": [ + "12599211F8F14C90AFA9532AD79A6F2CA1C00622" + ], + "clusterCodeVersion": "7.1.168.9494", + "clusterId": "92584666-9889-4ae8-8d02-91902923d37f", + "clusterState": "WaitingForNodes", + "clusterUpgradeMode": "Manual", + "ddosProtectionPlanId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/ddosProtectionPlans/myDDoSProtectionPlan", + "dnsName": "mycluster", + "enableAutoOSUpgrade": true, + "enableHttpGatewayExclusiveAuthMode": true, + "enableIpv6": true, + "enableServicePublicIP": true, + "fabricSettings": [ + { + "name": "ManagedIdentityTokenService", + "parameters": [ + { + "name": "IsEnabled", + "value": "true" + } + ] + } + ], + "fqdn": "mycluster.eastus.cloudapp.azure.com", + "httpGatewayConnectionPort": 19080, + "httpGatewayTokenAuthConnectionPort": 19081, + "ipTags": [ + { + "ipTagType": "FirstPartyUsage", + "tag": "SQL" + } + ], + "loadBalancingRules": [ + { + "backendPort": 80, + "frontendPort": 80, + "probePort": 80, + "probeProtocol": "http", + "protocol": "http" + }, + { + "backendPort": 443, + "frontendPort": 443, + "probePort": 443, + "probeProtocol": "http", + "protocol": "http" + }, + { + "backendPort": 10000, + "frontendPort": 10000, + "loadDistribution": "Default", + "probePort": 10000, + "probeProtocol": "tcp", + "protocol": "tcp" + } + ], + "networkSecurityRules": [ + { + "name": "TestName", + "description": "Test description", + "access": "allow", + "destinationAddressPrefixes": [ + "*" + ], + "destinationPortRanges": [ + "*" + ], + "direction": "inbound", + "priority": 1010, + "sourceAddressPrefixes": [ + "*" + ], + "sourcePortRanges": [ + "*" + ], + "protocol": "tcp" + }, + { + "name": "AllowARM", + "access": "allow", + "destinationAddressPrefix": "*", + "destinationPortRange": "33500-33699", + "direction": "inbound", + "priority": 2002, + "sourceAddressPrefix": "AzureResourceManager", + "sourcePortRange": "*", + "protocol": "*" + } + ], + "provisioningState": "Updating", + "publicIPPrefixId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.Network/publicIPPrefixes/myPublicIPPrefix", + "publicIPv6PrefixId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.Network/publicIPPrefixes/myPublicIPv6Prefix", + "serviceEndpoints": [ + { + "locations": [ + "eastus2", + "usnorth" + ], + "service": "Microsoft.Storage", + "networkIdentifier": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/publicIPAddresses/myPublicIP" + } + ], + "upgradeDescription": { + "deltaHealthPolicy": { + "maxPercentDeltaUnhealthyApplications": 40, + "maxPercentDeltaUnhealthyNodes": 20, + "maxPercentUpgradeDomainDeltaUnhealthyNodes": 40 + }, + "forceRestart": false, + "healthPolicy": { + "maxPercentUnhealthyApplications": 30, + "maxPercentUnhealthyNodes": 10 + }, + "monitoringPolicy": { + "healthCheckRetryTimeout": "00:55:00", + "healthCheckStableDuration": "00:45:00", + "healthCheckWaitDuration": "00:05:00", + "upgradeDomainTimeout": "03:00:00", + "upgradeTimeout": "12:00:00" + } + }, + "useCustomVnet": true, + "zonalResiliency": true, + "zonalUpdateMode": "Fast", + "enableOutboundOnlyNodeTypes": true + }, + "sku": { + "name": "Basic" + }, + "tags": {} + }, + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview", + "Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview" + } + } + }, + "operationId": "ManagedClusters_CreateOrUpdate", + "title": "Put a cluster with maximum parameters" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ManagedClusterPutOperation_example_min.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ManagedClusterPutOperation_example_min.json new file mode 100644 index 000000000000..e3b6aa082bf6 --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ManagedClusterPutOperation_example_min.json @@ -0,0 +1,124 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "clusterName": "myCluster", + "parameters": { + "location": "eastus", + "properties": { + "adminPassword": "{vm-password}", + "adminUserName": "vmadmin", + "clusterUpgradeCadence": "Wave1", + "clusterUpgradeMode": "Automatic", + "dnsName": "myCluster", + "fabricSettings": [ + { + "name": "ManagedIdentityTokenService", + "parameters": [ + { + "name": "IsEnabled", + "value": "true" + } + ] + } + ] + }, + "sku": { + "name": "Basic" + } + }, + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myCluster", + "type": "Microsoft.ServiceFabric/managedClusters", + "etag": "W/\"636462502169240745\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedClusters/myCluster", + "location": "eastus", + "properties": { + "adminUserName": "vmadmin", + "clientConnectionPort": 19000, + "clusterCertificateThumbprints": [ + "12599211F8F14C90AFA9532AD79A6F2CA1C00622" + ], + "clusterId": "92584666-9889-4ae8-8d02-91902923d37f", + "clusterState": "WaitingForNodes", + "clusterUpgradeCadence": "Wave1", + "clusterUpgradeMode": "Automatic", + "dnsName": "myCluster", + "fabricSettings": [ + { + "name": "ManagedIdentityTokenService", + "parameters": [ + { + "name": "IsEnabled", + "value": "true" + } + ] + } + ], + "fqdn": "MyCluster.eastus.cloudapp.azure.com", + "httpGatewayConnectionPort": 19080, + "loadBalancingRules": [], + "provisioningState": "Creating" + }, + "sku": { + "name": "Basic" + }, + "tags": {} + }, + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview", + "Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview" + } + }, + "202": { + "body": { + "name": "myCluster", + "type": "Microsoft.ServiceFabric/managedClusters", + "etag": "W/\"636462502169240745\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedClusters/myCluster", + "location": "eastus", + "properties": { + "adminUserName": "vmadmin", + "clientConnectionPort": 19000, + "clusterCertificateThumbprints": [ + "12599211F8F14C90AFA9532AD79A6F2CA1C00622" + ], + "clusterId": "92584666-9889-4ae8-8d02-91902923d37f", + "clusterState": "WaitingForNodes", + "clusterUpgradeCadence": "Wave1", + "clusterUpgradeMode": "Automatic", + "dnsName": "myCluster", + "fabricSettings": [ + { + "name": "ManagedIdentityTokenService", + "parameters": [ + { + "name": "IsEnabled", + "value": "true" + } + ] + } + ], + "fqdn": "MyCluster.eastus.cloudapp.azure.com", + "httpGatewayConnectionPort": 19080, + "loadBalancingRules": [], + "provisioningState": "Updating" + }, + "sku": { + "name": "Basic" + }, + "tags": {} + }, + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview", + "Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview" + } + } + }, + "operationId": "ManagedClusters_CreateOrUpdate", + "title": "Put a cluster with minimum parameters" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ManagedClusterVersionGetByEnvironment_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ManagedClusterVersionGetByEnvironment_example.json new file mode 100644 index 000000000000..17a3027669ca --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ManagedClusterVersionGetByEnvironment_example.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "clusterVersion": "7.2.477.9590", + "environment": "Windows", + "location": "eastus", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "7.2.477.9590", + "type": "Microsoft.ServiceFabric/locations/environments/managedClusterVersions", + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/environments/Windows/managedClusterVersions/7.2.477.9590", + "properties": { + "clusterCodeVersion": "7.2.477.9590", + "osType": "Windows", + "supportExpiryUtc": "2021-11-30T00:00:00" + } + }, + "headers": {} + } + }, + "operationId": "ManagedClusterVersion_GetByEnvironment", + "title": "Get cluster version by environment" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ManagedClusterVersionGet_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ManagedClusterVersionGet_example.json new file mode 100644 index 000000000000..5346cdad5c31 --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ManagedClusterVersionGet_example.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "clusterVersion": "7.2.477.9590", + "location": "eastus", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "7.2.477.9590", + "type": "Microsoft.ServiceFabric/locations/environments/managedClusterVersions", + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/environments/Windows/managedClusterVersions/7.2.477.9590", + "properties": { + "clusterCodeVersion": "7.2.477.9590", + "osType": "Windows", + "supportExpiryUtc": "2021-11-30T00:00:00" + } + }, + "headers": {} + } + }, + "operationId": "ManagedClusterVersion_Get", + "title": "Get cluster version" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ManagedClusterVersionListByEnvironment.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ManagedClusterVersionListByEnvironment.json new file mode 100644 index 000000000000..d1ad341ab771 --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ManagedClusterVersionListByEnvironment.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "environment": "Windows", + "location": "eastus", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": [ + { + "name": "7.2.457.9590", + "type": "Microsoft.ServiceFabric/locations/environments/managedClusterVersions", + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/environments/Windows/managedClusterVersions/7.2.457.9590", + "properties": { + "clusterCodeVersion": "7.2.457.9590", + "osType": "Windows", + "supportExpiryUtc": "2021-11-30T00:00:00" + } + }, + { + "name": "7.2.477.9590", + "type": "Microsoft.ServiceFabric/locations/environments/managedClusterVersions", + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/environments/Windows/managedClusterVersions/7.2.477.9590", + "properties": { + "clusterCodeVersion": "7.2.477.9590", + "osType": "Windows", + "supportExpiryUtc": "2021-11-30T00:00:00" + } + } + ], + "headers": {} + } + }, + "operationId": "ManagedClusterVersion_ListByEnvironment", + "title": "List cluster versions by environment" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ManagedClusterVersionList_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ManagedClusterVersionList_example.json new file mode 100644 index 000000000000..e5cb57b046f4 --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ManagedClusterVersionList_example.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "location": "eastus", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": [ + { + "name": "7.2.457.9590", + "type": "Microsoft.ServiceFabric/locations/environments/managedClusterVersions", + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/environments/Windows/managedClusterVersions/7.2.457.9590", + "properties": { + "clusterCodeVersion": "7.2.457.9590", + "osType": "Windows", + "supportExpiryUtc": "2021-11-30T00:00:00" + } + }, + { + "name": "7.2.477.9590", + "type": "Microsoft.ServiceFabric/locations/environments/managedClusterVersions", + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/environments/Windows/managedClusterVersions/7.2.477.9590", + "properties": { + "clusterCodeVersion": "7.2.477.9590", + "osType": "Windows", + "supportExpiryUtc": "2021-11-30T00:00:00" + } + } + ], + "headers": {} + } + }, + "operationId": "ManagedClusterVersion_List", + "title": "List cluster versions" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ManagedMaintenanceWindowStatusGet_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ManagedMaintenanceWindowStatusGet_example.json new file mode 100644 index 000000000000..e4aad758db7c --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ManagedMaintenanceWindowStatusGet_example.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "clusterName": "mycluster1", + "resourceGroupName": "resourceGroup1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "canApplyUpdates": true, + "isRegionReady": true, + "isWindowActive": true, + "isWindowEnabled": false, + "lastWindowEndTimeUTC": "2023-04-30T00:00:00", + "lastWindowStartTimeUTC": "2023-04-30T00:00:00", + "lastWindowStatusUpdateAtUTC": "2023-04-30T00:00:00" + }, + "headers": {} + } + }, + "operationId": "managedMaintenanceWindowStatus_Get", + "title": "Get Maintenance Window Status" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/NodeTypeDeleteOperation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/NodeTypeDeleteOperation_example.json new file mode 100644 index 000000000000..e20cb1d59b55 --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/NodeTypeDeleteOperation_example.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "clusterName": "myCluster", + "nodeTypeName": "BE", + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview" + } + }, + "204": {} + }, + "operationId": "NodeTypes_Delete", + "title": "Delete a node type" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/NodeTypeGetOperation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/NodeTypeGetOperation_example.json new file mode 100644 index 000000000000..38d056b60065 --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/NodeTypeGetOperation_example.json @@ -0,0 +1,49 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "clusterName": "myCluster", + "nodeTypeName": "FE", + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "FE", + "type": "Microsoft.ServiceFabric/managedClusters/nodeTypes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedClusters/myCluster/nodeTypes/FE", + "properties": { + "capacities": {}, + "dataDiskSizeGB": 100, + "dataDiskType": "StandardSSD_LRS", + "isPrimary": true, + "isStateless": false, + "placementProperties": {}, + "vmImageOffer": "WindowsServer", + "vmImagePublisher": "MicrosoftWindowsServer", + "vmImageSku": "2016-Datacenter", + "vmImageVersion": "latest", + "vmInstanceCount": 5, + "vmSecrets": [ + { + "sourceVault": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.KeyVault/vaults/myVault" + }, + "vaultCertificates": [ + { + "certificateStore": "My", + "certificateUrl": "https://myVault.vault.azure.net:443/secrets/myCert/ef1a31d39e1f46bca33def54b6cda54c" + } + ] + } + ], + "vmSize": "Standard_D2" + }, + "tags": {} + }, + "headers": {} + } + }, + "operationId": "NodeTypes_Get", + "title": "Get a node type" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/NodeTypeListOperation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/NodeTypeListOperation_example.json new file mode 100644 index 000000000000..678c2b903359 --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/NodeTypeListOperation_example.json @@ -0,0 +1,95 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "clusterName": "myCluster", + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "nextLink": "http://examplelink.com", + "value": [ + { + "name": "FE", + "type": "Microsoft.ServiceFabric/managedClusters/nodeTypes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedClusters/myCluster/nodeTypes/FE", + "properties": { + "capacities": {}, + "dataDiskSizeGB": 100, + "dataDiskType": "StandardSSD_LRS", + "isPrimary": true, + "isStateless": false, + "placementProperties": {}, + "vmImageOffer": "WindowsServer", + "vmImagePublisher": "MicrosoftWindowsServer", + "vmImageSku": "2016-Datacenter", + "vmImageVersion": "latest", + "vmInstanceCount": 5, + "vmSize": "Standard_D2" + }, + "sku": { + "name": "Standard_P0", + "capacity": 5, + "tier": "Standard" + }, + "tags": {} + }, + { + "name": "BE", + "type": "Microsoft.ServiceFabric/managedClusters/nodeTypes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedClusters/myCluster/nodeTypes/BE", + "properties": { + "capacities": {}, + "dataDiskSizeGB": 200, + "dataDiskType": "Premium_LRS", + "isPrimary": false, + "isStateless": false, + "placementProperties": {}, + "vmExtensions": [ + { + "name": "Microsoft.Azure.Geneva.GenevaMonitoring", + "properties": { + "type": "GenevaMonitoring", + "autoUpgradeMinorVersion": true, + "publisher": "Microsoft.Azure.Geneva", + "settings": {}, + "typeHandlerVersion": "2.0" + } + } + ], + "vmImageOffer": "WindowsServer", + "vmImagePublisher": "MicrosoftWindowsServer", + "vmImageSku": "2016-Datacenter-Server-Core", + "vmImageVersion": "latest", + "vmInstanceCount": 10, + "vmSecrets": [ + { + "sourceVault": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.KeyVault/vaults/myVault" + }, + "vaultCertificates": [ + { + "certificateStore": "My", + "certificateUrl": "https://myVault.vault.azure.net:443/secrets/myCert/ef1a31d39e1f46bca33def54b6cda54c" + } + ] + } + ], + "vmSize": "Standard_DS3" + }, + "sku": { + "name": "Standard_S0", + "capacity": 10, + "tier": "Standard" + }, + "tags": {} + } + ] + }, + "headers": {} + } + }, + "operationId": "NodeTypes_ListByManagedClusters", + "title": "List node type of the specified managed cluster" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/NodeTypePatchOperationAutoScale_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/NodeTypePatchOperationAutoScale_example.json new file mode 100644 index 000000000000..210eae5e92cb --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/NodeTypePatchOperationAutoScale_example.json @@ -0,0 +1,95 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "clusterName": "myCluster", + "nodeTypeName": "BE", + "parameters": { + "sku": { + "name": "Standard_S0", + "capacity": 10, + "tier": "Standard" + }, + "tags": { + "a": "b" + } + }, + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "BE", + "type": "Microsoft.ServiceFabric/managedClusters/nodeTypes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedClusters/myCluster/nodeTypes/BE", + "properties": { + "capacities": { + "ClientConnections": "65536" + }, + "dataDiskSizeGB": 200, + "dataDiskType": "StandardSSD_LRS", + "isPrimary": false, + "isStateless": false, + "placementProperties": { + "HasSSD": "true", + "NodeColor": "green", + "SomeProperty": "5" + }, + "provisioningState": "Succeeded", + "vmExtensions": [ + { + "name": "Microsoft.Azure.Geneva.GenevaMonitoring", + "properties": { + "type": "GenevaMonitoring", + "autoUpgradeMinorVersion": true, + "publisher": "Microsoft.Azure.Geneva", + "settings": {}, + "typeHandlerVersion": "2.0" + } + } + ], + "vmImageOffer": "WindowsServer", + "vmImagePublisher": "MicrosoftWindowsServer", + "vmImageSku": "2016-Datacenter-Server-Core", + "vmImageVersion": "latest", + "vmInstanceCount": 10, + "vmManagedIdentity": { + "userAssignedIdentities": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myIdentity" + ] + }, + "vmSecrets": [ + { + "sourceVault": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.KeyVault/vaults/myVault" + }, + "vaultCertificates": [ + { + "certificateStore": "My", + "certificateUrl": "https://myVault.vault.azure.net:443/secrets/myCert/ef1a31d39e1f46bca33def54b6cda54c" + } + ] + } + ], + "vmSize": "Standard_D3" + }, + "sku": { + "name": "Standard_S0", + "capacity": 10, + "tier": "Standard" + }, + "tags": { + "a": "b" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview", + "Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview" + } + } + }, + "operationId": "NodeTypes_Update", + "title": "Patch a node type while auto-scaling" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/NodeTypePatchOperation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/NodeTypePatchOperation_example.json new file mode 100644 index 000000000000..89c172ab1606 --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/NodeTypePatchOperation_example.json @@ -0,0 +1,85 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "clusterName": "myCluster", + "nodeTypeName": "BE", + "parameters": { + "tags": { + "a": "b" + } + }, + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "BE", + "type": "Microsoft.ServiceFabric/managedClusters/nodeTypes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedClusters/myCluster/nodeTypes/BE", + "properties": { + "capacities": { + "ClientConnections": "65536" + }, + "dataDiskSizeGB": 200, + "dataDiskType": "StandardSSD_LRS", + "isPrimary": false, + "isStateless": false, + "placementProperties": { + "HasSSD": "true", + "NodeColor": "green", + "SomeProperty": "5" + }, + "provisioningState": "Succeeded", + "vmExtensions": [ + { + "name": "Microsoft.Azure.Geneva.GenevaMonitoring", + "properties": { + "type": "GenevaMonitoring", + "autoUpgradeMinorVersion": true, + "publisher": "Microsoft.Azure.Geneva", + "settings": {}, + "typeHandlerVersion": "2.0" + } + } + ], + "vmImageOffer": "WindowsServer", + "vmImagePublisher": "MicrosoftWindowsServer", + "vmImageSku": "2016-Datacenter-Server-Core", + "vmImageVersion": "latest", + "vmInstanceCount": 10, + "vmManagedIdentity": { + "userAssignedIdentities": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myIdentity" + ] + }, + "vmSecrets": [ + { + "sourceVault": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.KeyVault/vaults/myVault" + }, + "vaultCertificates": [ + { + "certificateStore": "My", + "certificateUrl": "https://myVault.vault.azure.net:443/secrets/myCert/ef1a31d39e1f46bca33def54b6cda54c" + } + ] + } + ], + "vmSize": "Standard_D3" + }, + "tags": { + "a": "b" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview", + "Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview" + } + } + }, + "operationId": "NodeTypes_Update", + "title": "Patch a node type" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/NodeTypePutOperationAutoScale_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/NodeTypePutOperationAutoScale_example.json new file mode 100644 index 000000000000..055c8ab30281 --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/NodeTypePutOperationAutoScale_example.json @@ -0,0 +1,203 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "clusterName": "myCluster", + "nodeTypeName": "BE", + "parameters": { + "properties": { + "capacities": { + "ClientConnections": "65536" + }, + "dataDiskSizeGB": 200, + "dataDiskType": "Premium_LRS", + "isPrimary": false, + "isStateless": true, + "multiplePlacementGroups": true, + "placementProperties": { + "HasSSD": "true", + "NodeColor": "green", + "SomeProperty": "5" + }, + "vmExtensions": [ + { + "name": "Microsoft.Azure.Geneva.GenevaMonitoring", + "properties": { + "type": "GenevaMonitoring", + "autoUpgradeMinorVersion": true, + "publisher": "Microsoft.Azure.Geneva", + "settings": {}, + "typeHandlerVersion": "2.0" + } + } + ], + "vmImageOffer": "WindowsServer", + "vmImagePublisher": "MicrosoftWindowsServer", + "vmImageSku": "2016-Datacenter-Server-Core", + "vmImageVersion": "latest", + "vmInstanceCount": -1, + "vmManagedIdentity": { + "userAssignedIdentities": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myIdentity", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myIdentity2" + ] + }, + "vmSecrets": [ + { + "sourceVault": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.KeyVault/vaults/myVault" + }, + "vaultCertificates": [ + { + "certificateStore": "My", + "certificateUrl": "https://myVault.vault.azure.net:443/secrets/myCert/ef1a31d39e1f46bca33def54b6cda54c" + } + ] + } + ], + "vmSize": "Standard_DS3" + } + }, + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "BE", + "type": "Microsoft.ServiceFabric/managedClusters/nodeTypes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedClusters/myCluster/nodeTypes/BE", + "properties": { + "capacities": { + "ClientConnections": "65536" + }, + "dataDiskSizeGB": 200, + "dataDiskType": "Premium_LRS", + "isPrimary": false, + "isStateless": true, + "multiplePlacementGroups": true, + "placementProperties": { + "HasSSD": "true", + "NodeColor": "green", + "SomeProperty": "5" + }, + "provisioningState": "Creating", + "vmExtensions": [ + { + "name": "Microsoft.Azure.Geneva.GenevaMonitoring", + "properties": { + "type": "GenevaMonitoring", + "autoUpgradeMinorVersion": true, + "forceUpdateTag": "v.1.0", + "publisher": "Microsoft.Azure.Geneva", + "settings": {}, + "typeHandlerVersion": "2.0" + } + } + ], + "vmImageOffer": "WindowsServer", + "vmImagePublisher": "MicrosoftWindowsServer", + "vmImageSku": "2016-Datacenter-Server-Core", + "vmImageVersion": "latest", + "vmInstanceCount": 10, + "vmManagedIdentity": { + "userAssignedIdentities": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myIdentity", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myIdentity2" + ] + }, + "vmSecrets": [ + { + "sourceVault": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.KeyVault/vaults/myVault" + }, + "vaultCertificates": [ + { + "certificateStore": "My", + "certificateUrl": "https://myVault.vault.azure.net:443/secrets/myCert/ef1a31d39e1f46bca33def54b6cda54c" + } + ] + } + ], + "vmSize": "Standard_DS3" + }, + "sku": { + "name": "Standard_S2", + "capacity": 10, + "tier": "Standard" + }, + "tags": {} + }, + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview", + "Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview" + } + }, + "202": { + "body": { + "name": "BE", + "type": "Microsoft.ServiceFabric/managedClusters/nodeTypes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedClusters/myCluster/nodeTypes/BE", + "properties": { + "capacities": { + "ClientConnections": "65536" + }, + "dataDiskSizeGB": 200, + "dataDiskType": "Premium_LRS", + "isPrimary": false, + "isStateless": true, + "multiplePlacementGroups": true, + "placementProperties": { + "HasSSD": "true", + "NodeColor": "green", + "SomeProperty": "5" + }, + "provisioningState": "Updating", + "vmExtensions": [ + { + "name": "Microsoft.Azure.Geneva.GenevaMonitoring", + "properties": { + "type": "GenevaMonitoring", + "autoUpgradeMinorVersion": true, + "forceUpdateTag": "v.1.0", + "publisher": "Microsoft.Azure.Geneva", + "settings": {}, + "typeHandlerVersion": "2.0" + } + } + ], + "vmImageOffer": "WindowsServer", + "vmImagePublisher": "MicrosoftWindowsServer", + "vmImageSku": "2016-Datacenter-Server-Core", + "vmImageVersion": "latest", + "vmInstanceCount": 10, + "vmSecrets": [ + { + "sourceVault": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.KeyVault/vaults/myVault" + }, + "vaultCertificates": [ + { + "certificateStore": "My", + "certificateUrl": "https://myVault.vault.azure.net:443/secrets/myCert/ef1a31d39e1f46bca33def54b6cda54c" + } + ] + } + ], + "vmSize": "Standard_DS3" + }, + "sku": { + "name": "Standard_S2", + "capacity": 10, + "tier": "Standard" + }, + "tags": {} + }, + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview", + "Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview" + } + } + }, + "operationId": "NodeTypes_CreateOrUpdate", + "title": "Put a node type with auto-scale parameters" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/NodeTypePutOperationCustomImage_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/NodeTypePutOperationCustomImage_example.json new file mode 100644 index 000000000000..a059ef16b660 --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/NodeTypePutOperationCustomImage_example.json @@ -0,0 +1,70 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "clusterName": "myCluster", + "nodeTypeName": "BE", + "parameters": { + "properties": { + "dataDiskSizeGB": 200, + "isPrimary": false, + "vmImageResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-custom-image/providers/Microsoft.Compute/galleries/myCustomImages/images/Win2019DC", + "vmInstanceCount": 10, + "vmSize": "Standard_D3" + } + }, + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "BE", + "type": "Microsoft.ServiceFabric/managedClusters/nodeTypes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedClusters/myCluster/nodeTypes/BE", + "properties": { + "capacities": {}, + "dataDiskSizeGB": 200, + "dataDiskType": "StandardSSD_LRS", + "isPrimary": false, + "isStateless": false, + "placementProperties": {}, + "provisioningState": "Creating", + "vmImageResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-custom-image/providers/Microsoft.Compute/galleries/myCustomImages/images/Win2019DC", + "vmInstanceCount": 10, + "vmSize": "Standard_D3" + }, + "tags": {} + }, + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview", + "Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview" + } + }, + "202": { + "body": { + "name": "BE", + "type": "Microsoft.ServiceFabric/managedClusters/nodeTypes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedClusters/myCluster/nodeTypes/BE", + "properties": { + "capacities": {}, + "dataDiskSizeGB": 200, + "dataDiskType": "StandardSSD_LRS", + "isPrimary": false, + "isStateless": false, + "placementProperties": {}, + "provisioningState": "Updating", + "vmImageResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-custom-image/providers/Microsoft.Compute/galleries/myCustomImages/images/Win2019DC", + "vmInstanceCount": 10, + "vmSize": "Standard_D3" + }, + "tags": {} + }, + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview", + "Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview" + } + } + }, + "operationId": "NodeTypes_CreateOrUpdate", + "title": "Put node type with custom vm image" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/NodeTypePutOperationCustomSharedGalleriesImage_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/NodeTypePutOperationCustomSharedGalleriesImage_example.json new file mode 100644 index 000000000000..73253d9196cc --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/NodeTypePutOperationCustomSharedGalleriesImage_example.json @@ -0,0 +1,70 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "clusterName": "myCluster", + "nodeTypeName": "BE", + "parameters": { + "properties": { + "dataDiskSizeGB": 200, + "isPrimary": false, + "vmInstanceCount": 10, + "vmSharedGalleryImageId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-custom-image/providers/Microsoft.Compute/sharedGalleries/35349201-a0b3-405e-8a23-9f1450984307-SFSHAREDGALLERY/images/TestNoProdContainerDImage/versions/latest", + "vmSize": "Standard_D3" + } + }, + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "BE", + "type": "Microsoft.ServiceFabric/managedClusters/nodeTypes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedClusters/myCluster/nodeTypes/BE", + "properties": { + "capacities": {}, + "dataDiskSizeGB": 200, + "dataDiskType": "StandardSSD_LRS", + "isPrimary": false, + "isStateless": false, + "placementProperties": {}, + "provisioningState": "Creating", + "vmInstanceCount": 10, + "vmSharedGalleryImageId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-custom-image/providers/Microsoft.Compute/sharedGalleries/35349201-a0b3-405e-8a23-9f1450984307-SFSHAREDGALLERY/images/TestNoProdContainerDImage/versions/latest", + "vmSize": "Standard_D3" + }, + "tags": {} + }, + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview", + "Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview" + } + }, + "202": { + "body": { + "name": "BE", + "type": "Microsoft.ServiceFabric/managedClusters/nodeTypes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedClusters/myCluster/nodeTypes/BE", + "properties": { + "capacities": {}, + "dataDiskSizeGB": 200, + "dataDiskType": "StandardSSD_LRS", + "isPrimary": false, + "isStateless": false, + "placementProperties": {}, + "provisioningState": "Updating", + "vmInstanceCount": 10, + "vmSharedGalleryImageId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-custom-image/providers/Microsoft.Compute/sharedGalleries/35349201-a0b3-405e-8a23-9f1450984307-SFSHAREDGALLERY/images/TestNoProdContainerDImage/versions/latest", + "vmSize": "Standard_D3" + }, + "tags": {} + }, + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview", + "Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview" + } + } + }, + "operationId": "NodeTypes_CreateOrUpdate", + "title": "Put node type with shared galleries custom vm image" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/NodeTypePutOperationDedicatedHost_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/NodeTypePutOperationDedicatedHost_example.json new file mode 100644 index 000000000000..d14a4604d4f3 --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/NodeTypePutOperationDedicatedHost_example.json @@ -0,0 +1,94 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "clusterName": "myCluster", + "nodeTypeName": "BE", + "parameters": { + "properties": { + "capacities": {}, + "dataDiskSizeGB": 200, + "dataDiskType": "StandardSSD_LRS", + "hostGroupId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testhostgroupRG/providers/Microsoft.Compute/hostGroups/testHostGroup", + "isPrimary": false, + "placementProperties": {}, + "vmImageOffer": "WindowsServer", + "vmImagePublisher": "MicrosoftWindowsServer", + "vmImageSku": "2019-Datacenter", + "vmImageVersion": "latest", + "vmInstanceCount": 10, + "vmSize": "Standard_D8s_v3", + "zones": [ + "1" + ] + } + }, + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "BE", + "type": "Microsoft.ServiceFabric/managedClusters/nodeTypes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedClusters/myCluster/nodeTypes/BE", + "properties": { + "capacities": {}, + "dataDiskSizeGB": 200, + "dataDiskType": "StandardSSD_LRS", + "hostGroupId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testhostgroupRG/providers/Microsoft.Compute/hostGroups/testHostGroup", + "isPrimary": false, + "isStateless": false, + "placementProperties": {}, + "provisioningState": "Creating", + "vmImageOffer": "WindowsServer", + "vmImagePublisher": "MicrosoftWindowsServer", + "vmImageSku": "2019-Datacenter", + "vmImageVersion": "latest", + "vmInstanceCount": 10, + "vmSize": "Standard_D8s_v3", + "zones": [ + "1" + ] + }, + "tags": {} + }, + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview", + "Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview" + } + }, + "202": { + "body": { + "name": "BE", + "type": "Microsoft.ServiceFabric/managedClusters/nodeTypes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedClusters/myCluster/nodeTypes/BE", + "properties": { + "capacities": {}, + "dataDiskSizeGB": 200, + "dataDiskType": "StandardSSD_LRS", + "hostGroupId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testhostgroupRG/providers/Microsoft.Compute/hostGroups/testHostGroup", + "isPrimary": false, + "isStateless": false, + "placementProperties": {}, + "provisioningState": "Updating", + "vmImageOffer": "WindowsServer", + "vmImagePublisher": "MicrosoftWindowsServer", + "vmImageSku": "2019-Datacenter", + "vmImageVersion": "latest", + "vmInstanceCount": 10, + "vmSize": "Standard_D8s_v3", + "zones": [ + "1" + ] + }, + "tags": {} + }, + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview", + "Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview" + } + } + }, + "operationId": "NodeTypes_CreateOrUpdate", + "title": "Put node type with dedicated hosts" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/NodeTypePutOperationStateless_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/NodeTypePutOperationStateless_example.json new file mode 100644 index 000000000000..d9f3d59ef7c4 --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/NodeTypePutOperationStateless_example.json @@ -0,0 +1,116 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "clusterName": "myCluster", + "nodeTypeName": "BE", + "parameters": { + "properties": { + "enableEncryptionAtHost": true, + "isPrimary": false, + "isStateless": true, + "multiplePlacementGroups": true, + "useTempDataDisk": true, + "vmExtensions": [ + { + "name": "Microsoft.Azure.Geneva.GenevaMonitoring", + "properties": { + "type": "GenevaMonitoring", + "autoUpgradeMinorVersion": true, + "publisher": "Microsoft.Azure.Geneva", + "settings": {}, + "typeHandlerVersion": "2.0" + } + } + ], + "vmImageOffer": "WindowsServer", + "vmImagePublisher": "MicrosoftWindowsServer", + "vmImageSku": "2016-Datacenter-Server-Core", + "vmImageVersion": "latest", + "vmInstanceCount": 10, + "vmSize": "Standard_DS3" + } + }, + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "BE", + "type": "Microsoft.ServiceFabric/managedClusters/nodeTypes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedClusters/myCluster/nodeTypes/BE", + "properties": { + "enableEncryptionAtHost": true, + "isPrimary": false, + "isStateless": true, + "multiplePlacementGroups": true, + "provisioningState": "Creating", + "useTempDataDisk": true, + "vmExtensions": [ + { + "name": "Microsoft.Azure.Geneva.GenevaMonitoring", + "properties": { + "type": "GenevaMonitoring", + "autoUpgradeMinorVersion": true, + "publisher": "Microsoft.Azure.Geneva", + "settings": {}, + "typeHandlerVersion": "2.0" + } + } + ], + "vmImageOffer": "WindowsServer", + "vmImagePublisher": "MicrosoftWindowsServer", + "vmImageSku": "2016-Datacenter-Server-Core", + "vmImageVersion": "latest", + "vmInstanceCount": 10, + "vmSize": "Standard_DS3" + }, + "tags": {} + }, + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview", + "Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview" + } + }, + "202": { + "body": { + "name": "BE", + "type": "Microsoft.ServiceFabric/managedClusters/nodeTypes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedClusters/myCluster/nodeTypes/BE", + "properties": { + "enableEncryptionAtHost": true, + "isPrimary": false, + "isStateless": true, + "multiplePlacementGroups": true, + "provisioningState": "Updating", + "useTempDataDisk": true, + "vmExtensions": [ + { + "name": "Microsoft.Azure.Geneva.GenevaMonitoring", + "properties": { + "type": "GenevaMonitoring", + "autoUpgradeMinorVersion": true, + "publisher": "Microsoft.Azure.Geneva", + "settings": {}, + "typeHandlerVersion": "2.0" + } + } + ], + "vmImageOffer": "WindowsServer", + "vmImagePublisher": "MicrosoftWindowsServer", + "vmImageSku": "2016-Datacenter-Server-Core", + "vmImageVersion": "latest", + "vmInstanceCount": 10, + "vmSize": "Standard_DS3" + }, + "tags": {} + }, + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview", + "Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview" + } + } + }, + "operationId": "NodeTypes_CreateOrUpdate", + "title": "Put an stateless node type with temporary disk for service fabric" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/NodeTypePutOperationVmImagePlan_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/NodeTypePutOperationVmImagePlan_example.json new file mode 100644 index 000000000000..7940443f1c0d --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/NodeTypePutOperationVmImagePlan_example.json @@ -0,0 +1,94 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "clusterName": "myCluster", + "nodeTypeName": "BE", + "parameters": { + "properties": { + "dataDiskSizeGB": 200, + "isPrimary": false, + "vmImageOffer": "windows_2022_test", + "vmImagePlan": { + "name": "win_2022_test_20_10_gen2", + "product": "windows_2022_test", + "publisher": "testpublisher" + }, + "vmImagePublisher": "testpublisher", + "vmImageSku": "win_2022_test_20_10_gen2", + "vmImageVersion": "latest", + "vmInstanceCount": 10, + "vmSize": "Standard_D3" + } + }, + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "BE", + "type": "Microsoft.ServiceFabric/managedClusters/nodeTypes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedClusters/myCluster/nodeTypes/BE", + "properties": { + "capacities": {}, + "dataDiskSizeGB": 200, + "dataDiskType": "StandardSSD_LRS", + "isPrimary": false, + "isStateless": false, + "placementProperties": {}, + "provisioningState": "Creating", + "vmImageOffer": "windows_2022_test", + "vmImagePlan": { + "name": "win_2022_test_20_10_gen2", + "product": "windows_2022_test", + "publisher": "testpublisher" + }, + "vmImagePublisher": "testpublisher", + "vmImageSku": "win_2022_test_20_10_gen2", + "vmImageVersion": "latest", + "vmInstanceCount": 10, + "vmSize": "Standard_D3" + }, + "tags": {} + }, + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview", + "Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview" + } + }, + "202": { + "body": { + "name": "BE", + "type": "Microsoft.ServiceFabric/managedClusters/nodeTypes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedClusters/myCluster/nodeTypes/BE", + "properties": { + "capacities": {}, + "dataDiskSizeGB": 200, + "dataDiskType": "StandardSSD_LRS", + "isPrimary": false, + "isStateless": false, + "placementProperties": {}, + "provisioningState": "Updating", + "vmImageOffer": "windows_2022_test", + "vmImagePlan": { + "name": "win_2022_test_20_10_gen2", + "product": "windows_2022_test", + "publisher": "testpublisher" + }, + "vmImagePublisher": "testpublisher", + "vmImageSku": "win_2022_test_20_10_gen2", + "vmImageVersion": "latest", + "vmInstanceCount": 10, + "vmSize": "Standard_D3" + }, + "tags": {} + }, + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview", + "Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview" + } + } + }, + "operationId": "NodeTypes_CreateOrUpdate", + "title": "Put node type with vm image plan " +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/NodeTypePutOperation_example_max.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/NodeTypePutOperation_example_max.json new file mode 100644 index 000000000000..d2acf40d527b --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/NodeTypePutOperation_example_max.json @@ -0,0 +1,514 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "clusterName": "myCluster", + "nodeTypeName": "BE-testResourceGroup-testRegion-test", + "parameters": { + "properties": { + "additionalDataDisks": [ + { + "diskLetter": "F", + "diskSizeGB": 256, + "diskType": "StandardSSD_LRS", + "lun": 1 + }, + { + "diskLetter": "G", + "diskSizeGB": 150, + "diskType": "Premium_LRS", + "lun": 2 + } + ], + "additionalNetworkInterfaceConfigurations": [ + { + "name": "nic-1", + "dscpConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/dscpConfigurations/myDscpConfig" + }, + "enableAcceleratedNetworking": true, + "ipConfigurations": [ + { + "name": "ipconfig-1", + "applicationGatewayBackendAddressPools": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/applicationGateways/appgw-test/backendAddressPools/appgwBepoolTest" + } + ], + "loadBalancerBackendAddressPools": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/loadBalancers/test-LB/backendAddressPools/LoadBalancerBEAddressPool" + } + ], + "loadBalancerInboundNatPools": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/loadBalancers/test-LB/inboundNatPools/LoadBalancerNATPool" + } + ], + "privateIPAddressVersion": "IPv4", + "publicIPAddressConfiguration": { + "name": "publicip-1", + "ipTags": [ + { + "ipTagType": "RoutingPreference", + "tag": "Internet" + } + ], + "publicIPAddressVersion": "IPv4" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1" + } + } + ] + } + ], + "capacities": { + "ClientConnections": "65536" + }, + "computerNamePrefix": "BE", + "dataDiskLetter": "S", + "dataDiskSizeGB": 200, + "dataDiskType": "Premium_LRS", + "dscpConfigurationId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/dscpConfigurations/myDscpConfig", + "enableAcceleratedNetworking": true, + "enableEncryptionAtHost": true, + "enableNodePublicIP": true, + "enableNodePublicIPv6": true, + "enableOverProvisioning": false, + "evictionPolicy": "Deallocate", + "frontendConfigurations": [ + { + "applicationGatewayBackendAddressPoolId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/applicationGateways/appgw-test/backendAddressPools/appgwBepoolTest", + "loadBalancerBackendAddressPoolId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/loadBalancers/test-LB/backendAddressPools/LoadBalancerBEAddressPool", + "loadBalancerInboundNatPoolId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/loadBalancers/test-LB/inboundNatPools/LoadBalancerNATPool" + } + ], + "isPrimary": false, + "isSpotVM": true, + "isStateless": true, + "multiplePlacementGroups": true, + "natGatewayId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/natGateways/myNatGateway", + "placementProperties": { + "HasSSD": "true", + "NodeColor": "green", + "SomeProperty": "5" + }, + "secureBootEnabled": true, + "securityType": "ConfidentialVM", + "securityEncryptionType": "DiskWithVMGuestState", + "serviceArtifactReferenceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Compute/galleries/myGallery/serviceArtifacts/myServiceArtifact/vmArtifactsProfiles/myVmArtifactProfile", + "spotRestoreTimeout": "PT30M", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1", + "useDefaultPublicLoadBalancer": true, + "useEphemeralOSDisk": true, + "vmApplications": [ + { + "configurationReference": "https://mystorageaccount.blob.core.windows.net/containername/blobname", + "enableAutomaticUpgrade": true, + "order": 1, + "packageReferenceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Compute/galleries/myGallery/applications/myApplication/versions/1.0.0", + "treatFailureAsDeploymentFailure": false, + "vmGalleryTags": "{\"Tag1\":\"Value1\",\"Tag2\":\"Value2\"}" + } + ], + "vmExtensions": [ + { + "name": "Microsoft.Azure.Geneva.GenevaMonitoring", + "properties": { + "type": "GenevaMonitoring", + "autoUpgradeMinorVersion": true, + "enableAutomaticUpgrade": true, + "forceUpdateTag": "v.1.0", + "publisher": "Microsoft.Azure.Geneva", + "settings": {}, + "setupOrder": [ + "BeforeSFRuntime" + ], + "typeHandlerVersion": "2.0" + } + } + ], + "vmImageOffer": "WindowsServer", + "vmImagePublisher": "MicrosoftWindowsServer", + "vmImageSku": "2016-Datacenter-Server-Core", + "vmImageVersion": "latest", + "vmInstanceCount": 10, + "vmManagedIdentity": { + "userAssignedIdentities": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myIdentity", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myIdentity2" + ] + }, + "vmSecrets": [ + { + "sourceVault": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.KeyVault/vaults/myVault" + }, + "vaultCertificates": [ + { + "certificateStore": "My", + "certificateUrl": "https://myVault.vault.azure.net:443/secrets/myCert/ef1a31d39e1f46bca33def54b6cda54c" + } + ] + } + ], + "vmSetupActions": [ + "EnableContainers", + "EnableHyperV" + ], + "vmSize": "Standard_DS3", + "isOutboundOnly": true + } + }, + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "BE", + "type": "Microsoft.ServiceFabric/managedClusters/nodeTypes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedClusters/myCluster/nodeTypes/BE", + "properties": { + "additionalDataDisks": [ + { + "diskLetter": "F", + "diskSizeGB": 256, + "diskType": "StandardSSD_LRS", + "lun": 1 + }, + { + "diskLetter": "G", + "diskSizeGB": 150, + "diskType": "Premium_LRS", + "lun": 2 + } + ], + "additionalNetworkInterfaceConfigurations": [ + { + "name": "nic-1", + "dscpConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/dscpConfigurations/myDscpConfig" + }, + "enableAcceleratedNetworking": true, + "ipConfigurations": [ + { + "name": "ipconfig-1", + "applicationGatewayBackendAddressPools": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/applicationGateways/appgw-test/backendAddressPools/appgwBepoolTest" + } + ], + "loadBalancerBackendAddressPools": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/loadBalancers/test-LB/backendAddressPools/LoadBalancerBEAddressPool" + } + ], + "loadBalancerInboundNatPools": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/loadBalancers/test-LB/inboundNatPools/LoadBalancerNATPool" + } + ], + "privateIPAddressVersion": "IPv4", + "publicIPAddressConfiguration": { + "name": "publicip-1", + "ipTags": [ + { + "ipTagType": "RoutingPreference", + "tag": "Internet" + } + ], + "publicIPAddressVersion": "IPv4" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1" + } + } + ] + } + ], + "capacities": { + "ClientConnections": "65536" + }, + "dataDiskLetter": "S", + "dataDiskSizeGB": 200, + "dataDiskType": "Premium_LRS", + "dscpConfigurationId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/dscpConfigurations/myDscpConfig", + "enableAcceleratedNetworking": true, + "enableEncryptionAtHost": true, + "enableNodePublicIP": true, + "enableNodePublicIPv6": true, + "enableOverProvisioning": false, + "evictionPolicy": "Deallocate", + "frontendConfigurations": [ + { + "applicationGatewayBackendAddressPoolId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/applicationGateways/appgw-test/backendAddressPools/appgwBepoolTest", + "loadBalancerBackendAddressPoolId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/loadBalancers/test-LB/backendAddressPools/LoadBalancerBEAddressPool", + "loadBalancerInboundNatPoolId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/loadBalancers/test-LB/inboundNatPools/LoadBalancerNATPool" + } + ], + "isPrimary": false, + "isSpotVM": true, + "isStateless": true, + "multiplePlacementGroups": true, + "natGatewayId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/natGateways/myNatGateway", + "placementProperties": { + "HasSSD": "true", + "NodeColor": "green", + "SomeProperty": "5" + }, + "provisioningState": "Creating", + "secureBootEnabled": true, + "securityType": "ConfidentialVM", + "securityEncryptionType": "DiskWithVMGuestState", + "serviceArtifactReferenceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Compute/galleries/myGallery/serviceArtifacts/myServiceArtifact/vmArtifactsProfiles/myVmArtifactProfile", + "spotRestoreTimeout": "PT30M", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1", + "useDefaultPublicLoadBalancer": true, + "useEphemeralOSDisk": true, + "vmApplications": [ + { + "configurationReference": "https://mystorageaccount.blob.core.windows.net/containername/blobname", + "enableAutomaticUpgrade": true, + "order": 1, + "packageReferenceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Compute/galleries/myGallery/applications/myApplication/versions/1.0.0", + "treatFailureAsDeploymentFailure": false, + "vmGalleryTags": "{\"Tag1\":\"Value1\",\"Tag2\":\"Value2\"}" + } + ], + "vmExtensions": [ + { + "name": "Microsoft.Azure.Geneva.GenevaMonitoring", + "properties": { + "type": "GenevaMonitoring", + "autoUpgradeMinorVersion": true, + "enableAutomaticUpgrade": true, + "forceUpdateTag": "v.1.0", + "publisher": "Microsoft.Azure.Geneva", + "settings": {}, + "setupOrder": [ + "BeforeSFRuntime" + ], + "typeHandlerVersion": "2.0" + } + } + ], + "vmImageOffer": "WindowsServer", + "vmImagePublisher": "MicrosoftWindowsServer", + "vmImageSku": "2016-Datacenter-Server-Core", + "vmImageVersion": "latest", + "vmInstanceCount": 10, + "vmManagedIdentity": { + "userAssignedIdentities": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myIdentity", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myIdentity2" + ] + }, + "vmSecrets": [ + { + "sourceVault": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.KeyVault/vaults/myVault" + }, + "vaultCertificates": [ + { + "certificateStore": "My", + "certificateUrl": "https://myVault.vault.azure.net:443/secrets/myCert/ef1a31d39e1f46bca33def54b6cda54c" + } + ] + } + ], + "vmSetupActions": [ + "EnableContainers", + "EnableHyperV" + ], + "vmSize": "Standard_DS3", + "zones": [ + "1", + "2", + "3" + ], + "isOutboundOnly": true + }, + "tags": {} + }, + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview", + "Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview" + } + }, + "202": { + "body": { + "name": "BE", + "type": "Microsoft.ServiceFabric/managedClusters/nodeTypes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedClusters/myCluster/nodeTypes/BE", + "properties": { + "additionalDataDisks": [ + { + "diskLetter": "F", + "diskSizeGB": 256, + "diskType": "StandardSSD_LRS", + "lun": 1 + }, + { + "diskLetter": "G", + "diskSizeGB": 150, + "diskType": "Premium_LRS", + "lun": 2 + } + ], + "additionalNetworkInterfaceConfigurations": [ + { + "name": "nic-1", + "dscpConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/dscpConfigurations/myDscpConfig" + }, + "enableAcceleratedNetworking": true, + "ipConfigurations": [ + { + "name": "ipconfig-1", + "applicationGatewayBackendAddressPools": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/applicationGateways/appgw-test/backendAddressPools/appgwBepoolTest" + } + ], + "loadBalancerBackendAddressPools": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/loadBalancers/test-LB/backendAddressPools/LoadBalancerBEAddressPool" + } + ], + "loadBalancerInboundNatPools": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/loadBalancers/test-LB/inboundNatPools/LoadBalancerNATPool" + } + ], + "privateIPAddressVersion": "IPv4", + "publicIPAddressConfiguration": { + "name": "publicip-1", + "ipTags": [ + { + "ipTagType": "RoutingPreference", + "tag": "Internet" + } + ], + "publicIPAddressVersion": "IPv4" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1" + } + } + ] + } + ], + "capacities": { + "ClientConnections": "65536" + }, + "dataDiskLetter": "S", + "dataDiskSizeGB": 200, + "dataDiskType": "Premium_LRS", + "dscpConfigurationId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/dscpConfigurations/myDscpConfig", + "enableAcceleratedNetworking": true, + "enableEncryptionAtHost": true, + "enableNodePublicIP": true, + "enableNodePublicIPv6": true, + "enableOverProvisioning": false, + "evictionPolicy": "Deallocate", + "frontendConfigurations": [ + { + "applicationGatewayBackendAddressPoolId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/applicationGateways/appgw-test/backendAddressPools/appgwBepoolTest", + "loadBalancerBackendAddressPoolId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/loadBalancers/test-LB/backendAddressPools/LoadBalancerBEAddressPool", + "loadBalancerInboundNatPoolId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/loadBalancers/test-LB/inboundNatPools/LoadBalancerNATPool" + } + ], + "isPrimary": false, + "isSpotVM": true, + "isStateless": true, + "multiplePlacementGroups": true, + "natGatewayId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/natGateways/myNatGateway", + "placementProperties": { + "HasSSD": "true", + "NodeColor": "green", + "SomeProperty": "5" + }, + "provisioningState": "Updating", + "secureBootEnabled": true, + "securityType": "ConfidentialVM", + "securityEncryptionType": "DiskWithVMGuestState", + "serviceArtifactReferenceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Compute/galleries/myGallery/serviceArtifacts/myServiceArtifact/vmArtifactsProfiles/myVmArtifactProfile", + "spotRestoreTimeout": "PT30M", + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1", + "useDefaultPublicLoadBalancer": true, + "useEphemeralOSDisk": true, + "vmApplications": [ + { + "configurationReference": "https://mystorageaccount.blob.core.windows.net/containername/blobname", + "enableAutomaticUpgrade": true, + "order": 1, + "packageReferenceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.Compute/galleries/myGallery/applications/myApplication/versions/1.0.0", + "treatFailureAsDeploymentFailure": false, + "vmGalleryTags": "{\"Tag1\":\"Value1\",\"Tag2\":\"Value2\"}" + } + ], + "vmExtensions": [ + { + "name": "Microsoft.Azure.Geneva.GenevaMonitoring", + "properties": { + "type": "GenevaMonitoring", + "autoUpgradeMinorVersion": true, + "enableAutomaticUpgrade": true, + "forceUpdateTag": "v.1.0", + "publisher": "Microsoft.Azure.Geneva", + "settings": {}, + "setupOrder": [ + "BeforeSFRuntime" + ], + "typeHandlerVersion": "2.0" + } + } + ], + "vmImageOffer": "WindowsServer", + "vmImagePublisher": "MicrosoftWindowsServer", + "vmImageSku": "2016-Datacenter-Server-Core", + "vmImageVersion": "latest", + "vmInstanceCount": 10, + "vmManagedIdentity": { + "userAssignedIdentities": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myIdentity", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myIdentity2" + ] + }, + "vmSecrets": [ + { + "sourceVault": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.KeyVault/vaults/myVault" + }, + "vaultCertificates": [ + { + "certificateStore": "My", + "certificateUrl": "https://myVault.vault.azure.net:443/secrets/myCert/ef1a31d39e1f46bca33def54b6cda54c" + } + ] + } + ], + "vmSetupActions": [ + "EnableContainers", + "EnableHyperV" + ], + "vmSize": "Standard_DS3", + "zones": [ + "1", + "2", + "3" + ], + "isOutboundOnly": true + }, + "tags": {} + }, + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview", + "Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview" + } + } + }, + "operationId": "NodeTypes_CreateOrUpdate", + "title": "Put a node type with maximum parameters" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/NodeTypePutOperation_example_min.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/NodeTypePutOperation_example_min.json new file mode 100644 index 000000000000..82b3d13b0882 --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/NodeTypePutOperation_example_min.json @@ -0,0 +1,79 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "clusterName": "myCluster", + "nodeTypeName": "BE", + "parameters": { + "properties": { + "dataDiskSizeGB": 200, + "isPrimary": false, + "vmImageOffer": "WindowsServer", + "vmImagePublisher": "MicrosoftWindowsServer", + "vmImageSku": "2016-Datacenter-Server-Core", + "vmImageVersion": "latest", + "vmInstanceCount": 10, + "vmSize": "Standard_D3" + } + }, + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "BE", + "type": "Microsoft.ServiceFabric/managedClusters/nodeTypes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedClusters/myCluster/nodeTypes/BE", + "properties": { + "capacities": {}, + "dataDiskSizeGB": 200, + "dataDiskType": "StandardSSD_LRS", + "isPrimary": false, + "isStateless": false, + "placementProperties": {}, + "provisioningState": "Creating", + "vmImageOffer": "WindowsServer", + "vmImagePublisher": "MicrosoftWindowsServer", + "vmImageSku": "2016-Datacenter-Server-Core", + "vmImageVersion": "latest", + "vmInstanceCount": 10, + "vmSize": "Standard_D3" + }, + "tags": {} + }, + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview", + "Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview" + } + }, + "202": { + "body": { + "name": "BE", + "type": "Microsoft.ServiceFabric/managedClusters/nodeTypes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedClusters/myCluster/nodeTypes/BE", + "properties": { + "capacities": {}, + "dataDiskSizeGB": 200, + "dataDiskType": "StandardSSD_LRS", + "isPrimary": false, + "isStateless": false, + "placementProperties": {}, + "provisioningState": "Updating", + "vmImageOffer": "WindowsServer", + "vmImagePublisher": "MicrosoftWindowsServer", + "vmImageSku": "2016-Datacenter-Server-Core", + "vmImageVersion": "latest", + "vmInstanceCount": 10, + "vmSize": "Standard_D3" + }, + "tags": {} + }, + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview", + "Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview" + } + } + }, + "operationId": "NodeTypes_CreateOrUpdate", + "title": "Put a node type with minimum parameters" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/NodeTypeSkusListOperation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/NodeTypeSkusListOperation_example.json new file mode 100644 index 000000000000..8615af38d34b --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/NodeTypeSkusListOperation_example.json @@ -0,0 +1,73 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "clusterName": "myCluster", + "nodeTypeName": "BE", + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "nextLink": "http://examplelink.com", + "value": [ + { + "capacity": { + "default": 1, + "maximum": 100, + "minimum": 1, + "scaleType": "Automatic" + }, + "resourceType": "Microsoft.ServiceFabric/managedClusters/nodeTypes", + "sku": { + "name": "Standard_S0", + "tier": "Standard" + } + }, + { + "capacity": { + "default": 3, + "maximum": 300, + "minimum": 3, + "scaleType": "Automatic" + }, + "resourceType": "Microsoft.ServiceFabric/managedClusters/nodeTypes", + "sku": { + "name": "Standard_S1", + "tier": "Standard" + } + }, + { + "capacity": { + "default": 1, + "maximum": 1000, + "minimum": 1, + "scaleType": "Automatic" + }, + "resourceType": "Microsoft.ServiceFabric/managedClusters/nodeTypes", + "sku": { + "name": "Standard_S2", + "tier": "Standard" + } + }, + { + "capacity": { + "default": 3, + "maximum": 1000, + "minimum": 3, + "scaleType": "Automatic" + }, + "resourceType": "Microsoft.ServiceFabric/managedClusters/nodeTypes", + "sku": { + "name": "Standard_S3", + "tier": "Standard" + } + } + ] + }, + "headers": {} + } + }, + "operationId": "NodeTypeSkus_List", + "title": "List a node type SKUs" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/OperationResultsGet_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/OperationResultsGet_example.json new file mode 100644 index 000000000000..8432438d00f9 --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/OperationResultsGet_example.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "location": "eastus", + "api-version": "2025-10-01-preview", + "operationId": "00000000-0000-0000-0000-000000001234" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + }, + "operationId": "OperationResults_Get", + "title": "Get long running operation result" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/OperationStatusFailed_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/OperationStatusFailed_example.json new file mode 100644 index 000000000000..a3a3269b697f --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/OperationStatusFailed_example.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "location": "eastus", + "api-version": "2025-10-01-preview", + "operationId": "00000000-0000-0000-0000-000000001234" + }, + "responses": { + "200": { + "body": { + "name": "00000000-0000-0000-0000-000000001234", + "startTime": "2022-01-03T23:58:02.2501337Z", + "endTime": "2022-01-04T00:13:03.2790951Z", + "percentComplete": 100.0, + "status": "Failed", + "error": { + "code": "-2146233029", + "message": "A task was canceled." + } + } + } + }, + "operationId": "OperationStatus_Get", + "title": "Error response describing why the operation failed." +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/OperationStatusSucceeded_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/OperationStatusSucceeded_example.json new file mode 100644 index 000000000000..15e3c7cf1206 --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/OperationStatusSucceeded_example.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "location": "eastus", + "api-version": "2025-10-01-preview", + "operationId": "00000000-0000-0000-0000-000000001234" + }, + "responses": { + "200": { + "body": { + "name": "00000000-0000-0000-0000-000000001234", + "startTime": "2022-01-03T23:58:02.2501337Z", + "endTime": "2022-01-04T00:13:03.2790951Z", + "percentComplete": 100.0, + "status": "Succeeded" + } + } + }, + "operationId": "OperationStatus_Get", + "title": "OK. The request has succeeded." +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/OperationsList_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/OperationsList_example.json new file mode 100644 index 000000000000..a879b93a1036 --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/OperationsList_example.json @@ -0,0 +1,97 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.ServiceFabric/managedClusters/read", + "display": { + "provider": "Microsoft ServiceFabric", + "resource": "managedClusters", + "operation": "Read Cluster", + "description": "Read any Cluster" + } + }, + { + "name": "Microsoft.ServiceFabric/managedClusters/write", + "display": { + "provider": "Microsoft ServiceFabric", + "resource": "managedClusters", + "operation": "Create or Update Cluster", + "description": "Create or Update any Cluster" + } + }, + { + "name": "Microsoft.ServiceFabric/managedClusters/delete", + "display": { + "provider": "Microsoft ServiceFabric", + "resource": "managedClusters", + "operation": "Delete Cluster", + "description": "Delete any Cluster" + } + }, + { + "name": "Microsoft.ServiceFabric/nodeTypes/read", + "display": { + "provider": "Microsoft ServiceFabric", + "resource": "nodeTypes", + "operation": "Read Node type", + "description": "Read any Node type" + } + }, + { + "name": "Microsoft.ServiceFabric/nodeTypes/write", + "display": { + "provider": "Microsoft ServiceFabric", + "resource": "nodeTypes", + "operation": "Create or Update Node type", + "description": "Create or Update any Node type" + } + }, + { + "name": "Microsoft.ServiceFabric/nodeTypes/delete", + "display": { + "provider": "Microsoft ServiceFabric", + "resource": "nodeTypes", + "operation": "Delete Node type", + "description": "Delete any Node type" + } + }, + { + "name": "Microsoft.ServiceFabric/nodeTypes/restart/action", + "display": { + "provider": "Microsoft ServiceFabric", + "resource": "nodeTypes", + "operation": "Restart nodes from Node type", + "description": "Restart nodes from Node type" + } + }, + { + "name": "Microsoft.ServiceFabric/nodeTypes/reimage/action", + "display": { + "provider": "Microsoft ServiceFabric", + "resource": "nodeTypes", + "operation": "Reimage nodes from Node type", + "description": "Reimage nodes from Node type" + } + }, + { + "name": "Microsoft.ServiceFabric/nodeTypes/deleteNode/action", + "display": { + "provider": "Microsoft ServiceFabric", + "resource": "nodeTypes", + "operation": "Delete nodes from Node type", + "description": "Delete nodes from Node type" + } + } + ] + } + } + }, + "operationId": "Operations_List", + "title": "List the operations for the provider" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/RedeployNodes_UD_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/RedeployNodes_UD_example.json new file mode 100644 index 000000000000..8ce23514ef8b --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/RedeployNodes_UD_example.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "clusterName": "myCluster", + "nodeTypeName": "BE", + "parameters": { + "updateType": "ByUpgradeDomain" + }, + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview", + "Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview" + } + } + }, + "operationId": "NodeTypes_Redeploy", + "title": "Redeploy all nodes by upgrade domain" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/RedeployNodes_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/RedeployNodes_example.json new file mode 100644 index 000000000000..eab32dddcdb2 --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/RedeployNodes_example.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "clusterName": "myCluster", + "nodeTypeName": "BE", + "parameters": { + "nodes": [ + "BE_0", + "BE_1" + ] + }, + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview", + "Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview" + } + } + }, + "operationId": "NodeTypes_Redeploy", + "title": "Redeploy nodes" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ReimageNodes_UD_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ReimageNodes_UD_example.json new file mode 100644 index 000000000000..a5d1e53855f8 --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ReimageNodes_UD_example.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "clusterName": "myCluster", + "nodeTypeName": "BE", + "parameters": { + "updateType": "ByUpgradeDomain" + }, + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview", + "Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview" + } + } + }, + "operationId": "NodeTypes_Reimage", + "title": "Reimage all nodes by upgrade domain" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ReimageNodes_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ReimageNodes_example.json new file mode 100644 index 000000000000..56599534a115 --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ReimageNodes_example.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "clusterName": "myCluster", + "nodeTypeName": "BE", + "parameters": { + "nodes": [ + "BE_0", + "BE_3" + ] + }, + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview", + "Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview" + } + } + }, + "operationId": "NodeTypes_Reimage", + "title": "Reimage nodes" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/RestartNodes_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/RestartNodes_example.json new file mode 100644 index 000000000000..0b77708c74bf --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/RestartNodes_example.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "clusterName": "myCluster", + "nodeTypeName": "BE", + "parameters": { + "nodes": [ + "BE_0", + "BE_3" + ] + }, + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview", + "Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview" + } + } + }, + "operationId": "NodeTypes_Restart", + "title": "Restart nodes" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ServiceActionRestartReplica_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ServiceActionRestartReplica_example.json new file mode 100644 index 000000000000..3e933fe82d72 --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ServiceActionRestartReplica_example.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "serviceName": "myService", + "applicationName": "myApp", + "clusterName": "myCluster", + "parameters": { + "partitionId": "00000000-0000-0000-0000-000000000000", + "replicaIds": [ + 123456789012345678 + ], + "restartKind": "Simultaneous", + "forceRestart": false, + "timeout": 60 + }, + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview", + "Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview" + } + } + }, + "operationId": "Services_RestartReplica", + "title": "Restart replicas" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ServiceDeleteOperation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ServiceDeleteOperation_example.json new file mode 100644 index 000000000000..2154dd8d0349 --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ServiceDeleteOperation_example.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "applicationName": "myApp", + "clusterName": "myCluster", + "resourceGroupName": "resRg", + "serviceName": "myService", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview", + "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/9c2ce367-47ea-43de-b69e-c5a423da4557?api-version=2025-10-01-preview" + } + }, + "204": {} + }, + "operationId": "Services_Delete", + "title": "Delete a service" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ServiceGetOperation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ServiceGetOperation_example.json new file mode 100644 index 000000000000..9cd62da72e0b --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ServiceGetOperation_example.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "applicationName": "myApp", + "clusterName": "myCluster", + "resourceGroupName": "resRg", + "serviceName": "myService", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myService", + "type": "Microsoft.ServiceFabric/managedClusters/applications/services", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applications/myApp/services/myService", + "properties": { + "defaultMoveCost": "Medium", + "instanceCount": 5, + "partitionDescription": { + "partitionScheme": "Singleton" + }, + "placementConstraints": "NodeType==frontend", + "provisioningState": "Updating", + "serviceKind": "Stateless", + "serviceLoadMetrics": [ + { + "name": "metric1", + "weight": "Low" + } + ], + "servicePackageActivationMode": "SharedProcess", + "servicePlacementPolicies": [], + "serviceTypeName": "myServiceType" + } + }, + "headers": {} + } + }, + "operationId": "Services_Get", + "title": "Get a service" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ServiceListOperation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ServiceListOperation_example.json new file mode 100644 index 000000000000..850a3f1c9856 --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ServiceListOperation_example.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "applicationName": "myApp", + "clusterName": "myCluster", + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "nextLink": "http://examplelink.com", + "value": [ + { + "name": "myService", + "type": "Microsoft.ServiceFabric/managedClusters/applications/services", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applications/myApp/services/myService", + "properties": { + "instanceCount": 1, + "partitionDescription": { + "partitionScheme": "Singleton" + }, + "provisioningState": "Updating", + "serviceKind": "Stateless", + "serviceLoadMetrics": [ + { + "name": "metric1", + "weight": "Low" + } + ], + "servicePackageActivationMode": "SharedProcess", + "serviceTypeName": "myServiceType" + } + } + ] + }, + "headers": {} + } + }, + "operationId": "Services_ListByApplications", + "title": "Get a list of service resources" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ServicePatchOperation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ServicePatchOperation_example.json new file mode 100644 index 000000000000..a50bf470fed1 --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ServicePatchOperation_example.json @@ -0,0 +1,79 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "applicationName": "myApp", + "clusterName": "myCluster", + "parameters": { + "tags": { + "a": "b" + } + }, + "resourceGroupName": "resRg", + "serviceName": "myService", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myService", + "type": "Microsoft.ServiceFabric/managedClusters/applications/services", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applications/myApp/services/myService", + "properties": { + "correlationScheme": [ + { + "scheme": "AlignedAffinity", + "serviceName": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applications/myApp/services/myService1" + } + ], + "defaultMoveCost": "Medium", + "instanceCount": 5, + "minInstanceCount": 3, + "minInstancePercentage": 30, + "partitionDescription": { + "partitionScheme": "Singleton" + }, + "placementConstraints": "NodeType==frontend", + "provisioningState": "Succeeded", + "scalingPolicies": [ + { + "scalingMechanism": { + "kind": "ScalePartitionInstanceCount", + "maxInstanceCount": 9, + "minInstanceCount": 3, + "scaleIncrement": 2 + }, + "scalingTrigger": { + "kind": "AveragePartitionLoadTrigger", + "lowerLoadThreshold": 2, + "metricName": "metricName", + "scaleInterval": "00:01:00", + "upperLoadThreshold": 8 + } + } + ], + "serviceKind": "Stateless", + "serviceLoadMetrics": [ + { + "name": "metric1", + "defaultLoad": 3, + "weight": "Low" + } + ], + "servicePackageActivationMode": "SharedProcess", + "servicePlacementPolicies": [ + { + "type": "NonPartiallyPlaceService" + } + ], + "serviceTypeName": "myServiceType" + }, + "tags": { + "a": "b" + } + }, + "headers": {} + } + }, + "operationId": "Services_Update", + "title": "Patch a service" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ServicePutOperation_example_max.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ServicePutOperation_example_max.json new file mode 100644 index 000000000000..f18f1c26245f --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ServicePutOperation_example_max.json @@ -0,0 +1,194 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "applicationName": "myApp", + "clusterName": "myCluster", + "parameters": { + "location": "eastus", + "properties": { + "correlationScheme": [ + { + "scheme": "AlignedAffinity", + "serviceName": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applications/myApp/services/myService1" + } + ], + "defaultMoveCost": "Medium", + "instanceCount": 5, + "minInstanceCount": 3, + "minInstancePercentage": 30, + "partitionDescription": { + "partitionScheme": "Singleton" + }, + "placementConstraints": "NodeType==frontend", + "scalingPolicies": [ + { + "scalingMechanism": { + "kind": "ScalePartitionInstanceCount", + "maxInstanceCount": 9, + "minInstanceCount": 3, + "scaleIncrement": 2 + }, + "scalingTrigger": { + "kind": "AveragePartitionLoadTrigger", + "lowerLoadThreshold": 2, + "metricName": "metricName", + "scaleInterval": "00:01:00", + "upperLoadThreshold": 8 + } + } + ], + "serviceDnsName": "myservicednsname.myApp", + "serviceKind": "Stateless", + "serviceLoadMetrics": [ + { + "name": "metric1", + "defaultLoad": 3, + "weight": "Low" + } + ], + "servicePackageActivationMode": "SharedProcess", + "servicePlacementPolicies": [ + { + "type": "NonPartiallyPlaceService" + } + ], + "serviceTypeName": "myServiceType" + }, + "tags": { + "a": "b" + } + }, + "resourceGroupName": "resRg", + "serviceName": "myService", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myService", + "type": "Microsoft.ServiceFabric/managedClusters/applications/services", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applications/myApp/services/myService", + "properties": { + "correlationScheme": [ + { + "scheme": "AlignedAffinity", + "serviceName": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applications/myApp/services/myService1" + } + ], + "defaultMoveCost": "Medium", + "instanceCount": 5, + "minInstanceCount": 3, + "minInstancePercentage": 30, + "partitionDescription": { + "partitionScheme": "Singleton" + }, + "placementConstraints": "NodeType==frontend", + "provisioningState": "Creating", + "scalingPolicies": [ + { + "scalingMechanism": { + "kind": "ScalePartitionInstanceCount", + "maxInstanceCount": 9, + "minInstanceCount": 3, + "scaleIncrement": 2 + }, + "scalingTrigger": { + "kind": "AveragePartitionLoadTrigger", + "lowerLoadThreshold": 2, + "metricName": "metricName", + "scaleInterval": "00:01:00", + "upperLoadThreshold": 8 + } + } + ], + "serviceDnsName": "myservicednsname.myApp", + "serviceKind": "Stateless", + "serviceLoadMetrics": [ + { + "name": "metric1", + "defaultLoad": 3, + "weight": "Low" + } + ], + "servicePackageActivationMode": "SharedProcess", + "servicePlacementPolicies": [ + { + "type": "NonPartiallyPlaceService" + } + ], + "serviceTypeName": "myServiceType" + }, + "tags": { + "a": "b" + } + }, + "headers": {} + }, + "202": { + "body": { + "name": "myService", + "type": "Microsoft.ServiceFabric/managedClusters/applications/services", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applications/myApp/services/myService", + "properties": { + "correlationScheme": [ + { + "scheme": "AlignedAffinity", + "serviceName": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applications/myApp/services/myService1" + } + ], + "defaultMoveCost": "Medium", + "instanceCount": 5, + "minInstanceCount": 3, + "minInstancePercentage": 30, + "partitionDescription": { + "partitionScheme": "Singleton" + }, + "placementConstraints": "NodeType==frontend", + "provisioningState": "Updating", + "scalingPolicies": [ + { + "scalingMechanism": { + "kind": "ScalePartitionInstanceCount", + "maxInstanceCount": 9, + "minInstanceCount": 3, + "scaleIncrement": 2 + }, + "scalingTrigger": { + "kind": "AveragePartitionLoadTrigger", + "lowerLoadThreshold": 2, + "metricName": "metricName", + "scaleInterval": "00:01:00", + "upperLoadThreshold": 8 + } + } + ], + "serviceDnsName": "myservicednsname.myApp", + "serviceKind": "Stateless", + "serviceLoadMetrics": [ + { + "name": "metric1", + "defaultLoad": 3, + "weight": "Low" + } + ], + "servicePackageActivationMode": "SharedProcess", + "servicePlacementPolicies": [ + { + "type": "NonPartiallyPlaceService" + } + ], + "serviceTypeName": "myServiceType" + }, + "tags": { + "a": "b" + } + }, + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview", + "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/9c2ce367-47ea-43de-b69e-c5a423da4557?api-version=2025-10-01-preview" + } + } + }, + "operationId": "Services_CreateOrUpdate", + "title": "Put a service with maximum parameters" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ServicePutOperation_example_min.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ServicePutOperation_example_min.json new file mode 100644 index 000000000000..f9299e9da270 --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/ServicePutOperation_example_min.json @@ -0,0 +1,62 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "applicationName": "myApp", + "clusterName": "myCluster", + "parameters": { + "location": "eastus", + "properties": { + "instanceCount": 1, + "partitionDescription": { + "partitionScheme": "Singleton" + }, + "serviceKind": "Stateless", + "serviceTypeName": "myServiceType" + } + }, + "resourceGroupName": "resRg", + "serviceName": "myService", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myService", + "type": "Microsoft.ServiceFabric/managedClusters/applications/services", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applications/myApp/services/myService", + "properties": { + "instanceCount": 1, + "partitionDescription": { + "partitionScheme": "Singleton" + }, + "provisioningState": "Creating", + "serviceKind": "Stateless", + "serviceTypeName": "myServiceType" + } + }, + "headers": {} + }, + "202": { + "body": { + "name": "myService", + "type": "Microsoft.ServiceFabric/managedClusters/applications/services", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/managedclusters/myCluster/applications/myApp/services/myService", + "properties": { + "instanceCount": 1, + "partitionDescription": { + "partitionScheme": "Singleton" + }, + "provisioningState": "Updating", + "serviceKind": "Stateless", + "serviceTypeName": "myServiceType" + } + }, + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview", + "Location": "http://10.91.140.224/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/operationResults/9c2ce367-47ea-43de-b69e-c5a423da4557?api-version=2025-10-01-preview" + } + } + }, + "operationId": "Services_CreateOrUpdate", + "title": "Put a service with minimum parameters" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/StartNodes_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/StartNodes_example.json new file mode 100644 index 000000000000..0d2a48bcda9e --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/StartNodes_example.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "clusterName": "myCluster", + "nodeTypeName": "BE", + "parameters": { + "nodes": [ + "BE_0", + "BE_1" + ] + }, + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview", + "Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview" + } + } + }, + "operationId": "NodeTypes_Start", + "title": "Start nodes" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/faultSimulation/ManagedClusterGetFaultSimulation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/faultSimulation/ManagedClusterGetFaultSimulation_example.json new file mode 100644 index 000000000000..d054c74babfa --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/faultSimulation/ManagedClusterGetFaultSimulation_example.json @@ -0,0 +1,45 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "clusterName": "myCluster", + "parameters": { + "simulationId": "aec13cc2-1d39-4ba6-a1a8-2fc35b00643c" + }, + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "endTime": "0001-01-01T00:00:00", + "simulationId": "aec13cc2-1d39-4ba6-a1a8-2fc35b00643c", + "startTime": "2024-11-21T18:11:11.3471742Z", + "status": "Active", + "details": { + "operationId": "00000000-0000-0000-0000-000000000000", + "clusterId": "dd65fb6d-753b-4664-8798-4f077d4a2e18", + "nodeTypeFaultSimulation": [ + { + "operationId": "714f0003-80d8-464a-a019-69e6bf89ed4c", + "nodeTypeName": "BE", + "operationStatus": "Succeeded", + "status": "Active" + } + ], + "parameters": { + "constraints": { + "expirationTime": "0001-01-01T00:00:00" + }, + "faultKind": "Zone", + "force": false, + "zones": [ + "2" + ] + } + } + } + } + }, + "operationId": "ManagedClusters_GetFaultSimulation", + "title": "Get Managed Cluster Fault Simulation" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/faultSimulation/ManagedClusterListFaultSimulation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/faultSimulation/ManagedClusterListFaultSimulation_example.json new file mode 100644 index 000000000000..f3a15ba24790 --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/faultSimulation/ManagedClusterListFaultSimulation_example.json @@ -0,0 +1,86 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "clusterName": "myCluster", + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "endTime": "0001-01-01T00:00:00", + "simulationId": "1bb61ba9-8a41-4d73-b5f0-7fc93b1edfe3", + "startTime": "2024-11-21T21:27:55.4452675Z", + "status": "Active", + "details": { + "operationId": "b7997d2f-1f07-4245-b197-137b196ecaf3", + "clusterId": "dd65fb6d-753b-4664-8798-4f077d4a2e18", + "nodeTypeFaultSimulation": [ + { + "operationId": "bff10003-af96-465c-b849-99c18e1f4af6", + "nodeTypeName": "BE", + "operationStatus": "Succeeded", + "status": "Active" + }, + { + "operationId": "6021d3c9-6def-4e9e-b133-d58ac1c3a4cc", + "nodeTypeName": "FE", + "operationStatus": "Succeeded", + "status": "Active" + } + ], + "parameters": { + "constraints": { + "expirationTime": "0001-01-01T00:00:00" + }, + "faultKind": "Zone", + "force": false, + "zones": [ + "3" + ] + } + } + }, + { + "endTime": "2024-11-21T21:24:13.082339Z", + "simulationId": "aec13cc2-1d39-4ba6-a1a8-2fc35b00643c", + "startTime": "2024-11-21T18:11:11.3471742Z", + "status": "Done", + "details": { + "operationId": "3e22a9a7-13c1-450b-af5e-2c739b963bdf", + "clusterId": "dd65fb6d-753b-4664-8798-4f077d4a2e18", + "nodeTypeFaultSimulation": [ + { + "operationId": "391d0003-0d46-474c-9839-cbc345938704", + "nodeTypeName": "BE", + "operationStatus": "Succeeded", + "status": "Done" + }, + { + "operationId": "cf4ac1d7-e588-491e-9e6f-ce15a17bf389", + "nodeTypeName": "FE", + "operationStatus": "Succeeded", + "status": "Done" + } + ], + "parameters": { + "constraints": { + "expirationTime": "0001-01-01T00:00:00" + }, + "faultKind": "Zone", + "force": false, + "zones": [ + "2" + ] + } + } + } + ] + } + } + }, + "operationId": "ManagedClusters_ListFaultSimulation", + "title": "List Managed Cluster Fault Simulation" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/faultSimulation/ManagedClusterStartFaultSimulation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/faultSimulation/ManagedClusterStartFaultSimulation_example.json new file mode 100644 index 000000000000..90448a0ca72a --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/faultSimulation/ManagedClusterStartFaultSimulation_example.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "clusterName": "myCluster", + "parameters": { + "parameters": { + "faultKind": "Zone", + "zones": [ + "2" + ] + } + }, + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview", + "Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview" + } + } + }, + "operationId": "ManagedClusters_StartFaultSimulation", + "title": "Start Managed Cluster Fault Simulation" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/faultSimulation/ManagedClusterStopFaultSimulation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/faultSimulation/ManagedClusterStopFaultSimulation_example.json new file mode 100644 index 000000000000..335645b17acc --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/faultSimulation/ManagedClusterStopFaultSimulation_example.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "clusterName": "myCluster", + "parameters": { + "simulationId": "1bb61ba9-8a41-4d73-b5f0-7fc93b1edfe3" + }, + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview", + "Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview" + } + } + }, + "operationId": "ManagedClusters_StopFaultSimulation", + "title": "Stop Managed Cluster Fault Simulation" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/faultSimulation/NodeTypeGetFaultSimulation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/faultSimulation/NodeTypeGetFaultSimulation_example.json new file mode 100644 index 000000000000..51811c8bb87b --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/faultSimulation/NodeTypeGetFaultSimulation_example.json @@ -0,0 +1,46 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "clusterName": "myCluster", + "nodeTypeName": "BE", + "parameters": { + "simulationId": "aec13cc2-1d39-4ba6-a1a8-2fc35b00643c" + }, + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "endTime": "0001-01-01T00:00:00", + "simulationId": "aec13cc2-1d39-4ba6-a1a8-2fc35b00643c", + "startTime": "2024-11-21T18:11:11.3471742Z", + "status": "Active", + "details": { + "operationId": "00000000-0000-0000-0000-000000000000", + "clusterId": "dd65fb6d-753b-4664-8798-4f077d4a2e18", + "nodeTypeFaultSimulation": [ + { + "operationId": "714f0003-80d8-464a-a019-69e6bf89ed4c", + "nodeTypeName": "BE", + "operationStatus": "Succeeded", + "status": "Active" + } + ], + "parameters": { + "constraints": { + "expirationTime": "0001-01-01T00:00:00" + }, + "faultKind": "Zone", + "force": false, + "zones": [ + "2" + ] + } + } + } + } + }, + "operationId": "NodeTypes_GetFaultSimulation", + "title": "Get Node Type Fault Simulation" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/faultSimulation/NodeTypeListFaultSimulation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/faultSimulation/NodeTypeListFaultSimulation_example.json new file mode 100644 index 000000000000..cb02572c9abc --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/faultSimulation/NodeTypeListFaultSimulation_example.json @@ -0,0 +1,75 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "clusterName": "myCluster", + "nodeTypeName": "BE", + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "endTime": "0001-01-01T00:00:00", + "simulationId": "1bb61ba9-8a41-4d73-b5f0-7fc93b1edfe3", + "startTime": "2024-11-21T21:27:55.4452675Z", + "status": "Active", + "details": { + "operationId": "00000000-0000-0000-0000-000000000000", + "clusterId": "dd65fb6d-753b-4664-8798-4f077d4a2e18", + "nodeTypeFaultSimulation": [ + { + "operationId": "bff10003-af96-465c-b849-99c18e1f4af6", + "nodeTypeName": "BE", + "operationStatus": "Succeeded", + "status": "Active" + } + ], + "parameters": { + "constraints": { + "expirationTime": "0001-01-01T00:00:00" + }, + "faultKind": "Zone", + "force": false, + "zones": [ + "3" + ] + } + } + }, + { + "endTime": "2024-11-21T21:24:13.082339Z", + "simulationId": "aec13cc2-1d39-4ba6-a1a8-2fc35b00643c", + "startTime": "2024-11-21T18:11:11.3471742Z", + "status": "Done", + "details": { + "operationId": "00000000-0000-0000-0000-000000000000", + "clusterId": "dd65fb6d-753b-4664-8798-4f077d4a2e18", + "nodeTypeFaultSimulation": [ + { + "operationId": "391d0003-0d46-474c-9839-cbc345938704", + "nodeTypeName": "BE", + "operationStatus": "Succeeded", + "status": "Done" + } + ], + "parameters": { + "constraints": { + "expirationTime": "0001-01-01T00:00:00" + }, + "faultKind": "Zone", + "force": false, + "zones": [ + "2" + ] + } + } + } + ] + } + } + }, + "operationId": "NodeTypes_ListFaultSimulation", + "title": "List Node Type Fault Simulation" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/faultSimulation/NodeTypeStartFaultSimulation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/faultSimulation/NodeTypeStartFaultSimulation_example.json new file mode 100644 index 000000000000..47db8ce308cb --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/faultSimulation/NodeTypeStartFaultSimulation_example.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "clusterName": "myCluster", + "nodeTypeName": "BE", + "parameters": { + "parameters": { + "faultKind": "Zone", + "zones": [ + "2" + ] + } + }, + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview", + "Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview" + } + } + }, + "operationId": "NodeTypes_StartFaultSimulation", + "title": "Start Node Type Fault Simulation" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/faultSimulation/NodeTypeStopFaultSimulation_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/faultSimulation/NodeTypeStopFaultSimulation_example.json new file mode 100644 index 000000000000..d3f63143d9ef --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/faultSimulation/NodeTypeStopFaultSimulation_example.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "clusterName": "myCluster", + "nodeTypeName": "BE", + "parameters": { + "simulationId": "1bb61ba9-8a41-4d73-b5f0-7fc93b1edfe3" + }, + "resourceGroupName": "resRg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationStatus/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview", + "Location": "http://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedClusterOperationResults/1ca6e48d-70ca-4e43-b652-3b0522f64d67?api-version=2025-10-01-preview" + } + } + }, + "operationId": "NodeTypes_StopFaultSimulation", + "title": "Stop Node Type Fault Simulation" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/managedAzResiliencyStatusGet_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/managedAzResiliencyStatusGet_example.json new file mode 100644 index 000000000000..ccabe5de4609 --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/managedAzResiliencyStatusGet_example.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "clusterName": "mycluster1", + "resourceGroupName": "resourceGroup1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "baseResourceStatus": [ + { + "isZoneResilient": false, + "resourceName": "mycluster1storage", + "resourceType": "Microsoft.Storage/storageaccounts" + }, + { + "isZoneResilient": true, + "resourceName": "PublicIP-mycluster1", + "resourceType": "Microsoft.Network/publicIPAddress" + }, + { + "isZoneResilient": false, + "resourceName": "Primary", + "resourceType": "Microsoft.Compute/virtualmachinescalesets", + "details": "Status: InProgress, ZonalNodes: 3, RegionalNodes: 3" + } + ], + "isClusterZoneResilient": false + }, + "headers": {} + } + }, + "operationId": "managedAzResiliencyStatus_Get", + "title": "Az Resiliency status of Base Resources" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/managedUnsupportedVMSizesGet_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/managedUnsupportedVMSizesGet_example.json new file mode 100644 index 000000000000..030bc879176a --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/managedUnsupportedVMSizesGet_example.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "location": "eastus", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "vmSize": "Standard_B1ls1" + }, + "responses": { + "200": { + "body": { + "name": "Standard_B1ls1", + "type": "Microsoft.ServiceFabric/locations/managedVMSizes", + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedVMSizes/Standard_B1ls1", + "properties": { + "size": "Standard_B1ls1" + } + } + } + }, + "operationId": "managedUnsupportedVMSizes_Get", + "title": "Get unsupported vm sizes" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/managedUnsupportedVMSizesList_example.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/managedUnsupportedVMSizesList_example.json new file mode 100644 index 000000000000..b78313f1c6ef --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/examples/managedUnsupportedVMSizesList_example.json @@ -0,0 +1,177 @@ +{ + "parameters": { + "api-version": "2025-10-01-preview", + "location": "eastus", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Standard_B1ls1", + "type": "Microsoft.ServiceFabric/locations/managedVMSizes", + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedVMSizes/Standard_B1ls1", + "properties": { + "size": "Standard_B1ls1" + } + }, + { + "name": "Standard_B1s", + "type": "Microsoft.ServiceFabric/locations/managedVMSizes", + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedVMSizes/Standard_B1s", + "properties": { + "size": "Standard_B1s" + } + }, + { + "name": "Standard_B1ms", + "type": "Microsoft.ServiceFabric/locations/managedVMSizes", + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedVMSizes/Standard_B1ms", + "properties": { + "size": "Standard_B1ms" + } + }, + { + "name": "Standard_B2s", + "type": "Microsoft.ServiceFabric/locations/managedVMSizes", + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedVMSizes/Standard_B2s", + "properties": { + "size": "Standard_B2s" + } + }, + { + "name": "Standard_B2ms", + "type": "Microsoft.ServiceFabric/locations/managedVMSizes", + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedVMSizes/Standard_B2ms", + "properties": { + "size": "Standard_B2ms" + } + }, + { + "name": "Standard_B4ms", + "type": "Microsoft.ServiceFabric/locations/managedVMSizes", + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedVMSizes/Standard_B4ms", + "properties": { + "size": "Standard_B4ms" + } + }, + { + "name": "Standard_B8ms", + "type": "Microsoft.ServiceFabric/locations/managedVMSizes", + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedVMSizes/Standard_B8ms", + "properties": { + "size": "Standard_B8ms" + } + }, + { + "name": "Standard_A1_v2", + "type": "Microsoft.ServiceFabric/locations/managedVMSizes", + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedVMSizes/Standard_A1_v2", + "properties": { + "size": "Standard_A1_v2" + } + }, + { + "name": "Standard_A2_v2", + "type": "Microsoft.ServiceFabric/locations/managedVMSizes", + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedVMSizes/Standard_A2_v2", + "properties": { + "size": "Standard_A2_v2" + } + }, + { + "name": "Standard_A4_v2", + "type": "Microsoft.ServiceFabric/locations/managedVMSizes", + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedVMSizes/Standard_A4_v2", + "properties": { + "size": "Standard_A4_v2" + } + }, + { + "name": "Standard_A8_v2", + "type": "Microsoft.ServiceFabric/locations/managedVMSizes", + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedVMSizes/Standard_A8_v2", + "properties": { + "size": "Standard_A8_v2" + } + }, + { + "name": "Standard_A2m_v2", + "type": "Microsoft.ServiceFabric/locations/managedVMSizes", + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedVMSizes/Standard_A2m_v2", + "properties": { + "size": "Standard_A2m_v2" + } + }, + { + "name": "Standard_A4m_v2", + "type": "Microsoft.ServiceFabric/locations/managedVMSizes", + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedVMSizes/Standard_A4m_v2", + "properties": { + "size": "Standard_A4m_v2" + } + }, + { + "name": "Standard_A8m_v2", + "type": "Microsoft.ServiceFabric/locations/managedVMSizes", + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedVMSizes/Standard_A8m_v2", + "properties": { + "size": "Standard_A8m_v2" + } + }, + { + "name": "Basic_A0", + "type": "Microsoft.ServiceFabric/locations/managedVMSizes", + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedVMSizes/Basic_A0", + "properties": { + "size": "Basic_A0" + } + }, + { + "name": "Basic_A1", + "type": "Microsoft.ServiceFabric/locations/managedVMSizes", + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedVMSizes/Basic_A1", + "properties": { + "size": "Basic_A1" + } + }, + { + "name": "Basic_A2", + "type": "Microsoft.ServiceFabric/locations/managedVMSizes", + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedVMSizes/Basic_A2", + "properties": { + "size": "Basic_A2" + } + }, + { + "name": "Basic_A3", + "type": "Microsoft.ServiceFabric/locations/managedVMSizes", + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedVMSizes/Basic_A3", + "properties": { + "size": "Basic_A3" + } + }, + { + "name": "Basic_A4", + "type": "Microsoft.ServiceFabric/locations/managedVMSizes", + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedVMSizes/Basic_A4", + "properties": { + "size": "Basic_A4" + } + }, + { + "name": "Standard_A0", + "type": "Microsoft.ServiceFabric/locations/managedVMSizes", + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastus/managedVMSizes/Standard_A0", + "properties": { + "size": "Standard_A0" + } + } + ] + } + } + }, + "operationId": "managedUnsupportedVMSizes_List", + "title": "List unsupported vm sizes" +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/servicefabricmanagedclusters.json b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/servicefabricmanagedclusters.json new file mode 100644 index 000000000000..a623fb6d0b9d --- /dev/null +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/preview/2025-10-01-preview/servicefabricmanagedclusters.json @@ -0,0 +1,9256 @@ +{ + "swagger": "2.0", + "info": { + "title": "ServiceFabricManagedClustersManagementClient", + "version": "2025-10-01-preview", + "description": "Service Fabric Managed Clusters Management Client", + "x-typespec-generated": [ + { + "emitter": "@azure-tools/typespec-autorest" + } + ] + }, + "schemes": [ + "https" + ], + "host": "management.azure.com", + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "description": "Azure Active Directory OAuth2 Flow.", + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "tags": [ + { + "name": "Operations" + }, + { + "name": "Applications" + }, + { + "name": "ApplicationTypes" + }, + { + "name": "ApplicationTypeVersions" + }, + { + "name": "Services" + }, + { + "name": "ManagedClusterVersion" + }, + { + "name": "ManagedVMSizes" + }, + { + "name": "ManagedClusters" + }, + { + "name": "FaultSimulation" + }, + { + "name": "ManagedAzResiliencyStatus" + }, + { + "name": "ManagedApplyMaintenanceWindow" + }, + { + "name": "ManagedMaintenanceWindowStatus" + }, + { + "name": "NodeTypes" + }, + { + "name": "NodeTypeSkus" + } + ], + "paths": { + "/providers/Microsoft.ServiceFabric/operations": { + "get": { + "operationId": "Operations_List", + "tags": [ + "Operations" + ], + "summary": "Lists all of the available Service Fabric resource provider API operations.", + "description": "Get the list of available Service Fabric resource provider API operations.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/OperationListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List the operations for the provider": { + "$ref": "./examples/OperationsList_example.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ServiceFabric/locations/{location}/environments/{environment}/managedClusterVersions": { + "get": { + "operationId": "ManagedClusterVersion_ListByEnvironment", + "tags": [ + "ManagedClusterVersion" + ], + "summary": "Gets the list of Service Fabric cluster code versions available for the specified environment.", + "description": "Gets all available code versions for Service Fabric cluster resources by environment.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "location", + "in": "path", + "description": "The location for the cluster code versions. This is different from cluster location.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + { + "name": "environment", + "in": "path", + "description": "The operating system of the cluster.", + "required": true, + "type": "string", + "enum": [ + "Windows" + ], + "x-ms-enum": { + "name": "ManagedClusterVersionEnvironment", + "modelAsString": true, + "values": [ + { + "name": "Windows", + "value": "Windows", + "description": "Indicates os is Windows." + } + ] + }, + "x-ms-parameter-location": "method" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/ManagedClusterCodeVersionResult" + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List cluster versions by environment": { + "$ref": "./examples/ManagedClusterVersionListByEnvironment.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ServiceFabric/locations/{location}/environments/{environment}/managedClusterVersions/{clusterVersion}": { + "get": { + "operationId": "ManagedClusterVersion_GetByEnvironment", + "tags": [ + "ManagedClusterVersion" + ], + "summary": "Gets information about a Service Fabric cluster code version available for the specified environment.", + "description": "Gets information about an available Service Fabric cluster code version by environment.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "location", + "in": "path", + "description": "The location for the cluster code versions. This is different from cluster location.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + { + "name": "environment", + "in": "path", + "description": "The operating system of the cluster.", + "required": true, + "type": "string", + "enum": [ + "Windows" + ], + "x-ms-enum": { + "name": "ManagedClusterVersionEnvironment", + "modelAsString": true, + "values": [ + { + "name": "Windows", + "value": "Windows", + "description": "Indicates os is Windows." + } + ] + }, + "x-ms-parameter-location": "method" + }, + { + "name": "clusterVersion", + "in": "path", + "description": "The cluster code version.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ManagedClusterCodeVersionResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get cluster version by environment": { + "$ref": "./examples/ManagedClusterVersionGetByEnvironment_example.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ServiceFabric/locations/{location}/managedClusterOperationResults/{operationId}": { + "get": { + "operationId": "OperationResults_Get", + "summary": "Get long running operation result.", + "description": "Get long running operation result.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" + }, + { + "name": "operationId", + "in": "path", + "description": "operation identifier.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + } + ], + "responses": { + "200": { + "description": "The request has succeeded." + }, + "202": { + "description": "The request has been accepted for processing, but processing has not yet completed.", + "headers": { + "location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "204": { + "description": "No Content. For Delete operation results." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get long running operation result": { + "$ref": "./examples/OperationResultsGet_example.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ServiceFabric/locations/{location}/managedClusterOperations/{operationId}": { + "get": { + "operationId": "OperationStatus_Get", + "summary": "Get long running operation status.", + "description": "Get long running operation status.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter" + }, + { + "name": "operationId", + "in": "path", + "description": "operation identifier.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/LongRunningOperationResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Error response describing why the operation failed.": { + "$ref": "./examples/OperationStatusFailed_example.json" + }, + "OK. The request has succeeded.": { + "$ref": "./examples/OperationStatusSucceeded_example.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ServiceFabric/locations/{location}/managedClusterVersions": { + "get": { + "operationId": "ManagedClusterVersion_List", + "tags": [ + "ManagedClusterVersion" + ], + "summary": "Gets the list of Service Fabric cluster code versions available for the specified location.", + "description": "Gets all available code versions for Service Fabric cluster resources by location.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "location", + "in": "path", + "description": "The location for the cluster code versions. This is different from cluster location.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/ManagedClusterCodeVersionResult" + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List cluster versions": { + "$ref": "./examples/ManagedClusterVersionList_example.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ServiceFabric/locations/{location}/managedClusterVersions/{clusterVersion}": { + "get": { + "operationId": "ManagedClusterVersion_Get", + "tags": [ + "ManagedClusterVersion" + ], + "summary": "Gets information about a Service Fabric managed cluster code version available in the specified location.", + "description": "Gets information about an available Service Fabric managed cluster code version.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "location", + "in": "path", + "description": "The location for the cluster code versions. This is different from cluster location.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + { + "name": "clusterVersion", + "in": "path", + "description": "The cluster code version.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ManagedClusterCodeVersionResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get cluster version": { + "$ref": "./examples/ManagedClusterVersionGet_example.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ServiceFabric/locations/{location}/managedUnsupportedVMSizes": { + "get": { + "operationId": "managedUnsupportedVMSizes_List", + "tags": [ + "ManagedVMSizes" + ], + "description": "Get the lists of unsupported vm sizes for Service Fabric Managed Clusters.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "location", + "in": "path", + "description": "The location for the cluster code versions. This is different from cluster location.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ManagedVMSizesResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List unsupported vm sizes": { + "$ref": "./examples/managedUnsupportedVMSizesList_example.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ServiceFabric/locations/{location}/managedUnsupportedVMSizes/{vmSize}": { + "get": { + "operationId": "managedUnsupportedVMSizes_Get", + "tags": [ + "ManagedVMSizes" + ], + "description": "Get unsupported vm size for Service Fabric Managed Clusters.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "location", + "in": "path", + "description": "The location for the cluster code versions. This is different from cluster location.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + { + "name": "vmSize", + "in": "path", + "description": "VM Size name.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ManagedVMSize" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get unsupported vm sizes": { + "$ref": "./examples/managedUnsupportedVMSizesGet_example.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ServiceFabric/managedClusters": { + "get": { + "operationId": "ManagedClusters_ListBySubscription", + "tags": [ + "ManagedClusters" + ], + "description": "Gets all Service Fabric cluster resources created or in the process of being created in the subscription.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ManagedClusterListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List managed clusters": { + "$ref": "./examples/ManagedClusterListBySubscriptionOperation_example.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters": { + "get": { + "operationId": "ManagedClusters_ListByResourceGroup", + "tags": [ + "ManagedClusters" + ], + "description": "Gets all Service Fabric cluster resources created or in the process of being created in the resource group.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ManagedClusterListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List cluster by resource group": { + "$ref": "./examples/ManagedClusterListByResourceGroupOperation_example.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}": { + "get": { + "operationId": "ManagedClusters_Get", + "tags": [ + "ManagedClusters" + ], + "description": "Get a Service Fabric managed cluster resource created or in the process of being created in the specified resource group.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "clusterName", + "in": "path", + "description": "The name of the cluster resource.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ManagedCluster" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get a cluster": { + "$ref": "./examples/ManagedClusterGetOperation_example.json" + } + } + }, + "put": { + "operationId": "ManagedClusters_CreateOrUpdate", + "tags": [ + "ManagedClusters" + ], + "description": "Create or update a Service Fabric managed cluster resource with the specified name.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "clusterName", + "in": "path", + "description": "The name of the cluster resource.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "The cluster resource.", + "required": true, + "schema": { + "$ref": "#/definitions/ManagedCluster" + } + } + ], + "responses": { + "200": { + "description": "Resource 'ManagedCluster' update operation succeeded", + "schema": { + "$ref": "#/definitions/ManagedCluster" + } + }, + "202": { + "description": "The request has been accepted for processing, but processing has not yet completed.", + "schema": { + "$ref": "#/definitions/ManagedCluster" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "format": "uri", + "description": "A link to the status monitor" + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Put a cluster with maximum parameters": { + "$ref": "./examples/ManagedClusterPutOperation_example_max.json" + }, + "Put a cluster with minimum parameters": { + "$ref": "./examples/ManagedClusterPutOperation_example_min.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/ManagedCluster" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "ManagedClusters_Update", + "tags": [ + "ManagedClusters" + ], + "description": "Update the tags of of a Service Fabric managed cluster resource with the specified name.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "clusterName", + "in": "path", + "description": "The name of the cluster resource.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "The managed cluster resource updated tags.", + "required": true, + "schema": { + "$ref": "#/definitions/ManagedClusterUpdateParameters" + } + } + ], + "responses": { + "200": { + "description": "Resource 'ManagedCluster' update operation succeeded", + "schema": { + "$ref": "#/definitions/ManagedCluster" + } + }, + "202": { + "description": "The request has been accepted for processing, but processing has not yet completed.", + "schema": { + "$ref": "#/definitions/ManagedCluster" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "format": "uri", + "description": "A link to the status monitor" + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Patch a managed cluster": { + "$ref": "./examples/ManagedClusterPatchOperation_example.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/ManagedCluster" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "ManagedClusters_Delete", + "tags": [ + "ManagedClusters" + ], + "description": "Delete a Service Fabric managed cluster resource with the specified name.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "clusterName", + "in": "path", + "description": "The name of the cluster resource.", + "required": true, + "type": "string" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "format": "uri", + "description": "A link to the status monitor" + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Delete a cluster": { + "$ref": "./examples/ManagedClusterDeleteOperation_example.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/applicationTypes": { + "get": { + "operationId": "ApplicationTypes_List", + "tags": [ + "ApplicationTypes" + ], + "description": "Gets all application type name resources created or in the process of being created in the Service Fabric managed cluster resource.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "clusterName", + "in": "path", + "description": "The name of the cluster resource.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ApplicationTypeResourceList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get a list of application type name resources": { + "$ref": "./examples/ApplicationTypeNameListOperation_example.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/applicationTypes/{applicationTypeName}": { + "get": { + "operationId": "ApplicationTypes_Get", + "tags": [ + "ApplicationTypes" + ], + "description": "Get a Service Fabric application type name resource created or in the process of being created in the Service Fabric managed cluster resource.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "clusterName", + "in": "path", + "description": "The name of the cluster resource.", + "required": true, + "type": "string" + }, + { + "name": "applicationTypeName", + "in": "path", + "description": "The name of the application type name resource.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ApplicationTypeResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get an application type": { + "$ref": "./examples/ApplicationTypeNameGetOperation_example.json" + } + } + }, + "put": { + "operationId": "ApplicationTypes_CreateOrUpdate", + "tags": [ + "ApplicationTypes" + ], + "description": "Create or update a Service Fabric managed application type name resource with the specified name.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "clusterName", + "in": "path", + "description": "The name of the cluster resource.", + "required": true, + "type": "string" + }, + { + "name": "applicationTypeName", + "in": "path", + "description": "The name of the application type name resource.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "The application type name resource.", + "required": true, + "schema": { + "$ref": "#/definitions/ApplicationTypeResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'ApplicationTypeResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/ApplicationTypeResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Put an application type": { + "$ref": "./examples/ApplicationTypeNamePutOperation_example.json" + } + } + }, + "patch": { + "operationId": "ApplicationTypes_Update", + "tags": [ + "ApplicationTypes" + ], + "description": "Updates the tags of an application type resource of a given managed cluster.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "clusterName", + "in": "path", + "description": "The name of the cluster resource.", + "required": true, + "type": "string" + }, + { + "name": "applicationTypeName", + "in": "path", + "description": "The name of the application type name resource.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "The application type resource updated tags.", + "required": true, + "schema": { + "$ref": "#/definitions/ApplicationTypeUpdateParameters" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ApplicationTypeResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Patch an application type": { + "$ref": "./examples/ApplicationTypeNamePatchOperation_example.json" + } + } + }, + "delete": { + "operationId": "ApplicationTypes_Delete", + "tags": [ + "ApplicationTypes" + ], + "description": "Delete a Service Fabric managed application type name resource with the specified name.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "clusterName", + "in": "path", + "description": "The name of the cluster resource.", + "required": true, + "type": "string" + }, + { + "name": "applicationTypeName", + "in": "path", + "description": "The name of the application type name resource.", + "required": true, + "type": "string" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "format": "uri", + "description": "A link to the status monitor" + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Delete an application type": { + "$ref": "./examples/ApplicationTypeNameDeleteOperation_example.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/applicationTypes/{applicationTypeName}/versions": { + "get": { + "operationId": "ApplicationTypeVersions_ListByApplicationTypes", + "tags": [ + "ApplicationTypeVersions" + ], + "description": "Gets all application type version resources created or in the process of being created in the Service Fabric managed application type name resource.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "clusterName", + "in": "path", + "description": "The name of the cluster resource.", + "required": true, + "type": "string" + }, + { + "name": "applicationTypeName", + "in": "path", + "description": "The name of the application type name resource.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ApplicationTypeVersionResourceList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get a list of application type version resources": { + "$ref": "./examples/ApplicationTypeVersionListOperation_example.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/applicationTypes/{applicationTypeName}/versions/{version}": { + "get": { + "operationId": "ApplicationTypeVersions_Get", + "tags": [ + "ApplicationTypeVersions" + ], + "description": "Get a Service Fabric managed application type version resource created or in the process of being created in the Service Fabric managed application type name resource.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "clusterName", + "in": "path", + "description": "The name of the cluster resource.", + "required": true, + "type": "string" + }, + { + "name": "applicationTypeName", + "in": "path", + "description": "The name of the application type name resource.", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "The application type version.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ApplicationTypeVersionResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get an application type version": { + "$ref": "./examples/ApplicationTypeVersionGetOperation_example.json" + } + } + }, + "put": { + "operationId": "ApplicationTypeVersions_CreateOrUpdate", + "tags": [ + "ApplicationTypeVersions" + ], + "description": "Create or update a Service Fabric managed application type version resource with the specified name.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "clusterName", + "in": "path", + "description": "The name of the cluster resource.", + "required": true, + "type": "string" + }, + { + "name": "applicationTypeName", + "in": "path", + "description": "The name of the application type name resource.", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "The application type version.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "The application type version resource.", + "required": true, + "schema": { + "$ref": "#/definitions/ApplicationTypeVersionResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'ApplicationTypeVersionResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/ApplicationTypeVersionResource" + } + }, + "202": { + "description": "The request has been accepted for processing, but processing has not yet completed.", + "schema": { + "$ref": "#/definitions/ApplicationTypeVersionResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "format": "uri", + "description": "A link to the status monitor" + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Put an application type version": { + "$ref": "./examples/ApplicationTypeVersionPutOperation_example.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/ApplicationTypeVersionResource" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "ApplicationTypeVersions_Update", + "tags": [ + "ApplicationTypeVersions" + ], + "description": "Updates the tags of an application type version resource of a given managed cluster.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "clusterName", + "in": "path", + "description": "The name of the cluster resource.", + "required": true, + "type": "string" + }, + { + "name": "applicationTypeName", + "in": "path", + "description": "The name of the application type name resource.", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "The application type version.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "The application type version resource updated tags.", + "required": true, + "schema": { + "$ref": "#/definitions/ApplicationTypeVersionUpdateParameters" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ApplicationTypeVersionResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Patch an application type version": { + "$ref": "./examples/ApplicationTypeVersionPatchOperation_example.json" + } + } + }, + "delete": { + "operationId": "ApplicationTypeVersions_Delete", + "tags": [ + "ApplicationTypeVersions" + ], + "description": "Delete a Service Fabric managed application type version resource with the specified name.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "clusterName", + "in": "path", + "description": "The name of the cluster resource.", + "required": true, + "type": "string" + }, + { + "name": "applicationTypeName", + "in": "path", + "description": "The name of the application type name resource.", + "required": true, + "type": "string" + }, + { + "name": "version", + "in": "path", + "description": "The application type version.", + "required": true, + "type": "string" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "format": "uri", + "description": "A link to the status monitor" + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Delete an application type version": { + "$ref": "./examples/ApplicationTypeVersionDeleteOperation_example.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/applications": { + "get": { + "operationId": "Applications_List", + "tags": [ + "Applications" + ], + "description": "Gets all managed application resources created or in the process of being created in the Service Fabric cluster resource.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "clusterName", + "in": "path", + "description": "The name of the cluster resource.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ApplicationResourceList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get a list of application resources": { + "$ref": "./examples/ApplicationListOperation_example.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/applications/{applicationName}": { + "get": { + "operationId": "Applications_Get", + "tags": [ + "Applications" + ], + "description": "Get a Service Fabric managed application resource created or in the process of being created in the Service Fabric cluster resource.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "clusterName", + "in": "path", + "description": "The name of the cluster resource.", + "required": true, + "type": "string" + }, + { + "name": "applicationName", + "in": "path", + "description": "The name of the application resource.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ApplicationResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get an application": { + "$ref": "./examples/ApplicationGetOperation_example.json" + } + } + }, + "put": { + "operationId": "Applications_CreateOrUpdate", + "tags": [ + "Applications" + ], + "description": "Create or update a Service Fabric managed application resource with the specified name.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "clusterName", + "in": "path", + "description": "The name of the cluster resource.", + "required": true, + "type": "string" + }, + { + "name": "applicationName", + "in": "path", + "description": "The name of the application resource.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "The application resource.", + "required": true, + "schema": { + "$ref": "#/definitions/ApplicationResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'ApplicationResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/ApplicationResource" + } + }, + "202": { + "description": "The request has been accepted for processing, but processing has not yet completed.", + "schema": { + "$ref": "#/definitions/ApplicationResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "format": "uri", + "description": "A link to the status monitor" + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Put an application with maximum parameters": { + "$ref": "./examples/ApplicationPutOperation_example_max.json" + }, + "Put an application with minimum parameters": { + "$ref": "./examples/ApplicationPutOperation_example_min.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/ApplicationResource" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Applications_Update", + "tags": [ + "Applications" + ], + "description": "Updates an application resource of a given managed cluster.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "clusterName", + "in": "path", + "description": "The name of the cluster resource.", + "required": true, + "type": "string" + }, + { + "name": "applicationName", + "in": "path", + "description": "The name of the application resource.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "The application resource updated tags.", + "required": true, + "schema": { + "$ref": "#/definitions/ApplicationUpdateParameters" + } + } + ], + "responses": { + "200": { + "description": "Resource 'ApplicationResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/ApplicationResource" + } + }, + "202": { + "description": "The request has been accepted for processing, but processing has not yet completed.", + "schema": { + "$ref": "#/definitions/ApplicationResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "format": "uri", + "description": "A link to the status monitor" + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Patch an application": { + "$ref": "./examples/ApplicationPatchOperation_example.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/ApplicationResource" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Applications_Delete", + "tags": [ + "Applications" + ], + "description": "Delete a Service Fabric managed application resource with the specified name.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "clusterName", + "in": "path", + "description": "The name of the cluster resource.", + "required": true, + "type": "string" + }, + { + "name": "applicationName", + "in": "path", + "description": "The name of the application resource.", + "required": true, + "type": "string" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "format": "uri", + "description": "A link to the status monitor" + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Delete an application": { + "$ref": "./examples/ApplicationDeleteOperation_example.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/applications/{applicationName}/fetchHealth": { + "post": { + "operationId": "Applications_FetchHealth", + "tags": [ + "Applications" + ], + "description": "Get the status of the deployed application health. It will query the cluster to find the health of the deployed application.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "clusterName", + "in": "path", + "description": "The name of the cluster resource.", + "required": true, + "type": "string" + }, + { + "name": "applicationName", + "in": "path", + "description": "The name of the application resource.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "The parameters for fetching the health of a deployed application.", + "required": true, + "schema": { + "$ref": "#/definitions/ApplicationFetchHealthRequest" + } + } + ], + "responses": { + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "format": "uri", + "description": "A link to the status monitor" + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Fetch application health": { + "$ref": "./examples/ApplicationActionFetchHealth_example.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/applications/{applicationName}/fetchUpgradeStatus": { + "post": { + "operationId": "Applications_ReadUpgrade", + "tags": [ + "Applications" + ], + "description": "Get the status of the latest application upgrade. It will query the cluster to find the status of the latest application upgrade.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "clusterName", + "in": "path", + "description": "The name of the cluster resource.", + "required": true, + "type": "string" + }, + { + "name": "applicationName", + "in": "path", + "description": "The name of the application resource.", + "required": true, + "type": "string" + } + ], + "responses": { + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "format": "uri", + "description": "A link to the status monitor" + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get an application upgrade": { + "$ref": "./examples/ApplicationActionGetUpgrade_example.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/applications/{applicationName}/restartDeployedCodePackage": { + "post": { + "operationId": "Applications_RestartDeployedCodePackage", + "tags": [ + "Applications" + ], + "description": "Restart a code package instance of a service replica or instance. This is a potentially destabilizing operation that should be used with immense care.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "clusterName", + "in": "path", + "description": "The name of the cluster resource.", + "required": true, + "type": "string" + }, + { + "name": "applicationName", + "in": "path", + "description": "The name of the application resource.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "The parameters for restarting a deployed code package.", + "required": true, + "schema": { + "$ref": "#/definitions/RestartDeployedCodePackageRequest" + } + } + ], + "responses": { + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "format": "uri", + "description": "A link to the status monitor" + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Restart deployed code package": { + "$ref": "./examples/ApplicationActionRestartDeployedCodePackage_example.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/applications/{applicationName}/resumeUpgrade": { + "post": { + "operationId": "Applications_ResumeUpgrade", + "tags": [ + "Applications" + ], + "description": "Send a request to resume the current application upgrade. This will resume the application upgrade from where it was paused.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "clusterName", + "in": "path", + "description": "The name of the cluster resource.", + "required": true, + "type": "string" + }, + { + "name": "applicationName", + "in": "path", + "description": "The name of the application resource.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "The parameters for resuming an application upgrade.", + "required": true, + "schema": { + "$ref": "#/definitions/RuntimeResumeApplicationUpgradeParameters" + } + } + ], + "responses": { + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "format": "uri", + "description": "A link to the status monitor" + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Resume upgrade": { + "$ref": "./examples/ApplicationActionResumeUpgrade_example.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/applications/{applicationName}/services": { + "get": { + "operationId": "Services_ListByApplications", + "tags": [ + "Services" + ], + "description": "Gets all service resources created or in the process of being created in the Service Fabric managed application resource.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "clusterName", + "in": "path", + "description": "The name of the cluster resource.", + "required": true, + "type": "string" + }, + { + "name": "applicationName", + "in": "path", + "description": "The name of the application resource.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ServiceResourceList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get a list of service resources": { + "$ref": "./examples/ServiceListOperation_example.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/applications/{applicationName}/services/{serviceName}": { + "get": { + "operationId": "Services_Get", + "tags": [ + "Services" + ], + "description": "Get a Service Fabric service resource created or in the process of being created in the Service Fabric managed application resource.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "clusterName", + "in": "path", + "description": "The name of the cluster resource.", + "required": true, + "type": "string" + }, + { + "name": "applicationName", + "in": "path", + "description": "The name of the application resource.", + "required": true, + "type": "string" + }, + { + "name": "serviceName", + "in": "path", + "description": "The name of the service resource in the format of {applicationName}~{serviceName}.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ServiceResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get a service": { + "$ref": "./examples/ServiceGetOperation_example.json" + } + } + }, + "put": { + "operationId": "Services_CreateOrUpdate", + "tags": [ + "Services" + ], + "description": "Create or update a Service Fabric managed service resource with the specified name.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "clusterName", + "in": "path", + "description": "The name of the cluster resource.", + "required": true, + "type": "string" + }, + { + "name": "applicationName", + "in": "path", + "description": "The name of the application resource.", + "required": true, + "type": "string" + }, + { + "name": "serviceName", + "in": "path", + "description": "The name of the service resource in the format of {applicationName}~{serviceName}.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "The service resource.", + "required": true, + "schema": { + "$ref": "#/definitions/ServiceResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'ServiceResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/ServiceResource" + } + }, + "202": { + "description": "The request has been accepted for processing, but processing has not yet completed.", + "schema": { + "$ref": "#/definitions/ServiceResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "format": "uri", + "description": "A link to the status monitor" + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Put a service with maximum parameters": { + "$ref": "./examples/ServicePutOperation_example_max.json" + }, + "Put a service with minimum parameters": { + "$ref": "./examples/ServicePutOperation_example_min.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/ServiceResource" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Services_Update", + "tags": [ + "Services" + ], + "description": "Updates the tags of a service resource of a given managed cluster.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "clusterName", + "in": "path", + "description": "The name of the cluster resource.", + "required": true, + "type": "string" + }, + { + "name": "applicationName", + "in": "path", + "description": "The name of the application resource.", + "required": true, + "type": "string" + }, + { + "name": "serviceName", + "in": "path", + "description": "The name of the service resource in the format of {applicationName}~{serviceName}.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "The service resource updated tags.", + "required": true, + "schema": { + "$ref": "#/definitions/ServiceUpdateParameters" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ServiceResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Patch a service": { + "$ref": "./examples/ServicePatchOperation_example.json" + } + } + }, + "delete": { + "operationId": "Services_Delete", + "tags": [ + "Services" + ], + "description": "Delete a Service Fabric managed service resource with the specified name.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "clusterName", + "in": "path", + "description": "The name of the cluster resource.", + "required": true, + "type": "string" + }, + { + "name": "applicationName", + "in": "path", + "description": "The name of the application resource.", + "required": true, + "type": "string" + }, + { + "name": "serviceName", + "in": "path", + "description": "The name of the service resource in the format of {applicationName}~{serviceName}.", + "required": true, + "type": "string" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "format": "uri", + "description": "A link to the status monitor" + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Delete a service": { + "$ref": "./examples/ServiceDeleteOperation_example.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/applications/{applicationName}/services/{serviceName}/restartReplica": { + "post": { + "operationId": "Services_RestartReplica", + "tags": [ + "Services" + ], + "description": "A long-running resource action.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "clusterName", + "in": "path", + "description": "The name of the cluster resource.", + "required": true, + "type": "string" + }, + { + "name": "applicationName", + "in": "path", + "description": "The name of the application resource.", + "required": true, + "type": "string" + }, + { + "name": "serviceName", + "in": "path", + "description": "The name of the service resource in the format of {applicationName}~{serviceName}.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "The parameters for restarting replicas.", + "required": true, + "schema": { + "$ref": "#/definitions/RestartReplicaRequest" + } + } + ], + "responses": { + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "format": "uri", + "description": "A link to the status monitor" + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Restart replicas": { + "$ref": "./examples/ServiceActionRestartReplica_example.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/applications/{applicationName}/startRollback": { + "post": { + "operationId": "Applications_StartRollback", + "tags": [ + "Applications" + ], + "description": "Send a request to start a rollback of the current application upgrade. This will start rolling back the application to the previous version.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "clusterName", + "in": "path", + "description": "The name of the cluster resource.", + "required": true, + "type": "string" + }, + { + "name": "applicationName", + "in": "path", + "description": "The name of the application resource.", + "required": true, + "type": "string" + } + ], + "responses": { + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "format": "uri", + "description": "A link to the status monitor" + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Start an application upgrade rollback": { + "$ref": "./examples/ApplicationActionStartRollback_example.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/applications/{applicationName}/updateUpgrade": { + "post": { + "operationId": "Applications_UpdateUpgrade", + "tags": [ + "Applications" + ], + "description": "Send a request to update the current application upgrade.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "clusterName", + "in": "path", + "description": "The name of the cluster resource.", + "required": true, + "type": "string" + }, + { + "name": "applicationName", + "in": "path", + "description": "The name of the application resource.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "The parameters for updating an application upgrade.", + "required": true, + "schema": { + "$ref": "#/definitions/RuntimeUpdateApplicationUpgradeParameters" + } + } + ], + "responses": { + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "format": "uri", + "description": "A link to the status monitor" + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Update an application upgrade": { + "$ref": "./examples/ApplicationActionUpdateUpgrade_example.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/applyMaintenanceWindow": { + "post": { + "operationId": "managedApplyMaintenanceWindow_Post", + "tags": [ + "ManagedApplyMaintenanceWindow" + ], + "description": "Action to Apply Maintenance window on the Service Fabric Managed Clusters, right now. Any pending update will be applied.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "clusterName", + "in": "path", + "description": "The name of the cluster resource.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "The request has succeeded." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Apply Maintenance Window Status": { + "$ref": "./examples/ManagedApplyMaintenanceWindowPost_example.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/getFaultSimulation": { + "post": { + "operationId": "ManagedClusters_GetFaultSimulation", + "tags": [ + "ManagedClusters", + "FaultSimulation" + ], + "description": "Gets a fault simulation by the simulationId.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "clusterName", + "in": "path", + "description": "The name of the cluster resource.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "parameter with fault simulation id.", + "required": true, + "schema": { + "$ref": "#/definitions/FaultSimulationIdContent" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/FaultSimulation" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Managed Cluster Fault Simulation": { + "$ref": "./examples/faultSimulation/ManagedClusterGetFaultSimulation_example.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/getMaintenanceWindowStatus": { + "post": { + "operationId": "managedMaintenanceWindowStatus_Get", + "tags": [ + "ManagedMaintenanceWindowStatus" + ], + "description": "Action to get Maintenance Window Status of the Service Fabric Managed Clusters.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "clusterName", + "in": "path", + "description": "The name of the cluster resource.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ManagedMaintenanceWindowStatus" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Maintenance Window Status": { + "$ref": "./examples/ManagedMaintenanceWindowStatusGet_example.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/getazresiliencystatus": { + "post": { + "operationId": "managedAzResiliencyStatus_Get", + "tags": [ + "ManagedAzResiliencyStatus" + ], + "description": "Action to get Az Resiliency Status of all the Base resources constituting Service Fabric Managed Clusters.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "clusterName", + "in": "path", + "description": "The name of the cluster resource.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ManagedAzResiliencyStatus" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Az Resiliency status of Base Resources": { + "$ref": "./examples/managedAzResiliencyStatusGet_example.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/listFaultSimulation": { + "post": { + "operationId": "ManagedClusters_ListFaultSimulation", + "tags": [ + "ManagedClusters", + "FaultSimulation" + ], + "description": "Gets the list of recent fault simulations for the cluster.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "clusterName", + "in": "path", + "description": "The name of the cluster resource.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/FaultSimulationListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List Managed Cluster Fault Simulation": { + "$ref": "./examples/faultSimulation/ManagedClusterListFaultSimulation_example.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/nodeTypes": { + "get": { + "operationId": "NodeTypes_ListByManagedClusters", + "tags": [ + "NodeTypes" + ], + "description": "Gets all Node types of the specified managed cluster.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "clusterName", + "in": "path", + "description": "The name of the cluster resource.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NodeTypeListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List node type of the specified managed cluster": { + "$ref": "./examples/NodeTypeListOperation_example.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/nodeTypes/{nodeTypeName}": { + "get": { + "operationId": "NodeTypes_Get", + "tags": [ + "NodeTypes" + ], + "description": "Get a Service Fabric node type of a given managed cluster.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "clusterName", + "in": "path", + "description": "The name of the cluster resource.", + "required": true, + "type": "string" + }, + { + "name": "nodeTypeName", + "in": "path", + "description": "The name of the node type.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NodeType" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get a node type": { + "$ref": "./examples/NodeTypeGetOperation_example.json" + } + } + }, + "put": { + "operationId": "NodeTypes_CreateOrUpdate", + "tags": [ + "NodeTypes" + ], + "description": "Create or update a Service Fabric node type of a given managed cluster.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "clusterName", + "in": "path", + "description": "The name of the cluster resource.", + "required": true, + "type": "string" + }, + { + "name": "nodeTypeName", + "in": "path", + "description": "The name of the node type.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "The node type resource.", + "required": true, + "schema": { + "$ref": "#/definitions/NodeType" + } + } + ], + "responses": { + "200": { + "description": "Resource 'NodeType' update operation succeeded", + "schema": { + "$ref": "#/definitions/NodeType" + } + }, + "202": { + "description": "The request has been accepted for processing, but processing has not yet completed.", + "schema": { + "$ref": "#/definitions/NodeType" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "format": "uri", + "description": "A link to the status monitor" + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Put a node type with auto-scale parameters": { + "$ref": "./examples/NodeTypePutOperationAutoScale_example.json" + }, + "Put a node type with maximum parameters": { + "$ref": "./examples/NodeTypePutOperation_example_max.json" + }, + "Put a node type with minimum parameters": { + "$ref": "./examples/NodeTypePutOperation_example_min.json" + }, + "Put an stateless node type with temporary disk for service fabric": { + "$ref": "./examples/NodeTypePutOperationStateless_example.json" + }, + "Put node type with custom vm image": { + "$ref": "./examples/NodeTypePutOperationCustomImage_example.json" + }, + "Put node type with dedicated hosts": { + "$ref": "./examples/NodeTypePutOperationDedicatedHost_example.json" + }, + "Put node type with shared galleries custom vm image": { + "$ref": "./examples/NodeTypePutOperationCustomSharedGalleriesImage_example.json" + }, + "Put node type with vm image plan ": { + "$ref": "./examples/NodeTypePutOperationVmImagePlan_example.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/NodeType" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "NodeTypes_Update", + "tags": [ + "NodeTypes" + ], + "description": "Update the configuration of a node type of a given managed cluster, only updating tags or capacity.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "clusterName", + "in": "path", + "description": "The name of the cluster resource.", + "required": true, + "type": "string" + }, + { + "name": "nodeTypeName", + "in": "path", + "description": "The name of the node type.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "The parameters to update the node type configuration.", + "required": true, + "schema": { + "$ref": "#/definitions/NodeTypeUpdateParameters" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NodeType" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "format": "uri", + "description": "A link to the status monitor" + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Patch a node type": { + "$ref": "./examples/NodeTypePatchOperation_example.json" + }, + "Patch a node type while auto-scaling": { + "$ref": "./examples/NodeTypePatchOperationAutoScale_example.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/NodeType" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "NodeTypes_Delete", + "tags": [ + "NodeTypes" + ], + "description": "Delete a Service Fabric node type of a given managed cluster.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "clusterName", + "in": "path", + "description": "The name of the cluster resource.", + "required": true, + "type": "string" + }, + { + "name": "nodeTypeName", + "in": "path", + "description": "The name of the node type.", + "required": true, + "type": "string" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "format": "uri", + "description": "A link to the status monitor" + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Delete a node type": { + "$ref": "./examples/NodeTypeDeleteOperation_example.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/nodeTypes/{nodeTypeName}/deallocate": { + "post": { + "operationId": "NodeTypes_Deallocate", + "tags": [ + "NodeTypes" + ], + "description": "Deallocates one or more nodes on the node type. It will disable the fabric nodes, trigger a shutdown on the VMs and release them from the cluster.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "clusterName", + "in": "path", + "description": "The name of the cluster resource.", + "required": true, + "type": "string" + }, + { + "name": "nodeTypeName", + "in": "path", + "description": "The name of the node type.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "parameters for deallocate action.", + "required": true, + "schema": { + "$ref": "#/definitions/NodeTypeActionParameters" + } + } + ], + "responses": { + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "format": "uri", + "description": "A link to the status monitor" + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Deallocate nodes": { + "$ref": "./examples/DeallocateNodes_example.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/nodeTypes/{nodeTypeName}/deleteNode": { + "post": { + "operationId": "NodeTypes_DeleteNode", + "tags": [ + "NodeTypes" + ], + "description": "Deletes one or more nodes on the node type. It will disable the fabric nodes, trigger a delete on the VMs and removes the state from the cluster.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "clusterName", + "in": "path", + "description": "The name of the cluster resource.", + "required": true, + "type": "string" + }, + { + "name": "nodeTypeName", + "in": "path", + "description": "The name of the node type.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "parameters for delete action.", + "required": true, + "schema": { + "$ref": "#/definitions/NodeTypeActionParameters" + } + } + ], + "responses": { + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "format": "uri", + "description": "A link to the status monitor" + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Delete nodes": { + "$ref": "./examples/DeleteNodes_example.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/nodeTypes/{nodeTypeName}/getFaultSimulation": { + "post": { + "operationId": "NodeTypes_GetFaultSimulation", + "tags": [ + "NodeTypes", + "FaultSimulation" + ], + "description": "Gets a fault simulation by the simulationId.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "clusterName", + "in": "path", + "description": "The name of the cluster resource.", + "required": true, + "type": "string" + }, + { + "name": "nodeTypeName", + "in": "path", + "description": "The name of the node type.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "parameter with fault simulation id.", + "required": true, + "schema": { + "$ref": "#/definitions/FaultSimulationIdContent" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/FaultSimulation" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Node Type Fault Simulation": { + "$ref": "./examples/faultSimulation/NodeTypeGetFaultSimulation_example.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/nodeTypes/{nodeTypeName}/listFaultSimulation": { + "post": { + "operationId": "NodeTypes_ListFaultSimulation", + "tags": [ + "NodeTypes", + "FaultSimulation" + ], + "description": "Gets the list of recent fault simulations for the node type.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "clusterName", + "in": "path", + "description": "The name of the cluster resource.", + "required": true, + "type": "string" + }, + { + "name": "nodeTypeName", + "in": "path", + "description": "The name of the node type.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/FaultSimulationListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List Node Type Fault Simulation": { + "$ref": "./examples/faultSimulation/NodeTypeListFaultSimulation_example.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/nodeTypes/{nodeTypeName}/redeploy": { + "post": { + "operationId": "NodeTypes_Redeploy", + "tags": [ + "NodeTypes" + ], + "description": "Redeploys one or more nodes on the node type. It will disable the fabric nodes, trigger a shut down on the VMs, move them to a new node, and power them back on.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "clusterName", + "in": "path", + "description": "The name of the cluster resource.", + "required": true, + "type": "string" + }, + { + "name": "nodeTypeName", + "in": "path", + "description": "The name of the node type.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "parameters for redeploy action.", + "required": true, + "schema": { + "$ref": "#/definitions/NodeTypeActionParameters" + } + } + ], + "responses": { + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "format": "uri", + "description": "A link to the status monitor" + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Redeploy all nodes by upgrade domain": { + "$ref": "./examples/RedeployNodes_UD_example.json" + }, + "Redeploy nodes": { + "$ref": "./examples/RedeployNodes_example.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/nodeTypes/{nodeTypeName}/reimage": { + "post": { + "operationId": "NodeTypes_Reimage", + "tags": [ + "NodeTypes" + ], + "description": "Reimages one or more nodes on the node type. It will disable the fabric nodes, trigger a reimage on the VMs and activate the nodes back again.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "clusterName", + "in": "path", + "description": "The name of the cluster resource.", + "required": true, + "type": "string" + }, + { + "name": "nodeTypeName", + "in": "path", + "description": "The name of the node type.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "parameters for reimage action.", + "required": true, + "schema": { + "$ref": "#/definitions/NodeTypeActionParameters" + } + } + ], + "responses": { + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "format": "uri", + "description": "A link to the status monitor" + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Reimage all nodes by upgrade domain": { + "$ref": "./examples/ReimageNodes_UD_example.json" + }, + "Reimage nodes": { + "$ref": "./examples/ReimageNodes_example.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/nodeTypes/{nodeTypeName}/restart": { + "post": { + "operationId": "NodeTypes_Restart", + "tags": [ + "NodeTypes" + ], + "description": "Restarts one or more nodes on the node type. It will disable the fabric nodes, trigger a restart on the VMs and activate the nodes back again.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "clusterName", + "in": "path", + "description": "The name of the cluster resource.", + "required": true, + "type": "string" + }, + { + "name": "nodeTypeName", + "in": "path", + "description": "The name of the node type.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "parameters for restart action.", + "required": true, + "schema": { + "$ref": "#/definitions/NodeTypeActionParameters" + } + } + ], + "responses": { + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "format": "uri", + "description": "A link to the status monitor" + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Restart nodes": { + "$ref": "./examples/RestartNodes_example.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/nodeTypes/{nodeTypeName}/skus": { + "get": { + "operationId": "NodeTypeSkus_List", + "tags": [ + "NodeTypeSkus" + ], + "description": "Get a Service Fabric node type supported SKUs.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "clusterName", + "in": "path", + "description": "The name of the cluster resource.", + "required": true, + "type": "string" + }, + { + "name": "nodeTypeName", + "in": "path", + "description": "The name of the node type.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NodeTypeListSkuResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List a node type SKUs": { + "$ref": "./examples/NodeTypeSkusListOperation_example.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/nodeTypes/{nodeTypeName}/start": { + "post": { + "operationId": "NodeTypes_Start", + "tags": [ + "NodeTypes" + ], + "description": "Starts one or more nodes on the node type. It will trigger an allocation of the fabric node if needed and activate them.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "clusterName", + "in": "path", + "description": "The name of the cluster resource.", + "required": true, + "type": "string" + }, + { + "name": "nodeTypeName", + "in": "path", + "description": "The name of the node type.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "parameters for start action.", + "required": true, + "schema": { + "$ref": "#/definitions/NodeTypeActionParameters" + } + } + ], + "responses": { + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "format": "uri", + "description": "A link to the status monitor" + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Start nodes": { + "$ref": "./examples/StartNodes_example.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/nodeTypes/{nodeTypeName}/startFaultSimulation": { + "post": { + "operationId": "NodeTypes_StartFaultSimulation", + "tags": [ + "NodeTypes", + "FaultSimulation" + ], + "description": "Starts a fault simulation on the node type.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "clusterName", + "in": "path", + "description": "The name of the cluster resource.", + "required": true, + "type": "string" + }, + { + "name": "nodeTypeName", + "in": "path", + "description": "The name of the node type.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "parameters describing the fault simulation.", + "required": true, + "schema": { + "$ref": "#/definitions/FaultSimulationContentWrapper" + } + } + ], + "responses": { + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Start Node Type Fault Simulation": { + "$ref": "./examples/faultSimulation/NodeTypeStartFaultSimulation_example.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/FaultSimulation" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/nodeTypes/{nodeTypeName}/stopFaultSimulation": { + "post": { + "operationId": "NodeTypes_StopFaultSimulation", + "tags": [ + "NodeTypes", + "FaultSimulation" + ], + "description": "Stops a fault simulation on the node type.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "clusterName", + "in": "path", + "description": "The name of the cluster resource.", + "required": true, + "type": "string" + }, + { + "name": "nodeTypeName", + "in": "path", + "description": "The name of the node type.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "parameter with fault simulation id.", + "required": true, + "schema": { + "$ref": "#/definitions/FaultSimulationIdContent" + } + } + ], + "responses": { + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Stop Node Type Fault Simulation": { + "$ref": "./examples/faultSimulation/NodeTypeStopFaultSimulation_example.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/FaultSimulation" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/startFaultSimulation": { + "post": { + "operationId": "ManagedClusters_StartFaultSimulation", + "tags": [ + "ManagedClusters", + "FaultSimulation" + ], + "description": "Starts a fault simulation on the cluster.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "clusterName", + "in": "path", + "description": "The name of the cluster resource.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "parameters describing the fault simulation.", + "required": true, + "schema": { + "$ref": "#/definitions/FaultSimulationContentWrapper" + } + } + ], + "responses": { + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Start Managed Cluster Fault Simulation": { + "$ref": "./examples/faultSimulation/ManagedClusterStartFaultSimulation_example.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/FaultSimulation" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/stopFaultSimulation": { + "post": { + "operationId": "ManagedClusters_StopFaultSimulation", + "tags": [ + "ManagedClusters", + "FaultSimulation" + ], + "description": "Stops a fault simulation on the cluster.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "clusterName", + "in": "path", + "description": "The name of the cluster resource.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "parameter with fault simulation id.", + "required": true, + "schema": { + "$ref": "#/definitions/FaultSimulationIdContent" + } + } + ], + "responses": { + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Stop Managed Cluster Fault Simulation": { + "$ref": "./examples/faultSimulation/ManagedClusterStopFaultSimulation_example.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/FaultSimulation" + }, + "x-ms-long-running-operation": true + } + } + }, + "definitions": { + "Access": { + "type": "string", + "description": "The network traffic is allowed or denied.", + "enum": [ + "allow", + "deny" + ], + "x-ms-enum": { + "name": "Access", + "modelAsString": true, + "values": [ + { + "name": "allow", + "value": "allow", + "description": "The network traffic is allowed." + }, + { + "name": "deny", + "value": "deny", + "description": "The network traffic is denied." + } + ] + } + }, + "AddRemoveIncrementalNamedPartitionScalingMechanism": { + "type": "object", + "description": "Represents a scaling mechanism for adding or removing named partitions of a stateless service. Partition names are in the format '0','1'...'N-1'.", + "properties": { + "minPartitionCount": { + "type": "integer", + "format": "int32", + "description": "Minimum number of named partitions of the service." + }, + "maxPartitionCount": { + "type": "integer", + "format": "int32", + "description": "Maximum number of named partitions of the service." + }, + "scaleIncrement": { + "type": "integer", + "format": "int32", + "description": "The number of instances to add or remove during a scaling operation." + } + }, + "required": [ + "minPartitionCount", + "maxPartitionCount", + "scaleIncrement" + ], + "allOf": [ + { + "$ref": "#/definitions/ScalingMechanism" + } + ], + "x-ms-discriminator-value": "AddRemoveIncrementalNamedPartition" + }, + "AdditionalNetworkInterfaceConfiguration": { + "type": "object", + "description": "Specifies the settings for a network interface to attach to the node type.", + "properties": { + "name": { + "type": "string", + "description": "Name of the network interface." + }, + "enableAcceleratedNetworking": { + "type": "boolean", + "description": "Specifies whether the network interface is accelerated networking-enabled." + }, + "dscpConfiguration": { + "$ref": "#/definitions/SubResource", + "description": "Specifies the DSCP configuration to apply to the network interface." + }, + "ipConfigurations": { + "type": "array", + "description": "Specifies the IP configurations of the network interface.", + "items": { + "$ref": "#/definitions/IpConfiguration" + }, + "x-ms-identifiers": [ + "name" + ] + } + }, + "required": [ + "name", + "ipConfigurations" + ] + }, + "ApplicationFetchHealthRequest": { + "type": "object", + "description": "Parameters for fetching the health of an application.", + "properties": { + "eventsHealthStateFilter": { + "$ref": "#/definitions/HealthFilter", + "description": "Allows filtering of the health events returned in the response based on health state." + }, + "deployedApplicationsHealthStateFilter": { + "$ref": "#/definitions/HealthFilter", + "description": "Allows filtering of the deployed applications health state objects returned in the result of application health query based on their health state." + }, + "servicesHealthStateFilter": { + "$ref": "#/definitions/HealthFilter", + "description": "Allows filtering of the services health state objects returned in the result of services health query based on their health state." + }, + "excludeHealthStatistics": { + "type": "boolean", + "description": "Indicates whether the health statistics should be returned as part of the query result. False by default. The statistics show the number of children entities in health state Ok, Warning, and Error.", + "default": false + }, + "timeout": { + "type": "integer", + "format": "int64", + "description": "Request timeout for the health query in seconds. The default value is 60 seconds.", + "default": 60 + } + } + }, + "ApplicationHealthPolicy": { + "type": "object", + "description": "Defines a health policy used to evaluate the health of an application or one of its children entities.", + "properties": { + "considerWarningAsError": { + "type": "boolean", + "description": "Indicates whether warnings are treated with the same severity as errors." + }, + "maxPercentUnhealthyDeployedApplications": { + "type": "integer", + "format": "int32", + "description": "The maximum allowed percentage of unhealthy deployed applications. Allowed values are Byte values from zero to 100.\nThe percentage represents the maximum tolerated percentage of deployed applications that can be unhealthy before the application is considered in error.\nThis is calculated by dividing the number of unhealthy deployed applications over the number of nodes where the application is currently deployed on in the cluster.\nThe computation rounds up to tolerate one failure on small numbers of nodes. Default percentage is zero." + }, + "defaultServiceTypeHealthPolicy": { + "$ref": "#/definitions/ServiceTypeHealthPolicy", + "description": "The health policy used by default to evaluate the health of a service type." + }, + "serviceTypeHealthPolicyMap": { + "type": "object", + "description": "The map with service type health policy per service type name. The map is empty by default.", + "additionalProperties": { + "$ref": "#/definitions/ServiceTypeHealthPolicy" + } + } + }, + "required": [ + "considerWarningAsError", + "maxPercentUnhealthyDeployedApplications" + ] + }, + "ApplicationResource": { + "type": "object", + "description": "The application resource.", + "properties": { + "properties": { + "$ref": "#/definitions/ApplicationResourceProperties", + "description": "The application resource properties.", + "x-ms-client-flatten": true + }, + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + }, + "identity": { + "$ref": "#/definitions/ManagedIdentity", + "description": "Describes the managed identities for an Azure resource." + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives", + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ] + }, + "ApplicationResourceList": { + "type": "object", + "description": "The list of application resources.", + "properties": { + "value": { + "type": "array", + "description": "The ApplicationResource items on this page", + "items": { + "$ref": "#/definitions/ApplicationResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ApplicationResourceProperties": { + "type": "object", + "description": "The application resource properties.", + "properties": { + "managedIdentities": { + "type": "array", + "description": "List of user assigned identities for the application, each mapped to a friendly name.", + "items": { + "$ref": "#/definitions/ApplicationUserAssignedIdentity" + }, + "x-ms-identifiers": [] + }, + "provisioningState": { + "type": "string", + "description": "The current deployment or provisioning state, which only appears in the response", + "readOnly": true + }, + "version": { + "type": "string", + "description": "The version of the application type as defined in the application manifest.\nThis name must be the full Arm Resource ID for the referenced application type version." + }, + "parameters": { + "type": "object", + "description": "List of application parameters with overridden values from their default values specified in the application manifest.", + "additionalProperties": { + "type": "string" + } + }, + "upgradePolicy": { + "$ref": "#/definitions/ApplicationUpgradePolicy", + "description": "Describes the policy for a monitored application upgrade." + } + } + }, + "ApplicationTypeResource": { + "type": "object", + "description": "The application type name resource", + "properties": { + "properties": { + "$ref": "#/definitions/ApplicationTypeResourceProperties", + "description": "The application type name properties", + "x-ms-client-flatten": true + }, + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives", + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ] + }, + "ApplicationTypeResourceList": { + "type": "object", + "description": "The list of application type names.", + "properties": { + "value": { + "type": "array", + "description": "The ApplicationTypeResource items on this page", + "items": { + "$ref": "#/definitions/ApplicationTypeResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ApplicationTypeResourceProperties": { + "type": "object", + "description": "The application type name properties", + "properties": { + "provisioningState": { + "type": "string", + "description": "The current deployment or provisioning state, which only appears in the response.", + "readOnly": true + } + } + }, + "ApplicationTypeUpdateParameters": { + "type": "object", + "description": "Application type update request", + "properties": { + "tags": { + "type": "object", + "description": "Application type update parameters", + "additionalProperties": { + "type": "string" + } + } + } + }, + "ApplicationTypeVersionResource": { + "type": "object", + "description": "An application type version resource for the specified application type name resource.", + "properties": { + "properties": { + "$ref": "#/definitions/ApplicationTypeVersionResourceProperties", + "description": "The properties of the application type version resource.", + "x-ms-client-flatten": true + }, + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives", + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ] + }, + "ApplicationTypeVersionResourceList": { + "type": "object", + "description": "The list of application type version resources for the specified application type name resource.", + "properties": { + "value": { + "type": "array", + "description": "The ApplicationTypeVersionResource items on this page", + "items": { + "$ref": "#/definitions/ApplicationTypeVersionResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ApplicationTypeVersionResourceProperties": { + "type": "object", + "description": "The properties of the application type version resource.", + "properties": { + "provisioningState": { + "type": "string", + "description": "The current deployment or provisioning state, which only appears in the response", + "readOnly": true + }, + "appPackageUrl": { + "type": "string", + "description": "The URL to the application package" + } + }, + "required": [ + "appPackageUrl" + ] + }, + "ApplicationTypeVersionUpdateParameters": { + "type": "object", + "description": "Application type version update request", + "properties": { + "tags": { + "type": "object", + "description": "Application type version update parameters", + "additionalProperties": { + "type": "string" + } + } + } + }, + "ApplicationTypeVersionsCleanupPolicy": { + "type": "object", + "description": "The policy used to clean up unused versions. When the policy is not specified explicitly, the default unused application versions to keep will be 3.", + "properties": { + "maxUnusedVersionsToKeep": { + "type": "integer", + "format": "int32", + "description": "Number of unused versions per application type to keep.", + "minimum": 0 + } + }, + "required": [ + "maxUnusedVersionsToKeep" + ] + }, + "ApplicationUpdateParameters": { + "type": "object", + "description": "Application update request.", + "properties": { + "tags": { + "type": "object", + "description": "Application update parameters", + "additionalProperties": { + "type": "string" + } + }, + "properties": { + "$ref": "#/definitions/ApplicationUpdateParametersProperties", + "description": "Application update parameters properties." + } + } + }, + "ApplicationUpdateParametersProperties": { + "type": "object", + "description": "Properties for application update request.", + "properties": { + "parameters": { + "type": "object", + "description": "List of application parameters with overridden values from their default values specified in the application manifest.", + "additionalProperties": { + "type": "string" + } + } + } + }, + "ApplicationUpgradePolicy": { + "type": "object", + "description": "Describes the policy for a monitored application upgrade.", + "properties": { + "applicationHealthPolicy": { + "$ref": "#/definitions/ApplicationHealthPolicy", + "description": "Defines a health policy used to evaluate the health of an application or one of its children entities." + }, + "forceRestart": { + "type": "boolean", + "description": "If true, then processes are forcefully restarted during upgrade even when the code version has not changed (the upgrade only changes configuration or data).", + "default": false + }, + "rollingUpgradeMonitoringPolicy": { + "$ref": "#/definitions/RollingUpgradeMonitoringPolicy", + "description": "The policy used for monitoring the application upgrade" + }, + "instanceCloseDelayDuration": { + "type": "integer", + "format": "int64", + "description": "Duration in seconds, to wait before a stateless instance is closed, to allow the active requests to drain gracefully. This would be effective when the instance is closing during the application/cluster upgrade, only for those instances which have a non-zero delay duration configured in the service description." + }, + "upgradeMode": { + "$ref": "#/definitions/RollingUpgradeMode", + "description": "The mode used to monitor health during a rolling upgrade. The values are Monitored, and UnmonitoredAuto." + }, + "upgradeReplicaSetCheckTimeout": { + "type": "integer", + "format": "int64", + "description": "The maximum amount of time to block processing of an upgrade domain and prevent loss of availability when there are unexpected issues. When this timeout expires, processing of the upgrade domain will proceed regardless of availability loss issues. The timeout is reset at the start of each upgrade domain. Valid values are between 0 and 42949672925 inclusive. (unsigned 32-bit integer). Unit is in seconds." + }, + "recreateApplication": { + "type": "boolean", + "description": "Determines whether the application should be recreated on update. If value=true, the rest of the upgrade policy parameters are not allowed." + } + } + }, + "ApplicationUserAssignedIdentity": { + "type": "object", + "description": "User assigned identity for the application.", + "properties": { + "name": { + "type": "string", + "description": "The friendly name of user assigned identity." + }, + "principalId": { + "type": "string", + "description": "The principal id of user assigned identity." + } + }, + "required": [ + "name", + "principalId" + ] + }, + "AutoGeneratedDomainNameLabelScope": { + "type": "string", + "description": "This enum is the entrypoint to using a certificate from a public CA for your cluster. This property was introduced to solve the\ndomain squatting problem with new domains. A domain name will be generated in the following format: {clustername}.{hash}.{regionname}.sfmcdomain.\nThe hash portion comes from Azure DNS' Deterministic Name Library. The library creates a hash using the cluster's Tenant, Subscription, Resource Group\nand Resource Name using the AutoGeneratedDomainNameLabelScope/reuse policy chosen.", + "enum": [ + "TenantReuse", + "SubscriptionReuse", + "ResourceGroupReuse", + "NoReuse" + ], + "x-ms-enum": { + "name": "AutoGeneratedDomainNameLabelScope", + "modelAsString": true, + "values": [ + { + "name": "TenantReuse", + "value": "TenantReuse", + "description": "TenantReuse allows for the same hash to be created if the resource is created in the same Tenant with the same resource name." + }, + { + "name": "SubscriptionReuse", + "value": "SubscriptionReuse", + "description": "SubscriptionReuse allows for the same hash to be created if the resource is created in the same Subscription with the same resource name." + }, + { + "name": "ResourceGroupReuse", + "value": "ResourceGroupReuse", + "description": "ResourceGroupReuse allows for the same hash to be created if the resource is created in the same Resource Group with the same resource name." + }, + { + "name": "NoReuse", + "value": "NoReuse", + "description": "NoReuse will create a new hash regardless of the Subscription, Resource Group, Tenant and Resource name." + } + ] + } + }, + "AvailableOperationDisplay": { + "type": "object", + "description": "Operation supported by the Service Fabric resource provider", + "properties": { + "provider": { + "type": "string", + "description": "The name of the provider." + }, + "resource": { + "type": "string", + "description": "The resource on which the operation is performed" + }, + "operation": { + "type": "string", + "description": "The operation that can be performed." + }, + "description": { + "type": "string", + "description": "Operation description" + } + } + }, + "AveragePartitionLoadScalingTrigger": { + "type": "object", + "description": "Represents a scaling trigger related to an average load of a metric/resource of a partition.", + "properties": { + "metricName": { + "type": "string", + "description": "The name of the metric for which usage should be tracked." + }, + "lowerLoadThreshold": { + "type": "number", + "format": "double", + "description": "The lower limit of the load below which a scale in operation should be performed." + }, + "upperLoadThreshold": { + "type": "number", + "format": "double", + "description": "The upper limit of the load beyond which a scale out operation should be performed." + }, + "scaleInterval": { + "type": "string", + "description": "The period in seconds on which a decision is made whether to scale or not. This property should come in ISO 8601 format \"hh:mm:ss\"." + } + }, + "required": [ + "metricName", + "lowerLoadThreshold", + "upperLoadThreshold", + "scaleInterval" + ], + "allOf": [ + { + "$ref": "#/definitions/ScalingTrigger" + } + ], + "x-ms-discriminator-value": "AveragePartitionLoadTrigger" + }, + "AverageServiceLoadScalingTrigger": { + "type": "object", + "description": "Represents a scaling policy related to an average load of a metric/resource of a service.", + "properties": { + "metricName": { + "type": "string", + "description": "The name of the metric for which usage should be tracked." + }, + "lowerLoadThreshold": { + "type": "number", + "format": "double", + "description": "The lower limit of the load below which a scale in operation should be performed." + }, + "upperLoadThreshold": { + "type": "number", + "format": "double", + "description": "The upper limit of the load beyond which a scale out operation should be performed." + }, + "scaleInterval": { + "type": "string", + "description": "The period in seconds on which a decision is made whether to scale or not. This property should come in ISO 8601 format \"hh:mm:ss\"." + }, + "useOnlyPrimaryLoad": { + "type": "boolean", + "description": "Flag determines whether only the load of primary replica should be considered for scaling. If set to true, then trigger will only consider the load of primary replicas of stateful service. If set to false, trigger will consider load of all replicas. This parameter cannot be set to true for stateless service." + } + }, + "required": [ + "metricName", + "lowerLoadThreshold", + "upperLoadThreshold", + "scaleInterval", + "useOnlyPrimaryLoad" + ], + "allOf": [ + { + "$ref": "#/definitions/ScalingTrigger" + } + ], + "x-ms-discriminator-value": "AverageServiceLoadTrigger" + }, + "AzureActiveDirectory": { + "type": "object", + "description": "The settings to enable AAD authentication on the cluster.", + "properties": { + "tenantId": { + "type": "string", + "description": "Azure active directory tenant id." + }, + "clusterApplication": { + "type": "string", + "description": "Azure active directory cluster application id." + }, + "clientApplication": { + "type": "string", + "description": "Azure active directory client application id." + } + } + }, + "ClientCertificate": { + "type": "object", + "description": "Client certificate definition.", + "properties": { + "isAdmin": { + "type": "boolean", + "description": "Indicates if the client certificate has admin access to the cluster. Non admin clients can perform only read only operations on the cluster." + }, + "thumbprint": { + "type": "string", + "description": "Certificate thumbprint." + }, + "commonName": { + "type": "string", + "description": "Certificate common name." + }, + "issuerThumbprint": { + "type": "string", + "description": "Issuer thumbprint for the certificate. Only used together with CommonName." + } + }, + "required": [ + "isAdmin" + ] + }, + "ClusterHealthPolicy": { + "type": "object", + "description": "Defines a health policy used to evaluate the health of the cluster or of a cluster node.", + "properties": { + "maxPercentUnhealthyNodes": { + "type": "integer", + "format": "int32", + "description": "The maximum allowed percentage of unhealthy nodes before reporting an error. For example, to allow 10% of nodes to be unhealthy, this value would be 10.\n\nThe percentage represents the maximum tolerated percentage of nodes that can be unhealthy before the cluster is considered in error.\nIf the percentage is respected but there is at least one unhealthy node, the health is evaluated as Warning.\nThe percentage is calculated by dividing the number of unhealthy nodes over the total number of nodes in the cluster.\nThe computation rounds up to tolerate one failure on small numbers of nodes. Default percentage is zero.\n\nIn large clusters, some nodes will always be down or out for repairs, so this percentage should be configured to tolerate that.", + "default": 0, + "minimum": 0, + "maximum": 100 + }, + "maxPercentUnhealthyApplications": { + "type": "integer", + "format": "int32", + "description": "The maximum allowed percentage of unhealthy applications before reporting an error. For example, to allow 10% of applications to be unhealthy, this value would be 10.\n\nThe percentage represents the maximum tolerated percentage of applications that can be unhealthy before the cluster is considered in error.\nIf the percentage is respected but there is at least one unhealthy application, the health is evaluated as Warning.\nThis is calculated by dividing the number of unhealthy applications over the total number of application instances in the cluster, excluding applications of application types that are included in the ApplicationTypeHealthPolicyMap.\nThe computation rounds up to tolerate one failure on small numbers of applications. Default percentage is zero.", + "default": 0, + "minimum": 0, + "maximum": 100 + } + }, + "required": [ + "maxPercentUnhealthyNodes", + "maxPercentUnhealthyApplications" + ] + }, + "ClusterMonitoringPolicy": { + "type": "object", + "description": "Describes the monitoring policies for the cluster upgrade.", + "properties": { + "healthCheckWaitDuration": { + "type": "string", + "format": "duration-constant", + "description": "The length of time to wait after completing an upgrade domain before performing health checks. The duration can be in either hh:mm:ss or in d.hh:mm:ss.ms format." + }, + "healthCheckStableDuration": { + "type": "string", + "format": "duration-constant", + "description": "The amount of time that the application or cluster must remain healthy before the upgrade proceeds to the next upgrade domain. The duration can be in either hh:mm:ss or in d.hh:mm:ss.ms format." + }, + "healthCheckRetryTimeout": { + "type": "string", + "format": "duration-constant", + "description": "The amount of time to retry health evaluation when the application or cluster is unhealthy before the upgrade rolls back. The timeout can be in either hh:mm:ss or in d.hh:mm:ss.ms format." + }, + "upgradeTimeout": { + "type": "string", + "format": "duration-constant", + "description": "The amount of time the overall upgrade has to complete before the upgrade rolls back. The timeout can be in either hh:mm:ss or in d.hh:mm:ss.ms format." + }, + "upgradeDomainTimeout": { + "type": "string", + "format": "duration-constant", + "description": "The amount of time each upgrade domain has to complete before the upgrade rolls back. The timeout can be in either hh:mm:ss or in d.hh:mm:ss.ms format." + } + }, + "required": [ + "healthCheckWaitDuration", + "healthCheckStableDuration", + "healthCheckRetryTimeout", + "upgradeTimeout", + "upgradeDomainTimeout" + ] + }, + "ClusterState": { + "type": "string", + "description": "The current state of the cluster.", + "enum": [ + "WaitingForNodes", + "Deploying", + "BaselineUpgrade", + "Upgrading", + "UpgradeFailed", + "Ready" + ], + "x-ms-enum": { + "name": "ClusterState", + "modelAsString": true, + "values": [ + { + "name": "WaitingForNodes", + "value": "WaitingForNodes", + "description": "Indicates that the cluster resource is created and the resource provider is waiting for Service Fabric VM extension to boot up and report to it." + }, + { + "name": "Deploying", + "value": "Deploying", + "description": "Indicates that the Service Fabric runtime is being installed on the VMs. Cluster resource will be in this state until the cluster boots up and system services are up." + }, + { + "name": "BaselineUpgrade", + "value": "BaselineUpgrade", + "description": "Indicates that the cluster is upgrading to establishes the cluster version. This upgrade is automatically initiated when the cluster boots up for the first time." + }, + { + "name": "Upgrading", + "value": "Upgrading", + "description": "Indicates that the cluster is being upgraded with the user provided configuration." + }, + { + "name": "UpgradeFailed", + "value": "UpgradeFailed", + "description": "Indicates that the last upgrade for the cluster has failed." + }, + { + "name": "Ready", + "value": "Ready", + "description": "Indicates that the cluster is in a stable state." + } + ] + } + }, + "ClusterUpgradeCadence": { + "type": "string", + "description": "Indicates when new cluster runtime version upgrades will be applied after they are released. By default is Wave0.", + "enum": [ + "Wave0", + "Wave1", + "Wave2" + ], + "x-ms-enum": { + "name": "ClusterUpgradeCadence", + "modelAsString": true, + "values": [ + { + "name": "Wave0", + "value": "Wave0", + "description": "Cluster upgrade starts immediately after a new version is rolled out. Recommended for Test/Dev clusters." + }, + { + "name": "Wave1", + "value": "Wave1", + "description": "Cluster upgrade starts 7 days after a new version is rolled out. Recommended for Pre-prod clusters." + }, + { + "name": "Wave2", + "value": "Wave2", + "description": "Cluster upgrade starts 14 days after a new version is rolled out. Recommended for Production clusters." + } + ] + } + }, + "ClusterUpgradeDeltaHealthPolicy": { + "type": "object", + "description": "Describes the delta health policies for the cluster upgrade.", + "properties": { + "maxPercentDeltaUnhealthyNodes": { + "type": "integer", + "format": "int32", + "description": "The maximum allowed percentage of nodes health degradation allowed during cluster upgrades.\nThe delta is measured between the state of the nodes at the beginning of upgrade and the state of the nodes at the time of the health evaluation.\nThe check is performed after every upgrade domain upgrade completion to make sure the global state of the cluster is within tolerated limits.", + "minimum": 0, + "maximum": 100 + }, + "maxPercentUpgradeDomainDeltaUnhealthyNodes": { + "type": "integer", + "format": "int32", + "description": "The maximum allowed percentage of upgrade domain nodes health degradation allowed during cluster upgrades.\nThe delta is measured between the state of the upgrade domain nodes at the beginning of upgrade and the state of the upgrade domain nodes at the time of the health evaluation.\nThe check is performed after every upgrade domain upgrade completion for all completed upgrade domains to make sure the state of the upgrade domains is within tolerated limits.", + "minimum": 0, + "maximum": 100 + }, + "maxPercentDeltaUnhealthyApplications": { + "type": "integer", + "format": "int32", + "description": "The maximum allowed percentage of applications health degradation allowed during cluster upgrades.\nThe delta is measured between the state of the applications at the beginning of upgrade and the state of the applications at the time of the health evaluation.\nThe check is performed after every upgrade domain upgrade completion to make sure the global state of the cluster is within tolerated limits. System services are not included in this.\nNOTE: This value will overwrite the value specified in properties.UpgradeDescription.HealthPolicy.MaxPercentUnhealthyApplications", + "minimum": 0, + "maximum": 100 + } + }, + "required": [ + "maxPercentDeltaUnhealthyNodes" + ] + }, + "ClusterUpgradePolicy": { + "type": "object", + "description": "Describes the policy used when upgrading the cluster.", + "properties": { + "forceRestart": { + "type": "boolean", + "description": "If true, then processes are forcefully restarted during upgrade even when the code version has not changed (the upgrade only changes configuration or data).", + "default": false + }, + "healthPolicy": { + "$ref": "#/definitions/ClusterHealthPolicy", + "description": "The cluster health policy defines a health policy used to evaluate the health of the cluster during a cluster upgrade." + }, + "deltaHealthPolicy": { + "$ref": "#/definitions/ClusterUpgradeDeltaHealthPolicy", + "description": "The cluster delta health policy defines a health policy used to evaluate the health of the cluster during a cluster upgrade." + }, + "monitoringPolicy": { + "$ref": "#/definitions/ClusterMonitoringPolicy", + "description": "The cluster monitoring policy describes the parameters for monitoring an upgrade in Monitored mode." + }, + "upgradeReplicaSetCheckTimeout": { + "type": "string", + "description": "The maximum amount of time to block processing of an upgrade domain and prevent loss of availability when there are unexpected issues.\nWhen this timeout expires, processing of the upgrade domain will proceed regardless of availability loss issues.\nThe timeout is reset at the start of each upgrade domain. The timeout can be in either hh:mm:ss or in d.hh:mm:ss.ms format.\nThis value must be between 00:00:00 and 49710.06:28:15 (unsigned 32 bit integer for seconds)" + } + } + }, + "Direction": { + "type": "string", + "description": "Network security rule direction.", + "enum": [ + "inbound", + "outbound" + ], + "x-ms-enum": { + "name": "Direction", + "modelAsString": true, + "values": [ + { + "name": "inbound", + "value": "inbound", + "description": "Inbound direction." + }, + { + "name": "outbound", + "value": "outbound", + "description": "Outbound direction." + } + ] + } + }, + "EndpointRangeDescription": { + "type": "object", + "description": "Port range details", + "properties": { + "startPort": { + "type": "integer", + "format": "int32", + "description": "Starting port of a range of ports" + }, + "endPort": { + "type": "integer", + "format": "int32", + "description": "End port of a range of ports" + } + }, + "required": [ + "startPort", + "endPort" + ] + }, + "ErrorModelError": { + "type": "object", + "description": "The error details.", + "properties": { + "code": { + "type": "string", + "description": "The error code." + }, + "message": { + "type": "string", + "description": "The error message." + } + } + }, + "EvictionPolicyType": { + "type": "string", + "description": "Specifies the eviction policy for virtual machines in a SPOT node type.", + "enum": [ + "Delete", + "Deallocate" + ], + "x-ms-enum": { + "name": "EvictionPolicyType", + "modelAsString": true, + "values": [ + { + "name": "Delete", + "value": "Delete", + "description": "Eviction policy will be Delete for SPOT vms." + }, + { + "name": "Deallocate", + "value": "Deallocate", + "description": "Eviction policy will be Deallocate for SPOT vms." + } + ] + } + }, + "FailureAction": { + "type": "string", + "description": "The compensating action to perform when a Monitored upgrade encounters monitoring policy or health policy violations. Invalid indicates the failure action is invalid. Rollback specifies that the upgrade will start rolling back automatically. Manual indicates that the upgrade will switch to UnmonitoredManual upgrade mode.", + "enum": [ + "Rollback", + "Manual" + ], + "x-ms-enum": { + "name": "FailureAction", + "modelAsString": true, + "values": [ + { + "name": "Rollback", + "value": "Rollback", + "description": "Indicates that a rollback of the upgrade will be performed by Service Fabric if the upgrade fails." + }, + { + "name": "Manual", + "value": "Manual", + "description": "Indicates that a manual repair will need to be performed by the administrator if the upgrade fails. Service Fabric will not proceed to the next upgrade domain automatically." + } + ] + } + }, + "FaultKind": { + "type": "string", + "description": "The kind of fault simulation.", + "enum": [ + "Zone" + ], + "x-ms-enum": { + "name": "FaultKind", + "modelAsString": true, + "values": [ + { + "name": "Zone", + "value": "Zone", + "description": "Simulates an availability zone down." + } + ] + } + }, + "FaultSimulation": { + "type": "object", + "description": "Fault simulation object with status.", + "properties": { + "simulationId": { + "type": "string", + "description": "unique identifier for the fault simulation." + }, + "status": { + "$ref": "#/definitions/FaultSimulationStatus", + "description": "Fault simulation status" + }, + "startTime": { + "type": "string", + "format": "date-time", + "description": "The start time of the fault simulation." + }, + "endTime": { + "type": "string", + "format": "date-time", + "description": "The end time of the fault simulation." + }, + "details": { + "$ref": "#/definitions/FaultSimulationDetails", + "description": "Fault simulation details" + } + } + }, + "FaultSimulationConstraints": { + "type": "object", + "description": "Constraints for Fault Simulation action.", + "properties": { + "expirationTime": { + "type": "string", + "format": "date-time", + "description": "The absolute expiration timestamp (UTC) after which this fault simulation should be stopped if it's still active." + } + } + }, + "FaultSimulationContent": { + "type": "object", + "description": "Parameters for Fault Simulation action.", + "properties": { + "faultKind": { + "$ref": "#/definitions/FaultKind", + "description": "The kind of fault to be simulated." + }, + "force": { + "type": "boolean", + "description": "Force the action to go through without any check on the cluster." + }, + "constraints": { + "$ref": "#/definitions/FaultSimulationConstraints", + "description": "Constraints for Fault Simulation action." + } + }, + "discriminator": "faultKind", + "required": [ + "faultKind" + ] + }, + "FaultSimulationContentWrapper": { + "type": "object", + "description": "Fault Simulation Request for Start action.", + "properties": { + "parameters": { + "$ref": "#/definitions/FaultSimulationContent", + "description": "Parameters for Fault Simulation start action." + } + }, + "required": [ + "parameters" + ] + }, + "FaultSimulationDetails": { + "type": "object", + "description": "Details for Fault Simulation.", + "properties": { + "clusterId": { + "type": "string", + "description": "unique identifier for the cluster resource." + }, + "operationId": { + "type": "string", + "description": "unique identifier for the operation associated with the fault simulation." + }, + "nodeTypeFaultSimulation": { + "type": "array", + "description": "List of node type simulations associated with the cluster fault simulation.", + "items": { + "$ref": "#/definitions/NodeTypeFaultSimulation" + }, + "x-ms-identifiers": [ + "nodeTypeName" + ] + }, + "parameters": { + "$ref": "#/definitions/FaultSimulationContent", + "description": "Fault simulation parameters." + } + } + }, + "FaultSimulationIdContent": { + "type": "object", + "description": "Parameters for Fault Simulation id.", + "properties": { + "simulationId": { + "type": "string", + "description": "unique identifier for the fault simulation." + } + }, + "required": [ + "simulationId" + ] + }, + "FaultSimulationListResult": { + "type": "object", + "description": "Fault simulation list results", + "properties": { + "value": { + "type": "array", + "description": "The FaultSimulation items on this page", + "items": { + "$ref": "#/definitions/FaultSimulation" + }, + "x-ms-identifiers": [ + "simulationId" + ] + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "FaultSimulationStatus": { + "type": "string", + "description": "Fault simulation status.", + "enum": [ + "Starting", + "Active", + "Stopping", + "Done", + "StartFailed", + "StopFailed" + ], + "x-ms-enum": { + "name": "FaultSimulationStatus", + "modelAsString": true, + "values": [ + { + "name": "Starting", + "value": "Starting", + "description": "Indicates the fault simulation is starting. The simulation will have this status while the start operation is in progress." + }, + { + "name": "Active", + "value": "Active", + "description": "Indicates the fault simulation is active. The simulation will have this status after the start operation has completed successfully." + }, + { + "name": "Stopping", + "value": "Stopping", + "description": "Indicates the fault simulation is stopping. The simulation will have this status while the stop operation is in progress." + }, + { + "name": "Done", + "value": "Done", + "description": "Indicates the fault simulation is done. The simulation will have this status after the stop operation has completed successfully." + }, + { + "name": "StartFailed", + "value": "StartFailed", + "description": "Indicates the fault simulation has failed on start. The simulation will have this status after the start operation fails." + }, + { + "name": "StopFailed", + "value": "StopFailed", + "description": "Indicates the fault simulation has failed on stop. The simulation will have this status after the stop operation fails." + } + ] + } + }, + "FrontendConfiguration": { + "type": "object", + "description": "Describes the frontend configurations for the node type.", + "properties": { + "ipAddressType": { + "type": "string", + "description": "The IP address type of this frontend configuration. If omitted the default value is IPv4.", + "default": "IPv4", + "enum": [ + "IPv4", + "IPv6" + ], + "x-ms-enum": { + "name": "IPAddressType", + "modelAsString": true, + "values": [ + { + "name": "IPv4", + "value": "IPv4", + "description": "IPv4 address type." + }, + { + "name": "IPv6", + "value": "IPv6", + "description": "IPv6 address type." + } + ] + } + }, + "loadBalancerBackendAddressPoolId": { + "type": "string", + "format": "arm-id", + "description": "The resource Id of the Load Balancer backend address pool that the VM instances of the node type are associated with. The format of the resource Id is '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendAddressPoolName}'." + }, + "loadBalancerInboundNatPoolId": { + "type": "string", + "format": "arm-id", + "description": "The resource Id of the Load Balancer inbound NAT pool that the VM instances of the node type are associated with. The format of the resource Id is '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatPools/{inboundNatPoolName}'." + }, + "applicationGatewayBackendAddressPoolId": { + "type": "string", + "format": "arm-id", + "description": "The resource Id of application gateway backend address pool. The format of the resource Id is '/subscriptions//resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/backendAddressPools/{backendAddressPoolName}'.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Network/applicationGateways/backendAddressPools" + } + ] + } + } + } + }, + "HealthFilter": { + "type": "string", + "description": "Enum for filtering health events.", + "enum": [ + "Default", + "None", + "Ok", + "Warning", + "Error", + "All" + ], + "x-ms-enum": { + "name": "HealthFilter", + "modelAsString": true, + "values": [ + { + "name": "Default", + "value": "Default", + "description": "Default value. Matches any health state." + }, + { + "name": "None", + "value": "None", + "description": "Filter that doesn't match any health state. Used to return no results on a given collection of health entities." + }, + { + "name": "Ok", + "value": "Ok", + "description": "Filter for health state Ok." + }, + { + "name": "Warning", + "value": "Warning", + "description": "Filter for health state Warning." + }, + { + "name": "Error", + "value": "Error", + "description": "Filter for health state Error." + }, + { + "name": "All", + "value": "All", + "description": "Filter that matches input with any health state." + } + ] + } + }, + "IpConfiguration": { + "type": "object", + "description": "Specifies an IP configuration of the network interface.", + "properties": { + "name": { + "type": "string", + "description": "Name of the network interface." + }, + "applicationGatewayBackendAddressPools": { + "type": "array", + "description": "Specifies an array of references to backend address pools of application gateways. A node type can reference backend address pools of multiple application gateways. Multiple node types cannot use the same application gateway.", + "items": { + "$ref": "#/definitions/SubResource" + } + }, + "loadBalancerBackendAddressPools": { + "type": "array", + "description": "Specifies an array of references to backend address pools of load balancers. A node type can reference backend address pools of one public and one internal load balancer. Multiple node types cannot use the same basic sku load balancer.", + "items": { + "$ref": "#/definitions/SubResource" + } + }, + "loadBalancerInboundNatPools": { + "type": "array", + "description": "Specifies an array of references to inbound Nat pools of the load balancers. A node type can reference inbound nat pools of one public and one internal load balancer. Multiple node types cannot use the same basic sku load balancer.", + "items": { + "$ref": "#/definitions/SubResource" + } + }, + "subnet": { + "$ref": "#/definitions/SubResource", + "description": "Specifies the subnet of the network interface." + }, + "privateIPAddressVersion": { + "type": "string", + "description": "Specifies whether the IP configuration's private IP is IPv4 or IPv6. Default is IPv4.", + "default": "IPv4", + "enum": [ + "IPv4", + "IPv6" + ], + "x-ms-enum": { + "name": "PrivateIPAddressVersion", + "modelAsString": true, + "values": [ + { + "name": "IPv4", + "value": "IPv4", + "description": "The IP configuration's private IP is IPv4." + }, + { + "name": "IPv6", + "value": "IPv6", + "description": "The IP configuration's private IP is IPv6." + } + ] + } + }, + "publicIPAddressConfiguration": { + "$ref": "#/definitions/PublicIPAddressConfiguration", + "description": "The public IP address configuration of the network interface." + } + }, + "required": [ + "name" + ] + }, + "IpTag": { + "type": "object", + "description": "The IP tag associated with the public IP address.", + "properties": { + "ipTagType": { + "type": "string", + "description": "IP tag type. Example: FirstPartyUsage." + }, + "tag": { + "type": "string", + "description": "IP tag associated with the public IP. Example: SQL, Storage etc." + } + }, + "required": [ + "ipTagType", + "tag" + ] + }, + "LoadBalancingRule": { + "type": "object", + "description": "Describes a load balancing rule.", + "properties": { + "frontendPort": { + "type": "integer", + "format": "int32", + "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.", + "minimum": 1, + "maximum": 65534 + }, + "backendPort": { + "type": "integer", + "format": "int32", + "description": "The port used for internal connections on the endpoint. Acceptable values are between 1 and 65535.", + "minimum": 1, + "maximum": 65534 + }, + "protocol": { + "$ref": "#/definitions/Protocol", + "description": "The reference to the transport protocol used by the load balancing rule." + }, + "probePort": { + "type": "integer", + "format": "int32", + "description": "The prob port used by the load balancing rule. Acceptable values are between 1 and 65535.", + "minimum": 1, + "maximum": 65534 + }, + "probeProtocol": { + "$ref": "#/definitions/ProbeProtocol", + "description": "the reference to the load balancer probe used by the load balancing rule." + }, + "probeRequestPath": { + "type": "string", + "description": "The probe request path. Only supported for HTTP/HTTPS probes." + }, + "loadDistribution": { + "type": "string", + "description": "The load distribution policy for this rule." + } + }, + "required": [ + "frontendPort", + "backendPort", + "protocol", + "probeProtocol" + ] + }, + "LongRunningOperationResult": { + "type": "object", + "description": "Long running operation result.", + "properties": { + "name": { + "type": "string", + "description": "The name of the operation." + }, + "startTime": { + "type": "string", + "format": "date-time", + "description": "The start time of the operation." + }, + "endTime": { + "type": "string", + "format": "date-time", + "description": "The end time of the operation." + }, + "percentComplete": { + "type": "number", + "format": "double", + "description": "The completion percentage of the operation." + }, + "status": { + "type": "string", + "description": "The status of the operation." + }, + "error": { + "$ref": "#/definitions/ErrorModelError", + "description": "The operation error." + } + } + }, + "ManagedAzResiliencyStatus": { + "type": "object", + "description": "Describes the result of the request to list Managed VM Sizes for Service Fabric Managed Clusters.", + "properties": { + "baseResourceStatus": { + "type": "array", + "description": "List of Managed VM Sizes for Service Fabric Managed Clusters.", + "items": { + "$ref": "#/definitions/ResourceAzStatus" + }, + "x-ms-identifiers": [] + }, + "isClusterZoneResilient": { + "type": "boolean", + "description": "URL to get the next set of Managed VM Sizes if there are any.", + "readOnly": true + } + } + }, + "ManagedCluster": { + "type": "object", + "description": "The managed cluster resource", + "properties": { + "properties": { + "$ref": "#/definitions/ManagedClusterProperties", + "description": "The managed cluster resource properties", + "x-ms-client-flatten": true + }, + "etag": { + "type": "string", + "description": "If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.\",", + "readOnly": true + }, + "sku": { + "$ref": "#/definitions/Sku", + "description": "The sku of the managed cluster" + } + }, + "required": [ + "sku" + ], + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ] + }, + "ManagedClusterAddOnFeature": { + "type": "string", + "description": "Available cluster add-on features", + "enum": [ + "DnsService", + "BackupRestoreService", + "ResourceMonitorService" + ], + "x-ms-enum": { + "name": "ManagedClusterAddOnFeature", + "modelAsString": true, + "values": [ + { + "name": "DnsService", + "value": "DnsService", + "description": "Dns service" + }, + { + "name": "BackupRestoreService", + "value": "BackupRestoreService", + "description": "Backup and restore service" + }, + { + "name": "ResourceMonitorService", + "value": "ResourceMonitorService", + "description": "Resource monitor service" + } + ] + } + }, + "ManagedClusterCodeVersionResult": { + "type": "object", + "description": "The result of the Service Fabric runtime versions", + "properties": { + "id": { + "type": "string", + "description": "The identification of the result" + }, + "name": { + "type": "string", + "description": "The name of the result" + }, + "type": { + "type": "string", + "description": "The result resource type" + }, + "properties": { + "$ref": "#/definitions/ManagedClusterVersionDetails", + "description": "The detail of the Service Fabric runtime version result", + "x-ms-client-flatten": true + } + } + }, + "ManagedClusterListResult": { + "type": "object", + "description": "The response of a ManagedCluster list operation.", + "properties": { + "value": { + "type": "array", + "description": "The ManagedCluster items on this page", + "items": { + "$ref": "#/definitions/ManagedCluster" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ManagedClusterProperties": { + "type": "object", + "description": "Describes the managed cluster resource properties.", + "properties": { + "dnsName": { + "type": "string", + "description": "The cluster dns name." + }, + "fqdn": { + "type": "string", + "description": "The fully qualified domain name associated with the public load balancer of the cluster.", + "readOnly": true + }, + "ipv4Address": { + "type": "string", + "description": "The IPv4 address associated with the public load balancer of the cluster.", + "readOnly": true + }, + "clusterId": { + "type": "string", + "description": "A service generated unique identifier for the cluster resource.", + "readOnly": true + }, + "clusterState": { + "$ref": "#/definitions/ClusterState", + "description": "The current state of the cluster.", + "readOnly": true + }, + "clusterCertificateThumbprints": { + "type": "array", + "description": "List of thumbprints of the cluster certificates.", + "items": { + "type": "string" + }, + "readOnly": true + }, + "clientConnectionPort": { + "type": "integer", + "format": "int32", + "description": "The port used for client connections to the cluster.", + "default": 19000 + }, + "httpGatewayConnectionPort": { + "type": "integer", + "format": "int32", + "description": "The port used for HTTP connections to the cluster.", + "default": 19080 + }, + "adminUserName": { + "type": "string", + "description": "VM admin user name." + }, + "adminPassword": { + "type": "string", + "format": "password", + "description": "VM admin user password.", + "x-ms-secret": true + }, + "loadBalancingRules": { + "type": "array", + "description": "Load balancing rules that are applied to the public load balancer of the cluster.", + "items": { + "$ref": "#/definitions/LoadBalancingRule" + }, + "x-ms-identifiers": [] + }, + "allowRdpAccess": { + "type": "boolean", + "description": "Setting this to true enables RDP access to the VM. The default NSG rule opens RDP port to Internet which can be overridden with custom Network Security Rules. The default value for this setting is false." + }, + "networkSecurityRules": { + "type": "array", + "description": "Custom Network Security Rules that are applied to the Virtual Network of the cluster.", + "items": { + "$ref": "#/definitions/NetworkSecurityRule" + }, + "x-ms-identifiers": [] + }, + "clients": { + "type": "array", + "description": "Client certificates that are allowed to manage the cluster.", + "items": { + "$ref": "#/definitions/ClientCertificate" + }, + "x-ms-identifiers": [] + }, + "azureActiveDirectory": { + "$ref": "#/definitions/AzureActiveDirectory", + "description": "The AAD authentication settings of the cluster." + }, + "fabricSettings": { + "type": "array", + "description": "The list of custom fabric settings to configure the cluster.", + "items": { + "$ref": "#/definitions/SettingsSectionDescription" + }, + "x-ms-identifiers": [] + }, + "provisioningState": { + "$ref": "#/definitions/ManagedResourceProvisioningState", + "description": "The provisioning state of the managed cluster resource.", + "readOnly": true + }, + "clusterCodeVersion": { + "type": "string", + "description": "The Service Fabric runtime version of the cluster. This property is required when **clusterUpgradeMode** is set to 'Manual'. To get list of available Service Fabric versions for new clusters use [ClusterVersion API](./ClusterVersion.md). To get the list of available version for existing clusters use **availableClusterVersions**." + }, + "clusterUpgradeMode": { + "type": "string", + "description": "The upgrade mode of the cluster when new Service Fabric runtime version is available.", + "default": "Automatic", + "enum": [ + "Automatic", + "Manual" + ], + "x-ms-enum": { + "name": "ClusterUpgradeMode", + "modelAsString": true, + "values": [ + { + "name": "Automatic", + "value": "Automatic", + "description": "The cluster will be automatically upgraded to the latest Service Fabric runtime version, **clusterUpgradeCadence** will determine when the upgrade starts after the new version becomes available." + }, + { + "name": "Manual", + "value": "Manual", + "description": "The cluster will not be automatically upgraded to the latest Service Fabric runtime version. The cluster is upgraded by setting the **clusterCodeVersion** property in the cluster resource." + } + ] + } + }, + "clusterUpgradeCadence": { + "$ref": "#/definitions/ClusterUpgradeCadence", + "description": "Indicates when new cluster runtime version upgrades will be applied after they are released. By default is Wave0. Only applies when **clusterUpgradeMode** is set to 'Automatic'." + }, + "addonFeatures": { + "type": "array", + "description": "List of add-on features to enable on the cluster.", + "items": { + "$ref": "#/definitions/ManagedClusterAddOnFeature" + } + }, + "enableAutoOSUpgrade": { + "type": "boolean", + "description": "Enables automatic OS upgrade for node types created using OS images with version 'latest'. The default value for this setting is false." + }, + "zonalResiliency": { + "type": "boolean", + "description": "Indicates if the cluster has zone resiliency.", + "default": false + }, + "applicationTypeVersionsCleanupPolicy": { + "$ref": "#/definitions/ApplicationTypeVersionsCleanupPolicy", + "description": "The policy used to clean up unused versions." + }, + "enableIpv6": { + "type": "boolean", + "description": "Setting this to true creates IPv6 address space for the default VNet used by the cluster. This setting cannot be changed once the cluster is created. The default value for this setting is false." + }, + "subnetId": { + "type": "string", + "description": "If specified, the node types for the cluster are created in this subnet instead of the default VNet. The **networkSecurityRules** specified for the cluster are also applied to this subnet. This setting cannot be changed once the cluster is created." + }, + "ipTags": { + "type": "array", + "description": "The list of IP tags associated with the default public IP address of the cluster.", + "items": { + "$ref": "#/definitions/IpTag" + }, + "x-ms-identifiers": [] + }, + "ipv6Address": { + "type": "string", + "description": "IPv6 address for the cluster if IPv6 is enabled.", + "readOnly": true + }, + "enableServicePublicIP": { + "type": "boolean", + "description": "Setting this to true will link the IPv4 address as the ServicePublicIP of the IPv6 address. It can only be set to True if IPv6 is enabled on the cluster." + }, + "auxiliarySubnets": { + "type": "array", + "description": "Auxiliary subnets for the cluster.", + "items": { + "$ref": "#/definitions/Subnet" + }, + "x-ms-identifiers": [] + }, + "serviceEndpoints": { + "type": "array", + "description": "Service endpoints for subnets in the cluster.", + "items": { + "$ref": "#/definitions/ServiceEndpoint" + }, + "x-ms-identifiers": [] + }, + "zonalUpdateMode": { + "$ref": "#/definitions/ZonalUpdateMode", + "description": "Indicates the update mode for Cross Az clusters." + }, + "useCustomVnet": { + "type": "boolean", + "description": "For new clusters, this parameter indicates that it uses Bring your own VNet, but the subnet is specified at node type level; and for such clusters, the subnetId property is required for node types." + }, + "publicIPPrefixId": { + "type": "string", + "format": "arm-id", + "description": "Specify the resource id of a public IPv4 prefix that the load balancer will allocate a public IPv4 address from. This setting cannot be changed once the cluster is created.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Network/publicIPPrefixes" + } + ] + } + }, + "publicIPv6PrefixId": { + "type": "string", + "format": "arm-id", + "description": "Specify the resource id of a public IPv6 prefix that the load balancer will allocate a public IPv6 address from. This setting cannot be changed once the cluster is created.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Network/publicIPPrefixes" + } + ] + } + }, + "ddosProtectionPlanId": { + "type": "string", + "format": "arm-id", + "description": "Specify the resource id of a DDoS network protection plan that will be associated with the virtual network of the cluster.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Network/ddosProtectionPlans" + } + ] + } + }, + "upgradeDescription": { + "$ref": "#/definitions/ClusterUpgradePolicy", + "description": "The policy to use when upgrading the cluster." + }, + "httpGatewayTokenAuthConnectionPort": { + "type": "integer", + "format": "int32", + "description": "The port used for token-auth based HTTPS connections to the cluster. Cannot be set to the same port as HttpGatewayEndpoint." + }, + "enableHttpGatewayExclusiveAuthMode": { + "type": "boolean", + "description": "If true, token-based authentication is not allowed on the HttpGatewayEndpoint. This is required to support TLS versions 1.3 and above. If token-based authentication is used, HttpGatewayTokenAuthConnectionPort must be defined." + }, + "autoGeneratedDomainNameLabelScope": { + "$ref": "#/definitions/AutoGeneratedDomainNameLabelScope", + "description": "This property is the entry point to using a public CA cert for your cluster cert. It specifies the level of reuse allowed for the custom FQDN created, matching the subject of the public CA cert." + }, + "allocatedOutboundPorts": { + "type": "integer", + "format": "int32", + "description": "The number of outbound ports allocated for SNAT for each node in the backend pool of the default load balancer. The default value is 0 which provides dynamic port allocation based on pool size." + }, + "VMImage": { + "type": "string", + "description": "The VM image the node types are configured with. This property controls the Service Fabric component packages to be used for the cluster. Allowed values are: 'Windows'. The default value is 'Windows'.", + "default": "Windows" + }, + "enableOutboundOnlyNodeTypes": { + "type": "boolean", + "description": "Enable the creation of node types with only outbound traffic enabled. If set, a separate load balancer backend pool will be created for node types with inbound traffic enabled. Can only be set at the time of cluster creation." + } + }, + "required": [ + "dnsName", + "adminUserName" + ] + }, + "ManagedClusterUpdateParameters": { + "type": "object", + "description": "Managed cluster update request", + "properties": { + "tags": { + "type": "object", + "description": "Managed cluster update parameters", + "additionalProperties": { + "type": "string" + } + } + } + }, + "ManagedClusterVersionDetails": { + "type": "object", + "description": "The detail of the Service Fabric runtime version result", + "properties": { + "clusterCodeVersion": { + "type": "string", + "description": "The Service Fabric runtime version of the cluster." + }, + "supportExpiryUtc": { + "type": "string", + "format": "date-time", + "description": "The date of expiry of support of the version." + }, + "osType": { + "$ref": "#/definitions/OsType", + "description": "Cluster operating system, the default will be Windows" + } + } + }, + "ManagedIdentity": { + "type": "object", + "description": "Describes the managed identities for an Azure resource.", + "properties": { + "principalId": { + "type": "string", + "description": "The principal id of the managed identity. This property will only be provided for a system assigned identity.", + "readOnly": true + }, + "tenantId": { + "type": "string", + "description": "The tenant id of the managed identity. This property will only be provided for a system assigned identity.", + "readOnly": true + }, + "type": { + "$ref": "#/definitions/ManagedIdentityType", + "description": "The type of managed identity for the resource." + }, + "userAssignedIdentities": { + "type": "object", + "description": "The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form:\n'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.", + "additionalProperties": { + "$ref": "#/definitions/UserAssignedIdentity" + } + } + } + }, + "ManagedIdentityType": { + "type": "string", + "description": "The type of managed identity for the resource.", + "enum": [ + "None", + "SystemAssigned", + "UserAssigned", + "SystemAssigned, UserAssigned" + ], + "x-ms-enum": { + "name": "ManagedIdentityType", + "modelAsString": false, + "values": [ + { + "name": "None", + "value": "None", + "description": "Indicates that no identity is associated with the resource." + }, + { + "name": "SystemAssigned", + "value": "SystemAssigned", + "description": "Indicates that system assigned identity is associated with the resource." + }, + { + "name": "UserAssigned", + "value": "UserAssigned", + "description": "Indicates that user assigned identity is associated with the resource." + }, + { + "name": "SystemAssigned, UserAssigned", + "value": "SystemAssigned, UserAssigned", + "description": "Indicates that both system assigned and user assigned identity are associated with the resource." + } + ] + } + }, + "ManagedMaintenanceWindowStatus": { + "type": "object", + "description": "Describes the maintenance window status of the Service Fabric Managed Cluster.", + "properties": { + "isWindowEnabled": { + "type": "boolean", + "description": "If maintenance window is enabled on this cluster.", + "readOnly": true + }, + "isRegionReady": { + "type": "boolean", + "description": "Indicates if the region is ready to configure maintenance windows.", + "readOnly": true + }, + "isWindowActive": { + "type": "boolean", + "description": "If maintenance window is active.", + "readOnly": true + }, + "canApplyUpdates": { + "type": "boolean", + "description": "If updates can be applied.", + "readOnly": true + }, + "lastWindowStatusUpdateAtUTC": { + "type": "string", + "format": "date-time", + "description": "Last window update time in UTC.", + "readOnly": true + }, + "lastWindowStartTimeUTC": { + "type": "string", + "format": "date-time", + "description": "Last window start time in UTC.", + "readOnly": true + }, + "lastWindowEndTimeUTC": { + "type": "string", + "format": "date-time", + "description": "Last window end time in UTC.", + "readOnly": true + } + } + }, + "ManagedResourceProvisioningState": { + "type": "string", + "description": "The provisioning state of the managed resource.", + "enum": [ + "None", + "Creating", + "Created", + "Updating", + "Succeeded", + "Failed", + "Canceled", + "Deleting", + "Deleted", + "Other" + ], + "x-ms-enum": { + "name": "ManagedResourceProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "None", + "value": "None", + "description": "The resource does not have a provisioning state." + }, + { + "name": "Creating", + "value": "Creating", + "description": "The resource is being created." + }, + { + "name": "Created", + "value": "Created", + "description": "The resource is created." + }, + { + "name": "Updating", + "value": "Updating", + "description": "The resource is being updated." + }, + { + "name": "Succeeded", + "value": "Succeeded", + "description": "The resource provisioning has succeeded." + }, + { + "name": "Failed", + "value": "Failed", + "description": "The resource provisioning has failed." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "The resource provisioning has been canceled." + }, + { + "name": "Deleting", + "value": "Deleting", + "description": "The resource is being deleted." + }, + { + "name": "Deleted", + "value": "Deleted", + "description": "The resource has been deleted." + }, + { + "name": "Other", + "value": "Other", + "description": "The resource provisioning state is a state other than the previously specified states." + } + ] + }, + "readOnly": true + }, + "ManagedVMSize": { + "type": "object", + "description": "Describes a VM Sizes.", + "properties": { + "properties": { + "$ref": "#/definitions/VMSize", + "description": "VM Size properties.", + "readOnly": true + }, + "id": { + "type": "string", + "description": "VM Size id.", + "readOnly": true + }, + "name": { + "type": "string", + "description": "VM Size name.", + "readOnly": true + }, + "type": { + "type": "string", + "description": "VM Size type.", + "readOnly": true + } + } + }, + "ManagedVMSizesResult": { + "type": "object", + "description": "Describes the result of the request to list Managed VM Sizes for Service Fabric Managed Clusters.", + "properties": { + "value": { + "type": "array", + "description": "The ManagedVMSize items on this page", + "items": { + "$ref": "#/definitions/ManagedVMSize" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "MoveCost": { + "type": "string", + "description": "Specifies the move cost for the service.", + "enum": [ + "Zero", + "Low", + "Medium", + "High" + ], + "x-ms-enum": { + "name": "MoveCost", + "modelAsString": true, + "values": [ + { + "name": "Zero", + "value": "Zero", + "description": "Zero move cost. This value is zero." + }, + { + "name": "Low", + "value": "Low", + "description": "Specifies the move cost of the service as Low. The value is 1." + }, + { + "name": "Medium", + "value": "Medium", + "description": "Specifies the move cost of the service as Medium. The value is 2." + }, + { + "name": "High", + "value": "High", + "description": "Specifies the move cost of the service as High. The value is 3." + } + ] + } + }, + "NamedPartitionScheme": { + "type": "object", + "description": "Describes the named partition scheme of the service.", + "properties": { + "names": { + "type": "array", + "description": "Array for the names of the partitions.", + "items": { + "type": "string" + } + } + }, + "required": [ + "names" + ], + "allOf": [ + { + "$ref": "#/definitions/Partition" + } + ], + "x-ms-discriminator-value": "Named" + }, + "NetworkSecurityRule": { + "type": "object", + "description": "Describes a network security rule.", + "properties": { + "name": { + "type": "string", + "description": "Network security rule name." + }, + "description": { + "type": "string", + "description": "Network security rule description." + }, + "protocol": { + "$ref": "#/definitions/NsgProtocol", + "description": "Network protocol this rule applies to." + }, + "sourceAddressPrefixes": { + "type": "array", + "description": "The CIDR or source IP ranges.", + "items": { + "type": "string" + } + }, + "destinationAddressPrefixes": { + "type": "array", + "description": "The destination address prefixes. CIDR or destination IP ranges.", + "items": { + "type": "string" + } + }, + "sourcePortRanges": { + "type": "array", + "description": "The source port ranges.", + "items": { + "type": "string" + } + }, + "destinationPortRanges": { + "type": "array", + "description": "The destination port ranges.", + "items": { + "type": "string" + } + }, + "sourceAddressPrefix": { + "type": "string", + "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." + }, + "destinationAddressPrefix": { + "type": "string", + "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." + }, + "sourcePortRange": { + "type": "string", + "description": "The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports." + }, + "destinationPortRange": { + "type": "string", + "description": "he destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports." + }, + "access": { + "$ref": "#/definitions/Access", + "description": "The network traffic is allowed or denied." + }, + "priority": { + "type": "integer", + "format": "int32", + "description": "The priority of the rule. The value can be in the range 1000 to 3000. Values outside this range are reserved for Service Fabric ManagerCluster Resource Provider. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.", + "minimum": 1000, + "maximum": 3000 + }, + "direction": { + "$ref": "#/definitions/Direction", + "description": "Network security rule direction." + } + }, + "required": [ + "name", + "protocol", + "access", + "priority", + "direction" + ] + }, + "NodeType": { + "type": "object", + "description": "Describes a node type in the cluster, each node type represents sub set of nodes in the cluster.", + "properties": { + "properties": { + "$ref": "#/definitions/NodeTypeProperties", + "description": "The node type properties", + "x-ms-client-flatten": true + }, + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + }, + "sku": { + "$ref": "#/definitions/NodeTypeSku", + "description": "The node type sku." + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ] + }, + "NodeTypeActionParameters": { + "type": "object", + "description": "Parameters for Node type action. If nodes are not specified on the parameters, the operation will be performed in all nodes of the node type one upgrade domain at a time.", + "properties": { + "nodes": { + "type": "array", + "description": "List of node names from the node type.", + "items": { + "type": "string" + } + }, + "force": { + "type": "boolean", + "description": "Force the action to go through." + }, + "updateType": { + "$ref": "#/definitions/UpdateType", + "description": "Specifies the way the operation will be performed." + } + } + }, + "NodeTypeAvailableSku": { + "type": "object", + "description": "Defines the type of sku available for a node type", + "properties": { + "resourceType": { + "type": "string", + "description": "The type of resource the sku applies to. Value: Microsoft.ServiceFabric/managedClusters/nodeTypes.", + "readOnly": true + }, + "sku": { + "$ref": "#/definitions/NodeTypeSupportedSku", + "description": "The supported SKU for a for node type.", + "readOnly": true + }, + "capacity": { + "$ref": "#/definitions/NodeTypeSkuCapacity", + "description": "Provides information about how the node count can be scaled.", + "readOnly": true + } + } + }, + "NodeTypeFaultSimulation": { + "type": "object", + "description": "Node type fault simulation object with status.", + "properties": { + "nodeTypeName": { + "type": "string", + "description": "Node type name." + }, + "status": { + "$ref": "#/definitions/FaultSimulationStatus", + "description": "Fault simulation status" + }, + "operationId": { + "type": "string", + "description": "Current or latest asynchronous operation identifier on the node type." + }, + "operationStatus": { + "$ref": "#/definitions/SfmcOperationStatus", + "description": "Current or latest asynchronous operation status on the node type" + } + } + }, + "NodeTypeListResult": { + "type": "object", + "description": "The response of a NodeType list operation.", + "properties": { + "value": { + "type": "array", + "description": "The NodeType items on this page", + "items": { + "$ref": "#/definitions/NodeType" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "NodeTypeListSkuResult": { + "type": "object", + "description": "Node type available sku list results", + "properties": { + "value": { + "type": "array", + "description": "The NodeTypeAvailableSku items on this page", + "items": { + "$ref": "#/definitions/NodeTypeAvailableSku" + }, + "x-ms-identifiers": [] + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "NodeTypeNatConfig": { + "type": "object", + "description": "Provides information about NAT configuration on the default public Load Balancer for the node type.", + "properties": { + "backendPort": { + "type": "integer", + "format": "int32", + "description": "The internal port for the NAT configuration.", + "minimum": 1, + "maximum": 65535 + }, + "frontendPortRangeStart": { + "type": "integer", + "format": "int32", + "description": "The port range start for the external endpoint.", + "minimum": 1, + "maximum": 65534 + }, + "frontendPortRangeEnd": { + "type": "integer", + "format": "int32", + "description": "The port range end for the external endpoint.", + "minimum": 1, + "maximum": 65534 + } + } + }, + "NodeTypeProperties": { + "type": "object", + "description": "Describes a node type in the cluster, each node type represents sub set of nodes in the cluster.", + "properties": { + "isPrimary": { + "type": "boolean", + "description": "Indicates the Service Fabric system services for the cluster will run on this node type. This setting cannot be changed once the node type is created." + }, + "vmInstanceCount": { + "type": "integer", + "format": "int32", + "description": "The number of nodes in the node type. **Values:** -1 - Use when auto scale rules are configured or sku.capacity is defined 0 - Not supported >0 - Use for manual scale.", + "minimum": -1, + "maximum": 2147483647 + }, + "dataDiskSizeGB": { + "type": "integer", + "format": "int32", + "description": "Disk size for the managed disk attached to the vms on the node type in GBs." + }, + "dataDiskType": { + "type": "string", + "description": "Managed data disk type. Specifies the storage account type for the managed disk", + "default": "StandardSSD_LRS", + "enum": [ + "Standard_LRS", + "StandardSSD_LRS", + "Premium_LRS", + "PremiumV2_LRS", + "StandardSSD_ZRS", + "Premium_ZRS" + ], + "x-ms-enum": { + "name": "DiskType", + "modelAsString": true, + "values": [ + { + "name": "Standard_LRS", + "value": "Standard_LRS", + "description": "Standard HDD locally redundant storage. Best for backup, non-critical, and infrequent access." + }, + { + "name": "StandardSSD_LRS", + "value": "StandardSSD_LRS", + "description": "Standard SSD locally redundant storage. Best for web servers, lightly used enterprise applications and dev/test." + }, + { + "name": "Premium_LRS", + "value": "Premium_LRS", + "description": "Premium SSD locally redundant storage. Best for production and performance sensitive workloads." + }, + { + "name": "PremiumV2_LRS", + "value": "PremiumV2_LRS", + "description": "Premium SSD V2 locally redundant storage. Best for production and performance sensitive workloads that consistently require low latency and high IOPS and throughput." + }, + { + "name": "StandardSSD_ZRS", + "value": "StandardSSD_ZRS", + "description": "Standard SSD zone redundant storage. Best for web servers, lightly used enterprise applications and dev/test that need storage resiliency against zone failures." + }, + { + "name": "Premium_ZRS", + "value": "Premium_ZRS", + "description": "Premium SSD zone redundant storage. Best for production workloads that need storage resiliency against zone failures." + } + ] + } + }, + "dataDiskLetter": { + "type": "string", + "description": "Managed data disk letter. It can not use the reserved letter C or D and it can not change after created.", + "pattern": "^[a-zA-Z]{1}$" + }, + "placementProperties": { + "type": "object", + "description": "The placement tags applied to nodes in the node type, which can be used to indicate where certain services (workload) should run.", + "additionalProperties": { + "type": "string" + } + }, + "capacities": { + "type": "object", + "description": "The capacity tags applied to the nodes in the node type, the cluster resource manager uses these tags to understand how much resource a node has.", + "additionalProperties": { + "type": "string" + } + }, + "applicationPorts": { + "$ref": "#/definitions/EndpointRangeDescription", + "description": "The range of ports from which cluster assigned port to Service Fabric applications." + }, + "ephemeralPorts": { + "$ref": "#/definitions/EndpointRangeDescription", + "description": "The range of ephemeral ports that nodes in this node type should be configured with." + }, + "vmSize": { + "type": "string", + "description": "The size of virtual machines in the pool. All virtual machines in a pool are the same size. For example, Standard_D3." + }, + "vmImagePublisher": { + "type": "string", + "description": "The publisher of the Azure Virtual Machines Marketplace image. For example, Canonical or MicrosoftWindowsServer." + }, + "vmImageOffer": { + "type": "string", + "description": "The offer type of the Azure Virtual Machines Marketplace image. For example, UbuntuServer or WindowsServer." + }, + "vmImageSku": { + "type": "string", + "description": "The SKU of the Azure Virtual Machines Marketplace image. For example, 14.04.0-LTS or 2012-R2-Datacenter." + }, + "vmImageVersion": { + "type": "string", + "description": "The version of the Azure Virtual Machines Marketplace image. A value of 'latest' can be specified to select the latest version of an image. If omitted, the default is 'latest'." + }, + "vmSecrets": { + "type": "array", + "description": "The secrets to install in the virtual machines.", + "items": { + "$ref": "#/definitions/VaultSecretGroup" + }, + "x-ms-identifiers": [ + "sourceVault" + ] + }, + "vmExtensions": { + "type": "array", + "description": "Set of extensions that should be installed onto the virtual machines.", + "items": { + "$ref": "#/definitions/VMSSExtension" + }, + "x-ms-identifiers": [ + "name" + ] + }, + "vmManagedIdentity": { + "$ref": "#/definitions/VmManagedIdentity", + "description": "Identities to assign to the virtual machine scale set under the node type." + }, + "isStateless": { + "type": "boolean", + "description": "Indicates if the node type can only host Stateless workloads.", + "default": false + }, + "multiplePlacementGroups": { + "type": "boolean", + "description": "Indicates if scale set associated with the node type can be composed of multiple placement groups.", + "default": false + }, + "frontendConfigurations": { + "type": "array", + "description": "Indicates the node type uses its own frontend configurations instead of the default one for the cluster. This setting can only be specified for non-primary node types and can not be added or removed after the node type is created.", + "items": { + "$ref": "#/definitions/FrontendConfiguration" + }, + "x-ms-identifiers": [] + }, + "networkSecurityRules": { + "type": "array", + "description": "The Network Security Rules for this node type. This setting can only be specified for node types that are configured with frontend configurations.", + "items": { + "$ref": "#/definitions/NetworkSecurityRule" + }, + "x-ms-identifiers": [] + }, + "additionalDataDisks": { + "type": "array", + "description": "Additional managed data disks.", + "items": { + "$ref": "#/definitions/VmssDataDisk" + }, + "x-ms-identifiers": [ + "lun" + ] + }, + "enableEncryptionAtHost": { + "type": "boolean", + "description": "Enable or disable the Host Encryption for the virtual machines on the node type. This will enable the encryption for all the disks including Resource/Temp disk at host itself. Default: The Encryption at host will be disabled unless this property is set to true for the resource.", + "default": false + }, + "provisioningState": { + "$ref": "#/definitions/ManagedResourceProvisioningState", + "description": "The provisioning state of the node type resource.", + "readOnly": true + }, + "enableAcceleratedNetworking": { + "type": "boolean", + "description": "Specifies whether the network interface is accelerated networking-enabled." + }, + "useDefaultPublicLoadBalancer": { + "type": "boolean", + "description": "Specifies whether the use public load balancer. If not specified and the node type doesn't have its own frontend configuration, it will be attached to the default load balancer. If the node type uses its own Load balancer and useDefaultPublicLoadBalancer is true, then the frontend has to be an Internal Load Balancer. If the node type uses its own Load balancer and useDefaultPublicLoadBalancer is false or not set, then the custom load balancer must include a public load balancer to provide outbound connectivity." + }, + "useTempDataDisk": { + "type": "boolean", + "description": "Specifies whether to use the temporary disk for the service fabric data root, in which case no managed data disk will be attached and the temporary disk will be used. It is only allowed for stateless node types." + }, + "enableOverProvisioning": { + "type": "boolean", + "description": "Specifies whether the node type should be overprovisioned. It is only allowed for stateless node types." + }, + "zones": { + "type": "array", + "description": "Specifies the availability zones where the node type would span across. If the cluster is not spanning across availability zones, initiates az migration for the cluster.", + "items": { + "type": "string" + } + }, + "isSpotVM": { + "type": "boolean", + "description": "Indicates whether the node type will be Spot Virtual Machines. Azure will allocate the VMs if there is capacity available and the VMs can be evicted at any time." + }, + "hostGroupId": { + "type": "string", + "description": "Specifies the full host group resource Id. This property is used for deploying on azure dedicated hosts." + }, + "useEphemeralOSDisk": { + "type": "boolean", + "description": "Indicates whether to use ephemeral os disk. The sku selected on the vmSize property needs to support this feature." + }, + "spotRestoreTimeout": { + "type": "string", + "description": "Indicates the time duration after which the platform will not try to restore the VMSS SPOT instances specified as ISO 8601." + }, + "evictionPolicy": { + "$ref": "#/definitions/EvictionPolicyType", + "description": "Specifies the eviction policy for virtual machines in a SPOT node type. Default is Delete." + }, + "vmImageResourceId": { + "type": "string", + "format": "arm-id", + "description": "Indicates the resource id of the vm image. This parameter is used for custom vm image.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Compute/images" + }, + { + "type": "Microsoft.Compute/galleries/images" + }, + { + "type": "Microsoft.Compute/galleries/images/versions" + } + ] + } + }, + "subnetId": { + "type": "string", + "format": "arm-id", + "description": "Indicates the resource id of the subnet for the node type.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Network/virtualNetworks/subnets" + } + ] + } + }, + "vmSetupActions": { + "type": "array", + "description": "Specifies the actions to be performed on the vms before bootstrapping the service fabric runtime.", + "items": { + "$ref": "#/definitions/VmSetupAction" + } + }, + "securityType": { + "$ref": "#/definitions/SecurityType", + "description": "Specifies the security type of the nodeType. Supported values include Standard, TrustedLaunch and ConfidentialVM." + }, + "securityEncryptionType": { + "$ref": "#/definitions/SecurityEncryptionType", + "description": "Specifies the EncryptionType of the managed disk. It is set to DiskWithVMGuestState for encryption of the managed disk along with VMGuestState blob and VMGuestStateOnly for encryption of just the VMGuestState blob. Note: It can be set for only Confidential VMs." + }, + "secureBootEnabled": { + "type": "boolean", + "description": "Specifies whether secure boot should be enabled on the nodeType. Can only be used with TrustedLaunch and ConfidentialVM SecurityType." + }, + "enableNodePublicIP": { + "type": "boolean", + "description": "Specifies whether each node is allocated its own public IPv4 address. This is only supported on secondary node types with custom Load Balancers." + }, + "enableNodePublicIPv6": { + "type": "boolean", + "description": "Specifies whether each node is allocated its own public IPv6 address. This is only supported on secondary node types with custom Load Balancers." + }, + "vmSharedGalleryImageId": { + "type": "string", + "format": "arm-id", + "description": "Indicates the resource id of the vm shared galleries image. This parameter is used for custom vm image.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Compute/sharedGalleries/images" + }, + { + "type": "Microsoft.Compute/sharedGalleries/images/versions" + } + ] + } + }, + "natGatewayId": { + "type": "string", + "format": "arm-id", + "description": "Specifies the resource id of a NAT Gateway to attach to the subnet of this node type. Node type must use custom load balancer.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Network/natGateways" + } + ] + } + }, + "natConfigurations": { + "type": "array", + "description": "Specifies the NAT configuration on default public Load Balancer for the node type. This is only supported for node types use the default public Load Balancer.", + "items": { + "$ref": "#/definitions/NodeTypeNatConfig" + }, + "x-ms-identifiers": [] + }, + "vmImagePlan": { + "$ref": "#/definitions/VmImagePlan", + "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click Want to deploy programmatically, Get Started ->. Enter any required information and then click Save." + }, + "serviceArtifactReferenceId": { + "type": "string", + "format": "arm-id", + "description": "Specifies the service artifact reference id used to set same image version for all virtual machines in the scale set when using 'latest' image version.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Compute/galleries/serviceArtifacts/vmArtifactsProfiles" + } + ] + } + }, + "dscpConfigurationId": { + "type": "string", + "format": "arm-id", + "description": "Specifies the resource id of the DSCP configuration to apply to the node type network interface.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Network/dscpConfigurations" + } + ] + } + }, + "additionalNetworkInterfaceConfigurations": { + "type": "array", + "description": "Specifies the settings for any additional secondary network interfaces to attach to the node type.", + "items": { + "$ref": "#/definitions/AdditionalNetworkInterfaceConfiguration" + }, + "x-ms-identifiers": [ + "name" + ] + }, + "computerNamePrefix": { + "type": "string", + "description": "Specifies the computer name prefix. Limited to 9 characters. If specified, allows for a longer name to be specified for the node type name." + }, + "vmApplications": { + "type": "array", + "description": "Specifies the gallery applications that should be made available to the underlying VMSS.", + "items": { + "$ref": "#/definitions/VmApplication" + }, + "x-ms-identifiers": [] + }, + "zoneBalance": { + "type": "boolean", + "description": "Setting this to true allows stateless node types to scale out without equal distribution across zones." + }, + "isOutboundOnly": { + "type": "boolean", + "description": "Specifies the node type should be configured for only outbound traffic and not inbound traffic." + } + }, + "required": [ + "isPrimary", + "vmInstanceCount" + ] + }, + "NodeTypeSku": { + "type": "object", + "description": "Describes a node type sku.", + "properties": { + "name": { + "type": "string", + "description": "The sku name. Name is internally generated and is used in auto-scale scenarios. Property does not allow to be changed to other values than generated. To avoid deployment errors please omit the property." + }, + "tier": { + "type": "string", + "description": "Specifies the tier of the node type. Possible Values: **Standard**" + }, + "capacity": { + "type": "integer", + "format": "int32", + "description": "The number of nodes in the node type. If present in request it will override properties.vmInstanceCount.", + "minimum": 1, + "maximum": 2147483647 + } + }, + "required": [ + "capacity" + ] + }, + "NodeTypeSkuCapacity": { + "type": "object", + "description": "Provides information about how node type can be scaled.", + "properties": { + "minimum": { + "type": "integer", + "format": "int32", + "description": "Lowest permitted node count in a node type.", + "readOnly": true + }, + "maximum": { + "type": "integer", + "format": "int32", + "description": "Highest permitted node count in a node type.", + "readOnly": true + }, + "default": { + "type": "integer", + "format": "int32", + "description": "Default node count in a node type.", + "readOnly": true + }, + "scaleType": { + "type": "string", + "description": "Node type capacity scale type.", + "default": "None", + "enum": [ + "None", + "Manual", + "Automatic" + ], + "x-ms-enum": { + "name": "NodeTypeSkuScaleType", + "modelAsString": true, + "values": [ + { + "name": "None", + "value": "None", + "description": "Node count is not adjustable in any way (e.g. it is fixed)." + }, + { + "name": "Manual", + "value": "Manual", + "description": "The user must manually scale out/in." + }, + { + "name": "Automatic", + "value": "Automatic", + "description": "Automatic scale is allowed." + } + ] + }, + "readOnly": true + } + } + }, + "NodeTypeSupportedSku": { + "type": "object", + "description": "Describes a node type supported sku.", + "properties": { + "name": { + "type": "string", + "description": "The sku name.", + "readOnly": true + }, + "tier": { + "type": "string", + "description": "Specifies the tier of the node type. Possible Values: **Standard**", + "readOnly": true + } + } + }, + "NodeTypeUpdateParameters": { + "type": "object", + "description": "Node type update request", + "properties": { + "tags": { + "type": "object", + "description": "Node type update parameters", + "additionalProperties": { + "type": "string" + } + }, + "sku": { + "$ref": "#/definitions/NodeTypeSku", + "description": "The node type sku." + } + } + }, + "NsgProtocol": { + "type": "string", + "description": "Network protocol this rule applies to.", + "enum": [ + "http", + "https", + "tcp", + "udp", + "icmp", + "ah", + "esp" + ], + "x-ms-enum": { + "name": "NsgProtocol", + "modelAsString": true, + "values": [ + { + "name": "http", + "value": "http", + "description": "Protocol applies to HTTP." + }, + { + "name": "https", + "value": "https", + "description": "Protocol applies to HTTPS." + }, + { + "name": "tcp", + "value": "tcp", + "description": "Protocol applies to TCP." + }, + { + "name": "udp", + "value": "udp", + "description": "Protocol applies to UDP." + }, + { + "name": "icmp", + "value": "icmp", + "description": "Protocol applies to ICMP." + }, + { + "name": "ah", + "value": "ah", + "description": "Protocol applies to AH." + }, + { + "name": "esp", + "value": "esp", + "description": "Protocol applies to ESP." + } + ] + } + }, + "OperationListResult": { + "type": "object", + "description": "Describes the result of the request to list Service Fabric resource provider operations.", + "properties": { + "value": { + "type": "array", + "description": "The OperationResult items on this page", + "items": { + "$ref": "#/definitions/OperationResult" + }, + "x-ms-identifiers": [] + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "OperationResult": { + "type": "object", + "description": "Available operation list result", + "properties": { + "name": { + "type": "string", + "description": "The name of the operation." + }, + "isDataAction": { + "type": "boolean", + "description": "Indicates whether the operation is a data action" + }, + "display": { + "$ref": "#/definitions/AvailableOperationDisplay", + "description": "The object that represents the operation." + }, + "origin": { + "type": "string", + "description": "Origin result" + }, + "nextLink": { + "type": "string", + "description": "The URL to use for getting the next set of results." + } + } + }, + "OsType": { + "type": "string", + "description": "Cluster operating system, the default will be Windows", + "enum": [ + "Windows" + ], + "x-ms-enum": { + "name": "OsType", + "modelAsString": true, + "values": [ + { + "name": "Windows", + "value": "Windows", + "description": "Indicates os is Windows." + } + ] + } + }, + "Partition": { + "type": "object", + "description": "Describes how the service is partitioned.", + "properties": { + "partitionScheme": { + "$ref": "#/definitions/PartitionScheme" + } + }, + "discriminator": "partitionScheme", + "required": [ + "partitionScheme" + ] + }, + "PartitionInstanceCountScaleMechanism": { + "type": "object", + "description": "Represents a scaling mechanism for adding or removing instances of stateless service partition.", + "properties": { + "minInstanceCount": { + "type": "integer", + "format": "int32", + "description": "Minimum number of instances of the partition." + }, + "maxInstanceCount": { + "type": "integer", + "format": "int32", + "description": "Maximum number of instances of the partition." + }, + "scaleIncrement": { + "type": "integer", + "format": "int32", + "description": "The number of instances to add or remove during a scaling operation." + } + }, + "required": [ + "minInstanceCount", + "maxInstanceCount", + "scaleIncrement" + ], + "allOf": [ + { + "$ref": "#/definitions/ScalingMechanism" + } + ], + "x-ms-discriminator-value": "ScalePartitionInstanceCount" + }, + "PartitionScheme": { + "type": "string", + "description": "Enumerates the ways that a service can be partitioned.", + "enum": [ + "Singleton", + "UniformInt64Range", + "Named" + ], + "x-ms-enum": { + "name": "PartitionScheme", + "modelAsString": true, + "values": [ + { + "name": "Singleton", + "value": "Singleton", + "description": "Indicates that the partition is based on string names, and is a SingletonPartitionScheme object, The value is 0." + }, + { + "name": "UniformInt64Range", + "value": "UniformInt64Range", + "description": "Indicates that the partition is based on Int64 key ranges, and is a UniformInt64RangePartitionScheme object. The value is 1." + }, + { + "name": "Named", + "value": "Named", + "description": "Indicates that the partition is based on string names, and is a NamedPartitionScheme object. The value is 2." + } + ] + } + }, + "PrivateEndpointNetworkPolicies": { + "type": "string", + "description": "Enable or Disable apply network policies on private end point in the subnet.", + "enum": [ + "enabled", + "disabled" + ], + "x-ms-enum": { + "name": "PrivateEndpointNetworkPolicies", + "modelAsString": true, + "values": [ + { + "name": "enabled", + "value": "enabled", + "description": "Enable apply network policies on private end point in the subnet." + }, + { + "name": "disabled", + "value": "disabled", + "description": "Disable apply network policies on private end point in the subnet." + } + ] + } + }, + "PrivateLinkServiceNetworkPolicies": { + "type": "string", + "description": "Enable or Disable apply network policies on private link service in the subnet.", + "enum": [ + "enabled", + "disabled" + ], + "x-ms-enum": { + "name": "PrivateLinkServiceNetworkPolicies", + "modelAsString": true, + "values": [ + { + "name": "enabled", + "value": "enabled", + "description": "Enable apply network policies on private link service in the subnet." + }, + { + "name": "disabled", + "value": "disabled", + "description": "Disable apply network policies on private link service in the subnet." + } + ] + } + }, + "ProbeProtocol": { + "type": "string", + "description": "The reference to the load balancer probe used by the load balancing rule.", + "enum": [ + "tcp", + "http", + "https" + ], + "x-ms-enum": { + "name": "ProbeProtocol", + "modelAsString": true, + "values": [ + { + "name": "tcp", + "value": "tcp", + "description": "Probe protocol is TCP." + }, + { + "name": "http", + "value": "http", + "description": "Probe protocol is HTTP." + }, + { + "name": "https", + "value": "https", + "description": "Probe protocol is HTTPS." + } + ] + } + }, + "Protocol": { + "type": "string", + "description": "The reference to the transport protocol used by the load balancing rule.", + "enum": [ + "tcp", + "udp" + ], + "x-ms-enum": { + "name": "Protocol", + "modelAsString": true, + "values": [ + { + "name": "tcp", + "value": "tcp", + "description": "Transport protocol is TCP." + }, + { + "name": "udp", + "value": "udp", + "description": "Transport protocol is UDP." + } + ] + } + }, + "PublicIPAddressConfiguration": { + "type": "object", + "description": "The public IP address configuration of the network interface.", + "properties": { + "name": { + "type": "string", + "description": "Name of the network interface." + }, + "ipTags": { + "type": "array", + "description": "Specifies the list of IP tags associated with the public IP address.", + "items": { + "$ref": "#/definitions/IpTag" + }, + "x-ms-identifiers": [] + }, + "publicIPAddressVersion": { + "type": "string", + "description": "Specifies whether the IP configuration's public IP is IPv4 or IPv6. Default is IPv4.", + "default": "IPv4", + "enum": [ + "IPv4", + "IPv6" + ], + "x-ms-enum": { + "name": "PublicIPAddressVersion", + "modelAsString": true, + "values": [ + { + "name": "IPv4", + "value": "IPv4", + "description": "The IP configuration's public IP is IPv4." + }, + { + "name": "IPv6", + "value": "IPv6", + "description": "The IP configuration's public IP is IPv6." + } + ] + } + } + }, + "required": [ + "name" + ] + }, + "ResourceAzStatus": { + "type": "object", + "description": "Describes Az Resiliency status of Base resources", + "properties": { + "resourceName": { + "type": "string", + "description": "VM Size properties.", + "readOnly": true + }, + "resourceType": { + "type": "string", + "description": "VM Size id.", + "readOnly": true + }, + "isZoneResilient": { + "type": "boolean", + "description": "VM Size name.", + "readOnly": true + }, + "details": { + "type": "string", + "description": "Zone resiliency status details for the resource.", + "readOnly": true + } + } + }, + "RestartDeployedCodePackageRequest": { + "type": "object", + "description": "Parameters for restarting a deployed code package.", + "properties": { + "nodeName": { + "type": "string", + "description": "The name of the node where the code package needs to be restarted. Use '*' to restart on all nodes where the code package is running." + }, + "serviceManifestName": { + "type": "string", + "description": "The name of the service manifest as specified in the code package." + }, + "codePackageName": { + "type": "string", + "description": "The name of the code package as specified in the service manifest." + }, + "codePackageInstanceId": { + "type": "string", + "description": "The instance ID for currently running entry point. For a code package setup entry point (if specified) runs first and after it finishes main entry point is started. Each time entry point executable is run, its instance ID will change. If 0 is passed in as the code package instance ID, the API will restart the code package with whatever instance ID it is currently running. If an instance ID other than 0 is passed in, the API will restart the code package only if the current Instance ID matches the passed in instance ID. Note, passing in the exact instance ID (not 0) in the API is safer, because if ensures at most one restart of the code package." + }, + "servicePackageActivationId": { + "type": "string", + "description": "The activation id of a deployed service package. If ServicePackageActivationMode specified at the time of creating the service is 'SharedProcess' (or if it is not specified, in which case it defaults to 'SharedProcess'), then value of ServicePackageActivationId is always an empty string." + } + }, + "required": [ + "nodeName", + "serviceManifestName", + "codePackageName", + "codePackageInstanceId" + ] + }, + "RestartKind": { + "type": "string", + "description": "The kind of restart to perform.", + "enum": [ + "Simultaneous" + ], + "x-ms-enum": { + "name": "RestartKind", + "modelAsString": true, + "values": [ + { + "name": "Simultaneous", + "value": "Simultaneous", + "description": "Restart all listed replicas at the same time." + } + ] + } + }, + "RestartReplicaRequest": { + "type": "object", + "description": "Request to restart a replica.", + "properties": { + "partitionId": { + "type": "string", + "description": "The ID of the partition." + }, + "replicaIds": { + "type": "array", + "description": "The IDs of the replicas to be restarted.", + "items": { + "type": "integer", + "format": "int64" + } + }, + "restartKind": { + "$ref": "#/definitions/RestartKind", + "description": "The kind of restart to perform." + }, + "forceRestart": { + "type": "boolean", + "description": "If true, the restart operation will be forced. Use this option with care, as it may cause data loss." + }, + "timeout": { + "type": "integer", + "format": "int64", + "description": "The server timeout for performing the operation in seconds. This timeout specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds." + } + }, + "required": [ + "partitionId", + "replicaIds", + "restartKind" + ] + }, + "RollingUpgradeMode": { + "type": "string", + "description": "The mode used to monitor health during a rolling upgrade. The values are Monitored, and UnmonitoredAuto.", + "enum": [ + "Monitored", + "UnmonitoredAuto" + ], + "x-ms-enum": { + "name": "RollingUpgradeMode", + "modelAsString": true, + "values": [ + { + "name": "Monitored", + "value": "Monitored", + "description": "The upgrade will stop after completing each upgrade domain and automatically monitor health before proceeding." + }, + { + "name": "UnmonitoredAuto", + "value": "UnmonitoredAuto", + "description": "The upgrade will proceed automatically without performing any health monitoring." + } + ] + } + }, + "RollingUpgradeMonitoringPolicy": { + "type": "object", + "description": "The policy used for monitoring the application upgrade", + "properties": { + "failureAction": { + "$ref": "#/definitions/FailureAction", + "description": "The compensating action to perform when a Monitored upgrade encounters monitoring policy or health policy violations. Invalid indicates the failure action is invalid. Rollback specifies that the upgrade will start rolling back automatically. Manual indicates that the upgrade will switch to UnmonitoredManual upgrade mode." + }, + "healthCheckWaitDuration": { + "type": "string", + "format": "duration-constant", + "description": "The amount of time to wait after completing an upgrade domain before applying health policies. It is interpreted as a string representing an ISO 8601 duration with following format \"hh:mm:ss.fff\"." + }, + "healthCheckStableDuration": { + "type": "string", + "format": "duration-constant", + "description": "The amount of time that the application or cluster must remain healthy before the upgrade proceeds to the next upgrade domain. It is interpreted as a string representing an ISO 8601 duration with following format \"hh:mm:ss.fff\"." + }, + "healthCheckRetryTimeout": { + "type": "string", + "format": "duration-constant", + "description": "The amount of time to retry health evaluation when the application or cluster is unhealthy before FailureAction is executed. It is interpreted as a string representing an ISO 8601 duration with following format \"hh:mm:ss.fff\"." + }, + "upgradeTimeout": { + "type": "string", + "format": "duration-constant", + "description": "The amount of time the overall upgrade has to complete before FailureAction is executed. Cannot be larger than 12 hours. It is interpreted as a string representing an ISO 8601 duration with following format \"hh:mm:ss.fff\"." + }, + "upgradeDomainTimeout": { + "type": "string", + "format": "duration-constant", + "description": "The amount of time each upgrade domain has to complete before FailureAction is executed. Cannot be larger than 12 hours. It is interpreted as a string representing an ISO 8601 duration with following format \"hh:mm:ss.fff\"." + } + }, + "required": [ + "failureAction", + "healthCheckWaitDuration", + "healthCheckStableDuration", + "healthCheckRetryTimeout", + "upgradeTimeout", + "upgradeDomainTimeout" + ] + }, + "RuntimeApplicationHealthPolicy": { + "type": "object", + "description": "Cluster level definition for a health policy used to evaluate the health of an application or one of its children entities.", + "properties": { + "considerWarningAsError": { + "type": "boolean", + "description": "Indicates whether warnings are treated with the same severity as errors." + }, + "maxPercentUnhealthyDeployedApplications": { + "type": "integer", + "format": "int32", + "description": "The maximum allowed percentage of unhealthy deployed applications. Allowed values are Byte values from zero to 100.\nThe percentage represents the maximum tolerated percentage of deployed applications that can be unhealthy before the application is considered in error.\nThis is calculated by dividing the number of unhealthy deployed applications over the number of nodes where the application is currently deployed on in the cluster.\nThe computation rounds up to tolerate one failure on small numbers of nodes. Default percentage is zero." + }, + "defaultServiceTypeHealthPolicy": { + "$ref": "#/definitions/RuntimeServiceTypeHealthPolicy", + "description": "The health policy used by default to evaluate the health of a service type." + }, + "serviceTypeHealthPolicyMap": { + "type": "object", + "description": "The map with service type health policy per service type name. The map is empty by default.", + "additionalProperties": { + "$ref": "#/definitions/RuntimeServiceTypeHealthPolicy" + } + } + }, + "required": [ + "considerWarningAsError", + "maxPercentUnhealthyDeployedApplications" + ] + }, + "RuntimeFailureAction": { + "type": "string", + "description": "Cluster level definition for the compensating action to perform when a Monitored upgrade encounters monitoring policy or health policy violations.", + "enum": [ + "Rollback", + "Manual" + ], + "x-ms-enum": { + "name": "RuntimeFailureAction", + "modelAsString": true, + "values": [ + { + "name": "Rollback", + "value": "Rollback", + "description": "Indicates that a rollback of the upgrade will be performed by Service Fabric if the upgrade fails." + }, + { + "name": "Manual", + "value": "Manual", + "description": "Indicates that a manual repair will need to be performed by the administrator if the upgrade fails. Service Fabric will not proceed to the next upgrade domain automatically." + } + ] + } + }, + "RuntimeResumeApplicationUpgradeParameters": { + "type": "object", + "description": "Parameters for Resume Upgrade action. The upgrade domain name must be specified.", + "properties": { + "upgradeDomainName": { + "type": "string", + "description": "The upgrade domain name. Expected to be the next upgrade domain if the application is upgrading." + } + } + }, + "RuntimeRollingUpgradeMode": { + "type": "string", + "description": "Cluster level definition for the mode used to monitor health during a rolling upgrade.", + "enum": [ + "UnmonitoredAuto", + "UnmonitoredManual", + "Monitored" + ], + "x-ms-enum": { + "name": "RuntimeRollingUpgradeMode", + "modelAsString": true, + "values": [ + { + "name": "UnmonitoredAuto", + "value": "UnmonitoredAuto", + "description": "The upgrade will proceed automatically without performing any health monitoring." + }, + { + "name": "UnmonitoredManual", + "value": "UnmonitoredManual", + "description": "The upgrade will stop after completing each upgrade domain, giving the opportunity to manually monitor health before proceeding." + }, + { + "name": "Monitored", + "value": "Monitored", + "description": "The upgrade will stop after completing each upgrade domain and automatically monitor health before proceeding." + } + ] + } + }, + "RuntimeRollingUpgradeUpdateMonitoringPolicy": { + "type": "object", + "description": "Describes the parameters for updating a rolling upgrade of application or cluster.", + "properties": { + "rollingUpgradeMode": { + "$ref": "#/definitions/RuntimeRollingUpgradeMode", + "description": "The mode used to monitor health during a rolling upgrade." + }, + "forceRestart": { + "type": "boolean", + "description": "If true, then processes are forcefully restarted during upgrade even when the code version has not changed (the upgrade only changes configuration or data)." + }, + "replicaSetCheckTimeoutInMilliseconds": { + "type": "integer", + "format": "int64", + "description": "The maximum amount of time to block processing of an upgrade domain and prevent loss of availability when there are unexpected issues. When this timeout expires, processing of the upgrade domain will proceed regardless of availability loss issues. The timeout is reset at the start of each upgrade domain. Valid values are between 0 and 42949672925 inclusive. (unsigned 32-bit integer)." + }, + "failureAction": { + "$ref": "#/definitions/RuntimeFailureAction", + "description": "The compensating action to perform when a Monitored upgrade encounters monitoring policy or health policy violations. Invalid indicates the failure action is invalid. Rollback specifies that the upgrade will start rolling back automatically. Manual indicates that the upgrade will switch to UnmonitoredManual upgrade mode" + }, + "healthCheckWaitDurationInMilliseconds": { + "type": "string", + "description": "The amount of time to wait after completing an upgrade domain before applying health policies. It is first interpreted as a string representing an ISO 8601 duration. If that fails, then it is interpreted as a number representing the total number of milliseconds." + }, + "healthCheckStableDurationInMilliseconds": { + "type": "string", + "description": "The amount of time that the application or cluster must remain healthy before the upgrade proceeds to the next upgrade domain. It is first interpreted as a string representing an ISO 8601 duration. If that fails, then it is interpreted as a number representing the total number of milliseconds." + }, + "healthCheckRetryTimeoutInMilliseconds": { + "type": "string", + "description": "The amount of time to retry health evaluation when the application or cluster is unhealthy before FailureAction is executed. It is first interpreted as a string representing an ISO 8601 duration. If that fails, then it is interpreted as a number representing the total number of milliseconds." + }, + "upgradeTimeoutInMilliseconds": { + "type": "string", + "description": "The amount of time the overall upgrade has to complete before FailureAction is executed. It is first interpreted as a string representing an ISO 8601 duration. If that fails, then it is interpreted as a number representing the total number of milliseconds." + }, + "upgradeDomainTimeoutInMilliseconds": { + "type": "string", + "description": "The amount of time each upgrade domain has to complete before FailureAction is executed. It is first interpreted as a string representing an ISO 8601 duration. If that fails, then it is interpreted as a number representing the total number of milliseconds." + }, + "instanceCloseDelayDurationInSeconds": { + "type": "integer", + "format": "int64", + "description": "Duration in seconds, to wait before a stateless instance is closed, to allow the active requests to drain gracefully. This would be effective when the instance is closing during the application/cluster upgrade, only for those instances which have a non-zero delay duration configured in the service description." + } + }, + "required": [ + "rollingUpgradeMode" + ] + }, + "RuntimeServiceTypeHealthPolicy": { + "type": "object", + "description": "Cluster level definition that represents the health policy used to evaluate the health of services belonging to a service type.", + "properties": { + "maxPercentUnhealthyServices": { + "type": "integer", + "format": "int32", + "description": "The maximum allowed percentage of unhealthy services.\n\nThe percentage represents the maximum tolerated percentage of services that can be unhealthy before the application is considered in error.\nIf the percentage is respected but there is at least one unhealthy service, the health is evaluated as Warning.\nThis is calculated by dividing the number of unhealthy services of the specific service type over the total number of services of the specific service type.\nThe computation rounds up to tolerate one failure on small numbers of services.", + "minimum": 0, + "maximum": 100 + }, + "maxPercentUnhealthyPartitionsPerService": { + "type": "integer", + "format": "int32", + "description": "The maximum allowed percentage of unhealthy partitions per service.\n\nThe percentage represents the maximum tolerated percentage of partitions that can be unhealthy before the service is considered in error.\nIf the percentage is respected but there is at least one unhealthy partition, the health is evaluated as Warning.\nThe percentage is calculated by dividing the number of unhealthy partitions over the total number of partitions in the service.\nThe computation rounds up to tolerate one failure on small numbers of partitions.", + "minimum": 0, + "maximum": 100 + }, + "maxPercentUnhealthyReplicasPerPartition": { + "type": "integer", + "format": "int32", + "description": "The maximum allowed percentage of unhealthy replicas per partition.\n\nThe percentage represents the maximum tolerated percentage of replicas that can be unhealthy before the partition is considered in error.\nIf the percentage is respected but there is at least one unhealthy replica, the health is evaluated as Warning.\nThe percentage is calculated by dividing the number of unhealthy replicas over the total number of replicas in the partition.\nThe computation rounds up to tolerate one failure on small numbers of replicas.", + "minimum": 0, + "maximum": 100 + } + }, + "required": [ + "maxPercentUnhealthyServices", + "maxPercentUnhealthyPartitionsPerService", + "maxPercentUnhealthyReplicasPerPartition" + ] + }, + "RuntimeUpdateApplicationUpgradeParameters": { + "type": "object", + "description": "Parameters for the Update Upgrade action.", + "properties": { + "name": { + "type": "string", + "description": "The name of the application, including the 'fabric:' URI scheme." + }, + "upgradeKind": { + "$ref": "#/definitions/RuntimeUpgradeKind", + "description": "The kind of the upgrade." + }, + "applicationHealthPolicy": { + "$ref": "#/definitions/RuntimeApplicationHealthPolicy", + "description": "Defines a health policy used to evaluate the health of an application or one of its children entities." + }, + "updateDescription": { + "$ref": "#/definitions/RuntimeRollingUpgradeUpdateMonitoringPolicy", + "description": "Describes the parameters for updating a rolling upgrade of application or cluster and a monitoring policy." + } + }, + "required": [ + "name", + "upgradeKind" + ] + }, + "RuntimeUpgradeKind": { + "type": "string", + "description": "Cluster level definition for the kind of upgrade.", + "enum": [ + "Rolling" + ], + "x-ms-enum": { + "name": "RuntimeUpgradeKind", + "modelAsString": true, + "values": [ + { + "name": "Rolling", + "value": "Rolling", + "description": "The upgrade progresses one upgrade domain at a time." + } + ] + } + }, + "ScalingMechanism": { + "type": "object", + "description": "Describes the mechanism for performing a scaling operation.", + "properties": { + "kind": { + "$ref": "#/definitions/ServiceScalingMechanismKind" + } + }, + "discriminator": "kind", + "required": [ + "kind" + ] + }, + "ScalingPolicy": { + "type": "object", + "description": "Specifies a metric to load balance a service during runtime.", + "properties": { + "scalingMechanism": { + "$ref": "#/definitions/ScalingMechanism", + "description": "Specifies the mechanism associated with this scaling policy" + }, + "scalingTrigger": { + "$ref": "#/definitions/ScalingTrigger", + "description": "Specifies the trigger associated with this scaling policy." + } + }, + "required": [ + "scalingMechanism", + "scalingTrigger" + ] + }, + "ScalingTrigger": { + "type": "object", + "description": "Describes the trigger for performing a scaling operation.", + "properties": { + "kind": { + "$ref": "#/definitions/ServiceScalingTriggerKind" + } + }, + "discriminator": "kind", + "required": [ + "kind" + ] + }, + "SecurityEncryptionType": { + "type": "string", + "description": "Specifies the securityEncryptionType type of the nodeType. Only DiskWithVMGuestState and VMGuestStateOnly are currently supported", + "enum": [ + "DiskWithVMGuestState", + "VMGuestStateOnly" + ], + "x-ms-enum": { + "name": "SecurityEncryptionType", + "modelAsString": true, + "values": [ + { + "name": "DiskWithVMGuestState", + "value": "DiskWithVMGuestState", + "description": "For encryption of the managed disk along with VMGuestState blob." + }, + { + "name": "VMGuestStateOnly", + "value": "VMGuestStateOnly", + "description": "For encryption of just the VMGuestState blob." + } + ] + } + }, + "SecurityType": { + "type": "string", + "description": "Specifies the security type of the nodeType. Only Standard and TrustedLaunch are currently supported", + "enum": [ + "TrustedLaunch", + "Standard", + "ConfidentialVM" + ], + "x-ms-enum": { + "name": "SecurityType", + "modelAsString": true, + "values": [ + { + "name": "TrustedLaunch", + "value": "TrustedLaunch", + "description": "Trusted Launch is a security type that secures generation 2 virtual machines." + }, + { + "name": "Standard", + "value": "Standard", + "description": "Standard is the default security type for all machines." + }, + { + "name": "ConfidentialVM", + "value": "ConfidentialVM", + "description": "ConfidentialVM provides hardware-based encryption, trusted execution environment (TEE) and isolation of the VM memory & CPU from host." + } + ] + } + }, + "ServiceCorrelation": { + "type": "object", + "description": "Creates a particular correlation between services.", + "properties": { + "scheme": { + "$ref": "#/definitions/ServiceCorrelationScheme", + "description": "The ServiceCorrelationScheme which describes the relationship between this service and the service specified via ServiceName." + }, + "serviceName": { + "type": "string", + "description": "The Arm Resource ID of the service that the correlation relationship is established with." + } + }, + "required": [ + "scheme", + "serviceName" + ] + }, + "ServiceCorrelationScheme": { + "type": "string", + "description": "The service correlation scheme.", + "enum": [ + "AlignedAffinity", + "NonAlignedAffinity" + ], + "x-ms-enum": { + "name": "ServiceCorrelationScheme", + "modelAsString": true, + "values": [ + { + "name": "AlignedAffinity", + "value": "AlignedAffinity", + "description": "Aligned affinity ensures that the primaries of the partitions of the affinitized services are collocated on the same nodes. This is the default and is the same as selecting the Affinity scheme. The value is 0." + }, + { + "name": "NonAlignedAffinity", + "value": "NonAlignedAffinity", + "description": "Non-Aligned affinity guarantees that all replicas of each service will be placed on the same nodes. Unlike Aligned Affinity, this does not guarantee that replicas of particular role will be collocated. The value is 1." + } + ] + } + }, + "ServiceEndpoint": { + "type": "object", + "description": "The service endpoint properties.", + "properties": { + "service": { + "type": "string", + "description": "The type of the endpoint service." + }, + "locations": { + "type": "array", + "description": "A list of locations.", + "items": { + "type": "string" + } + }, + "networkIdentifier": { + "type": "string", + "format": "arm-id", + "description": "Specifies the resource id of the service endpoint to be used in the cluster.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Network/publicIPAddresses" + } + ] + } + } + }, + "required": [ + "service" + ] + }, + "ServiceKind": { + "type": "string", + "description": "The kind of service (Stateless or Stateful).", + "enum": [ + "Stateless", + "Stateful" + ], + "x-ms-enum": { + "name": "ServiceKind", + "modelAsString": true, + "values": [ + { + "name": "Stateless", + "value": "Stateless", + "description": "Does not use Service Fabric to make its state highly available or reliable. The value is 0." + }, + { + "name": "Stateful", + "value": "Stateful", + "description": "Uses Service Fabric to make its state or part of its state highly available and reliable. The value is 1." + } + ] + } + }, + "ServiceLoadMetric": { + "type": "object", + "description": "Specifies a metric to load balance a service during runtime.", + "properties": { + "name": { + "type": "string", + "description": "The name of the metric. If the service chooses to report load during runtime, the load metric name should match the name that is specified in Name exactly. Note that metric names are case sensitive." + }, + "weight": { + "$ref": "#/definitions/ServiceLoadMetricWeight", + "description": "The service load metric relative weight, compared to other metrics configured for this service, as a number." + }, + "primaryDefaultLoad": { + "type": "integer", + "format": "int32", + "description": "Used only for Stateful services. The default amount of load, as a number, that this service creates for this metric when it is a Primary replica." + }, + "secondaryDefaultLoad": { + "type": "integer", + "format": "int32", + "description": "Used only for Stateful services. The default amount of load, as a number, that this service creates for this metric when it is a Secondary replica." + }, + "defaultLoad": { + "type": "integer", + "format": "int32", + "description": "Used only for Stateless services. The default amount of load, as a number, that this service creates for this metric." + } + }, + "required": [ + "name" + ] + }, + "ServiceLoadMetricWeight": { + "type": "string", + "description": "Determines the metric weight relative to the other metrics that are configured for this service. During runtime, if two metrics end up in conflict, the Cluster Resource Manager prefers the metric with the higher weight.", + "enum": [ + "Zero", + "Low", + "Medium", + "High" + ], + "x-ms-enum": { + "name": "ServiceLoadMetricWeight", + "modelAsString": true, + "values": [ + { + "name": "Zero", + "value": "Zero", + "description": "Disables resource balancing for this metric. This value is zero." + }, + { + "name": "Low", + "value": "Low", + "description": "Specifies the metric weight of the service load as Low. The value is 1." + }, + { + "name": "Medium", + "value": "Medium", + "description": "Specifies the metric weight of the service load as Medium. The value is 2." + }, + { + "name": "High", + "value": "High", + "description": "Specifies the metric weight of the service load as High. The value is 3." + } + ] + } + }, + "ServicePackageActivationMode": { + "type": "string", + "description": "The activation Mode of the service package", + "enum": [ + "SharedProcess", + "ExclusiveProcess" + ], + "x-ms-enum": { + "name": "ServicePackageActivationMode", + "modelAsString": true, + "values": [ + { + "name": "SharedProcess", + "value": "SharedProcess", + "description": "Indicates the application package activation mode will use shared process." + }, + { + "name": "ExclusiveProcess", + "value": "ExclusiveProcess", + "description": "Indicates the application package activation mode will use exclusive process." + } + ] + } + }, + "ServicePlacementInvalidDomainPolicy": { + "type": "object", + "description": "Describes the policy to be used for placement of a Service Fabric service where a particular fault or upgrade domain should not be used for placement of the instances or replicas of that service.", + "properties": { + "domainName": { + "type": "string", + "description": "The name of the domain that should not be used for placement." + } + }, + "required": [ + "domainName" + ], + "allOf": [ + { + "$ref": "#/definitions/ServicePlacementPolicy" + } + ], + "x-ms-discriminator-value": "InvalidDomain" + }, + "ServicePlacementNonPartiallyPlaceServicePolicy": { + "type": "object", + "description": "The type of placement policy for a service fabric service. Following are the possible values.", + "allOf": [ + { + "$ref": "#/definitions/ServicePlacementPolicy" + } + ], + "x-ms-discriminator-value": "NonPartiallyPlaceService" + }, + "ServicePlacementPolicy": { + "type": "object", + "description": "Describes the policy to be used for placement of a Service Fabric service.", + "properties": { + "type": { + "$ref": "#/definitions/ServicePlacementPolicyType" + } + }, + "discriminator": "type", + "required": [ + "type" + ] + }, + "ServicePlacementPolicyType": { + "type": "string", + "description": "The type of placement policy for a service fabric service. Following are the possible values.", + "enum": [ + "InvalidDomain", + "RequiredDomain", + "PreferredPrimaryDomain", + "RequiredDomainDistribution", + "NonPartiallyPlaceService" + ], + "x-ms-enum": { + "name": "ServicePlacementPolicyType", + "modelAsString": true, + "values": [ + { + "name": "InvalidDomain", + "value": "InvalidDomain", + "description": "Indicates that the ServicePlacementPolicyDescription is of type ServicePlacementInvalidDomainPolicyDescription, which indicates that a particular fault or upgrade domain cannot be used for placement of this service. The value is 0." + }, + { + "name": "RequiredDomain", + "value": "RequiredDomain", + "description": "Indicates that the ServicePlacementPolicyDescription is of type ServicePlacementRequireDomainDistributionPolicyDescription indicating that the replicas of the service must be placed in a specific domain. The value is 1." + }, + { + "name": "PreferredPrimaryDomain", + "value": "PreferredPrimaryDomain", + "description": "Indicates that the ServicePlacementPolicyDescription is of type ServicePlacementPreferPrimaryDomainPolicyDescription, which indicates that if possible the Primary replica for the partitions of the service should be located in a particular domain as an optimization. The value is 2." + }, + { + "name": "RequiredDomainDistribution", + "value": "RequiredDomainDistribution", + "description": "Indicates that the ServicePlacementPolicyDescription is of type ServicePlacementRequireDomainDistributionPolicyDescription, indicating that the system will disallow placement of any two replicas from the same partition in the same domain at any time. The value is 3." + }, + { + "name": "NonPartiallyPlaceService", + "value": "NonPartiallyPlaceService", + "description": "Indicates that the ServicePlacementPolicyDescription is of type ServicePlacementNonPartiallyPlaceServicePolicyDescription, which indicates that if possible all replicas of a particular partition of the service should be placed atomically. The value is 4." + } + ] + } + }, + "ServicePlacementPreferPrimaryDomainPolicy": { + "type": "object", + "description": "Describes the policy to be used for placement of a Service Fabric service where the service's\nPrimary replicas should optimally be placed in a particular domain.\n\nThis placement policy is usually used with fault domains in scenarios where the Service Fabric\ncluster is geographically distributed in order to indicate that a service's primary replica should\nbe located in a particular fault domain, which in geo-distributed scenarios usually aligns with regional\nor datacenter boundaries. Note that since this is an optimization it is possible that the Primary replica\nmay not end up located in this domain due to failures, capacity limits, or other constraints.", + "properties": { + "domainName": { + "type": "string", + "description": "The name of the domain that should used for placement as per this policy." + } + }, + "required": [ + "domainName" + ], + "allOf": [ + { + "$ref": "#/definitions/ServicePlacementPolicy" + } + ], + "x-ms-discriminator-value": "PreferredPrimaryDomain" + }, + "ServicePlacementRequireDomainDistributionPolicy": { + "type": "object", + "description": "Describes the policy to be used for placement of a Service Fabric service where two replicas\nfrom the same partition should never be placed in the same fault or upgrade domain.\n\nWhile this is not common it can expose the service to an increased risk of concurrent failures\ndue to unplanned outages or other cases of subsequent/concurrent failures. As an example, consider\na case where replicas are deployed across different data center, with one replica per location.\nIn the event that one of the datacenters goes offline, normally the replica that was placed in that\ndatacenter will be packed into one of the remaining datacenters. If this is not desirable then this\npolicy should be set.", + "properties": { + "domainName": { + "type": "string", + "description": "The name of the domain that should used for placement as per this policy." + } + }, + "required": [ + "domainName" + ], + "allOf": [ + { + "$ref": "#/definitions/ServicePlacementPolicy" + } + ], + "x-ms-discriminator-value": "RequiredDomainDistribution" + }, + "ServicePlacementRequiredDomainPolicy": { + "type": "object", + "description": "Describes the policy to be used for placement of a Service Fabric service where the instances or replicas of that service must be placed in a particular domain.", + "properties": { + "domainName": { + "type": "string", + "description": "The name of the domain that should used for placement as per this policy." + } + }, + "required": [ + "domainName" + ], + "allOf": [ + { + "$ref": "#/definitions/ServicePlacementPolicy" + } + ], + "x-ms-discriminator-value": "RequiredDomain" + }, + "ServiceResource": { + "type": "object", + "description": "The service resource.", + "properties": { + "properties": { + "$ref": "#/definitions/ServiceResourceProperties", + "description": "The service resource properties." + }, + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives", + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ] + }, + "ServiceResourceList": { + "type": "object", + "description": "The list of service resources.", + "properties": { + "value": { + "type": "array", + "description": "The ServiceResource items on this page", + "items": { + "$ref": "#/definitions/ServiceResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ServiceResourceProperties": { + "type": "object", + "description": "The service resource properties.", + "properties": { + "provisioningState": { + "type": "string", + "description": "The current deployment or provisioning state, which only appears in the response", + "readOnly": true + }, + "serviceKind": { + "$ref": "#/definitions/ServiceKind", + "description": "The kind of service (Stateless or Stateful)." + }, + "serviceTypeName": { + "type": "string", + "description": "The name of the service type" + }, + "partitionDescription": { + "$ref": "#/definitions/Partition", + "description": "Describes how the service is partitioned." + }, + "servicePackageActivationMode": { + "$ref": "#/definitions/ServicePackageActivationMode", + "description": "The activation Mode of the service package" + }, + "serviceDnsName": { + "type": "string", + "description": "Dns name used for the service. If this is specified, then the DNS name can be used to return the IP addresses of service endpoints for application layer protocols (e.g., HTTP).\nWhen updating serviceDnsName, old name may be temporarily resolvable. However, rely on new name.\nWhen removing serviceDnsName, removed name may temporarily be resolvable. Do not rely on the name being unresolvable." + } + }, + "discriminator": "serviceKind", + "required": [ + "serviceKind", + "serviceTypeName", + "partitionDescription" + ], + "allOf": [ + { + "$ref": "#/definitions/ServiceResourcePropertiesBase" + } + ] + }, + "ServiceResourcePropertiesBase": { + "type": "object", + "description": "The common service resource properties.", + "properties": { + "placementConstraints": { + "type": "string", + "description": "The placement constraints as a string. Placement constraints are boolean expressions on node properties and allow for restricting a service to particular nodes based on the service requirements. For example, to place a service on nodes where NodeType is blue specify the following: \"NodeColor == blue)\"." + }, + "correlationScheme": { + "type": "array", + "description": "A list that describes the correlation of the service with other services.", + "items": { + "$ref": "#/definitions/ServiceCorrelation" + }, + "x-ms-identifiers": [] + }, + "serviceLoadMetrics": { + "type": "array", + "description": "The service load metrics is given as an array of ServiceLoadMetric objects.", + "items": { + "$ref": "#/definitions/ServiceLoadMetric" + }, + "x-ms-identifiers": [] + }, + "servicePlacementPolicies": { + "type": "array", + "description": "A list that describes the correlation of the service with other services.", + "items": { + "$ref": "#/definitions/ServicePlacementPolicy" + }, + "x-ms-identifiers": [] + }, + "defaultMoveCost": { + "$ref": "#/definitions/MoveCost", + "description": "Specifies the move cost for the service." + }, + "scalingPolicies": { + "type": "array", + "description": "Scaling policies for this service.", + "items": { + "$ref": "#/definitions/ScalingPolicy" + }, + "x-ms-identifiers": [] + } + } + }, + "ServiceScalingMechanismKind": { + "type": "string", + "description": "Enumerates the ways that a service can be partitioned.", + "enum": [ + "ScalePartitionInstanceCount", + "AddRemoveIncrementalNamedPartition" + ], + "x-ms-enum": { + "name": "ServiceScalingMechanismKind", + "modelAsString": true, + "values": [ + { + "name": "ScalePartitionInstanceCount", + "value": "ScalePartitionInstanceCount", + "description": "Represents a scaling mechanism for adding or removing instances of stateless service partition. The value is 0." + }, + { + "name": "AddRemoveIncrementalNamedPartition", + "value": "AddRemoveIncrementalNamedPartition", + "description": "Represents a scaling mechanism for adding or removing named partitions of a stateless service. The value is 1." + } + ] + } + }, + "ServiceScalingTriggerKind": { + "type": "string", + "description": "Enumerates the ways that a service can be partitioned.", + "enum": [ + "AveragePartitionLoadTrigger", + "AverageServiceLoadTrigger" + ], + "x-ms-enum": { + "name": "ServiceScalingTriggerKind", + "modelAsString": true, + "values": [ + { + "name": "AveragePartitionLoadTrigger", + "value": "AveragePartitionLoadTrigger", + "description": "Represents a scaling trigger related to an average load of a metric/resource of a partition. The value is 0." + }, + { + "name": "AverageServiceLoadTrigger", + "value": "AverageServiceLoadTrigger", + "description": "Represents a scaling policy related to an average load of a metric/resource of a service. The value is 1." + } + ] + } + }, + "ServiceTypeHealthPolicy": { + "type": "object", + "description": "Represents the health policy used to evaluate the health of services belonging to a service type.", + "properties": { + "maxPercentUnhealthyServices": { + "type": "integer", + "format": "int32", + "description": "The maximum allowed percentage of unhealthy services.\n\nThe percentage represents the maximum tolerated percentage of services that can be unhealthy before the application is considered in error.\nIf the percentage is respected but there is at least one unhealthy service, the health is evaluated as Warning.\nThis is calculated by dividing the number of unhealthy services of the specific service type over the total number of services of the specific service type.\nThe computation rounds up to tolerate one failure on small numbers of services.", + "minimum": 0, + "maximum": 100 + }, + "maxPercentUnhealthyPartitionsPerService": { + "type": "integer", + "format": "int32", + "description": "The maximum allowed percentage of unhealthy partitions per service.\n\nThe percentage represents the maximum tolerated percentage of partitions that can be unhealthy before the service is considered in error.\nIf the percentage is respected but there is at least one unhealthy partition, the health is evaluated as Warning.\nThe percentage is calculated by dividing the number of unhealthy partitions over the total number of partitions in the service.\nThe computation rounds up to tolerate one failure on small numbers of partitions.", + "minimum": 0, + "maximum": 100 + }, + "maxPercentUnhealthyReplicasPerPartition": { + "type": "integer", + "format": "int32", + "description": "The maximum allowed percentage of unhealthy replicas per partition.\n\nThe percentage represents the maximum tolerated percentage of replicas that can be unhealthy before the partition is considered in error.\nIf the percentage is respected but there is at least one unhealthy replica, the health is evaluated as Warning.\nThe percentage is calculated by dividing the number of unhealthy replicas over the total number of replicas in the partition.\nThe computation rounds up to tolerate one failure on small numbers of replicas.", + "minimum": 0, + "maximum": 100 + } + }, + "required": [ + "maxPercentUnhealthyServices", + "maxPercentUnhealthyPartitionsPerService", + "maxPercentUnhealthyReplicasPerPartition" + ] + }, + "ServiceUpdateParameters": { + "type": "object", + "description": "Service update request", + "properties": { + "tags": { + "type": "object", + "description": "Service update parameters", + "additionalProperties": { + "type": "string" + } + } + } + }, + "SettingsParameterDescription": { + "type": "object", + "description": "Describes a parameter in fabric settings of the cluster.", + "properties": { + "name": { + "type": "string", + "description": "The parameter name of fabric setting." + }, + "value": { + "type": "string", + "description": "The parameter value of fabric setting." + } + }, + "required": [ + "name", + "value" + ] + }, + "SettingsSectionDescription": { + "type": "object", + "description": "Describes a section in the fabric settings of the cluster.", + "properties": { + "name": { + "type": "string", + "description": "The section name of the fabric settings." + }, + "parameters": { + "type": "array", + "description": "The collection of parameters in the section.", + "items": { + "$ref": "#/definitions/SettingsParameterDescription" + }, + "x-ms-identifiers": [ + "name" + ] + } + }, + "required": [ + "name", + "parameters" + ] + }, + "SfmcOperationStatus": { + "type": "string", + "description": "Sfmc operation status.", + "enum": [ + "Created", + "Started", + "Succeeded", + "Failed", + "Aborted", + "Canceled" + ], + "x-ms-enum": { + "name": "SfmcOperationStatus", + "modelAsString": true, + "values": [ + { + "name": "Created", + "value": "Created", + "description": "Operation created." + }, + { + "name": "Started", + "value": "Started", + "description": "Operation started." + }, + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Operation succeeded." + }, + { + "name": "Failed", + "value": "Failed", + "description": "Operation failed." + }, + { + "name": "Aborted", + "value": "Aborted", + "description": "Operation aborted." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Operation canceled." + } + ] + }, + "readOnly": true + }, + "SingletonPartitionScheme": { + "type": "object", + "description": "Describes the partition scheme of a singleton-partitioned, or non-partitioned service.", + "allOf": [ + { + "$ref": "#/definitions/Partition" + } + ], + "x-ms-discriminator-value": "Singleton" + }, + "Sku": { + "type": "object", + "description": "Service Fabric managed cluster Sku definition", + "properties": { + "name": { + "$ref": "#/definitions/SkuName", + "description": "Sku Name." + } + }, + "required": [ + "name" + ] + }, + "SkuName": { + "type": "string", + "description": "Sku Name.", + "enum": [ + "Basic", + "Standard" + ], + "x-ms-enum": { + "name": "SkuName", + "modelAsString": true, + "values": [ + { + "name": "Basic", + "value": "Basic", + "description": "Basic requires a minimum of 3 nodes and allows only 1 node type." + }, + { + "name": "Standard", + "value": "Standard", + "description": "Requires a minimum of 5 nodes and allows 1 or more node type." + } + ] + } + }, + "StatefulServiceProperties": { + "type": "object", + "description": "The properties of a stateful service resource.", + "properties": { + "hasPersistedState": { + "type": "boolean", + "description": "A flag indicating whether this is a persistent service which stores states on the local disk. If it is then the value of this property is true, if not it is false." + }, + "targetReplicaSetSize": { + "type": "integer", + "format": "int32", + "description": "The target replica set size as a number.", + "minimum": 1 + }, + "minReplicaSetSize": { + "type": "integer", + "format": "int32", + "description": "The minimum replica set size as a number.", + "minimum": 1 + }, + "replicaRestartWaitDuration": { + "type": "string", + "format": "duration-constant", + "description": "The duration between when a replica goes down and when a new replica is created, represented in ISO 8601 format \"hh:mm:ss\"." + }, + "quorumLossWaitDuration": { + "type": "string", + "format": "duration-constant", + "description": "The maximum duration for which a partition is allowed to be in a state of quorum loss, represented in ISO 8601 format \"hh:mm:ss\"." + }, + "standByReplicaKeepDuration": { + "type": "string", + "format": "duration-constant", + "description": "The definition on how long StandBy replicas should be maintained before being removed, represented in ISO 8601 format \"hh:mm:ss\"." + }, + "servicePlacementTimeLimit": { + "type": "string", + "format": "duration-constant", + "description": "The duration for which replicas can stay InBuild before reporting that build is stuck, represented in ISO 8601 format \"hh:mm:ss\"." + } + }, + "allOf": [ + { + "$ref": "#/definitions/ServiceResourceProperties" + } + ], + "x-ms-discriminator-value": "Stateful" + }, + "StatelessServiceProperties": { + "type": "object", + "description": "The properties of a stateless service resource.", + "properties": { + "instanceCount": { + "type": "integer", + "format": "int32", + "description": "The instance count.", + "minimum": -1 + }, + "minInstanceCount": { + "type": "integer", + "format": "int32", + "description": "MinInstanceCount is the minimum number of instances that must be up to meet the EnsureAvailability safety check during operations like upgrade or deactivate node. The actual number that is used is max( MinInstanceCount, ceil( MinInstancePercentage/100.0 * InstanceCount) ). Note, if InstanceCount is set to -1, during MinInstanceCount computation -1 is first converted into the number of nodes on which the instances are allowed to be placed according to the placement constraints on the service." + }, + "minInstancePercentage": { + "type": "integer", + "format": "int32", + "description": "MinInstancePercentage is the minimum percentage of InstanceCount that must be up to meet the EnsureAvailability safety check during operations like upgrade or deactivate node. The actual number that is used is max( MinInstanceCount, ceil( MinInstancePercentage/100.0 * InstanceCount) ). Note, if InstanceCount is set to -1, during MinInstancePercentage computation, -1 is first converted into the number of nodes on which the instances are allowed to be placed according to the placement constraints on the service." + } + }, + "required": [ + "instanceCount" + ], + "allOf": [ + { + "$ref": "#/definitions/ServiceResourceProperties" + } + ], + "x-ms-discriminator-value": "Stateless" + }, + "SubResource": { + "type": "object", + "description": "Azure resource identifier.", + "properties": { + "id": { + "type": "string", + "description": "Azure resource identifier." + } + }, + "x-ms-azure-resource": true + }, + "Subnet": { + "type": "object", + "description": "Describes a Subnet.", + "properties": { + "name": { + "type": "string", + "description": "Subnet name." + }, + "enableIpv6": { + "type": "boolean", + "description": "Indicates wether to enable Ipv6 or not. If not provided, it will take the same configuration as the cluster." + }, + "privateEndpointNetworkPolicies": { + "$ref": "#/definitions/PrivateEndpointNetworkPolicies", + "description": "Enable or Disable apply network policies on private end point in the subnet." + }, + "privateLinkServiceNetworkPolicies": { + "$ref": "#/definitions/PrivateLinkServiceNetworkPolicies", + "description": "Enable or Disable apply network policies on private link service in the subnet." + }, + "networkSecurityGroupId": { + "type": "string", + "description": "Full resource id for the network security group." + } + }, + "required": [ + "name" + ] + }, + "UniformInt64RangePartitionScheme": { + "type": "object", + "description": "Describes a partitioning scheme where an integer range is allocated evenly across a number of partitions.", + "properties": { + "count": { + "type": "integer", + "format": "int32", + "description": "The number of partitions." + }, + "lowKey": { + "type": "integer", + "format": "int64", + "description": "The lower bound of the partition key range that\nshould be split between the partition ‘Count’" + }, + "highKey": { + "type": "integer", + "format": "int64", + "description": "The upper bound of the partition key range that\nshould be split between the partition ‘Count’" + } + }, + "required": [ + "count", + "lowKey", + "highKey" + ], + "allOf": [ + { + "$ref": "#/definitions/Partition" + } + ], + "x-ms-discriminator-value": "UniformInt64Range" + }, + "UpdateType": { + "type": "string", + "description": "Specifies the way the operation will be performed.", + "enum": [ + "Default", + "ByUpgradeDomain" + ], + "x-ms-enum": { + "name": "UpdateType", + "modelAsString": true, + "values": [ + { + "name": "Default", + "value": "Default", + "description": "The operation will proceed in all specified nodes at the same time." + }, + { + "name": "ByUpgradeDomain", + "value": "ByUpgradeDomain", + "description": "The operation will proceed one upgrade domain at a time, checking the health in between each to continue." + } + ] + } + }, + "UserAssignedIdentity": { + "type": "object", + "description": "User assigned identity.", + "properties": { + "principalId": { + "type": "string", + "description": "The principal id of user assigned identity.", + "readOnly": true + }, + "clientId": { + "type": "string", + "description": "The client id of user assigned identity.", + "readOnly": true + } + } + }, + "VMSSExtension": { + "type": "object", + "description": "Specifies set of extensions that should be installed onto the virtual machines.", + "properties": { + "name": { + "type": "string", + "description": "The name of the extension." + }, + "properties": { + "$ref": "#/definitions/VMSSExtensionProperties", + "description": "Describes the properties of a Virtual Machine Scale Set Extension.", + "x-ms-client-flatten": true + } + }, + "required": [ + "name", + "properties" + ] + }, + "VMSSExtensionProperties": { + "type": "object", + "description": "Describes the properties of a Virtual Machine Scale Set Extension.", + "properties": { + "publisher": { + "type": "string", + "description": "The name of the extension handler publisher." + }, + "type": { + "type": "string", + "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\"." + }, + "typeHandlerVersion": { + "type": "string", + "description": "Specifies the version of the script handler." + }, + "autoUpgradeMinorVersion": { + "type": "boolean", + "description": "Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true." + }, + "settings": { + "description": "Json formatted public settings for the extension." + }, + "protectedSettings": { + "description": "The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all." + }, + "forceUpdateTag": { + "type": "string", + "description": "If a value is provided and is different from the previous value, the extension handler will be forced to update even if the extension configuration has not changed." + }, + "provisionAfterExtensions": { + "type": "array", + "description": "Collection of extension names after which this extension needs to be provisioned.", + "items": { + "type": "string" + } + }, + "provisioningState": { + "type": "string", + "description": "The provisioning state, which only appears in the response.", + "readOnly": true + }, + "enableAutomaticUpgrade": { + "type": "boolean", + "description": "Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available." + }, + "setupOrder": { + "type": "array", + "description": "Indicates the setup order for the extension.", + "items": { + "$ref": "#/definitions/VmssExtensionSetupOrder" + } + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion" + ] + }, + "VMSize": { + "type": "object", + "description": "VM Sizes properties.", + "properties": { + "size": { + "type": "string", + "description": "VM Size name.", + "readOnly": true + } + } + }, + "VaultCertificate": { + "type": "object", + "description": "Describes a single certificate reference in a Key Vault, and where the certificate should reside on the VM.", + "properties": { + "certificateUrl": { + "type": "string", + "description": "This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see [Add a key or secret to the key vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add)." + }, + "certificateStore": { + "type": "string", + "description": "For Windows VMs, specifies the certificate store on the Virtual Machine to which the certificate should be added. The specified certificate store is implicitly in the LocalMachine account. For Linux VMs, the certificate file is placed under the /var/lib/waagent directory, with the file name {UppercaseThumbprint}.crt for the X509 certificate file and {UppercaseThumbprint}.prv for private key. Both of these files are .pem formatted." + } + }, + "required": [ + "certificateUrl", + "certificateStore" + ] + }, + "VaultSecretGroup": { + "type": "object", + "description": "Specifies set of certificates that should be installed onto the virtual machines.", + "properties": { + "sourceVault": { + "$ref": "#/definitions/SubResource", + "description": "The relative URL of the Key Vault containing all of the certificates in VaultCertificates." + }, + "vaultCertificates": { + "type": "array", + "description": "The list of key vault references in SourceVault which contain certificates.", + "items": { + "$ref": "#/definitions/VaultCertificate" + }, + "x-ms-identifiers": [] + } + }, + "required": [ + "sourceVault", + "vaultCertificates" + ] + }, + "VmApplication": { + "type": "object", + "description": "Specifies the gallery application that should be made available to the underlying VMSS.", + "properties": { + "configurationReference": { + "type": "string", + "format": "uri", + "description": "Optional, Specifies the uri to an azure blob that will replace the default configuration for the package if provided." + }, + "enableAutomaticUpgrade": { + "type": "boolean", + "description": "If set to true, when a new Gallery Application version is available in PIR/SIG, it will be automatically updated for the underlying VMSS." + }, + "order": { + "type": "integer", + "format": "int32", + "description": "Optional, Specifies the order in which the packages have to be installed." + }, + "packageReferenceId": { + "type": "string", + "format": "arm-id", + "description": "Specifies the GalleryApplicationVersion resource id on the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{application}/versions/{version}.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Compute/galleries/applications/versions" + } + ] + } + }, + "vmGalleryTags": { + "type": "string", + "description": "Optional, Specifies a passthrough value for more generic context. Accepts a JSON-formatted string e.g. '{\"Tag1\":\"Value1\",\"Tag2\":\"Value2\"}'." + }, + "treatFailureAsDeploymentFailure": { + "type": "boolean", + "description": "Optional, If true, any failure for any operation in the VmApplication will fail the deployment." + } + }, + "required": [ + "packageReferenceId" + ] + }, + "VmImagePlan": { + "type": "object", + "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click Want to deploy programmatically, Get Started. Enter any required information and then click Save.", + "properties": { + "name": { + "type": "string", + "description": "The plan ID." + }, + "product": { + "type": "string", + "description": "Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element." + }, + "promotionCode": { + "type": "string", + "description": "The promotion code." + }, + "publisher": { + "type": "string", + "description": "The publisher ID." + } + } + }, + "VmManagedIdentity": { + "type": "object", + "description": "Identities for the virtual machine scale set under the node type.", + "properties": { + "userAssignedIdentities": { + "type": "array", + "description": "The list of user identities associated with the virtual machine scale set under the node type. Each entry will be an ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.", + "items": { + "type": "string" + } + } + } + }, + "VmSetupAction": { + "type": "string", + "description": "action to be performed on the vms before bootstrapping the service fabric runtime.", + "enum": [ + "EnableContainers", + "EnableHyperV" + ], + "x-ms-enum": { + "name": "VmSetupAction", + "modelAsString": true, + "values": [ + { + "name": "EnableContainers", + "value": "EnableContainers", + "description": "Enable windows containers feature." + }, + { + "name": "EnableHyperV", + "value": "EnableHyperV", + "description": "Enables windows HyperV feature." + } + ] + } + }, + "VmssDataDisk": { + "type": "object", + "description": "Managed data disk description.", + "properties": { + "lun": { + "type": "integer", + "format": "int32", + "description": "Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM. Lun 0 is reserved for the service fabric data disk.", + "minimum": 1 + }, + "diskSizeGB": { + "type": "integer", + "format": "int32", + "description": "Disk size for each vm in the node type in GBs." + }, + "diskType": { + "type": "string", + "description": "Managed data disk type. Specifies the storage account type for the managed disk", + "default": "StandardSSD_LRS", + "enum": [ + "Standard_LRS", + "StandardSSD_LRS", + "Premium_LRS", + "PremiumV2_LRS", + "StandardSSD_ZRS", + "Premium_ZRS" + ], + "x-ms-enum": { + "name": "DiskType", + "modelAsString": true, + "values": [ + { + "name": "Standard_LRS", + "value": "Standard_LRS", + "description": "Standard HDD locally redundant storage. Best for backup, non-critical, and infrequent access." + }, + { + "name": "StandardSSD_LRS", + "value": "StandardSSD_LRS", + "description": "Standard SSD locally redundant storage. Best for web servers, lightly used enterprise applications and dev/test." + }, + { + "name": "Premium_LRS", + "value": "Premium_LRS", + "description": "Premium SSD locally redundant storage. Best for production and performance sensitive workloads." + }, + { + "name": "PremiumV2_LRS", + "value": "PremiumV2_LRS", + "description": "Premium SSD V2 locally redundant storage. Best for production and performance sensitive workloads that consistently require low latency and high IOPS and throughput." + }, + { + "name": "StandardSSD_ZRS", + "value": "StandardSSD_ZRS", + "description": "Standard SSD zone redundant storage. Best for web servers, lightly used enterprise applications and dev/test that need storage resiliency against zone failures." + }, + { + "name": "Premium_ZRS", + "value": "Premium_ZRS", + "description": "Premium SSD zone redundant storage. Best for production workloads that need storage resiliency against zone failures." + } + ] + } + }, + "diskLetter": { + "type": "string", + "description": "Managed data disk letter. It can not use the reserved letter C or D and it can not change after created.", + "pattern": "^[a-zA-Z]{1}$" + } + }, + "required": [ + "lun", + "diskSizeGB", + "diskType", + "diskLetter" + ] + }, + "VmssExtensionSetupOrder": { + "type": "string", + "description": "Vm extension setup order.", + "enum": [ + "BeforeSFRuntime" + ], + "x-ms-enum": { + "name": "VmssExtensionSetupOrder", + "modelAsString": true, + "values": [ + { + "name": "BeforeSFRuntime", + "value": "BeforeSFRuntime", + "description": "Indicates that the vm extension should run before the service fabric runtime starts." + } + ] + } + }, + "ZonalUpdateMode": { + "type": "string", + "description": "Indicates the update mode for Cross Az clusters.", + "enum": [ + "Standard", + "Fast" + ], + "x-ms-enum": { + "name": "ZonalUpdateMode", + "modelAsString": true, + "values": [ + { + "name": "Standard", + "value": "Standard", + "description": "The cluster will use 5 upgrade domains for Cross Az Node types." + }, + { + "name": "Fast", + "value": "Fast", + "description": "The cluster will use a maximum of 3 upgrade domains per zone instead of 5 for Cross Az Node types for faster deployments." + } + ] + } + }, + "ZoneFaultSimulationContent": { + "type": "object", + "description": "Parameters for Zone Fault Simulation action.", + "properties": { + "zones": { + "type": "array", + "description": "Indicates the zones of the fault simulation.", + "items": { + "type": "string" + } + } + }, + "allOf": [ + { + "$ref": "#/definitions/FaultSimulationContent" + } + ], + "x-ms-discriminator-value": "Zone" + } + }, + "parameters": {} +} diff --git a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/readme.md b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/readme.md index dc1156d167f5..d66fa4a5962b 100644 --- a/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/readme.md +++ b/specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/ServiceFabricManagedClusters/readme.md @@ -32,7 +32,7 @@ These are the global settings for the ServiceFabricManagedClustersManagementClie title: ServiceFabricManagedClustersManagementClient description: Service Fabric Managed Clusters Management Client openapi-type: arm -tag: package-2025-06-preview +tag: package-2025-10-preview directive: - suppress: ListInOperationName @@ -82,6 +82,15 @@ directive: reason: Common type operations api schema is not compatible with existing API spec. Work planned (https://msazure.visualstudio.com/One/_workitems/edit/24841215) ``` +### Tag: package-2025-10-preview + +These settings apply only when `--tag=package-2025-10-preview` is specified on the command line. + +``` yaml $(tag) == 'package-2025-10-preview' +input-file: +- preview/2025-10-01-preview/servicefabricmanagedclusters.json +``` + ### Tag: package-2025-06-preview These settings apply only when `--tag=package-2025-06-preview` is specified on the command line. @@ -406,7 +415,8 @@ suppressions: - $.definitions.UserAssignedIdentityMap - $.definitions.VMSSExtensionProperties.properties.settings - $.definitions.VMSSExtensionProperties.properties.protectedSettings - + - $.definitions.ApplicationUpdateParametersProperties.properties.parameters + - code: AvoidAdditionalProperties reason: Documenting already shipped APIs where: @@ -447,6 +457,13 @@ suppressions: - $.definitions.StatefulServiceProperties.properties.quorumLossWaitDuration.format - $.definitions.StatefulServiceProperties.properties.standByReplicaKeepDuration.format - $.definitions.StatefulServiceProperties.properties.servicePlacementTimeLimit.format + + - code: PatchResponseCodes + reason: Managed cluster and application PATCH LRO 202 bodies have had response body schema since Day 0. This is a bug fix to make the specification accurately describe service behavior. + from: servicefabricmanagedclusters.json + where: + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}"].patch + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/applications/{applicationName}"].patch ``` --- diff --git a/specification/standbypool/StandbyPool.Management/examples/2025-10-01/Operations_List.json b/specification/standbypool/StandbyPool.Management/examples/2025-10-01/Operations_List.json new file mode 100644 index 000000000000..361b1da53c72 --- /dev/null +++ b/specification/standbypool/StandbyPool.Management/examples/2025-10-01/Operations_List.json @@ -0,0 +1,28 @@ +{ + "title": "Operations_List", + "operationId": "Operations_List", + "parameters": { + "api-version": "2025-10-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.StandbyPool/standbyContainerGroupPools/write", + "isDataAction": true, + "display": { + "provider": "Microsoft.StandbyPool", + "resource": "standbyContainerGroupPools", + "operation": "StandbyContainerGroupPools_Create", + "description": "Create a StandbyContainerGroupPools Resource" + }, + "origin": "user", + "actionType": "Internal" + } + ], + "nextLink": "https://example.com/providers/Microsoft.StandbyPool/operations" + } + } + } +} diff --git a/specification/standbypool/StandbyPool.Management/examples/2025-10-01/StandbyContainerGroupPoolRuntimeViews_Get.json b/specification/standbypool/StandbyPool.Management/examples/2025-10-01/StandbyContainerGroupPoolRuntimeViews_Get.json new file mode 100644 index 000000000000..7f50146d7766 --- /dev/null +++ b/specification/standbypool/StandbyPool.Management/examples/2025-10-01/StandbyContainerGroupPoolRuntimeViews_Get.json @@ -0,0 +1,108 @@ +{ + "title": "StandbyContainerGroupPoolRuntimeViews_Get", + "operationId": "StandbyContainerGroupPoolRuntimeViews_Get", + "parameters": { + "api-version": "2025-10-01", + "subscriptionId": "00000000-0000-0000-0000-000000000009", + "resourceGroupName": "rgstandbypool", + "standbyContainerGroupPoolName": "pool", + "runtimeView": "latest" + }, + "responses": { + "200": { + "body": { + "properties": { + "instanceCountSummary": [ + { + "zone": 1, + "instanceCountsByState": [ + { + "state": "Creating", + "count": 100 + }, + { + "state": "Running", + "count": 20 + }, + { + "state": "Deleting", + "count": 21 + } + ] + }, + { + "zone": 2, + "instanceCountsByState": [ + { + "state": "Creating", + "count": 100 + }, + { + "state": "Running", + "count": 500 + }, + { + "state": "Deleting", + "count": 20 + } + ] + }, + { + "zone": 3, + "instanceCountsByState": [ + { + "state": "Creating", + "count": 100 + }, + { + "state": "Running", + "count": 20 + }, + { + "state": "Deleting", + "count": 7 + } + ] + } + ], + "provisioningState": "Succeeded", + "status": { + "code": "HealthState/healthy", + "message": "The pool is healthy." + }, + "prediction": { + "forecastValues": { + "instancesRequestedCount": [ + 24, + 10, + 200, + 12, + 5, + 10, + 15, + 23, + 56, + 38, + 12, + 19 + ] + }, + "forecastStartTime": "2025-02-14T01:34:59.228Z", + "forecastInfo": "{\"forecastAccuracy\": 85, \"seriesUnitIntervalInMins\": 60, \"instancesRequestedCount_recentHistory\": \"[9, 4, 2, 8, 8, 2, 3, 6, 5, 3, 2, 6]\"}" + } + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000009/resourceGroups/rgstandbypool/providers/Microsoft.StandbyPool/standbyContainerGroupPools/pool/runtimeViews/latest", + "name": "pool", + "type": "Microsoft.StandbyPool/standbyContainerGroupPools/runtimeViews", + "systemData": { + "createdBy": "pooluser@microsoft.com", + "createdByType": "User", + "createdAt": "2023-09-07T16:33:22.210Z", + "lastModifiedBy": "pooluser@microsoft.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-09-07T16:33:22.210Z" + } + } + } + } +} diff --git a/specification/standbypool/StandbyPool.Management/examples/2025-10-01/StandbyContainerGroupPoolRuntimeViews_ListByStandbyPool.json b/specification/standbypool/StandbyPool.Management/examples/2025-10-01/StandbyContainerGroupPoolRuntimeViews_ListByStandbyPool.json new file mode 100644 index 000000000000..378ad48112c7 --- /dev/null +++ b/specification/standbypool/StandbyPool.Management/examples/2025-10-01/StandbyContainerGroupPoolRuntimeViews_ListByStandbyPool.json @@ -0,0 +1,112 @@ +{ + "title": "StandbyContainerGroupPoolRuntimeViews_ListByStandbyPool", + "operationId": "StandbyContainerGroupPoolRuntimeViews_ListByStandbyPool", + "parameters": { + "api-version": "2025-10-01", + "subscriptionId": "00000000-0000-0000-0000-000000000009", + "resourceGroupName": "rgstandbypool", + "standbyContainerGroupPoolName": "pool" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "instanceCountSummary": [ + { + "zone": 1, + "instanceCountsByState": [ + { + "state": "Creating", + "count": 100 + }, + { + "state": "Running", + "count": 20 + }, + { + "state": "Deleting", + "count": 21 + } + ] + }, + { + "zone": 2, + "instanceCountsByState": [ + { + "state": "Creating", + "count": 100 + }, + { + "state": "Running", + "count": 500 + }, + { + "state": "Deleting", + "count": 20 + } + ] + }, + { + "zone": 3, + "instanceCountsByState": [ + { + "state": "Creating", + "count": 100 + }, + { + "state": "Running", + "count": 20 + }, + { + "state": "Deleting", + "count": 7 + } + ] + } + ], + "provisioningState": "Succeeded", + "status": { + "code": "HealthState/healthy", + "message": "The pool is healthy." + }, + "prediction": { + "forecastValues": { + "instancesRequestedCount": [ + 24, + 10, + 200, + 12, + 5, + 10, + 15, + 23, + 56, + 38, + 12, + 19 + ] + }, + "forecastStartTime": "2025-02-14T01:34:59.228Z", + "forecastInfo": "{\"forecastAccuracy\": 85, \"seriesUnitIntervalInMins\": 60, \"instancesRequestedCount_recentHistory\": \"[9, 4, 2, 8, 8, 2, 3, 6, 5, 3, 2, 6]\"}" + } + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000009/resourceGroups/rgstandbypool/providers/Microsoft.StandbyPool/standbyContainerGroupPools/pool/runtimeViews/latest", + "name": "pool", + "type": "Microsoft.StandbyPool/standbyContainerGroupPools/runtimeViews", + "systemData": { + "createdBy": "pooluser@microsoft.com", + "createdByType": "User", + "createdAt": "2023-09-07T16:33:22.210Z", + "lastModifiedBy": "pooluser@microsoft.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-09-07T16:33:22.210Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/standbypool/StandbyPool.Management/examples/2025-10-01/StandbyContainerGroupPools_CreateOrUpdate.json b/specification/standbypool/StandbyPool.Management/examples/2025-10-01/StandbyContainerGroupPools_CreateOrUpdate.json new file mode 100644 index 000000000000..73efb02016b9 --- /dev/null +++ b/specification/standbypool/StandbyPool.Management/examples/2025-10-01/StandbyContainerGroupPools_CreateOrUpdate.json @@ -0,0 +1,130 @@ +{ + "title": "StandbyContainerGroupPools_CreateOrUpdate", + "operationId": "StandbyContainerGroupPools_CreateOrUpdate", + "parameters": { + "api-version": "2025-10-01", + "subscriptionId": "00000000-0000-0000-0000-000000000009", + "resourceGroupName": "rgstandbypool", + "standbyContainerGroupPoolName": "pool", + "resource": { + "properties": { + "elasticityProfile": { + "maxReadyCapacity": 688, + "refillPolicy": "always", + "dynamicSizing": { + "enabled": true + } + }, + "containerGroupProperties": { + "containerGroupProfile": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000009/resourceGroups/rgstandbypool/providers/Microsoft.ContainerInstance/containerGroupProfiles/cgProfile", + "revision": 1 + }, + "subnetIds": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000009/resourceGroups/rgstandbypool/providers/Microsoft.Network/virtualNetworks/cgSubnet/subnets/cgSubnet" + } + ] + }, + "zones": [ + "1", + "2", + "3" + ] + }, + "tags": {}, + "location": "West US" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "elasticityProfile": { + "maxReadyCapacity": 688, + "refillPolicy": "always", + "dynamicSizing": { + "enabled": true + } + }, + "provisioningState": "Succeeded", + "containerGroupProperties": { + "containerGroupProfile": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000009/resourceGroups/rgstandbypool/providers/Microsoft.ContainerInstance/containerGroupProfiles/cgProfile", + "revision": 1 + }, + "subnetIds": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000009/resourceGroups/rgstandbypool/providers/Microsoft.Network/virtualNetworks/cgSubnet/subnets/cgSubnet" + } + ] + }, + "zones": [ + "1", + "2", + "3" + ] + }, + "tags": {}, + "location": "West US", + "id": "/subscriptions/00000000-0000-0000-0000-000000000009/resourceGroups/rgstandbypool/providers/Microsoft.StandbyPool/standbyContainerGroupPools/pool", + "name": "pool", + "type": "Microsoft.StandbyPool/standbyContainerGroupPools", + "systemData": { + "createdBy": "pooluser@microsoft.com", + "createdByType": "User", + "createdAt": "2023-09-07T16:33:22.210Z", + "lastModifiedBy": "pooluser@microsoft.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-09-07T16:33:22.210Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "elasticityProfile": { + "maxReadyCapacity": 688, + "refillPolicy": "always", + "dynamicSizing": { + "enabled": true + } + }, + "provisioningState": "Succeeded", + "containerGroupProperties": { + "containerGroupProfile": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000009/resourceGroups/rgstandbypool/providers/Microsoft.ContainerInstance/containerGroupProfiles/cgProfile", + "revision": 1 + }, + "subnetIds": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000009/resourceGroups/rgstandbypool/providers/Microsoft.Network/virtualNetworks/cgSubnet/subnets/cgSubnet" + } + ] + }, + "zones": [ + "1", + "2", + "3" + ] + }, + "tags": {}, + "location": "West US", + "id": "/subscriptions/00000000-0000-0000-0000-000000000009/resourceGroups/rgstandbypool/providers/Microsoft.StandbyPool/standbyContainerGroupPools/pool", + "name": "pool", + "type": "Microsoft.StandbyPool/standbyContainerGroupPools", + "systemData": { + "createdBy": "pooluser@microsoft.com", + "createdByType": "User", + "createdAt": "2023-09-07T16:33:22.210Z", + "lastModifiedBy": "pooluser@microsoft.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-09-07T16:33:22.210Z" + } + } + } + } +} diff --git a/specification/standbypool/StandbyPool.Management/examples/2025-10-01/StandbyContainerGroupPools_Delete.json b/specification/standbypool/StandbyPool.Management/examples/2025-10-01/StandbyContainerGroupPools_Delete.json new file mode 100644 index 000000000000..db444ae8bd46 --- /dev/null +++ b/specification/standbypool/StandbyPool.Management/examples/2025-10-01/StandbyContainerGroupPools_Delete.json @@ -0,0 +1,18 @@ +{ + "title": "StandbyContainerGroupPools_Delete", + "operationId": "StandbyContainerGroupPools_Delete", + "parameters": { + "api-version": "2025-10-01", + "subscriptionId": "00000000-0000-0000-0000-000000000009", + "resourceGroupName": "rgstandbypool", + "standbyContainerGroupPoolName": "pool" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/standbypool/StandbyPool.Management/examples/2025-10-01/StandbyContainerGroupPools_Get.json b/specification/standbypool/StandbyPool.Management/examples/2025-10-01/StandbyContainerGroupPools_Get.json new file mode 100644 index 000000000000..b0d4d8e4d718 --- /dev/null +++ b/specification/standbypool/StandbyPool.Management/examples/2025-10-01/StandbyContainerGroupPools_Get.json @@ -0,0 +1,55 @@ +{ + "title": "StandbyContainerGroupPools_Get", + "operationId": "StandbyContainerGroupPools_Get", + "parameters": { + "api-version": "2025-10-01", + "subscriptionId": "00000000-0000-0000-0000-000000000009", + "resourceGroupName": "rgstandbypool", + "standbyContainerGroupPoolName": "pool" + }, + "responses": { + "200": { + "body": { + "properties": { + "elasticityProfile": { + "maxReadyCapacity": 688, + "refillPolicy": "always", + "dynamicSizing": { + "enabled": true + } + }, + "provisioningState": "Succeeded", + "containerGroupProperties": { + "containerGroupProfile": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000009/resourceGroups/rgstandbypool/providers/Microsoft.ContainerInstance/containerGroupProfiles/cgProfile", + "revision": 1 + }, + "subnetIds": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000009/resourceGroups/rgstandbypool/providers/Microsoft.Network/virtualNetworks/cgSubnet/subnets/cgSubnet" + } + ] + }, + "zones": [ + "1", + "2", + "3" + ] + }, + "tags": {}, + "location": "West US", + "id": "/subscriptions/00000000-0000-0000-0000-000000000009/resourceGroups/rgstandbypool/providers/Microsoft.StandbyPool/standbyContainerGroupPools/pool", + "name": "pool", + "type": "Microsoft.StandbyPool/standbyContainerGroupPools", + "systemData": { + "createdBy": "pooluser@microsoft.com", + "createdByType": "User", + "createdAt": "2023-09-07T16:33:22.210Z", + "lastModifiedBy": "pooluser@microsoft.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-09-07T16:33:22.210Z" + } + } + } + } +} diff --git a/specification/standbypool/StandbyPool.Management/examples/2025-10-01/StandbyContainerGroupPools_ListByResourceGroup.json b/specification/standbypool/StandbyPool.Management/examples/2025-10-01/StandbyContainerGroupPools_ListByResourceGroup.json new file mode 100644 index 000000000000..507fa5215c6b --- /dev/null +++ b/specification/standbypool/StandbyPool.Management/examples/2025-10-01/StandbyContainerGroupPools_ListByResourceGroup.json @@ -0,0 +1,59 @@ +{ + "title": "StandbyContainerGroupPools_ListByResourceGroup", + "operationId": "StandbyContainerGroupPools_ListByResourceGroup", + "parameters": { + "api-version": "2025-10-01", + "subscriptionId": "00000000-0000-0000-0000-000000000009", + "resourceGroupName": "rgstandbypool" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "elasticityProfile": { + "maxReadyCapacity": 688, + "refillPolicy": "always", + "dynamicSizing": { + "enabled": true + } + }, + "provisioningState": "Succeeded", + "containerGroupProperties": { + "containerGroupProfile": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000009/resourceGroups/rgstandbypool/providers/Microsoft.ContainerInstance/containerGroupProfiles/cgProfile", + "revision": 1 + }, + "subnetIds": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000009/resourceGroups/rgstandbypool/providers/Microsoft.Network/virtualNetworks/cgSubnet/subnets/cgSubnet" + } + ] + }, + "zones": [ + "1", + "2", + "3" + ] + }, + "tags": {}, + "location": "West US", + "id": "/subscriptions/00000000-0000-0000-0000-000000000009/resourceGroups/rgstandbypool/providers/Microsoft.StandbyPool/standbyContainerGroupPools/pool", + "name": "pool", + "type": "Microsoft.StandbyPool/standbyContainerGroupPools", + "systemData": { + "createdBy": "pooluser@microsoft.com", + "createdByType": "User", + "createdAt": "2023-09-07T16:33:22.210Z", + "lastModifiedBy": "pooluser@microsoft.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-09-07T16:33:22.210Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/standbypool/StandbyPool.Management/examples/2025-10-01/StandbyContainerGroupPools_ListBySubscription.json b/specification/standbypool/StandbyPool.Management/examples/2025-10-01/StandbyContainerGroupPools_ListBySubscription.json new file mode 100644 index 000000000000..f3d338fe4129 --- /dev/null +++ b/specification/standbypool/StandbyPool.Management/examples/2025-10-01/StandbyContainerGroupPools_ListBySubscription.json @@ -0,0 +1,58 @@ +{ + "title": "StandbyContainerGroupPools_ListBySubscription", + "operationId": "StandbyContainerGroupPools_ListBySubscription", + "parameters": { + "api-version": "2025-10-01", + "subscriptionId": "00000000-0000-0000-0000-000000000009" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "elasticityProfile": { + "maxReadyCapacity": 688, + "refillPolicy": "always", + "dynamicSizing": { + "enabled": true + } + }, + "provisioningState": "Succeeded", + "containerGroupProperties": { + "containerGroupProfile": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000009/resourceGroups/rgstandbypool/providers/Microsoft.ContainerInstance/containerGroupProfiles/cgProfile", + "revision": 1 + }, + "subnetIds": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000009/resourceGroups/rgstandbypool/providers/Microsoft.Network/virtualNetworks/cgSubnet/subnets/cgSubnet" + } + ] + }, + "zones": [ + "1", + "2", + "3" + ] + }, + "tags": {}, + "location": "West US", + "id": "/subscriptions/00000000-0000-0000-0000-000000000009/resourceGroups/rgstandbypool/providers/Microsoft.StandbyPool/standbyContainerGroupPools/pool", + "name": "pool", + "type": "Microsoft.StandbyPool/standbyContainerGroupPools", + "systemData": { + "createdBy": "pooluser@microsoft.com", + "createdByType": "User", + "createdAt": "2023-09-07T16:33:22.210Z", + "lastModifiedBy": "pooluser@microsoft.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-09-07T16:33:22.210Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/standbypool/StandbyPool.Management/examples/2025-10-01/StandbyContainerGroupPools_Update.json b/specification/standbypool/StandbyPool.Management/examples/2025-10-01/StandbyContainerGroupPools_Update.json new file mode 100644 index 000000000000..f2456c7ab98d --- /dev/null +++ b/specification/standbypool/StandbyPool.Management/examples/2025-10-01/StandbyContainerGroupPools_Update.json @@ -0,0 +1,83 @@ +{ + "title": "StandbyContainerGroupPools_Update", + "operationId": "StandbyContainerGroupPools_Update", + "parameters": { + "api-version": "2025-10-01", + "subscriptionId": "00000000-0000-0000-0000-000000000009", + "resourceGroupName": "rgstandbypool", + "standbyContainerGroupPoolName": "pool", + "properties": { + "tags": {}, + "properties": { + "elasticityProfile": { + "maxReadyCapacity": 1743, + "refillPolicy": "always", + "dynamicSizing": { + "enabled": true + } + }, + "containerGroupProperties": { + "containerGroupProfile": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000009/resourceGroups/rgstandbypool/providers/Microsoft.ContainerInstance/containerGroupProfiles/cgProfile", + "revision": 2 + }, + "subnetIds": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000009/resourceGroups/rgstandbypool/providers/Microsoft.Network/virtualNetworks/cgSubnet/subnets/cgSubnet" + } + ] + }, + "zones": [ + "1", + "2", + "3" + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "elasticityProfile": { + "maxReadyCapacity": 1743, + "refillPolicy": "always", + "dynamicSizing": { + "enabled": true + } + }, + "provisioningState": "Succeeded", + "containerGroupProperties": { + "containerGroupProfile": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000009/resourceGroups/rgstandbypool/providers/Microsoft.ContainerInstance/containerGroupProfiles/cgProfile", + "revision": 2 + }, + "subnetIds": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000009/resourceGroups/rgstandbypool/providers/Microsoft.Network/virtualNetworks/cgSubnet/subnets/cgSubnet" + } + ] + }, + "zones": [ + "1", + "2", + "3" + ] + }, + "tags": {}, + "location": "West US", + "id": "/subscriptions/00000000-0000-0000-0000-000000000009/resourceGroups/rgstandbypool/providers/Microsoft.StandbyPool/standbyContainerGroupPools/pool", + "name": "pool", + "type": "Microsoft.StandbyPool/standbyContainerGroupPools", + "systemData": { + "createdBy": "pooluser@microsoft.com", + "createdByType": "User", + "createdAt": "2023-09-07T16:33:22.210Z", + "lastModifiedBy": "pooluser@microsoft.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-09-07T16:33:22.210Z" + } + } + } + } +} diff --git a/specification/standbypool/StandbyPool.Management/examples/2025-10-01/StandbyVirtualMachinePoolRuntimeViews_Get.json b/specification/standbypool/StandbyPool.Management/examples/2025-10-01/StandbyVirtualMachinePoolRuntimeViews_Get.json new file mode 100644 index 000000000000..6db8329a2e61 --- /dev/null +++ b/specification/standbypool/StandbyPool.Management/examples/2025-10-01/StandbyVirtualMachinePoolRuntimeViews_Get.json @@ -0,0 +1,168 @@ +{ + "title": "StandbyVirtualMachinePoolRuntimeViews_Get", + "operationId": "StandbyVirtualMachinePoolRuntimeViews_Get", + "parameters": { + "api-version": "2025-10-01", + "subscriptionId": "00000000-0000-0000-0000-000000000009", + "resourceGroupName": "rgstandbypool", + "standbyVirtualMachinePoolName": "pool", + "runtimeView": "latest" + }, + "responses": { + "200": { + "body": { + "properties": { + "instanceCountSummary": [ + { + "zone": 1, + "instanceCountsByState": [ + { + "state": "Creating", + "count": 100 + }, + { + "state": "Running", + "count": 20 + }, + { + "state": "Deallocating", + "count": 10 + }, + { + "state": "Deallocated", + "count": 100 + }, + { + "state": "Starting", + "count": 0 + }, + { + "state": "Deleting", + "count": 0 + }, + { + "state": "Hibernating", + "count": 0 + }, + { + "state": "Hibernated", + "count": 0 + } + ] + }, + { + "zone": 2, + "instanceCountsByState": [ + { + "state": "Creating", + "count": 100 + }, + { + "state": "Running", + "count": 20 + }, + { + "state": "Deallocating", + "count": 10 + }, + { + "state": "Deallocated", + "count": 100 + }, + { + "state": "Starting", + "count": 0 + }, + { + "state": "Deleting", + "count": 0 + }, + { + "state": "Hibernating", + "count": 0 + }, + { + "state": "Hibernated", + "count": 0 + } + ] + }, + { + "zone": 3, + "instanceCountsByState": [ + { + "state": "Creating", + "count": 100 + }, + { + "state": "Running", + "count": 20 + }, + { + "state": "Deallocating", + "count": 10 + }, + { + "state": "Deallocated", + "count": 100 + }, + { + "state": "Starting", + "count": 0 + }, + { + "state": "Deleting", + "count": 0 + }, + { + "state": "Hibernating", + "count": 0 + }, + { + "state": "Hibernated", + "count": 0 + } + ] + } + ], + "provisioningState": "Succeeded", + "status": { + "code": "HealthState/healthy", + "message": "The pool is healthy." + }, + "prediction": { + "forecastValues": { + "instancesRequestedCount": [ + 24, + 10, + 200, + 12, + 5, + 10, + 15, + 23, + 56, + 38, + 12, + 19 + ] + }, + "forecastStartTime": "2025-02-14T01:34:59.228Z", + "forecastInfo": "{\"forecastAccuracy\": 85, \"seriesUnitIntervalInMins\": 60, \"instancesRequestedCount_recentHistory\": \"[9, 4, 2, 8, 8, 2, 3, 6, 5, 3, 2, 6]\"}" + } + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000009/resourceGroups/rgstandbypool/providers/Microsoft.StandbyPool/standbyVirtualMachinePools/pool/runtimeViews/latest", + "name": "pool", + "type": "Microsoft.StandbyPool/standbyVirtualMachinePools/runtimeViews", + "systemData": { + "createdBy": "pooluser@microsoft.com", + "createdByType": "User", + "createdAt": "2024-02-14T23:31:59.679Z", + "lastModifiedBy": "pooluser@microsoft.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-02-14T23:31:59.679Z" + } + } + } + } +} diff --git a/specification/standbypool/StandbyPool.Management/examples/2025-10-01/StandbyVirtualMachinePoolRuntimeViews_ListByStandbyPool.json b/specification/standbypool/StandbyPool.Management/examples/2025-10-01/StandbyVirtualMachinePoolRuntimeViews_ListByStandbyPool.json new file mode 100644 index 000000000000..0aa31b71a2de --- /dev/null +++ b/specification/standbypool/StandbyPool.Management/examples/2025-10-01/StandbyVirtualMachinePoolRuntimeViews_ListByStandbyPool.json @@ -0,0 +1,172 @@ +{ + "title": "StandbyVirtualMachinePoolRuntimeViews_ListByStandbyPool", + "operationId": "StandbyVirtualMachinePoolRuntimeViews_ListByStandbyPool", + "parameters": { + "api-version": "2025-10-01", + "subscriptionId": "00000000-0000-0000-0000-000000000009", + "resourceGroupName": "rgstandbypool", + "standbyVirtualMachinePoolName": "pool" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "instanceCountSummary": [ + { + "zone": 1, + "instanceCountsByState": [ + { + "state": "Creating", + "count": 100 + }, + { + "state": "Running", + "count": 20 + }, + { + "state": "Deallocating", + "count": 10 + }, + { + "state": "Deallocated", + "count": 100 + }, + { + "state": "Starting", + "count": 0 + }, + { + "state": "Deleting", + "count": 0 + }, + { + "state": "Hibernating", + "count": 0 + }, + { + "state": "Hibernated", + "count": 0 + } + ] + }, + { + "zone": 2, + "instanceCountsByState": [ + { + "state": "Creating", + "count": 100 + }, + { + "state": "Running", + "count": 20 + }, + { + "state": "Deallocating", + "count": 10 + }, + { + "state": "Deallocated", + "count": 100 + }, + { + "state": "Starting", + "count": 0 + }, + { + "state": "Deleting", + "count": 0 + }, + { + "state": "Hibernating", + "count": 0 + }, + { + "state": "Hibernated", + "count": 0 + } + ] + }, + { + "zone": 3, + "instanceCountsByState": [ + { + "state": "Creating", + "count": 100 + }, + { + "state": "Running", + "count": 20 + }, + { + "state": "Deallocating", + "count": 10 + }, + { + "state": "Deallocated", + "count": 100 + }, + { + "state": "Starting", + "count": 0 + }, + { + "state": "Deleting", + "count": 0 + }, + { + "state": "Hibernating", + "count": 0 + }, + { + "state": "Hibernated", + "count": 0 + } + ] + } + ], + "provisioningState": "Succeeded", + "status": { + "code": "HealthState/healthy", + "message": "The pool is healthy." + }, + "prediction": { + "forecastValues": { + "instancesRequestedCount": [ + 24, + 10, + 200, + 12, + 5, + 10, + 15, + 23, + 56, + 38, + 12, + 19 + ] + }, + "forecastStartTime": "2025-02-14T01:34:59.228Z", + "forecastInfo": "{\"forecastAccuracy\": 85, \"seriesUnitIntervalInMins\": 60, \"instancesRequestedCount_recentHistory\": \"[9, 4, 2, 8, 8, 2, 3, 6, 5, 3, 2, 6]\"}" + } + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000009/resourceGroups/rgstandbypool/providers/Microsoft.StandbyPool/standbyVirtualMachinePools/pool/runtimeViews/latest", + "name": "pool", + "type": "Microsoft.StandbyPool/standbyVirtualMachinePools/runtimeViews", + "systemData": { + "createdBy": "pooluser@microsoft.com", + "createdByType": "User", + "createdAt": "2023-09-07T16:33:22.210Z", + "lastModifiedBy": "pooluser@microsoft.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-09-07T16:33:22.210Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/standbypool/StandbyPool.Management/examples/2025-10-01/StandbyVirtualMachinePools_CreateOrUpdate.json b/specification/standbypool/StandbyPool.Management/examples/2025-10-01/StandbyVirtualMachinePools_CreateOrUpdate.json new file mode 100644 index 000000000000..efda16ae6db8 --- /dev/null +++ b/specification/standbypool/StandbyPool.Management/examples/2025-10-01/StandbyVirtualMachinePools_CreateOrUpdate.json @@ -0,0 +1,91 @@ +{ + "title": "StandbyVirtualMachinePools_CreateOrUpdate", + "operationId": "StandbyVirtualMachinePools_CreateOrUpdate", + "parameters": { + "api-version": "2025-10-01", + "subscriptionId": "00000000-0000-0000-0000-000000000009", + "resourceGroupName": "rgstandbypool", + "standbyVirtualMachinePoolName": "pool", + "resource": { + "properties": { + "elasticityProfile": { + "maxReadyCapacity": 304, + "minReadyCapacity": 300, + "postProvisioningDelay": "PT2S", + "dynamicSizing": { + "enabled": true + } + }, + "virtualMachineState": "Running", + "attachedVirtualMachineScaleSetId": "/subscriptions/00000000-0000-0000-0000-000000000009/resourceGroups/rgstandbypool/providers/Microsoft.Compute/virtualMachineScaleSets/myVmss" + }, + "tags": {}, + "location": "West US" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "elasticityProfile": { + "maxReadyCapacity": 304, + "minReadyCapacity": 300, + "postProvisioningDelay": "PT2S", + "dynamicSizing": { + "enabled": true + } + }, + "virtualMachineState": "Running", + "attachedVirtualMachineScaleSetId": "/subscriptions/00000000-0000-0000-0000-000000000009/resourceGroups/rgstandbypool/providers/Microsoft.Compute/virtualMachineScaleSets/myVmss", + "provisioningState": "Succeeded" + }, + "tags": {}, + "location": "West US", + "id": "/subscriptions/00000000-0000-0000-0000-000000000009/resourceGroups/rgstandbypool/providers/Microsoft.StandbyPool/standbyVirtualMachinePools/pool", + "name": "pool", + "type": "Microsoft.StandbyPool/standbyVirtualMachinePools", + "systemData": { + "createdBy": "pooluser@microsoft.com", + "createdByType": "User", + "createdAt": "2023-09-07T16:33:22.210Z", + "lastModifiedBy": "pooluser@microsoft.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-09-07T16:33:22.210Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "elasticityProfile": { + "maxReadyCapacity": 304, + "minReadyCapacity": 300, + "postProvisioningDelay": "PT2S", + "dynamicSizing": { + "enabled": true + } + }, + "virtualMachineState": "Running", + "attachedVirtualMachineScaleSetId": "/subscriptions/00000000-0000-0000-0000-000000000009/resourceGroups/rgstandbypool/providers/Microsoft.Compute/virtualMachineScaleSets/myVmss", + "provisioningState": "Succeeded" + }, + "tags": {}, + "location": "West US", + "id": "/subscriptions/00000000-0000-0000-0000-000000000009/resourceGroups/rgstandbypool/providers/Microsoft.StandbyPool/standbyVirtualMachinePools/pool", + "name": "pool", + "type": "Microsoft.StandbyPool/standbyVirtualMachinePools", + "systemData": { + "createdBy": "pooluser@microsoft.com", + "createdByType": "User", + "createdAt": "2023-09-07T16:33:22.210Z", + "lastModifiedBy": "pooluser@microsoft.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-09-07T16:33:22.210Z" + } + } + } + } +} diff --git a/specification/standbypool/StandbyPool.Management/examples/2025-10-01/StandbyVirtualMachinePools_Delete.json b/specification/standbypool/StandbyPool.Management/examples/2025-10-01/StandbyVirtualMachinePools_Delete.json new file mode 100644 index 000000000000..03fb06e72e70 --- /dev/null +++ b/specification/standbypool/StandbyPool.Management/examples/2025-10-01/StandbyVirtualMachinePools_Delete.json @@ -0,0 +1,18 @@ +{ + "title": "StandbyVirtualMachinePools_Delete", + "operationId": "StandbyVirtualMachinePools_Delete", + "parameters": { + "api-version": "2025-10-01", + "subscriptionId": "00000000-0000-0000-0000-000000000009", + "resourceGroupName": "rgstandbypool", + "standbyVirtualMachinePoolName": "pool" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/standbypool/StandbyPool.Management/examples/2025-10-01/StandbyVirtualMachinePools_Get.json b/specification/standbypool/StandbyPool.Management/examples/2025-10-01/StandbyVirtualMachinePools_Get.json new file mode 100644 index 000000000000..d2c61742fe7a --- /dev/null +++ b/specification/standbypool/StandbyPool.Management/examples/2025-10-01/StandbyVirtualMachinePools_Get.json @@ -0,0 +1,42 @@ +{ + "title": "StandbyVirtualMachinePools_Get", + "operationId": "StandbyVirtualMachinePools_Get", + "parameters": { + "api-version": "2025-10-01", + "subscriptionId": "00000000-0000-0000-0000-000000000009", + "resourceGroupName": "rgstandbypool", + "standbyVirtualMachinePoolName": "pool" + }, + "responses": { + "200": { + "body": { + "properties": { + "elasticityProfile": { + "maxReadyCapacity": 304, + "minReadyCapacity": 300, + "postProvisioningDelay": "PT2S", + "dynamicSizing": { + "enabled": true + } + }, + "virtualMachineState": "Running", + "attachedVirtualMachineScaleSetId": "/subscriptions/00000000-0000-0000-0000-000000000009/resourceGroups/rgstandbypool/providers/Microsoft.Compute/virtualMachineScaleSets/myVmss", + "provisioningState": "Succeeded" + }, + "tags": {}, + "location": "West US", + "id": "/subscriptions/00000000-0000-0000-0000-000000000009/resourceGroups/rgstandbypool/providers/Microsoft.StandbyPool/standbyVirtualMachinePools/pool", + "name": "pool", + "type": "Microsoft.StandbyPool/standbyVirtualMachinePools", + "systemData": { + "createdBy": "pooluser@microsoft.com", + "createdByType": "User", + "createdAt": "2023-09-07T16:33:22.210Z", + "lastModifiedBy": "pooluser@microsoft.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-09-07T16:33:22.210Z" + } + } + } + } +} diff --git a/specification/standbypool/StandbyPool.Management/examples/2025-10-01/StandbyVirtualMachinePools_ListByResourceGroup.json b/specification/standbypool/StandbyPool.Management/examples/2025-10-01/StandbyVirtualMachinePools_ListByResourceGroup.json new file mode 100644 index 000000000000..430954ca15ea --- /dev/null +++ b/specification/standbypool/StandbyPool.Management/examples/2025-10-01/StandbyVirtualMachinePools_ListByResourceGroup.json @@ -0,0 +1,46 @@ +{ + "title": "StandbyVirtualMachinePools_ListByResourceGroup", + "operationId": "StandbyVirtualMachinePools_ListByResourceGroup", + "parameters": { + "api-version": "2025-10-01", + "subscriptionId": "00000000-0000-0000-0000-000000000009", + "resourceGroupName": "rgstandbypool" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "elasticityProfile": { + "maxReadyCapacity": 304, + "minReadyCapacity": 300, + "postProvisioningDelay": "PT2S", + "dynamicSizing": { + "enabled": true + } + }, + "virtualMachineState": "Running", + "attachedVirtualMachineScaleSetId": "/subscriptions/00000000-0000-0000-0000-000000000009/resourceGroups/rgstandbypool/providers/Microsoft.Compute/virtualMachineScaleSets/myVmss", + "provisioningState": "Succeeded" + }, + "tags": {}, + "location": "West US", + "id": "/subscriptions/00000000-0000-0000-0000-000000000009/resourceGroups/rgstandbypool/providers/Microsoft.StandbyPool/standbyVirtualMachinePools/pool", + "name": "pool", + "type": "Microsoft.StandbyPool/standbyVirtualMachinePools", + "systemData": { + "createdBy": "pooluser@microsoft.com", + "createdByType": "User", + "createdAt": "2023-09-07T16:33:22.210Z", + "lastModifiedBy": "pooluser@microsoft.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-09-07T16:33:22.210Z" + } + } + ], + "nextLink": "https://example.com/subscriptions/00000000-0000-0000-0000-000000000009/resourceGroups/rgstandbypool/providers/Microsoft.StandbyPool/standbyVirtualMachinePools" + } + } + } +} diff --git a/specification/standbypool/StandbyPool.Management/examples/2025-10-01/StandbyVirtualMachinePools_ListBySubscription.json b/specification/standbypool/StandbyPool.Management/examples/2025-10-01/StandbyVirtualMachinePools_ListBySubscription.json new file mode 100644 index 000000000000..d7e60c00ccdb --- /dev/null +++ b/specification/standbypool/StandbyPool.Management/examples/2025-10-01/StandbyVirtualMachinePools_ListBySubscription.json @@ -0,0 +1,45 @@ +{ + "title": "StandbyVirtualMachinePools_ListBySubscription", + "operationId": "StandbyVirtualMachinePools_ListBySubscription", + "parameters": { + "api-version": "2025-10-01", + "subscriptionId": "00000000-0000-0000-0000-000000000009" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "elasticityProfile": { + "maxReadyCapacity": 304, + "minReadyCapacity": 300, + "postProvisioningDelay": "PT2S", + "dynamicSizing": { + "enabled": true + } + }, + "virtualMachineState": "Running", + "attachedVirtualMachineScaleSetId": "/subscriptions/00000000-0000-0000-0000-000000000009/resourceGroups/rgstandbypool/providers/Microsoft.Compute/virtualMachineScaleSets/myVmss", + "provisioningState": "Succeeded" + }, + "tags": {}, + "location": "West US", + "id": "/subscriptions/00000000-0000-0000-0000-000000000009/resourceGroups/rgstandbypool/providers/Microsoft.StandbyPool/standbyVirtualMachinePools/pool", + "name": "pool", + "type": "Microsoft.StandbyPool/standbyVirtualMachinePools", + "systemData": { + "createdBy": "pooluser@microsoft.com", + "createdByType": "User", + "createdAt": "2023-09-07T16:33:22.210Z", + "lastModifiedBy": "pooluser@microsoft.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-09-07T16:33:22.210Z" + } + } + ], + "nextLink": "https://example.com/subscriptions/00000000-0000-0000-0000-000000000009/resourceGroups/rgstandbypool/providers/Microsoft.StandbyPool/standbyVirtualMachinePools" + } + } + } +} diff --git a/specification/standbypool/StandbyPool.Management/examples/2025-10-01/StandbyVirtualMachinePools_Update.json b/specification/standbypool/StandbyPool.Management/examples/2025-10-01/StandbyVirtualMachinePools_Update.json new file mode 100644 index 000000000000..cf1c4d5b5bc1 --- /dev/null +++ b/specification/standbypool/StandbyPool.Management/examples/2025-10-01/StandbyVirtualMachinePools_Update.json @@ -0,0 +1,57 @@ +{ + "title": "StandbyVirtualMachinePools_Update", + "operationId": "StandbyVirtualMachinePools_Update", + "parameters": { + "api-version": "2025-10-01", + "subscriptionId": "00000000-0000-0000-0000-000000000009", + "resourceGroupName": "rgstandbypool", + "standbyVirtualMachinePoolName": "pool", + "properties": { + "tags": {}, + "properties": { + "elasticityProfile": { + "maxReadyCapacity": 304, + "minReadyCapacity": 300, + "postProvisioningDelay": "PT2S", + "dynamicSizing": { + "enabled": true + } + }, + "virtualMachineState": "Running", + "attachedVirtualMachineScaleSetId": "/subscriptions/00000000-0000-0000-0000-000000000009/resourceGroups/rgstandbypool/providers/Microsoft.Compute/virtualMachineScaleSets/myVmss" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "elasticityProfile": { + "maxReadyCapacity": 304, + "minReadyCapacity": 300, + "postProvisioningDelay": "PT2S", + "dynamicSizing": { + "enabled": true + } + }, + "virtualMachineState": "Running", + "attachedVirtualMachineScaleSetId": "/subscriptions/00000000-0000-0000-0000-000000000009/resourceGroups/rgstandbypool/providers/Microsoft.Compute/virtualMachineScaleSets/myVmss", + "provisioningState": "Succeeded" + }, + "tags": {}, + "location": "West US", + "id": "/subscriptions/00000000-0000-0000-0000-000000000009/resourceGroups/rgstandbypool/providers/Microsoft.StandbyPool/standbyVirtualMachinePools/pool", + "name": "pool", + "type": "Microsoft.StandbyPool/standbyVirtualMachinePools", + "systemData": { + "createdBy": "pooluser@microsoft.com", + "createdByType": "User", + "createdAt": "2023-09-07T16:33:22.210Z", + "lastModifiedBy": "pooluser@microsoft.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-09-07T16:33:22.210Z" + } + } + } + } +} diff --git a/specification/standbypool/StandbyPool.Management/examples/2025-10-01/StandbyVirtualMachines_Get.json b/specification/standbypool/StandbyPool.Management/examples/2025-10-01/StandbyVirtualMachines_Get.json new file mode 100644 index 000000000000..d3fd2b5bbc60 --- /dev/null +++ b/specification/standbypool/StandbyPool.Management/examples/2025-10-01/StandbyVirtualMachines_Get.json @@ -0,0 +1,32 @@ +{ + "title": "StandbyVirtualMachines_Get", + "operationId": "StandbyVirtualMachines_Get", + "parameters": { + "api-version": "2025-10-01", + "subscriptionId": "00000000-0000-0000-0000-000000000009", + "resourceGroupName": "rgstandbypool", + "standbyVirtualMachinePoolName": "pool", + "standbyVirtualMachineName": "virtualMachine" + }, + "responses": { + "200": { + "body": { + "properties": { + "virtualMachineResourceId": "/subscriptions/00000000-0000-0000-0000-000000000009/resourceGroups/rgstandbypool/providers/Microsoft.Compute/virtualMachines/virtualMachine", + "provisioningState": "Succeeded" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000009/resourceGroups/rgstandbypool/providers/Microsoft.StandbyPool/standbyVirtualMachinePools/pool/standbyVirtualMachines/virtualMachine", + "name": "pool", + "type": "Microsoft.StandbyPool/standbyVirtualMachinePools/virtualMachines", + "systemData": { + "createdBy": "pooluser@microsoft.com", + "createdByType": "User", + "createdAt": "2023-09-07T16:33:22.210Z", + "lastModifiedBy": "pooluser@microsoft.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-09-07T16:33:22.210Z" + } + } + } + } +} diff --git a/specification/standbypool/StandbyPool.Management/examples/2025-10-01/StandbyVirtualMachines_ListByStandbyVirtualMachinePoolResource.json b/specification/standbypool/StandbyPool.Management/examples/2025-10-01/StandbyVirtualMachines_ListByStandbyVirtualMachinePoolResource.json new file mode 100644 index 000000000000..57439055bcc8 --- /dev/null +++ b/specification/standbypool/StandbyPool.Management/examples/2025-10-01/StandbyVirtualMachines_ListByStandbyVirtualMachinePoolResource.json @@ -0,0 +1,36 @@ +{ + "title": "StandbyVirtualMachines_ListByStandbyVirtualMachinePoolResource", + "operationId": "StandbyVirtualMachines_ListByStandbyVirtualMachinePoolResource", + "parameters": { + "api-version": "2025-10-01", + "subscriptionId": "00000000-0000-0000-0000-000000000009", + "resourceGroupName": "rgstandbypool", + "standbyVirtualMachinePoolName": "pool" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "virtualMachineResourceId": "/subscriptions/00000000-0000-0000-0000-000000000009/resourceGroups/rgstandbypool/providers/Microsoft.Compute/virtualMachines/virtualMachine", + "provisioningState": "Succeeded" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000009/resourceGroups/rgstandbypool/providers/Microsoft.StandbyPool/standbyVirtualMachinePools/pool/standbyVirtualMachines/virtualMachine", + "name": "pool", + "type": "Microsoft.StandbyPool/standbyVirtualMachinePools/virtualMachines", + "systemData": { + "createdBy": "pooluser@microsoft.com", + "createdByType": "User", + "createdAt": "2023-09-07T16:33:22.210Z", + "lastModifiedBy": "pooluser@microsoft.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-09-07T16:33:22.210Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/standbypool/StandbyPool.Management/models.tsp b/specification/standbypool/StandbyPool.Management/models.tsp new file mode 100644 index 000000000000..907694019a95 --- /dev/null +++ b/specification/standbypool/StandbyPool.Management/models.tsp @@ -0,0 +1,55 @@ +// ----------------------------------------------------------------------- +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// +// ----------------------------------------------------------------------- + +import "@typespec/versioning"; +import "@azure-tools/typespec-azure-resource-manager"; + +using TypeSpec.Versioning; +using Azure.ResourceManager; + +namespace Microsoft.StandbyPool; + +@added(Microsoft.StandbyPool.Versions.`2025-10-01`) +@doc("Specifies the dynamic sizing configuration.") +model DynamicSizing { + @doc("Indicates whether dynamic sizing is enabled for the standby pool.") + enabled?: boolean; +} + +@added(Microsoft.StandbyPool.Versions.`2024-03-01-preview`) +@removed(Microsoft.StandbyPool.Versions.`2025-03-01`) +@doc("Displays the counts of pooled resources in each state, as known by the StandbyPool resource provider.") +model PoolResourceStateCount { + @doc("The state that the pooled resources count is for.") + state: string; + + @doc("The count of pooled resources in the given state.") + count: int64; +} + +@added(Microsoft.StandbyPool.Versions.`2025-03-01`) +@doc("Displays StandbyPool status.") +model PoolStatus { + @doc("Displays the healthy state of the StandbyPool.") + @visibility(Lifecycle.Read) + code: HealthStateCode; + + @doc("Displays the StandbyPool health state details.") + @visibility(Lifecycle.Read) + message?: string; +} + +@added(Microsoft.StandbyPool.Versions.`2025-03-01`) +@doc("StandbyPool health state.") +union HealthStateCode { + string, + + @doc("StandbyPool is in healthy state.") + healthy: "HealthState/healthy", + + @doc("StandbyPool is in degraded state.") + degraded: "HealthState/degraded", +} diff --git a/specification/standbypool/StandbyPool.Management/service.tsp b/specification/standbypool/StandbyPool.Management/service.tsp index abad4619d20b..785048527653 100644 --- a/specification/standbypool/StandbyPool.Management/service.tsp +++ b/specification/standbypool/StandbyPool.Management/service.tsp @@ -8,6 +8,7 @@ import "@typespec/rest"; import "@typespec/versioning"; import "@azure-tools/typespec-azure-core"; import "@azure-tools/typespec-azure-resource-manager"; +import "./models.tsp"; using Azure.Core; using Azure.ResourceManager; @@ -35,6 +36,10 @@ enum Versions { @doc("API Version 2025-03-01.") @armCommonTypesVersion(Azure.ResourceManager.CommonTypes.Versions.v5) `2025-03-01`, + + @doc("API Version 2025-10-01.") + @armCommonTypesVersion(Azure.ResourceManager.CommonTypes.Versions.v5) + `2025-10-01`, } interface Operations extends Azure.ResourceManager.Operations {} @@ -48,38 +53,3 @@ union ProvisioningState { @doc("Resource is being deleted.") Deleting: "Deleting", } - -@added(Microsoft.StandbyPool.Versions.`2024-03-01-preview`) -@removed(Microsoft.StandbyPool.Versions.`2025-03-01`) -@doc("Displays the counts of pooled resources in each state, as known by the StandbyPool resource provider.") -model PoolResourceStateCount { - @doc("The state that the pooled resources count is for.") - state: string; - - @doc("The count of pooled resources in the given state.") - count: int64; -} - -@added(Microsoft.StandbyPool.Versions.`2025-03-01`) -@doc("Displays StandbyPool status.") -model PoolStatus { - @doc("Displays the healthy state of the StandbyPool.") - @visibility(Lifecycle.Read) - code: HealthStateCode; - - @doc("Displays the StandbyPool health state details.") - @visibility(Lifecycle.Read) - message?: string; -} - -@added(Microsoft.StandbyPool.Versions.`2025-03-01`) -@doc("StandbyPool health state.") -union HealthStateCode { - string, - - @doc("StandbyPool is in healthy state.") - healthy: "HealthState/healthy", - - @doc("StandbyPool is in degraded state.") - degraded: "HealthState/degraded", -} diff --git a/specification/standbypool/StandbyPool.Management/standbyContainerGroupPool.tsp b/specification/standbypool/StandbyPool.Management/standbyContainerGroupPool.tsp index 48a5291c0fe1..8ecb7188f46d 100644 --- a/specification/standbypool/StandbyPool.Management/standbyContainerGroupPool.tsp +++ b/specification/standbypool/StandbyPool.Management/standbyContainerGroupPool.tsp @@ -53,12 +53,23 @@ model StandbyContainerGroupPoolResourceProperties { @doc("Specifies the elasticity profile of the standby container group pools.") model StandbyContainerGroupPoolElasticityProfile { @doc("Specifies maximum number of standby container groups in the standby pool.") + @minValue(0) @maxValue(2000) + @removed(Microsoft.StandbyPool.Versions.`2025-10-01`) + @renamedFrom(Microsoft.StandbyPool.Versions.`2025-10-01`, "maxReadyCapacity") + oldMaxReadyCapacity: int64; + + @added(Microsoft.StandbyPool.Versions.`2025-10-01`) + @doc("Specifies maximum number of standby container groups in the standby pool.") @minValue(0) maxReadyCapacity: int64; @doc("Specifies refill policy of the pool.") refillPolicy?: RefillPolicy; + + @added(Microsoft.StandbyPool.Versions.`2025-10-01`) + @doc("Specifies the dynamic sizing configuration.") + dynamicSizing?: DynamicSizing; } @added(Microsoft.StandbyPool.Versions.`2023-12-01-preview`) diff --git a/specification/standbypool/StandbyPool.Management/standbyVMPool.tsp b/specification/standbypool/StandbyPool.Management/standbyVMPool.tsp index a98c3957b458..ddeab8e8c340 100644 --- a/specification/standbypool/StandbyPool.Management/standbyVMPool.tsp +++ b/specification/standbypool/StandbyPool.Management/standbyVMPool.tsp @@ -71,15 +71,37 @@ union VirtualMachineState { @doc("Details of the elasticity profile.") model StandbyVirtualMachinePoolElasticityProfile { @doc("Specifies the maximum number of virtual machines in the standby virtual machine pool.") + @minValue(0) @maxValue(2000) + @removed(Microsoft.StandbyPool.Versions.`2025-10-01`) + @renamedFrom(Microsoft.StandbyPool.Versions.`2025-10-01`, "maxReadyCapacity") + oldMaxReadyCapacity: int64; + + @added(Microsoft.StandbyPool.Versions.`2025-10-01`) + @doc("Specifies the maximum number of virtual machines in the standby virtual machine pool.") @minValue(0) maxReadyCapacity: int64; @added(Microsoft.StandbyPool.Versions.`2024-03-01-preview`) @doc("Specifies the desired minimum number of virtual machines in the standby virtual machine pool. MinReadyCapacity cannot exceed MaxReadyCapacity.") + @minValue(0) @maxValue(2000) + @removed(Microsoft.StandbyPool.Versions.`2025-10-01`) + @renamedFrom(Microsoft.StandbyPool.Versions.`2025-10-01`, "minReadyCapacity") + oldMinReadyCapacity?: int64; + + @added(Microsoft.StandbyPool.Versions.`2025-10-01`) + @doc("Specifies the desired minimum number of virtual machines in the standby virtual machine pool. MinReadyCapacity cannot exceed MaxReadyCapacity.") @minValue(0) minReadyCapacity?: int64; + + @added(Microsoft.StandbyPool.Versions.`2025-10-01`) + @doc("Specifies the duration to wait after virtual machine provisioning before the virtual machine becomes available for use. The duration should be specified in ISO 8601 format (e.g., PT2S for 2 seconds).") + postProvisioningDelay?: string; + + @added(Microsoft.StandbyPool.Versions.`2025-10-01`) + @doc("Specifies the dynamic sizing configuration.") + dynamicSizing?: DynamicSizing; } @armResourceOperations diff --git a/specification/standbypool/resource-manager/Microsoft.StandbyPool/stable/2025-10-01/examples/Operations_List.json b/specification/standbypool/resource-manager/Microsoft.StandbyPool/stable/2025-10-01/examples/Operations_List.json new file mode 100644 index 000000000000..361b1da53c72 --- /dev/null +++ b/specification/standbypool/resource-manager/Microsoft.StandbyPool/stable/2025-10-01/examples/Operations_List.json @@ -0,0 +1,28 @@ +{ + "title": "Operations_List", + "operationId": "Operations_List", + "parameters": { + "api-version": "2025-10-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.StandbyPool/standbyContainerGroupPools/write", + "isDataAction": true, + "display": { + "provider": "Microsoft.StandbyPool", + "resource": "standbyContainerGroupPools", + "operation": "StandbyContainerGroupPools_Create", + "description": "Create a StandbyContainerGroupPools Resource" + }, + "origin": "user", + "actionType": "Internal" + } + ], + "nextLink": "https://example.com/providers/Microsoft.StandbyPool/operations" + } + } + } +} diff --git a/specification/standbypool/resource-manager/Microsoft.StandbyPool/stable/2025-10-01/examples/StandbyContainerGroupPoolRuntimeViews_Get.json b/specification/standbypool/resource-manager/Microsoft.StandbyPool/stable/2025-10-01/examples/StandbyContainerGroupPoolRuntimeViews_Get.json new file mode 100644 index 000000000000..7f50146d7766 --- /dev/null +++ b/specification/standbypool/resource-manager/Microsoft.StandbyPool/stable/2025-10-01/examples/StandbyContainerGroupPoolRuntimeViews_Get.json @@ -0,0 +1,108 @@ +{ + "title": "StandbyContainerGroupPoolRuntimeViews_Get", + "operationId": "StandbyContainerGroupPoolRuntimeViews_Get", + "parameters": { + "api-version": "2025-10-01", + "subscriptionId": "00000000-0000-0000-0000-000000000009", + "resourceGroupName": "rgstandbypool", + "standbyContainerGroupPoolName": "pool", + "runtimeView": "latest" + }, + "responses": { + "200": { + "body": { + "properties": { + "instanceCountSummary": [ + { + "zone": 1, + "instanceCountsByState": [ + { + "state": "Creating", + "count": 100 + }, + { + "state": "Running", + "count": 20 + }, + { + "state": "Deleting", + "count": 21 + } + ] + }, + { + "zone": 2, + "instanceCountsByState": [ + { + "state": "Creating", + "count": 100 + }, + { + "state": "Running", + "count": 500 + }, + { + "state": "Deleting", + "count": 20 + } + ] + }, + { + "zone": 3, + "instanceCountsByState": [ + { + "state": "Creating", + "count": 100 + }, + { + "state": "Running", + "count": 20 + }, + { + "state": "Deleting", + "count": 7 + } + ] + } + ], + "provisioningState": "Succeeded", + "status": { + "code": "HealthState/healthy", + "message": "The pool is healthy." + }, + "prediction": { + "forecastValues": { + "instancesRequestedCount": [ + 24, + 10, + 200, + 12, + 5, + 10, + 15, + 23, + 56, + 38, + 12, + 19 + ] + }, + "forecastStartTime": "2025-02-14T01:34:59.228Z", + "forecastInfo": "{\"forecastAccuracy\": 85, \"seriesUnitIntervalInMins\": 60, \"instancesRequestedCount_recentHistory\": \"[9, 4, 2, 8, 8, 2, 3, 6, 5, 3, 2, 6]\"}" + } + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000009/resourceGroups/rgstandbypool/providers/Microsoft.StandbyPool/standbyContainerGroupPools/pool/runtimeViews/latest", + "name": "pool", + "type": "Microsoft.StandbyPool/standbyContainerGroupPools/runtimeViews", + "systemData": { + "createdBy": "pooluser@microsoft.com", + "createdByType": "User", + "createdAt": "2023-09-07T16:33:22.210Z", + "lastModifiedBy": "pooluser@microsoft.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-09-07T16:33:22.210Z" + } + } + } + } +} diff --git a/specification/standbypool/resource-manager/Microsoft.StandbyPool/stable/2025-10-01/examples/StandbyContainerGroupPoolRuntimeViews_ListByStandbyPool.json b/specification/standbypool/resource-manager/Microsoft.StandbyPool/stable/2025-10-01/examples/StandbyContainerGroupPoolRuntimeViews_ListByStandbyPool.json new file mode 100644 index 000000000000..378ad48112c7 --- /dev/null +++ b/specification/standbypool/resource-manager/Microsoft.StandbyPool/stable/2025-10-01/examples/StandbyContainerGroupPoolRuntimeViews_ListByStandbyPool.json @@ -0,0 +1,112 @@ +{ + "title": "StandbyContainerGroupPoolRuntimeViews_ListByStandbyPool", + "operationId": "StandbyContainerGroupPoolRuntimeViews_ListByStandbyPool", + "parameters": { + "api-version": "2025-10-01", + "subscriptionId": "00000000-0000-0000-0000-000000000009", + "resourceGroupName": "rgstandbypool", + "standbyContainerGroupPoolName": "pool" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "instanceCountSummary": [ + { + "zone": 1, + "instanceCountsByState": [ + { + "state": "Creating", + "count": 100 + }, + { + "state": "Running", + "count": 20 + }, + { + "state": "Deleting", + "count": 21 + } + ] + }, + { + "zone": 2, + "instanceCountsByState": [ + { + "state": "Creating", + "count": 100 + }, + { + "state": "Running", + "count": 500 + }, + { + "state": "Deleting", + "count": 20 + } + ] + }, + { + "zone": 3, + "instanceCountsByState": [ + { + "state": "Creating", + "count": 100 + }, + { + "state": "Running", + "count": 20 + }, + { + "state": "Deleting", + "count": 7 + } + ] + } + ], + "provisioningState": "Succeeded", + "status": { + "code": "HealthState/healthy", + "message": "The pool is healthy." + }, + "prediction": { + "forecastValues": { + "instancesRequestedCount": [ + 24, + 10, + 200, + 12, + 5, + 10, + 15, + 23, + 56, + 38, + 12, + 19 + ] + }, + "forecastStartTime": "2025-02-14T01:34:59.228Z", + "forecastInfo": "{\"forecastAccuracy\": 85, \"seriesUnitIntervalInMins\": 60, \"instancesRequestedCount_recentHistory\": \"[9, 4, 2, 8, 8, 2, 3, 6, 5, 3, 2, 6]\"}" + } + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000009/resourceGroups/rgstandbypool/providers/Microsoft.StandbyPool/standbyContainerGroupPools/pool/runtimeViews/latest", + "name": "pool", + "type": "Microsoft.StandbyPool/standbyContainerGroupPools/runtimeViews", + "systemData": { + "createdBy": "pooluser@microsoft.com", + "createdByType": "User", + "createdAt": "2023-09-07T16:33:22.210Z", + "lastModifiedBy": "pooluser@microsoft.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-09-07T16:33:22.210Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/standbypool/resource-manager/Microsoft.StandbyPool/stable/2025-10-01/examples/StandbyContainerGroupPools_CreateOrUpdate.json b/specification/standbypool/resource-manager/Microsoft.StandbyPool/stable/2025-10-01/examples/StandbyContainerGroupPools_CreateOrUpdate.json new file mode 100644 index 000000000000..73efb02016b9 --- /dev/null +++ b/specification/standbypool/resource-manager/Microsoft.StandbyPool/stable/2025-10-01/examples/StandbyContainerGroupPools_CreateOrUpdate.json @@ -0,0 +1,130 @@ +{ + "title": "StandbyContainerGroupPools_CreateOrUpdate", + "operationId": "StandbyContainerGroupPools_CreateOrUpdate", + "parameters": { + "api-version": "2025-10-01", + "subscriptionId": "00000000-0000-0000-0000-000000000009", + "resourceGroupName": "rgstandbypool", + "standbyContainerGroupPoolName": "pool", + "resource": { + "properties": { + "elasticityProfile": { + "maxReadyCapacity": 688, + "refillPolicy": "always", + "dynamicSizing": { + "enabled": true + } + }, + "containerGroupProperties": { + "containerGroupProfile": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000009/resourceGroups/rgstandbypool/providers/Microsoft.ContainerInstance/containerGroupProfiles/cgProfile", + "revision": 1 + }, + "subnetIds": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000009/resourceGroups/rgstandbypool/providers/Microsoft.Network/virtualNetworks/cgSubnet/subnets/cgSubnet" + } + ] + }, + "zones": [ + "1", + "2", + "3" + ] + }, + "tags": {}, + "location": "West US" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "elasticityProfile": { + "maxReadyCapacity": 688, + "refillPolicy": "always", + "dynamicSizing": { + "enabled": true + } + }, + "provisioningState": "Succeeded", + "containerGroupProperties": { + "containerGroupProfile": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000009/resourceGroups/rgstandbypool/providers/Microsoft.ContainerInstance/containerGroupProfiles/cgProfile", + "revision": 1 + }, + "subnetIds": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000009/resourceGroups/rgstandbypool/providers/Microsoft.Network/virtualNetworks/cgSubnet/subnets/cgSubnet" + } + ] + }, + "zones": [ + "1", + "2", + "3" + ] + }, + "tags": {}, + "location": "West US", + "id": "/subscriptions/00000000-0000-0000-0000-000000000009/resourceGroups/rgstandbypool/providers/Microsoft.StandbyPool/standbyContainerGroupPools/pool", + "name": "pool", + "type": "Microsoft.StandbyPool/standbyContainerGroupPools", + "systemData": { + "createdBy": "pooluser@microsoft.com", + "createdByType": "User", + "createdAt": "2023-09-07T16:33:22.210Z", + "lastModifiedBy": "pooluser@microsoft.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-09-07T16:33:22.210Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "elasticityProfile": { + "maxReadyCapacity": 688, + "refillPolicy": "always", + "dynamicSizing": { + "enabled": true + } + }, + "provisioningState": "Succeeded", + "containerGroupProperties": { + "containerGroupProfile": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000009/resourceGroups/rgstandbypool/providers/Microsoft.ContainerInstance/containerGroupProfiles/cgProfile", + "revision": 1 + }, + "subnetIds": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000009/resourceGroups/rgstandbypool/providers/Microsoft.Network/virtualNetworks/cgSubnet/subnets/cgSubnet" + } + ] + }, + "zones": [ + "1", + "2", + "3" + ] + }, + "tags": {}, + "location": "West US", + "id": "/subscriptions/00000000-0000-0000-0000-000000000009/resourceGroups/rgstandbypool/providers/Microsoft.StandbyPool/standbyContainerGroupPools/pool", + "name": "pool", + "type": "Microsoft.StandbyPool/standbyContainerGroupPools", + "systemData": { + "createdBy": "pooluser@microsoft.com", + "createdByType": "User", + "createdAt": "2023-09-07T16:33:22.210Z", + "lastModifiedBy": "pooluser@microsoft.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-09-07T16:33:22.210Z" + } + } + } + } +} diff --git a/specification/standbypool/resource-manager/Microsoft.StandbyPool/stable/2025-10-01/examples/StandbyContainerGroupPools_Delete.json b/specification/standbypool/resource-manager/Microsoft.StandbyPool/stable/2025-10-01/examples/StandbyContainerGroupPools_Delete.json new file mode 100644 index 000000000000..db444ae8bd46 --- /dev/null +++ b/specification/standbypool/resource-manager/Microsoft.StandbyPool/stable/2025-10-01/examples/StandbyContainerGroupPools_Delete.json @@ -0,0 +1,18 @@ +{ + "title": "StandbyContainerGroupPools_Delete", + "operationId": "StandbyContainerGroupPools_Delete", + "parameters": { + "api-version": "2025-10-01", + "subscriptionId": "00000000-0000-0000-0000-000000000009", + "resourceGroupName": "rgstandbypool", + "standbyContainerGroupPoolName": "pool" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/standbypool/resource-manager/Microsoft.StandbyPool/stable/2025-10-01/examples/StandbyContainerGroupPools_Get.json b/specification/standbypool/resource-manager/Microsoft.StandbyPool/stable/2025-10-01/examples/StandbyContainerGroupPools_Get.json new file mode 100644 index 000000000000..b0d4d8e4d718 --- /dev/null +++ b/specification/standbypool/resource-manager/Microsoft.StandbyPool/stable/2025-10-01/examples/StandbyContainerGroupPools_Get.json @@ -0,0 +1,55 @@ +{ + "title": "StandbyContainerGroupPools_Get", + "operationId": "StandbyContainerGroupPools_Get", + "parameters": { + "api-version": "2025-10-01", + "subscriptionId": "00000000-0000-0000-0000-000000000009", + "resourceGroupName": "rgstandbypool", + "standbyContainerGroupPoolName": "pool" + }, + "responses": { + "200": { + "body": { + "properties": { + "elasticityProfile": { + "maxReadyCapacity": 688, + "refillPolicy": "always", + "dynamicSizing": { + "enabled": true + } + }, + "provisioningState": "Succeeded", + "containerGroupProperties": { + "containerGroupProfile": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000009/resourceGroups/rgstandbypool/providers/Microsoft.ContainerInstance/containerGroupProfiles/cgProfile", + "revision": 1 + }, + "subnetIds": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000009/resourceGroups/rgstandbypool/providers/Microsoft.Network/virtualNetworks/cgSubnet/subnets/cgSubnet" + } + ] + }, + "zones": [ + "1", + "2", + "3" + ] + }, + "tags": {}, + "location": "West US", + "id": "/subscriptions/00000000-0000-0000-0000-000000000009/resourceGroups/rgstandbypool/providers/Microsoft.StandbyPool/standbyContainerGroupPools/pool", + "name": "pool", + "type": "Microsoft.StandbyPool/standbyContainerGroupPools", + "systemData": { + "createdBy": "pooluser@microsoft.com", + "createdByType": "User", + "createdAt": "2023-09-07T16:33:22.210Z", + "lastModifiedBy": "pooluser@microsoft.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-09-07T16:33:22.210Z" + } + } + } + } +} diff --git a/specification/standbypool/resource-manager/Microsoft.StandbyPool/stable/2025-10-01/examples/StandbyContainerGroupPools_ListByResourceGroup.json b/specification/standbypool/resource-manager/Microsoft.StandbyPool/stable/2025-10-01/examples/StandbyContainerGroupPools_ListByResourceGroup.json new file mode 100644 index 000000000000..507fa5215c6b --- /dev/null +++ b/specification/standbypool/resource-manager/Microsoft.StandbyPool/stable/2025-10-01/examples/StandbyContainerGroupPools_ListByResourceGroup.json @@ -0,0 +1,59 @@ +{ + "title": "StandbyContainerGroupPools_ListByResourceGroup", + "operationId": "StandbyContainerGroupPools_ListByResourceGroup", + "parameters": { + "api-version": "2025-10-01", + "subscriptionId": "00000000-0000-0000-0000-000000000009", + "resourceGroupName": "rgstandbypool" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "elasticityProfile": { + "maxReadyCapacity": 688, + "refillPolicy": "always", + "dynamicSizing": { + "enabled": true + } + }, + "provisioningState": "Succeeded", + "containerGroupProperties": { + "containerGroupProfile": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000009/resourceGroups/rgstandbypool/providers/Microsoft.ContainerInstance/containerGroupProfiles/cgProfile", + "revision": 1 + }, + "subnetIds": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000009/resourceGroups/rgstandbypool/providers/Microsoft.Network/virtualNetworks/cgSubnet/subnets/cgSubnet" + } + ] + }, + "zones": [ + "1", + "2", + "3" + ] + }, + "tags": {}, + "location": "West US", + "id": "/subscriptions/00000000-0000-0000-0000-000000000009/resourceGroups/rgstandbypool/providers/Microsoft.StandbyPool/standbyContainerGroupPools/pool", + "name": "pool", + "type": "Microsoft.StandbyPool/standbyContainerGroupPools", + "systemData": { + "createdBy": "pooluser@microsoft.com", + "createdByType": "User", + "createdAt": "2023-09-07T16:33:22.210Z", + "lastModifiedBy": "pooluser@microsoft.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-09-07T16:33:22.210Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/standbypool/resource-manager/Microsoft.StandbyPool/stable/2025-10-01/examples/StandbyContainerGroupPools_ListBySubscription.json b/specification/standbypool/resource-manager/Microsoft.StandbyPool/stable/2025-10-01/examples/StandbyContainerGroupPools_ListBySubscription.json new file mode 100644 index 000000000000..f3d338fe4129 --- /dev/null +++ b/specification/standbypool/resource-manager/Microsoft.StandbyPool/stable/2025-10-01/examples/StandbyContainerGroupPools_ListBySubscription.json @@ -0,0 +1,58 @@ +{ + "title": "StandbyContainerGroupPools_ListBySubscription", + "operationId": "StandbyContainerGroupPools_ListBySubscription", + "parameters": { + "api-version": "2025-10-01", + "subscriptionId": "00000000-0000-0000-0000-000000000009" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "elasticityProfile": { + "maxReadyCapacity": 688, + "refillPolicy": "always", + "dynamicSizing": { + "enabled": true + } + }, + "provisioningState": "Succeeded", + "containerGroupProperties": { + "containerGroupProfile": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000009/resourceGroups/rgstandbypool/providers/Microsoft.ContainerInstance/containerGroupProfiles/cgProfile", + "revision": 1 + }, + "subnetIds": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000009/resourceGroups/rgstandbypool/providers/Microsoft.Network/virtualNetworks/cgSubnet/subnets/cgSubnet" + } + ] + }, + "zones": [ + "1", + "2", + "3" + ] + }, + "tags": {}, + "location": "West US", + "id": "/subscriptions/00000000-0000-0000-0000-000000000009/resourceGroups/rgstandbypool/providers/Microsoft.StandbyPool/standbyContainerGroupPools/pool", + "name": "pool", + "type": "Microsoft.StandbyPool/standbyContainerGroupPools", + "systemData": { + "createdBy": "pooluser@microsoft.com", + "createdByType": "User", + "createdAt": "2023-09-07T16:33:22.210Z", + "lastModifiedBy": "pooluser@microsoft.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-09-07T16:33:22.210Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/standbypool/resource-manager/Microsoft.StandbyPool/stable/2025-10-01/examples/StandbyContainerGroupPools_Update.json b/specification/standbypool/resource-manager/Microsoft.StandbyPool/stable/2025-10-01/examples/StandbyContainerGroupPools_Update.json new file mode 100644 index 000000000000..f2456c7ab98d --- /dev/null +++ b/specification/standbypool/resource-manager/Microsoft.StandbyPool/stable/2025-10-01/examples/StandbyContainerGroupPools_Update.json @@ -0,0 +1,83 @@ +{ + "title": "StandbyContainerGroupPools_Update", + "operationId": "StandbyContainerGroupPools_Update", + "parameters": { + "api-version": "2025-10-01", + "subscriptionId": "00000000-0000-0000-0000-000000000009", + "resourceGroupName": "rgstandbypool", + "standbyContainerGroupPoolName": "pool", + "properties": { + "tags": {}, + "properties": { + "elasticityProfile": { + "maxReadyCapacity": 1743, + "refillPolicy": "always", + "dynamicSizing": { + "enabled": true + } + }, + "containerGroupProperties": { + "containerGroupProfile": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000009/resourceGroups/rgstandbypool/providers/Microsoft.ContainerInstance/containerGroupProfiles/cgProfile", + "revision": 2 + }, + "subnetIds": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000009/resourceGroups/rgstandbypool/providers/Microsoft.Network/virtualNetworks/cgSubnet/subnets/cgSubnet" + } + ] + }, + "zones": [ + "1", + "2", + "3" + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "elasticityProfile": { + "maxReadyCapacity": 1743, + "refillPolicy": "always", + "dynamicSizing": { + "enabled": true + } + }, + "provisioningState": "Succeeded", + "containerGroupProperties": { + "containerGroupProfile": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000009/resourceGroups/rgstandbypool/providers/Microsoft.ContainerInstance/containerGroupProfiles/cgProfile", + "revision": 2 + }, + "subnetIds": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000009/resourceGroups/rgstandbypool/providers/Microsoft.Network/virtualNetworks/cgSubnet/subnets/cgSubnet" + } + ] + }, + "zones": [ + "1", + "2", + "3" + ] + }, + "tags": {}, + "location": "West US", + "id": "/subscriptions/00000000-0000-0000-0000-000000000009/resourceGroups/rgstandbypool/providers/Microsoft.StandbyPool/standbyContainerGroupPools/pool", + "name": "pool", + "type": "Microsoft.StandbyPool/standbyContainerGroupPools", + "systemData": { + "createdBy": "pooluser@microsoft.com", + "createdByType": "User", + "createdAt": "2023-09-07T16:33:22.210Z", + "lastModifiedBy": "pooluser@microsoft.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-09-07T16:33:22.210Z" + } + } + } + } +} diff --git a/specification/standbypool/resource-manager/Microsoft.StandbyPool/stable/2025-10-01/examples/StandbyVirtualMachinePoolRuntimeViews_Get.json b/specification/standbypool/resource-manager/Microsoft.StandbyPool/stable/2025-10-01/examples/StandbyVirtualMachinePoolRuntimeViews_Get.json new file mode 100644 index 000000000000..6db8329a2e61 --- /dev/null +++ b/specification/standbypool/resource-manager/Microsoft.StandbyPool/stable/2025-10-01/examples/StandbyVirtualMachinePoolRuntimeViews_Get.json @@ -0,0 +1,168 @@ +{ + "title": "StandbyVirtualMachinePoolRuntimeViews_Get", + "operationId": "StandbyVirtualMachinePoolRuntimeViews_Get", + "parameters": { + "api-version": "2025-10-01", + "subscriptionId": "00000000-0000-0000-0000-000000000009", + "resourceGroupName": "rgstandbypool", + "standbyVirtualMachinePoolName": "pool", + "runtimeView": "latest" + }, + "responses": { + "200": { + "body": { + "properties": { + "instanceCountSummary": [ + { + "zone": 1, + "instanceCountsByState": [ + { + "state": "Creating", + "count": 100 + }, + { + "state": "Running", + "count": 20 + }, + { + "state": "Deallocating", + "count": 10 + }, + { + "state": "Deallocated", + "count": 100 + }, + { + "state": "Starting", + "count": 0 + }, + { + "state": "Deleting", + "count": 0 + }, + { + "state": "Hibernating", + "count": 0 + }, + { + "state": "Hibernated", + "count": 0 + } + ] + }, + { + "zone": 2, + "instanceCountsByState": [ + { + "state": "Creating", + "count": 100 + }, + { + "state": "Running", + "count": 20 + }, + { + "state": "Deallocating", + "count": 10 + }, + { + "state": "Deallocated", + "count": 100 + }, + { + "state": "Starting", + "count": 0 + }, + { + "state": "Deleting", + "count": 0 + }, + { + "state": "Hibernating", + "count": 0 + }, + { + "state": "Hibernated", + "count": 0 + } + ] + }, + { + "zone": 3, + "instanceCountsByState": [ + { + "state": "Creating", + "count": 100 + }, + { + "state": "Running", + "count": 20 + }, + { + "state": "Deallocating", + "count": 10 + }, + { + "state": "Deallocated", + "count": 100 + }, + { + "state": "Starting", + "count": 0 + }, + { + "state": "Deleting", + "count": 0 + }, + { + "state": "Hibernating", + "count": 0 + }, + { + "state": "Hibernated", + "count": 0 + } + ] + } + ], + "provisioningState": "Succeeded", + "status": { + "code": "HealthState/healthy", + "message": "The pool is healthy." + }, + "prediction": { + "forecastValues": { + "instancesRequestedCount": [ + 24, + 10, + 200, + 12, + 5, + 10, + 15, + 23, + 56, + 38, + 12, + 19 + ] + }, + "forecastStartTime": "2025-02-14T01:34:59.228Z", + "forecastInfo": "{\"forecastAccuracy\": 85, \"seriesUnitIntervalInMins\": 60, \"instancesRequestedCount_recentHistory\": \"[9, 4, 2, 8, 8, 2, 3, 6, 5, 3, 2, 6]\"}" + } + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000009/resourceGroups/rgstandbypool/providers/Microsoft.StandbyPool/standbyVirtualMachinePools/pool/runtimeViews/latest", + "name": "pool", + "type": "Microsoft.StandbyPool/standbyVirtualMachinePools/runtimeViews", + "systemData": { + "createdBy": "pooluser@microsoft.com", + "createdByType": "User", + "createdAt": "2024-02-14T23:31:59.679Z", + "lastModifiedBy": "pooluser@microsoft.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2024-02-14T23:31:59.679Z" + } + } + } + } +} diff --git a/specification/standbypool/resource-manager/Microsoft.StandbyPool/stable/2025-10-01/examples/StandbyVirtualMachinePoolRuntimeViews_ListByStandbyPool.json b/specification/standbypool/resource-manager/Microsoft.StandbyPool/stable/2025-10-01/examples/StandbyVirtualMachinePoolRuntimeViews_ListByStandbyPool.json new file mode 100644 index 000000000000..0aa31b71a2de --- /dev/null +++ b/specification/standbypool/resource-manager/Microsoft.StandbyPool/stable/2025-10-01/examples/StandbyVirtualMachinePoolRuntimeViews_ListByStandbyPool.json @@ -0,0 +1,172 @@ +{ + "title": "StandbyVirtualMachinePoolRuntimeViews_ListByStandbyPool", + "operationId": "StandbyVirtualMachinePoolRuntimeViews_ListByStandbyPool", + "parameters": { + "api-version": "2025-10-01", + "subscriptionId": "00000000-0000-0000-0000-000000000009", + "resourceGroupName": "rgstandbypool", + "standbyVirtualMachinePoolName": "pool" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "instanceCountSummary": [ + { + "zone": 1, + "instanceCountsByState": [ + { + "state": "Creating", + "count": 100 + }, + { + "state": "Running", + "count": 20 + }, + { + "state": "Deallocating", + "count": 10 + }, + { + "state": "Deallocated", + "count": 100 + }, + { + "state": "Starting", + "count": 0 + }, + { + "state": "Deleting", + "count": 0 + }, + { + "state": "Hibernating", + "count": 0 + }, + { + "state": "Hibernated", + "count": 0 + } + ] + }, + { + "zone": 2, + "instanceCountsByState": [ + { + "state": "Creating", + "count": 100 + }, + { + "state": "Running", + "count": 20 + }, + { + "state": "Deallocating", + "count": 10 + }, + { + "state": "Deallocated", + "count": 100 + }, + { + "state": "Starting", + "count": 0 + }, + { + "state": "Deleting", + "count": 0 + }, + { + "state": "Hibernating", + "count": 0 + }, + { + "state": "Hibernated", + "count": 0 + } + ] + }, + { + "zone": 3, + "instanceCountsByState": [ + { + "state": "Creating", + "count": 100 + }, + { + "state": "Running", + "count": 20 + }, + { + "state": "Deallocating", + "count": 10 + }, + { + "state": "Deallocated", + "count": 100 + }, + { + "state": "Starting", + "count": 0 + }, + { + "state": "Deleting", + "count": 0 + }, + { + "state": "Hibernating", + "count": 0 + }, + { + "state": "Hibernated", + "count": 0 + } + ] + } + ], + "provisioningState": "Succeeded", + "status": { + "code": "HealthState/healthy", + "message": "The pool is healthy." + }, + "prediction": { + "forecastValues": { + "instancesRequestedCount": [ + 24, + 10, + 200, + 12, + 5, + 10, + 15, + 23, + 56, + 38, + 12, + 19 + ] + }, + "forecastStartTime": "2025-02-14T01:34:59.228Z", + "forecastInfo": "{\"forecastAccuracy\": 85, \"seriesUnitIntervalInMins\": 60, \"instancesRequestedCount_recentHistory\": \"[9, 4, 2, 8, 8, 2, 3, 6, 5, 3, 2, 6]\"}" + } + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000009/resourceGroups/rgstandbypool/providers/Microsoft.StandbyPool/standbyVirtualMachinePools/pool/runtimeViews/latest", + "name": "pool", + "type": "Microsoft.StandbyPool/standbyVirtualMachinePools/runtimeViews", + "systemData": { + "createdBy": "pooluser@microsoft.com", + "createdByType": "User", + "createdAt": "2023-09-07T16:33:22.210Z", + "lastModifiedBy": "pooluser@microsoft.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-09-07T16:33:22.210Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/standbypool/resource-manager/Microsoft.StandbyPool/stable/2025-10-01/examples/StandbyVirtualMachinePools_CreateOrUpdate.json b/specification/standbypool/resource-manager/Microsoft.StandbyPool/stable/2025-10-01/examples/StandbyVirtualMachinePools_CreateOrUpdate.json new file mode 100644 index 000000000000..efda16ae6db8 --- /dev/null +++ b/specification/standbypool/resource-manager/Microsoft.StandbyPool/stable/2025-10-01/examples/StandbyVirtualMachinePools_CreateOrUpdate.json @@ -0,0 +1,91 @@ +{ + "title": "StandbyVirtualMachinePools_CreateOrUpdate", + "operationId": "StandbyVirtualMachinePools_CreateOrUpdate", + "parameters": { + "api-version": "2025-10-01", + "subscriptionId": "00000000-0000-0000-0000-000000000009", + "resourceGroupName": "rgstandbypool", + "standbyVirtualMachinePoolName": "pool", + "resource": { + "properties": { + "elasticityProfile": { + "maxReadyCapacity": 304, + "minReadyCapacity": 300, + "postProvisioningDelay": "PT2S", + "dynamicSizing": { + "enabled": true + } + }, + "virtualMachineState": "Running", + "attachedVirtualMachineScaleSetId": "/subscriptions/00000000-0000-0000-0000-000000000009/resourceGroups/rgstandbypool/providers/Microsoft.Compute/virtualMachineScaleSets/myVmss" + }, + "tags": {}, + "location": "West US" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "elasticityProfile": { + "maxReadyCapacity": 304, + "minReadyCapacity": 300, + "postProvisioningDelay": "PT2S", + "dynamicSizing": { + "enabled": true + } + }, + "virtualMachineState": "Running", + "attachedVirtualMachineScaleSetId": "/subscriptions/00000000-0000-0000-0000-000000000009/resourceGroups/rgstandbypool/providers/Microsoft.Compute/virtualMachineScaleSets/myVmss", + "provisioningState": "Succeeded" + }, + "tags": {}, + "location": "West US", + "id": "/subscriptions/00000000-0000-0000-0000-000000000009/resourceGroups/rgstandbypool/providers/Microsoft.StandbyPool/standbyVirtualMachinePools/pool", + "name": "pool", + "type": "Microsoft.StandbyPool/standbyVirtualMachinePools", + "systemData": { + "createdBy": "pooluser@microsoft.com", + "createdByType": "User", + "createdAt": "2023-09-07T16:33:22.210Z", + "lastModifiedBy": "pooluser@microsoft.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-09-07T16:33:22.210Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "elasticityProfile": { + "maxReadyCapacity": 304, + "minReadyCapacity": 300, + "postProvisioningDelay": "PT2S", + "dynamicSizing": { + "enabled": true + } + }, + "virtualMachineState": "Running", + "attachedVirtualMachineScaleSetId": "/subscriptions/00000000-0000-0000-0000-000000000009/resourceGroups/rgstandbypool/providers/Microsoft.Compute/virtualMachineScaleSets/myVmss", + "provisioningState": "Succeeded" + }, + "tags": {}, + "location": "West US", + "id": "/subscriptions/00000000-0000-0000-0000-000000000009/resourceGroups/rgstandbypool/providers/Microsoft.StandbyPool/standbyVirtualMachinePools/pool", + "name": "pool", + "type": "Microsoft.StandbyPool/standbyVirtualMachinePools", + "systemData": { + "createdBy": "pooluser@microsoft.com", + "createdByType": "User", + "createdAt": "2023-09-07T16:33:22.210Z", + "lastModifiedBy": "pooluser@microsoft.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-09-07T16:33:22.210Z" + } + } + } + } +} diff --git a/specification/standbypool/resource-manager/Microsoft.StandbyPool/stable/2025-10-01/examples/StandbyVirtualMachinePools_Delete.json b/specification/standbypool/resource-manager/Microsoft.StandbyPool/stable/2025-10-01/examples/StandbyVirtualMachinePools_Delete.json new file mode 100644 index 000000000000..03fb06e72e70 --- /dev/null +++ b/specification/standbypool/resource-manager/Microsoft.StandbyPool/stable/2025-10-01/examples/StandbyVirtualMachinePools_Delete.json @@ -0,0 +1,18 @@ +{ + "title": "StandbyVirtualMachinePools_Delete", + "operationId": "StandbyVirtualMachinePools_Delete", + "parameters": { + "api-version": "2025-10-01", + "subscriptionId": "00000000-0000-0000-0000-000000000009", + "resourceGroupName": "rgstandbypool", + "standbyVirtualMachinePoolName": "pool" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/standbypool/resource-manager/Microsoft.StandbyPool/stable/2025-10-01/examples/StandbyVirtualMachinePools_Get.json b/specification/standbypool/resource-manager/Microsoft.StandbyPool/stable/2025-10-01/examples/StandbyVirtualMachinePools_Get.json new file mode 100644 index 000000000000..d2c61742fe7a --- /dev/null +++ b/specification/standbypool/resource-manager/Microsoft.StandbyPool/stable/2025-10-01/examples/StandbyVirtualMachinePools_Get.json @@ -0,0 +1,42 @@ +{ + "title": "StandbyVirtualMachinePools_Get", + "operationId": "StandbyVirtualMachinePools_Get", + "parameters": { + "api-version": "2025-10-01", + "subscriptionId": "00000000-0000-0000-0000-000000000009", + "resourceGroupName": "rgstandbypool", + "standbyVirtualMachinePoolName": "pool" + }, + "responses": { + "200": { + "body": { + "properties": { + "elasticityProfile": { + "maxReadyCapacity": 304, + "minReadyCapacity": 300, + "postProvisioningDelay": "PT2S", + "dynamicSizing": { + "enabled": true + } + }, + "virtualMachineState": "Running", + "attachedVirtualMachineScaleSetId": "/subscriptions/00000000-0000-0000-0000-000000000009/resourceGroups/rgstandbypool/providers/Microsoft.Compute/virtualMachineScaleSets/myVmss", + "provisioningState": "Succeeded" + }, + "tags": {}, + "location": "West US", + "id": "/subscriptions/00000000-0000-0000-0000-000000000009/resourceGroups/rgstandbypool/providers/Microsoft.StandbyPool/standbyVirtualMachinePools/pool", + "name": "pool", + "type": "Microsoft.StandbyPool/standbyVirtualMachinePools", + "systemData": { + "createdBy": "pooluser@microsoft.com", + "createdByType": "User", + "createdAt": "2023-09-07T16:33:22.210Z", + "lastModifiedBy": "pooluser@microsoft.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-09-07T16:33:22.210Z" + } + } + } + } +} diff --git a/specification/standbypool/resource-manager/Microsoft.StandbyPool/stable/2025-10-01/examples/StandbyVirtualMachinePools_ListByResourceGroup.json b/specification/standbypool/resource-manager/Microsoft.StandbyPool/stable/2025-10-01/examples/StandbyVirtualMachinePools_ListByResourceGroup.json new file mode 100644 index 000000000000..430954ca15ea --- /dev/null +++ b/specification/standbypool/resource-manager/Microsoft.StandbyPool/stable/2025-10-01/examples/StandbyVirtualMachinePools_ListByResourceGroup.json @@ -0,0 +1,46 @@ +{ + "title": "StandbyVirtualMachinePools_ListByResourceGroup", + "operationId": "StandbyVirtualMachinePools_ListByResourceGroup", + "parameters": { + "api-version": "2025-10-01", + "subscriptionId": "00000000-0000-0000-0000-000000000009", + "resourceGroupName": "rgstandbypool" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "elasticityProfile": { + "maxReadyCapacity": 304, + "minReadyCapacity": 300, + "postProvisioningDelay": "PT2S", + "dynamicSizing": { + "enabled": true + } + }, + "virtualMachineState": "Running", + "attachedVirtualMachineScaleSetId": "/subscriptions/00000000-0000-0000-0000-000000000009/resourceGroups/rgstandbypool/providers/Microsoft.Compute/virtualMachineScaleSets/myVmss", + "provisioningState": "Succeeded" + }, + "tags": {}, + "location": "West US", + "id": "/subscriptions/00000000-0000-0000-0000-000000000009/resourceGroups/rgstandbypool/providers/Microsoft.StandbyPool/standbyVirtualMachinePools/pool", + "name": "pool", + "type": "Microsoft.StandbyPool/standbyVirtualMachinePools", + "systemData": { + "createdBy": "pooluser@microsoft.com", + "createdByType": "User", + "createdAt": "2023-09-07T16:33:22.210Z", + "lastModifiedBy": "pooluser@microsoft.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-09-07T16:33:22.210Z" + } + } + ], + "nextLink": "https://example.com/subscriptions/00000000-0000-0000-0000-000000000009/resourceGroups/rgstandbypool/providers/Microsoft.StandbyPool/standbyVirtualMachinePools" + } + } + } +} diff --git a/specification/standbypool/resource-manager/Microsoft.StandbyPool/stable/2025-10-01/examples/StandbyVirtualMachinePools_ListBySubscription.json b/specification/standbypool/resource-manager/Microsoft.StandbyPool/stable/2025-10-01/examples/StandbyVirtualMachinePools_ListBySubscription.json new file mode 100644 index 000000000000..d7e60c00ccdb --- /dev/null +++ b/specification/standbypool/resource-manager/Microsoft.StandbyPool/stable/2025-10-01/examples/StandbyVirtualMachinePools_ListBySubscription.json @@ -0,0 +1,45 @@ +{ + "title": "StandbyVirtualMachinePools_ListBySubscription", + "operationId": "StandbyVirtualMachinePools_ListBySubscription", + "parameters": { + "api-version": "2025-10-01", + "subscriptionId": "00000000-0000-0000-0000-000000000009" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "elasticityProfile": { + "maxReadyCapacity": 304, + "minReadyCapacity": 300, + "postProvisioningDelay": "PT2S", + "dynamicSizing": { + "enabled": true + } + }, + "virtualMachineState": "Running", + "attachedVirtualMachineScaleSetId": "/subscriptions/00000000-0000-0000-0000-000000000009/resourceGroups/rgstandbypool/providers/Microsoft.Compute/virtualMachineScaleSets/myVmss", + "provisioningState": "Succeeded" + }, + "tags": {}, + "location": "West US", + "id": "/subscriptions/00000000-0000-0000-0000-000000000009/resourceGroups/rgstandbypool/providers/Microsoft.StandbyPool/standbyVirtualMachinePools/pool", + "name": "pool", + "type": "Microsoft.StandbyPool/standbyVirtualMachinePools", + "systemData": { + "createdBy": "pooluser@microsoft.com", + "createdByType": "User", + "createdAt": "2023-09-07T16:33:22.210Z", + "lastModifiedBy": "pooluser@microsoft.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-09-07T16:33:22.210Z" + } + } + ], + "nextLink": "https://example.com/subscriptions/00000000-0000-0000-0000-000000000009/resourceGroups/rgstandbypool/providers/Microsoft.StandbyPool/standbyVirtualMachinePools" + } + } + } +} diff --git a/specification/standbypool/resource-manager/Microsoft.StandbyPool/stable/2025-10-01/examples/StandbyVirtualMachinePools_Update.json b/specification/standbypool/resource-manager/Microsoft.StandbyPool/stable/2025-10-01/examples/StandbyVirtualMachinePools_Update.json new file mode 100644 index 000000000000..cf1c4d5b5bc1 --- /dev/null +++ b/specification/standbypool/resource-manager/Microsoft.StandbyPool/stable/2025-10-01/examples/StandbyVirtualMachinePools_Update.json @@ -0,0 +1,57 @@ +{ + "title": "StandbyVirtualMachinePools_Update", + "operationId": "StandbyVirtualMachinePools_Update", + "parameters": { + "api-version": "2025-10-01", + "subscriptionId": "00000000-0000-0000-0000-000000000009", + "resourceGroupName": "rgstandbypool", + "standbyVirtualMachinePoolName": "pool", + "properties": { + "tags": {}, + "properties": { + "elasticityProfile": { + "maxReadyCapacity": 304, + "minReadyCapacity": 300, + "postProvisioningDelay": "PT2S", + "dynamicSizing": { + "enabled": true + } + }, + "virtualMachineState": "Running", + "attachedVirtualMachineScaleSetId": "/subscriptions/00000000-0000-0000-0000-000000000009/resourceGroups/rgstandbypool/providers/Microsoft.Compute/virtualMachineScaleSets/myVmss" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "elasticityProfile": { + "maxReadyCapacity": 304, + "minReadyCapacity": 300, + "postProvisioningDelay": "PT2S", + "dynamicSizing": { + "enabled": true + } + }, + "virtualMachineState": "Running", + "attachedVirtualMachineScaleSetId": "/subscriptions/00000000-0000-0000-0000-000000000009/resourceGroups/rgstandbypool/providers/Microsoft.Compute/virtualMachineScaleSets/myVmss", + "provisioningState": "Succeeded" + }, + "tags": {}, + "location": "West US", + "id": "/subscriptions/00000000-0000-0000-0000-000000000009/resourceGroups/rgstandbypool/providers/Microsoft.StandbyPool/standbyVirtualMachinePools/pool", + "name": "pool", + "type": "Microsoft.StandbyPool/standbyVirtualMachinePools", + "systemData": { + "createdBy": "pooluser@microsoft.com", + "createdByType": "User", + "createdAt": "2023-09-07T16:33:22.210Z", + "lastModifiedBy": "pooluser@microsoft.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-09-07T16:33:22.210Z" + } + } + } + } +} diff --git a/specification/standbypool/resource-manager/Microsoft.StandbyPool/stable/2025-10-01/examples/StandbyVirtualMachines_Get.json b/specification/standbypool/resource-manager/Microsoft.StandbyPool/stable/2025-10-01/examples/StandbyVirtualMachines_Get.json new file mode 100644 index 000000000000..d3fd2b5bbc60 --- /dev/null +++ b/specification/standbypool/resource-manager/Microsoft.StandbyPool/stable/2025-10-01/examples/StandbyVirtualMachines_Get.json @@ -0,0 +1,32 @@ +{ + "title": "StandbyVirtualMachines_Get", + "operationId": "StandbyVirtualMachines_Get", + "parameters": { + "api-version": "2025-10-01", + "subscriptionId": "00000000-0000-0000-0000-000000000009", + "resourceGroupName": "rgstandbypool", + "standbyVirtualMachinePoolName": "pool", + "standbyVirtualMachineName": "virtualMachine" + }, + "responses": { + "200": { + "body": { + "properties": { + "virtualMachineResourceId": "/subscriptions/00000000-0000-0000-0000-000000000009/resourceGroups/rgstandbypool/providers/Microsoft.Compute/virtualMachines/virtualMachine", + "provisioningState": "Succeeded" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000009/resourceGroups/rgstandbypool/providers/Microsoft.StandbyPool/standbyVirtualMachinePools/pool/standbyVirtualMachines/virtualMachine", + "name": "pool", + "type": "Microsoft.StandbyPool/standbyVirtualMachinePools/virtualMachines", + "systemData": { + "createdBy": "pooluser@microsoft.com", + "createdByType": "User", + "createdAt": "2023-09-07T16:33:22.210Z", + "lastModifiedBy": "pooluser@microsoft.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-09-07T16:33:22.210Z" + } + } + } + } +} diff --git a/specification/standbypool/resource-manager/Microsoft.StandbyPool/stable/2025-10-01/examples/StandbyVirtualMachines_ListByStandbyVirtualMachinePoolResource.json b/specification/standbypool/resource-manager/Microsoft.StandbyPool/stable/2025-10-01/examples/StandbyVirtualMachines_ListByStandbyVirtualMachinePoolResource.json new file mode 100644 index 000000000000..57439055bcc8 --- /dev/null +++ b/specification/standbypool/resource-manager/Microsoft.StandbyPool/stable/2025-10-01/examples/StandbyVirtualMachines_ListByStandbyVirtualMachinePoolResource.json @@ -0,0 +1,36 @@ +{ + "title": "StandbyVirtualMachines_ListByStandbyVirtualMachinePoolResource", + "operationId": "StandbyVirtualMachines_ListByStandbyVirtualMachinePoolResource", + "parameters": { + "api-version": "2025-10-01", + "subscriptionId": "00000000-0000-0000-0000-000000000009", + "resourceGroupName": "rgstandbypool", + "standbyVirtualMachinePoolName": "pool" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "virtualMachineResourceId": "/subscriptions/00000000-0000-0000-0000-000000000009/resourceGroups/rgstandbypool/providers/Microsoft.Compute/virtualMachines/virtualMachine", + "provisioningState": "Succeeded" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000009/resourceGroups/rgstandbypool/providers/Microsoft.StandbyPool/standbyVirtualMachinePools/pool/standbyVirtualMachines/virtualMachine", + "name": "pool", + "type": "Microsoft.StandbyPool/standbyVirtualMachinePools/virtualMachines", + "systemData": { + "createdBy": "pooluser@microsoft.com", + "createdByType": "User", + "createdAt": "2023-09-07T16:33:22.210Z", + "lastModifiedBy": "pooluser@microsoft.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-09-07T16:33:22.210Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/standbypool/resource-manager/Microsoft.StandbyPool/stable/2025-10-01/standbypool.json b/specification/standbypool/resource-manager/Microsoft.StandbyPool/stable/2025-10-01/standbypool.json new file mode 100644 index 000000000000..f19333112bf0 --- /dev/null +++ b/specification/standbypool/resource-manager/Microsoft.StandbyPool/stable/2025-10-01/standbypool.json @@ -0,0 +1,1985 @@ +{ + "swagger": "2.0", + "info": { + "title": "Microsoft.StandbyPool", + "version": "2025-10-01", + "x-typespec-generated": [ + { + "emitter": "@azure-tools/typespec-autorest" + } + ] + }, + "schemes": [ + "https" + ], + "host": "management.azure.com", + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "description": "Azure Active Directory OAuth2 Flow.", + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "tags": [ + { + "name": "Operations" + }, + { + "name": "StandbyVirtualMachinePools" + }, + { + "name": "StandbyVirtualMachines" + }, + { + "name": "StandbyVirtualMachinePoolRuntimeViews" + }, + { + "name": "StandbyContainerGroupPools" + }, + { + "name": "StandbyContainerGroupPoolRuntimeViews" + } + ], + "paths": { + "/providers/Microsoft.StandbyPool/operations": { + "get": { + "operationId": "Operations_List", + "tags": [ + "Operations" + ], + "description": "List the operations for the provider", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/OperationListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Operations_List": { + "$ref": "./examples/Operations_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.StandbyPool/standbyContainerGroupPools": { + "get": { + "operationId": "StandbyContainerGroupPools_ListBySubscription", + "tags": [ + "StandbyContainerGroupPools" + ], + "description": "List StandbyContainerGroupPoolResource resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/StandbyContainerGroupPoolResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "StandbyContainerGroupPools_ListBySubscription": { + "$ref": "./examples/StandbyContainerGroupPools_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.StandbyPool/standbyVirtualMachinePools": { + "get": { + "operationId": "StandbyVirtualMachinePools_ListBySubscription", + "tags": [ + "StandbyVirtualMachinePools" + ], + "description": "List StandbyVirtualMachinePoolResource resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/StandbyVirtualMachinePoolResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "StandbyVirtualMachinePools_ListBySubscription": { + "$ref": "./examples/StandbyVirtualMachinePools_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyContainerGroupPools": { + "get": { + "operationId": "StandbyContainerGroupPools_ListByResourceGroup", + "tags": [ + "StandbyContainerGroupPools" + ], + "description": "List StandbyContainerGroupPoolResource resources by resource group", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/StandbyContainerGroupPoolResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "StandbyContainerGroupPools_ListByResourceGroup": { + "$ref": "./examples/StandbyContainerGroupPools_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyContainerGroupPools/{standbyContainerGroupPoolName}": { + "get": { + "operationId": "StandbyContainerGroupPools_Get", + "tags": [ + "StandbyContainerGroupPools" + ], + "description": "Get a StandbyContainerGroupPoolResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "standbyContainerGroupPoolName", + "in": "path", + "description": "Name of the standby container group pool", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9-]{3,24}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/StandbyContainerGroupPoolResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "StandbyContainerGroupPools_Get": { + "$ref": "./examples/StandbyContainerGroupPools_Get.json" + } + } + }, + "put": { + "operationId": "StandbyContainerGroupPools_CreateOrUpdate", + "tags": [ + "StandbyContainerGroupPools" + ], + "description": "Create a StandbyContainerGroupPoolResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "standbyContainerGroupPoolName", + "in": "path", + "description": "Name of the standby container group pool", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9-]{3,24}$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/StandbyContainerGroupPoolResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'StandbyContainerGroupPoolResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/StandbyContainerGroupPoolResource" + } + }, + "201": { + "description": "Resource 'StandbyContainerGroupPoolResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/StandbyContainerGroupPoolResource" + }, + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "StandbyContainerGroupPools_CreateOrUpdate": { + "$ref": "./examples/StandbyContainerGroupPools_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "StandbyContainerGroupPools_Update", + "tags": [ + "StandbyContainerGroupPools" + ], + "description": "Update a StandbyContainerGroupPoolResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "standbyContainerGroupPoolName", + "in": "path", + "description": "Name of the standby container group pool", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9-]{3,24}$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/StandbyContainerGroupPoolResourceUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/StandbyContainerGroupPoolResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "StandbyContainerGroupPools_Update": { + "$ref": "./examples/StandbyContainerGroupPools_Update.json" + } + } + }, + "delete": { + "operationId": "StandbyContainerGroupPools_Delete", + "tags": [ + "StandbyContainerGroupPools" + ], + "description": "Delete a StandbyContainerGroupPoolResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "standbyContainerGroupPoolName", + "in": "path", + "description": "Name of the standby container group pool", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9-]{3,24}$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "StandbyContainerGroupPools_Delete": { + "$ref": "./examples/StandbyContainerGroupPools_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyContainerGroupPools/{standbyContainerGroupPoolName}/runtimeViews": { + "get": { + "operationId": "StandbyContainerGroupPoolRuntimeViews_ListByStandbyPool", + "tags": [ + "StandbyContainerGroupPoolRuntimeViews" + ], + "description": "List StandbyContainerGroupPoolRuntimeViewResource resources by StandbyContainerGroupPoolResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "standbyContainerGroupPoolName", + "in": "path", + "description": "Name of the standby container group pool", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9-]{3,24}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/StandbyContainerGroupPoolRuntimeViewResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "StandbyContainerGroupPoolRuntimeViews_ListByStandbyPool": { + "$ref": "./examples/StandbyContainerGroupPoolRuntimeViews_ListByStandbyPool.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyContainerGroupPools/{standbyContainerGroupPoolName}/runtimeViews/{runtimeView}": { + "get": { + "operationId": "StandbyContainerGroupPoolRuntimeViews_Get", + "tags": [ + "StandbyContainerGroupPoolRuntimeViews" + ], + "description": "Get a StandbyContainerGroupPoolRuntimeViewResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "standbyContainerGroupPoolName", + "in": "path", + "description": "Name of the standby container group pool", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9-]{3,24}$" + }, + { + "name": "runtimeView", + "in": "path", + "description": "The unique identifier for the runtime view. The input string should be the word 'latest', which will get the latest runtime view of the pool, otherwise the request will fail with NotFound exception.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9-]{0,24}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/StandbyContainerGroupPoolRuntimeViewResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "StandbyContainerGroupPoolRuntimeViews_Get": { + "$ref": "./examples/StandbyContainerGroupPoolRuntimeViews_Get.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyVirtualMachinePools": { + "get": { + "operationId": "StandbyVirtualMachinePools_ListByResourceGroup", + "tags": [ + "StandbyVirtualMachinePools" + ], + "description": "List StandbyVirtualMachinePoolResource resources by resource group", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/StandbyVirtualMachinePoolResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "StandbyVirtualMachinePools_ListByResourceGroup": { + "$ref": "./examples/StandbyVirtualMachinePools_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyVirtualMachinePools/{standbyVirtualMachinePoolName}": { + "get": { + "operationId": "StandbyVirtualMachinePools_Get", + "tags": [ + "StandbyVirtualMachinePools" + ], + "description": "Get a StandbyVirtualMachinePoolResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "standbyVirtualMachinePoolName", + "in": "path", + "description": "Name of the standby virtual machine pool", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9-]{3,24}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/StandbyVirtualMachinePoolResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "StandbyVirtualMachinePools_Get": { + "$ref": "./examples/StandbyVirtualMachinePools_Get.json" + } + } + }, + "put": { + "operationId": "StandbyVirtualMachinePools_CreateOrUpdate", + "tags": [ + "StandbyVirtualMachinePools" + ], + "description": "Create a StandbyVirtualMachinePoolResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "standbyVirtualMachinePoolName", + "in": "path", + "description": "Name of the standby virtual machine pool", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9-]{3,24}$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/StandbyVirtualMachinePoolResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'StandbyVirtualMachinePoolResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/StandbyVirtualMachinePoolResource" + } + }, + "201": { + "description": "Resource 'StandbyVirtualMachinePoolResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/StandbyVirtualMachinePoolResource" + }, + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "StandbyVirtualMachinePools_CreateOrUpdate": { + "$ref": "./examples/StandbyVirtualMachinePools_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "StandbyVirtualMachinePools_Update", + "tags": [ + "StandbyVirtualMachinePools" + ], + "description": "Update a StandbyVirtualMachinePoolResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "standbyVirtualMachinePoolName", + "in": "path", + "description": "Name of the standby virtual machine pool", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9-]{3,24}$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/StandbyVirtualMachinePoolResourceUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/StandbyVirtualMachinePoolResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "StandbyVirtualMachinePools_Update": { + "$ref": "./examples/StandbyVirtualMachinePools_Update.json" + } + } + }, + "delete": { + "operationId": "StandbyVirtualMachinePools_Delete", + "tags": [ + "StandbyVirtualMachinePools" + ], + "description": "Delete a StandbyVirtualMachinePoolResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "standbyVirtualMachinePoolName", + "in": "path", + "description": "Name of the standby virtual machine pool", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9-]{3,24}$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "StandbyVirtualMachinePools_Delete": { + "$ref": "./examples/StandbyVirtualMachinePools_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyVirtualMachinePools/{standbyVirtualMachinePoolName}/runtimeViews": { + "get": { + "operationId": "StandbyVirtualMachinePoolRuntimeViews_ListByStandbyPool", + "tags": [ + "StandbyVirtualMachinePoolRuntimeViews" + ], + "description": "List StandbyVirtualMachinePoolRuntimeViewResource resources by StandbyVirtualMachinePoolResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "standbyVirtualMachinePoolName", + "in": "path", + "description": "Name of the standby virtual machine pool", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9-]{3,24}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/StandbyVirtualMachinePoolRuntimeViewResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "StandbyVirtualMachinePoolRuntimeViews_ListByStandbyPool": { + "$ref": "./examples/StandbyVirtualMachinePoolRuntimeViews_ListByStandbyPool.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyVirtualMachinePools/{standbyVirtualMachinePoolName}/runtimeViews/{runtimeView}": { + "get": { + "operationId": "StandbyVirtualMachinePoolRuntimeViews_Get", + "tags": [ + "StandbyVirtualMachinePoolRuntimeViews" + ], + "description": "Get a StandbyVirtualMachinePoolRuntimeViewResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "standbyVirtualMachinePoolName", + "in": "path", + "description": "Name of the standby virtual machine pool", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9-]{3,24}$" + }, + { + "name": "runtimeView", + "in": "path", + "description": "The unique identifier for the runtime view. The input string should be the word 'latest', which will get the latest runtime view of the pool, otherwise the request will fail with NotFound exception.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9-]{0,24}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/StandbyVirtualMachinePoolRuntimeViewResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "StandbyVirtualMachinePoolRuntimeViews_Get": { + "$ref": "./examples/StandbyVirtualMachinePoolRuntimeViews_Get.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyVirtualMachinePools/{standbyVirtualMachinePoolName}/standbyVirtualMachines": { + "get": { + "operationId": "StandbyVirtualMachines_ListByStandbyVirtualMachinePoolResource", + "tags": [ + "StandbyVirtualMachines" + ], + "description": "List StandbyVirtualMachineResource resources by StandbyVirtualMachinePoolResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "standbyVirtualMachinePoolName", + "in": "path", + "description": "Name of the standby virtual machine pool", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9-]{3,24}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/StandbyVirtualMachineResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "StandbyVirtualMachines_ListByStandbyVirtualMachinePoolResource": { + "$ref": "./examples/StandbyVirtualMachines_ListByStandbyVirtualMachinePoolResource.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyVirtualMachinePools/{standbyVirtualMachinePoolName}/standbyVirtualMachines/{standbyVirtualMachineName}": { + "get": { + "operationId": "StandbyVirtualMachines_Get", + "tags": [ + "StandbyVirtualMachines" + ], + "description": "Get a StandbyVirtualMachineResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "standbyVirtualMachinePoolName", + "in": "path", + "description": "Name of the standby virtual machine pool", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9-]{3,24}$" + }, + { + "name": "standbyVirtualMachineName", + "in": "path", + "description": "Name of the standby virtual machine", + "required": true, + "type": "string", + "pattern": "^[_a-zA-Z0-9-]{3,64}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/StandbyVirtualMachineResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "StandbyVirtualMachines_Get": { + "$ref": "./examples/StandbyVirtualMachines_Get.json" + } + } + } + } + }, + "definitions": { + "ContainerGroupInstanceCountSummary": { + "type": "object", + "description": "Displays the counts of container groups in each state, as known by the StandbyPool resource provider.", + "properties": { + "zone": { + "type": "integer", + "format": "int64", + "description": "The zone that the provided counts are in. It will not have a value if zones are not enabled." + }, + "instanceCountsByState": { + "type": "array", + "description": "The count of pooled container groups in each state for the given zone.", + "items": { + "$ref": "#/definitions/PoolContainerGroupStateCount" + }, + "x-ms-identifiers": [ + "state" + ] + } + }, + "required": [ + "instanceCountsByState" + ] + }, + "ContainerGroupProfile": { + "type": "object", + "description": "Details of the ContainerGroupProfile.", + "properties": { + "id": { + "type": "string", + "format": "arm-id", + "description": "Specifies container group profile id of standby container groups.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ContainerInstance/containerGroupProfiles" + } + ] + } + }, + "revision": { + "type": "integer", + "format": "int64", + "description": "Specifies revision of container group profile." + } + }, + "required": [ + "id" + ] + }, + "ContainerGroupProperties": { + "type": "object", + "description": "Details of the ContainerGroupProperties.", + "properties": { + "containerGroupProfile": { + "$ref": "#/definitions/ContainerGroupProfile", + "description": "Specifies container group profile of standby container groups." + }, + "subnetIds": { + "type": "array", + "description": "Specifies subnet Ids for container group.", + "items": { + "$ref": "#/definitions/Subnet" + } + } + }, + "required": [ + "containerGroupProfile" + ] + }, + "DynamicSizing": { + "type": "object", + "description": "Specifies the dynamic sizing configuration.", + "properties": { + "enabled": { + "type": "boolean", + "description": "Indicates whether dynamic sizing is enabled for the standby pool." + } + } + }, + "HealthStateCode": { + "type": "string", + "description": "StandbyPool health state.", + "enum": [ + "HealthState/healthy", + "HealthState/degraded" + ], + "x-ms-enum": { + "name": "HealthStateCode", + "modelAsString": true, + "values": [ + { + "name": "healthy", + "value": "HealthState/healthy", + "description": "StandbyPool is in healthy state." + }, + { + "name": "degraded", + "value": "HealthState/degraded", + "description": "StandbyPool is in degraded state." + } + ] + } + }, + "PoolContainerGroupState": { + "type": "string", + "description": "The state of the pooled container groups.", + "enum": [ + "Running", + "Creating", + "Deleting" + ], + "x-ms-enum": { + "name": "PoolContainerGroupState", + "modelAsString": true, + "values": [ + { + "name": "Running", + "value": "Running", + "description": "The container group is up and running." + }, + { + "name": "Creating", + "value": "Creating", + "description": "The container group is creating." + }, + { + "name": "Deleting", + "value": "Deleting", + "description": "The container group is deleting." + } + ] + } + }, + "PoolContainerGroupStateCount": { + "type": "object", + "description": "Displays the counts of pooled container groups in each state, as known by the StandbyPool resource provider.", + "properties": { + "state": { + "$ref": "#/definitions/PoolContainerGroupState", + "description": "The state that the pooled container groups count is for." + }, + "count": { + "type": "integer", + "format": "int64", + "description": "The count of pooled container groups in the given state." + } + }, + "required": [ + "state", + "count" + ] + }, + "PoolStatus": { + "type": "object", + "description": "Displays StandbyPool status.", + "properties": { + "code": { + "$ref": "#/definitions/HealthStateCode", + "description": "Displays the healthy state of the StandbyPool.", + "readOnly": true + }, + "message": { + "type": "string", + "description": "Displays the StandbyPool health state details.", + "readOnly": true + } + }, + "required": [ + "code" + ] + }, + "PoolVirtualMachineState": { + "type": "string", + "description": "The state of the pooled virtual machines.", + "enum": [ + "Running", + "Creating", + "Starting", + "Deleting", + "Deallocated", + "Deallocating", + "Hibernated", + "Hibernating" + ], + "x-ms-enum": { + "name": "PoolVirtualMachineState", + "modelAsString": true, + "values": [ + { + "name": "Running", + "value": "Running", + "description": "The virtual machine is up and running." + }, + { + "name": "Creating", + "value": "Creating", + "description": "The virtual machine is creating." + }, + { + "name": "Starting", + "value": "Starting", + "description": "The virtual machine is starting." + }, + { + "name": "Deleting", + "value": "Deleting", + "description": "The virtual machine is deleting." + }, + { + "name": "Deallocated", + "value": "Deallocated", + "description": "The virtual machine has released the lease on the underlying hardware and is powered off." + }, + { + "name": "Deallocating", + "value": "Deallocating", + "description": "The virtual machine is releasing the lease on the underlying hardware and is powered off." + }, + { + "name": "Hibernated", + "value": "Hibernated", + "description": "The virtual machine has released the lease on the underlying hardware and is powered off. Memory contents of the VM are stored in the OS disk. When started again, applications and processes that were previously running in your VM resume from the state prior to hibernation." + }, + { + "name": "Hibernating", + "value": "Hibernating", + "description": "The virtual machine is hibernating." + } + ] + } + }, + "PoolVirtualMachineStateCount": { + "type": "object", + "description": "Displays the counts of pooled virtual machines in each state, as known by the StandbyPool resource provider.", + "properties": { + "state": { + "$ref": "#/definitions/PoolVirtualMachineState", + "description": "The state that the pooled virtual machines count is for." + }, + "count": { + "type": "integer", + "format": "int64", + "description": "The count of pooled virtual machines in the given state." + } + }, + "required": [ + "state", + "count" + ] + }, + "ProvisioningState": { + "type": "string", + "description": "Provisioning state", + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "Deleting" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Resource has been created." + }, + { + "name": "Failed", + "value": "Failed", + "description": "Resource creation failed." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Resource creation was canceled." + }, + { + "name": "Deleting", + "value": "Deleting", + "description": "Resource is being deleted." + } + ] + }, + "readOnly": true + }, + "RefillPolicy": { + "type": "string", + "description": "Refill policy of standby pool", + "enum": [ + "always" + ], + "x-ms-enum": { + "name": "RefillPolicy", + "modelAsString": true, + "values": [ + { + "name": "always", + "value": "always", + "description": "A refill policy that standby pool is automatically refilled to maintain maxReadyCapacity." + } + ] + } + }, + "StandbyContainerGroupPoolElasticityProfile": { + "type": "object", + "description": "Specifies the elasticity profile of the standby container group pools.", + "properties": { + "maxReadyCapacity": { + "type": "integer", + "format": "int64", + "description": "Specifies maximum number of standby container groups in the standby pool.", + "minimum": 0 + }, + "refillPolicy": { + "$ref": "#/definitions/RefillPolicy", + "description": "Specifies refill policy of the pool." + }, + "dynamicSizing": { + "$ref": "#/definitions/DynamicSizing", + "description": "Specifies the dynamic sizing configuration." + } + }, + "required": [ + "maxReadyCapacity" + ] + }, + "StandbyContainerGroupPoolForecastValues": { + "type": "object", + "description": "Displays the forecast information of the standby pool.", + "properties": { + "instancesRequestedCount": { + "type": "array", + "description": "Displays the predicted count of instances to be requested from the standby pool.", + "items": { + "type": "integer", + "format": "int64" + }, + "readOnly": true + } + }, + "required": [ + "instancesRequestedCount" + ] + }, + "StandbyContainerGroupPoolPrediction": { + "type": "object", + "description": "Displays prediction information of the standby pool.", + "properties": { + "forecastValues": { + "$ref": "#/definitions/StandbyContainerGroupPoolForecastValues", + "description": "Displays the forecast information of the standby pool.", + "readOnly": true + }, + "forecastStartTime": { + "type": "string", + "format": "date-time", + "description": "Displays the UTC timestamp of when the prediction was retrieved for the standby pool.", + "readOnly": true + }, + "forecastInfo": { + "type": "string", + "description": "Displays additional information for the prediction of the standby pool.", + "readOnly": true + } + }, + "required": [ + "forecastValues", + "forecastStartTime", + "forecastInfo" + ] + }, + "StandbyContainerGroupPoolResource": { + "type": "object", + "description": "A StandbyContainerGroupPoolResource.", + "properties": { + "properties": { + "$ref": "#/definitions/StandbyContainerGroupPoolResourceProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "StandbyContainerGroupPoolResourceListResult": { + "type": "object", + "description": "The response of a StandbyContainerGroupPoolResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The StandbyContainerGroupPoolResource items on this page", + "items": { + "$ref": "#/definitions/StandbyContainerGroupPoolResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "StandbyContainerGroupPoolResourceProperties": { + "type": "object", + "description": "Details of the StandbyContainerGroupPool.", + "properties": { + "elasticityProfile": { + "$ref": "#/definitions/StandbyContainerGroupPoolElasticityProfile", + "description": "Specifies elasticity profile of standby container group pools." + }, + "containerGroupProperties": { + "$ref": "#/definitions/ContainerGroupProperties", + "description": "Specifies container group properties of standby container group pools." + }, + "zones": { + "type": "array", + "description": "Specifies zones of standby container group pools.", + "items": { + "type": "string" + } + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The status of the last operation.", + "readOnly": true + } + }, + "required": [ + "elasticityProfile", + "containerGroupProperties" + ] + }, + "StandbyContainerGroupPoolResourceUpdate": { + "type": "object", + "description": "The type used for update operations of the StandbyContainerGroupPoolResource.", + "properties": { + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + }, + "properties": { + "$ref": "#/definitions/StandbyContainerGroupPoolResourceUpdateProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + } + }, + "StandbyContainerGroupPoolResourceUpdateProperties": { + "type": "object", + "description": "The updatable properties of the StandbyContainerGroupPoolResource.", + "properties": { + "elasticityProfile": { + "$ref": "#/definitions/StandbyContainerGroupPoolElasticityProfile", + "description": "Specifies elasticity profile of standby container group pools." + }, + "containerGroupProperties": { + "$ref": "#/definitions/ContainerGroupProperties", + "description": "Specifies container group properties of standby container group pools." + }, + "zones": { + "type": "array", + "description": "Specifies zones of standby container group pools.", + "items": { + "type": "string" + } + } + } + }, + "StandbyContainerGroupPoolRuntimeViewResource": { + "type": "object", + "description": "Contains information about a standby container group pool as last known by the StandbyPool resource provider.", + "properties": { + "properties": { + "$ref": "#/definitions/StandbyContainerGroupPoolRuntimeViewResourceProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "StandbyContainerGroupPoolRuntimeViewResourceListResult": { + "type": "object", + "description": "The response of a StandbyContainerGroupPoolRuntimeViewResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The StandbyContainerGroupPoolRuntimeViewResource items on this page", + "items": { + "$ref": "#/definitions/StandbyContainerGroupPoolRuntimeViewResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "StandbyContainerGroupPoolRuntimeViewResourceProperties": { + "type": "object", + "description": "Contains information about a standby pool as last known by the StandbyPool resource provider.", + "properties": { + "instanceCountSummary": { + "type": "array", + "description": "A list containing the counts of container groups in each possible state, as known by the StandbyPool resource provider.", + "items": { + "$ref": "#/definitions/ContainerGroupInstanceCountSummary" + }, + "readOnly": true, + "x-ms-identifiers": [] + }, + "status": { + "$ref": "#/definitions/PoolStatus", + "description": "Display status of the standby pool", + "readOnly": true + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Displays the provisioning state of the standby pool", + "readOnly": true + }, + "prediction": { + "$ref": "#/definitions/StandbyContainerGroupPoolPrediction", + "description": "Displays prediction information of the standby pool", + "readOnly": true + } + }, + "required": [ + "instanceCountSummary" + ] + }, + "StandbyVirtualMachinePoolElasticityProfile": { + "type": "object", + "description": "Details of the elasticity profile.", + "properties": { + "maxReadyCapacity": { + "type": "integer", + "format": "int64", + "description": "Specifies the maximum number of virtual machines in the standby virtual machine pool.", + "minimum": 0 + }, + "minReadyCapacity": { + "type": "integer", + "format": "int64", + "description": "Specifies the desired minimum number of virtual machines in the standby virtual machine pool. MinReadyCapacity cannot exceed MaxReadyCapacity.", + "minimum": 0 + }, + "postProvisioningDelay": { + "type": "string", + "description": "Specifies the duration to wait after virtual machine provisioning before the virtual machine becomes available for use. The duration should be specified in ISO 8601 format (e.g., PT2S for 2 seconds)." + }, + "dynamicSizing": { + "$ref": "#/definitions/DynamicSizing", + "description": "Specifies the dynamic sizing configuration." + } + }, + "required": [ + "maxReadyCapacity" + ] + }, + "StandbyVirtualMachinePoolForecastValues": { + "type": "object", + "description": "Displays the forecast information of the standby pool.", + "properties": { + "instancesRequestedCount": { + "type": "array", + "description": "Displays the predicted count of instances to be requested from the standby pool.", + "items": { + "type": "integer", + "format": "int64" + }, + "readOnly": true + } + }, + "required": [ + "instancesRequestedCount" + ] + }, + "StandbyVirtualMachinePoolPrediction": { + "type": "object", + "description": "Displays prediction information of the standby pool.", + "properties": { + "forecastValues": { + "$ref": "#/definitions/StandbyVirtualMachinePoolForecastValues", + "description": "Displays the forecast information of the standby pool.", + "readOnly": true + }, + "forecastStartTime": { + "type": "string", + "format": "date-time", + "description": "Displays the UTC timestamp of when the prediction was retrieved for the standby pool.", + "readOnly": true + }, + "forecastInfo": { + "type": "string", + "description": "Displays additional information for the prediction of the standby pool.", + "readOnly": true + } + }, + "required": [ + "forecastValues", + "forecastStartTime", + "forecastInfo" + ] + }, + "StandbyVirtualMachinePoolResource": { + "type": "object", + "description": "A StandbyVirtualMachinePoolResource.", + "properties": { + "properties": { + "$ref": "#/definitions/StandbyVirtualMachinePoolResourceProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "StandbyVirtualMachinePoolResourceListResult": { + "type": "object", + "description": "The response of a StandbyVirtualMachinePoolResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The StandbyVirtualMachinePoolResource items on this page", + "items": { + "$ref": "#/definitions/StandbyVirtualMachinePoolResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "StandbyVirtualMachinePoolResourceProperties": { + "type": "object", + "description": "Details of the StandbyVirtualMachinePool.", + "properties": { + "elasticityProfile": { + "$ref": "#/definitions/StandbyVirtualMachinePoolElasticityProfile", + "description": "Specifies the elasticity profile of the standby virtual machine pools." + }, + "virtualMachineState": { + "$ref": "#/definitions/VirtualMachineState", + "description": "Specifies the desired state of virtual machines in the pool." + }, + "attachedVirtualMachineScaleSetId": { + "type": "string", + "format": "arm-id", + "description": "Specifies the fully qualified resource ID of a virtual machine scale set the pool is attached to.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Compute/virtualMachineScaleSet" + } + ] + } + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The status of the last operation.", + "readOnly": true + } + }, + "required": [ + "virtualMachineState" + ] + }, + "StandbyVirtualMachinePoolResourceUpdate": { + "type": "object", + "description": "The type used for update operations of the StandbyVirtualMachinePoolResource.", + "properties": { + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + }, + "properties": { + "$ref": "#/definitions/StandbyVirtualMachinePoolResourceUpdateProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + } + }, + "StandbyVirtualMachinePoolResourceUpdateProperties": { + "type": "object", + "description": "The updatable properties of the StandbyVirtualMachinePoolResource.", + "properties": { + "elasticityProfile": { + "$ref": "#/definitions/StandbyVirtualMachinePoolElasticityProfile", + "description": "Specifies the elasticity profile of the standby virtual machine pools." + }, + "virtualMachineState": { + "$ref": "#/definitions/VirtualMachineState", + "description": "Specifies the desired state of virtual machines in the pool." + }, + "attachedVirtualMachineScaleSetId": { + "type": "string", + "format": "arm-id", + "description": "Specifies the fully qualified resource ID of a virtual machine scale set the pool is attached to.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Compute/virtualMachineScaleSet" + } + ] + } + } + } + }, + "StandbyVirtualMachinePoolRuntimeViewResource": { + "type": "object", + "description": "Contains information about a standby virtual machine pool as last known by the StandbyPool resource provider.", + "properties": { + "properties": { + "$ref": "#/definitions/StandbyVirtualMachinePoolRuntimeViewResourceProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "StandbyVirtualMachinePoolRuntimeViewResourceListResult": { + "type": "object", + "description": "The response of a StandbyVirtualMachinePoolRuntimeViewResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The StandbyVirtualMachinePoolRuntimeViewResource items on this page", + "items": { + "$ref": "#/definitions/StandbyVirtualMachinePoolRuntimeViewResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "StandbyVirtualMachinePoolRuntimeViewResourceProperties": { + "type": "object", + "description": "Contains information about a standby pool as last known by the StandbyPool resource provider.", + "properties": { + "instanceCountSummary": { + "type": "array", + "description": "A list containing the counts of virtual machines in each possible power state for each zone if enabled, as known by the StandbyPool resource provider. If zones are not enabled on the attached VMSS, the list will contain a single entry without zone values. Note: any resources in the Running state may still be installing extensions / not fully provisioned.", + "items": { + "$ref": "#/definitions/VirtualMachineInstanceCountSummary" + }, + "readOnly": true, + "x-ms-identifiers": [] + }, + "status": { + "$ref": "#/definitions/PoolStatus", + "description": "Display status of the standby pool", + "readOnly": true + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Displays the provisioning state of the standby pool", + "readOnly": true + }, + "prediction": { + "$ref": "#/definitions/StandbyVirtualMachinePoolPrediction", + "description": "Displays prediction information of the standby pool", + "readOnly": true + } + }, + "required": [ + "instanceCountSummary" + ] + }, + "StandbyVirtualMachineResource": { + "type": "object", + "description": "Concrete proxy resource types can be created by aliasing this type using a specific property type.", + "properties": { + "properties": { + "$ref": "#/definitions/StandbyVirtualMachineResourceProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "StandbyVirtualMachineResourceListResult": { + "type": "object", + "description": "The response of a StandbyVirtualMachineResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The StandbyVirtualMachineResource items on this page", + "items": { + "$ref": "#/definitions/StandbyVirtualMachineResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "StandbyVirtualMachineResourceProperties": { + "type": "object", + "description": "Details of the StandbyVirtualMachine.", + "properties": { + "virtualMachineResourceId": { + "type": "string", + "format": "arm-id", + "description": "Resource id of the virtual machine.", + "x-ms-arm-id-details": { + "allowedResources": [] + } + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The status of the last operation.", + "readOnly": true + } + }, + "required": [ + "virtualMachineResourceId" + ] + }, + "Subnet": { + "type": "object", + "description": "Subnet of container group", + "properties": { + "id": { + "type": "string", + "format": "arm-id", + "description": "Specifies ARM resource id of the subnet.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Network/virtualNetworks/subnets" + } + ] + } + } + }, + "required": [ + "id" + ] + }, + "VirtualMachineInstanceCountSummary": { + "type": "object", + "description": "Contains the counts of VMs in each power state in a given zone, fault domain, as known by the StandbyPool resource provider. Note: any resources in the Running state may still be installing extensions / not fully provisioned.", + "properties": { + "zone": { + "type": "integer", + "format": "int64", + "description": "The zone that the provided counts are in. It will not have a value if zones are not enabled on the attached VMSS." + }, + "instanceCountsByState": { + "type": "array", + "description": "The count of pooled virtual machines in each state for the given zone.", + "items": { + "$ref": "#/definitions/PoolVirtualMachineStateCount" + }, + "x-ms-identifiers": [ + "state" + ] + } + }, + "required": [ + "instanceCountsByState" + ] + }, + "VirtualMachineState": { + "type": "string", + "description": "State of standby virtual machines", + "enum": [ + "Running", + "Deallocated", + "Hibernated" + ], + "x-ms-enum": { + "name": "VirtualMachineState", + "modelAsString": true, + "values": [ + { + "name": "Running", + "value": "Running", + "description": "The virtual machine is up and running." + }, + { + "name": "Deallocated", + "value": "Deallocated", + "description": "The virtual machine has released the lease on the underlying hardware and is powered off." + }, + { + "name": "Hibernated", + "value": "Hibernated", + "description": "The virtual machine has released the lease on the underlying hardware and is powered off. Memory contents of the VM are stored in the OS disk. When started again, applications and processes that were previously running in your VM resume from the state prior to hibernation." + } + ] + } + } + }, + "parameters": {} +} diff --git a/specification/standbypool/resource-manager/readme.md b/specification/standbypool/resource-manager/readme.md index 943cf53ac80e..c85bcce05fab 100644 --- a/specification/standbypool/resource-manager/readme.md +++ b/specification/standbypool/resource-manager/readme.md @@ -24,27 +24,37 @@ For other options on installation see [Installing AutoRest](https://aka.ms/autor These are the global settings for the standbypool. -``` yaml +```yaml openapi-type: arm openapi-subtype: rpaas -tag: package-2025-03 +tag: package-2025-10 ``` ### Suppression -``` yaml +```yaml suppressions: - code: OperationIdNounVerb where: $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyVirtualMachinePools/{standbyVirtualMachinePoolName}/standbyVirtualMachines"].get.operationId reason: OperationId "StandbyVirtualMachines_ListByStandbyVirtualMachinePoolResource" does seem to be a Noun_Verb ``` -``` yaml +```yaml modelerfour: flatten-models: false ``` +### Tag: package-2025-10 + +These settings apply only when `--tag=package-2025-10` is specified on the command line. + +```yaml $(tag) == 'package-2025-10' +input-file: + - Microsoft.StandbyPool/stable/2025-10-01/standbypool.json +``` + ### Tag: package-2025-03 + These settings apply only when `--tag=package-2025-03` is specified on the command line. ```yaml $(tag) == 'package-2025-03' @@ -88,7 +98,7 @@ input-file: This section describes what SDK should be generated by the automatic system. This is not used by Autorest itself. -``` yaml $(swagger-to-sdk) +```yaml $(swagger-to-sdk) swagger-to-sdk: - repo: azure-resource-manager-schemas - repo: azure-cli-extensions diff --git a/specification/storage/Microsoft.BlobStorage/routes.tsp b/specification/storage/Microsoft.BlobStorage/routes.tsp index da080db30133..5affc81bf5de 100644 --- a/specification/storage/Microsoft.BlobStorage/routes.tsp +++ b/specification/storage/Microsoft.BlobStorage/routes.tsp @@ -31,8 +31,8 @@ namespace Storage.Blob { contentType: RequestMediaType, ...ApiVersionHeader, - ...TParams, ...ClientRequestIdHeader, + ...TParams, ): (TResponse & { /** Content-Type header */ #suppress "@typespec/http/content-type-ignored" "Template for existing API" @@ -50,7 +50,7 @@ namespace Storage.Blob { TParams extends TypeSpec.Reflection.Model | void, TResponse extends TypeSpec.Reflection.Model | void, TError = StorageError - >(...ApiVersionHeader, ...TParams, ...ClientRequestIdHeader): (TResponse & { + >(...ApiVersionHeader, ...ClientRequestIdHeader, ...TParams): (TResponse & { ...ApiVersionHeader; ...RequestIdResponseHeader; ...ClientRequestIdHeader; diff --git a/specification/storage/data-plane/Microsoft.BlobStorage/stable/2025-11-05/generated_blob.json b/specification/storage/data-plane/Microsoft.BlobStorage/stable/2025-11-05/generated_blob.json index cf6856a6f394..c3d70b76268e 100644 --- a/specification/storage/data-plane/Microsoft.BlobStorage/stable/2025-11-05/generated_blob.json +++ b/specification/storage/data-plane/Microsoft.BlobStorage/stable/2025-11-05/generated_blob.json @@ -981,6 +981,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "containerName", "in": "path", @@ -1326,15 +1335,6 @@ true ], "x-ms-client-name": "requiresSync" - }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" } ], "responses": { @@ -1450,6 +1450,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "containerName", "in": "path", @@ -1590,15 +1599,6 @@ ] }, "x-ms-client-name": "blobDeleteType" - }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" } ], "responses": { @@ -1661,6 +1661,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "containerName", "in": "path", @@ -1789,15 +1798,6 @@ "required": false, "type": "string", "x-ms-client-name": "ifTags" - }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" } ], "responses": { @@ -2260,6 +2260,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "containerName", "in": "path", @@ -2327,15 +2336,6 @@ "required": false, "type": "boolean", "x-ms-client-name": "PreventEncryptionScopeOverride" - }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" } ], "responses": { @@ -2409,6 +2409,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "containerName", "in": "path", @@ -2432,15 +2441,6 @@ "required": false, "type": "string", "x-ms-client-name": "leaseId" - }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" } ], "responses": { @@ -2652,6 +2652,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "containerName", "in": "path", @@ -2693,15 +2702,6 @@ "type": "string", "format": "date-time-rfc7231", "x-ms-client-name": "ifUnmodifiedSince" - }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" } ], "responses": { @@ -2761,6 +2761,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "containerName", "in": "path", @@ -2801,15 +2810,6 @@ "type": "string", "format": "date-time-rfc7231", "x-ms-client-name": "ifModifiedSince" - }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" } ], "responses": { @@ -2883,6 +2883,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "containerName", "in": "path", @@ -2906,15 +2915,6 @@ "required": false, "type": "string", "x-ms-client-name": "leaseId" - }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" } ], "responses": { @@ -3015,6 +3015,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "containerName", "in": "path", @@ -3085,15 +3094,6 @@ "format": "date-time-rfc7231", "x-ms-client-name": "ifUnmodifiedSince" }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" - }, { "name": "containerAcl", "in": "body", @@ -3175,6 +3175,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "containerName", "in": "path", @@ -3206,15 +3215,6 @@ "type": "integer", "format": "int32", "minimum": 0 - }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" } ], "responses": { @@ -3279,6 +3279,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "containerName", "in": "path", @@ -3310,15 +3319,6 @@ "type": "integer", "format": "int32", "minimum": 0 - }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" } ], "responses": { @@ -3492,6 +3492,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "containerName", "in": "path", @@ -3561,15 +3570,6 @@ } }, "collectionFormat": "csv" - }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" } ], "responses": { @@ -3637,6 +3637,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "containerName", "in": "path", @@ -3701,15 +3710,6 @@ "modelAsString": false }, "x-ms-client-name": "action" - }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" } ], "responses": { @@ -3787,6 +3787,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "containerName", "in": "path", @@ -3842,15 +3851,6 @@ "modelAsString": false }, "x-ms-client-name": "action" - }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" } ], "responses": { @@ -3925,10 +3925,19 @@ "x-ms-client-name": "version" }, { - "name": "containerName", - "in": "path", - "description": "The name of the container.", - "required": true, + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, + { + "name": "containerName", + "in": "path", + "description": "The name of the container.", + "required": true, "type": "string" }, { @@ -3979,15 +3988,6 @@ "modelAsString": false }, "x-ms-client-name": "action" - }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" } ], "responses": { @@ -4065,6 +4065,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "containerName", "in": "path", @@ -4121,15 +4130,6 @@ "modelAsString": false }, "x-ms-client-name": "action" - }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" } ], "responses": { @@ -4208,6 +4208,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "containerName", "in": "path", @@ -4271,15 +4280,6 @@ "modelAsString": false }, "x-ms-client-name": "action" - }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" } ], "responses": { @@ -4357,6 +4357,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "containerName", "in": "path", @@ -4474,15 +4483,6 @@ "type": "integer", "format": "int32", "minimum": 0 - }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" } ], "responses": { @@ -4550,6 +4550,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "containerName", "in": "path", @@ -4674,15 +4683,6 @@ "type": "integer", "format": "int32", "minimum": 0 - }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" } ], "responses": { @@ -4750,6 +4750,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "containerName", "in": "path", @@ -4765,15 +4774,6 @@ "type": "integer", "format": "int32", "minimum": 0 - }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" } ], "responses": { @@ -4926,6 +4926,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "containerName", "in": "path", @@ -4951,15 +4960,6 @@ "type": "integer", "format": "int32", "minimum": 0 - }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" } ], "responses": { @@ -5024,6 +5024,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "containerName", "in": "path", @@ -5098,15 +5107,6 @@ "type": "string", "format": "date-time-rfc7231", "x-ms-client-name": "ExpiresOn" - }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" } ], "responses": { @@ -5180,6 +5180,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "containerName", "in": "path", @@ -5304,15 +5313,6 @@ "required": false, "type": "string", "x-ms-client-name": "ifTags" - }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" } ], "responses": { @@ -5391,6 +5391,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "containerName", "in": "path", @@ -5477,15 +5486,6 @@ "required": false, "type": "string", "x-ms-client-name": "versionId" - }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" } ], "responses": { @@ -5585,6 +5585,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "containerName", "in": "path", @@ -5625,15 +5634,6 @@ "required": false, "type": "string", "x-ms-client-name": "versionId" - }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" } ], "responses": { @@ -5698,6 +5698,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "containerName", "in": "path", @@ -5746,15 +5755,6 @@ "required": false, "type": "string", "x-ms-client-name": "versionId" - }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" } ], "responses": { @@ -5823,6 +5823,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "containerName", "in": "path", @@ -5952,15 +5961,6 @@ "required": false, "type": "string", "x-ms-client-name": "ifTags" - }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" } ], "responses": { @@ -6050,6 +6050,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "containerName", "in": "path", @@ -6148,15 +6157,6 @@ "modelAsString": false }, "x-ms-client-name": "action" - }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" } ], "responses": { @@ -6234,6 +6234,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "containerName", "in": "path", @@ -6323,15 +6332,6 @@ "modelAsString": false }, "x-ms-client-name": "action" - }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" } ], "responses": { @@ -6405,6 +6405,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "containerName", "in": "path", @@ -6494,15 +6503,6 @@ "modelAsString": false }, "x-ms-client-name": "action" - }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" } ], "responses": { @@ -6580,6 +6580,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "containerName", "in": "path", @@ -6677,15 +6686,6 @@ "modelAsString": false }, "x-ms-client-name": "action" - }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" } ], "responses": { @@ -6763,6 +6763,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "containerName", "in": "path", @@ -6853,15 +6862,6 @@ "modelAsString": false }, "x-ms-client-name": "action" - }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" } ], "responses": { @@ -6940,6 +6940,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "containerName", "in": "path", @@ -7069,15 +7078,6 @@ "required": false, "type": "string", "x-ms-client-name": "leaseId" - }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" } ], "responses": { @@ -7163,6 +7163,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "containerName", "in": "path", @@ -7542,15 +7551,6 @@ "modelAsString": false }, "x-ms-client-name": "requiresSync" - }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" } ], "responses": { @@ -7656,6 +7656,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "containerName", "in": "path", @@ -7711,15 +7720,6 @@ "modelAsString": false }, "x-ms-client-name": "copyActionAbortConstant" - }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" } ], "responses": { @@ -7784,6 +7784,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "containerName", "in": "path", @@ -7980,15 +7989,6 @@ "required": false, "type": "string", "x-ms-client-name": "ifTags" - }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" } ], "responses": { @@ -8067,6 +8067,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "containerName", "in": "path", @@ -8092,15 +8101,6 @@ "type": "integer", "format": "int32", "minimum": 0 - }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" } ], "responses": { @@ -8253,6 +8253,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "containerName", "in": "path", @@ -8309,15 +8318,6 @@ "required": false, "type": "string", "x-ms-client-name": "ifTags" - }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" } ], "responses": { @@ -8385,6 +8385,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "containerName", "in": "path", @@ -8453,15 +8462,6 @@ "type": "string", "x-ms-client-name": "leaseId" }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" - }, { "name": "tags", "in": "body", @@ -8534,6 +8534,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "x-ms-meta", "in": "header", @@ -8790,15 +8799,6 @@ "modelAsString": false }, "x-ms-client-name": "blobType" - }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" } ], "responses": { @@ -8896,6 +8896,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "containerName", "in": "path", @@ -9111,15 +9120,6 @@ }, "x-ms-client-name": "pageWrite" }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" - }, { "name": "body", "in": "body", @@ -9233,6 +9233,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "containerName", "in": "path", @@ -9414,15 +9423,6 @@ "modelAsString": false }, "x-ms-client-name": "pageWrite" - }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" } ], "responses": { @@ -9511,6 +9511,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "containerName", "in": "path", @@ -9788,15 +9797,6 @@ "modelAsString": false }, "x-ms-client-name": "pageWrite" - }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" } ], "responses": { @@ -9897,6 +9897,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "containerName", "in": "path", @@ -10003,15 +10012,6 @@ "type": "integer", "format": "int32", "minimum": 1 - }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" } ], "responses": { @@ -10093,6 +10093,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "containerName", "in": "path", @@ -10214,15 +10223,6 @@ "type": "integer", "format": "int32", "minimum": 1 - }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" } ], "responses": { @@ -10304,6 +10304,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "containerName", "in": "path", @@ -10434,15 +10443,6 @@ "type": "integer", "format": "int64", "x-ms-client-name": "blobContentLength" - }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" } ], "responses": { @@ -10521,6 +10521,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "containerName", "in": "path", @@ -10640,15 +10649,6 @@ "format": "int64", "default": 0, "x-ms-client-name": "blobSequenceNumber" - }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" } ], "responses": { @@ -10727,6 +10727,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "containerName", "in": "path", @@ -10802,15 +10811,6 @@ "required": true, "type": "string", "x-ms-client-name": "copySource" - }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" } ], "responses": { @@ -10927,6 +10927,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "containerName", "in": "path", @@ -11111,15 +11120,6 @@ "format": "int64", "x-ms-client-name": "structuredContentLength" }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" - }, { "name": "body", "in": "body", @@ -11237,6 +11237,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "containerName", "in": "path", @@ -11492,15 +11501,6 @@ ] }, "x-ms-client-name": "fileRequestIntent" - }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" } ], "responses": { @@ -11605,6 +11605,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "containerName", "in": "path", @@ -11677,19 +11686,10 @@ "name": "x-ms-blob-condition-appendpos", "in": "header", "description": "Optional conditional header, used only for the Append Block operation. A number indicating the byte offset to compare. Append Block will succeed only if the append position is equal to this number. If it is not, the request will fail with the AppendPositionConditionNotMet error (HTTP status code 412 - Precondition Failed).", - "required": false, - "type": "integer", - "format": "int64", - "x-ms-client-name": "appendPosition" - }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" + "required": false, + "type": "integer", + "format": "int64", + "x-ms-client-name": "appendPosition" } ], "responses": { @@ -11770,6 +11770,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "x-ms-meta", "in": "header", @@ -12172,15 +12181,6 @@ }, "x-ms-client-name": "blobType" }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" - }, { "name": "body", "in": "body", @@ -12288,6 +12288,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "x-ms-meta", "in": "header", @@ -12743,15 +12752,6 @@ ] }, "x-ms-client-name": "fileRequestIntent" - }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" } ], "responses": { @@ -12849,6 +12849,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "containerName", "in": "path", @@ -12982,15 +12991,6 @@ "format": "int64", "x-ms-client-name": "structuredContentLength" }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" - }, { "name": "body", "in": "body", @@ -13090,6 +13090,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "containerName", "in": "path", @@ -13285,15 +13294,6 @@ ] }, "x-ms-client-name": "fileRequestIntent" - }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" } ], "responses": { @@ -13380,6 +13380,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "containerName", "in": "path", @@ -13742,15 +13751,6 @@ "type": "boolean", "x-ms-client-name": "legalHold" }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" - }, { "name": "blocks", "in": "body", @@ -13858,6 +13858,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "containerName", "in": "path", @@ -13940,15 +13949,6 @@ "required": false, "type": "string", "x-ms-client-name": "ifTags" - }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" } ], "responses": { @@ -14034,6 +14034,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "containerName", "in": "path", @@ -14155,15 +14164,6 @@ "type": "string", "x-ms-client-name": "ifTags" }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" - }, { "name": "queryRequest", "in": "body", @@ -14885,6 +14885,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "timeout", "in": "query", @@ -14947,15 +14956,6 @@ } }, "collectionFormat": "csv" - }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" } ], "responses": { @@ -15023,6 +15023,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "prefix", "in": "query", @@ -15091,15 +15100,6 @@ } }, "collectionFormat": "csv" - }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" } ], "responses": { @@ -15162,15 +15162,6 @@ "type": "string", "x-ms-client-name": "version" }, - { - "name": "timeout", - "in": "query", - "description": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for Blob Service Operations.", - "required": false, - "type": "integer", - "format": "int32", - "minimum": 0 - }, { "name": "x-ms-client-request-id", "in": "header", @@ -15179,6 +15170,15 @@ "type": "string", "format": "uuid", "x-ms-client-name": "clientRequestId" + }, + { + "name": "timeout", + "in": "query", + "description": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for Blob Service Operations.", + "required": false, + "type": "integer", + "format": "int32", + "minimum": 0 } ], "responses": { @@ -15331,15 +15331,6 @@ "type": "string", "x-ms-client-name": "version" }, - { - "name": "timeout", - "in": "query", - "description": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for Blob Service Operations.", - "required": false, - "type": "integer", - "format": "int32", - "minimum": 0 - }, { "name": "x-ms-client-request-id", "in": "header", @@ -15349,6 +15340,15 @@ "format": "uuid", "x-ms-client-name": "clientRequestId" }, + { + "name": "timeout", + "in": "query", + "description": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for Blob Service Operations.", + "required": false, + "type": "integer", + "format": "int32", + "minimum": 0 + }, { "name": "storageServiceProperties", "in": "body", @@ -15416,15 +15416,6 @@ "type": "string", "x-ms-client-name": "version" }, - { - "name": "timeout", - "in": "query", - "description": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for Blob Service Operations.", - "required": false, - "type": "integer", - "format": "int32", - "minimum": 0 - }, { "name": "x-ms-client-request-id", "in": "header", @@ -15433,6 +15424,15 @@ "type": "string", "format": "uuid", "x-ms-client-name": "clientRequestId" + }, + { + "name": "timeout", + "in": "query", + "description": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for Blob Service Operations.", + "required": false, + "type": "integer", + "format": "int32", + "minimum": 0 } ], "responses": { @@ -15495,15 +15495,6 @@ "type": "string", "x-ms-client-name": "version" }, - { - "name": "timeout", - "in": "query", - "description": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for Blob Service Operations.", - "required": false, - "type": "integer", - "format": "int32", - "minimum": 0 - }, { "name": "x-ms-client-request-id", "in": "header", @@ -15512,6 +15503,15 @@ "type": "string", "format": "uuid", "x-ms-client-name": "clientRequestId" + }, + { + "name": "timeout", + "in": "query", + "description": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for Blob Service Operations.", + "required": false, + "type": "integer", + "format": "int32", + "minimum": 0 } ], "responses": { @@ -15579,15 +15579,6 @@ "type": "string", "x-ms-client-name": "version" }, - { - "name": "timeout", - "in": "query", - "description": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for Blob Service Operations.", - "required": false, - "type": "integer", - "format": "int32", - "minimum": 0 - }, { "name": "x-ms-client-request-id", "in": "header", @@ -15597,6 +15588,15 @@ "format": "uuid", "x-ms-client-name": "clientRequestId" }, + { + "name": "timeout", + "in": "query", + "description": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for Blob Service Operations.", + "required": false, + "type": "integer", + "format": "int32", + "minimum": 0 + }, { "name": "keyInfo", "in": "body", diff --git a/specification/storage/data-plane/Microsoft.BlobStorage/stable/2026-02-06/generated_blob.json b/specification/storage/data-plane/Microsoft.BlobStorage/stable/2026-02-06/generated_blob.json index ae15cd1eae27..af15cfa4d4f1 100644 --- a/specification/storage/data-plane/Microsoft.BlobStorage/stable/2026-02-06/generated_blob.json +++ b/specification/storage/data-plane/Microsoft.BlobStorage/stable/2026-02-06/generated_blob.json @@ -981,6 +981,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "containerName", "in": "path", @@ -1326,15 +1335,6 @@ true ], "x-ms-client-name": "requiresSync" - }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" } ], "responses": { @@ -1450,6 +1450,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "containerName", "in": "path", @@ -1590,15 +1599,6 @@ ] }, "x-ms-client-name": "blobDeleteType" - }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" } ], "responses": { @@ -1661,6 +1661,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "containerName", "in": "path", @@ -1789,15 +1798,6 @@ "required": false, "type": "string", "x-ms-client-name": "ifTags" - }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" } ], "responses": { @@ -2260,6 +2260,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "containerName", "in": "path", @@ -2327,15 +2336,6 @@ "required": false, "type": "boolean", "x-ms-client-name": "PreventEncryptionScopeOverride" - }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" } ], "responses": { @@ -2409,6 +2409,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "containerName", "in": "path", @@ -2432,15 +2441,6 @@ "required": false, "type": "string", "x-ms-client-name": "leaseId" - }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" } ], "responses": { @@ -2652,6 +2652,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "containerName", "in": "path", @@ -2693,15 +2702,6 @@ "type": "string", "format": "date-time-rfc7231", "x-ms-client-name": "ifUnmodifiedSince" - }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" } ], "responses": { @@ -2761,6 +2761,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "containerName", "in": "path", @@ -2801,15 +2810,6 @@ "type": "string", "format": "date-time-rfc7231", "x-ms-client-name": "ifModifiedSince" - }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" } ], "responses": { @@ -2883,6 +2883,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "containerName", "in": "path", @@ -2906,15 +2915,6 @@ "required": false, "type": "string", "x-ms-client-name": "leaseId" - }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" } ], "responses": { @@ -3015,6 +3015,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "containerName", "in": "path", @@ -3085,15 +3094,6 @@ "format": "date-time-rfc7231", "x-ms-client-name": "ifUnmodifiedSince" }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" - }, { "name": "containerAcl", "in": "body", @@ -3175,6 +3175,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "containerName", "in": "path", @@ -3206,15 +3215,6 @@ "type": "integer", "format": "int32", "minimum": 0 - }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" } ], "responses": { @@ -3279,6 +3279,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "containerName", "in": "path", @@ -3310,15 +3319,6 @@ "type": "integer", "format": "int32", "minimum": 0 - }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" } ], "responses": { @@ -3492,6 +3492,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "containerName", "in": "path", @@ -3561,15 +3570,6 @@ } }, "collectionFormat": "csv" - }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" } ], "responses": { @@ -3637,6 +3637,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "containerName", "in": "path", @@ -3701,15 +3710,6 @@ "modelAsString": false }, "x-ms-client-name": "action" - }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" } ], "responses": { @@ -3787,6 +3787,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "containerName", "in": "path", @@ -3842,15 +3851,6 @@ "modelAsString": false }, "x-ms-client-name": "action" - }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" } ], "responses": { @@ -3925,10 +3925,19 @@ "x-ms-client-name": "version" }, { - "name": "containerName", - "in": "path", - "description": "The name of the container.", - "required": true, + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, + { + "name": "containerName", + "in": "path", + "description": "The name of the container.", + "required": true, "type": "string" }, { @@ -3979,15 +3988,6 @@ "modelAsString": false }, "x-ms-client-name": "action" - }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" } ], "responses": { @@ -4065,6 +4065,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "containerName", "in": "path", @@ -4121,15 +4130,6 @@ "modelAsString": false }, "x-ms-client-name": "action" - }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" } ], "responses": { @@ -4208,6 +4208,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "containerName", "in": "path", @@ -4271,15 +4280,6 @@ "modelAsString": false }, "x-ms-client-name": "action" - }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" } ], "responses": { @@ -4357,6 +4357,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "containerName", "in": "path", @@ -4481,15 +4490,6 @@ "description": "Specifies the relative path to list paths from. For non-recursive list, only one entity level is supported; For recursive list, multiple entity levels are supported. (Inclusive)", "required": false, "type": "string" - }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" } ], "responses": { @@ -4557,6 +4557,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "containerName", "in": "path", @@ -4688,15 +4697,6 @@ "description": "Specifies the relative path to list paths from. For non-recursive list, only one entity level is supported; For recursive list, multiple entity levels are supported. (Inclusive)", "required": false, "type": "string" - }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" } ], "responses": { @@ -4764,6 +4764,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "containerName", "in": "path", @@ -4779,15 +4788,6 @@ "type": "integer", "format": "int32", "minimum": 0 - }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" } ], "responses": { @@ -4940,6 +4940,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "containerName", "in": "path", @@ -4965,15 +4974,6 @@ "type": "integer", "format": "int32", "minimum": 0 - }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" } ], "responses": { @@ -5038,6 +5038,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "containerName", "in": "path", @@ -5112,15 +5121,6 @@ "type": "string", "format": "date-time-rfc7231", "x-ms-client-name": "ExpiresOn" - }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" } ], "responses": { @@ -5194,6 +5194,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "containerName", "in": "path", @@ -5318,15 +5327,6 @@ "required": false, "type": "string", "x-ms-client-name": "ifTags" - }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" } ], "responses": { @@ -5405,6 +5405,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "containerName", "in": "path", @@ -5491,15 +5500,6 @@ "required": false, "type": "string", "x-ms-client-name": "versionId" - }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" } ], "responses": { @@ -5599,6 +5599,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "containerName", "in": "path", @@ -5639,15 +5648,6 @@ "required": false, "type": "string", "x-ms-client-name": "versionId" - }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" } ], "responses": { @@ -5712,6 +5712,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "containerName", "in": "path", @@ -5760,15 +5769,6 @@ "required": false, "type": "string", "x-ms-client-name": "versionId" - }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" } ], "responses": { @@ -5837,6 +5837,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "containerName", "in": "path", @@ -5966,15 +5975,6 @@ "required": false, "type": "string", "x-ms-client-name": "ifTags" - }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" } ], "responses": { @@ -6064,6 +6064,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "containerName", "in": "path", @@ -6162,15 +6171,6 @@ "modelAsString": false }, "x-ms-client-name": "action" - }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" } ], "responses": { @@ -6248,6 +6248,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "containerName", "in": "path", @@ -6337,15 +6346,6 @@ "modelAsString": false }, "x-ms-client-name": "action" - }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" } ], "responses": { @@ -6419,6 +6419,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "containerName", "in": "path", @@ -6508,15 +6517,6 @@ "modelAsString": false }, "x-ms-client-name": "action" - }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" } ], "responses": { @@ -6594,6 +6594,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "containerName", "in": "path", @@ -6691,15 +6700,6 @@ "modelAsString": false }, "x-ms-client-name": "action" - }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" } ], "responses": { @@ -6777,6 +6777,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "containerName", "in": "path", @@ -6867,15 +6876,6 @@ "modelAsString": false }, "x-ms-client-name": "action" - }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" } ], "responses": { @@ -6954,6 +6954,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "containerName", "in": "path", @@ -7083,15 +7092,6 @@ "required": false, "type": "string", "x-ms-client-name": "leaseId" - }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" } ], "responses": { @@ -7177,6 +7177,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "containerName", "in": "path", @@ -7556,15 +7565,6 @@ "modelAsString": false }, "x-ms-client-name": "requiresSync" - }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" } ], "responses": { @@ -7670,6 +7670,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "containerName", "in": "path", @@ -7725,15 +7734,6 @@ "modelAsString": false }, "x-ms-client-name": "copyActionAbortConstant" - }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" } ], "responses": { @@ -7798,6 +7798,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "containerName", "in": "path", @@ -7994,15 +8003,6 @@ "required": false, "type": "string", "x-ms-client-name": "ifTags" - }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" } ], "responses": { @@ -8081,6 +8081,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "containerName", "in": "path", @@ -8106,15 +8115,6 @@ "type": "integer", "format": "int32", "minimum": 0 - }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" } ], "responses": { @@ -8267,6 +8267,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "containerName", "in": "path", @@ -8357,15 +8366,6 @@ "required": false, "type": "string", "x-ms-client-name": "ifNoneMatch" - }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" } ], "responses": { @@ -8433,6 +8433,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "containerName", "in": "path", @@ -8535,15 +8544,6 @@ "type": "string", "x-ms-client-name": "ifNoneMatch" }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" - }, { "name": "tags", "in": "body", @@ -8616,6 +8616,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "x-ms-meta", "in": "header", @@ -8872,15 +8881,6 @@ "modelAsString": false }, "x-ms-client-name": "blobType" - }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" } ], "responses": { @@ -8978,6 +8978,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "containerName", "in": "path", @@ -9193,15 +9202,6 @@ }, "x-ms-client-name": "pageWrite" }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" - }, { "name": "body", "in": "body", @@ -9315,6 +9315,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "containerName", "in": "path", @@ -9496,15 +9505,6 @@ "modelAsString": false }, "x-ms-client-name": "pageWrite" - }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" } ], "responses": { @@ -9593,6 +9593,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "containerName", "in": "path", @@ -9870,15 +9879,6 @@ "modelAsString": false }, "x-ms-client-name": "pageWrite" - }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" } ], "responses": { @@ -9979,6 +9979,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "containerName", "in": "path", @@ -10085,15 +10094,6 @@ "type": "integer", "format": "int32", "minimum": 1 - }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" } ], "responses": { @@ -10175,6 +10175,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "containerName", "in": "path", @@ -10296,15 +10305,6 @@ "type": "integer", "format": "int32", "minimum": 1 - }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" } ], "responses": { @@ -10386,6 +10386,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "containerName", "in": "path", @@ -10516,15 +10525,6 @@ "type": "integer", "format": "int64", "x-ms-client-name": "blobContentLength" - }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" } ], "responses": { @@ -10603,6 +10603,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "containerName", "in": "path", @@ -10722,15 +10731,6 @@ "format": "int64", "default": 0, "x-ms-client-name": "blobSequenceNumber" - }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" } ], "responses": { @@ -10809,6 +10809,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "containerName", "in": "path", @@ -10884,15 +10893,6 @@ "required": true, "type": "string", "x-ms-client-name": "copySource" - }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" } ], "responses": { @@ -11009,6 +11009,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "containerName", "in": "path", @@ -11193,15 +11202,6 @@ "format": "int64", "x-ms-client-name": "structuredContentLength" }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" - }, { "name": "body", "in": "body", @@ -11319,6 +11319,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "containerName", "in": "path", @@ -11574,15 +11583,6 @@ ] }, "x-ms-client-name": "fileRequestIntent" - }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" } ], "responses": { @@ -11687,6 +11687,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "containerName", "in": "path", @@ -11759,19 +11768,10 @@ "name": "x-ms-blob-condition-appendpos", "in": "header", "description": "Optional conditional header, used only for the Append Block operation. A number indicating the byte offset to compare. Append Block will succeed only if the append position is equal to this number. If it is not, the request will fail with the AppendPositionConditionNotMet error (HTTP status code 412 - Precondition Failed).", - "required": false, - "type": "integer", - "format": "int64", - "x-ms-client-name": "appendPosition" - }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" + "required": false, + "type": "integer", + "format": "int64", + "x-ms-client-name": "appendPosition" } ], "responses": { @@ -11852,6 +11852,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "x-ms-meta", "in": "header", @@ -12254,15 +12263,6 @@ }, "x-ms-client-name": "blobType" }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" - }, { "name": "body", "in": "body", @@ -12370,6 +12370,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "x-ms-meta", "in": "header", @@ -12825,15 +12834,6 @@ ] }, "x-ms-client-name": "fileRequestIntent" - }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" } ], "responses": { @@ -12931,6 +12931,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "containerName", "in": "path", @@ -13064,15 +13073,6 @@ "format": "int64", "x-ms-client-name": "structuredContentLength" }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" - }, { "name": "body", "in": "body", @@ -13172,6 +13172,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "containerName", "in": "path", @@ -13367,15 +13376,6 @@ ] }, "x-ms-client-name": "fileRequestIntent" - }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" } ], "responses": { @@ -13462,6 +13462,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "containerName", "in": "path", @@ -13824,15 +13833,6 @@ "type": "boolean", "x-ms-client-name": "legalHold" }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" - }, { "name": "blocks", "in": "body", @@ -13940,6 +13940,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "containerName", "in": "path", @@ -14022,15 +14031,6 @@ "required": false, "type": "string", "x-ms-client-name": "ifTags" - }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" } ], "responses": { @@ -14116,6 +14116,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "containerName", "in": "path", @@ -14237,15 +14246,6 @@ "type": "string", "x-ms-client-name": "ifTags" }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" - }, { "name": "queryRequest", "in": "body", @@ -14967,6 +14967,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "timeout", "in": "query", @@ -15029,15 +15038,6 @@ } }, "collectionFormat": "csv" - }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" } ], "responses": { @@ -15105,6 +15105,15 @@ "type": "string", "x-ms-client-name": "version" }, + { + "name": "x-ms-client-request-id", + "in": "header", + "description": "An opaque, globally-unique, client-generated string identifier for the request.", + "required": false, + "type": "string", + "format": "uuid", + "x-ms-client-name": "clientRequestId" + }, { "name": "prefix", "in": "query", @@ -15173,15 +15182,6 @@ } }, "collectionFormat": "csv" - }, - { - "name": "x-ms-client-request-id", - "in": "header", - "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "required": false, - "type": "string", - "format": "uuid", - "x-ms-client-name": "clientRequestId" } ], "responses": { @@ -15244,15 +15244,6 @@ "type": "string", "x-ms-client-name": "version" }, - { - "name": "timeout", - "in": "query", - "description": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for Blob Service Operations.", - "required": false, - "type": "integer", - "format": "int32", - "minimum": 0 - }, { "name": "x-ms-client-request-id", "in": "header", @@ -15261,6 +15252,15 @@ "type": "string", "format": "uuid", "x-ms-client-name": "clientRequestId" + }, + { + "name": "timeout", + "in": "query", + "description": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for Blob Service Operations.", + "required": false, + "type": "integer", + "format": "int32", + "minimum": 0 } ], "responses": { @@ -15413,15 +15413,6 @@ "type": "string", "x-ms-client-name": "version" }, - { - "name": "timeout", - "in": "query", - "description": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for Blob Service Operations.", - "required": false, - "type": "integer", - "format": "int32", - "minimum": 0 - }, { "name": "x-ms-client-request-id", "in": "header", @@ -15431,6 +15422,15 @@ "format": "uuid", "x-ms-client-name": "clientRequestId" }, + { + "name": "timeout", + "in": "query", + "description": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for Blob Service Operations.", + "required": false, + "type": "integer", + "format": "int32", + "minimum": 0 + }, { "name": "storageServiceProperties", "in": "body", @@ -15498,15 +15498,6 @@ "type": "string", "x-ms-client-name": "version" }, - { - "name": "timeout", - "in": "query", - "description": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for Blob Service Operations.", - "required": false, - "type": "integer", - "format": "int32", - "minimum": 0 - }, { "name": "x-ms-client-request-id", "in": "header", @@ -15515,6 +15506,15 @@ "type": "string", "format": "uuid", "x-ms-client-name": "clientRequestId" + }, + { + "name": "timeout", + "in": "query", + "description": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for Blob Service Operations.", + "required": false, + "type": "integer", + "format": "int32", + "minimum": 0 } ], "responses": { @@ -15577,15 +15577,6 @@ "type": "string", "x-ms-client-name": "version" }, - { - "name": "timeout", - "in": "query", - "description": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for Blob Service Operations.", - "required": false, - "type": "integer", - "format": "int32", - "minimum": 0 - }, { "name": "x-ms-client-request-id", "in": "header", @@ -15594,6 +15585,15 @@ "type": "string", "format": "uuid", "x-ms-client-name": "clientRequestId" + }, + { + "name": "timeout", + "in": "query", + "description": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for Blob Service Operations.", + "required": false, + "type": "integer", + "format": "int32", + "minimum": 0 } ], "responses": { @@ -15661,15 +15661,6 @@ "type": "string", "x-ms-client-name": "version" }, - { - "name": "timeout", - "in": "query", - "description": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for Blob Service Operations.", - "required": false, - "type": "integer", - "format": "int32", - "minimum": 0 - }, { "name": "x-ms-client-request-id", "in": "header", @@ -15679,6 +15670,15 @@ "format": "uuid", "x-ms-client-name": "clientRequestId" }, + { + "name": "timeout", + "in": "query", + "description": "The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for Blob Service Operations.", + "required": false, + "type": "integer", + "format": "int32", + "minimum": 0 + }, { "name": "keyInfo", "in": "body", diff --git a/specification/synapse/data-plane/Microsoft.Synapse/stable/2020-12-01/entityTypes/LinkedService.json b/specification/synapse/data-plane/Microsoft.Synapse/stable/2020-12-01/entityTypes/LinkedService.json index 75542268146a..2d5ec4154ab2 100644 --- a/specification/synapse/data-plane/Microsoft.Synapse/stable/2020-12-01/entityTypes/LinkedService.json +++ b/specification/synapse/data-plane/Microsoft.Synapse/stable/2020-12-01/entityTypes/LinkedService.json @@ -6615,6 +6615,34 @@ "description": "An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference.", "type": "object" }, + "server": { + "type": "object", + "description": "Server name for connection. Type: string." + }, + "port": { + "type": "object", + "description": "The port for the connection. Type: integer." + }, + "uid": { + "type": "object", + "description": "Username for authentication. Type: string." + }, + "database": { + "type": "object", + "description": "Database name for connection. Type: string." + }, + "securityLevel": { + "description": "Specifies the security level for the driver connection to the data store. PreferredUnSecured : prefer unsecured, allow fallback to secured connection if required. OnlyUnSecured : strictly unsecured, no fallback.", + "type": "string", + "enum": [ + "PreferredUnSecured", + "OnlyUnSecured" + ], + "x-ms-enum": { + "name": "NetezzaSecurityLevelType", + "modelAsString": true + } + }, "pwd": { "$ref": "../artifacts.json#/definitions/AzureKeyVaultSecretReference", "description": "The Azure key vault secret reference of password in connection string." diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/Endpoint.tsp b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/Endpoint.tsp new file mode 100644 index 000000000000..e49034564a2d --- /dev/null +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/Endpoint.tsp @@ -0,0 +1,88 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./Profile.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; + +namespace Microsoft.Network; +/** + * Class representing a Traffic Manager endpoint. + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-no-key" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@parentResource(Profile) +model Endpoint extends ProxyResource { + properties?: EndpointProperties; +} + +alias EndpointsOps = Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter; + ...SubscriptionIdParameter; + ...ResourceGroupParameter; + ...Azure.ResourceManager.Legacy.Provider; + ...ParentKeysOf; + + /** + * The name of the Traffic Manager profile. + */ + @path + @segment("trafficmanagerprofiles") + profileName: string; + }, + { + /** + * The type of the Traffic Manager endpoint. + */ + @path + endpointType: EndpointType; + + /** + * The name of the Traffic Manager endpoint. + */ + @path + endpointName: string; + }, + ErrorType = CloudError +>; + +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +interface Endpoints { + /** + * Gets a Traffic Manager endpoint. + */ + get is EndpointsOps.Read; + + /** + * Create or update a Traffic Manager endpoint. + */ + createOrUpdate is EndpointsOps.CreateOrUpdateSync; + + /** + * Update a Traffic Manager endpoint. + */ + @patch(#{ implicitOptionality: false }) + update is EndpointsOps.CustomPatchSync; + + /** + * Deletes a Traffic Manager endpoint. + */ + delete is EndpointsOps.DeleteSync< + Endpoint, + Response = ArmResponse | ArmDeletedNoContentResponse + >; +} + +@@doc(Endpoint.properties, "The properties of the Traffic Manager endpoint."); +@@doc(Endpoints.createOrUpdate::parameters.resource, + "The Traffic Manager endpoint parameters supplied to the CreateOrUpdate operation." +); +@@doc(Endpoints.update::parameters.properties, + "The Traffic Manager endpoint parameters supplied to the Update operation." +); diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/HeatMapModel.tsp b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/HeatMapModel.tsp new file mode 100644 index 000000000000..7037ba33d8a1 --- /dev/null +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/HeatMapModel.tsp @@ -0,0 +1,81 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./Profile.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Network; +/** + * Class representing a Traffic Manager HeatMap. + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-no-key" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@parentResource(Profile) +model HeatMapModel extends ProxyResource { + properties?: HeatMapProperties; +} + +alias HeatMapModelsOps = Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter; + ...SubscriptionIdParameter; + ...ResourceGroupParameter; + ...Azure.ResourceManager.Legacy.Provider; + ...ParentKeysOf; + + /** + * The name of the Traffic Manager profile. + */ + @path + @segment("trafficmanagerprofiles") + profileName: string; + }, + { + /** + * The type of the heatmap. + */ + @path + @segment("heatMaps") + @key("heatMapType") + heatMapType: HeatMapType; + }, + ErrorType = CloudError +>; + +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +interface HeatMapModels { + /** + * Gets latest heatmap for Traffic Manager profile. + */ + get is HeatMapModelsOps.Read< + HeatMapModel, + Parameters = { + /** + * The top left latitude,longitude pair of the rectangular viewport to query for. + */ + @query("topLeft") + @minItems(2) + @maxItems(2) + topLeft?: float64[]; + + /** + * The bottom right latitude,longitude pair of the rectangular viewport to query for. + */ + @query("botRight") + @minItems(2) + @maxItems(2) + botRight?: float64[]; + } + >; +} + +@@doc(HeatMapModel.properties, + "The properties of the Traffic Manager HeatMap." +); diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/Profile.tsp b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/Profile.tsp new file mode 100644 index 000000000000..f5cf979edfac --- /dev/null +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/Profile.tsp @@ -0,0 +1,101 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Network; +/** + * Class representing a Traffic Manager profile. + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-no-key" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model Profile extends TrackedResource { + properties?: ProfileProperties; +} + +alias ProfileOps = Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter; + ...SubscriptionIdParameter; + ...ResourceGroupParameter; + ...Azure.ResourceManager.Legacy.Provider; + }, + { + /** + * The name of the Traffic Manager profile. + */ + @path + @segment("trafficmanagerprofiles") + profileName: string; + }, + ErrorType = CloudError +>; + +@armResourceOperations +interface Profiles { + /** + * Gets a Traffic Manager profile. + */ + get is ProfileOps.Read; + + /** + * Create or update a Traffic Manager profile. + */ + createOrUpdate is ProfileOps.CreateOrUpdateSync; + + /** + * Update a Traffic Manager profile. + */ + @patch(#{ implicitOptionality: false }) + update is ProfileOps.CustomPatchSync; + + /** + * Deletes a Traffic Manager profile. + */ + delete is ProfileOps.DeleteSync< + Profile, + Response = ArmResponse | ArmDeletedNoContentResponse + >; + + /** + * Lists all Traffic Manager profiles within a subscription. + */ + @action("trafficmanagerprofiles") + listBySubscription is ArmResourceListByParent< + Profile, + BaseParameters = { + ...ApiVersionParameter; + ...SubscriptionIdParameter; + }, + Error = CloudError + >; + + /** + * Lists all Traffic Manager profiles within a resource group. + */ + @action("trafficmanagerprofiles") + listByResourceGroup is ArmResourceListByParent< + Profile, + BaseParameters = { + ...ApiVersionParameter; + ...SubscriptionIdParameter; + ...ResourceGroupParameter; + }, + Error = CloudError + >; +} + +@@doc(Profile.properties, "The properties of the Traffic Manager profile."); +@@doc(Profiles.createOrUpdate::parameters.resource, + "The Traffic Manager profile parameters supplied to the CreateOrUpdate operation." +); +@@doc(Profiles.update::parameters.properties, + "The Traffic Manager profile parameters supplied to the Update operation." +); diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/TrafficManagerGeographicHierarchy.tsp b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/TrafficManagerGeographicHierarchy.tsp new file mode 100644 index 000000000000..55d4a03594f5 --- /dev/null +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/TrafficManagerGeographicHierarchy.tsp @@ -0,0 +1,51 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Network; +/** + * Class representing the Geographic hierarchy used with the Geographic traffic routing method. + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-no-key" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@tenantResource +model TrafficManagerGeographicHierarchy extends ProxyResource { + properties?: GeographicHierarchyProperties; +} + +alias TrafficManagerGeographicHierarchyOps = Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter; + ...Azure.ResourceManager.Legacy.Provider; + }, + { + /** + * The name of the Geographic Hierarchy resource. Must be 'default'. + */ + @path + @segment("trafficManagerGeographicHierarchies") + @key("trafficManagerGeographicHierarchy") + trafficManagerGeographicHierarchy: "default"; + }, + ErrorType = CloudError +>; + +@armResourceOperations +interface TrafficManagerGeographicHierarchies { + /** + * Gets the default Geographic Hierarchy used by the Geographic traffic routing method. + */ + getDefault is TrafficManagerGeographicHierarchyOps.Read; +} + +@@doc(TrafficManagerGeographicHierarchy.properties, + "The properties of the Geographic Hierarchy resource." +); diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/UserMetricsModel.tsp b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/UserMetricsModel.tsp new file mode 100644 index 000000000000..2652d0dba743 --- /dev/null +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/UserMetricsModel.tsp @@ -0,0 +1,71 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Network; +/** + * Class representing Traffic Manager User Metrics. + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-no-key" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@subscriptionResource +model UserMetricsModel extends ProxyResource { + properties?: UserMetricsProperties; +} + +alias UserMetricsModelOps = Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter; + ...SubscriptionIdParameter; + ...Azure.ResourceManager.Legacy.Provider; + }, + { + /** + * The user metrics keys. The default value is "default". + */ + @path + @segment("trafficManagerUserMetricsKeys") + @key("trafficManagerUserMetricsKey") + trafficManagerUserMetricsKey: "default"; + }, + ErrorType = CloudError +>; + +@armResourceOperations +interface UserMetricsModels { + /** + * Get the subscription-level key used for Real User Metrics collection. + */ + get is UserMetricsModelOps.Read; + + /** + * Create or update a subscription-level key used for Real User Metrics collection. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + createOrUpdate is UserMetricsModelOps.CreateOrUpdateSync< + Resource = UserMetricsModel, + Response = ArmResourceCreatedSyncResponse, + Request = void + >; + + /** + * Delete a subscription-level key used for Real User Metrics collection. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + delete is UserMetricsModelOps.DeleteSync< + UserMetricsModel, + Response = ArmResponse + >; +} + +@@doc(UserMetricsModel.properties, + "The properties of the Traffic Manager User Metrics." +); diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/back-compatible.tsp b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/back-compatible.tsp new file mode 100644 index 000000000000..ae41d058f525 --- /dev/null +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/back-compatible.tsp @@ -0,0 +1,58 @@ +import "@azure-tools/typespec-client-generator-core"; + +using Azure.ClientGenerator.Core; +using Microsoft.Network; + +@@clientName(DeleteOperationResult.boolean, "operationResult"); + +@@clientName(Endpoints.createOrUpdate::parameters.resource, "parameters"); +@@clientName(Endpoints.update::parameters.properties, "parameters"); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@Azure.ClientGenerator.Core.Legacy.flattenProperty(Endpoint.properties); + +@@clientName(Profiles.createOrUpdate::parameters.resource, "parameters"); +@@clientName(Profiles.update::parameters.properties, "parameters"); + +@@clientName(ProfilesOperationGroup.checkTrafficManagerRelativeDnsNameAvailability::parameters.body, + "parameters" +); +@@clientName(ProfilesOperationGroup.checkTrafficManagerNameAvailabilityV2::parameters.body, + "parameters" +); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@Azure.ClientGenerator.Core.Legacy.flattenProperty(Profile.properties); + +@@clientLocation(TrafficManagerGeographicHierarchies.getDefault, + "GeographicHierarchies" +); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@Azure.ClientGenerator.Core.Legacy.flattenProperty(TrafficManagerGeographicHierarchy.properties +); + +@@clientLocation(HeatMapModels.get, "HeatMap"); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@Azure.ClientGenerator.Core.Legacy.flattenProperty(HeatMapModel.properties); + +@@clientLocation(UserMetricsModels.get, "TrafficManagerUserMetricsKeys"); + +@@clientLocation(UserMetricsModels.createOrUpdate, + "TrafficManagerUserMetricsKeys" +); + +@@clientLocation(UserMetricsModels.delete, "TrafficManagerUserMetricsKeys"); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@Azure.ClientGenerator.Core.Legacy.flattenProperty(UserMetricsModel.properties +); + +@@clientLocation(ProfilesOperationGroup.checkTrafficManagerRelativeDnsNameAvailability, + Profiles +); +@@clientName(ProfilesOperationGroup.checkTrafficManagerRelativeDnsNameAvailability, + "CheckTrafficManagerRelativeDnsNameAvailability" +); +@@clientLocation(ProfilesOperationGroup.checkTrafficManagerNameAvailabilityV2, + Profiles +); +@@clientLocation(HeatMapModels.get, "HeatMap"); diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/client.tsp b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/client.tsp new file mode 100644 index 000000000000..3fbcaccb2957 --- /dev/null +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/client.tsp @@ -0,0 +1,59 @@ +import "@azure-tools/typespec-client-generator-core"; +import "@typespec/http"; +import "./main.tsp"; +using Azure.ClientGenerator.Core; +using Microsoft.Network; +using TypeSpec.Http; +using Azure.ResourceManager; +using TypeSpec.Rest; + +/** + * override for HeatMapModels.get + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op getReplace( + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + ...ParentKeysOf, + + /** + * The name of the Traffic Manager profile. + */ + @path + @segment("trafficmanagerprofiles") + profileName: string, + + /** + * The type of the heatmap. + */ + @path + @segment("heatMaps") + @key("heatMapType") + heatMapType: HeatMapType, + + /** + * The top left latitude,longitude pair of the rectangular viewport to query for. + */ + @query("topLeft") + @minItems(2) + @maxItems(2) + topLeft?: float64[], + + /** + * The bottom right latitude,longitude pair of the rectangular viewport to query for. + */ + @query("botRight") + @minItems(2) + @maxItems(2) + botRight?: float64[], +): Azure.ResourceManager.ArmResponse | Microsoft.Network.CloudError; + +@@override(HeatMapModels.get, getReplace, "go"); +@@alternateType(getReplace::parameters.heatMapType, "default", "go"); +@@clientName(Microsoft.Network, + "TrafficManagerManagementClient", + "javascript, python" +); diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/Endpoint-DELETE-External.json b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/Endpoint-DELETE-External.json new file mode 100644 index 000000000000..2235713cc153 --- /dev/null +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/Endpoint-DELETE-External.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "api-version": "2022-04-01", + "endpointName": "azsmnet7187", + "endpointType": "ExternalEndpoints", + "profileName": "azsmnet6386", + "resourceGroupName": "azuresdkfornetautoresttrafficmanager1421", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": {} + }, + "204": {} + }, + "operationId": "Endpoints_Delete", + "title": "Endpoint-DELETE-External" +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/Endpoint-GET-External-WithGeoMapping.json b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/Endpoint-GET-External-WithGeoMapping.json new file mode 100644 index 000000000000..0dd6703da0cd --- /dev/null +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/Endpoint-GET-External-WithGeoMapping.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "api-version": "2022-04-01", + "endpointName": "My%20external%20endpoint", + "endpointType": "ExternalEndpoints", + "profileName": "azuresdkfornetautoresttrafficmanager8224", + "resourceGroupName": "azuresdkfornetautoresttrafficmanager2191", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "name": "My external endpoint", + "type": "Microsoft.Network/trafficManagerProfiles/externalEndpoints", + "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager2191/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager8224/externalEndpoints/My external endpoint", + "properties": { + "endpointMonitorStatus": "CheckingEndpoint", + "endpointStatus": "Enabled", + "geoMapping": [ + "GEO-AS", + "GEO-AF" + ], + "priority": 1, + "target": "foobar.contoso.com", + "weight": 1 + } + } + } + }, + "operationId": "Endpoints_Get", + "title": "Endpoint-GET-External-WithGeoMapping" +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/Endpoint-GET-External-WithLocation.json b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/Endpoint-GET-External-WithLocation.json new file mode 100644 index 000000000000..87b5e68857c2 --- /dev/null +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/Endpoint-GET-External-WithLocation.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "api-version": "2022-04-01", + "endpointName": "azsmnet7187", + "endpointType": "ExternalEndpoints", + "profileName": "azsmnet6386", + "resourceGroupName": "azuresdkfornetautoresttrafficmanager1421", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "name": "azsmnet7187", + "type": "Microsoft.Network/trafficManagerProfiles/externalEndpoints", + "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1421/providers/Microsoft.Network/trafficManagerProfiles/azsmnet6386/externalEndpoints/azsmnet7187", + "properties": { + "endpointLocation": "North Europe", + "endpointMonitorStatus": "CheckingEndpoint", + "endpointStatus": "Enabled", + "priority": 1, + "target": "foobar.contoso.com", + "weight": 1 + } + } + } + }, + "operationId": "Endpoints_Get", + "title": "Endpoint-GET-External-WithLocation" +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/Endpoint-GET-External-WithSubnetMapping.json b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/Endpoint-GET-External-WithSubnetMapping.json new file mode 100644 index 000000000000..d628815b517d --- /dev/null +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/Endpoint-GET-External-WithSubnetMapping.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "api-version": "2022-04-01", + "endpointName": "My%20external%20endpoint", + "endpointType": "ExternalEndpoints", + "profileName": "azuresdkfornetautoresttrafficmanager8224", + "resourceGroupName": "azuresdkfornetautoresttrafficmanager2191", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "name": "My external endpoint", + "type": "Microsoft.Network/trafficManagerProfiles/externalEndpoints", + "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager2191/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager8224/externalEndpoints/My external endpoint", + "properties": { + "endpointMonitorStatus": "CheckingEndpoint", + "endpointStatus": "Enabled", + "priority": 1, + "subnets": [ + { + "first": "1.2.3.0", + "scope": 24 + }, + { + "first": "25.26.27.28", + "last": "29.30.31.32" + } + ], + "target": "foobar.contoso.com", + "weight": 1 + } + } + } + }, + "operationId": "Endpoints_Get", + "title": "Endpoint-GET-External-WithSubnetMapping" +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/Endpoint-PATCH-External-Target.json b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/Endpoint-PATCH-External-Target.json new file mode 100644 index 000000000000..640438399245 --- /dev/null +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/Endpoint-PATCH-External-Target.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "api-version": "2022-04-01", + "endpointName": "azsmnet7187", + "endpointType": "ExternalEndpoints", + "parameters": { + "name": "azsmnet7187", + "type": "Microsoft.Network/trafficManagerProfiles/externalEndpoints", + "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1421/providers/Microsoft.Network/trafficManagerProfiles/azsmnet6386/externalEndpoints/azsmnet7187", + "properties": { + "target": "another.foobar.contoso.com" + } + }, + "profileName": "azsmnet6386", + "resourceGroupName": "azuresdkfornetautoresttrafficmanager1421", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "name": "azsmnet7187", + "type": "Microsoft.Network/trafficManagerProfiles/externalEndpoints", + "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1421/providers/Microsoft.Network/trafficManagerProfiles/azsmnet6386/externalEndpoints/azsmnet7187", + "properties": { + "endpointLocation": "North Europe", + "endpointMonitorStatus": "CheckingEndpoint", + "endpointStatus": "Enabled", + "priority": 1, + "target": "another.foobar.contoso.com", + "weight": 1 + } + } + } + }, + "operationId": "Endpoints_Update", + "title": "Endpoint-PATCH-External-Target" +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/Endpoint-PUT-External-WithAlwaysServe.json b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/Endpoint-PUT-External-WithAlwaysServe.json new file mode 100644 index 000000000000..224d54df389e --- /dev/null +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/Endpoint-PUT-External-WithAlwaysServe.json @@ -0,0 +1,56 @@ +{ + "parameters": { + "api-version": "2022-04-01", + "endpointName": "azsmnet7187", + "endpointType": "ExternalEndpoints", + "parameters": { + "name": "azsmnet7187", + "type": "Microsoft.network/TrafficManagerProfiles/ExternalEndpoints", + "properties": { + "alwaysServe": "Enabled", + "endpointLocation": "North Europe", + "endpointStatus": "Enabled", + "target": "foobar.contoso.com" + } + }, + "profileName": "azsmnet6386", + "resourceGroupName": "azuresdkfornetautoresttrafficmanager1421", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "name": "azsmnet7187", + "type": "Microsoft.Network/trafficManagerProfiles/externalEndpoints", + "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1421/providers/Microsoft.Network/trafficManagerProfiles/azsmnet6386/externalEndpoints/azsmnet7187", + "properties": { + "alwaysServe": "Enabled", + "endpointLocation": "North Europe", + "endpointMonitorStatus": "CheckingEndpoint", + "endpointStatus": "Enabled", + "priority": 1, + "target": "foobar.contoso.com", + "weight": 1 + } + } + }, + "201": { + "body": { + "name": "azsmnet7187", + "type": "Microsoft.Network/trafficManagerProfiles/externalEndpoints", + "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1421/providers/Microsoft.Network/trafficManagerProfiles/azsmnet6386/externalEndpoints/azsmnet7187", + "properties": { + "alwaysServe": "Enabled", + "endpointLocation": "North Europe", + "endpointMonitorStatus": "CheckingEndpoint", + "endpointStatus": "Enabled", + "priority": 1, + "target": "foobar.contoso.com", + "weight": 1 + } + } + } + }, + "operationId": "Endpoints_CreateOrUpdate", + "title": "Endpoint-PUT-External-WithAlwaysServe" +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/Endpoint-PUT-External-WithCustomHeaders.json b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/Endpoint-PUT-External-WithCustomHeaders.json new file mode 100644 index 000000000000..6fb10ff482e6 --- /dev/null +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/Endpoint-PUT-External-WithCustomHeaders.json @@ -0,0 +1,83 @@ +{ + "parameters": { + "api-version": "2022-04-01", + "endpointName": "azsmnet7187", + "endpointType": "ExternalEndpoints", + "parameters": { + "name": "azsmnet7187", + "type": "Microsoft.network/TrafficManagerProfiles/ExternalEndpoints", + "properties": { + "customHeaders": [ + { + "name": "header-1", + "value": "value-1" + }, + { + "name": "header-2", + "value": "value-2" + } + ], + "endpointLocation": "North Europe", + "endpointStatus": "Enabled", + "target": "foobar.contoso.com" + } + }, + "profileName": "azsmnet6386", + "resourceGroupName": "azuresdkfornetautoresttrafficmanager1421", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "name": "azsmnet7187", + "type": "Microsoft.Network/trafficManagerProfiles/externalEndpoints", + "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1421/providers/Microsoft.Network/trafficManagerProfiles/azsmnet6386/externalEndpoints/azsmnet7187", + "properties": { + "customHeaders": [ + { + "name": "header-1", + "value": "value-1" + }, + { + "name": "header-2", + "value": "value-2" + } + ], + "endpointLocation": "North Europe", + "endpointMonitorStatus": "CheckingEndpoint", + "endpointStatus": "Enabled", + "priority": 1, + "target": "foobar.contoso.com", + "weight": 1 + } + } + }, + "201": { + "body": { + "name": "azsmnet7187", + "type": "Microsoft.Network/trafficManagerProfiles/externalEndpoints", + "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1421/providers/Microsoft.Network/trafficManagerProfiles/azsmnet6386/externalEndpoints/azsmnet7187", + "properties": { + "customHeaders": [ + { + "name": "header-1", + "value": "value-1" + }, + { + "name": "header-2", + "value": "value-2" + } + ], + "endpointLocation": "North Europe", + "endpointMonitorStatus": "CheckingEndpoint", + "endpointStatus": "Enabled", + "priority": 1, + "target": "foobar.contoso.com", + "weight": 1 + } + } + } + }, + "operationId": "Endpoints_CreateOrUpdate", + "title": "Endpoint-PUT-External-WithCustomHeaders" +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/Endpoint-PUT-External-WithGeoMapping.json b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/Endpoint-PUT-External-WithGeoMapping.json new file mode 100644 index 000000000000..30d753558011 --- /dev/null +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/Endpoint-PUT-External-WithGeoMapping.json @@ -0,0 +1,62 @@ +{ + "parameters": { + "api-version": "2022-04-01", + "endpointName": "My%20external%20endpoint", + "endpointType": "ExternalEndpoints", + "parameters": { + "name": "My external endpoint", + "type": "Microsoft.network/TrafficManagerProfiles/ExternalEndpoints", + "properties": { + "endpointStatus": "Enabled", + "geoMapping": [ + "GEO-AS", + "GEO-AF" + ], + "target": "foobar.contoso.com" + } + }, + "profileName": "azuresdkfornetautoresttrafficmanager8224", + "resourceGroupName": "azuresdkfornetautoresttrafficmanager2191", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "name": "My external endpoint", + "type": "Microsoft.Network/trafficManagerProfiles/externalEndpoints", + "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager2191/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager8224/externalEndpoints/My external endpoint", + "properties": { + "endpointMonitorStatus": "CheckingEndpoint", + "endpointStatus": "Enabled", + "geoMapping": [ + "GEO-AS", + "GEO-AF" + ], + "priority": 1, + "target": "foobar.contoso.com", + "weight": 1 + } + } + }, + "201": { + "body": { + "name": "My external endpoint", + "type": "Microsoft.Network/trafficManagerProfiles/externalEndpoints", + "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager2191/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager8224/externalEndpoints/My external endpoint", + "properties": { + "endpointMonitorStatus": "CheckingEndpoint", + "endpointStatus": "Enabled", + "geoMapping": [ + "GEO-AS", + "GEO-AF" + ], + "priority": 1, + "target": "foobar.contoso.com", + "weight": 1 + } + } + } + }, + "operationId": "Endpoints_CreateOrUpdate", + "title": "Endpoint-PUT-External-WithGeoMapping" +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/Endpoint-PUT-External-WithLocation.json b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/Endpoint-PUT-External-WithLocation.json new file mode 100644 index 000000000000..b1526ff04fe8 --- /dev/null +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/Endpoint-PUT-External-WithLocation.json @@ -0,0 +1,53 @@ +{ + "parameters": { + "api-version": "2022-04-01", + "endpointName": "azsmnet7187", + "endpointType": "ExternalEndpoints", + "parameters": { + "name": "azsmnet7187", + "type": "Microsoft.network/TrafficManagerProfiles/ExternalEndpoints", + "properties": { + "endpointLocation": "North Europe", + "endpointStatus": "Enabled", + "target": "foobar.contoso.com" + } + }, + "profileName": "azsmnet6386", + "resourceGroupName": "azuresdkfornetautoresttrafficmanager1421", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "name": "azsmnet7187", + "type": "Microsoft.Network/trafficManagerProfiles/externalEndpoints", + "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1421/providers/Microsoft.Network/trafficManagerProfiles/azsmnet6386/externalEndpoints/azsmnet7187", + "properties": { + "endpointLocation": "North Europe", + "endpointMonitorStatus": "CheckingEndpoint", + "endpointStatus": "Enabled", + "priority": 1, + "target": "foobar.contoso.com", + "weight": 1 + } + } + }, + "201": { + "body": { + "name": "azsmnet7187", + "type": "Microsoft.Network/trafficManagerProfiles/externalEndpoints", + "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1421/providers/Microsoft.Network/trafficManagerProfiles/azsmnet6386/externalEndpoints/azsmnet7187", + "properties": { + "endpointLocation": "North Europe", + "endpointMonitorStatus": "CheckingEndpoint", + "endpointStatus": "Enabled", + "priority": 1, + "target": "foobar.contoso.com", + "weight": 1 + } + } + } + }, + "operationId": "Endpoints_CreateOrUpdate", + "title": "Endpoint-PUT-External-WithLocation" +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/Endpoint-PUT-External-WithSubnetMapping.json b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/Endpoint-PUT-External-WithSubnetMapping.json new file mode 100644 index 000000000000..3f2a26b380c2 --- /dev/null +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/Endpoint-PUT-External-WithSubnetMapping.json @@ -0,0 +1,80 @@ +{ + "parameters": { + "api-version": "2022-04-01", + "endpointName": "My%20external%20endpoint", + "endpointType": "ExternalEndpoints", + "parameters": { + "name": "My external endpoint", + "type": "Microsoft.network/TrafficManagerProfiles/ExternalEndpoints", + "properties": { + "endpointStatus": "Enabled", + "subnets": [ + { + "first": "1.2.3.0", + "scope": 24 + }, + { + "first": "25.26.27.28", + "last": "29.30.31.32" + } + ], + "target": "foobar.contoso.com" + } + }, + "profileName": "azuresdkfornetautoresttrafficmanager8224", + "resourceGroupName": "azuresdkfornetautoresttrafficmanager2191", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "name": "My external endpoint", + "type": "Microsoft.Network/trafficManagerProfiles/externalEndpoints", + "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager2191/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager8224/externalEndpoints/My external endpoint", + "properties": { + "endpointMonitorStatus": "CheckingEndpoint", + "endpointStatus": "Enabled", + "priority": 1, + "subnets": [ + { + "first": "1.2.3.0", + "scope": 24 + }, + { + "first": "25.26.27.28", + "last": "29.30.31.32" + } + ], + "target": "foobar.contoso.com", + "weight": 1 + } + } + }, + "201": { + "body": { + "name": "My external endpoint", + "type": "Microsoft.Network/trafficManagerProfiles/externalEndpoints", + "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager2191/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager8224/externalEndpoints/My external endpoint", + "properties": { + "endpointMonitorStatus": "CheckingEndpoint", + "endpointStatus": "Enabled", + "priority": 1, + "subnets": [ + { + "first": "1.2.3.0", + "scope": 24 + }, + { + "first": "25.26.27.28", + "last": "29.30.31.32" + } + ], + "target": "foobar.contoso.com", + "weight": 1 + } + } + } + }, + "operationId": "Endpoints_CreateOrUpdate", + "title": "Endpoint-PUT-External-WithSubnetMapping" +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/GeographicHierarchy-GET-default.json b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/GeographicHierarchy-GET-default.json new file mode 100644 index 000000000000..6f84198abd76 --- /dev/null +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/GeographicHierarchy-GET-default.json @@ -0,0 +1,62 @@ +{ + "parameters": { + "api-version": "2022-04-01" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Network/trafficManagerGeographicHierarchies", + "id": "/providers/Microsoft.Network/trafficManagerGeographicHierarchies/default", + "properties": { + "geographicHierarchy": { + "name": "World", + "code": "WORLD", + "regions": [ + { + "name": "Middle East", + "code": "GEO-ME", + "regions": [ + { + "name": "United Arab Emirates", + "code": "AE", + "regions": [] + } + ] + }, + { + "name": "Australia / Pacific", + "code": "GEO-AP", + "regions": [ + { + "name": "Australia", + "code": "AU", + "regions": [ + { + "name": "Australian Capital Territory", + "code": "AU-ACT", + "regions": [] + }, + { + "name": "New South Wales", + "code": "AU-NSW", + "regions": [] + } + ] + }, + { + "name": "Cook Islands", + "code": "CK", + "regions": [] + } + ] + } + ] + } + } + } + } + }, + "operationId": "GeographicHierarchies_GetDefault", + "title": "GeographicHierarchy-GET-default" +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/HeatMap-GET-With-Null-Values.json b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/HeatMap-GET-With-Null-Values.json new file mode 100644 index 000000000000..f104fd9a57a6 --- /dev/null +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/HeatMap-GET-With-Null-Values.json @@ -0,0 +1,69 @@ +{ + "parameters": { + "api-version": "2022-04-01", + "heatMapType": "default", + "profileName": "azuresdkfornetautoresttrafficmanager3880", + "resourceGroupName": "azuresdkfornetautoresttrafficmanager1323", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Network/trafficManagerProfiles/heatMaps/default", + "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1323/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager3880/heatMaps/default", + "properties": { + "endTime": "2017-08-22T12:50:00Z", + "endpoints": [ + { + "endpointId": 0, + "resourceId": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1323/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager3880/externalEndpoints/azuresdkfornetautoresttrafficmanager3880" + }, + { + "endpointId": 1, + "resourceId": "/subscriptions/562d4115-c01e-4m67-9bbd-c11c2d58ad73/resourceGroups/azuresdkfornetautoresttrafficmanager1300/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager3885/externalEndpoints/azuresdkfornetautoresttrafficmanager3881" + } + ], + "startTime": "2017-08-15T12:00:00Z", + "trafficFlows": [ + { + "latitude": 99.99, + "longitude": 0, + "queryExperiences": [ + { + "endpointId": 0, + "latency": 99, + "queryCount": 1000000 + }, + { + "endpointId": 1, + "latency": 1, + "queryCount": 1 + } + ], + "sourceIp": "1.1.1.1" + }, + { + "latitude": 1.11, + "longitude": -2.35, + "queryExperiences": [ + { + "endpointId": 0, + "queryCount": 100 + }, + { + "endpointId": 1, + "latency": 4.222, + "queryCount": 500 + } + ], + "sourceIp": "2.255.1.1" + } + ] + } + } + } + }, + "operationId": "HeatMap_Get", + "title": "HeatMap-GET-With-Null-Values" +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/HeatMap-GET-With-TopLeft-BotRight.json b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/HeatMap-GET-With-TopLeft-BotRight.json new file mode 100644 index 000000000000..0b4a3dcd394f --- /dev/null +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/HeatMap-GET-With-TopLeft-BotRight.json @@ -0,0 +1,78 @@ +{ + "parameters": { + "api-version": "2022-04-01", + "botRight": [ + -50.001, + 80 + ], + "heatMapType": "default", + "profileName": "azuresdkfornetautoresttrafficmanager3880", + "resourceGroupName": "azuresdkfornetautoresttrafficmanager1323", + "subscriptionId": "{subscription-id}", + "topLeft": [ + 10, + 50.001 + ] + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Network/trafficManagerProfiles/heatMaps/latencyVolumeByLocation", + "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1323/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager3880/heatMaps/latencyVolumeByLocation", + "properties": { + "endTime": "2017-08-22T12:50:00Z", + "endpoints": [ + { + "endpointId": 1, + "resourceId": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1323/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager3880/externalEndpoints/azuresdkfornetautoresttrafficmanager3880" + }, + { + "endpointId": 2, + "resourceId": "/subscriptions/562d4115-c01e-4m67-9bbd-c11c2d58ad73/resourceGroups/azuresdkfornetautoresttrafficmanager1300/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager3885/externalEndpoints/azuresdkfornetautoresttrafficmanager3881" + } + ], + "startTime": "2017-08-15T12:00:00Z", + "trafficFlows": [ + { + "latitude": 9.99, + "longitude": 75.01, + "queryExperiences": [ + { + "endpointId": 1, + "latency": 99.222, + "queryCount": 1000000 + }, + { + "endpointId": 2, + "latency": 1.222, + "queryCount": 1 + } + ], + "sourceIp": "1.1.1.1" + }, + { + "latitude": -49.99, + "longitude": 51, + "queryExperiences": [ + { + "endpointId": 1, + "latency": 96.222, + "queryCount": 100 + }, + { + "endpointId": 2, + "latency": 4.222, + "queryCount": 500 + } + ], + "sourceIp": "2.255.1.1" + } + ] + } + } + } + }, + "operationId": "HeatMap_Get", + "title": "HeatMap-GET-With-TopLeft-BotRight" +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/HeatMap-GET.json b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/HeatMap-GET.json new file mode 100644 index 000000000000..02fd2c11004a --- /dev/null +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/HeatMap-GET.json @@ -0,0 +1,70 @@ +{ + "parameters": { + "api-version": "2022-04-01", + "heatMapType": "default", + "profileName": "azuresdkfornetautoresttrafficmanager3880", + "resourceGroupName": "azuresdkfornetautoresttrafficmanager1323", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Network/trafficManagerProfiles/heatMaps/latencyVolumeByLocation", + "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1323/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager3880/heatMaps/latencyVolumeByLocation", + "properties": { + "endTime": "2017-08-22T12:50:00Z", + "endpoints": [ + { + "endpointId": 1, + "resourceId": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1323/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager3880/externalEndpoints/azuresdkfornetautoresttrafficmanager3880" + }, + { + "endpointId": 2, + "resourceId": "/subscriptions/562d4115-c01e-4m67-9bbd-c11c2d58ad73/resourceGroups/azuresdkfornetautoresttrafficmanager1300/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager3885/externalEndpoints/azuresdkfornetautoresttrafficmanager3881" + } + ], + "startTime": "2017-08-15T12:00:00Z", + "trafficFlows": [ + { + "latitude": 99.99, + "longitude": 0, + "queryExperiences": [ + { + "endpointId": 1, + "latency": 99.222, + "queryCount": 1000000 + }, + { + "endpointId": 2, + "latency": 1.222, + "queryCount": 1 + } + ], + "sourceIp": "1.1.1.1" + }, + { + "latitude": -99.99, + "longitude": 1, + "queryExperiences": [ + { + "endpointId": 1, + "latency": 96.222, + "queryCount": 100 + }, + { + "endpointId": 2, + "latency": 4.222, + "queryCount": 500 + } + ], + "sourceIp": "2.255.1.1" + } + ] + } + } + } + }, + "operationId": "HeatMap_Get", + "title": "HeatMap-GET" +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/NameAvailabilityTest_NameAvailable-POST-example-21.json b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/NameAvailabilityTest_NameAvailable-POST-example-21.json new file mode 100644 index 000000000000..3c01610f79cb --- /dev/null +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/NameAvailabilityTest_NameAvailable-POST-example-21.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2022-04-01", + "parameters": { + "name": "azsmnet5403", + "type": "microsoft.network/trafficmanagerprofiles" + } + }, + "responses": { + "200": { + "body": { + "name": "azsmnet5403", + "type": "Microsoft.Network/trafficManagerProfiles", + "nameAvailable": true + } + } + }, + "operationId": "Profiles_CheckTrafficManagerRelativeDnsNameAvailability", + "title": "NameAvailabilityTest_NameAvailablePOST21" +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/NameAvailabilityTest_NameNotAvailable-POST-example-23.json b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/NameAvailabilityTest_NameNotAvailable-POST-example-23.json new file mode 100644 index 000000000000..19c22771d260 --- /dev/null +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/NameAvailabilityTest_NameNotAvailable-POST-example-23.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "api-version": "2022-04-01", + "parameters": { + "name": "azsmnet4696", + "type": "microsoft.network/trafficmanagerprofiles" + } + }, + "responses": { + "200": { + "body": { + "name": "azsmnet4696", + "type": "Microsoft.Network/trafficManagerProfiles", + "message": "Domain name azsmnet4696.tmpreview.watmtest.azure-test.net already exists. Please choose a different DNS prefix.", + "nameAvailable": false, + "reason": "AlreadyExists" + } + } + }, + "operationId": "Profiles_CheckTrafficManagerRelativeDnsNameAvailability", + "title": "NameAvailabilityTest_NameNotAvailablePOST23" +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/NameAvailabilityV2Test_NameAvailable-POST-example-21.json b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/NameAvailabilityV2Test_NameAvailable-POST-example-21.json new file mode 100644 index 000000000000..85ccef549d93 --- /dev/null +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/NameAvailabilityV2Test_NameAvailable-POST-example-21.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2022-04-01", + "parameters": { + "name": "azsmnet5403", + "type": "microsoft.network/trafficmanagerprofiles" + }, + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "name": "azsmnet5403", + "type": "Microsoft.Network/trafficManagerProfiles", + "nameAvailable": true + } + } + }, + "operationId": "Profiles_checkTrafficManagerNameAvailabilityV2", + "title": "NameAvailabilityV2Test_NameAvailablePOST21" +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/NameAvailabilityV2Test_NameNotAvailable-POST-example-23.json b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/NameAvailabilityV2Test_NameNotAvailable-POST-example-23.json new file mode 100644 index 000000000000..9305307684bf --- /dev/null +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/NameAvailabilityV2Test_NameNotAvailable-POST-example-23.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "api-version": "2022-04-01", + "parameters": { + "name": "azsmnet4696", + "type": "microsoft.network/trafficmanagerprofiles" + }, + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "name": "azsmnet4696", + "type": "Microsoft.Network/trafficManagerProfiles", + "message": "Domain name azsmnet4696.tmpreview.watmtest.azure-test.net already exists. Please choose a different DNS prefix.", + "nameAvailable": false, + "reason": "AlreadyExists" + } + } + }, + "operationId": "Profiles_checkTrafficManagerNameAvailabilityV2", + "title": "NameAvailabilityV2Test_NameNotAvailablePOST23" +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/Profile-DELETE.json b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/Profile-DELETE.json new file mode 100644 index 000000000000..86ae0c3b1652 --- /dev/null +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/Profile-DELETE.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "api-version": "2022-04-01", + "profileName": "azuresdkfornetautoresttrafficmanager3880", + "resourceGroupName": "azuresdkfornetautoresttrafficmanager1323", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": {} + }, + "204": {} + }, + "operationId": "Profiles_Delete", + "title": "Profile-DELETE" +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/Profile-GET-ByResourceGroup.json b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/Profile-GET-ByResourceGroup.json new file mode 100644 index 000000000000..01650a3aa72c --- /dev/null +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/Profile-GET-ByResourceGroup.json @@ -0,0 +1,97 @@ +{ + "parameters": { + "api-version": "2022-04-01", + "resourceGroupName": "azuresdkfornetautoresttrafficmanager3640", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "azuresdkfornetautoresttrafficmanager1005", + "type": "Microsoft.Network/trafficManagerProfiles", + "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager3640/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager1005", + "location": "global", + "properties": { + "dnsConfig": { + "fqdn": "azuresdkfornetautoresttrafficmanager1005.tmpreview.watmtest.azure-test.net", + "relativeName": "azuresdkfornetautoresttrafficmanager1005", + "ttl": 35 + }, + "endpoints": [ + { + "name": "My external endpoint", + "type": "Microsoft.Network/trafficManagerProfiles/externalEndpoints", + "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager3640/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager1005/externalEndpoints/My external endpoint", + "properties": { + "endpointLocation": "North Europe", + "endpointMonitorStatus": "CheckingEndpoint", + "endpointStatus": "Enabled", + "priority": 1, + "target": "foobar.contoso.com", + "weight": 1 + } + } + ], + "monitorConfig": { + "path": "/testpath.aspx", + "intervalInSeconds": 30, + "port": 80, + "profileMonitorStatus": "Online", + "timeoutInSeconds": 10, + "toleratedNumberOfFailures": 3, + "protocol": "HTTP" + }, + "profileStatus": "Enabled", + "trafficRoutingMethod": "Performance" + }, + "tags": {} + }, + { + "name": "azuresdkfornetautoresttrafficmanager959", + "type": "Microsoft.Network/trafficManagerProfiles", + "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager3640/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager959", + "location": "global", + "properties": { + "dnsConfig": { + "fqdn": "azuresdkfornetautoresttrafficmanager959.tmpreview.watmtest.azure-test.net", + "relativeName": "azuresdkfornetautoresttrafficmanager959", + "ttl": 35 + }, + "endpoints": [ + { + "name": "My external endpoint", + "type": "Microsoft.Network/trafficManagerProfiles/externalEndpoints", + "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager3640/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager959/externalEndpoints/My external endpoint", + "properties": { + "endpointLocation": "North Europe", + "endpointMonitorStatus": "Online", + "endpointStatus": "Enabled", + "priority": 1, + "target": "foobar.contoso.com", + "weight": 1 + } + } + ], + "monitorConfig": { + "path": "/testpath.aspx", + "intervalInSeconds": 30, + "port": 80, + "profileMonitorStatus": "Online", + "timeoutInSeconds": 10, + "toleratedNumberOfFailures": 3, + "protocol": "HTTP" + }, + "profileStatus": "Enabled", + "trafficRoutingMethod": "Performance" + }, + "tags": {} + } + ] + } + } + }, + "operationId": "Profiles_ListByResourceGroup", + "title": "ListProfilesByResourceGroup" +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/Profile-GET-BySubscription.json b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/Profile-GET-BySubscription.json new file mode 100644 index 000000000000..8523a500d6df --- /dev/null +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/Profile-GET-BySubscription.json @@ -0,0 +1,124 @@ +{ + "parameters": { + "api-version": "2022-04-01", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "azsmnet5183", + "type": "Microsoft.Network/trafficManagerProfiles", + "id": "/subscriptions/{subscription-id}/resourceGroups/azsmnet1719/providers/Microsoft.Network/trafficManagerProfiles/azsmnet5183", + "location": "global", + "properties": { + "dnsConfig": { + "fqdn": "azsmnet4696.tmpreview.watmtest.azure-test.net", + "relativeName": "azsmnet4696", + "ttl": 35 + }, + "endpoints": [], + "monitorConfig": { + "path": "/testpath.aspx", + "intervalInSeconds": 30, + "port": 80, + "profileMonitorStatus": "Online", + "timeoutInSeconds": 10, + "toleratedNumberOfFailures": 3, + "protocol": "HTTP" + }, + "profileStatus": "Enabled", + "trafficRoutingMethod": "Performance" + }, + "tags": {} + }, + { + "name": "azuresdkfornetautoresttrafficmanager3440", + "type": "Microsoft.Network/trafficManagerProfiles", + "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager5168/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager3440", + "location": "global", + "properties": { + "dnsConfig": { + "fqdn": "azuresdkfornetautoresttrafficmanager3440.tmpreview.watmtest.azure-test.net", + "relativeName": "azuresdkfornetautoresttrafficmanager3440", + "ttl": 35 + }, + "endpoints": [ + { + "name": "My external endpoint", + "type": "Microsoft.Network/trafficManagerProfiles/externalEndpoints", + "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager5168/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager3440/externalEndpoints/My external endpoint", + "properties": { + "endpointLocation": "North Europe", + "endpointMonitorStatus": "Online", + "endpointStatus": "Enabled", + "priority": 1, + "target": "foobar.contoso.com", + "weight": 1 + } + } + ], + "monitorConfig": { + "path": "/testpath.aspx", + "intervalInSeconds": 30, + "port": 80, + "profileMonitorStatus": "Online", + "timeoutInSeconds": 10, + "toleratedNumberOfFailures": 3, + "protocol": "HTTP" + }, + "profileStatus": "Enabled", + "trafficRoutingMethod": "Performance" + }, + "tags": {} + }, + { + "name": "onesdk8819", + "type": "Microsoft.Network/trafficManagerProfiles", + "id": "/subscriptions/{subscription-id}/resourceGroups/onesdk9785/providers/Microsoft.Network/trafficManagerProfiles/onesdk8819", + "location": "global", + "properties": { + "dnsConfig": { + "fqdn": "onesdk7242.tmpreview.watmtest.azure-test.net", + "relativeName": "onesdk7242", + "ttl": 51 + }, + "endpoints": [ + { + "name": "MyNestedEndpoint", + "type": "Microsoft.Network/trafficManagerProfiles/nestedEndpoints", + "id": "/subscriptions/{subscription-id}/resourceGroups/onesdk9785/providers/Microsoft.Network/trafficManagerProfiles/onesdk8819/nestedEndpoints/MyNestedEndpoint", + "properties": { + "endpointLocation": "West Europe", + "endpointMonitorStatus": "Stopped", + "endpointStatus": "Enabled", + "minChildEndpoints": 1, + "priority": 1, + "target": "onesdk4285.tmpreview.watmtest.azure-test.net", + "targetResourceId": "/subscriptions/{subscription-id}/resourceGroups/onesdk9785/providers/Microsoft.Network/trafficManagerProfiles/onesdk1792", + "weight": 1 + } + } + ], + "monitorConfig": { + "path": "/testparent.asp", + "intervalInSeconds": 30, + "port": 111, + "profileMonitorStatus": "Online", + "timeoutInSeconds": 10, + "toleratedNumberOfFailures": 3, + "protocol": "HTTPS" + }, + "profileStatus": "Enabled", + "trafficRoutingMethod": "Performance" + }, + "tags": {} + } + ] + } + } + }, + "operationId": "Profiles_ListBySubscription", + "title": "ListBySubscription" +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/Profile-GET-WithEndpoints.json b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/Profile-GET-WithEndpoints.json new file mode 100644 index 000000000000..ce1d6147b8c3 --- /dev/null +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/Profile-GET-WithEndpoints.json @@ -0,0 +1,54 @@ +{ + "parameters": { + "api-version": "2022-04-01", + "profileName": "azuresdkfornetautoresttrafficmanager3880", + "resourceGroupName": "azuresdkfornetautoresttrafficmanager1323", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "name": "azuresdkfornetautoresttrafficmanager3880", + "type": "Microsoft.Network/trafficManagerProfiles", + "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1323/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager3880", + "location": "global", + "properties": { + "dnsConfig": { + "fqdn": "azuresdkfornetautoresttrafficmanager3880.tmpreview.watmtest.azure-test.net", + "relativeName": "azuresdkfornetautoresttrafficmanager3880", + "ttl": 35 + }, + "endpoints": [ + { + "name": "My external endpoint", + "type": "Microsoft.Network/trafficManagerProfiles/externalEndpoints", + "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1323/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager3880/externalEndpoints/My external endpoint", + "properties": { + "endpointLocation": "North Europe", + "endpointMonitorStatus": "CheckingEndpoint", + "endpointStatus": "Enabled", + "priority": 1, + "target": "foobar.contoso.com", + "weight": 1 + } + } + ], + "monitorConfig": { + "path": "/testpath.aspx", + "intervalInSeconds": 30, + "port": 80, + "profileMonitorStatus": "CheckingEndpoints", + "timeoutInSeconds": 10, + "toleratedNumberOfFailures": 3, + "protocol": "HTTP" + }, + "profileStatus": "Enabled", + "trafficRoutingMethod": "Performance" + }, + "tags": {} + } + } + }, + "operationId": "Profiles_Get", + "title": "Profile-GET-WithEndpoints" +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/Profile-GET-WithTrafficViewDisabled.json b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/Profile-GET-WithTrafficViewDisabled.json new file mode 100644 index 000000000000..d5e6eb064616 --- /dev/null +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/Profile-GET-WithTrafficViewDisabled.json @@ -0,0 +1,55 @@ +{ + "parameters": { + "api-version": "2022-04-01", + "profileName": "azuresdkfornetautoresttrafficmanager3880", + "resourceGroupName": "azuresdkfornetautoresttrafficmanager1323", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "name": "azuresdkfornetautoresttrafficmanager3880", + "type": "Microsoft.Network/trafficManagerProfiles", + "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1323/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager3880", + "location": "global", + "properties": { + "dnsConfig": { + "fqdn": "azuresdkfornetautoresttrafficmanager3880.tmpreview.watmtest.azure-test.net", + "relativeName": "azuresdkfornetautoresttrafficmanager3880", + "ttl": 35 + }, + "endpoints": [ + { + "name": "My external endpoint", + "type": "Microsoft.Network/trafficManagerProfiles/externalEndpoints", + "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1323/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager3880/externalEndpoints/My external endpoint", + "properties": { + "endpointLocation": "North Europe", + "endpointMonitorStatus": "CheckingEndpoint", + "endpointStatus": "Enabled", + "priority": 1, + "target": "foobar.contoso.com", + "weight": 1 + } + } + ], + "monitorConfig": { + "path": "/testpath.aspx", + "intervalInSeconds": 30, + "port": 80, + "profileMonitorStatus": "CheckingEndpoints", + "timeoutInSeconds": 10, + "toleratedNumberOfFailures": 3, + "protocol": "HTTP" + }, + "profileStatus": "Enabled", + "trafficRoutingMethod": "Performance", + "trafficViewEnrollmentStatus": "Disabled" + }, + "tags": {} + } + } + }, + "operationId": "Profiles_Get", + "title": "Profile-GET-WithTrafficViewDisabled" +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/Profile-GET-WithTrafficViewEnabled.json b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/Profile-GET-WithTrafficViewEnabled.json new file mode 100644 index 000000000000..863fda913bcf --- /dev/null +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/Profile-GET-WithTrafficViewEnabled.json @@ -0,0 +1,55 @@ +{ + "parameters": { + "api-version": "2022-04-01", + "profileName": "azuresdkfornetautoresttrafficmanager3880", + "resourceGroupName": "azuresdkfornetautoresttrafficmanager1323", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "name": "azuresdkfornetautoresttrafficmanager3880", + "type": "Microsoft.Network/trafficManagerProfiles", + "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1323/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager3880", + "location": "global", + "properties": { + "dnsConfig": { + "fqdn": "azuresdkfornetautoresttrafficmanager3880.tmpreview.watmtest.azure-test.net", + "relativeName": "azuresdkfornetautoresttrafficmanager3880", + "ttl": 35 + }, + "endpoints": [ + { + "name": "My external endpoint", + "type": "Microsoft.Network/trafficManagerProfiles/externalEndpoints", + "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1323/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager3880/externalEndpoints/My external endpoint", + "properties": { + "endpointLocation": "North Europe", + "endpointMonitorStatus": "CheckingEndpoint", + "endpointStatus": "Enabled", + "priority": 1, + "target": "foobar.contoso.com", + "weight": 1 + } + } + ], + "monitorConfig": { + "path": "/testpath.aspx", + "intervalInSeconds": 30, + "port": 80, + "profileMonitorStatus": "CheckingEndpoints", + "timeoutInSeconds": 10, + "toleratedNumberOfFailures": 3, + "protocol": "HTTP" + }, + "profileStatus": "Enabled", + "trafficRoutingMethod": "Performance", + "trafficViewEnrollmentStatus": "Enabled" + }, + "tags": {} + } + } + }, + "operationId": "Profiles_Get", + "title": "Profile-GET-WithTrafficViewEnabled" +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/Profile-PATCH-MonitorConfig.json b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/Profile-PATCH-MonitorConfig.json new file mode 100644 index 000000000000..3fb0cd09b1f1 --- /dev/null +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/Profile-PATCH-MonitorConfig.json @@ -0,0 +1,86 @@ +{ + "parameters": { + "api-version": "2022-04-01", + "parameters": { + "properties": { + "monitorConfig": { + "path": "/testpath.aspx", + "customHeaders": [ + { + "name": "header-1", + "value": "value-1" + }, + { + "name": "header-2", + "value": "value-2" + } + ], + "intervalInSeconds": 30, + "port": 80, + "timeoutInSeconds": 6, + "toleratedNumberOfFailures": 4, + "protocol": "HTTP" + } + } + }, + "profileName": "azuresdkfornetautoresttrafficmanager6192", + "resourceGroupName": "azuresdkfornetautoresttrafficmanager2583", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "name": "azuresdkfornetautoresttrafficmanager6192", + "type": "Microsoft.Network/trafficManagerProfiles", + "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager2583/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager6192", + "location": "global", + "properties": { + "dnsConfig": { + "fqdn": "azuresdkfornetautoresttrafficmanager6192.tmpreview.watmtest.azure-test.net", + "relativeName": "azuresdkfornetautoresttrafficmanager6192", + "ttl": 35 + }, + "endpoints": [ + { + "name": "My external endpoint", + "type": "Microsoft.Network/trafficManagerProfiles/externalEndpoints", + "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager2583/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager6192/externalEndpoints/My external endpoint", + "properties": { + "endpointLocation": "North Europe", + "endpointMonitorStatus": "CheckingEndpoint", + "endpointStatus": "Enabled", + "priority": 1, + "target": "foobar.contoso.com", + "weight": 1 + } + } + ], + "monitorConfig": { + "path": "/testpath.aspx", + "customHeaders": [ + { + "name": "header-1", + "value": "value-1" + }, + { + "name": "header-2", + "value": "value-2" + } + ], + "intervalInSeconds": 30, + "port": 80, + "profileMonitorStatus": "CheckingEndpoints", + "timeoutInSeconds": 6, + "toleratedNumberOfFailures": 4, + "protocol": "HTTP" + }, + "profileStatus": "Enabled", + "trafficRoutingMethod": "Performance" + }, + "tags": {} + } + } + }, + "operationId": "Profiles_Update", + "title": "Profile-PATCH-MonitorConfig" +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/Profile-PUT-MultiValue.json b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/Profile-PUT-MultiValue.json new file mode 100644 index 000000000000..438618b0ec12 --- /dev/null +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/Profile-PUT-MultiValue.json @@ -0,0 +1,88 @@ +{ + "parameters": { + "api-version": "2022-04-01", + "parameters": { + "location": "global", + "properties": { + "dnsConfig": { + "relativeName": "azsmnet6386", + "ttl": 35 + }, + "maxReturn": 2, + "monitorConfig": { + "path": "/testpath.aspx", + "port": 80, + "protocol": "HTTP" + }, + "profileStatus": "Enabled", + "trafficRoutingMethod": "MultiValue", + "trafficViewEnrollmentStatus": "Disabled" + } + }, + "profileName": "azsmnet6386", + "resourceGroupName": "azuresdkfornetautoresttrafficmanager1421", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "name": "azsmnet6386", + "type": "Microsoft.Network/trafficManagerProfiles", + "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1421/providers/Microsoft.Network/trafficManagerProfiles/azsmnet6386", + "location": "global", + "properties": { + "dnsConfig": { + "fqdn": "azsmnet6386.tmpreview.watmtest.azure-test.net", + "relativeName": "azsmnet6386", + "ttl": 35 + }, + "endpoints": [], + "maxReturn": 2, + "monitorConfig": { + "path": "/testpath.aspx", + "intervalInSeconds": 30, + "port": 80, + "profileMonitorStatus": "Inactive", + "timeoutInSeconds": 10, + "toleratedNumberOfFailures": 3, + "protocol": "HTTP" + }, + "profileStatus": "Enabled", + "trafficRoutingMethod": "MultiValue", + "trafficViewEnrollmentStatus": "Disabled" + } + } + }, + "201": { + "body": { + "name": "azsmnet6386", + "type": "Microsoft.Network/trafficManagerProfiles", + "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1421/providers/Microsoft.Network/trafficManagerProfiles/azsmnet6386", + "location": "global", + "properties": { + "dnsConfig": { + "fqdn": "azsmnet6386.tmpreview.watmtest.azure-test.net", + "relativeName": "azsmnet6386", + "ttl": 35 + }, + "endpoints": [], + "maxReturn": 2, + "monitorConfig": { + "path": "/testpath.aspx", + "intervalInSeconds": 30, + "port": 80, + "profileMonitorStatus": "Inactive", + "timeoutInSeconds": 10, + "toleratedNumberOfFailures": 3, + "protocol": "HTTP" + }, + "profileStatus": "Enabled", + "trafficRoutingMethod": "MultiValue", + "trafficViewEnrollmentStatus": "Disabled" + } + } + } + }, + "operationId": "Profiles_CreateOrUpdate", + "title": "Profile-PUT-MultiValue" +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/Profile-PUT-NoEndpoints.json b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/Profile-PUT-NoEndpoints.json new file mode 100644 index 000000000000..d22bf3c08646 --- /dev/null +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/Profile-PUT-NoEndpoints.json @@ -0,0 +1,82 @@ +{ + "parameters": { + "api-version": "2022-04-01", + "parameters": { + "location": "global", + "properties": { + "dnsConfig": { + "relativeName": "azsmnet6386", + "ttl": 35 + }, + "monitorConfig": { + "path": "/testpath.aspx", + "port": 80, + "protocol": "HTTP" + }, + "profileStatus": "Enabled", + "trafficRoutingMethod": "Performance" + } + }, + "profileName": "azsmnet6386", + "resourceGroupName": "azuresdkfornetautoresttrafficmanager1421", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "name": "azsmnet6386", + "type": "Microsoft.Network/trafficManagerProfiles", + "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1421/providers/Microsoft.Network/trafficManagerProfiles/azsmnet6386", + "location": "global", + "properties": { + "dnsConfig": { + "fqdn": "azsmnet6386.tmpreview.watmtest.azure-test.net", + "relativeName": "azsmnet6386", + "ttl": 35 + }, + "endpoints": [], + "monitorConfig": { + "path": "/testpath.aspx", + "intervalInSeconds": 30, + "port": 80, + "profileMonitorStatus": "Inactive", + "timeoutInSeconds": 10, + "toleratedNumberOfFailures": 3, + "protocol": "HTTP" + }, + "profileStatus": "Enabled", + "trafficRoutingMethod": "Performance" + } + } + }, + "201": { + "body": { + "name": "azsmnet6386", + "type": "Microsoft.Network/trafficManagerProfiles", + "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1421/providers/Microsoft.Network/trafficManagerProfiles/azsmnet6386", + "location": "global", + "properties": { + "dnsConfig": { + "fqdn": "azsmnet6386.tmpreview.watmtest.azure-test.net", + "relativeName": "azsmnet6386", + "ttl": 35 + }, + "endpoints": [], + "monitorConfig": { + "path": "/testpath.aspx", + "intervalInSeconds": 30, + "port": 80, + "profileMonitorStatus": "Inactive", + "timeoutInSeconds": 10, + "toleratedNumberOfFailures": 3, + "protocol": "HTTP" + }, + "profileStatus": "Enabled", + "trafficRoutingMethod": "Performance" + } + } + } + }, + "operationId": "Profiles_CreateOrUpdate", + "title": "Profile-PUT-NoEndpoints" +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/Profile-PUT-WithAliasing.json b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/Profile-PUT-WithAliasing.json new file mode 100644 index 000000000000..0f54a0e8333c --- /dev/null +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/Profile-PUT-WithAliasing.json @@ -0,0 +1,165 @@ +{ + "parameters": { + "api-version": "2022-04-01", + "parameters": { + "location": "global", + "properties": { + "allowedEndpointRecordTypes": [ + "DomainName" + ], + "dnsConfig": { + "relativeName": "azuresdkfornetautoresttrafficmanager6192", + "ttl": 35 + }, + "endpoints": [ + { + "name": "My external endpoint", + "type": "Microsoft.network/TrafficManagerProfiles/ExternalEndpoints", + "properties": { + "endpointLocation": "North Europe", + "endpointStatus": "Enabled", + "target": "foobar.contoso.com" + } + } + ], + "monitorConfig": { + "path": "/testpath.aspx", + "intervalInSeconds": 10, + "port": 80, + "timeoutInSeconds": 5, + "toleratedNumberOfFailures": 2, + "protocol": "HTTP" + }, + "profileStatus": "Enabled", + "trafficRoutingMethod": "Performance" + } + }, + "profileName": "azuresdkfornetautoresttrafficmanager6192", + "resourceGroupName": "azuresdkfornetautoresttrafficmanager2583", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "name": "azuresdkfornetautoresttrafficmanager6192", + "type": "Microsoft.Network/trafficManagerProfiles", + "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager2583/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager6192", + "location": "global", + "properties": { + "allowedEndpointRecordTypes": [ + "DomainName" + ], + "dnsConfig": { + "fqdn": "azuresdkfornetautoresttrafficmanager6192.tmpreview.watmtest.azure-test.net", + "relativeName": "azuresdkfornetautoresttrafficmanager6192", + "ttl": 35 + }, + "endpoints": [ + { + "name": "My external endpoint", + "type": "Microsoft.Network/trafficManagerProfiles/externalEndpoints", + "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager2583/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager6192/externalEndpoints/My external endpoint", + "properties": { + "customHeaders": [ + { + "name": "header-2", + "value": "value-2-overridden" + } + ], + "endpointLocation": "North Europe", + "endpointMonitorStatus": "CheckingEndpoint", + "endpointStatus": "Enabled", + "priority": 1, + "target": "foobar.contoso.com", + "weight": 1 + } + } + ], + "monitorConfig": { + "path": "/testpath.aspx", + "customHeaders": [ + { + "name": "header-1", + "value": "value-1" + }, + { + "name": "header-2", + "value": "value-2" + } + ], + "intervalInSeconds": 10, + "port": 80, + "profileMonitorStatus": "CheckingEndpoints", + "timeoutInSeconds": 5, + "toleratedNumberOfFailures": 2, + "protocol": "HTTP" + }, + "profileStatus": "Enabled", + "trafficRoutingMethod": "Performance" + } + } + }, + "201": { + "body": { + "name": "azuresdkfornetautoresttrafficmanager6192", + "type": "Microsoft.Network/trafficManagerProfiles", + "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager2583/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager6192", + "location": "global", + "properties": { + "allowedEndpointRecordTypes": [ + "DomainName" + ], + "dnsConfig": { + "fqdn": "azuresdkfornetautoresttrafficmanager6192.tmpreview.watmtest.azure-test.net", + "relativeName": "azuresdkfornetautoresttrafficmanager6192", + "ttl": 35 + }, + "endpoints": [ + { + "name": "My external endpoint", + "type": "Microsoft.Network/trafficManagerProfiles/externalEndpoints", + "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager2583/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager6192/externalEndpoints/My external endpoint", + "properties": { + "customHeaders": [ + { + "name": "header-2", + "value": "value-2-overridden" + } + ], + "endpointLocation": "North Europe", + "endpointMonitorStatus": "CheckingEndpoint", + "endpointStatus": "Enabled", + "priority": 1, + "target": "foobar.contoso.com", + "weight": 1 + } + } + ], + "monitorConfig": { + "path": "/testpath.aspx", + "customHeaders": [ + { + "name": "header-1", + "value": "value-1" + }, + { + "name": "header-2", + "value": "value-2" + } + ], + "intervalInSeconds": 10, + "port": 80, + "profileMonitorStatus": "CheckingEndpoints", + "timeoutInSeconds": 5, + "toleratedNumberOfFailures": 2, + "protocol": "HTTP" + }, + "profileStatus": "Enabled", + "trafficRoutingMethod": "Performance" + } + } + } + }, + "operationId": "Profiles_CreateOrUpdate", + "title": "Profile-PUT-WithAliasing" +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/Profile-PUT-WithCustomHeaders.json b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/Profile-PUT-WithCustomHeaders.json new file mode 100644 index 000000000000..57e0fb89a67e --- /dev/null +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/Profile-PUT-WithCustomHeaders.json @@ -0,0 +1,185 @@ +{ + "parameters": { + "api-version": "2022-04-01", + "parameters": { + "location": "global", + "properties": { + "dnsConfig": { + "relativeName": "azuresdkfornetautoresttrafficmanager6192", + "ttl": 35 + }, + "endpoints": [ + { + "name": "My external endpoint", + "type": "Microsoft.network/TrafficManagerProfiles/ExternalEndpoints", + "properties": { + "customHeaders": [ + { + "name": "header-2", + "value": "value-2-overridden" + } + ], + "endpointLocation": "North Europe", + "endpointStatus": "Enabled", + "target": "foobar.contoso.com" + } + } + ], + "monitorConfig": { + "path": "/testpath.aspx", + "customHeaders": [ + { + "name": "header-1", + "value": "value-1" + }, + { + "name": "header-2", + "value": "value-2" + } + ], + "expectedStatusCodeRanges": [ + { + "max": 205, + "min": 200 + }, + { + "max": 410, + "min": 400 + } + ], + "intervalInSeconds": 10, + "port": 80, + "timeoutInSeconds": 5, + "toleratedNumberOfFailures": 2, + "protocol": "HTTP" + }, + "profileStatus": "Enabled", + "trafficRoutingMethod": "Performance", + "trafficViewEnrollmentStatus": "Disabled" + } + }, + "profileName": "azuresdkfornetautoresttrafficmanager6192", + "resourceGroupName": "azuresdkfornetautoresttrafficmanager2583", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "name": "azuresdkfornetautoresttrafficmanager6192", + "type": "Microsoft.Network/trafficManagerProfiles", + "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager2583/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager6192", + "location": "global", + "properties": { + "dnsConfig": { + "fqdn": "azuresdkfornetautoresttrafficmanager6192.tmpreview.watmtest.azure-test.net", + "relativeName": "azuresdkfornetautoresttrafficmanager6192", + "ttl": 35 + }, + "endpoints": [ + { + "name": "My external endpoint", + "type": "Microsoft.Network/trafficManagerProfiles/externalEndpoints", + "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager2583/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager6192/externalEndpoints/My external endpoint", + "properties": { + "customHeaders": [ + { + "name": "header-2", + "value": "value-2-overridden" + } + ], + "endpointLocation": "North Europe", + "endpointMonitorStatus": "CheckingEndpoint", + "endpointStatus": "Enabled", + "priority": 1, + "target": "foobar.contoso.com", + "weight": 1 + } + } + ], + "monitorConfig": { + "path": "/testpath.aspx", + "customHeaders": [ + { + "name": "header-1", + "value": "value-1" + }, + { + "name": "header-2", + "value": "value-2" + } + ], + "intervalInSeconds": 10, + "port": 80, + "profileMonitorStatus": "CheckingEndpoints", + "timeoutInSeconds": 5, + "toleratedNumberOfFailures": 2, + "protocol": "HTTP" + }, + "profileStatus": "Enabled", + "trafficRoutingMethod": "Performance", + "trafficViewEnrollmentStatus": "Disabled" + } + } + }, + "201": { + "body": { + "name": "azuresdkfornetautoresttrafficmanager6192", + "type": "Microsoft.Network/trafficManagerProfiles", + "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager2583/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager6192", + "location": "global", + "properties": { + "dnsConfig": { + "fqdn": "azuresdkfornetautoresttrafficmanager6192.tmpreview.watmtest.azure-test.net", + "relativeName": "azuresdkfornetautoresttrafficmanager6192", + "ttl": 35 + }, + "endpoints": [ + { + "name": "My external endpoint", + "type": "Microsoft.Network/trafficManagerProfiles/externalEndpoints", + "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager2583/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager6192/externalEndpoints/My external endpoint", + "properties": { + "customHeaders": [ + { + "name": "header-2", + "value": "value-2-overridden" + } + ], + "endpointLocation": "North Europe", + "endpointMonitorStatus": "CheckingEndpoint", + "endpointStatus": "Enabled", + "priority": 1, + "target": "foobar.contoso.com", + "weight": 1 + } + } + ], + "monitorConfig": { + "path": "/testpath.aspx", + "customHeaders": [ + { + "name": "header-1", + "value": "value-1" + }, + { + "name": "header-2", + "value": "value-2" + } + ], + "intervalInSeconds": 10, + "port": 80, + "profileMonitorStatus": "CheckingEndpoints", + "timeoutInSeconds": 5, + "toleratedNumberOfFailures": 2, + "protocol": "HTTP" + }, + "profileStatus": "Enabled", + "trafficRoutingMethod": "Performance", + "trafficViewEnrollmentStatus": "Disabled" + } + } + } + }, + "operationId": "Profiles_CreateOrUpdate", + "title": "Profile-PUT-WithCustomHeaders" +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/Profile-PUT-WithEndpoints.json b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/Profile-PUT-WithEndpoints.json new file mode 100644 index 000000000000..dc7d4ed689c1 --- /dev/null +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/Profile-PUT-WithEndpoints.json @@ -0,0 +1,124 @@ +{ + "parameters": { + "api-version": "2022-04-01", + "parameters": { + "location": "global", + "properties": { + "dnsConfig": { + "relativeName": "azuresdkfornetautoresttrafficmanager6192", + "ttl": 35 + }, + "endpoints": [ + { + "name": "My external endpoint", + "type": "Microsoft.network/TrafficManagerProfiles/ExternalEndpoints", + "properties": { + "endpointLocation": "North Europe", + "endpointStatus": "Enabled", + "target": "foobar.contoso.com" + } + } + ], + "monitorConfig": { + "path": "/testpath.aspx", + "intervalInSeconds": 10, + "port": 80, + "timeoutInSeconds": 5, + "toleratedNumberOfFailures": 2, + "protocol": "HTTP" + }, + "profileStatus": "Enabled", + "trafficRoutingMethod": "Performance" + } + }, + "profileName": "azuresdkfornetautoresttrafficmanager6192", + "resourceGroupName": "azuresdkfornetautoresttrafficmanager2583", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "name": "azuresdkfornetautoresttrafficmanager6192", + "type": "Microsoft.Network/trafficManagerProfiles", + "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager2583/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager6192", + "location": "global", + "properties": { + "dnsConfig": { + "fqdn": "azuresdkfornetautoresttrafficmanager6192.tmpreview.watmtest.azure-test.net", + "relativeName": "azuresdkfornetautoresttrafficmanager6192", + "ttl": 35 + }, + "endpoints": [ + { + "name": "My external endpoint", + "type": "Microsoft.Network/trafficManagerProfiles/externalEndpoints", + "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager2583/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager6192/externalEndpoints/My external endpoint", + "properties": { + "endpointLocation": "North Europe", + "endpointMonitorStatus": "CheckingEndpoint", + "endpointStatus": "Enabled", + "priority": 1, + "target": "foobar.contoso.com", + "weight": 1 + } + } + ], + "monitorConfig": { + "path": "/testpath.aspx", + "intervalInSeconds": 10, + "port": 80, + "profileMonitorStatus": "CheckingEndpoints", + "timeoutInSeconds": 5, + "toleratedNumberOfFailures": 2, + "protocol": "HTTP" + }, + "profileStatus": "Enabled", + "trafficRoutingMethod": "Performance" + } + } + }, + "201": { + "body": { + "name": "azuresdkfornetautoresttrafficmanager6192", + "type": "Microsoft.Network/trafficManagerProfiles", + "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager2583/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager6192", + "location": "global", + "properties": { + "dnsConfig": { + "fqdn": "azuresdkfornetautoresttrafficmanager6192.tmpreview.watmtest.azure-test.net", + "relativeName": "azuresdkfornetautoresttrafficmanager6192", + "ttl": 35 + }, + "endpoints": [ + { + "name": "My external endpoint", + "type": "Microsoft.Network/trafficManagerProfiles/externalEndpoints", + "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager2583/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager6192/externalEndpoints/My external endpoint", + "properties": { + "endpointLocation": "North Europe", + "endpointMonitorStatus": "CheckingEndpoint", + "endpointStatus": "Enabled", + "priority": 1, + "target": "foobar.contoso.com", + "weight": 1 + } + } + ], + "monitorConfig": { + "path": "/testpath.aspx", + "intervalInSeconds": 10, + "port": 80, + "profileMonitorStatus": "CheckingEndpoints", + "timeoutInSeconds": 5, + "toleratedNumberOfFailures": 2, + "protocol": "HTTP" + }, + "profileStatus": "Enabled", + "trafficRoutingMethod": "Performance" + } + } + } + }, + "operationId": "Profiles_CreateOrUpdate", + "title": "Profile-PUT-WithEndpoints" +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/Profile-PUT-WithNestedEndpoints.json b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/Profile-PUT-WithNestedEndpoints.json new file mode 100644 index 000000000000..b56be4adcfde --- /dev/null +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/Profile-PUT-WithNestedEndpoints.json @@ -0,0 +1,175 @@ +{ + "parameters": { + "api-version": "2022-04-01", + "parameters": { + "location": "global", + "properties": { + "dnsConfig": { + "relativeName": "parentprofile", + "ttl": 35 + }, + "endpoints": [ + { + "name": "MyFirstNestedEndpoint", + "type": "Microsoft.Network/trafficManagerProfiles/nestedEndpoints", + "properties": { + "endpointStatus": "Enabled", + "minChildEndpoints": 2, + "minChildEndpointsIPv4": 1, + "minChildEndpointsIPv6": 2, + "priority": 1, + "target": "firstnestedprofile.tmpreview.watmtest.azure-test.net", + "weight": 1 + } + }, + { + "name": "MySecondNestedEndpoint", + "type": "Microsoft.Network/trafficManagerProfiles/nestedEndpoints", + "properties": { + "endpointStatus": "Enabled", + "minChildEndpoints": 2, + "minChildEndpointsIPv4": 2, + "minChildEndpointsIPv6": 1, + "priority": 2, + "target": "secondnestedprofile.tmpreview.watmtest.azure-test.net", + "weight": 1 + } + } + ], + "monitorConfig": { + "path": "/testpath.aspx", + "intervalInSeconds": 10, + "port": 80, + "timeoutInSeconds": 5, + "toleratedNumberOfFailures": 2, + "protocol": "HTTP" + }, + "profileStatus": "Enabled", + "trafficRoutingMethod": "Priority" + } + }, + "profileName": "parentprofile", + "resourceGroupName": "myresourcegroup", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "name": "parentprofile", + "type": "Microsoft.Network/trafficManagerProfiles", + "id": "/subscriptions/{subscription-id}/resourceGroups/myresourcegroup/providers/Microsoft.Network/trafficManagerProfiles/parentprofile", + "location": "global", + "properties": { + "dnsConfig": { + "fqdn": "parentprofile.tmpreview.watmtest.azure-test.net", + "relativeName": "parentprofile", + "ttl": 35 + }, + "endpoints": [ + { + "name": "MyFirstNestedEndpoint", + "type": "Microsoft.Network/trafficManagerProfiles/nestedEndpoints", + "id": "/subscriptions/{subscription-id}/resourceGroups/myresourcegroup/providers/Microsoft.Network/trafficManagerProfiles/parentprofile/nestedEndpoints/MyFirstNestedEndpoint", + "properties": { + "endpointMonitorStatus": "CheckingEndpoint", + "endpointStatus": "Enabled", + "minChildEndpoints": 2, + "minChildEndpointsIPv4": 1, + "minChildEndpointsIPv6": 2, + "priority": 1, + "target": "firstnestedprofile.tmpreview.watmtest.azure-test.net", + "weight": 1 + } + }, + { + "name": "MySecondNestedEndpoint", + "type": "Microsoft.Network/trafficManagerProfiles/nestedEndpoints", + "id": "/subscriptions/{subscription-id}/resourceGroups/myresourcegroup/providers/Microsoft.Network/trafficManagerProfiles/parentprofile/nestedEndpoints/MySecondNestedEndpoint", + "properties": { + "endpointMonitorStatus": "CheckingEndpoint", + "endpointStatus": "Enabled", + "minChildEndpoints": 2, + "minChildEndpointsIPv4": 2, + "minChildEndpointsIPv6": 1, + "priority": 1, + "target": "secondnestedprofile.tmpreview.watmtest.azure-test.net", + "weight": 1 + } + } + ], + "monitorConfig": { + "path": "/testpath.aspx", + "intervalInSeconds": 10, + "port": 80, + "profileMonitorStatus": "CheckingEndpoints", + "timeoutInSeconds": 5, + "toleratedNumberOfFailures": 2, + "protocol": "HTTP" + }, + "profileStatus": "Enabled", + "trafficRoutingMethod": "Priority" + } + } + }, + "201": { + "body": { + "name": "parentprofile", + "type": "Microsoft.Network/trafficManagerProfiles", + "id": "/subscriptions/{subscription-id}/resourceGroups/myresourcegroup/providers/Microsoft.Network/trafficManagerProfiles/parentprofile", + "location": "global", + "properties": { + "dnsConfig": { + "fqdn": "parentprofile.tmpreview.watmtest.azure-test.net", + "relativeName": "parentprofile", + "ttl": 35 + }, + "endpoints": [ + { + "name": "MyFirstNestedEndpoint", + "type": "Microsoft.Network/trafficManagerProfiles/nestedEndpoints", + "id": "/subscriptions/{subscription-id}/resourceGroups/myresourcegroup/providers/Microsoft.Network/trafficManagerProfiles/parentprofile/nestedEndpoints/MyFirstNestedEndpoint", + "properties": { + "endpointMonitorStatus": "CheckingEndpoint", + "endpointStatus": "Enabled", + "minChildEndpoints": 2, + "minChildEndpointsIPv4": 1, + "minChildEndpointsIPv6": 2, + "priority": 1, + "target": "firstnestedprofile.tmpreview.watmtest.azure-test.net", + "weight": 1 + } + }, + { + "name": "MySecondNestedEndpoint", + "type": "Microsoft.Network/trafficManagerProfiles/nestedEndpoints", + "id": "/subscriptions/{subscription-id}/resourceGroups/myresourcegroup/providers/Microsoft.Network/trafficManagerProfiles/parentprofile/nestedEndpoints/MySecondNestedEndpoint", + "properties": { + "endpointMonitorStatus": "CheckingEndpoint", + "endpointStatus": "Enabled", + "minChildEndpoints": 2, + "minChildEndpointsIPv4": 2, + "minChildEndpointsIPv6": 1, + "priority": 1, + "target": "secondnestedprofile.tmpreview.watmtest.azure-test.net", + "weight": 1 + } + } + ], + "monitorConfig": { + "path": "/testpath.aspx", + "intervalInSeconds": 10, + "port": 80, + "profileMonitorStatus": "CheckingEndpoints", + "timeoutInSeconds": 5, + "toleratedNumberOfFailures": 2, + "protocol": "HTTP" + }, + "profileStatus": "Enabled", + "trafficRoutingMethod": "Priority" + } + } + } + }, + "operationId": "Profiles_CreateOrUpdate", + "title": "Profile-PUT-WithNestedEndpoints" +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/TrafficManagerUserMetricsKeys-DELETE.json b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/TrafficManagerUserMetricsKeys-DELETE.json new file mode 100644 index 000000000000..20658256d8be --- /dev/null +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/TrafficManagerUserMetricsKeys-DELETE.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "api-version": "2022-04-01", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": {} + } + }, + "operationId": "TrafficManagerUserMetricsKeys_Delete", + "title": "TrafficManagerUserMetricsKeys-DELETE" +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/TrafficManagerUserMetricsKeys-GET.json b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/TrafficManagerUserMetricsKeys-GET.json new file mode 100644 index 000000000000..f72639a77d39 --- /dev/null +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/TrafficManagerUserMetricsKeys-GET.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2022-04-01", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Network/trafficManagerUserMetricsKeys", + "id": "/providers/Microsoft.Network/trafficManagerUserMetricsKeys/default", + "properties": { + "key": "9ea056eb38f145a0891b5d5dc15e9aa2" + } + } + } + }, + "operationId": "TrafficManagerUserMetricsKeys_Get", + "title": "TrafficManagerUserMetricsKeys-GET" +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/TrafficManagerUserMetricsKeys-PUT.json b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/TrafficManagerUserMetricsKeys-PUT.json new file mode 100644 index 000000000000..71ff8a5f0848 --- /dev/null +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/examples/2022-04-01/TrafficManagerUserMetricsKeys-PUT.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2022-04-01", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "201": { + "body": { + "name": "default", + "type": "Microsoft.Network/trafficManagerUserMetricsKeys", + "id": "/providers/Microsoft.Network/trafficManagerUserMetricsKeys/default", + "properties": { + "key": "9ea056eb38f145a0891b5d5dc15e9aa2" + } + } + } + }, + "operationId": "TrafficManagerUserMetricsKeys_CreateOrUpdate", + "title": "TrafficManagerUserMetricsKeys-PUT" +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/main.tsp b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/main.tsp new file mode 100644 index 000000000000..a7d2aca47ad9 --- /dev/null +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/main.tsp @@ -0,0 +1,41 @@ +/** + * PLEASE DO NOT REMOVE - USED FOR CONVERTER METRICS + * Generated by package: @autorest/openapi-to-typespec + * Parameters used: + * isFullCompatible: true + * guessResourceKey: false + * Version: 0.11.7 + * Date: 2025-09-11T03:39:17.899Z + */ +import "@typespec/rest"; +import "@typespec/versioning"; +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "./models.tsp"; +import "./back-compatible.tsp"; +import "./Endpoint.tsp"; +import "./Profile.tsp"; +import "./TrafficManagerGeographicHierarchy.tsp"; +import "./HeatMapModel.tsp"; +import "./UserMetricsModel.tsp"; +import "./routes.tsp"; + +using Azure.ResourceManager; +using TypeSpec.Versioning; + +#suppress "@azure-tools/typespec-azure-resource-manager/missing-operations-endpoint" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@armProviderNamespace +@service(#{ title: "TrafficManagerManagementClient" }) +@versioned(Versions) +@armCommonTypesVersion(Azure.ResourceManager.CommonTypes.Versions.v3) +namespace Microsoft.Network; + +/** + * The available API versions. + */ +enum Versions { + /** + * The 2022-04-01 API version. + */ + v2022_04_01: "2022-04-01", +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/models.tsp b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/models.tsp new file mode 100644 index 000000000000..9aa502649ed0 --- /dev/null +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/models.tsp @@ -0,0 +1,713 @@ +import "@typespec/rest"; +import "@typespec/http"; +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; + +using TypeSpec.Rest; +using TypeSpec.Http; +using Azure.Core; +using Azure.ResourceManager; +using Azure.ResourceManager.Foundations; + +namespace Microsoft.Network; + +/** + * The status of the endpoint. If the endpoint is Enabled, it is probed for endpoint health and is included in the traffic routing method. + */ +union EndpointStatus { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Enabled: "Enabled", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Disabled: "Disabled", +} + +/** + * The monitoring status of the endpoint. + */ +union EndpointMonitorStatus { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + CheckingEndpoint: "CheckingEndpoint", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Online: "Online", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Degraded: "Degraded", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Disabled: "Disabled", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Inactive: "Inactive", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Stopped: "Stopped", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Unmonitored: "Unmonitored", +} + +/** + * If Always Serve is enabled, probing for endpoint health will be disabled and endpoints will be included in the traffic routing method. + */ +union AlwaysServe { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Enabled: "Enabled", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Disabled: "Disabled", +} + +/** + * The status of the Traffic Manager profile. + */ +union ProfileStatus { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Enabled: "Enabled", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Disabled: "Disabled", +} + +/** + * The traffic routing method of the Traffic Manager profile. + */ +union TrafficRoutingMethod { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Performance: "Performance", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Priority: "Priority", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Weighted: "Weighted", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Geographic: "Geographic", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + MultiValue: "MultiValue", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Subnet: "Subnet", +} + +/** + * The profile-level monitoring status of the Traffic Manager profile. + */ +union ProfileMonitorStatus { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + CheckingEndpoints: "CheckingEndpoints", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Online: "Online", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Degraded: "Degraded", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Disabled: "Disabled", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Inactive: "Inactive", +} + +/** + * The protocol (HTTP, HTTPS or TCP) used to probe for endpoint health. + */ +union MonitorProtocol { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + HTTP: "HTTP", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + HTTPS: "HTTPS", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + TCP: "TCP", +} + +/** + * Indicates whether Traffic View is 'Enabled' or 'Disabled' for the Traffic Manager profile. Null, indicates 'Disabled'. Enabling this feature will increase the cost of the Traffic Manage profile. + */ +union TrafficViewEnrollmentStatus { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Enabled: "Enabled", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Disabled: "Disabled", +} + +/** + * The allowed type DNS record types for this profile. + */ +union AllowedEndpointRecordType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + DomainName: "DomainName", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + IPv4Address: "IPv4Address", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + IPv6Address: "IPv6Address", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Any: "Any", +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-enum" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +enum EndpointType { + AzureEndpoints, + ExternalEndpoints, + NestedEndpoints, +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-enum" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +enum HeatMapType { + default, +} + +/** + * Class representing a Traffic Manager endpoint properties. + */ +model EndpointProperties { + /** + * The Azure Resource URI of the of the endpoint. Not applicable to endpoints of type 'ExternalEndpoints'. + */ + targetResourceId?: string; + + /** + * The fully-qualified DNS name or IP address of the endpoint. Traffic Manager returns this value in DNS responses to direct traffic to this endpoint. + */ + target?: string; + + /** + * The status of the endpoint. If the endpoint is Enabled, it is probed for endpoint health and is included in the traffic routing method. + */ + endpointStatus?: EndpointStatus; + + /** + * The weight of this endpoint when using the 'Weighted' traffic routing method. Possible values are from 1 to 1000. + */ + weight?: int64; + + /** + * The priority of this endpoint when using the 'Priority' traffic routing method. Possible values are from 1 to 1000, lower values represent higher priority. This is an optional parameter. If specified, it must be specified on all endpoints, and no two endpoints can share the same priority value. + */ + priority?: int64; + + /** + * Specifies the location of the external or nested endpoints when using the 'Performance' traffic routing method. + */ + endpointLocation?: string; + + /** + * The monitoring status of the endpoint. + */ + endpointMonitorStatus?: EndpointMonitorStatus; + + /** + * The minimum number of endpoints that must be available in the child profile in order for the parent profile to be considered available. Only applicable to endpoint of type 'NestedEndpoints'. + */ + minChildEndpoints?: int64; + + /** + * The minimum number of IPv4 (DNS record type A) endpoints that must be available in the child profile in order for the parent profile to be considered available. Only applicable to endpoint of type 'NestedEndpoints'. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + minChildEndpointsIPv4?: int64; + + /** + * The minimum number of IPv6 (DNS record type AAAA) endpoints that must be available in the child profile in order for the parent profile to be considered available. Only applicable to endpoint of type 'NestedEndpoints'. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + minChildEndpointsIPv6?: int64; + + /** + * The list of countries/regions mapped to this endpoint when using the 'Geographic' traffic routing method. Please consult Traffic Manager Geographic documentation for a full list of accepted values. + */ + geoMapping?: string[]; + + /** + * The list of subnets, IP addresses, and/or address ranges mapped to this endpoint when using the 'Subnet' traffic routing method. An empty list will match all ranges not covered by other endpoints. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/missing-x-ms-identifiers" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + subnets?: EndpointPropertiesSubnetsItem[]; + + /** + * List of custom headers. + */ + customHeaders?: EndpointPropertiesCustomHeadersItem[]; + + /** + * If Always Serve is enabled, probing for endpoint health will be disabled and endpoints will be included in the traffic routing method. + */ + alwaysServe?: AlwaysServe; +} + +/** + * Subnet first address, scope, and/or last address. + */ +model EndpointPropertiesSubnetsItem { + /** + * First address in the subnet. + */ + first?: string; + + /** + * Last address in the subnet. + */ + last?: string; + + /** + * Block size (number of leading bits in the subnet mask). + */ + scope?: int32; +} + +/** + * Custom header name and value. + */ +model EndpointPropertiesCustomHeadersItem { + /** + * Header name. + */ + name?: string; + + /** + * Header value. + */ + value?: string; +} + +/** + * The resource model definition for a ARM proxy resource. It will have everything other than required location and tags + */ +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/no-empty-model" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-no-key" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model ProxyResource extends Resource {} + +/** + * The core properties of ARM resources + */ +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-no-key" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@Azure.ResourceManager.Legacy.customAzureResource +model Resource { + /** + * Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{resourceName} + */ + id?: armResourceIdentifier; + + /** + * The name of the resource + */ + name?: string; + + /** + * The type of the resource. Ex- Microsoft.Network/trafficManagerProfiles. + */ + type?: string; +} + +/** + * An error returned by the Azure Resource Manager + */ +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@error +@Azure.ResourceManager.Legacy.armExternalType +model CloudError { + /** + * The content of the error. + */ + error?: CloudErrorBody; +} + +/** + * The content of an error returned by the Azure Resource Manager + */ +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@Azure.ResourceManager.Legacy.armExternalType +model CloudErrorBody { + /** + * Error code + */ + code?: string; + + /** + * Error message + */ + message?: string; + + /** + * Error target + */ + target?: string; + + /** + * Error details + */ + #suppress "@azure-tools/typespec-azure-resource-manager/missing-x-ms-identifiers" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + details?: CloudErrorBody[]; +} + +/** + * The result of the request or operation. + */ +model DeleteOperationResult { + /** + * The result of the operation or request. + */ + @visibility(Lifecycle.Read) + boolean?: boolean; +} + +/** + * Parameters supplied to check Traffic Manager name operation. + */ +model CheckTrafficManagerRelativeDnsNameAvailabilityParameters { + /** + * The name of the resource. + */ + name?: string; + + /** + * The type of the resource. + */ + type?: string; +} + +/** + * Class representing a Traffic Manager Name Availability response. + */ +model TrafficManagerNameAvailability { + /** + * The relative name. + */ + name?: string; + + /** + * Traffic Manager profile resource type. + */ + type?: string; + + /** + * Describes whether the relative name is available or not. + */ + nameAvailable?: boolean; + + /** + * The reason why the name is not available, when applicable. + */ + reason?: string; + + /** + * Descriptive message that explains why the name is not available, when applicable. + */ + message?: string; +} + +/** + * The list Traffic Manager profiles operation response. + */ +model ProfileListResult { + /** + * Gets the list of Traffic manager profiles. + */ + @pageItems + value?: Profile[]; + + /** + * The link to the next page of items + */ + @nextLink + nextLink?: string; +} + +/** + * Class representing the Traffic Manager profile properties. + */ +model ProfileProperties { + /** + * The status of the Traffic Manager profile. + */ + profileStatus?: ProfileStatus; + + /** + * The traffic routing method of the Traffic Manager profile. + */ + trafficRoutingMethod?: TrafficRoutingMethod; + + /** + * The DNS settings of the Traffic Manager profile. + */ + dnsConfig?: DnsConfig; + + /** + * The endpoint monitoring settings of the Traffic Manager profile. + */ + monitorConfig?: MonitorConfig; + + /** + * The list of endpoints in the Traffic Manager profile. + */ + endpoints?: Endpoint[]; + + /** + * Indicates whether Traffic View is 'Enabled' or 'Disabled' for the Traffic Manager profile. Null, indicates 'Disabled'. Enabling this feature will increase the cost of the Traffic Manage profile. + */ + trafficViewEnrollmentStatus?: TrafficViewEnrollmentStatus; + + /** + * The list of allowed endpoint record types. + */ + allowedEndpointRecordTypes?: AllowedEndpointRecordType[]; + + /** + * Maximum number of endpoints to be returned for MultiValue routing type. + */ + maxReturn?: int64; +} + +/** + * Class containing DNS settings in a Traffic Manager profile. + */ +model DnsConfig { + /** + * The relative DNS name provided by this Traffic Manager profile. This value is combined with the DNS domain name used by Azure Traffic Manager to form the fully-qualified domain name (FQDN) of the profile. + */ + relativeName?: string; + + /** + * The fully-qualified domain name (FQDN) of the Traffic Manager profile. This is formed from the concatenation of the RelativeName with the DNS domain used by Azure Traffic Manager. + */ + @visibility(Lifecycle.Read) + fqdn?: string; + + /** + * The DNS Time-To-Live (TTL), in seconds. This informs the local DNS resolvers and DNS clients how long to cache DNS responses provided by this Traffic Manager profile. + */ + ttl?: int64; +} + +/** + * Class containing endpoint monitoring settings in a Traffic Manager profile. + */ +model MonitorConfig { + /** + * The profile-level monitoring status of the Traffic Manager profile. + */ + profileMonitorStatus?: ProfileMonitorStatus; + + /** + * The protocol (HTTP, HTTPS or TCP) used to probe for endpoint health. + */ + protocol?: MonitorProtocol; + + /** + * The TCP port used to probe for endpoint health. + */ + port?: int64; + + /** + * The path relative to the endpoint domain name used to probe for endpoint health. + */ + path?: string; + + /** + * The monitor interval for endpoints in this profile. This is the interval at which Traffic Manager will check the health of each endpoint in this profile. + */ + intervalInSeconds?: int64; + + /** + * The monitor timeout for endpoints in this profile. This is the time that Traffic Manager allows endpoints in this profile to response to the health check. + */ + timeoutInSeconds?: int64; + + /** + * The number of consecutive failed health check that Traffic Manager tolerates before declaring an endpoint in this profile Degraded after the next failed health check. + */ + toleratedNumberOfFailures?: int64; + + /** + * List of custom headers. + */ + customHeaders?: MonitorConfigCustomHeadersItem[]; + + /** + * List of expected status code ranges. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/missing-x-ms-identifiers" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + expectedStatusCodeRanges?: MonitorConfigExpectedStatusCodeRangesItem[]; +} + +/** + * Custom header name and value. + */ +model MonitorConfigCustomHeadersItem { + /** + * Header name. + */ + name?: string; + + /** + * Header value. + */ + value?: string; +} + +/** + * Min and max value of a status code range. + */ +model MonitorConfigExpectedStatusCodeRangesItem { + /** + * Min status code. + */ + min?: int32; + + /** + * Max status code. + */ + max?: int32; +} + +/** + * The resource model definition for a ARM tracked top level resource + */ +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-no-key" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model TrackedResource extends Resource { + /** + * Resource tags. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Create, Lifecycle.Read, Lifecycle.Update) + tags?: Record; + + /** + * The Azure Region where the resource lives + */ + @visibility(Lifecycle.Create, Lifecycle.Read) + location?: string; +} + +/** + * Class representing the properties of the Geographic hierarchy used with the Geographic traffic routing method. + */ +model GeographicHierarchyProperties { + /** + * The region at the root of the hierarchy from all the regions in the hierarchy can be retrieved. + */ + geographicHierarchy?: Region; +} + +/** + * Class representing a region in the Geographic hierarchy used with the Geographic traffic routing method. + */ +model Region { + /** + * The code of the region + */ + code?: string; + + /** + * The name of the region + */ + name?: string; + + /** + * The list of Regions grouped under this Region in the Geographic Hierarchy. + */ + regions?: Region[]; +} + +/** + * Class representing a Traffic Manager HeatMap properties. + */ +model HeatMapProperties { + /** + * The beginning of the time window for this HeatMap, inclusive. + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + startTime?: utcDateTime; + + /** + * The ending of the time window for this HeatMap, exclusive. + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + endTime?: utcDateTime; + + /** + * The endpoints used in this HeatMap calculation. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/missing-x-ms-identifiers" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + endpoints?: HeatMapEndpoint[]; + + /** + * The traffic flows produced in this HeatMap calculation. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/missing-x-ms-identifiers" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + trafficFlows?: TrafficFlow[]; +} + +/** + * Class which is a sparse representation of a Traffic Manager endpoint. + */ +model HeatMapEndpoint { + /** + * The ARM Resource ID of this Traffic Manager endpoint. + */ + resourceId?: string; + + /** + * A number uniquely identifying this endpoint in query experiences. + */ + endpointId?: int32; +} + +/** + * Class representing a Traffic Manager HeatMap traffic flow properties. + */ +model TrafficFlow { + /** + * The IP address that this query experience originated from. + */ + sourceIp?: string; + + /** + * The approximate latitude that these queries originated from. + */ + latitude?: float64; + + /** + * The approximate longitude that these queries originated from. + */ + longitude?: float64; + + /** + * The query experiences produced in this HeatMap calculation. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/missing-x-ms-identifiers" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + queryExperiences?: QueryExperience[]; +} + +/** + * Class representing a Traffic Manager HeatMap query experience properties. + */ +model QueryExperience { + /** + * The id of the endpoint from the 'endpoints' array which these queries were routed to. + */ + endpointId: int32; + + /** + * The number of queries originating from this location. + */ + queryCount: int32; + + /** + * The latency experienced by queries originating from this location. + */ + latency?: float64; +} + +/** + * Class representing a Traffic Manager Real User Metrics key response. + */ +model UserMetricsProperties { + /** + * The key returned by the User Metrics operation. + */ + key?: string; +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/routes.tsp b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/routes.tsp new file mode 100644 index 000000000000..acf0addedf17 --- /dev/null +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/routes.tsp @@ -0,0 +1,41 @@ +// FIXME: Operations in this file are not detected as a resource operation, please confirm the conversion result manually + +import "@azure-tools/typespec-azure-core"; +import "@typespec/rest"; +import "./models.tsp"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; + +using TypeSpec.Rest; +using TypeSpec.Http; +using Azure.ResourceManager; +using TypeSpec.OpenAPI; + +namespace Microsoft.Network; + +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +interface ProfilesOperationGroup { + /** + * Checks the availability of a Traffic Manager Relative DNS name. + */ + @autoRoute + @action("checkTrafficManagerNameAvailability") + checkTrafficManagerRelativeDnsNameAvailability is ArmProviderActionSync< + Request = CheckTrafficManagerRelativeDnsNameAvailabilityParameters, + Response = TrafficManagerNameAvailability, + Error = CloudError + >; + /** + * Checks the availability of a Traffic Manager Relative DNS name. + */ + #suppress "@azure-tools/typespec-azure-core/no-openapi" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @operationId("Profiles_checkTrafficManagerNameAvailabilityV2") + @autoRoute + checkTrafficManagerNameAvailabilityV2 is ArmProviderActionSync< + Request = CheckTrafficManagerRelativeDnsNameAvailabilityParameters, + Response = TrafficManagerNameAvailability, + Scope = SubscriptionActionScope, + Parameters = {}, + Error = CloudError + >; +} diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/Endpoint-DELETE-External.json b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/Endpoint-DELETE-External.json index 6aa251abfc4a..2235713cc153 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/Endpoint-DELETE-External.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/Endpoint-DELETE-External.json @@ -1,16 +1,18 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "azuresdkfornetautoresttrafficmanager1421", - "profileName": "azsmnet6386", - "endpointType": "ExternalEndpoints", + "api-version": "2022-04-01", "endpointName": "azsmnet7187", - "api-version": "2022-04-01" + "endpointType": "ExternalEndpoints", + "profileName": "azsmnet6386", + "resourceGroupName": "azuresdkfornetautoresttrafficmanager1421", + "subscriptionId": "{subscription-id}" }, "responses": { "200": { "body": {} }, "204": {} - } + }, + "operationId": "Endpoints_Delete", + "title": "Endpoint-DELETE-External" } diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/Endpoint-GET-External-WithGeoMapping.json b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/Endpoint-GET-External-WithGeoMapping.json index d73e5d3ab922..0dd6703da0cd 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/Endpoint-GET-External-WithGeoMapping.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/Endpoint-GET-External-WithGeoMapping.json @@ -1,30 +1,32 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "azuresdkfornetautoresttrafficmanager2191", - "profileName": "azuresdkfornetautoresttrafficmanager8224", - "endpointType": "ExternalEndpoints", + "api-version": "2022-04-01", "endpointName": "My%20external%20endpoint", - "api-version": "2022-04-01" + "endpointType": "ExternalEndpoints", + "profileName": "azuresdkfornetautoresttrafficmanager8224", + "resourceGroupName": "azuresdkfornetautoresttrafficmanager2191", + "subscriptionId": "{subscription-id}" }, "responses": { "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager2191/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager8224/externalEndpoints/My external endpoint", "name": "My external endpoint", "type": "Microsoft.Network/trafficManagerProfiles/externalEndpoints", + "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager2191/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager8224/externalEndpoints/My external endpoint", "properties": { - "endpointStatus": "Enabled", "endpointMonitorStatus": "CheckingEndpoint", - "target": "foobar.contoso.com", - "weight": 1, - "priority": 1, + "endpointStatus": "Enabled", "geoMapping": [ "GEO-AS", "GEO-AF" - ] + ], + "priority": 1, + "target": "foobar.contoso.com", + "weight": 1 } } } - } + }, + "operationId": "Endpoints_Get", + "title": "Endpoint-GET-External-WithGeoMapping" } diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/Endpoint-GET-External-WithLocation.json b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/Endpoint-GET-External-WithLocation.json index 326334a24307..87b5e68857c2 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/Endpoint-GET-External-WithLocation.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/Endpoint-GET-External-WithLocation.json @@ -1,27 +1,29 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "azuresdkfornetautoresttrafficmanager1421", - "profileName": "azsmnet6386", - "endpointType": "ExternalEndpoints", + "api-version": "2022-04-01", "endpointName": "azsmnet7187", - "api-version": "2022-04-01" + "endpointType": "ExternalEndpoints", + "profileName": "azsmnet6386", + "resourceGroupName": "azuresdkfornetautoresttrafficmanager1421", + "subscriptionId": "{subscription-id}" }, "responses": { "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1421/providers/Microsoft.Network/trafficManagerProfiles/azsmnet6386/externalEndpoints/azsmnet7187", "name": "azsmnet7187", "type": "Microsoft.Network/trafficManagerProfiles/externalEndpoints", + "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1421/providers/Microsoft.Network/trafficManagerProfiles/azsmnet6386/externalEndpoints/azsmnet7187", "properties": { - "endpointStatus": "Enabled", + "endpointLocation": "North Europe", "endpointMonitorStatus": "CheckingEndpoint", - "target": "foobar.contoso.com", - "weight": 1, + "endpointStatus": "Enabled", "priority": 1, - "endpointLocation": "North Europe" + "target": "foobar.contoso.com", + "weight": 1 } } } - } + }, + "operationId": "Endpoints_Get", + "title": "Endpoint-GET-External-WithLocation" } diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/Endpoint-GET-External-WithSubnetMapping.json b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/Endpoint-GET-External-WithSubnetMapping.json index 7d6307fe3539..d628815b517d 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/Endpoint-GET-External-WithSubnetMapping.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/Endpoint-GET-External-WithSubnetMapping.json @@ -1,23 +1,21 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "azuresdkfornetautoresttrafficmanager2191", - "profileName": "azuresdkfornetautoresttrafficmanager8224", - "endpointType": "ExternalEndpoints", + "api-version": "2022-04-01", "endpointName": "My%20external%20endpoint", - "api-version": "2022-04-01" + "endpointType": "ExternalEndpoints", + "profileName": "azuresdkfornetautoresttrafficmanager8224", + "resourceGroupName": "azuresdkfornetautoresttrafficmanager2191", + "subscriptionId": "{subscription-id}" }, "responses": { "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager2191/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager8224/externalEndpoints/My external endpoint", "name": "My external endpoint", "type": "Microsoft.Network/trafficManagerProfiles/externalEndpoints", + "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager2191/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager8224/externalEndpoints/My external endpoint", "properties": { - "endpointStatus": "Enabled", "endpointMonitorStatus": "CheckingEndpoint", - "target": "foobar.contoso.com", - "weight": 1, + "endpointStatus": "Enabled", "priority": 1, "subnets": [ { @@ -28,9 +26,13 @@ "first": "25.26.27.28", "last": "29.30.31.32" } - ] + ], + "target": "foobar.contoso.com", + "weight": 1 } } } - } + }, + "operationId": "Endpoints_Get", + "title": "Endpoint-GET-External-WithSubnetMapping" } diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/Endpoint-PATCH-External-Target.json b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/Endpoint-PATCH-External-Target.json index 3388a5b13f75..640438399245 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/Endpoint-PATCH-External-Target.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/Endpoint-PATCH-External-Target.json @@ -1,35 +1,37 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "azuresdkfornetautoresttrafficmanager1421", - "profileName": "azsmnet6386", - "endpointType": "ExternalEndpoints", - "endpointName": "azsmnet7187", "api-version": "2022-04-01", + "endpointName": "azsmnet7187", + "endpointType": "ExternalEndpoints", "parameters": { - "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1421/providers/Microsoft.Network/trafficManagerProfiles/azsmnet6386/externalEndpoints/azsmnet7187", "name": "azsmnet7187", "type": "Microsoft.Network/trafficManagerProfiles/externalEndpoints", + "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1421/providers/Microsoft.Network/trafficManagerProfiles/azsmnet6386/externalEndpoints/azsmnet7187", "properties": { "target": "another.foobar.contoso.com" } - } + }, + "profileName": "azsmnet6386", + "resourceGroupName": "azuresdkfornetautoresttrafficmanager1421", + "subscriptionId": "{subscription-id}" }, "responses": { "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1421/providers/Microsoft.Network/trafficManagerProfiles/azsmnet6386/externalEndpoints/azsmnet7187", "name": "azsmnet7187", "type": "Microsoft.Network/trafficManagerProfiles/externalEndpoints", + "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1421/providers/Microsoft.Network/trafficManagerProfiles/azsmnet6386/externalEndpoints/azsmnet7187", "properties": { - "endpointStatus": "Enabled", + "endpointLocation": "North Europe", "endpointMonitorStatus": "CheckingEndpoint", - "target": "another.foobar.contoso.com", - "weight": 1, + "endpointStatus": "Enabled", "priority": 1, - "endpointLocation": "North Europe" + "target": "another.foobar.contoso.com", + "weight": 1 } } } - } + }, + "operationId": "Endpoints_Update", + "title": "Endpoint-PATCH-External-Target" } diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/Endpoint-PUT-External-WithAlwaysServe.json b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/Endpoint-PUT-External-WithAlwaysServe.json index 044320a25bda..224d54df389e 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/Endpoint-PUT-External-WithAlwaysServe.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/Endpoint-PUT-External-WithAlwaysServe.json @@ -1,54 +1,56 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "azuresdkfornetautoresttrafficmanager1421", - "profileName": "azsmnet6386", - "endpointType": "ExternalEndpoints", - "endpointName": "azsmnet7187", "api-version": "2022-04-01", + "endpointName": "azsmnet7187", + "endpointType": "ExternalEndpoints", "parameters": { "name": "azsmnet7187", "type": "Microsoft.network/TrafficManagerProfiles/ExternalEndpoints", "properties": { - "target": "foobar.contoso.com", - "endpointStatus": "Enabled", + "alwaysServe": "Enabled", "endpointLocation": "North Europe", - "alwaysServe": "Enabled" + "endpointStatus": "Enabled", + "target": "foobar.contoso.com" } - } + }, + "profileName": "azsmnet6386", + "resourceGroupName": "azuresdkfornetautoresttrafficmanager1421", + "subscriptionId": "{subscription-id}" }, "responses": { - "201": { + "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1421/providers/Microsoft.Network/trafficManagerProfiles/azsmnet6386/externalEndpoints/azsmnet7187", "name": "azsmnet7187", "type": "Microsoft.Network/trafficManagerProfiles/externalEndpoints", + "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1421/providers/Microsoft.Network/trafficManagerProfiles/azsmnet6386/externalEndpoints/azsmnet7187", "properties": { - "endpointStatus": "Enabled", + "alwaysServe": "Enabled", + "endpointLocation": "North Europe", "endpointMonitorStatus": "CheckingEndpoint", - "target": "foobar.contoso.com", - "weight": 1, + "endpointStatus": "Enabled", "priority": 1, - "endpointLocation": "North Europe", - "alwaysServe": "Enabled" + "target": "foobar.contoso.com", + "weight": 1 } } }, - "200": { + "201": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1421/providers/Microsoft.Network/trafficManagerProfiles/azsmnet6386/externalEndpoints/azsmnet7187", "name": "azsmnet7187", "type": "Microsoft.Network/trafficManagerProfiles/externalEndpoints", + "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1421/providers/Microsoft.Network/trafficManagerProfiles/azsmnet6386/externalEndpoints/azsmnet7187", "properties": { - "endpointStatus": "Enabled", + "alwaysServe": "Enabled", + "endpointLocation": "North Europe", "endpointMonitorStatus": "CheckingEndpoint", - "target": "foobar.contoso.com", - "weight": 1, + "endpointStatus": "Enabled", "priority": 1, - "endpointLocation": "North Europe", - "alwaysServe": "Enabled" + "target": "foobar.contoso.com", + "weight": 1 } } } - } + }, + "operationId": "Endpoints_CreateOrUpdate", + "title": "Endpoint-PUT-External-WithAlwaysServe" } diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/Endpoint-PUT-External-WithCustomHeaders.json b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/Endpoint-PUT-External-WithCustomHeaders.json index 2bbaa0daef92..6fb10ff482e6 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/Endpoint-PUT-External-WithCustomHeaders.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/Endpoint-PUT-External-WithCustomHeaders.json @@ -1,18 +1,12 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "azuresdkfornetautoresttrafficmanager1421", - "profileName": "azsmnet6386", - "endpointType": "ExternalEndpoints", - "endpointName": "azsmnet7187", "api-version": "2022-04-01", + "endpointName": "azsmnet7187", + "endpointType": "ExternalEndpoints", "parameters": { "name": "azsmnet7187", "type": "Microsoft.network/TrafficManagerProfiles/ExternalEndpoints", "properties": { - "target": "foobar.contoso.com", - "endpointStatus": "Enabled", - "endpointLocation": "North Europe", "customHeaders": [ { "name": "header-1", @@ -22,23 +16,23 @@ "name": "header-2", "value": "value-2" } - ] + ], + "endpointLocation": "North Europe", + "endpointStatus": "Enabled", + "target": "foobar.contoso.com" } - } + }, + "profileName": "azsmnet6386", + "resourceGroupName": "azuresdkfornetautoresttrafficmanager1421", + "subscriptionId": "{subscription-id}" }, "responses": { - "201": { + "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1421/providers/Microsoft.Network/trafficManagerProfiles/azsmnet6386/externalEndpoints/azsmnet7187", "name": "azsmnet7187", "type": "Microsoft.Network/trafficManagerProfiles/externalEndpoints", + "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1421/providers/Microsoft.Network/trafficManagerProfiles/azsmnet6386/externalEndpoints/azsmnet7187", "properties": { - "endpointStatus": "Enabled", - "endpointMonitorStatus": "CheckingEndpoint", - "target": "foobar.contoso.com", - "weight": 1, - "priority": 1, - "endpointLocation": "North Europe", "customHeaders": [ { "name": "header-1", @@ -48,22 +42,22 @@ "name": "header-2", "value": "value-2" } - ] + ], + "endpointLocation": "North Europe", + "endpointMonitorStatus": "CheckingEndpoint", + "endpointStatus": "Enabled", + "priority": 1, + "target": "foobar.contoso.com", + "weight": 1 } } }, - "200": { + "201": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1421/providers/Microsoft.Network/trafficManagerProfiles/azsmnet6386/externalEndpoints/azsmnet7187", "name": "azsmnet7187", "type": "Microsoft.Network/trafficManagerProfiles/externalEndpoints", + "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1421/providers/Microsoft.Network/trafficManagerProfiles/azsmnet6386/externalEndpoints/azsmnet7187", "properties": { - "endpointStatus": "Enabled", - "endpointMonitorStatus": "CheckingEndpoint", - "target": "foobar.contoso.com", - "weight": 1, - "priority": 1, - "endpointLocation": "North Europe", "customHeaders": [ { "name": "header-1", @@ -73,9 +67,17 @@ "name": "header-2", "value": "value-2" } - ] + ], + "endpointLocation": "North Europe", + "endpointMonitorStatus": "CheckingEndpoint", + "endpointStatus": "Enabled", + "priority": 1, + "target": "foobar.contoso.com", + "weight": 1 } } } - } + }, + "operationId": "Endpoints_CreateOrUpdate", + "title": "Endpoint-PUT-External-WithCustomHeaders" } diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/Endpoint-PUT-External-WithGeoMapping.json b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/Endpoint-PUT-External-WithGeoMapping.json index 7ceb8b01afcc..30d753558011 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/Endpoint-PUT-External-WithGeoMapping.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/Endpoint-PUT-External-WithGeoMapping.json @@ -1,60 +1,62 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "azuresdkfornetautoresttrafficmanager2191", - "profileName": "azuresdkfornetautoresttrafficmanager8224", - "endpointType": "ExternalEndpoints", - "endpointName": "My%20external%20endpoint", "api-version": "2022-04-01", + "endpointName": "My%20external%20endpoint", + "endpointType": "ExternalEndpoints", "parameters": { "name": "My external endpoint", "type": "Microsoft.network/TrafficManagerProfiles/ExternalEndpoints", "properties": { - "target": "foobar.contoso.com", "endpointStatus": "Enabled", "geoMapping": [ "GEO-AS", "GEO-AF" - ] + ], + "target": "foobar.contoso.com" } - } + }, + "profileName": "azuresdkfornetautoresttrafficmanager8224", + "resourceGroupName": "azuresdkfornetautoresttrafficmanager2191", + "subscriptionId": "{subscription-id}" }, "responses": { - "201": { + "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager2191/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager8224/externalEndpoints/My external endpoint", "name": "My external endpoint", "type": "Microsoft.Network/trafficManagerProfiles/externalEndpoints", + "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager2191/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager8224/externalEndpoints/My external endpoint", "properties": { - "endpointStatus": "Enabled", "endpointMonitorStatus": "CheckingEndpoint", - "target": "foobar.contoso.com", - "weight": 1, - "priority": 1, + "endpointStatus": "Enabled", "geoMapping": [ "GEO-AS", "GEO-AF" - ] + ], + "priority": 1, + "target": "foobar.contoso.com", + "weight": 1 } } }, - "200": { + "201": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager2191/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager8224/externalEndpoints/My external endpoint", "name": "My external endpoint", "type": "Microsoft.Network/trafficManagerProfiles/externalEndpoints", + "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager2191/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager8224/externalEndpoints/My external endpoint", "properties": { - "endpointStatus": "Enabled", "endpointMonitorStatus": "CheckingEndpoint", - "target": "foobar.contoso.com", - "weight": 1, - "priority": 1, + "endpointStatus": "Enabled", "geoMapping": [ "GEO-AS", "GEO-AF" - ] + ], + "priority": 1, + "target": "foobar.contoso.com", + "weight": 1 } } } - } + }, + "operationId": "Endpoints_CreateOrUpdate", + "title": "Endpoint-PUT-External-WithGeoMapping" } diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/Endpoint-PUT-External-WithLocation.json b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/Endpoint-PUT-External-WithLocation.json index f60f44ac3a77..b1526ff04fe8 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/Endpoint-PUT-External-WithLocation.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/Endpoint-PUT-External-WithLocation.json @@ -1,51 +1,53 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "azuresdkfornetautoresttrafficmanager1421", - "profileName": "azsmnet6386", - "endpointType": "ExternalEndpoints", - "endpointName": "azsmnet7187", "api-version": "2022-04-01", + "endpointName": "azsmnet7187", + "endpointType": "ExternalEndpoints", "parameters": { "name": "azsmnet7187", "type": "Microsoft.network/TrafficManagerProfiles/ExternalEndpoints", "properties": { - "target": "foobar.contoso.com", + "endpointLocation": "North Europe", "endpointStatus": "Enabled", - "endpointLocation": "North Europe" + "target": "foobar.contoso.com" } - } + }, + "profileName": "azsmnet6386", + "resourceGroupName": "azuresdkfornetautoresttrafficmanager1421", + "subscriptionId": "{subscription-id}" }, "responses": { - "201": { + "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1421/providers/Microsoft.Network/trafficManagerProfiles/azsmnet6386/externalEndpoints/azsmnet7187", "name": "azsmnet7187", "type": "Microsoft.Network/trafficManagerProfiles/externalEndpoints", + "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1421/providers/Microsoft.Network/trafficManagerProfiles/azsmnet6386/externalEndpoints/azsmnet7187", "properties": { - "endpointStatus": "Enabled", + "endpointLocation": "North Europe", "endpointMonitorStatus": "CheckingEndpoint", - "target": "foobar.contoso.com", - "weight": 1, + "endpointStatus": "Enabled", "priority": 1, - "endpointLocation": "North Europe" + "target": "foobar.contoso.com", + "weight": 1 } } }, - "200": { + "201": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1421/providers/Microsoft.Network/trafficManagerProfiles/azsmnet6386/externalEndpoints/azsmnet7187", "name": "azsmnet7187", "type": "Microsoft.Network/trafficManagerProfiles/externalEndpoints", + "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1421/providers/Microsoft.Network/trafficManagerProfiles/azsmnet6386/externalEndpoints/azsmnet7187", "properties": { - "endpointStatus": "Enabled", + "endpointLocation": "North Europe", "endpointMonitorStatus": "CheckingEndpoint", - "target": "foobar.contoso.com", - "weight": 1, + "endpointStatus": "Enabled", "priority": 1, - "endpointLocation": "North Europe" + "target": "foobar.contoso.com", + "weight": 1 } } } - } + }, + "operationId": "Endpoints_CreateOrUpdate", + "title": "Endpoint-PUT-External-WithLocation" } diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/Endpoint-PUT-External-WithSubnetMapping.json b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/Endpoint-PUT-External-WithSubnetMapping.json index 837d36a9313c..3f2a26b380c2 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/Endpoint-PUT-External-WithSubnetMapping.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/Endpoint-PUT-External-WithSubnetMapping.json @@ -1,16 +1,12 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "azuresdkfornetautoresttrafficmanager2191", - "profileName": "azuresdkfornetautoresttrafficmanager8224", - "endpointType": "ExternalEndpoints", - "endpointName": "My%20external%20endpoint", "api-version": "2022-04-01", + "endpointName": "My%20external%20endpoint", + "endpointType": "ExternalEndpoints", "parameters": { "name": "My external endpoint", "type": "Microsoft.network/TrafficManagerProfiles/ExternalEndpoints", "properties": { - "target": "foobar.contoso.com", "endpointStatus": "Enabled", "subnets": [ { @@ -21,21 +17,23 @@ "first": "25.26.27.28", "last": "29.30.31.32" } - ] + ], + "target": "foobar.contoso.com" } - } + }, + "profileName": "azuresdkfornetautoresttrafficmanager8224", + "resourceGroupName": "azuresdkfornetautoresttrafficmanager2191", + "subscriptionId": "{subscription-id}" }, "responses": { - "201": { + "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager2191/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager8224/externalEndpoints/My external endpoint", "name": "My external endpoint", "type": "Microsoft.Network/trafficManagerProfiles/externalEndpoints", + "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager2191/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager8224/externalEndpoints/My external endpoint", "properties": { - "endpointStatus": "Enabled", "endpointMonitorStatus": "CheckingEndpoint", - "target": "foobar.contoso.com", - "weight": 1, + "endpointStatus": "Enabled", "priority": 1, "subnets": [ { @@ -46,20 +44,20 @@ "first": "25.26.27.28", "last": "29.30.31.32" } - ] + ], + "target": "foobar.contoso.com", + "weight": 1 } } }, - "200": { + "201": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager2191/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager8224/externalEndpoints/My external endpoint", "name": "My external endpoint", "type": "Microsoft.Network/trafficManagerProfiles/externalEndpoints", + "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager2191/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager8224/externalEndpoints/My external endpoint", "properties": { - "endpointStatus": "Enabled", "endpointMonitorStatus": "CheckingEndpoint", - "target": "foobar.contoso.com", - "weight": 1, + "endpointStatus": "Enabled", "priority": 1, "subnets": [ { @@ -70,9 +68,13 @@ "first": "25.26.27.28", "last": "29.30.31.32" } - ] + ], + "target": "foobar.contoso.com", + "weight": 1 } } } - } + }, + "operationId": "Endpoints_CreateOrUpdate", + "title": "Endpoint-PUT-External-WithSubnetMapping" } diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/GeographicHierarchy-GET-default.json b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/GeographicHierarchy-GET-default.json index 9b21bc3a8924..6f84198abd76 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/GeographicHierarchy-GET-default.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/GeographicHierarchy-GET-default.json @@ -5,48 +5,48 @@ "responses": { "200": { "body": { - "id": "/providers/Microsoft.Network/trafficManagerGeographicHierarchies/default", "name": "default", "type": "Microsoft.Network/trafficManagerGeographicHierarchies", + "id": "/providers/Microsoft.Network/trafficManagerGeographicHierarchies/default", "properties": { "geographicHierarchy": { - "code": "WORLD", "name": "World", + "code": "WORLD", "regions": [ { - "code": "GEO-ME", "name": "Middle East", + "code": "GEO-ME", "regions": [ { - "code": "AE", "name": "United Arab Emirates", + "code": "AE", "regions": [] } ] }, { - "code": "GEO-AP", "name": "Australia / Pacific", + "code": "GEO-AP", "regions": [ { - "code": "AU", "name": "Australia", + "code": "AU", "regions": [ { - "code": "AU-ACT", "name": "Australian Capital Territory", + "code": "AU-ACT", "regions": [] }, { - "code": "AU-NSW", "name": "New South Wales", + "code": "AU-NSW", "regions": [] } ] }, { - "code": "CK", "name": "Cook Islands", + "code": "CK", "regions": [] } ] @@ -56,5 +56,7 @@ } } } - } + }, + "operationId": "GeographicHierarchies_GetDefault", + "title": "GeographicHierarchy-GET-default" } diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/HeatMap-GET-With-Null-Values.json b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/HeatMap-GET-With-Null-Values.json index 3a8940f55561..f104fd9a57a6 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/HeatMap-GET-With-Null-Values.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/HeatMap-GET-With-Null-Values.json @@ -1,19 +1,18 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "azuresdkfornetautoresttrafficmanager1323", - "profileName": "azuresdkfornetautoresttrafficmanager3880", + "api-version": "2022-04-01", "heatMapType": "default", - "api-version": "2022-04-01" + "profileName": "azuresdkfornetautoresttrafficmanager3880", + "resourceGroupName": "azuresdkfornetautoresttrafficmanager1323", + "subscriptionId": "{subscription-id}" }, "responses": { "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1323/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager3880/heatMaps/default", "name": "default", "type": "Microsoft.Network/trafficManagerProfiles/heatMaps/default", + "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1323/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager3880/heatMaps/default", "properties": { - "startTime": "2017-08-15T12:00:00Z", "endTime": "2017-08-22T12:50:00Z", "endpoints": [ { @@ -25,11 +24,11 @@ "resourceId": "/subscriptions/562d4115-c01e-4m67-9bbd-c11c2d58ad73/resourceGroups/azuresdkfornetautoresttrafficmanager1300/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager3885/externalEndpoints/azuresdkfornetautoresttrafficmanager3881" } ], + "startTime": "2017-08-15T12:00:00Z", "trafficFlows": [ { "latitude": 99.99, - "longitude": 0.00, - "sourceIp": "1.1.1.1", + "longitude": 0, "queryExperiences": [ { "endpointId": 0, @@ -41,12 +40,12 @@ "latency": 1, "queryCount": 1 } - ] + ], + "sourceIp": "1.1.1.1" }, { "latitude": 1.11, "longitude": -2.35, - "sourceIp": "2.255.1.1", "queryExperiences": [ { "endpointId": 0, @@ -57,11 +56,14 @@ "latency": 4.222, "queryCount": 500 } - ] + ], + "sourceIp": "2.255.1.1" } ] } } } - } + }, + "operationId": "HeatMap_Get", + "title": "HeatMap-GET-With-Null-Values" } diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/HeatMap-GET-With-TopLeft-BotRight.json b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/HeatMap-GET-With-TopLeft-BotRight.json index 287879fe8623..0b4a3dcd394f 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/HeatMap-GET-With-TopLeft-BotRight.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/HeatMap-GET-With-TopLeft-BotRight.json @@ -1,27 +1,26 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "azuresdkfornetautoresttrafficmanager1323", - "profileName": "azuresdkfornetautoresttrafficmanager3880", - "heatMapType": "default", - "topLeft": [ - 10.000, - 50.001 - ], + "api-version": "2022-04-01", "botRight": [ -50.001, - 80.000 + 80 ], - "api-version": "2022-04-01" + "heatMapType": "default", + "profileName": "azuresdkfornetautoresttrafficmanager3880", + "resourceGroupName": "azuresdkfornetautoresttrafficmanager1323", + "subscriptionId": "{subscription-id}", + "topLeft": [ + 10, + 50.001 + ] }, "responses": { "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1323/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager3880/heatMaps/latencyVolumeByLocation", "name": "default", "type": "Microsoft.Network/trafficManagerProfiles/heatMaps/latencyVolumeByLocation", + "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1323/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager3880/heatMaps/latencyVolumeByLocation", "properties": { - "startTime": "2017-08-15T12:00:00Z", "endTime": "2017-08-22T12:50:00Z", "endpoints": [ { @@ -33,11 +32,11 @@ "resourceId": "/subscriptions/562d4115-c01e-4m67-9bbd-c11c2d58ad73/resourceGroups/azuresdkfornetautoresttrafficmanager1300/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager3885/externalEndpoints/azuresdkfornetautoresttrafficmanager3881" } ], + "startTime": "2017-08-15T12:00:00Z", "trafficFlows": [ { "latitude": 9.99, "longitude": 75.01, - "sourceIp": "1.1.1.1", "queryExperiences": [ { "endpointId": 1, @@ -49,12 +48,12 @@ "latency": 1.222, "queryCount": 1 } - ] + ], + "sourceIp": "1.1.1.1" }, { "latitude": -49.99, - "longitude": 51.00, - "sourceIp": "2.255.1.1", + "longitude": 51, "queryExperiences": [ { "endpointId": 1, @@ -66,11 +65,14 @@ "latency": 4.222, "queryCount": 500 } - ] + ], + "sourceIp": "2.255.1.1" } ] } } } - } + }, + "operationId": "HeatMap_Get", + "title": "HeatMap-GET-With-TopLeft-BotRight" } diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/HeatMap-GET.json b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/HeatMap-GET.json index 1901e4b339d0..02fd2c11004a 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/HeatMap-GET.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/HeatMap-GET.json @@ -1,19 +1,18 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "azuresdkfornetautoresttrafficmanager1323", - "profileName": "azuresdkfornetautoresttrafficmanager3880", + "api-version": "2022-04-01", "heatMapType": "default", - "api-version": "2022-04-01" + "profileName": "azuresdkfornetautoresttrafficmanager3880", + "resourceGroupName": "azuresdkfornetautoresttrafficmanager1323", + "subscriptionId": "{subscription-id}" }, "responses": { "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1323/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager3880/heatMaps/latencyVolumeByLocation", "name": "default", "type": "Microsoft.Network/trafficManagerProfiles/heatMaps/latencyVolumeByLocation", + "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1323/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager3880/heatMaps/latencyVolumeByLocation", "properties": { - "startTime": "2017-08-15T12:00:00Z", "endTime": "2017-08-22T12:50:00Z", "endpoints": [ { @@ -25,11 +24,11 @@ "resourceId": "/subscriptions/562d4115-c01e-4m67-9bbd-c11c2d58ad73/resourceGroups/azuresdkfornetautoresttrafficmanager1300/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager3885/externalEndpoints/azuresdkfornetautoresttrafficmanager3881" } ], + "startTime": "2017-08-15T12:00:00Z", "trafficFlows": [ { "latitude": 99.99, - "longitude": 0.00, - "sourceIp": "1.1.1.1", + "longitude": 0, "queryExperiences": [ { "endpointId": 1, @@ -41,12 +40,12 @@ "latency": 1.222, "queryCount": 1 } - ] + ], + "sourceIp": "1.1.1.1" }, { "latitude": -99.99, - "longitude": 1.00, - "sourceIp": "2.255.1.1", + "longitude": 1, "queryExperiences": [ { "endpointId": 1, @@ -58,11 +57,14 @@ "latency": 4.222, "queryCount": 500 } - ] + ], + "sourceIp": "2.255.1.1" } ] } } } - } + }, + "operationId": "HeatMap_Get", + "title": "HeatMap-GET" } diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/NameAvailabilityTest_NameAvailable-POST-example-21.json b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/NameAvailabilityTest_NameAvailable-POST-example-21.json index 25a4094f60f5..3c01610f79cb 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/NameAvailabilityTest_NameAvailable-POST-example-21.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/NameAvailabilityTest_NameAvailable-POST-example-21.json @@ -14,5 +14,7 @@ "nameAvailable": true } } - } + }, + "operationId": "Profiles_CheckTrafficManagerRelativeDnsNameAvailability", + "title": "NameAvailabilityTest_NameAvailablePOST21" } diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/NameAvailabilityTest_NameNotAvailable-POST-example-23.json b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/NameAvailabilityTest_NameNotAvailable-POST-example-23.json index 9419a37f8049..19c22771d260 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/NameAvailabilityTest_NameNotAvailable-POST-example-23.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/NameAvailabilityTest_NameNotAvailable-POST-example-23.json @@ -11,10 +11,12 @@ "body": { "name": "azsmnet4696", "type": "Microsoft.Network/trafficManagerProfiles", + "message": "Domain name azsmnet4696.tmpreview.watmtest.azure-test.net already exists. Please choose a different DNS prefix.", "nameAvailable": false, - "reason": "AlreadyExists", - "message": "Domain name azsmnet4696.tmpreview.watmtest.azure-test.net already exists. Please choose a different DNS prefix." + "reason": "AlreadyExists" } } - } + }, + "operationId": "Profiles_CheckTrafficManagerRelativeDnsNameAvailability", + "title": "NameAvailabilityTest_NameNotAvailablePOST23" } diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/NameAvailabilityV2Test_NameAvailable-POST-example-21.json b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/NameAvailabilityV2Test_NameAvailable-POST-example-21.json index 5e79af991fa7..85ccef549d93 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/NameAvailabilityV2Test_NameAvailable-POST-example-21.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/NameAvailabilityV2Test_NameAvailable-POST-example-21.json @@ -1,11 +1,11 @@ { "parameters": { "api-version": "2022-04-01", - "subscriptionId": "{subscription-id}", "parameters": { "name": "azsmnet5403", "type": "microsoft.network/trafficmanagerprofiles" - } + }, + "subscriptionId": "{subscription-id}" }, "responses": { "200": { @@ -15,5 +15,7 @@ "nameAvailable": true } } - } + }, + "operationId": "Profiles_checkTrafficManagerNameAvailabilityV2", + "title": "NameAvailabilityV2Test_NameAvailablePOST21" } diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/NameAvailabilityV2Test_NameNotAvailable-POST-example-23.json b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/NameAvailabilityV2Test_NameNotAvailable-POST-example-23.json index b48e38867402..9305307684bf 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/NameAvailabilityV2Test_NameNotAvailable-POST-example-23.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/NameAvailabilityV2Test_NameNotAvailable-POST-example-23.json @@ -1,21 +1,23 @@ { "parameters": { "api-version": "2022-04-01", - "subscriptionId": "{subscription-id}", "parameters": { "name": "azsmnet4696", "type": "microsoft.network/trafficmanagerprofiles" - } + }, + "subscriptionId": "{subscription-id}" }, "responses": { "200": { "body": { "name": "azsmnet4696", "type": "Microsoft.Network/trafficManagerProfiles", + "message": "Domain name azsmnet4696.tmpreview.watmtest.azure-test.net already exists. Please choose a different DNS prefix.", "nameAvailable": false, - "reason": "AlreadyExists", - "message": "Domain name azsmnet4696.tmpreview.watmtest.azure-test.net already exists. Please choose a different DNS prefix." + "reason": "AlreadyExists" } } - } + }, + "operationId": "Profiles_checkTrafficManagerNameAvailabilityV2", + "title": "NameAvailabilityV2Test_NameNotAvailablePOST23" } diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/Profile-DELETE.json b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/Profile-DELETE.json index 6a512202792c..86ae0c3b1652 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/Profile-DELETE.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/Profile-DELETE.json @@ -1,14 +1,16 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "azuresdkfornetautoresttrafficmanager1323", + "api-version": "2022-04-01", "profileName": "azuresdkfornetautoresttrafficmanager3880", - "api-version": "2022-04-01" + "resourceGroupName": "azuresdkfornetautoresttrafficmanager1323", + "subscriptionId": "{subscription-id}" }, "responses": { "200": { "body": {} }, "204": {} - } + }, + "operationId": "Profiles_Delete", + "title": "Profile-DELETE" } diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/Profile-GET-ByResourceGroup.json b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/Profile-GET-ByResourceGroup.json index feb86c1cf12b..01650a3aa72c 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/Profile-GET-ByResourceGroup.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/Profile-GET-ByResourceGroup.json @@ -1,95 +1,97 @@ { "parameters": { - "subscriptionId": "{subscription-id}", + "api-version": "2022-04-01", "resourceGroupName": "azuresdkfornetautoresttrafficmanager3640", - "api-version": "2022-04-01" + "subscriptionId": "{subscription-id}" }, "responses": { "200": { "body": { "value": [ { - "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager3640/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager1005", "name": "azuresdkfornetautoresttrafficmanager1005", "type": "Microsoft.Network/trafficManagerProfiles", + "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager3640/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager1005", "location": "global", - "tags": {}, "properties": { - "profileStatus": "Enabled", - "trafficRoutingMethod": "Performance", "dnsConfig": { - "relativeName": "azuresdkfornetautoresttrafficmanager1005", "fqdn": "azuresdkfornetautoresttrafficmanager1005.tmpreview.watmtest.azure-test.net", + "relativeName": "azuresdkfornetautoresttrafficmanager1005", "ttl": 35 }, - "monitorConfig": { - "profileMonitorStatus": "Online", - "protocol": "HTTP", - "port": 80, - "path": "/testpath.aspx", - "intervalInSeconds": 30, - "toleratedNumberOfFailures": 3, - "timeoutInSeconds": 10 - }, "endpoints": [ { - "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager3640/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager1005/externalEndpoints/My external endpoint", "name": "My external endpoint", "type": "Microsoft.Network/trafficManagerProfiles/externalEndpoints", + "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager3640/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager1005/externalEndpoints/My external endpoint", "properties": { - "endpointStatus": "Enabled", + "endpointLocation": "North Europe", "endpointMonitorStatus": "CheckingEndpoint", - "target": "foobar.contoso.com", - "weight": 1, + "endpointStatus": "Enabled", "priority": 1, - "endpointLocation": "North Europe" + "target": "foobar.contoso.com", + "weight": 1 } } - ] - } + ], + "monitorConfig": { + "path": "/testpath.aspx", + "intervalInSeconds": 30, + "port": 80, + "profileMonitorStatus": "Online", + "timeoutInSeconds": 10, + "toleratedNumberOfFailures": 3, + "protocol": "HTTP" + }, + "profileStatus": "Enabled", + "trafficRoutingMethod": "Performance" + }, + "tags": {} }, { - "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager3640/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager959", "name": "azuresdkfornetautoresttrafficmanager959", "type": "Microsoft.Network/trafficManagerProfiles", + "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager3640/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager959", "location": "global", - "tags": {}, "properties": { - "profileStatus": "Enabled", - "trafficRoutingMethod": "Performance", "dnsConfig": { - "relativeName": "azuresdkfornetautoresttrafficmanager959", "fqdn": "azuresdkfornetautoresttrafficmanager959.tmpreview.watmtest.azure-test.net", + "relativeName": "azuresdkfornetautoresttrafficmanager959", "ttl": 35 }, - "monitorConfig": { - "profileMonitorStatus": "Online", - "protocol": "HTTP", - "port": 80, - "path": "/testpath.aspx", - "intervalInSeconds": 30, - "toleratedNumberOfFailures": 3, - "timeoutInSeconds": 10 - }, "endpoints": [ { - "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager3640/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager959/externalEndpoints/My external endpoint", "name": "My external endpoint", "type": "Microsoft.Network/trafficManagerProfiles/externalEndpoints", + "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager3640/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager959/externalEndpoints/My external endpoint", "properties": { - "endpointStatus": "Enabled", + "endpointLocation": "North Europe", "endpointMonitorStatus": "Online", - "target": "foobar.contoso.com", - "weight": 1, + "endpointStatus": "Enabled", "priority": 1, - "endpointLocation": "North Europe" + "target": "foobar.contoso.com", + "weight": 1 } } - ] - } + ], + "monitorConfig": { + "path": "/testpath.aspx", + "intervalInSeconds": 30, + "port": 80, + "profileMonitorStatus": "Online", + "timeoutInSeconds": 10, + "toleratedNumberOfFailures": 3, + "protocol": "HTTP" + }, + "profileStatus": "Enabled", + "trafficRoutingMethod": "Performance" + }, + "tags": {} } ] } } - } + }, + "operationId": "Profiles_ListByResourceGroup", + "title": "ListProfilesByResourceGroup" } diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/Profile-GET-BySubscription.json b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/Profile-GET-BySubscription.json index 0246761854af..8523a500d6df 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/Profile-GET-BySubscription.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/Profile-GET-BySubscription.json @@ -1,122 +1,124 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "api-version": "2022-04-01" + "api-version": "2022-04-01", + "subscriptionId": "{subscription-id}" }, "responses": { "200": { "body": { "value": [ { - "id": "/subscriptions/{subscription-id}/resourceGroups/azsmnet1719/providers/Microsoft.Network/trafficManagerProfiles/azsmnet5183", "name": "azsmnet5183", "type": "Microsoft.Network/trafficManagerProfiles", + "id": "/subscriptions/{subscription-id}/resourceGroups/azsmnet1719/providers/Microsoft.Network/trafficManagerProfiles/azsmnet5183", "location": "global", - "tags": {}, "properties": { - "profileStatus": "Enabled", - "trafficRoutingMethod": "Performance", "dnsConfig": { - "relativeName": "azsmnet4696", "fqdn": "azsmnet4696.tmpreview.watmtest.azure-test.net", + "relativeName": "azsmnet4696", "ttl": 35 }, + "endpoints": [], "monitorConfig": { - "profileMonitorStatus": "Online", - "protocol": "HTTP", - "port": 80, "path": "/testpath.aspx", "intervalInSeconds": 30, + "port": 80, + "profileMonitorStatus": "Online", + "timeoutInSeconds": 10, "toleratedNumberOfFailures": 3, - "timeoutInSeconds": 10 + "protocol": "HTTP" }, - "endpoints": [] - } + "profileStatus": "Enabled", + "trafficRoutingMethod": "Performance" + }, + "tags": {} }, { - "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager5168/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager3440", "name": "azuresdkfornetautoresttrafficmanager3440", "type": "Microsoft.Network/trafficManagerProfiles", + "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager5168/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager3440", "location": "global", - "tags": {}, "properties": { - "profileStatus": "Enabled", - "trafficRoutingMethod": "Performance", "dnsConfig": { - "relativeName": "azuresdkfornetautoresttrafficmanager3440", "fqdn": "azuresdkfornetautoresttrafficmanager3440.tmpreview.watmtest.azure-test.net", + "relativeName": "azuresdkfornetautoresttrafficmanager3440", "ttl": 35 }, - "monitorConfig": { - "profileMonitorStatus": "Online", - "protocol": "HTTP", - "port": 80, - "path": "/testpath.aspx", - "intervalInSeconds": 30, - "toleratedNumberOfFailures": 3, - "timeoutInSeconds": 10 - }, "endpoints": [ { - "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager5168/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager3440/externalEndpoints/My external endpoint", "name": "My external endpoint", "type": "Microsoft.Network/trafficManagerProfiles/externalEndpoints", + "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager5168/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager3440/externalEndpoints/My external endpoint", "properties": { - "endpointStatus": "Enabled", + "endpointLocation": "North Europe", "endpointMonitorStatus": "Online", - "target": "foobar.contoso.com", - "weight": 1, + "endpointStatus": "Enabled", "priority": 1, - "endpointLocation": "North Europe" + "target": "foobar.contoso.com", + "weight": 1 } } - ] - } + ], + "monitorConfig": { + "path": "/testpath.aspx", + "intervalInSeconds": 30, + "port": 80, + "profileMonitorStatus": "Online", + "timeoutInSeconds": 10, + "toleratedNumberOfFailures": 3, + "protocol": "HTTP" + }, + "profileStatus": "Enabled", + "trafficRoutingMethod": "Performance" + }, + "tags": {} }, { - "id": "/subscriptions/{subscription-id}/resourceGroups/onesdk9785/providers/Microsoft.Network/trafficManagerProfiles/onesdk8819", "name": "onesdk8819", "type": "Microsoft.Network/trafficManagerProfiles", + "id": "/subscriptions/{subscription-id}/resourceGroups/onesdk9785/providers/Microsoft.Network/trafficManagerProfiles/onesdk8819", "location": "global", - "tags": {}, "properties": { - "profileStatus": "Enabled", - "trafficRoutingMethod": "Performance", "dnsConfig": { - "relativeName": "onesdk7242", "fqdn": "onesdk7242.tmpreview.watmtest.azure-test.net", + "relativeName": "onesdk7242", "ttl": 51 }, - "monitorConfig": { - "profileMonitorStatus": "Online", - "protocol": "HTTPS", - "port": 111, - "path": "/testparent.asp", - "intervalInSeconds": 30, - "toleratedNumberOfFailures": 3, - "timeoutInSeconds": 10 - }, "endpoints": [ { - "id": "/subscriptions/{subscription-id}/resourceGroups/onesdk9785/providers/Microsoft.Network/trafficManagerProfiles/onesdk8819/nestedEndpoints/MyNestedEndpoint", "name": "MyNestedEndpoint", "type": "Microsoft.Network/trafficManagerProfiles/nestedEndpoints", + "id": "/subscriptions/{subscription-id}/resourceGroups/onesdk9785/providers/Microsoft.Network/trafficManagerProfiles/onesdk8819/nestedEndpoints/MyNestedEndpoint", "properties": { - "endpointStatus": "Enabled", + "endpointLocation": "West Europe", "endpointMonitorStatus": "Stopped", - "targetResourceId": "/subscriptions/{subscription-id}/resourceGroups/onesdk9785/providers/Microsoft.Network/trafficManagerProfiles/onesdk1792", - "target": "onesdk4285.tmpreview.watmtest.azure-test.net", - "weight": 1, + "endpointStatus": "Enabled", + "minChildEndpoints": 1, "priority": 1, - "endpointLocation": "West Europe", - "minChildEndpoints": 1 + "target": "onesdk4285.tmpreview.watmtest.azure-test.net", + "targetResourceId": "/subscriptions/{subscription-id}/resourceGroups/onesdk9785/providers/Microsoft.Network/trafficManagerProfiles/onesdk1792", + "weight": 1 } } - ] - } + ], + "monitorConfig": { + "path": "/testparent.asp", + "intervalInSeconds": 30, + "port": 111, + "profileMonitorStatus": "Online", + "timeoutInSeconds": 10, + "toleratedNumberOfFailures": 3, + "protocol": "HTTPS" + }, + "profileStatus": "Enabled", + "trafficRoutingMethod": "Performance" + }, + "tags": {} } ] } } - } + }, + "operationId": "Profiles_ListBySubscription", + "title": "ListBySubscription" } diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/Profile-GET-WithEndpoints.json b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/Profile-GET-WithEndpoints.json index d173a46c9f6f..ce1d6147b8c3 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/Profile-GET-WithEndpoints.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/Profile-GET-WithEndpoints.json @@ -1,52 +1,54 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "azuresdkfornetautoresttrafficmanager1323", + "api-version": "2022-04-01", "profileName": "azuresdkfornetautoresttrafficmanager3880", - "api-version": "2022-04-01" + "resourceGroupName": "azuresdkfornetautoresttrafficmanager1323", + "subscriptionId": "{subscription-id}" }, "responses": { "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1323/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager3880", "name": "azuresdkfornetautoresttrafficmanager3880", "type": "Microsoft.Network/trafficManagerProfiles", + "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1323/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager3880", "location": "global", - "tags": {}, "properties": { - "profileStatus": "Enabled", - "trafficRoutingMethod": "Performance", "dnsConfig": { - "relativeName": "azuresdkfornetautoresttrafficmanager3880", "fqdn": "azuresdkfornetautoresttrafficmanager3880.tmpreview.watmtest.azure-test.net", + "relativeName": "azuresdkfornetautoresttrafficmanager3880", "ttl": 35 }, - "monitorConfig": { - "profileMonitorStatus": "CheckingEndpoints", - "protocol": "HTTP", - "port": 80, - "path": "/testpath.aspx", - "intervalInSeconds": 30, - "toleratedNumberOfFailures": 3, - "timeoutInSeconds": 10 - }, "endpoints": [ { - "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1323/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager3880/externalEndpoints/My external endpoint", "name": "My external endpoint", "type": "Microsoft.Network/trafficManagerProfiles/externalEndpoints", + "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1323/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager3880/externalEndpoints/My external endpoint", "properties": { - "endpointStatus": "Enabled", + "endpointLocation": "North Europe", "endpointMonitorStatus": "CheckingEndpoint", - "target": "foobar.contoso.com", - "weight": 1, + "endpointStatus": "Enabled", "priority": 1, - "endpointLocation": "North Europe" + "target": "foobar.contoso.com", + "weight": 1 } } - ] - } + ], + "monitorConfig": { + "path": "/testpath.aspx", + "intervalInSeconds": 30, + "port": 80, + "profileMonitorStatus": "CheckingEndpoints", + "timeoutInSeconds": 10, + "toleratedNumberOfFailures": 3, + "protocol": "HTTP" + }, + "profileStatus": "Enabled", + "trafficRoutingMethod": "Performance" + }, + "tags": {} } } - } + }, + "operationId": "Profiles_Get", + "title": "Profile-GET-WithEndpoints" } diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/Profile-GET-WithTrafficViewDisabled.json b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/Profile-GET-WithTrafficViewDisabled.json index 0d1a709f4c59..d5e6eb064616 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/Profile-GET-WithTrafficViewDisabled.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/Profile-GET-WithTrafficViewDisabled.json @@ -1,53 +1,55 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "azuresdkfornetautoresttrafficmanager1323", + "api-version": "2022-04-01", "profileName": "azuresdkfornetautoresttrafficmanager3880", - "api-version": "2022-04-01" + "resourceGroupName": "azuresdkfornetautoresttrafficmanager1323", + "subscriptionId": "{subscription-id}" }, "responses": { "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1323/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager3880", "name": "azuresdkfornetautoresttrafficmanager3880", "type": "Microsoft.Network/trafficManagerProfiles", + "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1323/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager3880", "location": "global", - "tags": {}, "properties": { - "profileStatus": "Enabled", - "trafficRoutingMethod": "Performance", "dnsConfig": { - "relativeName": "azuresdkfornetautoresttrafficmanager3880", "fqdn": "azuresdkfornetautoresttrafficmanager3880.tmpreview.watmtest.azure-test.net", + "relativeName": "azuresdkfornetautoresttrafficmanager3880", "ttl": 35 }, - "monitorConfig": { - "profileMonitorStatus": "CheckingEndpoints", - "protocol": "HTTP", - "port": 80, - "path": "/testpath.aspx", - "intervalInSeconds": 30, - "toleratedNumberOfFailures": 3, - "timeoutInSeconds": 10 - }, "endpoints": [ { - "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1323/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager3880/externalEndpoints/My external endpoint", "name": "My external endpoint", "type": "Microsoft.Network/trafficManagerProfiles/externalEndpoints", + "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1323/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager3880/externalEndpoints/My external endpoint", "properties": { - "endpointStatus": "Enabled", + "endpointLocation": "North Europe", "endpointMonitorStatus": "CheckingEndpoint", - "target": "foobar.contoso.com", - "weight": 1, + "endpointStatus": "Enabled", "priority": 1, - "endpointLocation": "North Europe" + "target": "foobar.contoso.com", + "weight": 1 } } ], + "monitorConfig": { + "path": "/testpath.aspx", + "intervalInSeconds": 30, + "port": 80, + "profileMonitorStatus": "CheckingEndpoints", + "timeoutInSeconds": 10, + "toleratedNumberOfFailures": 3, + "protocol": "HTTP" + }, + "profileStatus": "Enabled", + "trafficRoutingMethod": "Performance", "trafficViewEnrollmentStatus": "Disabled" - } + }, + "tags": {} } } - } + }, + "operationId": "Profiles_Get", + "title": "Profile-GET-WithTrafficViewDisabled" } diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/Profile-GET-WithTrafficViewEnabled.json b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/Profile-GET-WithTrafficViewEnabled.json index 18babcaa3658..863fda913bcf 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/Profile-GET-WithTrafficViewEnabled.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/Profile-GET-WithTrafficViewEnabled.json @@ -1,53 +1,55 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "azuresdkfornetautoresttrafficmanager1323", + "api-version": "2022-04-01", "profileName": "azuresdkfornetautoresttrafficmanager3880", - "api-version": "2022-04-01" + "resourceGroupName": "azuresdkfornetautoresttrafficmanager1323", + "subscriptionId": "{subscription-id}" }, "responses": { "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1323/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager3880", "name": "azuresdkfornetautoresttrafficmanager3880", "type": "Microsoft.Network/trafficManagerProfiles", + "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1323/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager3880", "location": "global", - "tags": {}, "properties": { - "profileStatus": "Enabled", - "trafficRoutingMethod": "Performance", "dnsConfig": { - "relativeName": "azuresdkfornetautoresttrafficmanager3880", "fqdn": "azuresdkfornetautoresttrafficmanager3880.tmpreview.watmtest.azure-test.net", + "relativeName": "azuresdkfornetautoresttrafficmanager3880", "ttl": 35 }, - "monitorConfig": { - "profileMonitorStatus": "CheckingEndpoints", - "protocol": "HTTP", - "port": 80, - "path": "/testpath.aspx", - "intervalInSeconds": 30, - "toleratedNumberOfFailures": 3, - "timeoutInSeconds": 10 - }, "endpoints": [ { - "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1323/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager3880/externalEndpoints/My external endpoint", "name": "My external endpoint", "type": "Microsoft.Network/trafficManagerProfiles/externalEndpoints", + "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1323/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager3880/externalEndpoints/My external endpoint", "properties": { - "endpointStatus": "Enabled", + "endpointLocation": "North Europe", "endpointMonitorStatus": "CheckingEndpoint", - "target": "foobar.contoso.com", - "weight": 1, + "endpointStatus": "Enabled", "priority": 1, - "endpointLocation": "North Europe" + "target": "foobar.contoso.com", + "weight": 1 } } ], + "monitorConfig": { + "path": "/testpath.aspx", + "intervalInSeconds": 30, + "port": 80, + "profileMonitorStatus": "CheckingEndpoints", + "timeoutInSeconds": 10, + "toleratedNumberOfFailures": 3, + "protocol": "HTTP" + }, + "profileStatus": "Enabled", + "trafficRoutingMethod": "Performance", "trafficViewEnrollmentStatus": "Enabled" - } + }, + "tags": {} } } - } + }, + "operationId": "Profiles_Get", + "title": "Profile-GET-WithTrafficViewEnabled" } diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/Profile-PATCH-MonitorConfig.json b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/Profile-PATCH-MonitorConfig.json index bdefb0098e03..3fb0cd09b1f1 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/Profile-PATCH-MonitorConfig.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/Profile-PATCH-MonitorConfig.json @@ -1,18 +1,10 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "azuresdkfornetautoresttrafficmanager2583", - "profileName": "azuresdkfornetautoresttrafficmanager6192", "api-version": "2022-04-01", "parameters": { "properties": { "monitorConfig": { - "protocol": "HTTP", - "port": 80, "path": "/testpath.aspx", - "intervalInSeconds": 30, - "timeoutInSeconds": 6, - "toleratedNumberOfFailures": 4, "customHeaders": [ { "name": "header-1", @@ -22,35 +14,49 @@ "name": "header-2", "value": "value-2" } - ] + ], + "intervalInSeconds": 30, + "port": 80, + "timeoutInSeconds": 6, + "toleratedNumberOfFailures": 4, + "protocol": "HTTP" } } - } + }, + "profileName": "azuresdkfornetautoresttrafficmanager6192", + "resourceGroupName": "azuresdkfornetautoresttrafficmanager2583", + "subscriptionId": "{subscription-id}" }, "responses": { "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager2583/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager6192", "name": "azuresdkfornetautoresttrafficmanager6192", "type": "Microsoft.Network/trafficManagerProfiles", + "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager2583/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager6192", "location": "global", - "tags": {}, "properties": { - "profileStatus": "Enabled", - "trafficRoutingMethod": "Performance", "dnsConfig": { - "relativeName": "azuresdkfornetautoresttrafficmanager6192", "fqdn": "azuresdkfornetautoresttrafficmanager6192.tmpreview.watmtest.azure-test.net", + "relativeName": "azuresdkfornetautoresttrafficmanager6192", "ttl": 35 }, + "endpoints": [ + { + "name": "My external endpoint", + "type": "Microsoft.Network/trafficManagerProfiles/externalEndpoints", + "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager2583/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager6192/externalEndpoints/My external endpoint", + "properties": { + "endpointLocation": "North Europe", + "endpointMonitorStatus": "CheckingEndpoint", + "endpointStatus": "Enabled", + "priority": 1, + "target": "foobar.contoso.com", + "weight": 1 + } + } + ], "monitorConfig": { - "profileMonitorStatus": "CheckingEndpoints", - "protocol": "HTTP", - "port": 80, "path": "/testpath.aspx", - "intervalInSeconds": 30, - "toleratedNumberOfFailures": 4, - "timeoutInSeconds": 6, "customHeaders": [ { "name": "header-1", @@ -60,25 +66,21 @@ "name": "header-2", "value": "value-2" } - ] + ], + "intervalInSeconds": 30, + "port": 80, + "profileMonitorStatus": "CheckingEndpoints", + "timeoutInSeconds": 6, + "toleratedNumberOfFailures": 4, + "protocol": "HTTP" }, - "endpoints": [ - { - "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager2583/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager6192/externalEndpoints/My external endpoint", - "name": "My external endpoint", - "type": "Microsoft.Network/trafficManagerProfiles/externalEndpoints", - "properties": { - "endpointStatus": "Enabled", - "endpointMonitorStatus": "CheckingEndpoint", - "target": "foobar.contoso.com", - "weight": 1, - "priority": 1, - "endpointLocation": "North Europe" - } - } - ] - } + "profileStatus": "Enabled", + "trafficRoutingMethod": "Performance" + }, + "tags": {} } } - } + }, + "operationId": "Profiles_Update", + "title": "Profile-PATCH-MonitorConfig" } diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/Profile-PUT-MultiValue.json b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/Profile-PUT-MultiValue.json index dd36dffbac30..438618b0ec12 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/Profile-PUT-MultiValue.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/Profile-PUT-MultiValue.json @@ -1,86 +1,88 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "azuresdkfornetautoresttrafficmanager1421", - "profileName": "azsmnet6386", "api-version": "2022-04-01", "parameters": { + "location": "global", "properties": { - "profileStatus": "Enabled", - "trafficRoutingMethod": "MultiValue", "dnsConfig": { "relativeName": "azsmnet6386", "ttl": 35 }, + "maxReturn": 2, "monitorConfig": { - "protocol": "HTTP", + "path": "/testpath.aspx", "port": 80, - "path": "/testpath.aspx" + "protocol": "HTTP" }, - "trafficViewEnrollmentStatus": "Disabled", - "maxReturn": 2 - }, - "location": "global" - } + "profileStatus": "Enabled", + "trafficRoutingMethod": "MultiValue", + "trafficViewEnrollmentStatus": "Disabled" + } + }, + "profileName": "azsmnet6386", + "resourceGroupName": "azuresdkfornetautoresttrafficmanager1421", + "subscriptionId": "{subscription-id}" }, "responses": { - "201": { + "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1421/providers/Microsoft.Network/trafficManagerProfiles/azsmnet6386", "name": "azsmnet6386", "type": "Microsoft.Network/trafficManagerProfiles", + "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1421/providers/Microsoft.Network/trafficManagerProfiles/azsmnet6386", "location": "global", "properties": { - "profileStatus": "Enabled", - "trafficRoutingMethod": "MultiValue", "dnsConfig": { - "relativeName": "azsmnet6386", "fqdn": "azsmnet6386.tmpreview.watmtest.azure-test.net", + "relativeName": "azsmnet6386", "ttl": 35 }, + "endpoints": [], + "maxReturn": 2, "monitorConfig": { - "profileMonitorStatus": "Inactive", - "protocol": "HTTP", - "port": 80, "path": "/testpath.aspx", "intervalInSeconds": 30, + "port": 80, + "profileMonitorStatus": "Inactive", + "timeoutInSeconds": 10, "toleratedNumberOfFailures": 3, - "timeoutInSeconds": 10 + "protocol": "HTTP" }, - "trafficViewEnrollmentStatus": "Disabled", - "maxReturn": 2, - "endpoints": [] + "profileStatus": "Enabled", + "trafficRoutingMethod": "MultiValue", + "trafficViewEnrollmentStatus": "Disabled" } } }, - "200": { + "201": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1421/providers/Microsoft.Network/trafficManagerProfiles/azsmnet6386", "name": "azsmnet6386", "type": "Microsoft.Network/trafficManagerProfiles", + "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1421/providers/Microsoft.Network/trafficManagerProfiles/azsmnet6386", "location": "global", "properties": { - "profileStatus": "Enabled", - "trafficRoutingMethod": "MultiValue", "dnsConfig": { - "relativeName": "azsmnet6386", "fqdn": "azsmnet6386.tmpreview.watmtest.azure-test.net", + "relativeName": "azsmnet6386", "ttl": 35 }, + "endpoints": [], + "maxReturn": 2, "monitorConfig": { - "profileMonitorStatus": "Inactive", - "protocol": "HTTP", - "port": 80, "path": "/testpath.aspx", "intervalInSeconds": 30, + "port": 80, + "profileMonitorStatus": "Inactive", + "timeoutInSeconds": 10, "toleratedNumberOfFailures": 3, - "timeoutInSeconds": 10 + "protocol": "HTTP" }, - "trafficViewEnrollmentStatus": "Disabled", - "maxReturn": 2, - "endpoints": [] + "profileStatus": "Enabled", + "trafficRoutingMethod": "MultiValue", + "trafficViewEnrollmentStatus": "Disabled" } } } - } + }, + "operationId": "Profiles_CreateOrUpdate", + "title": "Profile-PUT-MultiValue" } diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/Profile-PUT-NoEndpoints.json b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/Profile-PUT-NoEndpoints.json index 965a8dbd4f7e..d22bf3c08646 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/Profile-PUT-NoEndpoints.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/Profile-PUT-NoEndpoints.json @@ -1,80 +1,82 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "azuresdkfornetautoresttrafficmanager1421", - "profileName": "azsmnet6386", "api-version": "2022-04-01", "parameters": { + "location": "global", "properties": { - "profileStatus": "Enabled", - "trafficRoutingMethod": "Performance", "dnsConfig": { "relativeName": "azsmnet6386", "ttl": 35 }, "monitorConfig": { - "protocol": "HTTP", + "path": "/testpath.aspx", "port": 80, - "path": "/testpath.aspx" - } - }, - "location": "global" - } + "protocol": "HTTP" + }, + "profileStatus": "Enabled", + "trafficRoutingMethod": "Performance" + } + }, + "profileName": "azsmnet6386", + "resourceGroupName": "azuresdkfornetautoresttrafficmanager1421", + "subscriptionId": "{subscription-id}" }, "responses": { - "201": { + "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1421/providers/Microsoft.Network/trafficManagerProfiles/azsmnet6386", "name": "azsmnet6386", "type": "Microsoft.Network/trafficManagerProfiles", + "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1421/providers/Microsoft.Network/trafficManagerProfiles/azsmnet6386", "location": "global", "properties": { - "profileStatus": "Enabled", - "trafficRoutingMethod": "Performance", "dnsConfig": { - "relativeName": "azsmnet6386", "fqdn": "azsmnet6386.tmpreview.watmtest.azure-test.net", + "relativeName": "azsmnet6386", "ttl": 35 }, + "endpoints": [], "monitorConfig": { - "profileMonitorStatus": "Inactive", - "protocol": "HTTP", - "port": 80, "path": "/testpath.aspx", "intervalInSeconds": 30, + "port": 80, + "profileMonitorStatus": "Inactive", + "timeoutInSeconds": 10, "toleratedNumberOfFailures": 3, - "timeoutInSeconds": 10 + "protocol": "HTTP" }, - "endpoints": [] + "profileStatus": "Enabled", + "trafficRoutingMethod": "Performance" } } }, - "200": { + "201": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1421/providers/Microsoft.Network/trafficManagerProfiles/azsmnet6386", "name": "azsmnet6386", "type": "Microsoft.Network/trafficManagerProfiles", + "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1421/providers/Microsoft.Network/trafficManagerProfiles/azsmnet6386", "location": "global", "properties": { - "profileStatus": "Enabled", - "trafficRoutingMethod": "Performance", "dnsConfig": { - "relativeName": "azsmnet6386", "fqdn": "azsmnet6386.tmpreview.watmtest.azure-test.net", + "relativeName": "azsmnet6386", "ttl": 35 }, + "endpoints": [], "monitorConfig": { - "profileMonitorStatus": "Inactive", - "protocol": "HTTP", - "port": 80, "path": "/testpath.aspx", "intervalInSeconds": 30, + "port": 80, + "profileMonitorStatus": "Inactive", + "timeoutInSeconds": 10, "toleratedNumberOfFailures": 3, - "timeoutInSeconds": 10 + "protocol": "HTTP" }, - "endpoints": [] + "profileStatus": "Enabled", + "trafficRoutingMethod": "Performance" } } } - } + }, + "operationId": "Profiles_CreateOrUpdate", + "title": "Profile-PUT-NoEndpoints" } diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/Profile-PUT-WithAliasing.json b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/Profile-PUT-WithAliasing.json index 742cd065c16d..0f54a0e8333c 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/Profile-PUT-WithAliasing.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/Profile-PUT-WithAliasing.json @@ -1,126 +1,82 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "azuresdkfornetautoresttrafficmanager2583", - "profileName": "azuresdkfornetautoresttrafficmanager6192", "api-version": "2022-04-01", "parameters": { + "location": "global", "properties": { - "profileStatus": "Enabled", - "trafficRoutingMethod": "Performance", + "allowedEndpointRecordTypes": [ + "DomainName" + ], "dnsConfig": { "relativeName": "azuresdkfornetautoresttrafficmanager6192", "ttl": 35 }, - "monitorConfig": { - "protocol": "HTTP", - "port": 80, - "path": "/testpath.aspx", - "intervalInSeconds": 10, - "timeoutInSeconds": 5, - "toleratedNumberOfFailures": 2 - }, - "allowedEndpointRecordTypes": [ - "DomainName" - ], "endpoints": [ { "name": "My external endpoint", "type": "Microsoft.network/TrafficManagerProfiles/ExternalEndpoints", "properties": { - "target": "foobar.contoso.com", + "endpointLocation": "North Europe", "endpointStatus": "Enabled", - "endpointLocation": "North Europe" + "target": "foobar.contoso.com" } } - ] - }, - "location": "global" - } + ], + "monitorConfig": { + "path": "/testpath.aspx", + "intervalInSeconds": 10, + "port": 80, + "timeoutInSeconds": 5, + "toleratedNumberOfFailures": 2, + "protocol": "HTTP" + }, + "profileStatus": "Enabled", + "trafficRoutingMethod": "Performance" + } + }, + "profileName": "azuresdkfornetautoresttrafficmanager6192", + "resourceGroupName": "azuresdkfornetautoresttrafficmanager2583", + "subscriptionId": "{subscription-id}" }, "responses": { - "201": { + "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager2583/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager6192", "name": "azuresdkfornetautoresttrafficmanager6192", "type": "Microsoft.Network/trafficManagerProfiles", + "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager2583/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager6192", "location": "global", "properties": { - "profileStatus": "Enabled", - "trafficRoutingMethod": "Performance", + "allowedEndpointRecordTypes": [ + "DomainName" + ], "dnsConfig": { - "relativeName": "azuresdkfornetautoresttrafficmanager6192", "fqdn": "azuresdkfornetautoresttrafficmanager6192.tmpreview.watmtest.azure-test.net", + "relativeName": "azuresdkfornetautoresttrafficmanager6192", "ttl": 35 }, - "monitorConfig": { - "profileMonitorStatus": "CheckingEndpoints", - "protocol": "HTTP", - "port": 80, - "path": "/testpath.aspx", - "intervalInSeconds": 10, - "toleratedNumberOfFailures": 2, - "timeoutInSeconds": 5, - "customHeaders": [ - { - "name": "header-1", - "value": "value-1" - }, - { - "name": "header-2", - "value": "value-2" - } - ] - }, - "allowedEndpointRecordTypes": [ - "DomainName" - ], "endpoints": [ { - "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager2583/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager6192/externalEndpoints/My external endpoint", "name": "My external endpoint", "type": "Microsoft.Network/trafficManagerProfiles/externalEndpoints", + "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager2583/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager6192/externalEndpoints/My external endpoint", "properties": { - "endpointStatus": "Enabled", - "endpointMonitorStatus": "CheckingEndpoint", - "target": "foobar.contoso.com", - "weight": 1, - "priority": 1, - "endpointLocation": "North Europe", "customHeaders": [ { "name": "header-2", "value": "value-2-overridden" } - ] + ], + "endpointLocation": "North Europe", + "endpointMonitorStatus": "CheckingEndpoint", + "endpointStatus": "Enabled", + "priority": 1, + "target": "foobar.contoso.com", + "weight": 1 } } - ] - } - } - }, - "200": { - "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager2583/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager6192", - "name": "azuresdkfornetautoresttrafficmanager6192", - "type": "Microsoft.Network/trafficManagerProfiles", - "location": "global", - "properties": { - "profileStatus": "Enabled", - "trafficRoutingMethod": "Performance", - "dnsConfig": { - "relativeName": "azuresdkfornetautoresttrafficmanager6192", - "fqdn": "azuresdkfornetautoresttrafficmanager6192.tmpreview.watmtest.azure-test.net", - "ttl": 35 - }, + ], "monitorConfig": { - "profileMonitorStatus": "CheckingEndpoints", - "protocol": "HTTP", - "port": 80, "path": "/testpath.aspx", - "intervalInSeconds": 10, - "toleratedNumberOfFailures": 2, - "timeoutInSeconds": 5, "customHeaders": [ { "name": "header-1", @@ -130,34 +86,80 @@ "name": "header-2", "value": "value-2" } - ] + ], + "intervalInSeconds": 10, + "port": 80, + "profileMonitorStatus": "CheckingEndpoints", + "timeoutInSeconds": 5, + "toleratedNumberOfFailures": 2, + "protocol": "HTTP" }, + "profileStatus": "Enabled", + "trafficRoutingMethod": "Performance" + } + } + }, + "201": { + "body": { + "name": "azuresdkfornetautoresttrafficmanager6192", + "type": "Microsoft.Network/trafficManagerProfiles", + "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager2583/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager6192", + "location": "global", + "properties": { "allowedEndpointRecordTypes": [ "DomainName" ], + "dnsConfig": { + "fqdn": "azuresdkfornetautoresttrafficmanager6192.tmpreview.watmtest.azure-test.net", + "relativeName": "azuresdkfornetautoresttrafficmanager6192", + "ttl": 35 + }, "endpoints": [ { - "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager2583/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager6192/externalEndpoints/My external endpoint", "name": "My external endpoint", "type": "Microsoft.Network/trafficManagerProfiles/externalEndpoints", + "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager2583/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager6192/externalEndpoints/My external endpoint", "properties": { - "endpointStatus": "Enabled", - "endpointMonitorStatus": "CheckingEndpoint", - "target": "foobar.contoso.com", - "weight": 1, - "priority": 1, - "endpointLocation": "North Europe", "customHeaders": [ { "name": "header-2", "value": "value-2-overridden" } - ] + ], + "endpointLocation": "North Europe", + "endpointMonitorStatus": "CheckingEndpoint", + "endpointStatus": "Enabled", + "priority": 1, + "target": "foobar.contoso.com", + "weight": 1 } } - ] + ], + "monitorConfig": { + "path": "/testpath.aspx", + "customHeaders": [ + { + "name": "header-1", + "value": "value-1" + }, + { + "name": "header-2", + "value": "value-2" + } + ], + "intervalInSeconds": 10, + "port": 80, + "profileMonitorStatus": "CheckingEndpoints", + "timeoutInSeconds": 5, + "toleratedNumberOfFailures": 2, + "protocol": "HTTP" + }, + "profileStatus": "Enabled", + "trafficRoutingMethod": "Performance" } } } - } + }, + "operationId": "Profiles_CreateOrUpdate", + "title": "Profile-PUT-WithAliasing" } diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/Profile-PUT-WithCustomHeaders.json b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/Profile-PUT-WithCustomHeaders.json index 9ff450c5bd28..57e0fb89a67e 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/Profile-PUT-WithCustomHeaders.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/Profile-PUT-WithCustomHeaders.json @@ -1,24 +1,32 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "azuresdkfornetautoresttrafficmanager2583", - "profileName": "azuresdkfornetautoresttrafficmanager6192", "api-version": "2022-04-01", "parameters": { + "location": "global", "properties": { - "profileStatus": "Enabled", - "trafficRoutingMethod": "Performance", "dnsConfig": { "relativeName": "azuresdkfornetautoresttrafficmanager6192", "ttl": 35 }, + "endpoints": [ + { + "name": "My external endpoint", + "type": "Microsoft.network/TrafficManagerProfiles/ExternalEndpoints", + "properties": { + "customHeaders": [ + { + "name": "header-2", + "value": "value-2-overridden" + } + ], + "endpointLocation": "North Europe", + "endpointStatus": "Enabled", + "target": "foobar.contoso.com" + } + } + ], "monitorConfig": { - "protocol": "HTTP", - "port": 80, "path": "/testpath.aspx", - "intervalInSeconds": 10, - "timeoutInSeconds": 5, - "toleratedNumberOfFailures": 2, "customHeaders": [ { "name": "header-1", @@ -31,118 +39,65 @@ ], "expectedStatusCodeRanges": [ { - "min": 200, - "max": 205 + "max": 205, + "min": 200 }, { - "min": 400, - "max": 410 + "max": 410, + "min": 400 } - ] + ], + "intervalInSeconds": 10, + "port": 80, + "timeoutInSeconds": 5, + "toleratedNumberOfFailures": 2, + "protocol": "HTTP" }, - "trafficViewEnrollmentStatus": "Disabled", - "endpoints": [ - { - "name": "My external endpoint", - "type": "Microsoft.network/TrafficManagerProfiles/ExternalEndpoints", - "properties": { - "target": "foobar.contoso.com", - "endpointStatus": "Enabled", - "endpointLocation": "North Europe", - "customHeaders": [ - { - "name": "header-2", - "value": "value-2-overridden" - } - ] - } - } - ] - }, - "location": "global" - } + "profileStatus": "Enabled", + "trafficRoutingMethod": "Performance", + "trafficViewEnrollmentStatus": "Disabled" + } + }, + "profileName": "azuresdkfornetautoresttrafficmanager6192", + "resourceGroupName": "azuresdkfornetautoresttrafficmanager2583", + "subscriptionId": "{subscription-id}" }, "responses": { - "201": { + "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager2583/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager6192", "name": "azuresdkfornetautoresttrafficmanager6192", "type": "Microsoft.Network/trafficManagerProfiles", + "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager2583/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager6192", "location": "global", "properties": { - "profileStatus": "Enabled", - "trafficRoutingMethod": "Performance", "dnsConfig": { - "relativeName": "azuresdkfornetautoresttrafficmanager6192", "fqdn": "azuresdkfornetautoresttrafficmanager6192.tmpreview.watmtest.azure-test.net", + "relativeName": "azuresdkfornetautoresttrafficmanager6192", "ttl": 35 }, - "monitorConfig": { - "profileMonitorStatus": "CheckingEndpoints", - "protocol": "HTTP", - "port": 80, - "path": "/testpath.aspx", - "intervalInSeconds": 10, - "toleratedNumberOfFailures": 2, - "timeoutInSeconds": 5, - "customHeaders": [ - { - "name": "header-1", - "value": "value-1" - }, - { - "name": "header-2", - "value": "value-2" - } - ] - }, - "trafficViewEnrollmentStatus": "Disabled", "endpoints": [ { - "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager2583/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager6192/externalEndpoints/My external endpoint", "name": "My external endpoint", "type": "Microsoft.Network/trafficManagerProfiles/externalEndpoints", + "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager2583/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager6192/externalEndpoints/My external endpoint", "properties": { - "endpointStatus": "Enabled", - "endpointMonitorStatus": "CheckingEndpoint", - "target": "foobar.contoso.com", - "weight": 1, - "priority": 1, - "endpointLocation": "North Europe", "customHeaders": [ { "name": "header-2", "value": "value-2-overridden" } - ] + ], + "endpointLocation": "North Europe", + "endpointMonitorStatus": "CheckingEndpoint", + "endpointStatus": "Enabled", + "priority": 1, + "target": "foobar.contoso.com", + "weight": 1 } } - ] - } - } - }, - "200": { - "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager2583/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager6192", - "name": "azuresdkfornetautoresttrafficmanager6192", - "type": "Microsoft.Network/trafficManagerProfiles", - "location": "global", - "properties": { - "profileStatus": "Enabled", - "trafficRoutingMethod": "Performance", - "dnsConfig": { - "relativeName": "azuresdkfornetautoresttrafficmanager6192", - "fqdn": "azuresdkfornetautoresttrafficmanager6192.tmpreview.watmtest.azure-test.net", - "ttl": 35 - }, + ], "monitorConfig": { - "profileMonitorStatus": "CheckingEndpoints", - "protocol": "HTTP", - "port": 80, "path": "/testpath.aspx", - "intervalInSeconds": 10, - "toleratedNumberOfFailures": 2, - "timeoutInSeconds": 5, "customHeaders": [ { "name": "header-1", @@ -152,32 +107,79 @@ "name": "header-2", "value": "value-2" } - ] + ], + "intervalInSeconds": 10, + "port": 80, + "profileMonitorStatus": "CheckingEndpoints", + "timeoutInSeconds": 5, + "toleratedNumberOfFailures": 2, + "protocol": "HTTP" + }, + "profileStatus": "Enabled", + "trafficRoutingMethod": "Performance", + "trafficViewEnrollmentStatus": "Disabled" + } + } + }, + "201": { + "body": { + "name": "azuresdkfornetautoresttrafficmanager6192", + "type": "Microsoft.Network/trafficManagerProfiles", + "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager2583/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager6192", + "location": "global", + "properties": { + "dnsConfig": { + "fqdn": "azuresdkfornetautoresttrafficmanager6192.tmpreview.watmtest.azure-test.net", + "relativeName": "azuresdkfornetautoresttrafficmanager6192", + "ttl": 35 }, - "trafficViewEnrollmentStatus": "Disabled", "endpoints": [ { - "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager2583/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager6192/externalEndpoints/My external endpoint", "name": "My external endpoint", "type": "Microsoft.Network/trafficManagerProfiles/externalEndpoints", + "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager2583/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager6192/externalEndpoints/My external endpoint", "properties": { - "endpointStatus": "Enabled", - "endpointMonitorStatus": "CheckingEndpoint", - "target": "foobar.contoso.com", - "weight": 1, - "priority": 1, - "endpointLocation": "North Europe", "customHeaders": [ { "name": "header-2", "value": "value-2-overridden" } - ] + ], + "endpointLocation": "North Europe", + "endpointMonitorStatus": "CheckingEndpoint", + "endpointStatus": "Enabled", + "priority": 1, + "target": "foobar.contoso.com", + "weight": 1 } } - ] + ], + "monitorConfig": { + "path": "/testpath.aspx", + "customHeaders": [ + { + "name": "header-1", + "value": "value-1" + }, + { + "name": "header-2", + "value": "value-2" + } + ], + "intervalInSeconds": 10, + "port": 80, + "profileMonitorStatus": "CheckingEndpoints", + "timeoutInSeconds": 5, + "toleratedNumberOfFailures": 2, + "protocol": "HTTP" + }, + "profileStatus": "Enabled", + "trafficRoutingMethod": "Performance", + "trafficViewEnrollmentStatus": "Disabled" } } } - } + }, + "operationId": "Profiles_CreateOrUpdate", + "title": "Profile-PUT-WithCustomHeaders" } diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/Profile-PUT-WithEndpoints.json b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/Profile-PUT-WithEndpoints.json index 4e570a8a972c..dc7d4ed689c1 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/Profile-PUT-WithEndpoints.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/Profile-PUT-WithEndpoints.json @@ -1,122 +1,124 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "azuresdkfornetautoresttrafficmanager2583", - "profileName": "azuresdkfornetautoresttrafficmanager6192", "api-version": "2022-04-01", "parameters": { + "location": "global", "properties": { - "profileStatus": "Enabled", - "trafficRoutingMethod": "Performance", "dnsConfig": { "relativeName": "azuresdkfornetautoresttrafficmanager6192", "ttl": 35 }, - "monitorConfig": { - "protocol": "HTTP", - "port": 80, - "path": "/testpath.aspx", - "intervalInSeconds": 10, - "timeoutInSeconds": 5, - "toleratedNumberOfFailures": 2 - }, "endpoints": [ { "name": "My external endpoint", "type": "Microsoft.network/TrafficManagerProfiles/ExternalEndpoints", "properties": { - "target": "foobar.contoso.com", + "endpointLocation": "North Europe", "endpointStatus": "Enabled", - "endpointLocation": "North Europe" + "target": "foobar.contoso.com" } } - ] - }, - "location": "global" - } + ], + "monitorConfig": { + "path": "/testpath.aspx", + "intervalInSeconds": 10, + "port": 80, + "timeoutInSeconds": 5, + "toleratedNumberOfFailures": 2, + "protocol": "HTTP" + }, + "profileStatus": "Enabled", + "trafficRoutingMethod": "Performance" + } + }, + "profileName": "azuresdkfornetautoresttrafficmanager6192", + "resourceGroupName": "azuresdkfornetautoresttrafficmanager2583", + "subscriptionId": "{subscription-id}" }, "responses": { - "201": { + "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager2583/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager6192", "name": "azuresdkfornetautoresttrafficmanager6192", "type": "Microsoft.Network/trafficManagerProfiles", + "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager2583/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager6192", "location": "global", "properties": { - "profileStatus": "Enabled", - "trafficRoutingMethod": "Performance", "dnsConfig": { - "relativeName": "azuresdkfornetautoresttrafficmanager6192", "fqdn": "azuresdkfornetautoresttrafficmanager6192.tmpreview.watmtest.azure-test.net", + "relativeName": "azuresdkfornetautoresttrafficmanager6192", "ttl": 35 }, - "monitorConfig": { - "profileMonitorStatus": "CheckingEndpoints", - "protocol": "HTTP", - "port": 80, - "path": "/testpath.aspx", - "intervalInSeconds": 10, - "toleratedNumberOfFailures": 2, - "timeoutInSeconds": 5 - }, "endpoints": [ { - "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager2583/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager6192/externalEndpoints/My external endpoint", "name": "My external endpoint", "type": "Microsoft.Network/trafficManagerProfiles/externalEndpoints", + "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager2583/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager6192/externalEndpoints/My external endpoint", "properties": { - "endpointStatus": "Enabled", + "endpointLocation": "North Europe", "endpointMonitorStatus": "CheckingEndpoint", - "target": "foobar.contoso.com", - "weight": 1, + "endpointStatus": "Enabled", "priority": 1, - "endpointLocation": "North Europe" + "target": "foobar.contoso.com", + "weight": 1 } } - ] + ], + "monitorConfig": { + "path": "/testpath.aspx", + "intervalInSeconds": 10, + "port": 80, + "profileMonitorStatus": "CheckingEndpoints", + "timeoutInSeconds": 5, + "toleratedNumberOfFailures": 2, + "protocol": "HTTP" + }, + "profileStatus": "Enabled", + "trafficRoutingMethod": "Performance" } } }, - "200": { + "201": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager2583/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager6192", "name": "azuresdkfornetautoresttrafficmanager6192", "type": "Microsoft.Network/trafficManagerProfiles", + "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager2583/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager6192", "location": "global", "properties": { - "profileStatus": "Enabled", - "trafficRoutingMethod": "Performance", "dnsConfig": { - "relativeName": "azuresdkfornetautoresttrafficmanager6192", "fqdn": "azuresdkfornetautoresttrafficmanager6192.tmpreview.watmtest.azure-test.net", + "relativeName": "azuresdkfornetautoresttrafficmanager6192", "ttl": 35 }, - "monitorConfig": { - "profileMonitorStatus": "CheckingEndpoints", - "protocol": "HTTP", - "port": 80, - "path": "/testpath.aspx", - "intervalInSeconds": 10, - "toleratedNumberOfFailures": 2, - "timeoutInSeconds": 5 - }, "endpoints": [ { - "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager2583/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager6192/externalEndpoints/My external endpoint", "name": "My external endpoint", "type": "Microsoft.Network/trafficManagerProfiles/externalEndpoints", + "id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager2583/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager6192/externalEndpoints/My external endpoint", "properties": { - "endpointStatus": "Enabled", + "endpointLocation": "North Europe", "endpointMonitorStatus": "CheckingEndpoint", - "target": "foobar.contoso.com", - "weight": 1, + "endpointStatus": "Enabled", "priority": 1, - "endpointLocation": "North Europe" + "target": "foobar.contoso.com", + "weight": 1 } } - ] + ], + "monitorConfig": { + "path": "/testpath.aspx", + "intervalInSeconds": 10, + "port": 80, + "profileMonitorStatus": "CheckingEndpoints", + "timeoutInSeconds": 5, + "toleratedNumberOfFailures": 2, + "protocol": "HTTP" + }, + "profileStatus": "Enabled", + "trafficRoutingMethod": "Performance" } } } - } + }, + "operationId": "Profiles_CreateOrUpdate", + "title": "Profile-PUT-WithEndpoints" } diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/Profile-PUT-WithNestedEndpoints.json b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/Profile-PUT-WithNestedEndpoints.json index 2bdcff76a956..b56be4adcfde 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/Profile-PUT-WithNestedEndpoints.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/Profile-PUT-WithNestedEndpoints.json @@ -1,173 +1,175 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "myresourcegroup", - "profileName": "parentprofile", "api-version": "2022-04-01", "parameters": { + "location": "global", "properties": { - "profileStatus": "Enabled", - "trafficRoutingMethod": "Priority", "dnsConfig": { "relativeName": "parentprofile", "ttl": 35 }, - "monitorConfig": { - "protocol": "HTTP", - "port": 80, - "path": "/testpath.aspx", - "intervalInSeconds": 10, - "timeoutInSeconds": 5, - "toleratedNumberOfFailures": 2 - }, "endpoints": [ { "name": "MyFirstNestedEndpoint", "type": "Microsoft.Network/trafficManagerProfiles/nestedEndpoints", "properties": { - "target": "firstnestedprofile.tmpreview.watmtest.azure-test.net", "endpointStatus": "Enabled", - "weight": 1, - "priority": 1, "minChildEndpoints": 2, "minChildEndpointsIPv4": 1, - "minChildEndpointsIPv6": 2 + "minChildEndpointsIPv6": 2, + "priority": 1, + "target": "firstnestedprofile.tmpreview.watmtest.azure-test.net", + "weight": 1 } }, { "name": "MySecondNestedEndpoint", "type": "Microsoft.Network/trafficManagerProfiles/nestedEndpoints", "properties": { - "target": "secondnestedprofile.tmpreview.watmtest.azure-test.net", "endpointStatus": "Enabled", - "weight": 1, - "priority": 2, "minChildEndpoints": 2, "minChildEndpointsIPv4": 2, - "minChildEndpointsIPv6": 1 + "minChildEndpointsIPv6": 1, + "priority": 2, + "target": "secondnestedprofile.tmpreview.watmtest.azure-test.net", + "weight": 1 } } - ] - }, - "location": "global" - } + ], + "monitorConfig": { + "path": "/testpath.aspx", + "intervalInSeconds": 10, + "port": 80, + "timeoutInSeconds": 5, + "toleratedNumberOfFailures": 2, + "protocol": "HTTP" + }, + "profileStatus": "Enabled", + "trafficRoutingMethod": "Priority" + } + }, + "profileName": "parentprofile", + "resourceGroupName": "myresourcegroup", + "subscriptionId": "{subscription-id}" }, "responses": { - "201": { + "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/myresourcegroup/providers/Microsoft.Network/trafficManagerProfiles/parentprofile", "name": "parentprofile", "type": "Microsoft.Network/trafficManagerProfiles", + "id": "/subscriptions/{subscription-id}/resourceGroups/myresourcegroup/providers/Microsoft.Network/trafficManagerProfiles/parentprofile", "location": "global", "properties": { - "profileStatus": "Enabled", - "trafficRoutingMethod": "Priority", "dnsConfig": { - "relativeName": "parentprofile", "fqdn": "parentprofile.tmpreview.watmtest.azure-test.net", + "relativeName": "parentprofile", "ttl": 35 }, - "monitorConfig": { - "profileMonitorStatus": "CheckingEndpoints", - "protocol": "HTTP", - "port": 80, - "path": "/testpath.aspx", - "intervalInSeconds": 10, - "toleratedNumberOfFailures": 2, - "timeoutInSeconds": 5 - }, "endpoints": [ { - "id": "/subscriptions/{subscription-id}/resourceGroups/myresourcegroup/providers/Microsoft.Network/trafficManagerProfiles/parentprofile/nestedEndpoints/MyFirstNestedEndpoint", "name": "MyFirstNestedEndpoint", "type": "Microsoft.Network/trafficManagerProfiles/nestedEndpoints", + "id": "/subscriptions/{subscription-id}/resourceGroups/myresourcegroup/providers/Microsoft.Network/trafficManagerProfiles/parentprofile/nestedEndpoints/MyFirstNestedEndpoint", "properties": { - "endpointStatus": "Enabled", "endpointMonitorStatus": "CheckingEndpoint", - "target": "firstnestedprofile.tmpreview.watmtest.azure-test.net", - "weight": 1, - "priority": 1, + "endpointStatus": "Enabled", "minChildEndpoints": 2, "minChildEndpointsIPv4": 1, - "minChildEndpointsIPv6": 2 + "minChildEndpointsIPv6": 2, + "priority": 1, + "target": "firstnestedprofile.tmpreview.watmtest.azure-test.net", + "weight": 1 } }, { - "id": "/subscriptions/{subscription-id}/resourceGroups/myresourcegroup/providers/Microsoft.Network/trafficManagerProfiles/parentprofile/nestedEndpoints/MySecondNestedEndpoint", "name": "MySecondNestedEndpoint", "type": "Microsoft.Network/trafficManagerProfiles/nestedEndpoints", + "id": "/subscriptions/{subscription-id}/resourceGroups/myresourcegroup/providers/Microsoft.Network/trafficManagerProfiles/parentprofile/nestedEndpoints/MySecondNestedEndpoint", "properties": { - "endpointStatus": "Enabled", "endpointMonitorStatus": "CheckingEndpoint", - "target": "secondnestedprofile.tmpreview.watmtest.azure-test.net", - "weight": 1, - "priority": 1, + "endpointStatus": "Enabled", "minChildEndpoints": 2, "minChildEndpointsIPv4": 2, - "minChildEndpointsIPv6": 1 + "minChildEndpointsIPv6": 1, + "priority": 1, + "target": "secondnestedprofile.tmpreview.watmtest.azure-test.net", + "weight": 1 } } - ] + ], + "monitorConfig": { + "path": "/testpath.aspx", + "intervalInSeconds": 10, + "port": 80, + "profileMonitorStatus": "CheckingEndpoints", + "timeoutInSeconds": 5, + "toleratedNumberOfFailures": 2, + "protocol": "HTTP" + }, + "profileStatus": "Enabled", + "trafficRoutingMethod": "Priority" } } }, - "200": { + "201": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/myresourcegroup/providers/Microsoft.Network/trafficManagerProfiles/parentprofile", "name": "parentprofile", "type": "Microsoft.Network/trafficManagerProfiles", + "id": "/subscriptions/{subscription-id}/resourceGroups/myresourcegroup/providers/Microsoft.Network/trafficManagerProfiles/parentprofile", "location": "global", "properties": { - "profileStatus": "Enabled", - "trafficRoutingMethod": "Priority", "dnsConfig": { - "relativeName": "parentprofile", "fqdn": "parentprofile.tmpreview.watmtest.azure-test.net", + "relativeName": "parentprofile", "ttl": 35 }, - "monitorConfig": { - "profileMonitorStatus": "CheckingEndpoints", - "protocol": "HTTP", - "port": 80, - "path": "/testpath.aspx", - "intervalInSeconds": 10, - "toleratedNumberOfFailures": 2, - "timeoutInSeconds": 5 - }, "endpoints": [ { - "id": "/subscriptions/{subscription-id}/resourceGroups/myresourcegroup/providers/Microsoft.Network/trafficManagerProfiles/parentprofile/nestedEndpoints/MyFirstNestedEndpoint", "name": "MyFirstNestedEndpoint", "type": "Microsoft.Network/trafficManagerProfiles/nestedEndpoints", + "id": "/subscriptions/{subscription-id}/resourceGroups/myresourcegroup/providers/Microsoft.Network/trafficManagerProfiles/parentprofile/nestedEndpoints/MyFirstNestedEndpoint", "properties": { - "endpointStatus": "Enabled", "endpointMonitorStatus": "CheckingEndpoint", - "target": "firstnestedprofile.tmpreview.watmtest.azure-test.net", - "weight": 1, - "priority": 1, + "endpointStatus": "Enabled", "minChildEndpoints": 2, "minChildEndpointsIPv4": 1, - "minChildEndpointsIPv6": 2 + "minChildEndpointsIPv6": 2, + "priority": 1, + "target": "firstnestedprofile.tmpreview.watmtest.azure-test.net", + "weight": 1 } }, { - "id": "/subscriptions/{subscription-id}/resourceGroups/myresourcegroup/providers/Microsoft.Network/trafficManagerProfiles/parentprofile/nestedEndpoints/MySecondNestedEndpoint", "name": "MySecondNestedEndpoint", "type": "Microsoft.Network/trafficManagerProfiles/nestedEndpoints", + "id": "/subscriptions/{subscription-id}/resourceGroups/myresourcegroup/providers/Microsoft.Network/trafficManagerProfiles/parentprofile/nestedEndpoints/MySecondNestedEndpoint", "properties": { - "endpointStatus": "Enabled", "endpointMonitorStatus": "CheckingEndpoint", - "target": "secondnestedprofile.tmpreview.watmtest.azure-test.net", - "weight": 1, - "priority": 1, + "endpointStatus": "Enabled", "minChildEndpoints": 2, "minChildEndpointsIPv4": 2, - "minChildEndpointsIPv6": 1 + "minChildEndpointsIPv6": 1, + "priority": 1, + "target": "secondnestedprofile.tmpreview.watmtest.azure-test.net", + "weight": 1 } } - ] + ], + "monitorConfig": { + "path": "/testpath.aspx", + "intervalInSeconds": 10, + "port": 80, + "profileMonitorStatus": "CheckingEndpoints", + "timeoutInSeconds": 5, + "toleratedNumberOfFailures": 2, + "protocol": "HTTP" + }, + "profileStatus": "Enabled", + "trafficRoutingMethod": "Priority" } } } - } + }, + "operationId": "Profiles_CreateOrUpdate", + "title": "Profile-PUT-WithNestedEndpoints" } diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/TrafficManagerUserMetricsKeys-DELETE.json b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/TrafficManagerUserMetricsKeys-DELETE.json index d70aabb6ec1f..20658256d8be 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/TrafficManagerUserMetricsKeys-DELETE.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/TrafficManagerUserMetricsKeys-DELETE.json @@ -1,11 +1,13 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "api-version": "2022-04-01" + "api-version": "2022-04-01", + "subscriptionId": "{subscription-id}" }, "responses": { "200": { "body": {} } - } + }, + "operationId": "TrafficManagerUserMetricsKeys_Delete", + "title": "TrafficManagerUserMetricsKeys-DELETE" } diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/TrafficManagerUserMetricsKeys-GET.json b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/TrafficManagerUserMetricsKeys-GET.json index ff537e57863c..f72639a77d39 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/TrafficManagerUserMetricsKeys-GET.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/TrafficManagerUserMetricsKeys-GET.json @@ -1,18 +1,20 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "api-version": "2022-04-01" + "api-version": "2022-04-01", + "subscriptionId": "{subscription-id}" }, "responses": { "200": { "body": { - "id": "/providers/Microsoft.Network/trafficManagerUserMetricsKeys/default", "name": "default", "type": "Microsoft.Network/trafficManagerUserMetricsKeys", + "id": "/providers/Microsoft.Network/trafficManagerUserMetricsKeys/default", "properties": { "key": "9ea056eb38f145a0891b5d5dc15e9aa2" } } } - } + }, + "operationId": "TrafficManagerUserMetricsKeys_Get", + "title": "TrafficManagerUserMetricsKeys-GET" } diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/TrafficManagerUserMetricsKeys-PUT.json b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/TrafficManagerUserMetricsKeys-PUT.json index 3bc3e600dc34..71ff8a5f0848 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/TrafficManagerUserMetricsKeys-PUT.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/examples/TrafficManagerUserMetricsKeys-PUT.json @@ -1,18 +1,20 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "api-version": "2022-04-01" + "api-version": "2022-04-01", + "subscriptionId": "{subscription-id}" }, "responses": { "201": { "body": { - "id": "/providers/Microsoft.Network/trafficManagerUserMetricsKeys/default", "name": "default", "type": "Microsoft.Network/trafficManagerUserMetricsKeys", + "id": "/providers/Microsoft.Network/trafficManagerUserMetricsKeys/default", "properties": { "key": "9ea056eb38f145a0891b5d5dc15e9aa2" } } } - } + }, + "operationId": "TrafficManagerUserMetricsKeys_CreateOrUpdate", + "title": "TrafficManagerUserMetricsKeys-PUT" } diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/trafficmanager.json b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/trafficmanager.json index 23b1cc548122..d7b9a06bcfe4 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/trafficmanager.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/stable/2022-04-01/trafficmanager.json @@ -2,136 +2,181 @@ "swagger": "2.0", "info": { "title": "TrafficManagerManagementClient", - "version": "2022-04-01" + "version": "2022-04-01", + "x-typespec-generated": [ + { + "emitter": "@azure-tools/typespec-autorest" + } + ] }, - "host": "management.azure.com", "schemes": [ "https" ], - "consumes": [ + "host": "management.azure.com", + "produces": [ "application/json" ], - "produces": [ + "consumes": [ "application/json" ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "description": "Azure Active Directory OAuth2 Flow.", + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "tags": [ + { + "name": "Profiles" + }, + { + "name": "TrafficManagerGeographicHierarchies" + }, + { + "name": "UserMetricsModels" + } + ], "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}/{endpointType}/{endpointName}": { - "patch": { - "tags": [ - "Endpoints" - ], - "operationId": "Endpoints_Update", - "description": "Update a Traffic Manager endpoint.", + "/providers/Microsoft.Network/checkTrafficManagerNameAvailability": { + "post": { + "operationId": "Profiles_CheckTrafficManagerRelativeDnsNameAvailability", + "description": "Checks the availability of a Traffic Manager Relative DNS name.", "parameters": [ { - "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "profileName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the Traffic Manager profile." - }, - { - "name": "endpointType", - "in": "path", - "required": true, - "type": "string", - "description": "The type of the Traffic Manager endpoint to be updated.", - "enum": [ - "AzureEndpoints", - "ExternalEndpoints", - "NestedEndpoints" - ], - "x-ms-enum": { - "name": "EndpointType", - "modelAsString": false - } - }, - { - "name": "endpointName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the Traffic Manager endpoint to be updated." + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { "name": "parameters", "in": "body", + "description": "The request body", "required": true, "schema": { - "$ref": "#/definitions/Endpoint" - }, - "description": "The Traffic Manager endpoint parameters supplied to the Update operation." - }, - { - "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "#/definitions/CheckTrafficManagerRelativeDnsNameAvailabilityParameters" + } } ], "responses": { "200": { - "description": "The updated Traffic Manager endpoint.", + "description": "The request has succeeded.", "schema": { - "$ref": "#/definitions/Endpoint" + "$ref": "#/definitions/TrafficManagerNameAvailability" } }, "default": { - "description": "Default response. It will be deserialized as per the Error definition.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, "x-ms-examples": { - "Endpoint-PATCH-External-Target": { - "$ref": "./examples/Endpoint-PATCH-External-Target.json" + "NameAvailabilityTest_NameAvailablePOST21": { + "$ref": "./examples/NameAvailabilityTest_NameAvailable-POST-example-21.json" + }, + "NameAvailabilityTest_NameNotAvailablePOST23": { + "$ref": "./examples/NameAvailabilityTest_NameNotAvailable-POST-example-23.json" } } - }, + } + }, + "/providers/Microsoft.Network/trafficManagerGeographicHierarchies/default": { "get": { + "operationId": "GeographicHierarchies_GetDefault", "tags": [ - "Endpoints" + "TrafficManagerGeographicHierarchies" ], - "operationId": "Endpoints_Get", - "description": "Gets a Traffic Manager endpoint.", + "description": "Gets the default Geographic Hierarchy used by the Geographic traffic routing method.", "parameters": [ { - "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/TrafficManagerGeographicHierarchy" + } }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "GeographicHierarchy-GET-default": { + "$ref": "./examples/GeographicHierarchy-GET-default.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/checkTrafficManagerNameAvailabilityV2": { + "post": { + "operationId": "Profiles_checkTrafficManagerNameAvailabilityV2", + "description": "Checks the availability of a Traffic Manager Relative DNS name.", + "parameters": [ { - "name": "profileName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the Traffic Manager profile." + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "name": "endpointType", - "in": "path", - "required": true, - "type": "string", - "description": "The type of the Traffic Manager endpoint.", - "enum": [ - "AzureEndpoints", - "ExternalEndpoints", - "NestedEndpoints" - ], - "x-ms-enum": { - "name": "EndpointType", - "modelAsString": false - } + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "name": "endpointName", - "in": "path", + "name": "parameters", + "in": "body", + "description": "The request body", "required": true, - "type": "string", - "description": "The name of the Traffic Manager endpoint." + "schema": { + "$ref": "#/definitions/CheckTrafficManagerRelativeDnsNameAvailabilityParameters" + } + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/TrafficManagerNameAvailability" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "NameAvailabilityV2Test_NameAvailablePOST21": { + "$ref": "./examples/NameAvailabilityV2Test_NameAvailable-POST-example-21.json" }, + "NameAvailabilityV2Test_NameNotAvailablePOST23": { + "$ref": "./examples/NameAvailabilityV2Test_NameNotAvailable-POST-example-23.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/trafficManagerUserMetricsKeys/default": { + "get": { + "operationId": "TrafficManagerUserMetricsKeys_Get", + "tags": [ + "UserMetricsModels" + ], + "description": "Get the subscription-level key used for Real User Metrics collection.", + "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, @@ -141,79 +186,65 @@ ], "responses": { "200": { - "description": "The Traffic Manager endpoint.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/Endpoint" + "$ref": "#/definitions/UserMetricsModel" } }, "default": { - "description": "Default response. It will be deserialized as per the Error definition.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, "x-ms-examples": { - "Endpoint-GET-External-WithGeoMapping": { - "$ref": "./examples/Endpoint-GET-External-WithGeoMapping.json" - }, - "Endpoint-GET-External-WithLocation": { - "$ref": "./examples/Endpoint-GET-External-WithLocation.json" - }, - "Endpoint-GET-External-WithSubnetMapping": { - "$ref": "./examples/Endpoint-GET-External-WithSubnetMapping.json" + "TrafficManagerUserMetricsKeys-GET": { + "$ref": "./examples/TrafficManagerUserMetricsKeys-GET.json" } } }, "put": { + "operationId": "TrafficManagerUserMetricsKeys_CreateOrUpdate", "tags": [ - "Endpoints" + "UserMetricsModels" ], - "operationId": "Endpoints_CreateOrUpdate", - "description": "Create or update a Traffic Manager endpoint.", + "description": "Create or update a subscription-level key used for Real User Metrics collection.", "parameters": [ { - "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "profileName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the Traffic Manager profile." + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "name": "endpointType", - "in": "path", - "required": true, - "type": "string", - "description": "The type of the Traffic Manager endpoint to be created or updated.", - "enum": [ - "AzureEndpoints", - "ExternalEndpoints", - "NestedEndpoints" - ], - "x-ms-enum": { - "name": "EndpointType", - "modelAsString": false + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "201": { + "description": "Resource 'UserMetricsModel' create operation succeeded", + "schema": { + "$ref": "#/definitions/UserMetricsModel" } }, - { - "name": "endpointName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the Traffic Manager endpoint to be created or updated." - }, - { - "name": "parameters", - "in": "body", - "required": true, + "default": { + "description": "An unexpected error response.", "schema": { - "$ref": "#/definitions/Endpoint" - }, - "description": "The Traffic Manager endpoint parameters supplied to the CreateOrUpdate operation." - }, + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "TrafficManagerUserMetricsKeys-PUT": { + "$ref": "./examples/TrafficManagerUserMetricsKeys-PUT.json" + } + } + }, + "delete": { + "operationId": "TrafficManagerUserMetricsKeys_Delete", + "tags": [ + "UserMetricsModels" + ], + "description": "Delete a subscription-level key used for Real User Metrics collection.", + "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, @@ -223,554 +254,643 @@ ], "responses": { "200": { - "description": "The created or updated Endpoint.", - "schema": { - "$ref": "#/definitions/Endpoint" - } - }, - "201": { - "description": "The created or updated Endpoint.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/Endpoint" + "$ref": "#/definitions/DeleteOperationResult" } }, "default": { - "description": "Default response. It will be deserialized as per the Error definition.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, "x-ms-examples": { - "Endpoint-PUT-External-WithGeoMapping": { - "$ref": "./examples/Endpoint-PUT-External-WithGeoMapping.json" - }, - "Endpoint-PUT-External-WithLocation": { - "$ref": "./examples/Endpoint-PUT-External-WithLocation.json" - }, - "Endpoint-PUT-External-WithSubnetMapping": { - "$ref": "./examples/Endpoint-PUT-External-WithSubnetMapping.json" - }, - "Endpoint-PUT-External-WithCustomHeaders": { - "$ref": "./examples/Endpoint-PUT-External-WithCustomHeaders.json" - }, - "Endpoint-PUT-External-WithAlwaysServe": { - "$ref": "./examples/Endpoint-PUT-External-WithAlwaysServe.json" + "TrafficManagerUserMetricsKeys-DELETE": { + "$ref": "./examples/TrafficManagerUserMetricsKeys-DELETE.json" } } - }, - "delete": { + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/trafficmanagerprofiles": { + "get": { + "operationId": "Profiles_ListBySubscription", "tags": [ - "Endpoints" + "Profiles" ], - "operationId": "Endpoints_Delete", - "description": "Deletes a Traffic Manager endpoint.", + "description": "Lists all Traffic Manager profiles within a subscription.", "parameters": [ { - "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "profileName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the Traffic Manager profile." + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "name": "endpointType", - "in": "path", - "required": true, - "type": "string", - "description": "The type of the Traffic Manager endpoint to be deleted.", - "enum": [ - "AzureEndpoints", - "ExternalEndpoints", - "NestedEndpoints" - ], - "x-ms-enum": { - "name": "EndpointType", - "modelAsString": false + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ProfileListResult" } }, - { - "name": "endpointName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the Traffic Manager endpoint to be deleted." - }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "ListBySubscription": { + "$ref": "./examples/Profile-GET-BySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles": { + "get": { + "operationId": "Profiles_ListByResourceGroup", + "tags": [ + "Profiles" + ], + "description": "Lists all Traffic Manager profiles within a resource group.", + "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" } ], "responses": { "200": { - "description": "The Traffic Manager Endpoint was deleted successfully.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/DeleteOperationResult" + "$ref": "#/definitions/ProfileListResult" } }, - "204": { - "description": "The Traffic Manager Endpoint does not exist. It could have been deleted on a previous request." - }, "default": { - "description": "Default response. It will be deserialized as per the Error definition.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, "x-ms-examples": { - "Endpoint-DELETE-External": { - "$ref": "./examples/Endpoint-DELETE-External.json" + "ListProfilesByResourceGroup": { + "$ref": "./examples/Profile-GET-ByResourceGroup.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, - "/providers/Microsoft.Network/checkTrafficManagerNameAvailability": { - "post": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}": { + "get": { + "operationId": "Profiles_Get", "tags": [ "Profiles" ], - "operationId": "Profiles_CheckTrafficManagerRelativeDnsNameAvailability", - "description": "Checks the availability of a Traffic Manager Relative DNS name.", + "description": "Gets a Traffic Manager profile.", "parameters": [ { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/CheckTrafficManagerRelativeDnsNameAvailabilityParameters" - }, - "description": "The Traffic Manager name parameters supplied to the CheckTrafficManagerNameAvailability operation." + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "profileName", + "in": "path", + "description": "The name of the Traffic Manager profile.", + "required": true, + "type": "string" } ], "responses": { "200": { - "description": "The Traffic Manager Name Availability.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/TrafficManagerNameAvailability" + "$ref": "#/definitions/Profile" } }, "default": { - "description": "Default response. It will be deserialized as per the Error definition.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, "x-ms-examples": { - "NameAvailabilityTest_NameAvailablePOST21": { - "$ref": "./examples/NameAvailabilityTest_NameAvailable-POST-example-21.json" + "Profile-GET-WithEndpoints": { + "$ref": "./examples/Profile-GET-WithEndpoints.json" }, - "NameAvailabilityTest_NameNotAvailablePOST23": { - "$ref": "./examples/NameAvailabilityTest_NameNotAvailable-POST-example-23.json" + "Profile-GET-WithTrafficViewDisabled": { + "$ref": "./examples/Profile-GET-WithTrafficViewDisabled.json" + }, + "Profile-GET-WithTrafficViewEnabled": { + "$ref": "./examples/Profile-GET-WithTrafficViewEnabled.json" } } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Network/checkTrafficManagerNameAvailabilityV2": { - "post": { + }, + "put": { + "operationId": "Profiles_CreateOrUpdate", "tags": [ "Profiles" ], - "operationId": "Profiles_checkTrafficManagerNameAvailabilityV2", - "description": "Checks the availability of a Traffic Manager Relative DNS name.", + "description": "Create or update a Traffic Manager profile.", "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, { "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "profileName", + "in": "path", + "description": "The name of the Traffic Manager profile.", + "required": true, + "type": "string" }, { "name": "parameters", "in": "body", + "description": "The Traffic Manager profile parameters supplied to the CreateOrUpdate operation.", "required": true, "schema": { - "$ref": "#/definitions/CheckTrafficManagerRelativeDnsNameAvailabilityParameters" - }, - "description": "The Traffic Manager name parameters supplied to the CheckTrafficManagerNameAvailability operation." + "$ref": "#/definitions/Profile" + } } ], "responses": { "200": { - "description": "The Traffic Manager Name Availability.", + "description": "Resource 'Profile' update operation succeeded", "schema": { - "$ref": "#/definitions/TrafficManagerNameAvailability" + "$ref": "#/definitions/Profile" + } + }, + "201": { + "description": "Resource 'Profile' create operation succeeded", + "schema": { + "$ref": "#/definitions/Profile" } }, "default": { - "description": "Default response. It will be deserialized as per the Error definition.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, "x-ms-examples": { - "NameAvailabilityV2Test_NameAvailablePOST21": { - "$ref": "./examples/NameAvailabilityV2Test_NameAvailable-POST-example-21.json" + "Profile-PUT-MultiValue": { + "$ref": "./examples/Profile-PUT-MultiValue.json" }, - "NameAvailabilityV2Test_NameNotAvailablePOST23": { - "$ref": "./examples/NameAvailabilityV2Test_NameNotAvailable-POST-example-23.json" + "Profile-PUT-NoEndpoints": { + "$ref": "./examples/Profile-PUT-NoEndpoints.json" + }, + "Profile-PUT-WithAliasing": { + "$ref": "./examples/Profile-PUT-WithAliasing.json" + }, + "Profile-PUT-WithCustomHeaders": { + "$ref": "./examples/Profile-PUT-WithCustomHeaders.json" + }, + "Profile-PUT-WithEndpoints": { + "$ref": "./examples/Profile-PUT-WithEndpoints.json" + }, + "Profile-PUT-WithNestedEndpoints": { + "$ref": "./examples/Profile-PUT-WithNestedEndpoints.json" } } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles": { - "get": { + }, + "patch": { + "operationId": "Profiles_Update", "tags": [ "Profiles" ], - "x-ms-pageable": { - "nextLinkName": null - }, - "operationId": "Profiles_ListByResourceGroup", - "description": "Lists all Traffic Manager profiles within a resource group.", + "description": "Update a Traffic Manager profile.", "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, { "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "name": "profileName", + "in": "path", + "description": "The name of the Traffic Manager profile.", + "required": true, + "type": "string" }, { - "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "name": "parameters", + "in": "body", + "description": "The Traffic Manager profile parameters supplied to the Update operation.", + "required": true, + "schema": { + "$ref": "#/definitions/Profile" + } } ], "responses": { "200": { - "description": "The list of Traffic Manager profiles.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/ProfileListResult" + "$ref": "#/definitions/Profile" } }, "default": { - "description": "Default response. It will be deserialized as per the Error definition.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, "x-ms-examples": { - "ListProfilesByResourceGroup": { - "$ref": "./examples/Profile-GET-ByResourceGroup.json" + "Profile-PATCH-MonitorConfig": { + "$ref": "./examples/Profile-PATCH-MonitorConfig.json" } } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Network/trafficmanagerprofiles": { - "get": { + }, + "delete": { + "operationId": "Profiles_Delete", "tags": [ "Profiles" ], - "x-ms-pageable": { - "nextLinkName": null - }, - "operationId": "Profiles_ListBySubscription", - "description": "Lists all Traffic Manager profiles within a subscription.", + "description": "Deletes a Traffic Manager profile.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "profileName", + "in": "path", + "description": "The name of the Traffic Manager profile.", + "required": true, + "type": "string" } ], "responses": { "200": { - "description": "The list of Traffic Manager profiles.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/ProfileListResult" + "$ref": "#/definitions/DeleteOperationResult" } }, + "204": { + "description": "Resource does not exist." + }, "default": { - "description": "Default response. It will be deserialized as per the Error definition.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, "x-ms-examples": { - "ListBySubscription": { - "$ref": "./examples/Profile-GET-BySubscription.json" + "Profile-DELETE": { + "$ref": "./examples/Profile-DELETE.json" } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}/{endpointType}/{endpointName}": { "get": { - "tags": [ - "Profiles" - ], - "operationId": "Profiles_Get", - "description": "Gets a Traffic Manager profile.", + "operationId": "Endpoints_Get", + "description": "Gets a Traffic Manager endpoint.", "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, { "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "profileName", "in": "path", + "description": "The name of the Traffic Manager profile.", "required": true, - "type": "string", - "description": "The name of the Traffic Manager profile." + "type": "string" }, { - "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "name": "endpointType", + "in": "path", + "description": "The type of the Traffic Manager endpoint.", + "required": true, + "type": "string", + "enum": [ + "AzureEndpoints", + "ExternalEndpoints", + "NestedEndpoints" + ], + "x-ms-enum": { + "name": "EndpointType", + "modelAsString": false + } }, { - "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "name": "endpointName", + "in": "path", + "description": "The name of the Traffic Manager endpoint.", + "required": true, + "type": "string" } ], "responses": { "200": { - "description": "The Traffic Manager profile.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/Profile" + "$ref": "#/definitions/Endpoint" } }, "default": { - "description": "Default response. It will be deserialized as per the Error definition.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, "x-ms-examples": { - "Profile-GET-WithEndpoints": { - "$ref": "./examples/Profile-GET-WithEndpoints.json" + "Endpoint-GET-External-WithGeoMapping": { + "$ref": "./examples/Endpoint-GET-External-WithGeoMapping.json" }, - "Profile-GET-WithTrafficViewEnabled": { - "$ref": "./examples/Profile-GET-WithTrafficViewEnabled.json" + "Endpoint-GET-External-WithLocation": { + "$ref": "./examples/Endpoint-GET-External-WithLocation.json" }, - "Profile-GET-WithTrafficViewDisabled": { - "$ref": "./examples/Profile-GET-WithTrafficViewDisabled.json" + "Endpoint-GET-External-WithSubnetMapping": { + "$ref": "./examples/Endpoint-GET-External-WithSubnetMapping.json" } } }, "put": { - "tags": [ - "Profiles" - ], - "operationId": "Profiles_CreateOrUpdate", - "description": "Create or update a Traffic Manager profile.", + "operationId": "Endpoints_CreateOrUpdate", + "description": "Create or update a Traffic Manager endpoint.", "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, { "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "profileName", "in": "path", + "description": "The name of the Traffic Manager profile.", "required": true, - "type": "string", - "description": "The name of the Traffic Manager profile." + "type": "string" }, { - "name": "parameters", - "in": "body", + "name": "endpointType", + "in": "path", + "description": "The type of the Traffic Manager endpoint.", "required": true, - "schema": { - "$ref": "#/definitions/Profile" - }, - "description": "The Traffic Manager profile parameters supplied to the CreateOrUpdate operation." + "type": "string", + "enum": [ + "AzureEndpoints", + "ExternalEndpoints", + "NestedEndpoints" + ], + "x-ms-enum": { + "name": "EndpointType", + "modelAsString": false + } }, { - "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "name": "endpointName", + "in": "path", + "description": "The name of the Traffic Manager endpoint.", + "required": true, + "type": "string" }, { - "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "name": "parameters", + "in": "body", + "description": "The Traffic Manager endpoint parameters supplied to the CreateOrUpdate operation.", + "required": true, + "schema": { + "$ref": "#/definitions/Endpoint" + } } ], "responses": { "200": { - "description": "The created or updated Traffic Manager profile.", + "description": "Resource 'Endpoint' update operation succeeded", "schema": { - "$ref": "#/definitions/Profile" + "$ref": "#/definitions/Endpoint" } }, "201": { - "description": "The created or updated Traffic Manager profile.", + "description": "Resource 'Endpoint' create operation succeeded", "schema": { - "$ref": "#/definitions/Profile" + "$ref": "#/definitions/Endpoint" } }, "default": { - "description": "Default response. It will be deserialized as per the Error definition.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, "x-ms-examples": { - "Profile-PUT-NoEndpoints": { - "$ref": "./examples/Profile-PUT-NoEndpoints.json" - }, - "Profile-PUT-WithEndpoints": { - "$ref": "./examples/Profile-PUT-WithEndpoints.json" + "Endpoint-PUT-External-WithAlwaysServe": { + "$ref": "./examples/Endpoint-PUT-External-WithAlwaysServe.json" }, - "Profile-PUT-WithNestedEndpoints": { - "$ref": "./examples/Profile-PUT-WithNestedEndpoints.json" + "Endpoint-PUT-External-WithCustomHeaders": { + "$ref": "./examples/Endpoint-PUT-External-WithCustomHeaders.json" }, - "Profile-PUT-WithCustomHeaders": { - "$ref": "./examples/Profile-PUT-WithCustomHeaders.json" + "Endpoint-PUT-External-WithGeoMapping": { + "$ref": "./examples/Endpoint-PUT-External-WithGeoMapping.json" }, - "Profile-PUT-MultiValue": { - "$ref": "./examples/Profile-PUT-MultiValue.json" + "Endpoint-PUT-External-WithLocation": { + "$ref": "./examples/Endpoint-PUT-External-WithLocation.json" }, - "Profile-PUT-WithAliasing": { - "$ref": "./examples/Profile-PUT-WithAliasing.json" + "Endpoint-PUT-External-WithSubnetMapping": { + "$ref": "./examples/Endpoint-PUT-External-WithSubnetMapping.json" } } }, - "delete": { - "tags": [ - "Profiles" - ], - "operationId": "Profiles_Delete", - "description": "Deletes a Traffic Manager profile.", + "patch": { + "operationId": "Endpoints_Update", + "description": "Update a Traffic Manager endpoint.", "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, { "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "profileName", "in": "path", + "description": "The name of the Traffic Manager profile.", + "required": true, + "type": "string" + }, + { + "name": "endpointType", + "in": "path", + "description": "The type of the Traffic Manager endpoint.", "required": true, "type": "string", - "description": "The name of the Traffic Manager profile to be deleted." + "enum": [ + "AzureEndpoints", + "ExternalEndpoints", + "NestedEndpoints" + ], + "x-ms-enum": { + "name": "EndpointType", + "modelAsString": false + } }, { - "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "name": "endpointName", + "in": "path", + "description": "The name of the Traffic Manager endpoint.", + "required": true, + "type": "string" }, { - "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "name": "parameters", + "in": "body", + "description": "The Traffic Manager endpoint parameters supplied to the Update operation.", + "required": true, + "schema": { + "$ref": "#/definitions/Endpoint" + } } ], "responses": { "200": { - "description": "The Traffic Manager Profile was deleted successfully.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/DeleteOperationResult" + "$ref": "#/definitions/Endpoint" } }, - "204": { - "description": "The profile does not exist. It could have been deleted on a previous request." - }, "default": { - "description": "Default response. It will be deserialized as per the Error definition.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, "x-ms-examples": { - "Profile-DELETE": { - "$ref": "./examples/Profile-DELETE.json" + "Endpoint-PATCH-External-Target": { + "$ref": "./examples/Endpoint-PATCH-External-Target.json" } } }, - "patch": { - "tags": [ - "Profiles" - ], - "operationId": "Profiles_Update", - "description": "Update a Traffic Manager profile.", + "delete": { + "operationId": "Endpoints_Delete", + "description": "Deletes a Traffic Manager endpoint.", "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, { "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "profileName", "in": "path", + "description": "The name of the Traffic Manager profile.", "required": true, - "type": "string", - "description": "The name of the Traffic Manager profile." + "type": "string" }, { - "name": "parameters", - "in": "body", + "name": "endpointType", + "in": "path", + "description": "The type of the Traffic Manager endpoint.", "required": true, - "schema": { - "$ref": "#/definitions/Profile" - }, - "description": "The Traffic Manager profile parameters supplied to the Update operation." - }, - { - "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "The updated Traffic Manager profile.", - "schema": { - "$ref": "#/definitions/Profile" - } - }, - "default": { - "description": "Default response. It will be deserialized as per the Error definition.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Profile-PATCH-MonitorConfig": { - "$ref": "./examples/Profile-PATCH-MonitorConfig.json" - } - } - } - }, - "/providers/Microsoft.Network/trafficManagerGeographicHierarchies/default": { - "get": { - "tags": [ - "GeographicHierarchies" - ], - "operationId": "GeographicHierarchies_GetDefault", - "description": "Gets the default Geographic Hierarchy used by the Geographic traffic routing method.", - "parameters": [ + "type": "string", + "enum": [ + "AzureEndpoints", + "ExternalEndpoints", + "NestedEndpoints" + ], + "x-ms-enum": { + "name": "EndpointType", + "modelAsString": false + } + }, { - "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "name": "endpointName", + "in": "path", + "description": "The name of the Traffic Manager endpoint.", + "required": true, + "type": "string" } ], "responses": { "200": { - "description": "The default Geographic Hierarchy.", + "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/TrafficManagerGeographicHierarchy" + "$ref": "#/definitions/DeleteOperationResult" } }, + "204": { + "description": "Resource does not exist." + }, "default": { - "description": "Default response. It will be deserialized as per the Error definition.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } } }, "x-ms-examples": { - "GeographicHierarchy-GET-default": { - "$ref": "./examples/GeographicHierarchy-GET-default.json" + "Endpoint-DELETE-External": { + "$ref": "./examples/Endpoint-DELETE-External.json" } } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}/heatMaps/{heatMapType}": { "get": { - "tags": [ - "HeatMaps" - ], "operationId": "HeatMap_Get", "description": "Gets latest heatmap for Traffic Manager profile.", "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, { "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, @@ -780,13 +900,14 @@ { "name": "profileName", "in": "path", + "description": "The name of the Traffic Manager profile.", "required": true, - "type": "string", - "description": "The name of the Traffic Manager profile." + "type": "string" }, { "name": "heatMapType", "in": "path", + "description": "The type of the heatmap.", "required": true, "type": "string", "enum": [ @@ -795,52 +916,46 @@ "x-ms-enum": { "name": "HeatMapType", "modelAsString": false - }, - "description": "The type of HeatMap for the Traffic Manager profile." + } }, { "name": "topLeft", "in": "query", - "required": false, - "allowEmptyValue": true, "description": "The top left latitude,longitude pair of the rectangular viewport to query for.", + "required": false, "type": "array", - "minItems": 2, - "maxItems": 2, - "collectionFormat": "csv", "items": { "type": "number", "format": "double" - } + }, + "collectionFormat": "csv", + "minItems": 2, + "maxItems": 2 }, { "name": "botRight", "in": "query", - "required": false, - "allowEmptyValue": true, "description": "The bottom right latitude,longitude pair of the rectangular viewport to query for.", + "required": false, "type": "array", - "minItems": 2, - "maxItems": 2, - "collectionFormat": "csv", "items": { "type": "number", "format": "double" - } - }, - { - "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + "collectionFormat": "csv", + "minItems": 2, + "maxItems": 2 } ], "responses": { "200": { - "description": "The Traffic Manager heatmap.", + "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/HeatMapModel" } }, "default": { - "description": "Default response. It will be deserialized as per the Error definition.", + "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/CloudError" } @@ -850,133 +965,220 @@ "HeatMap-GET": { "$ref": "./examples/HeatMap-GET.json" }, - "HeatMap-GET-With-TopLeft-BotRight": { - "$ref": "./examples/HeatMap-GET-With-TopLeft-BotRight.json" - }, "HeatMap-GET-With-Null-Values": { "$ref": "./examples/HeatMap-GET-With-Null-Values.json" + }, + "HeatMap-GET-With-TopLeft-BotRight": { + "$ref": "./examples/HeatMap-GET-With-TopLeft-BotRight.json" } } } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Network/trafficManagerUserMetricsKeys/default": { - "get": { - "tags": [ - "RealUserMetrics" - ], - "operationId": "TrafficManagerUserMetricsKeys_Get", - "description": "Get the subscription-level key used for Real User Metrics collection.", - "parameters": [ + } + }, + "definitions": { + "AllowedEndpointRecordType": { + "type": "string", + "description": "The allowed type DNS record types for this profile.", + "enum": [ + "DomainName", + "IPv4Address", + "IPv6Address", + "Any" + ], + "x-ms-enum": { + "name": "AllowedEndpointRecordType", + "modelAsString": true, + "values": [ { - "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "name": "DomainName", + "value": "DomainName" }, { - "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "The subscription-level Traffic Manager Real User Metrics key.", - "schema": { - "$ref": "#/definitions/UserMetricsModel" - } + "name": "IPv4Address", + "value": "IPv4Address" }, - "default": { - "description": "Default response. It will be deserialized as per the Error definition.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "TrafficManagerUserMetricsKeys-GET": { - "$ref": "./examples/TrafficManagerUserMetricsKeys-GET.json" - } - } - }, - "put": { - "tags": [ - "RealUserMetrics" - ], - "operationId": "TrafficManagerUserMetricsKeys_CreateOrUpdate", - "description": "Create or update a subscription-level key used for Real User Metrics collection.", - "parameters": [ { - "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "name": "IPv6Address", + "value": "IPv6Address" }, { - "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "name": "Any", + "value": "Any" } - ], - "responses": { - "201": { - "description": "A new subscription-level key has been created for Real User Metrics collection.", - "schema": { - "$ref": "#/definitions/UserMetricsModel" - } + ] + } + }, + "AlwaysServe": { + "type": "string", + "description": "If Always Serve is enabled, probing for endpoint health will be disabled and endpoints will be included in the traffic routing method.", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "AlwaysServe", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled" }, - "default": { - "description": "Default response. It will be deserialized as per the Error definition.", - "schema": { - "$ref": "#/definitions/CloudError" - } + { + "name": "Disabled", + "value": "Disabled" } + ] + } + }, + "CheckTrafficManagerRelativeDnsNameAvailabilityParameters": { + "type": "object", + "description": "Parameters supplied to check Traffic Manager name operation.", + "properties": { + "name": { + "type": "string", + "description": "The name of the resource." }, - "x-ms-examples": { - "TrafficManagerUserMetricsKeys-PUT": { - "$ref": "./examples/TrafficManagerUserMetricsKeys-PUT.json" - } + "type": { + "type": "string", + "description": "The type of the resource." + } + } + }, + "CloudError": { + "type": "object", + "description": "An error returned by the Azure Resource Manager", + "properties": { + "error": { + "$ref": "#/definitions/CloudErrorBody", + "description": "The content of the error." } }, - "delete": { - "tags": [ - "RealUserMetrics" - ], - "operationId": "TrafficManagerUserMetricsKeys_Delete", - "description": "Delete a subscription-level key used for Real User Metrics collection.", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "The Traffic Manager Real User Metrics key was deleted successfully.", - "schema": { - "$ref": "#/definitions/DeleteOperationResult" - } - }, - "default": { - "description": "Default response. It will be deserialized as per the Error definition.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } + "x-ms-external": true + }, + "CloudErrorBody": { + "type": "object", + "description": "The content of an error returned by the Azure Resource Manager", + "properties": { + "code": { + "type": "string", + "description": "Error code" }, - "x-ms-examples": { - "TrafficManagerUserMetricsKeys-DELETE": { - "$ref": "./examples/TrafficManagerUserMetricsKeys-DELETE.json" + "message": { + "type": "string", + "description": "Error message" + }, + "target": { + "type": "string", + "description": "Error target" + }, + "details": { + "type": "array", + "description": "Error details", + "items": { + "$ref": "#/definitions/CloudErrorBody" } } - } - } - }, - "definitions": { + }, + "x-ms-external": true + }, "DeleteOperationResult": { + "type": "object", + "description": "The result of the request or operation.", "properties": { "boolean": { "type": "boolean", - "x-ms-client-name": "operationResult", + "description": "The result of the operation or request.", "readOnly": true, - "description": "The result of the operation or request." + "x-ms-client-name": "operationResult" + } + } + }, + "DnsConfig": { + "type": "object", + "description": "Class containing DNS settings in a Traffic Manager profile.", + "properties": { + "relativeName": { + "type": "string", + "description": "The relative DNS name provided by this Traffic Manager profile. This value is combined with the DNS domain name used by Azure Traffic Manager to form the fully-qualified domain name (FQDN) of the profile." + }, + "fqdn": { + "type": "string", + "description": "The fully-qualified domain name (FQDN) of the Traffic Manager profile. This is formed from the concatenation of the RelativeName with the DNS domain used by Azure Traffic Manager.", + "readOnly": true + }, + "ttl": { + "type": "integer", + "format": "int64", + "description": "The DNS Time-To-Live (TTL), in seconds. This informs the local DNS resolvers and DNS clients how long to cache DNS responses provided by this Traffic Manager profile." + } + } + }, + "Endpoint": { + "type": "object", + "description": "Class representing a Traffic Manager endpoint.", + "properties": { + "properties": { + "$ref": "#/definitions/EndpointProperties", + "description": "The properties of the Traffic Manager endpoint.", + "x-ms-client-flatten": true } }, - "description": "The result of the request or operation." + "allOf": [ + { + "$ref": "#/definitions/ProxyResource" + } + ] + }, + "EndpointMonitorStatus": { + "type": "string", + "description": "The monitoring status of the endpoint.", + "enum": [ + "CheckingEndpoint", + "Online", + "Degraded", + "Disabled", + "Inactive", + "Stopped", + "Unmonitored" + ], + "x-ms-enum": { + "name": "EndpointMonitorStatus", + "modelAsString": true, + "values": [ + { + "name": "CheckingEndpoint", + "value": "CheckingEndpoint" + }, + { + "name": "Online", + "value": "Online" + }, + { + "name": "Degraded", + "value": "Degraded" + }, + { + "name": "Disabled", + "value": "Disabled" + }, + { + "name": "Inactive", + "value": "Inactive" + }, + { + "name": "Stopped", + "value": "Stopped" + }, + { + "name": "Unmonitored", + "value": "Unmonitored" + } + ] + } }, "EndpointProperties": { + "type": "object", + "description": "Class representing a Traffic Manager endpoint properties.", "properties": { "targetResourceId": { "type": "string", @@ -986,17 +1188,9 @@ "type": "string", "description": "The fully-qualified DNS name or IP address of the endpoint. Traffic Manager returns this value in DNS responses to direct traffic to this endpoint." }, - "endpointStatus": { - "type": "string", - "description": "The status of the endpoint. If the endpoint is Enabled, it is probed for endpoint health and is included in the traffic routing method.", - "enum": [ - "Enabled", - "Disabled" - ], - "x-ms-enum": { - "name": "EndpointStatus", - "modelAsString": true - } + "endpointStatus": { + "$ref": "#/definitions/EndpointStatus", + "description": "The status of the endpoint. If the endpoint is Enabled, it is probed for endpoint health and is included in the traffic routing method." }, "weight": { "type": "integer", @@ -1013,21 +1207,8 @@ "description": "Specifies the location of the external or nested endpoints when using the 'Performance' traffic routing method." }, "endpointMonitorStatus": { - "type": "string", - "description": "The monitoring status of the endpoint.", - "enum": [ - "CheckingEndpoint", - "Online", - "Degraded", - "Disabled", - "Inactive", - "Stopped", - "Unmonitored" - ], - "x-ms-enum": { - "name": "EndpointMonitorStatus", - "modelAsString": true - } + "$ref": "#/definitions/EndpointMonitorStatus", + "description": "The monitoring status of the endpoint." }, "minChildEndpoints": { "type": "integer", @@ -1046,145 +1227,130 @@ }, "geoMapping": { "type": "array", + "description": "The list of countries/regions mapped to this endpoint when using the 'Geographic' traffic routing method. Please consult Traffic Manager Geographic documentation for a full list of accepted values.", "items": { "type": "string" - }, - "description": "The list of countries/regions mapped to this endpoint when using the 'Geographic' traffic routing method. Please consult Traffic Manager Geographic documentation for a full list of accepted values." + } }, "subnets": { "type": "array", + "description": "The list of subnets, IP addresses, and/or address ranges mapped to this endpoint when using the 'Subnet' traffic routing method. An empty list will match all ranges not covered by other endpoints.", "items": { - "type": "object", - "properties": { - "first": { - "type": "string", - "description": "First address in the subnet." - }, - "last": { - "type": "string", - "description": "Last address in the subnet." - }, - "scope": { - "type": "integer", - "description": "Block size (number of leading bits in the subnet mask)." - } - }, - "description": "Subnet first address, scope, and/or last address." - }, - "description": "The list of subnets, IP addresses, and/or address ranges mapped to this endpoint when using the 'Subnet' traffic routing method. An empty list will match all ranges not covered by other endpoints." + "$ref": "#/definitions/EndpointPropertiesSubnetsItem" + } }, "customHeaders": { "type": "array", + "description": "List of custom headers.", "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Header name." - }, - "value": { - "type": "string", - "description": "Header value." - } - }, - "description": "Custom header name and value." - }, - "description": "List of custom headers." + "$ref": "#/definitions/EndpointPropertiesCustomHeadersItem" + } }, "alwaysServe": { - "type": "string", - "description": "If Always Serve is enabled, probing for endpoint health will be disabled and endpoints will be included in the traffic routing method.", - "enum": [ - "Enabled", - "Disabled" - ], - "x-ms-enum": { - "name": "AlwaysServe", - "modelAsString": true - } + "$ref": "#/definitions/AlwaysServe", + "description": "If Always Serve is enabled, probing for endpoint health will be disabled and endpoints will be included in the traffic routing method." } - }, - "description": "Class representing a Traffic Manager endpoint properties." + } }, - "HeatMapModel": { + "EndpointPropertiesCustomHeadersItem": { + "type": "object", + "description": "Custom header name and value.", "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/HeatMapProperties", - "description": "The properties of the Traffic Manager HeatMap." + "name": { + "type": "string", + "description": "Header name." + }, + "value": { + "type": "string", + "description": "Header value." } - }, - "allOf": [ - { - "$ref": "#/definitions/ProxyResource" + } + }, + "EndpointPropertiesSubnetsItem": { + "type": "object", + "description": "Subnet first address, scope, and/or last address.", + "properties": { + "first": { + "type": "string", + "description": "First address in the subnet." + }, + "last": { + "type": "string", + "description": "Last address in the subnet." + }, + "scope": { + "type": "integer", + "format": "int32", + "description": "Block size (number of leading bits in the subnet mask)." } + } + }, + "EndpointStatus": { + "type": "string", + "description": "The status of the endpoint. If the endpoint is Enabled, it is probed for endpoint health and is included in the traffic routing method.", + "enum": [ + "Enabled", + "Disabled" ], - "description": "Class representing a Traffic Manager HeatMap." + "x-ms-enum": { + "name": "EndpointStatus", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled" + }, + { + "name": "Disabled", + "value": "Disabled" + } + ] + } }, - "UserMetricsModel": { + "GeographicHierarchyProperties": { + "type": "object", + "description": "Class representing the properties of the Geographic hierarchy used with the Geographic traffic routing method.", "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/UserMetricsProperties", - "description": "The properties of the Traffic Manager User Metrics." - } - }, - "allOf": [ - { - "$ref": "#/definitions/ProxyResource" + "geographicHierarchy": { + "$ref": "#/definitions/Region", + "description": "The region at the root of the hierarchy from all the regions in the hierarchy can be retrieved." } - ], - "description": "Class representing Traffic Manager User Metrics." + } }, - "QueryExperience": { + "HeatMapEndpoint": { + "type": "object", + "description": "Class which is a sparse representation of a Traffic Manager endpoint.", "properties": { - "endpointId": { - "type": "integer", - "description": "The id of the endpoint from the 'endpoints' array which these queries were routed to." + "resourceId": { + "type": "string", + "description": "The ARM Resource ID of this Traffic Manager endpoint." }, - "queryCount": { + "endpointId": { "type": "integer", - "description": "The number of queries originating from this location." - }, - "latency": { - "type": "number", - "format": "double", - "description": "The latency experienced by queries originating from this location." + "format": "int32", + "description": "A number uniquely identifying this endpoint in query experiences." } - }, - "required": [ - "endpointId", - "queryCount" - ], - "description": "Class representing a Traffic Manager HeatMap query experience properties." + } }, - "TrafficFlow": { + "HeatMapModel": { + "type": "object", + "description": "Class representing a Traffic Manager HeatMap.", "properties": { - "sourceIp": { - "type": "string", - "description": "The IP address that this query experience originated from." - }, - "latitude": { - "type": "number", - "format": "double", - "description": "The approximate latitude that these queries originated from." - }, - "longitude": { - "type": "number", - "format": "double", - "description": "The approximate longitude that these queries originated from." - }, - "queryExperiences": { - "type": "array", - "description": "The query experiences produced in this HeatMap calculation.", - "items": { - "$ref": "#/definitions/QueryExperience" - } + "properties": { + "$ref": "#/definitions/HeatMapProperties", + "description": "The properties of the Traffic Manager HeatMap.", + "x-ms-client-flatten": true } }, - "description": "Class representing a Traffic Manager HeatMap traffic flow properties." + "allOf": [ + { + "$ref": "#/definitions/ProxyResource" + } + ] }, "HeatMapProperties": { + "type": "object", + "description": "Class representing a Traffic Manager HeatMap properties.", "properties": { "startTime": { "type": "string", @@ -1210,98 +1376,19 @@ "$ref": "#/definitions/TrafficFlow" } } - }, - "description": "Class representing a Traffic Manager HeatMap properties." - }, - "HeatMapEndpoint": { - "properties": { - "resourceId": { - "type": "string", - "description": "The ARM Resource ID of this Traffic Manager endpoint." - }, - "endpointId": { - "type": "integer", - "description": "A number uniquely identifying this endpoint in query experiences." - } - }, - "description": "Class which is a sparse representation of a Traffic Manager endpoint." - }, - "Endpoint": { - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/EndpointProperties", - "description": "The properties of the Traffic Manager endpoint." - } - }, - "allOf": [ - { - "$ref": "#/definitions/ProxyResource" - } - ], - "description": "Class representing a Traffic Manager endpoint." - }, - "CheckTrafficManagerRelativeDnsNameAvailabilityParameters": { - "properties": { - "name": { - "type": "string", - "description": "The name of the resource." - }, - "type": { - "type": "string", - "description": "The type of the resource." - } - }, - "description": "Parameters supplied to check Traffic Manager name operation." - }, - "DnsConfig": { - "properties": { - "relativeName": { - "type": "string", - "description": "The relative DNS name provided by this Traffic Manager profile. This value is combined with the DNS domain name used by Azure Traffic Manager to form the fully-qualified domain name (FQDN) of the profile." - }, - "fqdn": { - "type": "string", - "readOnly": true, - "description": "The fully-qualified domain name (FQDN) of the Traffic Manager profile. This is formed from the concatenation of the RelativeName with the DNS domain used by Azure Traffic Manager." - }, - "ttl": { - "type": "integer", - "format": "int64", - "description": "The DNS Time-To-Live (TTL), in seconds. This informs the local DNS resolvers and DNS clients how long to cache DNS responses provided by this Traffic Manager profile." - } - }, - "description": "Class containing DNS settings in a Traffic Manager profile." + } }, "MonitorConfig": { + "type": "object", + "description": "Class containing endpoint monitoring settings in a Traffic Manager profile.", "properties": { "profileMonitorStatus": { - "type": "string", - "description": "The profile-level monitoring status of the Traffic Manager profile.", - "enum": [ - "CheckingEndpoints", - "Online", - "Degraded", - "Disabled", - "Inactive" - ], - "x-ms-enum": { - "name": "ProfileMonitorStatus", - "modelAsString": true - } + "$ref": "#/definitions/ProfileMonitorStatus", + "description": "The profile-level monitoring status of the Traffic Manager profile." }, "protocol": { - "type": "string", - "description": "The protocol (HTTP, HTTPS or TCP) used to probe for endpoint health.", - "enum": [ - "HTTP", - "HTTPS", - "TCP" - ], - "x-ms-enum": { - "name": "MonitorProtocol", - "modelAsString": true - } + "$ref": "#/definitions/MonitorProtocol", + "description": "The protocol (HTTP, HTTPS or TCP) used to probe for endpoint health." }, "port": { "type": "integer", @@ -1329,72 +1416,162 @@ }, "customHeaders": { "type": "array", + "description": "List of custom headers.", "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Header name." - }, - "value": { - "type": "string", - "description": "Header value." - } - }, - "description": "Custom header name and value." - }, - "description": "List of custom headers." + "$ref": "#/definitions/MonitorConfigCustomHeadersItem" + } }, "expectedStatusCodeRanges": { "type": "array", + "description": "List of expected status code ranges.", "items": { - "type": "object", - "properties": { - "min": { - "type": "integer", - "description": "Min status code." - }, - "max": { - "type": "integer", - "description": "Max status code." - } - }, - "description": "Min and max value of a status code range." + "$ref": "#/definitions/MonitorConfigExpectedStatusCodeRangesItem" + } + } + } + }, + "MonitorConfigCustomHeadersItem": { + "type": "object", + "description": "Custom header name and value.", + "properties": { + "name": { + "type": "string", + "description": "Header name." + }, + "value": { + "type": "string", + "description": "Header value." + } + } + }, + "MonitorConfigExpectedStatusCodeRangesItem": { + "type": "object", + "description": "Min and max value of a status code range.", + "properties": { + "min": { + "type": "integer", + "format": "int32", + "description": "Min status code." + }, + "max": { + "type": "integer", + "format": "int32", + "description": "Max status code." + } + } + }, + "MonitorProtocol": { + "type": "string", + "description": "The protocol (HTTP, HTTPS or TCP) used to probe for endpoint health.", + "enum": [ + "HTTP", + "HTTPS", + "TCP" + ], + "x-ms-enum": { + "name": "MonitorProtocol", + "modelAsString": true, + "values": [ + { + "name": "HTTP", + "value": "HTTP" }, - "description": "List of expected status code ranges." + { + "name": "HTTPS", + "value": "HTTPS" + }, + { + "name": "TCP", + "value": "TCP" + } + ] + } + }, + "Profile": { + "type": "object", + "description": "Class representing a Traffic Manager profile.", + "properties": { + "properties": { + "$ref": "#/definitions/ProfileProperties", + "description": "The properties of the Traffic Manager profile.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/TrackedResource" + } + ] + }, + "ProfileListResult": { + "type": "object", + "description": "The response of a Profile list operation.", + "properties": { + "value": { + "type": "array", + "description": "The Profile items on this page", + "items": { + "$ref": "#/definitions/Profile" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" } }, - "description": "Class containing endpoint monitoring settings in a Traffic Manager profile." + "required": [ + "value" + ] + }, + "ProfileMonitorStatus": { + "type": "string", + "description": "The profile-level monitoring status of the Traffic Manager profile.", + "enum": [ + "CheckingEndpoints", + "Online", + "Degraded", + "Disabled", + "Inactive" + ], + "x-ms-enum": { + "name": "ProfileMonitorStatus", + "modelAsString": true, + "values": [ + { + "name": "CheckingEndpoints", + "value": "CheckingEndpoints" + }, + { + "name": "Online", + "value": "Online" + }, + { + "name": "Degraded", + "value": "Degraded" + }, + { + "name": "Disabled", + "value": "Disabled" + }, + { + "name": "Inactive", + "value": "Inactive" + } + ] + } }, "ProfileProperties": { + "type": "object", + "description": "Class representing the Traffic Manager profile properties.", "properties": { "profileStatus": { - "type": "string", - "description": "The status of the Traffic Manager profile.", - "enum": [ - "Enabled", - "Disabled" - ], - "x-ms-enum": { - "name": "ProfileStatus", - "modelAsString": true - } + "$ref": "#/definitions/ProfileStatus", + "description": "The status of the Traffic Manager profile." }, "trafficRoutingMethod": { - "type": "string", - "description": "The traffic routing method of the Traffic Manager profile.", - "enum": [ - "Performance", - "Priority", - "Weighted", - "Geographic", - "MultiValue", - "Subnet" - ], - "x-ms-enum": { - "name": "TrafficRoutingMethod", - "modelAsString": true - } + "$ref": "#/definitions/TrafficRoutingMethod", + "description": "The traffic routing method of the Traffic Manager profile." }, "dnsConfig": { "$ref": "#/definitions/DnsConfig", @@ -1406,105 +1583,88 @@ }, "endpoints": { "type": "array", + "description": "The list of endpoints in the Traffic Manager profile.", "items": { "$ref": "#/definitions/Endpoint" - }, - "description": "The list of endpoints in the Traffic Manager profile." + } }, "trafficViewEnrollmentStatus": { - "type": "string", - "description": "Indicates whether Traffic View is 'Enabled' or 'Disabled' for the Traffic Manager profile. Null, indicates 'Disabled'. Enabling this feature will increase the cost of the Traffic Manage profile.", - "enum": [ - "Enabled", - "Disabled" - ], - "x-ms-enum": { - "name": "TrafficViewEnrollmentStatus", - "modelAsString": true - } + "$ref": "#/definitions/TrafficViewEnrollmentStatus", + "description": "Indicates whether Traffic View is 'Enabled' or 'Disabled' for the Traffic Manager profile. Null, indicates 'Disabled'. Enabling this feature will increase the cost of the Traffic Manage profile." }, "allowedEndpointRecordTypes": { "type": "array", + "description": "The list of allowed endpoint record types.", "items": { "$ref": "#/definitions/AllowedEndpointRecordType" - }, - "description": "The list of allowed endpoint record types." + } }, "maxReturn": { "type": "integer", - "description": "Maximum number of endpoints to be returned for MultiValue routing type.", - "format": "int64" + "format": "int64", + "description": "Maximum number of endpoints to be returned for MultiValue routing type." } - }, - "description": "Class representing the Traffic Manager profile properties." + } }, - "AllowedEndpointRecordType": { - "description": "The allowed type DNS record types for this profile.", + "ProfileStatus": { "type": "string", + "description": "The status of the Traffic Manager profile.", "enum": [ - "DomainName", - "IPv4Address", - "IPv6Address", - "Any" + "Enabled", + "Disabled" ], "x-ms-enum": { - "name": "AllowedEndpointRecordType", - "modelAsString": true + "name": "ProfileStatus", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled" + }, + { + "name": "Disabled", + "value": "Disabled" + } + ] } }, - "Profile": { - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/ProfileProperties", - "description": "The properties of the Traffic Manager profile." - } - }, + "ProxyResource": { + "type": "object", + "description": "The resource model definition for a ARM proxy resource. It will have everything other than required location and tags", "allOf": [ { - "$ref": "#/definitions/TrackedResource" - } - ], - "description": "Class representing a Traffic Manager profile." - }, - "ProfileListResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Profile" - }, - "description": "Gets the list of Traffic manager profiles." + "$ref": "#/definitions/Resource" } - }, - "description": "The list Traffic Manager profiles operation response." + ] }, - "TrafficManagerNameAvailability": { + "QueryExperience": { + "type": "object", + "description": "Class representing a Traffic Manager HeatMap query experience properties.", "properties": { - "name": { - "type": "string", - "description": "The relative name." - }, - "type": { - "type": "string", - "description": "Traffic Manager profile resource type." - }, - "nameAvailable": { - "type": "boolean", - "description": "Describes whether the relative name is available or not." + "endpointId": { + "type": "integer", + "format": "int32", + "description": "The id of the endpoint from the 'endpoints' array which these queries were routed to." }, - "reason": { - "type": "string", - "description": "The reason why the name is not available, when applicable." + "queryCount": { + "type": "integer", + "format": "int32", + "description": "The number of queries originating from this location." }, - "message": { - "type": "string", - "description": "Descriptive message that explains why the name is not available, when applicable." + "latency": { + "type": "number", + "format": "double", + "description": "The latency experienced by queries originating from this location." } }, - "description": "Class representing a Traffic Manager Name Availability response." + "required": [ + "endpointId", + "queryCount" + ] }, "Region": { + "type": "object", + "description": "Class representing a region in the Geographic hierarchy used with the Geographic traffic routing method.", "properties": { "code": { "type": "string", @@ -1516,52 +1676,20 @@ }, "regions": { "type": "array", + "description": "The list of Regions grouped under this Region in the Geographic Hierarchy.", "items": { "$ref": "#/definitions/Region" - }, - "description": "The list of Regions grouped under this Region in the Geographic Hierarchy." - } - }, - "description": "Class representing a region in the Geographic hierarchy used with the Geographic traffic routing method." - }, - "GeographicHierarchyProperties": { - "properties": { - "geographicHierarchy": { - "$ref": "#/definitions/Region", - "description": "The region at the root of the hierarchy from all the regions in the hierarchy can be retrieved." - } - }, - "description": "Class representing the properties of the Geographic hierarchy used with the Geographic traffic routing method." - }, - "TrafficManagerGeographicHierarchy": { - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/GeographicHierarchyProperties", - "description": "The properties of the Geographic Hierarchy resource." - } - }, - "allOf": [ - { - "$ref": "#/definitions/ProxyResource" - } - ], - "description": "Class representing the Geographic hierarchy used with the Geographic traffic routing method." - }, - "UserMetricsProperties": { - "properties": { - "key": { - "type": "string", - "description": "The key returned by the User Metrics operation." + } } - }, - "description": "Class representing a Traffic Manager Real User Metrics key response." + } }, "Resource": { + "type": "object", "description": "The core properties of ARM resources", "properties": { "id": { "type": "string", + "format": "arm-id", "description": "Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{resourceName}" }, "name": { @@ -1572,31 +1700,31 @@ "type": "string", "description": "The type of the resource. Ex- Microsoft.Network/trafficManagerProfiles." } - }, - "x-ms-azure-resource": true + } }, "TrackedResource": { + "type": "object", "description": "The resource model definition for a ARM tracked top level resource", "properties": { "tags": { "type": "object", + "description": "Resource tags.", "additionalProperties": { "type": "string" }, "x-ms-mutability": [ "read", - "create", - "update" - ], - "description": "Resource tags." + "update", + "create" + ] }, "location": { "type": "string", + "description": "The Azure Region where the resource lives", "x-ms-mutability": [ "read", "create" - ], - "description": "The Azure Region where the resource lives" + ] } }, "allOf": [ @@ -1605,86 +1733,165 @@ } ] }, - "ProxyResource": { - "description": "The resource model definition for a ARM proxy resource. It will have everything other than required location and tags", - "allOf": [ - { - "$ref": "#/definitions/Resource" + "TrafficFlow": { + "type": "object", + "description": "Class representing a Traffic Manager HeatMap traffic flow properties.", + "properties": { + "sourceIp": { + "type": "string", + "description": "The IP address that this query experience originated from." + }, + "latitude": { + "type": "number", + "format": "double", + "description": "The approximate latitude that these queries originated from." + }, + "longitude": { + "type": "number", + "format": "double", + "description": "The approximate longitude that these queries originated from." + }, + "queryExperiences": { + "type": "array", + "description": "The query experiences produced in this HeatMap calculation.", + "items": { + "$ref": "#/definitions/QueryExperience" + } } - ] + } }, - "CloudError": { + "TrafficManagerGeographicHierarchy": { "type": "object", + "description": "Class representing the Geographic hierarchy used with the Geographic traffic routing method.", "properties": { - "error": { - "$ref": "#/definitions/CloudErrorBody", - "description": "The content of the error." + "properties": { + "$ref": "#/definitions/GeographicHierarchyProperties", + "description": "The properties of the Geographic Hierarchy resource.", + "x-ms-client-flatten": true } }, - "description": "An error returned by the Azure Resource Manager", - "x-ms-external": true + "allOf": [ + { + "$ref": "#/definitions/ProxyResource" + } + ] }, - "CloudErrorBody": { + "TrafficManagerNameAvailability": { "type": "object", + "description": "Class representing a Traffic Manager Name Availability response.", "properties": { - "code": { + "name": { "type": "string", - "description": "Error code" + "description": "The relative name." }, - "message": { + "type": { "type": "string", - "description": "Error message" + "description": "Traffic Manager profile resource type." }, - "target": { + "nameAvailable": { + "type": "boolean", + "description": "Describes whether the relative name is available or not." + }, + "reason": { "type": "string", - "description": "Error target" + "description": "The reason why the name is not available, when applicable." }, - "details": { - "type": "array", - "items": { - "$ref": "#/definitions/CloudErrorBody" + "message": { + "type": "string", + "description": "Descriptive message that explains why the name is not available, when applicable." + } + } + }, + "TrafficRoutingMethod": { + "type": "string", + "description": "The traffic routing method of the Traffic Manager profile.", + "enum": [ + "Performance", + "Priority", + "Weighted", + "Geographic", + "MultiValue", + "Subnet" + ], + "x-ms-enum": { + "name": "TrafficRoutingMethod", + "modelAsString": true, + "values": [ + { + "name": "Performance", + "value": "Performance" + }, + { + "name": "Priority", + "value": "Priority" + }, + { + "name": "Weighted", + "value": "Weighted" + }, + { + "name": "Geographic", + "value": "Geographic" + }, + { + "name": "MultiValue", + "value": "MultiValue" + }, + { + "name": "Subnet", + "value": "Subnet" + } + ] + } + }, + "TrafficViewEnrollmentStatus": { + "type": "string", + "description": "Indicates whether Traffic View is 'Enabled' or 'Disabled' for the Traffic Manager profile. Null, indicates 'Disabled'. Enabling this feature will increase the cost of the Traffic Manage profile.", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "TrafficViewEnrollmentStatus", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled" }, - "description": "Error details" + { + "name": "Disabled", + "value": "Disabled" + } + ] + } + }, + "UserMetricsModel": { + "type": "object", + "description": "Class representing Traffic Manager User Metrics.", + "properties": { + "properties": { + "$ref": "#/definitions/UserMetricsProperties", + "description": "The properties of the Traffic Manager User Metrics.", + "x-ms-client-flatten": true } }, - "description": "The content of an error returned by the Azure Resource Manager", - "x-ms-external": true - } - }, - "security": [ - { - "azure_auth": [ - "user_impersonation" + "allOf": [ + { + "$ref": "#/definitions/ProxyResource" + } ] - } - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow", - "scopes": { - "user_impersonation": "impersonate your user account" + }, + "UserMetricsProperties": { + "type": "object", + "description": "Class representing a Traffic Manager Real User Metrics key response.", + "properties": { + "key": { + "type": "string", + "description": "The key returned by the User Metrics operation." + } } } }, - "parameters": { - "SubscriptionIdParameter": { - "name": "subscriptionId", - "in": "path", - "required": true, - "type": "string", - "description": "Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.", - "x-ms-parameter-location": "client" - }, - "ApiVersionParameter": { - "name": "api-version", - "in": "query", - "required": true, - "type": "string", - "description": "Client Api Version.", - "x-ms-parameter-location": "client" - } - } + "parameters": {} } diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/suppressions.yaml b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/suppressions.yaml index b61590c83066..df9fed03082f 100644 --- a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/suppressions.yaml +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/suppressions.yaml @@ -27,7 +27,4 @@ reason: Brownfield service not ready to migrate - tool: TypeSpecRequirement path: ./stable/2018-08-01/*.json - reason: Brownfield service not ready to migrate -- tool: TypeSpecRequirement - path: ./stable/2022-04-01/*.json reason: Brownfield service not ready to migrate \ No newline at end of file diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/tspconfig.yaml b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/tspconfig.yaml new file mode 100644 index 000000000000..a84770ae1e52 --- /dev/null +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/TrafficManager/tspconfig.yaml @@ -0,0 +1,54 @@ +parameters: + "service-dir": + default: "sdk/trafficmanager" +emit: + - "@azure-tools/typespec-autorest" +options: + "@azure-tools/typespec-autorest": + omit-unreachable-types: true + emitter-output-dir: "{project-root}" + azure-resource-provider-folder: "resource-manager" + output-file: "{version-status}/{version}/trafficmanager.json" + arm-types-dir: "{project-root}/../../../../common-types/resource-management" + emit-lro-options: "all" + examples-dir: "{project-root}/examples" + "@azure-typespec/http-client-csharp-mgmt": + emitter-output-dir: "{output-dir}/{service-dir}/{namespace}" + package-name: "Azure.ResourceManager.TrafficManager" + namespace: "{package-name}" + "@azure-tools/typespec-python": + emitter-output-dir: "{output-dir}/{service-dir}/azure-mgmt-trafficmanager" + namespace: "azure.mgmt.trafficmanager" + generate-test: true + generate-sample: true + flavor: "azure" + "@azure-tools/typespec-java": + emitter-output-dir: "{output-dir}/{service-dir}/azure-resourcemanager-trafficmanager" + namespace: "com.azure.resourcemanager.trafficmanager" + service-name: "TrafficManager" + premium: true + enable-sync-stack: true + client-side-validations: true + rename-model: + EndpointType: EndpointTypes + flavor: azure + "@azure-tools/typespec-ts": + emitter-output-dir: "{output-dir}/{service-dir}/arm-trafficmanager" + is-modular-library: true + flavor: "azure" + experimental-extensible-enums: true + package-details: + name: "@azure/arm-trafficmanager" + "@azure-tools/typespec-go": + service-dir: "sdk/resourcemanager/trafficmanager" + emitter-output-dir: "{output-dir}/{service-dir}/armtrafficmanager" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armtrafficmanager" + fix-const-stuttering: true + flavor: "azure" + generate-samples: true + generate-fakes: true + head-as-boolean: true + inject-spans: true +linter: + extends: + - "@azure-tools/typespec-azure-rulesets/resource-manager" diff --git a/specification/web/resource-manager/Microsoft.Web/AppService/readme.java.md b/specification/web/resource-manager/Microsoft.Web/AppService/readme.java.md index bf144c4ede22..d26c2dc27ea9 100644 --- a/specification/web/resource-manager/Microsoft.Web/AppService/readme.java.md +++ b/specification/web/resource-manager/Microsoft.Web/AppService/readme.java.md @@ -3,6 +3,7 @@ These settings apply only when `--java` is specified on the command line. ```yaml $(java) +title: WebSiteManagementClient service-name: AppService add-inner: AppServiceCertificate remove-inner: CsmDeploymentStatus @@ -52,6 +53,18 @@ directive: reason: Swagger bug. Function App on ACA is LRO. ``` +### Tag: package-2025-03 and java + +``` yaml $(java) && $(tag) == 'package-2025-03' +input-file: + - ../../../../certificateregistration/resource-manager/Microsoft.CertificateRegistration/CertificateRegistration/stable/2024-11-01/AppServiceCertificateOrders.json + - ../../../../certificateregistration/resource-manager/Microsoft.CertificateRegistration/CertificateRegistration/stable/2024-11-01/CertificateOrdersDiagnostics.json + - ../../../../certificateregistration/resource-manager/Microsoft.CertificateRegistration/CertificateRegistration/stable/2024-11-01/CertificateRegistrationProvider.json + - ../../../../domainregistration/resource-manager/Microsoft.DomainRegistration/DomainRegistration/stable/2024-11-01/DomainRegistrationProvider.json + - ../../../../domainregistration/resource-manager/Microsoft.DomainRegistration/DomainRegistration/stable/2024-11-01/Domains.json + - ../../../../domainregistration/resource-manager/Microsoft.DomainRegistration/DomainRegistration/stable/2024-11-01/TopLevelDomains.json +``` + ### Tag: profile-hybrid-2020-09-01 and java These settings apply only when `--tag=profile-hybrid-2020-09-01 --java` is specified on the command line.